@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0d1b2a;
  --navy-mid: #152538;
  --navy-light: #1e3347;
  --gold: #c8a96e;
  --gold-light: #e2c998;
  --cream: #f7f3ee;
  --cream-dark: #ede8e0;
  --text: #2a2a2a;
  --text-muted: #7a7a7a;
  --white: #fff;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(13,27,42,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,0.15);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; letter-spacing: 0.04em;
  color: var(--gold-light); text-decoration: none;
  flex-shrink: 0; display: flex; flex-direction: column; line-height: 1.2;
}
.nav-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(200,169,110,0.6);
  margin-top: 0.15rem;
}
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: rgba(247,243,238,0.75);
  text-decoration: none; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  display: block;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); }
.nav-links .has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: var(--navy);
  border: 1px solid rgba(200,169,110,0.15);
  border-top: 2px solid var(--gold);
  min-width: 200px;
  z-index: 200;
}
.dropdown a {
  display: block; padding: 0.75rem 1.2rem;
  color: rgba(247,243,238,0.7);
  text-decoration: none; font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: all 0.15s;
  border-bottom: 1px solid rgba(200,169,110,0.07);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--gold); background: rgba(200,169,110,0.06); padding-left: 1.5rem; }
.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 0.55rem 1.3rem !important; border-radius: 2px;
  font-weight: 500; margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* ─── PAGE HERO (inner pages) ──────────────── */
.page-hero {
  padding: 9rem 5% 5rem;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(200,169,110,0.07) 0%, transparent 60%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.15;
  color: var(--cream); margin-bottom: 1.2rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p {
  font-size: 1rem; line-height: 1.8;
  color: rgba(247,243,238,0.6);
  max-width: 580px;
}

/* ─── MEDIA BAR ─────────────────────────────── */
.media-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(200,169,110,0.12);
  padding: 1.2rem 5%;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  justify-content: center;
}
.media-bar-label {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(247,243,238,0.3); white-space: nowrap;
}
.media-logos { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.media-logo {
  font-size: 0.8rem; font-weight: 500;
  color: rgba(247,243,238,0.4); letter-spacing: 0.05em; white-space: nowrap;
}
.media-logo.cnn { font-weight: 700; font-size: 0.95rem; color: rgba(204,0,0,0.55); }
.media-logos img { display: inline-block; max-height: 40px; object-fit: contain; vertical-align: middle; opacity: 0.85; transition: opacity 0.2s; }
.media-logos img:hover { opacity: 1; }
.media-sep { color: rgba(200,169,110,0.2); font-size: 0.55rem; }

/* ─── SECTION HELPERS ───────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; color: var(--navy);
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--cream); }

/* ─── BUTTONS ───────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 0.9rem 2rem; text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-secondary {
  border: 1px solid rgba(200,169,110,0.45); color: var(--gold-light);
  padding: 0.9rem 2rem; text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--gold); background: rgba(200,169,110,0.07); }
.btn-navy {
  background: var(--navy); color: var(--cream);
  padding: 0.9rem 2rem; text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.2s; display: inline-block;
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* ─── CONTENT PROSE ─────────────────────────── */
.content-section { padding: 5rem 5%; }
.content-section.cream { background: var(--cream); }
.content-section.white { background: var(--white); }
.content-section.navy { background: var(--navy); }
.content-section.cream-dark { background: var(--cream-dark); }
.prose { max-width: 760px; }
.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 300; color: var(--navy);
  margin-bottom: 1rem; margin-top: 2.5rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 400; color: var(--navy);
  margin-bottom: 0.6rem; margin-top: 2rem;
}
.prose p { font-size: 0.95rem; line-height: 1.85; color: #444; margin-bottom: 1.2rem; }
.prose ul { margin: 1rem 0 1.5rem 0; padding: 0; list-style: none; }
.prose ul li {
  font-size: 0.92rem; line-height: 1.7; color: #444;
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--cream-dark);
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); transform: translateY(-50%);
}
.prose.light p { color: rgba(247,243,238,0.65); }
.prose.light h2 { color: var(--cream); }
.prose.light ul li { color: rgba(247,243,238,0.6); border-bottom-color: rgba(200,169,110,0.1); }

/* ─── TWO-COL LAYOUT ────────────────────────── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.two-col.center { align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 3rem; } }

/* ─── SCENARIO BOXES ────────────────────────── */
.scenario-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.scenario-box {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-left: 3px solid var(--gold);
  padding: 1.5rem;
}
.scenario-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400; color: var(--navy);
  margin-bottom: 0.8rem;
}
.scenario-box ul { margin: 0; }
.scenario-box ul li { font-size: 0.85rem; }

/* ─── PRACTICE CARDS ────────────────────────── */
.practice-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px; background: var(--cream-dark); border: 1px solid var(--cream-dark);
}
.practice-card {
  background: var(--white); padding: 2.5rem 2rem;
  position: relative; overflow: hidden; transition: all 0.3s;
  text-decoration: none; display: block; color: inherit;
}
.practice-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(13,27,42,0.1); }
.practice-card:hover::after { transform: scaleX(1); }
.practice-icon {
  width: 44px; height: 44px; background: rgba(200,169,110,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; font-size: 1.2rem;
}
.practice-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 400; color: var(--navy); margin-bottom: 0.5rem;
}
.practice-card p { font-size: 0.86rem; line-height: 1.7; color: var(--text-muted); }
.practice-card .card-arrow {
  margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
}

/* ─── PILLARS ───────────────────────────────── */
.pillars { display: flex; flex-direction: column; gap: 1.2rem; }
.pillar {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem; border: 1px solid rgba(200,169,110,0.12);
  background: rgba(21,37,56,0.6); transition: border-color 0.2s;
}
.pillar:hover { border-color: rgba(200,169,110,0.3); }
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 300; color: rgba(200,169,110,0.35);
  line-height: 1; min-width: 2rem; padding-top: 2px;
}
.pillar h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 400; color: var(--gold-light); margin-bottom: 0.25rem;
}
.pillar p { font-size: 0.83rem; line-height: 1.65; color: rgba(247,243,238,0.5); }

/* ─── SUB-NAV (family law pages) ───────────── */
.sub-nav {
  background: var(--navy-light);
  border-bottom: 1px solid rgba(200,169,110,0.1);
  padding: 0 5%;
  display: flex; gap: 0; overflow-x: auto;
}
.sub-nav a {
  display: block; padding: 1rem 1.2rem;
  color: rgba(247,243,238,0.55);
  text-decoration: none; font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all 0.2s;
}
.sub-nav a:hover, .sub-nav a.active {
  color: var(--gold); border-bottom-color: var(--gold);
}

/* ─── LOCATIONS ─────────────────────────────── */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.location-card {
  background: var(--white); padding: 2.5rem;
  border: 1px solid var(--cream-dark); position: relative;
}
.location-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--gold);
}
.location-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--navy); margin-bottom: 0.7rem;
}
.location-card address { font-style: normal; font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); }
.map-link {
  display: inline-block; margin-top: 1rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border-bottom: 1px solid rgba(200,169,110,0.3); transition: border-color 0.2s;
}
.map-link:hover { border-color: var(--gold); }

/* ─── CTA BAND ──────────────────────────────── */
.cta-band {
  background: var(--gold); padding: 4rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 300; color: var(--navy);
}
.cta-band p { font-size: 0.88rem; color: rgba(13,27,42,0.6); margin-top: 0.3rem; }

/* ─── TESTIMONIALS ──────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card {
  background: var(--white); padding: 2rem;
  border: 1px solid var(--cream-dark);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; line-height: 1; color: rgba(200,169,110,0.2);
  position: absolute; top: 0.5rem; left: 1.2rem;
}
.testimonial-card p { font-size: 0.9rem; line-height: 1.8; color: #555; font-style: italic; padding-top: 1rem; }
.testimonial-card .attribution {
  margin-top: 1.2rem; font-style: normal;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.stars { color: var(--gold); font-size: 0.75rem; margin-bottom: 0.3rem; }

/* ─── CONTACT FORM ──────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1px solid var(--cream-dark); background: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text);
  border-radius: 2px; transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.78rem; color: var(--text-muted); }

/* ─── LANG BADGE ────────────────────────────── */
.lang-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,169,110,0.1); border: 1px solid rgba(200,169,110,0.2);
  padding: 0.45rem 0.9rem; border-radius: 2px;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; transition: background 0.2s;
}
.lang-badge:hover { background: rgba(200,169,110,0.18); }

/* ─── FOOTER ────────────────────────────────── */
footer {
  background: #0a1520;
  padding: 3rem 5%;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: var(--gold-light); letter-spacing: 0.04em;
  display: block; margin-bottom: 0.8rem;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.7; color: rgba(247,243,238,0.35); }
.footer-col h4 {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(200,169,110,0.7); margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.82rem; color: rgba(247,243,238,0.4);
  text-decoration: none; margin-bottom: 0.6rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(247,243,238,0.25); }

/* ─── ANIMATIONS ────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav .nav-links { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
