/* --- 1. CONFIGURACIÓN Y VARIABLES (TUS ORIGINALES) --- */
:root {
    --primary-dark:  #608052;   
    --accent-green: #7ca36b;     
    --soft-green: #b5c99a;       
    --bg-light: #f9fbf7;         
    --white: #ffffff;
    --text-main: #333333;
    --text-light: #666666;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 2. HEADER NAV (ACTUALIZADO A ESTILO APP) --- */
.hero-conocenos {
    width: 100%; 
    min-height: 120px; 
    background: linear-gradient(to right, rgba(0, 0, 0, 0.26) 0%, transparent 100%), 
                url('../img/descarga (6).jfif') center/cover; 
    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 SOLICITADA */
    align-items: center;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--white); 
    font-weight: 500; 
    transition: var(--transition); 
}

/* Diseño de botones de icono estilo App 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); /* Fondo traslúcido */
    color: var(--white) !important;
    border-radius: 15px; 
    font-size: 1.6rem !important;
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(8px); /* Efecto cristal */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-icon-btn:hover, .back-arrow:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* --- 3. SECCIONES GENERALES (TU DISEÑO ORIGINAL) --- */
.about-us-section { 
    padding: 40px 8%; 
}

.bg-soft-section { 
    background-color: var(--bg-light); 
    padding: 40px 8%; 
}

.about-intro { 
    text-align: center; 
    margin-bottom: 30px; 
}

.about-intro h4 {
    color: var(--accent-green);
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-intro h2 { 
    font-size: clamp(2.2rem, 5vw, 3rem); 
    color: var(--primary-dark); 
    font-weight: 700; 
    line-height: 1.2;
}

.subtitle { 
    color: var(--text-light); 
    font-style: italic; 
    margin-top: 5px;
}

.divider { 
    width: 60px; 
    height: 3px; 
    background: var(--soft-green); 
    margin: 10px auto; 
}

/* --- 4. TARJETA DE INFORMACIÓN (TU DISEÑO ORIGINAL) --- */
.info-card-container {
    background: var(--white);
    border-radius: 30px;
    padding: 50px; 
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(181, 201, 154, 0.3);
    max-width: 1250px; 
    margin: 0 auto;
    transition: var(--transition);
}

.info-card-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.1);
}

.about-content { 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 50px; 
    align-items: center; 
}

.about-image img { 
    width: 100%; 
    height: auto;
    max-height: 500px; 
    object-fit: cover;
    border-radius: 25px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
}

.tag-new {
    background: var(--bg-light);
    color: var(--primary-dark);
    display: inline-block;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid var(--soft-green);
}

.info-general-list { 
    list-style: none; 
    margin: 15px 0; 
}

.info-general-list li strong {
    margin-right: 8px; 
    display: inline-flex;
    align-items: center;
}

.info-general-list i { 
    color: var(--accent-green); 
    margin-right: 15px; 
    font-size: 1.5rem; 
}

.card-description {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 20px;
    border-left: 5px solid var(--accent-green);
}

/* --- 5. GRID DE OBJETIVOS (TU DISEÑO ORIGINAL) --- */
.section-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto;
    align-items: stretch;
}

.grid-item {
    background: var(--white);
    padding: 30px; 
    border-radius: 25px;
    border: 1px solid rgba(181, 201, 154, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.grid-item h3 { 
    color: var(--primary-dark); 
    margin-bottom: 15px; 
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.grid-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--soft-green);
    border-radius: 2px;
}

.grid-item p {
    margin-bottom: 10px;
    color: var(--text-main);
}

.check-list { 
    list-style: none; 
    margin-top: 10px;
}

.check-list li { 
    margin-bottom: 10px; 
    position: relative; 
    padding-left: 35px;
    font-size: 1.05rem;
}

.check-list li::before { 
    content: '✓'; 
    color: var(--accent-green); 
    position: absolute; 
    left: 0; 
    font-weight: bold;
    font-size: 1.2rem;
}

/* --- 6. CALENDARIO (TU DISEÑO ORIGINAL) --- */
.horarios-box { 
    background: var(--primary-dark); 
    color: white; 
    padding: 20px; 
    border-radius: 20px; 
    margin-bottom: 30px; 
    display: flex; 
    justify-content: center; 
    gap: 40px;
    box-shadow: 0 10px 20px rgba(96, 128, 82, 0.2);
}

.calendar-grid-visual { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 20px; 
}

.month-card { 
    background: var(--white); 
    border: 1px solid #e0e6d9; 
    border-radius: 25px; 
    padding: 25px 15px; 
    text-align: center; 
    transition: var(--transition); 
}

.month-card:hover { 
    border-color: var(--accent-green); 
    transform: translateY(-8px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.08); 
}

.days-circle {
    width: 70px; 
    height: 70px; 
    background: var(--bg-light); 
    color: var(--primary-dark);
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: 700; 
    font-size: 1.2rem; 
    margin: 15px auto; 
    border: 2px solid var(--soft-green);
}

.graduation-card { 
    background: var(--primary-dark); 
    color: white; 
    border-color: var(--primary-dark); 
}

.graduation-card .month-name, 
.graduation-card .module-tag { 
    color: white; 
}

.graduation-card .days-circle { 
    background: white; 
    color: var(--primary-dark); 
}

/* --- 7. GALERÍA (TU DISEÑO ORIGINAL) --- */
.gallery-4x3 { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.gallery-4x3 img { 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    border-radius: 15px; 
    transition: var(--transition);
}

.gallery-4x3 img:hover { 
    transform: scale(1.06); 
    z-index: 2; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
}

/* --- 8. SECCIÓN INSCRIPCIÓN (TU DISEÑO ORIGINAL) --- */
.inscripcion-flex-container {
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 60px 8%; 
    gap: 60px; 
    max-width: 1200px; 
    margin: 0 auto;
}

.inscripcion-btn-side { flex: 1; text-align: right; }
.inscripcion-info-side { 
    flex: 1; 
    text-align: left; 
    border-left: 3px solid var(--soft-green); 
    padding-left: 40px; 
}

.inscripcion-info-side h3 { 
    color: var(--primary-dark); 
    font-size: 2.2rem; 
    margin-bottom: 5px; 
}

.btn-primary-big { 
    background: var(--primary-dark); 
    color: white; 
    padding: 20px 45px; 
    border-radius: 60px; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 1.1rem;
    display: inline-block; 
    transition: var(--transition);
}

.btn-primary-big:hover { 
    background: var(--accent-green); 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); 
}

.nota { display: block; margin-top: 5px; color: var(--text-light); font-size: 0.9rem; }

/* --- 9. FOOTER (TU DISEÑO ORIGINAL) --- */
.site-footer {
    position: relative;
    background: linear-gradient(rgba(45, 74, 34, 0), rgba(45, 74, 34, 0.493)), 
                url('../img/descarga (6).jfif'); 
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 40px 8% 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    height: 80px; /* Igualado al navbar */
    margin-bottom: 10px;
    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);
}


.whatsapp-cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9fbf7; /* O un color suave que combine con tu sitio */
}

.cta-container h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.cta-container p {
    margin-bottom: 25px;
    color: #666;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #608052; /* Color oficial de WhatsApp */
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
    font-size: 1.6rem;
    margin-right: 10px;
}

.whatsapp-btn:hover {
    background-color: #85a578;
    transform: translateY(-3px);
    color: white; /* Asegura que el texto siga blanco */
}

/* --- 10. RESPONSIVO (MEJORADO PARA TU NAVBAR) --- */
@media (max-width: 1024px) {
    .about-content { grid-template-columns: 1fr; gap: 30px; }
    .section-grid { grid-template-columns: 1fr; }
    .gallery-4x3 { grid-template-columns: repeat(3, 1fr); }
    .inscripcion-flex-container { gap: 30px; }
    .info-card-container { padding: 30px; }
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 20px; }
    .nav-links { gap: 35px; flex-wrap: wrap; justify-content: center; } 
    .nav-icon-btn, .back-arrow { width: 42px; height: 42px; font-size: 1.4rem !important; }
    
    .about-us-section, .bg-soft-section { padding: 40px 5%; }
    .horarios-box { gap: 10px; flex-wrap: wrap; }
    .calendar-grid-visual { grid-template-columns: repeat(2, 1fr); }
    .gallery-4x3 { grid-template-columns: repeat(2, 1fr); }
    .inscripcion-flex-container { flex-direction: column-reverse; padding: 40px 8%; }
    .inscripcion-btn-side, .inscripcion-info-side { text-align: center; border: none; padding: 0; }
    .footer-container { flex-direction: column; text-align: center; }
}