body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding-top: 80px;

}

/* Top bar index.html **/
.top-bar {
    width: 100%;
    background-color: #ffffff;
    position: fixed;
    z-index: 10001;
    top: 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #666;
    padding: 8px 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.top-bar.scrolled {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    /* Evita que se pueda dar click si está oculta */
}


header.scrolled {
    top: 0;
}

.contact-info {
    font-size: 15px;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info span a{
    text-decoration: none;
        color: #666;

}

.btn-como-donar {
    background-color: #c0272c;
    /* Color fucsia de la Liga */
    color: white;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
}

.btn-como-donar:hover {
    background-color: #9e0059;
}


header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    transition: top 0.3s ease;
}

.nav {
    width: 100%;
    padding: 20px 5%;
    margin-top: 0;
    box-sizing: border-box;
    background-color: #002140;
    border-bottom: 1px solid rgb(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 4px 10px #002140;
    z-index: 10;
    position: relative;
}

.nav .toggle_btn {
    color: #e2e8f0;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.nav-links span {
    top: 0;
    left: 0;
    width: 95px;
    height: 100%;
    background: linear-gradient(45deg, #4f1919, #ff3333);
}


.logo img {
    height: 100%;
    width: 110px;
    /* Ocupa todo el alto del contenedor */
    object-fit: contain;
    filter: brightness(1.1);
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}


/* Contenedor del item con submenú */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #ffffff;
    min-width: 220px;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}


.dropdown-menu li {
    margin-bottom: 2px;
}

.dropdown-menu li a {
    color: #333 !important;
    padding: 12px 15px;
    display: block;
    border-radius: 8px;
    /* Redondeado interno */
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #fce4ec;
    color: #c0272c !important;
    padding-left: 20px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
    color: #c0272c;
}

.fa-chevron-down {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}



.nav-links li a {
    position: relative;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    padding: 10px 10px;
    transition: 0.3s;
}

.nav-links .link_active a {
    background: white;
    color: #3d5888;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;

}

.nav-links li a:hover {
    background-color: white;
    color: #3d5888;
    border-radius: 2.3rem;
}

.btns {
    display: flex;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    background: #c0272c;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1)
}

.dropdown_menu {
    position: fixed;
    top: 85px;
    right: 5%;
    width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 33, 64, 0.15);
    border: 1px solid rgba(0, 51, 102, 0.1);
    z-index: 2000;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown_menu li {
    list-style: none;
    width: 100%;
}

.dropdown_menu li a {
    display: block;
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #003366;
    /* Azul de la Liga */
    text-decoration: none;
    transition: 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown_menu li:last-child a {
    border-bottom: none;
}

.dropdown_menu li a:hover {
    color: #c0272c;
    background: #f8fbff;
}

.dropdown_menu .btn {
    width: 85%;
    margin: 15px auto;
    background-color: #003366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    transition: 0.3s;
}

.dropdown_menu .btn:hover {
    background-color: #002244;
    transform: scale(1.05);
}

@media(max-width: 1100px) {

    .nav-links li a {
        font-size: 13px;
    }
}


@media(max-width: 992px) {

    .nav .nav-links,
    .nav .btns {
        display: none;
    }

    .top-bar .contact-info {
        font-size: 12px;
    }

    .btn-como-donar {
        padding: 4px 13px;
        font-size: 13px;
    }

    .nav .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }

}


@media (max-width: 650px) {
    /* 1. Ocultamos h2 y botones definitivamente */

    .slider-box {
        height: 100px !important;
    }

    .slider-box img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .texto h2,
    .texto .btns {
        display: none !important;
    }

    .texto {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 10px !important;
        width: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 0 !important;
        background: none !important;
    }

    .slider-stats {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .mini-card {
        width: 140px !important;
        height: 46px !important;
        background: rgba(0, 33, 64, 0.8) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 10px !important;
        gap: 8px !important;
        margin: 0 !important;
    }



    .mini-card i {
        font-size: 1rem !important;
        color: #00d4ff !important;
        min-width: 20px;
        text-align: center;
    }

    .mini-card .num {
        font-size: 0.8rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .mini-card .lab {
        font-size: 0.5rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        display: block !important;
        text-transform: uppercase;
    }

    .education-title {
        margin-top: 90px;
        font-size: 2rem !important;
    }

    .education-subtitle {
        font-size: 1.2rem !important;
    }


}

.slider-box {
    width: 100%;
    height: 440px;
    min-height: 300px;
    margin: 0;
    overflow: hidden;
    position: relative;

    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
}

.slider-box::-webkit-scrollbar {
    display: none;
}



.fd-background {
    width: 100%;
    max-height: 440px;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
}

.fd-background img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.fd-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 30, 61, 0.4);
    z-index: 1;
    pointer-events: none;
}

.slider-box ul {
    display: flex;
    width: 400%;
    height: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    animation: slide 200s infinite alternate ease-in-out;
}

.slider-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-box li {
    list-style: none;
    position: relative;

    width: 100vw;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.slider-box li:first-child {
    position: relative;
}

.slider-box li:first-child::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    z-index: 1;
    pointer-events: none;
}


.texto span {
    display: block;
    font-family: inherit;
    font-weight: 800;
    white-space: nowrap;
    border-radius: 4px solid;
    width: 25ch;
    animation: typing 2s steps(15) forwards, blink .5s infinite;
    overflow: hidden;
}


.texto {
    position: absolute;
    width: 100%;
    padding: 0 5%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.slider-stats {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 15px;
    width: auto;
}

.mini-card {
    background-color: #002140;
    color: white;
    border-radius: 8px;
    border: 1px solid white;
    width: 180px;
    height: 55px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}


.mini-card i {
    font-size: 1.4rem !important;
    color: #00d4ff !important;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.4));
    text-align: center;
}

/* DEFINICIÓN DE LA ANIMACIÓN */
@keyframes entradaCard {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.9);
    }

    70% {
        transform: translateX(5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.mini-card .info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.mini-card .num {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    display: inline-block;
    min-width: 80px;
    text-align: left;
}

.mini-card .lab {
    font-size: 0.6rem;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.mini-card:hover {
    box-shadow: 0 15px 25px rgba(61, 88, 136, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 999;
}


.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.mini-card:nth-child(1) {
    transition-delay: 0.1s;
}

.mini-card:nth-child(2) {
    transition-delay: 0.3s;
}

.mini-card:nth-child(3) {
    transition-delay: 0.5s;
}

.service-card {
    transition-delay: 0.1s;
}



@keyframes typing {
    from {
        width: 0;
    }
}



@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.texto h2 {
    margin-bottom: 30px;
    font-size: 3.8rem;
    color: #002140;
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -1.5px;
    /* Estilo editorial */
}

.texto .linea-2 {
    color: #e63946;
    display: inline-block;

}

menu {
    --size: 2.5rem;
    --radius: 6rem;
    --padding: 1rem;
    --bg-color: rgba(255, 255, 255, 0.9);
    --fg-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    /* AGREGAR: Tamaño para que el hover funcione bien */
    width: calc(1.6 * var(--size));
    height: calc(1.6 * var(--size));
    bottom: var(--padding);
    right: var(--padding);
    --hi-color: #c22eff;
    z-index: 999;
}

menu>* {
    position: absolute;
    border-radius: 50%;
    text-decoration: none;
    background: var(--bg-color);
    color: var(--fg-color);
    display: grid;
    place-content: center;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.6);
    font-size: 2rem;
}

menu.open>.action {
    --factor: 1;
}

menu>.action {

    --factor: 0;
    width: var(--size);
    height: var(--size);
    right: calc(0.35 * var(--size));
    bottom: calc(0.35 * var(--size));
    transform: rotate(calc(-1* var(--angle))) translateY(calc(-1 * var(--radius) * var(--factor))) rotate(var(--angle));
    transition: transform 250ms ease-in-out, opacity 250ms ease-in-out, box-shadow 250ms ease-in-out, color 250ms ease-in-out;
    background-color: white;
}

menu>.action:hover,
menu>.trigger:hover {
    box-shadow: 0px 0px 0px 0.35rem rgba(0, 0, 0, 0.2);
}

menu>.action:hover {
    background-color: #002140;
    color: white;

}


menu>.trigger {
    width: calc(1.6 * var(--size));
    height: calc(1.6 * var(--size));
    font-size: 2rem;
    bottom: 0;
    right: 0;
    background-color: white;
    color: #e2e8f0;
}

menu>.trigger>i {
    transition: transform 250ms ease-in-out;
}


menu>.action:nth-child(1) {
    --angle: 0deg;
    transition-delay: 0ms;
}



menu>.action:nth-child(2) {
    --angle: 30deg;
    transition-delay: 50ms;

}


menu>.action:nth-child(3) {
    --angle: 60deg;
    transition-delay: 100ms;

}


menu>.action:nth-child(4) {
    --angle: 90deg;
    transition-delay: 150ms;

}


.text-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
}

.education-title {
    font-size: 5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.education-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    /* Blanco con ligera opacidad */
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.4;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}


.texto .btns {
    align-items: center;

}

.texto .btns .btn {
    background-color: #c0272c;
    color: #ffffff;
    margin-top: 20px;
    padding-bottom: 5px;
    margin-left: 142px;
    z-index: 999;
}

.texto .btns .btn:hover {
    box-shadow: 0 15px 25px rgba(61, 88, 136, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

@keyframes slide {
    0% {
        margin-left: 0;
    }

    20% {
        margin-left: 0;
    }

    25% {
        margin-left: -100%;
    }

    45% {
        margin-left: -100%;
    }

    50% {
        margin-left: -200%;
    }

    70% {
        margin-left: -200%;
    }

    75% {
        margin-left: -300%;
    }

    100% {
        margin-left: -300%;
    }

}


@media(max-width:991px) {
    .slider-box {
        width: 100%;
        height: 150%;
    }

    .top-bar {
        display: none;
        position: relative;
    }
}


.servicios-barra {
    display: flex;
    flex-wrap: wrap;
    background-color: #002140;
    padding: 20px 5%;
    box-shadow: 0px 4px 10px #002140;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-top: 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0;
    z-index: 10;

}

.servicios-barra a {
    text-decoration: none;
    color: white;

}

.servicio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    flex: 1;
    min-width: 150px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: center;
}

.servicio-item:last-child {
    border-right: none;
}

.servicio-item i {
    font-size: 1.5rem;
    border: 1px solid white;
    border-radius: 50%;
    padding: 8px;
    min-width: 40px;
    text-align: center;

}

.servicio-item:hover {
    background-color: white;
    color: #3d5888;
    border-radius: 2.3rem;
    cursor: pointer;
}

.servicio-item span {
    font-size: 0.9rem;
    line-height: 1.2;
}


/* --- ESTILO DEL DESPLEGABLE --- */
.dropdown-servicio {
    position: relative;
}

.servicio-trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.servicio-trigger .icon-mini {
    border: none !important;
    padding: 0 !important;
    min-width: auto !important;
    font-size: 0.8rem;
    border-radius: 0 !important;
}

.dropdown-contenido {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* MOSTRAR AL HACER HOVER */
.dropdown-servicio:hover .dropdown-contenido {
    display: block;
    animation: slideUp 0.3s ease;
}

.dropdown-contenido li a {
    color: #002140 !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    text-align: left;
    transition: all 0.2s;
    border-right: none !important;
}

.dropdown-contenido li a:hover {
    background-color: #f1f5f9;
    color: #c0272c !important;
    padding-left: 25px;
}

/* Animación suave */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 15px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 768px) {
    .dropdown-contenido {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        background-color: #f1f1f1;
    }
}

@media (max-width: 768px) {
    .servicios-barra {
        justify-content: center;
    }

    .servicio-item {
        flex: 0 0 45%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .servicios-barra {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 15px 0 !important;
        gap: 0 !important;

    }

    .servicios-barra a,
    .servicios-barra>.servicio-item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        display: flex !important;
        justify-content: center !important;
        box-sizing: border-box;
    }

    .servicio-item {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 145px !important;
        padding: 12px 5px !important;
        margin: 0 auto !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        gap: 8px !important;
    }

    .servicio-item i {
        font-size: 1rem !important;
        padding: 6px !important;
        min-width: 32px !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
    }

    .servicio-item span {
        font-size: 0.7rem !important;
        line-height: 1.1 !important;
        white-space: normal !important;
    }

    .servicios-barra a:nth-last-child(-n+2) .servicio-item,
    .servicios-barra>.servicio-item:nth-last-child(-n+2) {
        border-bottom: none !important;
    }
}


.modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    display: none;

}

.modal-content {
    background: white;
    padding: 10px;
    border-radius: 8px;
    position: relative;
    max-width: 550px;
    width: 90%;
    text-align: center;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.close-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #c0272c;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nuestra-esencia {
    padding: 60px 10%;
    background-color: #fff;
}

.esencia-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.esencia-image {
    flex: 1;
    min-width: 300px;
}



.esencia-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 10px 30px #002140;
    border: 2px solid #003366;
    animation: balanceo 4s ease-in-out infinite;
}


@keyframes balanceo {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }

    /* Se mueve 10px a la derecha */
    100% {
        transform: translateX(0);
    }
}

.esencia-content {
    flex: 1;
    min-width: 300px;
}

.esencia-content h5 {
    color: #3498db;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 14px;
}

.esencia-content h2 {
    color: #003366;
    /* Azul oscuro de la Liga */
    font-size: 33px;
    margin-bottom: 15px;
}

.separador {
    width: 50px;
    height: 3px;
    background-color: #3498db;
    margin-bottom: 20px;
}

.esencia-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #003366;
    color: #003366;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: #003366;
    color: white;
}


.contenedor-testimonios {
    max-width: 100%;
    margin: 0 auto;
}

.seccion-header {
    text-align: center;
    margin-bottom: 40px;
}

.titulo-seccion-galeria {
    color: #003366;
    /* Azul oscuro de la Liga */
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.separador-galeria {
    width: 60px;
    height: 4px;
    background-color: #3498db;
    /* Azul claro para resaltar */
    margin: 0 auto;
    border-radius: 2px;
}

.galeria-testimonios {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px;
    background-color: #002140;
}


.tarjeta-video {
    position: relative;
    width: 260px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 4px solid #eee;
}

.tarjeta-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capa-ajuste {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(220, 50, 120, 0.2) 0%, rgba(15, 40, 80, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.icono-play {
    width: 65px;
    height: 65px;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

.icono-play svg {
    fill: white;
    width: 30px;
    margin-left: 5px;
}

.titulo-testimonio {
    position: absolute;
    bottom: 30px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
}

.pantalla-completa {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
}

.contenedor-iframe {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
}

#reproductorIframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.boton-cerrar {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}


.seccion-contacto {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    font-family: 'Arial', sans-serif;

}

.columna-info {
    flex: 1;
    min-width: 280px;
    padding: 10px;
    color: var(--gris-oscuro);
}


.columna-mapa {
    flex: 1;
    min-width: 280px;
    width: 100%;
}

.columna-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: #c0272c;
    border-radius: 2px;
}

.bloque-direccion,
.bloque-datos {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid #eee;
    transition: border-color 0.3s ease;
}

.bloque-direccion:hover,
.bloque-datos:hover {
    border-left-color: #c0272c;
}

h3 {
    font-size: 1rem;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

h2 {
    display: inline-block;
    color: #002140;
    font-size: 2.2rem;
    margin-right: 20px;
    font-weight: 700;
}

p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}



.bloque-formulario {
    margin-top: 40px;
    padding: 30px;
    background: #f0f4f8;
    border-radius: 15px;
}

.bloque-formulario h3 {
    color: #004a87;
    margin-bottom: 10px;
}

.bloque-formulario a {
    display: inline-block;
    margin-top: 15px;
    background-color: white;
    color: #ffffff;
    padding: 4px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 74, 135, 0.2);
    border: 2px solid gray;

}

.bloque-formulario i {
    font-size: 2rem;

}


.bloque-formulario a:hover {
    background-color: #004a87;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 0, 122, 0.3);
}

iframe {
    display: block;
    height: 100%;
    min-height: 400px;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .seccion-contacto {
        flex-direction: column;
    }
}

.carrusel-servicios-wrapper {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.carrusel-servicios-wrapper-i {
    padding: 40px 20px;
    max-width: 1000px;
    margin: -80px auto;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.servicios-header h2 {
    display: inline-block;
    color: #002140;
    font-size: 2.2rem;
    margin-right: 20px;
    font-weight: 700;
}

.servicios-header p {
    display: inline-block;
    color: #555;
    font-size: 1.1rem;
}

.carousel-area {
    position: relative;
    margin-top: 40px;
}

.carousel-window {
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 24px;
}

.service-card,
.service-card-eventos,
.service-card-voluntariado {
    min-width: calc(33.333% - 16px);
    background: #fff;
    max-width: 200px;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.service-card:hover,
.ser-vice-card-eventos:hover,
.service-card-voluntariado:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 100%px;
    object-fit: cover;
    border-bottom: 3px solid #004a87;
}

.service-card-eventos img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-bottom: 3px solid #004a87;
    display: block;
}

.service-card-voluntariado img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-bottom: 3px solid #004a87;
    display: block;
}

.imagenes-ocultas {
    display: none;
}


.card-content {
    padding: 25px;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.15rem;
    color: #222;
    margin-bottom: 15px;
    height: 50px;
    display: flex;
    align-items: center;
}

.resumen-servicio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Botones de Navegación */
.carousel-nav-container {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 5;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #004a87;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.nav-btn:hover {
    background: #004a87;
    color: #fff;
}






.carousel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.btn-ver-todos {
    background-color: #004a87;
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: backgrounf 0.3s;
}

.btn-ver-todos:hover {
    background-color: #003366;
}

/* Móvil */
@media (max-width: 900px) {
    .service-card {
        min-width: calc(50% - 12px);
    }

    .carousel-nav-container {
        position: static;
        flex-direction: row;
        margin-bottom: 10px;
    }

    .service-card-eventos {
        min-width: calc(50% - 12px);
    }

    .service-card-voluntariado {
        min-width: calc(50% - 12px);
    }


}

@media (max-width: 600px) {
    .service-card {
        min-width: 100%;
    }

    .service-card-eventos {
        min-width: 100%;

    }

    .service-card-voluntariado {
        min-width: 100%;

    }
}


.modal-zoom {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 33, 64, 0.95);
    backdrop-filter: blur(5px);
}

.contenido-modal {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-zoom {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contenido-modal {
    max-width: 90%;
    max-height: 80vh;
    border: 3px solid white;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.cerrar-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cerrar-modal:hover {
    color: #c0272c;
}

#caption-modal {
    color: #ccc;
    font-family: sans-serif;
    margin-top: 15px;
    font-size: 1.2rem;
    text-align: center;
}




/******************** FOOOTER***********************/

.liga-footer {
    background-color: #002140;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    width: 100%;
    margin-top: 50px;
    border-top: 4px solid #e30613;
}

.contenedor-footer {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    /* Para móviles */
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 5%;
    gap: 30px;
}

.footer-columna h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-columna h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #e30613;
    border-radius: 2px;
}

.footer-columna ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-columna ul li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-columna ul li i {
    color: #e30613;
    width: 20px;
    text-align: center;
}

.footer-columna a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-columna a:hover {
    color: #e30613;
    letter-spacing: 0.5px;
}

/* --- Estilos Específicos por Columna --- */

.btn-contacto-electronico {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    padding: 12px 25px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-contacto-electronico:hover {
    background-color: #e30613;
    border-color: #e30613;
}

.acceso-col a {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 10px 20px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}

.acceso-col a:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #002140 !important;
    font-weight: bold;
}

.iconos-redes {
    display: flex;
    gap: 15px;
    justify-content: left;
}

.iconos-redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #002140;
    background: #ffffff;
    transition: all 0.3s ease;
}

.iconos-redes a:hover {
    background-color: #e30613;
    color: #ffffff;
    transform: scale(1.1);
}

.barra-final-copy {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.barra-final-copy p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

@media (max-width: 992px) {
    .contenedor-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-columna {
        width: 100%;
        max-width: 400px;
    }

    .footer-columna h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-columna ul li {
        justify-content: center;
    }

    .iconos-redes {
        justify-content: center;
    }
}

/****** VOLUNTARIADO ***/

.contenedor-voluntariado {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    font-family: sans-serif;
    min-height: 400px;
}

/* Sidebar */
.sidebar-botones {
    flex: 0 0 100%;
    background: #1a3a5a;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

@media (min-width: 801px) {
    .contenedor-voluntariado {
        display: flex;
        align-items: flex-start;
    }

    .sidebar-botones {
        flex: 0 0 300px;
        position: sticky;
        top: 130px;
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .mosaico-galeria {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .mosaico-galeria {
        grid-template-columns: 1fr;
    }

    .contenedor-voluntariado {
        flex-direction: column;
    }

    .sidebar-botones {
        position: static;
        width: 100%;
    }
}

.sidebar-header {
    padding: 20px;
    color: white;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-navegacion {
    display: flex;
    flex-direction: column;
}

.nav-b {
    background: transparent;
    border: none;
    color: #a0b0c0;
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.nav-b:hover,
.nav-b.active {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-left: 4px solid #00aeef;
    /* Azul claro */
}

.btn-registro {
    width: 100%;
    padding: 20px;
    background: #c0272c;
    /* Rosa fuerte */
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

/* Contenido */
.contenido-derecho {
    flex: 1;
    padding: 20px;
    animation: fadeIn 0.5s ease;
    margin-top: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.mosaico-galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 2 filas de 3 */
    gap: 15px;
    margin-top: 20px;
}

.img-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-item:hover {
    transform: scale(1.05);
}

.pie {
    position: absolute;
    bottom: 0;
    background: rgba(0, 74, 135, 0.8);
    color: white;
    width: 100%;
    padding: 5px;
    font-size: 0.8rem;
    text-align: center;
}


@media (max-width: 992px) {
    .mosaico-galeria {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 700px) {
    .mosaico-galeria {
        grid-template-columns: 1fr;
    }

    .contenedor-voluntariado {
        flex-direction: column;
    }
}

.contenedor-pdfs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.tarjeta-pdf {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 15px;
    border-left: 5px solid #004a87;
    /* Azul Liga */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.icono-pdf {
    font-size: 2rem;
    margin-right: 15px;
}

.info-pdf {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nombre-pdf {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.btn-descarga {
    align-self: flex-start;
    background: #c0272c;
    /* Rosa Liga */
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-descarga:hover {
    background: #004a87;
    transform: translateY(-2px);
}

.historia-container {
    animation: fadeIn 0.5s ease;
}

.img-historia {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 25px;
    display: block;

    border-radius: 30px;
    box-shadow: 0 10px 30px #002140;
    border: 2px solid #003366;
}

.img-valores {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    margin-bottom: 25px;
    display: block;
    border-radius: 30px;
    box-shadow: 0 10px 30px #002140;
    border: 2px solid #003366;
}




.historia-container p strong {
    color: #002140;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*Educacion*/

.seccion-educacion {
    padding: 60px 20px;
    background-color: #f8f9fa;
    font-family: sans-serif;
}

.container-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-educacion {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid #002140;
}

.card-educacion:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-educacion .icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.card-educacion h3 {
    color: #002140;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.card-educacion p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.card-educacion .leer-mas {
    color: #0088cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.card-educacion .leer-mas:hover {
    text-decoration: underline;
}

.seccion-campana {
    padding: 60px 20px;
    background-color: #ffffff;
}

.container-campana {
    max-width: 990px;
    margin: 0 auto;
}

.camp-institucional {
    margin-bottom: 50px;
}

.camp-institucional h2 {
    font-size: 2.2rem;
    color: #002140;
    font-weight: 800;
    margin: 0;
}

.fila-imagenes {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.columna-imagen {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.columna-imagen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.texto-campana {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.texto-campana p {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* Responsive (Para móviles) */
@media (max-width: 768px) {
    .camp-institucional h2 {
        font-size: 2.2rem;
    }

    .fila-imagenes {
        flex-direction: column;
        gap: 20px;
    }

    .texto-campana p {
        font-size: 1.1rem;
    }
}

.program-educativos .h2-program {
    font-size: 2.2rem;
    color: #002140;
    margin-bottom: 50px;
    margin-top: -25px;
}

#tituloInfo {
    margin-top: -15px;
}

.program-educativos {
    max-width: 990px;
    margin: 60px auto;
    padding: 0 20px;
}


video {
    max-width: 100%;
    height: auto;
}

/* --- ESTILOS PARA EL PANEL EDUCATIVO --- */

.panel-educativo {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-top: 20px;
    align-items: start;
}


/* -- Sección Video -- */
.contenedor-video-estilizado {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 33, 64, 0.2);
    /* Sombra con tu azul */
    background: #000;
}

.contenedor-video-estilizado video {
    width: 100%;
    height: auto;
    display: block;
}

.pie-video {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* -- Sección Tarjetas -- */
.seccion-tarjetas {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tarjeta-clave {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
}

.tarjeta-clave:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 33, 64, 0.1);
    border-left: 4px solid #c0272c;
}

.icono-clave {
    width: 50px;
    height: 50px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.icono-clave svg {
    width: 25px;
    fill: #c0272c;
}

.info-clave h4 {
    margin: 0 0 5px 0;
    color: #002140;
    font-size: 1.1rem;
}

.info-clave p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .panel-educativo {
        grid-template-columns: 1fr;
    }
}

.contenedor-prevencion-fila {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.columna-educativa {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tarjeta-superior {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #c0272c;
    text-align: center;
    transition: transform 0.3s;
}

.tarjeta-superior:hover {
    transform: translateY(-5px);
}

.icono-mini {
    width: 40px;
    height: 40px;
    background: rgba(227, 6, 19, 0.1);
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icono-mini svg {
    width: 20px;
    fill: #c0272c;
}

.tarjeta-superior h4 {
    margin: 5px 0;
    color: #002140;
    font-size: 1rem;
}

.tarjeta-superior p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.video-pequeno {
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-pequeno video {
    width: 100%;
    display: block;
}

.seccion-derechos {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bloque-info {
    flex: 1.5;
}

.bloque-imagen {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.bloque-imagen img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    border: 12px solid #fff;
    box-shadow: 0 15px 35px rgba(0, 33, 64, 0.15);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: all 0.5s ease;
}

#tituloInf {
    color: #003366;
    font-size: 2.3rem;
    margin-bottom: 27px;
    position: relative;
}

#tituloInf::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #c0272c;
    margin-top: 10px;
    border-radius: 2px;
}

/* Tarjetas del acordeón */
.item-acordeon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #fff;
    border: 1px solid #edf2f7;
    border-radius: 15px;
    /* Bordes más orgánicos */
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.item-acordeon span {
    transition: all 0.3s ease;
}

.item-acordeon:hover span:first-child {
    color: #c0272c;
    padding-left: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.item-acordeon:hover {
    border-left: 5px solid #c0272c;
    background: linear-gradient(90deg, #fff 0%, #fdfdfd 100%);
}

.flecha {
    color: var(--rojo-liga);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.item-acordeon:hover .flecha {
    transform: scale(1.3);
}


.bloque-imagen::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, #c0272c 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

.contenido-acordeon {
    padding: 10px 30px 25px;
    line-height: 1.6;
    font-size: 0.95rem;
    border-left: 3px solid #f4f7f6;
    margin-left: 20px;
    animation: fadeIn 0.5s ease;
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entrega {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {


    .seccion-derechos {
        flex-direction: column-reverse;
        gap: 20px;
        padding: 40px 15px;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;

    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .bloque-info,
    .bloque-imagen {
        width: 100%;
    }

    #tituloInf {
        font-size: 1.6rem;
        text-align: center;
    }

    #tituloInf::after {
        margin: 10px auto;
    }

    .bloque-imagen img {
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
        margin-right: 15px;
        transform: none;
        margin: 0;
    }

    .entrega {
        font-size: 3rem !important;

    }

}

@media (max-width: 480px) {
    .item-acordeon {
        padding: 15px 20px;
    }

    .item-acordeon span:first-child {
        font-size: 1rem;
    }

    .entrega {
        font-size: 2rem !important;

    }
}


.servicios-preparacion {
    width: 100%;
    display: block;
    padding: 20px 0;

}

.titulo-preparacion {
    text-align: center;
    width: 100%;
    color: #003366;
    font-size: 2.5rem;
    margin: 50px auto 30px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
}

.titulo-preparacion::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    /* Azul claro de acento */
    margin: 10px auto 0;
    border-radius: 2px;
}


@media (max-width: 768px) {
    .titulo-preparacion {
        font-size: 1.8rem;
    }
}

.servicios-detalles {
    padding: 40px 10%;
    text-align: center;
}

.tabs-container {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #666;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: #003366;
}

.tab-btn.active {
    color: #003366;
    border-bottom: 3px solid #3498db;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.procedimientos {
    padding: 50px 10%;
    background-color: #ffffff;
}

.procedimientos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tarjeta-lab {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.8);
}

.tarjeta-lab:hover {
    transform: scale(1.03);
}

.tarjeta-lab img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .procedimientos-container {
        flex-direction: column;
    }

    .tarjeta-lab img {
        height: 200px;
    }
}


.entrega-resultados {
    padding: 80px 10%;
    background: linear-gradient(135px, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    justify-content: center;
    background-color: #002140;
}

.resultados-card {
    background: white;
    width: 100%;
    max-width: 900px;
    padding: 40px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0, 33, 64, 0.1);
    border-left: 8px solid #3498db;
    flex-wrap: wrap;
    gap: 30px;
}

.resultados-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 2;
}

.icon-box {
    font-size: 50px;
    color: #003366;
    background: #eef2f7;
    padding: 20px;
    border-radius: 20px;
}

.text-box h2 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 28px;
}

.text-box p {
    color: #555;
    line-height: 1.5;
}

.resultados-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
}

.nota {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

@media (max-width: 768px) {
    .resultados-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .resultados-info {
        flex-direction: column;
    }

    .icon-box {
        margin-bottom: 10px;
    }
}


.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.card {
    background-color: transparent;
    width: 300px;
    height: 500px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

/* Cara Frontal */
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cara Trasera */
.card-back {
    background: #002244;
    color: #ffffff;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.card-back::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.card-back h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    border-bottom: 3px solid #c0272c;
    padding-bottom: 8px;
}

/* Texto de descripción */
.card-back p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #f0f0f0;
    margin-bottom: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card-back .btn {
    padding: 12px 25px;
    background-color: #ffffff;
    color: #004a99;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card-back .btn:hover {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    transform: translateY(-2px);
}

.card-inner {
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* VOLUNTARIADO .HTML */


.seccion-voluntariado {
    padding: 60px 20px;
    background-color: #fcfcfc;
}

.contenedor-vol {
    max-width: 1100px;
    margin: 0 auto;
}

.vol-header {
    text-align: center;
    margin-bottom: 50px;
}

.vol-header h1 {
    font-size: 2.5rem;
    color: #002140;
    margin-bottom: 10px;
}

.separador-rosa {
    width: 80px;
    height: 4px;
    background-color: #c0272c;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.descripcion-vol {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.mosaico-voluntariado {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.img-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.capa-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    /* Altura de la barra azul */
    background-color: #1a5276;
    /* Azul institucional sólido */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    /* Para que sea siempre visible como en la foto */
    transition: background-color 0.3s ease;
}

.capa-info span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: none;
}

.img-item:hover .capa-info {
    background-color: #c0272c;
    opacity: 1;

}

.img-item {
    border-radius: 12px;
    border: 1px solid #ddd;
}


/* Responsive para celulares */
@media (max-width: 768px) {
    .vol-header h1 {
        font-size: 2rem;
    }

    .mosaico-voluntariado {
        grid-template-columns: 1fr;
    }

    .descripcion-vol {
        margin-left: 15px;
    }
}


/* --- SECCIÓN ÚNETE --- */
.seccion-unete {
    padding: 80px 20px;
    background: linear-gradient(rgba(0, 33, 64, 0.9), rgba(0, 33, 64, 0.9)),
        url('img/voluntariado5.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.contenedor-unete {
    max-width: 800px;
    margin: 0 auto;
}

.contenido-unete h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.separador-rosa-corto {
    width: 60px;
    height: 4px;
    background-color: #c0272c;
    margin: 0 auto 25px;
    border-radius: 2px;
}

.contenido-unete p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
}

.acciones-unete {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.btn-formulario {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background-color: #1a5276;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(26, 82, 118, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-formulario i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-formulario:hover {
    background-color: #c0272c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(192, 39, 44, 0.4);
    color: white;
}

.btn-formulario:hover i {
    transform: rotate(15px) scale(1.1);
}

/* Efecto cuando se hace click */
.btn-formulario:active {
    transform: translateY(0);
}

/* Responsivo para móviles */
@media (max-width: 480px) {
    .btn-formulario {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 20px;
    }
}



.contenedor-iframe-pqrsf {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.contenedor-iframe-pqrsf iframe {
    display: block;
}

.nota-informativa {
    display: block;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-top: 15px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .contenedor-iframe-pqrsf iframe {
        height: 1000px;
    }
}



/*************************** REGIMEN TRIBUTARIOOOOO **********************************/

.seccion-transparencia {
    padding: 100px 20px;
    background-color: #f8faff;
}

.transparencia-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.transparencia-header h2 {
    color: #002140;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.separador-azul {
    width: 80px;
    height: 4px;
    background: #c0272c;
    margin: 0 auto 20px;
}

.contenedor-dual {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 40px 5%;
}

.card-documento {
    background: #fff;
    flex: 1 1 calc(45% - 30px);
    min-width: 300px;
    max-width: 500px;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 33, 64, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.card-documento:hover {
    transform: translateY(-5px);
    border-color: #3498db;
}

.card-icon {
    font-size: 35px;
    color: #003366;
}

.card-body h3 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card-body p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-full-descarga {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fbff;
    color: #3498db;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #e1effe;
    transition: 0.3s;
}

.btn-full-descarga:hover {
    background: #3498db;
    color: white;
}

@media (max-width: 768px) {
    .card-documento {
        flex: 1 1 100%;
        flex-direction: column;
        text-align: center;
    }

    .btn-full-descarga {
        justify-content: center;
        gap: 10px;
    }
}


/* NUESTROS PROFESIONALESSSS */


/* --- CONTENEDOR PADRE --- */
.seccion-profesionales {
    padding: 80px 20px;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.encabezado-seccion {
    text-align: center;
    margin-bottom: 40px;
}

.titulo-seccion {
    font-size: 2.2rem;
    color: #002140;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.linea-decorativa {
    width: 60px;
    height: 4px;
    background-color: #c0272c;
    margin: 10px auto;
    border-radius: 2px;
}

.banner-profesionales-azul {
    background-color: #002140;
    /* Color idéntico a tu barra */
    background-image: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    border-radius: 15px;
    padding: 60px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 33, 64, 0.2);
}

.contenido-banner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tagline {
    color: #c0272c;
    /* Rojo */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.titulo-banner {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.texto-rojo {
    color: #c0272c;
}

.extracto-banner {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.9);
}

/* --- TARJETAS DE NÚMEROS (Estilo Transparente) --- */

.bloque-estadisticas {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px;
}

.stat-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    flex: 1;
    min-width: 250px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #c0272c;
    transition: width 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(192, 39, 44, 0.15);
}

.stat-card:hover::before {
    width: 6px;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: #c0272c;
    display: block;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
}

.stat-label {
    color: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .stat-card {
        min-width: 100%;
        padding: 30px 20px;
    }

    .stat-value {
        font-size: 2.8rem;
    }
}

/* QUIENES SOMOS  VIDEO SECCION INSTITUCION.HTML*/

.seccion-video-local {
    background-color: transparent;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.contenedor-reproductor {
    width: 100%;
    max-width: 700px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 33, 64, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-institucional {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;

    outline: none;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .seccion-video-local {
        padding: 40px 10px;
    }

    .contenedor-reproductor {
        border-radius: 10px;
        /* Bordes menos redondeados en móvil */
    }
}

/******************** SECCION DERECHOS Y DEBERES *******************/

.seccion-derechos-deberes {
    padding: 60px 20px;
    background-color: #fcfcfc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.encabezado-seccion {
    text-align: center;
    margin-bottom: 50px;
}

.encabezado-seccion h1 {
    color: #002140;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.encabezado-seccion p {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de dos columnas */
.grid-derechos-deberes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    flex-wrap: wrap;
}

.bloque-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #002140;
    /* Por defecto azul */
    transition: transform 0.3s ease;
    min-width: 300px;
    max-width: 100%;
    box-sizing: border-box;
}


.bloque-info:hover {
    transform: translateY(-5px);
}

.bloque-info.derechos {
    border-top-color: #c0272c;
    /* Derechos en rosa */
}

.titulo-bloque {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.titulo-bloque i {
    font-size: 1.8rem;
    color: #002140;
}

.derechos .titulo-bloque i {
    color: #c0272c;
}

.titulo-bloque h2 {
    font-size: 1.2rem;
    margin: 0;
    color: #333;
}

.bloque-info ul {
    list-style: none;
    padding: 0;
}

.bloque-info ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
    color: #444;
    font-size: 0.95rem;
}

.bloque-info ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #002140;
    font-size: 0.8rem;
}

.derechos ul li::before {
    color: #c0272c;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .grid-derechos-deberes {
        grid-template-columns: 1fr;
    }

    .encabezado-seccion h1 {
        font-size: 2rem;
    }
}


/* HISTORIA CLINICA SECCION 2 : RESULTADOS */


.seccion-resultados {
    padding: 40px 20px;
    background-color: #fff;
}

.grid-imagenes-resultados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card-imagen {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
}

.card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.pie-foto {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    /* Altura de la barra */
    background-color: #1a5276;
    /* Azul institucional */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    /* Siempre visible */
    transition: background-color 0.3s ease;
}

.pie-foto span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.card-imagen:hover img {
    transform: scale(1.05);
}

.card-imagen:hover .capa-info {
    background-color: #c0272c;
}



.footer-contacto-resultados {
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.footer-contacto-resultados p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.botones-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-rs {
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.whatsapp {
    background-color: #25d366;
}

.email {
    background-color: #002140;
}

.btn-rs:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Ajuste móvil */
@media (max-width: 600px) {
    .botones-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-rs {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/************ DONACION ***********/

.seccion-donaciones {
    padding: 80px 20px;
    background-color: #f8fafc;
}


.galeria-donacion {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.img-item-donacion {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 2px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.img-item-donacion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mantiene la imagen sin deformar */
}

.img-item-donacion:hover {
    transform: scale(1.05);
}

.pie-donacion {
    position: absolute;
    bottom: 0;
    background: rgba(0, 74, 135, 0.8);
    color: white;
    width: 100%;
    padding: 10px 5px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 992px) {
    .galeria-donacion {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .galeria-donacion {
        grid-template-columns: 1fr;
    }
}


/* Bloque botonnn SOLICITUD Donar*/

/* --- SECCIÓN DE FORMULARIO DE CERTIFICADO --- */

.accion-certificado {
    padding: 60px 20px;
    background-color: #f8fafc;
    display: flex;
    justify-content: center;
}

.caja-blanca-formulario {
    background: #ffffff;
    max-width: 850px;
    width: 100%;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 33, 64, 0.08);
    /* Sombra suave y profesional */
    text-align: center;
    border: 1px solid #eef2f6;
}

.caja-blanca-formulario h3 {
    color: #004a87;
    /* Azul institucional */
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.caja-blanca-formulario p {
    color: #5a67d8;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contenedor-iframe-certificado {
    width: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.contenedor-iframe-certificado iframe {
    display: block;
    min-height: 700px;
}

.aviso-soporte {
    margin-top: 35px;
    padding: 15px 25px;
    background-color: #fff5f5;
    border-left: 4px solid #e30613;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    text-align: left;
}

.aviso-soporte i {
    color: #e30613;
    font-size: 1.2rem;
}

.aviso-soporte span {
    color: #2d3748;
    font-size: 0.95rem;
    font-weight: 500;
}

/* --- RESPONSIVE --- */

@media (max-width: 768px) {
    .caja-blanca-formulario {
        padding: 30px 20px;
    }

    .caja-blanca-formulario h3 {
        font-size: 1.6rem;
    }

    .contenedor-iframe-certificado iframe {
        min-height: 850px;

    }

    .aviso-soporte {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
}

/*** Boton flotante */

/* --- ESTILOS DEL BOTÓN FLOTANTE --- */

.btn-flotante-cita {
    position: fixed;
    bottom: 30px;
    left: 10px;
    right: auto;

    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background-color: #c0272c;
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(192, 39, 44, 0.4);
    z-index: 2000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    animation: pulsoCita 2s infinite;
}

.btn-flotante-cita i {
    font-size: 1.3rem;
}

.btn-flotante-cita:hover {
    background-color: #1a5276;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 25px rgba(26, 82, 118, 0.5);
    color: white;
    animation: none;
}

.btn-flotante-cita:active {
    transform: scale(0.98);
}

@keyframes pulsoCita {
    0% {
        box-shadow: 0 0 0 0 rgba(192, 39, 44, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(192, 39, 44, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(192, 39, 44, 0);
    }
}

@media (max-width: 768px) {
    .btn-flotante-cita {
        left: 20px;
        bottom: 30px;
    }

    @media (max-width: 480px) {
        .texto-cita {
            display: none;
        }

        .btn-flotante-cita {
            padding: 18px;
            border-radius: 50%;
        }

        .btn-flotante-cita i {
            font-size: 1.5rem;
            margin: 0;
        }
    }
}



.tarjeta-info-paciente {
    max-width: 450px;
    margin: 40px auto;
    /* Centra la tarjeta horizontalmente en la página */
    padding: 40px;
    text-align: center;
    /* Centra los textos e iconos */
    display: flex;
    flex-direction: column;
    align-items: center;

    background: #fff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 33, 64, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;

}


.tarjeta-info-paciente:hover {
    transform: translateY(-5px);
    border-color: #3498db;
}

.tarjeta-icono {
    font-size: 35px;
    color: #003366;
}

.tarjeta-contenido h3 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tarjeta-contenido p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.boton-accion-primario {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #c0272c;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.boton-accion-primario:hover {
    background-color: #a01f23;
}


