:root {
    --azul: #0a2e4d;
    --verde: #2ecc71;
    --blanco: #ffffff;
    --gris: #f4f4f4;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; }
html { scroll-behavior: smooth; }
.container { width: 90%; max-width: 1100px; margin: auto; }

/* NAVBAR RESPONSIVA */
.navbar {
    background: var(--blanco);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img { height: 55px; }
.nav-menu { display: flex; list-style: none; align-items: center; }
.nav-menu li a {
    text-decoration: none;
    color: var(--azul);
    font-weight: bold;
    margin-left: 25px;
    transition: 0.3s;
}
.btn-nav {
    background: var(--verde);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}
.hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--azul);
    cursor: pointer;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(10,46,77,0.8), rgba(10,46,77,0.8)), url('img/hero-bg.jpg');
    background-size: cover; background-position: center;
    height: 60vh;
    display: flex; align-items: center; text-align: center; color: white;
}
.promo-box {
    background: var(--verde);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    margin: 20px 0;
    font-weight: bold;
}
.btn-main {
    display: inline-block;
    padding: 15px 35px;
    background: var(--blanco);
    color: var(--azul);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* CURSOS CON IMÁGENES */
.cursos { padding: 80px 0; background: var(--gris); }
.title { text-align: center; color: var(--azul); margin-bottom: 40px; font-size: 2.5rem; }
.sub-title { border-left: 5px solid var(--verde); padding-left: 15px; color: var(--azul); margin-bottom: 25px; }
.grid-cursos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }

.curso-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.img-wrapper { height: 200px; overflow: hidden; background: #ddd; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.curso-card:hover img { transform: scale(1.1); }
.info { padding: 20px; text-align: center; }
.univ { border-top: 5px solid var(--azul); }

/* BENEFICIOS */
.beneficios { padding: 60px 0; text-align: center; }
.beneficios-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.b-card { background: var(--azul); color: white; padding: 30px; border-radius: 10px; flex: 1; min-width: 280px; }
.b-card i { font-size: 40px; color: var(--verde); margin-bottom: 15px; }

footer { background: var(--azul); color: white; text-align: center; padding: 20px; }
.mt-50 { margin-top: 50px; }

/* MEDIA QUERIES PARA CELULARES */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--blanco);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    .nav-menu.show { left: 0; }
    .nav-menu li { margin: 15px 0; }
    .nav-menu li a { margin: 0; font-size: 1.2rem; }
    .hero h1 { font-size: 2rem; }
}

/* Nuevos Estilos para Rellenar Contenido */
.section-padding { padding: 100px 0; }
.bg-light { background: #f9f9f9; }
.text-center { text-align: center; }

/* Grid de 2 columnas */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.img-rounded { width: 100%; border-radius: 20px; box-shadow: 20px 20px 0 var(--verde); }

/* Listas */
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 15px; font-weight: bold; color: var(--azul); }
.check-list i { color: var(--verde); margin-right: 10px; }

/* Beneficios Dark */
.beneficios-dark { background: var(--azul); color: white; padding: 60px 0; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.b-item i { font-size: 3rem; color: var(--verde); margin-bottom: 15px; }

/* Pasos de Inscripción */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-top: 50px; }
.step-number { width: 60px; height: 60px; background: var(--verde); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; font-weight: bold; }

/* Llamado a la acción final */
.cta-final { background: linear-gradient(45deg, var(--azul), #1a4a75); color: white; text-align: center; padding: 80px 0; }
.cta-final h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* Etiquetas de kit */
.kit-tag { display: inline-block; background: #e8f5e9; color: #2e7d32; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; margin-top: 10px; }

/* Responsivo para el grid de 2 columnas */
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; text-align: center; }
    .img-rounded { box-shadow: 10px 10px 0 var(--verde); }
    .section-padding { padding: 60px 0; }
}