    .address-icon,
.phone-icon,
.email-icon {
    display: inline-block; /* <-- Cambia esto */
    height: 20px;
    width: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: invert(1);
}

/* aca */
html, body {
    width: 100%;
    /* max-width: 100vw; */
    overflow-x: hidden;
}


#menu {
    position: fixed;
    right: 1.2em;
    top: 1.2em;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(30, 30, 30, 0.85);
    border: none;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
    outline: none;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    animation: none;
    /* Centrado relativo para pseudo-elementos */
    position: fixed;
    /* ...el resto igual... */
}

/* efecto hover menu en mobil */
#menu:hover, #menu:focus {
    background: #222;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
    transform: scale(1.07);
}



@keyframes animate-outmenu {
    0% {
        box-shadow: 0px 0px 10px 0px var(--color1);
    }
    33% {
        box-shadow: 0px 0px 10px 0px var(--color2);
    }
    66% {
        box-shadow: 0px 0px 10px 0px var(--color3);
    }
    100% {
        box-shadow: 0px 0px 10px 0px var(--color1);
    }
}


/* boton menu mobil */
#menu::before,
#menu::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1.8rem;
    height: 0.18rem;
    background: #000;
    border-radius: 2px;
    transition: 
        background 0.3s, 
        box-shadow 0.3s, 
        transform 0.4s cubic-bezier(.4,2,.6,1), 
        top 0.3s;
    opacity: 0.95;
    transform: translateX(-50%);
}
#menu::before {
    top: 1.18rem;
    box-shadow: none;
}
#menu::after {
    top: 2.12rem;
    box-shadow: none;
}

/* Cuando el menú está abierto */

/* Línea central (pseudo-elemento extra) */
#menu .burger-middle {
    position: absolute;
    left: 50%;
    top: 1.65rem;
    width: 1.8rem;
    height: 0.18rem;
    background: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: background 0.3s, opacity 0.3s, transform 0.4s cubic-bezier(.4,2,.6,1);
    opacity: 0.95;
    pointer-events: none;
    z-index: 2;
}

#menu.on {
    background: #fee500 !important;
    box-shadow: 0 4px 24px 0 rgba(254,229,0,0.18);
}
/* Cuando el menú está abierto, animar a X */
#menu.on::before {
    background: #111 !important;
    top: 1.65rem;
    transform: translateX(-50%) rotate(45deg);
}
#menu.on::after {
    background: #111 !important;
    top: 1.65rem;
    transform: translateX(-50%) rotate(-45deg);
}

#menu.on .burger-middle {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.2);
}

@keyframes animate-linesmenu {
    0% {
        box-shadow: 
            0px 0px 1px 1px var(--color1),
            0px 1rem 1px 1px var(--color1),
            0px 2rem 1px 1px var(--color1);
    }
    33% {
        box-shadow: 
            0px 0px 1px 1px var(--color2),
            0px 1rem 1px 1px var(--color2),
            0px 2rem 1px 1px var(--color2);
    }
    66% {
        box-shadow: 
            0px 0px 1px 1px var(--color3),
            0px 1rem 1px 1px var(--color3),
            0px 2rem 1px 1px var(--color3);
    }
    100% {
        box-shadow: 
            0px 0px 1px 1px var(--color1),
            0px 1rem 1px 1px var(--color1),
            0px 2rem 1px 1px var(--color1);
    }
}



#fullImageDiv {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: rgba(20, 20, 20, 0.92);
    z-index: 9999;
    filter: none;
    overflow: hidden;
    transition: background 0.3s;
}

#fullImageDiv #closeFullImageDiv {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    border: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

#fullImageDiv #closeFullImageDiv:hover,
#fullImageDiv #closeFullImageDiv:focus {
    background: #fee500;
    box-shadow: 0 4px 24px rgba(254,229,0,0.18);
    transform: scale(1.08);
}

#fullImageDiv #closeFullImageDiv::before,
#fullImageDiv #closeFullImageDiv::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 4px;
    background: #222;
    border-radius: 2px;
    transform-origin: center;
    transition: background 0.2s;
}

#fullImageDiv #closeFullImageDiv::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
#fullImageDiv #closeFullImageDiv::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#fullImageDiv img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    margin: auto;
    display: block;
}

main section,
main #bannerSection .info-container,
footer {
    padding-inline: 1.5rem;
    margin: 0 auto;
}

header {
    position: fixed;
    opacity: 0;
    z-index: 50;
    top: 0;
    left: 0;
    padding: 4rem;
    width: 100dvw;
    height: 100dvh;
    max-width: 100dvw;
    max-height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    pointer-events: none;
    transition: opacity .5s, scale .5s;
    scale: 2;
}

header.on {
    opacity: 1;
    scale: 1;
    pointer-events: all;
}

/* Esconder boton de donar cuando se despliega el menu movil */
header.on ~ .btn-donate-fixed {
  display: none !important;
}


    header .logo-social-networks-div {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    header .logo-social-networks-div .logo {
        filter: contrast(0) brightness(2);
        width: 7rem;
    }
        header .logo-social-networks-div div {
            display: flex;
            gap:1em;
        }
            header .logo-social-networks-div div img {
                filter: contrast(0) brightness(2);
                width: 3rem;
                transition: scale .5s;
            }

    header nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 80%;
        gap: 5em;
    }
    header nav ul {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        gap: 3.2rem;
        
    }

    /* NAVBAR PANTALLA GRANDE LINEAS AMARILLAS  */
    header nav .links-ul {
        display: flex;
        align-items: center;
        gap: 2.5rem;
        width: 100%;
        padding: 0;
        margin: 0;  
        flex-direction: column;      
        /* oe */
    }

    /* @media (min-width: 768px) {
        header nav .links-ul{
            flex-direction: row;
        }
    } */

    
    
    header nav .language-buttons-ul {
        display: flex;
        gap: 1.2rem;
        margin-top: 1.5rem;
        padding: 0;
        width: 100%;
        justify-content: flex-start;
    }
    header nav .language-buttons-ul li {
        list-style: none;
    }
    header nav .nav-lines-group {
        position: relative;
        display: flex;
        align-items: center;
        gap: 3.2rem;
    }
    
        header nav .links-ul li {
            position: relative;
        }
        /* color textos nav movil */
            header nav .links-ul li a,
            header nav .links-ul li .btn-we,
            header nav .language-buttons-ul li button {
                color: white;
            }
            header nav .links-ul li .btn-we {
                border: none;
                background-color: transparent;
            }
            header nav .links-ul li a,
            header nav .links-ul li .btn-we {
                display: block;
                text-decoration: none;
                font-size: 2rem;
                padding-bottom: .4em;
            }
            header nav .links-ul li .a-donate {
                padding: .7em;
                /* box-shadow: 0px 0px 20px 0px rgba(0, 255, 60, 0.4); */
                border-radius: 0.5em;
                background-color: #FEE500ff;
                color: black;
                font-weight: bold;
            }
            header nav .language-buttons-ul li button {
                border: none;
                background:none;
                font-size: 1.4rem;
            }



        header nav .links-ul li #links-we-ul {
          z-index: 100;
          position: absolute;
          top: 100%;
          left: 50%;
          transform: translateX(-50%) translateY(10px);
          opacity: 0;
          pointer-events: none;
          transition: all 0.3s ease;
          min-width: 260px;
          width: max-content;
          background: #e2e6ec; 
          backdrop-filter: blur(8px) saturate(1.2);
          border-radius: 0.8rem;
          display: flex;
          flex-direction: column;
          align-items: stretch;
          padding: 1.5rem 0;
      }

      header nav .links-ul li .btn-we:hover + #links-we-ul,
      header nav .links-ul li #links-we-ul:hover {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
      }

      header nav .links-ul li #links-we-ul li a {
        display: block;
        width: 100%;
        padding: 0.9rem 1.6rem;
        font-size: 1.15rem;
        font-weight: 500;
        color: #0f172a; 
        text-decoration: none;
        background: transparent;
        border-radius: 0.5rem;
        text-align: left;
        font-family: 'Poppins', 'Roboto', sans-serif;
        transform: none;
      }

      header nav .links-ul li #links-we-ul li a:hover,
      header nav .links-ul li #links-we-ul li a:focus {
          background: linear-gradient(90deg, #14aa5b 0%, #f6c519 100%);
          color: #151616;
          font-weight: 700;
          box-shadow: 0 2px 8px rgba(254,229,0,0.08);
          outline: none;
      }

      header nav .links-ul li #links-we-ul::before {
        content: "";
        position: absolute;
        width: 40px;
        height: 12px;
        background: transparent;
        border-radius: 50%;
        pointer-events: none;
      }

           
            
            @keyframes activate-pointer-events {
                0% {
                    pointer-events: none;
                }
                50% {
                    pointer-events: all;
                }
                100% {
                    pointer-events: all;
                }
            }
                header nav .links-ul li #links-we-ul li a {
                    font-size: 1.8rem;
                }



main {
    display: flex;
    flex-direction: column;
    gap: 15em;
}
    main section {
        padding-top: 2.5rem;
        /* removí efecto dotted */
        /* border-top-style: dashed; */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
        main section h2 {
            -webkit-text-stroke: .1rem rgba(255, 255, 255, 1);
            font-size: 5rem;
            font-weight: normal;
            color: transparent;
            font-family: 'Roboto';
            margin-bottom: 1em;
            text-align: center;
        }
        main section .info-container {
            display: flex;
            flex-direction: column;
            gap: 3em;
        }
            main section .info-container h3 {
                font-size: 2.3rem;
                font-family: 'Roboto';
            }
            main section .info-container p {
                font-size: 1.6rem;
                line-height: 1.5em;
            }
            
    

            /* neon rojo glow */
    /* main section:nth-child(1),
    main section:nth-child(2n+1) {
        background-color: rgba(255, 0, 0, 0.03);
        box-shadow: 0px 0px 200px 0px rgba(255, 0, 0, 0.074);
        border-top-color:  rgba(255, 0, 0, 0.1);
    }
    main section:nth-child(1) h2,
    main section:nth-child(2n+1) h2{
        text-shadow: 0px 0px 4rem rgba(255, 0, 0, 0.3);
    }
    main section:nth-child(2n+2) {
        background-color: rgba(255, 217, 0, .05);
        box-shadow: 0px 0px 200px 0px rgba(255, 238, 0, .1);
        border-top-color:  rgba(255, 196, 0, 0.1);
    }
    main section:nth-child(2n+2) h2 {
        text-shadow: 0px 0px 4rem rgba(251, 255, 0, 0.3);
    }
    main section:nth-child(2n+3) {
        background-color: rgba(21, 255, 0, 0.03);
        box-shadow: 0px 0px 200px 0px rgba(30, 255, 0, 0.074);
        border-top-color:  rgba(38, 255, 0, 0.1);
    }
    main section:nth-child(2n+3) h2{
        text-shadow: 0px 0px 4rem rgba(0, 255, 0, 0.3);
    } */
    
main #sliderPrincipal {
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}
main #sliderPrincipal .slider {
    display: flex;
    overflow: hidden;
    position: relative;
    aspect-ratio: 2/1;
     min-height: 320px;
}
main #sliderPrincipal .slider img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition-property: all;
}
main #sliderPrincipal .slider img.cerrado {
    width: 0%;
}
main #sliderPrincipal .slider .btn-slider {
    position: absolute;
    top: 0;
    /* width: 40px; */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 90px;
    border: 0;
    outline: 0;
    color: rgba(0, 0, 0, 0.2);
}
main #sliderPrincipal .slider #btnIzquierdaSlider {
    left: 0;
}
main #sliderPrincipal .slider #btnDerechaSlider {
    right: 0;
}

main #bannerSection {
    padding-inline: 0;
    border: none;
}

/* *********************** CUADRO HABITANZA EN CALLE FULL WIDTH, GRANDE Y RESPONSIVO *********************** */
main #bannerSection {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

main #bannerSection .banner-div {
    width: 100vw;
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 5rem 3vw;
    border-radius: 2.5rem;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18), 0 1.5px 0 #fee500;
    backdrop-filter: blur(8px) saturate(1.2);
    border: 1.5px solid rgba(255,255,255,0.12);
    animation: bannerFadeIn 1.2s cubic-bezier(.23,1.02,.41,.99) both;
    transition: box-shadow 0.4s, transform 0.4s;
    position: relative;
    overflow: hidden;
    text-align: center;
}

main #bannerSection .banner-div > div {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

main #bannerSection .banner-div h1,
main #bannerSection .banner-div .h2 {
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    color: #fee500;
    text-shadow: 0 2px 24px rgba(254,229,0,0.25), 0 1px 0 #000;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 0.3em;
    margin-top: 0;
    line-height: 1.1;
    word-break: break-word;
    text-wrap: balance;
}

main #bannerSection .banner-div h1 {
    font-size: 5.5rem;
}

main #bannerSection .banner-div .h2 {
    font-size: 4rem;
}

/* Fundación Cristiana blanco, con destello amarillo animado detrás */
main #bannerSection .banner-div .h4 {
    position: relative;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin-top: 0.2em;
    letter-spacing: 0.7px;
    z-index: 1;
    text-shadow: 0 1px 8px rgba(254,229,0,0.18);
    /* El destello amarillo animado */
    overflow: visible;
}
main #bannerSection .banner-div .h4::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, #fee500 0%, rgba(254,229,0,0.11) 65%, rgba(254,229,0,0) 90%);
    opacity: 0.56;
    z-index: -1;
    filter: blur(12px);
    animation: yellowGlow 2.2s infinite alternate cubic-bezier(.5,.9,.5,1);
}

@keyframes yellowGlow {
    0% { opacity: 0.3; filter: blur(9px);}
    35% { opacity: 0.55; filter: blur(18px);}
    70% { opacity: 0.8; filter: blur(20px);}
    100% { opacity: 0.4; filter: blur(13px);}
}

main #bannerSection .banner-div .h3 {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.8px;
    opacity: 0.92;
    margin-bottom: 0.5em;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    main #bannerSection .banner-div {
        max-width: 100vw;
        padding: 4rem 2vw;
    }
    main #bannerSection .banner-div > div {
        max-width: 97vw;
    }
    main #bannerSection .banner-div h1 {
        font-size: 4rem;
    }
    main #bannerSection .banner-div .h2 {
        font-size: 2.7rem;
    }
    main #bannerSection .banner-div .h3 {
        font-size: 1.4rem;
    }
    main #bannerSection .banner-div .h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 700px) {
    main #bannerSection .banner-div {
        padding: 2.2rem 2vw;
        border-radius: 1.2rem;
    }
    main #bannerSection .banner-div > div {
        max-width: 98vw;
        gap: 1.2rem;
    }
    main #bannerSection .banner-div h1 {
        font-size: 2.2rem;
    }
    main #bannerSection .banner-div .h2 {
        font-size: 1.5rem;
    }
    main #bannerSection .banner-div .h3 {
        font-size: 1rem;
    }
    main #bannerSection .banner-div .h4 {
        font-size: 0.95rem;
    }
}
/* ===== GRID LAYOUT PERSONALIZADO ===== */
main #aboutUs .info-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
}

/* Primera fila: 2 columnas de 6 */
main #aboutUs .text-div.presentacion,
main #aboutUs .text-div.justificacion {
    grid-column: span 6;
}

/* Segunda fila: 1 columna completa */
main #aboutUs .text-div.quienessomos {
    grid-column: span 12;
}

/* Tercera fila: 1 columna completa */
main #aboutUs .text-div.objetivos {
    grid-column: span 12;
}

/* ===== BLOQUES DE TEXTO ===== */
main #aboutUs .text-div {
    background-color: rgba(0, 0, 0, 0.5); /* negro 50% */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 1.8rem;
    padding: 3rem 2.2rem;
    box-shadow: 0 6px 32px 0 rgba(0,80,40,0.07);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
}

main #aboutUs .text-div:hover {
    box-shadow: 0 12px 48px 0 rgba(0,80,40,0.13), 0 2px 12px rgba(0,0,0,0.10);
    transform: translateY(-8px) scale(1.025);
}

/* ===== TÍTULOS DE CADA BLOQUE ===== */
main #aboutUs .text-div h3 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffe605 !important;           /* amarillo sólido */
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 0.7rem;
    border-bottom: 2.5px solid #ffe605;
    font-family: 'Poppins', sans-serif;

    /* Remover efectos visuales no deseados */
    background: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

/* ===== TEXTOS ===== */
main #aboutUs .ps-div {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

main #aboutUs .ps-div p {
    font-size: 1.5rem; 
    line-height: 2.5rem;
    color: #ffffff;
    border-left: 5px solid #ffe605;
    padding: 1.5rem 2rem;
    border-radius: 1.2rem;
    font-family: 'Roboto', sans-serif;
    margin: 0 0 1.2rem 0;
    text-align: justify;
    letter-spacing: 0.02em;
}

.nombre-fundacion {
    font-size: 2.5rem; 
    font-weight: bold;
    color: #ffe605;
}

main #aboutUs .ps-div p:last-child {
    margin-bottom: 0;
}

main #aboutUs .ps-div p span {
    color: #ffe605;
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.15em;
}

/* Viñetas de listas en amarillo */
main #aboutUs .ps-div ul {
    padding-left: 1.2rem;
}

main #aboutUs .ps-div li {
    color: #ffffff;
}

main #aboutUs .ps-div li::marker {
    color: #ffe605;
}

/* ===== SECCIÓN QUÉ HACEMOS ===== */
main #whatdoSection {
    padding: 6rem 2rem;
}

main #whatdoSection .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

main #whatdoSection h2[data-languaje="a_whatdo"] {
    font-size: 4rem;
    font-weight: bold;
    color: #ffe605;
    letter-spacing: 1px;
    margin-bottom: 3rem;

    /* Asegura que no tenga efectos no deseados */
    background: none !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
}

main #whatdoSection .content-box {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-left: 6px solid #ffe605;
    text-align: justify;
    margin-bottom: 4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main #whatdoSection .content-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

main #whatdoSection .content-box p {
    font-size: 1.5rem;
    line-height: 2.5rem;
    color: #ffffff;
    text-align: justify;
    font-family: 'Roboto', sans-serif;
}

main #whatdoSection .content-box p strong {
    color: #ffe605;
    font-weight: 700;
    text-transform: uppercase;
}

main #whatdoSection .content-box p span {
    color: #ffe605;
    font-weight: bold;
}

/* === Grid de tarjetas === */
main #whatdoSection .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

/* Tarjeta individual */
main #whatdoSection .info-card {
    background-color: rgba(0, 0, 0, 0.5); /* negro 50% */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 5px solid #ffe605; /* borde amarillo */
}

main #whatdoSection .info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

/* Íconos: img y SVG convertidos a amarillo #ffe605 */
main #whatdoSection .info-card img,
main #aboutUs .text-div img {
    width: 50px;
    height: 50px;
    margin-bottom: 1.2rem;
    /* filtro aproximado para convertir íconos PNG/SVG en amarillo */
    filter: brightness(0) saturate(100%) invert(79%) sepia(99%) saturate(700%) hue-rotate(2deg) brightness(100%) contrast(95%);
}

/* Soporte directo para iconos SVG (paths) */
main #whatdoSection .info-card svg,
main #aboutUs .text-div svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1.2rem;
}
main #whatdoSection .info-card svg path,
main #aboutUs .text-div svg path {
    fill: #ffe605 !important;
}

/* Títulos de las tarjetas */
main #whatdoSection .info-card h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffe605; /* amarillo */
    margin-bottom: 0.8rem;
}

/* Texto de las tarjetas */
main #whatdoSection .info-card p {
    font-size: 1.6rem;
    color: #ffffff; /* blanco */
    line-height: 1.6;
    font-weight: 600;
}

/* Listas dentro de las tarjetas: viñetas en amarillo, texto en blanco */
main #whatdoSection .info-card ul {
    list-style: disc;
    margin-top: 1rem;
    padding-left: 1.5rem;
    text-align: left;
}
main #whatdoSection .info-card ul li {
    font-size: 1.5rem;
    color: #ffffff; /* texto */
    margin-bottom: 0.8rem;
    font-weight: 500;
}
main #whatdoSection .info-card ul li::marker {
    color: #ffe605; /* viñeta amarilla */
}

/* Si existen otras listas en aboutUs, uniformamos markers también */
main #aboutUs ul li::marker {
    color: #ffe605;
}

/* pequeños ajustes visuales adicionales */
@media (max-width: 900px) {
    main #aboutUs .text-div,
    main #whatdoSection .content-box,
    main #whatdoSection .info-card {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}
/* esconder imagen escuela formacion */
#imgEscuelaBanner {
    display: none !important;
}

/* Rediseño Escuela de formación (mantengo los mismos selectores que tenías) */
#schoolSection {
    position: relative;
    padding: 40px 20px; /* menos espacio arriba/abajo para evitar vacío */
    margin-bottom: 0;   /* quitar separación extra con la siguiente sección */
}

/* título (grande y amarillo ocre) */
#schoolSection .school-title {
    font-size: 4rem;
    font-weight: bold;
    color: #ffe605; /* amarillo ocre */
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
}

/* texto informativo escuela de formacion (blanco) */
#schoolSection .school-main-text p {
    font-size: 1.7rem;
    max-width: 900px;
    margin: 0 auto 1.25rem auto;
    color: #ffffff;
    font-weight: 300;
    text-align: center;
}

/* -----------------------------------------
   FILA HORIZONTAL DE IMÁGENES (sin cajas blancas)
   ----------------------------------------- */
#schoolSection .school-images-circles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;      /* baja a otra línea en pantallas pequeñas */
  margin-bottom: 12px;  /* espacio reducido */
  padding: 0 12px;
}

/* si existe .image-row lo dejamos coherente con la fila */
#schoolSection .image-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* convertimos la card en círculo y quitamos el fondo blanco */
.school-img-card {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 50%;
  overflow: hidden;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffe605; /* borde amarillo ocre */
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer; /* sigue clicable para tu ampliado JS */
}

/* imagen dentro del círculo */
.school-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.35s ease, filter 0.25s ease;
}

/* hover visual */
.school-img-card:hover {
  transform: scale(1.05);
  z-index: 5;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.school-img-card:hover img {
  transform: scale(1.06);
}

/* -----------------------------------------
   Texto áreas (debajo de las imágenes)
   ----------------------------------------- */
#schoolSection .school-areas-text p {
    font-size: 1.7rem;
    margin: 0 auto 18px auto;
    color: #ffffff;
    font-weight: 300;
    max-width: 600px;
    text-align: center;
}

/* -----------------------------------------
   CUADROS INFERIORES: amarillos + enlaces
   ----------------------------------------- */
#schoolSection .school-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 18px;
  padding: 0 12px;
}

/* tarjetas amarillas con texto negro (mantengo selector original) */
#schoolSection .school-card {
  background-color: #ffe605;   /* amarillo ocre */
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;              /* texto negro */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
  text-align: center;
  cursor: pointer;
}

/* hover: feedback visual */
#schoolSection .school-card:hover {
  background-color: #e6d002;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
}

/* si envolviste la palabra con <a>, que ocupe toda la card y mantenga estilo */
#schoolSection .school-card a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  line-height: inherit;
}

/* span dentro de cardio (si lo usas) */
#schoolSection .school-card span {
  font-size: 1.3rem;
  color: #000;
}

/* -----------------------------------------
   Texto final de la sección (sin cambios funcionales)
   ----------------------------------------- */
#schoolSection .school-final-text p {
    font-size: 1.7rem;
    color: #fff;
    max-width: 750px;
    font-weight: 300;
    margin: 0 auto;
    text-align: center;
}

/* -----------------------------------------
   Responsive: tamaños más pequeños en móviles
   ----------------------------------------- */
@media (max-width: 900px) {
  #schoolSection {
    padding: 28px 12px;
  }
  .school-img-card {
    width: 120px;
    height: 120px;
    border-width: 3px;
  }
  .school-img-card img { object-position: center; }
  #schoolSection .school-areas-text p { font-size: 1.25rem; }
  #schoolSection .school-card { padding: 12px 14px; font-size: 1.05rem; }
  /* reducir márgenes para que se vea menos vacío */
  #schoolSection { margin-bottom: 0; padding-bottom: 16px; }
}
main #childrenSection .info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
  padding: 20px;
  border-radius: 2em;
}
    main #childrenSection .info-container p {
        font-size: 1.9rem;
    color: #fff;
    max-width: 950px;
    font-weight: 300;
    margin: 0 auto;
    text-align: center;
    }

    #childrenSection h2{
        font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    }


   main #childrenSection .info-container video {
  width: 100%;
  max-width: 720px;
  border-radius: 2em;
  box-shadow: 0px 4px 16px rgba(117, 105, 0, 0.2);
  background-color: #000;
  transition: box-shadow 0.3s, transform 0.3s;
}
/* Testimonios */
main #testimonialsSection {
  padding: 6rem 2rem 6rem 2rem; 
  width: 100%;
  position: relative;
}

main #testimonialsSection h1 {
  text-align: center;
  font-size: 5rem;
  margin-top: 1rem;      
  margin-bottom: 7rem;  
  font-weight: 800;
  color: #ffe605; /* título amarillo */
  font-family: 'Poppins', sans-serif;
  z-index: 2;
  position: relative;
}

/* Contenedor de tarjetas */
main #testimonialsSection .info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  margin-top: 2rem;
}

/* Tarjeta de testimonio (cuadro negro) */
.testimonial-card {
  background: #000; /* negro sólido */
  padding: 3.5rem 2.5rem 2.5rem 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: 2px solid #ffe605; /* borde amarillo */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(255, 230, 5, 0.25);
}

/* Imagen (círculo amarillo -> negro según pedido previo; si quieres amarillo, cambia aquí) */
.testimonial-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #000; /* borde negro del retrato */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  object-position: top;
  margin-bottom: 1.2rem;
  display: block;
  background: #fff;
}

/* Contenido (texto en blanco para contraste sobre negro) */
.testimonial-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.testimonial-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.9rem;
}

.testimonial-desc {
  font-size: 1rem;
  font-style: italic;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  max-width: 90%;
}

/* Botón "Lee testimonio" (amarillo) */
.btn-testimonial {
  background-color: #ffe605; /* fondo amarillo */
  color: #000;               /* texto negro */
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  font-size: 1.5rem;
  border-radius: 0.8rem;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-testimonial:hover {
  background-color: #e6cf05; /* un poco más oscuro */
  transform: scale(1.05);
}

/* ========== MODAL TESTIMONIO (restaurado) ========== */
.modal-testimonio {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; 
  height: 100vh;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
}

.modal-testimonio.active {
  display: flex;
}

.modal-testimonio-content {
  background: #fff;
  border-radius: 1.5em;
  padding: 2.5rem 2rem;
  max-width: 95vw;
  width: 420px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  position: relative;
  text-align: left;
  animation: modalFadeIn 0.55s;
}

@keyframes modalFadeIn {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.modal-testimonio-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 3.2rem;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

.modal-testimonio-close:hover { color: #000; }

.modal-testimonio-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 2rem;
}

.modal-testimonio-content p {
  font-size: 1.6rem;
  color: #444;
  line-height: 1.6;
}
/* ========== RESPONSIVE OPTIMIZADO ========== */


/* Espacio extra para testimonios en tablets (768px a 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  main #testimonialsSection .info-container {
    padding-bottom: 8rem;
    gap: 11rem;
  }

  /* Agrandar textos en los bloques de about us */
  main #aboutUs .text-div.presentacion .ps-div p,
  main #aboutUs .text-div.justificacion .ps-div p,
  main #aboutUs .text-div.quienessomos .ps-div p,
  main #aboutUs .text-div.objetivos .ps-div p {
    font-size: 1.3rem;
    line-height: 2.1rem;
  }

  main #aboutUs .text-div.presentacion h3,
  main #aboutUs .text-div.justificacion h3,
  main #aboutUs .text-div.quienessomos h3,
  main #aboutUs .text-div.objetivos h3 {
    font-size: 2.7rem;
    margin-bottom: 1.7rem;
    padding-bottom: 0.7rem;
  }
 
}

/* Desde 768px: dos columnas */
@media (min-width: 768px) {
  main #testimonialsSection .info-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .documentos-grid {
    grid-template-columns: 1fr;
  }
}

/* Desde 1200px: tres columnas */
@media (min-width: 1200px) {
  main #testimonialsSection .info-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Móviles y pantallas pequeñas */
@media (max-width: 767px) {
  main #testimonialsSection {
    padding: 3rem 1rem;
  }

  
  main #testimonialsSection .info-container {
    grid-template-columns: 1fr;
    gap: 12rem;
  }

  main #testimonialsSection h1 {
  text-align: center;
  font-size: 3rem;
  margin-top: 1rem;      
  margin-bottom: 7rem;  
  font-weight: 800;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  z-index: 2;
  position: relative;
}

  .testimonial-card {
    padding: 2rem 1.5rem;
    border-radius: 1.4rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-img {
    width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  display: block;
  }

  .testimonial-name {
    font-size: 1.25rem;
    text-align: center;
  }

  .testimonial-role {
    font-size: 1rem;
    text-align: center;
  }

  .testimonial-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
  }

  .btn-testimonial {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
  }

  .modal-testimonio-content {
    padding: 1.2rem 0.8rem;
    width: 95vw;
    max-width: 95vw;
  }
}



/* 
main #testimonialsSection h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #000;
    letter-spacing: 1px;
    margin-bottom: 3rem;
}
    main #testimonialsSection .info-container .testimonial {
        position: relative;
        overflow: hidden;
        transition: scale .5s, box-shadow .5s;
        border-radius: 3em;
    }
    main #testimonialsSection .info-container .testimonial.on {
        scale: 1.05;
        box-shadow: 0px 0px 20px 0px rgb(255, 255, 255,0.6);
    }
    main #testimonialsSection .info-container .testimonial.on img {
        filter: brightness(0.5) grayscale(.5);
    }
    main #testimonialsSection .info-container .testimonial img {
        filter: brightness(1) grayscale(0);
        transition: filter .5s;
    }
    main #testimonialsSection .info-container .testimonial.on .person {
        transform: translateX(-100%);
        opacity: 0;
    }
    main #testimonialsSection .info-container .testimonial.on .history {
        transform: translateY(0%);
        opacity: 1;
    }
    main #testimonialsSection .info-container .testimonial .person,
    main #testimonialsSection .info-container .testimonial .history {
        position: absolute;
        left: 0;
        width: 100%;
        background-color: rgba(22, 22, 22, 0.7);
        transition: transform .5s, opacity .5s;
    }
    main #testimonialsSection .info-container .testimonial .person {
        bottom: 0;
        opacity: 1;
        padding: 2em 2em;
        height: 40%;
        border-top-right-radius: 6em;
    }
    main #testimonialsSection .info-container .testimonial .person h4 {
        font-size: 1.6rem;
        margin-top: .4em;
    }
    main #testimonialsSection .info-container .testimonial .history {
        position: absolute;
        display: flex;
        flex-direction: column;
        height: 100%;
        top: 0;
        transform: translateY(-100%);
        opacity: 0;
        padding: 2em 2em;
        overflow-y: auto;
    }
    main #testimonialsSection .info-container .testimonial .history button {
        position: sticky;
        top: 0;
        left: 100%;
        font-size: 2rem;
        width: max-content;
        background-color: transparent;
        border: 1px solid white;
        color: white;
        padding: .1em .2em;
        border-radius: 50%;
    } */

    

main #contactSection .info-container {
    display: flex;
    flex-direction: column;
    gap: 2em;
}
    /* main #contactSection .info-container .areas-container {
        padding: 2.5em;
        background-color: var(--bg-trans-black);
        border-radius: 3em;
        box-shadow: 0px 0px 30px 0px rgba(117, 105, 0, 0.2);
        backdrop-filter: blur(5px);
    }
        main #contactSection .info-container .areas-container .area-name {
            text-align: center;
            padding-bottom: 1em;
            margin-bottom: 1em;
            font-size: 2.7rem;
            color: rgb(255, 250, 201);
            border-bottom: 1px dotted rgba(117, 105, 0, 0.4);
        }
        main #contactSection .info-container .areas-container .places {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3em;
        }
            main #contactSection .info-container .areas-container .places .place {
                display: flex;
                flex-direction: column;
                gap: .4em;
                font-size: 1.8rem;
                box-shadow: 0px 0px 30px 0px rgba(117, 115, 0, 0.4);
                padding: 1.5em;
                border-radius: 2em;
            }
                main #contactSection .info-container .areas-container .places .place h4 {
                    font-size: 2rem;
                    color: rgb(223, 229, 140);
                }

                main #contactSection .info-container .areas-container .places .place div {
                    display: grid;
                    grid-template-columns: auto 1fr;
                    align-items: center;
                    gap: .6em;
                }
                    main #contactSection .info-container .areas-container .places .place div .email {
                        word-break: break-all;
                    } */




#contactSection .areas-container {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  padding: 3.5rem 3rem 2.5rem 3rem;
  /* margin-bottom: 3.5rem; */
  border: 1.5px solid #e5e7eb;
  max-width: 1100px;
  width: 100%;
}

#contactSection .areas-container .area-name {
  font-size: 2.7rem;
  font-weight: 800;
  color: #047857;
  margin-bottom: 2.2rem;
  text-align: left;
  letter-spacing: 0.01em;
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
}

#contactSection .areas-container .places {
  display: grid;
  gap: 2.5rem 3.5rem;
}

#contactSection .accordion-panel .place .info-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.2em;
}
#contactSection .accordion-panel .place i {
  display: inline-block;
  margin-right: 0.5em;
  filter: grayscale(1) brightness(0);
  vertical-align: middle;
  font-size: 1.3em;
  width: 19px;
  height: 19px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#contactSection .areas-container.domicilio .places {
  grid-template-columns: 1fr;
}

#contactSection .areas-container .place {
  background: #fee500;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 2.2rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 0;
}

#contactSection .areas-container .place h4 {
  font-size: 1.9rem;
  color: #000000;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

#contactSection .areas-container .place .info-row {
  display: flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 0.2em;
}

#contactSection .areas-container .place .email {
  color: #000000;
  font-size: 1.4rem;
  word-break: break-all;
}

#contactSection .areas-container .place p {
  color: #000;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.5;
}

#contactSection h1 {
  color: #ffffff;
  font-size: 5.5rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

#contactSection .areas-container .place i {
  display: inline-block;
  filter: grayscale(1) brightness(0);
  margin-right: 0.5em;
  vertical-align: middle;
  font-size: 1.3em;
  width: 22px;
  height: 22px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


                    


/* Accordion profesional para zonas de contacto */
#contactSection .accordion-item {
  margin-bottom: 2.5rem;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  background: rgba(255, 255, 255, 0.74);
  overflow: hidden;
  border: 1.5px solid #e5e7eb;
  transition: box-shadow 0.2s;
}

#contactSection .accordion-header {
  width: 100%;
  background: #f5f6fa;
  color: #222;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: left;
  padding: 1.5rem 2.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s, color 0.2s;
}

#contactSection .accordion-header:hover,
#contactSection .accordion-header:focus {
  background: #e9ecef;
  color: #047857;
}

#contactSection .accordion-arrow {
  font-size: 2.2rem;
  transition: transform 0.3s;
}

#contactSection .accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(.4,0,.2,1), padding 0.35s;
  padding: 0 2.5rem;
}
.accordion-item.active .accordion-panel {
  max-height: 2000px; /* suficientemente grande */
  padding: 2rem 2.5rem;
}

#contactSection .accordion-panel .places {
  gap: 2rem;
}

#contactSection .accordion-panel .place {
  background: #fee500;
  border-radius: 1rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  padding: 1.2rem 1rem;
  margin-bottom: 1.2rem;
}

#contactSection .accordion-panel .place h4 {
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 0.5rem;
}

#contactSection .accordion-panel .place p,
#contactSection .accordion-panel .place .email {
  /* font-size: 1.2rem; */
  color: #000;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 700px) {
  #contactSection .accordion-header {
    font-size: 2rem;
    padding: 1rem 1.2rem;
  }
  #contactSection .accordion-panel {
    padding: 0 1.2rem;
  }
  #contactSection .accordion-item.active .accordion-panel {
    padding: 1.2rem 1.2rem;
  }
}
          /* --- DONATE SECTION MEJORADO --- */
main #donateSection {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 0; /* Si quieres que llegue a los bordes */
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 4rem;
  background: rgba(255,255,255,0.85);

}

main #donateSection .donate-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

main #donateSection h1 {
  font-size: 5rem;
  color: #000000;
  font-weight: 900;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;
  text-shadow: none;
  text-align: center;
}

main #donateSection .info-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 3rem;
  padding-bottom: 0;
  background: none;
}

main #donateSection .info-container .text-div {
  border-radius: 2.2rem;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

main #donateSection .info-container .text-div h3 {
    font-size: 2rem;
    line-height: 2.5rem;
    color: #1f2937;
    text-align: justify;
    font-family: 'Roboto', sans-serif;
}

/* main #donateSection .info-container .text-div h3 .highlight {
  color: #2563eb;
  background: #e0f2fe;
  border-radius: 0.5em;
  padding: 0.1em 0.4em;
  font-weight: 800;
} */

main #donateSection .info-container .text-div h4 {
  font-size: 2.5rem;
  color: #0f5132;
  font-weight: bold;
  margin-bottom: 1.2rem;
  font-family: 'Roboto', sans-serif;

}
main #donateSection .impact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: 1.5rem;
}

main #donateSection .impact-cards .card {
  background: rgba(255,255,255,0.97);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(36, 174, 104, 0.10);
  padding: 2.5rem 1.5rem 1.8rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  overflow: hidden;
  border: 1.5px solid #e0f2e9;
  min-width: 240px;    
  max-width: 340px;    
  width: 100%;
}

main #donateSection .impact-cards .card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 36px rgba(36, 174, 104, 0.15);
}

main #donateSection .impact-cards .card::before {
  content: '';
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
}
main #donateSection .impact-cards .card:nth-child(1)::before {
  background-image: url('../img/people.svg');
}
main #donateSection .impact-cards .card:nth-child(2)::before {
  background-image: url('../img/help.svg');
}
main #donateSection .impact-cards .card:nth-child(3)::before {
  background-image: url('../img/calendar.svg');
}
main #donateSection .impact-cards .card:nth-child(4)::before {
  background-image: url('../img/world.svg');
}

main #donateSection .impact-cards .card h5 {
  font-size: 2.8rem;
  color: #047857;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

main #donateSection .impact-cards .card p {
  font-size: 1.7rem;
  color: #222;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

main #donateSection .btn-enlaces-div {
  background: rgba(255,255,255,0.97);
  border-radius: 2rem;
  box-shadow: 0 4px 24px rgba(0,80,40,0.07);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

main #donateSection .btn-enlaces-div .div-texto h4 {
  font-size: 1.7rem;
  color: #222;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}

main #donateSection .btn-enlaces-div .div-texto a {
  background: linear-gradient(90deg, #14aa5b 0%, #f6c519 100%);
  color: #000000;
  font-size: 1.9rem;
  font-weight: 900;
  padding: 1em 2.5em;
  border-radius: 2em;
  box-shadow: 0 2px 12px rgba(36, 174, 104, 0.13);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.7em;
  display: inline-block;
}
main #donateSection .btn-enlaces-div .div-texto a:hover {
background: linear-gradient(90deg, #f6c519 0%, #d72026 100%);
  color: #fff;
  transform: scale(1.06);
}

main #donateSection .btn-enlaces-div img {
  width: 180px;
  max-width: 190px;
  border-radius: 1.2em;
  box-shadow: 0 2px 12px rgba(36, 174, 104, 0.13);
  background: #fff;
  padding: 0.7em;
  margin-left: 1.5em;
}
@media (max-width: 900px) {
  main #donateSection .donate-inner {
    padding: 0 0.5rem;
  }
  main #donateSection .impact-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  main #donateSection .btn-enlaces-div {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 1rem;
  }
  main #donateSection .btn-enlaces-div img {
    margin-left: 0;
    width: 100px;
    max-width: 120px;
  }
  
}

@media (max-width: 600px) {
main #donateSection .btn-enlaces-div {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.2rem 0.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 2px 12px rgba(36, 174, 104, 0.09);
    background: rgba(255,255,255,0.98);
    width: 100%;
    margin-top: 2rem;
  }
  main #donateSection .btn-enlaces-div .div-texto {
    text-align: center;
    width: 100%;
  }
  main #donateSection .btn-enlaces-div .div-texto h4 {
    font-size: 1.5rem;
    margin-bottom: 0.7rem;
    color: #047857;
    font-weight: 600;
    line-height: 1.4;
  }
  main #donateSection .btn-enlaces-div .div-texto a {
    font-size: 1.6rem;
    padding: 0.7em 1.5em;
    border-radius: 1.2em;
    margin-top: 0.5em;
    width: 100%;
    max-width: 260px;
    box-sizing: border-box;
    display: inline-block;
  }
  main #donateSection .btn-enlaces-div img {
    width: 160px;
    max-width: 100vw;
    border-radius: 0.7em;
    padding: 1.3em;
    margin: 0 auto;
    display: block;
    box-shadow: 0 2px 8px rgba(36, 174, 104, 0.10);
  }

  main #donateSection .impact-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 0.2rem;
  }
  main #donateSection .impact-cards .card {
    padding: 1.3rem 0.7rem 1rem 0.7rem;
    border-radius: 1rem;
  }

  .modal-testimonio-content {
    max-height: 70vh;
    overflow-y: auto;
    /* Opcional: para que el modal no crezca demasiado */
    min-height: 200px;
  }
  main #donateSection .impact-cards .card::before {
    width: 36px;
    height: 36px;
    margin-bottom: 0.4rem;
  }
  main #donateSection .impact-cards .card h5 {
    font-size: 2.3rem;
  }
  main #donateSection .info-container .text-div h3 {
    text-align: left !important;
  font-size: 2rem;
  line-height: 1.7;
  max-width: 100%;
  word-break: break-word;
  }
  main #donateSection .impact-cards .card p {
    font-size: 1.5rem;
  }
  main #donateSection .btn-enlaces-div {
    border-radius: 1.2rem;
    padding: 1.2rem 0.5rem;
    gap: 1rem;
  }
  main #donateSection .btn-enlaces-div img {
    width: 80px;
    max-width: 100px;
    border-radius: 0.7em;
    padding: 0.3em;
  }
  .testimonial-img {
    width: 120px;
    height: 120px;
  }
  .testimonial-card {
    padding: 2.5rem 1rem 1.5rem 1rem;
  }
  
}
/* Sección de Documentos Legales */
#seccionDocumentosLegales {
  background-color: #f5f5f5;
  padding: 5rem 2rem;
  width: 100%;
}

#seccionDocumentosLegales .documentos-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

#seccionDocumentosLegales h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  font-weight: bold;
  color: #222;
  font-family: 'Poppins', sans-serif;
}

#seccionDocumentosLegales p {
    font-size: 1.5rem;
    font-weight: bold;
  }

.documentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.documento-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: white;
  border-radius: 1.5rem;
  padding: 1.2rem 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e4e4e4;
}

.documento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.documento-card img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.documento-card p {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
  flex: 1;
}

/* Responsive extra pequeño */
@media (max-width: 765px) {
  #seccionDocumentosLegales h1 {
    font-size: 3.2rem;
  }

  .documentos-grid {
    grid-template-columns: 1fr;
  }

  #seccionDocumentosLegales p {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .documento-card {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .documento-card img {
    margin-bottom: 0.5rem;
  }

  .documento-card p {
    font-size: 1rem;
  }
}

main #seccionComentarios {
    display: flex;
    flex-direction: column;
    gap: 3em;
    width: 100%;
    margin-bottom: 3rem;
    padding: 1em;
    font-size: 2rem;

}

/* Una sola columna */
main #seccionComentarios .comentarios-container {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Tarjeta de comentario */
main #seccionComentarios .comentarios-container .comentario {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding: 1.5em;
    border-radius: 1em;
    background-color: #374151; /* gris azulado sobrio */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover sutil */
main #seccionComentarios .comentarios-container .comentario:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Imagen de avatar */
main #seccionComentarios .comentarios-container .comentario img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6b7280;
}

/* Contenedor de texto */
main #seccionComentarios .comentarios-container .comentario .texto {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    font-size: 1.5rem;
    color: #f9fafb;
    width: 100%;
}

/* Nombre */
main #seccionComentarios .comentarios-container .comentario .texto .p-nombre {
    font-weight: 600;
    font-size: 1.6rem;
    color: #ffffff;
}

/* Comentario */
main #seccionComentarios .comentarios-container .comentario .texto .p-comentario {
    font-size: 1.5rem;
    line-height: 1.6;
    background-color: #1f2937;
    padding: 0.8em 1em;
    border-radius: 0.8em;
    color: #e5e7eb;
    word-break: break-word;
}

main #seccionComentarios #formularioComentario {
    background: #fde602;
    border-radius: 2.2rem;
    padding: 3.5rem 3rem;
    max-width: 600px;
    margin: 0 auto;
    gap: 2em;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: box-shadow 0.3s;
}
main #seccionComentarios #formularioComentario h3 {
    font-size: 3.5rem;
    color: #000000;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}
    main #seccionComentarios #formularioComentario .input-container {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-bottom: 0.7em;
}

main #seccionComentarios #formularioComentario .input-row {
    display: flex;
    gap: 1.5em;
    margin-bottom: 0.7em;
}

main #seccionComentarios #formularioComentario .input-row .input-container {
    flex: 1 1 0;
    margin-bottom: 0;
}

/* texto formulario */
main #seccionComentarios #formularioComentario label {
    font-size: 1.55rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.2em;
    letter-spacing: 0.2px;
}

main #seccionComentarios #formularioComentario input[type="text"],
main #seccionComentarios #formularioComentario input[type="email"],
main #seccionComentarios #formularioComentario textarea {
    background: #f7fafc;
    border: 2px solid #e0e7ef;
    border-radius: 1em;
    padding: 1.3em 1.5em;
    font-size: 1.25rem;
    color: #222;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.2em;
    resize: none;
}

main #seccionComentarios #formularioComentario input[type="text"]:focus,
main #seccionComentarios #formularioComentario input[type="email"]:focus,
main #seccionComentarios #formularioComentario textarea:focus {
    border-color: #000000;
    background: #fff;
}

main #seccionComentarios #formularioComentario textarea {
    min-height: 120px;
    max-height: 320px;
    font-size: 1.2rem;
    border-radius: 1em;
    resize: vertical;
}

main #seccionComentarios #formularioComentario input[type="submit"] {
    color: #000000;
    font-size: 1.4rem;
    font-weight: 800;
    border: none;
    border-radius: 1em;
    border: outset 3px #047857;
    padding: 1.2em 0;
    margin-top: 1em;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    width: 100%;
    letter-spacing: 0.5px;
}


main #seccionComentarios #formularioComentario input[type="submit"]:hover,
main #seccionComentarios #formularioComentario input[type="submit"]:focus {
    background: linear-gradient(90deg, #2563eb 0%, #047857 100%);
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(36, 174, 104, 0.18);
}

/* Responsive para móviles */
@media (max-width: 700px) {
   main #seccionComentarios #formularioComentario {
        padding: 1.2rem 0.5rem;
        border-radius: 1rem;
        box-shadow: 0 2px 12px rgba(36, 174, 104, 0.09);
        max-width: 90vw;      
        width: 98vw;          
        min-width: 0;         
        margin-left: auto;
        margin-right: auto;
    }
    main #seccionComentarios #formularioComentario h3 {
        font-size: 2.4rem;
    }
    main #seccionComentarios #formularioComentario label {
        font-size: 1.6rem;
    }
    main #seccionComentarios #formularioComentario input,
    main #seccionComentarios #formularioComentario textarea {
        font-size: 1.5rem;
        padding: 0.8em 0.9em;
    }
    main #seccionComentarios #formularioComentario input[type="submit"] {
        font-size: 1.5rem;
        padding: 0.8em 0;
    }
    main #seccionComentarios #formularioComentario .input-row {
        flex-direction: column;
        gap: 0.5em;
    }
}
/* FOOTER */
footer {
  background-color: #0f172a; /* azul oscuro profesional */
  color: #ffffffd9;
  padding: 2rem 1rem;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffffd9;
  font-size: 1.6rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #38bdf8; /* celeste al pasar el mouse */
}

.footer-copy {
  font-size: 1.3rem;
  color: #cbd5e1; /* gris claro */
}



@media (min-width: 768px) {
    main section,
    main #bannerSection .info-container,
    footer {
        padding-inline: 4rem;
        margin: 0 auto;
    }
    main #bannerSection .info-container {
        margin-top: 3em;
    }

    main #bannerSection .banner-div {
        padding: 4rem 15em;
    }

    main #whatdoSection .info-container div {
        padding: 3em 2em;
    }

    /* main #schoolSection .info-container .text-container {
        padding: 2em;
    }
    main #schoolSection .info-container .imgs-container {
        grid-template-columns: repeat(2,1fr);
        padding: 2em;
    }
    main #schoolSection .info-container .text-container ul {
        grid-template-columns: repeat(2, 1fr);
    } */

    main #testimonialsSection .info-container {
        grid-template-columns: repeat(2,1fr);
    }
    
    main #contactSection .info-container .areas-container .places:not(:only-child) {
        grid-template-columns: repeat(2,1fr);
    }

    main #donateSection .info-container .btn-enlaces-div {
        flex-direction: row;
    }

    main #seccionDocumentosLegales .documentos-container {
        grid-template-columns: repeat(2,1fr);
    }

    /* FOOTER */
    footer .info {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (min-width: 1024px) {
    /* ocultar botón hamburguesa pantallas grandes */
    #menu {
        display: none;
    }

    main {
    gap: 15em;
    padding-top: 100px;
  }

    header,
    main section,
    main #bannerSection .info-container,
    footer {
        padding-inline: 8rem;
        max-width: 100wv;
        margin: 0 auto;
    }

    main #bannerSection .info-container {
        margin-top: 3em;
    }

    header {
        position: fixed;
        padding-block: 2rem;
        display: flex;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.822);
        height: 90px;
        transition: none;
        opacity: 1;
        scale: 1;
        pointer-events: all;
    }
        header .logo-social-networks-div {
            width: 100%;
            justify-content: left;
            scale: 0;
            opacity: 0;
            transform-origin: left;
            animation: animate-logo-social-networks-div 1.5s ease-out forwards;
        }
        
        @keyframes animate-logo-social-networks-div {
            100% {
                scale: 1;
                opacity: 1;
            }
        }

        /* Hover redes sociales efecto */
        header .logo-social-networks-div div img:hover {
            scale: 1.3;
        }
    
        header nav {
            align-items: flex-end;
            height: auto;
            gap: 1em;
        }

        header nav ul {
            gap: 3rem;
        }
        
        /* Navbar */
        header nav .links-ul {
            flex-direction: row;
        }
       /* Hover de links del navbar */
        header nav .links-ul li a,
        header nav .language-buttons-ul li button {
            transition: scale 0.4s;
        }

        header nav .links-ul li a:hover,
        header nav .language-buttons-ul li button:hover {
            scale: 1.2;
        }

        header nav .links-ul li .a-donate:hover {
            scale: 1.3;
        }

        header nav .links-ul li a,
        header nav .links-ul li .btn-we {
            font-size: 1.6rem;
            padding-bottom: 0em;
        }

        header nav .links-ul li .principal-nav-a {
            transform: translateY(-30vh);
            animation: animate-principal-nav-a 0.8s ease-out calc(var(--delay) * 0.2) forwards;
        }

        @keyframes animate-principal-nav-a {
            to {
                transform: translateY(0);
            }
        }
        header nav .links-ul li .a-donate {
            padding: .6em;
        }
        header nav .language-buttons-ul li button {
            font-size: 1rem;
            transform: translateX(30vw);
            animation: animateNavA 1s ease-out calc(var(--delay)*0.2) forwards;
        }
        @keyframes animateNavA {
            to {
                transform: translateX(0);
            }
        }
        /* Submenú Nosotros */
        header nav .links-ul li #links-we-ul {
        z-index: 200;
        position: absolute;
        top: 100%;
        left: 0;
        transform: translateY(16px) scale(0.98);
        opacity: 0;
        pointer-events: none;
        min-width: 260px;
        background: #fff;
        border-radius: 1.2em;
        padding: 1.2em 0.5em;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border: 1.5px solid #f3f3f3;
        transition: opacity 0.35s, transform 0.35s;
        filter: drop-shadow(0 2px 12px rgba(0,0,0,0.08));
        backdrop-filter: blur(2px);
    }

        header nav .links-ul li .btn-we:focus + #links-we-ul,
        header nav .links-ul li .btn-we:hover + #links-we-ul,
        header nav .links-ul li #links-we-ul:hover {
            opacity: 1;
            transform: translateY(4px) scale(1.04);
            pointer-events: auto;
        }

        header nav .links-ul li #links-we-ul li {
    width: 100%;
}


    main #sliderPrincipal {
        height: calc( 100dvh - 90px );
    }
                    
    main #bannerSection .banner-div {
        padding: 8rem 15em;
    }
    main #bannerSection .banner-div:hover {
        box-shadow: 0px 0px 100px 0rem rgba(255, 255, 255, 0.2);
    }


    /* cuidado aca */
    /* main #aboutUs .info-container .text-div {
        position: relative;
        display: grid;
        grid-template-columns: 2fr 5fr;
        text-align: center;
    }
    main #aboutUs .info-container .text-div h3 {
        position: sticky;
        top: 50%;
        left: 0;
        height: max-content;
    }
    main #aboutUs .info-container .text-div .ps-div {
        padding: 2.3em 1.2em;
    } */


    /* main #schoolSection .info-container .imgs-container {
        grid-template-columns: repeat(3,1fr);
    }
    main #schoolSection .info-container .text-container ul {
        grid-template-columns: repeat(3, 1fr);
    } */

    main #bannerSection .info-container video,
    main #childrenSection .info-container p,
    main #childrenSection .info-container video,
    main #testimonialsSection .info-container {
        width: 80%;
    }

    main #testimonialsSection .info-container {
        grid-template-columns: repeat(3,1fr);
    }
    main #testimonialsSection .info-container .testimonial .history button {
        display: none;
    }


    main #donateSection .info-container div {
        width: 80%;
    }

}





@keyframes slideLine {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

header nav .nav-lines-group::before,
header nav .nav-lines-group::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: #FEE500ff;
  border-radius: 2px;
  transform: scaleX(0); /* Oculto al inicio */
  transform-origin: right; /* Animación desde la izquierda */
  opacity: 0;
  animation: slideLine 0.8s ease-out forwards;
  z-index: 1;
}

header nav .nav-lines-group::before {
  top: -14px;
  animation-delay: 0.3s; /* Retraso leve */
}

header nav .nav-lines-group::after {
  bottom: -14px;
  animation-delay: 0.5s;
}




/* seccion principal */
.hero-section {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    min-height: 70vh;
    width: 100%;
    gap: 4rem;
    padding: 4rem 6vw 4rem 6vw;
    box-sizing: border-box;
    border-radius: 0 0 4rem 4rem;
}

.hero-text {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 2vw;
    padding-right: 2vw;
}

.hero-text h1 {
    font-size: 5vw;
    max-width: 1000px;
    line-height: 1.08;
    margin: 0;
    text-align: left;
    font-weight: bold;
    color: #FEE500ff;
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    text-shadow: 0 4px 32px rgba(255,0,0,0.10), 0 1px 0 #000;
    letter-spacing: -2px;
    font-weight: 700;
    /* Responsive clamp for smaller screens */
    /* font-size: clamp(2.5rem, 7vw, 8rem); */
}

.hero-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 200px;
    min-height: 200px;
    padding-right: 2vw;
}

.hero-logo img {
    max-width: 560px;
    width: 100%;
    height: auto;
    border-radius: 2rem;
    padding: 1.5rem;
}


/* Subtitulo */

.hero-subtitle {
    font-size: 1.4vw;
    color: #fff;
    max-width: 860px;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 2px 16px rgba(0,0,0,0.12);
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
}
.hero-verse {
    display: block;
    margin-top: 0.5em;
    font-size: 1.1vw;
    color: #fee500;
    font-weight: 600;
    letter-spacing: 1px;
}

/* boton de más información */

.btn-mas-info {
    margin-top: 2.5vw;
    padding: 1.2em 2.8em;
    background: #fff;
    color: #222;
    border: none;
    border-radius: 0.7em;
    font-size: 1.9em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-mas-info:hover {
    background: #fee500;
    color: #000;
    box-shadow: 0 4px 24px rgba(254,229,0,0.18);
}

/* prueba movil responsive celulares */

@media (max-width: 767px) {
  .hero-section {
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2.5rem 0.5rem 2rem 0.5rem;
    min-height: unset;
    border-radius: 0 0 2rem 2rem;
  }
  .hero-text {
    align-items: center;
    padding: 0;
    width: 100%;
  }
  .hero-text h1 {
    font-size: 3.7rem;
    text-align: center;
    max-width: 100%;
    /* aca */
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    margin-top: 8.2rem;
    line-height: 1.15;
    font-weight: 800;
  }
  .hero-subtitle {
    font-size: 2rem;
    text-align: center;
    max-width: 100%;
    margin-bottom: 1.3rem;
    line-height: 1.4;
  }
  .hero-verse {
    font-size: 2.1rem;
    text-align: center;
    margin-bottom: 1.3rem;
  }
  .hero-logo {
    display: none !important;
  }
  .btn-mas-info {
    font-size: 1.8rem;
    padding: 1.1em 2.2em;
    margin: 0 auto;
    font-weight: bold;
    display: block;
    margin-bottom: 1.7rem;
  }
  
}

/* aca */
.fechas-header,
  .imagen-fechas {
    position: static;
    left: unset;
    right: unset;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

/* Botón Donar flotante solo móvil */
.btn-donate-fixed {
  display: none;
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 120;
  background: #fee500;
  color: #222;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1em 2em;
  border-radius: 2.5em;
  box-shadow: 0 4px 24px rgba(254,229,0,0.25), 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, scale 0.2s;
  outline: none;
  max-width: 90vw;          
  box-sizing: border-box;    
  overflow: hidden;          
  word-break: break-word;
}
.btn-donate-fixed:hover,
.btn-donate-fixed:focus {
  background: #fff700;
  color: #000;
  scale: 1.07;
  box-shadow: 0 6px 32px rgba(254,229,0,0.35);
}


@media (max-width: 1023px) {
  .btn-donate-fixed {
    display: block;
  }


 main #aboutUs h2[data-languaje="a_aboutus"] {
        font-size: 4.2rem;
        margin-bottom: 2rem;
    }
    main #aboutUs .text-div h3 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.5rem;
    }
    main #aboutUs .ps-div p {
        font-size: 1.08rem;
        padding: 1.1rem 1rem;
    }
    main #aboutUs .text-div {
        padding: 2rem 1.2rem;
    }
    footer {
    padding-bottom: 8rem !important; /* Espacio extra para el botón flotante */
  }
}

/* --- Estilos base --- */
.seccion-ayuda {
    font-family: 'Montserrat', sans-serif;
    color: white;
    padding-bottom: 4rem;
    /*background-image: url('../img/como_ayudar.svg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    width: 100%;

}

.fondo-titulo {
    padding:  6rem 0 3rem 0;
    text-align: left;
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.fondo-titulo h1 {
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 4px 32px rgba(0,0,0,0.18), 0 1px 0 #000;
}

.contenedor-columnas {
    display: flex;
    width: 100%; /* Ocupa todo el ancho */
    padding: 2.5rem 2rem 0 0; /* Ajusta según el diseño */
    align-items: flex-start;
    gap: 2.5rem;
}


.columnas-opciones {
    flex: 0.75;
    display: flex;
    gap: 2.5rem;
}

.columna {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Estilo de cada opción */
.opcion {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2.7rem 2.2rem;
    background: rgba(255,255,255,0.13);
    border-radius: 1.5em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1.5px solid rgba(254,229,0,0.08);
    width: 60rem;
    text-decoration: none !important;
    color: inherit !important;
    
}

.opcion:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px rgba(254,229,0,0.10), 0 2px 12px rgba(0,0,0,0.13);
    border-color: #fee50044;
}

.seccion-ayuda .icono-opcion {
    width: 76px;
    height: 76px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 0.7em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

.opcion:hover .icono-opcion {
    box-shadow: 0 4px 24px rgba(254,229,0,0.18);
    border: 2px solid #fee500bb;
}

.seccion-ayuda .texto-opcion {
    font-size: 2.45rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-align: left;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Responsive para tablets */
@media (max-width: 1023px) {
  .contenedor-columnas {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  .logo-ayuda {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .columnas-opciones {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  .columna {
    gap: 1.2rem;
  }
}

/* Responsive para móviles */
@media (max-width: 767px) {
  .fondo-titulo {
    padding: 3rem 0.5rem 2rem;
  }
  .fondo-titulo h1 {
    font-size: 2.6rem;
    letter-spacing: 1px;
    margin: 0;
  }
  .contenedor-columnas {
    flex-direction: column;
    padding: 1.2rem 1rem 0 1rem;
    gap: 1.2rem;
  }
  .logo-ayuda {
    display: none;
  }
  .columnas-opciones {
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
  }
  .columna {
    gap: 1rem;
  }
  .opcion {
    padding: 2.1rem 1.2rem;
    gap: 0.8rem;
    border-radius: 1em;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    
  }

   footer {
    font-size: 1.5rem;
  }
  .footer-links a {
    font-size: 1.7rem;
    position: relative;
    color: #fee500;
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #fee500;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -2px;
  }
  .footer-links a:hover,
  .footer-links a:focus {
    color: #fff700;
  }
  .footer-links a:hover::after,
  .footer-links a:focus::after {
    width: 100%;
  }
  .footer-copy {
    font-size: 1.4rem;
  }

  .seccion-ayuda .icono-opcion {
    width: 34px;
    height: 34px;
    padding: 0.3em;
  }
  .seccion-ayuda .texto-opcion {
    font-size: 1.7rem;
  }
}


/* ******************************************************************** */
/* Fechas importantes */
.fechas-importantes-section {
  padding: 60px 20px 40px 20px;
  /* background: #fff; */
  text-align: center;
  
}

.fechas-titulo span {
  display: block; /* Cada palabra en su propia línea */
  line-height: 1.2;
}

.fechas-header {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #fee500;
  width: 100vw;
  min-width: 100vw;
  /* aca */
  padding: 4rem;
  padding-left: 0;
  padding-right: 0;
  font-weight: bold;
}

.imagen-fechas{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #0808079a;
  width: 100vw;
  min-width: 100vw;
  /* aca */
  padding-left: 0;
  padding-right: 0;
  min-height: 40vh;
  height: auto;
  overflow: visible;
}


.linea-superior {
  font-weight: bold;
  color: #000000;
}

.linea-inferior {
  color: #000000;
  font-weight: bold;
}

.fechas-titulo {
  font-size: 4.6rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

.fechas-subtitulo {
  font-size: 2.2rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.fechas-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.fecha-card {
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px 24px;
  min-width: 220px;
  max-width: 300px;
  transition: box-shadow 0.2s;
    margin-bottom: 0;
  margin-top: 0;
}

.fechas-grid .fecha-card:nth-child(2) {
  /* Eleva la tarjeta central */
  margin-bottom: 32px;
  z-index: 2;
  transform: translateY(-32px);
}

.fechas-grid .fecha-card:nth-child(1),
.fechas-grid .fecha-card:nth-child(3) {
  /* Baja las tarjetas laterales */
  margin-top: 32px;
  z-index: 1;
}



.fecha-dia {
  font-size: 5.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  color: #FFD600;
  margin-top: 3rem;
  letter-spacing: 1px;
}

.fecha-dia span {
  display: block;
  font-size: 4.1rem;
  font-weight: 700;
  color: #FFD600;
  margin-top: 2px;
  letter-spacing: 1px;
}


/* descripcion de las fechas importantes */
.fecha-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
}

.btn-mas-info-fecha {
  background: #fff;
  color: #222;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 10px 28px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(255,214,0,0.08);
}

.btn-mas-info-fecha:hover {
  background: #ffe066;
  color: #000;
}



/* Responsive: Móviles */
@media (max-width: 600px) {


    main #sliderPrincipal .slider {
    aspect-ratio: 1.2/1;
    min-height: 180px;
    max-width: 98vw;
    width: 100%;
    height: auto; /* Asegura que el contenedor no fuerce el alto */
  }
  main #sliderPrincipal .slider img {
    width: 100%;
    height: auto;         /* <-- Cambia esto */
    max-height: 50vh;
    object-fit: contain;  /* <-- Cambia cover por contain */
    display: block;
    margin: 0 auto;
    background: #000;     /* Opcional: fondo negro para imágenes más pequeñas */
  }


/* alinear el texto de que hacemos subtitulo */
    main #whatdoSection .content-box p {
    text-align: left;
  }

   main #aboutUs .info-container {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    /* Cada bloque ocupa toda la fila */
    main #aboutUs .text-div.presentacion,
    main #aboutUs .text-div.justificacion,
    main #aboutUs .text-div.quienessomos,
    main #aboutUs .text-div.objetivos {
        grid-column: span 1 !important;
    }
    /* Títulos más grandes y destacados */
    main #aboutUs .text-div h3 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
        padding-bottom: 0.5rem;
        border-bottom-width: 2px;
    }
    /* Textos más grandes y legibles */
    main #aboutUs .ps-div p {
        font-size: 1.18rem;
        padding: 1.1em 0.9em;
        line-height: 1.7;
    }
    /* Mejor padding para tarjetas */
    main #aboutUs .text-div {
        padding: 1.5rem 0.7rem;
        border-radius: 1.1rem;
    }
    .nombre-fundacion {
        font-size: 1.5rem;
    }
    #fullImageDiv {
    align-items: flex-start;
    padding-top: 2.5rem;
  }
  #fullImageDiv img {
    max-width: 98vw;
    max-height: 65vh;
    border-radius: 0.7rem;
  }
  #fullImageDiv #closeFullImageDiv {
    top: 1.2rem;
    right: 1.2rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  #fullImageDiv #closeFullImageDiv::before,
  #fullImageDiv #closeFullImageDiv::after {
    width: 20px;
    height: 3px;
  }
}


/* Responsive: en móviles, columnas y sin elevación */
@media (max-width: 767px) {

    main {
    gap: 4rem;
  }
  

  /* ajustar textos movil escuela formación */
#schoolSection .school-main-text p,
#schoolSection .school-areas-text p,
#schoolSection .school-final-text p {
  text-align: left !important;
  font-size: 1.65rem;
  padding: 0.8em 0.5em;
  margin: 0 0 1em 0;
  line-height: 1.7;
  max-width: 100%;
  word-break: break-word;
}


  /* texto alineado niños y niñas */
  main #childrenSection .info-container p {
    text-align: left !important;
    font-size: 1.65rem;
    padding: 0.8em 0.5em;
    margin: 0 0 1em 0;
    line-height: 1.7;
    max-width: 100%;
    word-break: break-word;
  }
  main #childrenSection .info-container {
    padding: 1em 0.5em;
    gap: 1em;
  }

  .fechas-grid {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .fecha-card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  }
  .imagen-fechas {
    min-height: unset;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

/* Modales de más información fechas importantes */

/* Modal para fechas importantes */
.modal-fecha {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; 
  top: 0; 
  width: 100%;
   /*aca  */
  height: 100vh;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
}

.modal-fecha p {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: #000;
  text-align: left;
  line-height: 2rem;
}

.modal-fecha h2 {
  font-size: 2.7rem;
  margin-top: 2rem;
  color: #000000;
  text-align: left;
  animation: modalFadeIn 0.55s;

}
.modal-fecha h1 {
  font-size: 2rem;
  margin-top: 2rem;
  color: #007bff;
  text-align: left;
    animation: modalFadeIn 0.55s;

}

.modal-fecha span {
  font-size: 3rem;
  margin-top: 2rem;
  font-weight: bold;
  color: #007bff;
  text-align: left;
}

.modal-fecha .diciembre{
  font-size: 2rem;
}



.modal-fecha.active {
  display: flex;
}
.modal-fecha-content {
  background: #e4e4e4;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  max-width: 95vw;
  width: 400px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  position: relative;
  text-align: center;
  animation: modalFadeIn 0.55s;
}

.modal-fecha-content li {
  border-radius: 18px;
  color: #000;
  position: relative;
  font-size: 1.7rem;
  padding-top: 2rem;
  list-style: none;
  text-align: center;
  text-align: left;
  animation: modalFadeIn 0.55s;
}


@keyframes modalFadeIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-fecha-close {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  line-height: 0.7rem;
  font-size: 3.2rem;
  color: #000000;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.modal-fecha-close:hover {
  color: #000;
}


/* remover hover movil nosotros */

@media (hover: none) and (pointer: coarse), (max-width: 767px) {
  main #aboutUs .text-div:hover {
    box-shadow: 0 6px 32px 0 rgba(0,80,40,0.07);
    transform: none;
  }
}


@media (max-width: 767px) {
  a.opcion,
  a.opcion:visited,
  a.opcion:active,
  a.opcion:focus,
  a.opcion:hover {
    text-decoration: none !important;
    color: inherit !important;
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
    -webkit-tap-highlight-color: transparent;
  }
}

/* Video informativo debajo del slider */
#videoInformativoSection {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem 2rem 1rem;
  background: rgba(255,255,255,0.03);
}

.video-informativo-container {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

#videoInformativo {
  width: 100%;
  max-width: 900px;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  background: #000;
  aspect-ratio: 16/9;
}

.video-informativo-desc {
  font-size: 1.7rem;
  color: #222;
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
  max-width: 700px;
}

@media (max-width: 900px) {
  #videoInformativoSection {
    padding: 2rem 0.5rem 1.5rem 0.5rem;
  }
  .video-informativo-container {
    max-width: 100vw;
    padding: 0;
  }
  #videoInformativo {
    max-width: 100vw;
    border-radius: 1rem;
  }
  .video-informativo-desc {
    font-size: 1.2rem;
    padding: 0 0.5rem;
  }
}


/* Avance Proyecto Salomón Mejorado */
#avanceProyectoSection {
  width: 100%;
  padding: 5rem 1.5rem 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.avance-carousel.dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto !important;
}

.avance-title {
  font-size: 5rem; /* Aumentado para que se vea más grande */
  font-weight: 800;
  color: #ffe600; /* Color amarillo solicitado */
  margin-bottom: 3rem;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 2px 24px rgba(254,229,0,0.18);
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
}

/* Carrusel horizontal para Avance Proyecto Salomón */
.avance-carousel {
  display: flex;
  cursor: grab;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2.5rem;
  padding-bottom: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  scrollbar-width: thin;
  scrollbar-color: #ffae00 #000000;
}

.avance-slide {
  flex: 0 0 80%;
  max-width: 700px;
  min-width: 320px;
  background: #000000; /* Negro */
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  color: #000000;
}

.avance-meses {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffa500;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
  background: #000000;
  border-radius: 0.7em;
  padding: 0.5em 1em;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.avance-slide:hover {
  box-shadow: 0 8px 32px rgba(254,229,0,0.13);
  transform: translateY(-6px) scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
  .avance-carousel {
    gap: 1.2rem;
    max-width: 98vw;
    padding-bottom: 1.2rem;
  }
  .avance-slide {
    flex: 0 0 92vw;
    max-width: 98vw;
    padding: 1rem 0.3rem 1rem 0.3rem;
  }
  .avance-slide img {
    max-width: 95vw;
  }
  .avance-meses {
    font-size: 1.1rem;
    padding: 0.4em 0.7em;
  }

  .avance-title {
    font-size: 3rem; /* Más pequeño en móviles para que no se desborde */
  }
}

.avance-scroll-hint {
  display: none;
  width: 100%;
  text-align: center;
  margin-top: -1.2rem;
  margin-bottom: 2rem;
  font-size: 1.3rem;
  color: #fee500;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
  animation: hintMove 1.8s infinite alternate;
}

@keyframes hintMove {
  from { transform: translateX(0); opacity: 0.7; }
  to   { transform: translateX(12px); opacity: 1; }
}

@media (max-width: 900px) {
  .avance-scroll-hint {
    display: block;
  }
}
/* *********************** Sección Antes y Después ************************ */
main #antesDespues {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

main #antesDespues .section-title {
    font-size: 6rem;
    color: #ffe600 !important;
    margin-bottom: 60px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    background: none !important;
    text-shadow: none !important;
    /* Elimina cualquier borde blanco en navegadores Webkit */
    -webkit-text-stroke: 0 !important;
    -webkit-text-fill-color: #ffe600 !important;
    border: none !important;
}

main #antesDespues .imagenes-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
    justify-items: center;
    align-items: center;
    margin: 0 auto 40px auto;
}

main #antesDespues .imagen-hover {
    position: relative;
    width: 200px;
    height: 200px;
    border: 2px solid #ffe600;
    box-shadow: 0 0 6px 2px #ffe600; /* antes 12px 3px */
    overflow: hidden;
    cursor: pointer;
    border-radius: 12px;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

main #antesDespues .imagen-hover:hover {
    transform: scale(1.07);
    box-shadow: 0 0 14px 4px #ffe600; /* antes 24px 8px */
}

main #antesDespues .imagen-hover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 12px;
    box-shadow: 0 0 10px 3px #ffe600; /* antes 16px 4px */
    opacity: 0.35; /* antes 0.6 */
    transition: opacity 0.3s;
}

main #antesDespues .imagen-hover:hover::after {
    opacity: 0.7; /* antes 1 */
}
main #antesDespues .imagen-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 10px;
}

main #antesDespues .imagen-hover .img-despues {
    opacity: 0;
    z-index: 2;
}

main #antesDespues .imagen-hover .img-antes {
    opacity: 1;
    z-index: 1;
}

main #antesDespues .imagen-hover:hover .img-despues {
    opacity: 1;
}

main #antesDespues .imagen-hover:hover .img-antes {
    opacity: 0;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1200px) {
    main #antesDespues {
        max-width: 100vw;
        padding: 40px 10px;
    }
    main #antesDespues .section-title {
        font-size: 4rem;
        margin-bottom: 40px;
    }
    main #antesDespues .imagen-hover {
        width: 160px;
        height: 160px;
    }
    main #antesDespues .imagenes-container {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    main #antesDespues .section-title {
        font-size: 2.7rem;
        margin-bottom: 24px;
    }
    main #antesDespues .imagen-hover {
        width: 110px;
        height: 110px;
    }
    main #antesDespues .imagenes-container {
        gap: 12px;
    }
}

@media (max-width: 600px) {
    main #antesDespues {
        padding: 16px 2vw;
    }
    main #antesDespues .section-title {
        font-size: 1.6rem;
        margin-bottom: 14px;
    }
    main #antesDespues .imagen-hover {
        width: 58px;
        height: 58px;
    }
    main #antesDespues .imagenes-container {
        gap: 7px;
    }
}
.rae-popup-overlay {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.31);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rae-popup-box {
    background: #111;
    color: #fff;
    padding: 2.2rem 2.3rem;
    border-radius: 1.4rem;
    min-width: 320px;
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 8px 48px 0 rgba(0,0,0,0.25);
    position: relative;
    font-family: 'Poppins', Arial, sans-serif;
    overflow-y: auto;
    font-size: 1.25rem;
    border: 2.5px solid #ffe600;
    animation: raeShow .3s cubic-bezier(.5,1.4,.7,1) both;
}
@keyframes raeShow {
    from { opacity:0; transform: translateY(30px) scale(.97);}
    to { opacity:1; transform: translateY(0) scale(1);}
}
.rae-popup-close {
    position: absolute;
    top: 1rem; right: 1.4rem;
    background: none;
    border: none;
    color: #ffe600;
    font-size: 2.1rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    transition: color .2s;
}
.rae-popup-close:hover {
    color: #fff;
}
.rae-popup-title {
    color: #ffe600;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 1rem;
}
.rae-popup-link {
    color: #ffe600;
    font-size: 0.92em;
    margin-top: 1.5rem;
    display: inline-block;
}
main #aboutUs h2 {
  color: #ffe600 !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  background: none !important;
  box-shadow: none !important;
}
/* ===== Cortina de Bienvenida Día de los 10.000 ===== */
#cortina {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* 🔹 Ajuste clave: ocupa exactamente la pantalla */
  background-color: #000;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.75) 85%, rgba(0,0,0,0) 100%),
    url("/public/img/imagenfondo.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; /* 🔹 Mantiene proporción y cubre toda la pantalla */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: transform 0.8s ease-in-out;
  overflow: hidden;
}

/* Cuando la cortina se oculta */
#cortina.oculto {
  transform: translateY(-100%);
}

/* ===== Franja amarilla abajo ===== */
#cortina::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3%;
  background: linear-gradient(to top, rgba(255,230,0,0.95), rgba(0,0,0,0.8));
  filter: blur(1.2px);
  opacity: 0.9;
  animation: pulsoFranja 2.6s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulsoFranja {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.6; }
}

/* ===== Contenido ===== */
.cortina-contenido {
  text-align: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 20px;
  max-width: 1000px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ===== Título ===== */
#cortina h1 {
  font-size: clamp(3rem, 12vw, 9rem);
  margin-bottom: 25px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
  position: relative;
  display: inline-block;
  color: #ffe600; /* Amarillo fijo */
  overflow: hidden;
}

/* ===== Destello sobre las letras ===== */
.titulo-brillante {
  position: relative;
  display: inline-block;
  color: #ffe600; /* Base amarilla */
}

.titulo-brillante::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    white 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brilloTexto 6s linear infinite;
  mix-blend-mode: lighten; /* <- clave para mezclar con el amarillo */
}

@keyframes brilloTexto {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ===== Texto descriptivo ===== */
#cortina p {
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  margin-bottom: 30px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
}

/* ===== Botones ===== */
.botones-cortina {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

#cerrarCortina,
.btn-donar {
  position: relative;
  background: #ffe600;
  color: #000;
  border: none;
  padding: 20px 40px;
  border-radius: 40px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.btn-donar::before {
  content: "❤";
  color: #000;
  font-size: 1.6rem;
}

#cerrarCortina:hover,
.btn-donar:hover {
  background: #fff;
  color: #000;
}

/* Destello en botón donar */
.btn-donar::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: brillo 3s ease-in-out infinite alternate;
}

@keyframes brillo {
  from { left: -75%; }
  to   { left: 125%; }
}
/* Ocultar el reproductor de audio */
#audioFondo {
  display: none;
}
:root { --amarillo: #ffe600; }

/* ======== ESTILOS ORGANIGRAMA ======== */
/* ====== Título Organigrama ====== */
.organigrama-titulo {
  text-align: center;
  font-size: 5.5rem;
  font-weight: 800;
  margin: 10px auto 5px auto;  /* REDUCIDO */
  color: #ffe600;
  text-transform: none;
  letter-spacing: 2px;
  border: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  background: none !important;
}

/* ====== Botones principales ====== */
.org-btn {
  display: block;
  margin: 5px auto; /* REDUCIDO */
  padding: 12px 30px;
  background-color: #ffe600;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid #ffe600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 570px; /* ANCHO FIJO DE APROX. 15 CM */
  max-width: 90%;
  box-sizing: border-box;
}

.org-btn:hover {
  background-color: #e6d200;
  transform: scale(1.05);
}

/* ====== Subbotones ====== */
.sub-btn {
  display: block;
  margin: 5px auto;
  padding: 10px 25px;
  background-color: #000;
  color: #ffe600;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid #ffe600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 570px;
  max-width: 90%;
  box-sizing: border-box;
}

.sub-btn:hover {
  background-color: #1a1a1a;
  transform: scale(1.05);
}

/* ====== Secciones ====== */
.org-section,
.org-subsection {
  display: none;
  margin: 10px 0 20px 0;
  padding: 0 20px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  transition: all 0.3s ease-in-out;
  min-height: 50px;
}

.org-section.active,
.org-subsection.active {
  display: flex;
}

/* ====== Nodos (fotos y nombres) ====== */
/* También aplica para la Asamblea General */
.organigrama-nodo {
  width: 160px;
  text-align: center;
  cursor: pointer;
}

.organigrama-nodo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #ffe600;
  transition: transform 0.3s ease;
}

.organigrama-nodo img:active {
  transform: scale(1.3);
}

.organigrama-nodo p {
  margin-top: 10px;
  color: #ffe600;
  font-weight: bold;
  text-transform: uppercase;
}

/* ====== Sección tipo texto simple (sin imágenes) ====== */
.descripcion-simple {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  font-size: 3rem;
  color: #fff;
  text-align: center;
  line-height: 1.6;
}

/* ====== Modal ====== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.modal.open {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #000;
  padding: 25px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  color: #fff;
  border: 2px solid #ffe600;
}

.modal-content img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #ffe600;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #ffe600;
  cursor: pointer;
}
/* ===== Chatbot flotante ===== */
.chatbot-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
}

.chatbot-flotante img {
  width: 180px;   /* chatbot más grande */
  height: auto;
}

/* Mover chatbot al lado izquierdo solo en pantallas pequeñas (celulares) */
@media (max-width: 768px) {
  .chatbot-flotante {
    right: auto;
    left: 20px;
  }
}

/* ===== Modal del chatbot ===== */
.chatbot-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.chatbot-modal-content {
  background: #fffbe6;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  margin: auto;
  font-size: 1.2rem;
  color: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.chatbot-versiculo {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000;
}

.chatbot-texto {
  margin: 15px 0;
  font-size: 1.1rem;
}

.chatbot-modal-content hr {
  border: none;
  border-top: 2px solid #ffcc00;
  margin: 10px 0 20px;
}

.chatbot-modal-content button {
  margin-top: 15px;
  padding: 12px 24px;
  background: #ffcc00;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  transition: background 0.3s;
}

.chatbot-modal-content button:hover {
  background: #ffd600;
}
/* Estilos existentes de la sección, tal como los tenías */
.habitanza-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  background: transparent;
}
.habitanza-container {
  text-align: center;
  padding: 120px 20px;
  background-color: rgba(0, 0, 0, 0.6);
  /* Eliminamos el borde parpadeante */
  border: none;
  border-radius: 0;
  /* Eliminamos la animación de parpadeo */
  animation: none;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* Nuevo borde: inferior grueso y superior desvanecido */
  border-bottom: 5px solid #ffe600;
  border-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 230, 0, 0.5) 20%,
    rgba(255, 230, 0, 1) 100%
  ) 1;
}
/* El texto inicial del título y subtítulo */
.habitanza-titulo, .habitanza-subtitulo {
  font-size: 5rem;
  font-weight: 900;
  color: #ffe600;
  text-transform: uppercase;
  -webkit-text-stroke-width: 0;
  -webkit-text-stroke-color: transparent;
  text-shadow: none;
  /* Añade una transición para un desvanecimiento suave */
  transition: opacity 0.5s ease-in-out;
}

.habitanza-subtitulo {
  font-size: 2.2rem;
  text-transform: lowercase;
  font-weight: 600;
}

/* Nuevo texto para el efecto hover */
.habitanza-hover-text {
  font-size: 4rem;
  color: #ffe600; /* Color blanco para el nuevo texto */
  font-weight: 600;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; /* Lo hace invisible por defecto */
  /* Añade la transición para que aparezca suavemente */
  transition: opacity 0.5s ease-in-out;
  pointer-events: none; /* Asegura que el texto no interfiera con el evento hover */
}

/* Efecto hover: cuando el mouse está sobre .habitanza-container */
.habitanza-container:hover .habitanza-titulo,
.habitanza-container:hover .habitanza-subtitulo {
  opacity: 0; /* Desvanece el texto original */
}

.habitanza-container:hover .habitanza-hover-text {
  opacity: 1; /* Hace visible el nuevo texto */
}

@keyframes parpadeo {
  0%, 100% { border-color: #ffe600; }
  50% { border-color: transparent; }
}




