/* scan2fix — mobile-first design system. Pure CSS, no external requests. */

:root {
  --charcoal: #0f172a;
  --charcoal-2: #1e293b;
  --offwhite: #faf9f6;
  --white: #ffffff;
  --border: #e5e2da;
  --ink-dim: #cbd5e1;
  --ink-faint: #94a3b8;
  --text-dim: #475569;
  --orange: #f97316;
  --orange-bright: #fb923c;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --red: #dc2626;
  --violet: #8b5cf6;
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
  --radius-sm: 0.55rem;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--offwhite);
  color: var(--charcoal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 320px;
}
body.no-scroll { overflow: hidden; }

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

.container { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--orange); color: var(--charcoal);
  padding: 0.75rem 1.25rem; z-index: 300;
  border-radius: 0 0 0.5rem 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 0.6rem; }
h1 { font-size: clamp(1.75rem, 6vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 4.5vw, 2.1rem); }
h3 { font-size: clamp(1.05rem, 3vw, 1.3rem); }
p { margin: 0 0 1rem; font-size: 1rem; }
.lead { font-size: clamp(1rem, 3vw, 1.15rem); color: var(--text-dim); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 0.6rem;
}
.eyebrow::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}
.on-dark .eyebrow { color: var(--orange-bright); }

/* ---------- Buttons (48px min touch target) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  color: var(--charcoal);
  box-shadow: 0 10px 24px -10px rgba(249,115,22,0.6);
}
.btn-secondary {
  background: transparent; color: var(--charcoal); border-color: var(--charcoal);
}
.on-dark .btn-secondary { background: rgba(255,255,255,0.06); color: var(--offwhite); border-color: rgba(255,255,255,0.3); }
.btn-dark { background: var(--charcoal); color: var(--offwhite); }
.btn-block { width: 100%; }
.btn-lg { padding: 0.85rem 1.7rem; font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.65rem 1rem; max-width: 68rem; margin: 0 auto;
  min-height: 56px;
}
.hdr-logo {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 800; font-size: 1.05rem; color: var(--offwhite);
}
.hdr-logo svg { width: 1.5rem; height: 1.5rem; color: var(--orange-bright); }
.hdr-actions { display: flex; align-items: center; gap: 0.5rem; }
.hdr-report {
  font-weight: 700; font-size: 0.9rem; color: var(--offwhite);
  padding: 0.5rem 0.7rem; min-height: 44px; display: inline-flex; align-items: center;
}
.hdr-menu-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 44px; min-width: 44px; padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.08); color: var(--offwhite);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.hdr-inline-nav { display: none; }
@media (min-width: 900px) {
  .hdr-inline-nav {
    display: flex; align-items: center; gap: 1.4rem;
    font-weight: 600; font-size: 0.92rem; color: var(--ink-dim);
  }
  .hdr-inline-nav a:hover { color: var(--offwhite); }
  .hdr-menu-btn { display: none; }
}

/* ---------- Drawer (native <dialog>) ---------- */
dialog.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  height: 100%; height: 100dvh; width: min(85vw, 320px);
  max-width: 85vw; max-height: 100dvh;
  border: none; padding: 0;
  background: var(--charcoal); color: var(--offwhite);
  box-shadow: -12px 0 40px -12px rgba(0,0,0,0.5);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s var(--ease);
}
dialog.drawer[open] { transform: translateX(0); }
dialog.drawer::backdrop { background: rgba(2,6,23,0.6); }
@media (prefers-reduced-motion: reduce) { dialog.drawer { transition: none; } }
.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer-brand { font-weight: 800; font-size: 1.05rem; }
.drawer-close {
  min-width: 44px; min-height: 44px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: none; color: var(--offwhite);
  font-size: 1.1rem; cursor: pointer;
}
.drawer-nav { display: flex; flex-direction: column; padding: 0.5rem 0.5rem; overflow-y: auto; }
.drawer-nav a {
  padding: 0.9rem 0.75rem; font-weight: 700; font-size: 1rem; border-radius: 0.6rem;
  min-height: 48px; display: flex; align-items: center;
}
.drawer-nav a:hover, .drawer-nav a:focus-visible { background: rgba(255,255,255,0.08); }
.drawer-landlord { color: var(--orange-bright); }
.drawer-lang {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 1rem 0.75rem; margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lang-btn {
  background: none; border: none; color: var(--ink-dim); font-weight: 700;
  font-size: 0.95rem; cursor: pointer; padding: 0.5rem 0.25rem; min-height: 44px;
}
.lang-btn[aria-pressed="true"] { color: var(--offwhite); text-decoration: underline; }
.drawer-phone { padding: 0 0.75rem 1rem; font-size: 0.85rem; color: var(--ink-dim); }
.drawer-phone a { color: var(--emerald-bright); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: clamp(2.5rem, 8vw, 5rem) 0; position: relative; }
.on-dark { background: var(--charcoal); color: var(--offwhite); }
.on-dark h2, .on-dark h3 { color: var(--offwhite); }
.on-dark p { color: var(--ink-dim); }
.on-light { background: var(--white); }
.on-tint { background: var(--offwhite); }
.section-head { max-width: 38rem; margin: 0 auto 2rem; }
.section-head.center { text-align: center; }

/* ---------- Hero ---------- */
.hero { background: var(--charcoal); color: var(--offwhite); padding: 1.5rem 0 2.5rem; position: relative; overflow: hidden; }
.hero-mesh {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(24rem 18rem at 15% 0%, rgba(249,115,22,0.22), transparent 60%),
    radial-gradient(22rem 20rem at 90% 20%, rgba(16,185,129,0.16), transparent 60%);
  filter: blur(10px);
}
.hero-inner { position: relative; z-index: 1; }
.hero-copy .eyebrow { color: var(--orange-bright); }
.hero-copy h1 { margin-bottom: 0.75rem; }
.hero-copy .accent-em { color: var(--emerald-bright); }
.hero-copy .lead { color: var(--ink-dim); margin-bottom: 1.25rem; }
.hero-phone-note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-faint); }
.hero-phone-note a { color: var(--emerald-bright); font-weight: 700; }
.hero-ai-note { color: var(--violet); font-weight: 700; }
.hero-noapp { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.5rem; }
.hero-emergency {
  margin-top: 1rem; font-size: 0.85rem; padding: 0.6rem 0.8rem;
  background: rgba(220,38,38,0.12); border: 1px solid rgba(220,38,38,0.35);
  border-radius: 0.6rem; color: #fecaca;
}
.hero-emergency a, .hero-emergency strong { color: #fff; }
@media (min-width: 900px) {
  .hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
}

/* ---------- Glass card ---------- */
.glass { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); backdrop-filter: blur(14px); }

/* ---------- Hero animation stage (6-stage story) ---------- */
.stage-wrap { position: relative; margin-top: 1.5rem; }
@media (min-width: 900px) { .stage-wrap { margin-top: 0; } }
.stage-box {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  max-height: 55vh; min-height: 17rem; touch-action: pan-y;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}
@media (min-width: 900px) { .stage-box { max-height: none; min-height: 24rem; } }
.stage {
  position: absolute; inset: 0; padding: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.97);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.stage.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.stage-inner { width: 100%; max-width: 18rem; }

/* Stage 1: sticker beside sink */
.sink-scene { border-radius: var(--radius-md); background: linear-gradient(160deg, #2b3245, #1a2033); padding: 1.5rem; position: relative; min-height: 13rem; display: flex; align-items: flex-end; justify-content: center; }
.sink-cabinet { width: 100%; height: 4.5rem; background: #374151; border-radius: 0.4rem 0.4rem 0 0; position: relative; }
.sink-cabinet::before { content: ""; position: absolute; top: -0.6rem; left: 10%; right: 10%; height: 0.9rem; background: #64748b; border-radius: 0.3rem; }
.sink-pipe { position: absolute; bottom: 4.5rem; left: 50%; width: 0.5rem; height: 3rem; background: #4b5563; transform: translateX(-50%); border-radius: 0.2rem; }
.sink-sticker {
  position: absolute; top: 0.75rem; right: 1rem; background: #fff; border-radius: 0.5rem;
  padding: 0.6rem; width: 5.5rem; transform: rotate(-2deg);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.5);
  animation: stickerPulse 3s ease-in-out infinite;
}
@keyframes stickerPulse {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 14px 30px -10px rgba(249,115,22,0.5), 0 0 0 4px rgba(249,115,22,0.15); }
}
.qr-svg { width: 100%; height: auto; }
.qr-bg { fill: #fff; }
.qr-mod { fill: #0f172a; }
.sticker-label { margin-top: 0.35rem; text-align: center; font-size: 0.5rem; font-weight: 700; color: #0f172a; }

/* Stage 2: phone scanning */
.phone-shell {
  width: 8rem; height: 16rem; margin: 0 auto; background: #111827;
  border-radius: 1.5rem; border: 3px solid #1f2937; padding: 0.4rem;
  box-shadow: 0 20px 40px -14px rgba(0,0,0,0.6);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 1.1rem; background: linear-gradient(160deg, #1e293b, #0f172a); overflow: hidden; }
.mini-qr { width: 55%; margin: 2.2rem auto 0; opacity: 0.9; }
.viewfinder { position: absolute; inset: 1.1rem 0.8rem; border-radius: 0.5rem; }
.vf-corner { position: absolute; width: 0.9rem; height: 0.9rem; border: 3px solid var(--emerald-bright); }
.vf-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.vf-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.vf-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.vf-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }
.scan-line {
  position: absolute; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--emerald-bright), transparent);
  animation: scanSweep 1.6s ease-in-out infinite;
}
@keyframes scanSweep { 0%, 100% { top: 10%; } 50% { top: 80%; } }
.focus-pulse {
  position: absolute; left: 50%; top: 50%; width: 2.2rem; height: 2.2rem;
  border: 2px solid var(--emerald-bright); border-radius: 50%;
  transform: translate(-50%, -50%) scale(1); opacity: 0.9;
  animation: focusPulse 1.6s ease-out infinite;
}
@keyframes focusPulse { to { transform: translate(-50%, -50%) scale(1.8); opacity: 0; } }

/* Stage 3 + 4: form card */
.form-card { background: #fff; color: var(--charcoal); border-radius: var(--radius-md); padding: 1.1rem; font-size: 0.8rem; }
.form-card h4 { font-size: 0.9rem; margin-bottom: 0.6rem; }
.room-chip {
  display: inline-flex; align-items: center; gap: 0.3rem; background: #ecfdf5; color: #047857;
  border: 1px solid #a7f3d0; border-radius: 999px; padding: 0.3rem 0.65rem;
  font-weight: 700; font-size: 0.7rem; margin-bottom: 0.6rem;
}
.type-line {
  min-height: 1.5rem; border: 1px solid var(--border); border-radius: 0.4rem;
  padding: 0.3rem 0.5rem; color: var(--text-dim); font-size: 0.7rem; margin-bottom: 0.6rem;
}
.type-line .caret { display: inline-block; width: 1px; height: 0.8em; background: var(--orange); margin-left: 1px; animation: caretBlink 0.9s steps(1) infinite; vertical-align: middle; }
@keyframes caretBlink { 50% { opacity: 0; } }
.photo-thumb {
  width: 2.3rem; height: 2.3rem; border-radius: 0.4rem;
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem;
  opacity: 0; transform: scale(0.5);
}
.stage[data-stage="4"].is-active .photo-thumb { animation: thumbPop 0.4s var(--ease) 0.6s forwards; }
@keyframes thumbPop { to { opacity: 1; transform: scale(1); } }

/* Stage 5: categorize + route */
.route-scene { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.route-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.route-chip {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: #fff;
  padding: 0.4rem 0.8rem; border-radius: 999px; font-weight: 700; font-size: 0.75rem;
  opacity: 0; transform: translateY(8px);
}
.stage[data-stage="5"].is-active .route-chip { animation: chipPop 0.4s var(--ease) forwards; }
.stage[data-stage="5"].is-active .route-chip:nth-child(1) { animation-delay: 0.1s; }
.stage[data-stage="5"].is-active .route-chip:nth-child(2) { animation-delay: 0.4s; }
@keyframes chipPop { to { opacity: 1; transform: translateY(0); } }
.route-line { width: 3px; height: 1.5rem; background: var(--emerald-bright); transform: scaleY(0); transform-origin: top; }
.stage[data-stage="5"].is-active .route-line { animation: lineGrow 0.5s var(--ease) 0.8s forwards; }
@keyframes lineGrow { to { transform: scaleY(1); } }
.vendor-card { background: #fff; color: var(--charcoal); border-radius: var(--radius-md); padding: 0.9rem 1rem; width: 100%; max-width: 14rem; opacity: 0; transform: translateY(10px); }
.stage[data-stage="5"].is-active .vendor-card { animation: vendorIn 0.5s var(--ease) 1.1s forwards; }
@keyframes vendorIn { to { opacity: 1; transform: translateY(0); } }
.vendor-top { display: flex; align-items: center; gap: 0.5rem; }
.vendor-avatar { width: 2rem; height: 2rem; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--emerald)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 0.75rem; }
.vendor-name { font-weight: 700; font-size: 0.8rem; }
.vendor-status { display: inline-block; margin-top: 0.4rem; font-size: 0.65rem; font-weight: 700; color: #047857; background: #ecfdf5; padding: 0.2rem 0.5rem; border-radius: 999px; }

/* Stage 6: tracking status */
.track-scene { background: #fff; color: var(--charcoal); border-radius: var(--radius-md); padding: 1.1rem; width: 100%; position: relative; }
.track-steps { display: flex; flex-direction: column; gap: 0.6rem; }
.track-step { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; font-weight: 700; color: var(--text-dim); }
.track-dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; }
.track-step.is-done { color: var(--charcoal); }
.track-step.is-done .track-dot { background: var(--emerald); border-color: var(--emerald); }
.track-step.is-active .track-dot { border-color: var(--orange); animation: dotPulse 1.4s ease-in-out infinite; }
@keyframes dotPulse { 50% { box-shadow: 0 0 0 5px rgba(249,115,22,0.2); } }
.track-toast {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: -3rem;
  background: var(--charcoal); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 0.55rem 0.7rem; border-radius: 0.5rem; transition: bottom 0.5s var(--ease) 0.6s;
}
.stage[data-stage="6"].is-active .track-toast { bottom: 0.75rem; }

/* Stage controls */
.stage-controls { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 1rem; }
.stage-caption { text-align: center; margin: 0.75rem 0 0; min-height: 1.3rem; color: var(--text-dim); font-weight: 600; font-size: 0.9rem; }
.on-dark .stage-caption { color: var(--ink-dim); }
.stage-play {
  min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: var(--offwhite); cursor: pointer; font-size: 0.85rem;
}
.stage-dots { display: flex; gap: 0.5rem; }
.stage-dot { width: 0.55rem; height: 0.55rem; min-width: 0.55rem; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; padding: 0; cursor: pointer; }
.stage-dot.is-active { background: var(--orange-bright); transform: scale(1.3); }

/* Reduced-motion storyboard grid */
.storyboard { display: none; }
@media (prefers-reduced-motion: reduce) {
  .stage-box, .stage-controls { display: none; }
  .storyboard { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}
.storyboard-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 0.75rem; padding: 0.75rem; font-size: 0.8rem; color: var(--ink-dim); }
.storyboard-item strong { display: block; color: var(--offwhite); font-size: 0.85rem; margin-bottom: 0.2rem; }

/* ---------- Steps grid (how it works) ---------- */
.steps-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem; position: relative; }
.step-num { position: absolute; top: 1.1rem; right: 1.1rem; font-size: 0.7rem; font-weight: 800; color: var(--orange); background: #fff7ed; border-radius: 999px; padding: 0.15rem 0.5rem; }
.step-icon { width: 3rem; height: 3rem; border-radius: 0.9rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; background: linear-gradient(135deg, #fff7ed, #ecfdf5); color: var(--orange); }
.step-icon svg { width: 1.6rem; height: 1.6rem; }

/* ---------- Cards / grids ---------- */
.card-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 1.25rem; }
.feature-card .feature-icon { font-size: 1.4rem; margin-bottom: 0.5rem; display: block; }
.on-light .feature-card, .on-tint .feature-card { background: var(--white); border-color: var(--border); }

/* ---------- Emergency / safety ---------- */
.emergency-block {
  border: 2px solid var(--red); background: #fef2f2; border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem; margin-bottom: 1.1rem;
}
.emergency-block h3 { color: var(--red); }
.emergency-block.on-dark-block { background: rgba(220,38,38,0.12); border-color: rgba(220,38,38,0.5); }
.emergency-911 { font-size: 1.4rem; font-weight: 800; color: var(--red); }

/* ---------- FAQ ---------- */
.faq-group { max-width: 42rem; margin: 0 auto; }
.faq-group h3 { margin: 1.75rem 0 0.9rem; }
details.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.1rem; margin-bottom: 0.65rem; }
details.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--orange); flex-shrink: 0; }
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item p { margin: 0.75rem 0 0; color: var(--text-dim); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--ink-faint); padding: 2.5rem 0 6rem; font-size: 0.85rem; }
body.has-sticky-cta .site-footer { padding-bottom: 2.5rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; margin-bottom: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a:hover { color: var(--offwhite); }
.footer-note { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.25rem; margin-bottom: 0.5rem; }

/* ---------- Sticky bottom report bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 0.6rem 1rem calc(0.6rem + var(--safe-b));
  background: rgba(15,23,42,0.96); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(100%); transition: transform 0.3s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
body.has-sticky-cta { padding-bottom: calc(4rem + var(--safe-b)); }
@media (min-width: 900px) { .sticky-cta { display: none; } body.has-sticky-cta { padding-bottom: 0; } }

/* ---------- Report page ---------- */
.report-hero { background: var(--charcoal); color: var(--offwhite); padding: 1.5rem 0 2rem; }
.option-grid { display: grid; gap: 1.25rem; padding: 1.5rem 0 2rem; }
@media (min-width: 860px) { .option-grid { grid-template-columns: repeat(3, 1fr); } }
.option-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: 0 20px 40px -25px rgba(15,23,42,0.35); display: flex; flex-direction: column; }
.option-card .option-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.8rem; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 0.9rem; background: linear-gradient(135deg, #fff7ed, #ecfdf5); }
.option-card p { color: var(--text-dim); flex-grow: 1; }
.field-row { display: flex; flex-direction: column; gap: 0.55rem; margin: 1rem 0; }
.field-row label { font-weight: 700; font-size: 0.9rem; }
.field-row input[type="text"] {
  padding: 0.8rem 1rem; border-radius: 0.6rem; border: 1.5px solid var(--border);
  font-size: 16px; font-family: inherit; min-height: 48px; width: 100%;
}
.field-row input[type="text"]:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form-error { color: var(--red); font-size: 0.85rem; font-weight: 600; min-height: 1.2rem; margin: 0; }
.tel-link {
  font-size: clamp(1.3rem, 6vw, 1.7rem); font-weight: 800; color: #047857;
  background: #f0fdf9; border-radius: 0.7rem; padding: 0.85rem 1rem; text-align: center;
  display: block; margin: 0.75rem 0; border: 1.5px solid #a7f3d0; min-height: 48px;
}

/* ---------- About / Privacy / Accessibility (prose pages) ---------- */
.prose { max-width: 40rem; margin: 0 auto; }
.prose h2 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--charcoal); color: var(--offwhite); padding: 2.5rem 1rem; }
.notfound .code { font-size: clamp(3.5rem, 16vw, 6rem); font-weight: 800; background: linear-gradient(135deg, var(--orange-bright), var(--emerald-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- i18n visibility ---------- */
[data-i18n-es] { display: none; }
html[lang="es"] [data-i18n-es] { display: block; }
html[lang="es"] [data-i18n-en-only] { display: none; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.small { font-size: 0.85rem; color: var(--ink-faint); }
.on-light .small, .on-tint .small { color: var(--text-dim); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
