/*------------------------------------*\
  #VARIABLES & RESET (PALETA DEL LOGO)
\*------------------------------------*/
:root {
    /* Paleta Principal del Logo */
    --color-bg-dark: #1E1E24;        /* Fondo oscuro del logo */
    --color-blue-medium: #4E8AB0;     /* Azul medio del logo (Primario) - Oscurecido para mejor contraste */
    --color-blue-light: #A8D5EF;      /* Azul claro del logo (Secundario/Acento) */
    --color-grey-neutral: #6D747F;    /* Gris del logo - Oscurecido para mejor contraste */
    --color-white-pure: #FFFFFF;      /* Blanco puro */
    --color-text-on-dark: #FFFFFF;    /* Texto claro para fondos oscuros (cambiado a blanco puro) */
    --color-text-on-light: #1A1A1F;   /* Texto oscuro para fondos claros (más oscuro) */

    /* Asignaciones Semánticas */
    --primary-color: var(--color-blue-medium);
    --secondary-color: var(--color-blue-light);
    --accent-color: var(--color-grey-neutral);
    --text-color: var(--color-text-on-light);
    --light-text: var(--color-text-on-dark);
    --bg-light: var(--color-white-pure);
    --bg-alt: #f7f8fa;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    --transition: all 0.3s ease;
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); text-align: center; margin-bottom: 2.5rem;}
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); color: var(--primary-color); margin-bottom: 0.5rem; }

/* Text elements */
p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

p strong {
    color: var(--text-color);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/*------------------------------------*\
  #NAVBAR
\*------------------------------------*/
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white-pure);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-bg-dark);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-link {
    display: block;
    color: var(--color-text-on-light);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.nav-link.active {
    color: var(--primary-color);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 1.2rem;
    right: 1.2rem;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-bg-dark);
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/*------------------------------------*\
  #SECCIONES Y LAYOUT
\*------------------------------------*/
.content-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.alt-bg { background-color: var(--bg-alt); }

.section-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: block;
    text-align: center;
}

/*------------------------------------*\
  #HERO SECTION
\*------------------------------------*/
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-blue-medium), var(--color-bg-dark));
    color: var(--light-text);
    margin-top: 0;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiPjwvcmVjdD4KPC9zdmc+');
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1,
.hero-section h2,
.hero-section .subtitle,
.cta-final h2 {
    color: var(--color-white-pure);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.highlight {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.detail-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.detail-item i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/*------------------------------------*\
  #BOTÓN CTA
\*------------------------------------*/
.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--color-bg-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 157, 193, 0.4);
    background-color: var(--primary-color);
    color: var(--light-text);
}

.cta-button.large {
    font-size: 1.2rem;
    padding: 1.25rem 2.5rem;
}

/*------------------------------------*\
  #BENEFITS (GRID)
\*------------------------------------*/
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.benefit-item {
    background-color: var(--color-white-pure);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.benefit-item h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--color-bg-dark);
    font-weight: 600;
}

/*------------------------------------*\
  #AGENDA LIST
\*------------------------------------*/
.agenda-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    list-style: none;
}

.agenda-list li {
    background-color: var(--color-white-pure);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.agenda-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-left: 3px solid var(--primary-color);
}

.agenda-list li strong {
    color: var(--primary-color);
    font-weight: 700;
}

/*------------------------------------*\
  #LOGOS & MAPA
\*------------------------------------*/
.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.partner-logo {
    height: 80px;
    object-fit: contain;
    filter: grayscale(0.5);
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

.map-placeholder {
    margin-top: var(--spacing-md);
    height: 300px;
    background-color: #e9ecef;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--accent-color);
    color: var(--accent-color);
}

/*------------------------------------*\
  #POST EVENTO & CONTACTO
\*------------------------------------*/
.post-event-list {
    max-width: 800px;
    margin: var(--spacing-md) auto;
    list-style: none;
}

.post-event-list li {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* CTA Final Section */
.cta-final {
    background: linear-gradient(135deg, var(--color-blue-medium), var(--color-bg-dark));
    color: var(--light-text);
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* Contact Section */
#contacto h2 { color: var(--primary-color); }
#contacto p { color: var(--text-color); }
#contacto a { color: var(--primary-color); }
#contacto a:hover { color: var(--color-bg-dark); }

.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: var(--spacing-sm);
}
.social-media p {
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}
.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    transition: var(--transition);
}
.social-media a:hover {
    transform: translateY(-3px);
    background-color: var(--color-bg-dark);
}
.social-media span {
    margin-left: 5px;
    color: var(--text-color);
    font-size: 0.9em;
}

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/
footer {
    background-color: var(--color-bg-dark);
    color: var(--color-white-pure);
    padding-top: var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

.footer-logo p {
    color: var(--color-white-pure);
    opacity: 0.9;
}

.footer-links h4, 
.footer-contact h4 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
    color: var(--color-white-pure);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-white-pure);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: var(--spacing-xs);
    color: var(--color-white-pure);
}

.footer-contact i {
    margin-right: 8px;
    color: var(--color-white-pure);
}

.footer-contact .social-media a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white-pure);
    transition: all 0.3s ease;
}

.footer-contact .social-media a:hover {
    background-color: var(--secondary-color);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--color-white-pure);
}

.copyright p, 
.copyright p a {
    color: var(--color-white-pure);
    margin: 0;
}

.copyright p a {
    text-decoration: underline;
}

.copyright p a:hover {
    color: var(--secondary-color);
}

/*------------------------------------*\
  #ANIMACIONES SCROLL
\*------------------------------------*/
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.fade-in { transform: translateY(20px); }
.animate-on-scroll.fade-in-up { transform: translateY(30px); }
.animate-on-scroll.fade-in-down { transform: translateY(-30px); }
.animate-on-scroll.slide-in-left { transform: translateX(-50px); }
.animate-on-scroll.slide-in-right { transform: translateX(50px); }
.animate-on-scroll.zoom-in { transform: scale(0.9); }

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-20px);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/*------------------------------------*\
  #CONTADOR REGRESIVO
\*------------------------------------*/
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    min-width: 80px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-label {
    font-size: 0.875rem;
    color: #ffffff;
    margin-top: 5px;
    font-weight: 500;
}

/*------------------------------------*\
  #BOTÓN VOLVER ARRIBA
\*------------------------------------*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/*------------------------------------*\
  #SECCIÓN FAQ
\*------------------------------------*/
.faq-container {
    margin: 40px auto;
    max-width: 800px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background-color: #f8f9fa;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
}

.faq-question.active {
    background-color: var(--primary-color);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.faq-question.active::after {
    content: '\f068';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
    border: 1px solid #e0e0e0;
}

.faq-answer p {
    padding: 0;
    margin: 20px 0;
}

/*------------------------------------*\
  #ACCESIBILIDAD
\*------------------------------------*/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 1500;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}

/* Mejoras de focus para accesibilidad */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.nav-link:focus,
.logo:focus,
.cta-button:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/*------------------------------------*\
  #MODAL DE PRESENTACIÓN
\*------------------------------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: var(--bg-light);
    margin: 3% auto;
    width: 90%;
    max-width: 1000px;
    height: 80%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.presentation {
    flex: 1;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-light);
}

.presentation .slide {
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    overflow-y: auto;
    background-color: var(--bg-light);
    padding: 5%;
}

.presentation .slide.active {
    display: block;
}

.slide-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    color: var(--text-color);
    height: 100%;
}

.slide-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.slide-title.highlight-title {
    color: white;
    background-color: var(--primary-color);
    padding: 20px;
    font-weight: 800;
    font-size: 2.2rem;
    border-radius: 8px;
}

.slide-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-bg-dark);
    font-weight: 600;
}

.slide-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 30px auto;
}

.slide-text-large {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.slide-text.highlight-box {
    background-color: #f8f9fa;
    border: 2px solid var(--primary-color);
    padding: 25px;
    font-weight: 500;
    max-width: 90%;
    border-radius: 8px;
}

.badge-container {
    margin: 2rem 0;
}

.badge {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 0 10px;
    font-size: 1.2rem;
}

.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.icon-item {
    text-align: center;
    width: 200px;
}

.icon-circle {
    background-color: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    font-size: 2rem;
}

.icon-item p {
    color: var(--text-color);
    font-size: 1.2rem;
}

.impact-list {
    color: var(--text-color);
    font-size: 1.3rem;
    text-align: left;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.impact-list li {
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

.impact-list li strong {
    color: var(--primary-color);
}

.cta-buttons {
    margin-top: 2rem;
}

.slide-btn {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 10px;
    display: inline-block;
}

.slide-btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.slide-btn.outline {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.presentation-controls {
    background-color: #f8f9fa;
    padding: 15px;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 10px 10px;
}

.presentation-controls .nav-btn,
.presentation-controls .fullscreen-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
}

.slide-indicator {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Botones de navegación dentro de la presentación */
.nav-btn-fs {
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    font-size: 2rem;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn-fs.prev {
    left: 20px;
}

.nav-btn-fs.next {
    right: 20px;
}

/* Botón para lanzar la presentación */
.presentation-container {
    display: flex;
    justify-content: center;
    margin: 30px auto;
    width: 100%;
}

.presentation-btn {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(78, 138, 176, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.presentation-btn:hover {
    background-color: #3a7093;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(78, 138, 176, 0.4);
}

.presentation-btn i {
    font-size: 1.4rem;
}

/* Mejoras para centrado en pantalla completa */
.presentation:-webkit-full-screen,
.presentation:-moz-full-screen,
.presentation:-ms-fullscreen,
.presentation:fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: white;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.presentation:-webkit-full-screen .slide,
.presentation:-moz-full-screen .slide,
.presentation:-ms-fullscreen .slide,
.presentation:fullscreen .slide {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin: 0;
    overflow-y: auto;
}

.presentation:-webkit-full-screen .slide-content,
.presentation:-moz-full-screen .slide-content,
.presentation:-ms-fullscreen .slide-content,
.presentation:fullscreen .slide-content {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Make fullscreen navigation buttons more visible */
.presentation:fullscreen .nav-btn-fs {
    opacity: 0.2;
    transition: opacity 0.3s ease;
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
}

.presentation:fullscreen .nav-btn-fs:hover {
    opacity: 1;
}

/* Preloader para la presentación */
.preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 150;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(78, 138, 176, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader-text {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 150;
}

/*------------------------------------*\
  #MEDIA QUERIES
\*------------------------------------*/
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.7rem;
    }

    .content-section {
        padding: var(--spacing-lg) 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    h2 { font-size: clamp(1.6rem, 5vw, 2rem); margin-bottom: 2rem; }
    .content-section { padding: 60px 0; }
    .hero-section { min-height: 80vh; }
    .event-details { gap: 10px 15px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .agenda-list { padding-left: 20px; }
    .partner-logo { max-height: 50px; }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background-color: var(--color-white-pure);
        padding-top: 80px;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 90;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 0.75rem 2rem;
        display: inline-block;
        width: auto;
    }
    
    .nav-link.active::after {
        bottom: -5px;
        left: 50%;
        right: auto;
        width: 30px;
        transform: translateX(-50%);
    }

    .event-details {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 90%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .detail-item {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem 1.5rem;
    }

    .footer-contact i {
        width: 20px;
        text-align: center;
    }

    .countdown-container {
        gap: 10px;
    }
   
    .countdown-item {
        min-width: 60px;
        padding: 10px;
    }

    .countdown-item span:first-child {
        font-size: 1.8rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    body { font-size: 15px; }
    .hero-section { min-height: 70vh; }
    .hero-content .subtitle { font-size: 1rem; }
    .event-details { flex-direction: column; align-items: center; gap: 8px; }
    .cta-button { padding: 12px 30px; font-size: 0.9rem; }
    .cta-button.large { padding: 14px 35px; font-size: 1rem; }
    .benefit-item { padding: 20px; }
    .logos-container { gap: 20px; }
    .social-media a { font-size: 1.1rem; width: 36px; height: 36px; }

    .hero-section h1 {
        font-size: clamp(1.7rem, 8vw, 2rem);
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 6vw, 1.3rem);
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .cta-button {
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .section-icon {
        font-size: 2.2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .agenda-list li, .post-event-list li {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    
    .container {
        width: 95%;
    }
    
    .detail-item {
        padding: 0.6rem 1.2rem;
    }
    
    .detail-item i {
        font-size: 1rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .presentation:fullscreen .slide-content {
        max-width: 1400px;
    }
}

/* Optimizaciones para motor de renderizado */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}