/* =============================================
   styles.css – Libertadores Rey de Las Américas
   Diseño: Deportivo, moderno y vibrante
   Paleta: Azul profundo + Verde + Amarillo/Dorado
   Tipografía: Montserrat
============================================= */

/* --------------------------------------------------
   1. VARIABLES GLOBALES (Design Tokens)
-------------------------------------------------- */
:root {
  /* Colores principales */
  --azul:          #0A2DA6;   /* Azul profundo principal */
  --azul-oscuro:   #071C6E;   /* Azul navbar / fondo oscuro */
  --azul-medio:    #1A4BDC;   /* Azul intermedio (hover) */
  --verde:         #009C3B;   /* Verde Brasil */
  --verde-oscuro:  #007A2E;
  --amarillo:      #FFDF00;   /* Amarillo Brasil */
  --dorado:        #C9922A;   /* Dorado (acentos premium) */
  --dorado-claro:  #E8B44A;
  --blanco:        #FFFFFF;
  --gris-claro:    #F4F6FB;
  --gris-medio:    #E2E6F0;
  --gris-texto:    #5A6478;
  --texto-oscuro:  #0D1B3E;

  /* Tipografía */
  --fuente:        'Montserrat', sans-serif;

  /* Espaciados */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Bordes */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Sombras */
  --shadow-sm:  0 2px 12px rgba(10, 45, 166, 0.08);
  --shadow-md:  0 8px 32px rgba(10, 45, 166, 0.15);
  --shadow-lg:  0 20px 60px rgba(10, 45, 166, 0.22);

  /* Transiciones */
  --trans-fast:   all 0.2s ease;
  --trans-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow:   all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------
   2. RESET Y BASE
-------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--fuente);
  color: var(--texto-oscuro);
  background: var(--blanco);
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
}

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

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

ul {
  list-style: none;
}

/* --------------------------------------------------
   3. UTILIDADES GENERALES
-------------------------------------------------- */

/* Contenedor centrado con máximo ancho */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Cabecera de sección reutilizable */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-overline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--texto-oscuro);
}

.section-title-centered {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--texto-oscuro);
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gris-texto);
  margin-top: var(--space-xs);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--gris-texto);
  max-width: 560px;
  margin: 0.75rem auto 0;
}

.highlight {
  color: var(--dorado);
}

.text-white {
  color: var(--blanco) !important;
}

.body-text {
  font-size: 1rem;
  color: var(--gris-texto);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------------
   4. PLACEHOLDER DE IMÁGENES
   Usar hasta insertar assets reales.
   data-atributo muestra dimensiones recomendadas.
-------------------------------------------------- */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gris-medio);
  border: 2px dashed #aab4cc;
  border-radius: var(--radius-md);
  color: #7A8BAA;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  width: 100%;
  /* La altura se define inline vía --h o con la clase específica */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.img-placeholder span {
  pointer-events: none;
  padding: 0.5rem;
}

/* --------------------------------------------------
   5. BOTONES
-------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--fuente);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--trans-normal);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Botón primario – Dorado/Amarillo */
.btn-primary {
  background: linear-gradient(135deg, var(--dorado) 0%, var(--amarillo) 100%);
  color: var(--azul-oscuro);
  box-shadow: 0 4px 20px rgba(201, 146, 42, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 146, 42, 0.5);
  background: linear-gradient(135deg, var(--dorado-claro) 0%, var(--amarillo) 100%);
}

/* Botón outline */
.btn-outline {
  background: transparent;
  color: var(--blanco);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--blanco);
  transform: translateY(-3px);
}

/* --------------------------------------------------
   6. ANIMACIONES (Scroll + entrada)
-------------------------------------------------- */

/* Estado inicial: invisible y desplazado hacia abajo */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Clase que añade JS cuando el elemento entra en viewport */
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay escalonado para listas de tarjetas */
.animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.25s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.35s; }

/* Pulso flecha scroll hero */
@keyframes pulsoFlecha {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%       { transform: translateY(8px); opacity: 1; }
}

/* Shimmer fondo de placeholder */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* --------------------------------------------------
   7. NAVEGACIÓN (navbar)
-------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--trans-normal);
  background: transparent;
}

/* Estado con scroll: oscurece el fondo */
.navbar.scrolled {
  background: rgba(7, 28, 110, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 24px rgba(7, 28, 110, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--blanco);
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  display: none; /* Oculto en móvil pequeño */
}

/* Menú de enlaces */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--trans-fast);
  padding: 0.3rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--dorado);
  transition: var(--trans-fast);
}

.nav-link:hover {
  color: var(--amarillo);
}

.nav-link:hover::after {
  width: 100%;
}

/* Botón CTA en navbar */
.nav-cta {
  background: linear-gradient(135deg, var(--dorado), var(--amarillo));
  color: var(--azul-oscuro);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  transition: var(--trans-normal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 146, 42, 0.5);
}

/* Botón hamburguesa (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: var(--trans-fast);
}

/* --------------------------------------------------
   8. HERO SECTION
-------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--azul-oscuro);
}

/* ==================================================
   PATRONES BRASIL - Inspirados en identidad visual
   Escamas, rombos y ondas geométricas para dar
   identidad visual brasilera a cada sección.
================================================== */

/* Patrón ESCAMAS - semicírculos estilo pez/mosaico */
.pattern-escamas {
  --pattern-color: rgba(255, 223, 0, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cpath d='M 0,40 A 20,20 0 0 1 40,40 A 20,20 0 0 1 80,40 L 80,0 L 0,0 Z M -40,20 A 20,20 0 0 1 0,20 A 20,20 0 0 1 40,20 A 20,20 0 0 1 80,20 A 20,20 0 0 1 120,20' fill='none' stroke='%23FFDF00' stroke-opacity='0.15' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 80px 40px;
  background-repeat: repeat;
}

/* Patrón ROMBOS - diamantes entrelazados */
.pattern-rombos {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M 30,5 L 55,30 L 30,55 L 5,30 Z M 0,0 L 15,0 L 0,15 Z M 60,0 L 45,0 L 60,15 Z M 0,60 L 15,60 L 0,45 Z M 60,60 L 45,60 L 60,45 Z' fill='none' stroke='%23009C3B' stroke-opacity='0.12' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-repeat: repeat;
}

/* Patrón ONDAS - líneas onduladas horizontales */
.pattern-ondas {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cpath d='M 0,15 Q 30,0 60,15 T 120,15' fill='none' stroke='%23FFDF00' stroke-opacity='0.2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 120px 30px;
  background-repeat: repeat;
}

/* Variante de ondas en azul para fondos claros */
.pattern-ondas-azul {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cpath d='M 0,15 Q 30,0 60,15 T 120,15' fill='none' stroke='%230A2DA6' stroke-opacity='0.08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 120px 30px;
  background-repeat: repeat;
}

/* Variante escamas verdes para fondos claros */
.pattern-escamas-verde {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cpath d='M 0,40 A 20,20 0 0 1 40,40 A 20,20 0 0 1 80,40 L 80,0 L 0,0 Z M -40,20 A 20,20 0 0 1 0,20 A 20,20 0 0 1 40,20 A 20,20 0 0 1 80,20 A 20,20 0 0 1 120,20' fill='none' stroke='%23009C3B' stroke-opacity='0.08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 80px 40px;
  background-repeat: repeat;
}

/* Variante rombos amarillos */
.pattern-rombos-amarillo {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M 30,5 L 55,30 L 30,55 L 5,30 Z M 0,0 L 15,0 L 0,15 Z M 60,0 L 45,0 L 60,15 Z M 0,60 L 15,60 L 0,45 Z M 60,60 L 45,60 L 60,45 Z' fill='none' stroke='%23FFDF00' stroke-opacity='0.15' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-repeat: repeat;
}

/* Acentos decorativos - bloques de color estilo Hello Brazil */
.acento-brasil {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.acento-brasil.verde {
  background: var(--verde);
}

.acento-brasil.amarillo {
  background: var(--amarillo);
}

.acento-brasil.azul {
  background: var(--azul);
}

/* ==================================================
   CINTAS BRASIL - Separadores decorativos entre
   secciones específicas. Estilo cintas fluidas
   que se entrelazan (verde / amarillo / azul).
================================================== */

.cinta-separadora {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: hidden;
  /* Se superpone con las secciones adyacentes para fundirse naturalmente */
  margin: -2rem 0;
  z-index: 2;
  pointer-events: none;
}

.cinta-separadora svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Cintas con diferentes profundidades y animación suave */
.cinta-path {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  transform-origin: center;
  animation: cintaFluye 8s ease-in-out infinite;
}

.cinta-path.cinta-azul {
  animation-delay: 0s;
  opacity: 0.95;
}

.cinta-path.cinta-verde {
  animation-delay: -2.5s;
  opacity: 0.95;
}

.cinta-path.cinta-amarilla {
  animation-delay: -5s;
  opacity: 0.95;
}

@keyframes cintaFluye {
  0%, 100% { transform: translateX(0) translateY(0); }
  50%      { transform: translateX(-1.5%) translateY(-3px); }
}

/* Variante sobre fondo oscuro - sombra invertida */
.cinta-separadora-oscura .cinta-path {
  filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.1));
}

/* Responsive: en mobile las cintas más compactas */
@media (max-width: 768px) {
  .cinta-separadora {
    height: 60px;
    margin: -1rem 0;
  }

  .cinta-path {
    stroke-width: 5 !important;
  }
}

@media (max-width: 480px) {
  .cinta-separadora {
    height: 45px;
  }

  .cinta-path {
    stroke-width: 4 !important;
  }
}

/* Imagen de fondo del hero */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Overlay principal del hero - capa verde translúcida base */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Base verde con transparencia para dejar ver el estadio */
  background: 
    /* Gradient radial para dar foco al centro */
    radial-gradient(ellipse at center, rgba(0, 100, 40, 0.55) 0%, rgba(0, 60, 25, 0.85) 80%),
    /* Base verde Brasil */
    linear-gradient(135deg, 
      rgba(0, 120, 45, 0.78) 0%, 
      rgba(0, 90, 35, 0.82) 50%,
      rgba(0, 70, 30, 0.85) 100%);
  z-index: 1;
}

/* CAPA 1: Blob verde claro grande - esquina superior izquierda */
.hero-blob-1 {
  position: absolute;
  top: -10%;
  left: -15%;
  width: 70%;
  height: 70%;
  background: var(--verde-claro, #1a9d4a);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: 0.75;
  z-index: 2;
  pointer-events: none;
  animation: blobFlota1 18s ease-in-out infinite;
}

/* CAPA 2: Blob verde medio - centro derecho */
.hero-blob-2 {
  position: absolute;
  top: 20%;
  right: -12%;
  width: 55%;
  height: 60%;
  background: #147a37;
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  opacity: 0.8;
  z-index: 2;
  pointer-events: none;
  animation: blobFlota2 22s ease-in-out infinite;
}

/* CAPA 3: Blob verde oscuro - inferior izquierda */
.hero-blob-3 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 65%;
  height: 55%;
  background: #0a5a22;
  border-radius: 55% 45% 50% 50% / 40% 60% 40% 60%;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
  animation: blobFlota1 25s ease-in-out infinite reverse;
}

/* CAPA 4: Blob amarillo/dorado - inferior derecha (toque de color) */
.hero-blob-4 {
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 50%;
  height: 45%;
  background: #e8b820;
  border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%;
  opacity: 0.88;
  z-index: 2;
  pointer-events: none;
  animation: blobFlota2 20s ease-in-out infinite;
}

/* Animaciones de los blobs - movimiento orgánico */
@keyframes blobFlota1 {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  }
  33% { 
    transform: translate(3%, -2%) scale(1.05) rotate(5deg);
    border-radius: 50% 50% 45% 55% / 60% 40% 55% 45%;
  }
  66% { 
    transform: translate(-2%, 3%) scale(0.98) rotate(-3deg);
    border-radius: 55% 45% 60% 40% / 45% 55% 50% 50%;
  }
}

@keyframes blobFlota2 {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  }
  50% { 
    transform: translate(-3%, 2%) scale(1.08) rotate(-6deg);
    border-radius: 55% 45% 55% 45% / 45% 60% 40% 55%;
  }
}

/* Capa sutil de patrón Brasil sobre los blobs */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cpath d='M 0,40 A 20,20 0 0 1 40,40 A 20,20 0 0 1 80,40 L 80,0 L 0,0 Z M -40,20 A 20,20 0 0 1 0,20 A 20,20 0 0 1 40,20 A 20,20 0 0 1 80,20 A 20,20 0 0 1 120,20' fill='none' stroke='%23FFDF00' stroke-opacity='0.08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 80px 40px;
}

/* Barra superior Brasil */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--verde) 0%, var(--verde) 33%,
    var(--amarillo) 33%, var(--amarillo) 66%,
    var(--azul-medio) 66%, var(--azul-medio) 100%);
  z-index: 5;
  pointer-events: none;
}

/* Contenido del hero */
.hero-content {
  position: relative;
  z-index: 6;
  text-align: center;
  padding: calc(80px + var(--space-lg)) var(--space-md) var(--space-lg);
  max-width: 900px;
  width: 100%;
}

/* Badge "7ª Edición" */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dorado);
  color: var(--azul-oscuro);
  border-radius: 50px;
  padding: 0.3rem 1.2rem;
  margin-bottom: var(--space-sm);
}

.badge-number {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.badge-number sup {
  font-size: 0.85rem;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Título principal hero */
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--blanco);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-title-accent {
  color: var(--dorado);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  margin-bottom: var(--space-md);
}

/* Fecha y lugar */
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 0.7rem 2rem;
  display: inline-flex;
}

.hero-date, .hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-date i, .hero-location i {
  color: var(--amarillo);
}

.hero-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.3);
}

/* Sponsor Fundación Real Madrid */
.hero-sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto var(--space-md);
  padding: 0;
}

.sponsor-logo-img {
  display: block;
  width: auto;
  height: 90px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.sponsor-logo-img:hover {
  transform: scale(1.05);
}

/* Botones CTA hero */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Flecha scroll-down */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  animation: pulsoFlecha 1.8s ease-in-out infinite;
  cursor: pointer;
}

/* --------------------------------------------------
   9. SECCIÓN BIENVENIDOS
-------------------------------------------------- */
.bienvenidos {
  padding: var(--space-xl) 0;
  background: var(--blanco);
  position: relative;
  overflow: hidden;
}

/* Patrón de rombos verdes sutiles en bienvenidos */
.bienvenidos::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M 30,5 L 55,30 L 30,55 L 5,30 Z M 0,0 L 15,0 L 0,15 Z M 60,0 L 45,0 L 60,15 Z M 0,60 L 15,60 L 0,45 Z M 60,60 L 45,60 L 60,45 Z' fill='none' stroke='%23009C3B' stroke-opacity='0.08' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

/* Bloque decorativo verde superior izquierdo */
.bienvenidos::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, var(--verde) 0%, var(--amarillo) 50%, var(--azul) 100%);
  z-index: 2;
  pointer-events: none;
}

.bienvenidos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.bienvenidos-texto .section-subtitle {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--verde);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bienvenidos-imagen {
  position: relative;
}

.bienvenidos-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 7 / 5;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.bienvenidos-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sello decorativo Florianópolis - SVG */
.bienvenidos-stamp-img {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  z-index: 5;
  animation: selloFlota 6s ease-in-out infinite;
}

.bienvenidos-stamp-img:hover {
  transform: rotate(-12deg) scale(1.1);
  animation-play-state: paused;
}

@keyframes selloFlota {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-4px); }
}

/* --------------------------------------------------
   10. SECCIÓN "3 POSTALES"
-------------------------------------------------- */
.postales {
  padding: var(--space-xl) 0;
  background: var(--gris-claro);
  position: relative;
  overflow: hidden;
}

/* Patrón ondas azul sobre el fondo gris claro */
.postales::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cpath d='M 0,15 Q 30,0 60,15 T 120,15' fill='none' stroke='%230A2DA6' stroke-opacity='0.05' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 120px 30px;
  pointer-events: none;
  z-index: 0;
}

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

.postales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Tarjeta postal */
.postal-card {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans-normal);
  /* Borde superior de color según variable --card-accent */
  border-top: 5px solid var(--card-accent, var(--azul));
}

.postal-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.postal-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.postal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.postal-card:hover .postal-img img {
  transform: scale(1.05);
}

.postal-body {
  padding: 1.5rem;
}

.postal-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--dorado);
  display: block;
  margin-bottom: 0.4rem;
}

.postal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 0.3rem;
}

.postal-desc {
  font-size: 0.9rem;
  color: var(--gris-texto);
  font-weight: 500;
}

/* --------------------------------------------------
   11. SECCIÓN "EL TORNEO EN NÚMEROS"
-------------------------------------------------- */
.numeros {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.numeros-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.numeros-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,28,110,0.95) 0%, rgba(10,45,166,0.88) 100%);
  z-index: 1;
}

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

.numeros-content .section-title-centered {
  color: var(--blanco);
}

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

/* Tarjeta de número */
.numero-card {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: 2.5rem var(--space-sm);
  text-align: center;
  border-left: 6px solid var(--card-accent, var(--azul));
  box-shadow: var(--shadow-md);
  transition: var(--trans-normal);
}

.numero-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.numero-val {
  font-size: clamp(3.5rem, 5vw, 5rem);
  font-weight: 900;
  color: var(--dorado);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.numero-val sup {
  font-size: 40%;
  vertical-align: super;
}

.numero-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------
   11.5 SECCIÓN "MAPA DE PARTICIPANTES"
-------------------------------------------------- */
.mapa-paises {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--azul-oscuro) 0%, var(--azul) 100%);
  overflow: hidden;
}

/* Banda superior tricolor Brasil */
.mapa-paises::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--verde) 0%, var(--verde) 33%,
    var(--amarillo) 33%, var(--amarillo) 66%,
    var(--azul-medio) 66%, var(--azul-medio) 100%);
  z-index: 2;
}

/* Patrón decorativo muy sutil */
.mapa-paises::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M 30,5 L 55,30 L 30,55 L 5,30 Z' fill='none' stroke='%23FFDF00' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

.section-intro-white {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0.75rem auto 0;
}

/* Leyenda del mapa */
.mapa-leyenda {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0 3rem;
}

.leyenda-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blanco);
  font-size: 0.9rem;
  font-weight: 600;
}

.leyenda-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.leyenda-dot.anfitrion {
  background: var(--verde);
  box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.3);
}

.leyenda-dot.participante {
  background: var(--amarillo);
  box-shadow: 0 0 0 3px rgba(255, 223, 0, 0.3);
}

.leyenda-dot.invitado {
  background: #4ed48e;
  box-shadow: 0 0 0 3px rgba(78, 212, 142, 0.3);
}

/* ==================================================
   LAYOUT: Etiquetas laterales + Mapa al centro
================================================== */
.mapa-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: stretch;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 650px;
}

.etiquetas-lado {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 0.5rem;
  padding: 1.5rem 0;
  height: 100%;
}

/* Contenedor del mapa de países */
.paises-mapa-container {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

/* Overlay SVG para líneas conectoras - se superpone al mapa */
.mapa-lineas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.linea-conectora {
  fill: none;
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.linea-conectora.activa {
  stroke: var(--amarillo);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px var(--amarillo));
}

.paises-mapa-container svg.mapa-svg-real,
.mapa-svg-real {
  width: 100%;
  height: auto;
  max-height: 80vh;
  display: block;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Loading state */
.mapa-loading {
  color: rgba(255, 255, 255, 0.4);
  font-size: 4rem;
  animation: pulsoLoading 1.5s ease-in-out infinite;
}

@keyframes pulsoLoading {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}

/* ==================================================
   ETIQUETAS de países
================================================== */
.etiqueta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Línea + punto conector */
.etiqueta-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blanco);
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Etiquetas izquierda: texto a la derecha del dot, alineado a la derecha */
.etiquetas-izquierda .etiqueta {
  flex-direction: row;
  text-align: right;
  justify-content: flex-end;
}

/* Etiquetas derecha: dot a la izquierda, texto a la derecha */
.etiquetas-derecha .etiqueta {
  flex-direction: row;
  text-align: left;
}

/* Info de cada etiqueta (bandera + texto) */
.etiqueta-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
}

.etiqueta-flag {
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
}

.etiqueta-info strong {
  display: block;
  color: var(--blanco);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.etiqueta-info small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.1rem;
  transition: color 0.3s ease;
}

/* HOVER / ACTIVO de la etiqueta */
.etiqueta:hover,
.etiqueta.activa {
  transform: translateY(-2px);
}

.etiqueta:hover .etiqueta-info strong,
.etiqueta.activa .etiqueta-info strong {
  color: var(--amarillo);
}

.etiqueta:hover .etiqueta-info small,
.etiqueta.activa .etiqueta-info small {
  color: var(--blanco);
}

.etiqueta:hover .etiqueta-dot,
.etiqueta.activa .etiqueta-dot {
  transform: scale(1.4);
  background: var(--amarillo);
  box-shadow: 0 0 0 4px rgba(255, 223, 0, 0.3), 0 0 15px var(--amarillo);
}

/* Variante destacada para Brasil (anfitrión) */
.etiqueta.destacada .etiqueta-dot {
  background: var(--verde);
  box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.4);
  width: 16px;
  height: 16px;
  animation: pulsoPin 2.5s ease-in-out infinite;
}

.etiqueta.destacada .etiqueta-info strong {
  color: var(--amarillo);
}

.etiqueta.destacada:hover .etiqueta-dot,
.etiqueta.destacada.activa .etiqueta-dot {
  background: var(--amarillo);
  box-shadow: 0 0 0 5px rgba(255, 223, 0, 0.4), 0 0 20px var(--amarillo);
}

@keyframes pulsoPin {
  0%, 100% { 
    box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.4), 0 0 10px rgba(0, 156, 59, 0.3);
  }
  50% { 
    box-shadow: 0 0 0 8px rgba(0, 156, 59, 0.2), 0 0 20px rgba(0, 156, 59, 0.6);
  }
}

/* ==================================================
   PAÍSES SVG - hover y estado activo
================================================== */
.pais-svg {
  cursor: pointer;
  transform-origin: center;
  transform-box: fill-box;
  transition: 
    filter 0.3s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pais-svg path {
  transition: 
    fill 0.3s ease,
    stroke 0.3s ease,
    stroke-width 0.3s ease,
    filter 0.3s ease;
}

/* Cuando se ilumina (hover directo o desde la etiqueta) */
.pais-svg:hover,
.pais-svg:focus,
.pais-svg.activo {
  outline: none;
  transform: scale(1.04);
  z-index: 10;
}

.pais-svg:hover path,
.pais-svg:focus path,
.pais-svg.activo path {
  stroke: var(--amarillo);
  stroke-width: 2.5;
  filter: brightness(1.25) saturate(1.2);
}

.pais-svg.anfitrion-svg:hover,
.pais-svg.anfitrion-svg:focus,
.pais-svg.anfitrion-svg.activo {
  filter: drop-shadow(0 0 20px #00ff6a) drop-shadow(0 0 8px #00ff6a);
}

.pais-svg.participante-svg:hover,
.pais-svg.participante-svg:focus,
.pais-svg.participante-svg.activo {
  filter: drop-shadow(0 0 18px #FFDF00) drop-shadow(0 0 6px #FFDF00);
}

.pais-svg.invitado-svg:hover,
.pais-svg.invitado-svg:focus,
.pais-svg.invitado-svg.activo {
  filter: drop-shadow(0 0 16px #4ed48e) drop-shadow(0 0 5px #4ed48e);
}

/* Lista alternativa - solo mobile */
.mapa-lista {
  display: none;
  margin-top: 2.5rem;
}

.lista-grupo {
  margin-bottom: 1.5rem;
}

.lista-titulo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lista-paises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pais-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--blanco);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.pais-chip-flag {
  font-size: 1.05rem;
  line-height: 1;
}

/* Responsive - tablet */
@media (max-width: 1024px) {
  .mapa-layout {
    grid-template-columns: 0.85fr 1.6fr 0.85fr;
    gap: 0.5rem;
    min-height: 550px;
  }

  .etiqueta-info strong {
    font-size: 0.78rem;
  }

  .etiqueta-info small {
    font-size: 0.6rem;
  }

  .etiqueta-flag {
    font-size: 1.3rem;
  }

  .etiqueta-dot {
    width: 10px;
    height: 10px;
  }

  .etiqueta.destacada .etiqueta-dot {
    width: 13px;
    height: 13px;
  }

  /* Ocultar líneas en tablet - se deforman con el grid comprimido */
  .mapa-lineas {
    display: none;
  }
}

/* Responsive - mobile */
@media (max-width: 768px) {
  .mapa-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: auto;
  }

  /* En mobile ocultamos las etiquetas laterales, mostramos chips */
  .etiquetas-lado {
    display: none;
  }

  /* Ocultar el SVG overlay de líneas */
  .mapa-lineas {
    display: none;
  }

  .paises-mapa-container {
    min-height: auto;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 0.5rem;
  }

  /* Forzar que el SVG del mapa ocupe todo el ancho y quede centrado */
  .paises-mapa-container svg.mapa-svg-real,
  .paises-mapa-container .mapa-svg-real,
  .paises-mapa-container > svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    display: block;
    margin: 0 auto;
  }

  .mapa-leyenda {
    gap: 1rem;
    margin: 1.5rem 0 1.5rem;
    font-size: 0.82rem;
  }

  .mapa-lista {
    display: block;
  }
}

@media (max-width: 480px) {
  .paises-mapa-container {
    min-height: auto;
    max-width: 100%;
    padding: 0;
  }

  .paises-mapa-container svg.mapa-svg-real,
  .paises-mapa-container .mapa-svg-real,
  .paises-mapa-container > svg {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

/* --------------------------------------------------
   12. SECCIÓN "DETALLES DEL TORNEO"
-------------------------------------------------- */
.detalles {
  padding: var(--space-xl) 0;
  background: var(--blanco);
  position: relative;
  overflow: hidden;
}

/* Patrón rombos amarillos tenue en detalles */
.detalles::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M 30,5 L 55,30 L 30,55 L 5,30 Z M 0,0 L 15,0 L 0,15 Z M 60,0 L 45,0 L 60,15 Z M 0,60 L 15,60 L 0,45 Z M 60,60 L 45,60 L 60,45 Z' fill='none' stroke='%23FFDF00' stroke-opacity='0.25' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

.detalles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* Tarjeta de detalle */
.detalle-card {
  background: var(--gris-claro);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--trans-normal);
  border: 1px solid var(--gris-medio);
}

.detalle-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--azul);
}

.detalle-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-medio) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.detalle-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--azul);
  margin-bottom: 1rem;
}

.detalle-desc {
  font-size: 0.95rem;
  color: var(--gris-texto);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Lista de categorías */
.categoria-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.categoria-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gris-texto);
  font-weight: 500;
}

.cat-badge {
  background: linear-gradient(135deg, var(--azul), var(--azul-medio));
  color: var(--blanco);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  min-width: 62px;
  text-align: center;
}

/* Lista del plantel */
.plantel-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.plantel-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gris-texto);
  font-weight: 500;
}

.plantel-list li i {
  color: var(--verde);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Formato competitivo: pasos */
.formato-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.formato-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--dorado), var(--amarillo));
  color: var(--azul-oscuro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

.formato-step strong {
  font-size: 0.95rem;
  color: var(--texto-oscuro);
}

.formato-step p {
  font-size: 0.83rem;
  color: var(--gris-texto);
  margin-top: 0.1rem;
}

/* Mapa placeholder */
.mapa-placeholder {
  margin-top: 1rem;
  aspect-ratio: 16 / 7;
}

/* Contenedor de Google Maps embed */
.mapa-container {
  margin-top: 1rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gris-medio);
}

.mapa-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Link "Ver en Google Maps" debajo del mapa */
.mapa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--azul);
  transition: var(--trans-fast);
}

.mapa-link:hover {
  color: var(--dorado);
  transform: translateX(3px);
}

.mapa-link i {
  color: var(--dorado);
}

/* --------------------------------------------------
   13. CARRUSEL
-------------------------------------------------- */
.carrusel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.carrusel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carrusel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.carrusel-img {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  position: relative;
}

.carrusel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 45, 166, 0.75);
  backdrop-filter: blur(6px);
  color: var(--blanco);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
  z-index: 5;
}

.carrusel-btn:hover {
  background: var(--azul);
}

.carrusel-btn.prev { left: 0.75rem; }
.carrusel-btn.next { right: 0.75rem; }

.carrusel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.carrusel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gris-medio);
  border: none;
  cursor: pointer;
  transition: var(--trans-fast);
}

.carrusel-dot.active {
  background: var(--azul);
  width: 20px;
  border-radius: 4px;
}

/* --------------------------------------------------
   14. SECCIÓN "COBERTURA Y QUÉ INCLUYE"
-------------------------------------------------- */
.incluye {
  padding: var(--space-xl) 0;
  background: var(--gris-claro);
  position: relative;
  overflow: hidden;
}

/* Patrón escamas verdes en Qué Incluye */
.incluye::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cpath d='M 0,40 A 20,20 0 0 1 40,40 A 20,20 0 0 1 80,40 L 80,0 L 0,0 Z M -40,20 A 20,20 0 0 1 0,20 A 20,20 0 0 1 40,20 A 20,20 0 0 1 80,20 A 20,20 0 0 1 120,20' fill='none' stroke='%23009C3B' stroke-opacity='0.07' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 80px 40px;
  pointer-events: none;
  z-index: 0;
}

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

/* Bloque decorativo superior */
.incluye::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 6px;
  background: linear-gradient(90deg, var(--azul) 0%, var(--amarillo) 50%, var(--verde) 100%);
  z-index: 2;
  pointer-events: none;
}

.incluye-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.incluye-item {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--trans-normal);
  border-bottom: 3px solid transparent;
}

.incluye-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--azul);
}

.incluye-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
  color: var(--blanco);
}

/* Colores de iconos de inclusión */
.incluye-icon.verde  { background: linear-gradient(135deg, var(--verde), var(--verde-oscuro)); }
.incluye-icon.amarillo { background: linear-gradient(135deg, var(--dorado), var(--amarillo)); color: var(--azul-oscuro); }
.incluye-icon.azul   { background: linear-gradient(135deg, var(--azul), var(--azul-medio)); }
.incluye-icon.dorado { background: linear-gradient(135deg, #B8780A, var(--dorado)); }

.incluye-item h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--texto-oscuro);
  margin-bottom: 0.4rem;
}

.incluye-item p {
  font-size: 0.8rem;
  color: var(--gris-texto);
  line-height: 1.55;
}

/* --------------------------------------------------
   15. SECCIÓN "INVERSIÓN Y FECHAS CLAVE"
-------------------------------------------------- */
/* Patrón Brasil sobre la inversión */
.inversion {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30' viewBox='0 0 120 30'%3E%3Cpath d='M 0,15 Q 30,0 60,15 T 120,15' fill='none' stroke='%23FFDF00' stroke-opacity='0.08' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul) 100%);
  background-size: 120px 30px, auto;
  background-repeat: repeat, no-repeat;
}

/* Patrón decorativo de fondo */
.inversion::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.inversion::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.inversion-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-lg);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Tarjeta de precio */
.precio-card {
  background: var(--blanco);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-top: 8px solid var(--dorado);
}

.precio-badge {
  display: inline-block;
  background: var(--gris-claro);
  color: var(--gris-texto);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.precio-valor {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.precio-moneda {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dorado);
  margin-top: 0.75rem;
}

.precio-num {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--azul);
  line-height: 1;
}

.precio-incluye-lista {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.precio-incluye-lista li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--gris-texto);
  font-weight: 500;
}

.precio-incluye-lista li i {
  color: var(--verde);
  flex-shrink: 0;
}

.precio-nota {
  font-size: 0.75rem;
  color: var(--gris-texto);
  margin-top: 1rem;
  font-style: italic;
}

/* Fechas Clave (timeline) */
.fechas-wrap {
  color: var(--blanco);
}

.fechas-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blanco);
  margin-bottom: var(--space-md);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding-bottom: 1.8rem;
  position: relative;
}

.tl-content {
  flex: 1 1 auto;
  min-width: 0;   /* permite que el texto pueda quebrar dentro del flex */
}

/* Línea vertical conectora */
.tl-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.2);
}

.tl-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  border: 3px solid rgba(255,255,255,0.3);
  background: var(--verde);
}

.tl-dot.verde   { background: var(--verde); }
.tl-dot.amarillo { background: var(--amarillo); }
.tl-dot.azul    { background: #6AADFF; }
.tl-dot.dorado  { background: var(--dorado); }

.tl-fecha {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dorado-claro);
  margin-bottom: 0.2rem;
}

.tl-evento {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  line-height: 1.4;
}

.tl-deadline strong {
  color: var(--amarillo);
}

/* --------------------------------------------------
   15.5 SECCIÓN "GALERÍA DE MOMENTOS"
-------------------------------------------------- */
.galeria {
  padding: var(--space-xl) 0;
  background: var(--blanco);
  position: relative;
  overflow: hidden;
}

/* Patrón decorativo de fondo sutil */
.galeria::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cpath d='M 0,40 A 20,20 0 0 1 40,40 A 20,20 0 0 1 80,40 L 80,0 L 0,0 Z' fill='none' stroke='%23009C3B' stroke-opacity='0.05' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 80px 40px;
  pointer-events: none;
  z-index: 0;
}

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

/* Grid masonry con fotos grandes y normales */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1rem;
  margin-top: var(--space-md);
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--trans-normal);
  grid-row: span 1;
}

/* Items grandes ocupan 2 filas */
.galeria-item.galeria-grande {
  grid-row: span 2;
  grid-column: span 1;
}

.galeria-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.galeria-img {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.galeria-item img.galeria-img {
  object-fit: cover;
}

.galeria-item:hover .galeria-img {
  transform: scale(1.08);
}

/* Overlay inferior con tag */
.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, 
    rgba(7, 28, 110, 0.85) 0%, 
    rgba(7, 28, 110, 0.4) 35%, 
    transparent 65%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-tag {
  display: inline-block;
  background: var(--amarillo);
  color: var(--azul-oscuro);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(255, 223, 0, 0.4);
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.galeria-item:hover .galeria-tag {
  transform: translateY(0);
}

/* Footer de la galería */
.galeria-footer {
  text-align: center;
  margin-top: var(--space-md);
}

.galeria-nota {
  font-size: 0.88rem;
  color: var(--gris-texto);
  font-style: italic;
}

.galeria-nota i {
  color: var(--dorado);
  margin-right: 0.4rem;
}

/* Responsive galería */
@media (max-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 768px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 0.75rem;
  }

  .galeria-item.galeria-grande {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* En mobile el overlay siempre visible */
  .galeria-overlay {
    opacity: 1;
    background: linear-gradient(to top, 
      rgba(7, 28, 110, 0.8) 0%, 
      rgba(7, 28, 110, 0.2) 50%, 
      transparent 80%);
  }

  .galeria-tag {
    transform: translateY(0);
    font-size: 0.65rem;
    padding: 0.25rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .galeria-item.galeria-grande {
    grid-column: span 1;
  }
}

/* --------------------------------------------------
   15.6 SECCIÓN "SPONSORS Y ALIADOS"
-------------------------------------------------- */
.sponsors {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--gris-claro) 0%, #e8edf8 100%);
  position: relative;
  overflow: hidden;
}

/* Patrón decorativo sutil */
.sponsors::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M 30,5 L 55,30 L 30,55 L 5,30 Z' fill='none' stroke='%230A2DA6' stroke-opacity='0.05' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

/* Sponsors principales (torneo + academia + Assist + Keller) - 2x2 */
.sponsors-principales {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: var(--space-md) auto var(--space-lg);
}

.sponsor-principal {
  text-align: center;
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: var(--trans-normal);
  position: relative;
  overflow: hidden;
}

.sponsor-principal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--verde) 0%, var(--verde) 33%,
    var(--amarillo) 33%, var(--amarillo) 66%,
    var(--azul) 66%, var(--azul) 100%);
}

.sponsor-principal:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.sponsor-principal img.sponsor-principal-logo {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: transparent;
  border: none;
}

.sponsor-principal-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
}

/* Divisor entre los dos logos principales */
.sponsor-divider {
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--gris-medio) 20%,
    var(--gris-medio) 80%,
    transparent 100%);
  flex-shrink: 0;
}

/* Wrapper de sponsors secundarios */
.sponsors-secundarios-wrap {
  margin-top: var(--space-lg);
}

.sponsors-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: var(--space-md);
}

.line-accent {
  display: inline-block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dorado), transparent);
}

/* Grid de sponsors secundarios (10 logos distribuidos en filas 2-4-4) */
.sponsors-secundarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Filas de sponsors secundarios - layout 2-4-4 centrado */
.sponsors-fila {
  display: grid;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  justify-content: center;
}

.sponsors-fila:last-child {
  margin-bottom: 0;
}

/* Fila de 2 sponsors (centrados, más anchos) */
.sponsors-fila-2 {
  grid-template-columns: repeat(2, minmax(0, 240px));
}

/* Fila de 4 sponsors */
.sponsors-fila-4 {
  grid-template-columns: repeat(4, minmax(0, 240px));
}

.sponsor-item {
  background: var(--blanco);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--trans-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2 / 1;
  filter: grayscale(30%);
  opacity: 0.85;
}

.sponsor-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  filter: grayscale(0%);
  opacity: 1;
}

.sponsor-logo {
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  background: transparent;
  border: 2px dashed #aab4cc;
}

.sponsor-item img.sponsor-logo {
  object-fit: contain;
  background: transparent;
  border: none;
}

/* Responsive Sponsors */
@media (max-width: 1024px) {
  .sponsors-secundarios-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sponsors-fila-2 {
    grid-template-columns: repeat(2, minmax(0, 220px));
  }

  .sponsors-fila-4 {
    grid-template-columns: repeat(4, minmax(0, 200px));
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .sponsors-principales {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sponsor-principal {
    padding: 1.25rem;
  }

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

  /* En móvil: 1 sponsor por fila (todas las filas) */
  .sponsors-fila,
  .sponsors-fila-2,
  .sponsors-fila-4 {
    grid-template-columns: minmax(0, 280px);
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .line-accent {
    width: 30px;
  }

  .sponsors-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }
}

@media (max-width: 480px) {
  .sponsors-secundarios-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Confirmar 1x1 en móviles pequeños */
  .sponsors-fila,
  .sponsors-fila-2,
  .sponsors-fila-4 {
    grid-template-columns: minmax(0, 240px);
  }

  .sponsor-item {
    padding: 1rem;
  }
}

/* --------------------------------------------------
   16. FOOTER
-------------------------------------------------- */
.footer {
  background: var(--texto-oscuro);
  padding: var(--space-lg) 0 0;
  color: rgba(255,255,255,0.7);
  position: relative;
}

/* Banda superior Brasil */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--verde) 0%, var(--verde) 33%,
    var(--amarillo) 33%, var(--amarillo) 66%,
    var(--azul-medio) 66%, var(--azul-medio) 100%);
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* Marca */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 420px;
  text-align: center;
}

.footer-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1.3;
}

.footer-sub {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
}

.footer-sub strong {
  color: var(--dorado-claro);
}

/* Contenedor de secciones del footer */
.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  width: 100%;
  max-width: 1200px;
}

/* Secciones del footer */
.footer-section {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

/* Títulos de columnas footer */
.footer-section-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1.25rem;
}

/* Links del footer */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.footer-links li i {
  color: var(--dorado);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--trans-fast);
}

.footer-links a:hover {
  color: var(--amarillo);
}

/* Redes sociales del footer */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--trans-fast);
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--dorado), var(--amarillo));
  color: var(--azul-oscuro);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Barra inferior del footer */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem var(--space-md);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
/* --------------------------------------------------
   17. BOTÓN "VOLVER ARRIBA"
-------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--dorado), var(--amarillo));
  color: var(--azul-oscuro);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--trans-normal);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------
   18. RESPONSIVE – TABLET (≤ 1024px)
-------------------------------------------------- */
@media (max-width: 1024px) {
  .bienvenidos-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .bienvenidos-imagen {
    order: -1; /* Imagen arriba en tablet */
  }

  .numeros-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .detalles-grid {
    grid-template-columns: 1fr;
  }

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

  .inversion-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  .nav-brand {
    display: inline;
  }
}

/* --------------------------------------------------
   19. RESPONSIVE – MOBILE (≤ 768px)
-------------------------------------------------- */
@media (max-width: 768px) {

  /* Menú mobile */
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100svh;
    background: var(--azul-oscuro);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link, .nav-cta {
    font-size: 1.1rem;
  }

  /* Hero mobile */
  .hero-content {
    padding: calc(80px + var(--space-md)) var(--space-sm) var(--space-md);
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
  }

  .hero-divider {
    width: 40px;
    height: 1px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .hero-sponsor {
    padding: 0.25rem;
  }

  .sponsor-logo-img {
    height: 70px;
  }

  /* Postales – una columna */
  .postales-grid {
    grid-template-columns: 1fr;
  }

  /* Números – una columna (son 3 items) */
  .numeros-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    max-width: 360px;
    margin: var(--space-md) auto 0;
  }

  /* Incluye – dos columnas */
  .incluye-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer mobile */
  .footer-inner {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  /* Bienvenidos – texto primero */
  .bienvenidos-imagen {
    order: 0;
  }

  .bienvenidos-stamp-img {
    width: 90px;
    bottom: -12px;
    right: -12px;
  }

  /* ---- Inversión mobile ---- */
  .inversion {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .inversion .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .inversion-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .precio-card {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .precio-num {
    font-size: clamp(2.8rem, 12vw, 3.8rem);
  }

  .precio-moneda {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  /* Botón reservar: permitir que se ajuste sin desbordar */
  .precio-card .btn-full {
    white-space: normal;
    font-size: 0.82rem;
    padding: 0.9rem 1rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  .precio-incluye-lista li {
    font-size: 0.88rem;
  }

  .fechas-wrap {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .fechas-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  /* Timeline mobile: evitar desbordes */
  .tl-item {
    gap: 0.75rem;
    padding-bottom: 1.4rem;
  }

  .tl-fecha {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    word-wrap: break-word;
  }

  .tl-evento {
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* --------------------------------------------------
   20. RESPONSIVE – SMALL MOBILE (≤ 480px)
-------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2.5rem;
  }

  .incluye-grid {
    grid-template-columns: 1fr;
  }

  .numeros-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .back-to-top {
    bottom: 1.2rem;
    right: 1.2rem;
  }

  /* Precio: ajuste fino pantallas muy pequeñas */
  .precio-card {
    padding: 1.5rem 1rem;
  }

  .precio-num {
    font-size: clamp(2.8rem, 16vw, 3.8rem);
  }

  .precio-badge {
    font-size: 0.62rem;
    padding: 0.3rem 0.8rem;
  }

  .precio-incluye-lista li {
    font-size: 0.85rem;
  }

  .tl-evento {
    font-size: 0.88rem;
  }

  /* Espacio inferior de inversión más compacto */
  .inversion {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .inversion-grid {
    gap: 1.25rem;
  }

  /* Footer compacto en mobile */
  .footer-inner {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom {
    padding: 1rem var(--space-sm);
    font-size: 0.72rem;
  }
}
