/* ============================================= */
/* ============= VARIABLES Y GLOBALES ========== */
/* ============================================= */
:root {
    --primary-blue: #0e2336; 
    --primary-yellow: #FFC107;
    --light-blue-bg: #f0f4f8; 
    --success-green: #28a745;
    --danger-yellow: var(--primary-yellow);
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --body-bg: #f8f9fa;
    --header-height: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { font-family: 'Poppins', sans-serif; background-color: var(--body-bg); color: var(--dark-text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 40px; }

/* CAMBIO: REGLAS DEL MENÚ SUPERIOR RESTAURADAS Y VERIFICADAS */
.header { 
    background-color: var(--primary-blue); 
    height: var(--header-height); 
    width: 100%; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1000; 
}
.nav { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.nav-logo img { height: 50px; display: block; }
.nav-list { display: flex; list-style: none; gap: 30px; }
.nav-link { 
    text-decoration: none; 
    color: var(--light-text); 
    font-weight: 500; 
    padding: 10px 0; 
    transition: color 0.3s; 
    position: relative; 
}
.nav-link::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background-color: var(--primary-yellow); 
    transition: width 0.3s; 
}
.nav-link:hover { color: var(--primary-yellow); }
.nav-link:hover::after { width: 100%; }
.dropdown { position: relative; }
.dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background-color: white; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    list-style: none; 
    padding: 10px 0; 
    border-radius: 8px; 
    min-width: 200px; 
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 10px 20px; text-decoration: none; color: var(--dark-text); }
.dropdown-menu li a:hover { background-color: var(--light-blue-bg); color: var(--primary-blue); }
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 25px; height: 3px; background-color: var(--light-text); }

/* SECCIÓN HERO (CARRUSEL) */
.hero-carousel { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.carousel-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1; }
.carousel-slide.active { opacity: 1; z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; color: var(--light-text); max-width: 800px; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; background-color: rgba(0,0,0,0.4); color: white; border: none; font-size: 2.5rem; padding: 10px 20px; cursor: pointer; transition: background-color 0.3s; }
.carousel-arrow:hover { background-color: rgba(0,0,0,0.7); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero-buttons { margin-top: 50px; }
.btn { text-decoration: none; font-weight: 700; transition: transform 0.3s, box-shadow 0.3s; border-radius: 50px; padding: 18px 35px; font-size: 1.1rem; }
.btn-primary { background-color: var(--primary-yellow); color: var(--dark-text); }
.btn-whatsapp { color: white; padding: 20px 45px; font-size: 1.2rem; transition: background-color 0.5s ease; }
.btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* SECCIÓN CURSOS */
.courses-section { padding: 80px 0; }
.courses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.course-card { background-color: white; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); text-decoration: none; color: var(--dark-text); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s; display: flex; flex-direction: column; align-items: center; padding: 30px 25px; min-height: 320px; justify-content: center; }
.course-card:hover { transform: scale(1.1) translateY(-12px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.course-card img { height: 180px; max-width: 90%; object-fit: contain; margin-bottom: 20px; }
.course-card h3 { text-align: center; font-size: 1.3rem; color: var(--primary-blue); }

/* SECCIÓN ESTADÍSTICAS */
.stats-section { padding: 80px 0; background-color: var(--light-blue-bg); }
.stats-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.stat-item { background-color: white; padding: 25px; border-radius: 10px; transition: transform 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.stat-header h3 { color: var(--primary-blue); font-size: 1.3rem; margin: 0; }
.stat-text { font-size: 1.1rem; text-align: left; margin-bottom: 20px; }
.stat-text span { font-size: 1.5rem; font-weight: 700; color: var(--primary-blue); display: block; }
.stat-switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.stat-switch input { opacity: 0; width: 0; height: 0; }
.stat-switch .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 34px; }
.stat-switch .slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.stat-switch input:checked + .slider { background-color: var(--success-green); }
.stat-switch input:checked + .slider:before { transform: translateX(24px); }
.progress-bar { width: 100%; background-color: #e9ecef; border-radius: 5px; height: 20px; overflow: hidden; }
.progress { height: 100%; width: 0; border-radius: 5px; transition: width 1.5s ease-out, background-color 0.4s; }
.progress.rejected { background-color: var(--danger-yellow); }
.progress.accepted { background-color: var(--success-green); }


/* ============================================= */
/* ============= SECCIÓN DE VIDEOS ============= */
/* ============================================= */

/* ----- REGLA GENERAL PARA EL CONTENEDOR ----- */
/* Esta regla se aplica a TODOS los video-wrapper */
.video-wrapper {
    max-width: 900px;
    width: 100%;
    margin: 0 auto; /* Centra el wrapper */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ----- REGLAS PARA HOMEPAGE (index.html) ----- */
.video-section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

/* El video del HOMEPAGE (playlist) necesita height: 100% */
.video-section .video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
}

/* ----- REGLAS PARA MICROSITIOS (unam.html, uv.html, etc.) ----- */
.video-section-single {
    padding: 80px 20px; /* Añadido padding horizontal */
    background-color: var(--light-blue-bg);
}

/* El video de MICROSITIOS (vertical/reel) necesita height: auto */
.video-section-single .video-wrapper video {
    width: 100%;
    height: auto; /* <-- La clave para videos verticales */
    display: block;
    object-fit: contain;
    max-height: 80vh; /* <-- Límite para que no sea gigante */
}
/* SECCIÓN UBICACIÓN */
.location-section { padding: 80px 0; background-color: var(--light-blue-bg); }
.location-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.location-content { 
    display: flex; 
    justify-content: center;
    align-items: center; 
    gap: 40px; 
    flex-wrap: wrap;
    width: 100%;
}
.map-wrapper { 
    flex: 1.5; 
    min-width: 300px; 
    max-width: 600px;
    border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
}
.map-wrapper iframe { width: 100%; height: 450px; display: block; }
.location-details {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.fachada-img { max-width: 100%; height: auto; border-radius: 8px; margin-bottom: 20px; }
.location-details p { font-size: 1.1rem; margin-bottom: 25px; color: var(--dark-text); }
.btn-how-to-get {
    display: inline-block;
    padding: 15px 30px; 
    background-color: var(--primary-blue);
    color: var(--light-text);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}
.btn-how-to-get:hover { background-color: #0b1a27; }
.btn-how-to-get .fas { margin-right: 8px; }

/* SECCIÓN CONTACTO */
.contact-section { padding: 80px 0; }
.contact-form { max-width: 700px; margin: 0 auto; background-color: white; padding: 40px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--primary-blue); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1rem; }
.contact-form button { width: 100%; border: none; cursor: pointer; }

/* CAMBIO: FOOTER DE 3 COLUMNAS CON FLEXBOX */
.footer { background-color: var(--primary-blue); color: white; padding: 60px 0 0 0; }
.footer-content { 
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px; 
    margin-bottom: 40px; 
    text-align: center;
}
.footer-column {
    flex: 1;
    min-width: 280px;
}
.footer-column h3 { color: white; margin-bottom: 20px; font-size: 1.5rem; border-bottom: 2px solid var(--primary-yellow); padding-bottom: 10px; display: inline-block; }
.footer-column p { 
    margin-bottom: 15px; 
    line-height: 1.8; 
    color: white !important; 
    gap: 12px;
}
.footer-column p span { 
    color: var(--primary-yellow); 
    margin-right: 8px;
}
.footer-column a { color: white !important; text-decoration: none !important; transition: color 0.3s; }
.footer-column a:hover { color: var(--primary-yellow) !important; }

.social-links { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.social-links a { 
    display: flex; align-items: center; justify-content: center; 
    width: 50px; height: 50px; 
    border: 2px solid var(--primary-yellow); 
    border-radius: 50%; 
    color: var(--primary-yellow); 
    font-size: 1.5rem; 
    text-decoration: none; 
    transition: background-color 0.3s, color 0.3s; 
}
.social-links a:hover { background-color: var(--primary-yellow); color: var(--primary-blue); }
.footer-bottom { background-color: rgba(0,0,0,0.2); text-align: center; padding: 20px 0; color: #ccc; }

/* RESPONSIVE */
@media (max-width: 992px) { 
    .courses-grid { grid-template-columns: repeat(2, 1fr); } 
    .location-content { flex-direction: column; align-items: center; }
    .map-wrapper, .location-details { max-width: 100%; }
}
@media (max-width: 768px) {
    .nav-list { display: none; } /* Oculta menú de escritorio en móvil */
    .nav-menu {
        display: none; /* Oculto por defecto */
        position: fixed; top: var(--header-height); right: -100%; width: 100%; height: calc(100vh - var(--header-height)); background-color: rgba(14, 35, 54, 0.98);
        transition: right 0.4s ease-in-out;
        padding-top: 40px;
     /* --- INICIO DE CORRECCIÓN DROPDOWN MÓVIL (ACORDEÓN) --- */

/* 1. Quitamos la lógica de :hover en táctil */
.dropdown:hover .dropdown-menu {
    display: none;
}

/* 2. El enlace "Cursos" ahora es clicable (eliminamos pointer-events: none) */
/* Le damos un cursor de puntero para que parezca clicable */
.nav-menu .dropdown > .nav-link {
    cursor: pointer; 
}

/* 3. Ocultamos el submenú por defecto */
.nav-menu .dropdown-menu {
    display: none; /* <--- CAMBIO IMPORTANTE: Oculto por defecto */
    position: static; /* Anulamos el 'position: absolute' */
    background-color: transparent;
    box-shadow: none;
    min-width: unset;
    padding: 0;
    margin-top: 10px; /* Espacio después de "Cursos" */
    margin-left: 25px; /* Indentación */
    border-radius: 0;
}

/* 4. Mostramos el submenú cuando el JS añada la clase */
.nav-menu .dropdown.submenu-active > .dropdown-menu {
    display: block; /* <--- Se muestra al hacer clic */
}

/* 5. Estilos para los enlaces del submenú */
.nav-menu .dropdown-menu li a {
    color: #ddd;
    padding: 8px 10px;
    text-align: center;
}
.nav-menu .dropdown-menu li a:hover {
    color: var(--primary-yellow);
    background-color: transparent;
}
/* Espacio entre botones del hero en móvil */
.hero-buttons .btn {
    /* Opcional: Centra los botones y dales un ancho fijo */
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 350px; /* Ajusta este ancho si lo deseas */
}

.hero-buttons .btn-primary {
    margin-bottom: 15px; /* <-- ¡Este es el espacio que pediste! */
}
/* --- FIN DE CORRECCIÓN --- */   
    }
    .nav-menu.active { display: block; right: 0; }
    .nav-menu .nav-list { display: flex; flex-direction: column; align-items: center; gap: 40px; }
    .nav-toggle { display: flex; }
    .courses-grid { grid-template-columns: 1fr; }
    .stats-list { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; }
}
/* ============================================= */
/* ============= VARIABLES Y GLOBALES ========== */
/* ============================================= */
:root {
    --primary-blue: #0e2336; 
    --primary-yellow: #FFC107;
    --light-blue-bg: #f0f4f8; 
    --success-green: #28a745;
    --danger-yellow: var(--primary-yellow);
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --body-bg: #f8f9fa;
    --header-height: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { font-family: 'Poppins', sans-serif; background-color: var(--body-bg); color: var(--dark-text); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 20px; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: #555; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto;}

/* ============================================= */
/* ==================== HEADER ================= */
/* ============================================= */
.header { 
    background-color: var(--primary-blue); 
    height: var(--header-height); 
    width: 100%; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1000; 
}
.nav { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.nav-logo img { height: 50px; display: block; }
.nav-list { display: flex; list-style: none; gap: 30px; }
.nav-link { 
    text-decoration: none; 
    color: var(--light-text); 
    font-weight: 500; 
    padding: 10px 0; 
    transition: color 0.3s; 
    position: relative; 
}
.nav-link::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background-color: var(--primary-yellow); 
    transition: width 0.3s; 
}
.nav-link:hover { color: var(--primary-yellow); }
.nav-link:hover::after { width: 100%; }
.dropdown { position: relative; }
.dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background-color: white; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    list-style: none; 
    padding: 10px 0; 
    border-radius: 8px; 
    min-width: 200px; 
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 10px 20px; text-decoration: none; color: var(--dark-text); }
.dropdown-menu li a:hover { background-color: var(--light-blue-bg); color: var(--primary-blue); }
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 25px; height: 3px; background-color: var(--light-text); }
.nav-menu { display: block; }

/* ============================================= */
/* =============== BOTONES GENERALES ============ */
/* ============================================= */
.btn { 
    text-decoration: none; 
    font-weight: 700; 
    transition: transform 0.3s, box-shadow 0.3s; 
    border-radius: 50px; 
    padding: 18px 35px; 
    font-size: 1.1rem; 
    display: inline-block; /* Asegura que padding y tamaño funcionen */
}
.btn-primary { 
    background-color: var(--primary-yellow); 
    color: var(--dark-text); 
}
.btn-primary:hover { 
    background-color: #e6b000; /* Un tono más oscuro de amarillo */
}
.btn-whatsapp { 
    background-color: #25D366; /* Color de WhatsApp */
    color: white; 
    padding: 20px 45px; 
    font-size: 1.2rem; 
    transition: background-color 0.5s ease; 
}
.btn-whatsapp:hover {
    background-color: #1DA851;
}
.btn:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

/* ============================================= */
/* ===== PÁGINA DE CURSOS ESPECIFICOS ====== */
/* ============================================= */

/* Hero Estático (encabezado principal con imagen de fondo) */
.hero-static {
    padding-top: var(--header-height); /* Para que no quede oculto por el header fijo */
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    position: relative;
    overflow: hidden; /* Asegura que la imagen no sobresalga */
}
.hero-static::before { /* Capa oscura para legibilidad */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 35, 54, 0.7); /* Opacidad para el texto */
    z-index: 1; /* Por encima de la imagen, debajo del contenido */
}
.hero-static .hero-content {
    position: relative;
    z-index: 2; /* Por encima de la capa oscura */
    max-width: 800px;
}
.hero-static h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Sombra para mejor legibilidad */
}
.hero-static p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
/* Imagen específica para la UV */
.hero-uv {
    background-image: url('../image/fondo1.png'); /* Ruta a tu imagen de fondo UV */
}

.hero-ipn { 
    background-image: url('../image//fondo2.png'); 
}

.hero-naval { 
    background-image: url('../image/fondo3.png'); 
}

.hero-buap { 
    background-image: url('../image/fondo4.png'); 
}

.hero-unam { 
    background-image: url('../image/fondo5.png'); 
}

.hero-cursos-en-linea { 
    background-image: url('../image/fondo6.png'); 
    
}
.hero-nautica { 
    background-image: url('../image/nauticafon.png'); 
    
}




/* Sección de Paquetes con Cajas Flotantes */
.packages-section {
    padding: 80px 0;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 3 columnas en escritorio, adaptable */
    gap: 30px;
    justify-content: center; /* Centrar las tarjetas si hay menos de 3 */
}
.package-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(14, 35, 54, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--primary-blue); /* Línea azul distintiva */
    height: 100%; /* Asegura que todas las tarjetas tengan la misma altura */
}
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(14, 35, 54, 0.15);
}
.package-card h4 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 20px;
    line-height: 1.3;
    flex-grow: 1; /* Permite que títulos de diferente largo se alineen */
}
.package-details-list { /* Usé una clase para evitar conflictos con otras listas */
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1; /* Empuja el botón hacia abajo si el contenido varía */
}
.package-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #333;
}
.package-details-list li span {
    font-size: 1.2rem;
    color: var(--primary-blue); /* Iconos de color azul */
}
.package-btn {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: auto; /* Empuja el botón al final de la tarjeta */
}


/* Sección "El Curso Incluye" */
.course-includes {
    margin-top: 80px;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(14, 35, 54, 0.1);
}
.course-includes .section-title {
    margin-bottom: 40px;
}
.includes-grid { /* Reutilizo esta clase para el grid de includes */
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.includes-grid li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    background-color: var(--light-blue-bg); /* Fondo sutil para cada ítem */
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.includes-grid li span {
    font-size: 1.8rem;
    color: var(--primary-yellow); /* Iconos en amarillo */
}


/* Sección de Instalaciones y Contacto */
.location-info {
    margin-top: 80px;
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(14, 35, 54, 0.1);
}
.location-info h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}
.location-info p {
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.7;
}
.location-info strong {
    color: var(--primary-blue); /* Texto fuerte en azul */
}
.location-info a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}
.location-info a:hover {
    color: var(--primary-yellow);
    text-decoration: underline;
}


/* ============================================= */
/* =================== FOOTER ================== */
/* ============================================= */
.footer { background-color: var(--primary-blue); color: white; padding: 60px 0 0 0; }
.footer-content { 
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px; 
    margin-bottom: 40px; 
    text-align: center;
}
.footer-column {
    flex: 1;
    min-width: 280px;
}
.footer-column h3 { color: white; margin-bottom: 20px; font-size: 1.5rem; border-bottom: 2px solid var(--primary-yellow); padding-bottom: 10px; display: inline-block; }
.footer-column p { 
    margin-bottom: 15px; 
    line-height: 1.8; 
    color: white !important; 
    gap: 12px;
}
.footer-column p span { 
    color: var(--primary-yellow); 
    margin-right: 8px;
}
.footer-column a { color: white !important; text-decoration: none !important; transition: color 0.3s; }
.footer-column a:hover { color: var(--primary-yellow) !important; }

.social-links { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.social-links a { 
    display: flex; align-items: center; justify-content: center; 
    width: 50px; height: 50px; 
    border: 2px solid var(--primary-yellow); 
    border-radius: 50%; 
    color: var(--primary-yellow); 
    font-size: 1.5rem; 
    text-decoration: none; 
    transition: background-color 0.3s, color 0.3s; 
}
.social-links a:hover { background-color: var(--primary-yellow); color: var(--primary-blue); }
.footer-bottom { background-color: rgba(0,0,0,0.2); text-align: center; padding: 20px 0; color: #ccc; }
.credito { margin-top: 10px; font-size: 0.9rem; }
.credito a { color: white !important; text-decoration: underline !important; }
.credito a:hover { color: var(--primary-yellow) !important; }

/* ============================================= */
/* ================= RESPONSIVE ================ */
/* ============================================= */
@media (max-width: 992px) { 
    .nav-list { gap: 20px; }
    .hero-static h1 { font-size: 2.8rem; }
    .packages-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .footer-content { gap: 30px; }
}
@media (max-width: 768px) {
    .nav-list { display: none; }
    .nav-menu {
        display: none;
        position: fixed; top: var(--header-height); right: -100%; width: 100%; height: calc(100vh - var(--header-height)); background-color: rgba(14, 35, 54, 0.98);
        transition: right 0.4s ease-in-out;
        padding-top: 40px;
        /* Espacio entre botones del hero en móvil */
.hero-buttons .btn {
    /* Opcional: Centra los botones y dales un ancho fijo */
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 350px; /* Ajusta este ancho si lo deseas */
}

.hero-buttons .btn-primary {
    margin-bottom: 15px; /* <-- ¡Este es el espacio que pediste! */
}
    }
    .nav-menu.active { display: block; right: 0; }
    .nav-menu .nav-list { display: flex; flex-direction: column; align-items: center; gap: 40px; }
    .nav-toggle { display: flex; }

    .hero-static {
        height: 50vh;
        min-height: 350px;
    }
    .hero-static h1 {
        font-size: 2.2rem;
    }
    .hero-static p {
        font-size: 1rem;
    }
    .video-section-single .video-wrapper {
        min-height: 250px;
    }
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 30px; }
    .packages-grid { grid-template-columns: 1fr; } /* Una sola columna en móviles */
    .course-includes ul { grid-template-columns: 1fr; }
    .location-info p { font-size: 1rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-column { min-width: unset; width: 100%; }
    .footer-column h3 { margin: 20px auto; }
}