html {
    scroll-behavior: smooth;
}

/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
}

/* Contenedor principal del Header */
.header-cacp {
    background-color: #f1f3f7; /* Color gris claro de CACP [cite: 1] */
    border-bottom: 1px solid #e1e4e8;
    width: 100%;
    padding: 12px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* Logo - Sin fondo y centrado */
.logo {
    display: flex;
    align-items: center;
    background: transparent; /* Asegura que el contenedor no tenga color */
}

.logo img {
    height: 60px; 
    display: block;
    mix-blend-mode: multiply; /* Truco CSS: ayuda a ocultar restos de blanco si el PNG no es perfecto */
}

/* Menú de Navegación */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: #3e4b5b; 
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
    color: #1a4393;
}

/* Botón Validar Certificado con degradado [cite: 1, 127] */
.btn-validar {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%); 
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-validar i {
    font-size: 18px;
}




/* --- AJUSTES DEL HEADER --- */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column; /* Apila Logo, Menú y Botón */
        gap: 15px;
        padding: 15px 10px;
        text-align: center;
    }

    .nav-menu ul {
        flex-wrap: wrap; /* Permite que los enlaces bajen a la siguiente línea si no caben */
        justify-content: center;
        gap: 10px;
    }

    .nav-menu a {
        font-size: 12px; /* Reduce un poco el texto para ganar espacio */
        padding: 5px;
    }

    .btn-validar {
        width: 100%; /* El botón ocupa todo el ancho en móvil para mejor click */
        max-width: 250px;
        margin: 0 auto;
    }
}











/* --- RESET GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- SECCIÓN HERO (CORREGIDA) --- */
.hero-section {
    background-color: #1a3a8a; /* Azul institucional */
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 30px 30px; 
    /* Cambiado de 100vh a auto para evitar el vacío azul */
    min-height: auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ajuste de padding para que respire sin sobrar espacio */
    padding: 100px 0; 
}

.hero-container {
    max-width: 1200px; /* Reducido de 1400px para compactar el diseño */
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Gap más pequeño para unir los elementos */
}

/* --- TEXTO (IZQUIERDA) --- */
.hero-content {
    flex: 1.1; 
    color: white;
}

.badge-excelencia {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 56px; /* Ajustado para mejor balance */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 580px;
}

/* Botones */
.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
    font-size: 15px;
}

.btn-primary {
    background: white;
    color: #1a3a8a;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
}

.btn-primary:hover { background: #f0f0f0; transform: translateY(-3px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* --- VISUAL (DERECHA) --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Empuja la imagen a la derecha */
}

.image-box {
    position: relative;
    width: 100%;
    max-width: 520px; /* Imagen ligeramente más pequeña para evitar scroll */
}

.image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    display: block;
}

/* Tarjeta Flotante */
.floating-stat {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stat-icon-yellow {
    background: #f1c40f;
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
}

.stat-number {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #1a3a8a;
    line-height: 1;
}

.stat-text {
    color: #666;
    font-size: 13px;
    font-weight: 600;
}

/* --- MEDIA QUERIES --- */

@media (max-width: 1100px) {
    .hero-content h1 { font-size: 45px; }
    .hero-container { gap: 30px; }
    .image-box { max-width: 450px; }
}

@media (max-width: 992px) {
    .hero-section { padding: 60px 0; }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-visual { justify-content: center; margin-top: 40px; }
    .floating-stat { left: 50%; transform: translateX(-50%); bottom: -20px; }
}












/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
}

.about-section {
    padding: 100px 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1200px;
    width: 90%;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* --- IMAGEN (IZQUIERDA) --- */
.about-visual {
    flex: 1;
}

.about-img-wrapper img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: block;
}

/* --- TEXTO (DERECHA) --- */
.about-text {
    flex: 1.2;
}

.about-title {
    font-size: 42px;
    color: #1a3a8a; /* Azul CACP */
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

/* La rayita amarilla del video */
.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #f1c40f; /* Amarillo CACP */
    border-radius: 2px;
}

.about-description p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- RESPONSIVO PARA CELULAR --- */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column; /* Imagen arriba, texto abajo */
        text-align: center;
        gap: 40px;
    }

    .about-title {
        font-size: 32px;
    }

    .about-title::after {
        left: 50%;
        transform: translateX(-50%); /* Centra la raya en móvil */
    }

    .about-visual {
        width: 100%;
        max-width: 500px;
    }
}







* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
}

.benefits-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.benefits-container {
    max-width: 1400px; /* Mismo ancho que tu Hero para que todo alinee */
    width: 90%;
    margin: 0 auto;
    display: grid;
    /* Esto crea las 4 columnas automáticas */
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

/* Efecto al pasar el mouse */
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 58, 138, 0.1);
}

.benefit-icon {
    background-color: #f1f4ff; /* Azul muy clarito */
    color: #1a3a8a; /* Azul CACP */
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    font-size: 30px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card h3 {
    color: #1a3a8a;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* --- AJUSTES RESPONSIVOS --- */

/* Tablet: 2 columnas */
@media (max-width: 1024px) {
    .benefits-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Celular: 1 sola columna */
@media (max-width: 600px) {
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
}










/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
}

.about-section {
    padding: 100px 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1200px;
    width: 90%;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* --- IMAGEN (IZQUIERDA) --- */
.about-visual {
    flex: 1;
}

.about-img-wrapper img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: block;
}

/* --- TEXTO (DERECHA) --- */
.about-text {
    flex: 1.2;
}

.about-title {
    font-size: 42px;
    color: #1a3a8a; /* Azul CACP */
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

/* La rayita amarilla del video */
.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #f1c40f; /* Amarillo CACP */
    border-radius: 2px;
}

.about-description p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- RESPONSIVO PARA CELULAR --- */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column; /* Imagen arriba, texto abajo */
        text-align: center;
        gap: 40px;
    }

    .about-title {
        font-size: 32px;
    }

    .about-title::after {
        left: 50%;
        transform: translateX(-50%); /* Centra la raya en móvil */
    }

    .about-visual {
        width: 100%;
        max-width: 500px;
    }
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f7f6;
}

.programas-section {
    padding: 100px 0;
    text-align: center;
}

.programas-header {
    margin-bottom: 60px;
    padding: 0 20px;
}

.programas-header h2 {
    font-size: 42px;
    color: #1a3a8a;
    font-weight: 800;
    margin-bottom: 15px;
}

.programas-header p {
    color: #666;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* CONTENEDOR DE LAS 2 TARJETAS */
.programas-container {
    max-width: 1000px; /* Un poco más estrecho para que las 2 luzcan mejor */
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Fuerza las 2 columnas */
    gap: 40px;
}

.programa-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.programa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(26, 58, 138, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #1a3a8a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 32px;
    margin-bottom: 25px;
}

.programa-card h3 {
    font-size: 28px;
    color: #1a3a8a;
    margin-bottom: 20px;
}

.programa-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* LISTA DE CARACTERÍSTICAS */
.card-features {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 35px;
}

.card-features li {
    margin-bottom: 12px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features li i {
    color: #f1c40f; /* Check amarillo */
}

/* BOTÓN "MÁS INFORMACIÓN" */
.btn-more {
    margin-top: auto; /* Empuja el botón al final de la tarjeta */
    background: #1a3a8a;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-more:hover {
    background: #f1c40f;
    color: #1a3a8a;
}

/* --- AJUSTES RESPONSIVOS --- */
@media (max-width: 768px) {
    .programas-container {
        grid-template-columns: 1fr; /* Una sola columna en celulares */
    }
    
    .programas-header h2 {
        font-size: 32px;
    }
}







* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
}

.docentes-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.docentes-header h2 {
    font-size: 42px;
    color: #1a3a8a;
    font-weight: 800;
    margin-bottom: 15px;
}

.docentes-header p {
    color: #666;
    margin-bottom: 60px;
    font-size: 18px;
}

.docentes-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 docentes por fila */
    gap: 30px;
}

.docente-card {
    background: white;
    border-radius: 20px;
    overflow: hidden; /* Corta la imagen para que respete los bordes redondos */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.docente-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 58, 138, 0.1);
}

.docente-img {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.docente-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la foto sin deformarla */
    transition: 0.5s;
}

.docente-card:hover .docente-img img {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

.docente-info {
    padding: 25px;
    text-align: left;
}

.docente-info h3 {
    color: #1a3a8a;
    font-size: 22px;
    margin-bottom: 5px;
}

.docente-info span {
    color: #666;
    font-size: 15px;
    display: block;
    margin-bottom: 15px;
}

.docente-pais {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.docente-pais i {
    color: #f1c40f; /* Icono de ubicación amarillo */
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .docentes-container {
        grid-template-columns: repeat(2, 1fr); /* 2 por fila en tablet */
    }
}

@media (max-width: 600px) {
    .docentes-container {
        grid-template-columns: 1fr; /* 1 solo en celular */
    }
}






* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
}

.cert-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.cert-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.cert-text { flex: 1; }

.cert-tag {
    color: #1a3a8a;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
}

.cert-text h2 {
    font-size: 48px;
    color: #1a3a8a;
    font-weight: 800;
    margin-bottom: 25px;
}

.f-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.f-item i {
    font-size: 24px;
    color: #f1c40f; /* El check de arriba sigue siendo amarillo para resaltar */
}

.btn-check {
    display: inline-block;
    padding: 16px 35px;
    background-color: #1a3a8a;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
}

.cert-visual { flex: 1; position: relative; }

.cert-img-wrapper img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.badge-float {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #f1c40f;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

/* --- ESTILOS DE LAS TARJETAS DE ABAJO --- */
.cert-grid-details {
    max-width: 1400px;
    width: 90%;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.detail-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.detail-icon {
    background-color: #1a3a8a; 
    color: #ffffff; /* ICONOS EN BLANCO COMO PEDISTE */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 26px;
    margin-bottom: 25px;
}

.detail-card h4 {
    color: #1a3a8a;
    font-size: 20px;
    margin-bottom: 15px;
}

/* --- RESPONSIVIDAD (AQUÍ ESTÁ EL TRUCO) --- */

/* Cuando la pantalla se divide o es menor a 1250px, forzamos 2 COLUMNAS */
@media (max-width: 1250px) {
    .cert-grid-details {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 992px) {
    .cert-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .cert-grid-details {
        grid-template-columns: 1fr; /* Solo en celular muy chico va a 1 columna */
    }
}







/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
}

.porque-section {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.porque-header {
    text-align: center;
    margin-bottom: 70px;
}

.porque-tag {
    color: #f1c40f; /* Dorado para resaltar */
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.porque-header h2 {
    font-size: 42px;
    color: #1a3a8a;
    font-weight: 800;
}

.porque-line {
    width: 60px;
    height: 4px;
    background-color: #f1c40f;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* CONTENEDOR */
.porque-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    /* 4 columnas base */
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.porque-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.porque-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.porque-icon-box {
    width: 70px;
    height: 70px;
    background-color: #f4f7ff;
    color: #1a3a8a;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: 0.3s;
}

.porque-card:hover .porque-icon-box {
    background-color: #1a3a8a;
    color: #ffffff;
}

.porque-card h3 {
    color: #1a3a8a;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.porque-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* --- RESPONSIVIDAD (Ajuste pantalla dividida) --- */

@media (max-width: 1250px) {
    .porque-container {
        /* Se mantiene en 2 columnas en lugar de amontonarse */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .porque-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .porque-container {
        grid-template-columns: 1fr; /* 1 columna en móvil */
    }
}







* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fcfcfc;
}

.contacto-section {
    padding: 80px 0;
    text-align: center;
}

.contacto-header h2 {
    font-size: 40px;
    color: #1a3a8a;
    font-weight: 800;
}

.header-line {
    width: 50px;
    height: 4px;
    background: #f1c40f;
    margin: 15px auto;
}

.contacto-header p {
    color: #666;
    margin-bottom: 50px;
}

.contacto-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    text-align: left;
}

/* --- INFO IZQUIERDA --- */
.contacto-info-col h3 {
    color: #1a3a8a;
    margin: 30px 0 20px;
}

.info-card {
    background: white;
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin-right: 20px;
}

.email-bg { background: #1a3a8a; }
.whatsapp-bg { background: #25d366; }

.info-text span {
    font-size: 13px;
    color: #888;
}

.info-text p {
    font-weight: 700;
    color: #333;
}

/* Redes Sociales */
.social-grid {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.fb { background: #3b5998; }
.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.li { background: #0077b5; }
.tw { background: #1da1f2; }

.social-icon:hover { opacity: 0.8; transform: translateY(-3px); }

/* Horario */
.horario-card {
    background: #eef4ff;
    padding: 25px;
    border-radius: 15px;
}

.horario-card h4 {
    color: #1a3a8a;
    margin-bottom: 15px;
}

.horario-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

/* --- FORMULARIO DERECHA --- */
.form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-wrapper h3 {
    color: #1a3a8a;
    margin-bottom: 30px;
}

.input-box {
    margin-bottom: 20px;
}

.input-box label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.input-box input, .input-box textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to right, #1a3a8a, #2a52be);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    box-shadow: 0 5px 15px rgba(26, 58, 138, 0.3);
}

/* --- RESPONSIVO --- */
@media (max-width: 900px) {
    .contacto-container {
        grid-template-columns: 1fr;
    }
}





/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-cacp {
    background-color: #1a3a8a; /* Azul institucional */
    color: #ffffff;
    padding-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

/* --- LOGO CACP SIN FONDO --- */
.footer-logo {
    height: 85px; /* Tamaño optimizado */
    margin-bottom: 20px;
    background: transparent; /* Sin fondo blanco */
    display: block;
    filter: brightness(0) invert(1);
    
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    color: #d1d9e6;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #d1d9e6;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

/* Iconos de contacto */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #d1d9e6;
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 18px;
    background: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* --- SECCIÓN ALIANZAS (LOGOS GRANDES) --- */
.footer-alliances {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-alliances h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.alliances-container {
    display: flex;
    align-items: center;
    gap: 50px; /* Espacio generoso entre logos */
}

.alliances-container img {
    height: 60px; /* Aumentado para que se vean bien */
    width: auto;
    filter: brightness(0) invert(1); /* Los hace blancos para elegancia. Quitar si prefieres color. */
    opacity: 0.9;
}

/* Barra inferior */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 30px;
    padding: 20px 0;
}

.bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 13px;
    color: #abbcd6;
}

.legal a {
    color: #abbcd6;
    text-decoration: none;
    margin-left: 20px;
}






/* --- AJUSTES DEL FOOTER --- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Cambia de 3 columnas a 1 sola */
        text-align: center;
        gap: 40px;
    }

    .footer-container ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Ajuste para las alianzas/logos en el fondo */
    .alliances-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .alliances-container img {
        height: 25px; /* Logos más pequeños en móvil */
    }
}

/* --- FIX EXTRA PARA EVITAR DESPLAZAMIENTO LATERAL --- */
html, body {
    overflow-x: hidden; /* Esto evita que la página se mueva de lado a lado */
    width: 100%;
}








/*BURBUJA DE WHATSAPP*/

/* Contenedor del botón */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* La etiqueta de texto */
.whatsapp-label {
    position: absolute;
    right: 70px; /* Se posiciona a la izquierda del círculo */
    background-color: #ffffff;
    color: #333;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap; /* Evita que el texto se parta en dos líneas */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    pointer-events: none; /* Para que no interfiera con el click */
    opacity: 1;
    transition: 0.3s;
}

/* Efecto al pasar el mouse */
.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float:hover .whatsapp-label {
    background-color: #f0f0f0;
    right: 80px; /* Se mueve un poquito al hacer hover */
}

/* Ajuste para móviles (opcional: ocultar la etiqueta si el espacio es poco) */
@media (max-width: 768px) {
    .whatsapp-label {
        display: none; /* En celular pequeño es mejor dejar solo el icono para no tapar contenido */
    }
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}