/* Definición de colores principales */
/* --- Reglas Generales de la Página --- */
html {
    scroll-behavior: smooth; /* ¡Esta es la magia del desplazamiento suave! */
}
:root {
    --westhill-blue: #276092; /* El azul oscuro del banner superior */
    --westhill-green: #25d366; /* El verde de WhatsApp */
    --westhill-caption-blue: rgba(28, 61, 110, 0.85); /* El azul oscuro semitransparente del texto superpuesto */
}
/* --- Reglas Generales de la Página --- */
html, body {
    overflow-x: hidden; /* ¡LA CURA MÁGICA! Oculta todo lo que sobresalga a los lados */
    width: 100%;        /* Asegura que el cuerpo mida exactamente el ancho de la pantalla */
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 90px; 
    font-family: 'Raleway', sans-serif;
    color: #333333;
}

body {
    background-color: #ffffff; /* o el color de fondo que estés usando */
    position: relative;
    padding-bottom: 0 !important; /* ¡CRÍTICO! Esto elimina el hueco gigante al final */
    font-family: 'Raleway', sans-serif;
}
/* =========================================
   FUENTES PERSONALIZADAS
   ========================================= */

/* Raleway - Normal (Soporta todos los grosores del 100 al 900) */
@font-face {
    font-family: 'Raleway';
    src: url('Raleway-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; /* Al ser variable, abarca de Thin a Black */
    font-style: normal;
    font-display: swap; /* Ayuda a que la página cargue más rápido */
}

/* Raleway - Itálica (Cursiva) */
@font-face {
    font-family: 'Raleway';
    src: url('Raleway-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}


/************************************INDEX INDEX***************************************************/


/* Contenedor principal de la barra */
.westhill-navbar {
    background-color: #276092 !important; /* El color exacto que pediste */
    min-height: 100px;
    display: flex;
    align-items: center;
}

/* Forzar letras a blanco y tamaño adecuado */
.westhill-navbar .navbar-nav .nav-link {
    color: #ffffff !important; 
    font-weight: 500;
    padding-left: 15px;
    padding-right: 15px;
}

/* Filtro para hacer el logo blanco */
.logo-navbar {
    filter: brightness(0) invert(1);
}

/* Estilo del Botón Verde "Solicita información" */
.btn-solicita-info {
    background-color: #28a745; /* Verde Bootstrap */
    color: #ffffff !important;
    padding: 8px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-solicita-info:hover {
    background-color: #218838; /* Verde más oscuro al pasar el mouse */
}

/* Evitar que el menú tape el logo en pantallas de PC */
@media (min-width: 992px) {
    .westhill-navbar .navbar-nav.me-auto {
        padding-right: 130px; 
    }
    .westhill-navbar .navbar-nav.ms-auto {
        padding-left: 130px; 
    }
}
/* --- Carrusel --- */
carousel-inner {
    background-color: #000; /* Fondo negro por si el video tiene bordes */
}

.banner-media {
    width: 100%;
    height: auto; /* La altura se calcula sola */
    aspect-ratio: 16 / 9; /* Mantiene la proporción perfecta de un video estándar */
    object-fit: cover;/* se quito para que no redimensione la portada*/
}
/* Texto superpuesto al slide 1 */
.westhill-caption {
    background-color: var(--westhill-caption-blue);
    padding: 20px;
    border-radius: 30px;
    left: 5%; /* Ajusta la posición izquierda */
    bottom: 5%; /* Ajusta la posición inferior */
    width: auto;
    color: white;
}

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--westhill-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all .3s ease-in-out;
}

.whatsapp-float-btn:hover {
    color: #FFF;
}

.whatsapp-float-btn i {
    margin-top: 16px;
}

/* --- Animación de sacudida (Shake Animation) --- */
@keyframes shake {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(0, 0); }
    100% { transform: translate(0, 0); }
}

/* Aplicar la animación de sacudida al botón de WhatsApp */
.whatsapp-float-btn {
    animation: shake 2s infinite ease-in-out;
}
/* Estilos generales de la sección */
#historia {
  background-color: #f8f8f8; /* El color de fondo que tengas */
  
  /* Reducimos el tercer número (el de abajo) de 80px a 30px o 20px */
  padding: 20px 20px 30px 20px; 
  
  font-family: 'Raleway'; 
}

    .historia-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 50px; /* Separación entre columnas */
    }

    /* Columna de texto (izquierda) */
    .texto-historia {
      flex: 1;
      padding-right: 20px;
    }

    .texto-historia h2 {
      color: #1e3d74; /* Un azul marino oscuro */
      font-size: 36px;
      font-weight: bold;
      margin-bottom: 30px;
    }

    .texto-historia p {
      color: #1e3d74;
      font-size: 16px;
      line-height: 1.8; /* Mejor interlineado para lectura */
      margin: 0;
      text-align: justify;
    }
/* Contenedor principal de las imágenes */
    .imagenes-historia {
      flex: 1;
      display: flex;
      justify-content: center; /* Centra el bloque de círculos */
      align-items: center;
      height: 500px;
    }

    /* El "lienzo" de los círculos. Le damos un tamaño fijo para que la posición sea perfecta */
    .composicion-circulos {
      width: 450px;
      height: 450px;
      position: relative;
    }

    /* Estilos base de los círculos (sin cambios) */
    .composicion-circulos .circulo {
      position: absolute;
      border-radius: 50%;
      border-style: solid;
      border-width: 8px;
      background-size: cover;
      background-position: center;
      overflow: hidden;
      transition: transform 0.3s ease;
    }

    .composicion-circulos .circulo::after {
      content: '';
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background-image: inherit; background-size: inherit; background-position: inherit;
      filter: grayscale(100%); opacity: 1; transition: opacity 0.3s ease;
    }

    .composicion-circulos .circulo:hover::after { opacity: 0; }
    .composicion-circulos .circulo:hover { transform: scale(1.03); z-index: 10; }

    /* --- POSICIONES EXACTAS (Para que se toquen) --- */
    .circulo-grande {
      width: 320px;
      height: 320px;
      border-color: #28a745; /* Verde */
      background-image: url('../img/Circulogrande.png');
      top: 0;
      left: 65px; /* Centrado en el lienzo de 450px */
      z-index: 1;
    }

    .circulo-mediano {
      width: 280px;
      height: 280px;
      border-color: #1e3d74; /* Azul */
      background-image: url('../img/Circulomediano.png');
      top: 150px;
      left: 180px; /* Movido a la derecha */
      z-index: 2;
    }

    .circulo-pequeño {
      width: 220px;
      height: 220px;
      border-color: #ffc107; /* Amarillo */
      background-image: url('../img/Circulopequeño.png');
      top: 200px;
      left: -39px; /* Calculado exactamente para tocar el borde del círculo azul */
      z-index: 3;
    }

    /* --- RESPONSIVIDAD MÓVIL (Escalado en lugar de desarmar) --- */
    @media (max-width: 992px) {
      .historia-container {
        flex-direction: column;
        text-align: center;
      }

      .texto-historia {
        padding-right: 0;
        margin-bottom: 20px;
      }

      .imagenes-historia {
        width: 100%;
        height: 350px; /* Reducimos la altura en tablet/móvil */
      }

      .composicion-circulos {
        transform: scale(0.7); /* Encoge toda la pirámide un 30% manteniendo posiciones */
        transform-origin: top center;
      }
    }

    /* Para celulares muy pequeños */
    @media (max-width: 500px) {
      .imagenes-historia {
        height: 260px; /* Menos altura para no dejar espacio en blanco extra */
      }
      .composicion-circulos {
        transform: scale(0.55); /* Encoge casi a la mitad */
      }
    }
/* --- Sección Oferta Académica --- */
.titulo-oferta {
    color: #1f4e74; /* Azul de tu logotipo */
    font-weight: 700;
    font-size: 2.5rem;
}

/* Contenedor principal de la tarjeta */
.tarjeta-academica {
    position: relative;
    height: 420px;
    border-radius: 15px; 
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    overflow: hidden; /* IMPORTANTE: Ayuda a que la cinta nazca perfectamente del borde */
    transition: transform 0.3s ease;
}

.tarjeta-academica:hover {
    transform: translateY(-5px); 
}

/* El nuevo diseño de la Cinta / Etiqueta Azul */
.etiqueta-azul {
    position: absolute;
    bottom: 25px; /* Separación desde abajo */
    left: 0;      /* Pegado al borde izquierdo de la tarjeta */
    width: 88%;   /* Ocupa el 88% del ancho (deja un espacio a la derecha) */
    background-color: #245e8a; /* Un tono de azul acorde a tu imagen */
    color: #ffffff;
    text-align: left; /* Alineado a la izquierda */
    padding: 12px 10px 12px 25px; /* Más espacio a la izquierda para empujar el texto */
    font-size: 1.3rem; /* Letra más grande, como en la foto */
    font-weight: 800; /* Letra muy gruesa (bold) */
    
    /* EL TRUCO: Borde recto a la izquierda (0) y redondeado a la derecha (30px) */
    border-radius: 0 30px 30px 0; 
    
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* (El resto de las clases como .tarjeta-overlay, .tarjeta-overlay h3, etc., se quedan exactamente igual y ya no necesitamos .flecha-amarilla) */
/* Capa oscura que aparece en el hover (Overlay) */
.tarjeta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(60, 60, 60, 0.95); /* Gris muy oscuro, casi negro */
    color: white;
    border-radius: 15px; /* Mismos bordes redondeados */
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.3s ease;
    z-index: 3;
}

/* Título dentro de la capa oscura */
.tarjeta-overlay h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Ajustes de la lista de programas */
.tarjeta-overlay ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.4;
    overflow-y: auto; /* Por si la lista es muy larga, que se pueda hacer scroll internamente */
}

.tarjeta-overlay li {
    margin-bottom: 5px;
}
/* --- INTERACCIÓN (Magia del Hover) --- */

/* Cuando pasas el mouse, la capa oscura aparece */
.tarjeta-academica:hover .tarjeta-overlay {
    opacity: 1;
}

/* Cuando pasas el mouse, la etiqueta azul desaparece */
.tarjeta-academica:hover .etiqueta-azul {
    opacity: 0;
}
/* --- Sección Imagen a pantalla completa --- */
.imagen-full-width {
    width: 100%;
    height: auto;       /* Mantiene la proporción original de la imagen */
    display: block;     /* Evita espacios en blanco debajo de la imagen */
    object-fit: cover;  /* Previene deformaciones extrañas */
}

/* En móviles, la imagen se hará más pequeña para caber en la pantalla.
   Al tener formato horizontal, es normal que se vea más delgada en celulares. */
/* --- Sección de Testimonios --- */

/* Ajuste de la imagen para que siempre se vea bien proporcionada */
.imagen-testimonio {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* El color casi negro del nombre */
.texto-azul-oscuro {
    color: #111111;
    font-size: 2rem;
}

/* Estilo del párrafo del testimonio */
.texto-testimonio {
    font-size: 1.1rem;
    line-height: 1.7; /* Interlineado amplio para fácil lectura */
    color: #444444; /* Gris oscuro elegante */
    text-align: justify; /* Justificado como en la imagen */
}

/* Contenedor de las flechas y contador (alineado a la derecha) */
.controles-testimonio {
    display: flex;
    justify-content: center; /* <-- ¡Aquí está el cambio! Pasamos de flex-end a center */
    align-items: center;
}

/* Estilo de las flechas (botones) */
.custom-carousel-btn {
    color: #777777; /* Color gris para las flechas */
    transition: color 0.3s ease;
}

.custom-carousel-btn:hover {
    color: #1f4e74; /* Se vuelven azules al pasar el mouse */
}
/* --- Sección Apoyo Financiero --- */

/* Color de fondo azul medio-oscuro */
.seccion-apoyo-financiero {
    background-color: #2b618a; /* Ajustado visualmente según tu captura */
}

/* Estilo de los párrafos */
.texto-apoyo {
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: justify; /* Mantiene el bloque de texto cuadradito */
}

/* Diseño del botón "Más información" */
.btn-mas-info {
    color: #2b618a !important; /* Letras azules del mismo color que el fondo */
    font-weight: 700;
    font-size: 1.15rem;
    padding: 10px 40px; /* Botón ancho como en la imagen */
    border-radius: 5px; /* Bordes poco redondeados */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-mas-info:hover {
    background-color: #e2e6ea;
    transform: translateY(-3px); /* Un pequeño salto hacia arriba */
}

/* --- Ajustes del Mosaico Multimedia --- */

/* Esta clase es clave para que las 3 piezas mantengan su proporción sin deformarse */
.multimedia-item {
    height: 250px; /* Puedes subirlo a 280px si quieres el bloque más grande */
}

.object-fit-cover {
    object-fit: cover; /* Evita que las caras se achaten o estiren */
}

/* Responsive: En celulares, hacemos que las imágenes no sean tan altas para que quepan en la pantalla */
@media (max-width: 768px) {
    .multimedia-item {
        height: 180px;
    }
    .seccion-apoyo-financiero .text-white {
        text-align: center; /* Centramos el texto en móviles para mejor lectura */
    }
    .texto-apoyo {
        text-align: center;
    }
}
/* --- Sección Claustro Docente --- */

.titulo-claustro {
    color: #1f4e74;
    font-size: 2.5rem;
}

/* Contenedor de la foto del profesor */
.tarjeta-docente {
    position: relative;
    height: 380px; /* Altura de la fotografía */
    border-radius: 10px; /* Bordes redondeados */
    background-size: cover;
    background-position: top center; /* Enfoca la parte superior de la imagen (la cara) */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer; /* Cambia el cursor a una manita */
}

/* Capa azul semitransparente (Overlay) */
.docente-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Un azul oscuro (rgba) al 85% de opacidad para dejar ver un poco el fondo */
    background-color: rgba(31, 78, 116, 0.85); 
    opacity: 0; /* Oculta por defecto */
    transition: opacity 0.3s ease;
}

/* La frase dentro de la capa azul */
.frase-docente {
    color: white;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Sombrita para que resalte más */
}

/* --- EFECTO HOVER --- */
/* Muestra la capa azul al pasar el mouse */
.tarjeta-docente:hover .docente-overlay {
    opacity: 1;
}

/* --- Texto debajo de la tarjeta --- */
.nombre-docente {
    color: #1f4e7483;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
}

.facultad-docente {
    color: #666666; /* Gris más suave para no competir con el nombre */
    font-size: 0.95rem;
    margin-bottom: 0;
}
/* --- Sección Ubicación --- */

/* Título principal de la ubicación */
.titulo-ubicacion {
    color: #111111; /* Casi negro */
    font-size: 2.6rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Contenedor con borde azul y esquinas redondeadas para el mapa */
.contenedor-mapa {
    border: 3px solid #1f4e74; /* Borde azul institucional */
    border-radius: 25px; /* Esquinas muy redondeadas */
    overflow: hidden; /* CRÍTICO: Corta el mapa para que no se salga de las esquinas redondas */
    background-color: #fff;
}

/* Ajuste para que el iframe (mapa) no deje espacios en blanco abajo */
.contenedor-mapa iframe {
    display: block;
    width: 100%;
}

/* Iconos de la sección (azul Westhill) */
.icono-ubicacion {
    color: #1f4e74;
    font-size: 1.6rem;
}

/* Texto de detalles de dirección, teléfono, etc. */
.texto-contacto {
    font-size: 1.1rem;
    color: #444444; /* Gris oscuro para fácil lectura */
}

/* Responsive: Reducimos el tamaño del título en móviles */
@media (max-width: 768px) {
    .titulo-ubicacion {
        font-size: 2rem;
    }
    .contenedor-mapa iframe {
        height: 350px; /* Mapa un poco más bajito en celulares */
    }
}
/* --- Sección Formulario de Contacto --- */

.titulo-contacto {
    color: #111111;
    font-size: 2.8rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Contenedor del Iframe (Le da el look de "tarjeta") */
.contenedor-formulario {
    background-color: #fff;
    border-radius: 20px; 
    overflow: hidden; 
    height: 100%;
    /* AUMENTAMOS ESTE VALOR para que el formulario de Smartsheet quepa completo sin scroll */
    min-height: 850px;     
    padding-bottom: 10px;  
    box-shadow: none !important;
}

/* Imagen de la derecha */
.imagen-formulario {
    border-radius: 20px; 
    object-fit: cover; 
    height: 100%;
    /* DEBE TENER EL MISMO VALOR que el formulario para mantener la simetría */
    min-height: 850px; 
    padding-bottom: 0px; 
}

/* Responsividad: Ajustes para teléfonos y tablets */
@media (max-width: 992px) {
    .contenedor-formulario {
        min-height: 700px; /* Un poco menos en móviles*/
    }
    .imagen-formulario {
        min-height: 400px; /* La imagen se queda más pequeña en celular para no ocupar tanta pantalla */
    }
    .titulo-contacto {
        font-size: 2.2rem;
    }
}
/* =========================================
   SECCIÓN: FOOTER / PIE DE PÁGINA
   ========================================= */

/* --- Contenedor General --- */
#footer-uw {
    width: 100%;
    background-color: #ffffff;
    margin-top: -60px;
}

/* =========================================
   CUERPO DEL FOOTER (PARTE AZUL)
   ========================================= */
.footer-body {
    /* Imagen y Fondo */
    background-image: url('../img/footer.png') !important;
    background-size: 100% 100%; /* Estira la imagen para cubrir todo sin romper proporciones */
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #265b82; 
    
    /* Configuración Flexbox para centrado vertical absoluto */
    display: flex;
    align-items: center; /* Centra las columnas a lo alto en medio del espacio azul */
    
    /* Espaciado responsivo y proporcional */
    /* clamp(minimo, valor ideal dinamico, maximo) - Protege el texto de la onda amarilla */
    padding-top: clamp(140px, 16vw, 300px); 
    padding-bottom: 20px; 
    
    color: #ffffff;
    font-family: 'Raleway';
    width: 100%;
}

/* --- Información de Contacto --- */
.contact-col p {
    margin-bottom: 8px; /* Separación compacta */
    font-size: 1.05rem; /* Tamaño de lectura cómodo */
}

/* Flexbox para mantener los iconos perfectamente alineados con su texto (Incluso si están centrados) */
.contacto-item {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el conjunto de icono + texto horizontalmente */
    margin-bottom: 8px;
}

.contacto-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* --- Redes Sociales (Cuadritos Blancos) --- */
.social-box {
    display: flex;
    justify-content: center; /* Centra los cuadritos en su contenedor */
    gap: 12px;
    margin-top: 20px;
}

.social-box a {
    background-color: #ffffff;
    color: #265b82; /* Icono azul institucional */
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px; /* Bordes ligeramente redondeados */
    text-decoration: none;
    font-size: 1.3rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-box a:hover {
    transform: translateY(-3px); /* Pequeño salto al pasar el mouse */
    background-color: #07b0ff; /* Amarillo Westhill */
    color: #ffffff;
}

/* --- Listas de Enlaces --- */
.footer-links {
    list-style: none;
    padding-left: 0 !important; /* CRÍTICO: Quita el espacio oculto a la izquierda en todas las pantallas */
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px; /* Separación vertical entre enlaces */
}

.footer-links li a {
    color: #ffffff !important; /* Forzamos color blanco */
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #25a4ff !important; /* Amarillo al pasar el mouse */
}

/* --- Botón Verde de Admisiones --- */
.btn-admisiones {
    display: inline-block; 
    background-color: #38b04a; 
    color: #ffffff;
    padding: 8px 25px; 
    border-radius: 25px; 
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: background-color 0.3s ease;
    
    /* NUEVO: Esto "jala" el botón 20px hacia arriba */
    margin-top: -30px; 
}

.btn-admisiones:hover {
    background-color: #2e963c; /* Verde más oscuro al hover */
    color: #ffffff;
}

/* =========================================
   BARRA BLANCA INFERIOR
   ========================================= */
.footer-bottom-bar {
    background-color: #ffffff;
    padding: 20px 0; /* Un poco más de aire para que se vea limpio */
}

.copy-text {
    color: #265b82; /* Texto azul */
    font-size: 0.95rem;
}

/* --- Lema Central --- */
.lema-institucional {
    text-align: center;
}

.lema-institucional .lema-latin {
    font-weight: bold;
    font-size: 1.15rem;
    margin: 0;
    color: #265b82;
}

.lema-institucional .lema-esp {
    font-size: 0.8rem;
    margin: 0;
    color: #265b82;
}

/* --- Enlace de Privacidad (Naranja/Coral) --- */
.privacidad-link {
    color: #ef5e4e; 
    text-decoration: none;
    font-size: 0.95rem;
}

.privacidad-link:hover {
    text-decoration: underline;
    color: #d14638; /* Naranja más oscuro al hover */
}

/* =========================================
   COMPORTAMIENTO RESPONSIVE (MÓVILES)
   ========================================= */
@media (max-width: 991px) {
    .footer-body {
        /* Ocultamos la imagen de la onda en pantallas pequeñas */
        background-image: none !important;
        background-color: #265b82;
        
        /* Reducimos el colchón de espacio porque ya no hay onda */
        padding-top: 60px; 
        padding-bottom: 50px;
    }
    
    /* Separación extra debajo del bloque de contacto en móvil */
    .contact-col {
        margin-bottom: 40px !important;
    }

    /* Modificamos el ítem de contacto para que el icono se ponga arriba del texto si no cabe */
    .contacto-item {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .contacto-item i {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 1.3rem;
    }

    /* Aseguramos que la barra blanca inferior apile bien sus elementos */
    .footer-bottom-bar .row > div {
        margin-bottom: 15px;
    }
}
/****************************FIN INDEX************************************************/

/****************************NOSOTROS******************************************************/
/* =========================================
   SECCIÓN: NOSOTROS - HISTORIA
   ========================================= */

#nosotros-historia {
    background-color: #ffffff;
    width: 100%;
}

/* --- Contenedor de la Imagen --- */
.about-image-wrapper {
    /* Mantenemos la relación de aspecto y preparamos el borde */
    width: 100%;
    position: relative;
    overflow: hidden; /* Asegura que la imagen no se salga si hay zoom */
    
    /* Configuración de los bordes redondeados (tomada de la imagen original) */
    border-radius: 30px;
    
    /* Prepara la transición suave del efecto */
    transition: box-shadow 0.4s ease;
}

/* --- La Imagen Mismo --- */
.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene el contenedor sin deformarse */
    
    /* Imagen en escala de grises por defecto (como en la captura) */
    filter: grayscale(100%);
    
    /* Transición suave para todos los efectos (incluido el color si se cambia) */
    transition: all 0.4s ease;
}

/* --- EFECTO HOVER: Brillo (Glow) y Brillo (Brightness) --- */
.about-image-wrapper:hover {
    /* 1. Agrega una sombra de 'brillo' amarillo suave (como el de la universidad) */
    /* Sintaxis: box-shadow: horizontal vertical desenfoque extension color; */
    box-shadow: 0 0 20px 8px rgba(255, 193, 7, 0.5); /* Color amarillo Westhill con transparencia */
}

.about-image-wrapper:hover .about-image {
    /* 2. Aumenta el brillo y el contraste de la foto de forma sutil */
    filter: grayscale(100%) brightness(1.2) contrast(1.1);
}

/* --- Estilos de Texto --- */
.about-content .about-title {
    color: #265b82; /* Azul institucional */
    font-weight: 700; /* Negrita */
    font-size: 2.5rem; /* Título grande */
    margin: 0;
}

.about-content .about-text {
    color: #265b82; /* Texto oscuro para lectura fácil */
    font-size: 1.1rem; /* Un poco más grande para el cuerpo */
    line-height: 1.7; /* Espaciado entre líneas para descanso visual */
    margin-bottom: 20px; /* Separación entre párrafos */
    text-align: justify;
}

/* --- Adaptación para Móviles --- */
@media (max-width: 991px) {
    .about-content .about-title {
        font-size: 2rem; /* Título un poco más pequeño en móviles */
    }
}
/* =========================================
   SECCIÓN: FILOSOFÍA INSTITUCIONAL
   ========================================= */

#filosofia-institucional {
    background-color: #ffffff;
    width: 100%;
}

.filosofia-main-title {
    color: #265b82; /* Azul Westhill */
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: 'Raleway', sans-serif;
}

/* --- Estilo de las tarjetas de Misión y Visión (Pastillas) --- */
.filosofia-card {
    border-radius: 60px; /* Forma de pastilla vertical */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Sombra suave */
    transition: transform 0.3s ease;
}

.filosofia-card:hover {
    transform: translateY(-8px); /* Pequeña animación */
}

/* --- Colores de Fondo --- */
.filosofia-card.bg-verde {
    background-color: #38b04a; /* Verde Westhill */
}

.filosofia-card.bg-azul {
    background-color: #265b82; /* Azul Westhill */
}

/* --- Tipografía Interna --- */
.filosofia-card .card-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.filosofia-card .card-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Asegurar el justificado de texto para profesionalismo */
.text-justify {
    text-align: justify;
}

/* =========================================
   SECCIÓN: FILOSOFÍA INSTITUCIONAL
   ========================================= */

#filosofia-institucional {
    background-color: #ffffff;
    width: 100%;
}

.filosofia-main-title {
    color: #265b82; 
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: 'Raleway', sans-serif;
}

/* --- Estilo de las tarjetas de Misión y Visión --- */
.filosofia-card {
    border-radius: 60px; /* Forma de pastilla */
    /* SOMBRA ACENTUADA: Más oscura y amplia para dar volumen */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18); 
    transition: transform 0.3s ease;
    height: 100%; /* Asegura que midan lo mismo */
}

.filosofia-card:hover {
    transform: translateY(-8px); 
}

.filosofia-card.bg-verde {
    background-color: #38b04a; 
}

.filosofia-card.bg-azul {
    background-color: #265b82; 
}

.filosofia-card .card-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
    font-family: 'Raleway', sans-serif;
}

.filosofia-card .card-text {
    font-size: 1rem;
    line-height: 1.6;
}

.text-justify {
    text-align: justify;
}

/* =========================================
   SECCIÓN: FILOSOFÍA INSTITUCIONAL
   ========================================= */

#filosofia-institucional {
    background-color: #ffffff;
    width: 100%;
}

.filosofia-main-title {
    color: #265b82; 
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: 'Raleway', sans-serif;
}

/* --- Estilo de las tarjetas de Misión y Visión --- */
.filosofia-card {
    border-radius: 60px; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18); 
    transition: transform 0.3s ease;
    
    /* CAMBIO CLAVE: z-index alto para que estén POR ENCIMA del círculo */
    position: relative;
    z-index: 10; 
}

.filosofia-card:hover {
    transform: translateY(-8px); 
}

.filosofia-card.bg-verde {
    background-color: #38b04a; 
}

.filosofia-card.bg-azul {
    background-color: #265b82; 
}

.filosofia-card .card-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
    font-family: 'Raleway', sans-serif;
}

.filosofia-card .card-text {
    font-size: 1rem;
    line-height: 1.6;
}

.text-justify {
    text-align: justify;
}

/* =========================================
   FOTOGRAFÍA CIRCULAR (CON SUPERPOSICIÓN POR DETRÁS)
   ========================================= */
.filosofia-photo-circle {
    width: 350px; 
    height: 350px;
    border-radius: 50% !important; 
    overflow: hidden; 
    border: 12px solid #ffffff; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); 
    
    /* CAMBIO CLAVE: z-index bajo para que quede POR DETRÁS de la tarjeta azul */
    position: relative;
    z-index: 1; 
    
    transition: transform 0.3s ease;
}

.filosofia-photo-circle:hover {
    transform: scale(1.03); 
}

.filosofia-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
}

/* =========================================
   TRUCO DE SOLAPAMIENTO Y RESPONSIVE
   ========================================= */

@media (min-width: 992px) {
    .filosofia-photo-circle {
        /* Jala la foto a la izquierda, pero ahora se esconde detrás de la tarjeta azul */
        margin-left: -90px; 
    }
}

@media (max-width: 991px) {
    .filosofia-main-title {
        font-size: 2rem;
        text-align: center;
    }

    .filosofia-photo-circle {
        width: 280px;
        height: 280px;
        margin-left: 0; 
        /* En móvil lo subimos para que se esconda debajo del borde inferior de la tarjeta azul */
        margin-top: -40px; 
    }
}
/* =========================================
   SECCIÓN: NOSOTROS - HISTORIA (CONTINUACIÓN)
   ========================================= */

#nosotros-historia-2 {
    background-color: #ffffff !important; /* Fondo gris muy claro para diferenciar secciones */
    width: 100%;
}

/* --- Estilos de Texto --- */
.about-content-2 .about-text-2 {
    color: #265b82; /* Texto oscuro para lectura fácil */
    font-size: 1.1rem; /* Mismo tamaño que la primera sección */
    line-height: 1.7; /* Espaciado entre líneas para descanso visual */
    margin-bottom: 20px; /* Separación entre párrafos */
    text-align: justify;
}

/* --- Contenedor de la Imagen --- */
.about-image-wrapper-2 {
    /* Mantenemos la relación de aspecto y preparamos el borde */
    width: 100%;
    position: relative;
    overflow: hidden; /* Asegura que la imagen no se salga si hay zoom */
    
    /* Configuración de los bordes redondeados (tomada de la imagen original) */
    border-radius: 30px;
    
    /* Prepara la transición suave del efecto */
    transition: box-shadow 0.4s ease, filter 0.4s ease;
}

/* --- La Imagen Mismo (Color) --- */
.about-image-2 {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene el contenedor sin deformarse */
    
    /* Transición suave para todos los efectos (incluido el color si se cambia) */
    transition: all 0.4s ease;
}

/* --- EFECTO HOVER: Brillo (Glow) y Brillo (Brightness) --- */
.about-image-wrapper-2:hover {
    /* 1. Agrega una sombra de 'brillo' amarillo suave (como el de la universidad) */
    /* Sintaxis: box-shadow: horizontal vertical desenfoque extension color; */
    box-shadow: 0 0 25px 10px rgba(255, 193, 7, 0.5); /* Color amarillo Westhill con transparencia */
}

.about-image-wrapper-2:hover .about-image-2 {
    /* 2. Aumenta el brillo y el contraste de la foto de forma sutil */
    filter: brightness(1.2) contrast(1.1);
}
/* =========================================
   SECCIÓN: VALORES, PRINCIPIOS Y LEMA
   ========================================= */

#valores-principios {
    background-color: #ffffff;
    width: 100%;
}

/* --- Tipografía de Títulos y Textos --- */
.vp-title {
    color: #265b82; /* Azul Westhill */
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
}

.vp-text {
    color: #3b6b8c; /* Azul más suave para los párrafos */
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 400;
}

/* --- Círculo de la Fotografía --- */
.valores-photo-circle {
    width: 100%;
    max-width: 480px; /* Tamaño máximo que alcanzará en PC */
    
    /* EL TRUCO MODERNO: Fuerza a que la caja siempre sea cuadrada */
    aspect-ratio: 1 / 1; 
    
    border-radius: 50%; /* La vuelve un círculo */
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* Sombra suave y elegante */
    transition: transform 0.4s ease;
}

.valores-photo-circle:hover {
    transform: scale(1.02); /* Ligero zoom al pasar el mouse */
}

/* --- Caja del Lema Institucional --- */
.lema-box {
    background-color: #265b82; /* Azul oscuro */
    border-radius: 50px; /* Borde estilo pastilla */
    padding: 20px 45px;
    display: inline-block; /* Hace que la caja envuelva al texto, no a toda la pantalla */
    box-shadow: 0 10px 25px rgba(38, 91, 130, 0.35); /* Sombra teñida de azul */
    transition: transform 0.3s ease;
}

.lema-box:hover {
    transform: translateY(-5px); /* Salto sutil al hover */
}

.lema-box-latin {
    color: #ffffff;
    font-weight: 800; /* Súper negrita */
    font-size: 1.8rem;
    font-family: 'Raleway', sans-serif;
}

.lema-box-esp {
    color: #ffffff;
    font-weight: 400;
    font-size: 1.1rem;
}

/* =========================================
   COMPORTAMIENTO RESPONSIVE (MÓVILES)
   ========================================= */
@media (max-width: 991px) {
    .valores-photo-circle {
        max-width: 320px; /* Círculo más pequeño en móvil */
    }
    
    .vp-title {
        font-size: 2rem;
    }
    
    .vp-text {
        font-size: 1.1rem;
    }

    .lema-box {
        padding: 15px 25px; /* Pastilla más compacta */
    }

    .lema-box-latin {
        font-size: 1.4rem;
    }
}
/* =========================================
   SECCIÓN: PORTAL ALGEBRAIX (IFRAME)
   ========================================= */

#portal-algebraix {
    background-color: #ffffff; 
    width: 100%;
}

.iframe-wrapper {
    width: 100%;
    /* Aseguramos una altura generosa para que quepa el portal de Algebraix sin necesidad de scroll */
    height: 750px; 
    
    border-radius: 30px; 
    /* ¡CRÍTICO! Esto corta cualquier elemento del iframe que intente salirse (como barras ocultas) */
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.281); 
    
    animation: fadeIn 0.8s ease-in-out;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none; 
}

/* =========================================
   ADAPTACIÓN PARA MÓVILES
   ========================================= */
@media (max-width: 991px) {
    .iframe-wrapper {
        height: 600px; /* Un poco más alto en móvil para que el formulario entre completo */
        border-radius: 20px;
    }
}
/* =========================================
   SECCIÓN: EVENTOS SEMANALES
   ========================================= */

#eventos-semanales {
    background-color: #ffffff; /* O el color de fondo que prefieras */
    width: 100%;
}

/* --- Estilo de las Tarjetas (Flyers) --- */
.evento-card {
    display: block; /* Necesario porque es una etiqueta <a> */
    border-radius: 20px; /* Bordes redondeados como en tu diseño */
    overflow: hidden; /* Evita que la imagen se salga de los bordes curvos */
    
    /* EFECTO 3D BASE: Sombra elegante y difuminada */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); 
    
    /* Prepara la animación para que sea fluida (0.4 segundos) */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

/* --- Imagen dentro de la tarjeta --- */
.evento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que la imagen se estire feo */
    
    /* TRUCO: Fuerza a que todas las tarjetas tengan proporción de flyer vertical (3 de ancho x 4 de alto) */
    aspect-ratio: 3 / 4; 
}

/* --- EFECTO HOVER: Movimiento y 3D --- */
.evento-card:hover {
    /* 1. Mueve la tarjeta 15 píxeles hacia arriba */
    transform: translateY(-15px); 
    
    /* 2. Hace la sombra más grande y oscura, dando el efecto de que "flota" más cerca de ti */
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25); 
}
/* =========================================
   SECCIÓN: ATENCIÓN PSICOLÓGICA
   ========================================= */

#atencion-psicologica {
    background-color: #ffffff;
    width: 100%;
}

/* --- Estilo de la Imagen --- */
.img-psicologia {
    border-radius: 40px; /* Bordes muy redondeados como en tu diseño */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); /* Sombra elegante */
    object-fit: cover;
    width: 100%;
}

/* --- Tipografía y Textos --- */
.psicologia-title {
    color: #000000;
    font-weight: 700;
    font-size: 2.5rem;
    font-family: 'Raleway', sans-serif;
}

.psicologia-text {
    color: #333333;
    font-size: 1.15rem;
    line-height: 1.6;
}

.psicologia-subtitle {
    color: #333333;
    font-size: 1.15rem;
    font-weight: 600; /* Un poco más grueso para destacar */
}

/* --- Lista de Palomitas --- */
.psicologia-list li {
    font-size: 1.15rem;
    color: #333333;
    margin-bottom: 5px;
}
/* 1. Agregamos la transición a la clase que ya tienes para que el movimiento sea suave */
.img-psicologia {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 2. Creamos el efecto Hover (Un ligero zoom y la sombra se hace más profunda) */
.img-psicologia:hover {
    transform: scale(1.02); /* Crece un 2% */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* La sombra se expande */
}

/* --- Pastilla Verde ("Agenda tu cita") --- */
.badge-cita {
    background-color: #27ae60; /* Verde similar al de tu imagen */
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 25px; /* Forma de pastilla redonda */
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
}

/* --- Teléfonos de Contacto --- */
.telefonos-cita a {
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.telefonos-cita a:hover {
    color: #27ae60 !important; /* Se pinta de verde al pasar el mouse */
}

.icon-green {
    color: #27ae60; /* Ícono verde */
    margin-right: 10px;
    font-size: 1.1rem;
}

/* =========================================
   COMPORTAMIENTO RESPONSIVE (MÓVILES)
   ========================================= */
@media (max-width: 991px) {
    .psicologia-title {
        font-size: 2rem;
        text-align: center;
    }
    
    /* Centramos los textos en pantallas pequeñas */
    .psicologia-text, 
    .psicologia-subtitle, 
    .psicologia-list {
        text-align: center;
    }
    
    /* Acomodamos la pastilla y los teléfonos para que queden centrados */
    .contacto-cita-box {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin-top: 30px;
    }
    
    .telefonos-cita {
        margin-top: 15px;
    }
}
/* =========================================
   BUZÓN WESTHILL - FONDO AJUSTADO Y CENTRADO
   ========================================= */

.buzon-ajustado-bg {
    background-color: #225a84 !important;
    width: 100% !important;
    display: block !important; 
    
    /* Le damos el espaciado exacto arriba y abajo por separado */
    padding-top: 30px !important; 
    padding-bottom: 70px !important; /* Esto reemplaza a los 3 <br> */
    padding-left: 15px !important;
    padding-right: 15px !important;
    
    box-sizing: border-box !important;
}

.buzon-ajustado-card {
    background-color: #e8ebee !important;
    width: 100% !important;
    max-width: 950px !important;
    
    /* CENTRADO INFALIBLE: Mantiene la caja en medio pase lo que pase */
    margin: 0 auto !important; 
    
    border-radius: 30px !important;
    padding: 40px 50px !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    box-sizing: border-box !important;
}

.img-buzon-ajustado {
    max-height: 160px !important;
    width: auto !important;
    display: inline-block !important;
}

.texto-buzon-ajustado {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    color: #111111 !important;
    font-family: 'Raleway', sans-serif !important;
    font-weight: 400 !important;
}

.texto-buzon-ajustado strong {
    font-weight: 800 !important;
}

.link-buzon-ajustado {
    color: #111111 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px !important;
    transition: color 0.3s ease, text-decoration-color 0.3s ease !important;
}

.link-buzon-ajustado:hover {
    color: #225a84 !important;
    text-decoration-color: #225a84 !important;
}

/* =========================================
   MÓVILES
   ========================================= */
@media (max-width: 768px) {
    .buzon-ajustado-bg {
        padding: 20px 10px !important; /* Aún más ajustado en celulares */
    }
    .buzon-ajustado-card {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }
    .texto-buzon-ajustado {
        font-size: 1.15rem !important;
    }
    .img-buzon-ajustado {
        max-height: 120px !important;
    }
}
/* =========================================
   SECCIÓN: BANNER DE AVISOS (PEGADO A LA DERECHA)
   ========================================= */

#banner-aviso {
    background-color: #ffffff; 
    width: 100%;
    overflow-x: hidden; /* Evita que genere barras de desplazamiento horizontales */
}

/* --- Contenedor Principal (La Sombra Amarilla) --- */
.aviso-wrapper {
    background-color: #f1c40f; 
    
    /* Curvamos solo las esquinas IZQUIERDAS */
    border-radius: 60px 0 0 60px; 
    
    /* Le damos un ancho máximo generoso, pero dejamos que se pegue a la derecha */
    width: 100%;
    max-width: 1050px; 
    margin-left: auto; /* Empuja la caja totalmente hacia la derecha */
    margin-right: 0;
    
    /* Sombra amarilla hacia abajo e izquierda */
    padding-top: 0px;
    padding-right: 0px; /* Cero padding derecho para que la caja azul toque el borde de la pantalla */
    padding-bottom: 20px; 
    padding-left: 20px;   
}

/* --- Caja Azul Principal --- */
.aviso-caja-azul {
    background-color: #225a84; 
    border-radius: 60px 0 0 60px; 
    padding: 45px 50px 45px 60px; /* Un poco más de espacio a la izquierda para respirar */
    height: 100%; 
}

/* --- Pastilla "AVISO" --- */
.badge-aviso {
    background-color: #3498db; 
    color: #ffffff;
    font-weight: 800;
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    padding: 8px 25px;
    border-radius: 8px; 
    display: inline-block;
}

/* --- Textos --- */
.aviso-titulo {
    color: #ffffff !important;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    line-height: 1.3;
}

.aviso-texto-principal {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 300; 
}

.aviso-link {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.aviso-link:hover {
    color: #f1c40f; 
}

.aviso-texto-secundario {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
}

/* =========================================
   COMPORTAMIENTO RESPONSIVE (MÓVILES)
   ========================================= */
@media (max-width: 768px) {
    .aviso-wrapper {
        border-radius: 30px 0 0 30px; 
        padding-bottom: 10px;
        padding-left: 10px;
    }
    
    .aviso-caja-azul {
        border-radius: 30px 0 0 30px; 
        padding: 30px 20px;
        text-align: center; 
    }
    
    .aviso-titulo {
        font-size: 1.4rem;
    }
    
    .badge-aviso {
        margin-bottom: 15px; 
    }
}
/* =========================================
   SECCIÓN: CONTINUA TUS ESTUDIOS
   ========================================= */

/* --- Título Principal --- */
.estudios-main-title {
    color: #111111;
    font-weight: 700;
    font-size: 2.2rem;
    font-family: 'Raleway', sans-serif;
}

/* --- La Tarjeta Base --- */
.tarjeta-estudio {
    width: 100%;
    max-width: 320px; /* Ancho ideal para mantener la proporción de la foto */
    height: 480px; /* Tarjeta alta y elegante */
    
    background-color: #cccccc; /* Gris por si la imagen tarda en cargar */
    background-size: cover;
    background-position: center;
    
    border-radius: 25px; /* Bordes muy redondeados como en tu diseño */
    position: relative;
    overflow: hidden; /* Corta todo lo que se salga de los bordes curvos */
    
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Sombra 3D */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Un sutil salto hacia arriba de toda la tarjeta al pasar el ratón */
.tarjeta-estudio:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* --- La Etiqueta Azul (Default) --- */
.etiqueta-estudio {
    position: absolute;
    bottom: 30px; /* Separada del fondo */
    left: 0; /* Pegada al borde izquierdo de la tarjeta */
    
    background-color: #225a84; /* Azul Westhill */
    color: #ffffff;
    font-weight: 700;
    font-size: 1.4rem;
    font-family: 'Raleway', sans-serif;
    
    /* Curva solo del lado derecho */
    padding: 12px 35px 12px 25px;
    border-radius: 0 30px 30px 0; 
    
    transition: opacity 0.4s ease;
    z-index: 2; /* Se mantiene por encima de la foto */
}

/* --- El Overlay Oscuro (Aparece al Hover) --- */
.overlay-estudio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(30, 30, 30, 0.85); /* Gris muy oscuro transparente */
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinea el contenido arriba */
    
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.4s ease;
    z-index: 3;
    
    overflow-y: auto; /* Permite hacer scroll interno si la lista es muy larga */
}

/* --- Animación al pasar el mouse --- */
.tarjeta-estudio:hover .overlay-estudio {
    opacity: 1; /* Revela la capa oscura y la lista */
}

.tarjeta-estudio:hover .etiqueta-estudio {
    opacity: 0; /* Oculta la etiqueta azul para que no estorbe */
}

/* --- Textos dentro del Overlay --- */
.overlay-titulo {
    color: #ffffff;
    font-weight: 800;
    font-size: 2rem;
    font-family: 'Raleway', sans-serif;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2); /* Una línea sutil debajo del título */
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.overlay-lista {
    color: #ffffff;
    padding-left: 20px; /* Sangría para las viñetas */
    margin: 0;
}

.overlay-lista li {
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 8px;
    line-height: 1.3;
}

/* =========================================
   MÓVILES
   ========================================= */
@media (max-width: 768px) {
    .tarjeta-estudio {
        height: 400px; /* Un poco más cortas en celular */
        max-width: 100%; /* Ocupan todo el ancho disponible */
    }
    
    .estudios-main-title {
        font-size: 1.8rem;
    }
}
/* =========================================
   SECCIÓN: BOLSA DE TRABAJO
   ========================================= */

#bolsa-trabajo {
    background-color: #ffffff;
    width: 100%;
}

/* --- Título Principal --- */
.titulo-bolsa {
    font-family: 'Raleway', sans-serif;
    font-weight: 600; /* Negrita media */
    font-size: 2.2rem;
    color: #111111;
}

.linea-titulo {
    width: 150px; /* Línea corta debajo del título */
    border: 0;
    border-top: 2px solid #e0e0e0; 
    margin: 0;
    opacity: 1;
}

/* --- La Tarjeta de Vacante --- */
.job-card {
    background: #ffffff;
    border: 1px solid #eaeaea; /* Borde gris muy tenue */
    border-radius: 2px; /* Esquinas casi cuadradas, muy corporativo */
    padding: 25px 25px 30px 25px; /* Espaciado interno generoso */
    height: 100%; /* Obliga a todas las tarjetas a medir lo mismo de alto */
    display: flex;
    flex-direction: column; /* Organiza el interior en columna */
    transition: box-shadow 0.3s ease;
}

/* Efecto opcional: sombra sutil al pasar el mouse */
.job-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
}

/* --- Encabezado de la Tarjeta (Línea divisoria) --- */
.job-header {
    border-bottom: 1px solid #eaeaea; /* Línea que separa el logo del texto */
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.job-logo {
    max-width: 70px; /* Tamaño del logo */
    max-height: 40px;
    object-fit: contain; /* Evita que el logo se deforme */
}

.job-company {
    font-size: 0.9rem;
    color: #999999; /* Texto gris claro para el nombre de la empresa */
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    line-height: 1.2;
}

/* --- Cuerpo (Textos) --- */
.job-body {
    margin-bottom: 25px;
}

.job-text {
    font-size: 0.85rem;
    color: #777777; /* Gris medio */
    margin-bottom: 10px;
    line-height: 1.5;
}

.job-text strong {
    color: #333333; /* Resalta las palabras Puesto y Sueldo en oscuro */
    font-weight: 700;
}

/* --- Botón "VER VACANTE" --- */
.btn-vacante {
    background-color: #225a84; /* Azul institucional */
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px 25px;
    text-decoration: none;
    display: inline-block;
    border-radius: 2px;
    letter-spacing: 0.5px; /* Separa un poco las letras */
    transition: background-color 0.3s ease;
}

.btn-vacante:hover {
    background-color: #174060; /* Azul más oscuro al pasar el ratón */
    color: #ffffff;
}
/* =========================================
   SECCIÓN: AVISO IMPORTANTE (SALUD)
   ========================================= */

#aviso-salud {
    background-color: #ffffff;
    width: 100%;
}

/* --- Contenedor y efecto de la Imagen --- */
.aviso-img-wrapper {
    overflow: hidden; /* Asegura que al crecer la imagen no se salga de sus bordes redondeados */
    border-radius: 30px; /* Bordes suaves como en el diseño */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.671); /* Sombra muy sutil */
    
    /* Limitamos un poco el ancho para que coincida con la proporción de tu foto */
    max-width: 450px; 
    margin: 0 auto; /* Centra la imagen si la pantalla es más pequeña */
}

.aviso-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    
    /* Preparamos la animación para que sea suave (0.4 segundos) */
    transition: transform 0.4s ease; 
}

/* El efecto HOVER: Crece un 4% al pasar el mouse */
.aviso-img-wrapper:hover .aviso-img {
    transform: scale(1.04); 
}

/* --- Tipografía --- */
.aviso-titulonot {
    color: #111111;
    font-size: 2.6rem; /* Título grande y llamativo */
    line-height: 1.2;
    font-family: 'Raleway', sans-serif;
    font-weight: 300; /* Peso ligero para la segunda mitad del texto */
    text-align: center;
}

.aviso-titulonot strong {
    font-weight: 800; /* Peso muy grueso para "Aviso Importante" */
}

.aviso-texto {
    color: #444444; /* Gris oscuro para lectura cómoda */
    font-size: 1.15rem;
    line-height: 1.6;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    text-align: justify;
    margin-bottom: 15px; /* Separación entre los párrafos */
}

/* =========================================
   MÓVILES
   ========================================= */
@media (max-width: 991px) {
    .aviso-titulo {
        font-size: 2rem;
        text-align: center;
        margin-top: 20px;
    }
    
    .aviso-texto {
        font-size: 1.05rem;
        text-align: justify; /* Justificado en móviles suele verse más ordenado, o puedes cambiarlo a center */
    }
}
/* =========================================
   SECCIÓN: CAMINATA WESTHILL / ARTÍCULOS
   ========================================= */

#caminata-westhill {
    background-color: #ffffff; /* Fondo blanco limpio */
    width: 100%;
}

/* --- Textos --- */
.caminata-titulo {
    color: #111111; /* Casi negro para máximo contraste */
    font-family: 'Raleway', sans-serif;
    font-weight: 800; /* Letra gruesa como en tu diseño */
    font-size: 2.8rem;
    line-height: 1.2;
}

.caminata-texto {
    color: #333333; /* Gris oscuro para lectura cómoda */
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify; /* Justificado perfecto como solicitaste */
}

/* --- Contenedor y efecto de la Imagen (Igual al de salud) --- */
.caminata-img-wrapper {
    overflow: hidden; /* Esto es vital: corta la imagen cuando crece para no perder el borde curvo */
    border-radius: 35px; /* Bordes bien redondeados según tu foto */
    margin: 0 auto; 
    max-width: 500px; /* Ancho máximo para mantener buena proporción */
}

.caminata-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    
    /* La transición para que el zoom sea suave */
    transition: transform 0.4s ease; 
}

/* El Efecto: Crece un 4% al hacer hover */
.caminata-img-wrapper:hover .caminata-img {
    transform: scale(1.04); 
}

/* =========================================
   MÓVILES Y TABLETS
   ========================================= */
@media (max-width: 991px) {
    .caminata-titulo {
        font-size: 2.2rem;
    }
    
    .caminata-texto {
        font-size: 1.05rem;
    }
    
    .caminata-img-wrapper {
        margin-top: 15px; /* Un poco de aire arriba de la foto cuando pasa a estar debajo del texto */
    }
}
/* =========================================
   SECCIÓN: ACTIVIDADES WEST
   ========================================= */
/* --- Título --- */
.actividades-titulo {
    color: #225a84;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: left; 
}

/* --- ESTA ES LA CORRECCIÓN CLAVE --- */
.row-actividades {
    /* 90px para compensar la foto + 30px de aire visual = 120px */
    margin-top: 120px !important; 
}

/* --- (El resto de tu CSS para .actividad-card, .actividad-img-wrapper se queda igual) --- */

/* --- La Tarjeta Base (Fondo Azul) --- */
.actividad-card {
    background-color: #225a84; /* Color base */
    
    /* Agregamos una marca de agua de fondo (Asegúrate de tener un PNG transparente blanco/claro) */
    background-image: url('img/marca-agua.png');/*actividades west*/
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    
    width: 78%;
    max-width: 350px; /* Limita el ancho para que no se vea desproporcionada */
    
    /* Bordes: Curvos arriba (para seguir la foto) y abajo */
    border-radius: 40px; 
    
    position: relative; /* CRUCIAL: Permite posicionar la foto de forma absoluta adentro */
    
    /* El padding superior es gigante (110px) para dejar espacio interno a la foto que entra desde arriba */
    padding: 110px 30px 40px 30px;
    
    /* Sombra para despegarlo del fondo blanco */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.actividad-card:hover {
    transform: translateY(-5px); /* Pequeño salto al pasar el mouse */
}

/* --- La Imagen Superpuesta --- */
.actividad-img-wrapper {
    position: absolute;
    
    /* La mitad de su altura (180/2 = 90) para que quede exactamente a la mitad del borde superior */
    top: -119px; 
    left: 50%;
    transform: translateX(-50%); /* Lo centra horizontalmente de forma perfecta */
    
    width: 220px;
    height: 220px;
    border-radius: 50%; /* Lo hace un círculo perfecto */
    
    /* Borde grueso del mismo color que la tarjeta para simular el "cuello" */
    border: 8px solid #225a84; 
    
    background-color: #ffffff;
    overflow: hidden;
    z-index: 2; /* Asegura que esté por encima del fondo */
}

.actividad-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que las fotos se aplasten */
}

/* --- Textos Internos --- */
.actividad-content {
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 3; /* Asegura que el texto esté por encima de la marca de agua */
}

.actividad-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 20px;
    line-height: 1.2;
}

.actividad-card-text {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.5;
    text-align: justify;
    margin: 0;
}

/* =========================================
   MÓVILES
   ========================================= */
@media (max-width: 768px) {
    .actividades-titulo {
        text-align: center;
        font-size: 2rem;
    }
    
    .actividad-card {
        margin-top: 80px; /* Margen un poco más chico en móvil */
        padding: 100px 20px 30px 20px;
    }
}

/* =========================================
   REGLAMENTOS - TÍTULOS AL BORDE IZQUIERDO
   ========================================= */

.titulos-borde-izquierdo {
    width: 100%;
    margin: 0;
}

.badge-reglamentos {
    background-color: #225a84;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    display: inline-block; 
    padding: 10px 40px 10px 50px; 
    border-radius: 0 40px 40px 0;
}

.titulo-normativas {
    color: #225a84;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    padding-left: 50px;
}

/* =========================================
   TARJETAS - REGLAMENTOS"
   ========================================= */

.tarjeta-documento {
    display: block;
    width: 100%;
    height: 380px;
    border-radius: 15px;
    position: relative;
    overflow: hidden; /* Mantiene el zoom de la foto dentro de la tarjeta */
    text-decoration: none;
    background-color: #f8f9fa;
    
    /* Sombra normal */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    
    /* Transición para el movimiento de la tarjeta */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* === HOVER DE LA TARJETA (Elevación y Sombra profunda) === */
.tarjeta-documento:hover {
    transform: translateY(-10px) !important; /* Flota 10px arriba */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important; /* Sombra intensa */
}

/* --- La imagen de fondo (Div interno) --- */
.img-fondo-doc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 1;
    
    /* Transición para el zoom */
    transition: transform 0.4s ease;
}

/* === HOVER DE LA IMAGEN (Zoom 1.05) === */
.tarjeta-documento:hover .img-fondo-doc {
    transform: scale(1.05); /* La foto crece un 5% */
}

/* --- Overlay oscuro (Hover) --- */
.doc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(224, 28, 28, 0.92); 
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2; /* Por encima de la foto */
    padding: 30px 25px;
}

.tarjeta-documento:hover .doc-overlay {
    opacity: 1;
}

.doc-titulo {
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.2;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .badge-reglamentos, .titulo-normativas { padding-left: 20px; }
    .badge-reglamentos { font-size: 1.8rem; }
    .titulo-normativas { font-size: 1.8rem; }
    .tarjeta-documento { max-width: 320px; margin: 0 auto; }
}
/* --- El "Enlace" Centrado en el Overlay --- */
.doc-btn-centrado {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Lo ancla en el centro matemático perfecto */
    
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: .8 rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    
    /* Diseño tipo botón "fantasma" */
    border: 2px solid #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    
    /* Transición si el mouse pasa sobre el botón mismo */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Efecto al pasar el mouse por encima del botón específicamente */
.doc-btn-centrado:hover {
    background-color: #ffffff;
    color: #225a84; /* Cambia a tu azul institucional */
}


/* =========================================
   SECCIÓN: PUERTA AL CONOCIMIENTO
   ========================================= */

#puerta-conocimiento {
    background-color: #ffffff;
    width: 100%;
}

/* --- Título principal --- */
.titulo-conocimiento {
    color: #111111;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

/* --- Párrafos --- */
.texto-conocimiento {
    color: #333333;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

/* --- Imagen con bordes curvos --- */
.img-conocimiento {
    width: 85%;
    height: 85%;
    
    /* Bordes bien redondeados idénticos a la sección anterior */
    border-radius: 25px; 
    
    object-fit: cover;
    
    /* Efecto hover suave (opcional para consistencia) */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-conocimiento:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* =========================================
   MÓVILES Y TABLETS
   ========================================= */
@media (max-width: 991px) {
    .titulo-conocimiento {
        font-size: 2rem;
    }
    
    .texto-conocimiento {
        font-size: 1.05rem;
    }
}
/* =========================================
   SECCIÓN: BANNER BIBLIOTECA (EFECTO SHINE)
   ========================================= */

/* --- Ajustes del contenedor del banner --- */
.banner-biblioteca {
    position: relative;
    width: 100%;
    height: 60vh; /* Altura del banner (60% de la pantalla) */
    min-height: 400px;
    
    /* VITAL: Evita que el brillo genere scroll horizontal cuando sale por la derecha */
    overflow: hidden; 
    
    background-color: #1a1a1a; /* Fondo por si la imagen tarda en cargar */
    cursor: pointer;
}

/* --- Ajuste de la imagen --- */
.banner-biblioteca img {
    width: 100%;
    height: 100%;
    
    /* COVER es la magia: llena el espacio sin deformar la foto */
    object-fit: cover; 
    object-position: center;
}

/* --- (Opcional) Texto centrado sobre el banner --- */
.texto-encima {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* Por encima del brillo */
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    text-align: center;
    pointer-events: none; /* Para que no interrumpa el hover */
}

/* =========================================
   SECCIÓN: BANNER BIBLIOTECA (EFECTO SHINE)
   ========================================= */

/* --- Aseguramos que el contenedor general tome el 100% --- */
.hover14 {
    width: 100%;
    display: block;
    overflow: hidden;
}

/* --- Ajustes del Banner --- */
.banner-biblioteca {
    position: relative;
    width: 100%;
    height: 60vh; /* Altura del banner (60% de la pantalla) */
    min-height: 400px; /* Altura mínima para celulares */
    margin: 0; /* VITAL: Quita márgenes por defecto del navegador */
    padding: 0;
    overflow: hidden;
    background-color: #1a1a1a;
    cursor: pointer;
    display: block;
}

/* --- La Imagen (Magia del Cover) --- */
.img-banner {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llena el espacio SIN deformar la foto */
    object-position: center; /* Mantiene el centro de la foto visible */
    display: block;
}

/* --- Texto centrado sobre el banner --- */
.texto-encima {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* Por encima de la imagen y del brillo */
    color: #ffffff;
    text-align: center;
    pointer-events: none; /* No bloquea el hover del ratón */
}

/* Diseño del título */
.texto-encima h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 3.5rem; /* Letra grande para el banner */
    margin: 0;
    /* Sombra oscura para que se lea perfecto sobre cualquier foto */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); 
}

/* =========================================================
   EFECTO COMBINADO: SHINE + ZOOM
========================================================= */

/* Contenedor principal de la imagen */
.hover14 figure {
    position: relative;
    overflow: hidden; /* CRUCIAL: Corta la imagen para que el zoom no se salga de los bordes*/
    margin: 0;        /* Reseteo de márgenes por defecto*/
    background: #000; /* Fondo negro por si la imagen tarda en cargar*/
}

/* Ajustes de la imagen para que ocupe el ancho y responda al zoom */
.hover14 figure img {
    display: block;   /* Quita espacios extra abajo*/
    width: 100%;      /* Ocupa todo el ancho*/
    height: auto;     /* Mantiene proporción*/
    
    /* PREPARACIÓN PARA ZOOM: Indica qué propiedad animar y cuánto tiempo*/
    -webkit-transition: -webkit-transform 0.75s ease;
    transition: transform 0.75s ease; /* Sincronizado con la duración del brillo*/
}

/* --- EL ZOOM ---
   Cuando se pasa el mouse por el figure, escalamos la imagen un 10%*/
.hover14 figure:hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1); /* Agranda la imagen un 10%*/
}


/* =========================================
   SECCIÓN: BANNER BIBLIOTECA (SHINE + ZOOM)
   ========================================= */

/* --- Contenedor Principal --- */
.hover14 {
    width: 100%;
    display: block;
}

/* --- El Banner (Figure) --- */
.hover14 figure.banner-biblioteca {
    position: relative;
    width: 100%;
    height: 60vh; /* La altura de tu banner */
    min-height: 400px;
    margin: 0;
    padding: 0;
    
    /* VITAL: Corta la imagen para que el zoom y el brillo no se salgan */
    overflow: hidden; 
    
    background-color: #1a1a1a;
    cursor: pointer;
    display: block;
}

/* --- LA IMAGEN CORREGIDA --- */
.hover14 figure.banner-biblioteca img.img-banner {
    display: block;
    width: 100%;
    
    /* ESTA FUE LA CORRECCIÓN CLAVE: 100% en lugar de auto */
    height: 100%; 
    
    /* COVER: Mantiene la proporción perfecta recortando lo que sobra */
    object-fit: cover; 
    object-position: center;
    
    /* Preparación para el zoom suave */
    -webkit-transition: -webkit-transform 0.75s ease;
    transition: transform 0.75s ease;
}

/* --- EL ZOOM (Al pasar el ratón) --- */
.hover14 figure.banner-biblioteca:hover img.img-banner {
    /* Un zoom sutil del 5% para que se vea elegante */
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* --- Texto centrado sobre el banner --- */
.texto-encima {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* Por encima de la imagen y del brillo */
    color: #ffffff;
    text-align: center;
    pointer-events: none; /* No interrumpe el hover del ratón */
}

.texto-encima h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 4rem; /* Tamaño de letra grande */
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); /* Sombra para legibilidad */
}

/* =========================================
   EFECTO SHINE (BRILLO)
   ========================================= */

.hover14 figure.banner-biblioteca::before {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.hover14 figure.banner-biblioteca:hover::before {
    -webkit-animation: shine 0.75s;
    animation: shine 0.75s;
}

@-webkit-keyframes shine {
    100% { left: 125%; }
}

@keyframes shine {
    100% { left: 125%; }
}

/* =========================================
   MÓVILES
   ========================================= */
@media (max-width: 768px) {
    .texto-encima h2 {
        font-size: 2.5rem; /* Letra un poco más chica en celulares */
    }
}
/* =========================================
   SECCIÓN: EXPERIENCIA BIBLIOTECA
   ========================================= */

#experiencia-biblioteca {
    background-color: #ffffff; /* Fondo blanco */
    width: 100%;
}

/* --- Título principal --- */
.titulo-experiencia {
    color: #111111; /* Casi negro */
    font-family: 'Raleway', sans-serif;
    font-weight: 700; /* Negrita */
    font-size: 2.5rem;
    line-height: 1.2;
}

/* --- Párrafos --- */
.texto-experiencia {
    color: #333333; /* Gris oscuro para lectura cómoda */
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

/* --- Lista con viñetas --- */
.lista-experiencia {
    color: #333333;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 2rem; /* Deja espacio para los puntos de la lista */
}

.lista-experiencia li {
    margin-bottom: 6px; /* Separación sutil entre cada punto */
}

/* --- Imagen con bordes curvos --- */
.img-experiencia {
    width: 100%;
    height: auto;
    
    /* Recrea los bordes muy redondeados de tu diseño */
    border-radius: 25px; 
    
    object-fit: cover;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Leve interactividad al pasar el mouse */
.img-experiencia:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* Sombra suave */
}

/* =========================================
   MÓVILES Y TABLETS
   ========================================= */
@media (max-width: 991px) {
    .titulo-experiencia {
        font-size: 2rem;
    }
    
    .texto-experiencia, .lista-experiencia {
        font-size: 1.05rem;
    }
    
    /* Da más espacio entre el último párrafo y la foto cuando se apilan */
    .img-experiencia {
        margin-top: 20px; 
    }
}
/* =========================================
   SECCIÓN AISLADA: BIBLIOTECA VIRTUAL (MARQUEE)
   ========================================= */

#seccion-biblioteca-virtual .bv-titulo {
    color: #000000;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

#seccion-biblioteca-virtual .bv-slider-contenedor {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Difuminado lateral */
#seccion-biblioteca-virtual .bv-slider-contenedor::before,
#seccion-biblioteca-virtual .bv-slider-contenedor::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

#seccion-biblioteca-virtual .bv-slider-contenedor::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa00 0%, rgba(248, 249, 250, 0) 100%);
}

#seccion-biblioteca-virtual .bv-slider-contenedor::after {
    right: 0;
    background: linear-gradient(to left, #ffffff00 0%, rgba(248, 249, 250, 0) 100%);
}

/* Pista de movimiento */
#seccion-biblioteca-virtual .bv-slider-track {
    display: flex;
    align-items: center;
    width: calc(250px * 8); /* Ajusta a la cantidad total de logos */
    animation: scrollLogosBiblioteca 25s linear infinite;
}

#seccion-biblioteca-virtual .bv-slider-contenedor:hover .bv-slider-track {
    animation-play-state: paused;
}

/* Contenedor individual del logo */
#seccion-biblioteca-virtual .bv-logo-item {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

/* Imagen del logo controlada y aislada */
#seccion-biblioteca-virtual .bv-logo-item img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    display: block; /* Evita que herede estilos de display inline */
    margin: 0;
    padding: 0;
}

/* Animación con nombre único para evitar choques */
@keyframes scrollLogosBiblioteca {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 4)); } /* Ajustar si pones más/menos logos */
}

/* Responsive */
@media (max-width: 768px) {
    #seccion-biblioteca-virtual .bv-titulo {
        font-size: 2rem;
    }
    #seccion-biblioteca-virtual .bv-slider-contenedor::before,
    #seccion-biblioteca-virtual .bv-slider-contenedor::after {
        width: 50px;
    }
}
/*informaicon*/
/* =========================================
   SECCIÓN AISLADA: OPORTUNIDAD WESTHILL
   ========================================= */

#oportunidad-westhill {
    background-color: #ffffff;
    padding: 80px 0 150px 0; /* 150px de espacio abajo para el footer */
    position: relative;
    overflow: hidden; 
}

/* --- Título --- */
#oportunidad-westhill .titulo-oportunidad {
    color: #000000;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

/* --- Contenedor del Formulario (Sin fondo, sin sombra) --- */
#oportunidad-westhill .contenedor-formulario {
    /* Establecemos una altura mínima compartida para que ambos lados midan igual */
    min-height: 700px; 
    width: 100%;
}

/* --- Iframe del Formulario --- */
#oportunidad-westhill .iframe-smartsheet {
    width: 100%;
    height: 100%;
    min-height: 700px;
    border: none;
    background: transparent !important;
    overflow: hidden;
}

/* --- Contenedor de la Imagen Derecha (Igualando tamaño) --- */
#oportunidad-westhill .contenedor-imagen-oportunidad {
    width: 100%;
    min-height: 700px; /* Exactamente la misma altura mínima que el formulario */
    border-radius: 15px;
    overflow: hidden; /* VITAL para que la imagen no se desborde al hacer zoom */
    
    /* Opcional: Una leve sombra para que la foto destaque */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); 
}

/* --- La Imagen (Magia del Cover) --- */
#oportunidad-westhill .img-oportunidad {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llena el espacio sin deformarse */
    object-position: center;
    display: block;
    
    /* Prepara el movimiento suave */
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease; 
}

/* --- EFECTO HOVER DE LA IMAGEN --- */
#oportunidad-westhill .contenedor-imagen-oportunidad:hover .img-oportunidad {
    /* Hace un zoom del 5% hacia adentro al pasar el mouse */
    -webkit-transform: scale(1.05);
    transform: scale(1.05); 
}


/* --- Responsivo para Celulares --- */
@media (max-width: 991px) {
    #oportunidad-westhill .titulo-oportunidad {
        font-size: 2rem;
    }
    
    /* En móviles la imagen ya no necesita forzar la misma altura que el form */
    #oportunidad-westhill .contenedor-imagen-oportunidad {
        min-height: 400px;
    }
}
/* =========================================
   SECCIÓN AISLADA: CONVENIOS CON EMPRESAS
   ========================================= */

#seccion-convenios {
    background-color: #ffffff; /* Fondo blanco limpio */
    padding: 60px 0;
    width: 100%;
}

/* --- Título Principal --- */
#seccion-convenios .titulo-convenio {
    color: #1a4b82; /* Azul oscuro similar al de tu diseño */
    font-family: 'Raleway', sans-serif;
    font-weight: 600; /* Semi-negrita */
    font-size: 2.2rem;
}

/* --- Logo de la Empresa --- */
#seccion-convenios .logo-convenio {
    max-width: 85%; /* Evita que el logo sea demasiado invasivo */
    height: auto;
    display: inline-block;
}

/* --- Subtítulo (Semillero de Talentos) --- */
#seccion-convenios .subtitulo-convenio {
    color: #000000;
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    font-weight: 400; /* Peso normal para la palabra "Talentos" */
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Fuerza el texto en negrita dentro del subtítulo */
#seccion-convenios .subtitulo-convenio strong {
    font-weight: 800; /* Extra negrita para destacar */
}

/* --- Párrafo de texto --- */
#seccion-convenios .texto-convenio {
    color: #333333; /* Gris oscuro para facilitar la lectura */
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: justify; /* Texto justificado como en la imagen de referencia */
}

/* =========================================
   AJUSTES PARA MÓVILES (Responsivo)
   ========================================= */
@media (max-width: 768px) {
    #seccion-convenios .titulo-convenio {
        font-size: 1.8rem;
        text-align: center; /* Centramos el título en celulares */
    }
    
    #seccion-convenios .subtitulo-convenio {
        font-size: 1.8rem;
        text-align: center; /* Centramos el subtítulo en celulares */
    }
    
    #seccion-convenios .logo-convenio {
        max-width: 60%; /* Reducimos un poco el logo en pantallas pequeñas */
    }
}
/* =========================================
   SECCIÓN: CONVENIOS ESCOLARES
   ========================================= */

#seccion-convenios-escolares {
    background-color: #2b5f8c; 
    width: 100%;
    overflow: hidden; 
    font-family: 'Raleway', sans-serif;
    
    /* AÑADIDO: Espaciado interno para centrar todo visualmente */
    padding-top: 20px; 
    padding-bottom: 80px; /* Crea el espacio azul debajo de la segunda cinta */
}
#seccion-convenios-escolares .ce-titulo {
    color: #ffffff;
    font-weight: 600;
    font-size: 2.5rem;
}

#seccion-convenios-escolares .ce-label-buscar {
    font-size: 1.1rem;
}

#seccion-convenios-escolares .ce-input-buscar {
    width: 250px;
    border-radius: 5px;
    border: none;
    padding: 8px 15px;
}

#seccion-convenios-escolares .ce-badge-verde {
    background-color: #28a745; /* Verde del botón */
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* --- ESTILOS DE LOS LOGOS CIRCULARES --- */
#seccion-convenios-escolares .ce-logo-item {
    width: 160px; /* Ancho fijo para los círculos */
    height: 160px; /* Alto fijo, igual al ancho para que sea un círculo perfecto */
    background-color: #ffffff; /* Fondo blanco */
    border-radius: 50%; /* Hace que sea un círculo */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px; /* Espaciado entre cada logo */
    flex-shrink: 0;
    overflow: hidden; /* Corta lo que se salga del círculo */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* 2. Regla extra para asegurar que la segunda cinta no empuje elementos de más */
#seccion-convenios-escolares .ce-slider-cinta:last-child {
    margin-bottom: 0 !important; /* Elimina márgenes extra por debajo de la última cinta */
}

#seccion-convenios-escolares .ce-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ajusta la imagen sin deformarla */
}

/* --- ANIMACIONES DE LAS CINTAS PARA CONVENIOS ESCOLARES --- */
/* --- ANIMACIONES DE LAS CINTAS --- */
#seccion-convenios-escolares .ce-slider-cinta {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

#seccion-convenios-escolares .ce-track {
    display: flex;
    align-items: center;
    /* max-content hace que crezca infinitamente según el número de logos
       evitando que se corte en pantallas de alta resolución */
    width: max-content; 
}

/* Animación hacia la Izquierda (Cinta Superior) */
#seccion-convenios-escolares .ce-track-izq {
    animation: moverIzquierda 20s linear infinite;
}

/* Animación hacia la Derecha (Cinta Inferior) */
#seccion-convenios-escolares .ce-track-der {
    /* Empezamos en -50% y vamos a 0 para que se mueva al lado contrario */
    animation: moverDerecha 20s linear infinite;
}

/* Pausar al pasar el ratón */
#seccion-convenios-escolares .ce-slider-cinta:hover .ce-track {
    animation-play-state: paused;
}

/* Fotogramas Clave (Keyframes) */
@keyframes moverIzquierda {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Se mueve la mitad de su ancho total */
}

@keyframes moverDerecha {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* --- CUADRÍCULA PARA LOS RESULTADOS DE BÚSQUEDA --- */
#seccion-convenios-escolares .ce-grid-resultados {
    display: flex;
    flex-wrap: wrap; /* Permite que bajen a la siguiente línea */
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}
/* =========================================
   SECCIÓN AISLADA: CONVENIO INTERNACIONAL
   ========================================= */

#convenio-internacional {
    background-color: #ffffff; /* Fondo blanco limpio */
    padding: 80px 0;
    width: 100%;
}

/* --- Estilo de la Imagen --- */
#convenio-internacional .img-convenio-int {
    max-width: 100%;
    height: auto;
    border-radius: 25px; /* Crea los bordes redondeados suaves del diseño */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Sombra sutil para darle profundidad */
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}
.img-convenio-int:hover {
    transform: scale(1.05); /* Crece la imagen un 5% */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important; /* Acentúa un poco la sombra para dar más profundidad */
}

/* --- Título Principal --- */
#convenio-internacional .titulo-conv-int {
    color: #111111;
    font-family: 'Raleway', sans-serif;
    font-size: 2.8rem;
    font-weight: 300; /* Hace que el texto general del título sea más delgado */
    line-height: 1.2;
}

/* Fuerza el texto en negrita solo para la etiqueta <strong> */
#convenio-internacional .titulo-conv-int strong {
    font-weight: 800; /* Destaca fuertemente la palabra "Medicina" */
}

/* --- Párrafos de texto --- */
#convenio-internacional .texto-conv-int {
    color: #333333; /* Gris muy oscuro para lectura cómoda */
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify; /* Mantiene los bordes de texto rectos como en la imagen */
}

/* --- Lista con viñetas --- */
#convenio-internacional .lista-conv-int {
    color: #333333;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 1.8rem; /* Espacio para los puntos de la lista */
    margin-bottom: 1rem;
}

/* Separa ligeramente cada punto de la lista */
#convenio-internacional .lista-conv-int li {
    margin-bottom: 0.4rem; 
}

/* =========================================
   AJUSTES PARA MÓVILES (Responsivo)
   ========================================= */
@media (max-width: 991px) {
    #convenio-internacional .titulo-conv-int {
        font-size: 2rem; /* Reduce el tamaño del título en celulares */
    }
    
    #convenio-internacional .texto-conv-int,
    #convenio-internacional .lista-conv-int {
        text-align: left; /* En móviles es mejor alinear a la izquierda para leer mejor */
    }
}
/* =========================================
   SECCIÓN AISLADA: CONVENIO CANADÁ
   ========================================= */
/* --- Sección Acuerdo Internacional --- */
.seccion-acuerdo {
    background-color: #ffffff;
}

.texto-acuerdo h2 {
    font-size: 2.2rem;
    color: #222222;
    letter-spacing: -0.5px; /* Acerca ligeramente las letras para ese estilo limpio */
}

.texto-acuerdo h3 {
    font-size: 2.6rem;
    color: #000000;
}

.texto-acuerdo p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a4a4a; /* Gris oscuro para lectura cómoda */
    text-align: justify; /* Justifica el texto como en la imagen */
}

/* --- Imagen del Convenio --- */
.img-canada {
    width: 100%;
    max-width: 520px; 
    border-radius: 24px; 
    
    /* Agregamos la transición para que el movimiento sea suave */
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* --- Efecto Zoom al pasar el cursor --- */
.img-canada:hover {
    transform: scale(1.05); /* Crece la imagen un 5% */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important; /* Acentúa un poco la sombra para dar más profundidad */
}

/* --- Responsividad --- */
@media (max-width: 991px) {
    .texto-acuerdo h2 {
        font-size: 1.8rem;
    }
    .texto-acuerdo h3 {
        font-size: 2.2rem;
    }
    .img-canada {
        margin-top: 20px;
    }
}

/* =========================================
   AJUSTES PARA MÓVILES (Responsivo)
   ========================================= */
@media (max-width: 991px) {
    #convenio-canada .titulo-canada {
        font-size: 2rem; /* Achicamos el título en celulares */
    }
    
    #convenio-canada .texto-canada {
        text-align: left; /* Alinear a la izquierda es mejor para leer en pantallas pequeñas */
    }
}
/* =========================================
   SECCIÓN AISLADA: LICENCIATURAS Y PROMOCIÓN
   ========================================= */

#seccion-licenciaturas {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Cuadrícula Principal (CSS Grid) --- */
.grid-licenciaturas {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    grid-auto-flow: dense; 
}

/* --- Tarjetas (Rectángulos perfectos) --- */
.card-lic {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.4s ease;
    height: 380px; /* Altura estricta para ser rectangulares */
}

.card-lic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* --- Cintillo Azul (Generado con CSS) --- */
.cintillo-azul {
    position: absolute;
    bottom: 15px;
    left: 0;
    background-color: #1a568c; 
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 8px 20px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 2;
    transition: opacity 0.3s ease;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    line-height: 1.2;
}

/* --- Capa Oscura y Textos (Estado Hover) --- */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; 
    transition: opacity 0.4s ease;
    z-index: 3;
}

.hover-overlay .titulo-hover {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    line-height: 1.2;
}


/* --- EFECTOS HOVER --- */
.card-lic:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.card-lic:hover img {
    transform: scale(1.1); /* Zoom elegante */
}
.card-lic:hover .cintillo-azul {
    opacity: 0; /* Desaparece el cintillo azul */
}
.card-lic:hover .hover-overlay {
    opacity: 1; /* Aparece fondo, título centrado y triángulo amarillo */
}
.card-lic:hover .hover-overlay .titulo-hover {
    transform: translateY(0);
}

/* --- BLOQUE CENTRAL (Formulario y Video) --- */
.bloque-central-promo {
    grid-column: span 3; /* AHORA OCUPA 3 COLUMNAS, DEJANDO 1 PARA LAS TARJETAS */
    grid-row: span 2;    /* Ocupa el equivalente a 2 tarjetas de alto */
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px; /* Separación visual de la columna izquierda */
}

.titulo-promo {
    color: #111111;
    font-weight: 800;
    font-size: 2rem;
}

.promo-contenido {
    display: flex;
    gap: 20px;
    align-items: stretch;
    height: 100%; /* Toma el espacio completo generado por grid-row: span 2 */
}

/* --- IFRAME (Sin Scroll) Y VIDEO --- */
.promo-iframe-container,
.promo-video-container {
    flex: 1; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.promo-iframe-container {
    background-color: #fff;
    overflow: hidden !important; 
}

.promo-iframe-container iframe {
    width: 100%;
    height: 100%;
    min-height: 650px; /* Asegura que el formulario completo se vea */
    border: none;
    overflow: hidden !important;
}

.promo-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- RESPONSIVO --- */
@media (max-width: 1200px) {
    .bloque-central-promo {
        padding-left: 0; 
    }
}

@media (max-width: 991px) {
    .grid-licenciaturas {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }
    .bloque-central-promo {
        grid-column: span 2; /* Ocupa ambas columnas en tablet */
    }
}

@media (max-width: 768px) {
    .grid-licenciaturas {
        grid-template-columns: 1fr; /* 1 columna en celulares */
    }
    .bloque-central-promo {
        grid-column: span 1;
    }
    .promo-contenido {
        flex-direction: column; 
    }
    .promo-iframe-container iframe,
    .promo-video-container video {
        min-height: 550px;
    }
}
/* =========================================
   SECCIÓN AISLADA: ACREDITACIONES
   ========================================= */

#seccion-acreditaciones {
    width: 100%;
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 40px; /* Da un poco de espacio con la sección de abajo */
}

/* --- Encabezado Azul --- */
#seccion-acreditaciones .acreditaciones-header {
    background-color: #2b5f8c; /* Azul característico de la universidad */
    padding: 15px 0;
}

#seccion-acreditaciones .titulo-acreditaciones {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.2rem;
}

/* --- Contenedor de la Cinta --- */
#seccion-acreditaciones .acreditaciones-slider {
    width: 100%;
    overflow: hidden; /* Oculta los logos que salen de la pantalla */
    padding: 40px 0; /* Espaciado arriba y abajo de los logos */
    position: relative;
}

/* --- Pista de Movimiento --- */
#seccion-acreditaciones .acreditaciones-track {
    display: flex;
    align-items: center;
    width: max-content; /* Permite que la pista sea tan ancha como todos los logos sumados */
    
    /* Llama a la animación. Cambia '25s' a un número menor si lo quieres más rápido */
    animation: moverIzquierdaADerecha 25s linear infinite;
}

/* Pausar la animación cuando el usuario pone el mouse encima (Opcional) */
#seccion-acreditaciones .acreditaciones-slider:hover .acreditaciones-track {
    animation-play-state: paused;
}

/* --- Cajas Individuales de los Logos --- */
#seccion-acreditaciones .acreditaciones-logo {
    width: 250px; /* Define el ancho reservado para cada logo */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    flex-shrink: 0;
}

/* --- Imágenes de los Logos --- */
#seccion-acreditaciones .acreditaciones-logo img {
    max-width: 100%;
    max-height: 85px; /* Altura máxima para uniformidad */
    object-fit: contain; /* Evita que los logos se deformen o se estiren */
}

/* --- LA ANIMACIÓN MAGICA --- */
@keyframes moverIzquierdaADerecha {
    0% {
        /* Inicia desplazado hacia la izquierda (la mitad de su ancho total) */
        transform: translateX(-50%);
    }
    100% {
        /* Termina en la posición 0, habiéndose movido hacia la derecha */
        transform: translateX(0);
    }
}

/* --- RESPONSIVO PARA MÓVILES --- */
@media (max-width: 768px) {
    #seccion-acreditaciones .titulo-acreditaciones {
        font-size: 1.8rem;
    }
    
    #seccion-acreditaciones .acreditaciones-logo {
        width: 180px; /* Logos un poco más juntos en celulares */
        padding: 0 15px;
    }
    
    #seccion-acreditaciones .acreditaciones-logo img {
        max-height: 60px; /* Logos un poco más pequeños en celulares */
    }
}
/* =========================================
   SECCIÓN: REVISTAS VESTIGIA Y MODAL
   ========================================= */

#seccion-revistas {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Cuadrícula Principal --- */
.grid-revistas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 25px;
    grid-auto-rows: 350px; 
}

/* --- Título Azul --- */
/* --- Título Azul (Pegado a la izquierda) --- */
.titulo-vestigia {
    background-color: #1a568c; 
    color: #ffffff;
    border-radius: 0 40px 40px 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; 
    
    /* EL TRUCO PARA PEGARLO AL BORDE */
    margin-left: -1.5rem; /* Un margen negativo que compensa el espacio del contenedor */
    padding-left: 1.5rem; /* Añadimos padding adentro para que la letra no quede pegada al borde de la pantalla */
}

.titulo-vestigia h2 {
    font-weight: 800;
    font-size: 2.5rem;
    margin: 0;
}

/* --- Tarjetas --- */
.card-revista {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-revista img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top; 
}

/* --- Hover (Capa Oscura y Triángulo) --- */
.hover-revista {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    display: flex;
    flex-direction: column;
    padding: 20px;
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.hover-revista .titulo-hover {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.hover-revista .subtitulo-hover {
    color: #dddddd;
    font-size: 0.9rem;
    margin-top: 5px;
}

.hover-revista .triangulo-amarillo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 80px solid #eab308;
    border-left: 80px solid transparent;
}

/* --- Interacción Mouse --- */
.card-revista:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.card-revista:hover .hover-revista {
    opacity: 1; 
}
.card-revista:hover .titulo-hover {
    transform: translateY(0); 
}

/* =========================================
   ESTILOS DE LA VENTANA MODAL (VISOR)
   ========================================= */
.modal-revista-custom {
    max-width: 90vw !important; 
    height: 90vh;
}

.btn-cerrar-visor {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 10px;
    opacity: 1;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid #1a568c;
}
/* =========================================
    PLANTILLA GENERAL LIC MAESTRIAS
   SECCIÓN AISLADA: PERFIL DE INGRESO
   ========================================= */
 /****OBJETIVO ****/
 * Container to center and limit content width */
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 40px;
        }

        /* Styling for the overall section */
        .objetivo-seccion {
            background-color: #ffffff;
            margin-bottom: 40px;
        }

        /* Styling for the main blue title "OBJETIVO" */
        .objetivo-title {
            color: #1a4a7a;
            font-weight: bold;
            font-size: 2.8em; /* Adjusted size */
            margin-top: 0;
            margin-bottom: 20px;
            text-align: left;
        }

        /* Styling for the paragraph text under "OBJETIVO" */
        .objetivo-text {
            color: #3a5a7a;
            
            line-height: 1.6;
            margin-bottom: 50px; /* Increased space before box */
            text-align: left;
        }

        /* Container to center the highlighted green box */
        .target-box-wrapper {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        /* Styling for the green box with rounded corners */
        .target-box {
            background-color: #28a745; /* Vibrant green color */
            color: white;
            font-size: 1.01em;
            
            padding: 20px 60px; /* Horizontal padding greater than vertical */
            border-radius: 60px 60px 60px 60px; /* Top corners more rounded than bottom */
            max-width: 950px; /* Limits box width to create contained look */
            text-align: justify; /* Center all text inside the box */
            box-shadow: 0 4px 10px rgba(0,0,0,0.4); /* Subtle shadow for depth */
        }

        /* Styling for the subtitle inside the box "¿a quién va dirigida?" */
        .target-subtitle {
            color: white;
            font-weight: bold;
            font-size: 2em; /* Smaller than main title, but prominent */
            margin-top: 0;
            margin-bottom: 15px;
        }

        /* Styling for the paragraph text inside the box */
        .target-text {
            color: white;
            font-weight: normal;/* Text appears thicker in image */
            font-size: 1.1em;
            line-height: 1.4;
            margin: 0;
        }
 /*********/  

#perfil-ingreso {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
    padding: 60px 0;
}

/* --- Contenedor de la Imagen (Para el Hover) --- */
#perfil-ingreso .img-perfil-container {
    border-radius: 25px; /* Bordes muy redondeados como en tu diseño */
    overflow: hidden; /* VITAL para que el zoom de la imagen no se salga de los bordes curvos */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Sombra inicial muy sutil */
    
    /* Prepara la transición suave del movimiento y la sombra */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: inline-block;
    width: 100%;
    max-width: 450px; /* Evita que la foto se haga gigante en pantallas muy anchas */
}

/* --- La Imagen --- */
#perfil-ingreso .img-perfil {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease; /* Prepara el zoom interior */
}

/* --- EFECTO HOVER: Resalte Elegante --- */
#perfil-ingreso .img-perfil-container:hover {
    transform: translateY(-8px); /* Levanta la tarjeta hacia arriba */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* Aumenta y difumina la sombra */
}

#perfil-ingreso .img-perfil-container:hover .img-perfil {
    transform: scale(1.03); /* Hace un zoom muy ligero a la fotografía */
}

/* --- Tipografía --- */
#perfil-ingreso .titulo-perfil {
    color: #000000;
    font-weight: 800; /* Extra negrita */
    font-size: 2.2rem;
    letter-spacing: 0.5px;
}

#perfil-ingreso .texto-perfil {
    color: #333333; /* Gris oscuro para lectura prolongada cómoda */
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: left; /* Alineación a la izquierda como en tu imagen */
    margin-bottom: 1.2rem;
}

/* --- Ajustes Responsivos para Celulares --- */
@media (max-width: 768px) {
    #perfil-ingreso .titulo-perfil {
        font-size: 1.8rem;
    }
}
/* =========================================
   SECCIÓN AISLADA: BANNER INFO CARRERA
   ========================================= */

#banner-info-carrera {
    background: linear-gradient(135deg, #2b679e 0%, #1a4b78 100%);
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    
    /* AÑADIDO: Mucho más espacio arriba y abajo para que respire */
    padding: 60px 0; 
}

/* --- Elementos individuales (Ícono + Texto) --- */
#banner-info-carrera .info-item {
    cursor: default;
}

/* --- Íconos --- */
#banner-info-carrera .info-icon {
    font-size: 2.8rem;
    color: #ffffff;
    /* Transición suave para el color, el tamaño y la rotación */
    transition: transform 0.4s ease, color 0.3s ease;
}

/* --- HOVER ELEGANTE PARA LOS ÍCONOS --- */
#banner-info-carrera .info-item:hover .info-icon {
    transform: scale(1.15) rotate(5deg); /* Crece un 15% y rota 5 grados */
    color: #eab308; /* Cambia al color amarillo Westhill */
}

/* --- Textos de Información --- */
#banner-info-carrera .info-titulo {
    font-size: 1.4rem;
    font-weight: 800; /* Extra negrita */
    margin: 0;
    line-height: 1.1;
}

#banner-info-carrera .info-subtitulo {
    font-size: 1.2rem;
    font-weight: 400; /* Texto normal/delgado */
}

/* --- Insignia Verde (Inicio de Ciclo) --- */
#banner-info-carrera .badge-inicio-ciclo {
    background-color: #27a858; /* Verde elegante que coincide con la imagen */
    display: inline-block;
    padding: 15px 55px;
    border-radius: 15px; /* Bordes redondeados */
    text-align: center;
    box-shadow: 0 5px 15px rgba(245, 243, 243, 0.315); /* Sombra suave para dar relieve */
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Hover también para la insignia verde por si quieres hacerla clickeable después */
#banner-info-carrera .badge-inicio-ciclo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#banner-info-carrera .badge-titulo {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

#banner-info-carrera .badge-subtitulo {
    font-size: 1.2rem;
    font-weight: 400;
}

/* --- Responsivo para Móviles --- */
@media (max-width: 991px) {
    #banner-info-carrera .badge-inicio-ciclo {
        margin-top: 1rem;
        width: 100%; /* El botón ocupa todo el ancho en celulares para verse mejor */
    }
}
/* =========================================
   SECCIÓN: PLAN DE ESTUDIOS
   ========================================= */

#plan-estudios {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
    overflow: hidden;
}

.titulo-plan {
    color: #1a4b8c;
    font-weight: 800;
    font-size: 3rem;
}

/* --- Estructura del Carrusel --- */
.cp-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.cp-track {
    display: flex;
    width: calc(450px * 16); /* 8 originales + 8 clones */
    animation: scrollPlan 45s linear infinite;
}

.cp-track:hover {
    animation-play-state: paused;
}

@keyframes scrollPlan {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-450px * 8)); }
}

/* --- Estilo de la Tarjeta (Card) --- */
.cp-card {
    width: 520px;
    margin: 0 15px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    padding: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    box-sizing: border-box;
}

.cp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.425);
}

/* Texto Vertical */
.cp-term {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    color: #1a4b8c;
    font-weight: 700;
    font-size: 1.8rem;
    border-left: 3px solid #1a4b8c;
    padding-left: 15px;
    text-align: center;
}

.cp-term span {
    font-size: 2.5rem;
    display: block;
}

/* --- Lista dentro del Carrusel (Estilo igual al Modal) --- */
.cp-list {
    list-style: none;
    padding-left: 15px; /* Ajuste de espacio general */
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%; /* Asegura que el subrayado llegue hasta el final */
}

.cp-list li {
    font-size: 1.05rem;
    color: #1a4b8c; /* Texto azul para coincidir con el modal */
    margin-bottom: 8px; /* Separación entre materias */
    padding-bottom: 5px; /* Espacio entre el texto y la línea */
    padding-left: 25px; /* Espacio para que quepa el diamante */
    border-bottom: 1px solid #1a4b8c; /* Línea de subrayado azul */
    position: relative;
}

/* El diamante como viñeta en el carrusel */
.cp-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0;
    color: #1a4b8c; /* Color del diamante (Cambiar a #eab308 si los prefieres amarillos) */
    font-size: 1.2rem;
    line-height: 1.2;
}

/* --- ESTILOS DEL MODAL --- */
.cp-modal-content {
    background-color: #d9d9d9; /* Gris del fondo de la imagen */
    border: none;
    border-radius: 0;
    padding: 60px;
}

.cp-btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    filter: brightness(0);
    opacity: 0.5;
}

.cp-modal-term-vertical {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    color: #1a4b8c;
    font-weight: 700;
    font-size: 3rem;
    border-left: 4px solid #1a4b8c;
    padding-left: 20px;
    margin-right: 40px;
}

.cp-modal-list-container {
    flex-grow: 1;
}

.cp-modal-list {
    list-style: none;
    padding: 0;
}

.cp-modal-list li {
    font-size: 1.5rem;
    color: #1a4b8c;
    padding: 15px 0;
    border-bottom: 2px solid #1a4b8c;
    position: relative;
    padding-left: 40px;
}

/* El diamante amarillo */
.cp-modal-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #205383; /* Amarillo */
    font-size: 1.4rem;
}
/* =========================================
   SECCIÓN AISLADA: PERFIL DE EGRESO
   ========================================= */

#perfil-egreso {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Título Gráfico --- */
#perfil-egreso .titulo-egreso-grafico {
    color: #1d4e7d; /* Azul oscuro institucional */
    font-weight: 800; /* Extra negrita */
    font-size: 2.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
    /* NUEVO: Asegura alineación a la extrema izquierda de la sección */
    margin-left: 0;
    padding-left: 15px; /* Pequeño espacio desde el borde del contenedor o de la pantalla si rompe cont. */
}

/* --- Lista Gráfica Personalizada --- */
#perfil-egreso .lista-egreso-grafica {
    list-style: none; /* Quitar viñetas predeterminadas */
    padding: 0;
    margin: 0;
    /* NUEVO: Configurar flexbox para alinear ítems a la izquierda */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Separación vertical entre elementos */
    align-items: flex-start; /* Items se alinean a la extrema izquierda de la lista parent */
}

/* --- Elemento de Lista Individual (Contenedor Azul) --- */
#perfil-egreso .egreso-item {
    background-color: #1d4e7d; /* Fondo azul oscuro */
    color: #ffffff; /* Texto blanco */
    /* MODIFICADO: Solo bordes derechos redondeados, izquierdo recto para alineación flush */
    border-radius: 0 30px 30px 0; 
    
    /* MODIFICADO: Técnica de "Viewport Breakout" para alinear a la extrema izquierda de la PANTALLA */
    position: relative;
    width: 75vw; /* Ancho completo de la pantalla */
    left: 50%;
    right: 50%;
    margin-left: -55vw; /* Rompe el centrado y contenedor para tocar el borde izquierdo de la pantalla */
    margin-right: -50vw;
    
    /* MODIFICADO: Alineación Flexbox interna a la extrema izquierda */
    display: flex;
    align-items: center; /* Centrado vertical interno */
    justify-content: flex-start; /* Alineado a la extrema izquierda interna */
    
    /* MODIFICADO: Padding controlado para el breakout */
    /* El padding izquierdo grande vuelve a alinear el contenido con el borde estándar del texto en la página.
       calc(50vw - 50%) calcula la distancia desde el borde de la pantalla hasta el borde estándar del contenedor centrado.
       Le sumamos un valor extra (ej: 30px) para el espacio interno del icono/texto. */
    padding-left: calc(calc(50vw - 50%) + 30px) !important; 
    padding-right: 30px; /* Padding interno derecho */
    padding-top: 0px;
    padding-bottom: 0px;
    
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Sombra sutil */
    
    /* NUEVO: Asegurar que el icono esté a la extrema izquierda de su línea de contenido breakout */
    gap: 15px; /* Espacio controlado entre icono y texto */
    box-sizing: border-box; /* Asegurar que el padding no afecte el ancho máximo viewport */
}

/* --- Contenedor de Iconos (Círculo Dorado) --- */
#perfil-egreso .icono-circulo {
    width: 80px; /* Tamaño del círculo */
    height: 80px;
    border-radius: 50%;
    background-color: #1d4e7d; /* Fondo azul oscuro igual al li */
    border: 3px solid #dab35f; /* Borde dorado/amarillo */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Sombra para el círculo */
    /* MODIFICADO: Mover a la extrema izquierda del contenido breakout, muerde el borde dorado de referencia si existe */
    margin-right: 0;
    margin-left: 0;
    /* Asegurar que el icono esté centrado en su círculo */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Evitar que el círculo se deforme */
}

/* --- Estilo del Icono (Dorado) --- */
#perfil-egreso .icono-dental {
    color: #dab35f; /* Color dorado/amarillo */
    font-size: 40px; /* Tamaño del icono */
}

/* --- Texto del Elemento (Blanco y Negrita) --- */
#perfil-egreso .egreso-text {
    color: #ffffff;
    font-weight: 700; /* Negrita */
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: left; /* MODIFICADO: Alineado a la extrema izquierda interna */
    margin: 0; /* Asegura no tener márgenes extra */
    padding: 0;
}

/* --- Contenedor de la Imagen Enmarcada (Verde) --- */
/* (Estilos de imagen permanecen iguales para mantener su diseño y alineación estándar) */
#perfil-egreso .img-egreso-container-enmarcado {
    border-radius: 30px; /* Bordes redondeados de la imagen */
    overflow: hidden; 
    border: 6px solid #28a745; /* Borde verde sólido y grueso */
    box-shadow: 0 8px 20px rgba(0,0,0,0.1); /* Sombra base para el marco */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: inline-block;
    width: 100%;
}

/* --- La Imagen --- */
#perfil-egreso .img-egreso {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* --- EFECTO HOVER: Resalte Elegante en el Marco --- */
#perfil-egreso .img-egreso-container-enmarcado:hover {
    transform: translateY(-8px); /* Elevación */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); /* Sombra más fuerte */
}

/* --- EFECTO HOVER: Zoom interior en la Imagen --- */
#perfil-egreso .img-egreso-container-enmarcado:hover .img-egreso {
    transform: scale(1.03); /* Zoom interior suave */
}

/* --- Ajustes Responsivos para Celulares --- */
@media (max-width: 768px) {
    #perfil-egreso .titulo-egreso-grafico {
        font-size: 1.8rem;
        text-align: center;
        padding-left: 0;
    }
    
    #perfil-egreso .egreso-item {
        /* En móviles, el breakout sigue existiendo pero el padding interno se ajusta para centrar en la línea flush viewport */
        flex-direction: column; /* Apilar icono y texto verticalmente */
        text-align: center;
        border-radius: 0 30px 30px 0; /* Redondear más los bordes en móviles, sigue flush izquierdo */
        padding: 20px;
        align-items: center; /* Centrar elementos internos en la línea flush */
        justify-content: center;
        
        /* En móviles, reajustamos el padding para centrar contenido en el breakout viewport edge */
        padding-left: calc(calc(50vw - 50%) + 20px) !important;
        padding-right: calc(calc(50vw - 50%) + 20px) !important;
    }

    #perfil-egreso .icono-circulo {
        margin-left: 0; /* Resetear ajuste en móviles */
        margin-right: 0 !important; /* Quitar margen derecho en móviles */
        margin-bottom: 15px;
    }

    #perfil-egreso .egreso-text {
        text-align: center; /* Centrar texto en móviles en la línea flush */
        padding-left: 0; /* Quitar padding en móviles */
        padding-right: 0;
    }

    #perfil-egreso .icono-circulo {
        width: 70px;
        height: 70px;
    }

    #perfil-egreso .icono-dental {
        font-size: 35px;
    }
}
/* =========================================
   SECCIÓN AISLADA: MICROSITIOS (DEGRADADO E ÍCONOS)
   ========================================= */

#micrositios {
    /* Degradado sutil sugerido anteriormente para elegancia, aplicado aquí */
    background: linear-gradient(135deg, #2b679e 0%, #1a4b78 100%);
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    
    /* AÑADIDO: Mucho más espacio arriba y abajo para que respire padding: 10px 0px; */
    
}

#micrositios .titulo-micrositios {
    font-weight: 700;
    font-size: 2.2rem;
    color: #ffffff;
}

/* --- Diseño de los Enlaces (hacer clic en todo el bloque) --- */
#micrositios .enlace-micrositio {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    
    /* Transición suave para el efecto hover */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Efecto elegante al pasar el cursor (Hover) --- */
#micrositios .enlace-micrositio:hover {
    transform: translateY(-5px); /* Levanta el ícono y el texto ligeramente */
    opacity: 0.9;
    color: #ffffff;
}

/* --- Imágenes de los Íconos (usando imágenes reales) --- */
#micrositios .icono-micro {
    max-width: 90px !important; /* Tamaño base para que coincidan visualmente */
    height: auto;
    margin-right: 15px;
    object-fit: contain; /* Evita que las imágenes se deformen */
    
    /* Asegurar que las imágenes sean blancas con fondo transparente */
}

/* --- Textos Descriptivos --- */
#micrositios .texto-micro {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

/* Subrayado específico para la palabra "Descargar" */
#micrositios .subrayado {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* --- RESPONSIVO --- */
@media (max-width: 991px) {
    #micrositios .titulo-micrositios {
        font-size: 1.8rem;
        margin-bottom: 2rem !important; /* Reduce el espacio debajo del título */
    }
    #micrositios .icono-micro {
        max-width: 45px; /* Achica los íconos un poco para celulares */
    }
    #micrositios .texto-micro {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    #micrositios .enlace-micrositio {
        flex-direction: column; /* Apila el ícono sobre el texto en pantallas muy pequeñas */
        text-align: center;
    }
    #micrositios .icono-micro {
        margin-right: 0;
        margin-bottom: 10px;
    }
    #micrositios .texto-micro {
        text-align: center;
    }
}
/* =========================================
   SECCIÓN AISLADA: SOLICITA INFORMACIÓN
   ========================================= */

#solicita-informacion {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Título "Píldora" Azul --- */
#solicita-informacion .badge-solicita {
    background-color: #1a568c; /* Azul institucional */
    color: #ffffff;
    font-weight: 600;
    font-size: 1.8rem;
    padding: 10px 40px;
    border-radius: 50px; /* Crea los bordes completamente curvos */
    display: inline-block;
    margin: 0;
}

/* --- Formulario (Iframe) --- */
#solicita-informacion .iframe-solicita {
    width: 100%;
    min-height: 750px; /* Altura de seguridad para que el formulario quepa bien */
    border: none;
    overflow: hidden !important;
}

/* --- Video --- */
#solicita-informacion .video-solicita {
    width: 100%;
    height: 100%;
    min-height: 750px; /* Misma altura que el formulario para balancear la fila */
    object-fit: cover; /* Evita que el video se estire o deforme */
    border-radius: 25px; /* Bordes redondeados consistentes con el resto de la web */
}

/* --- Ajustes Responsivos para Tablets y Móviles --- */
@media (max-width: 991px) {
    #solicita-informacion .badge-solicita {
        font-size: 1.5rem;
        padding: 10px 30px;
    }
    
    #solicita-informacion .iframe-solicita {
        min-height: 650px; /* En móviles el formulario suele hacerse más largo/corto */
    }

    #solicita-informacion .video-solicita {
        min-height: 500px; /* Altura más manejable para el video en celulares */
    }
}
/* =========================================
FACULTAD DE MEDICINA
   SECCIÓN AISLADA: INTRODUCCIÓN MEDICINA
   ========================================= */

#intro-medicina {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Estilo del Título --- */
#intro-medicina .titulo-intro {
    color: #1a568c; /* Azul institucional Westhill */
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.2;
    letter-spacing: -0.5px; /* Junta las letras un milímetro para un look más sólido */
}

/* --- Estilo de los Párrafos --- */
#intro-medicina .texto-intro {
    color: #375373; /* Un gris azulado oscuro, suave a la vista */
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
}

/* --- Ajustes Responsivos para Celulares --- */
@media (max-width: 991px) {
    #intro-medicina .titulo-intro {
        font-size: 2.2rem;
    }
    
    #intro-medicina .texto-intro {
        font-size: 1.15rem;
    }
}
/* =========================================
   SECCIÓN AISLADA: VIVE LA EXPERIENCIA
   ========================================= */

#experiencia-medico {
    font-family: 'Raleway', sans-serif;
    overflow: hidden; /* Evita cualquier desbordamiento horizontal accidental */
}

/* --- Fondo Azul Institucional --- */
.bg-azul-experiencia {
    background-color: #1a568c; 
}

/* --- Tipografía --- */
.titulo-exp {
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.texto-exp {
    font-size: 1.15rem;
    line-height: 1.5;
}

/* --- Botón Blanco (Próximas Fechas) --- */
.btn-fechas {
    background-color: #ffffff;
    color: #1a568c;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 12px 35px;
    border-radius: 50px; /* Forma de píldora */
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-fechas:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    color: #1a568c; /* Mantiene el color azul al hacer hover */
}


/* --- Texto del Calendario --- */
.texto-calendario {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* --- Contenedor del Video --- */
.contenedor-video-mitad {
    display: flex;
    height: 100%; /* Asegura que la columna tome la misma altura que el texto */
    min-height: 500px; /* Altura base por si hay poco texto */
}

.video-experiencia {
    width: 100%;
    height: 100%;
    object-fit: cover; /* MAGIA: Recorta el video dinámicamente para que rellene el espacio perfecto */
    display: block;
}

/* --- Ajustes Responsivos --- */
@media (max-width: 991px) {
    .titulo-exp {
        font-size: 2.2rem;
    }
    
    .contenedor-video-mitad {
        min-height: 400px; /* En tabletas y celulares el video puede ser un poco más corto */
    }
}
/* =========================================
   SECCIÓN: OFERTA ACADÉMICA
   ========================================= */

#oferta-academica {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
    overflow: hidden; /* Evita que el cráneo de fondo se salga */
}

/* --- Títulos --- */
.subtitulo-oferta {
    color: #27a858; /* Verde */
    font-size: 1.2rem;
    font-weight: 500;
}

.titulo-oferta {
    color: #1a568c; /* Azul */
    font-size: 2.8rem;
    font-weight: 800;
}

/* --- Fondo Cráneo --- */
.bg-craneo {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px; /* Ajusta este valor según el tamaño de tu imagen */
    opacity: 1.15; /* Efecto marca de agua */
    z-index: 0;
    pointer-events: none;
}

/* --- Tarjetas (Cards) --- */
.card-oferta {
    height: 450px;
    border-radius: 25px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Gradiente oscuro superior para que el título siempre se lea */
.card-oferta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.card-oferta .card-title {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.8rem;
    z-index: 3;
    margin: 0;
    line-height: 1.1;
}

/* --- HOVER: Capa Oscura y Texto --- */
.card-hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(30, 20, 15, 0.85); /* Color oscuro con transparencia */
    z-index: 2;
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.4s ease;
    padding: 100px 30px 30px 30px; /* Empuja el texto debajo del título */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-oferta:hover .card-hover-overlay {
    opacity: 1; /* Aparece al pasar el mouse */
}

/* Lista dentro del hover */
.card-list {
    color: #ffffff;
    font-size: 1.05rem;
    padding-left: 20px;
    line-height: 1.5;
}

.card-list li {
    margin-bottom: 15px;
}


/* =========================================
   SECCIÓN: CURSOS PREMEDICAL
   ========================================= */

#cursos-premedical {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
    padding-top: 80px;
    padding-bottom: 80px;
}
/* =========================================
   ESTILOS: EJES DE LOS CURSOS
========================================= */

.cursos-ejes-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}

.cursos-container {
    width: 100%;
    max-width: 1200px;
}

/* --- Título Principal --- */
.cursos-titulo {
    color: #1a5c92; /* Azul institucional */
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

/* --- Cuadrícula de Ejes --- */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 30px;
}

.curso-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Textos Superiores --- */
.curso-textos {
    text-align: center;
    margin-bottom: 15px;
    height: 90px; /* Altura fija para alinear las imágenes aunque el texto varíe */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.curso-eje-num {
    color: #1a5c92;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 5px 0;
}

.curso-eje-desc {
    color: #4a759c; /* Azul un poco más claro/suave */
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 0;
    font-weight: 500;
}

/* --- Contenedor de la Imagen --- */
/* --- Contenedor del Video --- */
.curso-img-container {
    width: 100%;
    height: 380px; /* Altura uniforme para que todas las tarjetas midan lo mismo */
    border: 6px solid #eec04200; /* Borde amarillo Westhill */
    border-radius: 20px;
    overflow: hidden; /* CRÍTICO: Corta cualquier exceso del video para mantener la forma */
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* --- Etiqueta de Video --- */
.curso-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* CRÍTICO: Hace que el video rellene todo el espacio sin estirarse ni deformarse */
    display: block; /* Evita un margen blanco fantasma debajo del video */
    transition: transform 0.4s ease; /* Permite el efecto de zoom */
}

/* Efecto al pasar el cursor (Hover) */

/* --- Responsividad --- */
@media (max-width: 992px) {
    .cursos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
        gap: 40px 20px;
    }
    
    .cursos-titulo {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .cursos-grid {
        grid-template-columns: 1fr; /* 1 columna en celulares */
    }
    
    .curso-img-container {
        height: 320px;
        max-width: 320px; /* Evita que se vea excesivamente ancha en móviles */
    }
    
    .curso-textos {
        height: auto; /* Permite que el texto fluya naturalmente */
        margin-bottom: 20px;
    }
}

/* --- Textos del Encabezado --- */
/* --- Textos del Encabezado (Alineación Izquierda) --- */
/* =========================================
   SECCIÓN: CURSOS PREMEDICAL
   ========================================= */

#cursos-premedical {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow-x: hidden; /* VITAL: Evita que el fondo azul genere una barra de scroll */
}

/* --- Textos del Encabezado (Pegado al borde izquierdo absoluto) --- */
.badge-premedical {
    position: relative;
    color: #ffffff;
    padding: 8px 30px 8px 0; /* 0 padding izquierdo para que la letra 'C' alinee con la 'E' de abajo */
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 2px;
    display: inline-block;
    z-index: 1; /* Mantiene el texto por encima del fondo */
}

/* EL TRUCO MAGICO: Dibuja un fondo que se estira al infinito hacia la izquierda */
.badge-premedical::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100vw; /* Le da el ancho total de la pantalla hacia la izquierda */
    background-color: #1a568c;
    border-radius: 0 50px 50px 0; /* Curvo solo a la derecha */
    z-index: -1; /* Lo envía detrás del texto */
}

.titulo-premedical {
    color: #1a568c;
    font-weight: 900;
    font-size: 4.5rem;
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 10px;
}

.subtitulo-premedical {
    color: #1a568c;
    font-weight: 300;
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-top: 0px;
}

/* --- Responsividad adicional --- */
@media (max-width: 991px) {
    .titulo-premedical { font-size: 3rem; }
    .subtitulo-premedical { font-size: 1.5rem; }
}

@media (max-width: 576px) {
    .titulo-premedical { font-size: 2.2rem; }
    .subtitulo-premedical { font-size: 1.2rem; }
    .badge-premedical { font-size: 1rem; }
}

/* --- Contenedor Imagen Central --- */
.img-premedical-container {
    position: relative; /* NUEVO: Para que funcione el z-index */
    z-index: 2;         /* NUEVO: Coloca la foto por encima de las ilustraciones */
    border: 6px solid #27a858; /* Borde verde característico */
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-color: #f4f4f4; /* Por si la imagen tarda en cargar */
}

.img-premedical {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Ilustraciones Flotantes de Fondo MEDICINA --- */
.bg-cerebro {
    position: absolute;
    bottom: -60px; /* Cambiado a negativo para que sobresalga hacia abajo */
    left: -130px;  /* Cambiado a negativo para que sobresalga a la izquierda */
    width: 320px; /* Ajustar según tu imagen */
    z-index: 1;   /* Mantiene la imagen detrás del contenedor verde */
    pointer-events: none;
}

.bg-columna {
    position: absolute;
    top: -110px;    /* CORRECCIÓN: Cambiado de 'bottom' a 'top' para subirlo a la esquina */
    right: -150px;  /* Cambiado a negativo para que sobresalga a la derecha */
    width: 290px; /* Ajustar según tu imagen */
    z-index: 1;   /* Mantiene la imagen detrás del contenedor verde */
    pointer-events: none;
}

/* --- Responsividad --- */
@media (max-width: 991px) {
    .titulo-premedical { font-size: 3rem; }
    .subtitulo-premedical { font-size: 1.5rem; }
    
    /* Se ajustan los valores negativos y el 'top' para tablets */
    .bg-cerebro { width: 150px; bottom: -20px; left: -40px; }
    .bg-columna { width: 120px; top: -20px; right: -40px; } 
}

@media (max-width: 576px) {
    .titulo-premedical { font-size: 2.2rem; }
    .subtitulo-premedical { font-size: 1.2rem; }
    .badge-premedical { font-size: 1rem; }
    .bg-cerebro, .bg-columna { display: none; } /* Ocultar en móviles pequeños para no saturar */
}/* =========================================
   SECCIÓN AISLADA: OBJETIVO DEL PREMEDICAL
   ========================================= */

#objetivo-premedical {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Título Extra Grueso --- */
#objetivo-premedical .titulo-objetivo {
    color: #1a568c; /* Azul institucional */
    font-weight: 900; 
    font-size: 3.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

/* --- Párrafos Ligeros --- */
#objetivo-premedical .texto-objetivo {
    color: #1a568c; /* Se mantiene el color azul de la paleta */
    font-weight: 300; /* Tipografía delgada/light */
    font-size: 1.5rem;
    line-height: 1.5;
    letter-spacing: 1px; /* Un poco de espacio entre letras para que respire */
    text-align: justify; /* Opcional: si prefieres alineación recta a la izquierda, cámbialo a 'left' */
}

/* --- Ajustes Responsivos --- */
@media (max-width: 991px) {
    #objetivo-premedical .titulo-objetivo {
        font-size: 2.8rem;
    }
    #objetivo-premedical .texto-objetivo {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    #objetivo-premedical .titulo-objetivo {
        font-size: 2.2rem;
    }
    #objetivo-premedical .texto-objetivo {
        font-size: 1.1rem;
        text-align: left; /* En móviles siempre es mejor alinear a la izquierda */
    }
}
/* =========================================
   SECCIÓN AISLADA: ESTOS CURSOS TE AYUDAN
   ========================================= */

#cursos-ayudan {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Título Principal --- */
.titulo-ayuda {
    color: #1a568c;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* --- Fondos de las Columnas --- */
.ayuda-amarillo {
    background-color: #eab308; /* Color amarillo Mostaza/Westhill */
    position: relative;
    /*border-bottom: 4px solid #ffffff; Pequeña separación visual entre filas */
}

.ayuda-azul {
    background-color: #1a568c; /* Azul institucional */
    /*border-bottom: 2px solid #ffffff;  Pequeña separación visual entre filas */
}

/* Para quitar el borde blanco en la última fila y que se vea como un bloque sólido */
.contenedor-beneficios .row:last-child .ayuda-amarillo,
.contenedor-beneficios .row:last-child .ayuda-azul {
    border-bottom: none;
}

/* --- La Píldora (Botón Azul) --- */
.ayuda-pildora {
    background-color: #1a568c;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    text-align: center;
    padding: 40px 50px;
    border-radius: 12px; /* Ligeramente más cuadrados como en la imagen, si los quieres ovalados cambia a 50px */
    position: relative;
    z-index: 2; /* Vital para que se dibuje POR ENCIMA de la línea */
    min-width: 260px;
    line-height: 1.2;
}

/* --- La Línea con el Punto y la Flecha (Puro CSS) --- */
.ayuda-linea {
    position: absolute;
    top: 50%;
    left: 8%; /* Empieza un poco despegado del margen izquierdo */
    right: 0; /* Toca exactamente el borde del color azul */
    height: 3px; /* Grosor de la línea */
    background-color: #1a568c;
    transform: translateY(-50%);
    z-index: 1; /* Se dibuja POR DEBAJO del botón */
}

/* El círculo del lado izquierdo */
.ayuda-linea::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: #1a568c;
    border-radius: 50%;
}

/* La punta de flecha del lado derecho */
.ayuda-linea::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0%, -50%);
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #1a568c; /* Dibuja el triángulo apuntando a la derecha */
}

/* --- Texto de la Columna Azul --- */
.ayuda-texto {
    color: #ffffff;
    font-weight: 700; /* Letra en negrita como en tu maqueta */
    font-size: 1.3rem;
    line-height: 1.4;
}

/* --- Responsividad --- */
@media (max-width: 991px) {
    .titulo-ayuda { font-size: 3rem; }
    .ayuda-pildora { min-width: 200px; font-size: 1rem; }
    .ayuda-texto { font-size: 1.1rem; }
}

@media (max-width: 767px) {
    /* En celulares, ocultamos la línea mediante la clase de Bootstrap d-none d-md-block */
    /* contenedores  esquinas redondeadas  */
    .titulo-ayuda { font-size: 2.2rem; }
    .ayuda-amarillo { padding: 30px 20px !important; }
    .ayuda-azul { padding: 30px 20px !important; text-align: center; }
    .ayuda-pildora { min-width: 100%; border-radius: 50px; }
}
/* =========================================
   SECCIÓN: BANNER PRÓXIMAS FECHAS
   ========================================= */

#proximas-fechas-premedical {
    font-family: 'Raleway', sans-serif;
}

.banner-fechas {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                url('../img/bgmed.png'); /*proximas fechas fac medicina*/
    background-size: cover;
    background-position: center;
    min-height: 350px; /* Altura del banner */
    width: 100%;
    padding: 60px 20px;
}

/* --- La Píldora Blanca --- */
.pill-blanca-fechas {
    background-color: #ffffff;
    color: #1a568c; /* Azul institucional */
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.1;
    padding: 30px 60px;
    border-radius: 60px; /* Bordes muy redondeados */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 6px solid #1a568c; /* Borde azul*/
}

.pill-blanca-fechas:hover {
    transform: scale(1.02);
    background-color: #f8f9fa;
    color: #1a568c;
}

/* --- Contenedor del indicador --- */
.contenedor-pill-fechas {
    position: relative;
}

/* --- Triángulo Amarillo no se usa esta regla--- */
.triangulo-amarillo-fechas {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid #eab308; /* Amarillo Westhill */
    margin-left: 20px;
}

/* --- Texto de instrucción pequeño --- */
.texto-instruccion-fechas {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    margin-left: 10px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* --- Ajustes Responsivos --- */
@media (max-width: 1199px) {
    .pill-blanca-fechas {
        font-size: 2rem;
        padding: 25px 40px;
    }
}

@media (max-width: 991px) {
    /* En tablets/celulares quitamos la flecha amarilla para que no se amontone */
    .indicador-amarillo-fechas {
        display: none !important;
    }
    
    .pill-blanca-fechas {
        font-size: 1.6rem;
        padding: 20px 30px;
        width: 100%;
        border-width: 4px;
    }
}

@media (max-width: 576px) {
    .pill-blanca-fechas {
        font-size: 1.3rem;
        border-radius: 30px;
    }
}
/* =========================================
   SECCIÓN: BECAS - OPORTUNIDADES
   ========================================= */

#becas-oportunidades {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Contenedor de la Imagen --- */
.imagen-beca-wrapper {
    border: 4px solid #1a4b8c; /* Borde azul característico */
    border-radius: 30px; /* Esquinas muy redondeadas */
    overflow: hidden; /* Corta los bordes de la foto para que no se salgan del marco */
    padding: 0; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* Sombra muy sutil */
}

/* Evita que la imagen cuadrada rompa los bordes redondeados del contenedor */
.imagen-beca-wrapper img {
    display: block;
    border-radius: 25px; /* Un poco menos que el borde externo para un encaje perfecto */
}

/* --- Tipografía --- */
.titulo-beca {
    color: #1a4b8c; /* Azul oscuro institucional */
    font-weight: 800; /* Extra negrita */
    font-size: 3.2rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.texto-beca {
    color: #3b5f82; /* Azul ligeramente más claro/suave para el texto */
    font-weight: 400; /* Grosor normal */
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* --- Ajustes Responsivos (Tablets y Móviles) --- */
@media (max-width: 991px) {
    .titulo-beca {
        font-size: 2.6rem;
    }
    .texto-beca {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .titulo-beca {
        font-size: 2.2rem;
    }
    .texto-beca {
        font-size: 1rem;
    }
    .imagen-beca-wrapper {
        max-width: 400px;
        margin: 0 auto; /* Centra la imagen en celulares */
    }
}
/* =========================================
   SECCIÓN GENERAL BECAS
   ========================================= */
#seccion-becas {
    font-family: 'Raleway', sans-serif;
    color: #1a568c; /* Color base institucional */
}

/* --- 1. Banner Superior --- */
.banner-becas {
    height: 220px;
    width: 100%;
}

.bg-banner-becas {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.etiqueta-conoce-becas {
    position: absolute;
    bottom: 20px;
    left: 0;
    background-color: #1a568c;
    color: #ffffff;
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.1;
    padding: 15px 50px 15px 20px; /* Mucho espacio a la derecha */
    border-radius: 0 50px 50px 0; /* Borde curvo solo a la derecha */
    z-index: 2;
}

/* --- 2. Cajas de Tipos de Becas --- */
.caja-beca {
    padding: 60px;
}

.caja-amarilla {
    background-color: #eab308; /* Amarillo Westhill */
}

.caja-gris {
    background-color: #f4f6f9; /* Gris muy claro */
}

.titulo-tipo-beca {
    color: #1a568c;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.caja-beca p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #375373;
    font-weight: 400;
}

/* La Cruz Azul Flotante (Puro CSS) */
.cruz-flotante {
    position: absolute;
    left: 50%;
    bottom: -20px; /* Sobresale hacia abajo */
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    z-index: 3;
}
.cruz-flotante::before, .cruz-flotante::after {
    content: '';
    position: absolute;
    background-color: #1a568c;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.cruz-flotante::before { width: 100%; height: 12px; } /* Horizontal */
.cruz-flotante::after { width: 12px; height: 100%; }  /* Vertical */

/* --- 3. Programa de Referidos (Textos) --- */
.titulo-programa {
    color: #1a568c;
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: -1px;
}

.texto-referidos-ligero {
    font-weight: 300; /* Letra delgada como en la maqueta */
}

.texto-descuento {
    color: #375373;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-top: 20px;
}
/* --- Botón Más Información --- */
.btn-mas-info-azul {
    background-color: #1a568c !important; /* Azul sólido forzado */
    color: #ffffff !important; /* Texto blanco forzado */
    font-weight: 800;
    font-size: 1.5rem;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none !important; /* Quita el subrayado forzosamente */
    display: inline-block; /* Vital para que parezca un botón y no un texto */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-mas-info-azul:hover {
    transform: scale(1.05);
    background-color: #13426d !important;
    color: #ffffff !important;
}
/* =========================================
   SECCIÓN: CALCULA TU BECA (becas.php)
========================================= */

/* Contenedor exterior para dar márgenes a la sección si es necesario */
.becas-calculadora-section {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

/* Contenedor principal estilo tarjeta que agrupa ambas columnas */
.becas-calculadora-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background-color: #f3ce3e; /* Amarillo de respaldo por si la imagen tarda en cargar */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Sombra sutil para darle volumen */
}

/* --- Columna Izquierda (Fondo Verde) --- */
.becas-calc-info {
    flex: 1; /* Ocupa el 50% del espacio en escritorio */
    background-color: #28a745; /* Verde característico de la imagen */
    padding: 60px 50px;
    color: #ffffff; /* Todo el texto en blanco */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Título principal */
.becas-calc-titulo {
    font-size: 3.2em;
    font-weight: 800; /* Extra negrita */
    line-height: 1.1;
    margin-bottom: 40px;
    margin-top: 0;
    font-family: 'Raleway', Arial, sans-serif;
}

/* Contenedor para cada ítem de lista (ícono + texto) */
.becas-calc-beneficio {
    display: flex;
    align-items: flex-start; /* Alinea el ícono con la primera línea de texto */
    margin-bottom: 35px;
}

.becas-calc-beneficio:last-child {
    margin-bottom: 0;
}

/* Íconos laterales */
.becas-calc-icono {
    font-size: 2.8em; 
    margin-right: 25px;
    line-height: 1;
    width: 55px; /* Fija un ancho para que los textos queden alineados entre sí */
    text-align: center;
}

/* Textos de los beneficios */
.becas-calc-texto h3 {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.becas-calc-texto p {
    font-size: 1.1em;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

/* --- Columna Derecha (Imagen) --- */
.becas-calc-imagen {
    flex: 1; /* Ocupa el otro 50% */
    position: relative;
    background-color: #f3ce3e; /* Fondo amarillo */
}

.becas-img-estudiante {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hace que la imagen llene el 100% de su lado sin perder proporción */
    display: block;
}

/* --- Responsividad (Móviles y Tablets) --- */
@media (max-width: 992px) {
    .becas-calculadora-container {
        flex-direction: column; /* Apila las columnas una sobre otra */
    }

    .becas-calc-info {
        padding: 40px 30px;
    }

    .becas-calc-titulo {
        font-size: 2.5em;
    }

    .becas-calc-imagen {
        min-height: 350px; /* Asegura que la imagen no desaparezca en móviles */
    }
}

@media (max-width: 576px) {
    .becas-calc-icono {
        font-size: 2em;
        margin-right: 15px;
        width: 40px;
    }
    
    .becas-calc-texto h3 {
        font-size: 1.2em;
    }
}
/* =========================================
   SECCIÓN: FORMULARIO CONOZCÁMONOS (ANCHO COMPLETO)
========================================= */
/* =========================================
   SECCIÓN: FORMULARIO CONOZCÁMONOS (ALINEADO CON LA SECCIÓN SUPERIOR)
========================================= */

/* La sección exterior sirve para centrar y dar los mismos márgenes laterales que arriba */
.becas-form-section {
    width: 100%;
    padding: 50px 20px; /* Mismo padding exterior que la sección "Calcula tu beca" */
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

/* El contenedor del formulario con el fondo gris y limitado a 1200px */
.becas-form-container {
    width: 100%;
    max-width: 1200px; /* EXACTAMENTE el mismo ancho máximo que la sección de arriba */
    background-color: #f3f4f6; /* Fondo gris aplicado a la caja */
    padding: 50px 60px; /* Espacio interno para que los campos no toquen el borde gris */
    border-radius: 12px; /* Bordes ligeramente redondeados para estilo de tarjeta */
    box-sizing: border-box;
    font-family: 'Raleway', Arial, sans-serif;
}

/* --- Cabecera del formulario --- */
.becas-form-header {
    margin-bottom: 35px;
}

.becas-form-title {
    color: #21547e; 
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.becas-form-subtitle {
    color: #6385a3; 
    font-size: 1.15rem;
    margin: 0;
    font-weight: 400;
}

/* --- Grupos de inputs (Etiqueta + Campo) --- */
.becas-form-group {
    margin-bottom: 25px;
}

/* Etiquetas (Labels) */
.becas-form-label {
    display: block;
    color: #21547e; 
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

/* Campos de entrada */
.becas-form-input {
    width: 100%;
    padding: 15px 18px;
    border: none; 
    border-radius: 6px; 
    font-size: 1.05rem;
    color: #333333;
    background-color: #ffffff; 
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03); 
    transition: box-shadow 0.3s ease;
}

.becas-form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #21547e; 
}

/* --- Botón Continuar --- */
.becas-btn-continuar {
    width: 100%;
    background-color: #21547e; 
    color: #ffffff;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.becas-btn-continuar:hover {
    background-color: #173d5d; 
}

.becas-btn-continuar:active {
    transform: scale(0.98); 
}

/* --- Responsividad para celulares --- */
@media (max-width: 768px) {
    .becas-form-container {
        padding: 40px 30px; 
    }
}

@media (max-width: 576px) {
    .becas-form-section {
        padding: 40px 15px;
    }
    
    .becas-form-container {
        padding: 30px 20px; 
    }
    
    .becas-form-title {
        font-size: 2rem;
    }
    
    .becas-btn-continuar {
        font-size: 1.15rem;
        padding: 14px;
    }
}
/* =========================================
   WIDGET: CALCULADORA DE BECA
========================================= */

/* Contenedor General */
.becas-calc-widget-container {
    width: 100%;
    max-width: 700px;
    margin: 40px auto;
    background-color: #f1f2f4; /* Gris claro */
    font-family: 'Raleway', Arial, sans-serif;
    border: 2px solid #1f4dcc; /* Borde morado opcional como en la captura */
    border-radius: 4px;
    overflow: hidden; /* Para que la imagen no se salga de los bordes redondeados */
}

/* --- VISTA 1: FORMULARIO --- */
.becas-calc-widget-form-view {
    padding: 30px 40px;
}

.becas-calc-widget-title {
    color: #21547e;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
}

.becas-calc-widget-group {
    margin-bottom: 25px;
}

.becas-calc-widget-label {
    display: block;
    color: #21547e;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Custom Slider (Rango)[cite: 15] */
.becas-calc-slider-labels {
    display: flex;
    justify-content: space-between;
    color: #21547e;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding: 0 10px;
}

.becas-calc-slider {
    /*webkit-appearance: none;*/
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #21547e 66.6%, #f2cf53 66.6%) !important; /* Inicializado en 9 (66.6% del track 7-10) */
    border-radius: 10px;
    outline: none;
}

/* Thumb (Punto seleccionador) para Chrome/Safari */
.becas-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #21547e;
    border: 3px solid #37a164; /* Borde verde */
    cursor: pointer;
}

/* Thumb para Firefox */
.becas-calc-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #21547e;
    border: 3px solid #37a164;
    cursor: pointer;
}

/* Selects Personalizados[cite: 15] */
.becas-calc-select-wrapper {
    position: relative;
    width: 100%;
}

.becas-calc-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #21547e;
    font-size: 1.2rem;
    pointer-events: none;
}

.becas-calc-select {
    width: 100%;
    padding: 12px 15px 12px 45px; /* Padding izquierdo para no pisar el icono */
    border: 1.5px solid #21547e;
    border-radius: 6px;
    background-color: transparent; /* Transparente para usar el fondo gris general */
    color: #333;
    font-size: 1.05rem;
    appearance: none; /* Quita flecha por defecto */
    /* Flecha Chevron en SVG azul */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2321547e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
}

.becas-calc-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 84, 126, 0.2);
}

/* Botones Universales */
.becas-calc-widget-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease;
    border: none;
    box-sizing: border-box;
}

.becas-calc-widget-btn:hover {
    opacity: 0.9;
}

.becas-calc-btn-primary {
    background-color: #21547e;
    color: #ffffff;
    margin-top: 15px;
}

/* --- VISTA 2: RESULTADOS[cite: 16] --- */
.becas-calc-result-grid {
    display: flex;
    flex-wrap: wrap; /* Permite que colapse en móviles */
    background-color: #f1f2f4;
}

.becas-calc-result-img-col {
    flex: 1 1 40%; /* Ocupa el 40% del ancho */
    min-height: 400px;
}

.becas-calc-result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.becas-calc-result-data-col {
    flex: 1 1 60%; /* Ocupa el 60% del ancho */
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.becas-calc-result-text {
    color: #21547e;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
}

.becas-calc-discount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.becas-calc-discount-label {
    color: #6c7ea0; /* Azul grisáceo */
    font-size: 1.05rem;
    font-weight: 400;
}

.becas-calc-discount-box {
    background-color: #21547e;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 4px;
}

.becas-calc-btn-whatsapp {
    background-color: #72cc52; /* Verde WhatsApp */
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Separación icono y texto */
}

.becas-calc-btn-whatsapp i {
    font-size: 1.5rem;
}

.becas-calc-btn-outline {
    background-color: transparent;
    color: #21547e;
    border: 2px solid #21547e;
}

/* Responsividad */
@media (max-width: 600px) {
    .becas-calc-widget-form-view, .becas-calc-result-data-col {
        padding: 25px 20px;
    }
    .becas-calc-result-img-col {
        flex: 1 1 100%;
        min-height: 250px;
    }
}
/* =========================================
   SECCIÓN: WESTHILL WELL
   ========================================= */

#westhill-well {
    background-color: #ffffff;
    font-family: 'Raleway', sans-serif;
}

/* --- Tipografía --- */
.titulo-well {
    color: #1a568c; /* Azul institucional */
    font-weight: 600; /* Ligeramente más delgado que los títulos extra gruesos */
    font-size: 2.8rem;
    letter-spacing: -0.5px;
}

.texto-well {
    color: #4a4a4a; /* Gris oscuro para que la lectura no canse la vista */
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify; /* Mantiene el bloque de texto cuadrado como en la maqueta */
}

/* --- Ajustes Responsivos --- */
@media (max-width: 991px) {
    .titulo-well {
        font-size: 2.4rem;
    }
}

@media (max-width: 767px) {
    .titulo-well {
        font-size: 2rem;
        text-align: center; /* Centramos el título en móviles */
    }
    .texto-well {
        font-size: 1rem;
        text-align: left; /* En pantallas pequeñas, justificar el texto deja espacios en blanco muy grandes, es mejor alinear a la izquierda */
    }
}
/* =========================================
   SECCIÓN: PILARES WESTHILL WELL
   ========================================= */

#pilares-well {
    background-color: #1a568c; /* Fondo azul característico */
    font-family: 'Raleway', sans-serif;
}

/* --- Tipografía de los Pilares --- */
.pilar-titulo {
    color: #ffffff;
    font-weight: 800; /* Letra extra gruesa */
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.pilar-texto {
    color: #e2e8f0; /* Un blanco ligeramente apagado para que no canse la vista */
    font-weight: 300; /* Letra delgada como en la imagen */
    font-size: 1.05rem;
    line-height: 1.5;
}

/* --- Estilos de los Iconos --- */
.icono-well {
    width: 100%;
    max-width: 140px; /* Tamaño máximo para que no se vean enormes */
    height: auto;
    display: inline-block;
    transition: transform 0.3s ease; /* Transición suave para el hover */
}

/* Efecto al pasar el cursor sobre los iconos */
.icono-well:hover {
    transform: scale(1.1);
}

/* --- Ajustes Responsivos --- */
@media (max-width: 991px) {
    .pilar-titulo {
        font-size: 1.15rem;
    }
    .pilar-texto {
        font-size: 1rem;
    }
    .icono-well {
        max-width: 110px; /* Iconos un poco más pequeños en tablets */
    }
}

@media (max-width: 767px) {
    .icono-well {
        max-width: 90px; /* Iconos más pequeños en móviles para que quepan bien lado a lado */
    }
}
/* =========================================
   CONTENEDOR DEL VIDEO Y OLA
   ========================================= */

/* Este contenedor mantiene al video y a la ola juntos */
.video-wave-container {
    position: relative; /* Permite posicionar elementos libremente adentro */
    width: 100%;
    overflow: hidden; /* Corta cualquier cosa que se salga de los bordes */
    background-color: #1a568c; /* Color de fondo por si el video tarda en cargar */
}

/* Hacemos que el video ocupe todo el ancho disponible */
.video-fondo {
    width: 100%;
    height: auto;
    display: block; /* Evita márgenes invisibles en la parte de abajo */
}
/* =========================================
   SECCIÓN: PRÓXIMOS PROYECTOS (ESTILOS FINALES)
   ========================================= */

/* --- 1. Contenedor y Tipografía --- */
#proximos-proyectos {
    font-family: 'Raleway', sans-serif;
    background-color: #ffffff; 
}

.titulo-proyectos {
    color: #1a568c;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 100px !important;
}

/* --- 2. Estructura de las Tarjetas --- */
.tarjeta-proyecto {
    position: relative;
    border-radius: 30px; 
    padding: 150px 30px 40px 30px; 
    color: #ffffff;
    text-align: justify;
    height: 100%;
    z-index: 1; 
    /* ¡BORRAMOS EL OVERFLOW HIDDEN DE AQUÍ! */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animación al pasar el ratón */
.tarjeta-proyecto:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.61);
}

.titulo-tarjeta-proyecto {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left; 
}

.tarjeta-proyecto p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* --- 3. Marca de Agua (Fondo) --- */
.tarjeta-proyecto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/huella.png'); /* Reemplaza con el nombre de tu huella local */
    background-size: cover; 
    background-position: center bottom; 
    background-repeat: no-repeat;
    opacity: 0.15; /* Nivel de transparencia de la huella */
    z-index: -1; /* Coloca la huella detrás del texto */
}

/* --- 4. Círculos de Imágenes Flotantes --- */
.img-circulo-wrapper {
    position: absolute;
    top: -100px; /* Empuja el círculo fuera de la tarjeta */
    left: 50%;
    transform: translateX(-50%); /* Lo centra perfectamente */
    width: 255px;
    height: 255px;
    border-radius: 50%;
    border: 8px solid; /* El color del borde se inyecta desde las clases inferiores */
    overflow: hidden; 
    background-color: #ffffff;
}

.img-circulo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen para que llene el círculo sin deformarse */
}

/* --- 5. Paleta de Colores Dinámica --- */
.tarjeta-verde {
    background-color: #38b259;
}
.tarjeta-verde .img-circulo-wrapper {
    border-color: #38b259; /* Sincroniza el borde del círculo con el fondo */
}

.tarjeta-azul-oscuro {
    background-color: #2f6295;
}
.tarjeta-azul-oscuro .img-circulo-wrapper {
    border-color: #2f6295;
}

.tarjeta-azul-claro {
    background-color: #41a3e3;
}
.tarjeta-azul-claro .img-circulo-wrapper {
    border-color: #41a3e3;
}

/* --- 6. Diseño Responsivo (Pantallas Pequeñas) --- */
@media (max-width: 991px) {
    .img-circulo-wrapper {
        width: 180px;
        height: 180px;
        top: -90px;
    }
    .tarjeta-proyecto {
        padding-top: 120px; /* Reduce el espacio interior superior en móviles */
    }
}
/* --- Sección de Contacto Inferior --- */
.texto-contacto {
    font-size: 1.35rem; /* Tamaño de letra grande */
    color: #000000; /* Texto oscuro */
    font-weight: 300; /* Texto regular/ligero */
    letter-spacing: 0.5px;
}

.texto-contacto strong {
    font-weight: 800; /* Hace que "Correo:" y "Extensión:" resalten mucho */
}

@media (max-width: 767px) {
    .texto-contacto {
        font-size: 1.1rem; /* En celulares reducimos un poco el texto para que quepa bien */
    }
    .contacto-well {
        width: 100%; /* En móviles, en lugar de estar a la derecha, toma todo el ancho */
        text-align: center;
    }
    .contacto-well .d-flex {
        justify-content: center; /* Centra los íconos en celular */
    }
    .contacto-well .btn-mas-info-azul {
        width: 100%; /* Botón de ancho completo en móvil */
        text-align: center;
    }
}

/* =========================================
   ESTILOS EXCLUSIVOS PARA PÁGINA INCLUSIÓN
========================================= */

:root {
    --incl-color-amarillo: #e4c44c;
    --incl-color-azul: #207fce;
    --incl-color-verde: #1d8f43;
    --incl-color-blanco: #ffffff;
}

#pagina-inclusion-westhill {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Reseteo interno de etiquetas para no afectar el global */
#pagina-inclusion-westhill h1, 
#pagina-inclusion-westhill h2, 
#pagina-inclusion-westhill h3 {
    margin-top: 0;
    line-height: 1.2;
}

#pagina-inclusion-westhill strong {
    font-weight: bold;
}

#pagina-inclusion-westhill p {
    margin-bottom: 20px;
}

#pagina-inclusion-westhill p:last-child {
    margin-bottom: 0;
}

/* Contenedor principal de la página */
.incl-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header (Encabezado) --- */
.incl-header {
    background-color: #eebf42; 
    padding: 25px 20px;
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}
.incl-header-content {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    gap: 25px; 
}
.incl-header-icon {
    width: 70px;
    height: 70px;
    color: #ffffff; 
    flex-shrink: 0; 
}
.incl-header-text {
    color: #ffffff;
    font-size: 2.2rem;
    font-style: italic; 
    font-weight: 300; 
    margin: 0;
    line-height: 1.2;
}
.incl-header-text strong {
    font-weight: 800; 
}

@media (max-width: 768px) {
    .incl-header-content {
        flex-direction: column; 
        text-align: center;
        gap: 15px;
    }
    
    .incl-header-text {
        font-size: 1.8rem;
    }
    
    .incl-header-icon {
        width: 60px;
        height: 60px;
    }
}

/* --- Sección Introductoria --- */
.incl-section-intro {
    padding: 40px 0;
}

/* --- Sección "¿A quién está dirigido?" --- */
.incl-section-dirigido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    align-items: center;
}

.incl-dirigido-left {
    display: flex;
    flex-direction: column;
}

.incl-title-wrapper {
    position: relative;
    margin-bottom: 30px;
    z-index: 2; 
}

.incl-title-wrapper::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -60px;
    left: -60px;
    background-color: var(--incl-color-amarillo);
    z-index: -1;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='black' d='M99.5 10c12 15 8 29 24 36s35-5 46 5 9 31-1 44-28 12-35 27 5 36-6 48-31 10-43 0-13-29-28-35-35 6-46-5-9-30 0-42 27-12 33-27-3-37 8-48 35-11 48-3z'/%3E%3Ccircle cx='35' cy='35' r='12' fill='black'/%3E%3Ccircle cx='170' cy='55' r='8' fill='black'/%3E%3Ccircle cx='45' cy='170' r='10' fill='black'/%3E%3Ccircle cx='175' cy='155' r='14' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='black' d='M99.5 10c12 15 8 29 24 36s35-5 46 5 9 31-1 44-28 12-35 27 5 36-6 48-31 10-43 0-13-29-28-35-35 6-46-5-9-30 0-42 27-12 33-27-3-37 8-48 35-11 48-3z'/%3E%3Ccircle cx='35' cy='35' r='12' fill='black'/%3E%3Ccircle cx='170' cy='55' r='8' fill='black'/%3E%3Ccircle cx='45' cy='170' r='10' fill='black'/%3E%3Ccircle cx='175' cy='155' r='14' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
    transform: rotate(-15deg);
}

.incl-dirigido-title {
    font-size: 2em;
    color: var(--incl-color-azul);
}

/* Caja de texto azul y amarilla */
.incl-box {
    background-color: var(--incl-color-amarillo);
    border: 5px solid var(--incl-color-azul);
    border-radius: 20px;
    padding: 20px;
    z-index: 2;
}

.incl-dirigido-right {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Contenedor de la imagen con adorno verde */
.incl-img-dir-container {
    overflow: hidden;
    border-radius: 30px;
    position: relative;
    z-index: 1;
}

/* Mancha verde detrás */
.incl-img-dir-container::before {
    content: "";
    position: absolute;
    width: 580px;
    height: 580px;
    right: -150px; 
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--incl-color-verde);
    border-radius: 50% 45% 55% 40%;
    filter: blur(2px);
    z-index: -2;
}

.incl-img-dir {
    display: block;
    width: 100%; 
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.incl-img-dir-container:hover .incl-img-dir {
    transform: scale(1.08);
}

/* =========================================
   SECCIÓN: PROPUESTAS DE ACOMPAÑAMIENTO
========================================= */

.incl-section-propuestas {
    padding: 50px 20px;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Raleway', Arial, sans-serif;
}

.incl-propuestas-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.incl-propuestas-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.incl-prop-title-wrapper {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    margin-bottom: 20px;
}

.incl-propuestas-title {
    color: #1a5c92; 
    font-size: 2.2rem;
    font-weight: 500;
    text-align: right; 
    margin: 0;
    line-height: 1.2;
}

.incl-paz-icon {
    font-size: 4.5rem;
    margin-left: 15px;
    line-height: 1;
}

.incl-prop-list {
    list-style-type: disc;
    color: #1a5c92;
    font-size: 1.6rem;
    font-weight: 400;
    padding-left: 20px; 
    align-self: flex-start; 
}

.incl-prop-list li {
    margin-bottom: 10px;
}

.incl-propuestas-right {
    flex-shrink: 0; 
}

/* Círculos de imagen (general) */
.incl-img-circ-container {
    width: 320px; 
    height: 320px;
    border-radius: 50%; 
    overflow: hidden; 
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 0 !important;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.incl-img-circ {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    display: block;
    margin: 0;
    transition: transform 0.4s ease; 
}

.incl-img-circ-container:hover .incl-img-circ {
    transform: scale(1.15); 
}

.incl-propuestas-bottom p {
    color: #3f678c; 
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: justify; 
    margin: 0;
    font-weight: 400;
}

@media (max-width: 850px) {
    .incl-propuestas-top {
        flex-direction: column; 
        text-align: center;
    }
    
    .incl-prop-title-wrapper {
        justify-content: center; 
    }
    
    .incl-propuestas-title {
        text-align: center;
        font-size: 1.8rem;
    }
    
    .incl-paz-icon {
        font-size: 3.5rem;
    }
    
    .incl-prop-list {
        align-self: center; 
        font-size: 1.3rem;
        text-align: left;
    }
    
    .incl-img-circ-container {
        width: 250px;
        height: 250px;
    }
}

/* =========================================
   NUEVA SECCIÓN: OBJETIVOS (General y Específicos)
========================================= */

.incl-section-objetivos {
    padding: 60px 0;
}

.incl-titulo-azul {
    color: #17528a; 
    font-size: 2.2em;
    font-weight: normal;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.incl-parrafo-azul {
    color: #265d9c; 
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
}

.incl-parrafo-azul strong {
    font-weight: bold;
    color: #17528a; 
}

/* --- Parte 1: Objetivo General --- */
.incl-obj-general {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 80px;
}

.incl-img-general-container {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    padding: 0 !important;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Parte 2: Objetivos Específicos --- */
.incl-obj-especificos {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 40px;
    align-items: center;
}

.incl-lista-azul {
    list-style: none;
    padding: 0;
    color: #3b72a8; 
    font-size: 1.05em;
}

.incl-lista-azul li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.incl-lista-azul li::before {
    content: "•";
    color: #17528a;
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 1;
}

/* --- Composición de Imágenes Derecha --- */
.incl-composicion-imagenes {
    position: relative;
    width: 100%;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.incl-mancha-azul {
    position: absolute;
    width: 320px;
    height: 350px;
    background-color: #219bd3; 
    border-radius: 45% 55% 40% 60% / 55% 45% 60% 45%; 
    top: 0;
    right: 20px;
    z-index: 1;
}

.incl-img-principal-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2; 
    margin-bottom: 50px;
    margin-right: 40px;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.incl-img-secundaria-container {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 3; 
    bottom: 20px;
    right: 0px;
    padding: 0 !important;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Clase universal para el zoom en imágenes circulares --- */
.incl-img-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    transition: transform 0.4s ease;
}

.incl-img-general-container:hover .incl-img-zoom,
.incl-img-principal-container:hover .incl-img-zoom,
.incl-img-secundaria-container:hover .incl-img-zoom {
    transform: scale(1.15); 
}

@media (max-width: 900px) {
    .incl-obj-general {
        flex-direction: column;
        text-align: center;
    }
    
    .incl-parrafo-azul {
        text-align: center;
    }

    .incl-obj-especificos {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .incl-composicion-imagenes {
        min-height: 380px;
    }

    .incl-mancha-azul {
        right: 50%;
        transform: translateX(50%); 
    }
    
    .incl-img-secundaria-container {
        right: 10%; 
    }
    
    .incl-img-principal-container {
        margin-right: 0;
    }
}


/* =========================================
   ESTILOS: OBJETIVOS IMPLANTOLOGÍA
========================================= */

#seccion-implantologia-objetivos {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}

#seccion-implantologia-objetivos .implanto-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Flexbox en la columna para empujar la caja verde al fondo */
#seccion-implantologia-objetivos .implanto-columna {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#seccion-implantologia-objetivos .implanto-contenido-superior {
    flex-grow: 1; /* Permite que esta sección ocupe el espacio disponible */
    margin-bottom: 30px;
}

/* Títulos Azules */
#seccion-implantologia-objetivos .implanto-titulo {
    color: #1a4a7a; /* Azul institucional oscuro */
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Texto de Párrafo Azul Grisáceo */
#seccion-implantologia-objetivos .implanto-texto {
    color: #3a5a7a;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify; /* Alineación justificada como se intuye en la imagen */
    margin: 0;
}

/* Cajas Verdes Redondeadas (Píldora) */
#seccion-implantologia-objetivos .implanto-caja-verde {
    background-color: #28a745; /* Verde vibrante Westhill */
    color: #ffffff;
    padding: 25px 35px;
    border-radius: 50px; /* Bordes muy redondeados estilo píldora */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#seccion-implantologia-objetivos .implanto-caja-titulo {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
}

#seccion-implantologia-objetivos .implanto-caja-texto {
    font-size: 0.95rem;
    font-weight: 700; /* Texto en negrita según la imagen */
    line-height: 1.4;
    margin: 0;
}

/* --- Responsividad para Tablets y Móviles --- */
@media (max-width: 900px) {
    #seccion-implantologia-objetivos .implanto-container {
        grid-template-columns: 1fr; /* Cambia a una sola columna */
        gap: 40px;
    }
    
    #seccion-implantologia-objetivos .implanto-caja-verde {
        border-radius: 30px; /* Bordes ligeramente menos extremos en móviles */
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    #seccion-implantologia-objetivos .implanto-titulo {
        font-size: 1.8rem;
    }
}
/* =========================================
   NUEVA SECCIÓN: OBJETIVOS (General y Específicos)
========================================= */

/* Espaciado general de la sección */
.incl-section-objetivos {
    padding: 60px 0;
}

/* Tipografía y colores compartidos para esta sección */
.incl-titulo-azul {
    color: #17528a; /* Azul institucional del título */
    font-size: 2.2em;
    font-weight: normal;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.incl-parrafo-azul {
    color: #265d9c; /* Azul del texto */
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
}

.incl-parrafo-azul strong {
    font-weight: bold;
    color: #17528a; /* Azul más oscuro para las negritas */
}

/* --- Parte 1: Objetivo General --- */
.incl-obj-general {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}
/* Contenedor general circular sin borde */
.incl-img-general-container {
    width: 310px;
    height: 310px;
    border-radius: 50%;
    overflow: hidden; /* Mantiene la imagen dentro del círculo al hacer zoom */
    flex-shrink: 0; /* Evita que el círculo se aplaste en pantallas pequeñas */
}

/* La imagen dentro del contenedor */
.incl-img-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llena el círculo sin deformarse */
    transition: transform 0.4s ease; /* Controla la suavidad de la animación */
}

/* Efecto de Zoom al pasar el cursor */
.incl-img-general-container:hover .incl-img-zoom {
    transform: scale(1.15); /* Acerca la imagen un 15% */
}

/* --- Parte 2: Objetivos Específicos --- */
.incl-obj-especificos {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Da más espacio al texto frente a la imagen */
    gap: 40px;
    align-items: center;
    overflow: hidden; /* Evita scroll horizontal si las imágenes sobresalen del borde derecho */
}

.incl-texto-especificos {
    padding-right: 20px;
}

.incl-lista-azul {
    list-style: none;
    padding: 0;
    color: #3b72a8;
    font-size: 1.05em;
}

.incl-lista-azul li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

/* Viñetas personalizadas */
.incl-lista-azul li::before {
    content: "•";
    color: #17528a;
    position: absolute;
    left: 0;
    font-size: 1.5em;
    line-height: 1;
}

/* --- Composición de Imágenes Derecha --- */
.incl-composicion-imagenes {
    position: relative;
    width: 100%;
    min-height: 550px; /* Suficiente altura para que la imagen doble no se apriete */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Imagen de la mancha azul de fondo */
.incl-mancha-azul-img {
    position: absolute;
    width: 410px; /* Tamaño de la mancha azul */
    right: -20px; /* Posicionada a la derecha según el diseño */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* NUEVO: Contenedor para la imagen doble completa (Sin bordes ni recortes circulares) */
.incl-img-completa-container {
    position: relative;
    width: 100%;
    max-width: 420px; /* Ancho máximo para la imagen doble */
    z-index: 2; /* Por encima de la mancha azul */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Zoom de la imagen al pasar el cursor */
.incl-img-zoom {
    width: 100%;
    height: auto; /* Mantiene la proporción original de tu archivo */
    object-fit: contain; /* Asegura que no se mutile nada de la imagen */
    transition: transform 0.4s ease;
}

.incl-img-completa-container:hover .incl-img-zoom {
    transform: scale(1.10); /* Zoom ligeramente más suave para no tapar el texto */
}

/* --- Responsividad para tablets y celulares --- */
@media (max-width: 900px) {
    .incl-composicion-imagenes {
        min-height: 450px;
    }

    .incl-mancha-azul-img {
        width: 380px;
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .incl-img-completa-container {
        max-width: 350px;
    }
}
/* =========================================
   NUEVA SECCIÓN: MISIÓN Y VISIÓN
========================================= */

.incl-section-mision-vision {
    padding: 50px 0;
}

/* Grilla para poner Misión y Visión lado a lado */
.incl-grid-mision-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch; /* Hace que ambas cajas tengan la misma altura automáticamente */
}

/* Títulos Azules Superiores */
.incl-titulo-mv {
    text-align: center;
    color: #17528a; /* Azul institucional */
    font-size: 2.4em;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Cajas Azules contenedoras */
.incl-caja-mv {
    background-color: #236592; /* Azul principal de la caja */
    border-top: 5px solid #44a5d4; /* Línea decorativa azul claro superior */
    border-radius: 12px; /* Bordes redondeados */
    padding: 35px 30px;
    color: #ffffff; /* Texto blanco */
    height: 100%; /* Ocupa el 100% de la altura de la grilla */
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.incl-caja-mv p {
    font-size: 1.05em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.incl-caja-mv p:last-child {
    margin-bottom: 0;
}

/* --- Alineación y línea divisoria para Misión --- */
.incl-contenido-mision {
    border-left: 1px solid rgba(255, 255, 255, 0.6); /* Fina línea blanca a la izquierda */
    padding-left: 25px; /* Separación de la línea al texto */
    text-align: left; /* Texto alineado a la izquierda */
}

/* --- Alineación y línea divisoria para Visión --- */
.incl-contenido-vision {
    border-right: 1px solid rgba(255, 255, 255, 0.6); /* Fina línea blanca a la derecha */
    padding-right: 25px; /* Separación de la línea al texto */
    text-align: right; /* Texto alineado a la derecha como en tu imagen */
}

/* --- Responsividad para móviles y tablets --- */
@media (max-width: 768px) {
    .incl-grid-mision-vision {
        grid-template-columns: 1fr; /* Cambia a una sola columna */
        gap: 40px;
    }
    
    /* En celulares, es mejor estandarizar la lectura alineando todo a la izquierda */
    .incl-contenido-vision {
        text-align: left;
        border-right: none;
        border-left: 1px solid rgba(255, 255, 255, 0.6);
        padding-right: 0;
        padding-left: 25px;
    }
}
/* =========================================
   NUEVA SECCIÓN: PRINCIPIOS QUE ORIENTAN
========================================= */

.incl-section-principios {
    padding: 60px 0;
}

/* --- Encabezado --- */
.incl-principios-header {
    text-align: center;
    margin-bottom: 50px;
}

.incl-titulo-principios {
    color: #17528a; /* Azul institucional */
    font-size: 2.2em;
    font-weight: normal;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.2;
}

.incl-linea-separadora {
    width: 200px;
    height: 2px;
    background-color: #17528a;
    margin: 0 auto;
}

/* --- Contenedor Flex para la fila de 6 --- */
.incl-principios-contenedor {
    display: flex;
    justify-content: center; /* Centra los elementos */
    flex-wrap: wrap; /* Permite que bajen si la pantalla es pequeña */
    gap: 20px; /* Separación horizontal y vertical */
    margin-bottom: 40px;
}

/* --- Cada Elemento (Ícono + Texto) --- */
.incl-principio-item {
    width: 145px; /* Ancho fijo para mantener la alineación uniforme */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.incl-principio-item p {
    color: #17528a;
    font-size: 0.95em;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

/* --- Estilos base del círculo --- */
.incl-icono-circulo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 35px; /* Tamaño del icono interno */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.incl-icono-circulo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* --- Variaciones de color para los círculos --- */
.incl-bg-amarillo {
    background-color: #f5c747; /* Amarillo */
    color: #17528a; /* Icono azul oscuro */
}

.incl-bg-verde {
    background-color: #27a858; /* Verde */
    color: #ffffff; /* Icono blanco */
}

.incl-bg-azul-claro {
    background-color: #219bd3; /* Azul claro */
    color: #ffffff; /* Icono blanco */
}

/* --- Principio 7 (Centrado) --- */
.incl-item-centrado {
    margin: 0 auto;
}

.incl-linea-separadora-pequena {
    width: 50px;
    height: 2px;
    background-color: #17528a;
    margin-top: 15px;
}

/* --- Responsividad --- */
@media (max-width: 992px) {
    .incl-principio-item {
        width: 130px; /* Reduce un poco el ancho en pantallas medianas */
    }
    
    .incl-icono-circulo {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .incl-principios-contenedor {
        gap: 30px 15px;
    }
    
    .incl-principio-item {
        width: 45%; /* En celulares, muestra 2 principios por fila */
    }
}
/* =========================================
   NUEVA SECCIÓN: TÍTULO FORMULARIO (CTA)
========================================= */

.incl-section-cta-form {
    padding: 60px 20px 40px 20px; /* Más espacio arriba para separarlo de la sección anterior */
    text-align: center;
    width: 100%;
}

.incl-titulo-formulario {
    color: #1a639e; /* Azul medio similar al de la imagen */
    font-size: 2.2rem;
    font-weight: 500; /* Un grosor de fuente regular/medio, no tan negrita */
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

/* --- Responsividad para móviles y tablets --- */
@media (max-width: 768px) {
    .incl-section-cta-form {
        padding: 40px 15px 30px 15px;
    }
    
    .incl-titulo-formulario {
        font-size: 1.6rem;
    }
}
/*************FIN INCLUSION***********************/
/*******************CALENDARIO*****************************/
/* =========================================
   ESTILOS: EVENTOS DE CAPTACIÓN MEDICINA
========================================= */

#seccion-medicina-captacion {
    padding: 60px 20px;
    background-color: #f1f2f4; /* Fondo gris claro unificador */
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}

.med-captacion-container {
    width: 100%;
    max-width: 1100px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* --- Encabezado --- */
.med-captacion-header {
    background-color: #21547e; /* Azul Westhill */
    color: #ffffff;
    padding: 35px 40px;
    text-align: center;
    border-bottom: 5px solid #28a745; /* Línea verde de acento */
}

.med-captacion-titulo {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.med-captacion-subtitulo {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

/* --- Grilla Principal --- */
.med-captacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.med-captacion-col-titulo {
    color: #21547e;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Calendario / Selector de Fechas --- */
.med-captacion-lista-fechas {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.med-captacion-fecha-card {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 2px solid #e0e4e8;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.med-captacion-fecha-card:hover {
    border-color: #21547e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(33, 84, 126, 0.1);
}

/* Estado seleccionado (Clase añadida por JS) */
.med-captacion-fecha-card.seleccionada {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.med-captacion-mes-dia {
    background-color: #21547e;
    color: #ffffff;
    width: 65px;
    height: 65px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.med-mes { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }
.med-dia { font-size: 1.6rem; font-weight: 800; line-height: 1; }

.med-captacion-fecha-card.seleccionada .med-captacion-mes-dia {
    background-color: #28a745; /* El cuadro se vuelve verde al seleccionar */
}

.med-captacion-detalle {
    flex-grow: 1;
}

.med-captacion-detalle strong {
    display: block;
    color: #21547e;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.med-captacion-detalle span {
    color: #6385a3;
    font-size: 0.9rem;
}

.med-captacion-check {
    color: #28a745;
    font-size: 1.5rem;
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.2s ease;
}

.med-captacion-fecha-card.seleccionada .med-captacion-check {
    opacity: 1; /* Muestra la palomita cuando se selecciona */
}

/* --- Formulario --- */
.med-captacion-alerta {
    background-color: #fff3cd;
    color: #856404;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.med-captacion-group {
    margin-bottom: 20px;
}

.med-captacion-label {
    display: block;
    color: #21547e;
    font-weight: 700;
    margin-bottom: 8px;
}

.med-captacion-nota {
    color: #dc3545; /* Rojo para advertir el máximo */
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 5px;
}

.med-captacion-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.med-captacion-input:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.med-captacion-input:focus:not(:disabled) {
    outline: none;
    border-color: #21547e;
    box-shadow: 0 0 0 2px rgba(33, 84, 126, 0.2);
}

.med-captacion-btn {
    width: 100%;
    background-color: #28a745; /* Botón de acción verde */
    color: #ffffff;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.med-captacion-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.med-captacion-btn:not(:disabled):hover {
    background-color: #218838;
}

/* --- Responsividad --- */
@media (max-width: 850px) {
    .med-captacion-grid {
        grid-template-columns: 1fr; /* Colapsa a 1 columna */
        gap: 30px;
        padding: 30px 20px;
    }
    
    .med-captacion-header {
        padding: 25px 20px;
    }
}
/* =========================================
   NUEVO ENCABEZADO: EXPERIENCIA WESTHILL (TAMAÑO GRANDE)
========================================= */

.med-captacion-header-custom {
    padding: 80px 20px 60px 20px; /* Más espacio arriba y abajo para respirar */
    background-color: #f1f2f4;
    text-align: center;
    border-bottom: 2px solid #f1f2f4;
}

.med-titulo-grafico {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 50px; /* Aumentado para que la mascota grande no corte arriba */
}

/* Caja Verde Superior (Escalada) */
.med-caja-verde {
    background-color: #27a858;
    color: #ffffff;
    font-size: 5rem; /* Antes 3.5rem */
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: 500;
    padding: 5px 60px; /* Caja más ancha */
    transform: rotate(-3deg);
    z-index: 2;
    position: relative;
    margin-bottom: -25px; /* Empuja más abajo para mantener el cruce */
}

/* Caja Amarilla Inferior (Escalada) */
.med-caja-amarilla {
    background-color: #eebf42;
    color: #21547e;
    padding: 15px 100px 15px 60px; /* Más espacio a la derecha para la mascota grande */
    transform: rotate(-3deg);
    z-index: 1;
    position: relative;
    display: inline-block;
}

.med-texto-ligero {
    font-size: 5rem; /* Antes 3.8rem */
    font-weight: 300;
}

.med-texto-bold {
    font-size: 5.5rem; /* Antes 4rem */
    font-weight: 900;
    letter-spacing: -1.5px;
}

/* Imagen de la mascota (Lince Escalado) */
.med-mascota-img {
    position: absolute;
    top: -171px; /* Ajustado para el nuevo tamaño */
    right: -20px; /* Ajustado al nuevo borde */
    width: 220px; /* Antes 140px (Mucho más grande) */
    z-index: 0;
    transform: rotate(3deg);
}

/* Texto Azul Inferior (Escalado) */
.med-texto-reserva {
    color: #21547e;
    font-size: 3rem; /* Antes 2.2rem */
    font-weight: 400;
    margin-top: 50px; /* Más separación del bloque amarillo */
    letter-spacing: 1px;
}

/* --- Responsividad para Tablets y Móviles (Ajustado a escalas legibles) --- */
@media (max-width: 992px) {
    .med-caja-verde { font-size: 3.5rem; padding: 5px 40px; margin-bottom: -15px; }
    .med-caja-amarilla { padding: 10px 70px 10px 40px; }
    .med-texto-ligero { font-size: 3.8rem; }
    .med-texto-bold { font-size: 4rem; }
    .med-mascota-img { width: 160px; top: -100px; right: -15px; }
    .med-texto-reserva { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .med-caja-verde { font-size: 2.2rem; padding: 5px 20px; margin-bottom: -10px; }
    .med-caja-amarilla { padding: 10px 40px 10px 15px; }
    .med-texto-ligero { font-size: 2.2rem; }
    .med-texto-bold { font-size: 2.4rem; }
    .med-texto-reserva { font-size: 1.5rem; margin-top: 25px; }
    .med-mascota-img { width: 100px; top: -60px; right: -10px; }
}
/* =========================================
   ESTILOS: SECCIÓN CONOCE A ARTURO
========================================= */

/* Contenedor general aislado */
.arq-talento-section {
    width: 100%;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Wrapper relativo para contener la imagen y posicionar los textos encima */
.arq-talento-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%; 
    margin: 0 auto;
    overflow: hidden;
    display: flex;
}

/* Imagen base */
.arq-talento-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Contenedor de los títulos superpuestos */
.arq-talento-textos {
    position: absolute;
    bottom: 12%; /* Altura relativa para que se mantenga proporcional en distintas pantallas */
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
}

/* Etiqueta amarilla pequeña */
.arq-talento-etiqueta {
    background-color: #eebf42; /* Amarillo Westhill */
    color: #1a5c92; /* Azul oscuro */
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 25px 10px 20px;
    border-radius: 0 20px 20px 0; /* Bordes redondeados solo a la derecha */
    margin-bottom: 0px; 
    position: relative;
    z-index: 3;
}

/* Contenedor del título (necesario para el efecto de sombra verde) */
.arq-talento-titulo-container {
    position: relative;
    display: inline-block;
}

/* Título principal azul */
.arq-talento-titulo {
    background-color: #21547e; /* Azul Westhill */
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    padding: 12px 60px 12px 20px;
    border-radius: 0 40px 40px 0;
    position: relative;
    z-index: 2; /* Por encima de la sombra verde */
    letter-spacing: -1px;
}

/* Sombra decorativa verde detrás del título */
.arq-talento-titulo-container::after {
    content: "";
    position: absolute;
    top: 15px; /* Desplaza la sombra hacia abajo */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #28a745; /* Verde Westhill */
    border-radius: 0 40px 40px 0;
    z-index: 1; /* Detrás del título azul */
}

/* --- Responsividad para Tablets y Celulares --- */
@media (max-width: 992px) {
    .arq-talento-titulo {
        font-size: 2.2rem;
        padding: 10px 40px 10px 15px;
        border-radius: 0 30px 30px 0;
    }
    .arq-talento-titulo-container::after {
        border-radius: 0 30px 30px 0;
        top: 10px;
    }
}

@media (max-width: 576px) {
    .arq-talento-textos {
        bottom: 8%; /* Ajusta la posición en pantallas pequeñas */
    }
    .arq-talento-img {
        min-height: 250px; /* Evita que la imagen sea demasiado delgada en móviles */
    }
    .arq-talento-titulo {
        font-size: 1.5rem;
        padding: 8px 30px 8px 15px;
        border-radius: 0 25px 25px 0;
    }
    .arq-talento-titulo-container::after {
        border-radius: 0 25px 25px 0;
        top: 6px;
    }
    .arq-talento-etiqueta {
        font-size: 0.9rem;
        padding: 6px 20px 6px 15px;
        border-radius: 0 15px 15px 0;
    }
}
/* =========================================
   ESTILOS: PERFIL DE TALENTO
========================================= */

.talento-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif; /* Mantiene la tipografía del sitio */
    display: flex;
    justify-content: center;
}

.talento-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 45% 55%; /* La imagen ocupa 45% y el texto 55% */
    gap: 50px;
    align-items: start; /* Alinea los elementos en la parte superior */
}

/* --- Columna Izquierda (Imagen) --- */
.talento-img-col {
    width: 100%;
}

.talento-img {
    width: 100%;
    height: auto;
    display: block;
    /* Borde verde con bordes redondeados asimétricos según la captura */
    border: 8px solid #28a745; 
    border-radius: 25px 10px 25px 25px; 
    box-sizing: border-box;
}

/* --- Columna Derecha (Texto) --- */
.talento-texto-col {
    display: flex;
    flex-direction: column;
}

.talento-titulo {
    color: #21547e; /* Azul institucional Westhill */
    font-size: 2.6rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.talento-descripcion p {
    color: #4a5568; /* Gris oscuro para facilitar la lectura extensa */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 18px;
    text-align: justify; /* Textos justificados como en tu captura */
}

.talento-descripcion p:last-child {
    margin-bottom: 0;
}

/* --- Responsividad para Tablets y Móviles --- */
@media (max-width: 900px) {
    .talento-container {
        grid-template-columns: 1fr; /* Colapsa en una sola columna */
        gap: 35px;
    }
    
    .talento-img {
        max-width: 500px;
        margin: 0 auto; /* Centra la imagen en móviles */
    }
    
    .talento-titulo {
        font-size: 2.2rem;
        text-align: center; /* Centra el título en dispositivos pequeños */
    }
}
/* =========================================
   ESTILOS: GALERÍA DE FOTOS
========================================= */

.galeria-section {
    padding: 60px 0; /* Padding superior e inferior, 0 a los lados para que el carrusel toque los bordes */
    font-family: 'Raleway', Arial, sans-serif;
    background-color: #ffffff;
    overflow: hidden; /* Evita cualquier desbordamiento horizontal en la página */
}

/* --- Diseño del Título (Píldoras superpuestas)[cite: 12] --- */
.galeria-header {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.galeria-titulo {
    background-color: #21547e; /* Azul Westhill */
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    padding: 15px 40px 15px 20px; /* Más padding a la derecha */
    border-radius: 0 35px 35px 0; /* Redondeado solo del lado derecho */
    position: relative;
    z-index: 2; /* Por encima del verde */
}

/* Sombra/Fondo verde del título[cite: 12] */
.galeria-header::after {
    content: "";
    position: absolute;
    top: 15px; /* Lo desplaza hacia abajo */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #28a745; /* Verde Westhill */
    border-radius: 0 35px 35px 0;
    z-index: 1; /* Por debajo del azul */
}

/* --- Contenedor del Carrusel (Las Barras)[cite: 12] --- */
.galeria-carousel-wrapper {
    width: 100%;
    background-color: #21547e; /* Fondo Azul que crea las barras internas */
    border-top: 8px solid #28a745; /* Barra Verde superior */
    border-bottom: 8px solid #28a745; /* Barra Verde inferior */
    padding: 20px 0; /* Espacio azul visible arriba y abajo de las fotos */
    overflow: hidden;
    position: relative;
}

/* --- Pista de movimiento --- */
.galeria-track {
    display: flex;
    width: max-content; /* Se adapta al tamaño de todas las imágenes sumadas */
    animation: scroll-infinito 35s linear infinite; /* Animación continua */
}

/* Pausa el carrusel si el usuario pasa el mouse por encima (Opcional pero buena UX) */
.galeria-track:hover {
    animation-play-state: paused;
}

/* --- Contenedores de las imágenes --- */
.galeria-slide-set {
    display: flex;
}

/* --- Imágenes (Sin espacios)[cite: 12] --- */
.galeria-slide-set .galeria-img {
    height: 380px; /* Fija la altura de las imágenes */
    width: auto; /* El ancho se ajusta para mantener la proporción de la foto */
    min-width: 250px; /* Previene que imágenes muy delgadas se vean mal */
    object-fit: cover;
    margin: 0; /* Asegura 0 espacios entre imágenes */
    padding: 0;
    border: none;
    display: block;
}

/* --- Animación Keyframes --- */
@keyframes scroll-infinito {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Se desplaza exactamente la mitad (el SET 1 completo), 
           revelando el SET 2 de forma imperceptible */
        transform: translateX(-50%); 
    }
}

/* --- Responsividad --- */
@media (max-width: 768px) {
    .galeria-titulo {
        font-size: 1.8rem;
        padding: 12px 30px 12px 15px;
    }
    
    .galeria-slide-set .galeria-img {
        height: 250px; /* Imágenes un poco más pequeñas en móviles */
    }
    
    .galeria-carousel-wrapper {
        padding: 15px 0; /* Reduce las franjas azules en móviles */
        border-top-width: 5px;
        border-bottom-width: 5px;
    }
}
/* =========================================
   ESTILOS: SECCIÓN ENTREVISTA
========================================= */

.entrevista-section {
    padding: 60px 0; /* Espacio superior e inferior */
    font-family: 'Raleway', Arial, sans-serif;
    background-color: #ffffff;
}

/* --- Diseño del Título (Píldoras superpuestas)[cite: 9] --- */
.entrevista-header {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.entrevista-titulo {
    background-color: #21547e; /* Azul Westhill */
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1; /* Ajusta el interlineado del salto de línea */
    margin: 0;
    padding: 15px 40px 15px 20px;
    border-radius: 0 35px 35px 0; /* Bordes redondeados derechos */
    position: relative;
    z-index: 2; /* Asegura que quede frente al amarillo */
}

/* Sombra/Fondo amarillo del título[cite: 9] */
.entrevista-header::after {
    content: "";
    position: absolute;
    top: 15px; /* Desplazamiento hacia abajo */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eebf42; /* Amarillo Westhill */
    border-radius: 0 35px 35px 0;
    z-index: 1; /* Detrás del título azul */
}

/* --- Contenedor del Video (Las Barras)[cite: 9] --- */
.entrevista-video-wrapper {
    width: 100%;
    background-color: #21547e; /* Fondo Azul que crea las barras internas */
    border-top: 8px solid #eebf42; /* Barra Amarilla superior */
    border-bottom: 8px solid #eebf42; /* Barra Amarilla inferior */
    padding: 25px 0; /* Espacio azul visible arriba y abajo del video */
    display: flex;
    justify-content: center;
}

/* Video reproductor */
/* Video reproductor a pantalla completa */
.entrevista-video {
    width: 100vw; /* Fuerza a usar el 100% del ancho de la ventana (viewport) */
    max-width: 100%; /* Elimina la restricción anterior de 900px */
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
    object-fit: cover; /* Evita espacios negros a los lados si el video tiene otra proporción */
}

/* --- Responsividad --- */
@media (max-width: 768px) {
    .entrevista-titulo {
        font-size: 1.6rem;
        padding: 12px 30px 12px 15px;
    }
    
    .entrevista-video-wrapper {
        padding: 15px 0; /* Franjas azules más delgadas en móviles */
        border-top-width: 5px; /* Franjas amarillas más delgadas */
        border-bottom-width: 5px;
    }
}
/* =========================================
   ESTILOS: PRÁCTICAS ACADÉMICAS Y RELEVANCIA
========================================= */

.prac-acad-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}

.prac-acad-container {
    width: 100%;
    max-width: 1100px;
}

/* --- Encabezado Superior (Derecha) --- */
.prac-acad-header {
    text-align: right;
    margin-bottom: 30px;
}

.prac-acad-subtitle {
    display: block;
    color: #1a5c92;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2px;
    margin-right: 25px; /* Ajuste para alinear con la curva de la pastilla */
}

.prac-acad-title {
    display: inline-block;
    background-color: #eebf42; /* Amarillo */
    color: #1a5c92;
    font-size: 2.2rem;
    font-weight: 800;
    padding: 6px 35px;
    border-radius: 30px; /* Forma de pastilla */
    margin: 0;
}

/* --- Párrafos de Texto --- */
.prac-acad-text {
    margin-bottom: 35px;
}

.prac-acad-text p {
    color: #4a759c; /* Azul medio/grisáceo */
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: justify;
}

.prac-acad-text p:last-child {
    margin-bottom: 0;
}

/* --- Cuadrícula de Iconos --- */
.prac-acad-icons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.prac-acad-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 130px;
}

.prac-acad-circle {
    width: 100px;
    height: 100px;
    background-color: #27a858; /* Verde */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.prac-acad-circle:hover {
    transform: translateY(-5px);
}

.prac-acad-circle img {
    width: 50px; /* Tamaño del icono dentro del círculo */
    height: auto;
}

.prac-acad-icon-item h4 {
    color: #1a5c92;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

/* --- Subtítulo Relevancia (Izquierda) --- */
.prac-acad-subheader-wrap {
    margin-bottom: 25px;
}

.prac-acad-subheader {
    display: inline-block;
    background-color: #27a858; /* Verde */
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 8px 30px;
    border-radius: 30px; /* Forma de pastilla */
    margin: 0;
}

/* --- Responsividad --- */
@media (max-width: 900px) {
    .prac-acad-icons {
        justify-content: center;
        gap: 30px 20px;
    }
    .prac-acad-icon-item {
        flex: 0 0 30%; /* 3 columnas en tablets */
    }
}

@media (max-width: 600px) {
    .prac-acad-header {
        text-align: center;
    }
    .prac-acad-subtitle {
        margin-right: 0;
    }
    .prac-acad-title {
        font-size: 1.8rem;
        padding: 6px 20px;
    }
    .prac-acad-icon-item {
        flex: 0 0 45%; /* 2 columnas en celulares */
    }
    .prac-acad-text p {
        text-align: left;
    }
    .prac-acad-subheader {
        font-size: 1.5rem;
    }
}
/* Estilos para los iconos SVG dentro de los círculos verdes */
.prac-acad-svg {
    width: 50px;
    height: 50px;
    color: #ffffff; /* Pinta el icono de blanco */
}
/* =========================================
   ESTILOS: VINCULACIÓN EMPRESARIAL
========================================= */

.vinc-emp-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}

.vinc-emp-container {
    width: 100%;
    max-width: 1100px;
}

/* --- Título --- */
.vinc-emp-title {
    color: #1a5c92; /* Azul institucional Westhill */
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* --- Párrafos de Texto --- */
.vinc-emp-text p {
    color: #4a759c; /* Azul medio/grisáceo para lectura cómoda */
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: justify;
}

.vinc-emp-text p:last-child {
    margin-bottom: 0;
}

/* --- Responsividad para Tablets y Móviles --- */
@media (max-width: 768px) {
    .vinc-emp-section {
        padding: 40px 20px;
    }
    
    .vinc-emp-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .vinc-emp-text p {
        text-align: left; /* Alineación a la izquierda en móviles para mejor lectura */
        font-size: 1rem;
    }
}
/* =========================================
   ESTILOS: NUESTRA COMUNIDAD VESTIGIA
========================================= */

.comunidad-historias-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}

.comunidad-historias-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Título --- */
.comunidad-title {
    color: #1a5c92; /* Azul oscuro institucional Westhill */
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

/* --- Párrafos regulares --- */
.comunidad-text {
    color: #4a759c; /* Azul medio/grisáceo para lectura */
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left;
}

/* --- Párrafo destacado (Negritas) --- */
.comunidad-highlight {
    color: #1a5c92; /* Azul oscuro para coincidir con el título */
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 700; /* Texto en negrita */
    margin-top: 30px;
    margin-bottom: 0;
    text-align: left;
}

/* --- Responsividad para Tablets y Móviles --- */
@media (max-width: 768px) {
    .comunidad-historias-section {
        padding: 40px 20px;
    }
    
    .comunidad-title {
        font-size: 2.2rem;
    }
    
    .comunidad-text, 
    .comunidad-highlight {
        font-size: 1rem; /* Textos ligeramente más pequeños en móviles */
    }
}
/* =========================================
   ESTILOS: EQUIVALENCIAS
========================================= */

.equiv-section {
    font-family: 'Raleway', Arial, sans-serif;
    background-color: #ffffff;
    width: 100%;
    overflow: hidden;
    padding-top: 40px; /* Espacio antes del banner */
    padding-bottom: 0; /* La franja verde toca el final */
}

/* --- Banner Azul --- */
.equiv-banner-wrapper {
    width: 100%;
    margin-bottom: 50px;
}

.equiv-banner {
    background-color: #21547e; /* Azul Westhill */
    display: inline-block;
    padding: 20px 80px 20px 40px; /* Relleno asimétrico para alargar el lado derecho */
    border-radius: 0 40px 40px 0; /* Borde redondeado solo a la derecha */
}

.equiv-title {
    color: #ffffff;
    font-size: 4rem; /* Tamaño grande según el diseño */
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
}

/* --- Introducción (Fondo Blanco) --- */
.equiv-intro-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 50px 20px;
}

.equiv-intro-title {
    color: #1a5c92; /* Azul oscuro */
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

.equiv-intro-text {
    color: #4a759c; /* Azul medio/grisáceo para lectura */
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Franja Verde Inferior --- */
.equiv-green-band {
    background-color: #27a858; /* Verde Westhill */
    width: 100%;
    padding: 40px 20px;
}

.equiv-green-container {
    max-width: 1100px;
    margin: 0 auto;
}

.equiv-green-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
}

.equiv-green-text {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 15px;
}

.equiv-green-text:last-child {
    margin-bottom: 0;
}

/* --- Responsividad para Tablets y Móviles --- */
@media (max-width: 768px) {
    .equiv-banner {
        padding: 15px 40px 15px 20px; /* Reduce los espacios laterales */
    }
    
    .equiv-title {
        font-size: 2.5rem; /* Ajusta el texto al ancho de la pantalla */
    }
    
    .equiv-intro-title,
    .equiv-green-title {
        font-size: 1.8rem;
    }
    
    .equiv-intro-text, 
    .equiv-green-text {
        font-size: 1rem;
    }
}
/* =========================================
   ESTILOS: NUESTRO OBJETIVO / A QUIÉN VA DIRIGIDO
========================================= */

.obj-dirigido-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}

.obj-dirigido-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* --- Bloque Superior (Objetivo) --- */
.obj-dirigido-top {
    text-align: left;
}

.obj-dirigido-title {
    color: #21547e; /* Azul oscuro Westhill */
    font-size: 2.4rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.obj-dirigido-desc {
    color: #4a759c; /* Azul medio/grisáceo para lectura */
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Cuadrícula Inferior (2 Columnas) --- */
.obj-dirigido-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
    gap: 40px;
    align-items: stretch; /* Hace que ambas columnas tengan la misma altura */
}

/* --- Tarjeta Verde (Izquierda) --- */
.obj-dirigido-card-green {
    background-color: #27a858; /* Verde Westhill */
    border-radius: 25px;
    padding: 40px 35px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.obj-dirigido-card-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 25px;
}

.obj-dirigido-card-intro {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 20px;
}

.obj-dirigido-list {
    margin-top: 0;
    margin-bottom: 25px;
    padding-left: 20px; /* Sangría de la lista */
}

.obj-dirigido-list li {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.obj-dirigido-list li:last-child {
    margin-bottom: 0;
}

.obj-dirigido-card-footer {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: auto; /* Empuja el texto al fondo si hay espacio sobrante */
    margin-bottom: 0;
}

/* --- Imagen Borde Amarillo (Derecha) --- */
.obj-dirigido-img-container {
    width: 100%;
    border: 8px solid #eebf42; /* Borde amarillo Westhill */
    border-radius: 5px; /* Bordes ligeramente redondeados */
    box-sizing: border-box; /* Asegura que el borde no rompa el grid */
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.obj-dirigido-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llena el espacio sin deformarse */
    display: block;
}

/* --- Responsividad para Tablets y Móviles --- */
@media (max-width: 900px) {
    .obj-dirigido-grid {
        grid-template-columns: 1fr; /* Colapsa a 1 columna en tablets */
    }
    
    .obj-dirigido-img-container {
        height: 350px; /* Fija una altura para la imagen en dispositivos pequeños */
    }
}

@media (max-width: 600px) {
    .obj-dirigido-title {
        font-size: 2rem;
    }
    
    .obj-dirigido-card-title {
        font-size: 1.8rem;
    }
    
    .obj-dirigido-card-green {
        padding: 30px 20px;
    }
}
/* =========================================
   ESTILOS: DOCUMENTACIÓN PARA TU SOLICITUD
========================================= */

.doc-solicitud-section {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
}

.doc-solicitud-container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
    gap: 50px;
    align-items: center; /* Centra verticalmente los elementos entre columnas */
}

/* --- Columna Izquierda (Textos) --- */
.doc-solicitud-text-col {
    display: flex;
    flex-direction: column;
}

.doc-solicitud-title {
    color: #21547e; /* Azul oscuro Westhill */
    font-size: 2.4rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.doc-solicitud-desc {
    color: #4a759c; /* Azul medio/grisáceo */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 25px;
}

.doc-solicitud-subtitle {
    color: #21547e; /* Azul oscuro Westhill */
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.doc-solicitud-list {
    color: #21547e; /* Textos de la lista en azul oscuro según la imagen */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 30px;
    padding-left: 25px;
}

.doc-solicitud-list li {
    margin-bottom: 8px;
}

.doc-solicitud-list li:last-child {
    margin-bottom: 0;
}

/* --- Columna Derecha (Imagen) --- */
.doc-solicitud-img-col {
    display: flex;
    flex-direction: column;
}

.doc-solicitud-img-wrapper {
    width: 100%;
    border: 8px solid #27a858; /* Borde verde grueso */
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 10px; /* Separación con la leyenda */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.doc-solicitud-img {
    width: 100%;
    height: auto;
    display: block;
}

.doc-solicitud-caption {
    color: #4a759c; /* Azul claro/grisáceo */
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* --- Responsividad para Tablets y Móviles --- */
@media (max-width: 900px) {
    .doc-solicitud-container {
        grid-template-columns: 1fr; /* Colapsa a 1 columna en tablets y móviles */
        gap: 40px;
    }
    
    .doc-solicitud-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .doc-solicitud-title {
        font-size: 1.8rem;
    }
    
    .doc-solicitud-desc, 
    .doc-solicitud-list {
        font-size: 1rem;
    }
}
/* =========================================
   ESTILOS: SLIDER DE EQUIVALENCIAS
========================================= */

.eq-slider-section {
    width: 100%;
    font-family: 'Raleway', Arial, sans-serif;
    margin: 40px 0;
}

.eq-slider-mask {
    width: 100%;
    overflow: hidden; 
    position: relative;
}

.eq-slider-track {
    display: flex;
    width: 300%; /* 3 slides de 100% cada uno */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.eq-slide {
    width: 33.3333%; 
    position: relative;
    /* La altura la determinará la proporción de tus imágenes */
}

.eq-slide-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Capas sobrepuestas para elementos interactivos --- */
.eq-overlay {
    position: absolute;
    z-index: 10;
}

/* Posición aproximada para el Slide 1 (Botón a la izquierda) */
.eq-pos-slide1 {
    bottom: 25%; 
    left: 8%;
}

/* Posición aproximada para el Slide 2 (Formulario a la derecha) */
.eq-pos-slide2 {
    bottom: 12%; 
    right: 12%;
    width: 300px; /* Ancho fijo para el formulario */
}

/* Posición aproximada para el Slide 3 (Botón a la derecha) */
.eq-pos-slide3 {
    bottom: 25%; 
    right: 15%;
}

/* --- Estilos de Botones --- */
.eq-btn {
    background-color: #ffffff;
    color: #21547e; /* Azul Westhill */
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color 0.2s;
    text-transform: uppercase;
}

.eq-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* El botón de cargar PDF de la imagen es más redondeado */
.eq-btn-upload {
    border-radius: 30px;
    padding: 12px 30px;
    text-transform: lowercase;
}

/* --- Estilos del Formulario --- */
.eq-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.eq-form input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
}

.eq-btn-form {
    margin-top: 5px;
    width: 100%;
}

/* --- Responsividad Básica --- */
@media (max-width: 768px) {
    /* En pantallas más pequeñas, los elementos superpuestos necesitan reajustarse */
    .eq-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .eq-pos-slide2 {
        width: 200px;
        right: 5%;
    }
    .eq-form input {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}
/* =========================================
   ESTILOS: PÁGINA DE AGRADECIMIENTO
========================================= */

.ty-section {
    background-color: #f3ce5e; /* Amarillo cálido similar a la imagen */
    padding: 60px 20px 0 20px; /* Sin padding inferior para que la mascota se apoye abajo */
    font-family: 'Raleway', Arial, sans-serif;
    display: flex;
    justify-content: center;
    overflow: hidden; /* Evita desbordamientos de la imagen */
}

.ty-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 40px;
}

/* --- Columna de Texto --- */
.ty-content {
    flex: 1;
    max-width: 600px;
    color: #21547e; /* Azul Westhill */
    padding-bottom: 60px; /* Compensa el padding inferior que quitamos en el section */
    z-index: 2;
}

.ty-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.ty-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 35px;
    font-weight: 500;
}

.ty-subtitle {
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
}

.ty-list {
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 20px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.ty-list li {
    margin-bottom: 8px;
}

.ty-link {
    color: #21547e;
    text-decoration: underline;
    font-weight: 700;
}

.ty-link:hover {
    text-decoration: none;
}

/* --- Iconos de Redes Sociales --- */
.ty-social-icons {
    display: flex;
    gap: 10px;
    margin-left: 20px; /* Alineado con el texto de la lista */
    margin-top: 10px;
}

.ty-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #21547e;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ty-icon-link svg {
    width: 100%;
    height: 100%;
}

.ty-icon-link:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* --- Imagen de la Mascota --- */
.ty-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end; /* Alinea la mascota a la base del contenedor */
    align-self: flex-end; /* Empuja el contenedor entero hacia abajo */
    position: relative;
    z-index: 1;
}

.ty-mascot {
    max-width: 100%;
    height: auto;
    display: block;
    width: 450px; /* Tamaño máximo recomendado */
}

/* --- Responsividad para Tablets y Móviles --- */
@media (max-width: 992px) {
    .ty-title {
        font-size: 2.2rem;
    }
    
    .ty-mascot {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .ty-container {
        flex-direction: column; /* Apila el texto y la imagen */
        text-align: center;
        gap: 20px;
    }
    
    .ty-content {
        padding-bottom: 20px;
        max-width: 100%;
    }
    
    .ty-list {
        list-style-position: inside; /* Centra los viñetas de la lista */
        padding-left: 0;
    }
    
    .ty-social-icons {
        margin-left: 0;
        justify-content: center; /* Centra los iconos en móvil */
    }
    
    .ty-image-wrapper {
        justify-content: center;
        width: 100%;
    }
    
    .ty-mascot {
        width: 300px;
    }
}