/* VEKTRA — landing nueva (maqueta local). Estilo cartel impreso.
   Los colores viven en :root: cambiar la marca es cambiar estas variables. */

@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url(/fuentes/anton-latin.woff2) format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 200 800; font-display: swap; src: url(/fuentes/bricolage-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 300 700; font-display: swap; src: url(/fuentes/inter-latin.woff2) format('woff2'); }

@property --pt { syntax: '<length>'; inherits: false; initial-value: 2.6px; }

:root {
  --am: #FFD400;
  --ne: #111111;
  --pa: #F4EFE4;
  --bl: #FFFFFF;
  --az: #1F3BFF;
  --gr: #5d5a52;
  --cartel: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --voz: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --lec: 'Inter', system-ui, sans-serif;
  --tr: 3px;
  --so: 7px;
  --ra: 22px;
  --an: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pa); color: var(--ne); font-family: var(--lec); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--az); outline-offset: 3px; }

.wrap { width: min(var(--an), 100% - 32px); margin-inline: auto; }
.angosto { width: min(780px, 100% - 32px); margin-inline: auto; }

/* ---------- Secciones y modos ---------- */
.sec { position: relative; padding: clamp(64px, 9vw, 120px) 0; border-top: var(--tr) solid var(--ne); }
.sec.am { background: var(--am); }
.sec.pa { background: var(--pa); }
.sec.bl { background: var(--bl); }
.sec.ne { background: var(--ne); color: var(--bl); }
.sec.az { background: var(--az); color: var(--bl); }
/* grano de papel hecho con CSS, sin imagen */
.sec.pa::before, .grano::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sec > * { position: relative; }

/* ---------- Tipografía ---------- */
.eti { display: inline-block; font-family: var(--voz); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border: 2px solid currentColor; border-radius: 99px; background: var(--bl); color: var(--ne); }
.cartel { font-family: var(--cartel); font-weight: 400; text-transform: uppercase; line-height: .98; letter-spacing: .005em; font-size: clamp(44px, 7.4vw, 104px); }
.cartel.xl { font-size: clamp(54px, 10vw, 148px); }
.cartel.md { font-size: clamp(38px, 5.4vw, 76px); }
.cartel .res { background: var(--ne); color: var(--am); padding: 0 .12em; display: inline-block; }
.am .cartel .res { color: var(--am); }
.h2 { font-family: var(--voz); font-weight: 800; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; }
.h2.ancho { max-width: 26ch; }
.h3 { font-family: var(--voz); font-weight: 800; font-size: clamp(20px, 2vw, 25px); line-height: 1.15; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; }
.sub { font-family: var(--voz); font-weight: 600; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.3; max-width: 46ch; }
.chico { font-size: 14px; color: var(--gr); }
.ne .chico, .az .chico { color: #cfcfcf; }
.centro { text-align: center; margin-inline: auto; }
.cab { display: grid; justify-items: start; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.cab.centro { justify-items: center; }

/* ---------- Botón único ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--voz); font-weight: 800; font-size: 16px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; padding: 16px 26px; background: var(--am); color: var(--ne); border: var(--tr) solid var(--ne); border-radius: 14px; box-shadow: var(--so) var(--so) 0 var(--ne); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--ne); }
.btn:active { transform: translate(var(--so), var(--so)); box-shadow: 0 0 0 var(--ne); }
.am .btn, .btn.neg { background: var(--ne); color: var(--bl); box-shadow: var(--so) var(--so) 0 var(--bl); border-color: var(--ne); }
.am .btn { box-shadow: var(--so) var(--so) 0 rgba(0,0,0,.28); }
.am .btn:hover { box-shadow: 3px 3px 0 rgba(0,0,0,.28); }
.ne .btn, .az .btn { border-color: var(--bl); box-shadow: var(--so) var(--so) 0 var(--bl); }
.btn.ch { padding: 10px 16px; font-size: 13px; border-radius: 99px; box-shadow: 4px 4px 0 var(--ne); }
.btn.ch:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ne); }
.enl { font-family: var(--voz); font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--am); padding-bottom: 1px; }
.enl::after { content: ' ›'; }
.tarjeta > .enl { margin-top: auto; }
.enl:hover { background: var(--am); }
.am .enl { border-color: var(--ne); }
.am .enl:hover { background: var(--ne); color: var(--am); }
.confianza { font-family: var(--voz); font-weight: 600; font-size: 14px; }

/* ---------- Marcos ---------- */
.marco { background: var(--bl); color: var(--ne); border: var(--tr) solid var(--ne); border-radius: var(--ra); box-shadow: var(--so) var(--so) 0 var(--ne); }
.ne .marco, .az .marco { box-shadow: var(--so) var(--so) 0 var(--am); }
.tarjeta { display: grid; gap: 12px; padding: 22px; align-content: start; text-decoration: none; }
a.tarjeta { transition: transform .12s, box-shadow .12s; }
a.tarjeta:hover { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--ne); }
.tarjeta > .pil, .tarjeta > .enl, .tarjeta > .eti { justify-self: start; }
.tarjeta .flecha { font-family: var(--voz); font-weight: 800; font-size: 22px; justify-self: end; }
.pil { display: inline-flex; align-items: center; gap: 6px; font-family: var(--voz); font-weight: 700; font-size: 12px; padding: 4px 11px; border: 2px solid var(--ne); border-radius: 99px; background: var(--bl); color: var(--ne); white-space: nowrap; }

/* ---------- Sello tipo estrella ---------- */
.sello { position: relative; display: grid; place-items: center; width: 132px; aspect-ratio: 1; transform: rotate(-11deg); flex: none; }
.sello svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sello span { position: relative; font-family: var(--cartel); font-size: 23px; line-height: 1; text-transform: uppercase; text-align: center; color: var(--ne); max-width: 80%; }
.sello.neg span { color: var(--am); }
.sello.gr { width: 164px; }
.sello.gr span { font-size: 29px; }

/* ---------- Huecos de video (figura de representación) ---------- */
.hueco { position: relative; display: grid; overflow: hidden; background: #fbf8f1; }
.hueco.v { aspect-ratio: 1200 / 2128; }
.hueco.h { aspect-ratio: 1640 / 1120; }
.hueco.p { aspect-ratio: 16 / 9; }
.hueco.c { aspect-ratio: 16 / 10; }
.hueco .esq { position: absolute; inset: 0; padding: 9% 9% 26%; display: grid; gap: 4%; align-content: start; opacity: .9; }
.hueco.h .esq, .hueco.p .esq, .hueco.c .esq { padding: 6% 6% 20%; }
.hueco .inf { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--am); border-top: var(--tr) solid var(--ne); font-family: var(--voz); font-weight: 700; font-size: 12.5px; line-height: 1.2; }
.hueco .inf b { font-family: var(--cartel); font-weight: 400; font-size: 20px; letter-spacing: .02em; }
.hueco .inf i { font-style: normal; margin-left: auto; text-align: right; opacity: .75; font-weight: 600; }
.hueco .play { position: absolute; top: 44%; left: 50%; width: clamp(48px, 20%, 76px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ne); display: grid; place-items: center; box-shadow: 4px 4px 0 var(--am); }
.hueco.h .play, .hueco.p .play, .hueco.c .play { width: clamp(48px, 10%, 76px); top: 42%; }
.hueco .play::after { content: ''; border-left: 18px solid var(--am); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.hueco.cap .play { display: none; }
/* esqueleto: chat */
.esq .cabz { display: flex; align-items: center; gap: 8%; }
.esq .av { width: 15%; aspect-ratio: 1; border-radius: 50%; background: #d9d3c4; border: 2px solid var(--ne); flex: none; }
.esq .ln { height: 9px; border-radius: 9px; background: #d9d3c4; flex: 1; }
.esq .ln.c { flex: none; width: 45%; }
.esq .bu { height: 0; padding-top: 13%; width: 68%; border-radius: 14px; border: 2px solid var(--ne); background: var(--bl); }
.esq .bu.d { justify-self: end; background: var(--ne); width: 74%; }
.esq .bu.f { padding-top: 46%; background: repeating-linear-gradient(45deg, #e9e3d3 0 9px, #f6f2e7 9px 18px); width: 58%; justify-self: end; }
.esq .bu.b { padding-top: 10%; width: 40%; justify-self: end; background: var(--am); }
/* esqueleto: panel */
.esq.pn { grid-template-columns: 17% 1fr; gap: 4%; align-content: stretch; }
.esq .lat { display: grid; gap: 9%; align-content: start; border-right: 2px solid var(--ne); padding-right: 16%; }
.esq .lat span { height: 9px; border-radius: 9px; background: #d9d3c4; }
.esq .lat span:first-child { background: var(--ne); }
.esq .cu { display: grid; gap: 5%; align-content: start; }
.esq .fi { display: flex; gap: 4%; align-items: center; padding: 3% 4%; border: 2px solid var(--ne); border-radius: 10px; background: var(--bl); }
.esq .fi::after { content: ''; width: 16%; height: 12px; border-radius: 9px; background: var(--am); border: 2px solid var(--ne); flex: none; }
.esq .fi:nth-child(2)::after { background: var(--ne); }
/* esqueleto: partido chat + panel */
.esq.pt { grid-template-columns: 34% 1fr; gap: 5%; align-content: stretch; }
.esq.pt .tel { border: 2px solid var(--ne); border-radius: 16px; padding: 10% 9%; display: grid; gap: 6%; align-content: start; background: var(--bl); }
.esq.pt .tel .bu { padding-top: 16%; }
.esq.pt .tel .bu.f { padding-top: 42%; }

/* ---------- Foto en semitono pendiente ---------- */
.semi { position: relative; overflow: hidden; background: transparent; border-radius: var(--ra); }
.semi::before { content: ''; position: absolute; inset: -4%; --pt: 2.6px;
  background-image: radial-gradient(circle at center, var(--ne) var(--pt), transparent calc(var(--pt) + .6px));
  background-size: 11px 11px;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 58% 46%, #000 12%, rgba(0,0,0,.55) 46%, transparent 78%);
          mask-image: radial-gradient(ellipse 62% 58% at 58% 46%, #000 12%, rgba(0,0,0,.55) 46%, transparent 78%);
}
.semi .falta { position: absolute; left: 12px; bottom: 10px; }
.falta { font-family: var(--lec); font-size: 11px; font-weight: 600; letter-spacing: .01em; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.85); border: 1px dashed var(--ne); color: var(--ne); }
.semi.r45 { aspect-ratio: 4 / 5; }
.semi.r169 { aspect-ratio: 16 / 9; }
.fondo-semi { position: absolute !important; inset: 0; border-radius: 0; opacity: .2; }
.fondo-semi::before { -webkit-mask-image: linear-gradient(100deg, transparent 45%, #000 85%); mask-image: linear-gradient(100deg, transparent 45%, #000 85%); }
.fondo-semi .falta { left: auto; right: 14px; bottom: 12px; }

/* ---------- Menú ---------- */
.menu { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1120px, 100% - 24px); display: flex; align-items: center; gap: 6px; padding: 8px 10px 8px 12px; background: var(--bl); border: var(--tr) solid var(--ne); border-radius: 99px; box-shadow: 5px 5px 0 var(--ne); font-family: var(--voz); font-weight: 700; font-size: 14.5px; }
.menu .logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; font-family: var(--cartel); font-size: 23px; letter-spacing: .04em; }
.menu .logo img { width: 34px; height: 34px; border-radius: 9px; }
.menu nav { display: flex; align-items: center; gap: 2px; }
.menu nav > a, .menu summary { text-decoration: none; padding: 8px 11px; border-radius: 99px; cursor: pointer; list-style: none; white-space: nowrap; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav > a:hover, .menu summary:hover, .menu nav > a.act { background: var(--am); }
.menu details { position: relative; }
.menu details ul { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); min-width: 240px; padding: 8px; background: var(--bl); border: var(--tr) solid var(--ne); border-radius: 18px; box-shadow: 5px 5px 0 var(--ne); display: grid; gap: 2px; }
.menu details ul a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; text-decoration: none; white-space: nowrap; }
.menu details ul .ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 2px solid var(--ne); border-radius: 10px; background: var(--am); font-family: var(--cartel); font-weight: 400; font-size: 14px; }
.menu details ul .todo { border-top: 2px solid var(--ne); margin-top: 6px; padding-top: 6px; }
.menu details ul a:hover { background: var(--am); }
.menu .ham { display: none; width: 42px; height: 42px; border: var(--tr) solid var(--ne); border-radius: 50%; background: var(--am); cursor: pointer; padding: 0; position: relative; }
.menu .ham::before, .menu .ham::after { content: ''; position: absolute; left: 10px; right: 10px; height: 3px; background: var(--ne); border-radius: 3px; transition: transform .2s, top .2s; }
.menu .ham::before { top: 13px; } .menu .ham::after { top: 21px; }
.menu.ab .ham::before { top: 17px; transform: rotate(45deg); } .menu.ab .ham::after { top: 17px; transform: rotate(-45deg); }

.barra-movil { display: none; }

/* ---------- Píldoras de subpágina ---------- */
.pildoras { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; scrollbar-width: none; margin-bottom: 26px; }
.pildoras::-webkit-scrollbar { display: none; }
.pildoras a { flex: none; font-family: var(--voz); font-weight: 700; font-size: 14px; text-decoration: none; padding: 8px 16px; border: var(--tr) solid var(--ne); border-radius: 99px; background: var(--bl); color: var(--ne); }
.pildoras a:hover { background: var(--pa); }
.pildoras a.act { background: var(--am); box-shadow: 3px 3px 0 var(--ne); }
.am .pildoras a.act { background: var(--ne); color: var(--am); }

/* ---------- Portada ---------- */
.portada { padding-top: clamp(118px, 13vw, 168px); border-top: 0; }
.portada .g { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.portada .txt { display: grid; gap: 22px; justify-items: start; }
.portada h1 { font-size: clamp(40px, 5vw, 76px); }
.portada .vis { position: relative; }
.portada .vis .sello { position: absolute; top: -46px; right: -22px; z-index: 2; }

/* subportada */
.subport { padding-top: clamp(104px, 11vw, 140px); border-top: 0; }
.subport .txt { display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(30px, 4vw, 48px); }
.subport h1 { font-size: clamp(38px, 5.6vw, 82px); max-width: 24ch; }
.subport.dos h1 { font-size: clamp(38px, 5vw, 72px); }
.subport.dos .g { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.subport.dos .txt { margin-bottom: 0; }
.subport.dos .hueco { max-width: 330px; justify-self: center; width: 100%; }

/* ---------- La razón ---------- */
.razon .g { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.razon .txt { display: grid; gap: 22px; }
.razon .fondo-semi { opacity: .16; }
.reloj { padding: 22px; display: grid; gap: 14px; justify-items: start; }
.horas { display: grid; gap: 10px; width: 100%; }
.horas div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border: var(--tr) solid var(--ne); border-radius: 14px; background: var(--pa); }
.horas span { font-family: var(--voz); font-weight: 700; font-size: 15px; line-height: 1.2; }
.horas b { font-family: var(--cartel); font-weight: 400; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; white-space: nowrap; }
.horas .mal b { text-decoration: line-through; text-decoration-thickness: 4px; opacity: .45; }
.horas .bien { background: var(--am); }
.dato { margin-top: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(22px, 3vw, 36px) clamp(22px, 3.4vw, 44px); background: var(--ne); color: var(--bl); }
.dato .num { font-family: var(--cartel); font-size: clamp(54px, 7.6vw, 112px); line-height: 1; text-transform: uppercase; color: var(--am); white-space: nowrap; }
.dato p { font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; }
.dato .chico { font-size: 13px; color: #bdbdbd; margin-top: 8px; }

/* ---------- Baraja de ejemplos ---------- */
.baraja { position: relative; height: 620px; margin-top: 8px; }
.baraja .carta { position: absolute; top: 14px; left: 50%; width: 270px; margin-left: -135px; transition: transform .65s cubic-bezier(.3, 1.15, .4, 1), opacity .45s, filter .45s; will-change: transform; }
.baraja .carta[data-pos="0"] { transform: none; z-index: 5; }
.baraja .carta[data-pos="1"] { transform: translateX(78%) translateY(26px) scale(.86) rotate(5deg); z-index: 4; }
.baraja .carta[data-pos="-1"] { transform: translateX(-78%) translateY(26px) scale(.86) rotate(-5deg); z-index: 4; }
.baraja .carta[data-pos="2"] { transform: translateX(146%) translateY(64px) scale(.72) rotate(10deg); z-index: 3; opacity: .75; }
.baraja .carta[data-pos="-2"] { transform: translateX(-146%) translateY(64px) scale(.72) rotate(-10deg); z-index: 3; opacity: .75; }
.baraja .carta:not([data-pos="0"]) .enl { visibility: hidden; }
.baraja .carta.salto { transition: none; }
.baraja-ctl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.baraja-ctl button { width: 48px; height: 48px; border-radius: 50%; border: var(--tr) solid var(--ne); background: var(--am); font-family: var(--voz); font-weight: 800; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 4px 4px 0 var(--ne); transition: transform .12s, box-shadow .12s; }
.baraja-ctl button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ne); }
.puntos { display: flex; gap: 8px; }
.puntos i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ne); background: var(--bl); transition: background .2s, width .2s; }
.puntos i.act { background: var(--ne); width: 30px; border-radius: 99px; }

/* ---------- Grillas ---------- */
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.g5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.tarjeta .hueco { border-radius: 14px; border: 2px solid var(--ne); }
.pie-sec { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(30px, 4vw, 48px); }
.pie-sec.centro { justify-content: center; }
.control { font-family: var(--voz); font-weight: 700; padding: 12px 18px; border: var(--tr) dashed var(--ne); border-radius: 14px; max-width: 46ch; }

/* ---------- Cómo funciona (fijo al bajar) ---------- */
.como .pista { height: 380vh; }
.como .fijo { position: sticky; top: 0; min-height: 100vh; display: grid; align-items: center; padding: 88px 0 20px; }
.como .g { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.pasos { display: grid; gap: 6px; margin-top: 20px; counter-reset: p; }
.pasos li { counter-increment: p; display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 12px 14px; border: var(--tr) solid transparent; border-radius: 16px; opacity: .45; transition: opacity .25s, background .25s, border-color .25s, box-shadow .25s; cursor: pointer; }
.pasos li::before { content: counter(p); font-family: var(--cartel); font-size: 30px; line-height: 1; width: 46px; height: 46px; display: grid; place-items: center; border: var(--tr) solid var(--ne); border-radius: 50%; background: var(--bl); }
.pasos li p { font-size: 15.5px; display: none; }
.pasos li b { font-family: var(--voz); font-weight: 800; font-size: 19px; display: block; padding-top: 9px; }
.pasos li.act { opacity: 1; background: var(--bl); border-color: var(--ne); box-shadow: 5px 5px 0 var(--ne); }
.pasos li.act::before { background: var(--am); }
.pasos li.act p { display: block; margin-top: 4px; }
.avance { height: 10px; border: 2px solid var(--ne); border-radius: 99px; background: var(--bl); overflow: hidden; margin-top: 14px; }
.avance i { display: block; height: 100%; width: 20%; background: var(--ne); transition: width .3s; }

/* ---------- Bloques alternos de subpágina ---------- */
.bloque { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(34px, 4.5vw, 60px) 0; border-top: 2px dashed rgba(17,17,17,.25); }
.bloque:first-of-type { border-top: 0; padding-top: 0; }
.bloque .txt { display: grid; gap: 14px; justify-items: start; }
.bloque .num { font-family: var(--cartel); font-size: 20px; letter-spacing: .06em; }
.bloque:nth-of-type(even) .vis { order: -1; }
.bloque .vis { display: grid; justify-items: center; }
.bloque .hueco.v { width: min(390px, 100%); }
.bloque .hueco.h, .bloque .hueco.c { width: 100%; }
.lista li { position: relative; padding-left: 22px; margin-top: 8px; }
.lista li::before { content: ''; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; background: var(--am); border: 2px solid var(--ne); border-radius: 3px; }
.destacado { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.4vw, 44px); background: var(--am); }
.destacado .txt { display: grid; gap: 14px; justify-items: start; }
.caja { padding: 16px 18px; border-left: 8px solid var(--ne); background: var(--am); font-family: var(--voz); font-weight: 700; font-size: 17px; line-height: 1.35; border-radius: 0 14px 14px 0; }

/* ---------- Copiloto / Panel resumen ---------- */
.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.duo .txt { display: grid; gap: 18px; justify-items: start; }
.modulos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modulos li { padding: 13px 15px; border: var(--tr) solid var(--ne); border-radius: 16px; background: var(--bl); }
.modulos b { font-family: var(--voz); font-weight: 800; font-size: 17px; display: block; }
.modulos span { font-size: 13.5px; line-height: 1.35; display: block; color: var(--gr); }

/* ---------- Cómo empiezas ---------- */
.linea { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: e; position: relative; }
.linea::before { content: ''; position: absolute; top: 27px; left: 4%; right: 4%; border-top: var(--tr) dashed var(--ne); }
.linea li { counter-increment: e; display: grid; gap: 10px; align-content: start; position: relative; }
.linea li::before { content: counter(e); width: 56px; height: 56px; display: grid; place-items: center; font-family: var(--cartel); font-size: 32px; background: var(--am); border: var(--tr) solid var(--ne); border-radius: 50%; box-shadow: 4px 4px 0 var(--ne); }
.linea b { font-family: var(--voz); font-weight: 800; font-size: 19px; line-height: 1.2; }
.linea p { font-size: 15.5px; }

/* ---------- Planes ---------- */
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); align-items: stretch; }
.plan { padding: 26px 24px; display: grid; gap: 14px; align-content: start; position: relative; }
.plan.pop { background: var(--ne); color: var(--bl); transform: translateY(-14px); box-shadow: var(--so) var(--so) 0 rgba(0,0,0,.3); }
.plan .sello { position: absolute; top: -52px; right: -18px; width: 116px; }
.plan .sello span { font-size: 19px; }
.plan h3 { font-family: var(--cartel); font-size: 34px; text-transform: uppercase; letter-spacing: .02em; }
.plan .antes { font-family: var(--voz); font-weight: 600; text-decoration: line-through; opacity: .6; }
.plan .precio { font-family: var(--cartel); font-size: clamp(40px, 4.6vw, 60px); line-height: 1; }
.plan .precio small { font-family: var(--voz); font-weight: 700; font-size: 14px; }
.plan ul { display: grid; gap: 8px; border-top: 2px solid currentColor; padding-top: 14px; font-size: 15.5px; }
.plan ul b { font-family: var(--voz); font-weight: 800; }
.plan .btn { margin-top: 6px; }
.plan.pop .btn { background: var(--am); color: var(--ne); border-color: var(--am); box-shadow: none; }
.tabla { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 15.5px; }
.tabla th, .tabla td { padding: 14px 16px; text-align: left; border-bottom: 2px solid var(--ne); vertical-align: top; }
.tabla tr:last-child td, .tabla tr:last-child th { border-bottom: 0; }
.tabla thead th { font-family: var(--cartel); font-weight: 400; font-size: 22px; text-transform: uppercase; background: var(--am); letter-spacing: .02em; }
.tabla tbody th { font-family: var(--voz); font-weight: 700; width: 30%; }
.tabla td.pop, .tabla th.pop { background: color-mix(in srgb, var(--am) 28%, white); }
.tabla thead th.pop { background: var(--ne); color: var(--am); }
.tabla-caja { overflow-x: auto; padding: 0; }
.letra { display: grid; gap: 10px; }
.letra li { padding-left: 22px; position: relative; }
.letra li::before { content: '•'; position: absolute; left: 4px; font-weight: 800; }

/* ---------- Preguntas ---------- */
.faq { border: var(--tr) solid var(--ne); border-radius: 18px; background: var(--bl); margin-top: 12px; overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; cursor: pointer; font-family: var(--voz); font-weight: 800; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--voz); font-weight: 800; font-size: 24px; line-height: 1; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--ne); border-radius: 50%; flex: none; transition: transform .2s, background .2s; }
.faq[open] summary::after { transform: rotate(45deg); background: var(--am); }
.faq[open] { box-shadow: 5px 5px 0 var(--ne); }
.faq p { padding: 0 20px 20px; max-width: 62ch; }

/* ---------- Cierre ---------- */
.cierre { text-align: center; overflow: hidden; }
.cierre .in { display: grid; gap: 24px; justify-items: center; }
.cierre h2 { max-width: 15ch; }

/* ---------- Sigue viendo ---------- */
.sigue .g2 { margin-top: 26px; }
.sigue .tarjeta { grid-template-columns: 1fr auto; align-items: center; padding: 24px 26px; }

/* ---------- Conexiones ---------- */
.conx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.conx li { padding: 22px 18px; display: grid; gap: 10px; justify-items: start; }
.conx .ico { width: 48px; height: 48px; border-radius: 13px; border: var(--tr) solid var(--ne); background: var(--am); display: grid; place-items: center; font-family: var(--cartel); font-size: 21px; }
.conx b { font-family: var(--voz); font-weight: 800; font-size: 18px; line-height: 1.2; }
.conx.prox li { background: transparent; box-shadow: none; border-style: dashed; opacity: .7; }
.conx.prox .ico { background: var(--bl); }

/* ---------- Registro / entrada ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth .marca { position: relative; padding: clamp(28px, 4vw, 56px); display: grid; align-content: space-between; gap: 30px; border-right: var(--tr) solid var(--ne); overflow: hidden; }
.auth .marca.am { background: var(--am); } .auth .marca.pa { background: var(--pa); }
.auth .marca > * { position: relative; }
.auth .marca .semi { position: absolute; right: -8%; bottom: -6%; width: 70%; aspect-ratio: 4 / 5; opacity: .4; }
.auth .logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--cartel); font-size: 26px; letter-spacing: .04em; }
.auth .logo img { width: 40px; height: 40px; border-radius: 10px; }
.auth .cuerpo { display: grid; gap: 22px; justify-items: start; }
.auth .cuerpo .cartel { font-size: clamp(46px, 6.2vw, 96px); max-width: 9ch; }
.auth ol.despues { display: grid; gap: 10px; counter-reset: d; max-width: 34ch; }
.auth ol.despues li { counter-increment: d; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-family: var(--voz); font-weight: 700; }
.auth ol.despues li::before { content: counter(d); width: 34px; height: 34px; display: grid; place-items: center; font-family: var(--cartel); font-size: 19px; background: var(--ne); color: var(--am); border-radius: 50%; }
.auth .form { background: var(--bl); padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 72px); display: grid; align-content: center; }
.auth form { width: min(440px, 100%); margin-inline: auto; display: grid; gap: 14px; }
.auth form h1 { font-family: var(--voz); font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.02em; line-height: 1.05; margin-bottom: 6px; }
.soc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.soc button { font-family: var(--voz); font-weight: 700; font-size: 14.5px; padding: 12px; border: var(--tr) solid var(--ne); border-radius: 12px; background: var(--bl); cursor: pointer; }
.soc button:hover { background: var(--pa); }
.osep { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--gr); }
.osep::before, .osep::after { content: ''; flex: 1; border-top: 2px solid #ddd; }
.campo { display: grid; gap: 5px; }
.campo label { font-family: var(--voz); font-weight: 700; font-size: 14px; }
.campo input { font: inherit; font-size: 16px; padding: 12px 14px; border: var(--tr) solid var(--ne); border-radius: 12px; background: var(--bl); width: 100%; }
.campo input:focus { outline: none; box-shadow: 4px 4px 0 var(--am); }
.campo .err { font-size: 13.5px; font-weight: 600; color: #b3261e; display: none; }
.campo.mal .err { display: block; } .campo.mal input { border-color: #b3261e; }
.dosc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth form .btn { width: 100%; margin-top: 6px; }
.auth .abajo { font-size: 14.5px; text-align: center; }
.auth .abajo a { font-weight: 700; }
.aviso-plano { font-size: 12px; text-align: center; color: var(--gr); border: 1px dashed var(--gr); border-radius: 10px; padding: 6px 10px; }

/* ---------- Pie ---------- */
.pie { background: var(--ne); color: var(--bl); padding: 56px 0 96px; border-top: var(--tr) solid var(--ne); }
.pie .g { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; }
.pie .logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--cartel); font-size: 28px; letter-spacing: .04em; text-decoration: none; }
.pie .logo img { width: 42px; height: 42px; border-radius: 10px; border: 2px solid var(--bl); }
.pie h4 { font-family: var(--voz); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--am); margin-bottom: 12px; }
.pie li { margin-top: 7px; } .pie li a { text-decoration: none; font-size: 15px; } .pie li a:hover { color: var(--am); }
.pie .fin { margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: 13px; color: #aaa; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- Animaciones al desplazar (solo con JS y sin «movimiento reducido») ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .an { opacity: 0; transform: translateY(22px); transition: opacity .45s ease, transform .5s cubic-bezier(.2, .9, .25, 1.18); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .an.vis { opacity: 1; transform: none; }

  .js .cartel .pal { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .06em; }
  .js .cartel .pal > span { display: inline-block; transform: translateY(105%); transition: transform .5s cubic-bezier(.2, 1.25, .3, 1); transition-delay: calc(var(--p, 0) * 55ms); }
  .js .cartel.vis .pal > span { transform: none; }

  .js .marco.an { opacity: 1; transform: none; clip-path: inset(0 96% 0 0 round var(--ra)); box-shadow: 0 0 0 var(--ne); transition: clip-path .55s cubic-bezier(.6, 0, .2, 1), box-shadow .01s linear .56s, transform .12s; transition-delay: calc(var(--i, 0) * 70ms), calc(.56s + var(--i, 0) * 70ms), 0s; }
  .js .marco.an.vis { clip-path: inset(-12px -12px -12px -12px round var(--ra)); box-shadow: var(--so) var(--so) 0 var(--ne); }
  .js .ne .marco.an.vis, .js .az .marco.an.vis { box-shadow: var(--so) var(--so) 0 var(--am); }
  .js .plan.pop.marco.an.vis { box-shadow: var(--so) var(--so) 0 rgba(0,0,0,.3); }
  .js a.marco.an.vis:hover { transform: translate(4px, 4px); box-shadow: 3px 3px 0 var(--ne); transition-delay: 0s; }

  .js .semi::before { --pt: 0px; transition: --pt 1.1s cubic-bezier(.3, .8, .3, 1) .1s; }
  .js .semi.vis::before { --pt: 2.6px; }

  .js .sello { opacity: 0; transform: rotate(-70deg) scale(.4); transition: opacity .2s, transform .55s cubic-bezier(.2, 1.4, .35, 1); transition-delay: .35s; }
  .js .sello.vis { opacity: 1; transform: rotate(-11deg) scale(1); }
}

/* ---------- Tableta y celular ---------- */
@media (max-width: 1020px) {
  .menu nav { display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px; background: var(--bl); border: var(--tr) solid var(--ne); border-radius: 22px; box-shadow: 5px 5px 0 var(--ne); }
  .menu.ab nav { display: flex; }
  .menu .ham { display: block; }
  .menu details ul { position: static; transform: none; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .menu .btn.ch { display: none; }
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .conx { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .portada .g, .razon .g, .dato, .duo, .como .g, .bloque, .destacado, .subport.dos .g, .g3, .planes, .g2 { grid-template-columns: 1fr; }
  .portada .vis .sello { top: -40px; right: -6px; width: 104px; } .portada .vis .sello span { font-size: 18px; }
  .bloque:nth-of-type(even) .vis { order: 0; }
  .g5, .g4.carr { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 14px 4px; margin-right: -16px; scrollbar-width: none; }
  .g5 > *, .g4.carr > * { flex: 0 0 68%; scroll-snap-align: start; }
  .plan.pop { transform: none; margin-top: 26px; }
  .dato .num { white-space: normal; }
  .baraja { height: 540px; overflow: hidden; margin-inline: -16px; }
  .baraja .carta { width: 220px; margin-left: -110px; }
  .baraja .carta[data-pos="1"] { transform: translateX(62%) translateY(22px) scale(.84) rotate(5deg); }
  .baraja .carta[data-pos="-1"] { transform: translateX(-62%) translateY(22px) scale(.84) rotate(-5deg); }
  .baraja .carta[data-pos="2"], .baraja .carta[data-pos="-2"] { opacity: 0; }
  .linea { grid-template-columns: 1fr; } .linea::before { display: none; }
  .linea li { grid-template-columns: 56px 1fr; column-gap: 16px; } .linea li::before { grid-row: span 2; }
  /* «Cómo funciona» sin fijar: lista simple */
  .como .pista { height: auto; } .como .fijo { position: static; min-height: 0; padding: 0; }
  .pasos li { opacity: 1; background: var(--bl); border-color: var(--ne); } .pasos li p { display: block; margin-top: 4px; }
  .avance { display: none; }
  .como .vis { order: -1; }
  .pie .g { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth .marca { border-right: 0; border-bottom: var(--tr) solid var(--ne); padding: 20px 18px 24px; gap: 16px; }
  .auth .marca .semi { width: 46%; right: -4%; bottom: -30%; }
  .auth .cuerpo .cartel { font-size: 40px; max-width: 12ch; }
  .auth ol.despues { display: none; }
  .auth .cuerpo .sello { position: absolute; right: 6px; top: -8px; width: 88px; } .auth .cuerpo .sello span { font-size: 15px; }
  .barra-movil { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--bl); border-top: var(--tr) solid var(--ne); transform: translateY(110%); transition: transform .25s; }
  .barra-movil.vis { transform: none; }
  .barra-movil .btn { width: 100%; padding: 13px; box-shadow: 4px 4px 0 var(--ne); }
  .tabla { font-size: 14px; min-width: 620px; }
  /* en celular las animaciones se reducen a subir y aparecer */
  .js .marco.an { clip-path: none !important; opacity: 0; transform: translateY(18px); box-shadow: var(--so) var(--so) 0 var(--ne); transition: opacity .4s ease, transform .4s ease; }
  .js .marco.an.vis { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .modulos, .dosc, .conx { grid-template-columns: 1fr; }
  .conx { grid-template-columns: 1fr 1fr; }
  .pie .g { grid-template-columns: 1fr; }
  .sello { width: 104px; } .sello span { font-size: 18px; }
}

@media (max-height: 719px) and (min-width: 821px) {
  .como .pista { height: auto; } .como .fijo { position: static; min-height: 0; padding: 0; }
  .pasos li { opacity: 1; background: var(--bl); border-color: var(--ne); } .pasos li p { display: block; margin-top: 4px; }
  .avance { display: none; }
}

/* ---------- Menú: desplegables ordenados (pisa las reglas anteriores) ---------- */
[id] { scroll-margin-top: 104px; }
.menu details { position: relative; }
.menu summary { display: flex; align-items: center; gap: 6px; }
.menu summary i { width: 7px; height: 7px; border-right: 2px solid var(--ne); border-bottom: 2px solid var(--ne); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.menu details[open] summary { background: var(--am); }
.menu details[open] summary i { transform: rotate(-135deg) translateY(-2px); }
.menu details.act > summary { box-shadow: inset 0 -3px 0 var(--ne); border-radius: 99px; }
.menu .desp { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); width: 330px; padding: 14px; background: var(--bl); border: var(--tr) solid var(--ne); border-radius: 20px; box-shadow: 6px 6px 0 var(--ne); }
.menu .desp::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.menu .desp.dos { width: 560px; }
.menu .desp .tit { font-family: var(--voz); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gr); padding: 2px 10px 10px; border-bottom: 2px solid var(--ne); margin-bottom: 8px; }
.menu .desp ul, .menu details ul { position: static; transform: none; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; display: grid; gap: 2px; }
.menu .desp.dos ul { grid-template-columns: 1fr 1fr; column-gap: 8px; }
.menu .desp ul a { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 12px; text-decoration: none; white-space: normal; }
.menu .desp ul a:hover { background: var(--am); }
.menu .desp ul b { display: block; font-weight: 800; font-size: 15px; line-height: 1.2; }
.menu .desp ul small { display: block; font-family: var(--lec); font-weight: 400; font-size: 12.5px; line-height: 1.3; color: var(--gr); }
.menu .desp ul a:hover small { color: var(--ne); }
.menu .desp .ico, .ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 2px solid var(--ne); border-radius: 11px; background: var(--am); font-family: var(--cartel); font-weight: 400; font-size: 15px; }
.menu .desp ul a:hover .ico { background: var(--bl); }
.menu .desp .todo { display: block; margin-top: 8px; padding: 11px 10px 3px; border-top: 2px solid var(--ne); font-weight: 800; font-size: 14px; text-decoration: none; }
.menu .desp .todo:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--am); }
@media (prefers-reduced-motion: no-preference) { .menu details[open] .desp { animation: desp .18s ease-out; } }
@keyframes desp { from { opacity: 0; margin-top: -6px; } }

/* ---------- Conexiones: un bloque por canal ---------- */
.saltos { display: flex; flex-wrap: wrap; gap: 10px; }
.saltos a { display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 6px; font-family: var(--voz); font-weight: 700; font-size: 15px; text-decoration: none; background: var(--bl); border: var(--tr) solid var(--ne); border-radius: 99px; transition: transform .12s, box-shadow .12s; box-shadow: 4px 4px 0 var(--ne); }
.saltos a:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ne); }
.saltos .ico { width: 32px; height: 32px; border-radius: 50%; font-size: 13px; }
.canales { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 30px); align-items: start; }
.canal { padding: 24px; display: grid; gap: 16px; align-content: start; }
.canal:first-child { grid-column: 1 / -1; }
.canal:first-child .lista { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.canal header { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--ne); }
.canal header .ico { width: 52px; height: 52px; border-width: 3px; border-radius: 14px; font-size: 20px; }
.canal header .pil { margin-left: auto; background: var(--am); }
.canal .lista li { margin-top: 0; padding-bottom: 8px; }
.canal .enl { justify-self: start; }
.canal:target { box-shadow: var(--so) var(--so) 0 var(--am), calc(var(--so) + 3px) calc(var(--so) + 3px) 0 var(--ne); }
.tarjeta > .ico { width: 48px; height: 48px; border-width: 3px; font-size: 19px; }
.conx.prox { grid-template-columns: repeat(5, 1fr); }
.conx.prox li { padding: 16px; grid-template-columns: auto 1fr; align-items: center; }
.conx .ico { width: 40px; height: 40px; }

@media (max-width: 1020px) {
  .menu details { width: 100%; }
  .menu summary { justify-content: space-between; }
  .menu .desp, .menu .desp.dos { position: static; transform: none; width: auto; border: 0; box-shadow: none; padding: 0 0 8px 8px; animation: none; }
  .menu .desp::before { display: none; }
  .menu .desp .tit { display: none; }
  .menu .desp.dos ul { grid-template-columns: 1fr; }
  .menu .desp ul small { display: none; }
  .menu .desp ul a { padding: 7px 10px; }
  .menu .desp .ico { width: 30px; height: 30px; font-size: 12px; }
  .menu.ab nav { max-height: calc(100vh - 110px); overflow-y: auto; }
  .conx.prox { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .canales, .canal:first-child .lista { grid-template-columns: 1fr; }
  .canal header { flex-wrap: wrap; } .canal header .pil { margin-left: 0; }
}

/* ================= Limpieza: más aire y menos piezas ================= */
.sec { padding: clamp(76px, 10vw, 136px) 0; }
.cab { margin-bottom: clamp(36px, 5vw, 64px); }
.g3 { gap: clamp(22px, 3vw, 40px); }
.tarjeta { padding: 24px; gap: 14px; }
/* figuras de video más calladas */
.hueco { background: #f7f3ea; }
.hueco .esq { opacity: .55; }
.esq .av, .esq .bu, .esq .fi, .esq.pt .tel { border: 0; }
.esq .bu, .esq .fi, .esq.pt .tel { background: #e6dfd0; }
.esq .bu.d { background: #bdb6a6; } .esq .bu.b, .esq .fi::after { background: #d8cfa0; border: 0; }
.esq .fi:nth-child(2)::after { background: #bdb6a6; }
.esq .bu.f { background: #ddd5c4; }
.esq .lat { border-right: 2px solid #d9d3c4; } .esq .lat span:first-child { background: #bdb6a6; }
.esq.pt .tel .bu { background: #f7f3ea; } .esq.pt .tel .bu.d { background: #bdb6a6; }
.hueco .play { box-shadow: none; width: clamp(44px, 16%, 64px); }
.hueco.h .play, .hueco.p .play, .hueco.c .play { width: clamp(44px, 9%, 64px); }
.hueco .inf { background: var(--bl); border-top: 2px solid var(--ne); padding: 9px 14px; font-weight: 600; }
.hueco .inf b { font-size: 17px; background: var(--am); padding: 1px 8px; border-radius: 6px; border: 2px solid var(--ne); }
.hueco.mini .esq { padding-bottom: 9%; }
.hueco.mini .play { top: 50%; }
.hueco .cod { position: absolute; left: 10px; top: 10px; font-family: var(--cartel); font-size: 14px; letter-spacing: .03em; padding: 1px 8px; background: var(--am); border: 2px solid var(--ne); border-radius: 6px; }
/* panel: módulos como etiquetas */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-family: var(--voz); font-weight: 700; font-size: 16px; padding: 9px 18px; border: var(--tr) solid var(--ne); border-radius: 99px; background: var(--bl); }
.chips li:nth-child(3n+1) { background: var(--am); }
.control { border: 0; padding: 0; border-left: 6px solid var(--am); padding-left: 16px; border-radius: 0; }
/* menú: lista simple */
.menu .desp { width: 270px; padding: 12px; }
.menu .desp ul b { font-size: 15.5px; font-weight: 700; }
.menu .desp ul a { padding: 9px 12px; }
.menu .desp .ico { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; }

/* ================= Puntillismo sutil en las esquinas ================= */
.sec > *, .pie > * { z-index: 1; }
.pie { position: relative; overflow: hidden; } .pie > * { position: relative; }
.pt-d::after, .pt-i::after { content: ''; position: absolute; z-index: 0; pointer-events: none; width: min(560px, 70%); height: min(440px, 80%); opacity: .13;
  background-image: radial-gradient(circle at center, var(--ne) 2.3px, transparent 2.9px); background-size: 13px 13px; }
.pt-d::after { top: 0; right: 0; -webkit-mask-image: radial-gradient(ellipse 100% 100% at 100% 0, #000 5%, transparent 68%); mask-image: radial-gradient(ellipse 100% 100% at 100% 0, #000 5%, transparent 68%); }
.pt-i::after { bottom: 0; left: 0; -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0 100%, #000 5%, transparent 68%); mask-image: radial-gradient(ellipse 100% 100% at 0 100%, #000 5%, transparent 68%); }
.am.pt-d::after, .am.pt-i::after { opacity: .17; }
.pie.pt-d::after { background-image: radial-gradient(circle at center, var(--am) 2.3px, transparent 2.9px); opacity: .22; }
@media (max-width: 820px) { .pt-d::after, .pt-i::after { width: 80%; height: 260px; opacity: .11; } }

/* Videos ya producidos dentro de su marco */
.hueco.video-listo { background: var(--pa); }
.hueco.video-listo video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Portada con video vertical: el marco toma la forma del celular */
.portada .g > .vis { display: grid; justify-items: center; }
.portada .g > .vis .hueco.v { width: min(400px, 100%); }
.portada .g > .vis .sello { right: calc(50% - 250px); }
@media (max-width: 820px) { .portada .g > .vis .hueco.v { width: min(330px, 86%); } .portada .g > .vis .sello { right: 2px; } }
.portada .g > * { min-width: 0; }
@media (min-width: 821px) { .portada .g { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.hueco.video-listo video { max-width: 100%; }

/* Video listo: solo la pantalla, sin marco ni borde; esquinas con la curva de la pantalla del celular */
.hueco.video-listo { border: 0; background: #0B141A; border-radius: 12.4% / 7%; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(17,17,17,.45), 0 12px 24px -12px rgba(17,17,17,.25); -webkit-mask-image: -webkit-radial-gradient(white, black); isolation: isolate; }
.hueco.video-listo video { border-radius: inherit; }
.portada .g > .vis .sello { top: -58px; right: calc(50% - 300px); }
@media (max-width: 820px) { .portada .g > .vis .sello { top: -44px; right: 0; } }
/* Video de la portada con el borde del sistema: trazo negro grueso y sombra dura */
.hueco.video-listo { border: var(--tr) solid var(--ne); box-shadow: var(--so) var(--so) 0 var(--ne); }
.js .hueco.video-listo.an.vis { box-shadow: var(--so) var(--so) 0 var(--ne); }
.hueco.video-listo { -webkit-mask-image: none; mask-image: none; isolation: auto; }
.hueco.video-listo video { clip-path: inset(0 round 12.4% / 7%); }

/* Videos casi cuadrados de las tarjetas (1200 × 1438) */
.hueco.t { aspect-ratio: 1200 / 1438; }
.hueco.t.video-listo { border-radius: 9% / 7.5%; border-width: 3px; box-shadow: 5px 5px 0 var(--ne); background: #EEF0F3; }
.hueco.t.video-listo video { clip-path: inset(0 round 9% / 7.5%); }
.js .hueco.t.video-listo.an.vis { box-shadow: 5px 5px 0 var(--ne); }
.tarjeta .hueco.t.video-listo { border: 3px solid var(--ne); }
/* Recorte limpio: lo hace la figura (overflow + radio); el video no lleva recorte propio */
.hueco.video-listo video { clip-path: none; border-radius: 0; }
.hueco.video-listo { background: transparent; }
/* Dentro de una tarjeta ya enmarcada, el video va sin marco propio */
.tarjeta .hueco.t.video-listo, .js .tarjeta .hueco.t.video-listo.an.vis { border: 0; box-shadow: none; border-radius: 16px; }
.portada .hueco.video-listo { background: #111214; }
.tarjeta .hueco.t.video-listo { background: #EEF0F3; }

/* Sección agente + copiloto: dos tarjetas, video centrado y más grande */
.piezas { max-width: none; }
.piezas .tarjeta { padding: 26px; }
.piezas .hueco.t { width: min(100%, 420px); justify-self: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   COLORIMETRÍA v5 — MEDIANOCHE (13-nov). Reemplaza a la v4 (respaldo: ../estilos.v4-respaldo.css).
   Reglas:
   · Base: hueso y blanco. Dos franjas oscuras (azul noche): «la razón» y «planes». Cierre en violeta de marca.
   · El color significa algo: azul acero = el agente · violeta suave = el copiloto · violeta fuerte = VEKTRA · ámbar = solo el botón y los sellos.
   · Un solo adorno por sección: trama de puntos en una esquina, siempre del mismo tono. Donde hay sello no hay puntos.
   · Letra de cartel solo en la portada de cada página y en las franjas fuertes (noche y violeta).
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --ne: #0F1B33;                 /* tinta: trazos y texto */
  --gr: #55607A;
  --hueso: #EEF0F4;
  --noche: #0F1B33;
  --vivo: #5B41E6;               /* violeta de marca */
  --ambar: #F2A93B;              /* botón y sellos */
  --ag: #8FA9D6;  --ag-t: #DFE7F3;   /* el agente */
  --co: #A79AF2;  --co-t: #E5E1F9;   /* el copiloto */
  --neu: #C9D1E0;                /* acento neutro de las secciones sin dueño */
  --cta: var(--ambar);
  --pa: var(--hueso); --am: var(--neu); --az: var(--vivo); --pr: var(--noche);
  --p: var(--neu); --p-t: var(--hueso); --s: var(--neu); --s-t: var(--hueso); --x: var(--neu);
}
body.tema-agente   { --p: var(--ag); --p-t: var(--ag-t); --x: var(--ag); }
body.tema-copiloto { --p: var(--co); --p-t: var(--co-t); --x: var(--co); }
::selection { background: var(--vivo); color: #fff; }

/* ---- fondo y acento de cada sección ---- */
.sec { --fd: #fff; --am: var(--neu); }
.sec.am { --am: var(--p); --fd: var(--p-t); }
.sec.pa { --am: var(--s); --fd: var(--s-t); }
.sec.bl { --am: var(--x); --fd: #fff; }
.sec.k-blanco { --fd: #fff; }
.sec.k-hueso  { --fd: var(--hueso); }
.sec.k-ag     { --am: var(--ag); --fd: var(--ag-t); }
.sec.k-co     { --am: var(--co); --fd: var(--co-t); }
.sec.k-noche  { --fd: var(--noche); --am: var(--ambar); --ne: #060C1A; color: #fff; border-top-color: var(--noche); }
.sec.az       { --fd: var(--vivo); --am: var(--ambar); color: #fff; }
.sec, .sec.am, .sec.pa, .sec.bl, .sec.az, .sec.ne { background: var(--fd); }
.sec.pa::before, .grano::before { display: none; }
.k-noche .lead, .k-noche .confianza { color: rgba(255,255,255,.86); }
.k-noche .chico { color: rgba(255,255,255,.66); }
.menu { --am: #E1E6EF; }
.menu .ham { background: var(--ambar); }
.pie { --am: var(--ambar); background: #0A1326; border-top-color: #0A1326; }
.pie h4 { color: #9FB2D9; }
.pie .fin { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
.pie .chico { color: rgba(255,255,255,.66); }

/* ---- resaltado del titular: violeta de marca ---- */
.cartel .res, .am .cartel .res { background: var(--vivo); color: #fff; }
.az .cartel .res { background: var(--ambar); color: var(--noche); }

/* ---- botón: un solo color en todo el sitio ---- */
.btn, .sec .btn, .menu .btn, .auth .btn, .barra-movil .btn { background: var(--cta); color: var(--ne); border-color: var(--ne); }
.sec.am .btn, .sec.az .btn { box-shadow: var(--so) var(--so) 0 var(--ne); border-color: var(--ne); }
.sec.am .btn:hover, .sec.az .btn:hover { box-shadow: 3px 3px 0 var(--ne); }
.sec.am .btn:active, .sec.az .btn:active { box-shadow: 0 0 0 var(--ne); }
.sec .plan .btn.neg { background: var(--noche); color: #fff; box-shadow: var(--so) var(--so) 0 var(--ne); }
.sec .plan.pop .btn { background: var(--ambar); color: var(--noche); border-color: var(--ne); box-shadow: none; }
.enl, .am .enl { border-bottom-color: var(--vivo); filter: none; }
.enl:hover, .am .enl:hover { background: var(--vivo); color: #fff; }
.k-noche .enl, .az .enl { border-bottom-color: var(--ambar); }
.k-noche .enl:hover, .az .enl:hover { background: var(--ambar); color: var(--noche); }

/* ---- sellos: ámbar, o violeta con letra blanca ---- */
.sello { --am: var(--ambar); --az: var(--vivo); }
.sello.neg span { color: #fff; }

/* ---- piezas fuertes ---- */
.plan.pop { background: var(--vivo); color: #fff; box-shadow: var(--so) var(--so) 0 var(--ne); }
.js .plan.pop.marco.an.vis { box-shadow: var(--so) var(--so) 0 var(--ne); }
.tabla thead th { background: var(--hueso); }
.tabla thead th.pop { background: var(--vivo); color: #fff; }
.tabla td.pop, .tabla th.pop { background: #EFEDFC; }
.dato { background: var(--vivo); color: #fff; }
.dato .num { color: var(--ambar); }
.dato .chico { color: rgba(255,255,255,.7); }
.auth ol.despues li::before { background: var(--noche); color: #fff; }
.control { border-left-color: var(--vivo); }
.caja { background: #fff; border-left-color: var(--vivo); }
.horas div { background: var(--hueso); }
.horas .bien { background: var(--vivo); color: #fff; }
.pasos li.act::before { background: var(--ambar); }
.linea li::before { background: var(--noche); color: #fff; }
.faq[open] summary::after { background: var(--ambar); }
.baraja-ctl button { background: #fff; }
.menu .desp .ico, .ico, .conx .ico { background: var(--hueso); }
.lista li::before { background: var(--vivo); }
.chips li, .chips li:nth-child(3n+1) { background: #fff; }
.modulos li { background: #fff; }
.canal header .pil { background: var(--hueso); }
.pildoras a.act { background: var(--noche); color: #fff; }

/* ---- figuras de video pendientes: neutras ---- */
.hueco { background-color: var(--hueso); }
.esq .ln, .esq .av, .esq .lat span { background: #D3D9E5; }
.esq .bu, .esq .fi, .esq.pt .tel { background: #E1E5EE; }
.esq .bu.d, .esq.pt .tel .bu.d, .esq .fi:nth-child(2)::after, .esq .lat span:first-child { background: #AEB7C9; }
.esq .bu.f { background: #D3D9E5; }
.esq .bu.b, .esq .fi::after { background: var(--ambar); }
.esq .lat { border-right-color: #D3D9E5; }
.esq.pt .tel .bu { background: #fff; }
.hueco .esq { opacity: .8; }
.hueco .inf b, .hueco .cod { background: var(--ambar); }
.hueco.video-listo { background-color: transparent; } .portada .hueco.video-listo { background-color: #111214; } .tarjeta .hueco.t.video-listo { background-color: #EEF0F3; }

/* ---- registro e inicio de sesión ---- */
.auth .marca.am, .auth .marca.pa { background: var(--hueso); }
.auth .marca .semi { display: none; }
.campo input:focus { box-shadow: 4px 4px 0 var(--vivo); }

/* ---- un solo adorno: puntos en una esquina, mismo tono en todo el sitio ---- */
.fondo-semi { display: none; }
.sec.pt-d::after, .sec.pt-i::after { background-image: radial-gradient(circle at center, var(--noche) 2.3px, transparent 2.9px); opacity: .1; width: min(600px, 74%); height: min(460px, 84%); background-size: 14px 14px; }
.sec.k-noche.pt-d::after, .sec.k-noche.pt-i::after, .sec.az.pt-d::after, .sec.az.pt-i::after, .pie.pt-d::after { background-image: radial-gradient(circle at center, #fff 2.3px, transparent 2.9px); opacity: .09; }
.portada.pt-i::after, .portada.pt-d::after, #planes.pt-d::after, #planes.pt-i::after { display: none; }   /* ahí el adorno es el sello */
.cierre.az .sub, .cierre.az p { color: #fff; }

/* ---- menú: el nombre de cada pestaña es un enlace a su página ---- */
.menu summary { position: relative; }
.menu summary a.mt { color: inherit; text-decoration: none; }
@media (min-width: 1021px) { .menu summary a.mt::after { content: ''; position: absolute; inset: 0; border-radius: 99px; } }

/* ---- «El agente» en la portada: un solo celular y cuatro puntos que lo cambian ---- */
.agente-uno { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 6vw, 96px); align-items: center; }
.agente-uno .txt { display: grid; gap: 16px; justify-items: start; }
.tabs { display: grid; gap: 8px; width: 100%; margin-top: 10px; }
.tabs li { padding: 15px 18px; border: var(--tr) solid transparent; border-radius: 16px; cursor: pointer; opacity: .62; transition: opacity .2s, background .2s, border-color .2s, box-shadow .2s; }
.tabs li:hover { opacity: 1; }
.tabs li b { font-family: var(--voz); font-weight: 800; font-size: 20px; display: block; }
.tabs li p { font-size: 15.5px; display: none; margin-top: 4px; max-width: 46ch; }
.tabs li.act { opacity: 1; background: #fff; border-color: var(--ne); box-shadow: 5px 5px 0 var(--ne); }
.tabs li.act p { display: block; }
.agente-uno .hueco.v { width: 100%; }
@media (max-width: 820px) {
  .agente-uno { grid-template-columns: 1fr; }
  .agente-uno .vis { order: -1; justify-self: center; width: min(290px, 78%); }
  .tabs li { padding: 12px 14px; } .tabs li b { font-size: 18px; }
}

/* ---- fotos de negocio con el marco del sistema ---- */
.subport .foto-nicho { border: var(--tr) solid var(--ne); border-radius: var(--ra); box-shadow: var(--so) var(--so) 0 var(--ne); overflow: hidden; }
.subport { padding-top: clamp(124px, 12vw, 156px); }

/* ---- videos horizontales y panorámicos: esquinas normales, no de pantalla de celular ---- */
.hueco.h.video-listo, .hueco.p.video-listo { border-radius: var(--ra); }
.hueco.h.video-listo video, .hueco.p.video-listo video { border-radius: 0; }

/* «Cómo funciona»: cinco clips apilados, uno por paso; solo el activo se ve */
.pasos-vid video { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; pointer-events: none; }
.pasos-vid video.on { opacity: 1; }
/* Tipos de negocio: foto del nicho en lugar de video */
.foto-nicho { background: #e9e4d8; }
.foto-nicho img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-nicho.vacio { place-items: center; border: 2px dashed rgba(17, 17, 17, .35); }
.foto-nicho.vacio span { font-family: var(--voz); font-weight: 700; font-size: 15px; opacity: .55; text-align: center; padding: 0 14px; }
.hueco.v.foto-nicho { aspect-ratio: 3 / 4; }

/* Riel de tarjetas «Míralo en un negocio como el tuyo»: fila simple que se desliza, sin abanico */
.riel { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 16px 26px max(16px, calc((100vw - 1180px) / 2)); margin: 8px calc(50% - 50vw) 0; scroll-padding-left: max(16px, calc((100vw - 1180px) / 2)); scrollbar-width: none; outline: none; }
.riel::-webkit-scrollbar { display: none; }
.riel .carta { flex: 0 0 clamp(240px, 22vw, 290px); scroll-snap-align: start; display: block; position: relative; }
.riel .carta .hueco { width: 100%; }
.riel .carta .h3 { margin-top: 14px; }
.riel .puntos { display: none; }


.riel .carta { align-self: stretch; }
.hueco.c.video-listo { border-radius: var(--ra); }
.hueco.c.video-listo video { border-radius: 0; clip-path: none; }


/* ═══════════ RENDIMIENTO (13-nov) ═══════════
   · Lo que está fuera de pantalla no se pinta hasta que se acerca (content-visibility).
   · Las entradas de las piezas usan solo opacidad y movimiento (van por la tarjeta gráfica); se quitó el recorte animado.
   · Los videos y fotos reservan su espacio, así la página no salta al cargar. */
.sec:not(.portada):not(.subport):not(.como):not(.cierre) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
@media (prefers-reduced-motion: no-preference) {
  .js .marco.an { clip-path: none !important; opacity: 0; transform: translateY(20px); box-shadow: var(--so) var(--so) 0 var(--ne);
    transition: opacity .4s ease, transform .5s cubic-bezier(.2, .9, .25, 1.1); transition-delay: calc(var(--i, 0) * 60ms); will-change: opacity, transform; }
  .js .marco.an.vis { opacity: 1; transform: none; will-change: auto; }
  .js .plan.pop.marco.an.vis { transform: translateY(-14px); }
  .js .ne .marco.an.vis, .js .az .marco.an.vis, .js .k-noche .marco.an.vis { box-shadow: var(--so) var(--so) 0 var(--ne); }
  .js .cartel .pal > span { will-change: transform; }
  .js .cartel.vis .pal > span { will-change: auto; }
}
@media (max-width: 820px) { .js .plan.pop.marco.an.vis { transform: none; } }
.hueco video, .hueco img { display: block; }
.hueco.video-listo video { transform: translateZ(0); }
img { height: auto; }
.foto-nicho img { height: 100%; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ═══════════ MOVIMIENTO AL BAJAR (13-nov) ═══════════
   Todo se mueve solo con posición, tamaño, recorte y opacidad (lo dibuja la tarjeta gráfica, no frena la página).
   · Entradas largas y suaves (frenan al final) para textos, tarjetas y fotos; los títulos suben palabra por palabra.
   · Efectos atados al scroll (donde el navegador lo permite): línea de avance arriba, los videos crecen al llegar,
     las franjas oscuras se abren como telón, los puntos de adorno flotan y la portada se despide con profundidad.
   · El menú se esconde al bajar y vuelve al subir. Con «reducir movimiento» nada de esto corre. */
@media (prefers-reduced-motion: no-preference) {
  .js .an, .js .rv { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .95s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .an.vis, .js .rv.ya { opacity: 1; transform: none; }
  .js .marco.an { opacity: 0; transform: translateY(46px) scale(.965); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1), box-shadow .2s; transition-delay: calc(var(--i, 0) * 90ms); }
  .js .marco.an.vis { opacity: 1; transform: none; }
  .js .plan.pop.marco.an.vis { transform: translateY(-14px); }
  .js a.marco.an.vis:hover { transform: translate(4px, 4px); transition-duration: .18s; transition-delay: 0s; }

  .js .cartel .pal > span { transition: transform .95s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--p, 0) * 60ms); }
  .js .pals .pal { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .18em; margin-bottom: -.18em; }
  .js .pals .pal > span { display: inline-block; transform: translateY(115%); transition: transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--p, 0) * 40ms); will-change: transform; }
  .js .pals.ya .pal > span { transform: none; will-change: auto; }

  .js .foto-nicho img { scale: 1.2; transition: scale 1.5s cubic-bezier(.16, 1, .3, 1); }
  .js .vis .foto-nicho img, .js .foto-nicho.vis img { scale: 1; }
  .js .carta.vis:hover .foto-nicho img { scale: 1.07; transition-duration: .7s; }

  .menu { transition: translate .5s cubic-bezier(.16, 1, .3, 1); }
  .menu.oculto:not(.ab) { translate: 0 -160%; }

  :root { interpolate-size: allow-keywords; }
  .faq::details-content { block-size: 0; overflow: hidden; transition: block-size .45s cubic-bezier(.16, 1, .3, 1), content-visibility .45s allow-discrete; }
  .faq[open]::details-content { block-size: auto; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body::after { content: ''; position: fixed; left: 0; top: 0; width: 100%; height: 3px; background: var(--vivo); transform-origin: 0 50%; z-index: 60; pointer-events: none;
      animation: mv-avance linear both; animation-timeline: scroll(root); }
    .sec { view-timeline: --sec block; }
    .sec.pt-d::after, .sec.pt-i::after { animation: mv-flota linear both; animation-timeline: --sec; animation-range: cover; }
    .sec.k-noche, .sec.cierre { animation: mv-telon linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .hueco.video-listo:not(.pasos-vid):not(.t), .subport .foto-nicho { animation: mv-acerca linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  }
  @media (prefers-reduced-motion: no-preference) and (min-width: 821px) {
    .portada .g > .vis { animation: mv-portada-v linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .portada .g > :not(.vis) { animation: mv-portada-t linear both; animation-timeline: scroll(root); animation-range: 0 80vh; }
  }
}
@keyframes mv-avance { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mv-flota { from { translate: 0 -70px; } to { translate: 0 90px; } }
@keyframes mv-telon { from { clip-path: inset(0 5% 0 5% round 48px 48px 0 0); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes mv-acerca { from { scale: .86; } to { scale: 1; } }
@keyframes mv-portada-v { to { translate: 0 80px; } }
@keyframes mv-portada-t { to { translate: 0 -46px; opacity: .2; } }
@media (max-width: 820px) { .pie { padding-bottom: 130px; } }
@media (max-width: 820px) { .sec.portada { padding-top: 108px; } .sec.subport { padding-top: 104px; } }

/* ═══════════ RIEL DE NEGOCIOS v2 (13-nov) ═══════════
   Tarjetas de foto completa: el nombre y la frase van sobre la foto, con una flecha ámbar. Se arrastra con el ratón,
   tiene barra de avance, las flechas se apagan en los extremos y el borde derecho se desvanece. */
.riel { gap: clamp(14px, 1.6vw, 22px); padding-top: 16px; padding-bottom: 34px; cursor: grab; user-select: none; }
.riel.arrastra { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.riel .carta.nicho { flex: 0 0 clamp(260px, 24vw, 330px); position: relative; display: block; overflow: hidden; isolation: isolate; padding: 0; text-decoration: none; color: #fff;
  background: var(--noche); border: var(--tr) solid var(--ne); border-radius: 24px; box-shadow: var(--so) var(--so) 0 var(--ne); transition-property: opacity, transform, translate, box-shadow; }
.nicho .hueco.foto-nicho { width: 100%; aspect-ratio: 3 / 4; margin: 0; border: 0; border-radius: 0; box-shadow: none; display: block; }
.nicho .foto-nicho img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.nicho::after { content: ''; position: absolute; inset: 40% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(10, 19, 38, .95) 6%, rgba(10, 19, 38, .62) 46%, transparent); }
.nicho-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 6px; padding: 22px 76px 22px 22px; }
.nicho-txt .h3 { margin: 0; color: #fff; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.12; }
.nicho-txt p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 14.5px; line-height: 1.4; }
.nicho-ir { position: absolute; right: 16px; bottom: 20px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ambar); color: var(--ne); border: 2px solid var(--ne); transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.riel-ctl { justify-content: flex-start; gap: 14px; margin-top: 4px; }
.riel-barra { flex: 1; height: 4px; border-radius: 4px; background: rgba(15, 27, 51, .12); overflow: hidden; margin-right: 10px; }
.riel-barra i { display: block; height: 100%; background: var(--ne); border-radius: 4px; transform-origin: 0 50%; transform: scaleX(.3); transition: transform .25s ease-out; }
.riel-ctl button:disabled { opacity: .3; cursor: default; box-shadow: none; transform: none; }
@media (hover: hover) {
  .riel .carta.nicho:hover { translate: 0 -8px; box-shadow: calc(var(--so) + 3px) calc(var(--so) + 7px) 0 var(--ne); transition-duration: .35s; transition-delay: 0s; }
  .nicho:hover .nicho-ir { transform: scale(1.12) rotate(-45deg); }
}
@media (min-width: 821px) { .riel { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 120px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 120px), transparent); } }
@media (max-width: 820px) { .riel .carta.nicho { flex-basis: min(74vw, 320px); } .riel-ctl button { display: none; } .riel-barra { margin-right: 0; } }

/* Riel: arranca desde el borde izquierdo de la pantalla (sin hueco a la izquierda) y cierra con «Y muchos negocios más». */
.riel { padding-left: clamp(16px, 3vw, 44px); padding-right: clamp(16px, 3vw, 44px); scroll-padding-left: clamp(16px, 3vw, 44px); }
.riel .carta.nicho.mas { background: var(--vivo); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px 26px; aspect-ratio: 3 / 4; }
.nicho.mas::after { display: none; }
.mas-txt { display: grid; gap: 14px; }
.mas-txt b { font-family: var(--cartel); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 3.3vw, 52px); line-height: 1.08; letter-spacing: .01em; color: #fff; }
.mas-txt p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15.5px; line-height: 1.45; }
.mas-ir { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 99px; background: var(--ambar); color: var(--ne); border: 2px solid var(--ne);
  font-family: var(--voz); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; box-shadow: 3px 3px 0 var(--ne); }
@media (min-width: 821px) { .riel { -webkit-mask-image: none; mask-image: none; } }

/* ===== REVISIÓN 15-NOV ===== (respaldo: estilos.antes-revision-15nov.css) */
/* La cifra grande va en blanco: el ámbar queda solo para el botón y los sellos. */
.dato .num { color: #fff; }
/* La línea punteada de «cómo empiezas» termina en el paso 4, no sigue de largo. */
.linea::before { left: 28px; right: calc((100% - 66px) / 4 - 28px); }
/* Portátiles bajos (768 px de alto): la sección fija «cómo funciona» cabe completa, con su barra de avance. */
@media (min-width: 821px) and (min-height: 720px) and (max-height: 860px) {
  .como .fijo { padding: 84px 0 16px; }
  .como .h2 { font-size: clamp(30px, 3.1vw, 42px); }
  .pasos { margin-top: 14px; gap: 4px; }
  .pasos li { padding: 9px 14px; }
}
