/* ================================================================
   Click Boston Cleaning — Marketing Site
   Parallax fixed backgrounds · scroll-driven hero · trilingual
   ================================================================ */

/* ----- TWEAK BLOCK (machine-edit safe) ----- */
:root {
  --navy: #0B2A5B;
  --blue: #1E4E8C;
  --sky:  #5FA8E0;
  --orange: #F58220;
  --orange-dark: #DD6F12;
  --yellow: #FFB000;
  --white: #FFFFFF;
  --g50: #F8FAFC;
  --g100: #E5E7EB;
  --g200: #D1D5DB;
  --g500: #6B7280;
  --g700: #374151;
  --g900: #1F2937;

  --font-display: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(11,42,91,.06), 0 1px 1px rgba(11,42,91,.04);
  --shadow-md: 0 6px 16px rgba(11,42,91,.10), 0 2px 4px rgba(11,42,91,.05);
  --shadow-lg: 0 24px 48px rgba(11,42,91,.16), 0 8px 16px rgba(11,42,91,.06);
  --shadow-xl: 0 40px 80px rgba(11,42,91,.22), 0 12px 24px rgba(11,42,91,.10);
  --shadow-cta: 0 10px 24px rgba(245,130,32,.45);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --page-max: 1200px;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--g900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
h1 { font-size: clamp(40px, 6.5vw, 84px); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 16px; }

.container { max-width: var(--page-max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 999px;
  border: 0;
  transition: transform 200ms var(--ease-out), background 200ms, box-shadow 200ms;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost-light { background: rgba(255,255,255,0.10); color: #fff; border: 1.5px solid rgba(255,255,255,0.45); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.20); }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 18px 30px; font-size: 14px; }

/* ================================================================
   Header
   ================================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(11,42,91,0);
  transition: background 300ms, backdrop-filter 300ms, box-shadow 300ms;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--page-max); margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-name {
  font: 700 16px/1.1 var(--font-display); color: #fff;
  letter-spacing: -0.01em; transition: color 300ms;
}
.brand-tag {
  font: 500 10px/1 var(--font-body);
  color: rgba(255,255,255,0.85); letter-spacing: 0.14em;
  text-transform: uppercase; margin-top: 4px; transition: color 300ms;
}
.scrolled .brand-name { color: var(--navy); }
.scrolled .brand-tag { color: var(--blue); }

.nav { display: flex; gap: 28px; margin-left: 24px; }
.nav a {
  font: 500 14px/1 var(--font-body);
  color: rgba(255,255,255,0.92);
  transition: color 200ms;
  position: relative;
}
.nav a:hover { color: var(--yellow); }
.scrolled .nav a { color: var(--g700); }
.scrolled .nav a:hover { color: var(--orange); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: flex; gap: 4px; align-items: center; padding: 6px; border-radius: 999px; background: rgba(255,255,255,0.10); backdrop-filter: blur(6px); }
.lang-toggle button {
  background: transparent; border: 0; color: rgba(255,255,255,0.7);
  font: 600 11px/1 var(--font-body); letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
  transition: all 200ms;
}
.lang-toggle button.active { background: var(--orange); color: #fff; }
.scrolled .lang-toggle { background: var(--g100); }
.scrolled .lang-toggle button { color: var(--g500); }
.scrolled .lang-toggle button.active { background: var(--orange); color: #fff; }

.burger { display: none; background: transparent; border: 0; width: 44px; height: 44px; color: #fff; }
.scrolled .burger { color: var(--navy); }

@media (max-width: 980px) {
  .nav, .header-right .btn-primary { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
}

.mobile-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(11,42,91,0.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; pointer-events: none; transition: opacity 250ms;
}
.mobile-drawer.open { opacity: 1; pointer-events: all; }
.mobile-drawer a { color: #fff; font: 600 22px/1 var(--font-display); }
.mobile-drawer .btn { margin-top: 12px; }

/* ================================================================
   HERO — scroll-driven video
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}
video.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #0B2A5B;
  pointer-events: none;
}
video.hero-bg::-webkit-media-controls { display: none !important; }
/* Dim overlay so type stays legible over video */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,42,91,0.55) 0%, rgba(11,42,91,0.35) 50%, rgba(11,42,91,0.85) 100%);
  pointer-events: none;
}
.hero-inner { z-index: 5; }

/* HERO content */
.hero-inner {
  position: relative; z-index: 5;
  max-width: var(--page-max); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-top: var(--header-h);
}
.hero-eyebrow { color: #BFE0F5; margin-bottom: 16px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero h1 .accent { color: var(--yellow); display: inline-block; }
.hero p.lead {
  font: 400 19px/1.55 var(--font-body);
  color: rgba(255,255,255,0.92);
  max-width: 540px;
  margin: 14px 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 5; color: rgba(255,255,255,0.7);
  font: 600 11px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue .line { width: 1px; height: 36px; background: rgba(255,255,255,0.5); }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* HERO scroll-driven elements (manipulated by JS via --t) */
.hero h1, .hero p.lead, .hero-actions, .hero-eyebrow {
  transform: translateY(calc(var(--hero-t, 0) * -60px));
  opacity: calc(1 - var(--hero-t, 0));
}
/* ================================================================
   PARALLAX SECTIONS (fixed background image, content scrolls over)
   ================================================================ */
.parallax {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Each parallax block uses a CSS-built scene + dimming overlay */
.parallax::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,42,91,0.55) 0%, rgba(11,42,91,0.75) 100%);
  pointer-events: none;
}
.parallax > * { position: relative; z-index: 2; }

/* Background scenes (CSS-rendered placeholders for Higgsfield outputs) */
.bg-residential { background-image: url('../assets/living-room-skyline.png'); }
.bg-commercial  { background-image: url('../assets/commercial-boardroom.png'); }
.bg-boston      { background-image: url('../assets/hero-brownstones.png'); }

/* ================================================================
   SECTIONS
   ================================================================ */
.section { padding: clamp(80px, 12vw, 140px) 0; }
.section-soft { background: var(--g50); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { margin: 12px 0 14px; }
.section-sub { color: var(--g500); font-size: 18px; max-width: 600px; margin: 0 auto; }

/* ================================================================
   FLOATING CARD STACK (over parallax)
   ================================================================ */
.float-stack {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  color: #fff;
}
.float-stack .text h2 { color: #fff; }
.float-stack .text p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 480px; }
.float-stack .checks { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.float-stack .checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: rgba(255,255,255,0.92); }
.float-stack .checks li svg { flex: 0 0 auto; color: var(--orange); margin-top: 3px; }

.image-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-xl);
  transform: translateY(0);
  transition: transform 600ms var(--ease-out);
}
.image-card .img-slot {
  aspect-ratio: 4/5;
  border-radius: 16px;
  background-color: #1E4E8C;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.image-card .img-slot.residential { background-image: none; }
.image-card .img-slot.commercial  { background-image: none; }
.image-card .slot-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.image-card .img-tag {
  position: absolute; top: 16px; left: 16px;
  z-index: 1;
  background: rgba(255,255,255,0.95); color: var(--navy);
  font: 600 11px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
}

/* Stat strip inside image card */
.image-card .stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px;
}
.image-card .stat {
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  padding: 14px; border-radius: 12px;
}
.image-card .stat-num { font: 800 24px/1 var(--font-display); color: #fff; }
.image-card .stat-lbl { font: 500 11px/1.3 var(--font-body); color: rgba(255,255,255,0.7); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }

@media (max-width: 800px) {
  .float-stack { grid-template-columns: 1fr; }
  .float-stack .image-card { order: -1; }
}

/* ================================================================
   SERVICES GRID (white section)
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.svc {
  background: #fff; border: 1px solid var(--g100); border-radius: 20px;
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease-out), box-shadow 300ms;
  position: relative; overflow: hidden;
}
.svc::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(95,168,224,0.18), transparent 70%);
  pointer-events: none;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #EAF3FB, #D6E8F5);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.svc.warm .svc-ico { background: linear-gradient(135deg, #FFF1E5, #FFE0BF); color: var(--orange); }
.svc h3 { margin: 0 0 8px; }
.svc p { color: var(--g500); font-size: 15px; margin: 0; }

/* ================================================================
   Photo gallery carousel
   ================================================================ */
.gallery-section { background: #fff; }
.gallery-carousel {
  max-width: 1040px;
  margin: 0 auto;
}
.gallery-carousel:focus-visible {
  outline: 4px solid rgba(245,130,32,0.35);
  outline-offset: 8px;
}
.gallery-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy);
  box-shadow: var(--shadow-xl);
}
.gallery-track {
  display: flex;
  transition: transform 450ms var(--ease-out);
  will-change: transform;
}
.gallery-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  min-height: 440px;
  overflow: hidden;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,42,91,0.05) 35%, rgba(11,42,91,0.82) 100%);
  pointer-events: none;
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 96px clamp(24px, 5vw, 56px) clamp(26px, 4vw, 44px);
  color: #fff;
}
.gallery-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font: 700 11px/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gallery-caption h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 36px);
}
.gallery-caption p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 17px;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.16);
  color: #fff;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background 200ms, transform 200ms var(--ease-out);
}
.gallery-nav:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-50%) scale(1.04);
}
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.gallery-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--g200);
  transition: background 200ms, transform 200ms var(--ease-out);
}
.gallery-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

@media (max-width: 700px) {
  .gallery-slide {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .gallery-caption {
    padding: 84px 22px 28px;
  }
  .gallery-caption p {
    font-size: 15px;
  }
  .gallery-nav {
    width: 42px;
    height: 42px;
  }
  .gallery-prev { left: 12px; }
  .gallery-next { right: 12px; }
}

/* ================================================================
   How it works
   ================================================================ */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; counter-reset: step;
}
.step {
  background: #fff; border-radius: 20px; padding: 30px;
  border: 1px solid var(--g100); position: relative;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font: 800 14px/1 var(--font-body);
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 12px;
}
.step-num::before { content: "0"; }
.step:nth-child(1) .step-num::after { content: "1"; }
.step:nth-child(2) .step-num::after { content: "2"; }
.step:nth-child(3) .step-num::after { content: "3"; }
.step h3 { margin: 0 0 8px; }
.step p { color: var(--g500); margin: 0; }

/* ================================================================
   Testimonials
   ================================================================ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review {
  background: #fff; border-radius: 20px; padding: 28px;
  border: 1px solid var(--g100); box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease-out), box-shadow 300ms;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { display: flex; gap: 2px; margin-bottom: 12px; color: var(--yellow); }
.review-stars svg { fill: currentColor; }
.review p { font-size: 16px; color: var(--g900); margin: 0 0 18px; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 700 14px/1 var(--font-display);
}
.review-name { font: 600 14px/1 var(--font-body); color: var(--navy); }
.review-area { font: 400 12px/1 var(--font-body); color: var(--g500); margin-top: 4px; }

/* ================================================================
   Areas
   ================================================================ */
.areas {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 880px; margin: 0 auto;
}
.area-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--g200);
  padding: 10px 18px; border-radius: 999px;
  font: 500 14px/1 var(--font-body); color: var(--g700);
  transition: all 200ms;
}
.area-pill:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.area-pill svg { color: var(--blue); }

/* ================================================================
   CTA band — parallax close-up
   ================================================================ */
.cta-band {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(255,176,0,0.4), transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(245,130,32,0.3), transparent 50%),
    linear-gradient(135deg, #0B2A5B 0%, #1E4E8C 100%);
  background-attachment: fixed;
  background-size: cover;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 200%; height: 200%;
  top: -50%; left: -50%;
  background-image:
    url('../../assets/sparkle.svg'),
    url('../../assets/sparkle.svg'),
    url('../../assets/sparkle.svg');
  background-size: 40px, 60px, 80px;
  background-position: 30% 20%, 70% 70%, 50% 50%;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin: 12px 0 16px; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.cta-band .btn-primary { box-shadow: 0 16px 40px rgba(245,130,32,0.55); }

/* ================================================================
   Footer
   ================================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,0.82); padding: 80px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; padding-bottom: 32px;
}
.footer h4 {
  font: 600 13px/1 var(--font-body);
  color: #fff; letter-spacing: 0.14em;
  text-transform: uppercase; margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a { transition: color 200ms; }
.footer ul a:hover { color: var(--orange); }
.footer-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-mark img { width: 56px; height: 56px; border-radius: 50%; }
.footer-name { font: 700 18px/1.1 var(--font-display); color: #fff; }
.footer-tag { font: 500 11px/1 var(--font-body); color: var(--yellow); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.footer-brand p { max-width: 380px; font-size: 14px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.6);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

/* ================================================================
   Booking modal
   ================================================================ */
.modal-scrim {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,42,91,0.65);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity 250ms;
}
.modal-scrim.open { opacity: 1; pointer-events: all; }
.modal {
  background: #fff; border-radius: 24px;
  width: 100%; max-width: 540px; padding: 36px;
  box-shadow: var(--shadow-xl); position: relative;
  transform: translateY(20px); transition: transform 300ms var(--ease-out);
  max-height: 90vh; overflow-y: auto;
}
.modal-scrim.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--g50); border: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--g700);
}
.modal-close:hover { background: var(--g100); }
.modal h3 { margin: 8px 0 4px; }
.modal .stepper { display: flex; gap: 8px; margin-top: 16px; }
.modal .step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--g100); color: var(--g500);
  display: flex; align-items: center; justify-content: center;
  font: 600 13px/1 var(--font-body);
}
.modal .step-dot.active { background: var(--blue); color: #fff; }
.modal .step-dot.current { background: var(--orange); }
.form { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font: 600 12px/1 var(--font-body); color: var(--g700); letter-spacing: 0.1em; text-transform: uppercase; }
.input {
  font: 400 15px/1.4 var(--font-body); color: var(--g900);
  padding: 14px 16px; border: 1px solid var(--g200);
  border-radius: 12px; background: #fff; outline: none;
  transition: border 200ms, box-shadow 200ms;
}
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,78,140,0.15); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.segmented {
  display: flex; gap: 6px; background: var(--g50);
  border: 1px solid var(--g100); padding: 4px; border-radius: 14px;
  flex-wrap: wrap;
}
.seg {
  flex: 1; min-width: 70px; background: transparent; border: 0;
  padding: 10px 12px; border-radius: 10px;
  font: 600 13px/1 var(--font-body); color: var(--g700);
  transition: all 200ms;
}
.seg.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.stepper-input { display: inline-flex; align-items: center; gap: 12px; }
.stepper-input button {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--g200); background: #fff;
  font: 600 18px/1 var(--font-body); color: var(--navy);
}
.stepper-input button:hover { background: var(--g50); }
.stepper-input span {
  font: 700 18px/1 var(--font-display); color: var(--navy);
  min-width: 24px; text-align: center;
}
.quote-box {
  background: linear-gradient(135deg, #FFF6E8, #FFE4C2);
  border-radius: 14px; padding: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.quote-lbl { font: 600 11px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: #7A4A00; }
.quote-amt { font: 800 36px/1 var(--font-display); color: var(--navy); letter-spacing: -0.02em; margin-top: 6px; }
.quote-amt sup { font-size: 16px; color: var(--orange); margin-left: 2px; }
.quote-meta { font: 400 12px/1.5 var(--font-body); color: #7A4A00; text-align: right; max-width: 160px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; }
.success { text-align: center; padding: 12px 0; }
.success-badge {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: var(--shadow-cta);
}

/* ================================================================
   Mobile fine-tuning
   ================================================================ */
@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .hero h1 br { display: none; }
  .scroll-cue { display: none; }
  /* iOS Safari doesn't support background-attachment: fixed reliably */
  .parallax, .cta-band {
    background-attachment: scroll;
  }
}

/* ================================================================
   Floating mobile CTA
   ================================================================ */
.fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  display: none; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 14px 20px; border-radius: 999px;
  box-shadow: var(--shadow-cta);
  font: 600 13px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  border: 0;
}
@media (max-width: 700px) { .fab { display: inline-flex; } }
