/*==================================
SEDES
===================================*/

.titulo-seccion{
    text-align:center;
    margin-bottom:60px;
}

.titulo-seccion span{
    color:#FF8C00;
    font-weight:700;
    letter-spacing:2px;
}

.titulo-seccion h2{
    margin:15px 0;
    font-size:2rem;
    color:#ffffff;
}

.titulo-seccion p{
    max-width:700px;
    margin:auto;
    color:#ffffff;
    line-height:1.6;
    font-size:.9rem;
}
.sedes{
    padding:70px 5%;
    background-image:
        linear-gradient(
            rgba(7, 7, 7, 0.685),
            rgba(0, 0, 0, 0.705)
        ),
        url("./img/fondo.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}



.sedes-grid{
    max-width:1350px;
    margin:60px auto 0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;

}

.sede-card{
    background:white;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0, 0, 0, 0.767);
    transition:.35s;
}

.sede-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 45px rgba(0,0,0,.18);
}

.sede-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.sede-info{
    padding:25px;
}

.sede-info h3{
    color:#0D47A1;
    margin-bottom:18px;
    font-size:1.4rem;
}

.sede-info p{
    margin:12px 0;
    color:#555;
    font-size:.95rem;
}

.btn-ubicacion{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:6px 8px;
    background:#ff8c00;
    color:#fff;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.35s;
    box-shadow:0 8px 18px rgba(0, 0, 0, 0.651);
}

.btn-ubicacion i{
    transition:.35s;
}

.btn-ubicacion:hover{
    background:#0D47A1;
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(0, 0, 0, 0.644);
}

.btn-ubicacion:hover i{
    transform:rotate(-25deg) scale(1.2);
}

/*=========================
TABLET
=========================*/

@media(max-width:1000px){

.sedes{
    padding:65px 5%;
    /* background-attachment:fixed da problemas de scroll/rendimiento
       en iPad y iPhone (Safari), lo desactivamos desde tablet */
    background-attachment:scroll;
}

.sedes-grid{
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.titulo-seccion h2{
    font-size:1.7rem;
}

}

/*=========================
CELULAR
=========================*/

@media(max-width:768px){

.sedes{
    padding:70px 8%;
}

.sedes-grid{
    grid-template-columns:repeat(1,1fr);
    gap:22px;
    margin-top:35px;
    max-width:700px;
}

.sede-card img{
    height:200px;
}

.sede-info{
    text-align:center;
}

.sede-info h3{
    font-size:1.1rem;
}

.sede-info p{
    font-size:.85rem;
}

.btn-ubicacion{
    font-size:.85rem;
    padding:10px 16px;
}

.titulo-seccion{
    margin-bottom:35px;
}

.titulo-seccion h2{
    font-size:1.4rem;
}

.titulo-seccion p{
    font-size:.85rem;
}
}