﻿/* =============================================================
   SUNAT – PIDE Y GANA | Landing Page Styles (Gotham Inspired)
   ============================================================= */

/* ---------- Gotham Local Typography ---------- */
@font-face {
  font-family: "Gotham";
  src:
    url("assets/tipografias/Gotham-Book.ttf") format("truetype"),
    url("assets/tipografias/Gotham-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("assets/tipografias/Gotham-BookItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Gotham";
  src:
    url("assets/tipografias/Gotham-Bold.ttf") format("truetype"),
    url("assets/tipografias/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("assets/tipografias/Gotham-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("assets/tipografias/Gotham-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Gotham";
  src:
    url("assets/tipografias/Gotham-Black.ttf") format("truetype"),
    url("assets/tipografias/Gotham-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("assets/tipografias/Gotham-BlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Colores principales */
  --blue-hero: #0a6cb7;
  /* Azul claro del Hero y nav */
  --blue-dark: #010b37;
  --blue-footer-light: #3ea8e6;
  --magenta: #e8008c;
  /* Magenta/pink/botones */
  --verde: #c8d400;
  /* Verde/lime/acento */
  --lime-dark: #b0bb00;
  --pink-dark: #c4177a;
  --white: #ffffff;
  --gray-light: #f4f4f4;
  --gray-text: #444444;
  --navy-cta: #010b37;

  /* Tipografía */
  --font-main: "Gotham", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-heading: "Gotham", "Segoe UI", Tahoma, Arial, sans-serif;

  /* Componentes */
  --radius-card: 16px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.2);
  --transition: 0.3s ease;

  /* Stack overlap: la sección siguiente sube --overlap-margin px
     y muestra sus esquinas redondeadas de --overlap-radius px.
     Para ver las esquinas: cada sección agrega padding-bottom
     equivalente al radio, y el z-index aumenta en cascada. */
  --overlap-radius: 40px;
  --overlap-margin: -40px;

  /* Hero mujer mobile */
  --hero-woman-mobile-left: -70px;
  --hero-woman-mobile-bottom: -40px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--gray-text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ---------- Utility ---------- */
.hidden {
  display: none !important;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.8rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.dash {
  display: inline-block;
  margin-inline: 12px;
}

.dash-yellow {
  color: var(--verde);
}

/* Stack overlap – la sección con esta clase aparece encima
   de la anterior mostrando sus esquinas redondeadas superiores. */
.section-stacked {
  position: relative;
  border-top-left-radius: var(--overlap-radius);
  border-top-right-radius: var(--overlap-radius);
  margin-top: var(--overlap-margin);
  /* Sombra que refuerza la separación visual entre secciones */
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}

/* =============================================================
   1. HEADER
   ============================================================= */
.site-header {
  background: var(--white);
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* =============================================================
   2. HERO
   ============================================================= */
.hero {
  background-color: var(--blue-hero);
  color: var(--white);
  padding: 20px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 620px;
  z-index: 1;
}

/* Sunburst rotating rays */
.hero::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 300%;
  height: 300%;
  transform: translate(-50%, -50%);
  background-image: repeating-conic-gradient(from 0deg,
      rgba(255, 255, 255, 0.06) 0deg,
      rgba(255, 255, 255, 0.06) 5deg,
      transparent 5deg,
      transparent 10deg);
  animation: sunburst-spin 55s linear infinite;
  z-index: -1;
  pointer-events: none;
  transform-origin: center center;
}

@keyframes sunburst-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-overflow-wrapper {
  position: relative;
  overflow: visible;
  z-index: 2;
}

/* En desktop estos wrappers son invisibles al layout */
.hero-bottom-row,
.hero-prize-cta-col {
  display: contents;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.hero-woman {
  grid-column: 1;
  grid-row: 1 / 4;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  z-index: 1;
  margin-bottom: -115px;
  width: 100%;
  max-width: 580px;
  justify-self: end;
  align-self: end;
}

.hero-woman img {
  max-height: 680px;
  width: 110%;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.25));
}

.hero-content {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-self: center;
}

.hero-supertitle {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1.5px;
  opacity: 0.95;
  color: var(--white);
  margin-top: 10px;
}

.hero-logo-img {
  width: 460px;
  max-width: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Premio */
.hero-prize {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  padding: 0;
}

.prize-label {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--white);
  text-align: center;
  font-style: italic;
}

.prize-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.prize-currency {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  font-style: italic;
}

.prize-number {
  font-family: var(--font-heading);
  font-size: 5.8rem;
  font-weight: 900;
  color: var(--verde);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  letter-spacing: -2px;
  line-height: 1;
  font-style: italic;
}

.prize-sub {
  font-size: 1.3rem;
  font-weight: 400;
  opacity: 1;
  text-align: center;
  line-height: 1;
  color: var(--white);
  margin-top: 8px;
}

/* CTA group */
.hero-cta-group {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  position: relative;
}

.hero-cta-hint {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 1;
  text-align: left;
  line-height: 1.5;
  color: var(--white);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 30px;
  width: 250px;
  pointer-events: none;
}

/* Scroll down arrow */
.scroll-down {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  position: relative;
  z-index: 5;
  color: var(--white);
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.scroll-down svg {
  width: 32px;
  height: 32px;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* =============================================================
   3. BUTTONS
   ============================================================= */
.br-mobile {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 1px;
  border-radius: 50px;
  padding: 16px 36px;
  cursor: pointer;
  border: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    filter var(--transition);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Botón principal PARTICIPA */
.btn-participa {
  background: var(--magenta);
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 600;
  padding: 12px 40px;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0px -6px 0px 0px var(--white), 0px 8px 20px rgba(0, 0, 0, 0.25);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  animation: buttonHeartbeat 2.2s linear infinite;
}

.btn-participa:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0px -3px 0px 0px var(--white);
}

/* Botón tutorial */
.btn-tutorial {
  background: var(--blue-hero);
  color: var(--white);
  font-size: 1rem;
  padding: 12px 32px;
}

.btn-tutorial .btn-play {
  font-size: 0.9rem;
}

/* Botón PARTICIPA YA (CTA final) */
.btn-participa-ya {
  background: var(--magenta);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 500;
  padding: 5px 20px;
  border-radius: 50px;
  box-shadow: 0px -6px 0px 0px var(--white), 0px 10px 24px rgba(0, 0, 0, 0.28);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  animation: buttonHeartbeat 2.2s linear infinite;
}

.btn-participa-ya:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0px -3px 0px 0px var(--white);
}

/* SVG icon en botón PARTICIPA */
.btn-icon-svg {
  display: inline-block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}

/* =============================================================
   4. PASOS (Flip Cards interactivas)
   ============================================================= */
.pasos {
  background: var(--verde);
  padding: 80px 0 135px;
  /* 95px + 40px overlap compensation */
  position: relative;
  z-index: 2;
}

.pasos-title {
  font-size: 2.4rem;
  color: var(--blue-hero);
  margin-bottom: 50px;
}

.numero-destacado {
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1;
  vertical-align: baseline;
  display: inline-block;
}

.pasos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-bottom: 35px;
  max-width: 960px;
  margin-inline: auto;
}

/* Flip Card */
.paso-card {
  background: transparent;
  perspective: 1000px;
  height: 360px;
  cursor: pointer;
}

.paso-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.paso-card:hover .paso-card-inner,
.paso-card.flipped .paso-card-inner {
  transform: rotateY(180deg);
}

.paso-front,
.paso-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: var(--white);
  padding: 70px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.paso-front {
  z-index: 2;
  transform: rotateY(0deg);
}

.paso-back {
  transform: rotateY(180deg);
  justify-content: center;
  gap: 12px;
  background: #fafafa;
  border: 2px solid #ebebeb;
  padding-top: 85px;
  padding-bottom: 30px;
}

.paso-number {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--magenta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.paso-icon {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso-icon img {
  width: 100%;
  height: 100%;
  margin-top: 25px;
  object-fit: contain;
}

.paso-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue-hero);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  position: relative;
  top: 30px;
}

.paso-back-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: #1d2576;
  line-height: 1.4;
}

.paso-back-text {
  font-size: 1.1rem;
  color: #1d2576;
  line-height: 1.5;
}

.pasos-footnote {
  font-size: 0.85rem;
  color: var(--blue-hero);
  text-align: center;
  margin-bottom: 30px;
  opacity: 0;
  transition: opacity var(--transition);
  font-weight: 600;
}

.pasos-tutorial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pasos-tutorial p {
  font-size: 1rem;
  color: var(--blue-hero);
  font-weight: 700;
}

/* =============================================================
   5. PREMIOS
   ============================================================= */
.premios {
  background: var(--magenta);
  padding: 110px 0 130px;
  /* 90px + 40px overlap compensation */
  z-index: 3;
  position: relative;
  overflow: hidden;
}

/* Estilos de Confetti para la sección de Premios */
.premios-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ffd700;
  opacity: 0;
  border-radius: 2px;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }

  80% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(400px) rotate(360deg);
    opacity: 0;
  }
}

/* Animaciones rápidas del Hero (Logo, Título, Monto y Botón) */
.hero-content {
  animation: heroFastEntrance 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  opacity: 0;
  transform: translateY(15px);
  animation-delay: 0.1s;
}

.hero-cta-group {
  animation: heroFastEntrance 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  opacity: 0;
  transform: translateY(15px);
  animation-delay: 0.5s;
}

.hero-logo-img {
  animation: heroScaleEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  transform: scale(0.8);
  animation-delay: 0.25s;
}

.hero-prize {
  animation: heroScaleEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  transform: scale(0.8);
  animation-delay: 0.4s;
}

/* Animación de aparición de la mujer (Hero y Footer) */
.hero-woman,
.cta-woman {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-woman.animate-woman,
.cta-woman.animate-woman {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFastEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleEntrance {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Destello de fondo estático */
.premios::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  background-image: repeating-conic-gradient(from 0deg,
      rgba(255, 255, 255, 0.04) 0deg,
      rgba(255, 255, 255, 0.04) 5deg,
      transparent 5deg,
      transparent 10deg);
  z-index: 0;
  pointer-events: none;
}

.premios .container {
  position: relative;
  z-index: 1;
}

.premios-title {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 40px;
}

.premios-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border-radius: 16px;
  width: fit-content;
  margin: 0 auto 36px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tab-btn {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 14px 52px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: #e0e0e0;
  color: rgba(10, 108, 183, 0.5);
  transition: all var(--transition);
}

.tab-btn.tab-active {
  background: var(--blue-hero);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.premios-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 20px;
}

.premios-grid.top-row {
  grid-template-columns: repeat(3, 1fr);
}

.premios-grid.bottom-row {
  grid-template-columns: repeat(4, 1fr);
}

.premio-card {
  background: var(--white);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}

.premio-card.animate-card {
  animation: premioEntrance 0.5s ease-out forwards;
}

.premio-card:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  z-index: 2;
  transform: scale(1.04);
}

@property --pulse-scale {
  syntax: "<number>";
  inherits: false;
  initial-value: 1.015;
}

/* Latido suave del panel de premios */
.premios-panel {
  --pulse-scale: 1.015;
  animation: panelHeartbeat 3.5s infinite ease-in-out;
  transform-origin: center top;
  transition: --pulse-scale 0.4s ease;
}

.premios-panel:hover {
  --pulse-scale: 1.035;
}

@keyframes premioEntrance {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelHeartbeat {

  0%,
  100% {
    scale: 1;
  }

  50% {
    scale: var(--pulse-scale);
  }
}

@keyframes buttonHeartbeat {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

.premio-monto {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -2px;
  color: var(--blue-hero);
}

.premio-ganadores {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--magenta);
  text-transform: uppercase;
}

.premios-nota {
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.nota-icon {
  width: 26px;
  height: 26px;
  background: var(--white);
  color: #0066cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.premios-nota p {
  font-size: 0.85rem;
  color: var(--white);
  line-height: 1.3;
  opacity: 0.95;
}

/* =============================================================
   6. FECHAS
   ============================================================= */
.fechas {
  background: var(--white);
  padding: 115px 0 130px;
  /* 90px + 40px overlap compensation */
  z-index: 4;
  position: relative;
  color: var(--gray-text);
}

.fechas-title {
  font-size: 2.2rem;
  color: var(--blue-hero);
  margin-bottom: 10px;
}

.fechas-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--blue-hero);
  font-weight: 700;
  margin-bottom: 50px;
}

.tabla-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-card);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.tabla-sorteos {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.92rem;
}

.tabla-sorteos thead tr {
  background: var(--blue-hero);
  color: var(--white);
}

.tabla-sorteos th {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 20px;
  text-align: center;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.tabla-sorteos th:last-child {
  border-right: none;
}

.tabla-sorteos td {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid #eeeeee;
  border-right: 1px solid rgba(10, 108, 183, 0.15);
  color: #1d2576;
}

.tabla-sorteos td:last-child {
  border-right: none;
}

.tabla-sorteos tbody tr:last-child td {
  border-bottom: none;
}

.tabla-sorteos tbody tr:hover {
  background: var(--gray-light);
}

.sorteo-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.05rem;
}

.tabla-sorteos td.sorteo-oct,
.tabla-sorteos td.sorteo-feb {
  background-color: var(--magenta);
  color: var(--white);
}

.fecha-sorteo strong,
.fecha-publicacion strong {
  font-family: var(--font-heading);
  font-weight: 900;
}

/* Tarjetas mobile de fechas */
.fechas-mobile {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.fecha-card-mobile {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  border: 1px solid #d0d0d0;
}

.fecha-card-header {
  background: var(--magenta);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 16px;
}

.fecha-card-row {
  display: flex;
  border-bottom: 1px solid #e8e8e8;
}

.fecha-card-row--last {
  border-bottom: none;
}

.fecha-card-label {
  background: var(--blue-hero);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 0 0 160px;
  min-width: 160px;
  width: 160px;
  border-right: 1px solid rgba(10, 108, 183, 0.15);
}

.fecha-card-value {
  background: var(--white);
  color: #1d2576;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  line-height: 1.4;
}

.fecha-card-value--highlight strong {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: #1d2576;
}

.fechas-nota-legal {
  margin-top: 50px;
  text-align: center;
  font-family: var(--font-main);
  font-weight: 400;
  font-style: italic;
  font-size: 15px;
  color: var(--blue-hero);
  line-height: 1.7;
  opacity: 0.9;
}

/* =============================================================
   7. LO QUE DEBES SABER
   ============================================================= */
.saber {
  background: var(--magenta);
  padding: 110px 0 135px;
  /* 95px + 40px overlap compensation */
  z-index: 5;
  position: relative;
}

.saber-title {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 45px;
}

.saber-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.saber-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition);
}

.saber-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.saber-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saber-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  box-shadow: none;
}

.saber-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #1d2576;
  line-height: 1.2;
}

.saber-card-text {
  font-size: 1.05rem;
  line-height: 1.3;
  color: #1d2576;
}

.saber-card-text a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  color: inherit;
}

/* =============================================================
   8. CTA FINAL
   ============================================================= */
.cta-final {
  background: var(--blue-hero);
  padding: 80px 0 0;
  overflow: visible;
  z-index: 6;
  position: relative;
  /* z-index 6: encima de saber (5), sus esquinas redondeadas son visibles */
}

.cta-final-inner {
  display: grid;
  grid-template-columns: 1.2fr auto 1.1fr;
  align-items: end;
  gap: 40px;
  position: relative;
}

.cta-bottom-row {
  display: contents;
}

.cta-text {
  color: var(--white);
  padding-bottom: 60px;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  font-style: italic;
  line-height: 0.8;
  margin-bottom: 20px;
}

.cta-ganar {
  color: var(--verde);
  font-size: 7rem;
  font-weight: 700;
  display: block;
}

.cta-sub {
  font-size: 1.2rem;
  opacity: 1;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 20px;
}

.cta-action-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--verde);
  line-height: 1.2;
}

.cta-woman {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  margin-bottom: -5px;
}

.cta-woman img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  vertical-align: bottom;
  filter: drop-shadow(0 -5px 15px rgba(0, 0, 0, 0.3));
}

.cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-bottom: 60px;
}

.cta-logo {
  max-width: 220px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* =============================================================
   9. FOOTER
   ============================================================= */
.site-footer {
  background: var(--blue-hero);
  z-index: 7;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Sunburst estático en el footer */
.site-footer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  transform: translate(-50%, -50%);
  background-image: repeating-conic-gradient(from 0deg,
      rgba(255, 255, 255, 0.06) 0deg,
      rgba(255, 255, 255, 0.06) 5deg,
      transparent 5deg,
      transparent 10deg);
  z-index: 0;
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  gap: 0 20px;
  padding: 50px 0 35px;
  position: relative;
  z-index: 1;
  align-items: start;
}

/* Divisor vertical entre columnas */
.footer-divider-vertical {
  width: 1px;
  background: var(--white);
  align-self: stretch;
}

/* Línea divisora entre CTA y zona legal */
.footer-divider {
  width: 100%;
  height: 2px;
  opacity: 1;
  background: var(--white);
  margin: 5px 0;
  position: relative;
  z-index: 1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
}

.footer-legal {
  align-self: stretch;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.footer-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--white);
  line-height: 1.5;
  font-weight: 700;
  transition: opacity var(--transition);
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-link-icon-svg {
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
  filter: brightness(0) invert(1);
}

/* Footer bottom: oculto — el logo SUNAT ya aparece en el footer principal */
.footer-bottom {
  display: none;
}

.footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: none;
}

/* =============================================================
   MODAL – Video Tutorial
   ============================================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 11, 55, 0.6);
  backdrop-filter: blur(10px);
  transition: backdrop-filter 0.4s ease;
}

.video-modal-content {
  position: relative;
  width: min(800px, 90%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-embed {
  width: 100%;
  height: 100%;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.video-close-btn {
  position: absolute;
  top: -45px;
  right: -5px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease;
}

.video-close-btn:hover {
  transform: scale(1.2);
}

/* =============================================================
   RESPONSIVE – Tablet + Mobile (≤ 1080px)
   Breakpoint unificado. Las clases .force-mobile comparten
   las mismas reglas aplicadas también aquí.
   ============================================================= */
@media (max-width: 1080px) {

  /* --- Hero --- */
  .hero {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 0;
  }

  .hero-supertitle {
    font-size: 12px;
    margin-top: 0;
    text-align: center;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    order: 1;
    width: 100%;
    text-align: center;
  }

  .hero-logo-block {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
    margin-top: 4px;
  }

  .hero-logo-img {
    max-width: 90%;
    width: 340px;
  }

  .hero-bottom-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    gap: 0;
    order: 2;
    margin-top: 8px;
    position: relative;
    min-height: 250px;
  }

  /* Ocultar mujer en mobile */
  .hero-woman {
    display: none;
  }

  .hero-prize-cta-col {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 24px;
    gap: 8px;
    position: relative;
    z-index: 2;
  }

  .hero-prize {
    align-items: center;
    text-align: center;
    gap: 2px;
  }

  .prize-label {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    font-style: italic;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }

  .prize-amount {
    gap: 2px;
    align-items: baseline;
  }

  .prize-currency {
    font-size: 1.8rem;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.247);
  }

  .prize-number {
    font-size: 3.2rem;
    letter-spacing: -2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.699);
  }

  .prize-sub {
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }

  .prize-sub .br-desktop {
    display: none;
  }

  .br-mobile {
    display: inline;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    margin-top: 8px;
  }

  .hero-cta-hint {
    position: static;
    transform: none;
    margin-left: 0;
    margin-top: 4px;
    width: 100%;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }

  .btn-participa {
    font-size: 1.15rem;
    padding: 8px 24px;
    box-shadow: 0px -4px 0px 0px var(--white), 0 4px 12px rgba(0, 0, 0, 0.5);
  }

  /* --- Pasos --- */
  .pasos {
    padding-top: 80px;
  }

  .pasos-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto;
    gap: 16px;
  }

  .paso-card {
    height: 340px;
  }

  .paso-front,
  .paso-back {
    padding: 60px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .paso-back {
    padding-top: 60px;
    padding-bottom: 20px;
    justify-content: center;
    gap: 8px;
  }

  .paso-label {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: auto;
    margin-bottom: 0;
    position: relative;
    top: 0;
  }

  .paso-icon {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .paso-icon img {
    max-height: 100%;
  }

  .paso-back-title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .paso-back-text {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* --- Premios --- */
  .premios-grid {
    gap: 14px;
  }

  .premios-grid.top-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .premios-grid.top-row .premio-card:first-child {
    grid-column: 1 / -1;
    margin-bottom: 14px;
  }

  .premios-grid.bottom-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .premio-monto {
    font-size: 26px;
    letter-spacing: -1px;
  }

  .premio-ganadores {
    font-size: 13px;
  }

  .premios-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
  }

  .premios-tabs .tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
  }

  /* --- Lo que debes saber --- */
  .saber-grid {
    grid-template-columns: 1fr;
  }

  /* --- Títulos de sección --- */
  .pasos-title,
  .premios-title,
  .saber-title,
  .fechas-title {
    font-size: 1.75rem;
    font-weight: 700;
  }

  /* Ocultar guiones decorativos en mobile */
  .section-title .dash {
    display: none;
  }

  /* --- Fechas: tabla → tarjetas mobile --- */
  .tabla-wrapper {
    display: none;
  }

  .fechas-mobile {
    display: flex;
  }

  /* --- CTA Final + Footer --- */
  .cta-final-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-text {
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
  }

  .cta-bottom-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    position: relative;
    min-height: 250px;
  }

  .cta-woman {
    position: absolute;
    left: -10px;
    bottom: -25px;
    width: 55%;
    max-width: 280px;
    margin: 0;
    z-index: 1;
  }

  .cta-woman img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 380px;
  }

  .cta-right {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
  }

  .cta-logo {
    width: 100%;
    max-width: 160px;
    margin-bottom: 15px;
  }

  .cta-headline {
    font-size: 2.8rem;
    line-height: 1;
  }

  .cta-ganar {
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    font-size: 4rem;
  }

  .cta-action-text {
    color: var(--verde);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 10px;
  }

  .btn-participa-ya {
    font-size: 1.15rem;
    padding: 8px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-divider-vertical {
    display: none;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .footer-link {
    justify-content: flex-start;
    text-align: left;
    align-items: center;
    font-size: 1rem;
    gap: 16px;
  }

  .footer-link-icon-svg {
    width: 40px;
    height: auto;
    flex-shrink: 0;
  }
}

/* =============================================================
   Force Mobile – aplica las mismas reglas mobile cuando JS
   detecta pantalla física pequeña con modo escritorio activo.
   ============================================================= */
.force-mobile .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.force-mobile .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  order: 1;
  width: 100%;
}

.force-mobile .hero-bottom-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  width: 100%;
  gap: 0;
  order: 2;
  margin-top: 8px;
  position: relative;
  min-height: 250px;
}

/* Ocultar mujer en force-mobile también */
.force-mobile .hero-woman {
  display: none;
}

.force-mobile .hero-prize-cta-col {
  display: flex;
  flex: 1;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 24px;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.force-mobile .hero-prize {
  align-items: center;
  text-align: center;
  gap: 0;
}

.force-mobile .prize-label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  font-style: italic;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.411);
}

.force-mobile .prize-currency {
  font-size: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.411);
}

.force-mobile .prize-number {
  font-size: 4rem;
  letter-spacing: -2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.411);
}

.force-mobile .prize-sub {
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin-top: 4px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.force-mobile .prize-sub .br-desktop {
  display: none;
}

.force-mobile .br-mobile {
  display: inline;
}

.force-mobile .hero-cta-group {
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-top: 8px;
}

.force-mobile .hero-cta-hint {
  position: static;
  transform: none;
  margin-left: 0;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.force-mobile .btn-participa {
  font-size: 1.55rem;
  padding: 8px 24px;
  box-shadow: 0px -4px 0px 0px var(--white), 0 4px 12px rgba(0, 0, 0, 0.5);
  animation: buttonHeartbeat 2.2s linear infinite;
}

.force-mobile .cta-final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.force-mobile .cta-text {
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

.force-mobile .cta-bottom-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  width: 100%;
  position: relative;
  min-height: 250px;
}

.force-mobile .cta-woman {
  position: absolute;
  left: -10px;
  bottom: -7px;
  width: 55%;
  max-width: 280px;
  margin: 0;
  z-index: 1;
}

.force-mobile .cta-woman img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
}

.force-mobile .cta-right {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-bottom: 20px;
  position: relative;
  z-index: 2;
}

.force-mobile .cta-logo {
  width: 100%;
  max-width: 210px;
  margin-bottom: 15px;
}

.force-mobile .cta-headline {
  font-size: 2.8rem;
  line-height: 1;
}

.force-mobile .cta-ganar {
  font-family: var(--font-heading);
  font-weight: 700;
  font-style: italic;
  font-size: 4rem;
}

.force-mobile .btn-participa-ya {
  font-size: 1.55rem;
  padding: 8px 24px;
  box-shadow: 0px -6px 0px 0px var(--white), 0px 10px 24px rgba(0, 0, 0, 0.28);
  animation: buttonHeartbeat 2.2s linear infinite;
}

.force-mobile .cta-action-text {
  color: var(--verde);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-top: 10px;
}

/* Footer legal mobile */
.force-mobile .footer-legal-parrafo {
  text-align: justify;
  text-align-last: left;
  -moz-text-align-last: left;
  -webkit-text-size-adjust: 100%;
  line-height: 1.15;
}

.force-mobile .footer-inner {
  grid-template-columns: 1fr;
  text-align: center;
  gap: 10px;
}

.force-mobile .footer-divider-vertical {
  display: none;
}

.force-mobile .footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
}

.force-mobile .footer-link {
  justify-content: flex-start;
  text-align: left;
  align-items: center;
  font-size: 1rem;
  gap: 16px;
}

.force-mobile .footer-link-icon-svg {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.force-mobile .footer-legal {
  align-self: stretch;
}

.force-mobile .pasos-grid,
.force-mobile .saber-grid {
  grid-template-columns: 1fr;
}

.force-mobile .tabla-wrapper {
  display: none;
}

.force-mobile .fechas-mobile {
  display: flex;
}

.force-mobile .premios-grid.top-row {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.force-mobile .premios-grid.top-row .premio-card:first-child {
  grid-column: 1 / -1;
  margin-bottom: 14px;
}

.force-mobile .premios-grid.bottom-row {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.force-mobile .premio-monto {
  font-size: 26px;
  letter-spacing: -1px;
}

.force-mobile .premio-ganadores {
  font-size: 13px;
}

.force-mobile .pasos-grid {
  grid-template-columns: 1fr;
  max-width: 320px;
  margin-inline: auto;
  gap: 30px;
}

.force-mobile .paso-card {
  height: 340px;
}

.force-mobile .paso-front,
.force-mobile .paso-back {
  padding: 80px 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.force-mobile .paso-back {
  padding-top: 60px;
  padding-bottom: 20px;
  justify-content: center;
  gap: 8px;
}

.force-mobile .paso-label {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: auto;
  margin-bottom: 0;
  position: relative;
  top: 0;
}

.force-mobile .paso-icon {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.force-mobile .paso-icon img {
  max-height: 100%;
}

.force-mobile .paso-back-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.force-mobile .paso-back-text {
  font-size: 1.2rem;
  line-height: 1.4;
}

/* Ocultar guiones en títulos con force-mobile */
.force-mobile .section-title .dash {
  display: none;
}

.force-mobile .pasos-title,
.force-mobile .premios-title,
.force-mobile .saber-title,
.force-mobile .fechas-title {
  font-size: 1.75rem;
  font-weight: 700;
}