:root {
  --color-black: #000;
  --color-white: #fff;
  --color-yellow: #fab906;
  --color-green: #b2c843;
  --color-green-2: #00965f;
  --color-gray: #ebebeb;

  --text-size-100: 100px;
  --text-line-100: 100px;
  --text-size-80: 80px;
  --text-line-80: 80px;
  --text-size-50: 50px;
  --text-line-50: 50px;
  --text-size-40: 40px;
  --text-line-40: 40px;
  --text-size-36: 36px;
  --text-line-36: 36px;
  --text-size-26: 23px;
  --text-line-26: 23px;
}

html, body {margin: 0;padding: 0;overflow-x: hidden; background-color: var(--color-gray);}
body * {font-family: "alegreya-sans", sans-serif!important; }

/* Z-index */
.z-index-1 {z-index: 1;}
.z-index-2 {z-index: 2;}
.z-index-3 {z-index: 3;}

/* Textos */
.tx-100 {
    font-size: var(--text-size-100);
    line-height: var(--text-line-100);
}

.tx-80 {
    font-size: var(--text-size-80);
    line-height: var(--text-line-80);
}

.tx-50 {
    font-size: var(--text-size-50);
    line-height: var(--text-line-50);
}

.tx-40 {
    font-size: var(--text-size-40);
    line-height: var(--text-line-40);
}

.tx-36 {
    font-size: var(--text-size-36);
    line-height: var(--text-line-36);
}

.tx-26 {
    font-size: var(--text-size-26);
    line-height: var(--text-line-26);
}

.tx-white {color: var(--color-white);}
.tx-gray {color: #808080}
.tx-black {color: var(--color-black);}
.tx-balance {text-wrap-style: balance;}
.fw-black {font-weight: 900;}


/* Backgrounds */
.bg-yellow {
    background-color: var(--color-yellow);
    filter: drop-shadow(2px 4px 6px black);
}
.bg-green {background-color: var(--color-green);}
.bg-green-2 {background-color: var(--color-green-2);}
.bg-gray {background-color: var(--color-gray);}
.bg-black-gradiant {background: rgba(0, 0, 0, 0.3);}

/* Sections */
.general-section {padding: 5vw 0;}
.general-top {padding-top: 5vw;}
.general-bottom {padding-bottom: 5vw;}
section {scroll-margin-top: 100px; }
.box-shadow {box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .7);}

.logos-header {
    max-height: 100px;
    padding:10px 0;
}



#hero {
    min-height: 40vw;
    background-image: url(../img/bg-hero.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.blur-background {
    position: absolute;
    width: 200vw;
    height: 200vh;
    backdrop-filter: blur(7px);
    z-index: 0;
    top: -50vw;
    left: -50vw;
}

.btn-more {
    text-transform: uppercase;
    font-size: var(--text-size-26);
    line-height: var(--text-line-26);
    font-weight: 900;
}

.btn-more:focus,
.btn-more:active {
    outline: none;
    box-shadow: none;
    border: none;
}

.btn-more i {
    transition: transform 0.3s ease;
}

.btn-more:not(.collapsed) i {
    transform: rotate(180deg);
}

.img-menos-hambre {
    transform: scale(1);
}

.form-menos-hambre {
    position: absolute;
    z-index: 1;
    background-image: url("../img/form-menos-hambre.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.2);
    top: -80%;

}

/* Quienes somos */
.bg-quienes-somos-1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape-history {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    padding: 80px 70px 100px 70px;
}

.shape-history::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-yellow);
    z-index: -1;

    /* forma base */
    border-bottom-left-radius: 50% 70%;
    border-bottom-right-radius: 50% 70%;

    /* inclinación superior */
    clip-path: polygon(0 18%, 100% 0, 100% 62%, 100% 100%, 0 100%);
}

/* Misión */
.mision-hover-img {
    display: none;
}

.mision-container:hover .mision-img {
    display: none;
}

.mision-container:hover .mision-hover-img {
    display: block;
}

.mision-container:hover .mision-card{
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mision-container:hover .mision-card {
    opacity: 1 !important;
}


#sliderNosotros {
    background-image: url("../img/bg-nosotros.webp");    
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

/* Ecosistema */
.item-ecosistema {
    padding: 20px;
}

.item-ecosistema-img {
    width: 20%;
    min-width: 80px;
}

.item-ecosistema-text {
    width: 80%;
}

.item-ecosistema-img img {
    width: 100%;
    height: 100%;
    /* Fuerza a que el contenido del ícono llene siempre el contenedor 80x80 */
    object-fit: cover;
    display: block;
}

@media screen and (min-width: 768px) {
    .text-columns {
        column-count: 2;
        column-gap: 20px;
    }

    .items-left .item-ecosistema:nth-child(2),
    .items-left .item-ecosistema:nth-child(3) {
        margin-right: 10%;
    }

    .items-right .item-ecosistema:nth-child(2),
    .items-right .item-ecosistema:nth-child(3) {
        margin-left: 10%;
    }

    .icon-flechita:before {
        content: "«";
        position: absolute;
        left: -45px;
    }
}


@media screen and (max-width: 768px) {
    :root {
        --text-size-100: 50px;
        --text-line-100: 50px;
        --text-size-80: 40px;
        --text-line-80: 40px;
        --text-size-50: 30px;
        --text-line-50: 30px;
        --text-size-40: 20px;
        --text-line-40: 20px;
        --text-size-36: 18px;
        --text-line-36: 18px;
        --text-size-26: 16px;
        --text-line-26: 16px;
    }


    .general-section {
        padding: 10vw 0;
    }
    .general-top {padding-top: 10vw;}
    .general-bottom {padding-bottom: 10vw;}


    .logos-header {
        max-height: 65px;
        padding:10px 0;
    }
}


/* Numeros Hacia donde vamos */
.item-info {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: 100%;
    height: 100%;
}

.item-info-img {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
}

.item-info-img img {
    display: block;
    height: 100%;
    width: auto;
    max-width: min(120px, 15vw); /* opcional, para que no se descontrole */
    object-fit: contain;
}

.item-info-text {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
}

.item-info-text p {
    margin: 0;
}



/* Banners 2025 en numeros */
.stat-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.stat-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.stat-big-light {
    font-size: clamp(48px, 5vw, 86px);
    line-height: 0.98;
    font-weight: 300;
}

.stat-bg-1 {
    background-color: #f3f3f3;
    /* background-image: url('../img/banner-1.webp'); */
}

.stat-bg-2 {
    background-color: #222;
    background-image: url('../img/banner-2.webp');
}

.stat-bg-3 {
    background-color: #b7cf0a;
    /* background-image: url('../img/banner-3.webp'); */
}

.stat-bg-4 {
    background-color: #333;
    background-image: url('../img/banner-4.webp');
}

.stat-bg-5 {
    background-color: #222;
    background-image: url('../img/banner-5.webp');
}

.border-end {
    border-right: 1px solid black!important;
}

#sliderApp {
    background-image: url("../img/bg-app.webp");    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}