/* ==========================================================================
   Máquina de Clips — página de ventas
   ========================================================================== */

:root {
  --fondo: #0b0910;
  --fondo2: #07060b;
  --card: #15121c;
  --card2: #1c1826;
  --card3: #262033;
  --linea: rgba(246, 243, 250, .08);
  --linea2: rgba(246, 243, 250, .16);
  --tx: #f6f3fa;
  --ap: #b1aabd;
  --ap2: #857e92;
  --rosa: #ff2e93;
  --rosa2: #ff6fb7;
  --rosa3: #c80f74;
  --rosa-rgb: 255, 46, 147;
  --cian: #3fe3ff;
  --cta-tx: #24000f;
  --cta: linear-gradient(180deg, #ff9acb 0%, #ff3d9c 48%, #e0137f 100%);
  --sombra-rosa: 0 10px 40px -10px rgba(var(--rosa-rgb), .65);
  --radio: 20px;
  --radio2: 14px;
  --lateral: 16px;
  --barra-h: 64px;
  --mola: cubic-bezier(.32, .72, 0, 1);
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--barra-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--tx);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 600; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
h1 em, h2 em, .remate em, .giro__texto em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--rosa2);
  letter-spacing: -.01em;
  padding-right: .04em;
}
:focus-visible { outline: 2px solid var(--rosa2); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--lateral); }
.contenedor--angosto { max-width: 820px; }
@media (min-width: 720px) { :root { --lateral: 28px; } }

/* ---------- etiqueta (mono, com ponto) ---------- */
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ap);
}
.punto {
  width: 7px; height: 7px; border-radius: 2px; flex: none;
  background: var(--rosa);
  box-shadow: 0 0 12px rgba(var(--rosa-rgb), .9);
}
.etiqueta--alerta .punto { background: #ffb547; box-shadow: 0 0 12px rgba(255, 181, 71, .9); }

/* ---------- botões ---------- */
.boton {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 30px;
  border: 0; border-radius: 14px;
  background: var(--cta);
  color: var(--cta-tx);
  font: 800 15px/1 var(--sans);
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.18), var(--sombra-rosa);
  cursor: pointer;
  transition: transform .25s var(--mola), box-shadow .25s var(--mola), filter .25s;
  overflow: hidden;
}
.boton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: brillo 4.5s ease-in-out 2s infinite;
}
.boton:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.18), 0 16px 50px -10px rgba(var(--rosa-rgb), .8); }
.boton:active { transform: translateY(0) scale(.98); }
.boton--chico { min-height: 40px; padding: 0 16px; font-size: 12px; border-radius: 10px; }
.boton--chico::after { display: none; }
.boton--ancho { width: 100%; }
@keyframes brillo { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.nota { margin-top: 14px; font-size: 14px; color: var(--ap2); }

/* ---------- marca ---------- */
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marca__icono {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: var(--cta);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 20px -6px rgba(var(--rosa-rgb), .8);
}
.marca__icono svg { width: 18px; height: 18px; fill: var(--cta-tx); }
.marca__nombre { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.marca__nombre b { font-weight: 500; color: var(--rosa2); }

/* ==========================================================================
   Barra superior
   ========================================================================== */
.barra {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--barra-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.barra.con-fondo { background: rgba(11, 9, 16, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--linea); }
.barra__in { height: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--lateral); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.barra__nav { display: none; gap: 28px; font-size: 14px; color: var(--ap); }
.barra__nav a { text-decoration: none; transition: color .2s; }
.barra__nav a:hover { color: var(--tx); }
@media (min-width: 900px) { .barra__nav { display: flex; } }

/* ==========================================================================
   Topo
   ========================================================================== */
.topo {
  position: relative; overflow: hidden;
  padding: calc(var(--barra-h) + 28px) 0 56px;
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(var(--rosa-rgb), .22), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(120, 60, 255, .14), transparent 70%),
    var(--fondo);
}
.topo__grilla {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 46%;
  background-image:
    linear-gradient(rgba(var(--rosa-rgb), .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--rosa-rgb), .35) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
          mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  opacity: .45;
  pointer-events: none;
}
.topo__in {
  position: relative;
  display: grid; gap: 26px;
  grid-template-areas: "texto" "vsl" "cierre";
}
.topo__texto { grid-area: texto; }
.vsl { grid-area: vsl; }
.topo__cierre { grid-area: cierre; }
.topo h1 { margin-top: 16px; font-size: clamp(34px, 8.6vw, 62px); font-weight: 300; }
.topo__sub { font-size: 17px; color: var(--ap); max-width: 34em; }
.topo__sub b { color: var(--tx); font-weight: 500; }
.topo__cta { margin-top: 26px; }
.topo__cta .boton { width: 100%; }

@media (min-width: 900px) {
  .topo { padding: calc(var(--barra-h) + 56px) 0 72px; }
  .topo__in {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas: "texto vsl" "cierre vsl";
    grid-template-rows: auto 1fr;
    column-gap: 64px; row-gap: 22px;
    align-items: start;
  }
  .topo__texto { align-self: end; }
  .topo__cta .boton { width: auto; }
}
@media (min-width: 1100px) { .topo__in { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 96px; } }

/* ---------- VSL ---------- */
.vsl { width: 100%; max-width: 400px; margin: 0 auto; }
.vsl__marco {
  position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden;
  background: #000;
  border: 1px solid var(--linea2);
  box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 40px 120px -30px rgba(var(--rosa-rgb), .55), 0 20px 50px -20px #000;
}
.vsl__video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vsl__sonido {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 4px;
  width: min(78%, 260px); padding: 22px 18px 20px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 18px;
  background: rgba(10, 8, 16, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer; text-align: center;
  animation: latido 2.4s ease-in-out infinite;
}
.vsl__sonido strong { font-size: 18px; font-weight: 600; margin-top: 8px; }
.vsl__sonido span:last-child { font-size: 14px; color: var(--ap); }
.vsl__sonido-icono {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cta); color: var(--cta-tx);
  box-shadow: 0 0 0 8px rgba(var(--rosa-rgb), .18), 0 0 40px rgba(var(--rosa-rgb), .7);
}
.vsl__sonido-icono svg { width: 28px; height: 28px; fill: currentColor; }
@keyframes latido { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.035); } }
.vsl__pausa {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  border: 0; background: var(--cta); color: var(--cta-tx); cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(var(--rosa-rgb), .2), 0 0 50px rgba(var(--rosa-rgb), .7);
}
.vsl__pausa svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.vsl__pausa[hidden], .vsl__sonido[hidden] { display: none; }
.vsl__barra { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.12); }
.vsl__barra span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rosa), var(--rosa2)); box-shadow: 0 0 10px var(--rosa); transition: width .25s linear; }

/* ---------- cifras ---------- */
.cifras {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; gap: 1px;
  border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden;
  background: var(--linea);
}
.cifras li { background: rgba(15, 12, 22, .92); padding: 22px 22px 20px; display: grid; gap: 4px; }
.cifras strong { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--tx); }
.cifras span { color: var(--ap); font-size: 15px; }
.cifras small { color: var(--ap2); font: 500 11px/1.4 var(--mono); letter-spacing: .04em; margin-top: 6px; }
@media (min-width: 760px) { .cifras { grid-template-columns: repeat(3, 1fr); margin-top: 64px; } }

/* ==========================================================================
   Secciones
   ========================================================================== */
.seccion { position: relative; padding: 88px 0; }
.seccion--oscura { background: var(--fondo2); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
@media (min-width: 900px) { .seccion { padding: 120px 0; } }

.encabezado { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.encabezado h2 { margin-top: 18px; font-size: clamp(32px, 6.6vw, 56px); font-weight: 300; }
.encabezado > p:not(.etiqueta) { margin: 20px auto 0; max-width: 36em; color: var(--ap); font-size: 17px; }
@media (min-width: 900px) { .encabezado { margin-bottom: 64px; } .encabezado > p:not(.etiqueta) { font-size: 18px; } }

.remate { text-align: center; margin: 56px auto 0; max-width: 24em; font-size: clamp(22px, 4.4vw, 32px); font-weight: 300; letter-spacing: -.02em; line-height: 1.25; }

/* ---------- vitrina ---------- */
.clips {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--lateral) * -1); padding: 4px var(--lateral) 14px;
  scrollbar-width: none;
}
.clips::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .clips { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; } }
.clip {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radio); overflow: hidden;
  border: 1px solid var(--linea2); background: var(--card); padding: 0; cursor: pointer;
  scroll-snap-align: center;
  transition: transform .4s var(--mola), border-color .3s, box-shadow .4s var(--mola);
}
.clip:hover { transform: translateY(-4px); border-color: rgba(var(--rosa-rgb), .6); box-shadow: 0 30px 60px -30px rgba(var(--rosa-rgb), .6); }
.clip__video { width: 100%; height: 100%; object-fit: cover; }
.clip__tag, .horizontal__tag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 7px 10px; border-radius: 8px;
  background: rgba(8, 6, 12, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tx);
  border: 1px solid var(--linea2);
}
.clip__play {
  position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cta); color: var(--cta-tx);
  box-shadow: 0 6px 20px -4px rgba(var(--rosa-rgb), .8);
}
.clip__play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }

.horizontales { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 720px) { .horizontales { grid-template-columns: 1fr 1fr; gap: 20px; } }
.horizontal {
  position: relative; margin: 0; padding: 0; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radio); border: 1px solid var(--linea2); background: var(--card); cursor: zoom-in;
  transition: transform .4s var(--mola), border-color .3s;
}
.horizontal:hover { transform: translateY(-3px); border-color: rgba(var(--rosa-rgb), .5); }
.horizontal img, .horizontal video { width: 100%; height: 100%; object-fit: cover; }
.horizontal--video { cursor: default; }
.horizontal--video:hover { transform: none; }
.horizontal figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 24px);
  padding: 7px 10px; border-radius: 8px; background: rgba(8, 6, 12, .8); border: 1px solid var(--linea2);
  font: 700 11px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase;
}

/* ---------- buscador ---------- */
.buscador { max-width: 760px; margin: 0 auto; }
.buscador__caja {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 0 22px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--linea2);
  box-shadow: 0 20px 60px -30px rgba(var(--rosa-rgb), .5);
  font-size: clamp(15px, 3.6vw, 19px);
}
.buscador__caja svg { width: 22px; height: 22px; color: var(--ap2); flex: none; }
.buscador__caja #buscador-texto { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cursor { width: 2px; height: 1.2em; background: var(--rosa2); flex: none; margin-left: -10px; animation: parpadeo 1s steps(1) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.buscador__chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.buscador__chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linea); color: var(--ap); font-size: 14px; background: rgba(255,255,255,.02); }

/* ---------- personas ---------- */
.personas { display: grid; gap: 16px; margin-top: 72px; }
@media (min-width: 760px) { .personas { grid-template-columns: 1fr 1fr; gap: 24px; } }
.persona { position: relative; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea2); background: var(--card); }
.persona img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center 30%; }
.persona--a img { filter: grayscale(.55) brightness(.8); }
.persona__texto { position: absolute; inset: auto 0 0; padding: 70px 22px 22px; background: linear-gradient(to top, rgba(7,6,11,.96) 40%, transparent); }
.persona__letra { font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ap); margin-bottom: 10px; }
.persona--b { border-color: rgba(var(--rosa-rgb), .55); box-shadow: 0 30px 80px -40px rgba(var(--rosa-rgb), .7); }
.persona--b .persona__letra { color: var(--rosa2); }
.persona__texto p:last-child { font-size: 19px; line-height: 1.35; }

/* ---------- riesgo ---------- */
.riesgo { display: grid; gap: 16px; }
@media (min-width: 860px) { .riesgo { grid-template-columns: 1.15fr 1fr; gap: 24px; } }
.riesgo__tarjeta { padding: 30px 26px; border-radius: var(--radio); background: var(--card); border: 1px solid var(--linea); display: grid; align-content: space-between; gap: 22px; }
.riesgo__cita { font-size: clamp(20px, 3.4vw, 26px); line-height: 1.35; font-weight: 300; letter-spacing: -.015em; }
.riesgo__cita b { font-weight: 500; color: #ffc46b; }
.riesgo__tarjeta small { font: 500 11px/1.4 var(--mono); color: var(--ap2); letter-spacing: .04em; }
.riesgo__tarjeta--cifra { background: linear-gradient(180deg, rgba(255, 181, 71, .08), transparent 60%), var(--card); border-color: rgba(255, 181, 71, .25); }
.contador { font-size: clamp(46px, 10vw, 76px); font-weight: 300; letter-spacing: -.04em; line-height: 1; color: #ffc46b; font-variant-numeric: tabular-nums; }
.riesgo__tarjeta--cifra p { color: var(--ap); font-size: 17px; }
.riesgo__imagina { margin: 40px auto 0; max-width: 40em; text-align: center; color: var(--ap); font-size: 18px; }
.giro {
  margin: 56px auto 0; max-width: 880px; text-align: center;
  padding: 40px 26px; border-radius: 24px;
  background: radial-gradient(80% 120% at 50% 0%, rgba(var(--rosa-rgb), .16), transparent 70%), var(--card);
  border: 1px solid rgba(var(--rosa-rgb), .35);
}
.giro__texto { margin-top: 18px; font-size: clamp(21px, 3.6vw, 30px); font-weight: 300; line-height: 1.3; letter-spacing: -.02em; }

/* ---------- pasos + terminal ---------- */
.pasos { display: grid; gap: 20px; }
@media (min-width: 960px) { .pasos { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } }
.pasos__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.paso {
  width: 100%; display: flex; gap: 16px; text-align: left;
  padding: 18px 18px; border-radius: 16px; cursor: pointer;
  background: transparent; border: 1px solid var(--linea);
  transition: background .3s, border-color .3s;
}
.paso:hover { background: rgba(255,255,255,.025); }
.paso.activo { background: var(--card); border-color: rgba(var(--rosa-rgb), .5); box-shadow: inset 3px 0 0 var(--rosa); }
.paso__num { font: 700 13px/1.6 var(--mono); color: var(--ap2); flex: none; }
.paso.activo .paso__num { color: var(--rosa2); }
.paso__cuerpo { display: grid; gap: 6px; }
.paso__titulo { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.paso__texto { color: var(--ap); font-size: 15px; line-height: 1.5; }
@media (min-width: 960px) {
  .paso:not(.activo) .paso__texto { display: none; }
}

.terminal {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--linea2);
  background: #08070c; box-shadow: 0 40px 100px -50px rgba(var(--rosa-rgb), .6);
}
@media (min-width: 960px) { .terminal { position: sticky; top: calc(var(--barra-h) + 24px); min-height: 420px; } }
.terminal__barra { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--linea); background: #0e0c14; }
.terminal__barra i { width: 11px; height: 11px; border-radius: 50%; background: #3a3444; }
.terminal__barra i:first-child { background: #ff5f57; } .terminal__barra i:nth-child(2) { background: #febc2e; } .terminal__barra i:nth-child(3) { background: #28c840; }
.terminal__barra span { margin-left: 10px; font: 500 12px/1 var(--mono); color: var(--ap2); }
.terminal__cuerpo { padding: 22px 20px 26px; font: 500 14px/1.6 var(--mono); }
.terminal__panel { display: grid; gap: 10px; }
.terminal__panel[hidden] { display: none; }
.t-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ap2); margin-top: 6px; }
.t-cmd { padding: 12px 14px; border-radius: 10px; background: var(--card2); border: 1px solid var(--linea); color: var(--tx); word-break: break-word; }
.t-cmd span { color: var(--rosa2); font-weight: 700; }
.t-ok { color: var(--ap); padding-left: 24px; position: relative; }
.t-ok::before { content: "✓"; position: absolute; left: 0; color: #4ade80; }
.t-fin { margin-top: 6px; padding: 12px 14px; border-radius: 10px; background: rgba(var(--rosa-rgb), .1); border: 1px solid rgba(var(--rosa-rgb), .35); color: var(--tx); }
.js .terminal__panel.activo > * { animation: linea .5s var(--mola) both; }
.js .terminal__panel.activo > *:nth-child(2) { animation-delay: .08s; }
.js .terminal__panel.activo > *:nth-child(3) { animation-delay: .5s; }
.js .terminal__panel.activo > *:nth-child(4) { animation-delay: .8s; }
.js .terminal__panel.activo > *:nth-child(5) { animation-delay: 1.1s; }
.js .terminal__panel.activo > *:nth-child(6) { animation-delay: 1.4s; }
.js .terminal__panel.activo > *:nth-child(7) { animation-delay: 1.8s; }
@keyframes linea { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- entregas ---------- */
.entregas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .entregas { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.entregas li { padding: 22px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--linea); display: grid; align-content: start; gap: 6px; }
.entregas strong { font-size: 17px; font-weight: 500; letter-spacing: -.01em; margin-top: 10px; }
.entregas li > span:last-child { color: var(--ap); font-size: 14px; line-height: 1.45; }
.entregas__icono { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--rosa-rgb), .12); border: 1px solid rgba(var(--rosa-rgb), .3); }
.entregas__icono svg { width: 22px; height: 22px; fill: none; stroke: var(--rosa2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.entregas__icono svg .relleno { fill: var(--rosa2); stroke: none; }

/* ---------- requisitos ---------- */
.requisitos { display: grid; gap: 14px; }
@media (min-width: 820px) { .requisitos { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.requisito { padding: 28px 24px; border-radius: var(--radio); background: var(--card); border: 1px solid var(--linea); }
.requisito__icono { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--card3); border: 1px solid var(--linea2); margin-bottom: 22px; }
.requisito__icono svg { width: 24px; height: 24px; fill: none; stroke: var(--tx); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.requisito h3 { font-size: 23px; font-weight: 500; }
.requisito h3 sup { color: var(--rosa2); font-size: .6em; }
.requisito__sub { margin: 8px 0 14px; font: 700 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rosa2); }
.requisito p:last-child { color: var(--ap); font-size: 15px; }
.aclaracion { margin-top: 26px; text-align: center; font-size: 14px; color: var(--ap2); }

/* ---------- comparación ---------- */
.comparacion { display: grid; gap: 16px; }
@media (min-width: 820px) { .comparacion { grid-template-columns: 1fr 1fr; gap: 24px; } }
.lado { padding: 26px 24px; border-radius: var(--radio); border: 1px solid var(--linea); background: rgba(21, 18, 28, .55); }
.lado--nos { background: var(--card); border-color: rgba(var(--rosa-rgb), .55); box-shadow: 0 40px 90px -50px rgba(var(--rosa-rgb), .8); }
.lado__cabeza { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--linea); margin-bottom: 8px; }
.lado__cabeza h3 { font-size: 24px; font-weight: 300; }
.lado__cabeza span { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ap2); }
.lado--nos .lado__cabeza span { color: var(--rosa2); }
.lado ul { list-style: none; margin: 0; padding: 0; }
.lado li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--linea); font-size: 16px; }
.lado li:last-child { border-bottom: 0; }
.lado--ellos li { color: var(--ap2); }
.lado li::before { content: ""; position: absolute; left: 0; top: 14px; width: 21px; height: 21px; border-radius: 6px; }
.lado--ellos li::before { background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' stroke='%23857e92' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.lado--nos li::before, .lista-check li::before { background: var(--rosa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2324000f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: 0 0 12px rgba(var(--rosa-rgb), .5); }

/* ---------- oferta ---------- */
.oferta { display: grid; gap: 16px; }
@media (min-width: 900px) { .oferta { grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; } }
.oferta__incluye, .oferta__precio { padding: 30px 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--linea); }
@media (min-width: 720px) { .oferta__incluye, .oferta__precio { padding: 38px 36px; } }
.oferta__incluye h3 { font-size: 26px; font-weight: 400; margin-bottom: 20px; }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lista-check li { position: relative; padding: 16px 16px 16px 52px; border-radius: 14px; background: var(--card2); border: 1px solid var(--linea); font-size: 16px; line-height: 1.45; }
.lista-check li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 6px; }
.oferta__precio { border-color: rgba(var(--rosa-rgb), .55); box-shadow: 0 50px 120px -60px rgba(var(--rosa-rgb), .9); background: radial-gradient(90% 60% at 50% 0%, rgba(var(--rosa-rgb), .14), transparent 70%), var(--card); text-align: center; }
.oferta__nombre { font-size: 22px; }
.precio__antes { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ap); font-size: 17px; }
.precio__antes[hidden] { display: none; }
s[data-antes] { color: var(--ap2); text-decoration-color: var(--rosa); text-decoration-thickness: 2px; }
.selo { display: inline-block; padding: 4px 8px; border-radius: 6px; background: var(--rosa); color: var(--cta-tx); font: 700 12px/1 var(--mono); letter-spacing: .02em; }
.selo[hidden] { display: none; }
.nota b { color: var(--tx); font-weight: 600; }
.precio { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 18px; line-height: 1; }
.precio__moneda { font-size: 26px; font-weight: 500; margin-top: 14px; color: var(--ap); }
.precio__valor { font-size: clamp(88px, 22vw, 116px); font-weight: 300; letter-spacing: -.05em; }
.precio__nota { margin: 6px 0 26px; font: 700 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--rosa2); }
.oferta__puntos { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; text-align: left; font-size: 14px; color: var(--ap); }
.oferta__puntos li { position: relative; padding-left: 18px; }
.oferta__puntos li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--rosa); }
.aviso { margin-top: 24px; padding: 18px; border-radius: 14px; text-align: left; background: rgba(255,255,255,.03); border: 1px solid var(--linea2); font-size: 14px; color: var(--ap); }
.aviso b { color: var(--tx); font-weight: 600; }
.aviso__titulo { font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--rosa2); margin-bottom: 10px; }
.garantia { display: flex; gap: 14px; align-items: center; margin-top: 18px; text-align: left; font-size: 14px; color: var(--ap); }
.garantia b { color: var(--tx); }
.garantia__icono { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .35); }
.garantia__icono svg { width: 24px; height: 24px; fill: none; stroke: #4ade80; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--linea); transition: border-color .3s; }
.faq details[open] { border-color: rgba(var(--rosa-rgb), .45); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 22px; font-size: 17px; font-weight: 500; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23ff6fb7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--mola);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--ap); font-size: 16px; }

/* ---------- cierre ---------- */
.fin { position: relative; overflow: hidden; padding: 110px 0 120px; text-align: center; background: radial-gradient(60% 70% at 50% 100%, rgba(var(--rosa-rgb), .25), transparent 70%), var(--fondo2); border-top: 1px solid var(--linea); }
.topo__grilla--fin { height: 60%; opacity: .35; }
.fin__in { position: relative; }
.fin h2 { font-size: clamp(36px, 7.4vw, 66px); font-weight: 300; max-width: 13em; margin: 0 auto; }
.fin p { margin: 22px auto 34px; max-width: 32em; color: var(--ap); font-size: 18px; }
.fin .nota { margin: 16px 0 0; font-size: 14px; }

/* ---------- rodapé ---------- */
.rodape { padding: 56px 0 calc(110px + env(safe-area-inset-bottom)); background: var(--fondo2); border-top: 1px solid var(--linea); }
.rodape__arriba { display: grid; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--linea); }
.rodape__arriba p { margin-top: 12px; color: var(--ap2); font-size: 14px; max-width: 26em; }
.rodape__arriba nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--ap); }
.rodape__arriba nav a { text-decoration: none; }
.rodape__arriba nav a:hover { color: var(--tx); }
@media (min-width: 760px) { .rodape__arriba { grid-template-columns: 1fr auto; align-items: start; } }
.rodape__legal { padding-top: 24px; display: grid; gap: 10px; font-size: 12px; color: var(--ap2); line-height: 1.6; }

/* ---------- barra fija ---------- */
.fija {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--lateral) calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 9, 16, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--linea2);
  transform: translateY(110%); transition: transform .45s var(--mola);
}
.fija.visible { transform: none; }
.fija__in { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.fija__info { display: grid; gap: 2px; min-width: 0; }
.fija__info .marca__nombre { font-size: 15px; white-space: nowrap; }
.fija__precio { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ap); white-space: nowrap; }
.fija__precio b { color: var(--tx); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.fija__precio .selo { font-size: 11px; padding: 3px 6px; }
.fija .boton--chico { min-height: 46px; padding: 0 22px; font-size: 13px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__fondo { position: absolute; inset: 0; background: rgba(4, 3, 7, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal__caja { position: relative; max-width: min(100%, 1100px); max-height: calc(100vh - 100px); display: grid; place-items: center; }
.modal__caja video, .modal__caja img { max-height: calc(100vh - 100px); max-width: 100%; border-radius: 18px; border: 1px solid var(--linea2); background: #000; }
.modal__caja video.vertical { aspect-ratio: 9 / 16; height: calc(100vh - 100px); max-height: 860px; width: auto; }
.modal__cerrar { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea2); background: var(--card2); cursor: pointer; font-size: 16px; }

/* ---------- oferta escondida (opcional, ver config.js) ---------- */
.oferta-oculta [data-oferta] { display: none !important; }

/* ---------- animações de entrada ---------- */
.js .revela { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--mola), transform .8s var(--mola); }
.js .revela.visto { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revela { opacity: 1; transform: none; }
}
