/* =========================================
   1. FUENTES Y VARIABLES
   ========================================= */
@font-face {
    font-family: 'Traffic';
    src: url('../fonts/TRAFFIC.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-texto: #FFFFFF;
    --color-celeste: #6CE5FF;
    --color-azul-sitio: #1a4a7b;
    
    /* Separamos las tipografías */
    --fuente-hero: 'Traffic', sans-serif;
    --fuente-titulos: 'Bebas Neue', sans-serif; /* Vuelve Bebas Neue para el resto de la web */
    --fuente-textos: 'Outfit', sans-serif; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #000;
    color: var(--color-texto);
    font-family: var(--fuente-textos);
    overflow-x: hidden;
}

/* =========================================
   2. CABECERA
   ========================================= */
.header-principal {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
}

.container-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 80px; width: auto; display: block; }

.menu { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s;
}
.menu a:hover { color: var(--color-celeste); }

.redes-sociales { display: flex; gap: 1rem; margin-left: 1rem; }
.redes-sociales a { font-size: 1.2rem; }

.menu-toggle {
    display: none; background: none; border: none; color: white;
    font-size: 2rem; cursor: pointer; z-index: 200;
}

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    .menu {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background-color: rgba(11, 25, 44, 0.98);
        flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
        opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.4s ease;
    }
    .menu.abierto { opacity: 1; visibility: visible; transform: translateY(0); }
    .menu a { font-size: 1.5rem; }
    .redes-sociales { margin-left: 0; margin-top: 2rem; gap: 2rem; }
    .redes-sociales a { font-size: 2rem; }
}

/* =========================================
   3. HERO (Con su fuente exclusiva)
   ========================================= */
.hero-section {
    position: relative; height: 100vh; display: flex;
    justify-content: center; align-items: center;
    background: url('../img/hero-celeste.webp') center bottom / cover no-repeat;
}
.hero-fondo-humo { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-contenido {
    position: relative; z-index: 2; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 0 1rem;
}
.logo-hero img { height: 120px; }

.titulo-hero {
    font-family: var(--fuente-hero); /* AQUI SE APLICA TRAFFIC */
    font-size: 6.5rem;
    line-height: 0.9;
    letter-spacing: 2px;
    opacity: 0.95;
    font-weight: normal;
}
.resaltado-celeste { color: var(--color-celeste); }

@media (max-width: 768px) { .titulo-hero { font-size: 3.5rem; } }

/* =========================================
   4. BOTÓN PULSE (Video)
   ========================================= */
.boton-video {
    font-family: var(--fuente-textos); font-size: 1.2rem; font-weight: 300;
    color: white; background: transparent; border: 1px solid white;
    padding: 0.8rem 3rem; border-radius: 50px; cursor: pointer;
    margin-top: 2rem; text-transform: lowercase; transition: background 0.3s;
    animation: pulse-azul 2s infinite;
}
.boton-video:hover { background: rgba(255, 255, 255, 0.1); }
@keyframes pulse-azul {
    0% { box-shadow: 0 0 0 0 rgba(108, 229, 255, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(108, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 229, 255, 0); }
}

/* =========================================
   5. MODAL VIDEO
   ========================================= */
.modal {
    position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.modal.activo { opacity: 1; visibility: visible; }
.modal-contenido { position: relative; width: 90%; max-width: 800px; background: #000; border-radius: 8px; padding: 10px; }
.modal-contenido video { width: 100%; border-radius: 4px; display: block; }
.cerrar-modal { position: absolute; top: -40px; right: 0; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

/* =========================================
   6. CTA ASOCIATE
   ========================================= */
.cta-section {
    background-color: var(--color-azul-sitio); padding: 6rem 2rem;
    text-align: center; border-top: 5px solid var(--color-celeste);
}
/* Al usar --fuente-titulos aquí, hereda Bebas Neue automáticamente */
.cta-contenido h2 { font-family: var(--fuente-titulos); font-size: 4rem; color: white; letter-spacing: 1px; margin-bottom: 2rem; line-height: 1; }
.boton-asociate {
    display: inline-block; font-family: var(--fuente-textos); font-size: 1.2rem; font-weight: 500;
    color: var(--color-azul-sitio); background-color: white; padding: 1rem 3.5rem;
    border-radius: 50px; text-decoration: none; text-transform: lowercase; transition: all 0.3s ease;
}
.boton-asociate:hover { background-color: var(--color-celeste); color: var(--color-azul-sitio); transform: translateY(-3px); }

/* =========================================
   7. INSTITUCIÓN
   ========================================= */
.institucion-section { background-color: #F8F9FA; color: #111; padding: 8rem 2rem; }
.container-texto { max-width: 1400px; margin: 0 auto; }
.intro-institucion { max-width: 900px; margin: 0 auto 5rem auto; text-align: center; }
.intro-institucion p { font-size: 1.6rem; font-weight: 300; line-height: 1.8; color: #333; }
.grid-editorial { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; }
/* Vuelve Bebas Neue para los subtítulos */
.columna-texto h3 { font-family: var(--fuente-titulos); font-size: 2.2rem; color: var(--color-azul-sitio); margin-bottom: 1.5rem; border-bottom: 2px solid var(--color-celeste); padding-bottom: 0.5rem; display: inline-block; }
.columna-texto p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; color: #444; }
.texto-destacado { font-weight: 700; font-size: 1.1rem !important; color: var(--color-azul-sitio) !important; padding-top: 1rem; }

@media (max-width: 992px) { .grid-editorial { grid-template-columns: 1fr; gap: 3rem; } .intro-institucion p { font-size: 1.3rem; } }

/* =========================================
   8. GALERÍA
   ========================================= */
.galeria-section { background-color: #000; padding: 2rem; }
.grid-galeria { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 1600px; margin: 0 auto; }
.item-galeria { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; cursor: pointer; }
.item-galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.item-galeria:hover img { transform: scale(1.08); }

@media (max-width: 768px) { .grid-galeria { grid-template-columns: repeat(2, 1fr); } }

/* =========================================
   9. LIGHTBOX PARA GALERÍA
   ========================================= */
#lightbox {
    position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease; backdrop-filter: blur(5px);
}
#lightbox.activo { opacity: 1; visibility: visible; }
.lightbox-contenido { max-width: 90%; max-height: 90vh; position: relative; }
.lightbox-contenido img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.lightbox-cerrar, .lightbox-prev, .lightbox-next {
    position: absolute; background: none; border: none; color: white;
    font-size: 2.5rem; cursor: pointer; transition: color 0.3s, transform 0.3s; padding: 20px;
}
.lightbox-cerrar { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-cerrar:hover, .lightbox-prev:hover, .lightbox-next:hover { color: var(--color-celeste); transform: scale(1.1) translateY(-50%); }
.lightbox-cerrar:hover { transform: scale(1.1); } 

/* =========================================
   10. FOOTER
   ========================================= */
.footer-principal { background-color: #0b131c; color: #ccc; padding-top: 4rem; }
.footer-grid { max-width: 1400px; margin: 0 auto; padding: 0 2rem 4rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.logo-footer { height: 100px; margin-bottom: 2rem; opacity: 0.8; }
.datos-contacto { list-style: none; }
.datos-contacto li { font-size: 1.1rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.datos-contacto i { color: var(--color-celeste); font-size: 1.3rem; width: 25px; }
.footer-mapa { border-radius: 12px; overflow: hidden; min-height: 250px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.footer-bottom { background-color: #050a0f; padding: 1.5rem 0; }
.footer-bottom-caja { font-size: 0.9rem; }
.footer-bottom-caja a { color: var(--color-celeste); text-decoration: none; font-weight: 700; transition: color 0.3s; }
.footer-bottom-caja a:hover { color: white; }

@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom-caja { flex-direction: column; text-align: center; gap: 1rem; } }

/* =========================================
   11. BOTONES FLOTANTES
   ========================================= */
.btn-flotante {
    position: fixed; bottom: 30px; width: 55px; height: 55px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 1.8rem;
    color: white; z-index: 999; box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease; border: none; cursor: pointer; text-decoration: none;
}
.btn-wa { left: 30px; background-color: #25D366; }
.btn-wa:hover { background-color: #1ebe57; transform: scale(1.1); }
.btn-up { right: 30px; background-color: var(--color-azul-sitio); border: 2px solid var(--color-celeste); opacity: 0; visibility: hidden; transform: translateY(20px); }
.btn-up.mostrar { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-up:hover { background-color: var(--color-celeste); color: var(--color-azul-sitio); transform: translateY(-5px); }

@media (max-width: 768px) { .btn-flotante { width: 45px; height: 45px; font-size: 1.4rem; bottom: 20px; } .btn-wa { left: 20px; } .btn-up { right: 20px; } }

/* =========================================
   12. ESTADO ACTIVO DEL MENÚ
   ========================================= */
/* Esta regla hace que la página en la que estamos quede iluminada */
.menu a.activo {
    color: var(--color-celeste);
    font-weight: 700;
}

/* =========================================
   13. HERO INTERNO (Cabecera de páginas)
   ========================================= */
.hero-interno {
    height: 45vh; /* Es más bajo que el Hero de la Home (100vh) */
    background: url('../img/hero-interno.webp') center center / cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end; /* Empuja el contenido hacia abajo */
    padding-bottom: 3rem;
    margin-top: 0;
}

/* Capa oscura sutil para que el título blanco se lea bien sobre la bandera */
.hero-interno::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.hero-interno-contenido {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.titulo-interno {
    font-family: var(--fuente-titulos); 
    font-size: 4rem;
    font-weight: 500;
    color: white;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .titulo-interno { font-size: 2.5rem; }
    .hero-interno { height: 35vh; }
}

/* =========================================
   14. SECCIÓN CITA (El destino nos unió...)
   ========================================= */
.cita-section {
    background-color: #ffffff;
    padding: 6rem 2rem;
}

.container-cita {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

/* La línea horizontal azul del diseño */
.linea-decorativa {
    width: 120px;
    height: 4px;
    background-color: var(--color-azul-sitio);
    margin-top: 15px; /* Para alinearla con la primera línea del texto */
    flex-shrink: 0; /* Evita que la línea se encoja en celulares */
}

.container-cita blockquote {
    font-family: var(--fuente-textos);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
    color: #444;
}

@media (max-width: 768px) {
    .container-cita { flex-direction: column; gap: 1.5rem; }
    .container-cita blockquote { font-size: 1.4rem; }
}

/* =========================================
   15. GRID Y TARJETAS DE HÉROES
   ========================================= */
.tarjetas-heroes-section {
    background-color: #ffffff;
    padding: 0 2rem 8rem 2rem;
}

.grid-heroes {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas como en el diseño original */
    gap: 6rem 4rem; /* 6rem vertical (filas), 4rem horizontal (columnas) */
}

/* Diseño individual de la tarjeta */
.card-heroe {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contenedor-foto-heroe {
    width: 280px;
    height: 280px;
    background-color: var(--color-celeste);
    border-radius: 50%; /* Lo hace un círculo perfecto */
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Para que los rostros queden apoyados abajo */
}

.contenedor-foto-heroe img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    /* Si las fotos ya vienen recortadas con fondo transparente, cambiar a 'contain' */
}

.card-heroe h2 {
    font-family: var(--fuente-titulos); /* Bebas Neue */
    font-size: 4rem;
    color: var(--color-celeste);
    line-height: 0.85;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.bio-heroe p {
    font-family: var(--fuente-textos);
    font-size: 1.15rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.bio-heroe strong {
    font-weight: 600;
    color: #222;
}

/* Pie de la tarjeta (Logo y textos chicos) */
.logo-card-footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    padding-top: 2rem;
}

/* La sutil línea separadora (curva) generada con CSS */
.logo-card-footer::before {
    content: '';
    position: absolute;
    top: 0;
    width: 180px;
    height: 20px;
    border-top: 1px solid #b3beca;
    border-radius: 50%; /* Esto hace que la línea tenga esa leve curvatura */
}

.logo-card-footer img {
    height: 60px;
}

.logo-card-footer span {
    font-family: var(--fuente-textos);
    font-size: 0.9rem;
    color: #7b8a97;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .grid-heroes { grid-template-columns: 1fr; /* 1 sola columna en tablets/móviles */ }
    .card-heroe h2 { font-size: 3.5rem; }
}

/* =========================================
   16. TRANSICIONES DE PÁGINA (Fade a Blanco Sutil)
   ========================================= */

/* 1. Limpiamos la regla anterior para evitar el fade a negro */
body {
    animation: none;
}

body.pagina-saliendo {
    opacity: 1 !important; /* Evita que el body se oscurezca */
}

/* 2. Creamos una "sábana" blanca que cubre toda la pantalla por encima de todo */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-color: #F8F9FA; /* Un blanco tiza/crema suave, menos agresivo que el blanco puro */
    z-index: 999999; /* Aseguramos que tape menú, footer, todo */
    pointer-events: none; /* Para que la sábana "fantasma" no bloquee tus clics */
    
    /* Al cargar la página, la sábana arranca visible y se desvanece sola */
    opacity: 1;
    animation: desvanecerSabana 0.7s ease-in-out forwards;
}

@keyframes desvanecerSabana {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; } /* visibility: hidden la apaga para que no estorbe */
}

/* 3. Cuando JS detecta que hiciste clic para irte, vuelve a mostrar la sábana suavemente */
body.pagina-saliendo::after {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    animation: none; /* Anula la animación inicial para que la transición funcione */
}

/* =========================================
   17. TUS MODIFICACIONES (Sobrescribiendo)
   ========================================= */
.logo img { height: 80px; }
.logo-footer { height: 100px; margin-bottom: 2rem; opacity: 0.8; }
.titulo-interno { font-family: var(--fuente-titulos); }

/* =========================================
   18. HERO ESPECÍFICO (Memoriales)
   ========================================= */
.hero-memoriales {
    background: url('../img/memoriales.webp') center center / cover no-repeat;
}

/* =========================================
   19. DISEÑO EDITORIAL (Textos Largos y Listas)
   ========================================= */
.seccion-editorial {
    background-color: #ffffff;
    padding: 6rem 2rem;
    color: #333;
}

/* Fondo sutilmente distinto para separar Mausoleo de Monumento */
.seccion-editorial.bg-claro {
    background-color: #F8F9FA; 
}

.container-editorial {
    max-width: 1000px;
    margin: 0 auto;
}

.cabecera-editorial {
    margin-bottom: 4rem;
}

.cabecera-editorial h2 {
    font-family: var(--fuente-titulos);
    font-size: 3rem;
    color: var(--color-azul-sitio);
    letter-spacing: 1px;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-top: 2rem;
    font-weight: 300;
}

/* =========================================
   20. PATRÓN ZIG-ZAG (Foto y Texto intercalado)
   ========================================= */
.contenedor-zigzag {
    margin: 6rem 0;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.fila-zigzag {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* LA MAGIA DEL ZIG-ZAG: Usamos CSS para invertir las filas pares */
.fila-zigzag:nth-child(even) .texto-zigzag {
    order: 2; /* Pone el texto a la derecha */
}
.fila-zigzag:nth-child(even) .img-zigzag {
    order: 1; /* Pone la imagen a la izquierda */
}

.texto-zigzag h3 {
    font-family: var(--fuente-textos);
    font-size: 1.4rem;
    color: var(--color-azul-sitio);
    margin-bottom: 1rem;
    font-weight: 700;
}

.texto-zigzag p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.img-zigzag {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.img-zigzag img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.img-zigzag:hover img {
    transform: scale(1.05); /* Zoom sutil */
}

@media (max-width: 768px) {
    /* En celular, anulamos el Zig-Zag y apilamos foto sobre texto */
    .fila-zigzag { grid-template-columns: 1fr; gap: 2rem; }
    .fila-zigzag:nth-child(even) .texto-zigzag { order: 2; }
    .fila-zigzag:nth-child(even) .img-zigzag { order: 1; }
}

/* =========================================
   21. TEXTOS HISTÓRICOS Y LISTAS ELEGANTES
   ========================================= */
.historia-larga {
    background-color: #F8F9FA;
    padding: 3rem;
    border-radius: 8px;
    border-left: 5px solid var(--color-celeste);
}

.historia-larga h3 {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    color: var(--color-azul-sitio);
    margin-bottom: 0.5rem;
}

.cursiva {
    font-style: italic;
    color: #777;
    margin-bottom: 2rem;
}

.texto-historico p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #222;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Lista personalizada (Reemplaza los puntos por checks celestes) */
.lista-editorial {
    list-style: none; /* Quitamos los puntos feos por defecto */
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.lista-editorial li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

/* El iconito de FontAwesome inyectado por CSS */
.lista-editorial li::before {
    content: '\f105'; /* Código del ícono de flechita (angle-right) */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-celeste);
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .historia-larga { padding: 1.5rem; }
}

/* =========================================
   22. HERO ESPECÍFICO (Salud)
   ========================================= */
.hero-salud {
    /* Aquí pones la imagen de la bandera de la Cruz Roja que tienen de fondo */
    background: url('../img/salud.webp') center center / cover no-repeat;
}

/* =========================================
   23. DISEÑO SALUD (Sidebar Sticky)
   ========================================= */
.layout-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Columna izquierda 66%, derecha 33% */
    gap: 4rem;
    align-items: start; /* Vital para que el sticky funcione, no estira las columnas */
}

.titulo-seccion {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    color: var(--color-azul-sitio);
    margin-bottom: 0.5rem;
}

.subtitulo-celeste {
    font-family: var(--fuente-textos);
    font-size: 1.2rem;
    color: var(--color-celeste);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* La Tarjeta de Contacto */
.tarjeta-contacto {
    background-color: var(--color-azul-sitio);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    
    /* LA MAGIA STICKY: Se queda pegada a 120px del techo al bajar */
    position: sticky;
    top: 120px; 
}

.tarjeta-contacto h3 {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    color: var(--color-celeste);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1rem;
}

.tarjeta-contacto p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.item-contacto-tarjeta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.item-contacto-tarjeta i {
    font-size: 1.5rem;
    color: var(--color-celeste);
    width: 30px;
    text-align: center;
}

.item-contacto-tarjeta a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
    word-break: break-all; /* Evita que el mail largo rompa la caja en celulares */
}

.item-contacto-tarjeta a:hover {
    color: var(--color-celeste);
}

.link-telefono {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
}

@media (max-width: 992px) {
    /* En tablets y celulares, ponemos una columna debajo de la otra */
    .layout-sidebar {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    /* Quitamos el sticky en móvil porque ocupa mucha pantalla */
    .tarjeta-contacto {
        position: relative;
        top: 0;
    }
}

/* =========================================
   24. HERO ESPECÍFICO (Deportes)
   ========================================= */
.hero-deportes {
    background: url('../img/deportes.webp') center center / cover no-repeat;
}

/* =========================================
   25. LAYOUT: INTRODUCCIÓN CON LÍNEA
   ========================================= */
.intro-con-linea {
    display: grid;
    /* Divide la pantalla en 3: 1 tercio para la línea, 2 tercios para el texto */
    grid-template-columns: 1fr 2fr; 
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.caja-linea {
    width: 100%;
}

.linea-izquierda {
    width: 100%;
    height: 3px;
    background-color: var(--color-azul-sitio);
    margin-top: 12px; /* Alinea la línea con la primera letra del párrafo */
}

.texto-derecha p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    /* En celulares apilamos la línea y el texto */
    .intro-con-linea {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .linea-izquierda {
        width: 80px; /* La hacemos corta y elegante para móvil */
        margin-top: 0;
    }
}

/* =========================================
   26. HERO ESPECÍFICO (Acción Social)
   ========================================= */
.hero-accion {
    /* Aquí va la foto de la cabecera de acción social */
    background: url('../img/accion-social.webp') center center / cover no-repeat;
}

/* =========================================
   27. TARJETA STICKY CTA (Asociate)
   ========================================= */
.tarjeta-cta {
    background-color: #F8F9FA; /* Invertimos colores para que destaque */
    color: var(--color-azul-sitio);
    border: 2px solid var(--color-celeste);
    text-align: center;
}

.tarjeta-cta h3 {
    color: var(--color-azul-sitio);
    border-bottom: 2px solid var(--color-celeste);
}

.texto-cta {
    font-family: var(--fuente-textos);
    font-size: 1.4rem !important; /* Más grande para llamar la atención */
    font-weight: 500;
    line-height: 1.2 !important;
    margin-bottom: 2rem;
    color: #333;
}

.boton-asociate-tarjeta {
    display: inline-block;
    background-color: var(--color-azul-sitio);
    color: white;
    font-family: var(--fuente-textos);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    text-transform: lowercase;
    transition: all 0.3s ease;
    width: 100%;
}

.boton-asociate-tarjeta:hover {
    background-color: var(--color-celeste);
    color: var(--color-azul-sitio);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}