/* =========================
   HOME 2026 HERO
========================= */

.home2026-hero {
    position: relative;
}

.home2026-img {
    height: 85vh;
    object-fit: cover;
    filter: brightness(0.6);
}


.home2026-hero .carousel-caption {
    bottom: 50% !important;
    transform: translateY(50%);
    left: 10%;
    right: auto;
    text-align: left !important;
    max-width: 650px;
}

.home2026-caption h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
}

.home2026-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Controles modernos */

.home2026-hero .carousel-control-prev,
.home2026-hero .carousel-control-next {
    width: 8%;
    opacity: 0.8;
}

.home2026-hero .carousel-control-prev-icon,
.home2026-hero .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.6);
    padding: 18px;
    border-radius: 8px;
}

.home2026-hero .carousel-control-prev:hover,
.home2026-hero .carousel-control-next:hover {
    opacity: 1;
}

/* Responsive */

@media (max-width: 768px) {

    .home2026-img {
        height: 65vh;
    }

    .home2026-hero .carousel-caption {
        left: 0 !important;
        right: 0 !important;
        bottom: 50% !important;
        transform: translateY(50%);
        text-align: center !important;
        padding: 0 70px;
        max-width: 100%;
    }

    .home2026-caption h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .home2026-caption p {
        font-size: 1rem;
    }
}


/* =========================
   HOME 2026 - BLOQUE DUAL
========================= */

.home2026-dual {
    margin-top: 0;
}

.home2026-card {
    position: relative;
    display: block;
    overflow: hidden;
}

.home2026-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

/* Overlay oscuro suave */

.home2026-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    transition: background .4s ease;
}

/* Texto centrado perfectamente */

.home2026-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.home2026-text h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
}

/* Hover elegante */

.home2026-card:hover img {
    transform: scale(1.05);
}

.home2026-card:hover .home2026-overlay {
    background: rgba(0, 0, 0, 0.55);
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .home2026-card {
        height: 350px;
    }

    .home2026-text h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .home2026-card {
        height: 280px;
    }

    .home2026-text h2 {
        font-size: 2rem;
    }
}

/* =========================
   HOME 2026 - FORMAS DE AYUDAR
========================= */

.home2026-help {
    position: relative;
    padding: 90px 0;
    background: url('/media/0h1lrb4b/img_6893_resultado.jpg') center/cover no-repeat;
}

.home2026-help-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85); /* efecto alfa blanco */
    z-index: 1;
}

.home2026-help .container {
    z-index: 2;
}

/* Título */

.home2026-help-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #d94b45;
}

/* Tarjetas */

.home2026-help-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #e0524d;
    color: #ffffff;
    text-align: center;
    padding: 35px 20px;
    height: 220px;
    text-decoration: none;
    transition: all .3s ease;
}

.home2026-help-card i {
    font-size: 42px;
    margin-bottom: 15px;
}

.home2026-help-card span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* HOVER (sin verde) */

.home2026-help-card:hover {
    background: #c73d38; /* rojo más profundo */
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    color: #ffffff;
}

/* Responsive */

@media (max-width: 992px) {
    .home2026-help-card {
        height: 190px;
    }
}

@media (max-width: 768px) {
    .home2026-help {
        padding: 70px 0;
    }

    .home2026-help-title {
        font-size: 2rem;
    }

    .home2026-help-card {
        height: 170px;
        padding: 25px 15px;
    }

    .home2026-help-card i {
        font-size: 30px;
    }

    .home2026-help-card span {
        font-size: 1rem;
    }
}
.home2026-gallery {
    padding: 90px 0;
    background: #fff;
}

.home2026-gallery-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #d94b45;
}

/* =========================
   HOME 2026 - GALERÍA
========================= */


/* Cards */

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform .4s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

/* Controles */

#galleryCarousel .carousel-control-prev,
#galleryCarousel .carousel-control-next {
    width: 5%;
}

/* Mobile ajustes */

@media (max-width: 767px) {
    
    .home2026-gallery {
        padding: 40px 0;
        background: #fff;
    }

    #galleryCarousel .carousel-item .row {
        flex-wrap: nowrap;
    }

    #galleryCarousel .carousel-item .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #testimonialCarousel .carousel-item {
        height: unset !important; 
    }

}
/* TESTIMONIO */

/* =========================
   HOME 2026 - TESTIMONIOS
========================= */

.home2026-testimonials {
    padding: 90px 0;
    background: #ffffff;
}

.home2026-testimonials-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #2e7d5b;
}

/* Imagen */

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

/* Caja verde */

.testimonial-box {
    background: #6f9f86;
    color: #ffffff;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Bandera */

.testimonial-footer img {
    width: 40px;
}

/* Flecha personalizada */

#testimonialCarousel .carousel-control-next {
    width: 6%;
}

#testimonialCarousel .carousel-control-next-icon {
    background-color: rgb(0 14 1 / 80%);
    border-radius: 50%;
}

/* =========================
   HOME 2026 - ABOUT SECTION
========================= */

.home2026-about {
    padding: 90px 0;
    background: #ffffff;
}

/* HERO SUPERIOR */

.home2026-about-hero {
    position: relative;
    height: 360px;
    background-image: url('/media/4uipzo1i/somo-un-hogar-sin-fines-de-lucro.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    overflow: hidden;
}

.home2026-about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.home2026-about-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    padding: 60px;
}

.home2026-about-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFF;
} 

.home2026-about-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* CARDS */

.home2026-card {
    position: relative;
    display: block;
    height: 420px;
    overflow: hidden;
    border-radius: 6px;
}

.home2026-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.home2026-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background .3s ease;
}

.home2026-card-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    z-index: 2;
}

/* HOVER */

.home2026-card:hover img {
    transform: scale(1.08);
}

.home2026-card:hover .home2026-card-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .home2026-about-hero {
        height: 300px;
    }

    .home2026-about-content {
        padding: 30px;
    }

    .home2026-about-content h2 {
        font-size: 2rem;
    }

    .home2026-card {
        height: 220px;
    }

}
/* =========================
   HOME 2026 - ALIANZAS
========================= */

.home2026-alliances {
    padding: 90px 0;
    background: #ffffff;
}

.home2026-alliances-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #d94b45;
}

/* Logos */

.home2026-alliances-logos {
    margin-top: 30px;
}

.alliance-logo {
    max-height:200px;
    max-width: 100%;
    object-fit: contain;
    transition: transform .3s ease, opacity .3s ease;
}

/* Hover sutil elegante */

.alliance-logo:hover {
    transform: scale(1.08);
    opacity: 0.85;
}

/* Responsive */

@media (max-width: 768px) {

    .alliance-logo {
        max-height: 70px;
    }

}