/* ═══════════════════════════════════════════════════════════════
   WE BUY CAPE COD HOMES — VSL LANDING PAGE
   Mobile-first. Dark navy editorial aesthetic.
   Typography: Fraunces (display serif) + Instrument Sans (body)
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────
   1. TOKENS
   ─────────────────────────────────────────────── */
:root {
  /* Brand palette (per spec) */
  --navy-900: #0D1B2A;       /* primary background */
  --navy-800: #122236;
  --navy-700: #1B3A4B;       /* secondary surfaces */
  --navy-600: #234A5F;
  --navy-500: #2D5A72;

  --gold-500: #C8A96E;       /* accent / trust */
  --gold-400: #D4B985;
  --gold-600: #B29457;
  --gold-100: rgba(200, 169, 110, 0.12);
  --gold-200: rgba(200, 169, 110, 0.25);

  --red-500: #E63946;        /* CTA */
  --red-600: #D12C39;
  --red-400: #EA4E5A;

  --white: #FFFFFF;
  --cream: #F8F5EF;          /* form background */
  --text-primary: #FFFFFF;
  --text-secondary: #E8E8E8;
  --text-muted: #A8B4BF;
  --text-on-light: #1A1F26;
  --text-on-light-muted: #4A5560;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(200, 169, 110, 0.35);

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 12px 32px rgba(200, 169, 110, 0.15);
  --shadow-red: 0 8px 24px rgba(230, 57, 70, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1180px;
  --container-pad: var(--space-5);
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root {
    --container-pad: var(--space-6);
    --header-h: 72px;
  }
}

/* ───────────────────────────────────────────────
   2. RESET + BASE
   ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
  background-color: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 68px; /* mobile call bar */
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--gold-500);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover, a:focus-visible { color: var(--gold-400); }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, button, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ───────────────────────────────────────────────
   3. LAYOUT HELPERS
   ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-gold);
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
  max-width: 24ch;
}

.section-title em {
  font-style: italic;
  color: var(--gold-500);
  font-weight: 500;
}

/* ───────────────────────────────────────────────
   4. HEADER
   ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
}

.brand:hover, .brand:focus-visible { color: var(--text-primary); }

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: var(--gold-500);
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
}

.brand-wordmark { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

@media (max-width: 520px) {
  .brand-wordmark { display: none; }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-question {
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 640px) { .header-question { display: none; } }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.header-phone:hover {
  background: var(--gold-100);
  color: var(--gold-500);
}

.header-text {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 400px) { .header-text { display: none; } }

/* ───────────────────────────────────────────────
   5. HERO + FORM
   ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-8);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(200, 169, 110, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 60%, rgba(45, 90, 114, 0.35), transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.hero-bg::after {
  /* subtle grain */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

@media (min-width: 960px) {
  .hero { padding: var(--space-9) 0 var(--space-10); }
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-8);
    align-items: start;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-copy h1 em {
  display: inline-block;
  font-style: italic;
  color: var(--gold-500);
  font-weight: 500;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 48ch;
  line-height: 1.5;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.hero-trust li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check {
  color: var(--gold-500);
  font-weight: 700;
  flex-shrink: 0;
}

.hero-call {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.6rem 0;
}

.hero-call strong {
  color: var(--gold-500);
  font-weight: 600;
  border-bottom: 1px dashed var(--border-gold);
}

.hero-call:hover strong {
  color: var(--gold-400);
  border-bottom-color: var(--gold-400);
}

/* FORM — the visual anchor */
.hero-form {
  background: var(--cream);
  color: var(--text-on-light);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-200);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}

.hero-form::before {
  /* Gold hairline accent at top */
  content: "";
  position: absolute;
  top: 0; left: 20px; right: 20px; height: 3px;
  background: var(--gold-500);
  border-radius: 0 0 2px 2px;
}

.form-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(200, 169, 110, 0.3);
}

.form-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: var(--space-1);
}

.form-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-on-light);
  letter-spacing: -0.01em;
}

.form-sub {
  font-size: 0.92rem;
  color: var(--text-on-light-muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-on-light);
  letter-spacing: 0.01em;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--text-on-light);
  background: var(--white);
  border: 1.5px solid #D8D2C4;
  border-radius: var(--radius-md);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.field input::placeholder { color: #9a9489; }

.field input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px var(--gold-100);
}

.field input:invalid:not(:placeholder-shown) {
  border-color: #c4605f;
}

/* CTA button */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  min-height: 56px;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--white);
  background: var(--red-500);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-red);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}

.cta-primary:hover {
  background: var(--red-600);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(230, 57, 70, 0.45);
}

.cta-primary:active {
  transform: translateY(0);
}

.cta-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cta-arrow {
  font-size: 1.25rem;
  transition: transform 0.2s var(--ease);
}

.cta-primary:hover .cta-arrow { transform: translateX(4px); }

.tcpa {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-on-light-muted);
}

.tcpa a {
  color: var(--text-on-light);
  text-decoration: underline;
  text-decoration-color: var(--gold-500);
  text-underline-offset: 2px;
}

/* ───────────────────────────────────────────────
   6. VSL SECTION
   ─────────────────────────────────────────────── */
.vsl {
  padding: var(--space-8) 0;
  background: var(--navy-800);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.vsl-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-5);
}

.vsl-frame iframe,
.vsl-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vsl-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at center, var(--navy-700) 0%, var(--navy-900) 70%);
  color: var(--text-secondary);
}

.vsl-play-btn {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 50%;
  box-shadow: var(--shadow-gold);
  padding-left: 4px; /* visual centering of triangle */
}

.vsl-caption {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 var(--space-5);
}

/* ───────────────────────────────────────────────
   7. HOW IT WORKS — 3 STEPS
   ─────────────────────────────────────────────── */
.steps { padding: var(--space-8) 0; }

.steps-grid {
  list-style: none;
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.step {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--navy-800);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.step:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold-500);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--gold-500);
  background: var(--gold-100);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ───────────────────────────────────────────────
   8. TRUST SECTION
   ─────────────────────────────────────────────── */
.trust {
  padding: var(--space-8) 0;
  background: var(--navy-800);
  border-top: 1px solid var(--border-subtle);
}

.trust-card {
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 4px;
  background: var(--gold-500);
  border-radius: 0 0 4px 0;
}

.trust-lede {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.trust-block {
  padding-top: var(--space-5);
  margin-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}

.trust-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-3);
}

.towns-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
}

.towns-list li {
  position: relative;
  padding-right: var(--space-4);
}

.towns-list li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: 0;
  color: var(--gold-500);
  font-weight: 700;
}

.situations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--space-2);
}

.situation {
  padding: var(--space-3) var(--space-4);
  background: rgba(13, 27, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-align: center;
  transition: all 0.2s var(--ease);
}

.situation:hover {
  background: var(--navy-900);
  border-color: var(--border-gold);
  color: var(--text-primary);
}

/* ───────────────────────────────────────────────
   9. FAQ
   ─────────────────────────────────────────────── */
.faq { padding: var(--space-8) 0; }

.faq-list {
  margin-top: var(--space-6);
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s var(--ease);
}

.faq-item[open] {
  background: linear-gradient(180deg, transparent 0%, var(--gold-100) 100%);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--gold-500); }

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  position: relative;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out), background 0.2s var(--ease);
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: var(--gold-500);
  transform: translate(-50%, -50%);
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.3s var(--ease);
}

.faq-item[open] .faq-toggle {
  background: var(--gold-500);
  transform: rotate(45deg);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: var(--navy-900);
}

.faq-body {
  padding: 0 0 var(--space-5);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 70ch;
  animation: faqOpen 0.3s var(--ease-out);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-cta {
  margin-top: var(--space-7);
  padding: var(--space-6);
  background: var(--navy-800);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

@media (min-width: 640px) {
  .faq-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.faq-cta p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-900);
  background: var(--gold-500);
  border-radius: var(--radius-md);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
  white-space: nowrap;
}

.cta-secondary:hover {
  background: var(--gold-400);
  color: var(--navy-900);
  transform: translateY(-1px);
}

/* ───────────────────────────────────────────────
   10. FINAL CTA
   ─────────────────────────────────────────────── */
.final-cta {
  padding: var(--space-8) 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(200, 169, 110, 0.1), transparent 60%),
    var(--navy-900);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.final-cta p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.cta-large {
  max-width: 420px;
  margin-inline: auto;
  font-size: 1.15rem;
  min-height: 64px;
}

/* ───────────────────────────────────────────────
   11. FOOTER
   ─────────────────────────────────────────────── */
.site-footer {
  padding: var(--space-7) 0 var(--space-6);
  background: #08121D;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.footer-tag {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.footer-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gold-500);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

@media (min-width: 640px) {
  .footer-links { align-items: flex-end; }
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--gold-500); }

.footer-legal {
  padding-top: var(--space-5);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-legal .disclaimer {
  margin-top: var(--space-2);
  max-width: 70ch;
}

/* ───────────────────────────────────────────────
   12. MOBILE STICKY CALL BAR
   ─────────────────────────────────────────────── */
.mobile-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: 0.8rem 1rem env(safe-area-inset-bottom);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  background: var(--red-500);
  border-top: 1px solid var(--red-600);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
}

.mobile-call-bar:hover {
  color: var(--white);
  background: var(--red-600);
}

@media (min-width: 900px) {
  .mobile-call-bar { display: none; }
}

/* ───────────────────────────────────────────────
   13. REVEAL ANIMATIONS
   ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ───────────────────────────────────────────────
   14. PRINT
   ─────────────────────────────────────────────── */
@media print {
  .site-header, .mobile-call-bar, .hero-bg, .vsl { display: none; }
  body { background: white; color: black; padding: 0; }
  .hero-form, .step, .trust-card, .faq-cta { background: white; color: black; border: 1px solid #ccc; }
}
