/* ==========================================================================
   PORTAL OFICIAL - CAMPEONATO INTERNACIONAL ABIERTO DEL VALLE 2026
   ASOCIACIÓN DEPARTAMENTAL DE TIRO DEPORTIVO COCHABAMBA • BOLIVIA
   SISTEMA DE DISEÑO: "WINTER PRECISION" (SENIOR UI/UX ARCHITECTURE)
   ========================================================================== */

:root {
  /* Fondos Principales (Lectura descansada y alto contraste) */
  --bg-body: #F8FAFC;          /* Blanco Hielo */
  --bg-subtle: #F1F5F9;        /* Gris Pizarra muy suave */
  --bg-surface: #FFFFFF;       /* Superficie Blanca Pura */
  
  /* Bloques de Alto Impacto & Contraste Institucional */
  --bg-night: #0B132B;         /* Azul Noche Profundo */
  --bg-night-surface: #152244; /* Superficie Noche Elevada */
  --bg-night-card: rgba(21, 34, 68, 0.7);
  
  /* Color de Marca & Acción (Extraído del Logotipo Oficial) */
  --brand-cerulean: #0284C7;   /* Azul Cerúleo Oficial */
  --brand-cerulean-hover: #0369A1;
  --brand-cerulean-light: #E0F2FE;
  --brand-cerulean-border: #BAE6FD;
  
  /* Acentos Conmemorativos & Festivos Sutiles */
  --festive-silver: #94A3B8;   /* Plata Metálico */
  --festive-gold: #D4AF37;     /* Dorado Champán */
  --festive-gold-light: #FEF3C7;
  --festive-gold-border: #FDE68A;

  /* Textos Principales */
  --text-primary: #0F172A;     /* Pizarra Oscuro (Alta legibilidad) */
  --text-secondary: #334155;   /* Gris Intermedio */
  --text-muted: #64748B;       /* Texto Secundario / Etiquetas */
  --text-on-dark: #FFFFFF;     /* Texto sobre Azul Noche */
  --text-on-dark-muted: #94A3B8;

  /* Estados de Acción */
  --status-green: #16A34A;
  --status-green-light: #DCFCE7;
  --status-green-border: #86EFAC;

  /* Bordes Finos Geométricos */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-night: rgba(255, 255, 255, 0.12);

  /* Sombras Táctiles Discretas (Sin desenfoques exagerados de IA) */
  --shadow-subtle: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lift: 0 10px 20px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);

  /* Tipografías */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Espaciado Modular */
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-18: 18px;
  --space-20: 20px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --space-36: 36px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;

  /* Radios de Curvatura Sobrios */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

/* ==========================================================================
   RESET & FUNDAMENTOS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 74px; /* Reserva para barra móvil fija */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 860px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease;
}

.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.hide-mobile {
  display: none;
}
@media (min-width: 768px) {
  .hide-mobile {
    display: inline;
  }
}

/* ==========================================================================
   CABECERA INSTITUCIONAL
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logotipo Oficial Navidad 2026 respirando libremente */
.brand-crest {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.15));
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--bg-night);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.74rem;
  color: var(--brand-cerulean);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 990px) {
  .main-nav {
    display: flex;
  }
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-item:hover {
  color: var(--brand-cerulean);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-nav-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.social-link-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-link-btn:hover {
  background: var(--brand-cerulean-light);
  border-color: var(--brand-cerulean-border);
  color: var(--brand-cerulean);
  transform: translateY(-1px);
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--brand-cerulean);
  color: #FFFFFF;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease;
}

.btn-primary-action .svg-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.btn-primary-action:hover {
  background: var(--brand-cerulean-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.btn-primary-action:hover .svg-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   HERO DE ALTO IMPACTO (AZUL NOCHE PROFUNDO INSTITUCIONAL)
   ========================================================================== */
.hero-arena {
  position: relative;
  background-color: var(--bg-night);
  color: var(--text-on-dark);
  padding: 4rem 1.25rem 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 860px) {
  .hero-arena {
    padding: 5.5rem 1.5rem 6rem;
  }
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(2, 132, 199, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(11, 19, 43, 0.8) 0%, rgba(11, 19, 43, 0.98) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Insignia Federativa */
.federation-strip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-night);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.75rem;
}

.federation-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-cerulean-light);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-cerulean);
  box-shadow: 0 0 8px var(--brand-cerulean);
}

.federation-logos {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fed-icon {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.fed-sep {
  color: var(--festive-silver);
  font-size: 0.75rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin-bottom: 1.15rem;
  max-width: 880px;
}

.headline-accent {
  display: block;
  color: #38BDF8;
  font-weight: 900;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-on-dark-muted);
  max-width: 760px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-subheadline strong {
  color: var(--text-on-dark);
}

/* ==========================================================================
   PRECISION SCOREBOARD / COUNTDOWN
   ========================================================================== */
.timer-scoreboard {
  background: var(--bg-night-surface);
  border: 1px solid var(--border-night);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  width: 100%;
  max-width: 540px;
  margin-bottom: 2.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
}

.timer-scoreboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-cerulean), transparent);
}

.scoreboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.scoreboard-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--festive-gold);
}

.scoreboard-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--festive-silver);
}

.scoreboard-target {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--festive-gold);
  letter-spacing: 0.04em;
}

.scoreboard-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  .scoreboard-digits {
    gap: 0.85rem;
  }
}

.digit-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.digit-number {
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.5rem;
  width: 100%;
  text-align: center;
}

.digit-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--festive-silver);
  letter-spacing: 0.08em;
  margin-top: 0.45rem;
}

.digit-divider {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-cerulean);
  opacity: 0.7;
  margin-bottom: 1rem;
}

/* Botones de Acción Hero */
.hero-button-deck {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 520px;
  margin-bottom: 3rem;
}

@media (min-width: 580px) {
  .hero-button-deck {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-cta-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--brand-cerulean);
  color: #FFFFFF;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.96rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transition: all 0.2s ease;
}

.btn-cta-lg svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-cta-lg:hover {
  background: var(--brand-cerulean-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-night);
  color: var(--text-on-dark);
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-outline-lg svg {
  width: 18px;
  height: 18px;
  fill: #4ADE80;
}

.btn-outline-lg:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   CINTA DE ESPECIFICACIONES TÉCNICAS (PRECISIÓN Y SOBRIEDAD)
   ========================================================================== */
.specs-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 900px;
}

@media (min-width: 720px) {
  .specs-ribbon {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec-cell {
  background: var(--bg-night-surface);
  border: 1px solid var(--border-night);
  border-radius: var(--radius-sm);
  padding: 1.25rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.2s ease;
}

.spec-cell:hover {
  border-color: var(--brand-cerulean);
}

.spec-val {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #38BDF8;
  line-height: 1.1;
}

.spec-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-on-dark);
  margin-top: 0.35rem;
}

.spec-note {
  font-size: 0.72rem;
  color: var(--festive-silver);
  margin-top: 0.15rem;
}

/* ==========================================================================
   SECCIONES CLARAS ("WINTER PRECISION" HIGH CONTRAST)
   ========================================================================== */
.content-section {
  padding: var(--space-64) 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 860px) {
  .content-section {
    padding: 5rem 1.5rem;
  }
}

.surface-section {
  background-color: var(--bg-subtle);
}

.section-bounds {
  max-width: 1140px;
  margin: 0 auto;
}

.section-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-48);
}

.section-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-cerulean);
  background: var(--brand-cerulean-light);
  border: 1px solid var(--brand-cerulean-border);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-8);
}

.section-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN: BANNER OFICIAL INTEGRADO
   ========================================================================== */
.poster-integrated-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-20);
  box-shadow: var(--shadow-card);
}

@media (min-width: 860px) {
  .poster-integrated-container {
    padding: var(--space-32);
    gap: var(--space-32);
  }
}

.poster-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
  box-shadow: var(--shadow-lift);
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #0B132B;
}

.poster-full-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.poster-frame:hover .poster-full-image {
  transform: scale(1.015);
}

.poster-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 43, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(2px);
}

.poster-hover-overlay svg {
  width: 28px;
  height: 28px;
  fill: #38BDF8;
}

.poster-frame:hover .poster-hover-overlay {
  opacity: 1;
}

.poster-side-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

@media (min-width: 860px) {
  .poster-side-info {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-40);
    align-items: start;
    padding-top: var(--space-16);
    border-top: 1px solid var(--border-light);
  }
}

.side-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-cerulean);
  background: var(--brand-cerulean-light);
  border: 1px solid var(--brand-cerulean-border);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}

.side-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: var(--space-8);
}

.side-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-24);
}

.side-features-clean {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

.clean-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-bullet {
  color: var(--brand-cerulean);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 900;
}

.clean-feature-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.clean-feature-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   CRONOGRAMA OFICIAL (TIMELINE CARDS)
   ========================================================================== */
.timeline-full-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  max-width: 960px;
  margin: 0 auto;
}

.schedule-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-24);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .schedule-block {
    grid-template-columns: 180px 1fr;
    padding: var(--space-32);
    gap: var(--space-32);
  }
}

.schedule-block:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card);
}

.schedule-block.highlight-primary {
  border-left: 4px solid var(--brand-cerulean);
}

.schedule-block.highlight-gold {
  border-left: 4px solid var(--festive-gold);
}

.schedule-date-col {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .schedule-date-col {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    padding-bottom: 0;
    padding-right: var(--space-24);
  }
}

.schedule-day {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.schedule-month {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.schedule-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-top: var(--space-16);
}

.schedule-tag.highlight {
  background: var(--brand-cerulean-light);
  color: var(--brand-cerulean);
  border-color: var(--brand-cerulean-border);
}

.schedule-tag.gold {
  background: var(--festive-gold-light);
  color: #92400E;
  border-color: var(--festive-gold-border);
}

.schedule-events-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.event-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 600px) {
  .event-item {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

.event-item.highlight-box {
  background: var(--brand-cerulean-light);
  border: 1px solid var(--brand-cerulean-border);
  border-radius: var(--radius-sm);
  padding: var(--space-16);
}

.event-item.highlight-box.gold {
  background: var(--festive-gold-light);
  border-color: var(--festive-gold-border);
}

.event-time {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-cerulean);
}

.event-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.event-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.event-location-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-cerulean);
  margin-top: 0.45rem;
}

.event-location-pill.gold {
  color: #92400E;
}

/* ==========================================================================
   MATRIZ DE TARIFAS (CLEAN HIGH CONTRAST)
   ========================================================================== */
.tier-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  margin-bottom: var(--space-32);
}

@media (min-width: 860px) {
  .tier-matrix {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-32) var(--space-24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tier-card:hover {
  border-color: var(--brand-cerulean);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.tier-top {
  margin-bottom: var(--space-16);
}

.tier-category {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-cerulean);
}

.tier-heading {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.25rem 0 0.4rem;
}

.tier-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.tier-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: var(--space-20) 0 var(--space-24);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border-light);
}

.tier-price-row .currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-cerulean);
}

.tier-price-row .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.tier-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
  flex-grow: 1;
}

.tier-includes li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.tier-includes li::before {
  content: "✓";
  color: var(--brand-cerulean);
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.btn-tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-cerulean);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-tier:hover {
  background: var(--brand-cerulean-hover);
  transform: translateY(-1px);
}

.btn-tier.secondary {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.btn-tier.secondary:hover {
  background: #E2E8F0;
  border-color: var(--border-medium);
}

.ro-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-16) var(--space-24);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-subtle);
}

.ro-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--festive-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ro-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: #B45309;
}

.ro-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   AVISO DE SEGURIDAD Y PRIVACIDAD DE DATOS (ICE BLUE CARD)
   ========================================================================== */
.security-guarantee-card {
  background: #F0F9FF;
  border: 1px solid var(--brand-cerulean-border);
  border-radius: var(--radius-md);
  padding: var(--space-24);
  display: flex;
  gap: var(--space-16);
  align-items: flex-start;
  margin-bottom: var(--space-32);
}

.security-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--brand-cerulean);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-badge-icon svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.security-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.security-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.security-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.security-desc strong {
  color: var(--brand-cerulean-hover);
}

.security-subnote {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.35rem;
}

/* ==========================================================================
   PASOS DE INSCRIPCIÓN (STEPS FLOW)
   ========================================================================== */
.steps-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  margin-bottom: var(--space-48);
}

@media (min-width: 880px) {
  .steps-flow {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-module {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-32) var(--space-24);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.step-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-cerulean);
  background: var(--brand-cerulean-light);
  border: 1px solid var(--brand-cerulean-border);
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-16);
}

.step-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-16);
}

.step-checklist {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-24);
  flex-grow: 1;
}

.chk-item {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.btn-step-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-cerulean);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-step-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-step-link:hover {
  background: var(--brand-cerulean-hover);
}

/* Tarjeta Bancaria */
.banking-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-16);
}

.bank-line {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.b-lbl {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.b-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.btn-copy-chip {
  background: var(--brand-cerulean-light);
  color: var(--brand-cerulean);
  border: 1px solid var(--brand-cerulean-border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.15s ease;
}

.btn-copy-chip:hover {
  background: var(--brand-cerulean);
  color: #FFFFFF;
}

.btn-view-qr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.btn-view-qr svg {
  width: 17px;
  height: 17px;
  fill: var(--brand-cerulean);
}

.btn-view-qr:hover {
  background: var(--brand-cerulean-light);
  border-color: var(--brand-cerulean);
  color: var(--brand-cerulean);
}

.cash-allowed-notice {
  background: var(--festive-gold-light);
  border: 1px solid var(--festive-gold-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #92400E;
  line-height: 1.45;
  margin-bottom: var(--space-16);
}

.cash-allowed-notice svg {
  width: 18px;
  height: 18px;
  fill: #B45309;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-wa-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--status-green);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: auto;
  transition: background 0.15s ease;
}

.btn-wa-full svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-wa-full:hover {
  background: #15803D;
}

/* ==========================================================================
   INSCRIPCIÓN ASISTIDA POR WHATSAPP (CAMPOS EXACTOS EN LIGHT THEME)
   ========================================================================== */
.wa-fallback-container {
  background: var(--bg-surface);
  border: 1px solid var(--status-green-border);
  border-radius: var(--radius-md);
  padding: var(--space-32) var(--space-24);
  box-shadow: var(--shadow-card);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .wa-fallback-container {
    padding: var(--space-40) var(--space-32);
  }
}

.wa-fallback-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--status-green);
  background: var(--status-green-light);
  border: 1px solid var(--status-green-border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}

.wa-fallback-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-8);
}

.wa-fallback-lead {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-32);
}

.wa-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

@media (min-width: 680px) {
  .wa-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.input-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.input-field input,
.input-field select {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  color: var(--text-primary);
  font-size: 1rem; /* 16px mínimo para evitar zoom en iOS */
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.input-field input[type="date"] {
  cursor: pointer;
}

.input-field input:focus,
.input-field select:focus {
  border-color: var(--brand-cerulean);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.wa-checklist-reminder {
  grid-column: 1 / -1;
  background: var(--status-green-light);
  border: 1px dashed var(--status-green-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.reminder-head {
  font-size: 0.84rem;
  font-weight: 700;
  color: #166534;
}

.reminder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rtag {
  font-size: 0.76rem;
  font-weight: 600;
  background: #FFFFFF;
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.wa-submit-cell {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-8);
}

.btn-wa-generate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--status-green);
  color: #FFFFFF;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
  transition: all 0.2s ease;
  width: 100%;
}

@media (min-width: 600px) {
  .btn-wa-generate {
    width: auto;
  }
}

.btn-wa-generate svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-wa-generate:hover {
  background: #15803D;
  transform: translateY(-1px);
}

/* ==========================================================================
   SEDES OFICIALES & HOSPEDAJE
   ========================================================================== */
.venues-split.two-venues {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}

@media (min-width: 860px) {
  .venues-split.two-venues {
    grid-template-columns: repeat(2, 1fr);
  }
}

.venue-showcase {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-32) var(--space-24);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-subtle);
}

.venue-showcase.gold-accent {
  border-color: var(--festive-gold-border);
  background: #FFFFFD;
}

.venue-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
  flex-wrap: wrap;
}

.venue-partner-logo {
  height: 68px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.venue-partner-logo:hover {
  opacity: 1;
  transform: scale(1.04);
}

.venue-partner-logo.etome-logo {
  height: 64px;
  max-width: 180px;
}

.venue-partner-logo.hotel-logo {
  height: 72px;
}

.venue-partner-logo.restaurant-logo {
  height: 68px;
}

.venue-logos-duo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.venue-badge-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-cerulean);
  background: var(--brand-cerulean-light);
  border: 1px solid var(--brand-cerulean-border);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.venue-showcase > .venue-badge-pill {
  margin-bottom: var(--space-16);
}

.venue-badge-pill.gold {
  color: #92400E;
  background: var(--festive-gold-light);
  border-color: var(--festive-gold-border);
}

.venue-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.venue-subline {
  font-size: 0.86rem;
  color: var(--brand-cerulean);
  font-weight: 700;
  margin: 0.35rem 0 var(--space-16);
}

.venue-showcase.gold-accent .venue-subline {
  color: #B45309;
}

.venue-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-24);
}

.venue-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: var(--space-24);
}

.venue-highlights li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.venue-highlights li::before {
  content: "•";
  color: var(--brand-cerulean);
  font-size: 1.3rem;
  line-height: 1;
}

/* Callout de Hospedaje en Hotel Angostura */
.lodging-callout {
  background: var(--festive-gold-light);
  border: 1px solid var(--festive-gold-border);
  border-radius: var(--radius-sm);
  padding: var(--space-16);
  margin-bottom: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lodging-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #78350F;
}

.lodging-text {
  font-size: 0.88rem;
  color: #92400E;
  line-height: 1.5;
}

.lodging-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFFFFF;
  border: 1px solid var(--festive-gold-border);
  color: #78350F;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.phone-chip svg {
  width: 15px;
  height: 15px;
  fill: #B45309;
}

.phone-chip:hover {
  background: #FEF3C7;
  border-color: #B45309;
}

.venue-actions-bar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.btn-venue-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  width: 100%;
}

.btn-venue-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-venue-action.primary {
  background: var(--brand-cerulean);
  color: #FFFFFF;
}

.btn-venue-action.primary:hover {
  background: var(--brand-cerulean-hover);
}

.btn-venue-action.secondary {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.btn-venue-action.secondary:hover {
  background: #E2E8F0;
}

/* ==========================================================================
   PIE DE PÁGINA (AZUL NOCHE PROFUNDO CON REDES OFICIALES)
   ========================================================================== */
.main-footer {
  background: var(--bg-night);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-64) 1.25rem var(--space-32);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  padding-bottom: var(--space-32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: 1.6fr 1.2fr;
  }
}

.footer-crests {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: var(--space-20);
  flex-wrap: wrap;
}

.footer-crest,
.footer-crest-sub,
.footer-crest-item {
  height: 40px !important;
  width: 40px !important;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease;
}

.footer-crest:hover,
.footer-crest-sub:hover,
.footer-crest-item:hover {
  transform: scale(1.08);
}

.footer-crest-sub.wide-crest,
.footer-crest-item.wide-crest {
  width: auto !important;
  max-width: 85px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-on-dark);
  line-height: 1.3;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--festive-silver);
  margin-top: 0.35rem;
  margin-bottom: var(--space-24);
}

.footer-social-deck {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-deck-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--festive-silver);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.social-deck-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-night);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  transition: all 0.2s ease;
}

.social-pill svg {
  width: 15px;
  height: 15px;
  fill: #38BDF8;
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #38BDF8;
  color: #38BDF8;
}

.footer-links-pane {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-head {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #38BDF8;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.footer-info-row {
  font-size: 0.86rem;
  color: var(--festive-silver);
}

.footer-info-row a {
  color: #4ADE80;
  font-weight: 700;
}

.footer-info-row a:hover {
  text-decoration: underline;
}

.footer-copyright {
  padding-top: var(--space-24);
  text-align: center;
  font-size: 0.78rem;
  color: var(--festive-silver);
}

/* ==========================================================================
   BARRA FLOTANTE MÓVIL (THUMB-FRIENDLY 48PX TOUCH TARGETS)
   ========================================================================== */
.bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: rgba(11, 19, 43, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-night);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}

@media (min-width: 860px) {
  .bottom-dock {
    display: none;
  }
}

.dock-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 48px;
}

.dock-action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dock-action.primary {
  background: var(--brand-cerulean);
  color: #FFFFFF;
}

.dock-action.wa {
  background: var(--status-green);
  color: #FFFFFF;
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.modal-top {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-trigger {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 0.25rem;
}

.modal-close-trigger:hover {
  color: var(--text-primary);
}

.modal-canvas {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  background: var(--bg-subtle);
}

.modal-canvas img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.modal-foot {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.modal-btn-download {
  background: var(--brand-cerulean);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
}

.modal-btn-close {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================================================
   TOAST NOTIFICACIÓN
   ========================================================================== */
.toast-alert {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-night);
  color: #FFFFFF;
  border: 1px solid var(--border-night);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 3000;
  white-space: nowrap;
}

@media (min-width: 860px) {
  .toast-alert {
    bottom: 30px;
  }
}

.toast-alert.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   TEMA NAVIDEÑO: EFECTO DE NIEVE SUTIL Y DELICADO
   ========================================================================== */
.snow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -24px;
  color: #FFFFFF;
  opacity: 0.65;
  user-select: none;
  pointer-events: none;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.8), 0 0 6px rgba(56, 189, 248, 0.3);
  animation-name: snowfall, snowSway;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

@keyframes snowfall {
  0% {
    top: -24px;
    opacity: 0;
  }
  15% {
    opacity: 0.7;
  }
  85% {
    opacity: 0.7;
  }
  100% {
    top: 102vh;
    opacity: 0;
  }
}

@keyframes snowSway {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .snow-wrapper {
    display: none;
  }
}

/* ==========================================================================
   3 MODALIDADES DE INSCRIPCIÓN & BANNER DE REGLA ÚNICA
   ========================================================================== */
.single-choice-rule-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid #D97706;
  border-radius: var(--radius-md);
  padding: var(--space-20);
  margin-bottom: var(--space-32);
  box-shadow: var(--shadow-subtle);
}

.rule-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule-icon svg {
  width: 28px;
  height: 28px;
  fill: #D97706;
}

.rule-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 0.35rem;
}

.rule-desc {
  font-size: 0.88rem;
  color: #78350F;
  line-height: 1.5;
}

.registration-modes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  margin-bottom: var(--space-40);
}

@media (min-width: 860px) {
  .registration-modes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mode-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(11, 19, 43, 0.04);
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-top: 5px solid var(--border-light);
}

.mode-card.mode-online {
  border-top-color: var(--brand-cerulean);
}

.mode-card.mode-wa {
  border-top-color: var(--status-green);
}

.mode-card.mode-mall {
  border-top-color: #D97706;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 19, 43, 0.08);
}

.mode-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.mode-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  line-height: 1.2;
}

.mode-badge-pill.blue {
  background: var(--brand-cerulean-light);
  color: var(--brand-cerulean);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.mode-badge-pill.green {
  background: var(--status-green-light);
  color: var(--status-green);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.mode-badge-pill.gold {
  background: var(--festive-gold-light);
  color: #B45309;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.mode-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.mode-status-tag.wa {
  color: #15803D;
}

.mode-status-tag.mall {
  color: #92400E;
}

.mode-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-8);
  line-height: 1.25;
}

.mode-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-16);
}

.mode-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: var(--space-24);
  flex-grow: 1;
}

.mode-steps li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.mode-steps li::before {
  content: "•";
  color: var(--brand-cerulean);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1;
}

.mode-card-action {
  margin-top: auto;
}

/* Regla global de protección para SVGs en botones y enlaces */
a svg, button svg, .btn-mode svg, .btn-step-link svg, .dock-action svg, .btn-venue-action svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
  fill: currentColor !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.btn-mode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-mode.primary {
  background: var(--brand-cerulean);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
}

.btn-mode.primary:hover {
  background: var(--brand-cerulean-hover);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transform: translateY(-1px);
}

.btn-mode.wa {
  background: var(--status-green);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.2);
}

.btn-mode.wa:hover {
  background: #15803D;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
  transform: translateY(-1px);
}

.mode-badge-foot {
  font-size: 0.8rem;
  font-weight: 700;
  color: #92400E;
  background: var(--festive-gold-light);
  border: 1px solid var(--festive-gold-border);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* ==========================================================================
   SECCIÓN: AUTORIDADES DE LA COMPETENCIA
   ========================================================================== */
.authorities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1040px;
  margin: 32px auto 0;
  padding: 0 16px;
}

@media (min-width: 860px) {
  .authorities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.authority-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 6px 24px rgba(11, 19, 43, 0.06);
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--brand-cerulean);
}

.authority-panel.highlight-officials {
  border-top: 5px solid var(--festive-gold);
}

.authority-panel-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
  text-align: center;
}

.auth-panel-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand-cerulean);
  display: inline-block;
  margin-bottom: 8px;
  background: var(--brand-cerulean-light);
  padding: 4px 12px;
  border-radius: 9999px;
}

.auth-panel-badge.gold {
  color: #B45309;
  background: var(--festive-gold-light);
}

.auth-panel-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.authority-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.auth-person-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 20px 24px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-person-card:hover {
  border-color: var(--brand-cerulean);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 19, 43, 0.06);
}

.auth-official-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #92400E;
  background: var(--festive-gold-light);
  border: 1px solid var(--festive-gold-border);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 4px;
}

.auth-person-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
}

.auth-person-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.auth-role-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0369a1;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  padding: 4px 10px;
  border-radius: 9999px;
  line-height: 1.3;
}

.auth-official-desc {
  font-size: 0.82rem;
  color: #64748B;
  margin-top: 4px;
  line-height: 1.4;
}
