/* ═══════════════════════════════════════════════════════
   LAW OFFICE OF LAURA CASTRO — SHARED STYLESHEET
   Apply to every page. Page-specific styles go in a
   <style> block on the individual page after this link tag.
═══════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── DESIGN TOKENS ─── */
:root {
  --sage:       #6B7C6E;
  --sage-light: #A8B8AB;
  --sage-pale:  #EAF0EB;
  --sage-muted: #D4E0D6;
  --slate-dark: #2D3748;
  --warm-white: #FAF9F7;
  --warm-off:   #F2EFE9;
  --warm-dark:  #1C1F1D;
  --text-body:  #3A3D3B;
  --text-muted: #6B7280;
  --border:     #E2E8E4;
}

/* ─── BASE ─── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}
a { text-decoration: none; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; }
img { display: block; max-width: 100%; }

/* ─── TYPOGRAPHY UTILITIES ─── */
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.eyebrow-light { color: var(--sage-light); }
.eyebrow-light::before { background: var(--sage-light); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 46px);
  color: var(--slate-dark);
  margin-bottom: 16px;
  font-weight: 400;
}
.section-title-light { color: #fff; }

.section-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  font-weight: 300;
}
.section-sub-light { color: rgba(255,255,255,0.42); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: filter 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 14px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.65); }

.btn-dark {
  display: inline-block;
  background: var(--warm-dark);
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-dark:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--slate-dark);
  border: 1px solid var(--slate-dark);
  padding: 14px 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--warm-dark); color: #fff; border-color: var(--warm-dark); }

/* ─── NAVIGATION ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  background: rgba(250,249,247,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(15px, 1.8vw, 21px);
  font-weight: 500;
  color: var(--slate-dark);
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 32px;
}
.nav-links a:not(.nav-cta) {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:not(.nav-cta):hover { color: var(--slate-dark); }
.nav-links a:not(.nav-cta).active { color: var(--sage); }
.nav-cta {
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 9px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: filter 0.2s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.1); color: #fff; }

/* ─── PAGE HERO (inner pages — compact, solid color, no image) ─── */
.page-hero {
  padding: 108px 52px 36px;
  background: var(--warm-dark);
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0;
}
.page-hero h1 em { font-style: italic; color: var(--sage-light); }

/* ─── NUMBERED POINTS (used on homepage Why section + About values) ─── */
.numbered-list { display: flex; flex-direction: column; }
.numbered-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.numbered-item:first-child { border-top: 1px solid var(--border); }
.numbered-item-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  line-height: 1;
  color: var(--sage);
  min-width: 52px;
  font-weight: 300;
}
.numbered-item-text h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--slate-dark);
  margin-bottom: 5px;
  font-weight: 500;
}
.numbered-item-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── SECTION GRID (used for service cards, step cards, credential boxes) ─── */
.section-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.section-grid-dark {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.07);
}
.grid-item {
  background: var(--warm-white);
  padding: 32px 28px;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}
.grid-item:hover { background: var(--sage-muted); }
.grid-item-dark {
  background: var(--warm-dark);
  padding: 32px 26px;
  transition: background 0.25s;
}
.grid-item-dark:hover { background: #232620; }
.grid-item-off {
  background: var(--warm-off);
  padding: 32px 28px;
}
.grid-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--slate-dark);
  margin-bottom: 10px;
  font-weight: 500;
}
.grid-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  font-weight: 300;
}
.grid-item-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

/* ─── BULLET LIST (used inside service cards) ─── */
.bullet-list { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bullet-list-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bullet-list-item::before {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--sage-light);
  flex-shrink: 0;
}

/* ─── SECTION LINK (Learn More arrow) ─── */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.section-link:hover { gap: 10px; color: var(--slate-dark); }

/* ─── TWO-COLUMN SECTION LAYOUT ─── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-section-start { align-items: start; }

/* ─── TESTIMONIAL ─── */
.testimonial-section {
  padding: 72px 52px;
  background: var(--sage-pale);
  border-top: 1px solid var(--sage-muted);
  border-bottom: 1px solid var(--sage-muted);
}
.testimonial-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 88px;
  line-height: 0.5;
  color: var(--sage);
  display: block;
  margin-bottom: 28px;
}
.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 300;
  font-style: italic;
  color: var(--slate-dark);
  line-height: 1.55;
  margin-bottom: 32px;
}
.quote-divider {
  width: 36px;
  height: 1px;
  background: var(--sage-muted);
  margin: 0 auto 20px;
}
.quote-author {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-dark);
  margin-bottom: 4px;
}
.quote-detail {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── FINAL CTA ─── */
.final-cta {
  padding: 88px 52px;
  background: var(--warm-dark);
  text-align: center;
}
.final-cta.inner-page-cta {
  background: var(--sage-pale);
  border-top: 1px solid var(--sage-muted);
}
.final-cta .eyebrow { justify-content: center; }
.final-cta.inner-page-cta .eyebrow { color: var(--sage); }
.final-cta.inner-page-cta .eyebrow::before { background: var(--sage); }
.final-cta .section-title {
  color: #fff;
  max-width: 520px;
  margin: 0 auto 16px;
}
.final-cta.inner-page-cta .section-title { color: var(--slate-dark); }
.final-cta .section-sub {
  color: rgba(255,255,255,0.42);
  margin: 0 auto 40px;
  text-align: center;
}
.final-cta.inner-page-cta .section-sub { color: var(--text-muted); }
.final-cta.inner-page-cta .cta-note { color: var(--text-muted); }
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.06em;
}

/* ─── FOOTER ─── */
footer {
  background: #161918;
  padding: 52px 52px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.3;
}
.footer-address {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 8px;
}
.footer-address:hover { color: rgba(255,255,255,0.65); }
.footer-phone {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-phone:hover { color: rgba(255,255,255,0.65); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.footer-social-link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
}
.footer-social-link svg {
  width: 15px;
  height: 15px;
  fill: rgba(255,255,255,0.55);
  transition: fill 0.2s;
}
.footer-social-link:hover svg { fill: #fff; }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  margin-bottom: 8px;
  transition: color 0.2s;
  font-weight: 300;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 28px;
  gap: 36px;
}
.footer-legal {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  line-height: 1.6;
}
.footer-legal a { color: rgba(255,255,255,0.18); text-decoration: underline; }
.footer-legal a:hover { color: rgba(255,255,255,0.45); }
.footer-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.13);
  max-width: 400px;
  text-align: right;
  line-height: 1.65;
}

/* ─── HAMBURGER MENU ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 12px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--slate-dark);
  transition: all 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: rgba(250,249,247,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a:not(.nav-mobile-cta) {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  display: block;
}
.nav-mobile-menu a:not(.nav-mobile-cta):last-of-type { border-bottom: none; }
.nav-mobile-menu a:not(.nav-mobile-cta):hover { color: var(--slate-dark); }
.nav-mobile-menu a:not(.nav-mobile-cta).active { color: var(--sage); }
.nav-mobile-cta {
  margin-top: 16px;
  background: var(--sage);
  color: #fff !important;
  border: none;
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: filter 0.2s;
  display: block;
  text-decoration: none;
  box-sizing: border-box;
}
.nav-mobile-cta:hover { filter: brightness(1.1); color: #fff !important; }
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .page-hero { padding: 100px 32px 32px; }
  .testimonial-section, .final-cta, footer { padding-left: 32px; padding-right: 32px; }
  .split-section { gap: 48px; }
}

/* ─── RESPONSIVE: MOBILE ─── */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 60px; }
  .nav-logo { font-size: 20px !important; }
  .nav-logo small { display: none; }
  .nav-links a { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 88px 20px 28px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .testimonial-section { padding: 56px 20px; }
  .final-cta { padding: 72px 20px; }
  footer { padding: 36px 20px 20px; }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }
  .footer-logo { font-size: 14px; }
  .footer-tagline { display: none; }
  .footer-col h5 { margin-bottom: 10px; }
  .footer-col a { font-size: 12px; margin-bottom: 6px; }
  .footer-address, .footer-phone { font-size: 11px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
  }
  .footer-legal { font-size: 10px; }
  .footer-disclaimer { display: none; }
  .split-section { grid-template-columns: 1fr; gap: 36px; }
  .section-grid { grid-template-columns: 1fr !important; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost,
  .cta-actions .btn-outline { text-align: center; padding: 16px 20px; }
}

/* ─── RESPONSIVE: SMALL MOBILE ─── */
@media (max-width: 390px) {
  .footer-top { grid-template-columns: 1fr; }
}
