/* =========================================================
   PATROCINADORES — ISACA SUMMIT 2026
   Diseño limpio / premium / responsive
   ========================================================= */

.sponsors-section {
    position: relative;
    padding: 100px 0 120px;
    background:
        radial-gradient(circle at 85% 10%, rgba(101, 88, 177, 0.16), transparent 32%),
        radial-gradient(circle at 10% 85%, rgba(0, 164, 228, 0.10), transparent 30%),
        linear-gradient(135deg, #101a35 0%, #18264a 55%, #211c42 100%);
    overflow: hidden;
}


/* =========================================================
   FONDO TECNOLÓGICO
   ========================================================= */

.sponsors-network {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 60px 60px;
}

.sponsors-network::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    top: -300px;
    right: -180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(101, 88, 177, 0.18),
        transparent 70%
    );
}

.sponsors-network::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -300px;
    left: -180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 164, 228, 0.12),
        transparent 70%
    );
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.sponsors-section > .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.sponsors-header {
    max-width: 760px;
    margin: 0 auto 80px;
    text-align: center;
}

.sponsors-header .section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 7px 17px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.07);
    color: #64ffda;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sponsors-header h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.sponsors-header p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   CATEGORÍAS
   ========================================================= */

.sponsor-tier {
    margin-bottom: 90px;
}

.sponsor-tier:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TÍTULO DE CATEGORÍA
   ========================================================= */

.sponsor-tier-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 42px;
}

.sponsor-line {
    width: 120px;
    height: 1px;
    flex: 0 1 120px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.22)
    );
}

.sponsor-tier-heading .sponsor-line:last-child {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.22),
        transparent
    );
}


/* =========================================================
   ICONO DE CATEGORÍA
   ========================================================= */

.sponsor-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

    font-size: 17px;
}


/* Colores por categoría */

.sponsor-tier-gold .sponsor-icon {
    color: #d39b16;
}

.sponsor-tier-silver .sponsor-icon {
    color: #64748b;
}

.sponsor-tier-bronze .sponsor-icon {
    color: #a65d32;
}

.sponsor-tier-padrinos .sponsor-icon {
    color: #6558b1;
}


/* =========================================================
   TEXTO DE CATEGORÍA
   ========================================================= */

.sponsor-tier-name {
    min-width: 130px;
    text-align: center;
}

.sponsor-tier-name span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
}

.sponsor-tier-name h3 {
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
}


/* =========================================================
   GRID DE LOGOS
   ========================================================= */

.sponsor-logos {
    width: 100%;
    margin: 0 auto;

    display: grid;
    align-items: center;
    justify-items: center;
}


/* ORO — 4 patrocinadores */

.sponsor-tier-gold .sponsor-logos {
    max-width: 1200px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.sponsor-tier-gold .sponsor-logo {
    height: 175px;
}

.sponsor-tier-gold .sponsor-logo img {
    max-width: 270px;
    max-height: 125px;
}

/* PLATA — 4 patrocinadores */

.sponsor-tier-silver .sponsor-logos {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}


/* BRONCE — 5 patrocinadores */

.sponsor-tier-bronze .sponsor-logos {
    max-width: 1150px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}


/* PADRINOS — 3 patrocinadores */

.sponsor-tier-padrinos .sponsor-logos {
    max-width: 900px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

/* SOCIOS ESTRATÉGICOS — 3 patrocinadores */
.sponsor-tier-strategic .sponsor-logos {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.sponsor-tier-strategic .sponsor-logo {
    height: 150px;
}

.sponsor-tier-strategic .sponsor-logo img {
    max-width: 210px;
    max-height: 100px;
}

/* =========================================================
   ÁREA DEL LOGO
   ========================================================= */

.sponsor-logo {
    width: 100%;
    min-width: 0;
    height: 135px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;
    box-sizing: border-box;

    background: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =========================================================
   IMÁGENES
   ========================================================= */

.sponsor-logo img {
    display: block;

    width: auto;
    max-width: 210px;
    height: auto;
    max-height: 95px;

    object-fit: contain;
    object-position: center;

    opacity: 0.88;
    filter: grayscale(15%);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        filter 0.3s ease;
}


/* Oro un poco más protagonista */

.sponsor-tier-gold .sponsor-logo {
    height: 150px;
}

.sponsor-tier-gold .sponsor-logo img {
    max-width: 235px;
    max-height: 110px;
}


/* Plata */

.sponsor-tier-silver .sponsor-logo img {
    max-width: 205px;
    max-height: 90px;
}


/* Bronce */

.sponsor-tier-bronze .sponsor-logo img {
    max-width: 180px;
    max-height: 80px;
}


/* Padrinos */

.sponsor-tier-padrinos .sponsor-logo img {
    max-width: 195px;
    max-height: 85px;
}


/* =========================================================
   HOVER
   ========================================================= */

.sponsor-logo:hover {
    transform: translateY(-4px);
}

.sponsor-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 992px) {

    .sponsors-section {
        padding: 85px 0 100px;
    }

    .sponsors-header {
        margin-bottom: 65px;
    }

    /* ORO */
    .sponsor-tier-gold .sponsor-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 30px;
        max-width: 700px;
    }

    /* PLATA */
    .sponsor-tier-silver .sponsor-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 30px;
        max-width: 700px;
    }

    /* BRONCE */
    .sponsor-tier-bronze .sponsor-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px 20px;
        max-width: 800px;
    }

    /* PADRINOS */
    .sponsor-tier-padrinos .sponsor-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        max-width: 700px;
    }

 /* SOCIOS */
    .sponsor-tier-strategic .sponsor-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        max-width: 700px;
    }
    .sponsor-logo {
        height: 125px;
    }

    .sponsor-tier-gold .sponsor-logo {
        height: 135px;
    }

    .sponsor-logo img {
        max-width: 190px;
        max-height: 85px;
    }

    .sponsor-tier-gold .sponsor-logo img {
        max-width: 215px;
        max-height: 95px;
    }

    .sponsor-tier-bronze .sponsor-logo img {
        max-width: 165px;
        max-height: 75px;
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .sponsors-section {
        padding: 75px 0 85px;
    }

    .sponsors-section > .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sponsors-header {
        margin-bottom: 55px;
    }

    .sponsors-header .section-tag {
        margin-bottom: 15px;
        padding: 6px 14px;
        font-size: 9px;
        letter-spacing: 1.6px;
    }

    .sponsors-header h2 {
        margin-bottom: 15px;
        font-size: clamp(32px, 9vw, 42px);
        letter-spacing: -0.8px;
    }

    .sponsors-header p {
        font-size: 14px;
        line-height: 1.65;
    }


    /* Espacio entre categorías */

    .sponsor-tier {
        margin-bottom: 65px;
    }


    /* Encabezado de categoría */

    .sponsor-tier-heading {
        gap: 10px;
        margin-bottom: 30px;
    }

    .sponsor-line {
        width: 35px;
        flex: 0 1 35px;
    }

    .sponsor-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 14px;
    }

    .sponsor-tier-name {
        min-width: 95px;
    }

    .sponsor-tier-name span {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .sponsor-tier-name h3 {
        font-size: 20px;
    }


    /* Todos los grids pasan a 2 columnas */

    .sponsor-tier-gold .sponsor-logos,
    .sponsor-tier-silver .sponsor-logos,
    .sponsor-tier-bronze .sponsor-logos,
    .sponsor-tier-padrinos .sponsor-logos,
    .sponsor-tier-strategic .sponsor-logos{
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }


    /* Área del logo */

    .sponsor-logo,
    .sponsor-tier-gold .sponsor-logo {
        width: 100%;
        min-width: 0;
        height: 105px;
        padding: 10px;
    }


    /* Imágenes */

    .sponsor-logo img,
    .sponsor-tier-gold .sponsor-logo img {
        width: auto;
        max-width: 145px;
        height: auto;
        max-height: 60px;
    }

    .sponsor-tier-bronze .sponsor-logo img {
        max-width: 135px;
        max-height: 55px;
    }

    .sponsor-tier-padrinos .sponsor-logo img {
        max-width: 140px;
        max-height: 60px;
    }
    .sponsor-tier-strategic .sponsor-logo img {
        max-width: 140px;
        max-height: 60px;
    }

    /* Evitamos que el hover genere movimientos incómodos en touch */

    .sponsor-logo:hover {
        transform: none;
    }

    .sponsor-logo:hover img {
        transform: none;
    }
}


/* =========================================================
   MÓVIL MUY ESTRECHO — SOCIOS ESTRATÉGICOS
   ========================================================= */

@media (max-width: 380px) {
    .sponsor-tier-strategic .sponsor-logos {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 300px;
    }

    .sponsor-tier-strategic .sponsor-logo img {
        max-width: 180px;
        max-height: 70px;
    }
}