/* =========================================================
   Coloz NFC — estilos
   Blanco limpio, negro como color de marca (igual que el
   producto), dorado solo para estrellas y detalles.
   ========================================================= */

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0E0E0C;
  --ink-2: #3A3934;
  --ink-3: #77756D;
  --line: #E8E6E0;
  --line-2: #D9D6CE;
  --paper: #FFFFFF;
  --panel: #F5F4F0;
  --dark: #0E0E0C;
  --dark-2: #191916;
  --dark-line: #2C2B27;
  --on-dark: #F4F2EC;
  --on-dark-2: #A9A69C;
  --gold: #DDA850; /* dorado de la tarjeta Coloz */
  --gold-2: #C8913A;
  --green: #1C7A43;
  --green-bg: #E5F2E9;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 28px;

  --sans: "Inter Tight", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --wrap: 1400px;
  --gutter: 20px;
  --section: 88px;
}
@media (min-width: 900px) {
  :root { --gutter: 32px; --section: 128px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 440;
  letter-spacing: 0.006em;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.display {
  font-size: clamp(36px, 5.2vw, 68px);
  letter-spacing: -0.04em;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.08em;
}
p { margin: 0; text-wrap: pretty; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: var(--r-s);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: scale(.985); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2925; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--panel); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-line-dark { border-color: var(--dark-line); color: var(--on-dark); }
.btn-line-dark:hover { border-color: var(--on-dark-2); }
.final .btn-line-dark { border-color: var(--gold); }
.final .btn-line-dark:hover { border-color: var(--gold); background: rgba(221,168,80,.12); }
.btn-caps { text-transform: uppercase; letter-spacing: .1em; font-size: 13.5px; }
.btn-full { width: 100%; }

/* ---------- Anuncio + header ---------- */
.announce {
  background: var(--dark);
  color: var(--on-dark);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  text-align: center;
  padding: 9px var(--gutter);
}
.announce b { font-weight: 600; color: #fff; }
.announce .sep { color: #5A5850; margin: 0 10px; }
.announce .hide-m { display: none; }
@media (min-width: 700px) { .announce .hide-m { display: inline; } }

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  justify-self: start;
}
.logo { display: block; width: 74px; height: 32px; color: var(--ink); }
.logo-gold { color: var(--gold); }
.brand-tag {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
}
.nav { display: none; gap: 34px; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-cta .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-s);
  color: var(--ink);
}
.icon-btn:hover { background: var(--panel); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .header .wrap { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; }
}

/* ---------- Producto (compra) ---------- */
.product { padding: 20px 0 var(--section); }
.product-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) {
  .product { padding-top: 36px; }
  /* Foto chica y fija a la izquierda; la compra se lleva el resto del ancho hacia el centro */
  /* mitad y mitad: la división cae justo en el centro de la página */
  .product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
}

/* Galería: foto arriba, miniaturas en fila horizontal debajo (antes eran una columna al costado) */
.gallery { position: relative; }
@media (min-width: 1000px) {
  .gallery { position: sticky; top: 106px; }
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--r-m);
  background: var(--panel);
  margin-inline: calc(var(--gutter) * -1);
  border-radius: 0;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 1; }
.slide-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  padding: 6px 12px; border-radius: 99px;
}
.slide-tag small { font-size: 11px; font-weight: 450; color: rgba(255,255,255,.65); margin-left: 6px; }
.gallery-track img, .gallery-track video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* miniatura de un video: el triángulo de play encima de la foto */
.gallery-thumbs .thumb-video { position: relative; }
.thumb-video svg { position: absolute; inset: 0; margin: auto; width: 32%; height: 32%; fill: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); pointer-events: none; }

/* Foto con datos marcados: líneas en % sobre la foto cuadrada */
.spec-slide { background: #fff; }
.spec-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.spec-lines line { stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.spec-dot {
  position: absolute; left: var(--x); top: var(--y);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255,255,255,.9);
}
.spec-label {
  position: absolute; left: var(--x); top: var(--y);
  max-width: 19%;
  background: #fff; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 8px;
  padding: 6px 9px;
  font-size: 12.5px; font-weight: 650; line-height: 1.25; letter-spacing: -0.005em;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.spec-left { transform: translate(-100%, -50%); }
.spec-right { transform: translate(0, -50%); }
.spec-short { display: none; }
@media (max-width: 699px) {
  .spec-label { font-size: 10.5px; padding: 4px 6px; border-radius: 6px; max-width: 22%; }
  .spec-long { display: none; }
  .spec-short { display: inline; }
  .spec-dot { width: 9px; height: 9px; }
}
.thumb-spec { position: relative; }
.thumb-spec::after {
  content: ""; position: absolute; right: 5px; bottom: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E") center/12px no-repeat;
}
@media (min-width: 700px) {
  .gallery-track { margin-inline: 0; border-radius: var(--r-m); outline: 1px solid var(--line); outline-offset: -1px; }
}
.gallery-thumbs { display: none; }
@media (min-width: 1000px) {
  /* fila horizontal debajo de la foto; todas ocupan el ancho parejo, sin scroll */
  .gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
  .gallery-thumbs button {
    flex: 1 1 0; min-width: 0; aspect-ratio: 1;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r-s);
    overflow: hidden;
    background: var(--panel);
    cursor: pointer;
    opacity: .7;
    transition: opacity .18s ease, border-color .18s ease;
  }
  .gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
  .gallery-thumbs button:hover { opacity: 1; }
  .gallery-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--ink); }
}
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: width .2s ease, background .2s ease; }
.gallery-dots span.on { width: 20px; background: var(--ink); }
@media (min-width: 1000px) { .gallery-dots { display: none; } }

/* Caja de compra */
.buy { display: flex; flex-direction: column; }
.buy-eyebrow { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-bottom: 10px; }
.buy h1 { font-size: clamp(29px, 3.1vw, 40px); letter-spacing: -0.035em; line-height: 1.06; }
.buy-sub { margin-top: 12px; font-size: 16px; color: var(--ink-2); max-width: 46ch; }
@media (min-width: 1000px) {
  /* título en un renglón: el tamaño acompaña el ancho de la columna */
  .buy h1 { white-space: nowrap; font-size: min(36px, (100vw - 128px) / 36); }
  .buy-sub { max-width: none; }
}

.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-top: 20px; }
.price-now { font-size: 30px; font-weight: 650; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-old { font-size: 17px; color: var(--ink-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.pill-save {
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  color: var(--ink); background: var(--gold);
  padding: 4px 11px; border-radius: 99px;
}
.price-note { width: 100%; font-size: 13px; color: var(--ink-3); }

.opts { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.opts-label, .sizes-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: 10px;
}
.opts-label span, .sizes-label span { font-weight: 450; color: var(--ink-3); }
/* Beneficios rápidos al lado del precio */
.perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.perks li {
  display: flex; align-items: center; gap: 9px;
  background: var(--panel); border-radius: 10px;
  padding: 9px 12px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.25;
}
.perks i {
  flex: 0 0 18px; height: 18px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* Tarjetas de combo */
.bundle-list { display: grid; gap: 10px; }
.bundle {
  position: relative;
  display: grid; grid-template-columns: 20px 64px 1fr auto; align-items: center; gap: 14px;
  padding: 24px 16px 16px 18px;
  background: #F9EFDF; color: var(--ink);
  border: 1.5px solid rgba(221,168,80,.35); border-radius: 14px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease;
}
.bundle:hover { border-color: var(--gold); }
.bundle:active { transform: scale(.992); }
.bundle input { position: absolute; opacity: 0; pointer-events: none; }
.bundle:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.bundle-radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #D2B57F; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bundle img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #fff; }
.bundle-info { min-width: 0; display: grid; gap: 3px; }
.bundle-name { font-size: 16px; font-weight: 750; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1.1; }
.bundle-line { font-size: 14px; font-weight: 550; line-height: 1.25; }
.bundle-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.bundle-tag { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; line-height: 1.2; white-space: nowrap; }
.tag-save { background: #fff; color: var(--ink); }
.tag-ship { background: var(--green-bg); color: var(--green); }
.bundle-use { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.bundle-price { text-align: right; display: grid; justify-items: end; line-height: 1.15; font-variant-numeric: tabular-nums; }
.bundle-price s { font-size: 13px; color: var(--ink-3); }
.bundle-price b { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.opts-divider { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; margin-bottom: 16px; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--ink); }
.opts-divider::before, .opts-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.opts-divider.is-drop { margin-bottom: 11px; }

/* Cuenta regresiva del drop */
.drop { display: flex; justify-content: center; align-items: flex-start; gap: 7px; margin: 0 0 18px; }
.drop[hidden] { display: none; }
.drop-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 56px; }
.drop-cell b {
  display: block; width: 100%; padding: 10px 4px 9px;
  background: #F9EFDF; border-radius: var(--r-s);
  font-size: 22px; font-weight: 700; line-height: 1; color: var(--ink);
  text-align: center;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.drop-cell em { font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-3); }
.drop-sep { padding-top: 12px; font-size: 16px; font-weight: 600; color: var(--line-2); }
@media (max-width: 380px) { .drop-cell { min-width: 48px; } .drop-cell b { font-size: 19px; } }
.tag-best { background: var(--gold); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; font-size: 10.5px; }
/* Etiqueta que cuelga del borde superior (arriba a la derecha): sale de atrás y cae hacia adelante */
.ribbon { position: absolute; top: -1.5px; right: 26px; z-index: 2; pointer-events: none; }
.ribbon span {
  display: block; background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0; line-height: 1;
  padding: 6px 13px 8px; border-radius: 0 0 9px 9px; white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0,0,0,.18);
}
/* hombros en diagonal pegados al borde, como un solapa */
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: 0; border-top: 11px solid var(--ink); }
.ribbon::before { left: -10px; border-left: 10px solid transparent; }
.ribbon::after { right: -10px; border-right: 10px solid transparent; }
.ribbon::before { left: -5px; border-right: 7px solid var(--rb-fold); }
.ribbon::after { right: -5px; border-left: 7px solid var(--rb-fold); }

/* Elegida: fondo negro, como la marca */
.bundle:has(input:checked) { background: var(--gold); border-color: var(--gold-2); color: var(--ink); }
.bundle:has(input:checked) .bundle-radio { border-color: var(--ink); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--ink); }
.bundle:has(input:checked) .bundle-use { color: var(--ink-2); }
.bundle:has(input:checked) .bundle-price s { color: var(--ink-2); }
.bundle:has(input:checked) .tag-save { background: #fff; color: var(--ink); }
.bundle:has(input:checked) .tag-best { background: var(--ink); color: #fff; }
.bundle:has(input:checked) .tag-ship { background: #fff; color: var(--green); }

/* Productos sueltos */
.singles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.singles-label { font-size: 13.5px; color: var(--ink-3); margin-right: 2px; }
.single { position: relative; cursor: pointer; }
.single input { position: absolute; opacity: 0; pointer-events: none; }
.single span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 13px;
  border: 1px solid var(--line-2); border-radius: 99px; background: #fff;
  font-size: 13.5px; font-weight: 550; color: var(--ink); transition: background-color .2s ease, color .2s ease;
}
.single b { font-weight: 700; }
.single:hover span { border-color: var(--gold); background: #F9EFDF; }
.single input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.single input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Incluido sin costo extra */
.included {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 0; padding: 11px 14px;
  background: rgba(221,168,80,.12); border: 1px solid rgba(221,168,80,.45); border-radius: 10px;
  font-size: 13.5px; color: var(--ink); line-height: 1.35;
}
.included svg { flex-shrink: 0; color: var(--gold-2); }

.included + .buy-actions { margin-top: 12px; }
@media (max-width: 699px) {
  .perks li { font-size: 13px; padding: 8px 10px; gap: 8px; }
  .bundle { grid-template-columns: 18px 46px 1fr auto; gap: 9px; padding: 14px 12px 14px 30px; }
  .bundle-radio { width: 18px; height: 18px; }
  .bundle:has(input:checked) .bundle-radio { box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 9px var(--ink); }
  .bundle img { width: 46px; height: 46px; }
  .bundle-name { font-size: 15px; }
  .bundle-line { font-size: 12.5px; }
  .bundle-price b { font-size: 16px; }
  .bundle-price s { font-size: 12px; }
  .bundle-tag { font-size: 11px; padding: 3px 7px; }
  .bundle-use { font-size: 10px; letter-spacing: .06em; }
  /* en celular el ahorro ya se ve en la cinta con el %: se saca para que la tarjeta no crezca */
  .tag-save { display: none; }
  .ribbon { right: 14px; }
  .ribbon span { font-size: 10px; padding: 5px 10px 7px; }
  .bundle-tags:not(:has(.tag-ship)) { display: none; }
  .singles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .singles-label { grid-column: 1 / -1; }
  .single span { width: 100%; min-height: 52px; flex-direction: column; justify-content: center; gap: 0; border-radius: 12px; line-height: 1.25; }
  .buy-main { padding: 0 18px; font-size: 14px; }
}

/* Botón de compra con precio adentro */
.buy-main { min-height: 58px; justify-content: space-between; padding: 0 22px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.buy-main-price { display: inline-flex; align-items: baseline; gap: 8px; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.buy-main-price s { font-size: 13px; font-weight: 500; opacity: .55; }
.buy-main-price b { font-size: 17px; font-weight: 750; }

.sizes { margin-top: 18px; }
.sizes[hidden] { display: none; }
.size-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.size-list button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14.5px; font-weight: 550; color: var(--ink);
  cursor: pointer;
}
.size-list button small { display: block; font-size: 11.5px; font-weight: 450; color: var(--ink-3); margin-top: -2px; }
.size-list button[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.color-list button { display: flex; align-items: center; justify-content: center; gap: 9px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; border: 1px solid var(--line-2); }
.swatch-bn { background: linear-gradient(135deg, #fff 0 50%, var(--ink) 50% 100%); }
.swatch-negro { background: var(--ink); border-color: var(--ink); }
.sizes + .sizes { margin-top: 14px; }
.slide-note {
  position: absolute; top: 14px; left: 14px; right: 14px; width: fit-content;
  background: rgba(255,255,255,.94); color: var(--ink); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; line-height: 1.3;
  padding: 6px 11px; border-radius: 99px;
}

.buy-actions { display: grid; gap: 10px; margin-top: 22px; }
.buy-after { font-size: 13px; color: var(--ink-3); text-align: center; }

.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 6px;
  font-size: 11.5px; font-weight: 650; color: var(--ink-2); letter-spacing: .01em;
}

.ship {
  margin-top: 26px;
  padding: 4px 0 0;
}
.ship-title { font-size: 13.5px; color: var(--ink-2); margin-bottom: 20px; }
.ship-title b { color: var(--ink); font-weight: 650; }
.ship-steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.ship-steps::before {
  /* va de centro a centro del primer y el último ícono: cada ícono está
     centrado en su tercio de columna, así que la línea arranca a 1/6 y termina a 5/6. */
  content: ""; position: absolute; top: 26px; left: calc(100% / 6); right: calc(100% / 6);
  border-top: 1.5px dashed var(--line-2);
}
.ship-step { text-align: center; position: relative; }
/* Ícono suelto, sin círculo: el fondo blanco solo tapa la línea alrededor del ícono */
.ship-step i {
  width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #F9EFDF; color: var(--ink);
}
.ship-step b { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink); }
.ship-step span { font-size: 12.5px; color: var(--ink-3); }

.mini-acc { margin-top: 18px; border-top: 1px solid var(--line); }
.mini-acc details { border-bottom: 1px solid var(--line); }
.mini-acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 2px; font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.mini-acc summary::-webkit-details-marker { display: none; }
.mini-acc summary::after { content: "+"; font-size: 20px; font-weight: 300; transition: transform .2s ease; }
.mini-acc details[open] summary::after { transform: rotate(45deg); }
.mini-acc p { padding: 0 2px 16px; font-size: 14px; color: var(--ink-2); }

/* ---------- Estadísticas (contadores) ---------- */
.stats { padding-bottom: var(--section); }
.stats-title {
  text-align: center;
  font-size: clamp(30px, 3.6vw, 48px);
  max-width: 22ch;
  margin: 0 auto 48px;
}
.swash { position: relative; white-space: nowrap; display: inline-block; }
.swash::after {
  content: "";
  position: absolute; left: -2%; right: -2%; bottom: -0.2em; height: 0.34em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 70 4, 180 2, 297 9' fill='none' stroke='%23DDA850' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M40 18 C 110 11, 200 10, 270 14' fill='none' stroke='%23DDA850' stroke-width='2.5' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.stats-grid { display: grid; gap: 10px; }
.stat {
  background: var(--panel);
  border-radius: var(--r-m);
  padding: 22px 20px;
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  column-gap: 16px;
  text-align: left;
}
.stat b { grid-row: span 2; }
.stat h3, .stat p { grid-column: 2; }
.stat h3 { margin: 0 !important; }
.stat p { margin-top: 4px !important; }
@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .stat { display: block; padding: 34px 26px 30px; text-align: center; }
  .stat h3 { margin: 18px auto 0 !important; }
  .stat p { margin-top: 10px !important; }
}
.stat b {
  display: block;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat h3 { margin: 18px auto 0; font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.35; max-width: 24ch; }
.stat p { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.stats-bridge { text-align: center; margin: 40px auto 0; font-size: 18px; max-width: 46ch; color: var(--ink-2); }
.stats-bridge b { color: var(--ink); font-weight: 650; }
.stats-source { text-align: center; margin-top: 14px; font-size: 12px; color: var(--ink-3); }
.stats-source a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- El problema (oscuro, de borde a borde) ---------- */
/* De borde a borde con los cortes en diagonal y paralelos: se mete un poco (margin
   negativo) en las secciones de al lado, y el recorte deja ver su fondo en las
   puntas. Para dejarlo liso: --corte: 0px. La onda queda solo para el cierre. */
:root { --corte: 3.5vw; }
.story {
  position: relative; background: var(--dark); color: var(--on-dark-2);
  padding-block: calc(var(--section) * 0.4 + var(--corte));
  margin-block: calc(var(--corte) * -1);
  clip-path: polygon(0 var(--corte), 100% 0, 100% calc(100% - var(--corte)), 0 100%);
}
.stats + .story { padding-top: 0; }
.story-panel { display: grid; }
.story-text { padding: 36px 0 40px; }
.story-text h2 { color: var(--on-dark); font-size: clamp(28px, 3.2vw, 42px); } /* dos renglones */
.story-text .kicker { color: var(--on-dark-2); }
.story-text p { margin-top: 22px; font-size: 17px; } /* sin tope: llena la columna hasta la foto */
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 550; color: var(--on-dark); }
.checks li::before {
  content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0E0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
.story-media { min-height: 360px; border-radius: var(--r-m); overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .story-panel { grid-template-columns: 1.2fr 0.8fr; gap: 72px; align-items: center; }
  .story-text { padding: 0; }
  .story-media { min-height: 380px; }
}

/* ---------- Cómo funciona (panel claro) ---------- */
.how { padding-block: calc(var(--section) * 0.35 + var(--corte)) calc(var(--section) * 0.25); color: var(--ink-2); } /* el panel ya trae su propio aire adentro */
.how h2 { color: var(--ink); }
.how-grid { display: grid; gap: 48px; background: var(--panel); border-radius: var(--r-l); padding: 40px 24px 44px; }
.how-media { border-radius: var(--r-m); overflow: hidden; }
.how-media video { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.how-head h2 { font-size: clamp(30px, 3.4vw, 46px); margin-top: 18px; } /* entra en dos renglones y achata el panel */
.how .kicker { color: var(--ink-3); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line-2); }
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.steps li::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--gold-2);
}
.steps h3 { color: var(--ink); font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.steps p { margin-top: 8px; font-size: 15.5px; }
@media (min-width: 1000px) {
  .how-grid { grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; padding: 64px 56px; }

}
/* ---------- Beneficios ---------- */
.benefits { padding-block: calc(var(--section) * 0.4) var(--section); }
.sec-head { display: grid; gap: 18px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 58px); max-width: 16ch; }
.sec-head p { font-size: 17px; max-width: 52ch; }
@media (min-width: 900px) {
  .sec-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; }
  .sec-head.split p { justify-self: end; }
}
.sec-head.center { text-align: center; justify-items: center; }
.sec-head.center h2 { max-width: 20ch; }
.benefit-grid { display: grid; gap: 0 48px; }
.benefit { position: relative; padding: 28px 0 28px 58px; border-top: 1px solid var(--line); }
.benefit svg { position: absolute; left: 0; top: 29px; color: var(--ink); }
.benefit h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 6px; }
.benefit p { font-size: 15.5px; }
@media (min-width: 700px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Comparativa ---------- */
.compare-sec { padding-bottom: var(--section); }
.compare-scroll { overflow-x: auto; padding-top: 26px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 22px 16px; text-align: center; font-size: 15px; }
.compare thead th { font-size: 14.5px; font-weight: 600; color: var(--ink); vertical-align: bottom; }
.compare tbody td { border-top: 1px solid var(--line); }
.compare tbody td:first-child { text-align: left; color: var(--ink); font-weight: 500; padding-left: 4px; }
.compare .us { background: var(--dark); color: #fff; width: 24%; }
.compare thead .us { border-radius: 18px 18px 0 0; padding-top: 30px; position: relative; }
.compare thead .us .logo { margin: 0 auto; width: 84px; height: 36px; }
.compare tbody tr:last-child .us { border-radius: 0 0 18px 18px; }
.compare tbody .us { border-top-color: var(--dark-line); }
.compare .other { width: 21%; }
.mark { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; }
.mark.yes { border: 1.5px solid currentColor; }
.mark.no { color: var(--ink-3); }
.mark.na { color: var(--line-2); font-weight: 600; }
.us .mark.yes { color: #fff; }

/* ---------- El resultado: antes y después + calculadora ---------- */
.result { padding-top: calc(var(--section) * 0.55 - 12px); padding-bottom: calc(var(--section) * 0.5); } /* -12 px: medido, así el aire cinta → resultado es igual al de comparativa → cinta */ /* la cinta queda pegada arriba, hace falta aire */
.ba { display: grid; justify-items: center; gap: 22px; }
.ba-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 99px; padding: 5px 12px;
}
.ba-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.ba-grid { display: grid; gap: 18px; width: 100%; justify-items: center; align-items: center; }
@media (min-width: 860px) {
  .ba-grid { grid-template-columns: 1fr auto 1fr; gap: 30px; }
  .ba-grid .gcard { justify-self: end; }
  .ba-grid .gcard.is-after { justify-self: start; }
}
.gcard {
  position: relative; width: 100%; max-width: 400px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-m);
  padding: 26px 24px 22px;
  display: grid; justify-items: start; gap: 9px;
}
.gcard.is-after { border-color: var(--gold); box-shadow: 0 16px 38px rgba(221,168,80,.20); }
.gcard-when {
  position: absolute; top: -10px; left: 20px; padding: 0 9px;
  background: var(--paper); color: var(--ink-3);
  font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.gcard.is-after .gcard-when { color: var(--ink); }
.gcard-badge {
  position: absolute; top: -12px; right: 18px; padding: 4px 11px;
  background: var(--gold); color: var(--ink); border-radius: 99px;
  font-size: 11px; font-weight: 800; letter-spacing: .03em;
}
.gcard-name { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.gcard-rate { display: flex; align-items: center; gap: 9px; }
.gcard-rate b { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.gcard-rate small { font-size: 13px; color: var(--ink-3); }
.gcard-meta { font-size: 13.5px; color: var(--ink-3); }
.gstars { position: relative; display: inline-flex; line-height: 0; }
.gs-row { display: inline-flex; gap: 1px; color: var(--line-2); }
.gs-row .gs { width: 15px; height: 15px; flex: none; }
.gs-fill { position: absolute; top: 0; left: 0; width: var(--f, 0%); overflow: hidden; color: var(--gold); }
.ba-arrow { display: inline-flex; color: var(--gold-2); transform: rotate(90deg); }
@media (min-width: 860px) { .ba-arrow { transform: none; } }
.ba-foot { max-width: 46ch; text-align: center; font-size: clamp(17px, 1.9vw, 22px); line-height: 1.4; color: var(--ink); }
.ba-foot b { display: block; color: var(--ink); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 4px; font-size: clamp(20px, 2.4vw, 28px); }
.ba-foot b i { font-style: normal; color: var(--gold); }

.calc { margin-top: 52px; background: var(--panel); border-radius: var(--r-l); padding: 30px 22px 26px; }
@media (min-width: 900px) { .calc { margin-top: 64px; padding: 40px 48px 34px; } }
.calc-top { text-align: center; margin-bottom: 26px; }
.calc-top h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.calc-top p { margin-top: 10px; font-size: 15.5px; color: var(--ink-3); }

/* Un solo slider, de punta a punta de la tarjeta. */
.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 14px; }
.calc-field label { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.calc-val { font-size: 30px; font-weight: 750; line-height: 1; color: var(--ink); text-align: right; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-scale { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* Segundo dato: a cuántos se la ofrece. Queda a la vista, nunca escondido. */
.calc-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; }
.calc-ask-q { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.calc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-chips button {
  font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1;
  padding: 9px 14px; border-radius: 99px; cursor: pointer;
  background: #fff; color: var(--ink-2); border: 1px solid var(--line-2);
}
.calc-chips button:hover { border-color: var(--gold); background: #F9EFDF; color: var(--ink); }
.calc-chips button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.calc-chips button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.calc-frase { margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-2); }
.calc-frase b { color: var(--ink); font-weight: 700; }

input[type="range"] {
  grid-column: 1 / -1;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 26px; margin: 8px 0 2px; padding: 0;
  background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold) var(--p, 0%), var(--line-2) 0);
}
input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold) var(--p, 0%), var(--line-2) 0);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: var(--ink); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(14,14,12,.28);
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; box-sizing: border-box;
  background: var(--ink); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(14,14,12,.28);
}
input[type="range"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 99px; }

.calc-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
@media (min-width: 700px) { .calc-res { gap: 12px; } }
.calc-cell { background: #F9EFDF; border-radius: var(--r-m); padding: 18px 8px 14px; text-align: center; }
.calc-cell.is-hero { background: var(--gold); }
.calc-cell b { display: block; font-size: clamp(26px, 4.6vw, 44px); font-weight: 750; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.calc-cell.is-hero b { font-size: clamp(32px, 5.6vw, 54px); }
.calc-cell em { display: block; margin-top: 8px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); line-height: 1.3; }
.calc-cell.is-hero em { color: var(--ink-2); }
.calc-note { margin-top: 18px; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.calc-note b { color: var(--ink-2); font-weight: 650; }
.calc-note a { text-decoration: underline; text-underline-offset: 2px; }
.calc-foot { display: grid; align-items: center; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
@media (min-width: 760px) { .calc-foot { grid-template-columns: minmax(230px, 26%) 1fr; gap: 32px; } }
.calc-pitch { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.calc-pitch strong { display: block; margin-bottom: 5px; font-size: clamp(17px, 1.9vw, 22px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); }
.calc-pitch i { font-style: normal; color: var(--gold-2); padding: 0 3px; }
.calc-pitch b { color: var(--ink); font-weight: 700; }
.calc-cta { width: 100%; min-height: 56px; padding: 0 28px; }
/* "Avisame cuando salga": mientras el drop no empezó, este botón ocupa el
   lugar del de comprar. Nunca se ven los dos, así que no agrega altura. */
.btn[hidden] { display: none; }
.buy-main.is-notify { justify-content: center; text-transform: none; letter-spacing: .02em; font-size: 15px; }

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

/* ---------- Cinta infinita de placas ---------- */
.plate-loop { padding-bottom: calc(var(--section) * 0.15); margin-top: calc(var(--section) * -0.3); } /* mismo aire arriba que abajo: la comparativa cierra con 1 section y el resultado abre con 0,55 */
.loop-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;          /* en celular el scroll vertical sigue funcionando */
  user-select: none;
  -webkit-user-select: none;
  /* bordes que se desvanecen, así las placas entran y salen suave */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.loop-viewport.dragging { cursor: grabbing; }
.loop-track { display: flex; width: max-content; will-change: transform; }
.loop-set { display: flex; flex-shrink: 0; }
.loop-set img { width: 150px; height: auto; display: block; pointer-events: none; -webkit-user-drag: none; }
@media (min-width: 700px) { .loop-set img { width: 190px; } }

/* ---------- Reseñas ---------- */
.reviews { padding-block: var(--section) calc(var(--section) * 0.6 + var(--corte)); background: var(--panel); } /* abajo suma el corte: la punta de la diagonal se mete acá */
/* Título en un solo renglón y más pegado a lo que sigue */
.reviews .sec-head { margin-bottom: 34px; }
.reviews .sec-head h2 { max-width: none; font-size: clamp(30px, 3.4vw, 48px); }
.review-summary {
  display: grid; gap: 28px;
  padding-bottom: 36px; margin-bottom: 36px;
  border-bottom: 1px solid var(--line-2);
}
@media (min-width: 900px) { .review-summary { grid-template-columns: 1fr 1.4fr 1fr; align-items: center; } }
.score { display: flex; align-items: baseline; gap: 14px; }
.score b { font-size: 60px; font-weight: 600; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars.empty { color: var(--line-2); }
.stars-off { display: contents; color: var(--line-2); }
.score small { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.dist { display: grid; gap: 7px; }
.dist-row { display: grid; grid-template-columns: 22px 1fr 28px; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dist-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.dist-bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.review-summary .btn { justify-self: start; }
@media (min-width: 900px) { .review-summary .btn { justify-self: end; } }

.review-grid { display: grid; gap: 14px; }
/* Desde tablet: carrusel de 2 filas. En compu entran 6 (3 columnas); las que
   sobran siguen a la derecha y se arrastran con el mouse. Así la sección no
   crece nunca hacia abajo, haya 8 o 100 reseñas. El celular tiene su propio
   carrusel de una fila (más abajo, en el bloque de celular). */
@media (min-width: 700px) {
  .review-grid {
    grid-auto-flow: column; grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - 14px) / 2);
    overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    cursor: grab; user-select: none;
  }
  .review-grid::-webkit-scrollbar { display: none; }
  .review-grid.arrastrando { cursor: grabbing; }
  /* Se desvanece el borde del lado donde quedan reseñas: avisa que hay más */
  .review-grid.der { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent); }
  .review-grid.izq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 90px); mask-image: linear-gradient(90deg, transparent, #000 90px); }
  .review-grid.izq.der { -webkit-mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent); }
}
@media (min-width: 1000px) { .review-grid { grid-auto-columns: calc((100% - 28px) / 3); } }
/* Cuando hay más de las que entran, las columnas se achican un poco y asoma la
   siguiente: el pedacito cortado dice "hay más" mejor que cualquier flecha. */
@media (min-width: 700px) { .review-grid.asoma { grid-auto-columns: calc((100% - 28px) / 2.3); } }
@media (min-width: 1000px) { .review-grid.asoma { grid-auto-columns: calc((100% - 42px) / 3.3); } }

.review-nav { display: none; }
@media (min-width: 700px) {
  .review-nav:not([hidden]) { display: flex; gap: 8px; justify-self: end; }
  .review-nav button {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer;
    transition: border-color .15s ease, opacity .15s ease;
  }
  .review-nav button:hover:not(:disabled) { border-color: var(--ink); }
  .review-nav button:disabled { opacity: .35; cursor: default; }
}
.review {
  background: #fff; border-radius: var(--r-m); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.review h3 { font-size: 17px; letter-spacing: -0.015em; line-height: 1.3; }
.review p { font-size: 15px; }
.review-foot { margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--ink-3); }
.review-foot b { color: var(--ink); font-weight: 600; font-size: 14px; }

/* Estado pendiente: mismo diseño que la tarjeta real, en gris */
.review.is-pending .sk { display: block; background: var(--panel); border-radius: 6px; height: 12px; }
.review.is-pending .sk.t { height: 16px; width: 62%; }
.review.is-pending .sk.w90 { width: 94%; }
.review.is-pending .sk.w70 { width: 72%; }
.review.is-pending .sk.w40 { width: 40%; height: 11px; }
.pending-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-3); background: #fff;
  border: 1px dashed var(--line-2); border-radius: 99px;
  padding: 4px 10px; width: fit-content;
}
.pending-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Videos de clientes (carrusel) ---------- */
.videos { padding-bottom: var(--section); overflow: hidden; position: relative; z-index: 0; } /* z-index propio: encierra el apilado de las tarjetas para que no tapen el header */
.videos-head { text-align: center; margin-bottom: 40px; }
.videos-head h2 { font-size: clamp(32px, 4vw, 52px); }
.videos-head p { margin-top: 12px; font-size: 16.5px; }
.carousel { position: relative; }
.reel-track {
  --card: 68vw;
  position: relative;
  display: flex; gap: 14px; align-items: center;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: calc(50% - var(--card) / 2);
  padding-block: 16px;
}
.reel-track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .reel-track { --card: 300px; gap: 18px; } }
.reel {
  position: relative; flex: 0 0 var(--card); aspect-ratio: 9 / 14; border-radius: 18px; overflow: hidden;
  scroll-snap-align: center; background: var(--dark-2); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
  border: 0; text-align: left; cursor: pointer;
  transform-origin: center; will-change: transform;
}
.reel img, .reel video, .reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel img { filter: grayscale(1) contrast(1.05); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.05) 55%); pointer-events: none; }
.reel-meta { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.reel-name { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; }
.reel-name svg { color: #4AA3FF; flex-shrink: 0; }
.reel-meta small { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255,255,255,.8); line-height: 1.3; }
.reel-play {
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.reel.is-pending { cursor: default; }
.reel.is-pending img { filter: none; }
.reel.is-pending .reel-play { border-style: dashed; border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.6); }
.reel.is-pending .pending-pill { background: rgba(0,0,0,.35); color: #fff; border-color: rgba(255,255,255,.3); }
.reel.is-pending .pending-pill::before { background: var(--gold); }
.car-arrow {
  position: absolute; top: 50%; z-index: 300; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 0; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
  transition: transform .18s ease;
}
.car-arrow:hover { transform: translate(-50%, -50%) scale(1.06); }
@media (min-width: 700px) { .car-arrow { display: flex; } }

/* ---------- Garantía ---------- */
.guarantee { padding-block: var(--section); }
.guarantee-grid { display: grid; border-top: 1px solid var(--line); }
.g-item { position: relative; padding: 32px 0 32px 58px; border-bottom: 1px solid var(--line); }
.g-item svg { position: absolute; left: 0; top: 32px; color: var(--ink); }
.g-item h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 6px; }
.g-item p { font-size: 15px; }
@media (min-width: 900px) {
  .guarantee-grid { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .g-item { border-bottom: 0; padding: 40px 36px 40px 58px; }
  .g-item svg { top: 40px; }
  .g-item + .g-item { border-left: 1px solid var(--line); padding-left: 94px; }
  .g-item + .g-item svg { left: 36px; }
}

/* ---------- FAQ ---------- */
.faq { padding-block: calc(var(--section) * 0.5) calc(var(--section) * 0.7); } /* en blanco: alterna con las reseñas, que van en crema */
.faq-grid { display: grid; gap: 40px; }
.faq-side h2 { font-size: clamp(34px, 4.2vw, 56px); margin-top: 18px; }
.faq-side p { margin-top: 18px; font-size: 16.5px; max-width: 34ch; }
.faq-side .btn { margin-top: 26px; }
/* Quién está detrás: foto con aro dorado + frase corta */
.founder { display: flex; gap: 18px; align-items: center; margin: 26px 0 0; max-width: 430px; }
.founder img { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--gold); }
.founder b { display: block; color: var(--ink); font-size: 15.5px; letter-spacing: -0.01em; }
.founder span { display: block; margin-top: 1px; font-size: 13px; color: var(--ink-3); }
.founder q { display: block; margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); quotes: none; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: 0 0 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 24px 0; font-size: 15.5px; }
@media (min-width: 1000px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 96px; }
  .faq-side { position: sticky; top: 120px; align-self: start; }
}

/* ---------- Ondas entre secciones ----------
   Para que la web no se sienta quieta. Van con keyframes de CSS, que la regla
   de "reducir animaciones" del final no frena (esa solo corta transiciones).
   Cuatro capas a destiempo, de gris clarito a negro (referencia: el cierre de
   Voltra). Al salir del negro la ola se da vuelta (.ola-invertida) para que
   el negro siga del lado de la sección oscura. */
.ola { position: relative; height: clamp(38px, 5vw, 76px); background: var(--ola-fondo); overflow: hidden; margin-bottom: -1px; }
.ola svg { position: absolute; left: 0; bottom: -2px; width: 200%; height: calc(100% + 2px); animation: ola 22s linear infinite; } /* 2 px de más abajo: tapa la línea que deja el redondeo */
.ola-c1 { fill: #D9D6CE; animation-duration: 38s !important; animation-delay: -9s !important; }
.ola-c2 { fill: #8E8C84; animation-duration: 29s !important; animation-direction: reverse !important; animation-delay: -4s !important; }
.ola-c3 { fill: #3A3934; animation-duration: 23s !important; animation-delay: -13s !important; }
.ola-c4 { fill: var(--ola-color); animation-duration: 18s !important; animation-direction: reverse !important; }
.ola-invertida { transform: scaleY(-1); margin: -1px 0 0; }
@keyframes ola { to { transform: translateX(-50%); } }

/* ---------- CTA final ---------- */
/* El cierre y el footer comparten fondo: se leen como un único bloque final */
.final { background: var(--dark); color: var(--on-dark-2); padding-block: var(--section) 88px; overflow: hidden; }
.final-head { text-align: center; display: grid; justify-items: center; gap: 22px; }
.final-logo { width: 116px; height: 50px; margin-bottom: 6px; }
.final-head h2 { color: var(--on-dark); font-size: clamp(38px, 5.6vw, 76px); max-width: 15ch; letter-spacing: -0.035em; }
.final-head p { font-size: 17px; max-width: 44ch; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 0 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 40px; padding-top: 56px; border-top: 1px solid var(--dark-line); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer .brand { color: var(--gold); }
.footer .logo { width: 88px; height: 38px; }
.footer-about { margin-top: 16px; max-width: 32ch; }
.footer h4 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a:hover { color: var(--on-dark); }
.regret-btn {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  border: 1px solid var(--on-dark-2); border-radius: 8px; color: var(--on-dark); font-weight: 600; font-size: 13.5px;
}
.regret-btn:hover { background: var(--dark-2); }
.footer-legal {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: 12.5px;
}
.fiscal-pending { display: inline-flex; align-items: center; gap: 8px; }
.fiscal-pending::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Barra fija mobile + WhatsApp ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.06);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-buy.show { transform: none; }
.sticky-buy b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.sticky-buy span { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sticky-buy .btn { min-height: 48px; padding: 0 22px; }
.sticky-wa {
  width: 48px; height: 48px; border-radius: var(--r-s);
  border: 1px solid var(--line-2); color: #1DA851;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1000px) { .sticky-buy { display: none; } }

/* WhatsApp flotante solo en escritorio: en celular está en el header y en la barra de compra */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 65;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--gold); /* colores de la marca, como el logo de la comparativa */
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.05); }
/* En escritorio aparece recién al pasar el botón de compra, para no tapar la ficha */
@media (min-width: 1000px) {
  .wa-float { display: flex; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
  body.sticky-on .wa-float { opacity: 1; pointer-events: auto; transform: none; }
  body.sticky-on .wa-float:hover { transform: scale(1.05); }
  body.en-final .wa-float { opacity: 0; pointer-events: none; transform: translateY(12px); }
}

/* Tablet: la ficha de compra centrada con ancho cómodo, sin foto gigante */
@media (min-width: 700px) and (max-width: 999px) {
  .product-grid { max-width: 620px; margin-inline: auto; }
  .stat { padding: 28px 18px 24px; }
  .stat b { font-size: 54px; }
  .stat h3 { font-size: 15px; }
}

/* =========================================================
   AJUSTES CELULAR Y TABLET
   ========================================================= */
.faq-cta-bottom { display: none; }

@media (max-width: 999px) {
  /* Cómo funciona: título arriba, foto, pasos */
  .how-grid { gap: 0; }
  .how-head { display: contents; }
  .how-head .kicker { order: 1; }
  .how-head h2 { order: 2; margin-bottom: 28px; }
  .how-media { order: 3; }
  .steps { order: 4; margin-top: 12px; }

  /* Preguntas: el botón va al final */
  .faq-cta-side { display: none; }
  .faq-cta-bottom { display: flex; width: 100%; margin-top: 28px; }
  .faq-grid { gap: 28px; }

  /* Textos chicos: mínimo 12 px */
  .pay-chip, .pending-pill, .size-list button small, .slide-tag small { font-size: 12px; }

  /* Footer: links cómodos para el dedo */
  .footer ul { gap: 0; }
  .footer ul a:not(.regret-btn) { display: flex; align-items: center; min-height: 42px; }
  .footer li[style] { margin-top: 10px !important; }
  .regret-btn { min-height: 44px; }
  .footer-legal { padding-bottom: 76px; }
}

@media (max-width: 699px) {
  :root { --section: 72px; }

  /* Header más liviano */
  .header .wrap { height: 58px; }
  .logo { width: 62px; height: 27px; }
  .brand { gap: 8px; }
  .brand-tag { font-size: 9.5px; padding: 1px 5px; }
  .header-cta .btn { min-height: 40px; padding: 0 16px; }
  .icon-btn { width: 44px; height: 44px; }

  /* Textos chicos: mínimo 12 px */
  .pay-chip, .pending-pill, .size-list button small, .slide-tag small { font-size: 12px; }
  .slide-tag { left: 12px; bottom: 12px; font-size: 12px; }

  /* Porcentajes: número compacto, texto con más ancho */
  .stats-title { margin-bottom: 32px; }
  .stat { grid-template-columns: auto 1fr; column-gap: 18px; padding: 20px 20px; }
  .stat b { font-size: 44px; min-width: 2.05em; }
  .stat h3 { font-size: 15.5px; }
  .stat p { font-size: 12.5px; }
  .stats-bridge { font-size: 16.5px; margin-top: 28px; }

  /* Videos */
  .videos-head { margin-bottom: 24px; }
  .videos-head p { font-size: 15.5px; }

  /* Bloque del problema */
  .story-text { padding: 30px 0 34px; }
  .story-text p { font-size: 16px; margin-top: 18px; }
  .story-media { min-height: 0; aspect-ratio: 4 / 3; }

  /* Beneficios más compactos */
  .sec-head { margin-bottom: 32px; gap: 14px; }
  .sec-head p { font-size: 16px; }
  .benefit { padding: 22px 0 22px 50px; }
  .benefit svg { top: 23px; width: 26px; height: 26px; }
  .benefit h3 { font-size: 17.5px; }
  .benefit p { font-size: 15px; }

  /* Comparativa: entra completa en la pantalla, sin scroll lateral */
  .compare-scroll { overflow: visible; margin-inline: 0; padding-inline: 0; padding-top: 18px; }
  .compare { min-width: 0; table-layout: fixed; }
  .compare th, .compare td { padding: 16px 4px; font-size: 14px; }
  .compare thead th:first-child { width: 47%; }
  .compare tbody td:first-child { padding-left: 0; padding-right: 12px; font-size: 14px; line-height: 1.35; }
  .compare thead th { font-size: 12px; line-height: 1.25; padding-bottom: 14px; }
  .compare .us, .compare .other { width: auto; }
  .compare thead .us { padding-top: 20px; border-radius: 14px 14px 0 0; }
  .compare tbody tr:last-child .us { border-radius: 0 0 14px 14px; }
  .compare thead .us .logo { width: 54px; height: 24px; }
  .mark { width: 24px; height: 24px; }

  /* Reseñas: carrusel deslizable en vez de tarjetas apiladas */
  .review-summary { gap: 18px; padding-bottom: 24px; margin-bottom: 24px; }
  .review-grid {
    grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .review-grid::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; padding: 22px; }

  /* Garantía */
  .g-item { padding: 24px 0 24px 50px; }
  .g-item svg { top: 25px; width: 28px; height: 28px; }
  .g-item h3 { font-size: 17.5px; }

  /* Preguntas */
  .faq-list summary { font-size: 16px; padding: 19px 0; }
  .faq-list details p { padding-right: 8px; font-size: 15px; }

  /* Cierre: botones del mismo ancho */
  .final { padding-bottom: 64px; }
  .final-head { gap: 18px; }
  .final-logo { width: 96px; height: 42px; }
  .final-actions { flex-direction: column; width: 100%; max-width: 360px; gap: 10px; }
  .final-actions .btn { width: 100%; }

  /* Footer: links cómodos para el dedo */
  .footer-grid { gap: 32px; padding-top: 44px; }
  .footer ul { gap: 0; }
  .footer ul a:not(.regret-btn) { display: flex; align-items: center; min-height: 42px; }
  .footer li[style] { margin-top: 10px !important; }
  .regret-btn { min-height: 44px; }
  .footer-legal { margin-top: 36px; padding-bottom: 76px; }
}

/* ---------- Aparición suave ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Páginas legales ---------- */
.legal { padding: 56px 0 120px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin: 18px 0 12px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-back { font-size: 14px; font-weight: 600; color: var(--ink-3); text-decoration: none !important; }
.draft-note { margin-top: 16px; }
