/* SoCal Legal Services — site styles
   Palette: navy + brass on warm paper. Headings Playfair Display, body Inter. */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1d4678;
  --gold: #c9a24a;
  --gold-dark: #9a7b2e;
  --gold-soft: #f4ecd6;
  --ink: #1b2430;
  --muted: #566073;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #e3dfd3;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06), 0 4px 14px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.22);
  --max: 1160px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* legacy aliases used by older markup */
  --primary-blue: var(--navy);
  --primary-blue-dark: var(--navy-2);
  --text-dark: var(--ink);
}

*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }
p { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy); padding: 0.7rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ───────── Header ───────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  max-width: var(--max); margin: 0 auto; padding: 0.7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
  color: var(--gold); font-family: var(--serif); font-weight: 800; font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1.5px rgba(201, 162, 74, 0.55);
}
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--navy); line-height: 1.1; }
.tagline { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 0.15rem; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links > li > a:not(.nav-cta) {
  display: block; padding: 0.55rem 0.8rem; font-weight: 600; font-size: 0.94rem;
  color: var(--navy); border-radius: 8px; transition: background 0.15s, color 0.15s;
}
.nav-links > li > a:not(.nav-cta):hover,
.nav-links > li > a[aria-current="page"] { background: var(--gold-soft); color: var(--navy); }
.nav-cta {
  margin-left: 0.5rem; background: var(--navy); color: var(--white) !important;
  padding: 0.6rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--navy-3); transform: translateY(-1px); }
.nav-cta svg { width: 16px; height: 16px; }

.nav-dropdown { position: relative; }
.dropdown-trigger::after {
  content: ""; display: inline-block; width: 0.4rem; height: 0.4rem; margin-left: 0.4rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); vertical-align: middle;
}
.dropdown-menu {
  position: absolute; top: calc(100% + 0.5rem); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 285px; padding: 0.5rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.dropdown-menu::before { content: ""; position: absolute; top: -0.6rem; left: 0; right: 0; height: 0.6rem; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 0.7rem 0.85rem; border-radius: 9px;
  font-weight: 600; font-size: 0.92rem; color: var(--navy); white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--gold-soft); }

.dropdown-menu .soon {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.85rem;
  font-weight: 600; font-size: 0.92rem; color: #8a93a3; white-space: nowrap; cursor: not-allowed;
}
.dropdown-menu .soon em {
  font-style: normal; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 0.1rem 0.5rem;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.5rem; border-radius: 999px; border: 2px solid var(--gold);
  background: var(--gold); color: var(--navy); font-family: var(--sans);
  font-weight: 700; font-size: 0.98rem; line-height: 1.2; cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
  box-shadow: 0 6px 18px rgba(154, 123, 46, 0.28);
}
.btn:hover { transform: translateY(-2px); background: #d6b256; border-color: #d6b256; color: var(--navy); }
.btn-secondary {
  background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none;
}
.btn-secondary:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--navy); box-shadow: none; }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); box-shadow: none; }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ───────── Shared typography ───────── */
.section { max-width: var(--max); margin: 0 auto; padding: 5rem 1.5rem; }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading p:not(.section-kicker) { color: var(--muted); font-size: 1.08rem; margin-top: 0.75rem; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--gold-dark); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6rem;
}
.section-kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section-heading.center .section-kicker::after { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section h2, .service-section h2, .faq-section h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

/* ───────── Home hero ───────── */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 162, 74, 0.22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(29, 70, 120, 0.7), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0a1f3a 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1; max-width: var(--max); margin: 0 auto;
  padding: 5.5rem 1.5rem 5rem; display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 3.5rem; align-items: center;
}
.hero .section-kicker { color: var(--gold); }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-subtitle { color: rgba(255, 255, 255, 0.86); font-size: clamp(1.05rem, 1.7vw, 1.22rem); max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-note { margin-top: 1.5rem; color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; }

.hero-panel {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg); padding: 1.75rem; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-panel-title { color: var(--gold); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-panel ul { display: grid; }
.hero-panel li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.95rem 0; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-panel li:first-child { border-top: 0; padding-top: 0; }
.hero-panel li span { color: rgba(255, 255, 255, 0.88); font-weight: 500; }
.hero-panel li strong { font-family: var(--serif); font-size: 1.5rem; color: var(--white); white-space: nowrap; }
.hero-panel li strong small { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; color: rgba(255, 255, 255, 0.65); margin-right: 0.35rem; }
.hero-panel .btn { width: 100%; margin-top: 1.25rem; }

/* Trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip ul {
  max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust-strip li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 0.94rem; color: var(--navy); }
.trust-strip svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--gold-dark); }

/* ───────── Cards ───────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(201, 162, 74, 0.6); }
.card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); }

.service-card { display: flex; flex-direction: column; gap: 1rem; }
.service-card .icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--gold-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card .card-body { flex: 1; }
.service-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.card-button { color: var(--navy); font-weight: 700; font-size: 0.93rem; }
.service-card:hover .card-button { color: var(--gold-dark); }

.price {
  display: inline-block; background: var(--gold-soft); color: var(--navy);
  border: 1px solid rgba(201, 162, 74, 0.5); padding: 0.4rem 0.8rem; border-radius: 9px;
  font-weight: 700; font-size: 0.95rem; width: fit-content;
}
.service-card .price { margin-top: 0.4rem; }

/* How it works */
.steps-band { background: var(--white); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: 4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 1.35rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); }

/* Why us */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.feature { display: flex; gap: 1.1rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 0.3rem; }
.feature p { color: var(--muted); font-size: 0.97rem; }

/* Coverage */
.coverage-band { background: var(--navy); color: var(--white); }
.coverage-band h2, .coverage-band h3 { color: var(--white); }
.coverage-band .section-kicker { color: var(--gold); }
.coverage-band .section-heading p:not(.section-kicker) { color: rgba(255, 255, 255, 0.8); }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.coverage-col { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 1.5rem; }
.coverage-col h3 { font-size: 1.2rem; margin-bottom: 0.9rem; color: var(--gold); }
.coverage-col li { color: rgba(255, 255, 255, 0.88); padding: 0.28rem 0; font-size: 0.97rem; }
.coverage-col li::before { content: "›"; color: var(--gold); margin-right: 0.55rem; font-weight: 700; }
.coverage-note { margin-top: 1.5rem; color: rgba(255, 255, 255, 0.75); }

/* CTA band */
.cta-band { max-width: var(--max); margin: 0 auto; padding: 5rem 1.5rem; }
.cta-card {
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  padding: 3rem; border-radius: var(--radius-lg); color: var(--white);
  background: radial-gradient(500px 300px at 95% 0%, rgba(201, 162, 74, 0.3), transparent 65%), linear-gradient(135deg, var(--navy-2), var(--navy));
  box-shadow: var(--shadow-md);
}
.cta-card h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }
.cta-card p { color: rgba(255, 255, 255, 0.85); }
.cta-card .section-kicker { color: var(--gold); }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 240px; }

/* ───────── Inner-page hero (about / contact / faq) ───────── */
.about-page, .contact-page, .faq-page, .service-page { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem 4rem; }
.about-hero, .contact-hero, .faq-hero, .service-detail-hero {
  display: grid; grid-template-columns: 1.5fr 0.8fr; gap: 2rem; align-items: center;
  margin: 2.5rem 0 2rem; padding: 3.25rem; border-radius: var(--radius-lg); color: var(--white);
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(201, 162, 74, 0.28), transparent 65%),
    linear-gradient(150deg, var(--navy) 0%, #0a1f3a 100%);
  box-shadow: var(--shadow-md);
}
.about-hero h1, .contact-hero h1, .faq-hero h1, .service-detail-hero h1 {
  color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.07; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.about-hero p, .contact-hero p, .faq-hero p, .service-detail-hero p { color: rgba(255, 255, 255, 0.86); }
.about-hero .section-kicker, .contact-hero .section-kicker, .faq-hero .section-kicker, .service-detail-hero .section-kicker { color: var(--gold); }
.about-hero-content > p:not(.section-kicker), .contact-hero-content > p:not(.section-kicker),
.faq-hero-content > p:not(.section-kicker), .service-hero-content > p:not(.section-kicker) { max-width: 660px; font-size: 1.08rem; }
.about-hero-actions, .contact-hero-actions, .faq-hero-actions, .service-hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.about-hero .btn-secondary, .contact-hero .btn-secondary, .faq-hero .btn-secondary, .service-detail-hero .btn-secondary,
.contact-secondary-btn {
  background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55);
}
.about-hero .btn-secondary:hover, .contact-hero .btn-secondary:hover, .faq-hero .btn-secondary:hover,
.service-detail-hero .btn-secondary:hover, .contact-secondary-btn:hover {
  background: var(--white); color: var(--navy); border-color: var(--white);
}
.contact-secondary-btn { box-shadow: none; }

.about-hero-card, .contact-hero-card, .faq-hero-card, .service-hero-card {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-lg); min-width: 0;
}
.hero-card-label { color: var(--gold-dark); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.about-hero-card strong, .contact-hero-card strong, .faq-hero-card strong, .service-hero-card strong {
  display: block; font-family: var(--serif); color: var(--navy); line-height: 1.05; margin: 0.5rem 0; letter-spacing: -0.02em;
}
.about-hero-card strong, .service-hero-card strong { font-size: clamp(2.4rem, 4vw, 3.2rem); }
.contact-hero-card strong, .faq-hero-card strong { font-size: clamp(1.5rem, 2.4vw, 1.95rem); white-space: nowrap; }
.about-hero-card span, .contact-hero-card span, .faq-hero-card span, .service-hero-card span { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.about-hero-card p, .contact-hero-card p, .faq-hero-card p, .service-hero-card p { color: var(--muted); font-size: 0.95rem; }

.about-story-section p { max-width: 860px; margin-top: 1rem; font-size: 1.08rem; color: var(--ink); }
.about-page .section, .faq-page .section { padding-left: 0; padding-right: 0; }
.about-page .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-cta-section { padding-bottom: 0; }
.about-cta-card, .faq-cta-card {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  padding: 2.75rem; border-radius: var(--radius-lg); color: var(--white);
  background: radial-gradient(500px 300px at 95% 0%, rgba(201, 162, 74, 0.3), transparent 65%), linear-gradient(135deg, var(--navy-2), var(--navy));
}
.about-cta-card h2, .about-cta-card p, .faq-cta-card h2, .faq-cta-card p { color: var(--white); }
.about-cta-card .section-kicker, .faq-cta-card .section-kicker { color: var(--gold); }
.about-cta-card p, .faq-cta-card p { color: rgba(255, 255, 255, 0.85); }

/* ───────── Contact ───────── */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 1.5rem; align-items: start; margin-top: 2rem; }
.contact-sidebar { display: grid; gap: 1rem; }
.contact-info-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm); }
.contact-info-card h2 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.contact-info-card p, .contact-info-card a { color: var(--ink); overflow-wrap: anywhere; }
.contact-info-card a { font-weight: 700; color: var(--navy); }
.contact-info-card a:hover { color: var(--gold-dark); }
.formspree-section { min-width: 0; }
.formspree-card {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: start;
  padding: 2.25rem; border-radius: var(--radius-lg); color: var(--white);
  background: radial-gradient(500px 300px at 100% 0%, rgba(201, 162, 74, 0.25), transparent 65%), linear-gradient(150deg, var(--navy-2), var(--navy));
}
.formspree-card h2, .formspree-card p { color: var(--white); }
.formspree-card p { color: rgba(255, 255, 255, 0.85); }
.formspree-card .section-kicker { color: var(--gold); }
.simple-formspree-form { display: grid; gap: 1.1rem; background: var(--white); border-radius: var(--radius); padding: 1.5rem; }
.simple-formspree-form label, .simple-formspree-form span { display: block; }
.simple-formspree-form span { margin-bottom: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.simple-formspree-form input, .simple-formspree-form select, .simple-formspree-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 0.8rem 0.9rem;
  font: inherit; color: var(--ink); background: var(--white);
}
.simple-formspree-form input:focus, .simple-formspree-form select:focus, .simple-formspree-form textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.35);
}
.formspree-submit-btn { width: 100%; }
.contact-include-section { margin-top: 3rem; padding: 3rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.contact-checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.contact-check-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.contact-check-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.contact-check-card p { color: var(--muted); font-size: 0.97rem; }

/* ───────── FAQ ───────── */
.faq-section { padding: 3rem 0 1rem; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: rgba(201, 162, 74, 0.7); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.35rem; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-dark); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.35rem 1.3rem; color: var(--muted); }
.faq-cta-section { padding-top: 2.5rem; }

/* ───────── Service pages ───────── */
.service-section { padding: 3rem 0 1rem; }
.service-section .section-heading { margin-bottom: 1.75rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.info-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.info-card p { color: var(--muted); font-size: 0.97rem; }

.pricing-card-grid { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.featured-pricing { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.compact-pricing { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.pricing-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(201, 162, 74, 0.7); }
.pricing-card.featured { border: 2px solid var(--gold); box-shadow: 0 16px 40px rgba(154, 123, 46, 0.18); position: relative; }
.pricing-card-top { min-height: 76px; }
.pricing-label {
  display: inline-block; background: var(--gold-soft); color: var(--gold-dark); border-radius: 999px;
  padding: 0.22rem 0.7rem; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.pricing-amount { font-family: var(--serif); color: var(--navy); font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1; margin-bottom: 0.9rem; letter-spacing: -0.02em; }
.pricing-card p { color: var(--muted); font-size: 0.96rem; }
.pricing-card ul { display: grid; gap: 0.4rem; margin-top: 1rem; font-size: 0.93rem; color: var(--ink); }
.pricing-card li { padding-left: 1.4rem; position: relative; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 800; }
.subsection-heading { margin: 3rem 0 0; max-width: 760px; }
.subsection-heading h3 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.subsection-heading p { color: var(--muted); }
.small-pricing-card .pricing-amount { font-size: 2rem; }

.service-rate-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.rate-card { padding: 1.5rem; }
.rate-card .price { margin-bottom: 0.8rem; }
.rate-card h3 { font-size: 1.15rem; }

.notice-section { padding-top: 3rem; }
.notice-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 2rem 2.25rem; }
.notice-card h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.notice-card ul { display: grid; gap: 0.7rem; }
.notice-card li { padding-left: 1.5rem; position: relative; color: var(--ink); }
.notice-card li::before { content: ""; position: absolute; left: 0.2rem; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.quote-section { padding-bottom: 0; }
.quote-card {
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  padding: 2.75rem; border-radius: var(--radius-lg); color: var(--white);
  background: radial-gradient(500px 300px at 95% 0%, rgba(201, 162, 74, 0.3), transparent 65%), linear-gradient(135deg, var(--navy-2), var(--navy));
}
.quote-card h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.6rem; }
.quote-card p { color: rgba(255, 255, 255, 0.86); }
.quote-card .section-kicker { color: var(--gold); }
.quote-actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 230px; }
.quote-actions .btn-secondary { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.quote-actions .btn-secondary:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.info-card h3 a { color: inherit; }
.info-card h3 a:hover { color: var(--gold-dark); text-decoration: underline; }
.area-list { display: grid; gap: 0.3rem; margin: 0.25rem 0 0.5rem; }
.area-list li { padding-left: 1.2rem; position: relative; color: var(--ink); font-size: 0.97rem; }
.area-list li::before { content: "\203A"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.small-note { margin-top: 0.75rem; font-size: 0.86rem !important; font-style: italic; }
.city-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.city-pill {
  padding: 0.55rem 1.05rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 0.93rem; color: var(--navy); transition: background 0.15s, border-color 0.15s;
}
.city-pill:hover { background: var(--gold-soft); border-color: var(--gold); }
.coverage-col li a:hover { color: var(--gold); text-decoration: underline; }

.breadcrumb { max-width: var(--max); margin: 0 auto; padding: 1rem 1.5rem 0; font-size: 0.86rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.breadcrumb a:hover { color: var(--gold-dark); text-decoration: underline; }

/* ───────── Footer ───────── */
.site-footer { background: #07182e; color: rgba(255, 255, 255, 0.78); margin-top: 2rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem 2.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { font-family: var(--sans); color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.site-footer li { padding: 0.25rem 0; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .logo { color: var(--white); margin-bottom: 0.8rem; font-size: 1.3rem; }
.footer-brand p { max-width: 340px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom-inner { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.tool-promo {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: var(--radius-lg); padding: 2rem 2.25rem; box-shadow: var(--shadow-sm);
}
.tool-promo h2 { font-size: clamp(1.5rem, 2.6vw, 2rem) !important; margin-bottom: 0.4rem; }
.tool-promo p:not(.section-kicker) { color: var(--muted); }
@media (max-width: 900px) { .tool-promo { grid-template-columns: 1fr; padding: 1.5rem; } }

/* ───────── Free tool (proof of service) ───────── */
[hidden] { display: none !important; }
.tool-notice { background: var(--gold-soft); border: 1px solid rgba(201, 162, 74, 0.6); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.tool-notice p { color: var(--ink); font-size: 0.95rem; }
.tool-form { display: grid; gap: 1.25rem; }
.tool-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem 1.75rem; box-shadow: var(--shadow-sm); min-width: 0; }
.tool-card legend { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--navy); padding: 0 0.5rem; display: flex; align-items: center; gap: 0.7rem; }
.tool-step { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; margin-top: 0.75rem; }
.tool-grid .wide { grid-column: 1 / -1; }
.tool-form label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.tool-form label.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; font-size: 0.96rem; color: var(--ink); cursor: pointer; line-height: 1.45; }
.tool-form label.check input { width: 18px; height: 18px; margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--navy); }
.tool-form input[type="text"], .tool-form input[type="date"], .tool-form input[type="time"], .tool-form textarea {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-weight: 400; color: var(--ink); background: var(--white);
}
.tool-form select {
  display: block; width: 100%; margin-top: 0.35rem; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-weight: 400; color: var(--ink); background: var(--white);
}
.court-pick { margin-top: 0.75rem; }
.tool-form select:focus, .tool-form input:focus, .tool-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.35); }
.tool-checks, .tool-radios { display: grid; gap: 0.7rem; margin-top: 0.9rem; }
.tool-checks.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-radios.inline { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.5rem; }
.tool-panel { margin-top: 1.1rem; padding: 1.1rem 1.25rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; }
.tool-panel .tool-checks, .tool-panel .tool-radios { margin-top: 0.9rem; }
.tool-optional { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.tool-optional summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.tool-help { color: var(--muted); font-size: 0.92rem; margin-top: 0.6rem; }
.remember { margin-top: 1.1rem; }
.tool-errors { background: #fdeceb; border: 1px solid #e3a4a0; border-radius: var(--radius); padding: 1rem 1.25rem; color: #6b1d18; }
.tool-errors ul { margin: 0.4rem 0 0 1.2rem; list-style: disc; }
.tool-errors li { color: #6b1d18; }
.tool-warning { background: var(--gold-soft); border: 1px solid rgba(201, 162, 74, 0.7); border-radius: var(--radius); padding: 0.85rem 1.25rem; color: var(--ink); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.keep-editable { flex-basis: 100%; }
.tool-status { flex-basis: 100%; color: var(--navy); font-weight: 600; min-height: 1.4em; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
@media (max-width: 680px) {
  .tool-card { padding: 1.25rem 1.1rem 1.4rem; }
  .tool-grid, .tool-checks.two-col { grid-template-columns: 1fr; }
  .tool-radios.inline { grid-template-columns: 1fr; gap: 0.7rem; }
  .tool-actions .btn { width: 100%; }
}

/* Mobile call bar */
.mobile-cta { display: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 1.5rem; }
  .cards, .coverage-grid, .service-rate-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1140px) {
  .dropdown-menu .soon {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.85rem;
  font-weight: 600; font-size: 0.92rem; color: #8a93a3; white-space: nowrap; cursor: not-allowed;
}
.dropdown-menu .soon em {
  font-style: normal; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 0.1rem 0.5rem;
}
.nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 0.75rem 1.5rem 1.25rem; gap: 0.15rem;
    box-shadow: var(--shadow-md); max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a:not(.nav-cta) { padding: 0.8rem 0.5rem; }
  .nav-cta { margin: 0.6rem 0 0; justify-content: center; padding: 0.85rem; }
  .dropdown-trigger::after { display: none; }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    box-shadow: none; border: 0; border-left: 2px solid var(--gold); border-radius: 0; margin: 0 0 0.4rem 0.6rem; padding: 0 0 0 0.4rem; min-width: 0;
  }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a, .dropdown-menu .soon { white-space: normal; padding: 0.6rem 0.6rem; }
}
@media (max-width: 900px) {
  .about-hero, .contact-hero, .faq-hero, .service-detail-hero,
  .about-cta-card, .faq-cta-card, .contact-layout, .formspree-card, .cta-card, .quote-card { grid-template-columns: 1fr; }
  .contact-checklist, .info-grid, .steps, .feature-grid { grid-template-columns: 1fr; }
  .quote-actions, .cta-actions { min-width: 0; }
}
@media (max-width: 680px) {
  .section, .cta-band { padding: 3.25rem 1.1rem; }
  .navbar { padding: 0.6rem 1.1rem; }
  .tagline { display: none; }
  .about-page, .contact-page, .faq-page, .service-page { padding: 0 1.1rem 6rem; }
  .about-hero, .contact-hero, .faq-hero, .service-detail-hero, .contact-include-section,
  .about-cta-card, .faq-cta-card, .formspree-card, .cta-card, .quote-card { padding: 1.6rem; border-radius: 18px; }
  .cards, .coverage-grid, .service-rate-cards, .about-page .cards { grid-template-columns: 1fr; }
  .featured-pricing, .compact-pricing { grid-template-columns: 1fr; }
  .hero-actions, .about-hero-actions, .contact-hero-actions, .faq-hero-actions, .service-hero-actions { flex-direction: column; }
  .hero-actions .btn, .about-hero-actions .btn, .contact-hero-actions .btn, .faq-hero-actions .btn, .service-hero-actions .btn { width: 100%; }
  .contact-hero-card strong, .faq-hero-card strong { white-space: normal; }
  .pricing-card-top { min-height: 0; }
  .trust-strip ul { grid-template-columns: 1fr; gap: 0.6rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 37, 69, 0.12);
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom)); gap: 0.6rem;
  }
  .mobile-cta .btn { padding: 0.75rem 0.5rem; font-size: 0.95rem; }
  body { padding-bottom: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
