/* ═════════════════════════════════════════════════════════════════
   QUOTE LANDING — quote_landing.css
   Usa somente tokens de ds_tokens.css. Mobile-first.
   ═════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--mm-text-base, 16px);
  color: var(--mm-text-primary);
  background: var(--mm-surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.shell { max-width: 1120px; margin: 0 auto; padding: 0 var(--mm-s-4); }
.only-desktop { display: none; }

h1, h2, h3, p { margin: 0; }

.sec-title {
  font-size: var(--mm-text-xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--mm-s-5);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mm-s-2);
  border: none;
  border-radius: var(--mm-r-pill);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  padding: var(--mm-s-3) var(--mm-s-5);
  transition: transform 0.15s var(--mm-ease), box-shadow 0.15s var(--mm-ease), background 0.15s;
}
.btn--primary {
  background: var(--mm-brand-500);
  color: #fff;
  box-shadow: var(--mm-shadow-brand);
}
.btn--primary:hover { background: var(--mm-brand-600); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--primary:disabled {
  background: var(--mm-border);
  color: var(--mm-text-muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn--ghost {
  background: transparent;
  color: var(--mm-text-secondary);
}
.btn--ghost:hover { color: var(--mm-text-primary); background: var(--mm-surface-hover); }
.btn--lg { padding: var(--mm-s-4) var(--mm-s-6); font-size: var(--mm-text-lg); }

:is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--mm-brand-500);
  outline-offset: 2px;
  border-radius: var(--mm-r-sm);
}

/* ── Header ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--mm-glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mm-border-soft);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand__img { height: 50px; display: block; }
/* logo com texto claro no modo escuro (data-theme e preferência do SO) */
.brand__img--dark { display: none; }
[data-theme="dark"] .brand__img--light { display: none; }
[data-theme="dark"] .brand__img--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__img--light { display: none; }
  :root:not([data-theme="light"]) .brand__img--dark { display: block; }
}
.site-header__nav { display: flex; align-items: center; gap: var(--mm-s-4); }
.site-header__phone {
  color: var(--mm-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--mm-text-sm);
}
.site-header__signin {
  color: var(--mm-brand-600);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--mm-text-sm);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--mm-brand-50), transparent 60%),
    var(--mm-surface);
  padding: var(--mm-s-8) 0 var(--mm-s-7);
  text-align: center;
}
.hero__inner { position: relative; z-index: 1; }

/* fx decorativos: selo, vapor e gotas de condensação (só CSS, só transform/opacity) */
.hero__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2; /* gotas na frente do texto: a refração distorce as letras, como vidro */
}
/* vapor: pluma branca deformada por turbulência SVG — fiapos orgânicos, não blobs */
.vapor {
  position: absolute;
  left: var(--x);
  bottom: -120px;
  width: 160px;
  height: 300px;
  background: radial-gradient(ellipse 50% 42% at 50% 65%, rgba(255,255,255,0.85), rgba(228,234,240,0.35) 55%, transparent 75%);
  filter: url(#steam-turb) blur(10px);
  opacity: 0;
  animation: vapor-rise 18s var(--d) linear infinite;
  will-change: transform, opacity;
}
@keyframes vapor-rise {
  0%   { transform: translateY(0) translateX(0) scale(0.6);          opacity: 0; }
  15%  { opacity: 0.5; }
  45%  { transform: translateY(-200px) translateX(20px) scale(0.95); opacity: 0.35; }
  75%  { transform: translateY(-360px) translateX(-14px) scale(1.25); opacity: 0.16; }
  100% { transform: translateY(-500px) translateX(8px) scale(1.4);   opacity: 0; }
}

/* camada da chuva — o motor JS (quote_rain.js) cria e move as gotas */
.rain-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
/* gota de vidro: refração REAL do fundo via backdrop-filter, sem tinta.
   Posição/velocidade vêm da física em JS (transform). */
.drop {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 45% 55% 48% 52% / 55% 48% 68% 60%;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(170,195,215,0.08));
  -webkit-backdrop-filter: blur(1.5px) brightness(1.07) saturate(1.15);
  backdrop-filter: blur(1.5px) brightness(1.07) saturate(1.15);
  box-shadow:
    inset 0 -2px 3px rgba(70,110,150,0.30),
    inset 0 1px 2px rgba(255,255,255,0.75),
    0 3px 5px -1px rgba(50,80,110,0.28);
  will-change: transform;
}
/* ponto especular */
.drop::after {
  content: "";
  position: absolute;
  left: 24%;
  top: 16%;
  width: 30%;
  height: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,0.95), rgba(255,255,255,0) 70%);
}
/* mini-gotícula deixada pelo rastro — evapora devagar */
.droplet {
  position: absolute;
  border-radius: 50% 50% 55% 55% / 45% 45% 62% 62%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(190,215,235,0.5) 60%, rgba(150,185,215,0.55));
  box-shadow: inset -0.5px -1px 1px rgba(80,125,165,0.4), 0 1px 1px rgba(60,100,140,0.15);
  opacity: 0.85;
  transition: opacity 5.5s ease, transform 5.5s ease;
  pointer-events: none;
}
.droplet.is-fading { opacity: 0; transform: scale(0.45); }
.hero__title {
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: rise 0.5s var(--mm-ease-out) both;
}
.hero__sub {
  margin: var(--mm-s-4) auto var(--mm-s-5);
  color: var(--mm-text-secondary);
  font-size: var(--mm-text-lg);
  line-height: 1.5;
  animation: rise 0.5s 0.08s var(--mm-ease-out) both;
}
.hero #hero-cta { animation: rise 0.5s 0.16s var(--mm-ease-out) both; }
.hero__trust {
  list-style: none;
  padding: 0;
  margin: var(--mm-s-5) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--mm-s-2) var(--mm-s-5);
  color: var(--mm-text-muted);
  font-size: var(--mm-text-sm);
}
.hero__trust li::before { content: "✓ "; color: var(--mm-success-600); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ── How it works ────────────────────────────────────────────── */
.how { padding: var(--mm-s-7) var(--mm-s-4); }
.how__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--mm-s-5);
}
.how__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: var(--mm-r-pill);
  background: var(--mm-brand-100);
  color: var(--mm-brand-700);
  font-weight: 700;
  margin-bottom: var(--mm-s-2);
}
.how__list h3 { font-size: var(--mm-text-md); margin-bottom: var(--mm-s-1); }
.how__list p { color: var(--mm-text-secondary); font-size: var(--mm-text-sm); }

/* ── Funnel shell ────────────────────────────────────────────── */
.funnel {
  background: var(--mm-bg-app);
  padding: var(--mm-s-6) 0 var(--mm-s-8);
  scroll-margin-top: 70px;
}
.funnel__grid { display: grid; gap: var(--mm-s-5); }
.funnel__main {
  background: var(--mm-surface);
  border-radius: var(--mm-r-2xl);
  box-shadow: var(--mm-shadow-md);
  padding: var(--mm-s-5) var(--mm-s-4) var(--mm-s-5);
  overflow: hidden;
}

/* progress */
.qf-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--mm-s-3);
  margin-bottom: var(--mm-s-5);
}
.qf-progress {
  list-style: none;
  display: flex;
  gap: var(--mm-s-1);
  padding: 0;
  margin: 0;
  font-size: var(--mm-text-2xs);
  color: var(--mm-text-muted);
  flex-wrap: wrap;
}
.qf-progress li {
  padding: var(--mm-s-1) var(--mm-s-3);
  border-radius: var(--mm-r-pill);
  background: var(--mm-surface-strong);
  transition: background 0.2s, color 0.2s;
}
.qf-progress li.is-active { background: var(--mm-brand-500); color: #fff; font-weight: 600; }
.qf-progress li.is-done { background: var(--mm-brand-100); color: var(--mm-brand-700); }
/* pills alcançáveis viram navegação */
.qf-progress li.is-nav { cursor: pointer; }
.qf-progress li.is-nav:hover { background: var(--mm-brand-200); color: var(--mm-brand-700); }
.qf-restart {
  border: none;
  background: transparent;
  color: var(--mm-text-muted);
  font: inherit;
  font-size: var(--mm-text-2xs);
  font-weight: 600;
  cursor: pointer;
  padding: var(--mm-s-1) var(--mm-s-2);
  border-radius: var(--mm-r-pill);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.qf-restart:hover { color: var(--mm-danger-600); background: var(--mm-danger-50); }

/* panels */
.qf-viewport { position: relative; min-height: 300px; }
.qf-panel {
  display: none;
  animation: panel-in 0.25s var(--mm-ease-out);
}
.qf-panel.is-active { display: block; }
@keyframes panel-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: none; }
}
.qf-panel.is-back { animation-name: panel-in-back; }
@keyframes panel-in-back {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: none; }
}

.qf-title { font-size: var(--mm-text-xl); font-weight: 700; letter-spacing: -0.01em; }
.qf-hint { color: var(--mm-text-muted); font-size: var(--mm-text-sm); margin-top: var(--mm-s-2); }

.qf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--mm-s-3);
  margin-top: var(--mm-s-6);
}
.qf-nav .btn--primary { margin-left: auto; min-width: 160px; }

.qf-error {
  margin-top: var(--mm-s-4);
  background: var(--mm-danger-50);
  color: var(--mm-danger-600);
  border: 1px solid var(--mm-danger-100);
  border-radius: var(--mm-r-md);
  padding: var(--mm-s-3) var(--mm-s-4);
  font-size: var(--mm-text-sm);
}

/* ── Size cards ──────────────────────────────────────────────── */
.size-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--mm-s-3);
  margin-top: var(--mm-s-5);
}
.size-card {
  border: 1.5px solid var(--mm-border);
  background: var(--mm-surface);
  border-radius: var(--mm-r-lg);
  padding: var(--mm-s-4) var(--mm-s-3);
  font: inherit;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, transform 0.15s var(--mm-spring);
}
.size-card strong { display: block; font-size: var(--mm-text-md); }
.size-card span { color: var(--mm-text-muted); font-size: var(--mm-text-2xs); }
.size-card:hover { border-color: var(--mm-brand-300); }
.size-card.is-selected {
  border-color: var(--mm-brand-500);
  background: var(--mm-brand-50);
  transform: scale(1.02);
}

/* metragem exata (faixa Above 5600) */
.exact-sqft { margin-top: var(--mm-s-4); animation: panel-in 0.25s var(--mm-ease-out); }
.exact-sqft label {
  display: block;
  font-weight: 600;
  font-size: var(--mm-text-sm);
  margin-bottom: var(--mm-s-1);
}
.exact-sqft input {
  width: 100%;
  max-width: 260px;
  font: inherit;
  padding: var(--mm-s-3);
  border: 1.5px solid var(--mm-border);
  border-radius: var(--mm-r-md);
}
.exact-sqft .qf-hint { margin-top: var(--mm-s-1); }

/* ── Steppers ────────────────────────────────────────────────── */
.stepper-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mm-s-4);
  margin-top: var(--mm-s-6);
}
.stepper__label {
  display: block;
  font-weight: 600;
  font-size: var(--mm-text-sm);
  margin-bottom: var(--mm-s-2);
}
.stepper__ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--mm-border);
  border-radius: var(--mm-r-pill);
  padding: var(--mm-s-1);
}
.stepper__btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--mm-r-pill);
  background: var(--mm-surface-strong);
  font-size: var(--mm-text-lg);
  cursor: pointer;
  transition: background 0.15s;
}
.stepper__btn:hover { background: var(--mm-brand-100); }
.stepper__btn:active { background: var(--mm-brand-200); }
.stepper__value { font-size: var(--mm-text-lg); font-weight: 700; min-width: 2ch; text-align: center; }

/* ── Choice cards (type & frequency) ─────────────────────────── */
.choice-grid {
  display: grid;
  gap: var(--mm-s-3);
  margin-top: var(--mm-s-5);
}
.choice {
  border: 1.5px solid var(--mm-border);
  background: var(--mm-surface);
  border-radius: var(--mm-r-lg);
  padding: var(--mm-s-4);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s var(--mm-spring);
}
.choice strong { display: block; font-size: var(--mm-text-md); }
.choice span { color: var(--mm-text-secondary); font-size: var(--mm-text-sm); margin-top: 2px; display: block; }
.choice:hover { border-color: var(--mm-brand-300); }
.choice.is-selected {
  border-color: var(--mm-brand-500);
  background: var(--mm-brand-50);
  transform: scale(1.01);
}
.choice-grid--freq { grid-template-columns: repeat(2, 1fr); }
.choice-grid--freq .choice { text-align: center; }

/* aviso do 2º dia (frequência Twice a Week) */
.second-day-note {
  margin-top: var(--mm-s-4);
  background: var(--mm-brand-50);
  border: 1.5px dashed var(--mm-brand-300);
  border-radius: var(--mm-r-md);
  padding: var(--mm-s-3) var(--mm-s-4);
  font-size: var(--mm-text-sm);
  color: var(--mm-text-secondary);
  animation: panel-in 0.25s var(--mm-ease-out);
}
.second-day-note strong { display: block; color: var(--mm-text-primary); margin-bottom: 2px; }
.choice__badge {
  display: inline-block !important;
  margin-top: var(--mm-s-1);
  background: var(--mm-success-100);
  color: var(--mm-success-600);
  border-radius: var(--mm-r-pill);
  padding: 2px var(--mm-s-2);
  font-size: var(--mm-text-2xs);
  font-weight: 700;
}

/* ── Extras ──────────────────────────────────────────────────── */
.extras-list { display: grid; gap: var(--mm-s-3); margin-top: var(--mm-s-5); }
.extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mm-s-3);
  border: 1.5px solid var(--mm-border);
  border-radius: var(--mm-r-lg);
  padding: var(--mm-s-3) var(--mm-s-4);
  font: inherit;
  background: var(--mm-surface);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.extra:hover { border-color: var(--mm-brand-300); }
.extra.is-selected { border-color: var(--mm-brand-500); background: var(--mm-brand-50); }
.extra__name { font-weight: 600; font-size: var(--mm-text-md); }
.extra__name::before { content: "＋ "; color: var(--mm-text-muted); font-weight: 400; }
.extra.is-selected .extra__name::before { content: "✓ "; color: var(--mm-brand-600); font-weight: 700; }
.extra__price {
  font-weight: 700;
  color: var(--mm-text-secondary);
  font-size: var(--mm-text-md);
  white-space: nowrap;
}
.extra.is-selected .extra__price { color: var(--mm-brand-600); }

/* ── Price reveal ────────────────────────────────────────────── */
.qf-panel--reveal { text-align: center; padding: var(--mm-s-5) 0; }
.reveal__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--mm-text-xs);
  font-weight: 600;
  color: var(--mm-text-muted);
}
.reveal__price {
  font-size: clamp(56px, 14vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--mm-text-primary);
  animation: reveal-pop 0.45s var(--mm-spring) both;
}
.reveal__price--sm { font-size: clamp(28px, 7vw, 44px); }
@keyframes reveal-pop {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: none; }
}
.reveal__meta { color: var(--mm-text-secondary); font-size: var(--mm-text-md); margin-top: var(--mm-s-2); }
.reveal__chips {
  list-style: none;
  padding: 0;
  margin: var(--mm-s-4) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--mm-s-2);
}
.reveal__chips li {
  background: var(--mm-surface-strong);
  border-radius: var(--mm-r-pill);
  padding: var(--mm-s-1) var(--mm-s-3);
  font-size: var(--mm-text-sm);
  color: var(--mm-text-secondary);
}
.reveal__reassure {
  list-style: none;
  padding: 0;
  margin: var(--mm-s-5) 0 0;
  color: var(--mm-text-muted);
  font-size: var(--mm-text-sm);
  display: grid;
  gap: var(--mm-s-1);
}
.reveal__reassure li::before { content: "✓ "; color: var(--mm-success-600); }

.reveal__callback {
  text-align: left;
  max-width: 420px;
  margin: var(--mm-s-6) auto 0;
  padding-top: var(--mm-s-5);
  border-top: 1px solid var(--mm-border-soft);
}
.reveal__callback-title { font-weight: 700; font-size: var(--mm-text-md); }
.reveal__callback .frow { margin-top: var(--mm-s-3); }
.reveal__callback input[type="text"],
.reveal__callback input[type="tel"] {
  width: 100%;
  font: inherit;
  padding: var(--mm-s-3);
  border: 1.5px solid var(--mm-border);
  border-radius: var(--mm-r-md);
  background: var(--mm-surface);
  color: var(--mm-text-primary);
}
.reveal__callback label:not(.reveal__consent) {
  display: block;
  font-size: var(--mm-text-sm);
  font-weight: 600;
  margin: 0 0 var(--mm-s-1);
}
.reveal__callback label em { font-style: normal; color: var(--mm-text-muted); font-weight: 400; }
.reveal__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--mm-s-2);
  margin-top: var(--mm-s-3);
  font-size: var(--mm-text-xs);
  color: var(--mm-text-muted);
  cursor: pointer;
}
.reveal__consent input { margin-top: 3px; flex: none; }
.reveal__callback .btn { margin-top: var(--mm-s-4); width: 100%; }
.reveal__callback-status {
  margin-top: var(--mm-s-3);
  font-size: var(--mm-text-sm);
  color: var(--mm-success-600);
}

/* ── Estimate sidebar ────────────────────────────────────────── */
.estimate {
  display: none;
  background: var(--mm-surface);
  border-radius: var(--mm-r-2xl);
  box-shadow: var(--mm-shadow-md);
  padding: var(--mm-s-5);
  align-self: start;
  position: sticky;
  top: 84px;
}
.estimate__label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--mm-text-2xs);
  font-weight: 600;
  color: var(--mm-text-muted);
}
.estimate__price {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: var(--mm-s-1) 0 var(--mm-s-3);
  transition: color 0.2s;
}
.estimate__price.is-bump { color: var(--mm-brand-600); }
.estimate__lines { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mm-s-1); }
.estimate__lines li {
  font-size: var(--mm-text-sm);
  color: var(--mm-text-secondary);
  display: flex;
  justify-content: space-between;
  gap: var(--mm-s-3);
}
.estimate__lines li b { font-weight: 600; color: var(--mm-text-primary); }
.estimate__note { color: var(--mm-text-muted); font-size: var(--mm-text-sm); margin-top: var(--mm-s-3); }

/* ── Calendar ────────────────────────────────────────────────── */
.cal {
  margin-top: var(--mm-s-5);
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-r-xl);
  padding: var(--mm-s-4);
  transition: opacity 0.15s;
}
.cal.is-loading { opacity: 0.5; pointer-events: none; }
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--mm-s-3);
}
.cal__month { font-weight: 700; font-size: var(--mm-text-md); }
.cal__nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--mm-border);
  background: var(--mm-surface);
  border-radius: var(--mm-r-pill);
  font-size: var(--mm-text-lg);
  cursor: pointer;
  transition: background 0.15s;
}
.cal__nav:hover { background: var(--mm-surface-hover); }
.cal__nav:disabled { opacity: 0.35; cursor: default; }
.cal__weekdays, .cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal__weekdays span {
  text-align: center;
  font-size: var(--mm-text-2xs);
  color: var(--mm-text-muted);
  font-weight: 600;
  padding: var(--mm-s-1) 0;
}
.cal__day {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: var(--mm-r-pill);
  font: inherit;
  font-size: var(--mm-text-sm);
  cursor: pointer;
  position: relative;
  transition: background 0.15s, transform 0.1s var(--mm-spring);
}
.cal__day:hover:not(:disabled) { background: var(--mm-brand-100); }
.cal__day:disabled {
  color: var(--mm-text-placeholder);
  cursor: default;
  text-decoration: line-through;
}
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--mm-brand-300); font-weight: 700; }
.cal__day.is-selected {
  background: var(--mm-brand-500);
  color: #fff;
  font-weight: 700;
  transform: scale(1.06);
}
.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mm-s-3);
  margin: var(--mm-s-3) 0 0;
  font-size: var(--mm-text-2xs);
  color: var(--mm-text-muted);
}
.cal__lg::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}
.cal__lg--avail::before { background: var(--mm-surface); box-shadow: inset 0 0 0 1.5px var(--mm-border); }
.cal__lg--unavail { text-decoration: line-through; }
.cal__lg--unavail::before { background: var(--mm-surface-strong); }
.cal__lg--today::before { background: var(--mm-surface); box-shadow: inset 0 0 0 1.5px var(--mm-brand-300); }
.cal__lg--sel::before { background: var(--mm-brand-500); }

/* slots */
.slots { margin-top: var(--mm-s-5); animation: panel-in 0.25s var(--mm-ease-out); }
.slots__title { font-size: var(--mm-text-md); font-weight: 600; margin-bottom: var(--mm-s-3); }
.slots__list { display: grid; gap: var(--mm-s-2); }
.slot {
  border: 1.5px solid var(--mm-border);
  background: var(--mm-surface);
  border-radius: var(--mm-r-lg);
  padding: var(--mm-s-4);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.slot:hover { border-color: var(--mm-brand-300); }
.slot.is-selected { border-color: var(--mm-brand-500); background: var(--mm-brand-50); color: var(--mm-brand-700); }
.slots__empty { color: var(--mm-text-muted); font-size: var(--mm-text-sm); }

/* ── Details ─────────────────────────────────────────────────── */
.auth-gate {
  border: 1.5px dashed var(--mm-brand-300);
  border-radius: var(--mm-r-xl);
  background: var(--mm-brand-50);
  text-align: center;
  padding: var(--mm-s-6) var(--mm-s-4);
  margin-top: var(--mm-s-5);
}
.auth-gate h3 { font-size: var(--mm-text-lg); margin-bottom: var(--mm-s-2); }
.auth-gate p { color: var(--mm-text-secondary); font-size: var(--mm-text-sm); margin-bottom: var(--mm-s-4); }

.dgroup {
  border: 1px solid var(--mm-border);
  border-radius: var(--mm-r-xl);
  padding: var(--mm-s-4);
  margin: var(--mm-s-4) 0 0;
}
.dgroup legend {
  font-weight: 700;
  font-size: var(--mm-text-sm);
  padding: 0 var(--mm-s-2);
}
.dgroup legend em, .dgroup label em { font-style: normal; color: var(--mm-text-muted); font-weight: 400; }
.dgroup label {
  display: block;
  font-size: var(--mm-text-sm);
  font-weight: 600;
  margin: var(--mm-s-3) 0 var(--mm-s-1);
}
.dgroup input, .dgroup select, .dgroup textarea {
  width: 100%;
  font: inherit;
  padding: var(--mm-s-3);
  border: 1.5px solid var(--mm-border);
  border-radius: var(--mm-r-md);
  background: var(--mm-surface);
  color: var(--mm-text-primary);
}
.dgroup input::placeholder, .dgroup textarea::placeholder { color: var(--mm-text-placeholder); }
.frow { display: grid; gap: 0 var(--mm-s-3); }

/* ── Review ──────────────────────────────────────────────────── */
.review {
  margin: var(--mm-s-5) 0 0;
  display: grid;
  gap: var(--mm-s-2);
}
.review > div {
  display: flex;
  justify-content: space-between;
  gap: var(--mm-s-4);
  padding: var(--mm-s-2) 0;
  border-bottom: 1px solid var(--mm-border-soft);
  font-size: var(--mm-text-sm);
}
.review dt { color: var(--mm-text-muted); margin: 0; }
.review dd { margin: 0; font-weight: 600; text-align: right; }
.review .review--total dd { font-size: var(--mm-text-lg); color: var(--mm-brand-600); }

.terms { margin-top: var(--mm-s-4); font-size: var(--mm-text-sm); color: var(--mm-text-secondary); }
.terms summary { cursor: pointer; font-weight: 600; color: var(--mm-text-primary); }
.terms p { margin-top: var(--mm-s-3); line-height: 1.6; }

/* ── Marketing sections ──────────────────────────────────────── */
.why { padding: var(--mm-s-8) var(--mm-s-4); }
.why__grid { display: grid; gap: var(--mm-s-5); }
.why__grid h3 { font-size: var(--mm-text-md); margin-bottom: var(--mm-s-1); }
.why__grid p { color: var(--mm-text-secondary); font-size: var(--mm-text-sm); line-height: 1.55; }

.services { background: var(--mm-bg-app); padding: var(--mm-s-8) 0; }
.services__list { display: grid; gap: var(--mm-s-4); }
.services__list article {
  background: var(--mm-surface);
  border-radius: var(--mm-r-xl);
  padding: var(--mm-s-5);
  box-shadow: var(--mm-shadow-xs);
}
.services__list h3 { font-size: var(--mm-text-md); margin-bottom: var(--mm-s-1); }
.services__list p { color: var(--mm-text-secondary); font-size: var(--mm-text-sm); line-height: 1.55; }
.services__cta {
  display: inline-block;
  margin-top: var(--mm-s-3);
  color: var(--mm-brand-600);
  font-weight: 600;
  font-size: var(--mm-text-sm);
  text-decoration: none;
}

.expect { padding: var(--mm-s-8) var(--mm-s-4); }
.expect__steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--mm-s-5);
}
.expect__steps li { counter-increment: step; position: relative; padding-left: 48px; }
.expect__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mm-r-pill);
  background: var(--mm-brand-100);
  color: var(--mm-brand-700);
  font-weight: 700;
}
.expect__steps h3 { font-size: var(--mm-text-md); margin-bottom: var(--mm-s-1); }
.expect__steps p { color: var(--mm-text-secondary); font-size: var(--mm-text-sm); }

.area { background: var(--mm-bg-app); padding: var(--mm-s-7) 0; text-align: center; }
.area .sec-title { margin-bottom: var(--mm-s-4); }
.area__chips {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--mm-s-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--mm-s-2);
}
.area__chips li {
  background: var(--mm-surface);
  border-radius: var(--mm-r-pill);
  padding: var(--mm-s-2) var(--mm-s-4);
  font-size: var(--mm-text-sm);
  font-weight: 500;
  box-shadow: var(--mm-shadow-xs);
}
.area__note { color: var(--mm-text-muted); font-size: var(--mm-text-sm); }
.area__note a { color: var(--mm-brand-600); }

.faq { padding: var(--mm-s-8) var(--mm-s-4); max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--mm-border);
  padding: var(--mm-s-4) 0;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: var(--mm-text-md);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--mm-s-3);
}
.faq summary::after { content: "+"; color: var(--mm-brand-500); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: var(--mm-s-3); color: var(--mm-text-secondary); line-height: 1.6; font-size: var(--mm-text-sm); }

.final-cta {
  background: var(--mm-brand-500);
  text-align: center;
  padding: var(--mm-s-8) var(--mm-s-4);
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(24px, 5vw, 36px);
  letter-spacing: -0.01em;
  margin-bottom: var(--mm-s-5);
}
.final-cta .btn--primary {
  background: #fff;
  color: var(--mm-brand-600);
  box-shadow: var(--mm-shadow-lg);
}
.final-cta .btn--primary:hover { background: var(--mm-brand-50); }

.footer {
  padding: var(--mm-s-6) var(--mm-s-4) calc(var(--mm-s-6) + 72px);
  text-align: center;
  color: var(--mm-text-muted);
  font-size: var(--mm-text-sm);
}
.footer a { color: inherit; }
.footer__mark {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 auto var(--mm-s-3);
  opacity: 0.9;
}

/* ── Sticky mobile bar ───────────────────────────────────────── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mm-s-3);
  background: var(--mm-glass);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--mm-border-soft);
  padding: var(--mm-s-3) var(--mm-s-4) calc(var(--mm-s-3) + env(safe-area-inset-bottom));
  animation: bar-up 0.3s var(--mm-ease-out);
}
@keyframes bar-up {
  from { transform: translateY(100%); }
  to   { transform: none; }
}
.sticky-bar__label {
  display: block;
  font-size: var(--mm-text-2xs);
  color: var(--mm-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sticky-bar__value { font-size: var(--mm-text-lg); font-weight: 700; }

/* ── Desktop ─────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .only-desktop { display: inline; }
  .how__list { grid-template-columns: repeat(3, 1fr); }
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-grid--freq { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .services__list { grid-template-columns: repeat(2, 1fr); }
  .expect__steps { grid-template-columns: repeat(4, 1fr); }
  .frow { grid-template-columns: 2fr 1fr; }
  .frow .fcol--sm { grid-column: auto; }
  .frow:has(.fcol--sm) { grid-template-columns: 2fr 1fr 1fr; }
  .slots__list { grid-template-columns: repeat(3, 1fr); }
  .funnel__main { padding: var(--mm-s-6); }
  .qf-progress { font-size: var(--mm-text-xs); gap: var(--mm-s-2); }
}

@media (min-width: 1024px) {
  .funnel__grid { grid-template-columns: 1fr 320px; }
  .estimate { display: block; }
  .sticky-bar { display: none !important; }
  .footer { padding-bottom: var(--mm-s-6); }
  .cal__grid, .cal__weekdays { gap: 4px; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rain-layer, .drop, .droplet, .vapor { display: none; }
}
