@font-face { font-family: 'Saira'; src: url(fonts/saira.woff2) format('woff2'); font-weight: 100 900; font-stretch: 50% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Saira'; src: url(fonts/saira-italic.woff2) format('woff2'); font-weight: 100 900; font-stretch: 50% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Michroma'; src: url(fonts/michroma.woff2) format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --black: #050506;
  --ink: #0b0b0e;
  --panel: #101014;
  --panel-2: #16161b;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f1f2f5;
  --mute: #a3a5b0;
  --dim: #6f717c;
  --red: #ff1a45;
  --red-deep: #c30a2f;
  --hot: #ff7a95;
  --spring: cubic-bezier(.32, .72, 0, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 48px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--black); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--black); color: var(--text); font: 400 16px/1.55 'Geist', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gut); position: relative; }

/* Calavera de coche: la barra de progreso se enciende desde el centro */
.lamp { position: fixed; inset: 0 0 auto; height: 2px; z-index: 40; pointer-events: none; }
.lamp i { display: block; height: 100%; background: linear-gradient(90deg, transparent, var(--red) 12%, var(--hot) 50%, var(--red) 88%, transparent); box-shadow: 0 0 14px 1px rgba(255, 26, 69, .75); transform: scaleX(0); will-change: transform; }

.grain { position: fixed; inset: 0; z-index: 30; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── Navegación ── */
.nav { position: fixed; z-index: 35; top: calc(14px + var(--safe-t)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(14, 14, 18, .62); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 50px -20px #000; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; }
.brand img { width: 26px; height: auto; }
.brand-word { font: 400 11px/1 'Michroma', sans-serif; letter-spacing: .24em; }
.nav-links { display: flex; }
.nav-links a { position: relative; padding: 9px 14px; font-size: 14px; color: var(--mute); border-radius: 999px; transition: color .35s var(--out), background .35s var(--out); }
.nav-links a:hover { color: var(--text); }
.nav-links a.is-on { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav-cta { margin-left: 6px; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff; background: linear-gradient(180deg, #ff2d55, var(--red-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 6px 22px -6px rgba(255, 26, 69, .8); transition: transform .4s var(--spring), box-shadow .4s var(--out); }
.nav-cta:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 30px -4px rgba(255, 26, 69, 1); }
.nav-cta:active { transform: scale(.96); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 7px 8px 7px 24px; border-radius: 999px; font-weight: 500; font-size: 15px; white-space: nowrap; transition: transform .5s var(--spring), box-shadow .5s var(--out), background .4s var(--out); will-change: transform; }
.btn:active { transform: scale(.975); }
.btn-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; transition: transform .55s var(--spring); }
.btn-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-ico { transform: translate(2px, -2px) scale(1.06); }
.btn-red { color: #fff; background: linear-gradient(180deg, #ff2d55, var(--red-deep)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 44px -12px rgba(255, 26, 69, .85); }
.btn-red:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 18px 60px -8px rgba(255, 26, 69, 1); }
.btn-red .btn-ico { background: rgba(255, 255, 255, .18); }
.btn-line { color: var(--text); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: rgba(255, 255, 255, .09); }
.btn-line .btn-ico { background: rgba(255, 255, 255, .09); }
.btn-lg { min-height: 60px; font-size: 16px; padding-left: 30px; }
.btn-lg .btn-ico { width: 44px; height: 44px; }

/* ── Inicio ── */
.hero-wrap { height: 190vh; height: 190svh; position: relative; }
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-static { display: none; position: absolute; left: 50%; top: 49%; width: min(38vw, 62vw, 460px); transform: translate(-50%, -50%); }
.no3d #scene { display: none; }
.no3d .hero-static { display: block; }
/* Solo funde la parte de abajo: el logo sigue visible mientras sube la siguiente sección */
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, var(--black) 100%); opacity: 0; pointer-events: none; }
.hero-ui::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5, 5, 6, .82), rgba(5, 5, 6, 0) 30%, rgba(5, 5, 6, 0) 66%, rgba(5, 5, 6, .9) 94%); }
.hero-ui { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: calc(88px + var(--safe-t)) var(--gut) clamp(26px, 4.4vh, 44px); }
.hero-top { text-align: center; }
.hero-pre { font: 400 clamp(11px, 1.15vw, 15px)/1 'Michroma', sans-serif; letter-spacing: .5em; margin-right: -.5em; color: var(--text); }
.hero-title { margin-top: clamp(12px, 2vh, 20px); font: 400 clamp(19px, 3.1vw, 44px)/1.1 'Michroma', sans-serif; letter-spacing: .3em; margin-right: -.3em; color: var(--red); text-shadow: 0 0 34px rgba(255, 26, 69, .55); }
.hero-title .ch { display: inline-block; }
.hero-rule { display: block; height: 1px; margin: clamp(14px, 2.4vh, 24px) auto 0; width: min(560px, 74vw); background: linear-gradient(90deg, transparent, var(--red), var(--hot), var(--red), transparent); box-shadow: 0 0 16px rgba(255, 26, 69, .9); }

.hero-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 28px; }
.hero-mark { font-family: 'Michroma', sans-serif; line-height: 1; }
.hero-mark strong { display: block; font-weight: 400; font-size: clamp(17px, 1.8vw, 24px); letter-spacing: .26em; }
.hero-mark span { display: block; margin-top: 8px; font: italic 300 clamp(11px, 1vw, 14px)/1 'Saira', sans-serif; font-stretch: 112%; letter-spacing: .4em; color: #d5d6dc; }
.hero-mark b { font-weight: 700; color: var(--red); text-shadow: 0 0 12px rgba(255, 26, 69, .9); }
.hero-copy { justify-self: center; align-self: end; max-width: 34ch; text-align: center; color: var(--mute); font-size: 15px; }
.hero-actions { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hero-from { font-size: 13px; color: var(--mute); }
.hero-from b { color: var(--text); font-weight: 500; }

/* ── Secciones ── */
.section { position: relative; padding-block: clamp(76px, 10vw, 150px); overflow: clip; }
.head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.head-tight { margin-bottom: 30px; }
.tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font: 400 10.5px/1 'Michroma', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.tag span { color: var(--red); }
h2 { font: italic 600 clamp(35px, 6vw, 80px)/1.02 'Saira', sans-serif; font-stretch: 108%; letter-spacing: -.015em; text-wrap: balance; }
h2 > span { display: block; }
h2 em { font-style: italic; color: transparent; background: linear-gradient(100deg, #ff4468, var(--red) 55%, #ff7a95); -webkit-background-clip: text; background-clip: text; padding-right: .08em; }
.lines-mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; padding-right: .1em; }
.lines-mask > i { display: block; font-style: inherit; will-change: transform; }
.lead { margin-top: 20px; max-width: 58ch; color: var(--mute); font-size: clamp(16px, 1.35vw, 18px); }
.fine { margin-top: 16px; font-size: 13px; color: var(--dim); }

.beam { position: absolute; top: 0; height: 100%; width: min(60vw, 820px); pointer-events: none; }
.beam path { fill: none; stroke: var(--red); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .75; }
.beam path:nth-child(2) { opacity: .4; stroke-width: 1; }
.beam path:nth-child(3) { opacity: .25; }
.beam-r { right: 0; }
.beam-l { left: 0; }

/* ── Paquetes ── */
.section-redes { padding-top: clamp(48px, 6vw, 90px); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.plan { --mx: 50%; --my: 0%; position: relative; padding: 6px; border-radius: 32px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); transform-style: preserve-3d; }
.plan-in { position: relative; height: 100%; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 36px); border-radius: 26px; background: radial-gradient(420px 320px at var(--mx) var(--my), rgba(255, 255, 255, .06), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--ink)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09); overflow: hidden; }
.plan-top { background: rgba(255, 26, 69, .08); }
.plan-top::before { content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--a, 0deg), transparent 0 62%, var(--red) 78%, #ffd3dc 84%, var(--red) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: orbit 6s linear infinite; pointer-events: none; }
.plan-top::after { content: ''; position: absolute; inset: auto 12% -1px; height: 60px; background: radial-gradient(50% 100% at 50% 100%, rgba(255, 26, 69, .28), transparent); pointer-events: none; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --a: 360deg; } }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-head h3 { font: italic 600 clamp(28px, 3vw, 38px)/1 'Saira', sans-serif; font-stretch: 112%; }
.plan-sub { font-size: 13px; color: var(--dim); }
.plan-badge { display: inline-block; padding: 5px 10px; border-radius: 999px; background: rgba(255, 26, 69, .14); box-shadow: inset 0 0 0 1px rgba(255, 26, 69, .35); color: #ff8ca2; font: 500 11px/1 'Geist', sans-serif; font-style: normal; letter-spacing: .02em; }

.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(4px, 1vw, 14px); margin: 24px 0 8px; }
.gauge { position: relative; aspect-ratio: 1; max-width: 148px; width: 100%; margin-inline: auto; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge .tick { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.gauge .tick.major { stroke: rgba(255, 255, 255, .55); stroke-width: 1.4; }
.gauge .tick.hot { stroke: var(--red); }
.gauge .arc { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 26, 69, .9)); }
.gauge .needle { stroke: #fff; stroke-width: 1.5; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(255, 60, 90, 1)); }
.gauge .hub { fill: #1b1b21; stroke: rgba(255, 255, 255, .25); }
.gauge-val { position: absolute; left: 0; right: 0; bottom: 11%; text-align: center; font: italic 600 clamp(19px, 2.2vw, 28px)/1 'Saira', sans-serif; font-variant-numeric: tabular-nums; }
.gauge-all .gauge-val { font-size: clamp(11px, 1.1vw, 14px); bottom: 12%; font-stretch: 100%; }
.gauge-label { position: absolute; left: 0; right: 0; bottom: -3%; text-align: center; font: 400 clamp(7px, .68vw, 9px)/1 'Michroma', sans-serif; letter-spacing: .14em; color: var(--mute); text-transform: uppercase; }

.price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 20px; }
.price b { font: italic 700 clamp(44px, 5vw, 66px)/1 'Saira', sans-serif; font-stretch: 106%; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.price span { color: var(--mute); font-size: 14px; }
.price-s { margin: 12px 0 18px; flex-wrap: wrap; }
.price-s b { font-size: clamp(32px, 3.2vw, 42px); }
.price-s .b-quote { font-size: clamp(26px, 2.6vw, 34px); }

.ticks { display: grid; gap: 9px; margin-bottom: 26px; font-size: 15px; color: #cfd0d7; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ''; position: absolute; left: 1px; top: .5em; width: 11px; height: 5px; background: var(--red); clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%); box-shadow: 0 0 8px var(--red); }
.ticks strong { color: #fff; font-weight: 600; }
.ticks-2 { grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 26px; }
.plan .btn { margin-top: auto; width: 100%; }

/* Tu mes */
.month { margin-top: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(22px, 3.2vw, 44px); border-radius: 32px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); box-shadow: inset 0 0 0 1px var(--line); }
.month h3 { font: italic 600 clamp(26px, 3vw, 40px)/1.05 'Saira', sans-serif; font-stretch: 108%; }
.month-copy p { margin-top: 10px; color: var(--mute); max-width: 42ch; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 22px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.switch button { position: relative; z-index: 1; min-width: 96px; min-height: 40px; padding: 0 16px; font-size: 14px; font-weight: 500; color: var(--mute); transition: color .35s var(--out); }
.switch button[aria-pressed=true] { color: #fff; }
.switch-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(180deg, #ff2d55, var(--red-deep)); box-shadow: 0 4px 18px -4px rgba(255, 26, 69, .9); transition: transform .55s var(--spring); }
.switch.is-prime .switch-thumb { transform: translateX(100%); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 13.5px; color: var(--mute); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.k { width: 12px; height: 12px; border-radius: 4px; }
.k-post { background: #eceef2; }
.k-reel { background: var(--red); box-shadow: 0 0 8px var(--red); }
.k-story { width: 6px; height: 6px; border-radius: 50%; background: var(--hot); margin-inline: 3px; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(4px, .7vw, 8px); }
.day { position: relative; aspect-ratio: 1.12; border-radius: clamp(6px, .9vw, 10px); background: rgba(255, 255, 255, .045); transition: background .5s var(--out), box-shadow .5s var(--out), transform .6s var(--spring); }
.day::after { content: ''; position: absolute; right: 16%; top: 18%; width: 4px; height: 4px; border-radius: 50%; background: var(--hot); opacity: .9; }
.day.post { background: linear-gradient(160deg, #f3f4f7, #b7b9c1); }
.day.post::after { background: var(--red-deep); }
.day.reel { background: linear-gradient(160deg, #ff3d62, var(--red-deep)); box-shadow: 0 0 16px -2px rgba(255, 26, 69, .7); }
.day.reel::after { background: #fff; }
.day.pop { transform: scale(1.06); }

/* Cinta */
.ticker { overflow: hidden; padding-block: 14px; transform: skewY(-1.4deg); background: linear-gradient(90deg, #8d0822, var(--red) 50%, #8d0822); box-shadow: 0 0 60px -6px rgba(255, 26, 69, .6); margin-block: 8px; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker span { display: inline-flex; align-items: center; font: italic 700 clamp(22px, 3vw, 38px)/1 'Saira', sans-serif; font-stretch: 118%; text-transform: uppercase; padding-inline: clamp(18px, 2.6vw, 36px); color: #fff; }
.ticker span::after { content: ''; width: 34px; height: 12px; margin-left: clamp(36px, 5.2vw, 72px); background: #fff; clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); opacity: .85; }

/* ── Web ── */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.split-rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split h2 { font-size: clamp(33px, 4vw, 56px); }
.split .btn { margin-top: 20px; }
.rows { border-top: 1px solid var(--line); }
.row { display: block; width: 100%; text-align: left; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.row-name { font: italic 600 clamp(19px, 1.9vw, 25px)/1.15 'Saira', sans-serif; font-stretch: 106%; color: var(--mute); transition: color .4s var(--out), transform .55s var(--spring); }
.row-price { font: italic 600 clamp(18px, 1.7vw, 22px)/1 'Saira', sans-serif; font-variant-numeric: tabular-nums; color: var(--text); }
.row-quote { color: var(--mute); }
.row-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--spring); }
.row-body > span { overflow: hidden; min-height: 0; font-size: 14px; color: var(--mute); }
.row.is-on .row-name { color: #fff; transform: translateX(6px); }
.row.is-on .row-body { grid-template-rows: 1fr; }
.row.is-on .row-body > span { padding-top: 8px; }
.row:hover .row-name { color: #fff; }

.browser-stage { perspective: 1400px; }
.browser { position: relative; aspect-ratio: 1.22; border-radius: 18px; padding: 42px 0 0; background: linear-gradient(180deg, #17171d, #0b0b0f); box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 110px -50px rgba(255, 26, 69, .55), 0 40px 80px -40px #000; transform: rotateY(-9deg) rotateX(4deg); transform-style: preserve-3d; will-change: transform; overflow: hidden; }
.browser-bar { position: absolute; inset: 0 0 auto; height: 42px; display: flex; align-items: center; gap: 6px; padding-inline: 16px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .17); }
.browser-bar i:first-child { background: var(--red); box-shadow: 0 0 8px var(--red); }
.browser-bar span { margin-inline: auto; padding: 4px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 11px; color: var(--mute); }
.wf { position: absolute; inset: 42px 0 0; padding: 5%; display: flex; flex-direction: column; gap: 3%; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s var(--out), transform .8s var(--spring); pointer-events: none; }
.wf.is-on { opacity: 1; transform: none; }
.wf b { display: block; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.wf-hero { flex: 1.5; background: linear-gradient(120deg, rgba(255, 26, 69, .6), rgba(255, 26, 69, .08) 60%, rgba(255, 255, 255, .06)) !important; }
.wf-short { flex: 1; }
.wf-line { height: 9px; flex: none; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w80 { width: 80%; }
.wf-cta { height: 28px; width: 130px; flex: none; border-radius: 99px !important; background: var(--red) !important; box-shadow: 0 0 22px -3px var(--red); }
.wf-wide { width: 100%; }
.wf-3, .wf-top, .wf-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wf-3 { flex: .7; }
.wf-form { height: 34px; flex: none; }
.wf-top { grid-template-columns: 1fr 1fr 1fr .5fr; flex: none; }
.wf-top b { height: 12px; }
.wf-cart { background: var(--red) !important; }
.wf-blog { flex: 1.4; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wf-blog > div { display: flex; flex-direction: column; gap: 8px; }
.wf-blog > div > b:first-child { flex: 1; }
.wf-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wf-grid b:nth-child(2) { background: rgba(255, 26, 69, .4); }
.wf-custom { flex-direction: row; gap: 3%; }
.wf-side { width: 22%; display: flex; flex-direction: column; gap: 10px; }
.wf-side b { height: 14px; }
.wf-side b:first-child { background: var(--red); }
.wf-panel { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.wf-kpi b { height: 54px; }
.wf-panel svg { flex: 1; width: 100%; min-height: 0; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.wf-panel path { fill: none; stroke: var(--red); stroke-width: 2.5; vector-effect: non-scaling-stroke; }

/* ── Bots ── */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(30px, 4vw, 52px); }
.flow::before, .flow::after { content: ''; position: absolute; top: 10px; left: 0; right: 0; height: 1px; }
.flow::before { background: rgba(255, 255, 255, .13); }
.flow::after { height: 2px; top: 9px; background: linear-gradient(90deg, transparent, var(--red), #ffd3dc, var(--red), transparent); background-size: 28% 100%; background-repeat: no-repeat; animation: run 3.6s cubic-bezier(.6, .1, .3, .9) infinite; box-shadow: 0 0 10px rgba(255, 26, 69, .5); }
@keyframes run { from { background-position: -30% 0; } to { background-position: 130% 0; } }
.flow li { position: relative; padding: 34px 16px 0 0; }
.flow li::before { content: ''; position: absolute; top: 3px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--black); box-shadow: inset 0 0 0 2px var(--red), 0 0 14px rgba(255, 26, 69, .8); z-index: 1; }
.flow span { display: block; font: italic 600 clamp(19px, 2vw, 26px)/1.1 'Saira', sans-serif; font-stretch: 106%; }
.flow small { display: block; margin-top: 5px; color: var(--mute); font-size: 14px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini { --mx: 50%; --my: 0%; display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 30px); border-radius: 26px; background: radial-gradient(320px 260px at var(--mx) var(--my), rgba(255, 255, 255, .06), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--ink)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08); }
.mini-top { box-shadow: inset 0 0 0 1px rgba(255, 26, 69, .5), inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 70px -40px var(--red); }
.mini h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: italic 600 clamp(20px, 1.9vw, 25px)/1.15 'Saira', sans-serif; font-stretch: 106%; }
.mini .ticks { font-size: 14px; margin-bottom: 20px; }
.link { margin-top: auto; align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; padding-block: 8px; font-weight: 500; font-size: 15px; color: #ff8ca2; }
.link i { font-style: normal; transition: transform .5s var(--spring); }
.link:hover i { transform: translate(3px, -3px); }

/* ── Apps ── */
.phone-stage { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1200px; }
.phone { position: relative; z-index: 1; width: min(270px, 62vw); aspect-ratio: .49; padding: 8px; border-radius: 46px; background: linear-gradient(145deg, #5a5b62, #1b1b20 30%, #111115 70%, #4a4b52); box-shadow: 0 60px 120px -40px rgba(255, 26, 69, .6), 0 0 0 1px rgba(255, 255, 255, .1); will-change: transform; }
.phone-screen { position: relative; height: 100%; padding: 46px 14px 14px; border-radius: 38px; background: radial-gradient(120% 60% at 50% 110%, rgba(255, 26, 69, .34), transparent), #070709; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.phone-island { position: absolute; top: 11px; left: 50%; width: 74px; height: 21px; margin-left: -37px; border-radius: 99px; background: #000; }
.ph-head { display: flex; align-items: center; justify-content: space-between; }
.ph-head img { width: 26px; height: auto; }
.ph-head b { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.phone b { display: block; border-radius: 6px; background: rgba(255, 255, 255, .13); }
.ph-card { position: relative; padding: 14px; height: 112px; border-radius: 18px; background: linear-gradient(130deg, #ff2d55, #7a0620); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.ph-card b { background: rgba(255, 255, 255, .6) !important; }
.ph-card > i { position: absolute; right: -24px; bottom: -40px; width: 90px; height: 120px; background: rgba(255, 255, 255, .13); transform: skewX(-38deg); }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-row b { height: 74px; border-radius: 14px; }
.ph-list { display: grid; gap: 9px; }
.ph-list p { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.ph-list i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 26, 69, .5); }
.ph-list b { flex: 1; height: 8px; }
.ph-tab { margin-top: auto; display: flex; justify-content: space-around; padding: 11px; border-radius: 18px; background: rgba(255, 255, 255, .07); }
.ph-tab i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255, 255, 255, .22); }
.ph-tab .on { background: var(--red); box-shadow: 0 0 10px var(--red); }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 26, 69, .32); transform: translate(-50%, -50%); }
.r1 { width: min(440px, 88vw); aspect-ratio: 1; }
.r2 { width: min(560px, 110vw); aspect-ratio: 1; border-color: rgba(255, 255, 255, .07); }
.apps-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.apps-foot .price { margin: 0; }
.apps-foot .btn { margin-top: 0; }

/* ── Vende en automático: tarjeta chica ── */
.section-auto { padding-block: clamp(16px, 3vw, 40px); }
.auto { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 3.2vw, 42px); border-radius: 32px; background: linear-gradient(105deg, rgba(255, 26, 69, .17), rgba(255, 255, 255, .025) 58%); box-shadow: inset 0 0 0 1px rgba(255, 26, 69, .28); }
.auto .tag { margin-bottom: 12px; }
.auto h3 { font: italic 600 clamp(24px, 2.6vw, 36px)/1.1 'Saira', sans-serif; font-stretch: 106%; max-width: 21ch; }
.auto-copy > p:last-child { margin-top: 10px; color: var(--mute); max-width: 58ch; font-size: 15px; }
.auto-buy { flex: none; display: flex; flex-direction: column; align-items: flex-start; }
.auto-buy .price { margin: 0; }
.auto-buy .price b { font-size: clamp(36px, 3.6vw, 48px); }
.auto-notes { margin: 8px 0 14px; font-size: 13px; color: var(--mute); }

/* ── Por qué ── */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.why li { border-top: 1px solid var(--line-2); padding-top: 16px; }
.why span { font: 400 10.5px/1 'Michroma', sans-serif; letter-spacing: .2em; color: var(--red); }
.why h3 { margin-top: 16px; font: italic 600 clamp(19px, 1.7vw, 23px)/1.18 'Saira', sans-serif; font-stretch: 104%; }
.why p { margin-top: 10px; color: var(--mute); font-size: 15px; }

/* ── Dudas ── */
.section-faq { padding-top: 0; }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 72px); }
.faq h2 { font-size: clamp(32px, 4.3vw, 58px); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 60px; padding-block: 14px; cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary i { position: relative; flex: none; width: 14px; height: 14px; }
summary i::before, summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: var(--red); transition: transform .5s var(--spring); }
summary i::after { transform: rotate(90deg); }
details[open] summary i::after { transform: rotate(0); }
details > div { padding-bottom: 18px; color: var(--mute); max-width: 62ch; }

/* ── Cierre ── */
.final { position: relative; overflow: clip; padding-block: clamp(90px, 13vw, 180px); text-align: center; background: radial-gradient(70% 58% at 50% 108%, rgba(255, 26, 69, .28), transparent 70%); }
.final-in { display: flex; flex-direction: column; align-items: center; }
.final-logo { width: clamp(120px, 15vw, 190px); height: auto; margin-bottom: clamp(26px, 3vw, 38px); }
.final h2 { font-size: clamp(38px, 7vw, 96px); }
.final .lead { margin-bottom: 30px; }
.foot { border-top: 1px solid var(--line); padding-block: 30px calc(30px + var(--safe-b)); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.hero-mark-s strong { font-size: 15px; }
.hero-mark-s span { font-size: 10px; margin-top: 6px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; color: var(--mute); }
.foot nav a:hover { color: var(--text); }
.foot small { color: var(--dim); font-size: 13px; }
.install { padding: 9px 16px; border-radius: 999px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ── Versión app: barra inferior ── */
.dock { display: none; position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); padding: 5px; border-radius: 24px; background: rgba(16, 16, 20, .74); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .1), 0 20px 50px -14px #000; transition: transform .6s var(--spring), opacity .4s var(--out); }
.dock a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 19px; font-size: 10.5px; font-weight: 500; color: var(--mute); transition: color .3s var(--out), background .3s var(--out); }
.dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.dock a.is-on { color: #fff; background: rgba(255, 26, 69, .2); box-shadow: inset 0 0 0 1px rgba(255, 26, 69, .4); }
.dock a.is-on svg { color: #ff5f7e; }
.dock.is-hidden { transform: translateY(130%); opacity: 0; }

.sheet { position: fixed; inset: 0; z-index: 45; display: flex; align-items: flex-end; background: rgba(0, 0, 0, .6); }
.sheet[hidden] { display: none; }
.sheet-card { width: 100%; padding: 12px 22px calc(26px + var(--safe-b)); border-radius: 26px 26px 0 0; background: var(--panel-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.sheet-grip { display: block; width: 40px; height: 4px; margin: 0 auto 18px; border-radius: 9px; background: rgba(255, 255, 255, .25); }
.sheet h3 { font: italic 600 24px/1.1 'Saira', sans-serif; }
.sheet ol { margin: 14px 0 20px; list-style: decimal inside; color: var(--mute); display: grid; gap: 6px; }
.sheet b { color: var(--text); font-weight: 500; }
.sheet .btn { width: 100%; justify-content: center; padding-inline: 24px; }

/* Estado inicial de las animaciones (solo si cargó el motor) */
.anim [data-intro] { opacity: 0; }
.anim .hero-rule { transform: scaleX(0); }
.anim .hero-title .ch { opacity: 0; }

/* ── Tableta ── */
@media (max-width: 1040px) {
  .why { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: 1fr; }
  .mini .ticks { grid-template-columns: 1fr 1fr; }
  .split, .split-rev { grid-template-columns: 1fr; }
  .phone-stage { min-height: 520px; order: 2; }
  .browser { transform: none; }
  .faq { grid-template-columns: 1fr; }
  .month { grid-template-columns: 1fr; }
}

/* ── Celular: se comporta como app ── */
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .dock { display: flex; }
  .nav { top: calc(10px + var(--safe-t)); left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .nav-links { display: none; }
  .brand { padding-block: 4px; }
  .nav-cta { min-height: 38px; display: inline-flex; align-items: center; }

  .hero-wrap { height: 180vh; height: 180svh; }
  .hero { min-height: 520px; }
  .hero-ui { padding-top: calc(82px + var(--safe-t)); padding-bottom: calc(92px + var(--safe-b)); }
  .hero-pre { letter-spacing: .38em; margin-right: -.38em; font-size: 10.5px; }
  .hero-title { font-size: clamp(16px, 5.4vw, 26px); letter-spacing: .2em; margin-right: -.2em; }
  .hero-bottom { grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; }
  .hero-mark { order: 0; }
  .hero-copy { order: 1; font-size: 14.5px; }
  .hero-actions { order: 2; justify-self: center; align-items: center; }
  .hero-actions .btn { min-height: 50px; }

  .plans { grid-template-columns: 1fr; }
  .plan { border-radius: 28px; }
  .plan-in { border-radius: 22px; }
  .gauge-label { font-size: 8px; letter-spacing: .08em; }
  .gauge-val { font-size: 24px; }
  .gauge-all .gauge-val { font-size: 13px; }
  .month, .auto { border-radius: 26px; }
  .switch { display: grid; }
  .auto { flex-direction: column; align-items: stretch; }
  .auto-buy .btn { width: 100%; }
  .btn { width: 100%; }
  .btn-lg { white-space: normal; }
  .ticks-2 { grid-template-columns: 1fr; }
  .mini .ticks { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .why li { padding-bottom: 6px; }
  .browser { aspect-ratio: 1.08; }
  .wf-kpi b { height: 34px; }

  /* El recorrido de las burbujas pasa a vertical */
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow::before { top: 10px; bottom: 30px; left: 7px; right: auto; width: 1px; height: auto; }
  .flow::after { display: none; }
  .flow li { padding: 0 0 0 32px; }

  .phone-stage { min-height: 500px; overflow: hidden; }
  .beam { width: 100vw; opacity: .55; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .ticker { padding-block: 10px; }
}

/* ── Versión ligera (teléfonos y tabletas): mismo arte, sin 3D ni efectos ligados al scroll ── */
.hero-lines, .hero-stage { display: none; }
.lite { scroll-behavior: auto; }
.lite #scene, .lite .hero-static, .lite .hero-shade, .lite .grain, .lite .lamp { display: none; }
.lite .hero-wrap { height: auto; }
.lite .hero { position: relative; }

.lite .hero-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-lines path { fill: none; stroke-linecap: round; }
.hero-lines .glow { stroke: var(--red); stroke-width: 9; opacity: .13; }
.hero-lines .core { stroke: #ff5f7e; stroke-width: 1.1; opacity: .85; }

.lite .hero-stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-logo { width: min(60vw, 34svh, 400px); height: auto; }
.hero-flare { position: relative; flex: none; width: 100vw; height: 2px; margin-top: 14px; background: linear-gradient(90deg, transparent, var(--red) 22%, #ffd3dc 50%, var(--red) 78%, transparent); }
.hero-flare::after { content: ''; position: absolute; left: 0; right: 0; top: -60px; height: 122px; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 26, 69, .34), transparent); }
.hero-reflect { flex: none; height: clamp(18px, 6svh, 56px); overflow: hidden; opacity: .13; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.hero-reflect img { width: min(60vw, 34svh, 400px); height: auto; transform: scaleY(-1); }

/* Animaciones ligeras: arrancan ya cargada la página y solo después del primer cuarto.
   Solo mueven transform y opacity; ninguna depende del scroll, así que no lo traban. */
.lite .rv { opacity: 0; transform: translateY(18px); }
.lite .final-logo.rv { transform: scale(.9); }
.lite .flow.rv li { opacity: 0; transform: translateX(-12px); }
.lite .flow.in li { opacity: 1; transform: none; transition: opacity .5s var(--out), transform .6s var(--out); }
.lite .flow.in li:nth-child(2) { transition-delay: .12s; }
.lite .flow.in li:nth-child(3) { transition-delay: .24s; }
.lite .flow.in li:nth-child(4) { transition-delay: .36s; }
.lite .rv.in { opacity: 1; transform: none; transition: opacity .55s var(--out), transform .7s var(--out); }

.lite .ticker { contain: paint; }
.lite .ticker-track { animation: tick 22s linear infinite paused; will-change: transform; }
.lite .ticker-track.on { animation-play-state: running; }
@keyframes tick { to { transform: translate3d(-50%, 0, 0); } }

.lite .phone { animation: float 5.5s cubic-bezier(.45, 0, .55, 1) infinite alternate paused; }
.lite .phone.on { animation-play-state: running; }
@keyframes float { from { transform: translate3d(0, 8px, 0); } to { transform: translate3d(0, -8px, 0); } }

/* Barrido de luz una sola vez sobre la tarjeta de Vende en Automático */
.lite .auto { position: relative; overflow: hidden; }
.lite .auto::after { content: ''; position: absolute; inset: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .09), transparent); transform: translate3d(-120%, 0, 0) skewX(-20deg); pointer-events: none; }
.lite .auto.in::after { transition: transform 1.3s var(--out) .25s; transform: translate3d(340%, 0, 0) skewX(-20deg); }

/* Vidrio, sombras grandes y brillos animados son lo que más cuesta al hacer scroll en iPhone */
.lite .nav, .lite .dock { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 14, 18, .96); box-shadow: inset 0 0 0 1px var(--line-2); }
.lite .nav-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28); }
.lite .btn { will-change: auto; }
.lite .btn-red { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.lite .plan-top { box-shadow: inset 0 0 0 1px rgba(255, 26, 69, .6); }
.lite .plan-top::before { display: none; }
.lite .gauge .arc, .lite .gauge .needle { filter: none; }
.lite .ticks li::before, .lite .k-reel, .lite .day.reel, .lite .switch-thumb, .lite .ph-tab .on, .lite .wf-cta, .lite .flow li::before, .lite .mini-top { box-shadow: none; }
.lite .flow li::before { box-shadow: inset 0 0 0 2px var(--red); }
.lite .mini-top { box-shadow: inset 0 0 0 1px rgba(255, 26, 69, .5); }
.lite .flow::after { display: none; }
.lite .ticker { box-shadow: none; }
.lite .browser { will-change: auto; transform: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.lite .phone { will-change: auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.lite .hero-title { text-shadow: none; }
.lite .hero-rule { box-shadow: none; }
.lite .hero-mark b { text-shadow: none; }

/* App instalada: sin márgenes de navegador */
@media (display-mode: standalone) {
  html { overscroll-behavior-y: none; }
  .install { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
