/* ============================================================
   Sonanta — Landing
   Ritmo de secciones: OSCURAS y BLANCAS alternadas (sin degradados).
   Capturas reales enmarcadas. Acento coral.
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #f4f1ea;      /* claro cálido para secciones alternas */
  --ink:   #191620;
  --ink-2: #55515c;
  --ink-3: #8b8792;
  --line:  rgba(24,20,26,0.10);
  --line-strong: rgba(24,20,26,0.17);

  --coral: #ee6450;
  --coral-2: #ff7a63;
  --coral-deep: #cf4a30;
  --coral-soft: rgba(238,100,80,0.12);
  --green: #4fa845;

  --r-lg: 28px;
  --r-md: 18px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Secciones: claras (blanco / papel) y oscuras -------------- */
.section { padding: 110px 0; position: relative; }
.paper { background: var(--paper); }
.dark {
  --ink: #ffffff; --ink-2: rgba(255,255,255,0.66); --ink-3: rgba(255,255,255,0.42);
  --line: rgba(255,255,255,0.12); --line-strong: rgba(255,255,255,0.22);
  background: #0b0b0d; color: #fff; overflow: hidden;
}
.dark .glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(238,100,80,0.22), transparent 70%); }
.dark .wrap { position: relative; z-index: 1; }

/* Nav ------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; background: #000000; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: rgba(255,255,255,0.1); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 18px; color: #fff; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.brand .beta { font-size: 10px; font-weight: 700; color: var(--coral); background: var(--coral-soft);
  padding: 2px 7px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.68); font-size: 14.5px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { color: #fff !important; background: var(--coral); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.nav-cta:hover { background: var(--coral-2); }
.lang-switch { color: rgba(255,255,255,0.6) !important; font-weight: 700; font-size: 12.5px; letter-spacing: .06em;
  border: 1px solid var(--line-strong); padding: 5px 11px; border-radius: 999px; }
.lang-switch:hover { color: #fff !important; border-color: currentColor; }
@media (max-width: 860px){ .nav-links a:not(.nav-cta):not(.lang-switch){ display:none; } }

/* Botones --------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: .2s var(--ease); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(238,100,80,0.4); }
.btn-ghost { background: transparent; color: currentColor; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: currentColor; }

/* Tipografía ------------------------------------------------ */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--coral);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); border-radius: 2px; }
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 650; line-height: 1.05; }
.section h2 { font-size: clamp(30px, 4.4vw, 50px); }
.lead { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 19px); max-width: 620px; line-height: 1.6; }

/* Marco de dispositivo (captura real) ---------------------- */
.device { width: 296px; border-radius: 46px; padding: 9px; flex: none;
  background: linear-gradient(160deg,#3a3a3e,#151517);
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.08); }
.device img { border-radius: 38px; width: 100%; display: block; }
.device-glow { position: relative; }
.device-glow::after { content:""; position:absolute; inset:-8% -6%; z-index:-1;
  background: radial-gradient(closest-side, rgba(238,100,80,0.30), transparent 72%); filter: blur(24px); }

/* Hero (oscuro) -------------------------------------------- */
.hero { padding: 66px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); font-weight: 680; }
.hero h1 .accent { color: var(--coral); }
.hero .principle { margin-top: 26px; color: var(--ink-2); font-size: clamp(17px, 1.9vw, 21px); max-width: 520px; line-height: 1.55; }
.hero .cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero .micro { margin-top: 20px; color: var(--ink-3); font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero .g1 { width: 620px; height: 620px; left: -180px; top: -160px; }
.hero .g2 { width: 520px; height: 520px; right: -160px; bottom: -220px; }
@media (max-width: 900px){ .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .principle, .lead { margin-left: auto; margin-right: auto; } .hero .cta-row, .hero .micro { justify-content: center; }
  .phone-stage { margin-top: 20px; } }
.phone-stage { display: flex; justify-content: center; }

/* TICKER — banda protagonista (dentro del hero oscuro) ----- */
.tickerband { padding: 0 0 8px; overflow: hidden; }
.tickerband .lab { text-align: center; color: var(--coral-2); font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 22px; }
.tickerrow { overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tickerrow + .tickerrow { margin-top: 14px; }
.tickerrow .track { display: inline-flex; gap: 26px; animation: scroll 40s linear infinite; }
.tickerrow.rev .track { animation-direction: reverse; animation-duration: 46s; }
.tickerrow .track span { font-size: clamp(20px, 2.8vw, 32px); font-weight: 620; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.32); display: inline-flex; align-items: center; gap: 12px; }
.tickerrow .track span::before { content: "“"; color: var(--coral); }
.tickerrow .track b { color: #fff; font-weight: 680; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ¿Por qué? — comparación (clara) -------------------------- */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.cmp { border-radius: var(--r-md); padding: 30px; border: 1px solid var(--line); background: var(--white); }
.cmp.win { background: var(--white); border: 2px solid var(--coral); box-shadow: 0 20px 50px rgba(238,100,80,0.14); }
.cmp .k { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.cmp.win .k { color: var(--coral); }
.cmp h3 { font-size: 23px; margin: 10px 0 14px; }
.cmp p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.cmp .verdict { margin-top: 16px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--ink-3); }
.cmp.win .verdict { color: var(--coral); }
@media (max-width: 900px){ .compare { grid-template-columns: 1fr; } }

/* Cómo funciona (papel) ------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px;
  box-shadow: 0 2px 20px rgba(24,20,26,0.04); }
.step .n { font-size: 13px; font-weight: 700; color: var(--coral); letter-spacing: .1em; }
.step h3 { font-size: 22px; margin: 14px 0 8px; }
.step p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.step .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; margin-bottom: 18px; }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr; } }

/* Ticket — sección protagonista (oscura) ------------------- */
.ticket .wrap { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: center; }
.ticket .g1 { width: 560px; height: 560px; right: -160px; top: -140px; }
.ticket h2 .accent { color: var(--coral); }
.ticket .flow { display: grid; gap: 14px; margin-top: 34px; }
.ticket .fl { display: flex; gap: 14px; align-items: flex-start; }
.ticket .fl .num { width: 30px; height: 30px; border-radius: 9px; background: var(--coral-soft); color: var(--coral-2);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.ticket .fl h4 { font-size: 16px; margin-bottom: 2px; }
.ticket .fl p { color: var(--ink-2); font-size: 14px; }
.ticket-visual { position: relative; display: flex; justify-content: center; }
.receipt { width: 172px; background: #fff; border-radius: 12px; padding: 16px 16px 20px; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4); transform: rotate(-5deg); z-index: 2; }
.receipt .rh { height: 12px; width: 55%; background: #23212a; border-radius: 3px; margin-bottom: 12px; }
.receipt .ln { height: 7px; border-radius: 3px; background: #e7e3db; margin-bottom: 8px; }
.receipt .ln.s { width: 65%; } .receipt .ln.tot { width: 80%; height: 11px; background: #f0b3a6; margin-top: 12px; }
.receipt::after { content:""; position: absolute; left: -4px; right: -4px; height: 40px; top: -40px;
  background: linear-gradient(180deg, transparent, rgba(238,100,80,0.55), transparent);
  box-shadow: 0 0 18px rgba(238,100,80,0.7); animation: scanline 2.8s var(--ease) infinite; }
@keyframes scanline { 0%{ top:-40px } 62%,100%{ top:110% } }
.ticket-visual .device { position: absolute; right: -30px; bottom: -30px; width: 210px; transform: rotate(4deg); z-index: 1; opacity: 0.96; }
@media (max-width: 900px){ .ticket .wrap { grid-template-columns: 1fr; gap: 40px; } .ticket-visual { justify-content: flex-start; } .ticket-visual .device { position: static; margin-top: 24px; transform: none; } .receipt { transform: none; } }

/* Funciones (blanca) --------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; transition: .25s var(--ease);
  box-shadow: 0 2px 16px rgba(24,20,26,0.03); }
.feat:hover { transform: translateY(-4px); border-color: var(--coral); box-shadow: 0 16px 34px rgba(24,20,26,0.09); }
.feat .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; background: var(--coral-soft); color: var(--coral); }
.feat h3 { font-size: 16.5px; margin-bottom: 6px; letter-spacing: -0.01em; }
.feat p { color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
@media (max-width: 980px){ .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .feat-grid { grid-template-columns: 1fr; } }

/* PRO — sección oscura, sólida ----------------------------- */
.pro .g1 { width: 620px; height: 620px; left: -160px; top: 40px; }
.pro .g2 { width: 520px; height: 520px; right: -180px; bottom: -160px; }
.pro-hero { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: center; }
.pro-hero h2 { font-size: clamp(34px, 5vw, 56px); }
.pro-hero h2 .accent { color: var(--coral); }
.pro-crown { width: 66px; height: 66px; border-radius: 18px; background: var(--coral); display: grid; place-items: center; color: #fff;
  box-shadow: 0 16px 40px rgba(238,100,80,0.45); margin-bottom: 20px; }
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.pro-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r-md); padding: 30px; transition: .25s var(--ease); }
.pro-card:hover { border-color: rgba(238,100,80,0.55); background: rgba(255,255,255,0.06); transform: translateY(-4px); }
.pro-card .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--coral); margin-bottom: 18px; box-shadow: 0 10px 26px rgba(238,100,80,0.35); }
.pro-card h3 { font-size: 22px; margin-bottom: 8px; }
.pro-card .desc { color: rgba(255,255,255,0.62); font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; }
.pro-card .sub { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-2); margin: 16px 0 10px; }
.pro-card ul { list-style: none; display: grid; gap: 8px; }
.pro-card li { color: rgba(255,255,255,0.8); font-size: 13.5px; display: flex; gap: 9px; align-items: flex-start; }
.pro-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin-top: 7px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 12.5px; color: #fff; background: rgba(238,100,80,0.16); border: 1px solid rgba(238,100,80,0.32); padding: 6px 11px; border-radius: 999px; }
.chip::before { content: "“"; color: var(--coral-2); margin-right: 2px; }
.pro-tag { font-weight: 650; font-size: clamp(20px,2.4vw,26px); margin-top: 50px; text-align: center; letter-spacing: -0.02em; }
.pro-tag .accent { color: var(--coral); }
@media (max-width: 980px){ .pro-grid { grid-template-columns: 1fr; } .pro-hero { grid-template-columns: 1fr; } .pro-hero .phone-stage { display:none; } }

/* Privacidad (papel) --------------------------------------- */
.privacy .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.privacy-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pb { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: 0 2px 16px rgba(24,20,26,0.03); }
.pb .ic { color: var(--coral); margin-bottom: 12px; }
.pb h4 { font-size: 15.5px; margin-bottom: 5px; }
.pb p { color: var(--ink-2); font-size: 13px; line-height: 1.5; }
.values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.values span { border: 1px solid var(--line-strong); color: var(--ink-2); padding: 8px 15px; border-radius: 999px; font-size: 13.5px; background: var(--white); }
.values span b { color: var(--coral); font-weight: 600; }
@media (max-width: 900px){ .privacy .wrap { grid-template-columns: 1fr; gap: 34px; } }

/* Manifiesto (blanca) -------------------------------------- */
.manifesto { text-align: center; }
.manifesto blockquote { font-size: clamp(26px, 4vw, 46px); font-weight: 620; letter-spacing: -0.03em; line-height: 1.15; max-width: 900px; margin: 0 auto; }
.manifesto blockquote .accent { color: var(--coral); }
.manifesto cite { display: block; margin-top: 26px; color: var(--ink-3); font-style: normal; font-size: 14px; letter-spacing: .02em; }

/* CTA final (oscura) --------------------------------------- */
.final { text-align: center; }
.final .g1 { width: 560px; height: 560px; left: 50%; top: -60%; transform: translateX(-50%); }
.final h2 { font-size: clamp(30px, 5vw, 52px); }
.final .lead { margin: 16px auto 0; color: var(--ink-2); }
.final .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* Footer (blanca) ------------------------------------------ */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--white); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer .brand { color: var(--ink); margin-bottom: 14px; }
footer p { color: var(--ink-3); font-size: 13.5px; line-height: 1.6; max-width: 320px; }
footer h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer ul a { color: var(--ink-2); font-size: 14px; }
footer ul a:hover { color: var(--coral); }
.foot-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; color: var(--ink-3); font-size: 12.5px; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px){ footer .wrap { grid-template-columns: 1fr; } }

/* Reveal ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; } .tickerrow .track, .receipt::after { animation: none !important; } }

/* Páginas legales (aviso de privacidad / términos) --------- */
.legal-hero { background: #000; color: #fff; padding: 52px 0 40px; }
.legal-hero .backhome { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.68); font-size: 14px; margin-bottom: 22px; }
.legal-hero .backhome:hover { color: #fff; }
.legal-hero .eyebrow { color: var(--coral-2); }
.legal-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 680; letter-spacing: -0.03em; line-height: 1.08; }
.legal-hero .updated { color: rgba(255,255,255,0.5); font-size: 13.5px; margin-top: 16px; }
.legal { padding: 58px 0 90px; background: var(--white); }
.legal .wrap { max-width: 820px; }
.legal .intro { color: var(--ink-2); font-size: 16.5px; line-height: 1.72; }
.legal h2 { font-size: clamp(21px, 2.6vw, 26px); margin: 44px 0 12px; letter-spacing: -0.02em; scroll-margin-top: 84px; }
.legal h2 .num { color: var(--coral); font-weight: 700; margin-right: 8px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p { color: var(--ink-2); font-size: 15.5px; line-height: 1.72; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; margin-bottom: 8px; }
.legal strong { color: var(--ink); font-weight: 650; }
.legal a.inline { color: var(--coral); border-bottom: 1px solid var(--coral-soft); }
.legal .toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 26px; margin: 30px 0 10px; }
.legal .toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 12px; }
.legal .toc ol { padding-left: 20px; display: grid; gap: 7px; }
.legal .toc a { color: var(--ink-2); font-size: 14.5px; }
.legal .toc a:hover { color: var(--coral); }
.legal .note { border-left: 3px solid var(--coral); background: var(--coral-soft); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 20px 0; font-size: 14.5px; color: var(--ink-2); }
.legal .callout { background: #0b0b0d; color: #fff; border-radius: var(--r-md); padding: 26px 28px; margin: 32px 0; }
.legal .callout p { color: rgba(255,255,255,0.78); margin: 0; font-size: 15px; }
.legal .callout strong { color: #fff; }
.legal .fill { background: #fff3b0; color: #6b5300; padding: 1px 6px; border-radius: 5px; font-size: 0.92em; font-weight: 600; }

/* Iconos SVG ------------------------------------------------ */
svg.i { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; width: 22px; height: 22px; display: block; }
.pb .ic svg.i { width: 24px; height: 24px; }
.pro-crown svg.i { width: 32px; height: 32px; stroke:#fff; stroke-width: 1.6; }
.pro-card .ic svg.i { width: 25px; height: 25px; stroke:#fff; }
.step .ic svg.i, .feat .ic svg.i { width: 22px; height: 22px; }
