/* ============================================================
   Solar Panel Cleaning Service Pros - marketing site
   Built on the Claude Design brand system (dark-first).
   Tokens are imported first; site styles follow.
   ============================================================ */
@import url("_design/tokens/fonts.css");
@import url("_design/tokens/colors.css");
@import url("_design/tokens/typography.css");
@import url("_design/tokens/spacing.css");
@import url("_design/tokens/radii.css");

/* ---------------------------------------------------------------
   Base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-on-dark);
  background: var(--navy-800);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: var(--leading-snug); font-weight: var(--weight-bold); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:root { --header-h: 76px; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tight { padding-top: var(--space-20); padding-bottom: var(--space-20); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-4);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.eyebrow--ink { color: var(--solar-blue); }

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 {
  font-size: var(--text-4xl);
  letter-spacing: var(--tracking-tight);
}
.section-head p {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-on-dark-muted);
}

/* Surfaces */
.surface-light { background: var(--white); color: var(--text-body); }
.surface-light h2, .surface-light h3 { color: var(--text-heading); }
.surface-tint { background: var(--panel-white); color: var(--text-body); }
.surface-tint h2, .surface-tint h3 { color: var(--text-heading); }
.surface-light .section-head p, .surface-tint .section-head p { color: var(--text-body); }
.surface-light .eyebrow, .surface-tint .eyebrow { color: var(--solar-blue); }
.surface-deep { background: var(--navy-900); }

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: var(--weight-bold);
  font-size: var(--text-base); line-height: 1;
  padding: 14px 24px; border-radius: var(--radius-pill);
  border: var(--border-thick) solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  white-space: nowrap; text-align: center;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; }
.btn svg.brand-logo { width: 20px; height: 20px; stroke-width: 0; }
.btn:active { transform: scale(0.96); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-400); border-color: var(--gold-400); box-shadow: var(--glow-gold); }
.btn-blue { background: var(--solar-blue); color: var(--white); border-color: var(--solar-blue); }
.btn-blue:hover { background: var(--blue-500); border-color: var(--blue-500); box-shadow: var(--glow-sky); }
.btn-ghost-dark { background: transparent; color: var(--white); border-color: var(--navy-500); }
.btn-ghost-dark:hover { border-color: var(--sky); color: var(--sky); }
.btn-ghost-light { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost-light:hover { border-color: var(--solar-blue); color: var(--solar-blue); }
.btn-lg { font-size: var(--text-lg); padding: 17px 30px; }
.btn-block { width: 100%; }

/* Keyboard focus visibility */
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: var(--radius-xs); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }

/* ---------------------------------------------------------------
   Header
   --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 35, 67, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.site-header.scrolled { background: rgba(2, 22, 41, 0.94); border-bottom-color: var(--navy-600); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-6); }
.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-weight: var(--weight-bold); text-transform: uppercase; font-size: var(--text-sm); line-height: 1.04; letter-spacing: 0.02em; }
.brand-name .p { color: var(--sky); font-weight: var(--weight-medium); }
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-on-dark-muted); transition: color var(--dur-fast) var(--ease-out); }
.nav a:hover { color: var(--white); }
.header-cta { display: flex; align-items: center; gap: var(--space-4); }
.header-phone { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--white); }
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }
.nav-toggle { display: none; background: transparent; border: 0; color: var(--white); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 60; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(2,22,41,0.6); backdrop-filter: blur(2px); }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 340px);
  background: var(--navy-900); border-left: 1px solid var(--navy-600);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: var(--shadow-dark);
}
.mobile-nav.open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__top { display: flex; justify-content: flex-end; margin-bottom: var(--space-4); }
.mobile-nav__top button { background: transparent; border: 0; color: var(--white); cursor: pointer; padding: 6px; }
.mobile-nav__top svg { width: 26px; height: 26px; }
.mobile-nav a.m-link { padding: 14px 12px; border-radius: var(--radius-md); font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-lg); color: var(--white); }
.mobile-nav a.m-link:hover { background: var(--navy-700); }
.mobile-nav .btn { margin-top: var(--space-4); }
.mobile-nav__phone { margin-top: auto; padding-top: var(--space-6); color: var(--text-on-dark-muted); font-size: var(--text-sm); }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(2,22,41,0.96) 0%, rgba(4,35,67,0.86) 42%, rgba(4,35,67,0.40) 75%, rgba(4,35,67,0.20) 100%),
    linear-gradient(0deg, rgba(2,22,41,0.85) 0%, rgba(2,22,41,0) 45%);
}
.hero__glow { position: absolute; top: -160px; right: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(249,184,8,0.30), transparent 62%); z-index: 1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 110px; max-width: 760px; }
.hero h1 { font-size: clamp(40px, 6.6vw, var(--text-6xl)); letter-spacing: var(--tracking-tight); line-height: 1.02; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero__sub { margin-top: var(--space-6); font-size: var(--text-xl); line-height: var(--leading-normal); color: var(--text-on-dark-muted); max-width: 580px; }
.hero__actions { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero__chips { margin-top: var(--space-10); display: flex; flex-wrap: wrap; gap: var(--space-3); }

.chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: rgba(127,197,241,0.14); color: var(--sky);
  border: 1px solid rgba(127,197,241,0.22);
  border-radius: var(--radius-pill); padding: 8px 14px;
  font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-xs);
}
.chip svg { width: 15px; height: 15px; stroke-width: 2; }
.chip--gold { background: rgba(249,184,8,0.14); color: var(--gold-400); border-color: rgba(249,184,8,0.28); }

/* ---------------------------------------------------------------
   Trust strip
   --------------------------------------------------------------- */
.trust { background: var(--navy-800); border-top: 1px solid var(--navy-700); border-bottom: 1px solid var(--navy-700); }
.trust__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); padding: var(--space-8) 0; }
.trust__item { display: flex; align-items: center; gap: var(--space-3); justify-content: center; text-align: left; }
.trust__item svg { width: 26px; height: 26px; color: var(--gold); flex: none; stroke-width: 2; }
.trust__item span { font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-sm); color: var(--white); line-height: 1.2; }

/* ---------------------------------------------------------------
   Two-column feature (method)
   --------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-16); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--navy-700); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; left: var(--space-5); bottom: var(--space-5);
  background: var(--navy-900); color: var(--white); border: 1px solid var(--navy-600);
  border-radius: var(--radius-pill); padding: 8px 16px; font-family: var(--font-display);
  font-weight: var(--weight-bold); font-size: var(--text-xs); letter-spacing: var(--tracking-wide);
  text-transform: uppercase; box-shadow: var(--shadow-md); display: inline-flex; align-items: center; gap: var(--space-2);
}
.media-badge svg { width: 15px; height: 15px; color: var(--gold); }

.feature-list { margin-top: var(--space-8); display: flex; flex-direction: column; gap: var(--space-5); }
.feature-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature-list .ic { flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--blue-100); color: var(--solar-blue); }
.feature-list .ic svg { width: 22px; height: 22px; stroke-width: 2; }
.feature-list h4 { font-size: var(--text-lg); color: var(--text-heading); }
.feature-list p { margin-top: 4px; color: var(--text-body); font-size: var(--text-base); line-height: var(--leading-normal); }

/* ---------------------------------------------------------------
   Services grid
   --------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-8); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.card__ic { width: 52px; height: 52px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--navy-800); color: var(--gold); margin-bottom: var(--space-5); }
.card__ic svg { width: 26px; height: 26px; stroke-width: 2; }
.card h3 { font-size: var(--text-xl); color: var(--text-heading); }
.card p { margin-top: var(--space-3); color: var(--text-body); font-size: var(--text-base); line-height: var(--leading-normal); }
.card--feature { border-top: 4px solid var(--gold); }

/* ---------------------------------------------------------------
   Inspection highlight
   --------------------------------------------------------------- */
.inspect { background: var(--navy-800); position: relative; overflow: hidden; }
.inspect__glow { position: absolute; bottom: -180px; left: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(127,197,241,0.16), transparent 65%); pointer-events: none; }
.inspect .split { position: relative; z-index: 1; }
.checklist { margin-top: var(--space-8); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.checklist li { display: flex; align-items: center; gap: var(--space-3); background: var(--navy-700); border: 1px solid var(--navy-600); border-radius: var(--radius-md); padding: 14px 16px; }
.checklist li svg { width: 20px; height: 20px; color: var(--gold); flex: none; stroke-width: 2.4; }
.checklist li span { font-weight: var(--weight-medium); font-size: var(--text-sm); color: var(--white); }
.inspect-note { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--text-on-dark-faint); }

/* ---------------------------------------------------------------
   How it works
   --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
.step { position: relative; padding-top: var(--space-6); }
.step__num { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--navy); background: var(--gold); width: 36px; height: 36px; border-radius: var(--radius-full); display: grid; place-items: center; margin-bottom: var(--space-5); }
.step h4 { font-size: var(--text-lg); color: var(--text-heading); }
.step p { margin-top: var(--space-3); color: var(--text-body); font-size: var(--text-sm); line-height: var(--leading-normal); }
.step__ic { position: absolute; top: 0; right: 0; color: var(--blue-100); }
.step__ic svg { width: 30px; height: 30px; }

/* ---------------------------------------------------------------
   Service area
   --------------------------------------------------------------- */
.area { position: relative; overflow: hidden; }
.area__glow { position: absolute; top: -140px; right: -120px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(249,184,8,0.18), transparent 64%); pointer-events: none; }
.area__inner { position: relative; z-index: 1; text-align: center; }
.cities { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.city {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--navy-700); border: 1px solid var(--navy-600); color: var(--white);
  border-radius: var(--radius-pill); padding: 10px 18px; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: var(--text-sm);
}
.city svg { width: 15px; height: 15px; color: var(--sky); }
.city--more { background: transparent; color: var(--text-on-dark-muted); border-style: dashed; }

/* ---------------------------------------------------------------
   Reviews / proof band
   --------------------------------------------------------------- */
.proof { text-align: center; }
.stars { display: inline-flex; gap: 6px; color: var(--gold); margin-bottom: var(--space-5); }
.stars svg { width: 26px; height: 26px; fill: var(--gold); stroke: var(--gold); }
.proof h2 { font-size: var(--text-3xl); color: var(--text-heading); }
.proof p { margin: var(--space-4) auto 0; max-width: 560px; color: var(--text-body); font-size: var(--text-lg); }
.proof__links { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; }

/* ---------------------------------------------------------------
   FAQ
   --------------------------------------------------------------- */
.faq { max-width: 820px; margin: var(--space-12) auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-6) var(--space-2); font-family: var(--font-display); font-weight: var(--weight-semibold);
  font-size: var(--text-lg); color: var(--text-heading);
}
.faq__q svg { width: 22px; height: 22px; color: var(--solar-blue); flex: none; transition: transform var(--dur-base) var(--ease-out); }
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-out); }
.faq__a-inner { padding: 0 var(--space-2) var(--space-6); color: var(--text-body); font-size: var(--text-base); line-height: var(--leading-relaxed); }

/* ---------------------------------------------------------------
   CTA / quote
   --------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--navy-900); }
.cta__glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 700px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(249,184,8,0.20), transparent 62%); pointer-events: none; }
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.cta h2 { font-size: var(--text-4xl); letter-spacing: var(--tracking-tight); }
.cta__lead { margin-top: var(--space-5); font-size: var(--text-lg); color: var(--text-on-dark-muted); line-height: var(--leading-relaxed); }
.cta__points { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.cta__points li { display: flex; align-items: center; gap: var(--space-3); color: var(--white); font-size: var(--text-base); }
.cta__points svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.cta__phone { margin-top: var(--space-8); display: inline-flex; align-items: center; gap: var(--space-3); font-family: var(--font-display); font-weight: var(--weight-bold); font-size: var(--text-2xl); color: var(--white); }
.cta__phone svg { width: 26px; height: 26px; color: var(--gold); }

.quote-form { background: var(--navy-700); border: 1px solid var(--navy-600); border-radius: var(--radius-xl); padding: var(--space-10); box-shadow: var(--shadow-dark); }
.quote-form h3 { font-size: var(--text-2xl); }
.quote-form .form-sub { margin-top: var(--space-2); color: var(--text-on-dark-muted); font-size: var(--text-sm); }
.field { margin-top: var(--space-5); }
.field label { display: block; font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-on-dark-muted); margin-bottom: var(--space-2); }
.field input, .field textarea {
  width: 100%; background: var(--navy-900); border: var(--border-thick) solid var(--navy-500);
  border-radius: var(--radius-md); padding: 13px 15px; color: var(--white);
  font-family: var(--font-body); font-size: var(--text-base); transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-on-dark-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: var(--glow-sky); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--text-on-dark-faint); text-align: center; }
.form-success { display: none; text-align: center; padding: var(--space-6) 0; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--gold); margin: 0 auto var(--space-4); }
.form-success h3 { color: var(--white); }
.form-success p { margin-top: var(--space-3); color: var(--text-on-dark-muted); }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--navy-700); padding-top: var(--space-20); padding-bottom: var(--space-10); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--space-12); }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-brand img { width: 48px; height: 48px; }
.footer-brand .brand-name { font-size: var(--text-base); }
.footer-about { margin-top: var(--space-5); color: var(--text-on-dark-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); max-width: 360px; }
.footer-tag { margin-top: var(--space-5); font-family: var(--font-display); font-weight: var(--weight-bold); color: var(--gold); font-size: var(--text-lg); }
.footer-col h4 { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-on-dark-faint); margin-bottom: var(--space-5); }
.footer-col a, .footer-col p { display: block; color: var(--text-on-dark-muted); font-size: var(--text-sm); margin-bottom: var(--space-3); transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--sky); }
.socials { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.socials a { width: 40px; height: 40px; border-radius: var(--radius-full); display: grid; place-items: center; background: var(--navy-700); border: 1px solid var(--navy-600); color: var(--text-on-dark-muted); margin: 0; transition: all var(--dur-base) var(--ease-out); }
.socials a:hover { color: var(--navy); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid var(--navy-700); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); color: var(--text-on-dark-faint); font-size: var(--text-xs); }
.footer-bottom .vet { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--text-on-dark-muted); }
.footer-bottom .vet svg { width: 15px; height: 15px; color: var(--gold); }

/* ---------------------------------------------------------------
   Reveal animation
   --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Staggered reveals within grids */
.cards .card:nth-child(2) { transition-delay: 0.08s; }
.cards .card:nth-child(3) { transition-delay: 0.16s; }
.cards .card:nth-child(4) { transition-delay: 0.04s; }
.cards .card:nth-child(5) { transition-delay: 0.12s; }
.cards .card:nth-child(6) { transition-delay: 0.20s; }
.steps .step:nth-child(2) { transition-delay: 0.09s; }
.steps .step:nth-child(3) { transition-delay: 0.18s; }
.steps .step:nth-child(4) { transition-delay: 0.27s; }

/* Anchor scroll offset (clears the sticky header) */
section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Hero entrance on load */
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__inner > * { opacity: 0; animation: heroUp 0.75s var(--ease-out) both; }
.hero__inner > *:nth-child(1) { animation-delay: 0.08s; }
.hero__inner > *:nth-child(2) { animation-delay: 0.18s; }
.hero__inner > *:nth-child(3) { animation-delay: 0.30s; }
.hero__inner > *:nth-child(4) { animation-delay: 0.42s; }
.hero__inner > *:nth-child(5) { animation-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cards .card, .steps .step { transition-delay: 0s !important; }
  .hero__inner > * { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: var(--space-10); }
  .split--rev .split__media { order: 0; }
  .cta__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-10); }
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 620px) {
  :root { --section-y: 64px; }
  .section-head h2, .cta h2 { font-size: var(--text-3xl); }
  .cards { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: 1fr; }
  .trust__item { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 64px; padding-bottom: 72px; }
  .hero__sub { font-size: var(--text-lg); }
  .hero__actions .btn { width: 100%; }
  .quote-form { padding: var(--space-6); }
  .container { padding-left: var(--space-5); padding-right: var(--space-5); }
}
@media (max-width: 380px) {
  .steps { grid-template-columns: 1fr; }
  .brand-name { font-size: var(--text-xs); }
}
