/* ==========================================================================
   1. ESTILOS BASE Y RESETS (Aplica a todo el sitio)
   ========================================================================== */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333333;
    box-sizing: border-box;
}

main {
    display: block;
}

.seccion-contenido {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.seccion-contenido img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   2. HEADER Y NAVEGACIÓN PRINCIPAL (Unificado para todo el sitio)
   ========================================================================== */
.header-navegacion {
   position: absolute; /* 👈 Esto hace que la foto suba y se ponga por detrás del menú */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    /* Fondo translúcido con vidrio esmerilado */
    background-color: rgba(255, 255, 255, 0.40); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contenedor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 20px;
    height: 70px;
    box-sizing: border-box;
}

.logo-header a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #00447c;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-header img {
    height: 50px;
    margin-right: 12px;
}

/* Menú Principal Lista */
.lista-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 5px;
}

.lista-menu > li {
    position: relative;
}

.lista-menu > li > a {
    display: block;
    padding: 10px 14px;
    color: #00447c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lista-menu > li > a:hover,
.lista-menu > li > a.activo {
    color: #00284d;
    background-color: #f1f5f9;
}

.menu-desplegable > a i {
    font-size: 11px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.menu-desplegable:hover > a i {
    transform: rotate(180deg);
}

/* SUBMENÚ COMPACTO Y ALINEADO PERFECTO */
.submenu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    width: max-content;
    min-width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    padding: 6px 0;
    margin: 0;
    list-style: none;
    border-radius: 0 0 6px 6px;
    border-top: 3px solid #00447c;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.menu-desplegable:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    width: 100%;
}

.submenu li a {
    color: #333333;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    display: block;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu li a:hover {
    background-color: #f1f5f9;
    color: #00447c;
}
/* ==========================================================================
   3. HERO / CARRUSEL PRINCIPAL (INDEX)
   ========================================================================== */
.seccion-hero {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.carrusel-slides {
    width: 100%;
    height: 70vh;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.slide.activo {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.flecha-carrusel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.flecha-carrusel:hover { background-color: rgba(255, 255, 255, 0.5); }
.flecha-carrusel:active { transform: translateY(-50%) scale(0.95); }
.flecha-carrusel.prev { left: 20px; }
.flecha-carrusel.next { right: 20px; }

/* AQUÍ ESTÁ EL CAMBIO 👇 */
.contenido-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 8%;
    padding-top: 80px; /* 👈 LE AGREGAMOS ESTA LÍNEA PARA DARLE ESPACIO AL TÍTULO */
    box-sizing: border-box;
    z-index: 5;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
}

.titulo-animado {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
}

.subtitulo-animado {
    color: #e0e0e0;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
}

.slide.activo .titulo-animado,
.slide.activo .subtitulo-animado {
    animation: entradaSuave 0.8s ease-out forwards;
}

.slide.activo .titulo-animado { animation-delay: 0.3s; }
.slide.activo .subtitulo-animado { animation-delay: 0.6s; }

@keyframes entradaSuave {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. SECCIÓN ¿QUÉ ES UN CAPELLÁN? Y SLIDER PASANTE (INDEX)
   ========================================================================== */
.quienes-contenedor {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.quienes-texto {
    flex: 1.2;
}

.quienes-texto h2 {
    color: #00447c;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

.quienes-texto p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    text-align: justify;
    margin-bottom: 15px;
}

.quienes-galeria {
    flex: 1.2;
    height: 450px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.foto-pasante {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
}

.foto-pasante.activa {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.foto-pasante img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================================
   5. SECCIONES INTERCALADAS / HISTORIA / DDHH
   ========================================================================== */
#conozcamos.seccion-contenido {
    display: flex;
    gap: 50px;
    align-items: stretch;
    justify-content: space-between;
}

#conozcamos .bloque-texto { flex: 1.2; }
#conozcamos .bloque-texto h2 {
    color: #00447c;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}
#conozcamos .bloque-texto p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    text-align: justify;
    margin-bottom: 15px;
}

#conozcamos .bloque-imagen-fija {
    flex: 1.2;
    display: flex;
    align-self: stretch;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#conozcamos .bloque-imagen-fija img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bloque-intercalado {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-top: 80px;
}

.bloque-intercalado .bloque-texto { flex: 1.2; }
.bloque-intercalado .bloque-texto h2 {
    color: #00447c;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

.bloque-intercalado .bloque-texto p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

.bloque-imagen-fija {
    flex: 1.5;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bloque-imagen-fija img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bloque-intercalado.invertido {
    flex-direction: row-reverse;
}

.bloque-intercalado.invertido .bloque-imagen-fija {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 1150px;
    box-shadow: none;
    overflow: visible;
}

.bloque-intercalado.invertido .bloque-imagen-fija img {
    flex: 1;
    height: 0;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   6. FRANJA CELESTE Y CALL TO ACTION (CTA)
   ========================================================================== */
.quienes-cierre {
    text-align: center;
    margin-top: 60px;
}

.quienes-cierre h2 {
    color: #00447c;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.franja-celeste {
    background-color: #e3f2fd;
    padding: 40px 50px;
    border-radius: 8px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.franja-contenido-izq { flex: 2; text-align: left; }
.franja-celeste p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: justify;
}

.botones-cierre {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.franja-logo-der {
    flex: 0 0 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-cierre-img {
    width: 100%;
    max-width: 220px;
    height: auto;
}

.btn-video, .btn-periodico {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-video { background-color: #00447c; }
.btn-video:hover { background-color: #002d54; transform: translateY(-2px); }

.btn-periodico { background-color: #27ae60; }
.btn-periodico:hover { background-color: #1e7e43; transform: translateY(-2px); }

.seccion-unirse-capellania {
    background-color: #e3f2fd;
    padding: 50px 20px;
    text-align: center;
    border-radius: 8px;
    max-width: 1200px;
    margin: 40px auto;
}

.contenedor-unirse { max-width: 800px; margin: 0 auto; }
.seccion-unirse-capellania h2 {
    color: #00447c;
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.btn-requisitos {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #27ae60;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 35px;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.3);
    transition: background-color 0.3s, transform 0.2s;
}

.btn-requisitos:hover {
    background-color: #1e7e43;
    transform: translateY(-2px);
}

/* ==========================================================================
   7. SECCIÓN QUIÉNES SOMOS (ENTIDAD, PARALLAX, DATOS LEGALES)
   ========================================================================== */
/* 1. Cambiamos 'flex-start' por 'center' para que ambas columnas se alineen al eje vertical central */
.contenedor-entidad-fotos {
    display: flex;
    justify-content: center;
    align-items: center; /* 👈 ACÁ ESTABA EL DETALLE (antes decía flex-start) */
    max-width: 1100px;
    margin: 50px auto 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
    gap: 40px;
}

/* 2. Aseguramos que la columna del escudo centre su contenido al 100% */
.columna-entidad {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Le permite tomar la referencia de la altura hermana */
}

.img-escudo-grande {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-escudo-grande:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
/* TARJETA DEL DIRECTOR */
.tarjeta-director {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.img-director-grande {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* BANDA INFERIOR CON NOMBRE Y BOTÓN */
.banda-cv-director {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    gap: 12px;
}

.info-director {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cargo-director {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
}

.nombre-director {
    margin: 0;
    font-size: 0.98rem;
    color: #003366;
    font-weight: 700;
    line-height: 1.2;
}

/* BOTÓN CV MÁS PEQUEÑO Y FINO */
.btn-cv {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #003366;
    color: #ffffff;
    text-decoration: none;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-cv:hover {
    background-color: #002244;
    transform: translateY(-1px);
}
.seccion-banner-fijo {
    position: relative;
    height: 350px;
    width: 100%;
    background-image: url('../img/bandaquienes.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 60px 0;
}

.contenido-banner-fijo h2 {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    padding: 0 20px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.9);
}

.contenedor-qr-legales {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0.8;
}

.img-legales-chica {
    width: 300px;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.contenedor-qr-legales a:hover .img-legales-chica {
    transform: scale(1.03);
}

.leyenda-clic {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 5px;
}
/* ESTILOS DE LA GALERÍA DE TEXTOS izquierda */
/* GALERÍA DE TEXTOS UNIFICADA EN AZUL */
.galeria-textos-lado {
    padding: 10px 20px;
}

/* Título destacado en azul oscuro fuerte */
.titulo-galeria {
    color: #003366; 
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Bajada de texto en azul intermedio */
.bajada-galeria {
    color: #1e40af; 
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Cita editorial Serif en azul distinguido */
.cita-destacada {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1d4ed8; /* Azul vivo e intencional */
    margin: 0;
    padding-left: 18px;
    border-left: 4px solid #0284c7; /* Línea de acento celeste/azul */
    position: relative;
}

/* Detalle sutil de comilla inicial */
.cita-destacada::before {
    content: "“";
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    color: #93c5fd;
    position: absolute;
    left: -8px;
    top: -15px;
    opacity: 0.6;
}
/* ==========================================================================
   8. SECCIÓN DIRECTORIO NACIONAL Y MODAL
   ========================================================================== */
.top-header {
    width: 100%;
    max-height: 250px;
    overflow: hidden;
}

.img-top-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.encabezado-directorio {
    text-align: center;
    padding: 40px 20px 20px 20px;
    background-color: #ffffff;
}

.contenedor-titulo-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo-titulo-directorio {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.encabezado-directorio h1 {
    color: #00447c;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.linea-decorativa {
    height: 3px;
    width: 100px;
    background-color: #00447c;
    margin: 20px auto 0 auto;
}

.seccion-director-principal {
    display: flex;
    justify-content: center;
    margin: 30px auto 10px auto;
}

.director-destacado {
    width: 240px;
    border: 2px solid #00447c;
}

.contenedor-galeria-directorio {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.tarjeta-director-galeria {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.tarjeta-director-galeria:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.wrapper-foto {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    overflow: hidden;
    background-color: #f8fafc;
}

.wrapper-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tarjeta-director-galeria:hover .wrapper-foto img {
    transform: scale(1.05);
}

.overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 68, 124, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
    font-size: 1.8rem;
}

.tarjeta-director-galeria:hover .overlay-hover { opacity: 1; }

.info-director {
    padding: 15px 10px;
    text-align: center;
    background-color: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-director h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #00447c;
    font-weight: 700;
}

.info-director p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.modal-visor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-visor.activo { display: flex; }

.contenido-modal {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contenido-modal img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.texto-modal {
    padding: 20px;
    text-align: center;
}

.texto-modal h2 {
    color: #00447c;
    font-size: 1.3rem;
    margin: 0 0 6px 0;
}

.texto-modal p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    text-transform: uppercase;
}

.cerrar-modal {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    font-size: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.cerrar-modal:hover { background: #e63946; }

/* ANEXO DE TÍTULOS APARTE DENTRO DEL MODAL DE DIRECTORIO */
.anexo-modal-titulos {
    background-color: #f8fafc;
    border-left: 4px solid #003366;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin-top: 15px;
    text-align: left;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.etiqueta-anexo-modal {
    display: inline-block;
    color: #003366;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.anexo-modal-titulos ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
    font-size: 0.90rem;
    line-height: 1.5;
}

.anexo-modal-titulos li {
    margin-bottom: 3px;
}

.anexo-modal-titulos li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   9. SECCIÓN ACCIONES Y GALERÍA INTERACTIVA
   ========================================================================== */
.banner-top { width: 100%; background-color: #f9f9f9; }
.contenedor-banner {
    max-width: 1500px;
    width: 100%;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
}

.banner-top .img-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.titulo-acciones { text-align: center; padding: 40px 20px 20px; }
.titulo-acciones h1 { font-size: 2.5rem; color: #00447c; margin-bottom: 10px; }

.contenedor-bloques { max-width: 1200px; margin: 0 auto; padding: 20px; }
.bloque-accion { display: flex; align-items: center; gap: 50px; margin-bottom: 60px; }
.bloque-accion.invertido { flex-direction: row-reverse; }
.bloque-accion .bloque-texto { flex: 1.2; }
.bloque-accion .bloque-texto p { font-size: 1.05rem; line-height: 1.6; color: #444; text-align: justify; }

.bloque-foto {
    flex: 1.5;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bloque-foto img { width: 100%; height: 100%; object-fit: cover; }

.seccion-galeria-dinamica {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
}

.titulo-seccion-galeria {
    text-align: center;
    color: #00447c;
    font-size: 2.2rem;
    font-weight: 700;
}

.contenedor-galeria-dinamica {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.galeria-textos-lado { flex: 1; padding-left: 20px; }
.frase-galeria { display: none; }
.frase-galeria.activa { display: block; }

.galeria-fotos-lado {
    flex: 0 0 900px;
    max-width: 900px;
    height: 500px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.slider-fotos-box { width: 100%; height: 100%; position: relative; }

.slide-foto-actividad {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
}

.slide-foto-actividad.activa { opacity: 1; z-index: 2; }
.slide-foto-actividad img { width: 100%; height: 100%; object-fit: cover; }

.flecha-galeria {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 68, 124, 0.7);
    color: #ffffff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.flecha-galeria.prev { left: 15px; }
.flecha-galeria.next { right: 15px; }

.cierre-contacto-acciones { text-align: center; margin-top: 60px; }
.cierre-contacto-acciones h2 { color: #333; font-size: 2.2rem; font-weight: 700; }
.cierre-contacto-acciones h3 { color: #0056b3; font-size: 2rem; font-weight: 700; }

/* FRANJA SLIM SLIM Y DELICADA UNIRSE A CAPELLANIA */
.seccion-unirse-capellania {
    background-color: #e3f2fd;
    border-left: 5px solid #00447c; /* Detalle de color institucional */
    padding: 14px 30px; /* Súper bajita */
    border-radius: 8px;
    max-width: 1200px;
    margin: 40px auto 60px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.contenedor-unirse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 100%;
}

.texto-unirse {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.seccion-unirse-capellania h2 {
    color: #00447c;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.seccion-unirse-capellania p {
    font-size: 0.95rem;
    color: #334155;
    margin: 0;
    line-height: 1.2;
}

.btn-requisitos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #27ae60;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px; /* Botón compacto */
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-requisitos:hover {
    background-color: #1e7e43;
    transform: translateY(-1px);
}

/* ==========================================================================
   10. SECCIÓN FUERZAS DE SEGURIDAD (FUERZAS.HTML)
   ========================================================================== */
/* Banner Fuerzas de Seguridad (CORREGIDO CON PADDING) */
.banner-fuerzas {
    width: 100%;
    height: 320px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/top-fuerzas.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding-top: 80px; /* 👈 LE AGREGÁS ESTA LÍNEA */
    box-sizing: border-box; /* 👈 Y ESTA TAMBIÉN PARA QUE NO SE AGRANDE LA CAJA */
}

.banner-fuerzas h1 { font-size: 2.3rem; margin: 0; text-transform: uppercase; font-weight: 700; }
.banner-fuerzas p { font-size: 1.1rem; margin-top: 10px; font-weight: 300; }

.contenedor-fuerzas { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.seccion-intro-fuerzas { text-align: center; margin-bottom: 50px; }
.seccion-intro-fuerzas h2 { font-size: 1.8rem; color: #003366; text-transform: uppercase; margin-bottom: 20px; }
.seccion-intro-fuerzas p { line-height: 1.8; color: #444; text-align: justify; }

.seccion-bloque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.columna-foto img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
}

.columna-galeria {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.carrusel-fuerzas { display: flex; transition: transform 0.5s ease-in-out; }
.carrusel-fuerzas img { width: 100%; flex-shrink: 0; object-fit: cover; height: 320px; }

.btn-carrusel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
}

.btn-carrusel.prev { left: 10px; }
.btn-carrusel.next { right: 10px; }

.caja-cta {
    border: 2px solid #003366;
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
    background-color: #f9fbfd;
}

.caja-cta p { margin: 0; font-weight: 600; color: #003366; }

.boton-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-inferior-fuerzas {
    width: 100%;
    height: 350px;
    background-image: url('../img/bottom-fuerzas.jpg');
    background-size: cover;
    background-position: center;
}
/* ==========================================================================
   PAGINA RELACIONES INTERNACIONALES & OEA (org-internac.html)
   ========================================================================== */
/* Top Banner */
.banner-internac {
    width: 100%;
    min-height: 340px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url('../img/top-org.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 90px 20px 30px 20px;
    box-sizing: border-box;
}

/* Tipografía elegante Serif para el título del Top Banner */
.titulo-banner h1 {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 2.6rem; /* Más grande y con presencia */
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* Sombra para máxima legibilidad */
}

/* Bajada / Subtítulo del Top Banner */
.titulo-banner p {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-style: italic; /* Cursiva elegante */
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: #e2e8f0;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Responsive para pantallas chicas */
@media (max-width: 768px) {
    .titulo-banner h1 {
        font-size: 2rem;
    }
    .titulo-banner p {
        font-size: 1.05rem;
    }
}

/* Contenedor principal */
.contenedor-internac {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

/* Badge Distintivo OEA */
.badge-internac {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e0f2fe;
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Foto OEA con efecto hover elevation */
.marco-foto-destacada {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marco-foto-destacada:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 51, 102, 0.15);
}

.foto-efecto-oea {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Carrusel de Galería Intermedia */
/* Carrusel de Galería Intermedia & Foto Secretario */
.seccion-carrusel-internac {
    margin: 60px 0;
    text-align: center;
}

.titulo-galeria-secundario {
    color: #003366;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Grid contenedor de 2 columnas con la misma altura */
.grid-galeria-secretario {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Galería 2/3 y Secretario 1/3 del espacio */
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

/* Mantenemos tus clases originales para la galería */
.columna-galeria-internac {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.carrusel-internac {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carrusel-internac img {
    width: 100%;
    flex-shrink: 0;
    height: 420px; /* Ajustamos a 420px para una proporción perfecta al lado del secretario */
    object-fit: cover;
}

/* Nueva columna derecha para la foto fija del Secretario */
/* Columna Derecha: Foto Fija del Secretario OEA */
.columna-secretario-oea {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.columna-secretario-oea:hover {
    transform: translateY(-3px);
}

.wrapper-foto-secretario {
    position: relative;
    width: 100%;
    height: 100%;
}

.foto-secretario-fija {
    width: 100%;
    height: 420px; /* Misma altura fija que la galería */
    object-fit: cover;
    display: block;
}

/* Franja con el Epígrafe */
.epigrafe-secretario {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 33, 66, 0.9)); /* Degradado azul nocturno institucional */
    padding: 20px 15px 12px 15px;
    box-sizing: border-box;
    text-align: center;
}

.epigrafe-secretario p {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
/* Adaptación responsive para celulares */
@media (max-width: 850px) {
    .grid-galeria-secretario {
        grid-template-columns: 1fr;
    }
    
    .carrusel-internac img,
    .foto-secretario-fija {
        height: 300px;
    }
}
/* Sección Embajadores de Paz (Miami) */
/* Línea divisoria finita para separar secciones */
.separador-seccion {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
    margin: 70px auto 50px auto;
    max-width: 900px;
}
.seccion-miami {
    margin: 60px auto;
    max-width: 1100px;
}

/* Bloque alineado: Logo Grande a la Izquierda + Texto a la Derecha */
.encabezado-miami-destacado {
    display: flex;
    align-items: center; /* Centra verticalmente el logo con respecto a todo el texto */
    gap: 35px; /* Espacio cómodo entre el logo y el texto */
    margin-bottom: 35px;
    padding: 0 10px;
}

/* Logo con el tamaño amplio del círculo rojo */
.logo-fundacion-miami {
    width: 250px;  /* Tamaño protagónico */
    height: 250px;
    object-fit: contain;
    flex-shrink: 0; /* Evita que el logo se deforme o achique */
}

/* Contenedor de Título + Párrafo alineado a la derecha del logo */
.contenido-texto-miami {
    text-align: left; /* Alineado al costado del logo */
}

.contenido-texto-miami h2 {
    color: #003366;
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.contenido-texto-miami p {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}


/* Grid de fotos Miami */
.grid-fotos-miami {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.tarjeta-foto-miami {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-foto-miami:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.15);
}

.tarjeta-foto-miami img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Zoom suave de la foto al pasar el cursor */
.tarjeta-foto-miami:hover img {
    transform: scale(1.04);
}

/* Overlay de la Lupita */
.overlay-lupa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.45); /* Capa azulada traslúcida */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-lupa i {
    color: #ffffff;
    font-size: 2rem;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

/* Mostrar lupita al pasar el mouse */
.tarjeta-foto-miami:hover .overlay-lupa {
    opacity: 1;
}

.tarjeta-foto-miami:hover .overlay-lupa i {
    transform: scale(1);
}
/* ==========================================================================
   ESTILOS DEL MODAL / VISOR DE FOTOS EN GRANDE
   ========================================================================== */
.modal-visor-foto {
    display: none; /* Se activa con JS (flex) al hacer clic */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.88); /* Fondo oscuro semitransparente */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(4px); /* Efecto desenfoque al fondo */
}

/* Imagen grande dentro del modal */
.contenido-modal-foto {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    animation: zoomModal 0.3s ease;
}

/* Texto epígrafe debajo de la foto */
.caption-modal {
    margin-top: 15px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    max-width: 80%;
}

/* Botón de cerrar (Cruz 'X') */
.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cerrar-modal:hover {
    color: #38bdf8;
    transform: scale(1.1);
}

/* Animación de apertura suave */
@keyframes zoomModal {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
/* Botón Fino Ver Video */
.contenedor-btn-video {
    text-align: center;
    margin-top: 15px;
}

.btn-ver-video {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border: 1.5px solid #003366;
    border-radius: 25px;
    color: #003366;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.btn-ver-video:hover {
    background-color: #003366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

/* ==========================================================================
   FIN PAGINA ORG-INTERNAC.HTML
   ========================================================================== */
/* ==========================================================================
   11. SECCIÓN CONTACTO (CONTACTO.HTML)
   ========================================================================== */
.banner-encabezado {
    background-size: cover;
    background-position: center;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
}

.contenedor-principal-contacto {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.grid-contacto {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

.tarjeta-info-contacto {
    background-color: #f8fafc;
    border-left: 5px solid #00447c;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tarjeta-formulario {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    border: 1px solid #e2e8f0;
}

.form-contacto input,
.form-contacto select,
.form-contacto textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 0.95rem;
}

.form-contacto button {
    background-color: #00447c;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease;
}

.form-contacto button:hover { background-color: #002d54; }

/* MENSAJE DE CONFIRMACION CONTACTO Cartel de confirmación en formulario */
.mensaje-estado {
    display: none;
    margin-top: 20px;
    padding: 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.mensaje-estado.exito {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.mensaje-estado.error {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
/* FIN DE PAGINA CONTACTO */

/* ==========================================================================
   PÁGINA DOCENCIA (docencia.html)
   ========================================================================== */

/* Contenedor principal */
.contenedor-docencia {
    max-width: 1150px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Encabezado e Introducción */
.seccion-intro-docencia {
    text-align: center;
    margin-bottom: 45px;
}

.titulo-principal-docencia {
    color: #003366;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.bajada-docencia {
    color: #0284c7;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 30px;
}

.grid-texto-docencia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
}

.col-texto-docencia p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Ajuste específico para el Top Banner de Docencia */
.top-header {
    width: 100%;
    max-height: 400px; /* Le damos una altura máxima adecuada para que no tape la pantalla */
    overflow: hidden;
    background-color: #003366; /* Fondo de respaldo por si la foto tarda en cargar */
}

.top-header .img-top-banner {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover; /* Recorta proporcionalmente sin deformar */
    object-position: center 30%; /* Enfoca un poco más arriba/centro para mostrar lo importante */
    display: block;
}


/* Grilla de 2 Fotos intermedias */
.seccion-fotos-docencia {
    margin-bottom: 55px;
}

.grid-2-fotos-docencia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.marco-foto-docencia {
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marco-foto-docencia:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.15);
}

.marco-foto-docencia img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* Sección Talleres Temáticos */
.seccion-talleres-docencia {
    margin-bottom: 50px;
}

.titulo-seccion-talleres {
    text-align: center;
    color: #003366;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.grid-talleres-docencia {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.tarjeta-taller {
    background-color: #f8fafc;
    border-top: 4px solid #003366;
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.tarjeta-taller:hover {
    transform: translateY(-3px);
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.1);
}

.icono-taller {
    color: #0284c7;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.tarjeta-taller h3 {
    color: #003366;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.tarjeta-taller p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* Banda Fondo Celeste (Llamado a la Acción) */
.banda-cta-docencia {
    background-color: #e0f2fe;
    border-top: 1px solid #bae6fd;
    border-bottom: 1px solid #bae6fd;
    padding: 35px 20px;
    margin-bottom: 50px;
}

.contenedor-cta-docencia {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.contenedor-cta-docencia p {
    color: #0369a1;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.btn-cta-docencia {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #003366;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.btn-cta-docencia:hover {
    background-color: #25d366; /* Verde WhatsApp al pasar el mouse */
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

/* Foto Inferior Larga */
.seccion-foto-inferior {
    max-width: 1150px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.contenedor-foto-inferior {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.foto-docencia-larga {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Adaptación Celulares */
@media (max-width: 768px) {
    .grid-texto-docencia,
    .grid-2-fotos-docencia,
    .grid-talleres-docencia {
        grid-template-columns: 1fr;
    }

    .titulo-principal-docencia {
        font-size: 1.4rem;
    }

    .contenedor-cta-docencia {
        flex-direction: column;
        text-align: center;
    }

    .foto-docencia-larga {
        height: 250px;
    }
}
/* ==========================================================================
   PÁGINA CURRICULUM VITAE DR. RADAKOFF (cv-radakoff.html)
   ========================================================================== */

/* Top Banner */
.banner-cv {
    width: 100%;
    min-height: 280px;
    background-image: linear-gradient(rgba(0, 33, 102, 0.75), rgba(0, 33, 102, 0.75)), url('../img/top-cv.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 80px 20px 30px 20px;
    box-sizing: border-box;
}

.titulo-banner-cv h1 {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.titulo-banner-cv p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin: 0;
}

/* Contenedor principal CV */
.contenedor-cv {
    max-width: 1100px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

/* Cabecera del Perfil */
.encabezado-perfil-cv {
    text-align: center;
    margin-bottom: 35px;
}

.badge-perfil {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e0f2fe;
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.encabezado-perfil-cv h2 {
    color: #003366;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.subtitulo-cargos {
    color: #475569;
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Tarjeta Destacada de Cargos Principales */
.tarjeta-cargos-principales {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border-top: 5px solid #003366;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    margin-bottom: 35px;
}

.tarjeta-cargos-principales h3 {
    color: #003366;
    font-size: 1.35rem;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lista-cargos-destacados {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.lista-cargos-destacados li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #f8fafc;
    padding: 14px 18px;
    border-radius: 8px;
    border-left: 3px solid #0284c7;
}

.lista-cargos-destacados li i {
    color: #0284c7;
    font-size: 1.2rem;
    margin-top: 3px;
}

.lista-cargos-destacados li strong {
    display: block;
    color: #0f172a;
    font-size: 0.98rem;
}

.lista-cargos-destacados li span {
    color: #64748b;
    font-size: 0.9rem;
}

/* Grid de 2 Columnas para Títulos */
.grid-columnas-cv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.tarjeta-columna-cv {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.header-columna-cv {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.header-columna-cv i {
    color: #003366;
    font-size: 1.4rem;
}

.header-columna-cv h3 {
    color: #003366;
    font-size: 1.25rem;
    margin: 0;
}

.lista-items-cv {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 15px;
}

.lista-items-cv li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.lista-items-cv li i {
    color: #003366;
    font-size: 1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 850px) {
    .grid-columnas-cv {
        grid-template-columns: 1fr;
    }
    .titulo-banner-cv h1 {
        font-size: 1.9rem;
    }
}



/* Top Banner */
/* ==========================================================================
   PÁGINA DERECHOS HUMANOS (ddhh.html) - REFORMADO ZIG-ZAG
   ========================================================================== */
/* ==========================================================================
   PÁGINA DERECHOS HUMANOS (ddhh.html)
   ========================================================================== */

/* Top Banner DDHH - 100% Limpio y Amplio */
.banner-ddhh {
    width: 100%;
    min-height: 480px;
    background-image: url('../img/top-ddhh.jpg');
    background-size: cover;
    background-position: center;
}

/* Contenedor Principal con Fondo Celeste Suave */
.contenedor-ddhh-principal {
    background-color: #f0f7ff;
    padding: 45px 0;
    width: 100%;
}

.wrapper-ddhh {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Secciones de Bloques Intercalados */
.seccion-bloque-ddhh {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 35px;
    align-items: center;
    margin-bottom: 35px;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.06);
}

/* Variante Invertida (Foto a la izquierda / Texto a la derecha) */
.seccion-bloque-ddhh.bloque-invertido {
    grid-template-columns: 380px 1fr;
}

/* Encabezado Principal del Módulo (Ubicado fuera del banner, arriba de la tarjeta) */
.encabezado-seccion-ddhh {
    grid-column: 1 / -1; /* Ocupa las 2 columnas del grid */
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0f2fe;
}

.encabezado-seccion-ddhh h1 {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    margin: 0 0 8px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.encabezado-seccion-ddhh .subtitulo-ddhh {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge-ddhh {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e0f2fe;
    color: #0284c7;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.columna-texto-ddhh h2 {
    color: #003366;
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 18px;
}

.columna-texto-ddhh p {
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 15px;
}

.columna-texto-ddhh p:last-child {
    margin-bottom: 0;
}

.columna-foto-ddhh .marco-foto-ddhh {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 3px solid #ffffff;
}

.marco-foto-ddhh img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.marco-foto-ddhh:hover img {
    transform: scale(1.03);
}

/* Responsive para Celulares */
@media (max-width: 900px) {
    .banner-ddhh {
        min-height: 250px;
    }
    .seccion-bloque-ddhh,
    .seccion-bloque-ddhh.bloque-invertido {
        grid-template-columns: 1fr;
    }
    .seccion-bloque-ddhh.bloque-invertido .columna-foto-ddhh {
        order: 2;
    }
    .encabezado-seccion-ddhh h1 {
        font-size: 1.7rem;
    }
    .encabezado-seccion-ddhh .subtitulo-ddhh {
        font-size: 0.95rem;
    }
}

/* Grilla de 5 Logos Institucionales */
.seccion-logos-ddhh {
    margin-bottom: 40px;
}

.grid-logos-ddhh {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.item-logo-ddhh img {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.item-logo-ddhh img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}
/* Sección Parallax con Foto Fija Completa */
.seccion-parallax-ddhh {
    width: 100%;
    min-height: 480px; /* 1. Le damos bastante más altura para que la imagen respire */
    background-image: url('../img/foto-parallax-ddhh.jpg');
    background-size: contain; /* 2. Cambiamos 'cover' por 'contain' para que la foto se vea 100% entera sin recortar */
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-color: #001f3f; /* 3. Fondo azul oscuro elegante para rellenar si quedan bordes laterales */
    position: relative;
    margin: 40px 0;
}

.overlay-parallax-ddhh {
    width: 100%;
    min-height: 480px; /* Mantenemos la misma altura que el contenedor */
    background: rgba(0, 33, 102, 0.45); /* Capa azulada traslúcida bien suave para no opacar la foto */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
}
.contenido-cita-flotante {
    color: #ffffff;
    max-width: 800px;
}

.icono-cita {
    font-size: 2.2rem;
    color: #38bdf8;
    margin-bottom: 15px;
}

.contenido-cita-flotante h2 {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.contenido-cita-flotante .autor-cita {
    font-size: 1.2rem;
    font-style: italic;
    color: #e0f2fe;
    margin: 0;
}
/* Caja Call to Action (CTA) */
.caja-cta-ddhh {
    background: #ffffff;
    border: 2px solid #003366;
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.08);
    margin-bottom: 50px; /* 👈 Espaciado respecto al footer */
}

.texto-cta-ddhh {
    display: flex;
    align-items: center;
    gap: 15px;
}

.texto-cta-ddhh i {
    font-size: 1.8rem;
    color: #003366;
}

.texto-cta-ddhh p {
    margin: 0;
    font-weight: 700;
    color: #003366;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.btn-cta-ddhh {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #003366;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-cta-ddhh:hover {
    background-color: #0284c7;
    transform: translateY(-2px);
}

/* Responsive para Celulares y Tablets */
@media (max-width: 900px) {
    .seccion-bloque-ddhh,
    .seccion-bloque-ddhh.bloque-invertido {
        grid-template-columns: 1fr;
    }
    .seccion-bloque-ddhh.bloque-invertido .columna-foto-ddhh {
        order: 2; /* En celular el texto queda arriba y la foto abajo siempre */
    }
    .grid-logos-ddhh {
        grid-template-columns: repeat(3, 1fr);
    }
    .caja-cta-ddhh {
        flex-direction: column;
        text-align: center;
    }
    .texto-cta-ddhh {
        flex-direction: column;
    }
    .seccion-parallax-ddhh {
        background-attachment: scroll;
    }
    .contenido-cita-flotante h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 500px) {
    .grid-logos-ddhh {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* ==========================================================================
   12. FOOTER Y BARRA SOCIAL
   ========================================================================== */
.footer-institucional {
    background-image: linear-gradient(rgba(0, 20, 40, 0.85), rgba(0, 20, 40, 0.85)), url('../img/fdofooter.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 40px 20px 20px 20px;
    text-align: center;
}

.contenedor-footer { max-width: 1200px; margin: 0 auto; }
.footer-logo { width: 180px; height: auto; }
.footer-info p { margin: 8px 0; font-size: 0.95rem; }
.footer-info a { color: #64b5f6; text-decoration: none; }
.footer-divisor { border: 0; height: 1px; background: rgba(255, 255, 255, 0.2); margin: 20px auto; max-width: 600px; }

.barra-social-fija {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 2000;
}

.icono-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 48px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    border-radius: 5px 0 0 5px;
    margin-bottom: 2px;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.icono-social.whatsapp { background-color: #25d366; }
.icono-social.facebook { background-color: #1877f2; }
.icono-social.instagram { background-color: #e1306c; }
.icono-social:hover { transform: translateX(-6px); opacity: 1; }

/* ==========================================================================
   13. MEDIA QUERIES (Ordenados de mayor a menor ancho)
   ========================================================================== */
@media (max-width: 1300px) {
    .galeria-fotos-lado { flex: 1; max-width: 100%; height: 450px; }
}

@media (max-width: 1200px) {
    .contenedor-galeria-directorio { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
    .contenedor-galeria-directorio { grid-template-columns: repeat(3, 1fr); }
    .grid-contacto { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
    .contenedor-entidad-fotos { flex-direction: column; align-items: center; }
    .img-escudo-grande, .tarjeta-director, .img-director-grande, .banda-cv-director { width: 320px; }
    .img-escudo-grande { height: 320px; }
    .img-director-grande { height: 280px; }
}

@media (max-width: 768px) {
    .contenedor-header { flex-direction: column; height: auto; padding: 15px; gap: 10px; }
    .lista-menu { flex-wrap: wrap; justify-content: center; }
    
    .quienes-contenedor,
    #conozcamos.seccion-contenido,
    .bloque-intercalado,
    .bloque-accion,
    .bloque-accion.invertido,
    .seccion-bloque-grid,
    .contenedor-galeria-dinamica {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .franja-celeste { flex-direction: column-reverse; text-align: center; }
    .franja-contenido-izq { text-align: center; }
    .botones-cierre { justify-content: center; }
    .barra-social-fija { display: none; }
    .caja-cta { flex-direction: column; text-align: center; }
}

/* Adaptación responsive para celulares */
@media (max-width: 768px) {
    .encabezado-miami-destacado {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contenido-texto-miami {
        text-align: center;
    }

    .logo-fundacion-miami {
        width: 90px;
        height: 90px;
    }

    .grid-fotos-miami {
        grid-template-columns: 1fr;
    }

    .tarjeta-foto-miami img {
        height: 230px;
    }
}
@media (max-width: 600px) {
    .contenedor-galeria-directorio { grid-template-columns: 1fr; }
    .seccion-banner-fijo { height: 250px; background-attachment: scroll; }
    .contenido-banner-fijo h2 { font-size: 1.5rem; }
}