/* ======================================================
   SERVICIOS
====================================================== */
.services-ca{
    position:relative;
    overflow:hidden;

}

/* imagen de fondo */

.services-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
}

/* capa azul */

.services-overlay{
    position:absolute;
    inset:0;
    z-index:2;

    background:rgba(15,35,75,0.65);
}

.services-content{
    position: relative;
    z-index: 3;
    padding: 120px 0 110px;
}

.services-overlay .container{
    width:100%;
    padding:120px 0 110px;
}

/* header */

.services-header .section-title{

    color:#ffffff;
    font-weight:800;
    font-size:48px;

}

.services-header .section-subtitle{

    color:rgba(255,255,255,0.8);

}


@media (max-width:768px){
    .services-content .container{
        padding:70px 0 60px;
    }
}
/* ======================================================
   CARDS
====================================================== */

.service-card{

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 22px;

    padding: 32px 28px;

    min-height: 340px;

    transition: all .35s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,.25);

}

.service-card:hover{

    transform: translateY(-8px);

    background: rgba(255,255,255,0.12);

    border-color: rgba(212,175,55,.4);

}

/* contenido encima */
.service-card-content {
    position: relative;
    z-index: 2;

    padding: 50px 30px;
}

/* title */

.service-title{

    color:#ffffff;

    font-size:1.35rem;

    font-weight:700;

    letter-spacing:.08em;

    margin-bottom:22px;

}

/* list */

.service-list li{

    color:rgba(255,255,255,.85);

    font-size:.95rem;

    line-height:1.45; /* antes 1.8 */

    margin-bottom:12px; /* controla separación entre puntos */

    padding-left:18px;

    text-align:left;

}

.service-icon-top {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 30px;
}

.service-icon-top img {
    width: 95px;  
    height: 95px;

    object-fit: contain;

    filter: brightness(0) invert(1);
}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width:991px){

    .services-overlay{
        padding:90px 0 80px;
    }

    .services-header .section-title{
        font-size:36px;
    }

}

@media (max-width:768px){

    .services-overlay{
        padding:70px 0 60px;
    }

    .services-header .section-title{
        font-size:28px;
    }

    .service-card{
        padding:22px 20px;
    }

}

@media (max-width:576px){

    .services-header .section-title{
        font-size:24px;
    }

    .service-list li{
        font-size:0.9rem;
    }

}
/* ======================================================
   SUCURSALES
====================================================== */

.branches-ca{

    background:#0b2c4d;

    color:white;

    padding:120px 0;

}

/* HEADER */

.branches-header{

    margin-bottom:50px;

}

.branches-title{

    font-weight:800;

    font-size:46px;

    letter-spacing:1px;

    margin:0;

    color: white;

}

.branches-subtitle{

    font-size:22px;

    color:rgba(255,255,255,0.75);

    margin:4px 0 0;

}

/* GRID */

.branches-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:28px 40px;

}

/* ZONA */

.branch-zone{

    font-size:15px;

    font-weight:700;

    color:#f5a623;

    text-transform:uppercase;

    margin-bottom:6px;

}

/* LIST */

.branch-list{

    list-style:none;

    padding:0;

    margin:0;

}

.branch-list li{

    font-size:15px;

    margin-bottom:4px;

    color:rgba(255,255,255,0.85);

}

.branch-list li::before{

    content:"- ";

    color:#f5a623;

}

/* MAPA */

.branches-map{
    max-width:520px;
    width:100%;

    border-radius: 20px; /* 🔥 bordes redondeados */

    filter: 
        brightness(1.05)
        contrast(0.95)
        saturate(0.9);

    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4),
        0 0 40px rgba(245,166,35,0.15); /* glow naranja suave */

    opacity: 0.95;
}

/* NOTE */

.branches-note{

    font-size:13px;

    color:rgba(255,255,255,0.7);

    margin-top:14px;

}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width:992px){

    .branches-grid{

        grid-template-columns:1fr;

    }

    .branches-map{

        margin-top:40px;

    }

}

@media (max-width:768px){

    .branches-title{

        font-size:34px;

    }

    .branches-subtitle{

        font-size:18px;

    }

}
/* ======================================================
   SOLUCIONES (GRID VISUAL)
====================================================== */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* ITEM */
.solution-item {
    position: relative;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* OVERLAY */
.solution-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    color: #fff;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background .3s ease;
}

.solution-item:hover .solution-overlay {
    background: rgba(0,0,0,0.55);
}

/* TITLES */
.solution-overlay h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: white;
}

.solution-overlay p {
    font-size: 0.95rem;
    max-width: 320px;
    color: white;
}


/* MOBILE */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-item {
        min-height: 260px;
    }
}

@media (max-width:768px){

    .services-bg{
        content: url('../img/servicios/contenedores-servicios-mobile.jpg');
    }

    .services-content .container{
        padding-left:24px;
        padding-right:24px;
    }

}

