/* ══════════════════════════════════════════════════════════════
   SECCIÓN: PRECIOS DEL BLINDAJE — Blindafon
   Mobile-first. Fondo cream. Carrusel + modal cofre + CTA levitante.
══════════════════════════════════════════════════════════════ */

/* ── Sección base ── */
#precios {
  background: var(--cream, #F5F1EA);
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  position: relative;
  overflow: hidden;
}

.precios-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vh, 2.25rem);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Encabezado de sección ── */
.precios-encabezado {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.precios-etiqueta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange, #F18B3B);
  opacity: 0.8;
}

.precios-titulo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--navy, #1F2C4C);
  line-height: 1.1;
  max-width: 520px;

  /* Reveal inicial — JS lo anima */
  opacity: 0;
  transform: translateY(24px);
}

/* ── Frase social proof ── */
.precios-compatibilidad {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 400;
  color: var(--navy, #1F2C4C);
  opacity: 0.65;
  text-align: center;
  letter-spacing: -0.01em;
}

.precios-contador-naranja {
  color: #F18B3B;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── Área de acción (botón / chip) ── */
.precios-accion-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

/* ── Botón "Desbloquear 50% de descuento" ── */
.btn-desbloquear {
  cursor: pointer;
  border: none;
  outline: none;
  padding: 0.75rem 1.5rem;
  width: clamp(240px, 80vw, 320px);
  height: auto;
  border-radius: 14px;
  background: linear-gradient(135deg, #F18B3B, #D67222);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  letter-spacing: -0.01em;
  box-shadow:
    0 0 0px rgba(241, 139, 59, 0.0),
    0 6px 20px rgba(241, 139, 59, 0.35);
  transition:
    box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 150ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

/* Efecto cristal — línea brillosa diagonal que pasa en loop */
.btn-desbloquear::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  transform: skewX(-15deg);
  animation: btn-cristal 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-cristal {
  0%   { left: -75%; opacity: 0; }
  10%  { opacity: 1; }
  45%  { left: 130%; opacity: 1; }
  46%  { opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

.btn-desbloquear:active {
  transform: scale(0.97);
}

/* ── Letra pequeña ── */
.precios-tiempo-limitado {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  font-style: italic;
  color: var(--navy, #1F2C4C);
  opacity: 0.5;
  text-align: center;
}

/* ── Chip de cupón activo (Estado B) ── */
.chip-cupon {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--navy, #1F2C4C);
  border: 1px solid rgba(241, 139, 59, 0.5);
  box-shadow:
    0 0 12px rgba(241, 139, 59, 0.2),
    0 4px 16px rgba(31, 44, 76, 0.3);
  will-change: box-shadow;
}

.chip-check {
  color: #4ADE80;
  font-size: 0.9375rem;
  font-weight: 700;
}

.chip-texto {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #FAF8F4;
}

.chip-texto strong {
  font-weight: 700;
  color: #F18B3B;
}

/* Countdown urgente — debajo del chip, pequeño e informativo */
.chip-countdown-urgente {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy, #1F2C4C);
  opacity: 0.7;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  margin-top: -0.25rem;
}

.chip-countdown-urgente.hidden {
  display: none;
}

/* Punto pulsante de urgencia */
.chip-countdown-pulso {
  color: #F18B3B;
  font-size: 0.5rem;
  animation: pulso-urgencia 1.2s ease-in-out infinite;
}

@keyframes pulso-urgencia {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.7); }
}

/* ══════════════════════════════════════════════════════════════
   CARRUSEL DE DISPOSITIVOS
══════════════════════════════════════════════════════════════ */

.carrusel-wrap {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: clamp(0.5rem, 2vh, 1rem) 0;
}

/* Flechas de navegación */
.carrusel-flecha {
  display: none; /* ocultas en mobile */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  border: none;
  outline: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(31, 44, 76, 0.08);
  color: var(--navy, #1F2C4C);
  align-items: center;
  justify-content: center;
  transition: background 400ms cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.carrusel-flecha svg {
  width: 18px;
  height: 18px;
}

.carrusel-flecha:hover {
  background: rgba(31, 44, 76, 0.18);
}

.carrusel-flecha--prev { left: 0.5rem; }
.carrusel-flecha--next { right: 0.5rem; }

/* Viewport con máscara de fade en los bordes */
.carrusel-viewport {
  overflow: hidden;
  padding: 1rem 0 1.5rem;
  /* fade edges */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

/* Track del carrusel */
.carrusel-track {
  display: flex;
  gap: 1rem;
  padding: 0 1.25rem;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.carrusel-track:active {
  cursor: grabbing;
}

/* ── Tarjeta de dispositivo ── */
.precio-tarjeta {
  flex: 0 0 210px;
  width: 210px;
  min-height: 260px;
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  background: var(--cream, #F5F1EA);
  border: 1px solid rgba(31, 44, 76, 0.08);
  box-shadow:
    0 1px 2px rgba(31, 44, 76, 0.04),
    0 8px 24px rgba(31, 44, 76, 0.07),
    0 24px 48px rgba(31, 44, 76, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  transition: box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: box-shadow;
}

/* Icono SVG del dispositivo */
.precio-tarjeta-icono {
  width: 56px;
  height: 56px;
  color: var(--navy, #1F2C4C);
  opacity: 0.85;
}

.precio-tarjeta-icono svg {
  width: 100%;
  height: 100%;
}

/* Nombre del dispositivo */
.precio-tarjeta-nombre {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy, #1F2C4C);
  text-align: center;
}

/* Precios */
.precio-tarjeta-precio {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

/* Estado A: precio normal */
.precio-estado-a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy, #1F2C4C);
  will-change: opacity, transform;
}

/* Estado B: tachado arriba, luego fila con flecha + descuento + badge */
.precio-estado-b {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  will-change: opacity, transform;
}

.precio-original {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy, #1F2C4C);
  opacity: 0.5;
  text-decoration: line-through;
}

/* Fila del medio: flecha naranja perfectamente centrada — badge es absoluto al lado */
.precio-fila-b {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.precio-flecha {
  display: none; /* flecha reemplazada por el sello cupón centrado */
}

/* Altura fija para que el sello tenga espacio entre precio tachado y nuevo */
.precio-fila-b {
  height: 60px;
}

.precio-descuento {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--orange, #F18B3B);
}

/* ── Tarjeta destacada "Teléfono completo" ── */
.precio-tarjeta--destacada {
  border: 2px solid #F18B3B;
  box-shadow:
    0 0 0px rgba(241, 139, 59, 0.0),
    0 0 24px rgba(241, 139, 59, 0.25),
    0 8px 32px rgba(31, 44, 76, 0.1);
  will-change: box-shadow;
}

/* Badge "MÁS POPULAR" — centrado en el borde superior */
.precio-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #F18B3B;
  color: #FAF8F4;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Sello de cupón "-50%" centrado — forma dentada estilo cupón real */
.precio-badge-descuento {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #F18B3B;
  color: #FAF8F4;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 3px 14px rgba(241, 139, 59, 0.5);
  /* Forma de estrella de 12 puntas estilo sello/cupón */
  clip-path: polygon(
    50% 0%, 56% 9%, 65% 4%, 68% 14%, 79% 12%, 79% 23%,
    91% 24%, 88% 35%, 100% 40%, 94% 50%, 100% 60%, 88% 65%,
    91% 76%, 79% 77%, 79% 88%, 68% 86%, 65% 96%, 56% 91%,
    50% 100%, 44% 91%, 35% 96%, 32% 86%, 21% 88%, 21% 77%,
    9% 76%, 12% 65%, 0% 60%, 6% 50%, 0% 40%, 12% 35%,
    9% 24%, 21% 23%, 21% 12%, 32% 14%, 35% 4%, 44% 9%
  );
  /* Centrado absoluto entre el precio tachado y el precio nuevo */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

/* ══════════════════════════════════════════════════════════════
   ANIMACIONES DE ICONOS POR DISPOSITIVO
══════════════════════════════════════════════════════════════ */

/* ── Teléfono completo: flip horizontal en loop ── */
.precio-icono-telefono-anim {
  width: 56px;
  height: 56px;
  perspective: 300px;
}

.telefono-flip-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: telefono-flip 4s ease-in-out infinite;
  animation-delay: 0.8s;
}

.telefono-cara {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  color: var(--navy, #1F2C4C);
  opacity: 0.85;
}

.telefono-cara--frente {
  /* visible por defecto */
}

.telefono-cara--atras {
  transform: rotateY(180deg);
}

@keyframes telefono-flip {
  0%          { transform: rotateY(0deg); }
  20%         { transform: rotateY(0deg); }
  42%         { transform: rotateY(-180deg); }
  62%         { transform: rotateY(-180deg); }
  84%         { transform: rotateY(-360deg); }
  100%        { transform: rotateY(-360deg); }
}

/* ── Pantalla: brillo deslizante en loop ── */
.precio-icono-pantalla-anim {
  overflow: hidden;
}

.pantalla-brillo {
  animation: pantalla-brillo-anim 3.5s ease-in-out infinite;
  animation-delay: 0.3s;
  transform-origin: center;
}

@keyframes pantalla-brillo-anim {
  0%          { opacity: 0;   transform: translateX(-50px); }
  8%          { opacity: 0.18; }
  30%         { opacity: 0.18; transform: translateX(50px); }
  31%         { opacity: 0; }
  100%        { opacity: 0;   transform: translateX(50px); }
}

/* ── Reloj: manecillas girando ── */
.reloj-hora {
  transform-origin: 40px 40px;
  animation: reloj-hora-gira 8s linear infinite;
}

.reloj-minuto {
  transform-origin: 40px 40px;
  animation: reloj-minuto-gira 2s linear infinite;
}

@keyframes reloj-hora-gira {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes reloj-minuto-gira {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Lentes: reflejo oscilante dentro de los círculos ── */
.lente-reflejo-izq {
  animation: lente-reflejo-anim 3s ease-in-out infinite;
}

.lente-reflejo-der {
  animation: lente-reflejo-anim 3s ease-in-out infinite;
  animation-delay: 0.15s;
}

@keyframes lente-reflejo-anim {
  0%   { transform: translateX(-14px); opacity: 0; }
  15%  { opacity: 0.3; }
  50%  { transform: translateX(14px);  opacity: 0.3; }
  65%  { opacity: 0; }
  100% { transform: translateX(14px);  opacity: 0; }
}

/* ── Tablet: brillo deslizante igual que pantalla ── */
.tablet-brillo {
  animation: tablet-brillo-anim 4s ease-in-out infinite;
  animation-delay: 1.2s;
}

@keyframes tablet-brillo-anim {
  0%          { opacity: 0;   transform: translateX(-60px); }
  8%          { opacity: 0.15; }
  35%         { opacity: 0.15; transform: translateX(60px); }
  36%         { opacity: 0; }
  100%        { opacity: 0;   transform: translateX(60px); }
}

/* ── Nintendo: joy-cons separándose y regresando ── */
.joycon-izq {
  animation: joycon-izq-anim 2.8s ease-in-out infinite;
  animation-delay: 0.5s;
}

.joycon-der {
  animation: joycon-der-anim 2.8s ease-in-out infinite;
  animation-delay: 0.5s;
}

@keyframes joycon-izq-anim {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(-5px); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

@keyframes joycon-der-anim {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(5px); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(0); }
}

/* prefers-reduced-motion: desactivar todas las animaciones de iconos */
@media (prefers-reduced-motion: reduce) {
  .telefono-flip-wrap,
  .pantalla-brillo,
  .tablet-brillo,
  .reloj-hora,
  .reloj-minuto,
  .lente-reflejo-izq,
  .lente-reflejo-der,
  .joycon-izq,
  .joycon-der,
  .btn-desbloquear::after {
    animation: none;
  }
  .telefono-flip-wrap { transform: rotateY(0deg); }
}

/* ── Barra de scroll estilizada ── */
.carrusel-scroll-bar {
  position: relative;
  height: 3px;
  background: rgba(31, 44, 76, 0.1);
  border-radius: 999px;
  margin: 0.5rem 1.25rem 0;
  overflow: hidden;
}

.carrusel-scroll-thumb {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: rgba(241, 139, 59, 0.7);
  border-radius: 999px;
  width: 30%; /* actualizado por JS */
  will-change: left, width;
  transition: left 0.1s linear;
}

/* Hint de arrastre */
.carrusel-hint {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--navy, #1F2C4C);
  opacity: 0.45;
  text-align: center;
  margin-top: 0.625rem;
  letter-spacing: 0.02em;
}

.carrusel-hint-arrow {
  display: inline-block;
  animation: carrusel-hint-arrow 1.8s ease-in-out infinite;
}

@keyframes carrusel-hint-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.carrusel-hint-mobile { display: inline; }
.carrusel-hint-desktop { display: none; }

/* ── Texto pequeño entre carrusel y CTA ── */
.precios-marca-compat {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.6875rem, 1.5vw, 0.8125rem);
  font-weight: 400;
  color: var(--navy, #1F2C4C);
  opacity: 0.4;
  text-align: center;
  letter-spacing: 0.02em;
  margin-top: -0.25rem; /* más cerca del "Desliza para ver más" */
}

/* ══════════════════════════════════════════════════════════════
   CTA LEVITANTE
══════════════════════════════════════════════════════════════ */

.cta-levitante-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(0.5rem, 2vh, 1rem);
}

.cta-levitante {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  width: clamp(280px, 90vw, 380px);
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #F18B3B, #D67222);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    0 4px 20px rgba(241, 139, 59, 0.4),
    0 12px 40px rgba(241, 139, 59, 0.2);
  transition: box-shadow 400ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Shine diagonal en loop — igual que el CTA de beneficios */
.cta-levitante::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  animation: ctaShineLevitante 3.5s linear infinite;
  pointer-events: none;
}

@keyframes ctaShineLevitante {
  0%   { left: -100%; opacity: 0; }
  8%   { opacity: 1; }
  88%  { left: 200%; opacity: 1; }
  90%  { left: 200%; opacity: 0; }
  91%  { left: -100%; opacity: 0; }
  100% { left: -100%; opacity: 0; }
}

.cta-levitante-sombra {
  width: clamp(240px, 70vw, 320px);
  height: 20px;
  background: radial-gradient(ellipse, rgba(241, 139, 59, 0.35) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: 6px;
  will-change: transform, opacity;
}

/* ── Frase final con "AHORA" ── */
.precios-frase-final {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  font-weight: 500;
  color: var(--navy, #1F2C4C);
  text-align: center;
  line-height: 1.4;
  max-width: 480px;
  letter-spacing: -0.01em;

  /* Inicio oculto — JS hace el typewriter */
  opacity: 0;
}

.precios-ahora {
  font-weight: 700;
  color: var(--orange, #F18B3B);
  will-change: opacity;
}

/* ══════════════════════════════════════════════════════════════
   MODAL COFRE
══════════════════════════════════════════════════════════════ */

.modal-cupon {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-cupon.hidden {
  display: none;
}

/* Overlay oscuro */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Contenido del modal */
.modal-contenido {
  position: relative;
  z-index: 1;
  width: min(520px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fases del modal */
.modal-fase {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
}

.modal-fase.hidden {
  display: none;
}

/* ── Cofre SVG ── */
.cofre-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cofre-svg {
  width: min(180px, 50vw);
  height: auto;
  will-change: transform, opacity;
}

/* Destello central de apertura */
#cofre-destello-central {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #F18B3B 0%, #D67222 40%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

/* ── Formulario ── */
.modal-titulo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--cream, #F5F1EA);
  text-align: center;
  line-height: 1.2;
}

.form-cupon {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-campo {
  position: relative;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(250, 248, 244, 0.25);
  padding: 0.75rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--cream, #F5F1EA);
  outline: none;
  transition: border-color 300ms cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}

.form-input::placeholder {
  color: rgba(250, 248, 244, 0.35);
}

.form-input:focus {
  border-bottom-color: var(--orange, #F18B3B);
}

.form-error {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #FC8181;
  margin-top: 0.25rem;
  min-height: 1rem;
}

/* Checkbox */
.form-checkbox-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.form-checkbox {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--orange, #F18B3B);
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.form-checkbox-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.65);
  line-height: 1.5;
  cursor: pointer;
}

.form-privacidad-link {
  color: rgba(250, 248, 244, 0.55);
  text-underline-offset: 2px;
}

.form-privacidad-link:hover {
  color: #F18B3B;
}

/* Botón submit */
.form-btn-submit {
  width: 100%;
  height: 60px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: var(--orange, #F18B3B);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    opacity 300ms ease,
    transform 150ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.form-btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-btn-submit:not(:disabled):active {
  transform: scale(0.97);
}

/* Botón cerrar */
.modal-cerrar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(250, 248, 244, 0.4);
  padding: 0.375rem;
  border-radius: 50%;
  transition: color 300ms ease;
  -webkit-tap-highlight-color: transparent;
}

.modal-cerrar svg {
  width: 20px;
  height: 20px;
}

.modal-cerrar:hover {
  color: rgba(250, 248, 244, 0.85);
}

/* ── Pantalla de éxito ── */
#modal-confeti-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1100;
}

.exito-mensaje {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--cream, #F5F1EA);
  text-align: center;
}

.exito-cupon-box {
  background: rgba(250, 248, 244, 0.06);
  border: 1px dashed rgba(250, 248, 244, 0.2);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.exito-cupon-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.exito-cupon-codigo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange, #F18B3B);
  min-height: 1.2em;
  font-variant-numeric: tabular-nums;
}

.exito-countdown-wrap {
  text-align: center;
}

.exito-countdown-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(250, 248, 244, 0.55);
  margin-bottom: 0.25rem;
}

/* Countdown tipo reloj digital — 4 bloques */
.exito-countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cdtimer-bloque {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(250, 248, 244, 0.9);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  min-width: 52px;
}

.cdtimer-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy, #1F2C4C);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.cdtimer-etq {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(31, 44, 76, 0.6);
  margin-top: 2px;
}

.cdtimer-sep {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(250, 248, 244, 0.6);
  align-self: flex-start;
  margin-top: 0.2rem;
}

.exito-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  width: 100%;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F18B3B, #D67222);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(241, 139, 59, 0.4);
  animation: exito-btn-pulso 1.8s ease-in-out infinite;
  will-change: transform, box-shadow;
  -webkit-tap-highlight-color: transparent;
}

.exito-btn-wa::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  animation: exito-btn-shine 3s linear infinite;
  pointer-events: none;
}

@keyframes exito-btn-shine {
  0%   { left: -100%; opacity: 0; }
  8%   { opacity: 1; }
  88%  { left: 200%; opacity: 1; }
  90%  { left: 200%; opacity: 0; }
  91%  { left: -100%; opacity: 0; }
  100% { left: -100%; opacity: 0; }
}

@keyframes exito-btn-pulso {
  0%, 100% { transform: scale(1);     box-shadow: 0 4px 16px rgba(241, 139, 59, 0.4); }
  50%       { transform: scale(1.03); box-shadow: 0 8px 28px rgba(241, 139, 59, 0.65); }
}

/* Texto "Felicidades" encima del mensaje de éxito */
.exito-felicidades {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange, #F18B3B);
  text-align: center;
  opacity: 0;
}

/* Botón cerrar dentro de la fase de éxito */
.modal-cerrar-exito {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

/* ── Confeti particles ── */
.confeti-particle {
  position: absolute;
  border-radius: 2px;
  will-change: transform, opacity;
  pointer-events: none;
}

/* ── Clase utilitaria ── */
.hidden {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE: TABLET / DESKTOP
══════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  .precio-tarjeta {
    flex: 0 0 280px;
    width: 280px;
    min-height: 340px;
  }
}

@media (min-width: 768px) {
  .precios-inner {
    padding: 0 clamp(2rem, 5vw, 4rem);
  }

  .carrusel-flecha {
    display: flex;
  }

  .carrusel-viewport {
    padding: 1.25rem 0 2rem;
  }

  .carrusel-hint-mobile { display: none; }
  .carrusel-hint-desktop { display: inline; }

  .precio-tarjeta {
    flex: 0 0 300px;
    width: 300px;
    min-height: 360px;
  }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .btn-desbloquear,
  .cta-levitante,
  .cta-levitante-sombra,
  .precio-tarjeta--destacada,
  .chip-cupon {
    animation: none !important;
  }

  .cta-levitante::after {
    animation: none;
    display: none;
  }

  .exito-btn-wa {
    animation: none;
  }

  .exito-btn-wa::after {
    animation: none;
    display: none;
  }

  .carrusel-hint-arrow {
    animation: none;
  }
}
