/* CONFIGURACIÓN GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    padding-bottom: 80px; /* Espacio para el menú inferior fijo */
}

/* NAVBAR */
.navbar {
    background-color: #030b1e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 2px solid #bfa15f;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
}

.logo img {
    height: 40px;
}

.nav-menu a {
    color: #a0a5b0;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #bfa15f;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(3, 11, 30, 0.85), rgba(3, 11, 30, 0.85)), url('hero-bg.jpg') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.hero-title-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.hero-icon {
    color: #ffffff;
    font-size: 1.5rem;
}

.hero h1 {
    color: #d1b46a;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-style: italic;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 15px auto;
    font-weight: 300;
}

/* CONTENEDOR PRINCIPAL */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* SECCIONES FLUIDAS (GRID) */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse .text-block {
    direction: ltr;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.icon-circle {
    background-color: #c9a44e;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.text-block h2 {
    color: #030b1e;
    font-size: 1.6rem;
    font-weight: 700;
}

.text-block p {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: justify;
}

.image-block img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    height: 280px;
}

/* BANNER COMPROMISO */
.commitment-banner {
    background: linear-gradient(rgba(3, 11, 30, 0.9), rgba(3, 11, 30, 0.9)), url('compromiso-bg.jpg') no-repeat center center/cover;
    border-radius: 6px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    color: #ffffff;
}

.commitment-icon {
    background-color: #c9a44e;
    padding: 20px;
    border-radius: 8px;
    font-size: 2rem;
    color: #030b1e;
}

.commitment-text h3 {
    color: #c9a44e;
    margin-bottom: 10px;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.commitment-text p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #e0e0e0;
}

/* MISIÓN Y VISIÓN */
.mv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background-color: #f8f9fa;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 30px;
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mv-icon {
    color: #030b1e;
    font-size: 1.5rem;
}

.mv-card h3 {
    color: #030b1e;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.mv-card p {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
}

/* ¿QUÉ NOS DIFERENCIA? */
.difference-banner {
    background-color: #030b1e;
    border-radius: 6px;
    display: flex;
    overflow: hidden;
    border: 1px solid #c9a44e;
}

.diff-content {
    padding: 35px;
    flex: 1;
}

.diff-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.diff-icon {
    background-color: #c9a44e;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #030b1e;
}

.diff-content h3 {
    color: #c9a44e;
    font-size: 1.3rem;
}

.diff-content p {
    color: #ffffff;
    line-height: 1.6;
    font-size: 0.95rem;
}

.diff-image {
    width: 30%;
    min-width: 200px;
}

.diff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECCIÓN DE CITA */
.quote-section {
    text-align: center;
    padding: 20px 0;
}

.quote-text {
    color: #111111;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.quote-sub-icon {
    margin-top: 10px;
    font-size: 0.8rem;
}

/* FOOTER INFERIOR FIJO */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

.btn {
    text-align: center;
    padding: 18px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-courses {
    background-color: #030b1e;
    color: #ffffff;
    border-top: 2px solid #c9a44e;
}

.btn-courses:hover {
    background-color: #0a1733;
}

.btn-register {
    background-color: #f2bd41;
    color: #030b1e;
    border-top: 2px solid #f2bd41;
}

.btn-register:hover {
    background-color: #dfaa30;
}

/* RESPONSIVO PARA MÓVILES */
@media (max-width: 768px) {
    .section-grid, .section-grid.reverse, .mv-container, .difference-banner {
        grid-template-columns: 1fr;
        direction: ltr !important;
        flex-direction: column;
    }
    .text-block {
        direction: ltr !important;
    }
    .diff-image {
        width: 100%;
        height: 200px;
    }
    .commitment-banner {
        flex-direction: column;
        text-align: center;
    }
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu a {
        margin: 0 10px;
    }
}
