/* === VARIABLES Y CONFIGURACIÓN GENERAL (Original) === */
:root {
    --primary-color: #278A2A;
    --secondary-color: #99CF16;
    --contrast-color: #D71658;
    --text-color: #808080;
    --button-color: #DEA919;
    --button-color-2: #4FA0CA;
    --text-light: #FFFFFF;
    --background-light: #F8F9FA;
    --card-bg-light: rgba(255, 255, 255, 0.7);
    --card-border-light: rgba(0, 0, 0, 0.1);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --blur-strength: 10px;
    --transition-speed: 0.7s; /* Un poco más lento para el efecto splash */
    --border-radius: 16px;
    --hero-color-1: #99CF16;
    --hero-color-2: #278A2A;
}

body.dark-mode {
    --primary-color: #99CF16;
    --secondary-color: #99CF16;
    --text-color: #A9A9A9;
    --button-color: #DEA919;
    --text-light: #fff;
    --background-light: #071227; /* Fondo oscuro para el contenido */
    --card-bg-light: rgba(33, 33, 33, 0.7);
    --card-border-light: rgba(255, 255, 255, 0.1);
    --shadow-light: rgba(255, 255, 255, 0.05);
    --hero-color-1: #121212;
    --hero-color-2: #278A2A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === MODIFICADO: Estilos para la Transición de Salpicadura === */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: var(--transition-speed);
    animation-timing-function: ease-in-out;
}

@keyframes circular-reveal {
    from {
        clip-path: var(--clip-path-start);
    }
    to {
        clip-path: var(--clip-path-end);
    }
}

html.reveal-transition::view-transition-new(root) { animation-name: circular-reveal;}
body { font-family: "Fira Sans", sans-serif; line-height: 1.2; color: var(--text-color); background-color: var(--background-light); transition: background-color 0.3s ease; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'League Spartan', sans-serif; text-align: center; font-weight: 700; color: var(--primary-color); }
p { font-size: 1em; font-family: "Fira Sans", sans-serif; text-align: center; }

.contenedor-principal {
  width: 100%; /* Ocupa todo el ancho disponible */
  max-width: 960px; /* Pero nunca más de 960px en pantallas grandes */
  margin: 0 auto;
  padding: 0 16px; /* Añade un pequeño espacio a los lados */
  box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
}

  /* === ESTILOS SIDEBAR (Original) === */
.sidebar { position: fixed; top: 0; left: 0; width: 270px; height: 100vh;  background-color: var(--background-light); transition: all 0.4s ease; z-index: 100; font-family: "League Spartan", sans-serif; box-shadow: 0 10px 30px #00000012; border-radius: 0px 16px 16px 0px; }
.sidebar.collapsed { width: 85px;}
body.dark-mode .sidebar.collapsed { background-color: #0c304391; backdrop-filter: blur(12px); }
body.dark-mode .sidebar { background-color: #0c304391; backdrop-filter: blur(12px); }
.main-content { position: relative; margin-left: 270px; transition: margin-left 0.4s ease; }
.sidebar.collapsed ~ .main-content { margin-left: 85px; }
.sidebar .sidebar-header { display: flex; position: relative; padding: 8px 10px; align-items: center; justify-content: space-between; }
.sidebar-header .header-logo img { width: 46px; height: 46px; display: block; object-fit: contain; }
.sidebar-header .toggler { height: 35px; width: 35px; color: var(--primary-color); border: none; cursor: pointer; display: flex; background-color: var(--secondary-color); align-items: center; justify-content: center; border-radius: 8px; transition: 0.4s ease; }
.sidebar-header .sidebar-toggler { position: absolute; right: 20px; bottom: -500px; }
.sidebar-header .menu-toggler { display: none; }
.sidebar-header .toggler:hover { background-color: var(--button-color-2);}
.sidebar-header .toggler span { color: #fff;font-size: 1.75rem; transition: 0.4s ease; }
.sidebar.collapsed .sidebar-header .toggler span { transform: rotate(180deg); }
.sidebar-nav .nav-list { list-style: none; display: flex; gap: 2px; padding: 0 15px; flex-direction: column; transform: translateY(15px); transition: 0.4s ease; }
.sidebar-nav .nav-link { color: #808080; display: flex; gap: 12px; white-space: nowrap; border-radius: 8px; padding: 8px 16px; align-items: center; text-decoration: none; transition: 0.4s ease; }
body.dark-mode .sidebar-nav .nav-link { color: #fff; }
.sidebar.collapsed .sidebar-nav .nav-link { border-radius: 12px;}
.sidebar .sidebar-nav .nav-link .nav-label { transition: opacity 0.3s ease; }
.sidebar.collapsed .sidebar-nav .nav-link .nav-label { opacity: 0; pointer-events: none; }
.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link.active { color: #ffffff; background: var(--secondary-color); }
.sidebar-nav .nav-item { position: relative; }
.sidebar-nav .nav-tooltip { position: absolute; top: 50%; transform: translateY(-50%); opacity: 0; color: #151A2D; display: none; pointer-events: none; padding: 6px 12px; border-radius: 8px; white-space: nowrap; background: #fff; left: calc(100% + 15px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); transition: 0s; }
.sidebar.collapsed .sidebar-nav .nav-item:hover .nav-tooltip { opacity: 1; pointer-events: auto; transition: all 0.4s ease; }

/* === ESTILOS HERO SECTION (Original) === */
@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* === ESTILOS BANNER O HERO === */
.hero-container { display: flex; align-items: center; justify-content: center; }
.hero-content { display: flex; align-items: center; justify-content: center; gap: 50px; flex-wrap: wrap; width: 90%; text-align: center; backdrop-filter: blur(16px); padding: 24px; border-radius: 24px; }
.hero-content img { max-width: 200px; height: auto; }
.hero-content h2 { max-width: 50%; text-align: left; font-size: 3.2em; color: white; line-height: 1.2; text-shadow: 0 0px 30px rgb(102 180 221); }
.hero-section { min-height: 94vh; max-width: 96%; margin: 16px auto; display: flex; align-items: center; justify-content: center; color: white; background-image: linear-gradient(-45deg, #031b29, rgb(255 255 255 / 0%), #031b29), url(/Imagenes/BannerPFC.webp); animation: moveGradient 95s ease infinite; border-radius: 16px; position: relative; overflow: hidden;  }
body.dark-mode .hero-section { box-shadow: 0px 0px 30px #ffffff17; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle 300px at var(--cursor-x) var(--cursor-y), rgba(255, 255, 255, 0.15), transparent 80%); opacity: 0; transition: opacity 0.3s ease-out; pointer-events: none; }
.hero-section:hover::before { opacity: 1; }
.logo { position: absolute; width: 24%; height: auto; z-index: 3; }
.logo-top-left { top: 0px; left: 0px; }
.logo-bottom-right { bottom: 0px; right: 0px; }
.dropping-texts { display: inline-block; position: relative; width: 250px; height: 60px; vertical-align: middle; text-align: left; }
.dropping-texts > div { font-family: 'League Spartan', sans-serif; position: absolute; font-size: 0px; opacity: 0; margin-left: -30px; font-weight: 700; box-shadow: 0px 60px 25px -20px rgba(0, 0, 0, 0.5); }
.dropping-texts > div:nth-child(1) { animation: roll 5s linear infinite 0s; }
.dropping-texts > div:nth-child(2) { animation: roll 5s linear infinite 1s; }
.dropping-texts > div:nth-child(3) { animation: roll 5s linear infinite 2s; }
.dropping-texts > div:nth-child(4) { animation: roll2 5s linear infinite 3s; }
.hero-button { display: inline-block; padding: 15px 35px; background-color: var(--button-color-2); color: #ffffff; text-decoration: none; font-size: 1.1rem; font-weight: bold; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, background-color 0.3s ease; }
.hero-button:hover { background-color: var(--secondary-color); transform: translateY(-3px); cursor: pointer; }    

@keyframes roll { 0% { font-size: 0px; opacity: 0; margin-left: -30px; margin-top: 0px; transform: rotate(-25deg); } 3% { opacity: 1; transform: rotate(0deg); } 5% { font-size: inherit; opacity: 1; margin-left: 0px; margin-top: 0px; } 20% { font-size: inherit; opacity: 1; margin-left: 0px; margin-top: 0px; transform: rotate(0deg); } 27% { font-size: 0px; opacity: 0.5; margin-left: 20px; margin-top: 100px; } 100% { font-size: 0px; opacity: 0; margin-left: -30px; margin-top: 0px; transform: rotate(15deg); } }
@keyframes roll2 { 0% { font-size: 0px; opacity: 0; margin-left: -30px; margin-top: 0px; transform: rotate(-25deg); } 3% { opacity: 1; transform: rotate(0deg); } 5% { font-size: inherit; opacity: 1; margin-left: 0px; margin-top: 0px; } 30% { font-size: inherit; opacity: 1; margin-left: 0px; margin-top: 0px; transform: rotate(0deg); } 37% { font-size: 1500px; opacity: 0; margin-left: -1000px; margin-top: -800px; } 100% { font-size: 0px; opacity: 0; margin-left: -30px; margin-top: 0px; transform: rotate(15deg); } }
@media (max-width: 768px) {
    .logo { width: 100px; }
    .logo-top-left { top: 0px; left: 0px; }
    .logo-bottom-right { bottom: 0px; right: 0px; }
}

/* === ESTILOS CONTENIDO Y SECCIONES === */
.section { padding: 80px 0; text-align: center; }
.section-title { font-size: 2.8em; margin-bottom: 40px; position: relative; padding-bottom: 12px; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--secondary-color); margin: 12px auto 0; border-radius: 2px; }
.card-section .card { background-color: var(--card-bg-light); border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); padding: 25px; margin-top: 24px; text-align: left; border: 1px solid var(--card-border-light); }
body.dark-mode .card-section .card { box-shadow: 0px 0px 30px #ffffff17;}
.card h3 { font-size: 1.5em; margin-bottom: 15px; }
.list-benefits { list-style: none; padding: 0; text-align: left; }
.list-benefits li { display: flex; align-items: center; margin-bottom: 12px; }
.list-benefits li .material-icons { color: var(--secondary-color); margin-right: 12px; }
.card-grid { display: grid; gap: 8px; margin-top: 30px; }

.stats-section { padding: 80px 20px; max-width: 1100px; margin: 0 auto; }
.stats-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; max-width: 1200px; margin: 0 auto; align-items: center; }
.stats-info p { font-size: 1rem; line-height: 1.2; color: var(--text-color); text-align: left; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.stat-card { padding: 32px; border-radius: 16px; color: #1E293B; text-align: left; }
.stat-card.yellow { background-color: #f8f9fa; box-shadow: 0 10px 30px #00000012; background-image: linear-gradient(124deg, #f8f9fa, #fff, rgba(255, 255, 255, 0.7)), url(/Imagenes/Obejtivo.png); background-repeat: no-repeat; background-size: cover; }
.stat-card.blue { background-color: #f8f9fa; box-shadow: 0 10px 30px #00000012; background-image: linear-gradient(124deg, #f8f9fa, #fff, rgba(255, 255, 255, 0.7)), url(/Imagenes/mapa.png); background-repeat: no-repeat; background-size: cover; }
.stat-card.green { background-color: #f8f9fa; box-shadow: 0 10px 30px #00000012; background-image: linear-gradient(124deg, #f8f9fa, #fff, rgba(255, 255, 255, 0.7)), url(/Imagenes/fabrica.png); background-repeat: no-repeat; background-size: cover; }
.stat-card.pink { background-color: #f8f9fa; box-shadow: 0 10px 30px #00000012; background-image: linear-gradient(124deg, #f8f9fa, #fff, rgba(255, 255, 255, 0.7)), url(/Imagenes/induccion.png); background-repeat: no-repeat; background-size: cover; }
.clic-btt { font-family: 'Fira Sans'; background-color: var(--button-color-2); border-radius: 8px; padding: 8px; margin: 8px; text-decoration: none; color: var(--background-light); }
body.dark-mode .clic-btt { font-family: 'Fira Sans'; background-color: #fff; border-radius: 8px; padding: 8px; margin: 8px; text-decoration: none; color: var(--secondary-color); }
body.dark-mode .stat-card.yellow { background-color: var(--button-color-2);  background-image: radial-gradient(37.88% 68.62% at 50% 0, rgba(5, 117, 69, .3) 0, rgba(0, 62, 36, 0) 80%), radial-gradient(10% 10% at 50% 0, rgba(5, 117, 69, .5) 0, rgba(0, 62, 36, .4) 90%, rgba(0, 62, 36, 0) 0), radial-gradient(100% 28.09% at 100% 10%, rgba(5, 117, 69, .2) 0, rgba(0, 62, 36, .1) 80%, rgba(0, 62, 36, 0) 100%), linear-gradient(180deg, rgba(0, 62, 36, .075) 35.79%, rgba(0, 62, 36, .05) 80%, #071227), radial-gradient(74.84% 135.56% at 100% 10%, rgba(0, 62, 36, .5) 0, #071227 80%), url(/Imagenes/objetivoDM.png); box-shadow: 0px 0px 30px #ffffff17; }
body.dark-mode .stat-card.blue { background-color: var(--button-color-2);  background-image: radial-gradient(37.88% 68.62% at 50% 0, rgba(5, 117, 69, .3) 0, rgba(0, 62, 36, 0) 80%), radial-gradient(10% 10% at 50% 0, rgba(5, 117, 69, .5) 0, rgba(0, 62, 36, .4) 90%, rgba(0, 62, 36, 0) 0), radial-gradient(100% 28.09% at 100% 10%, rgba(5, 117, 69, .2) 0, rgba(0, 62, 36, .1) 80%, rgba(0, 62, 36, 0) 100%), linear-gradient(180deg, rgba(0, 62, 36, .075) 35.79%, rgba(0, 62, 36, .05) 80%, #071227), radial-gradient(74.84% 135.56% at 100% 10%, rgba(0, 62, 36, .5) 0, #071227 80%), url(/Imagenes/mapa.png); box-shadow: 0px 0px 30px #ffffff17; }
body.dark-mode .stat-card.green { background-color: var(--button-color-2);  background-image: radial-gradient(37.88% 68.62% at 50% 0, rgba(5, 117, 69, .3) 0, rgba(0, 62, 36, 0) 80%), radial-gradient(10% 10% at 50% 0, rgba(5, 117, 69, .5) 0, rgba(0, 62, 36, .4) 90%, rgba(0, 62, 36, 0) 0), radial-gradient(100% 28.09% at 100% 10%, rgba(5, 117, 69, .2) 0, rgba(0, 62, 36, .1) 80%, rgba(0, 62, 36, 0) 100%), linear-gradient(180deg, rgba(0, 62, 36, .075) 35.79%, rgba(0, 62, 36, .05) 80%, #071227), radial-gradient(74.84% 135.56% at 100% 10%, rgba(0, 62, 36, .5) 0, #071227 80%), url(/Imagenes/fabrica.png); box-shadow: 0px 0px 30px #ffffff17; }
body.dark-mode .stat-card.pink { background-color: var(--button-color-2);  background-image: radial-gradient(37.88% 68.62% at 50% 0, rgba(5, 117, 69, .3) 0, rgba(0, 62, 36, 0) 80%), radial-gradient(10% 10% at 50% 0, rgba(5, 117, 69, .5) 0, rgba(0, 62, 36, .4) 90%, rgba(0, 62, 36, 0) 0), radial-gradient(100% 28.09% at 100% 10%, rgba(5, 117, 69, .2) 0, rgba(0, 62, 36, .1) 80%, rgba(0, 62, 36, 0) 100%), linear-gradient(180deg, rgba(0, 62, 36, .075) 35.79%, rgba(0, 62, 36, .05) 80%, #071227), radial-gradient(74.84% 135.56% at 100% 10%, rgba(0, 62, 36, .5) 0, #071227 80%), url(/Imagenes/induccion.png); box-shadow: 0px 0px 30px #ffffff17; }
.stat-card-number { font-size: 1.2rem; font-weight: 700; margin: 0 0 12px 0; }
.stat-card-description { font-size: 1rem; line-height: 1.2; margin: 0; color: var(--text-color); }
body.dark-mode .stat-card-description { color: #ffffff; }

/* === ESTILOS  POR QUE PARTICPAR === */
.benefits-container { position: relative; background-color: #f8f9fa; padding: 50px; margin: 16px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); text-align: center; max-width: 1100px; overflow: hidden; margin: 0 auto;}
.benefits-container::before, .benefits-container::after { content: ''; position: absolute; width: 200px; height: 100px; background-image: radial-gradient(#dbe1f1 2px, transparent 2px); background-size: 20px 20px; opacity: 0.8; pointer-events: none; }
.benefits-container::before { top: 20px; left: 20px; }
.benefits-container::after { top: 20px; right: 20px; }
.benefits-title { font-size: 2rem; margin: 0 0 50px 0; position: relative; z-index: 1; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.benefit-item { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.benefit-item img { height: 64px; }
.benefit-item p { font-size: 1rem; color: var(--text-color); margin: 0;  line-height: 1.2; }
.list-benefits li strong { font-weight: 700; }
body.dark-mode .benefits-container { background-color: var(--button-color-2); box-shadow: 0px 0px 30px #ffffff17;  background-image: radial-gradient(37.88% 68.62% at 50% 0, rgba(5, 117, 69, .3) 0, rgba(0, 62, 36, 0) 80%), radial-gradient(10% 10% at 50% 0, rgba(5, 117, 69, .5) 0, rgba(0, 62, 36, .4) 90%, rgba(0, 62, 36, 0) 0), radial-gradient(100% 28.09% at 100% 10%, rgba(5, 117, 69, .2) 0, rgba(0, 62, 36, .1) 80%, rgba(0, 62, 36, 0) 100%), linear-gradient(180deg, rgba(0, 62, 36, .075) 35.79%, rgba(0, 62, 36, .05) 80%, #071227), radial-gradient(74.84% 135.56% at 100% 10%, rgba(0, 62, 36, .5) 0, #071227 80%); }
body.dark-mode .benefit-item p { color: #fff; }

.section { width: 100%; padding: 32px 0; }
.card-section .container { max-width: 1200px; margin: 0 auto; padding: 20px 20px; text-align: center;}
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 40px; }

/* === ESTILOS TEMATICAS === */
.tematica-trigger { text-align: left; font-family: inherit; border: none; padding: 0; background: none; cursor: pointer; width: 100%; }
.tematica-trigger.card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.tematica-trigger.card p { font-family: "Fira Sans", sans-serif; color: var(--text-color); font-size: 1rem; }
.tematica-trigger.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); background-color: var(--secondary-color); color: var(--text-light); }
body.dark-mode .tematica-trigger.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); background-color: var(--button-color-2); color: var(--text-light); }
body.dark-mode .tematica-trigger.card h3:hover { color: var(--text-light); }
.tematica-trigger.card p:hover { color: var(--text-light); }
.modal-contenedor { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; display: flex; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; visibility: hidden; opacity: 0; transition: visibility 0s 0.3s, opacity 0.3s ease; }
.modal-contenedor.activo { visibility: visible; opacity: 1; transition: visibility 0s 0s, opacity 0.3s ease; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.039); backdrop-filter: blur(5px); cursor: pointer; }
.modal-contenido { position: relative; background-color: var(--card-bg-light, #fff); backdrop-filter: blur(32px); color: var(--text-color); border-radius: var(--border-radius, 16px); padding: 40px; max-width: 800px; width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,0.2); text-align: center; transform: scale(0.9); transition: transform 0.3s ease; max-height: 85vh; overflow-y: auto; }
body.dark-mode .modal-contenido { position: relative; background-color: rgb(33 33 33 / 15%); backdrop-filter: blur(32px); color: var(--text-light); border-radius: var(--border-radius, 16px); padding: 40px; max-width: 800px; width: 100%; box-shadow: 0 10px 40px rgb(255 255 255 / 34%); text-align: center; transform: scale(0.9); transition: transform 0.3s ease; max-height: 85vh; overflow-y: auto; }
.modal-contenedor.activo .modal-contenido { transform: scale(1); }
.modal-cerrar { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 2.5rem; font-weight: 300; color: var(--text-color); cursor: pointer; line-height: 1; transition: transform 0.2s ease; }
.modal-cerrar:hover { transform: scale(1.1); color: var(--contrast-color); }
.modal-contenido h3 { font-family: 'League Spartan', sans-serif; font-size: 1.5rem; color: var(--primary-color); margin-top: 0; margin-bottom: 15px; line-height: 1; }
.modal-contenido p { font-family: 'Fira Sans', sans-serif; font-size: 1rem; line-height: 1.2; text-align: left; }
.info-topic { font-size: 1rem; line-height: 1.2; text-align: center; }
body.modal-abierto { overflow: hidden; }

/* === ESTILOS CATEGORIAS === */
.info-card { display: flex; max-width: 1100px; max-height: 512px; background-color: #ffffff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); overflow: hidden; margin: 0 auto; flex-wrap: wrap; text-align: left; }
body.dark-mode .info-card { box-shadow: 0px 0px 30px #ffffff17; }
body.dark-mode .info-card2 { box-shadow: 0px 0px 30px #ffffff17; }
.info-card2 { display: flex; max-width: 1100px; max-height: 512px; background-color: #ffffff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); overflow: hidden; margin: 0 auto; flex-wrap: wrap; text-align: left; flex-direction: row-reverse; }
.image-container { flex: 1; min-width: 300px; }
.image-container img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Contenedor del contenido de texto */
.content-container { flex: 1.2; background-color: var(--button-color-2); background-image: radial-gradient(37.88% 68.62% at 50% 0, rgba(5, 117, 69, .3) 0, rgba(0, 62, 36, 0) 80%), radial-gradient(10% 10% at 50% 0, rgba(5, 117, 69, .5) 0, rgba(0, 62, 36, .4) 90%, rgba(0, 62, 36, 0) 0), radial-gradient(100% 28.09% at 100% 10%, rgba(5, 117, 69, .2) 0, rgba(0, 62, 36, .1) 80%, rgba(0, 62, 36, 0) 100%), linear-gradient(180deg, rgba(0, 62, 36, .075) 35.79%, rgba(0, 62, 36, .05) 80%, #071227), radial-gradient(74.84% 135.56% at 100% 10%, rgba(0, 62, 36, .5) 0, #071227 80%); color: white; padding: 40px; display: flex; flex-direction: row; justify-content: flex-start; max-height: 512px; flex-wrap: wrap; align-items: flex-start; }
.content-container h3 { font-size: 2rem; font-weight: 700; margin-top: 0; margin-bottom: 16px; line-height: 1.2; color: #fff; }
.content-container p { font-size: 1rem; line-height: 1.2; margin-bottom: 24px; opacity: 0.9; text-align: left; }
.btn { font-family: 'League Spartan', sans-serif; background-color: var(--button-color-2); color: #ffffff; border: none; margin: 8px; border-radius: 8px; padding: 12px 24px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; align-self: flex-start; text-decoration: none; display: inline-block; }
.btn-2 { font-family: 'League Spartan', sans-serif; background-color: #ffffff06; color: #ffffff; border: 1px solid var(--button-color-2); margin: 8px; border-radius: 8px; padding: 12px 24px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; align-self: flex-start; text-decoration: none; display: inline-block; }
.btn-2:hover { color: var(--secondary-color); transform: translateY(-2px); border: 1px solid var(--secondary-color); margin: 8px; border-radius: 8px; padding: 12px 24px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; align-self: flex-start; text-decoration: none; display: inline-block; }
body.dark-mode .btn { background-color: var(--button-color-2); }
.btn:hover { font-family: 'League Spartan', sans-serif; background-color: var(--secondary-color); color: #fff; transform: translateY(-2px); }
body.dark-mode .btn:hover { background-color: var(--secondary-color); }

/* === ESTILOS CALENDARIO === */
.carousel-section { width: 100%; max-width: 1200px; padding: 40px 0; box-sizing: border-box; }
.container { width: 100%; text-align: center; }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 40px; }
.carousel-container { position: relative; width: 100%; height: 400px;  perspective: 1500px;  margin-top: 50px; }
.carousel-track { position: absolute; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1); }
.carousel-container .card { position: absolute; width: 280px; height: 360px; background: white; border-radius: 16px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); padding: 30px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; cursor: pointer; transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease; backface-visibility: hidden; }
.carousel-container .card h3 { font-size: 1.2rem; margin-top: 0; margin-bottom: 15px; color: #2d3748; line-height: 1; }
.carousel-container .card p { font-size: 1rem; line-height: 1.2; color: #4a5568; }
.carousel-container .card img { max-width: 100%; height: auto; display: block; }
.carousel-container .card img { max-width: 100%; height: auto; display: block; margin-bottom: 15px; border-radius: 8px; transition: transform 0.3s ease-in-out; }
.carousel-container .card:hover img { transform: scale(2.1); }
.carousel-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 20px; box-sizing: border-box; z-index: 10; }
.nav-button { z-index: 10; background-color: rgba(255, 255, 255, 0.8); border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 24px; font-weight: bold; color: #2d3748; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); display: flex; justify-content: center; align-items: center; transition: transform 0.3s ease, background-color 0.3s ease; }
.nav-button:hover { transform: scale(1.1); background-color: white; }
.nav-button:active { transform: scale(1.05); }
#prev-button { left: -80px; }
#next-button { right: -80px; }

/* === ESTILOS DOCUMENTOS IMPORTANTES === */
.documentos-seccion { padding: 60px 20px; background-color: var(--background-light); text-align: center; margin: 48px; border-radius: 16px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); max-width: 1100px; margin: 0 auto; }
body.dark-mode .documentos-seccion { background-color: var(--button-color-2); margin: auto;  border-radius: 16px; box-shadow: 0px 0px 30px #ffffff17; background-image: radial-gradient(37.88% 68.62% at 50% 0, rgba(5, 117, 69, .3) 0, rgba(0, 62, 36, 0) 80%), radial-gradient(10% 10% at 50% 0, rgba(5, 117, 69, .5) 0, rgba(0, 62, 36, .4) 90%, rgba(0, 62, 36, 0) 0), radial-gradient(100% 28.09% at 100% 10%, rgba(5, 117, 69, .2) 0, rgba(0, 62, 36, .1) 80%, rgba(0, 62, 36, 0) 100%), linear-gradient(180deg, rgba(0, 62, 36, .075) 35.79%, rgba(0, 62, 36, .05) 80%, #071227), radial-gradient(74.84% 135.56% at 100% 10%, rgba(0, 62, 36, .5) 0, #071227 80%);}
.section-subtitle { max-width: 90%; margin: -30px auto 40px auto; color: var(--text-color); font-size: 1.1rem; }
.documentos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.documento-card { background-color: var(--card-bg-light); max-width: 240px; border-radius: var(--border-radius); padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.documento-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px var(--shadow-light); }
body.dark-mode .documento-card:hover { box-shadow: 0px 0px 30px #ffffff17; }
.documento-icono { width: 64px; height: 64px; margin-bottom: 20px; object-fit: contain; }
.documento-titulo { font-family: "League Spartan", sans-serif; font-size: 1.4rem; color: var(--primary-color); margin-bottom: 10px; }
.documento-descripcion { font-family: "Proxima Nova", sans-serif; color: var(--text-color); font-size: 1rem; line-height: 1.2; margin-bottom: 25px; flex-grow: 1; }
.btn-descarga { display: inline-flex; align-items: center; gap: 8px; background-color: var(--button-color-2); color: var(--text-light); font-family: "Fira Sans", sans-serif; font-weight: 600; text-decoration: none; padding: 12px 25px; border-radius: 8px; transition: background-color 0.3s ease; }
.btn-descarga:hover { background-color: var(--secondary-color); }
.btn-descarga .material-symbols-rounded { font-size: 20px; }

/* === ESTILOS RETOS === */
.seccion-retos { position: relative; width: 100%; max-width: 1100px; margin: 40px auto; padding: 60px 20px; background-color: var(--background-light); border-radius: var(--border-radius, 16px); box-shadow: 0 10px 30px var(--shadow-light, rgba(0, 0, 0, 0.1)); box-sizing: border-box; }
body.dark-mode .seccion-retos { background-color: var(--button-color-2); background-image: radial-gradient(37.88% 68.62% at 50% 0, rgba(5, 117, 69, .3) 0, rgba(0, 62, 36, 0) 80%), radial-gradient(10% 10% at 50% 0, rgba(5, 117, 69, .5) 0, rgba(0, 62, 36, .4) 90%, rgba(0, 62, 36, 0) 0), radial-gradient(100% 28.09% at 100% 10%, rgba(5, 117, 69, .2) 0, rgba(0, 62, 36, .1) 80%, rgba(0, 62, 36, 0) 100%), linear-gradient(180deg, rgba(0, 62, 36, .075) 35.79%, rgba(0, 62, 36, .05) 80%, #071227), radial-gradient(74.84% 135.56% at 100% 10%, rgba(0, 62, 36, .5) 0, #071227 80%); }
.seccion-retos h2 { text-align: center; margin-bottom: 40px; }
.retos-container { display: flex; align-items: center; gap: 40px; }
.retos-imagen { flex: 0 1 40%; min-width: 0; }
.retos-imagen img { width: 100%; height: auto; border-radius: var(--border-radius, 16px); }
.retos-contenido-wrapper { flex: 1; }
.acordeon-item { border-bottom: 1px solid var(--card-border-light); }
.acordeon-item:last-child { border-bottom: none; }
.acordeon-header { background-color: transparent; border: none; margin-top: 16px; width: 100%; padding: 1.5rem 1rem; font-family: 'League Spartan', sans-serif; font-size: 1.4rem; font-weight: 600; color: var(--primary-color); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease, color 0.3s ease, border-radius 0.3s ease; }
.acordeon-header:hover { background-color:var(--secondary-color); border-radius: 16px; color: #fff; }
body.dark-mode .acordeon-header:hover { background-color:var(--button-color-2); border-radius: 16px; color: #fff; }
.acordeon-header:hover::after { color: #fff; }
.acordeon-header::after { content: '+'; font-size: 2.2rem; font-weight: 300; color: var(--primary-color); transition: transform 0.4s ease, color 0.3s ease; }
.acordeon-header.active::after { content: '−'; transform: rotate(180deg); }
.acordeon-contenido { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; font-family: 'Fira Sans', sans-serif; color: var(--text-color); line-height: 1.7; font-size: 1rem; }
.acordeon-contenido p { padding:16px; margin: 0; text-align: left; font-size: 1em; line-height: 1.2; }
@media (max-width: 992px) {
    .retos-container { flex-direction: column; }
    .retos-imagen { order: 1; max-width: 400px; width: 90%; }
    .retos-contenido-wrapper { order: 2; width: 100%; }
}
@media (max-width: 768px) {
    .seccion-retos { width: auto; margin: 16px; }
    .seccion-retos h2 { font-size: 2.2rem; }
    .acordeon-header { font-size: 1.2rem; }
}

/* === ESTILOS PREGUNTAS FRECUENTES === */
.faq-seccion { max-width: 900px; margin: 40px auto; padding: 20px; }
.faq-seccion h2 { text-align: center; margin-bottom: 30px; font-size: 2.5rem; }
.faq-contenedor { border-top: 1px solid var(--color-borde); }
.faq-item { border-bottom: 1px solid var(--color-borde); opacity: 0; transform: translateX(-50px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--delay, 0s); }
.faq-item.visible { opacity: 1; transform: translateX(0); }
.faq-pregunta { background-color: var(--card-bg-light); font-family: "Fira Sans", sans-serif; border-radius: var(--border-radius); margin: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); border: none; cursor: pointer; padding: 20px; width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; font-weight: 500; color: var(--color-texto); transition: background-color 0.3s ease; }
.faq-pregunta:hover { background-color: var(--secondary-color); color: #fff; box-shadow: 0px 0px 30px #ffffff17; }
body.dark-mode .faq-pregunta:hover { background-color: var(--button-color-2); color: #fff; box-shadow: 0px 0px 30px #ffffff17; }
.faq-icono { font-size: 1rem; font-weight: bold; color: var(--button-color); transition: transform 0.3s ease; }
.faq-icono:hover { color: #fff; }
.faq-respuesta { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), padding 0.5s ease; padding: 0 20px; }
.faq-respuesta p { margin: 0; padding: 20px; }
.faq-item.active .faq-pregunta { font-weight: 700; color: var(--primary-color); }
body.dark-mode .faq-item.active .faq-pregunta { font-weight: 700; color: var(--text-light); }
.faq-item.active .faq-respuesta { max-height: 900px; transition: max-height 1s cubic-bezier(1, 0, 1, 0), padding 0.5s ease; }
.faq-item.active .faq-icono { transform: rotate(45deg); }

/* === ESTILOS PREMIOS ANTERIORES === */
.video-section { padding: 60px 20px; background-color: var(--background-light); text-align: center; }
.main-video-player { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 1000px; margin: 0 auto 30px auto; border-radius: var(--border-radius); box-shadow: 0 10px 30px var(--shadow-light); background-color: #000; }
.main-video-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-playlist-wrapper { max-width: 1000px; margin: 0 auto; }
.video-playlist { display: flex; overflow-x: auto; gap: 20px; padding: 10px; scrollbar-width: thin; scrollbar-color: var(--secondary-color) transparent; }
.video-playlist::-webkit-scrollbar { height: 8px; }
.video-playlist::-webkit-scrollbar-track { background: transparent; }
.video-playlist::-webkit-scrollbar-thumb { background-color: var(--secondary-color); border-radius: 10px; border: 3px solid transparent; }
.video-thumbnail { flex: 0 0 200px; position: relative; cursor: pointer; border-radius: 8px; overflow: hidden; border: 3px solid transparent; transition: border-color 0.3s ease, transform 0.3s ease; }
.video-thumbnail:hover { transform: scale(1.05); }
.video-thumbnail.active { border-color: var(--secondary-color); box-shadow: 0 0 15px var(--secondary-color); }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-title { position: absolute; bottom: 0; left: 0; width: 100%; padding: 8px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: var(--text-light); font-size: 0.9rem; text-align: left; transition: opacity 0.3s ease; }
.play-icon-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background-color: rgba(0, 0, 0, 0.5); border-radius: 50%; display: flex; justify-content: center; align-items: center; opacity: 0.8; transition: opacity 0.3s ease, transform 0.3s ease; }
.play-icon-overlay::after { content: '▶'; font-size: 20px; color: white; margin-left: 4px; }
.video-thumbnail:hover .play-icon-overlay { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }

/* === ESTILOS FORMULARIO === */
.container-inscripcion { width: 80%; text-align: center; margin: auto; }
.form-container { max-width: 800px; margin: 0 auto; text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-family: 'Fira Sans', sans-serif; font-weight: 600; color: var(--primary-color); }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--card-border-light); border-radius: 8px; }
.footer { background-color: var(--primary-color); color: var(--text-light); padding: 30px 0; text-align: center; border-radius: var(--border-radius) var(--border-radius) 0 0; }
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.8s ease-out; }
.reveal-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* === ESTILOS FOOTER === */
.site-footer-v2 { background-color: var(--primary-color); color: var(--text-light); padding: 40px 30px 20px 30px; font-family: 'Proxima Nova', sans-serif; border-radius: 16px 16px 0px 0px; }
body.dark-mode .site-footer-v2 { background-color: rgb(12, 48, 67); }
.footer-main { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.footer-title { font-family: 'League Spartan', sans-serif; font-size: 1.2rem; margin-bottom: 15px; color: var(--secondary-color); }
.footer-logo-main img { max-width: 180px; height: auto; }
.footer-social-icons { display: flex; gap: 15px; }
.footer-social-icons img { height: 24px; width: 24px; opacity: 0.8; transition: opacity 0.3s ease, transform 0.3s ease; }
.footer-social-icons a:hover img { opacity: 1; transform: scale(1.1); }
.footer-sponsors { display: flex; gap: 32px; align-items: center; }
.footer-sponsors img { max-height: 40px; width: auto; opacity: 0.9; }
.footer-contact-btn { display: inline-flex; align-items: center; gap: 8px; background-color: var(--button-color-2); color: var(--text-light); padding: 12px 22px; border-radius: 8px; text-decoration: none; font-family: "Fira Sans", sans-serif; font-weight: 600; transition: transform 0.3s ease, background-color 0.3s ease; }
.footer-contact-btn:hover { background-color: var(--secondary-color); transform: scale(1.05); }
.footer-sub { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding-top: 20px; font-size: 0.85rem; flex-direction: column; }
.copyright-text { margin: 4px; opacity: 0.7; }
.legal-links a { color: var(--text-light); text-decoration: none; margin-left: 20px; opacity: 0.8; transition: opacity 0.3s ease; }
.legal-links a:hover { opacity: 1; text-decoration: underline; }

/* === ESTILOS BOYTONES DE + === */
.fab-container { position: fixed; bottom: -11px; right: 30px; z-index: 1000; display: flex; flex-direction: column; align-items: center; transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease; pointer-events: none; }
.fab-container.active { pointer-events: auto; background-color: #ffffff20; backdrop-filter: blur(8px); padding: 10px; border-radius: 50px; }
.fab-menu { display: flex; flex-direction: column; gap: 15px; margin-bottom: 15px; opacity: 0; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease; }
.fab-toggler { width: 60px; height: 60px; border-radius: 16px 16px 0px 0px; border: none; cursor: pointer; background-color: var(--secondary-color); color: var(--text-light); display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); transition: transform 0.3s ease, background-color 0.3s ease; pointer-events: auto; }
.fab-toggler:hover { transform: scale(1.1); }
.fab-toggler .material-symbols-rounded { font-size: 32px; transition: transform 0.4s ease; }
.fab-container.active .fab-menu { opacity: 1; transform: translateY(0); }
/*.fab-container.active .fab-toggler { transform: rotate(45deg); }*/
.fab-insta { width: 50px; height: 50px; border-radius: 50%; cursor: pointer; background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 24px; border: 1px solid var(--card-border-light); display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background-color 0.3s, color 0.3s, transform 0.2s ease; text-decoration: none; backdrop-filter: blur(24px); }
.fab-insta:hover { transform: scale(1.1); background-color: var(--button-color); color: #0C3043; }
body.dark-mode .fab-insta:hover { color: #ffffff; }
.fab-face { width: 50px; height: 50px; border-radius: 50%; cursor: pointer; background-color: #0866fe00; color: #0865FE; font-size: 24px; border: 1px solid var(--card-border-light); display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background-color 0.3s, color 0.3s, transform 0.2s ease; text-decoration: none; backdrop-filter: blur(24px); }
.fab-face:hover { transform: scale(1.1); background-color: #ffffff00; color: #0C3043; }
body.dark-mode .fab-face:hover { color: #ffffff; }
.fab-in { width: 50px; height: 50px; border-radius: 50%; cursor: pointer; background-color: #0866fe00; color: #0e76a8; font-size: 24px; border: 1px solid var(--card-border-light); display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background-color 0.3s, color 0.3s, transform 0.2s ease; text-decoration: none; backdrop-filter: blur(24px); }
.fab-in:hover { transform: scale(1.1); background-color: #ffffff00; color: #0C3043; }
body.dark-mode .fab-in:hover { color: #ffffff; }
.fab-you { width: 50px; height: 50px; border-radius: 50%; cursor: pointer; background-color: #0866fe00; color: #c4302b; font-size: 24px; border: 1px solid var(--card-border-light); display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background-color 0.3s, color 0.3s, transform 0.2s ease; text-decoration: none; backdrop-filter: blur(24px); }
.fab-you:hover { transform: scale(1.1); background-color: #ffffff00; color: #0C3043; }
body.dark-mode .fab-you:hover { color: #ffffff; }
.fab-option svg { width: 24px; height: 24px; fill: currentColor; }
.fab-option-subscribe { width: 50px; height: 50px; border-radius: 50%; cursor: pointer; background-color: var(--button-color); color: #fff; border: 1px solid var(--card-border-light); display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background-color 0.3s, color 0.3s, transform 0.2s ease; text-decoration: none;  }
.fab-option-subscribe:hover { transform: scale(1.1); background-color: var(--contrast-color); color: var(--text-light); }
.day-mode { width: 50px; height: 50px; backdrop-filter: blur(4px); border-radius: 50%; cursor: pointer; background-color: var(--card-bg-light); color: var(--button-color); border: 1px solid var(--card-border-light); display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background-color 0.3s, color 0.3s, transform 0.2s ease; text-decoration: none; }
.day-mode:hover { transform: scale(1.1); background-color: var(--button-color); color: var(--text-light); }
.night-mode { width: 50px; height: 50px; backdrop-filter: blur(4px); border-radius: 50%; cursor: pointer; background-color: var(--card-bg-light); color: #4FA0CA; border: 1px solid var(--card-border-light); display: flex; justify-content: center; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: background-color 0.3s, color 0.3s, transform 0.2s ease; text-decoration: none; }
.night-mode:hover { transform: scale(1.1); background-color: #4FA0CA; color: var(--text-light); }

/* === ANIMACIONES BOTONES  === */
.btn { position: relative; overflow: hidden; }
:root { --button-bg: #DEA919; }
.btn::before, .btn::after { position: absolute; content: ''; display: block; width: 140%; height: 100%; left: -20%; z-index: 0; transition: all ease-in-out 0.5s; background-repeat: no-repeat; }
.btn::before { display: none; top: -75%; background-image: radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, transparent 20%, var(--button-bg) 20%, transparent 30%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, transparent 10%, var(--button-bg) 15%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%); background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%; }
.btn::after { display: none; bottom: -75%; background-image: radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, transparent 10%, var(--button-bg) 15%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%), radial-gradient(circle, var(--button-bg) 20%, transparent 20%); background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%; }
.btn.animate::before { display: block; animation: topBubbles ease-in-out 0.75s forwards; }
.btn.animate::after { display: block; animation: bottomBubbles ease-in-out 0.75s forwards; }
@keyframes topBubbles { 0% { background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%; } 50% { background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%; } 100% { background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%; background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; } }
@keyframes bottomBubbles { 0% { background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%; } 50% { background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%; } 100% { background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%; background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; } }

/* === ESTILOS RESPONSIVE  === */

@media (max-width: 1024px) {
    .hero-section { min-height: 72vh; }
    .main-content { margin-left: 0; padding-top: 82px; }
    .sidebar { height: 56px; margin: 13px; border-radius: 16px; overflow-y: hidden; scrollbar-width: none; width: calc(100% - 26px); max-height: calc(100vh - 26px); left: auto; top: auto; }
    .sidebar.menu-active { overflow-y: auto; }
    body.dark-mode .sidebar .sidebar-header { position: sticky; top: 0; z-index: 20; border-radius: 16px; background-color: #0c304391; backdrop-filter: blur(12px); padding: 8px 10px; }
    .sidebar-header .header-logo img { width: 40px; height: 40px; }
    .sidebar-header .sidebar-toggler, .sidebar.collapsed .sidebar-nav .nav-item:hover .nav-tooltip { display: none; }
    .sidebar-header .menu-toggler { display: flex; height: 30px; width: 30px; }
    .sidebar-header .menu-toggler span { font-size: 1.3rem; }
    .sidebar .sidebar-nav .nav-list { padding: 0 10px; }
    .sidebar-nav .nav-link { gap: 10px; padding: 10px; font-size: 0.94rem; }
    .sidebar-nav .nav-link .nav-icon { font-size: 1.37rem; }
    .sidebar.collapsed { width: calc(100% - 26px);  }
    .sidebar.collapsed .sidebar-nav .nav-link .nav-label { opacity: 1; pointer-events: auto; }
}

@media (max-width: 992px) {
    .hero-section { min-height: 72vh; }
    .hero-section .container { flex-direction: column; text-align: center; }
    .hero-text-container { margin-top: 30px; }
    .hero-section h2 { font-size: 2.5em; text-align: center; width: auto; height: auto; }
    .hero-logo-container { width: 250px; height: 250px; }
    .stats-container { grid-template-columns: 1fr; gap: 40px; }
    .stats-info { text-align: center; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .benefits-container { margin: 16px; }
    .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .stats-info p { font-size: 0.9rem;}
    .stat-card-description { font-size: 0.9rem;}
    .benefit-item p { font-size: 0.9rem;}
    .section-subtitle { font-size: 0.9rem;}
    .documento-descripcion { font-size: 0.9rem; text-align: center; line-height: 1.2;}
    .card h3 {font-size: 1.5em; margin-bottom: 15px; text-align: left; line-height: 1; }
    .seccion-retos h2 { font-size: 2.2rem; }
    .acordeon-header { font-size: 1.2rem; padding: 1.2rem 0.5rem; }
   .acordeon-contenido p { padding: 16px; margin: 0; text-align: left; font-size: 0.9em; line-height: 1.2; }
    p { font-size: 0.9em; font-family: "Fira Sans", sans-serif; text-align: left;}
    .info-topic p { font-size: 0.9rem; line-height: 1.2; text-align: center; }
    .hero-section { min-height: 72vh; }
    .content-container { padding: 16px; }
    .bubbly-button { font-size: 16px; padding: 12px 24px; }
    .section-title { font-size: 2.2em; }
    .hero-logo-container { width: 200px; height: 200px; }
    .hero-section h2 { font-size: 2em; }
    .hero-section h2 { font-size: 2em; max-width: 54%;text-align: left; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card-number { font-size: 1.2rem; }
    .benefits-container { padding: 40px 25px; margin: 16px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .benefits-title { font-size: 1rem; }
    .image-container img { display: none; }
    .content-container h3 { font-size: 1.2em;}
    .content-container p { font-size: 0.9rem; line-height: 1.2; margin-bottom: 24px; opacity: 0.9; text-align: left;}
    .bubbly-button { font-size: 0.9em; padding: 0.8em 1.5em; }
    .boton-accesibilidad { transform: scale(0.8); right: 10px; bottom: 10px; }
    .carousel-container { perspective: 32px; }
    .carousel-track { transform: scale(0.5); }
    .documento-card { max-width: 95%;}
    .documentos-seccion { margin: 16px;}
    body.dark-mode .documentos-seccion { margin: 16px;}
    .faq-seccion { margin: 20px auto; padding: 10px; }
    .faq-seccion h2 { font-size: 2rem; }
    .faq-pregunta { font-size: 1rem; padding: 15px; max-width: 95%; }
    .site-footer-v2 { padding: 80px 2px; }
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .footer-logo-main, .footer-social-icons, .footer-sponsors, .footer-column { justify-content: center; align-items: center; }
    .footer-sub { flex-direction: column; gap: 15px; }
    .legal-links a { margin: 0 10px; }
    .copyright-text { display: flex; flex-direction: column; margin: auto 0; } 

  }