
/* Mobile-first reset y ajustes base */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

/* Ajustes para pantallas grandes */
@media (min-width: 768px) {
    .rumor-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .rumor-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Estilo para justificar párrafos */
.main-content p {
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.1rem; /* Aumentar ligeramente el tamaño de fuente */
  line-height: 1.8; /* Aumentar el interlineado para mejor legibilidad */
}

/* Reset y Variables CSS */
:root {
  /* Colores principales */
  /* Nueva paleta unificada */
  --primary-color: #0f172a; /* Azul gris oscuro (textos principales) */
  --primary-dark: #0e1824; /* Variante más oscura para hover */
  --secondary-color: #ef4444; /* Rojo para énfasis y desinformación */
  --accent-color: ; /* Turquesa claro */ /* Turquesa */ /* Amarillo para subrayados y acentos */

  /* Colores neutros */
  --text-primary: #0f172a; /* Mismo tono que primary-color */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #9ca3af;
  --background: #ffffff;
  --background-alt: #f9fafb;
  --border-color: #e5e7eb;

  /* Tipografía */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transiciones */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* -------------------------------------------------- */
/* SISTEMA TIPOGRÁFICO GLOBAL */
h1 {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
}
h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}
h3 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}
h4 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: var(--spacing-sm);
}
h5 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}
h6 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: var(--spacing-xs);
}

.explanatory-text {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  line-height: 1.75;
  max-width: 65ch; /* Limita el ancho de línea para mejorar la legibilidad */
  margin-left: auto;
  margin-right: auto;
}

p,
li {
  font-size: 1.1rem; /* Aumentar ligeramente el tamaño de fuente base */
  line-height: 1.8; /* Aumentar el interlineado */
  margin-bottom: var(--spacing-sm);
}
small {
  font-size: var(--font-size-sm);
}

/* CLASES DE UTILIDAD DE COLOR */
.text-primary {
  color: var(--primary-color) !important;
}
.text-secondary {
  color: var(--secondary-color) !important;
}
.text-accent {
  color: var(--accent-color) !important;
}
.bg-surface {
  background-color: var(--background) !important;
}
.bg-alt {
  background-color: var(--background-alt) !important;
}
/* -------------------------------------------------- */

/* Particles Visualization Styles */
.particles-section {
  min-height: 200vh;
  position: relative;
  background: var(--background-alt); /* fondo neutro minimalista */
  overflow: hidden;
}

.particles-container {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.particles-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  width: 100%;
  max-width: 1200px;
  padding: 0 var(--spacing-xl);
  align-items: center;
}

.particles-text {
  color: white;
  z-index: 10;
  position: relative;
}

.particles-text .step {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
  margin-bottom: var(--spacing-2xl);
}

.particles-text .step.active {
  opacity: 1;
  transform: translateY(0);
}

.particles-text h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--primary-color); /* texto sólido elegante */
  background: none;

  background-clip: text;
}

.particles-text p {
  font-size: var(--font-size-lg);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

.hexbin-section {
  position: relative;
  padding: 5vh 0;
  background-color: #ffffff;
  color: #1f2937; /* Color de texto oscuro por defecto */
}

.hexbin-container {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 5%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.hexbin-steps {
  position: relative;
}

/* Estilos base para los pasos */
.hexbin-steps {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hexbin-steps .step {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 0;
  position: relative;
}

.hexbin-steps .step.active {
  opacity: 1;
  transform: none;
}

/* Estilos para títulos */
.hexbin-steps .step h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 2rem 0;
  color: #111827;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.hexbin-steps .step h2 .year {
  font-size: 1.5rem;
  font-weight: 400;
  color: #6b7280;
  margin-left: 0.5rem;
  display: inline-block;
  vertical-align: baseline;
}

/* Estilos para texto fluido */
.flow-text {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #374151;
  margin: 0.5rem 0 1.5rem;
  position: relative;
  padding-left: 1.75rem;
  white-space: normal;
  display: inline-block;
  width: 100%;
}

.flow-text .highlight-number,
.flow-text .highlight-text {
  display: inline;
  white-space: normal;
}

.flow-text:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em;
  height: 2px;
  width: 1rem;
  background: #e5e7eb;
  transition: all 0.3s ease;
}

.hexbin-steps .step.active .flow-text:before {
  background: #ef4444;
  width: 1.5rem;
}

/* Estilos para números destacados */
.highlight-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-right: 0.25rem;
  transition: all 0.3s ease;
}

/* Color para el total */
.highlight-number.total {
  color: #111827;
  background: var(--accent-color); /* subrayado en acento uniforme */
}

/* Color para desinformación */
.highlight-number.desinfo {
  color: #ef4444;
}

/* Color para rumores */
.highlight-number.rumor {
  color: #f59e0b;
}

/* Highlight colors for sections */
.highlight-red {
  color: #ef4444;
  font-weight: 700;
}

.highlight-yellow {
  color: #f59e0b;
  font-weight: 700;
}

/* UNIFIED SECTION STYLES */
/* Base section styles */
.section-desinformacion,
.section-rumores {
  padding: var(--spacing-3xl) 0;
  background: var(--background);
  border-top: 1px solid var(--border-color);
}

/* Section headers - unified styling */
.section-desinformacion .section-header,
.section-rumores .section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section titles - unified styling */
.section-desinformacion .section-title,
.section-rumores .section-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

/* Section intro paragraphs - unified styling */
.section-desinformacion .section-intro,
.section-rumores .section-intro {
  font-size: var(--font-size-lg);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 65ch;
  margin: 0 auto;
  text-align: left;
}

.section-desinformacion .section-intro p,
.section-rumores .section-intro p {
  margin-bottom: var(--spacing-md);
  font-size: 1.15rem; /* Tamaño ligeramente mayor para introducciones */
  line-height: 1.8; /* Interlineado consistente */
  color: var(--text-primary); /* Asegurar contraste */
}

/* Chart spacing within sections */
.section-desinformacion .chart-container,
.section-rumores .chart-container {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

/* Spacing between chart intro paragraphs and charts */
.section-desinformacion .section-intro.mt-16,
.section-rumores .section-intro.mt-16 {
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

/* Estilo para texto resaltado */
.highlight-text {
  position: relative;
  display: inline-block;
  margin-right: 0.5rem;
}

/* Subrayado decorativo */
.highlight-underline {
  position: relative;
  display: inline-block;
}

.highlight-underline:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em;
  width: 100%;
  height: 0.4em;
  opacity: 0.3;
  z-index: -1;
  transition: all 0.3s ease;
}

/* Subrayado uniforme para números y texto destacados */
.highlight-underline:after {
  background-color: var(--accent-color);
}

/* Porcentaje estilizado */
.percentage {
  font-size: 1rem;
  font-weight: 600;
  color: #9ca3af;
  margin-left: 0.5rem;
  position: relative;
  top: 0.3em; /* Aumentado para bajar más el porcentaje */
  font-size: 0.9em;
  display: inline-block;
  vertical-align: middle; /* Mejora adicional para la alineación */
}

/* Efecto de hover para el paso activo */
.hexbin-steps .step.active .highlight-number {
  transform: translateY(-2px);
}

.hexbin-steps .step.active .highlight-underline:after {
  opacity: 0.5;
  transform: translateY(2px);
}

.hexbin-graphic-container {
  position: sticky;
  top: 2vh;
  height: 95vh;
}

.chart-tooltip {
  position: absolute;
  text-align: center;
  width: auto;
  padding: 6px 10px;
  font-size: 14px;
  line-height: 1.2;
  background: #27272a;
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#hexbin-chart {
  /* ... */
  width: 100%;
  height: 100%;
}

.categories {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.category {
  text-align: left;
}

.category:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.category .number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  min-width: 60px;
}

.category.desinformation .number {
  color: #ef4444;
}

.category.rumors .number {
  color: #f59e0b;
}

.category .label {
  font-size: var(--font-size-lg);
  font-weight: 500;
}

.particles-viz {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#particles-svg {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.particle {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.particle:hover {
  stroke-width: 2;
  stroke: rgba(255, 255, 255, 0.8);
}

.particle.desinformation {
  fill: #ef4444;
}

.particle.rumor {
  fill: #f59e0b;
}

.particle.neutral {
  fill: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .particles-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }

  .particles-text h2 {
    font-size: var(--font-size-3xl);
  }

  .particles-viz {
    height: 400px;
  }

  .category {
    justify-content: center;
  }
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* HORIZONTAL BAR CHART STYLES */
.horizontal-chart-container {
  width: 100%;
  margin: var(--spacing-3xl) 0;
  background: var(--background);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}

.horizontal-chart-header {
  margin-bottom: var(--spacing-xs);
  text-align: center;
}

/* Estilos para justificar párrafos en toda la página */
.section-intro p,
.section-content p,
.container p:not(.chart-subtitle),
.main-content p:not(.chart-subtitle),
.section-desinformacion p:not(.chart-subtitle),
.section-rumores p:not(.chart-subtitle) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Asegurar que los títulos y subtítulos mantengan su alineación */
.section-title,
.section-subtitle,
.chart-title,
.chart-subtitle,
h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: left;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .section-intro p,
  .section-content p,
  .container p:not(.chart-subtitle),
  .main-content p:not(.chart-subtitle) {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
  }
}

.horizontal-chart-header h3 {
  font-size: var(--font-size-2xl);
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.horizontal-chart-subtitle {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  max-width: 700px;
  margin: 0 auto;
}

/* UNIFIED CHART HEADER STYLES */
.chart-header,
.horizontal-chart-header {
  margin-bottom: var(--spacing-2xl);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.chart-header h3,
.horizontal-chart-header h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
}

.chart-subtitle,
.horizontal-chart-subtitle {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.5;
  max-width: 65ch;
  margin: 0 auto var(--spacing-xs);
}

@media (max-width: 768px) {
  .chart-header h3,
  .horizontal-chart-header h3 {
    font-size: var(--font-size-2xl);
  }

  .chart-subtitle,
  .horizontal-chart-subtitle {
    font-size: var(--font-size-base);
  }

  /* Container responsive */
  .container {
    padding: 0 var(--spacing-md);
  }

  /* Categories responsive */
  .categories {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }

  /* Chart containers responsive */
  .chart-container {
    padding: var(--spacing-lg);
  }

  /* Scroll sections responsive */
  .scroll-section {
    min-height: auto;
    padding: var(--spacing-xl) 0;
  }
}

/* Bar styles */
.bar-group {
  transition: opacity 0.3s ease;
}

.bar-bg {
  fill: var(--background-alt);
  transition: width 0.5s ease-out;
}

.bar-value {
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.9;
}

.bar-value:hover {
  opacity: 1;
  filter: brightness(1.05);
}

.bar-label {
  font-weight: 600;
  dominant-baseline: middle;
  opacity: 0;
  transition: opacity 0.3s ease, x 0.5s ease;
}

.candidate-image {
  clip-path: circle(50%);
  object-fit: cover;
  transition: opacity 0.5s ease, x 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Axes */
.axis text {
  font-size: var(--font-size-sm);
  fill: var(--text-secondary);
}

.axis path,
.axis line {
  stroke: var(--border-color);
  shape-rendering: crispEdges;
}

/* Tooltip */
.chart-tooltip {
  position: absolute;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  border-radius: 4px;
  font-size: var(--font-size-sm);
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow-md);
}

.chart-tooltip strong {
  display: block;
  margin-bottom: 2px;
  color: white;
}

/* Lollipop chart styles */
.lolli-track {
  stroke: var(--border-color);
  stroke-width: 4px;
}
.lolli-circle {
  fill: #ef4444;
}
.lolli-label {
  font-size: var(--font-size-base);
  fill: var(--text-primary);
}
.lolli-value {
  font-size: var(--font-size-sm);
  font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .horizontal-chart-container {
    padding: var(--spacing-md);
  }

  .horizontal-chart-header h3 {
    font-size: var(--font-size-xl);
  }

  .axis text {
    font-size: var(--font-size-xs);
  }
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: var(--spacing-xl);
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--font-size-sm);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

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

/* Hero Section */
.hero-header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-2xl);
}

.hero-logo {
  height: 200px;
  width: auto;
  flex-shrink: 0;
  border-radius: 9999px; /* circular mask */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  border-radius: 8px;
}

@media (max-width: 768px) {
  .hero-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .hero-logo {
    height: 120px;
  }

  .hero-content h1 {
    font-size: var(--font-size-2xl);
    line-height: 1.2;
  }

  .hero-content p {
    font-size: var(--font-size-base);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--background-alt);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
}

.title-main {
  display: block;
  color: var(--text-secondary);
  font-weight: 400;
  font-size: var(--font-size-2xl);
}

.title-highlight {
  display: block;
  background: none;
  color: var(--primary-color);
  background-clip: text;
  margin: var(--spacing-xs) 0;
}

.title-date {
  display: block;
  color: #333; /* Cambiado a un gris más oscuro para mejor contraste */
  font-weight: 400; /* Un poco más de peso para mejor legibilidad */
  font-size: var(--font-size-xl);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Sutil sombra para mejorar legibilidad */
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.stat-item {
  text-align: center;
}

/* Estilos para justificar párrafos en toda la página */
.section-intro p,
.section-content p,
.container p:not(.chart-subtitle),
.main-content p:not(.chart-subtitle),
.section-desinformacion p:not(.chart-subtitle),
.section-rumores p:not(.chart-subtitle) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Asegurar que los títulos y subtítulos mantengan su alineación */
.section-title,
.section-subtitle,
.chart-title,
.chart-subtitle,
h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: left;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .section-intro p,
  .section-content p,
  .container p:not(.chart-subtitle),
  .main-content p:not(.chart-subtitle) {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
  }
}

.stat-number {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--spacing-xs);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--primary-color);
  color: white;
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 12px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-arrow {
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* UNIFIED CHART CONTAINERS */
.chart-container {
  width: 100%;
  background: var(--background);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xs) var(--spacing-xs) 0; /* Reducir padding inferior */
  margin: var(--spacing-md) 0; /* Reducir margen vertical */
  position: relative;
  overflow: visible;
}

.chart-container .chart {
  min-height: 20px;
}

.chart-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  pointer-events: none;
}

/* Scrollytelling Sections */
.main-content {
  padding: var(--spacing-3xl) 0;
}

.scroll-section {
  min-height: 100vh;
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.scroll-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.text-content {
  max-width: 500px;
}

.text-content h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.text-content p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.chart-sticky {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand p {
  color: #9ca3af;
  margin-top: var(--spacing-sm);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: var(--spacing-sm);
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: var(--spacing-lg);
  text-align: center;
  color: #9ca3af;
  font-size: var(--font-size-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero .container,
  .scroll-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-stats {
    justify-content: space-around;
  }

  .nav {
    display: none;
  }

  /* Header responsive */
  .header .container {
    padding: var(--spacing-sm) var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo-img {
    height: 32px;
  }

  /* Hero header improvements */
  .hero-header {
    text-align: center;
    gap: var(--spacing-lg);
  }

  .hero-logo {
    height: 100px;
  }

  .hero-title {
    font-size: var(--font-size-2xl);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Hexbin section responsive */
  .hexbin-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding: 0 var(--spacing-md);
  }

  .hexbin-graphic-container {
    height: 70vh;
    order: -1; /* Move chart above text on mobile */
    margin-bottom: var(--spacing-lg);
  }

  .hexbin-steps .step {
    min-height: auto;
    padding: var(--spacing-lg);
  }

  .hexbin-steps .step h3 {
    font-size: var(--font-size-xl);
  }

  .hexbin-steps .step p {
    font-size: var(--font-size-base);
  }

  .footer-links {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-lg);
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Estados de carga para gráficos */
.chart-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.chart-loading::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: var(--spacing-sm);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Extra small screens (small phones) - Updated */
@media (max-width: 480px) {
  .hero-logo {
    height: 80px;
  }

  .hero-title {
    font-size: var(--font-size-xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .logo-img {
    height: 28px;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .hexbin-graphic-container {
    height: 50vh;
  }

  .hexbin-steps .step h3 {
    font-size: var(--font-size-lg);
  }

  .hexbin-steps .step p {
    font-size: var(--font-size-sm);
  }
}
/* AI Counter Styles */
.ai-counter-container {
  display: flex;
  justify-content: center;
  margin: var(--spacing-2xl) 0;
}

.ai-counter-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  border: 2px solid #ef4444;
  border-radius: 16px;
  padding: var(--spacing-xl);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.2),
    0 0 20px rgba(239, 68, 68, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  min-width: 300px;
  text-align: center;
}

/* Estilos para justificar párrafos en toda la página */
.section-intro p,
.section-content p,
.container p:not(.chart-subtitle),
.main-content p:not(.chart-subtitle),
.section-desinformacion p:not(.chart-subtitle),
.section-rumores p:not(.chart-subtitle) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Asegurar que los títulos y subtítulos mantengan su alineación */
.section-title,
.section-subtitle,
.chart-title,
.chart-subtitle,
h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: left;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
  .section-intro p,
  .section-content p,
  .container p:not(.chart-subtitle),
  .main-content p:not(.chart-subtitle) {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
  }
}

.ai-counter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(239, 68, 68, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.ai-counter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.ai-icon {
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
}

.ai-counter-header h4 {
  color: #f1f5f9;
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ai-counter-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--spacing-sm);
}

.ai-counter-number {
  font-size: 4rem;
  font-weight: 900;
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.8), 0 0 20px rgba(239, 68, 68, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: "Courier New", monospace;
  line-height: 1;
  transition: all 0.3s ease;
}

.ai-counter-number.counting {
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(239, 68, 68, 1), 0 0 30px rgba(239, 68, 68, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.3);
}

.ai-counter-label {
  color: #cbd5e1;
  font-size: var(--font-size-lg);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .ai-counter-card {
    min-width: 250px;
    padding: var(--spacing-lg);
  }

  .ai-counter-number {
    font-size: 3rem;
  }

  .ai-counter-header h4 {
    font-size: var(--font-size-base);
  }
}

/* Reducir espacio específico para el gráfico TSE Narrativas */
#tse-narrativas-chart .chart-header {
  margin-bottom: var(--spacing-sm) !important;
}
/* Mejoras responsivas para cifras resaltadas */
@media (max-width: 768px) {
  .highlight-number {
    font-size: var(--font-size-3xl); /* Aumentado de 2xl a 3xl para móvil */
    font-weight: 900; /* Peso más fuerte para mejor visibilidad */
    margin-right: 0.5rem; /* Mayor separación en móvil */
    line-height: 1.1; /* Mejor espaciado vertical */
  }

  /* Mejorar legibilidad del texto destacado en móvil */
  .highlight-text {
    font-size: var(--font-size-lg); /* Ligeramente más grande */
    line-height: 1.6; /* Mejor espaciado */
  }

  /* Párrafos con cifras destacadas - mejor espaciado */
  .section-intro p,
  .section-content p {
    font-size: var(--font-size-lg); /* Texto base más grande en móvil */
    line-height: 1.7; /* Mejor legibilidad */
    margin-bottom: var(--spacing-lg); /* Mayor separación entre párrafos */
  }
}

@media (max-width: 480px) {
  .highlight-number {
    font-size: var(
      --font-size-4xl
    ); /* Aún más grande en pantallas muy pequeñas */
    font-weight: 900;
    margin-right: 0.75rem;
    display: inline-block;
    margin-bottom: 0.25rem; /* Pequeño margen inferior para mejor separación */
  }

  .section-intro p,
  .section-content p {
    font-size: var(
      --font-size-xl
    ); /* Texto aún más grande en pantallas muy pequeñas */
    line-height: 1.8;
  }
}
/* ESTILOS RESPONSIVOS FORZADOS PARA CIFRAS RESALTADAS */
@media (max-width: 768px) {
  .highlight-number,
  .highlight-number.total,
  .highlight-number.desinfo,
  .highlight-number.rumor {
    font-size: 2.5rem !important; /* Tamaño fijo grande para móvil */
    font-weight: 900 !important;
    line-height: 1.1 !important;
    display: inline-block !important;
    margin-right: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .highlight-number,
  .highlight-number.total,
  .highlight-number.desinfo,
  .highlight-number.rumor {
    font-size: 3rem !important; /* Aún más grande para móviles pequeños */
    font-weight: 900 !important;
    line-height: 1.1 !important;
    display: inline-block !important;
    margin-right: 0.75rem !important;
    margin-bottom: 0.25rem !important;
  }
}
/* SOLUCIÓN ULTRA-ESPECÍFICA PARA CIFRAS RESALTADAS EN MÓVIL */
@media screen and (max-width: 768px) {
  html body .main-content span.highlight-number,
  html body .section-desinformacion span.highlight-number,
  html body .section-rumores span.highlight-number,
  html body p span.highlight-number,
  html body div span.highlight-number,
  html body span.highlight-number.desinfo,
  html body span.highlight-number.rumor,
  html body span.highlight-number.total {
    font-size: 48px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    display: inline-block !important;
    margin-right: 8px !important;
    color: inherit !important;
    background: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    zoom: 1 !important;
  }
}

@media screen and (max-width: 480px) {
  html body .main-content span.highlight-number,
  html body .section-desinformacion span.highlight-number,
  html body .section-rumores span.highlight-number,
  html body p span.highlight-number,
  html body div span.highlight-number,
  html body span.highlight-number.desinfo,
  html body span.highlight-number.rumor,
  html body span.highlight-number.total {
    font-size: 56px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    display: inline-block !important;
    margin-right: 12px !important;
    margin-bottom: 4px !important;
    color: inherit !important;
    background: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    zoom: 1 !important;
  }
}
/* FOOTER PREMIUM UNIFICADO - Diseño profesional con identidad del sitio */
.footer {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  border-top: 4px solid #0f172a;
  padding: var(--spacing-3xl) 0;
  margin-top: var(--spacing-3xl);
  position: relative;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #0f172a 100%);
}

.footer-container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 var(--spacing-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--spacing-xl);
  min-height: 200px;
  align-items: stretch;
  position: relative;
  padding: var(--spacing-lg) 0;
}

/* Logos principales - esquina superior izquierda */
.footer-logos-section {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xl);
  justify-self: start;
  align-self: start;
  padding-top: var(--spacing-md);
  padding-left: var(--spacing-md);
}

.main-logos {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.brand-logo {
  height: 100px;
  width: auto;
  max-width: 350px;
  object-fit: contain;
}

.partner-logo {
  height: 85px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}

/* Texto central - spanning ambas columnas */
.footer-center {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  text-align: center;
  justify-self: center;
  align-self: center;
  z-index: 10;
  max-width: 500px;
  padding: 0 var(--spacing-lg);
}

.copyright {
  font-size: var(--font-size-base);
  color: #0f172a;
  margin: 0 0 var(--spacing-xs) 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.footer-subtitle {
  font-size: var(--font-size-sm);
  color: #374151;
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* Logos organizaciones - esquina inferior derecha */
.org-logos {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: flex-end;
  gap: var(--spacing-lg);
  justify-self: end;
  align-self: end;
  padding-bottom: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.org-logo {
  height: 85px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

/* Logo último en posición especial */
.org-logo:last-child {
  grid-column: 1 / -1;
  height: 85px;
  justify-self: center;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-2xl) 0 var(--spacing-xl) 0;
  }

  .footer-logos {
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
  }

  .logo-item {
    padding: var(--spacing-sm);
  }

  .footer-logo {
    height: 45px;
    max-width: 120px;
  }

  .footer-text p:first-child {
    font-size: var(--font-size-base);
  }

  .footer-text p:last-child {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 480px) {
  .footer-logos {
    gap: var(--spacing-md);
  }

  .footer-logo {
    height: 35px;
    max-width: 100px;
  }

  .logo-item {
    padding: var(--spacing-xs);
  }
}
/* Responsive Footer Actualizado */
@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-2xl) 0 var(--spacing-xl) 0;
  }

  .footer-logos {
    gap: var(--spacing-2xl);
    padding: var(--spacing-lg) 0;
  }

  .logo-item {
    padding: var(--spacing-xs);
  }

  .footer-logo {
    height: 65px;
    max-width: 160px;
  }

  .footer-text p:first-child {
    font-size: var(--font-size-base);
  }

  .footer-text p:last-child {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 480px) {
  .footer-logos {
    gap: var(--spacing-lg);
  }

  .footer-logo {
    height: 50px;
    max-width: 130px;
  }

  .logo-item {
    padding: var(--spacing-xs);
  }
}
/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .footer-left {
    align-items: center;
  }

  .footer-center {
    order: 3;
  }

  .footer-right {
    order: 2;
  }

  .brand-logo {
    height: 35px;
  }

  .partner-logo {
    height: 30px;
  }

  .org-logo {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--spacing-lg) 0;
  }

  .brand-logo {
    height: 30px;
  }

  .partner-logo {
    height: 25px;
  }

  .org-logo {
    height: 25px;
  }

  .org-logos {
    gap: var(--spacing-sm);
  }

  .copyright {
    font-size: var(--font-size-xs);
  }
}
/* Responsive Footer Mejorado */
@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-xl) 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xl);
  }

  .footer-left {
    align-items: center;
    order: 1;
  }

  .footer-center {
    order: 3;
    max-width: none;
  }

  .footer-right {
    order: 2;
  }

  .brand-logo {
    height: 50px;
  }

  .partner-logo {
    height: 40px;
  }

  .org-logo {
    height: 40px;
  }

  .org-logos {
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--spacing-lg) 0;
  }

  .footer-content {
    gap: var(--spacing-lg);
  }

  .brand-logo {
    height: 40px;
  }

  .partner-logo {
    height: 32px;
  }

  .org-logo {
    height: 35px;
  }

  .org-logos {
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
  }

  .copyright {
    font-size: var(--font-size-sm);
  }

  .footer-subtitle {
    font-size: var(--font-size-xs);
  }
}
/* Responsive Footer Premium */
@media (max-width: 1024px) {
  .footer-container {
    padding: 0 var(--spacing-xl);
  }

  .footer-content {
    gap: var(--spacing-2xl);
  }

  .brand-logo {
    height: 70px;
  }

  .partner-logo {
    height: 55px;
  }

  .org-logo {
    height: 55px;
  }

  .org-logo:last-child {
    height: 45px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-2xl) 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    text-align: center;
  }

  .footer-left {
    align-items: center;
    justify-self: center;
    order: 1;
  }

  .footer-center {
    order: 2;
    justify-self: center;
    padding: 0;
  }

  .footer-right {
    order: 3;
    justify-self: center;
  }

  .brand-logo {
    height: 65px;
  }

  .partner-logo {
    height: 50px;
  }

  .org-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    min-width: 280px;
  }

  .org-logo {
    height: 50px;
    max-width: 100px;
  }

  .org-logo:last-child {
    grid-column: 2;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--spacing-xl) 0;
  }

  .footer-container {
    padding: 0 var(--spacing-lg);
  }

  .footer-content {
    gap: var(--spacing-2xl);
  }

  .brand-logo {
    height: 55px;
  }

  .partner-logo {
    height: 42px;
  }

  .org-logos {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    min-width: 240px;
  }

  .org-logo {
    height: 42px;
    max-width: 85px;
  }

  .org-logo:last-child {
    grid-column: 1 / -1;
    height: 35px;
  }

  .copyright {
    font-size: var(--font-size-base);
  }

  .footer-subtitle {
    font-size: var(--font-size-sm);
  }
}
/* Responsive Footer Premium Unificado */
@media (max-width: 1024px) {
  .footer-container {
    padding: 0 var(--spacing-xl);
  }

  .footer-content {
    gap: var(--spacing-2xl);
  }

  .main-logos {
    min-width: 250px;
    padding: var(--spacing-lg);
  }

  .brand-logo {
    height: 100px;
  }

  .partner-logo {
    height: 85px;
  }

  .org-logos {
    min-width: 270px;
    padding: var(--spacing-lg);
  }

  .org-logo {
    height: 85px;
  }

  .org-logo:last-child {
    height: 75px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-2xl) 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    text-align: center;
  }

  .footer-left {
    justify-self: center;
    order: 1;
  }

  .footer-center {
    order: 2;
    justify-self: center;
    padding: 0;
  }

  .footer-right {
    order: 3;
    justify-self: center;
  }

  .main-logos {
    min-width: 300px;
    padding: var(--spacing-xl);
  }

  .brand-logo {
    height: 90px;
  }

  .partner-logo {
    height: 75px;
  }

  .org-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    min-width: 320px;
  }

  .org-logo {
    height: 75px;
    max-width: 130px;
  }

  .org-logo:last-child {
    grid-column: 2;
    height: 65px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--spacing-xl) 0;
  }

  .footer-container {
    padding: 0 var(--spacing-lg);
  }

  .footer-content {
    gap: var(--spacing-2xl);
  }

  .main-logos {
    min-width: 260px;
    padding: var(--spacing-lg);
  }

  .brand-logo {
    height: 80px;
  }

  .partner-logo {
    height: 67px;
  }

  .org-logos {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    min-width: 280px;
  }

  .org-logo {
    height: 67px;
    max-width: 110px;
  }

  .org-logo:last-child {
    grid-column: 1 / -1;
    height: 60px;
  }

  .copyright {
    font-size: var(--font-size-lg);
  }

  .footer-subtitle {
    font-size: var(--font-size-base);
  }
}
/* Responsive Footer Minimalista */
@media (max-width: 1024px) {
  .footer-logos-section {
    gap: var(--spacing-2xl);
  }

  .main-logos {
    gap: var(--spacing-xl);
  }

  .org-logos {
    gap: var(--spacing-xl);
  }

  .brand-logo {
    height: 100px;
  }

  .partner-logo {
    height: 85px;
  }

  .org-logo {
    height: 85px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-2xl);
  }

  .footer-logos-section {
    flex-direction: column;
    gap: var(--spacing-xl);
  }

  .main-logos {
    gap: var(--spacing-lg);
  }

  .org-logos {
    gap: var(--spacing-lg);
  }

  .brand-logo {
    height: 90px;
  }

  .partner-logo {
    height: 75px;
  }

  .org-logo {
    height: 75px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--spacing-2xl) 0;
  }

  .footer-content {
    gap: var(--spacing-xl);
  }

  .footer-logos-section {
    gap: var(--spacing-lg);
  }

  .main-logos {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .org-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
  }

  .brand-logo {
    height: 80px;
  }

  .partner-logo {
    height: 67px;
  }

  .org-logo {
    height: 67px;
  }
}
/* Ajustes responsivos para asimetría */
@media (max-width: 768px) {
  /* Mantener asimetría sutil en tablet */
  .org-logo:nth-child(1),
  .org-logo:nth-child(3) {
    margin-top: var(--spacing-md);
  }

  .org-logos {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* En móvil, reducir asimetría para mejor balance */
  .org-logo:nth-child(1),
  .org-logo:nth-child(3) {
    margin-top: var(--spacing-sm);
  }

  .org-logos {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }
}
/* Ajustes responsivos para asimetría dramática actualizada */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    min-height: 140px;
  }

  .footer-center {
    position: static;
    transform: none;
    order: 2;
    margin: var(--spacing-xl) 0;
  }

  /* Mantener asimetría en tablet */
  .org-logo:nth-child(1),
  .org-logo:nth-child(3) {
    margin-top: var(--spacing-2xl);
  }

  .org-logos {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    min-height: 120px;
  }

  /* En móvil, reducir asimetría pero mantener efecto */
  .org-logo:nth-child(1),
  .org-logo:nth-child(3) {
    margin-top: var(--spacing-xl);
  }

  .org-logos {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }
}
/* Responsive para diseño de esquinas */
@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    min-height: 140px;
  }

  .footer-logos-section {
    order: 1;
    justify-self: center;
  }

  .footer-center {
    order: 2;
    grid-column: unset;
    grid-row: unset;
  }

  .org-logos {
    order: 3;
    justify-self: center;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: var(--spacing-lg);
    min-height: 120px;
  }

  .main-logos {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .org-logos {
    gap: var(--spacing-md);
  }
}
/* Responsive mejorado para alineación perfecta */
@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    min-height: 140px;
    padding: var(--spacing-lg);
  }

  .footer-logos-section {
    order: 1;
    justify-self: center;
    padding: 0;
  }

  .footer-center {
    order: 2;
    grid-column: unset;
    grid-row: unset;
    max-width: none;
    padding: 0;
  }

  .org-logos {
    order: 3;
    justify-self: center;
    align-self: center;
    padding: 0;
  }

  .brand-logo {
    height: 85px;
  }

  .partner-logo {
    height: 70px;
  }

  .org-logo {
    height: 70px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: var(--spacing-lg);
    min-height: 120px;
    padding: var(--spacing-md);
  }

  .main-logos {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
  }

  .org-logos {
    gap: var(--spacing-md);
  }

  .brand-logo {
    height: 75px;
  }

  .partner-logo {
    height: 60px;
  }

  .org-logo {
    height: 60px;
  }
}
