/* ============================================================
   Your Family Lawyer — Adoption
   adoption.yourfamilylawyer.net
   Brand kit: Deep Navy #1B2A4A | Slate Blue #3E5C8A |
              Warm Gold #C9A227 | Soft Cream #F7F4EE |
              Charcoal #2B2B2B
   Design: Hopeful, journey-focused, warm — gold used liberally
   Fonts: Merriweather (headings) | Inter (body)
   ============================================================ */

/* ---- Font faces ----------------------------------------- */
@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/merriweather-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/merriweather-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Merriweather';
  src: url('../fonts/merriweather-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Variables ------------------------------------------ */
:root {
  --navy:   #1B2A4A;
  --slate:  #3E5C8A;
  --gold:   #C9A227;
  --gold-light: #E8C253;
  --cream:  #F7F4EE;
  --coal:   #2B2B2B;
  --white:  #FFFFFF;
  --border: #D4CCB8;
  --muted:  #6B7B99;

  --font-head: 'Merriweather', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1100px;
  --section-pad: 5rem 1.5rem;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(27,42,74,.10);
}

/* ---- Reset ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--coal);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--navy); }
ul { list-style: none; }

/* ---- Typography ----------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout helpers ------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,.85); }
.section--gold  { background: var(--gold); }

/* ---- Buttons -------------------------------------------- */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  text-decoration: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }
.btn--gold  { background: var(--gold); color: var(--navy); }
.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--slate { background: var(--slate); color: var(--white); }
.btn--navy  { background: var(--navy); color: var(--white); }

/* ---- Navigation ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo: two-line with subtitle */
.site-logo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
  text-decoration: none;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.site-logo .logo-name { color: var(--white); }
.site-logo .logo-name span { color: var(--gold); }
.site-logo .logo-subtitle {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .15rem;
}
.site-logo:hover { text-decoration: none; opacity: .9; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links .btn { padding: .45rem 1rem; font-size: .78rem; text-transform: none; letter-spacing: 0; white-space: nowrap; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: .2s;
}

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .6rem 1.5rem; width: 100%; font-size: .88rem; }
  .nav-links .btn { margin: .75rem 1.5rem 0; width: calc(100% - 3rem); text-align: center; }
}

/* ---- Gold Bar (ceremonial hero element) ----------------- */
.gold-bar {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* ---- Ceremonial Hero ------------------------------------ */
.hero-ceremony {
  background: var(--navy);
  padding: 5.5rem 1.5rem 5rem;
  text-align: center;
  position: relative;
}
.hero-ceremony h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ceremony p {
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}
.hero-ceremony .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Interior page hero (slimmer, still ceremonial) */
.hero-page {
  background: var(--navy);
  padding: 3.75rem 1.5rem 3.25rem;
  text-align: center;
}
.hero-page .gold-bar { margin-bottom: 1.5rem; }
.hero-page h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}
.hero-page p {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Trust strip --------------------------------------- */
.trust-strip {
  background: var(--slate);
  padding: 1.25rem 1.5rem;
}
.trust-strip .container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  color: var(--white);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.trust-item::before { content: '✦'; color: var(--gold); font-size: .75rem; }

/* ---- Section headings ---------------------------------- */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: .75rem; }
.section-head p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-head--left { text-align: left; }
.section-head--left p { margin: 0; }

/* Gold accent on section head h2 */
.section-head h2 .gold-accent {
  color: var(--gold);
}

/* ---- Gold-top cards ------------------------------------- */
/* The signature adoption card style */
.card-gold-top {
  border-top: 4px solid var(--gold);
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .15s;
}
.card-gold-top:hover { transform: translateY(-2px); }
.card-gold-top h3 { margin-bottom: .5rem; color: var(--navy); }
.card-gold-top p { font-size: .93rem; color: #4A5568; margin-bottom: 1rem; }
.card-gold-top .card-link {
  display: inline-block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--slate);
}
.card-gold-top .card-link::after { content: ' →'; }
.card-gold-top .card-link:hover { color: var(--navy); text-decoration: none; }

/* Standard card (for other uses) */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .15s;
}
.card:hover { box-shadow: 0 6px 24px rgba(27,42,74,.14); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .93rem; color: #4A5568; }

/* ---- Card grids ---------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }

/* ---- Journey Steps — gold numbers ---------------------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}
.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
}
.step-num::before { content: counter(step); }
.step-body h3 { margin-bottom: .4rem; color: var(--navy); }
.step-body p { font-size: .95rem; margin-bottom: 0; }

/* Connector line between steps */
.steps .step:not(:last-child) .step-num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.steps .step:not(:last-child) .step-num-wrap::after {
  content: '';
  flex: 1;
  width: 2px;
  background: var(--gold);
  opacity: .35;
  margin-top: .5rem;
  min-height: 1.5rem;
}

/* ---- Timeline bar variant ------------------------------ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: .65rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  opacity: .3;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.05rem;
  top: .4rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
}
.timeline-item h3 { margin-bottom: .35rem; }
.timeline-item p { font-size: .94rem; }

/* ---- Callout / notice box ------------------------------ */
.notice-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  border-left: 5px solid var(--gold);
}
.notice-box h3 { color: var(--white); margin-bottom: .6rem; }
.notice-box p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.notice-box p + p { margin-top: .75rem; }

/* ---- CTA band ------------------------------------------ */
.cta-band {
  background: var(--gold);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: var(--navy); margin-bottom: .75rem; }
.cta-band p { color: var(--navy); opacity: .85; max-width: 520px; margin: 0 auto 1.75rem; }
.cta-band .btn { margin: .4rem; }
.cta-band .btn--navy { background: var(--navy); color: var(--white); }

/* ---- Prose content ------------------------------------- */
.prose { max-width: 760px; }
.prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--gold);
  padding-left: .75rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; margin-bottom: .6rem; color: var(--slate); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--slate);
}
.prose strong { font-weight: 600; color: var(--navy); }
.prose a { color: var(--slate); text-decoration: underline; }

/* Prose on navy bg */
.section--navy .prose h2 {
  color: var(--white);
  border-left-color: var(--gold);
}
.section--navy .prose h3 { color: var(--gold-light); }
.section--navy .prose p { color: rgba(255,255,255,.85); }

/* ---- Two-column layout --------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.two-col--60-40 { grid-template-columns: 3fr 2fr; }
.two-col--40-60 { grid-template-columns: 2fr 3fr; }
@media (max-width: 720px) {
  .two-col, .two-col--60-40, .two-col--40-60 { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---- Attorney bio -------------------------------------- */
.bio-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 380px;
  border-top: 4px solid var(--gold);
}
.bio-meta {
  margin-top: 1.25rem;
  font-size: .88rem;
  color: var(--muted);
}
.bio-meta strong { display: block; font-size: 1rem; color: var(--navy); font-weight: 600; margin-bottom: .2rem; }

/* ---- FAQ ----------------------------------------------- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  padding: 0;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; padding-top: .75rem; font-size: .96rem; }
.faq-item.open .faq-a { display: block; }

/* Inline FAQ (within prose sections) */
.faq-inline { margin-top: 2rem; }
.faq-inline .faq-item:first-child { border-top: 1px solid var(--border); }

/* ---- Breadcrumb ---------------------------------------- */
.breadcrumb {
  padding: .75rem 1.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumb .container { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--slate); text-decoration: none; }
.breadcrumb span::before { content: '/'; margin-right: .5rem; }

/* ---- Serving strip ------------------------------------- */
.serving-strip {
  padding: 3rem 1.5rem;
  background: var(--cream);
  text-align: center;
}
.serving-strip h3 { color: var(--navy); margin-bottom: 1rem; }
.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}
.city-list span {
  font-size: .9rem;
  color: var(--slate);
  font-weight: 500;
}
.city-list span::before { content: '✦ '; color: var(--gold); font-size: .7rem; }

/* ---- Contact card -------------------------------------- */
.contact-card {
  background: var(--cream);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h3 { margin-bottom: 1rem; }
.contact-card p { margin-bottom: .5rem; font-size: .95rem; }
.contact-card a { color: var(--slate); font-weight: 600; }
.contact-card a:hover { color: var(--navy); }

/* ---- Footer -------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .site-logo { display: flex; margin-bottom: .75rem; }
.footer-brand p { font-size: .84rem; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-col ul a:hover { color: var(--white); text-decoration: none; }
.footer-contact p { font-size: .88rem; margin-bottom: .4rem; }
.footer-contact a { color: var(--gold); font-weight: 600; }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin-bottom: 1.5rem; }

.footer-compliance {
  font-size: .76rem;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
  max-width: 900px;
}

/* ---- Utility ------------------------------------------- */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-slate  { color: var(--slate); }
.text-muted  { color: var(--muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 600px) {
  :root { --section-pad: 3.5rem 1.25rem; }
  .hero-ceremony { padding: 3.75rem 1.25rem 3.25rem; }
  .hero-page { padding: 2.75rem 1.25rem 2.5rem; }
  .card-grid, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .trust-strip .container { gap: 1.25rem; flex-direction: column; align-items: center; }
  .notice-box { padding: 1.5rem; }
}
