/* =========================
   INICIO SOCIOS & ALIADOS
========================= */

.container-principal-socios{
    padding: 120px 8%;
    background-color: #f5f5f5;
}

/* =========================
   HEADER
========================= */

.socios-header{
    text-align: center;
    max-width: 750px;
    margin: 0 auto 90px auto;
}

.socios-header h2{
    font-size: 55px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: black;
}

.socios-header p{
    font-size: 20px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 35px;
}

.socios-header a{
    display: inline-block;

    padding: 15px 35px;

    background-color: black;
    color: white;

    border-radius: 50px;

    text-decoration: none;

    transition: 0.3s ease;
}

.socios-header a:hover{
    transform: translateY(-4px);

    background-color: #222;
}

/* =========================
   GRID
========================= */

.socios-grid{
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* =========================
   CARD
========================= */

.container-socios{
    display: flex;
    align-items: center;

    background-color: #E8EDF2;

    border-radius: 35px;

    overflow: hidden;

    min-height: 500px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: 0.4s ease;
}

/* Hover */

.container-socios:hover{
    transform: translateY(-8px);

    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Card invertida */

.container-socios.reverse{
    flex-direction: row-reverse;
}

/* =========================
   IMAGEN
========================= */

.socios-img{
    position: relative;

    width: 50%;
    height: 500px;

    overflow: hidden;
}

.socios-img img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.6s ease;

    display: block;
}

/* Zoom imagen */

.container-socios:hover .socios-img img{
    transform: scale(1.08);

    opacity: 0.92;
}

/* Overlay */

.socios-img::after{
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.05)
    );
}

/* Titulo sobre imagen */

.socios-img h3{
    position: absolute;

    bottom: 35px;
    left: 35px;

    color: white;

    font-size: 42px;
    font-weight: 600;

    z-index: 2;
}

/* =========================
   CONTENIDO
========================= */

.socios-content{
    width: 50%;

    padding: 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 35px;
}

/* =========================
   TAGS
========================= */

.socios-tags{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.socios-tags span{
    padding: 10px 18px;

    background-color: white;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 500;

    color: #222;

    border: 1px solid rgba(0,0,0,0.08);
}

/* =========================
   TEXTO
========================= */

.socios-content p{
    font-size: 19px;

    line-height: 1.9;

    color: #555;
}

/* =========================
   FOOTER
========================= */

.socios-footer{
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding-top: 30px;

    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Info */

.socios-info small{
    display: block;

    margin-bottom: 10px;

    color: #777;

    font-size: 14px;
}

.socios-info h4{
    font-size: 30px;

    color: black/* #0c7c74 */;

    font-weight: 700;
}

/* =========================
   BOTON
========================= */

.socios-footer a{
    display: inline-block;

    padding: 16px 32px;

    background-color: black;
    color: white;

    border-radius: 50px;

    text-decoration: none;

    transition: 0.3s ease;
}

.socios-footer a:hover{
    transform: translateY(-3px);

    background-color: #222;
}

/* =========================
   RESPONSIVE
========================= */

/* TABLET */

@media(max-width:1100px){

    .container-socios,
    .container-socios.reverse{
        flex-direction: column;
    }

    .socios-img,
    .socios-content{
        width: 100%;
    }

    .socios-img{
        height: 400px;
    }

}

/* MOBILE */

@media(max-width:768px){

    .container-principal-socios{
        padding: 90px 5%;
    }

    .socios-header h2{
        font-size: 38px;
    }

    .socios-header p{
        font-size: 18px;
    }

    .socios-content{
        padding: 40px 30px;
    }

    .socios-img h3{
        font-size: 30px;
    }

    .socios-content p{
        font-size: 17px;
    }

    .socios-footer{
        flex-direction: column;
        align-items: flex-start;
    }

}