/* =========================
   HEADER
========================= */
.header-nav .nosotros a {
    text-decoration: underline;
    color: var(--fid-primary);
    font-weight: bold;
}

/* =========================
   BANNER NOSOTROS
========================= */
.nosotros-banner {
    background-image: url('../img_new/fondo_banner_nosotros.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% 15%;
}

.nosotros-banner .banner-content {
    margin: 0 5vw;
    color: #fff;
}

.nosotros-banner .banner-content div{
    width: 75%;
}

.nosotros-banner .banner-content span {
    line-height: 1.5;
    font-size: 1.15rem;
}

/* =========================
   BOTÓN
========================= */
.button-contacto-container {
    margin-top: 2.5rem;
}
.nosotros-contactarme {
    background-color: #fff;
    color: var(--fid-primary);
    border-radius: 24px;
    border: none;
    font-weight: bold;
    transition: all .3s ease;
}

.nosotros-contactarme:hover {
    background-color: var(--fid-dark);
    color: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

/* =========================
   EQUIPO
========================= */
.equipo-section {
    background-color: #fff;
    margin: 2vh 10vh 5vw;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.name-mobile{
    display: none;
}
.name, .name-mobile {
    font-size: 1.3rem;
    color: var(--fid-medio);
    text-align: left;
}

.position{
    font-size: 0.9rem;
}
/* Cards comunes */
.ceo-card,
.team-card {
    display: flex;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.ceo-card {
    min-height: 30vh;
    margin-bottom: 1.5rem;
}

.team-card {
    min-height: 30vh;
    width: 50%;
}

/* Info */
.ceo-card .equipo-info {
    width: 15%;
}

.team-card .equipo-info {
    width: 30%;
}

.equipo-info img {
    width: 75%;
    height: 100%;
    border-radius: 8px;
}
.equipo-line{
    margin-bottom: 1.5rem;
}

.team-line{
    gap: 3rem;
}

/* Texto */
.ceo-card .equipo-presentacion {
    width: 85%;
    padding: 1.5rem;
}

.team-card .equipo-presentacion {
    width: 70%;
    padding-left: 0.25rem;
    padding-right: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.quote {
    color: var(--fid-primary);
}

/* =========================
   LOGOS
========================= */
.logos-text {
    padding: 2rem 5vw;
    background-color: var(--fid-medio);
    color: #fff;
}
.logos-text h5 {
    line-height: 2rem;
}

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 60px;
    padding: 40px 5vw;
}

.logo-container {
    max-width: 140px;
    max-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* =========================
   CONFIANZA
========================= */
.confianza-section {
    display: flex;
    align-items: center;
    gap: 4vw;
    margin: 10vh 0;
}

.confianza-content {
    width: 65vw;
}

.confianza-content h4,
.confianza-content span {
    width: 60%;
}

.confianza-content h4 {
    color: var(--fid-primary);
    padding-left: 5vw;
}

.confianza-content .confianza-somos {
    background-color: var(--fid-card);
    color: var(--fid-dark);
}
.confianza-creo, .confianza-somos span{
    padding-left: 5vw;
}

.confianza-img {
    width: 40vw;
}

.confianza-img img {
    width: 100%;
    height: auto;
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    box-shadow: -7px 4px 16px rgba(0, 0, 0, 0.1);
}

/* Botón demo */
.btn-sol-demo {
    border-radius: 24px;
    border: none;
    background-color: var(--fid-primary);
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
}

.btn-sol-demo:hover {
    background-color: rgba(95, 138, 180, 0.2);
    color: var(--fid-primary);
    font-weight: bold;
    box-shadow: inset 0 0 8px var(--neutral-200);
}

/* =========================
   POLÍTICAS
========================= */
.politicas-section {
    background: url('../img_new/politicas_publicas_banner.png') no-repeat center;
    background-size: cover;
    padding: 5vh 5vw;
    color: #fff;
}

.politicas-grid {
    margin: 4vh 10vw 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.politicas-grid ul {
    list-style: disc;
    padding-left: 2rem;
}

.politicas-grid li {
    margin-bottom: .5rem;
    font-size: 1rem;
}

.politicas-grid a {
    color: inherit;
    text-decoration: none;
}

.politicas-grid a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .nosotros-banner .banner-content div{
        width: 100%;
    }
    .equipo-section {
        margin: 2vh 2vh 5vw;
    }
    .team-card .equipo-info div img,
    .ceo-card .equipo-info div img {
        max-height: 280px;
        max-width: 230px;
    }
    .ceo-card,
    .team-card {
        flex-direction: column;
    }
    .name-mobile{
        display: block;
    }
    .name{
        display: none;
    }
    .ceo-card .equipo-info,
    .team-card .equipo-info,
    .ceo-card .equipo-presentacion,
    .team-card .equipo-presentacion {
        padding-left: 1.5rem;
        width: 100%;
    }
    .name{
        text-align: center;
    }

    .confianza-section {
        flex-direction: column;
    }

    .confianza-content,
    .confianza-img {
        width: 100%;
    }

    .confianza-content h4,
    .confianza-content span {
        width: 100%;
        text-align: center;
    }

    .confianza-button {
        margin-left: 0;
        justify-content: center;
    }

    .politicas-grid {
        grid-template-columns: 1fr;
        margin: 2vh 0;
    }
}

@media (max-width: 768px){
    .team-line{
        flex-direction: column;
        gap: 2rem;
    }
    .team-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .nosotros-banner {
        background-size: 100% 7%;
    }
    .nosotros-banner .banner-content {
        margin: 0 1rem;
    }

    .nosotros-banner .banner-content div{
        width: 100%;
    }

    .nosotros-banner .banner-content div h1 {
        text-align: center;
    }

    .nosotros-banner .banner-content h1 {
        font-size: 1.6rem;
    }
    .nosotros-banner .banner-content span {
        font-size: 1rem;
    }

    .equipo-section {
        margin: 2vh 1rem;
        padding: 1.5rem;
    }

    .logos-container {
        gap: 20px;
    }
}