/* ===== SECCIÓN EQUIPOS ===== */
.equipos {
    padding: var(--spacing-xxl) var(--spacing-md);
    background: linear-gradient(180deg,
        rgb(41, 78, 108) 0%,
        rgb(255, 255, 255) 9%
    );
    position: relative;
    overflow: hidden;

    @media (min-width: 768px) {
        background: linear-gradient(180deg,
        rgb(41, 78, 108) 0%,
        rgb(255, 255, 255) 20%
        );
    }

    @media (min-width: 1024px) {
        background: linear-gradient(180deg,
        rgb(41, 78, 108) 0%,
        rgb(255, 255, 255) 26%
        );
    }

    @media (min-width: 1280px) {
        background: linear-gradient(180deg,
        rgb(41, 78, 108) 0%,
        rgb(255, 255, 255) 32%
        );
    }

    @media (min-width: 1480px) {
        background: linear-gradient(180deg,
        rgb(41, 78, 108) 0%,
        rgb(255, 255, 255) 28%
        );
    }


}

/* ===== ENCABEZADO ===== */
.equipos__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    position: relative;
    z-index: 1;
    /* border: 1px solid pink; */

    @media (min-width: 1024px) {
        max-width: 850px;
        text-align: left;
    }

    @media (min-width: 1280px) {
        /* border: 1px solid pink; */
        max-width: 1024px;
    }

    @media (min-width: 1480px) {
        max-width: 1280px;
    }

}

.equipos__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #152212;
    background: rgba(86, 213, 58, 0.1);
    border: 1px solid rgba(86, 213, 58, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: var(--spacing-md);
}

.equipos__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.2;

    @media (min-width: 1024px) {
        font-size: 2.55rem;
    }
}

.equipos__description {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 340px;
    margin: 0 auto;
    color: rgba(0, 0, 0, 0.85);


    @media (min-width: 768px) {
        max-width: 600px; 
    }

    @media (min-width: 1024px) {
        max-width: 850px; 
    }

    @media (min-width: 1280px) {
        /* border: 1px solid pink; */
        max-width: 1024px;
        font-size: 1.06rem;
    }

    @media (min-width: 1480px) {
        max-width: 1280px;
    }

}

/* ===== GRID DE CARDS ===== */
.equipos__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* border: 1px solid rebeccapurple; */

    @media (min-width: 640px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 1024px) {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    @media (min-width: 1280px) {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1024px;
    }

    @media (min-width: 1480px) {
        max-width: 1280px;
        gap: 3rem;
    }
}

/* ===== CARDS ===== */
.equipos__card {
    position: relative;
    border-radius: 12px;
    padding: 0rem 1.5rem 0rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    
    /* Altura fija para evitar saltos */
    height: 150px;
    min-height: 150px;
}

.equipos__card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.829);
    box-shadow: 0 8px 25px rgba(86, 213, 58, 0.2);
}

/* Top de la card - logo */
.equipos__card-top {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipos__card-logo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipos__card-logo-img {
    max-width: 80%;
    width: auto;
    height: auto;
    object-fit: contain;

    @media (min-width: 768px) {
        max-width: 70%;
    }

    @media (min-width: 1024px) {
        max-width: 85%;
    }

    @media (min-width: 1280px) {
        max-width: 90%;
    }

    @media (min-width: 1480px) {
        max-width: 70%;
    }
}