/* =====================================================================
   Mister Hache Store — Sorteo Corven 110
   Tipografías: Montserrat (marca y titulares) · Inter (interfaz)
   ===================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --studio-floor: #dfe4e8;
  --black: #0b0b0c;
  --ink: #18181b;
  --text-2: #52525b;
  --text-3: #71717a;
  --line: #e4e4e7;
  --surface: #f4f4f5;
  --surface-2: #ebebed;
  --white: #fff;
  --green: #22a34a;
  --red: #dc2626;
  --nav-h: 64px;
  --radius: 14px;
  --brand: 'Montserrat', 'Segoe UI', sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.container-narrow {
  width: min(760px, calc(100% - 32px));
}

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

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.eyebrow {
  display: block;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---------- Marca ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  width: 31px;
  height: 34px;
  fill: currentColor;
}

.wordmark {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  font-family: var(--brand);
  font-weight: 600;
  line-height: 1;
}

.wordmark-name {
  font-size: 14px;
  letter-spacing: .24em;
}

.wordmark-sub {
  margin-top: 5px;
  font-size: 8.5px;
  letter-spacing: .42em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  color: var(--white);
  animation: navIn 900ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes navIn {
  from {
    transform: translateY(-100%);
  }
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu {
  display: flex;
  gap: 34px;
  margin-inline: auto;
}

.menu a {
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #d4d4d8;
  text-decoration: none;
  transition: color .2s;
}

.menu a:hover,
.menu a.is-active {
  color: var(--white);
}

.menu a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--white);
}

.nav-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background .2s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, .08);
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
}

.burger,
.burger .icon-close {
  display: none;
}

@media (max-width: 960px) {
  :root {
    --nav-h: 58px;
  }

  .burger {
    display: grid;
  }

  .menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 16px 20px;
    background: rgba(11, 11, 12, .86);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-top: 1px solid #1f1f22;
    border-bottom: 1px solid #27272a;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .menu a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid #1f1f22;
  }

  .menu a.is-active::after {
    display: none;
  }

  .nav.open .menu {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav.open .icon-open {
    display: none;
  }

  .nav.open .icon-close {
    display: block;
  }
}

@media (max-width: 400px) {
  .brand {
    gap: 10px;
  }

  .wordmark-name {
    font-size: 12px;
    letter-spacing: .2em;
  }

  .wordmark-sub {
    font-size: 7.5px;
  }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 46px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform .2s;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  display: flex;
  margin: 16px auto 0;
  height: 40px;
  border-color: #d4d4d8;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
}

.btn-ghost:hover {
  border-color: var(--black);
}

/* =====================================================================
   LIQUID GLASS
   Capa 1: desenfoque + distorsión del fondo (solo Chromium aplica la
   distorsión; el resto ve un vidrio esmerilado). Capa 2: tinte y brillo.
   ===================================================================== */
.glass {
  --tint: rgba(255, 255, 255, .25);
  --rim: rgba(255, 255, 255, .5);
  isolation: isolate;
  box-shadow: 0 6px 6px rgba(0, 0, 0, .2), 0 0 20px rgba(0, 0, 0, .1);
}

.glass::before,
.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.glass::before {
  z-index: -2;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.liquid .glass::before {
  filter: url(#glass-distortion);
}

.glass::after {
  z-index: -1;
  background: var(--tint);
  box-shadow: inset 2px 2px 1px 0 var(--rim), inset -1px -1px 1px 1px var(--rim);
}

.glass-dark {
  --tint: rgba(11, 11, 12, .88);
  --rim: rgba(255, 255, 255, .16);
  color: var(--white);
}

.nav.glass {
  --tint: rgba(11, 11, 12, .88);
  --rim: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

.nav.glass::before {
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}

/* Botones de vidrio con rebote "spring" */
.btn.glass {
  position: relative;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--black);
  transition: transform .7s cubic-bezier(.175, .885, .32, 2.2), box-shadow .3s;
}

.btn.glass-dark {
  color: var(--white);
}

.btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform .7s cubic-bezier(.175, .885, .32, 2.2);
}

.btn.glass:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 16px rgba(0, 0, 0, .2), 0 0 26px rgba(0, 0, 0, .12);
}

.btn.glass:hover .btn-inner {
  transform: scale(.95);
}

.btn.glass:active {
  transform: scale(.97);
}

.btn:disabled {
  opacity: .6;
  cursor: progress;
}

/* =====================================================================
   HERO con scroll — estudio fotográfico
   ===================================================================== */
/* El hero mide una pantalla: la animación ya no avanza con el scroll, se
   reproduce sola en 3,3 s al primer gesto. Usa svh (alto CON la barra del
   navegador visible), que nunca cambia: si Safari/Chrome esconden la barra,
   queda un espacio abajo del mismo color que el piso del estudio. */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  background: var(--studio-floor);
}

/* Mientras corre la animación el scroll queda quieto */
html.is-playing,
html.is-playing body {
  overflow: hidden;
  overscroll-behavior: none;
}

/* Promo de tiendas: tarjeta de vidrio debajo del título del hero */
.hero-promo {
  --tint: rgba(255, 255, 255, .55);
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 520px;
  margin: 4px 0 0;
  padding: 14px 18px 14px 14px;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(28, 38, 50, .12), 0 2px 6px rgba(28, 38, 50, .08);
}

.hero-promo.glass::before {
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
}

.hero-promo-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
}

.hero-promo-icon .icon {
  width: 20px;
  height: 20px;
}

.hero-promo p {
  margin: 0;
  text-align: left;
}

.hero-promo-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
}

.hero-promo-cond {
  margin-top: 6px !important;
  font-size: 11.5px;
  line-height: 1.4;
  color: #3f3f46;
}

@media (max-width: 420px) {
  .hero-promo {
    padding: 11px 13px;
    gap: 10px;
  }

  .hero-promo-icon {
    width: 34px;
    height: 34px;
  }

  .hero-promo-title {
    font-size: 12.5px;
  }

  .hero-promo-cond {
    font-size: 11px;
  }
}

.sticky {
  --hz: 80vh;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #e3e8ec;
}

/* Pared con luz cenital, horizonte suave y piso apenas brillante */
.studio {
  position: absolute;
  inset: 0;
  background:
    /* el piso termina en el mismo color con que arranca la sección siguiente */
    linear-gradient(to bottom, rgba(223, 228, 232, 0) 74%, var(--studio-floor) 100%),
    radial-gradient(ellipse 52% 58% at 50% 40%, #f5f8fa 0%, rgba(245, 248, 250, 0) 100%),
    linear-gradient(to bottom,
      transparent 0,
      transparent calc(var(--hz) - 70px),
      rgba(64, 76, 86, .13) var(--hz),
      rgba(255, 255, 255, .34) calc(var(--hz) + 30px),
      rgba(255, 255, 255, .12) calc(var(--hz) + 22vh),
      rgba(120, 132, 142, .12) 100%),
    radial-gradient(ellipse 115% 100% at 50% 42%, #eaeff2 0%, #d2d9df 48%, #8e9ca7 100%);
}

.stage {
  position: absolute;
  inset: 0;
}

/* El reflejo no termina en un corte recto: se funde con el piso */
.sticky::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 72px;
  background: linear-gradient(to bottom, rgba(223, 228, 232, 0), var(--studio-floor));
  pointer-events: none;
}

/* Cada capa cubre la pantalla como un object-fit: cover de 16:9 */
.layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  width: max(100vw, 177.78svh);
  aspect-ratio: 16 / 9;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  backface-visibility: hidden;
  pointer-events: none;
}

@media (orientation: portrait) {
  .layer {
    width: 135vw;
  }
}

.layer img {
  width: 100%;
  height: 100%;
}

/* El fondo blanco de las fotos desaparece contra el estudio */
.moto,
.reflection {
  mix-blend-mode: multiply;
}

/* Reflejo: la foto espejada, que se desvanece hacia abajo */
.reflection {
  -webkit-mask-image: linear-gradient(to bottom, transparent 58%, #000 93%);
  mask-image: linear-gradient(to bottom, transparent 58%, #000 93%);
}

.contact-shadow {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(28, 36, 44, .45), rgba(28, 36, 44, .16) 55%, transparent);
  opacity: 0;
  mix-blend-mode: multiply;
  translate: -50% -50%;
  pointer-events: none;
}

/* Contorno del faro */
.drl svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.drl path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.drl-halo {
  stroke: rgba(150, 200, 255, .34);
  stroke-width: 9;
}

.drl-glow {
  stroke: rgba(230, 242, 255, .55);
  stroke-width: 5;
}

.drl-core {
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 2.2;
}

/* Textos de la intro */
.intro {
  position: absolute;
  left: 50%;
  z-index: 2;
  width: min(92vw, 900px);
  margin: 0;
  text-align: center;
  font-family: var(--brand);
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--black);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
}

.intro .eyebrow {
  margin-bottom: 16px;
  letter-spacing: .24em;
  line-height: 1.4;
  color: var(--text-2);
}

.intro-1 {
  top: calc(var(--nav-h) + 5vh);
}

/* Datos flotantes alrededor de la moto */
.chips {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

/* Callout: punto en la pieza + línea + etiqueta de vidrio líquido */
.callout {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  will-change: opacity;
}

.callout-dot,
.callout-line,
.chip {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.callout-dot {
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px rgba(11, 11, 12, .55), 0 2px 8px rgba(0, 0, 0, .3);
}

.callout-dot::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .9);
  animation: ping 2.2s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(.5); opacity: 1; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

.callout-line {
  height: 1.5px;
  margin-top: -.75px;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(11, 11, 12, .6), rgba(11, 11, 12, .28));
  border-radius: 1px;
}

.chip {
  --tint: rgba(255, 255, 255, .06);
  display: grid;
  gap: 3px;
  padding: 12px 20px 13px;
  border-radius: 24px;
  box-shadow:
    0 12px 32px rgba(28, 38, 50, .14),
    0 2px 6px rgba(28, 38, 50, .08),
    0 0 0 .5px rgba(28, 38, 50, .12);
}

/* Vidrio más líquido que el resto: más desenfoque, saturación y brillo */
.chip.glass::before {
  -webkit-backdrop-filter: blur(8px) saturate(190%) contrast(1.05);
  backdrop-filter: blur(8px) saturate(190%) contrast(1.05);
}

.chip.glass::after {
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, .42) 0%,
      rgba(255, 255, 255, .08) 32%,
      rgba(255, 255, 255, 0) 55%,
      rgba(255, 255, 255, .16) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(255, 255, 255, .35),
    inset 0 0 0 1px rgba(255, 255, 255, .45),
    inset 0 -10px 18px -12px rgba(255, 255, 255, .7);
}

.chip strong {
  font-family: var(--brand);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--black);
}

.chip span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #3f3f46;
  white-space: nowrap;
}

/* Contenido final del hero */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  color: var(--black);
}

.hero-content[inert] {
  pointer-events: none;
}

.hero-copy {
  position: relative;
  max-width: min(640px, 50vw);
}

.reveal-item {
  opacity: 0;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.status-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
  animation: pulse 2s ease-in-out infinite;
}

.status-pill.ended .dot {
  background: #a1a1aa;
  box-shadow: none;
  animation: none;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.countdown {
  position: relative;
  display: flex;
  border-radius: 16px;
}

.countdown div {
  min-width: 56px;
  padding: 6px 12px 7px;
  text-align: center;
}

.countdown div + div {
  border-left: 1px solid rgba(11, 11, 12, .09);
}

.countdown strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

.countdown span {
  display: block;
  font-size: 10.5px;
  color: var(--text-2);
}

.hero-copy h1 {
  margin: 22px 0 12px;
  font-family: var(--brand);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.15vw, 4rem);
  line-height: .94;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #0b0b0c 45%, #45454d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 30em;
  margin: 0;
  font-family: var(--brand);
  font-weight: 400;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.2;
  color: #27272a;
}

.br-wide {
  display: none;
}

@media (min-width: 1000px) {
  .br-wide {
    display: inline;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #3f3f46;
}

.trust .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.scroll-hint {
  position: absolute;
  bottom: 4vh;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
  transform: translateX(-50%);
  white-space: nowrap;
}

.mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 12px;
}

.mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  translate: -50% 0;
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

/* Hero en pantallas angostas: moto arriba, texto abajo (igual que narrowMQ en main.js) */
@media (max-width: 860px) and (orientation: portrait), (max-width: 639px) {

  .hero-content {
    align-items: flex-end;
    padding-bottom: max(28px, 4vh);
  }

  .hero-content::before {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    background: linear-gradient(to top, rgba(228, 233, 237, .97) 52%, rgba(228, 233, 237, 0));
    opacity: var(--shade, 0);
  }

  .hero-copy {
    max-width: none;
  }

  /* "Sorteo Corven 110" en una sola línea */
  .hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(1.8rem, 9.2vw, 3.4rem);
  }

  /* En celular las garantías ya están más abajo: más lugar para la moto */
  .hero-copy .trust {
    display: none;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    padding: 0 20px;
  }
}

@media (max-width: 420px) {
  .status-pill {
    height: 42px;
    padding: 0 13px;
    font-size: 11.5px;
  }

  .countdown div {
    min-width: 0;
    padding: 5px 9px 6px;
  }

  .countdown strong {
    font-size: 16px;
  }

  .trust {
    gap: 10px 18px;
  }

  .trust li {
    font-size: 12.5px;
  }

  .chip {
    padding: 10px 15px 11px;
    border-radius: 20px;
  }
}

/* Celulares de poca altura: más lugar para la moto */
@media (max-width: 639px) and (max-height: 760px), (max-width: 860px) and (orientation: portrait) and (max-height: 760px) {
  .trust {
    display: none;
  }

  .hero-copy h1 {
    margin: 14px 0 8px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 16px;
  }

  .hero-actions .btn {
    height: 44px;
  }
}

/* Pantallas bajas (celular apaisado, notebooks chicas) */
@media (max-height: 560px) {
  .hero-copy h1 {
    margin: 12px 0 8px;
    font-size: clamp(1.9rem, 8vh, 3rem);
  }

  .hero-actions {
    margin-top: 14px;
  }

  .trust {
    display: none;
  }

}

/* =====================================================================
   LA MOTO — destacados y ficha técnica
   ===================================================================== */
.stats {
  padding: clamp(28px, 5vw, 48px) 0;
  background: #e8e8ea;
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.stats-list strong {
  display: block;
  font-family: var(--brand);
  font-weight: 800;
  font-size: clamp(1.7rem, 6.4vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: #2b2b30;
}

.stats-list span {
  display: block;
  margin-top: 10px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: clamp(.72rem, 1.4vw, 1.05rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3f3f46;
}

.spec-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.spec-card h3 {
  margin: 0 0 14px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: 20px;
}

.spec-table {
  width: 100%;
  border: 1px solid #ececee;
  border-collapse: collapse;
  font-size: 13.5px;
}

.spec-table th,
.spec-table td {
  padding: 11px 18px;
  border-bottom: 1px solid #ececee;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  font-weight: 600;
  color: #3f3f46;
}

.spec-table td {
  font-weight: 500;
  color: var(--ink);
}

.spec-table tr:nth-child(even) {
  background: #fafafa;
}

@media (max-width: 560px) {
  .spec-table th,
  .spec-table td {
    display: block;
    width: auto;
    border: 0;
  }

  .spec-table th {
    padding: 12px 14px 2px;
    font-size: 12px;
    color: var(--text-3);
  }

  .spec-table td {
    padding: 0 14px 12px;
  }

  .spec-table tr {
    display: block;
    border-bottom: 1px solid #ececee;
  }
}

/* =====================================================================
   SECCIONES
   ===================================================================== */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-tight {
  padding-block: 0;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin: 12px 0 12px;
  font-family: var(--brand);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--text-2);
}

.section-head strong {
  color: var(--black);
  font-weight: 600;
}

/* ---------- Tarjetas de pasos ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 920px) {
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Encabezado de cada paso con número */
.step {
  margin-bottom: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--brand);
  font-weight: 800;
  font-size: 16px;
}

.step-head h3 {
  margin: 0 0 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.step-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-3);
}

/* Paquetes: tarjetas seleccionables */
.packs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 12px 0 0;
  border: 0;
}

@media (max-width: 1100px) {
  .packs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 22px;
  }
}

@media (max-width: 640px) {
  .packs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Si queda una tarjeta sola en la última fila, ocupa todo el ancho */
  .packs .pack:last-of-type:nth-of-type(odd) {
    grid-column: 1 / -1;
  }
}

.pack {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  padding: 24px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.pack:hover {
  border-color: #a1a1aa;
  transform: translateY(-2px);
}

.pack input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
}

/* Marca de seleccionado arriba a la derecha */
.pack::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border: 1.5px solid #d4d4d8;
  border-radius: 50%;
  background: var(--white);
}

.pack:has(input:checked) {
  border-color: var(--black);
  background: #fafafa;
  box-shadow: 0 0 0 1.5px var(--black), 0 10px 24px rgba(11, 11, 12, .1);
}

.pack:has(input:checked)::after {
  border-color: var(--black);
  background: var(--black);
  box-shadow: inset 0 0 0 3.5px var(--white);
}

.pack:has(input:focus-visible) {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.pack-qty strong {
  display: block;
  font-family: var(--brand);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  line-height: 1;
  letter-spacing: -.02em;
}

.pack-qty span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.pack-price {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pack-unit {
  font-size: 12px;
  color: var(--text-3);
}

.pack .save {
  margin-top: 6px;
}

.pack .save-base {
  background: transparent;
  color: var(--text-3);
}

.pack-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.pack-reco {
  border-color: #3f3f46;
  background: linear-gradient(180deg, #fff, #f4f4f5);
}

.pack-best {
  border-color: rgba(22, 163, 74, .45);
}

.pack-best .pack-badge {
  background: #15803d;
}

/* Resumen de la selección */
.summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.summary > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.summary span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.summary strong {
  display: block;
  margin-top: 4px;
  font-family: var(--brand);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  transform-origin: left center;
}

.summary .summary-total {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.summary .summary-total span {
  color: #a1a1aa;
}

.bump {
  animation: bump .45s ease;
}

@keyframes bump {
  40% { transform: scale(1.08); }
}

.bank-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.bank-actions .btn {
  height: 48px;
}

.bank-actions .btn-inner .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Bloque del premio: continuación del estudio del inicio ---------- */
.premio + .section {
  padding-top: clamp(32px, 5vw, 56px);
}

.premio {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
  /* Arranca con el mismo gris del piso del estudio y se funde a blanco */
  background: linear-gradient(180deg, var(--studio-floor, #dfe4e8) 0%, #eef1f3 45%, var(--white) 100%);
  text-align: center;
}

.premio-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.premio-head h2 {
  margin: 10px 0 0;
  font-family: var(--brand);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3.3rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Los 5 beneficios como píldoras de vidrio, igual que los datos de la moto */
.premio-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premio-list li {
  --tint: rgba(255, 255, 255, .55);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(28, 38, 50, .1), 0 1px 3px rgba(28, 38, 50, .08);
}

.premio-list .icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: #16a34a;
  color: var(--white);
  stroke-width: 3;
}

.premio-fecha {
  display: block;
  margin: 4px 0 0;
  line-height: 1.5;
  font-size: 15px;
  color: var(--text-2);
}

.premio-fecha strong {
  color: var(--black);
}

.premio-fecha .icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: -4px;
}

@media (max-width: 560px) {
  .premio-list li {
    font-size: 14px;
    padding: 10px 16px 10px 10px;
  }
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
}

.card-head {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
}

.card-icon .icon {
  width: 19px;
  height: 19px;
}

.card-head h3 {
  margin: 0 0 3px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
}

.card-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-3);
}

/* Opciones de chances */
.options {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.option:hover {
  border-color: #a1a1aa;
}

.option:has(input:checked) {
  border-color: #3f3f46;
  background: #fafafa;
  box-shadow: 0 0 0 1px #3f3f46;
}

.option:has(input:focus-visible) {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.option input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #a1a1aa;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.option input:checked {
  border-color: var(--black);
  background: var(--black);
  box-shadow: inset 0 0 0 4px var(--white);
}

.option input:focus-visible {
  outline: none;
}

.option-name {
  font-size: 15.5px;
  font-weight: 600;
}

.option-price {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.option-price strong {
  font-size: 16px;
  font-weight: 700;
}

.save {
  padding: 3px 9px;
  border-radius: 5px;
  background: #e4e9f2;
  color: #334155;
  font-size: 11.5px;
  font-weight: 500;
}

/* Datos bancarios */
.bank {
  margin: 0;
  padding: 2px 14px;
  border-radius: 10px;
  background: var(--surface-2);
}

.bank-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 1px solid #dcdce0;
}

.bank-empty dd {
  grid-column: 1 / -1;
  padding: 6px 0;
  color: var(--text-3);
}

.bank-row:last-child {
  border-bottom: 0;
}

.bank dt {
  font-size: 13.5px;
  font-weight: 600;
}

.bank dd {
  margin: 0;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}

.copy {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #3f3f46;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.copy:hover {
  background: #dcdce0;
}

.copy .icon {
  width: 18px;
  height: 18px;
}

.copy.done {
  color: var(--green);
}

.amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.amount span {
  font-size: 13.5px;
  color: var(--text-2);
}

.amount strong {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.note {
  display: flex;
  gap: 12px;
  margin: 12px 0 0;
  padding: 13px 14px;
  border-radius: 10px;
  background: #e8eef8;
  color: #27364d;
  font-size: 12.5px;
  line-height: 1.45;
}

.note .icon {
  width: 22px;
  height: 22px;
  color: #3b6fc4;
  stroke-width: 1.6;
}

/* ---------- Formulario ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

@media (max-width: 420px) {
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
}

.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.field > label {
  font-size: 12.5px;
  font-weight: 500;
  color: #3f3f46;
}

.field i {
  font-style: normal;
  color: var(--red);
}

.field input,
.field select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder {
  color: #a1a1aa;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(11, 11, 12, .1);
}

.field [aria-invalid="true"],
.field .file[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}

.input-icon,
.select {
  position: relative;
}

.input-icon .icon {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transform: translateY(-50%);
  pointer-events: none;
}

.input-icon input {
  padding-left: 37px;
}

.select select {
  appearance: none;
  padding-right: 36px;
  cursor: pointer;
}

.select .icon {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #e6e6e9;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.file:hover {
  background: #dcdce0;
}

.field:has(input[type="file"]:focus-visible) .file {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.file span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file.has-file {
  border-color: var(--line);
  background: var(--white);
  font-weight: 500;
}

.file .icon {
  width: 18px;
  height: 18px;
}

.hint {
  font-size: 11.5px;
  color: var(--text-3);
}

.form .btn-block {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.form .check {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #3f3f46;
  cursor: pointer;
}

.form .check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--black);
}

.form .check[aria-invalid="true"] {
  color: var(--red);
}

.form .check a {
  color: var(--black);
  font-weight: 600;
}

.form .captcha {
  grid-column: 1 / -1;
  min-height: 65px;
}

/* Campo trampa para bots */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.form-legal {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  font-size: 12.5px;
  text-align: center;
  color: var(--text-3);
}

.form-legal a {
  color: var(--black);
  font-weight: 600;
}

.form-msg {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
}

.form-msg.ok {
  padding: 14px 16px;
  border-radius: 12px;
  background: #e3f6e8;
}

.form-msg strong {
  font-weight: 700;
}

.form-msg:empty {
  display: none;
}

.form-msg.ok {
  color: #15803d;
}

.form-msg.err {
  color: var(--red);
}

/* ---------- Participantes ---------- */
.panel {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
}

.panel-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 18px;
  margin-bottom: 18px;
}

.panel-icon {
  width: 40px;
  height: 40px;
  fill: var(--black);
  stroke: none;
}

.panel-title h2 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.panel-title p {
  max-width: 62ch;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-2);
}

.panel-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}

.search {
  position: relative;
}

.search .icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transform: translateY(-50%);
  pointer-events: none;
}

.search input {
  width: 270px;
  height: 40px;
  padding: 0 12px 0 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 14px;
}

.search input:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(11, 11, 12, .1);
}

@media (max-width: 1000px) {
  .panel-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .panel-tools {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .panel {
    padding: 18px 14px;
  }

  .panel-icon {
    width: 32px;
    height: 32px;
  }

  .panel-head {
    align-items: start;
  }

  .panel-tools {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .search input {
    width: 100%;
  }
}

.table-wrap {
  overflow: hidden;
  border: 1px solid #ececee;
  border-radius: 10px;
  background: var(--white);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.table th {
  padding: 12px 16px;
  border-bottom: 1px solid #ececee;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
}

.table td {
  padding: 8px 16px;
  border-bottom: 1px solid #f0f0f2;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table .c-num {
  width: 56px;
  color: var(--text-2);
}

.table .c-dni {
  font-variant-numeric: tabular-nums;
}

.table .empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--text-3);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status .icon {
  width: 16px;
  height: 16px;
}

.status-ok {
  background: #e3f6e8;
  color: #166534;
}

.status-ok .icon {
  fill: var(--green);
  stroke: var(--white);
  stroke-width: 2.2;
}

.status-rev {
  background: #f1f1f3;
  color: var(--ink);
}

@media (max-width: 720px) {
  .table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f2;
  }

  .table tbody tr:last-child {
    border-bottom: 0;
  }

  .table tbody tr::after {
    content: '';
    order: 3;
    flex-basis: 100%;
  }

  .table td {
    padding: 0;
    border: 0;
  }

  .table .c-num {
    display: none;
  }

  .table .c-name {
    order: 1;
    flex: 1 1 0;
    font-size: 15px;
    font-weight: 600;
  }

  .table .c-estado {
    order: 2;
  }

  .table .c-dni,
  .table .c-chances,
  .table .c-fecha {
    order: 4;
    font-size: 12.5px;
    color: var(--text-3);
  }

  .table .c-dni::before {
    content: 'DNI ';
  }

  .table .c-chances::before,
  .table .c-fecha::before {
    content: '·';
    margin-right: 10px;
  }

  .table .empty {
    flex-basis: 100%;
  }
}

/* ---------- Beneficios ---------- */
.features {
  padding: 34px 0;
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--surface);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.features-list > li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 22px;
}

.features-list > li + li {
  border-left: 1px solid #dcdce0;
}

.feature-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.feature-link:hover h3 {
  text-decoration: underline;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e4e4e7;
}

.feature-icon .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}

.features h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.features p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-3);
}

@media (max-width: 1000px) {
  .features-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .features-list > li:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .features-list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .features-list > li {
    padding: 14px 0;
  }

  .features-list > li + li {
    border-left: 0;
    border-top: 1px solid #dcdce0;
  }
}

/* ---------- Bases ---------- */
.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion details:first-child {
  border-top: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary .icon {
  transition: transform .25s;
}

.accordion details[open] summary .icon {
  transform: rotate(180deg);
}

.accordion p {
  margin: 0 0 22px;
  max-width: 62ch;
  color: var(--text-2);
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.footer {
  padding-top: 44px;
  background: var(--black);
  color: #d4d4d8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.1fr 1.3fr .8fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer .brand-mark {
  width: 36px;
  height: 40px;
}

.footer .wordmark-name {
  font-size: 15px;
}

.tagline {
  margin: 0;
  padding: 10px 0 10px 24px;
  border-left: 1px solid #3f3f46;
  font-size: 13.5px;
  line-height: 1.5;
}

.footer-col h2 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 6px 32px;
}

.footer-links a {
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.contact {
  display: grid;
  gap: 8px;
}

.contact li,
.contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact a:hover {
  color: var(--white);
}

.contact .icon {
  width: 17px;
  height: 17px;
}

.social {
  display: flex;
  gap: 8px;
}

.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--white);
  transition: background .2s;
}

.social a:hover {
  background: rgba(255, 255, 255, .1);
}

.social .icon {
  width: 22px;
  height: 22px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding: 16px 0 22px;
  border-top: 1px solid #1f1f22;
  font-size: 12px;
  color: #a1a1aa;
}

.footer-bottom p {
  margin: 0;
}

.values span {
  margin: 0 8px;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .tagline {
    padding: 0;
    border-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav,
  .dot,
  .mouse::after,
  .callout-dot::after {
    animation: none;
  }

  .btn.glass,
  .btn-inner {
    transition: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
