/* --- 1. CONFIGURACIÓN, VARIABLES Y RESET --- */
:root {
    --primary-dark:  #61784A;   
    --accent-green: #61784A;     
    --soft-green: #b5c99a;       
    --bg-light: #f9fbf7;         
    --white: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    
    /* Variables de Estilo Unificado */
    --primary: #608052;        /* Verde Habitus */
    --accent: #7ca36b;         /* Verde Acento */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
}

/* --- 2. NAVEGACIÓN Y HERO (ESTILO EXACTO CONÓCENOS) --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100px;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.281)), 
                url('../img/descarga (6).jfif') center/cover no-repeat;
    padding: 0 8%;
    display: flex;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    z-index: 10;
}

.logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px; /* SEPARACIÓN EXACTA */
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.0rem;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.95;
}

/* Botones de icono con efecto cristal */
.nav-icon-btn, .back-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white) !important;
    border-radius: 15px; 
    font-size: 1.6rem !important;
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-icon-btn:hover, .back-arrow:hover {
    background: var(--primary);
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* --- 3. SECCIONES DE TÍTULOS --- */
.courses-section {
    padding: 60px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--soft-green);
    margin: 20px auto;
}

/* --- 4. BANNERS DE CURSOS --- */
.special-program-banner {
    background-size: cover;
    background-position: center;
    padding: 100px 40px; 
    border-radius: 40px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 40px;
}

.special-program-banner:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.banner-diplomado {
    background: linear-gradient(rgba(96, 128, 82, 0.8), rgba(96, 128, 82, 0.8)),  
                url('../img/diplomado-en-arquitectura-conciencia-corporal.jpg'); 
    border-radius: 30px; overflow: hidden; padding: 60px 40px;
}

.banner-dolor {
    background: linear-gradient(rgba(96, 128, 82, 0.705), rgba(96, 128, 82, 0.8)), 
                url('..//img/nuevas/WhatsApp Image 2025-12-29 at 12.04.35 PM.jpeg'); 
    border-radius: 30px; overflow: hidden; padding: 60px 40px;
}

.banner-empresas {
    background: linear-gradient(rgba(96, 128, 82, 0.8), rgba(96, 128, 82, 0.8)), 
                url('../img/empresa.jpg'); 
    border-radius: 30px; overflow: hidden; padding: 60px 40px;
}

.banner-online {
    background: linear-gradient(rgba(45, 74, 34, 0.473), rgba(96, 128, 82, 0.85)), 
                url('../img/nuevas/SDA.jpg') center/cover;
    border-radius: 30px; overflow: hidden; padding: 60px 40px;
}

.program-text h3 {
    font-size: 2.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.program-text p {
    max-width: 750px;
    margin: 0 auto 35px;
    font-size: 1.2rem;
    opacity: 0.95;
}

/* --- 5. BOTONES PREMIUM --- */
.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-dark);
    padding: 16px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

/* --- 6. FOOTER --- */
.site-footer {
    position: relative;
    background: linear-gradient(rgba(45, 74, 34, 0), rgba(45, 74, 34, 0.493)), 
                url('../img/descarga (6).jfif') center/cover no-repeat;
    color: var(--white);
    padding: 70px 8% 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    font-size: 2rem;
    transition: var(--transition);
    opacity: 0.8;
}

.social-icons a:hover { 
    color: var(--soft-green);
    opacity: 1;
    transform: translateY(-3px);
}

/* --- 7. RESPONSIVO (MEJORADO PARA IGUALAR A CONÓCENOS) --- */
@media (max-width: 1024px) {
    .section-title h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    /* Aquí forzamos que el navbar se comporte exactamente como en el código de Conocenos */
    .navbar { 
        flex-direction: column; 
        gap: 20px; 
        padding: 30px 0;
    }
    
    .logo img {
        height: 80px; /* Mantiene el tamaño para no desentonar */
    }

    .nav-links { 
        gap: 35px; /* Mantiene la separación de iconos solicitada */
        justify-content: center;
        width: 100%;
    }

    .nav-icon-btn, .back-arrow { 
        width: 42px; /* Mantenemos tamaño de botón en móvil */
        height: 42px; 
        font-size: 1.4rem !important; 
    }

    .footer-container { flex-direction: column; text-align: center; }
    .program-text h3 { font-size: 1.8rem; }
}