/* =========================================================================
   ZEEN — Landing de conversión · styles.css
   Estética: dark premium, tech, alto contraste. Regla 60-30-10:
   negro/oscuro 60%, neutros 30%, cyan 10% (reservado para CTAs y 1-2 datos).
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #0A0A0A;
  --bg-elev: #121212;
  --bg-elev-2: #171717;
  --cyan: #0CC0DF;
  --cyan-bright: #15D2F8;
  --text: #F5F5F5;
  --muted: #9AA0A6;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --glow: 0 0 0 1px rgba(12, 192, 223, 0.35), 0 8px 30px rgba(12, 192, 223, 0.28);
  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1160px;
  --maxw-narrow: 760px;

  --font-display: "Anton", "Archivo Black", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
strong { color: #fff; font-weight: 700; }
[hidden] { display: none !important; }   /* asegura que el atributo hidden gane a .btn/.step/etc. */

.txt-cyan { color: var(--cyan-bright); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: #041014; padding: 12px 18px; font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--cyan-bright); outline-offset: 3px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.container-narrow { max-width: var(--maxw-narrow); }
.center { text-align: center; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-elev { background: var(--bg-elev); border-block: 1px solid var(--line); }

/* ---------- Tipografía ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.02;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  margin-bottom: 22px;
}
.section-lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  max-width: 720px;
  margin-bottom: 34px;
}

.eyebrow {
  color: var(--cyan-bright);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pull-quote {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  line-height: 1.05;
  margin-top: 40px;
  padding-left: 20px;
  border-left: 3px solid var(--cyan);
}

.mantra {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Botones ---------- */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  text-align: center; line-height: 1.15; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-cyan {
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
  color: #04141a;
  box-shadow: 0 6px 22px rgba(12, 192, 223, 0.30);
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(12, 192, 223, 0.5), 0 0 0 1px rgba(21, 210, 248, 0.6);
}

.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan-bright); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { color: var(--text); }

.btn-lg { --pad-y: 17px; --pad-x: 30px; font-size: 1.06rem; }
.btn-sm { --pad-y: 10px; --pad-x: 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -10% -10% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 70% 30%, rgba(12, 192, 223, 0.18), transparent 60%);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 60px); align-items: center;
}
.hero-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.3rem, 6.4vw, 4.3rem); line-height: 0.98; letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.hero-sub { color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.2rem); max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-proof {
  list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px;
  color: var(--muted); font-size: 0.95rem;
}
.hero-proof li { position: relative; padding-left: 16px; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.hp-num { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.5px; }

/* Foto hero: se funde en el fondo oscuro con máscara + marco fino cyan */
.hero-media { justify-self: center; }
.hero-photo-frame {
  position: relative; border-radius: var(--radius-lg); padding: 0;
  border: 1px solid rgba(12, 192, 223, 0.22);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.03);
  background: linear-gradient(180deg, rgba(18,18,18,0.4), rgba(10,10,10,0.9));
  overflow: hidden; max-width: 460px;
}
.hero-photo {
  width: 100%; height: auto; display: block;
  filter: grayscale(0.15) contrast(1.03);
  /* funde los bordes claros del retrato hacia el fondo oscuro */
  -webkit-mask-image: radial-gradient(115% 100% at 62% 38%, #000 60%, rgba(0,0,0,0.15) 100%),
                      linear-gradient(180deg, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: radial-gradient(115% 100% at 62% 38%, #000 60%, rgba(0,0,0,0.15) 100%),
                      linear-gradient(180deg, #000 72%, transparent 100%);
          mask-composite: intersect;
}
.hero-photo-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.55) 100%),
              linear-gradient(90deg, rgba(10,10,10,0.35) 0%, transparent 30%);
}

/* ---------- [2] Problema ---------- */
.pain-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pain {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px; font-size: 1.02rem;
}
.section-elev .pain { background: var(--bg-elev-2); }
.pain-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }

/* ---------- [3] Solución / Escalera ---------- */
.escalera-block {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  margin: 48px 0 40px; padding: 28px; background: var(--bg-elev-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.escalera { width: 100%; }
.escalera-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end;
  min-height: 260px;
}
.esc-step {
  position: relative; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 14px 10px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-bottom: 2px solid rgba(12, 192, 223, calc(0.15 + var(--i) * 0.15));
  /* altura ascendente por peldaño */
  min-height: calc(90px + (var(--i) - 1) * 42px);
  /* animación al entrar en viewport */
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 90ms);
}
.in-view .esc-step { opacity: 1; transform: translateY(0); }
.esc-num {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--cyan-bright); line-height: 1;
}
.esc-label { font-size: 0.86rem; color: var(--text); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.esc-step:last-child { border-bottom-color: var(--cyan); box-shadow: inset 0 -1px 14px rgba(12,192,223,0.14); }

.escalera-heading { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; margin-bottom: 10px; }
.escalera-text p { color: var(--muted); }

/* 11 bloques */
.chips-label { color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; font-weight: 700; margin-bottom: 14px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}
.chips li:hover { border-color: rgba(12,192,223,0.5); color: var(--cyan-bright); }

/* ---------- [4] Autoridad ---------- */
.authority-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.auth-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.section .auth-card { background: var(--bg-elev); }
.auth-h { font-family: var(--font-display); text-transform: uppercase; font-size: 1.35rem; margin-bottom: 12px; letter-spacing: 0.5px; }
.auth-card p { color: var(--muted); }
.pillar-tag {
  display: inline-block; margin-top: 26px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(12,192,223,0.4); color: var(--cyan-bright);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem;
}

/* ---------- [5] Prueba social ---------- */
.proof-note { color: var(--muted); margin-bottom: 34px; font-size: 0.98rem; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.case {
  background: var(--bg-elev-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.case-feature {
  grid-column: 1 / -1;
  border-color: rgba(12,192,223,0.28);
  background: linear-gradient(180deg, rgba(12,192,223,0.06), rgba(23,23,23,0.9));
}
.case-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.case-flag { font-weight: 700; font-size: 1.05rem; }
.case-feature .case-flag { font-size: 1.25rem; }
.badge {
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.5px;
  color: var(--cyan-bright); background: rgba(12,192,223,0.1);
  border: 1px solid rgba(12,192,223,0.45); border-radius: 999px; padding: 6px 16px;
  white-space: nowrap;
}
.case-feature .badge { font-size: 1.5rem; padding: 8px 20px; }
.case-desc { color: var(--muted); font-size: 0.95rem; }
.case-jump { font-size: 1.1rem; }
.case-sub { font-size: 0.95rem; font-weight: 600; }

/* Screenshots reales: se muestran como capturas sobre marco claro */
.shot { margin-top: 6px; background: #fff; border-radius: 10px; padding: 8px; border: 1px solid var(--line-strong); overflow: hidden; }
.shot img { width: 100%; border-radius: 4px; }
.shot figcaption { color: #5a6068; font-size: 0.72rem; margin-top: 6px; font-weight: 600; text-align: right; }
.shot-pair { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px; }
.shot-pair .shot { margin-top: 0; }

/* Logos de clientes: chips uniformes, grises → color al hover */
.logos-title { text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; font-weight: 700; margin: 56px 0 22px; }
.logos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.logo-chip {
  display: flex; align-items: center; justify-content: center; height: 84px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.logo-chip img {
  max-height: 100%; max-width: 100%; width: auto; object-fit: contain;
  /* colores originales de cada marca */
}
/* 'Nature' es un logo blanco puro: se invierte para que sea visible sobre el chip claro */
.logo-chip img[alt="Nature"] { filter: invert(1); }
.logo-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }

.disclaimer { color: var(--muted); font-size: 0.8rem; margin-top: 34px; opacity: 0.75; max-width: 640px; }

/* ---------- [6] Oferta ---------- */
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; max-width: 640px; margin-bottom: 34px; }
.check-list li { position: relative; padding-left: 34px; font-size: 1.05rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(12,192,223,0.14); color: var(--cyan-bright); font-weight: 800; font-size: 0.85rem;
  border: 1px solid rgba(12,192,223,0.4);
}

/* ---------- [7] Formulario ---------- */
.form-card {
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 40px); margin-top: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.progress { height: 6px; background: rgba(255,255,255,0.07); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 12.5%; background: linear-gradient(90deg, var(--cyan), var(--cyan-bright)); border-radius: 999px; transition: width 0.35s var(--ease); }
.progress-label { color: var(--muted); font-size: 0.82rem; margin: 10px 0 24px; font-weight: 600; letter-spacing: 0.5px; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step[hidden] { display: none; }
.step-q { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.25rem, 3.4vw, 1.7rem); line-height: 1.08; letter-spacing: 0.5px; padding: 0; margin-bottom: 20px; }

.options { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 15px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-elev); transition: border-color 0.18s, background 0.18s, transform 0.12s;
  font-size: 1.02rem;
}
.opt:hover { border-color: var(--line-strong); background: var(--bg-elev-2); }
.opt input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); flex-shrink: 0; position: relative; transition: border-color 0.18s; }
.opt input:checked { border-color: var(--cyan-bright); }
.opt input:checked::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--cyan-bright); }
.opt:has(input:checked) { border-color: var(--cyan); background: rgba(12,192,223,0.08); }

.field {
  width: 100%; padding: 15px 16px; border-radius: 12px; font-size: 1.02rem;
  background: var(--bg-elev); border: 1px solid var(--line-strong); color: var(--text);
  font-family: var(--font-body); transition: border-color 0.18s, box-shadow 0.18s;
}
.field::placeholder { color: #6b7178; }
.field:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(12,192,223,0.15); }
textarea.field { resize: vertical; min-height: 108px; }
.field-hint { color: var(--muted); font-size: 0.82rem; margin-top: 8px; }
.field-row { margin-bottom: 16px; }
.field-row:last-child { margin-bottom: 0; }
.field-label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }

.form-error { color: #ff8a8a; font-size: 0.92rem; margin-top: 16px; font-weight: 600; }
.form-error[hidden] { display: none; }

.form-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form-nav .btn-next, .form-nav .btn-submit { margin-left: auto; }
.btn.is-loading { pointer-events: none; opacity: 0.75; }

/* Resultados */
.form-result { text-align: center; padding: 8px 0; }
.form-result[hidden] { display: none; }
.result-emoji { font-size: 2.6rem; margin-bottom: 8px; }
.result-h { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.08; margin-bottom: 12px; }
.result-p { color: var(--muted); max-width: 520px; margin: 0 auto 24px; }
.cal-embed { min-height: 560px; width: 100%; border-radius: 12px; overflow: hidden; background: var(--bg-elev); }
.cal-fallback { display: inline-block; margin-top: 14px; color: var(--cyan-bright); font-weight: 600; font-size: 0.92rem; }
.cal-fallback:hover { text-decoration: underline; }
.fallback-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- [8] Para quién sí / no ---------- */
.fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.fit-col { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 28px; }
.fit-h { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.fit-col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.fit-col li { padding-left: 4px; color: var(--text); }
.fit-yes { border-color: rgba(12,192,223,0.28); }
.fit-no li { color: var(--muted); }

/* ---------- [9] FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 1.06rem;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--cyan-bright); transition: transform 0.25s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a a { color: var(--cyan-bright); text-decoration: underline; }

/* ---------- [10] CTA final ---------- */
.cta-final { background: radial-gradient(ellipse 80% 120% at 50% 120%, rgba(12,192,223,0.14), transparent 70%), var(--bg); }
.cta-final-line { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.05; max-width: 900px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-elev); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; }
.footer-logo { height: 72px; width: auto; display: block; }
.footer-tag { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.18s; }
.footer-links a:hover { color: var(--cyan-bright); }
.footer-copy { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 40px; opacity: 0.7; }

/* ---------- Sticky CTA móvil ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,0.92) 30%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 91; right: 18px; bottom: 18px;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.18s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 360px; }
  .hero-photo-frame { max-width: 340px; margin-inline: auto; }
  .escalera-block { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 820px) {
  body { padding-bottom: 78px; } /* espacio para el sticky CTA */
  .header-cta { display: none; }
  .sticky-cta { display: block; }
  .wa-float { bottom: 84px; } /* no chocar con el sticky CTA */
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .escalera-steps { min-height: 210px; gap: 6px; }
  .esc-step { padding: 10px 6px; min-height: calc(78px + (var(--i) - 1) * 34px); }
  .esc-num { font-size: 1.2rem; }
  .esc-label { font-size: 0.72rem; }
  .hero-ctas .btn { width: 100%; }
  .fallback-ctas .btn { width: 100%; }
  .form-nav { gap: 10px; }
  .form-nav .btn { --pad-x: 16px; font-size: 0.94rem; }
}

/* Pantallas grandes: 2 screenshots del caso 3 lado a lado */
@media (min-width: 620px) {
  .shot-pair { grid-template-columns: 1fr 1fr; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal, .esc-step { opacity: 1 !important; transform: none !important; }
}
