/* ========= BASE ========= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Segoe UI",sans-serif;
    background:#fff;
    color:#1d1d1f;
}

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

.tirilla-f{
    max-width:1400px;
    margin:50px auto;
    padding:0 24px;
}

/* ========= TITULOS ========= */

.tirilla-f__titles{
    display:flex;
    justify-content:space-between;
    margin-bottom:40px;
}

.tirilla-f__title-fixed,
.tirilla-f__title-carousel{
    font-size:1.1rem;
    font-weight:600;
    color:#111827;
}

/* ========= LAYOUT ========= */

.tirilla-f__inner{
    display:grid;
    grid-template-columns: 1fr;
    gap:40px;
}

.tirilla-f__divider{
    background:#ececec;
}

/* ========= SECCION FIJA ========= */

.tirilla-f__fixed{
    display:grid;
    grid-auto-flow: column;
    gap:30px;
}

/* ========= ITEM ========= */

.tirilla-f__item{
    text-decoration:none;
    color:inherit;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    transition:.25s;
}

.tirilla-f__item:hover{
    transform:translateY(-3px);
}

/* ========= LOGO ========= */

.tirilla-f__logo-wrap{
    width:72px;
    height:72px;
    border:1px solid #dcdcdc;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fafafa;
    transition:.25s;
}

.tirilla-f__item:hover .tirilla-f__logo-wrap{
    border-color:#111827;
}

.tirilla-f__sigla{
    font-size:15px;
    font-weight:700;
    letter-spacing:.5px;
    color:#111827;
}

.tirilla-f__nombre{
    text-align:center;
    font-size:.88rem;
    color:#6b7280;
    line-height:1.4;
    max-width:180px;
}

.tirilla-f__nombre--active{
    color:#111827;
}

/* ========= CARRUSEL ========= */

.tirilla-f__carousel-wrap{
    display:flex;
    align-items:center;
    gap:16px;
}

.tirilla-f__carousel{
    display:flex;
    gap:18px;
    overflow:hidden;
    flex:1;
    scroll-behavior:smooth;
}

.tirilla-f__item--carousel{
    min-width:170px;
    padding:22px 16px;
    border:1px solid #ececec;
    border-radius:14px;
    background:#fff;
}

.tirilla-f__item--carousel:hover{
    border-color:#111827;
}

/* ========= BOTONES ========= */

.tirilla-f__arrow{
    width:40px;
    height:40px;
    border-radius:50%;
    border:1px solid #dadada;
    background:#fff;
    cursor:pointer;
    font-size:22px;
    transition:.2s;
}

.tirilla-f__arrow:hover{
    background:#111827;
    color:#fff;
}

/* ========= MOBILE ========= */

.tirilla-f__mobile-label{
    display:none;
    font-weight:600;
    margin-bottom:18px;
}

@media (max-width:1000px){

    .tirilla-f__titles{
        display:none;
    }

    .tirilla-f__inner{
        grid-template-columns:1fr;
    }

    .tirilla-f__divider{
        display:none;
    }

    .tirilla-f__mobile-label{
        display:block;
    }

}

@media (max-width:700px){

    .tirilla-f{
        padding:0 16px;
    }

    .tirilla-f__fixed{
        grid-template-columns:1fr 1fr;
        gap:22px;
    }

    .tirilla-f__item--carousel{
        min-width:145px;
    }

}

@media (max-width:480px){

    .tirilla-f__fixed{
        grid-template-columns:1fr;
    }

    .tirilla-f__logo-wrap{
        width:64px;
        height:64px;
    }

}