/* ==========================================================================
   AGESPORT - ESTILOS PRESENTACIÓN OFICIALES (DISEÑO AJUSTADO A PANTALLA)
   Todas las secciones ajustadas a 100vh, tipografía equilibrada y sin saltos
   ========================================================================== */

:root {
  --color-primary: #02803d;
  --color-primary-dark: #015628;
  --color-primary-light: #05a850;
  
  --color-emerald: #10b981;
  --color-emerald-light: #34d399;
  
  --color-bg-dark: #06150c;
  --color-surface-dark: #081d11;
  --color-card: #0c2718;
  --color-card-hover: #10331f;
  
  --color-white: #ffffff;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  
  /* Tipografía Principal FactuCheck (Títulos, Headings, Botones, Marca) */
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Tipografía Secundaria FactuCheck (Párrafos, cuerpo de texto, subtítulos) */
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Tipografía Numérica / Tabular FactuCheck (Cifras, métricas, cuenta atrás) */
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', 'JetBrains Mono', Menlo, Monaco, Consolas, monospace;

  --ease-brand: cubic-bezier(0.22, 1, 0.36, 1);
  --border-glass: 1px solid rgba(255, 255, 255, 0.12);
  --shadow-card: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(2, 128, 61, 0.3);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0px;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

@media (min-width: 992px) {
  html {
    scroll-snap-type: y mandatory;
  }
}

body {
  overflow-x: hidden;
  line-height: 1.45;
  position: relative;
  margin: 0;
}

/* ICONOS CON TAMAÑO ESTRICTO (Previene deformaciones) */
.icon-xs {
  width: 13px;
  height: 13px;
  min-width: 13px;
  max-width: 13px;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
  min-width: 16px;
  max-width: 16px;
  flex-shrink: 0;
}

.icon-md {
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  flex-shrink: 0;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease-brand);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Barra de progreso de lectura */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-emerald-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Indicador lateral de diapositivas */
.presentation-dots {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 1200px) {
  .presentation-dots {
    display: flex;
  }
}

.p-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.25s var(--ease-brand);
  position: relative;
}

.p-dot .dot-text {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(6, 21, 12, 0.92);
  border: var(--border-glass);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--color-white);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
}

.p-dot:hover .dot-text {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.p-dot.active {
  background: var(--color-emerald-light);
  transform: scale(1.35);
  box-shadow: 0 0 8px var(--color-emerald-light);
}

/* TOPBAR COMPACTA */
.topbar {
  background-color: #030d07;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: var(--color-slate-400);
  padding-block: 0.25rem;
  line-height: 1.2;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

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

.topbar-separator {
  opacity: 0.3;
}

.badge-pill {
  background: rgba(2, 128, 61, 0.25);
  color: var(--color-emerald-light);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  border: 1px solid rgba(2, 128, 61, 0.4);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-fagde strong {
  color: var(--color-white);
}

.social-links-minimal {
  display: flex;
  gap: 0.35rem;
}

.social-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-slate-300);
  transition: all 0.2s ease;
}

.social-icon svg {
  width: 11px;
  height: 11px;
}

.social-icon:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* SITE HEADER (FIXED MASTER: TOPBAR + NAVBAR) */
.site-header-master {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 21, 12, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border-glass);
  transition: all 0.25s var(--ease-brand);
}

.site-header-master.scrolled {
  background: rgba(4, 15, 8, 0.98);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.site-navbar {
  padding-block: 0.35rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s var(--ease-brand);
}

.brand-logo:hover .brand-img {
  transform: scale(1.03);
}

.desktop-nav {
  display: none;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-300);
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

.highlight-link {
  color: var(--color-emerald-light);
}

.highlight-link:hover {
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-white);
}

/* BOTONES HEADER */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn-compact-ghost {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .btn-compact-ghost {
    display: inline-flex;
  }
}

.btn-compact-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

.btn-compact-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 12px rgba(2, 128, 61, 0.35);
  white-space: nowrap;
  cursor: pointer;
}

.btn-compact-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.menu-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 992px) {
  .menu-toggle-btn {
    display: none;
  }
}

.burger-bar {
  width: 20px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
}

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 340px;
  height: 100%;
  background: #05160c;
  border-left: var(--border-glass);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  animation: slideDrawer 0.35s var(--ease-brand) forwards;
}

@keyframes slideDrawer {
  to { transform: translateX(0); }
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
}

.mobile-logo {
  height: 30px;
  width: auto;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.mobile-nav-link span {
  font-size: 0.72rem;
  color: var(--color-emerald-light);
  font-family: var(--font-body);
}

.mobile-drawer-footer {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ==========================================================================
   SISTEMA DE PANTALLAS PRESENTACIÓN (AJUSTADO EXACTAMENTE A 100VH)
   ========================================================================== */
.presentation-wrapper {
  width: 100%;
  overflow-x: hidden;
}

.screen-slide {
  position: relative;
  height: 100vh;
  max-height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  padding-bottom: 0.5rem;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden; /* Cero desbordamiento vertical */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 991px) {
  .screen-slide {
    height: auto;
    min-height: auto;
    max-height: none;
    padding-top: 4rem;
    padding-bottom: 3rem;
    scroll-snap-align: none;
    overflow: visible;
  }
}

/* ==========================================================================
   FONDOS DE INSTALACIONES DEPORTIVAS (FOTO + CAPA DE FONDO TRANSLÚCIDA)
   ========================================================================== */
.slide-bg-photo {
  position: absolute;
  inset: -18px;
  background-size: cover;
  background-position: center;
  opacity: 0.47;
  filter: contrast(1.11) brightness(0.93) saturate(1.11);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.slide-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(4, 15, 8, 0.81) 0%, rgba(4, 15, 8, 0.60) 50%, rgba(4, 15, 8, 0.83) 100%),
    radial-gradient(circle at 50% 50%, rgba(4, 15, 8, 0.08) 32%, rgba(4, 15, 8, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

/* TIPOGRAFÍA REFINADA Y EQUILIBRADA (TÍTULOS AJUSTADOS) */
.slide-kicker {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-emerald-light);
  display: block;
  margin-bottom: 0.25rem;
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.slide-subtitle {
  font-size: 0.82rem;
  color: var(--color-slate-200);
  max-width: 580px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

.section-top-center {
  text-align: center;
  margin-bottom: 1.25rem;
}

.section-head-split {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
  .section-head-split {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.mx-auto {
  margin-inline: auto;
}

.text-emerald {
  color: var(--color-emerald-light) !important;
}

/* 3D TILT INTERACTIVO EN TARJETAS */
.hero-congreso-card,
.p-card,
.act-card,
.news-tile,
.pricing-card,
.congreso-presentation-card,
.premios-presentation-card {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  will-change: transform;
}

/* ==========================================================================
   PANTALLA 1: HERO (ENCUADRADO A LA PRIMERA PANTALLA CON TICKER INTEGRADO)
   ========================================================================== */
.hero-slide {
  justify-content: space-between;
  padding-top: 68px;
  padding-bottom: 0;
  overflow: hidden;
}

/* Contenedor de Vídeo de Dron con Fundido Suave */
.hero-video-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-drone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  filter: brightness(0.85) contrast(1.08);
}

.hero-drone-video.active {
  opacity: 1;
}

/* Capa de Fondo Protectora para Legibilidad Absoluta del Contenido */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 35%, rgba(2, 128, 61, 0.3) 0%, transparent 60%),
    linear-gradient(to right, rgba(4, 15, 8, 0.96) 0%, rgba(6, 21, 12, 0.82) 48%, rgba(4, 15, 8, 0.65) 100%),
    linear-gradient(to bottom, rgba(4, 15, 8, 0.6) 0%, transparent 35%, rgba(4, 15, 8, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  flex: 1;
  padding-block: 0.25rem;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-left-col {
  min-width: 0;
}

.hero-tags-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-emerald-light);
}

.hero-facility-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(2, 128, 61, 0.35);
  border: 1px solid rgba(52, 211, 153, 0.4);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 500;
  color: #a7f3d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.facility-drone-icon {
  width: 12px;
  height: 12px;
  color: #34d399;
  flex-shrink: 0;
  animation: dronePulse 2s infinite ease-in-out;
}

@keyframes dronePulse {
  0%, 100% { transform: scale(0.95); opacity: 0.85; }
  50% { transform: scale(1.15); opacity: 1; }
}

#hero-facility-name {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-emerald-light);
  box-shadow: 0 0 6px var(--color-emerald-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
  word-break: break-word;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--color-emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-description {
  font-size: 0.82rem;
  color: var(--color-slate-300);
  line-height: 1.5;
  margin-bottom: 0.65rem;
  max-width: 460px;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(2, 128, 61, 0.4);
}

.btn-hero-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

.badge-accent {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.65rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
}

.hero-metric-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.m-card {
  display: flex;
  flex-direction: column;
}

.m-val {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.m-lbl {
  font-size: 0.62rem;
  color: var(--color-slate-400);
  margin-top: 0.15rem;
  font-weight: 500;
}

.m-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.15);
}

/* Tarjeta Congreso Hero */
.hero-right-col {
  min-width: 0;
}

.hero-congreso-card {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
}

.card-inner-glass {
  background: #0b2416;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.card-inner-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-emerald-light));
}

.card-top-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.status-badge {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.location-txt {
  font-size: 0.7rem;
  color: var(--color-slate-400);
  font-weight: 600;
}

.card-congreso-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 0.18rem;
}

.card-congreso-theme {
  font-size: 0.72rem;
  color: var(--color-emerald-light);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.card-date-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-slate-300);
  margin-bottom: 0.55rem;
}

.hero-countdown-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #06190e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.4rem 0.6rem;
  margin-bottom: 0.65rem;
}

.cd-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.cd-digit {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.cd-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-slate-400);
  margin-top: 0.15rem;
}

.cd-sep {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-emerald-light);
  opacity: 0.6;
}

.btn-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.48rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-white);
  transition: all 0.2s ease;
}

.btn-card-action:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* TICKER CONTINUO INTEGRADO AL PIE DE LA PANTALLA HERO */
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  padding-block: 0.38rem;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: var(--color-white);
  white-space: nowrap;
  padding-inline: 0.85rem;
}

.ticker-separator {
  color: var(--color-emerald-light);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   PANTALLA 2: CONGRESO PRESENTACIÓN (PARALLAX + REFINADO)
   ========================================================================== */
.congreso-screen {
  position: relative;
  background: #041309;
}

.congreso-bg-parallax {
  position: absolute;
  inset: -15px;
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  filter: saturate(1.2);
  z-index: 0;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.congreso-overlay-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(2, 128, 61, 0.25) 0%, transparent 60%),
              linear-gradient(135deg, rgba(4, 19, 10, 0.97) 0%, rgba(2, 12, 6, 0.95) 100%);
  z-index: 1;
}

.congreso-glow {
  position: absolute;
  top: 15%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 9s ease-in-out infinite alternate;
  z-index: 1;
}

.relative-z {
  position: relative;
  z-index: 2;
}

.congreso-presentation-card {
  background: linear-gradient(135deg, #092615 0%, #04140a 100%);
  border: 1px solid rgba(2, 128, 61, 0.4);
  border-radius: 22px;
  padding: 1.5rem 1.85rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.congreso-header-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.congreso-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(2, 128, 61, 0.2);
  border: 1px solid var(--color-primary);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-white);
}

.congreso-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.85rem;
  align-items: center;
}

@media (min-width: 992px) {
  .congreso-main-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.congreso-text-lead {
  font-size: 0.85rem;
  color: var(--color-slate-200);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.key-points-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.kp-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.kp-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.kp-item strong {
  font-size: 0.85rem;
  color: var(--color-white);
  display: block;
}

.kp-item p {
  font-size: 0.74rem;
  color: var(--color-slate-400);
}

.congreso-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.large-timer-card {
  background: #072013;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.1rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.lt-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-slate-300);
  margin-bottom: 1rem;
}

.big-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.bc-box {
  background: #0b2c1b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.75rem 0.35rem;
}

.bc-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-emerald-light);
  line-height: 1;
}

.bc-lbl {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-slate-400);
  margin-top: 0.25rem;
  display: block;
  font-weight: 600;
}

.lt-footer-note {
  font-size: 0.7rem;
  color: var(--color-slate-400);
  line-height: 1.35;
}

/* ==========================================================================
   PANTALLA 3: LA ASOCIACIÓN
   ========================================================================== */
.asociacion-screen {
  background: #06190e;
}

.pillars-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

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

@media (min-width: 1024px) {
  .pillars-deck {
    grid-template-columns: repeat(4, 1fr);
  }
}

.p-card {
  background: #081e13;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.p-card.featured {
  background: #0e341f;
  border-color: rgba(2, 128, 61, 0.7);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.p-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-emerald-light);
  opacity: 0.7;
  margin-bottom: 0.35rem;
}

.p-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.p-desc {
  font-size: 0.75rem;
  color: var(--color-slate-300);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
}

.p-tag {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  color: var(--color-slate-300);
}

.alliances-card {
  background: #092316;
  border: 1px solid rgba(2, 128, 61, 0.45);
  border-radius: 15px;
  padding: 0.9rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

@media (min-width: 992px) {
  .alliances-card {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.alliances-title-box h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.15rem;
}

.alliances-title-box p {
  font-size: 0.75rem;
  color: var(--color-slate-300);
}

.alliances-items-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .alliances-items-row {
    flex-direction: row;
  }
}

.all-item {
  flex: 1;
  background: #05180f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.all-item strong {
  color: var(--color-emerald-light);
  font-size: 0.82rem;
}

.all-item span {
  font-size: 0.68rem;
  color: var(--color-slate-400);
  line-height: 1.25;
}

/* ==========================================================================
   PANTALLA 4: ACTIVIDADES Y FORMACIÓN
   ========================================================================== */
.actividades-screen {
  background: #05140b;
}

.tab-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.t-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-slate-300);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.t-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.t-btn.active {
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-weight: 700;
  border-color: var(--color-white);
}

.activities-presentation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .activities-presentation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.act-card {
  background: var(--color-card);
  border: var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.act-img-box {
  height: 110px;
  background-size: cover;
  background-position: center;
  padding: 0.65rem;
  position: relative;
}

.act-tag {
  display: inline-block;
  background: rgba(2, 128, 61, 0.85);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
}

.tag-congreso { background: rgba(16, 185, 129, 0.85); }
.tag-webinar { background: rgba(14, 116, 144, 0.85); }

.act-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.act-date {
  font-size: 0.68rem;
  color: var(--color-emerald-light);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.act-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.act-desc {
  font-size: 0.75rem;
  color: var(--color-slate-300);
  line-height: 1.35;
  margin-bottom: 0.85rem;
  flex: 1;
}

.act-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
}

.act-info {
  color: var(--color-slate-400);
}

.act-link {
  font-weight: 700;
  color: var(--color-emerald-light);
}

/* ==========================================================================
   PANTALLA 5: ACTUALIDAD Y NOTICIAS
   ========================================================================== */
.actualidad-screen {
  background: #081d12;
}

.news-presentation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .news-presentation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-tile {
  background: #081e13;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.news-tile-img {
  height: 110px;
  background-size: cover;
  background-position: center;
  padding: 0.65rem;
  position: relative;
}

.news-badge-category {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
}

.news-tile-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-tile-date {
  font-size: 0.68rem;
  color: var(--color-emerald-light);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.news-tile-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.news-tile-excerpt {
  font-size: 0.75rem;
  color: var(--color-slate-300);
  line-height: 1.35;
  margin-bottom: 0.85rem;
  flex: 1;
}

.news-read-more {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-emerald-light);
}

/* ==========================================================================
   PANTALLA 6: PREMIOS AGESPORT
   ========================================================================== */
.premios-screen {
  position: relative;
  background: #06190e;
}

.premios-glow {
  position: absolute;
  top: 25%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.14) 0%, rgba(2, 128, 61, 0.18) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 11s ease-in-out infinite alternate;
  z-index: 0;
}

.premios-presentation-card {
  background: linear-gradient(135deg, #092615 0%, #04140a 100%);
  border: var(--border-glass);
  border-radius: 22px;
  padding: 1.5rem 1.85rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 992px) {
  .premios-presentation-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.premios-lead-text {
  font-size: 0.85rem;
  color: var(--color-slate-300);
  margin-bottom: 1rem;
}

.premios-category-rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.cat-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.trophy-symbol {
  font-size: 1.15rem;
}

.cat-row strong {
  font-size: 0.85rem;
  color: var(--color-white);
  display: block;
}

.cat-row p {
  font-size: 0.72rem;
  color: var(--color-slate-400);
}

.premios-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.premios-right-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.p-stat-box {
  background: #082115;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.p-stat-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-emerald-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.15rem;
}

.p-stat-lbl {
  font-size: 0.72rem;
  color: var(--color-slate-300);
  font-weight: 600;
}

/* ==========================================================================
   PANTALLA 7: HAZTE SOCIO/A
   ========================================================================== */
.membresia-screen {
  background: #05140b;
}

.pricing-cards-deck {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 820px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .pricing-cards-deck {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background: #081e13;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.pricing-card.highlighted {
  background: #0e3721;
  border-color: var(--color-emerald);
  box-shadow: var(--shadow-glow), 0 12px 32px rgba(0, 0, 0, 0.6);
}

.ribbon-tag {
  position: absolute;
  top: -9px;
  right: 18px;
  background: var(--color-emerald);
  color: #06150c;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.p-plan-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-emerald-light);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.p-plan-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.p-plan-desc {
  font-size: 0.78rem;
  color: var(--color-slate-300);
  margin-bottom: 0.9rem;
  min-height: 32px;
}

.p-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.p-perks-list li {
  font-size: 0.75rem;
  color: var(--color-slate-200);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.p-check {
  color: var(--color-emerald-light);
  font-weight: 800;
}

.btn-plan-action {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  transition: all 0.2s ease;
}

.btn-plan-action:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-plan-action.primary {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border-color: var(--color-white);
}

.btn-plan-action.primary:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   PANTALLA 8: PATROCINADORES
   ========================================================================== */
.patrocinadores-screen {
  background: #06190e;
}

.sponsors-wrapper {
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.sponsor-tier-heading {
  text-align: center;
  position: relative;
  margin-bottom: 1rem;
}

.sponsor-tier-heading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.sponsor-tier-heading span {
  position: relative;
  z-index: 1;
  background: #06190e;
  padding-inline: 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-slate-400);
}

.mt-4 {
  margin-top: 1.5rem;
}

.sponsors-grid-elite {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.sponsors-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.s-card-box {
  background: #082115;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.s-card-box.small {
  min-height: 65px;
  padding: 0.65rem;
}

.s-img {
  max-height: 42px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.s-sub {
  font-size: 0.65rem;
  color: var(--color-slate-400);
  margin-top: 0.35rem;
}

.sponsor-footer-cta {
  text-align: center;
  background: #082115;
  border: var(--border-glass);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 580px;
  margin-inline: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.sponsor-footer-cta h4 {
  font-size: 0.92rem;
  font-weight: 700;
}

/* ==========================================================================
   PANTALLA 9: CONTACTO Y FOOTER INTEGRADO
   ========================================================================== */
.contacto-screen {
  background: #05140b;
  justify-content: space-between;
}

.contact-dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  flex: 1;
  align-items: center;
}

@media (min-width: 992px) {
  .contact-dual-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.c-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #092416;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.85rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.c-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #0f3d23;
  color: var(--color-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-info-card strong {
  font-size: 0.82rem;
  color: var(--color-white);
  display: block;
}

.c-info-card p {
  font-size: 0.82rem;
  color: var(--color-slate-200);
}

.c-info-card small {
  font-size: 0.68rem;
  color: var(--color-slate-400);
}

.glass-form-card {
  background: #082013;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.form-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.form-card-desc {
  font-size: 0.75rem;
  color: var(--color-slate-300);
  margin-bottom: 0.85rem;
}

.f-group {
  margin-bottom: 0.65rem;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

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

label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-slate-300);
  margin-bottom: 0.2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: #04140b;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  color: var(--color-white);
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-emerald);
}

select option {
  background: #06190e;
  color: var(--color-white);
}

.f-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.7rem;
  color: var(--color-slate-400);
}

.f-checkbox input {
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.f-checkbox a {
  color: var(--color-emerald-light);
  text-decoration: underline;
}

.field-error {
  display: block;
  font-size: 0.68rem;
  color: #f87171;
  margin-top: 0.15rem;
  min-height: 0.8rem;
}

.full-w {
  width: 100%;
}

.form-success-box {
  text-align: center;
  padding: 1.5rem 1rem;
}

.s-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

/* BARRA DE PIE DE PÁGINA INTEGRADA EN LA PANTALLA 9 */
.integrated-slide-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.85rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: var(--color-slate-400);
  width: 100%;
}

@media (min-width: 640px) {
  .integrated-slide-footer {
    flex-direction: row;
  }
}

.isf-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.isf-logo {
  height: 22px;
  width: auto;
}

.isf-links {
  display: flex;
  gap: 0.5rem;
}

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

.isf-social {
  display: flex;
  gap: 0.4rem;
}

.s-mini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
}

.s-mini:hover {
  background: var(--color-primary);
}

/* BOTÓN VOLVER ARRIBA */
.back-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--color-primary-light);
}

.back-to-top-btn svg {
  width: 16px;
  height: 16px;
}

.hidden-sm {
  display: none;
}

@media (min-width: 640px) {
  .hidden-sm {
    display: inline;
  }
}

/* ==========================================================================
   BOTÓN SELECTOR DE TEMA (MODO CLARO / OSCURO)
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-slate-300);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.header-theme-toggle {
  width: 30px;
  height: 30px;
}

.mobile-theme-toggle {
  width: 30px;
  height: 30px;
  margin-left: auto;
  margin-right: 0.5rem;
}

.theme-icon-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}

.theme-icon-slot svg {
  width: 14px;
  height: 14px;
}

/* En modo oscuro por defecto: se muestra el sol (para invitar a pasar a claro) */
[data-theme="dark"] .theme-icon-sun,
:root:not([data-theme="light"]) .theme-icon-sun {
  display: block;
}
[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="light"]) .theme-icon-moon {
  display: none;
}

/* En modo claro: se muestra la luna (para invitar a pasar a oscuro) */
[data-theme="light"] .theme-icon-sun {
  display: none;
}
[data-theme="light"] .theme-icon-moon {
  display: block;
}

/* Transiciones suaves globales al alternar de modo */
body, .screen-slide, .site-header-master, .topbar, .card-inner-glass,
.p-card, .act-card, .news-tile, .pricing-card, .congreso-presentation-card,
.premios-presentation-card, .glass-form-card, .c-info-card, .s-card-box,
.sponsor-footer-cta, .alliances-card, .large-timer-card {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

/* ==========================================================================
   ADAPTACIÓN COMPLETA A MODO CLARO (LIGHT THEME)
   ========================================================================== */
[data-theme="light"] {
  --color-bg-dark: #f8fafc;
  --color-surface-dark: #ffffff;
  --color-card: #ffffff;
  --color-card-hover: #f1f5f9;
  
  --color-white: #0f172a;
  --color-slate-100: #1e293b;
  --color-slate-200: #334155;
  --color-slate-300: #475569;
  --color-slate-400: #64748b;
  --color-slate-500: #94a3b8;
  
  --border-glass: 1.5px solid rgba(2, 128, 61, 0.26);
  --shadow-card: 0 10px 28px -4px rgba(2, 128, 61, 0.09), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(2, 128, 61, 0.15);
}

html[data-theme="light"],
[data-theme="light"] body {
  background-color: #f8fafc;
  color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(2, 128, 61, 0.15);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

/* Header y Topbar en modo claro */
[data-theme="light"] .site-header-master {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(2, 128, 61, 0.20);
}

[data-theme="light"] .site-header-master.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(2, 128, 61, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .topbar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

[data-theme="light"] .topbar a {
  color: #334155;
}

[data-theme="light"] .topbar a:hover {
  color: var(--color-primary);
}

[data-theme="light"] .topbar-separator {
  opacity: 0.6;
  color: #94a3b8;
}

[data-theme="light"] .badge-pill {
  background: rgba(2, 128, 61, 0.10);
  color: var(--color-primary-dark);
  border: 1px solid rgba(2, 128, 61, 0.30);
}

[data-theme="light"] .topbar-fagde {
  color: #475569;
}

[data-theme="light"] .topbar-fagde strong {
  color: #0f172a;
}

[data-theme="light"] .social-icon {
  background: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .social-icon:hover {
  background: var(--color-primary);
  color: #ffffff;
}

[data-theme="light"] .nav-link {
  color: #334155;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--color-primary);
}

[data-theme="light"] .nav-link.highlight-link {
  background: rgba(2, 128, 61, 0.10);
  border: 1px solid rgba(2, 128, 61, 0.35);
  color: var(--color-primary-dark);
}

[data-theme="light"] .btn-compact-ghost {
  background: #f1f5f9;
  border: 1px solid rgba(2, 128, 61, 0.25);
  color: #1e293b;
}

[data-theme="light"] .btn-compact-ghost:hover {
  background: rgba(2, 128, 61, 0.08);
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

[data-theme="light"] .burger-bar {
  background: #0f172a;
}

[data-theme="light"] .mobile-drawer-content {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .mobile-drawer-header {
  border-bottom: 1px solid rgba(2, 128, 61, 0.20);
}

[data-theme="light"] .mobile-nav-link {
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

[data-theme="light"] .close-btn {
  color: #0f172a;
}

/* Puntos de navegación lateral */
[data-theme="light"] .presentation-dots .p-dot {
  background: #cbd5e1;
}

[data-theme="light"] .presentation-dots .p-dot.active {
  background: var(--color-primary);
  box-shadow: 0 0 12px rgba(2, 128, 61, 0.5);
}

[data-theme="light"] .presentation-dots .dot-text {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(2, 128, 61, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   SECCIÓN 1: HERO - ELIMINACIÓN DE LA CAPA OSCURA EN MODO CLARO
   ========================================================================== */
[data-theme="light"] .hero-slide {
  background-color: #ffffff;
}

[data-theme="light"] .hero-drone-video {
  filter: brightness(1.02) contrast(1.05);
}

[data-theme="light"] .hero-gradient-overlay {
  background: 
    radial-gradient(circle at 80% 35%, rgba(2, 128, 61, 0.08) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 48%, rgba(255, 255, 255, 0.52) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 0%, transparent 35%, rgba(255, 255, 255, 0.88) 100%);
}

[data-theme="light"] .hero-tag-pill {
  background: rgba(2, 128, 61, 0.08);
  border: 1px solid rgba(2, 128, 61, 0.28);
  color: var(--color-primary-dark);
}

[data-theme="light"] .hero-facility-pill {
  background: #ffffff !important;
  border: 1.5px solid rgba(2, 128, 61, 0.35) !important;
  color: #071f11 !important;
  box-shadow: 0 2px 10px rgba(2, 128, 61, 0.08) !important;
}

[data-theme="light"] #hero-facility-name {
  color: #071f11 !important;
}

[data-theme="light"] .facility-drone-icon {
  color: var(--color-primary) !important;
}

[data-theme="light"] .hero-main-title {
  color: #071f11 !important;
  text-shadow: none !important;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #02803d 0%, #015628 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: block;
}

[data-theme="light"] .hero-description {
  color: #334155 !important;
  text-shadow: none !important;
}

[data-theme="light"] .btn-hero-primary {
  background: var(--color-primary) !important;
  color: #ffffff !important;
}

[data-theme="light"] .btn-hero-glass {
  background: #ffffff !important;
  border: 1.5px solid rgba(2, 128, 61, 0.30) !important;
  color: #071f11 !important;
  box-shadow: 0 4px 14px rgba(2, 128, 61, 0.08) !important;
}

[data-theme="light"] .btn-hero-glass:hover {
  background: rgba(2, 128, 61, 0.08) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-primary-dark) !important;
}

[data-theme="light"] .badge-accent {
  background: var(--color-primary) !important;
  color: #ffffff !important;
}

[data-theme="light"] .btn-card-action {
  background: rgba(2, 128, 61, 0.08) !important;
  border: 1.5px solid rgba(2, 128, 61, 0.30) !important;
  color: var(--color-primary-dark) !important;
}

[data-theme="light"] .btn-card-action:hover {
  background: var(--color-primary) !important;
  color: #ffffff !important;
}

[data-theme="light"] .cd-sep {
  color: var(--color-primary) !important;
}

[data-theme="light"] .status-badge {
  background: var(--color-primary) !important;
  color: #ffffff !important;
}

[data-theme="light"] .hero-metric-strip {
  border-top: 1px solid rgba(2, 128, 61, 0.20);
}

[data-theme="light"] .m-val {
  color: #071f11;
}

[data-theme="light"] .m-lbl {
  color: #64748b;
}

[data-theme="light"] .m-divider {
  background: rgba(2, 128, 61, 0.22);
}

[data-theme="light"] .ticker-wrapper {
  background: var(--color-primary);
  border-top: 1px solid rgba(2, 128, 61, 0.35);
}

[data-theme="light"] .ticker-item {
  color: #ffffff;
}

[data-theme="light"] .ticker-separator {
  color: #a7f3d0;
}

/* ==========================================================================
   SECCIÓN 2: CONGRESO - ELIMINACIÓN DE LA CAPA OSCURA EN MODO CLARO
   ========================================================================== */
[data-theme="light"] .congreso-screen {
  background-color: #f1f5f9;
}

[data-theme="light"] .congreso-bg-parallax {
  opacity: 0.38;
  filter: brightness(1.05) saturate(1.12);
}

[data-theme="light"] .congreso-overlay-layer {
  background: 
    radial-gradient(circle at 70% 30%, rgba(2, 128, 61, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, rgba(241, 245, 249, 0.84) 0%, rgba(248, 250, 252, 0.62) 50%, rgba(241, 245, 249, 0.88) 100%);
}

[data-theme="light"] .congreso-glow {
  opacity: 0.35;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .congreso-badge-box {
  background: rgba(2, 128, 61, 0.08);
  border: 1px solid rgba(2, 128, 61, 0.28);
  color: var(--color-primary-dark);
}

[data-theme="light"] .congreso-text-lead {
  color: #334155;
}

/* ==========================================================================
   FONDOS CON IMÁGENES DE INSTALACIONES DEPORTIVAS (+5% OPACIDAD DE VELADURA)
   ========================================================================== */
[data-theme="light"] .slide-bg-photo {
  opacity: 0.55;
  filter: contrast(1.08) brightness(1.02) saturate(1.12);
}

[data-theme="light"] .slide-bg-overlay {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.63) 0%, rgba(255, 255, 255, 0.37) 50%, rgba(255, 255, 255, 0.65) 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0.53) 100%);
}

/* Fondos alternados limpios de pantallas en modo claro */
[data-theme="light"] .screen-slide {
  background-color: #f8fafc;
}

[data-theme="light"] .asociacion-screen {
  background-color: #f8fafc;
}

[data-theme="light"] .actividades-screen {
  background-color: #f1f5f9;
}

[data-theme="light"] .actualidad-screen {
  background-color: #f8fafc;
}

[data-theme="light"] .premios-screen {
  background-color: #f3f5f8;
}

[data-theme="light"] .membresia-screen {
  background-color: #f1f5f9;
}

[data-theme="light"] .patrocinadores-screen {
  background-color: #f8fafc;
}

[data-theme="light"] .contacto-screen {
  background-color: #f1f5f9;
}

/* Títulos y Subtítulos de sección */
[data-theme="light"] .slide-title {
  color: #071f11;
  text-shadow: none;
}

[data-theme="light"] .slide-subtitle {
  color: #334155;
  text-shadow: none;
}

[data-theme="light"] .slide-kicker {
  color: var(--color-primary);
}

/* ==========================================================================
   TARJETAS Y DIVS: BORDES CORPORATIVOS Y SOMBREADO ELEGANTE EN MODO BLANCO
   ========================================================================== */
[data-theme="light"] .card-inner-glass,
[data-theme="light"] .congreso-presentation-card,
[data-theme="light"] .p-card,
[data-theme="light"] .alliances-card,
[data-theme="light"] .act-card,
[data-theme="light"] .news-tile,
[data-theme="light"] .premios-presentation-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .s-card-box,
[data-theme="light"] .sponsor-footer-cta,
[data-theme="light"] .glass-form-card,
[data-theme="light"] .c-info-card {
  background: #ffffff;
  border: 1.5px solid rgba(2, 128, 61, 0.26);
  box-shadow: 0 10px 28px -4px rgba(2, 128, 61, 0.09), 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .card-inner-glass:hover,
[data-theme="light"] .p-card:hover,
[data-theme="light"] .act-card:hover,
[data-theme="light"] .news-tile:hover,
[data-theme="light"] .pricing-card:hover,
[data-theme="light"] .s-card-box:hover {
  border-color: var(--color-primary);
  box-shadow: 0 14px 34px -4px rgba(2, 128, 61, 0.16), 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Tarjetas destacadas con borde corporativo pleno */
[data-theme="light"] .p-card.featured,
[data-theme="light"] .pricing-card.highlighted {
  background: #ffffff;
  border: 2px solid var(--color-primary);
  box-shadow: 0 14px 36px -4px rgba(2, 128, 61, 0.18), 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* Cajas secundarias y contadores interiores */
[data-theme="light"] .hero-countdown-box,
[data-theme="light"] .large-timer-card,
[data-theme="light"] .all-item,
[data-theme="light"] .p-stat-box {
  background: #f8fafc;
  border: 1px solid rgba(2, 128, 61, 0.22);
  box-shadow: 0 4px 14px rgba(2, 128, 61, 0.06);
}

[data-theme="light"] .bc-box {
  background: #ffffff;
  border: 1px solid rgba(2, 128, 61, 0.20);
  box-shadow: 0 2px 8px rgba(2, 128, 61, 0.05);
}

[data-theme="light"] .card-congreso-title,
[data-theme="light"] .congreso-heading-box h3,
[data-theme="light"] .p-title,
[data-theme="light"] .alliances-title-box h4,
[data-theme="light"] .act-title,
[data-theme="light"] .news-tile-title,
[data-theme="light"] .cat-row strong,
[data-theme="light"] .p-plan-name,
[data-theme="light"] .sponsor-footer-cta h4,
[data-theme="light"] .c-info-card strong,
[data-theme="light"] .form-card-title {
  color: #0f172a;
}

[data-theme="light"] .location-txt,
[data-theme="light"] .card-date-badge,
[data-theme="light"] .congreso-lead,
[data-theme="light"] .kp-item p,
[data-theme="light"] .lt-header,
[data-theme="light"] .lt-footer-note,
[data-theme="light"] .p-desc,
[data-theme="light"] .alliances-title-box p,
[data-theme="light"] .all-item span,
[data-theme="light"] .act-desc,
[data-theme="light"] .act-info,
[data-theme="light"] .news-tile-excerpt,
[data-theme="light"] .premios-lead-text,
[data-theme="light"] .cat-row p,
[data-theme="light"] .p-plan-desc,
[data-theme="light"] .p-perks-list li,
[data-theme="light"] .s-sub,
[data-theme="light"] .sponsor-footer-cta p,
[data-theme="light"] .c-info-card p,
[data-theme="light"] .c-info-card small,
[data-theme="light"] .form-card-desc,
[data-theme="light"] label,
[data-theme="light"] .f-checkbox {
  color: #475569;
}

[data-theme="light"] .cd-digit,
[data-theme="light"] .bc-val,
[data-theme="light"] .p-num,
[data-theme="light"] .all-item strong,
[data-theme="light"] .act-date,
[data-theme="light"] .news-tile-date,
[data-theme="light"] .news-read-more,
[data-theme="light"] .p-stat-num,
[data-theme="light"] .p-plan-badge,
[data-theme="light"] .p-check,
[data-theme="light"] .act-link {
  color: var(--color-primary);
}

[data-theme="light"] .c-icon-badge {
  background: #ecfdf5;
  border: 1.5px solid rgba(2, 128, 61, 0.28);
  color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(2, 128, 61, 0.08);
}

[data-theme="light"] .p-tag {
  background: rgba(2, 128, 61, 0.08);
  border: 1px solid rgba(2, 128, 61, 0.22);
  color: var(--color-primary-dark);
}

[data-theme="light"] .t-btn {
  background: #ffffff;
  border: 1.5px solid rgba(2, 128, 61, 0.24);
  color: #334155;
}

[data-theme="light"] .t-btn:hover {
  background: rgba(2, 128, 61, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

[data-theme="light"] .t-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(2, 128, 61, 0.3);
}

[data-theme="light"] .act-footer {
  border-top: 1px solid rgba(2, 128, 61, 0.15);
}

[data-theme="light"] .news-badge-category {
  background: rgba(15, 23, 42, 0.85);
}

[data-theme="light"] .p-stat-lbl {
  color: #475569;
}

[data-theme="light"] .btn-plan-action {
  background: #f8fafc;
  border: 1.5px solid rgba(2, 128, 61, 0.28);
  color: #0f172a;
}

[data-theme="light"] .btn-plan-action:hover {
  background: rgba(2, 128, 61, 0.10);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

[data-theme="light"] .btn-plan-action.primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(2, 128, 61, 0.35);
}

[data-theme="light"] .btn-plan-action.primary:hover {
  background: var(--color-primary-dark);
}

[data-theme="light"] .sponsor-tier-heading span {
  background: #f8fafc;
  color: var(--color-primary-dark);
}

[data-theme="light"] .sponsor-tier-heading::before {
  background: rgba(2, 128, 61, 0.22);
}

/* Formulario de contacto en modo claro */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] select,
[data-theme="light"] textarea {
  background: #f8fafc;
  border: 1.5px solid rgba(2, 128, 61, 0.25);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(2, 128, 61, 0.04);
}

[data-theme="light"] input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 128, 61, 0.18);
}

[data-theme="light"] select option {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .integrated-slide-footer {
  border-top: 1px solid rgba(2, 128, 61, 0.20);
  color: #64748b;
}

[data-theme="light"] .integrated-slide-footer a:hover {
  color: var(--color-primary);
}

[data-theme="light"] .s-mini {
  background: #e2e8f0;
  color: #334155;
  border: 1px solid rgba(2, 128, 61, 0.20);
}

[data-theme="light"] .s-mini:hover {
  background: var(--color-primary);
  color: #ffffff;
}

[data-theme="light"] .back-to-top-btn {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 128, 61, 0.35);
}

[data-theme="light"] .ribbon-tag {
  background: var(--color-primary) !important;
  color: #ffffff !important;
}

[data-theme="light"] .btn-compact-primary {
  background: var(--color-primary) !important;
  color: #ffffff !important;
}

[data-theme="light"] .btn-compact-ghost {
  background: #f1f5f9 !important;
  border: 1.5px solid rgba(2, 128, 61, 0.25) !important;
  color: #0f172a !important;
}

[data-theme="light"] .btn-compact-ghost:hover {
  background: rgba(2, 128, 61, 0.08) !important;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-primary) !important;
}

[data-theme="light"] .c-info-card p a {
  color: #0f172a !important;
  text-decoration: none;
}

[data-theme="light"] .c-info-card p a:hover {
  color: var(--color-primary) !important;
}

[data-theme="light"] .f-checkbox a {
  color: var(--color-primary) !important;
  font-weight: 600;
}

[data-theme="light"] .mobile-nav-link {
  color: #0f172a !important;
}

[data-theme="light"] .mobile-nav-link span {
  color: var(--color-primary) !important;
}

[data-theme="light"] .mobile-nav-link.text-emerald {
  color: var(--color-primary-dark) !important;
}

/* ==========================================================================
   OPTIMIZACIONES MÓVILES Y RESPONSIVE (100% RESPONSIVE EN TODAS LAS PANTALLAS)
   ========================================================================== */

/* Tablets y Móviles (< 992px) */
@media (max-width: 991px) {
  html {
    scroll-padding-top: 85px;
  }

  .screen-slide {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding-top: 4.5rem;
    padding-bottom: 2.75rem;
    scroll-snap-align: none;
    overflow: visible;
  }

  .hero-slide {
    padding-top: 6.25rem;
    padding-bottom: 2rem;
  }

  .section-top-center {
    margin-bottom: 1.25rem;
  }

  .slide-title {
    font-size: 1.4rem;
  }

  .slide-subtitle {
    font-size: 0.8rem;
  }

  .hero-main-title {
    font-size: 1.55rem;
  }

  .hero-congreso-card {
    max-width: 100%;
    margin-top: 1rem;
  }
}

/* Móviles (< 768px) */
@media (max-width: 767px) {
  .container {
    padding-inline: 1.15rem;
  }

  /* Topbar optimizada para evitar cualquier desbordamiento horizontal */
  .topbar {
    font-size: 0.68rem;
    padding-block: 0.2rem;
  }

  .topbar-email,
  .topbar-separator.sep-email,
  .topbar-fagde {
    display: none !important;
  }

  .topbar-inner {
    justify-content: space-between;
  }

  .topbar-actions {
    gap: 0.45rem;
  }

  .social-icon {
    width: 20px;
    height: 20px;
  }

  .social-icon svg {
    width: 10px;
    height: 10px;
  }

  /* Prevenir zoom forzado en iOS Safari al pulsar sobre inputs */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }

  .hero-metric-strip {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.65rem;
  }

  .m-val {
    font-size: 1.25rem;
  }

  .m-lbl {
    font-size: 0.58rem;
  }

  .m-divider {
    height: 20px;
  }

  .congreso-presentation-card,
  .premios-presentation-card {
    padding: 1.25rem 1.05rem;
    border-radius: 16px;
  }

  .alliances-card {
    padding: 1rem;
  }

  .pricing-card {
    padding: 1.25rem 1.05rem;
  }

  .glass-form-card {
    padding: 1.25rem 1.05rem;
  }

  .sponsors-grid-elite {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .sponsors-grid-pro {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .s-card-box {
    padding: 0.65rem;
    min-height: 70px;
  }

  .s-img {
    max-height: 34px;
  }

  .big-counter-grid {
    gap: 0.5rem;
  }

  .bc-val {
    font-size: 1.4rem;
  }

  .bc-lbl {
    font-size: 0.55rem;
  }
}

/* Móviles Pequeños (< 480px) */
@media (max-width: 480px) {
  .container {
    padding-inline: 0.95rem;
  }

  .brand-img {
    height: 30px;
  }

  .btn-compact-primary {
    padding: 0.32rem 0.65rem;
    font-size: 0.72rem;
  }

  .btn-compact-primary svg {
    display: none;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .header-theme-toggle {
    width: 26px;
    height: 26px;
  }

  .hero-main-title {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.78rem;
  }

  .hero-tags-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-glass {
    width: 100%;
    justify-content: center;
  }

  .ticker-item {
    font-size: 0.65rem;
    padding-inline: 0.6rem;
  }

  .integrated-slide-footer {
    text-align: center;
    gap: 0.5rem;
  }

  .isf-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .back-to-top-btn {
    bottom: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
  }
}
