/* ============================================
   FIRST COAST LIVING — Brand Design System
   Modern Coastal Florida
   ============================================ */
:root {
  /* Primary palette */
  --ocean: #0B4F6C;      /* Deep Ocean Blue — brand, nav, buttons, headings */
  --teal: #2A9D8F;       /* Coastal Teal — CTAs, links, highlights */
  --sand: #F4E9D8;       /* Sand Beige — section backgrounds, cards */
  --white: #FFFFFF;
  --navy: #1B263B;       /* Navy — text, footer, premium accents */

  /* Secondary accents (use sparingly) */
  --seaglass: #A8DADC;
  --coral: #F4A261;
  --palm: #5C946E;

  --ink: #1B263B;
  --muted: #5b6b7c;
  --line: #e8dfd0;
  --sand-soft: #faf5ec;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 79, 108, 0.09);
  --font-head: 'Montserrat', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ocean); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.15rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }

.section { padding: 88px 0; }
.section-alt { background: var(--sand-soft); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); margin-top: 12px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .74rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 600;
  font-family: var(--font-head); font-size: .9rem; cursor: pointer; border: 2px solid transparent;
  transition: all .2s ease; text-decoration: none !important; letter-spacing: .01em;
}
/* Primary: Ocean Blue → hover Coastal Teal */
.btn-primary, .btn-navy { background: var(--ocean); color: var(--white); border-color: var(--ocean); }
.btn-primary:hover, .btn-navy:hover { background: var(--teal); border-color: var(--teal); }
/* Secondary: Coastal Teal → hover Ocean Blue */
.btn-gold { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-gold:hover { background: var(--ocean); border-color: var(--ocean); }
/* Outline on dark heroes: white; on light: ocean */
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--ocean); }
/* On ocean/navy surfaces the ocean-blue primary would vanish — invert it */
.hero .btn-primary, .cta-ribbon .btn-primary, .final-cta .btn-primary {
  background: var(--white); color: var(--ocean); border-color: var(--white);
}
.hero .btn-primary:hover, .cta-ribbon .btn-primary:hover, .final-cta .btn-primary:hover {
  background: var(--teal); color: var(--white); border-color: var(--teal);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 16px 24px; max-width: 1280px; margin: 0 auto; }
.logo { font-family: var(--font-head); font-size: 1.12rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ocean); text-decoration: none !important; line-height: 1.15; }
.logo span { color: var(--teal); display: block; font-size: .58rem; letter-spacing: .26em; font-weight: 600; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .88rem; text-decoration: none !important; }
.main-nav a:hover, .main-nav a.active { color: var(--teal); }
.header-ctas { display: flex; gap: 10px; }
.header-ctas .btn { padding: 10px 20px; font-size: .8rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 1.6rem; color: var(--ocean); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 82vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); overflow: hidden; background-color: var(--ocean);
  background-image: linear-gradient(180deg, rgba(11,79,108,.82), rgba(11,79,108,.55)), url('../images/hero-coast.jpg');
  background-size: cover; background-position: center;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% 115%, rgba(168,218,220,.28), transparent 65%),
    radial-gradient(ellipse 70% 35% at 15% -10%, rgba(255,255,255,.07), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; padding: 100px 24px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .sub { font-size: 1.12rem; opacity: .9; max-width: 620px; margin: 0 auto 32px; font-weight: 300; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 38px; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(168,218,220,.5);
  border-radius: 999px; padding: 7px 20px; font-family: var(--font-head); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px; color: var(--seaglass);
}

/* Page hero (interior pages) */
.page-hero { min-height: 44vh; }
.page-hero .hero-inner { padding: 70px 24px; }

/* ---------- Search bar ---------- */
.search-bar {
  display: flex; background: var(--white); border-radius: 999px; overflow: hidden;
  box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.search-bar input {
  flex: 1; border: none; padding: 17px 26px; font-size: .98rem; font-family: var(--font-body);
  outline: none; color: var(--ink); min-width: 0;
}
.search-bar button {
  border: none; background: var(--teal); color: var(--white); padding: 0 32px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; cursor: pointer; transition: background .2s;
}
.search-bar button:hover { background: var(--ocean); }
.search-hint { font-size: .8rem; opacity: .75; margin-top: 14px; font-weight: 300; }

/* ---------- Chip links ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 24px; font-family: var(--font-head); font-weight: 600; color: var(--ocean);
  font-size: .86rem; text-decoration: none !important; transition: all .15s ease;
}
.chip:hover { border-color: var(--teal); color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(11,79,108,.05); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-photo {
  height: 195px; position: relative; background-color: var(--seaglass);
  background-size: cover; background-position: center;
}
.card-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(27,38,59,.28));
}
.card-photo .price-tag {
  position: absolute; bottom: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.95);
  color: var(--ocean); font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  border-radius: 8px; padding: 5px 12px;
}
/* Community & lifestyle photography (Wikimedia Commons — see images/CREDITS.md) */
.card-photo.p1 { background-image: url('../images/st-augustine.jpg'); }
.card-photo.p2 { background-image: url('../images/ponte-vedra.jpg'); }
.card-photo.p3 { background-image: url('../images/palm-coast.jpg'); }
.card-photo.p4 { background-image: url('../images/flagler.jpg'); }
.card-photo.p5 { background-image: url('../images/daytona.jpg'); }
.card-photo.p6 { background-image: url('../images/new-smyrna.jpg'); }
.card-photo.p7 { background-image: url('../images/vilano.jpg'); }
.card-photo.p8 { background-image: url('../images/golf.jpg'); }
.card-photo.p9 { background-image: url('../images/lighthouse.jpg'); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.12rem; }
.card-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.card-link { font-family: var(--font-head); font-weight: 600; font-size: .85rem; }

/* Listing cards */
.listing-meta { display: flex; gap: 14px; font-size: .84rem; color: var(--muted); }
.listing-price { font-family: var(--font-head); font-size: 1.25rem; color: var(--ocean); font-weight: 700; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 20px; text-align: center;
}
.stat .num { font-family: var(--font-head); font-size: 2rem; color: var(--teal); font-weight: 700; }
.stat .label { font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* ---------- Quiz / Matchmaker ---------- */
.quiz-panel {
  background: var(--ocean); color: var(--white); border-radius: 22px; padding: 58px 48px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.quiz-panel h2 { color: var(--white); }
.quiz-panel .lead { color: rgba(255,255,255,.85); margin: 14px 0 22px; font-weight: 300; }
.quiz-form { background: var(--white); border-radius: var(--radius); padding: 30px; color: var(--ink); }
.quiz-form h3 { margin-bottom: 16px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 20px; }
.quiz-options button {
  border: 1.5px solid var(--line); background: var(--sand-soft); border-radius: 10px; padding: 12px;
  font-family: var(--font-head); font-size: .84rem; font-weight: 600; color: var(--ocean);
  cursor: pointer; transition: all .15s;
}
.quiz-options button:hover, .quiz-options button.selected { border-color: var(--teal); background: #e9f5f4; }
.quiz-progress { font-family: var(--font-head); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 6px; font-weight: 600; }

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 14px; }
.lead-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .94rem; font-family: var(--font-body); background: var(--white); color: var(--ink);
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--teal); }
.lead-form label { font-family: var(--font-head); font-size: .8rem; font-weight: 600; color: var(--ocean); display: grid; gap: 6px; }
.form-note { font-size: .78rem; color: var(--muted); }
.form-success { display: none; background: #edf5ef; border: 1px solid var(--palm); color: #3c6b4c; border-radius: 10px; padding: 16px; font-weight: 600; }

/* Valuation panel */
.valuation-panel {
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .photo-block { border-radius: var(--radius); min-height: 340px; box-shadow: var(--shadow); }
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.check-list li { padding-left: 30px; position: relative; color: var(--muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--palm); font-weight: 800; }
.check-list li strong { color: var(--navy); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block; background: var(--sand); color: var(--ocean); font-family: var(--font-head);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 6px; padding: 4px 10px; width: fit-content;
}

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(11,79,108,.05); }
.testimonial .stars { color: var(--coral); letter-spacing: 3px; margin-bottom: 14px; }
.testimonial blockquote { font-style: italic; color: var(--ink); margin-bottom: 16px; font-weight: 300; }
.testimonial cite { font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--ocean); font-size: .88rem; }
.testimonial cite span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--ocean); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--teal); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA ribbon ---------- */
.cta-ribbon { background: var(--navy); color: var(--white); padding: 46px 0; }
.cta-ribbon .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.cta-ribbon .ribbon-title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-right: 12px; }

/* Final CTA */
.final-cta { background: var(--ocean); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.final-cta::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 55% at 50% 120%, rgba(168,218,220,.22), transparent 65%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(255,255,255,.85); max-width: 620px; margin: 12px auto 32px; font-weight: 300; }

/* ---------- Map placeholder ---------- */
.map-block {
  border-radius: var(--radius); min-height: 320px; background:
    linear-gradient(rgba(168,218,220,.16), rgba(168,218,220,.16)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(11,79,108,.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(11,79,108,.06) 39px 40px),
    var(--sand-soft);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  text-align: center; padding: 20px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 68px 0 32px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.site-footer h4 { color: var(--seaglass); font-family: var(--font-head); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand .logo { color: var(--white); }
.footer-brand .logo span { color: var(--seaglass); }
.footer-brand p { margin-top: 14px; max-width: 280px; font-weight: 300; }
.newsletter { display: flex; margin-top: 16px; border-radius: 999px; overflow: hidden; max-width: 300px; }
.newsletter input { flex: 1; border: none; padding: 11px 16px; font-size: .86rem; font-family: var(--font-body); outline: none; min-width: 0; }
.newsletter button { border: none; background: var(--teal); color: var(--white); font-family: var(--font-head); font-weight: 700; padding: 0 18px; cursor: pointer; transition: background .2s; }
.newsletter button:hover { background: var(--ocean); }
.footer-compliance { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; margin-bottom: 22px; font-size: .72rem; line-height: 1.65; color: rgba(255,255,255,.5); display: grid; gap: 9px; }
.footer-compliance strong { color: rgba(255,255,255,.72); font-weight: 700; }
.footer-compliance .mls-logo-slot { color: rgba(255,255,255,.4); font-style: italic; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .8rem; color: rgba(255,255,255,.5); }
/* Compliance: sample / illustrative data notice */
.sample-note { background: #fff5ec; border: 1px solid var(--coral); color: #9a5a24; border-radius: 10px; padding: 12px 16px; font-size: .82rem; margin: 0 auto 30px; max-width: 760px; text-align: center; }
.listing-courtesy { font-size: .74rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }

/* RentCast: "Powered by" credit, kept visually distinct from MLS/IDX attribution */
.rc-badge { color: var(--teal); font-weight: 600; }

/* RentCast: instant home-value estimate result panel */
.avm-result { display: none; max-width: 520px; margin: 22px auto 0; background: var(--white); border-radius: 14px; padding: 22px 26px; box-shadow: var(--shadow); text-align: left; color: var(--ink); }
.avm-result.loading { text-align: center; color: var(--muted); font-style: italic; }
.avm-result.error { color: var(--ink); }
.avm-price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--ocean); }
.avm-range { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.avm-meta { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.avm-cta { font-size: .88rem; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.avm-cta a { font-weight: 600; }
/* Ranked "places to live" list */
.rank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rank-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px 74px; box-shadow: 0 2px 10px rgba(11,79,108,.05); }
.rank-card .rank-num { position: absolute; left: 22px; top: 24px; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--seaglass); line-height: 1; }
.rank-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.rank-card p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.rank-hi { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rank-hi span { background: var(--sand); color: var(--ocean); font-size: .7rem; font-weight: 600; font-family: var(--font-head); border-radius: 6px; padding: 3px 9px; }
.rank-card .card-link { font-size: .84rem; }
@media (max-width: 720px) { .rank-grid { grid-template-columns: 1fr; } }
.service-area { margin-top: 10px; font-size: .78rem; color: rgba(255,255,255,.45); }

/* Neighborhood profile pages: snapshot bar, walkability, video, business list */
.snap-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 6px; }
.snap-row .stat { text-align: center; }
@media (max-width: 720px) { .snap-row { grid-template-columns: 1fr 1fr; } }

.walk-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--sand-soft); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-family: var(--font-head); font-weight: 700; color: var(--ocean); font-size: .95rem; margin-bottom: 16px; }
.walk-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }

.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-credit { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }

.biz-list { list-style: none; display: grid; gap: 14px; }
.biz-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.biz-list strong { color: var(--ocean); font-family: var(--font-head); }
.biz-list span { display: block; color: var(--muted); font-size: .88rem; margin-top: 3px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumbs a { color: var(--seaglass); }

/* ---------- Content prose ---------- */
.prose { max-width: 780px; margin: 0 auto; display: grid; gap: 18px; }
.prose h2, .prose h3 { margin-top: 14px; }
.prose ul { padding-left: 22px; color: var(--muted); display: grid; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .quiz-panel, .valuation-panel, .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav, .header-ctas { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .main-nav {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 14px;
  }
  .site-header.open .header-ctas { display: flex; position: absolute; top: calc(100% + 230px); left: 0; right: 0; background: var(--white); padding: 0 24px 20px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .card-grid, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .lead-form .row-2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .quiz-panel { padding: 36px 24px; }
  .valuation-panel { padding: 32px 22px; }
}
