/* ===============================
   CONTENEDOR GENERAL
================================ */
.sucursales-wrapper{
    max-width:1250px;
    margin:auto;
    padding:0 20px;
}

/* ===============================
   BANNER SUCURSALES (IGUAL AL INDEX)
================================ */
.banner-sucursales{
    position: relative;
    height: 90vh;               /* MISMO ALTO QUE HOME */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay */
.banner-sucursales::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* Texto centrado */
.banner-sucursales .banner-texto{
    position: relative;
    z-index: 2;
    text-align: center;          /* 👈 CENTRADO */
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

/* Subtítulo */
.banner-sucursales .banner-texto h4{
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Título */
.banner-sucursales .banner-texto h2{
    font-size: 44px;             /* MISMO TAMAÑO INDEX */
    margin-bottom: 15px;
}

/* Texto */
.banner-sucursales .banner-texto p{
    font-size: 20px;
    margin-bottom: 30px;
}

/* Botón (MISMO COLOR QUE INDEX) */
.banner-sucursales .btn-banner{
    background: #ffcc00;         /* 👈 AMARILLO INDEX */
    color: #000;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.banner-sucursales .btn-banner:hover{
    background: #e6b800;
}

/* ===============================
   TITULO PRINCIPAL
================================ */
.sucursales-titulo{
    text-align:center;
    font-size:42px;
    font-weight:800;
    margin:60px 0 40px;
}

/* ===============================
   BUSCADOR
================================ */
.buscador-sucursales{
    max-width:520px;
    margin:30px auto 20px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 24px;
    border-radius:50px;
    border:1px solid #ddd;
    background:#f7f7f7;
}

.buscador-sucursales i{
    color:#666;
}

.buscador-sucursales input{
    border:none;
    outline:none;
    background:transparent;
    width:100%;
    font-size:16px;
}

/* ===============================
   BOTÓN UBICACIÓN
================================ */
.ubicacion-usuario{
    text-align:center;
    margin-bottom:30px;
}

.ubicacion-usuario button{
    background:#b30000;
    color:#fff;
    border:none;
    padding:12px 26px;
    border-radius:40px;
    font-size:15px;
    cursor:pointer;
    transition:.3s;
}

.ubicacion-usuario button:hover{
    background:#8f0000;
}

/* ===============================
   GRID SUCURSALES
================================ */
.sucursales-grid{
    display:flex;
    flex-direction:column;
    gap:100px;
}

/* ===============================
   CARD SUCURSAL
================================ */
.sucursal-card{
    display:flex;
    gap:60px;
    align-items:flex-start;
}

/* ===============================
   MAPA
================================ */
.sucursal-mapa{
    width:55%;
}

.sucursal-mapa iframe{
    width:100%;
    height:400px;
    border-radius:12px;
    border:none;
}

/* ===============================
   INFO SUCURSAL
================================ */
.sucursal-info{
    width:45%;
}

.sucursal-info h3{
    font-size:36px;
    font-weight:800;
    margin-bottom:20px;
    color:#111;
}

.sucursal-info .label{
    font-size:18px;
    font-weight:700;
    margin-top:18px;
    margin-bottom:6px;
    color:#000;
}

.sucursal-info p{
    font-size:18px;
    line-height:1.7;
    color:#444;
    margin-bottom:6px;
}

/* TELÉFONO */
.telefono{
    font-size:20px;
    margin-top:6px;
}

.telefono a{
    font-weight:700;
    color:#000;
    text-decoration:none;
}

/* DISTANCIA */
.distancia{
    margin-top:10px;
    font-size:16px;
    color:#777;
}

/* ===============================
   BOTONES SUCURSAL
================================ */
.sucursal-botones{
    margin-top:30px;
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.sucursal-botones a{
    padding:14px 28px;
    font-size:16px;
    font-weight:600;
    border-radius:50px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:10px;
    transition:.3s;
}

/* Cómo llegar */
.sucursal-botones a:not(.btn-wsp){
    background:#fff;
    color:#000;
    border:2px solid #cfcfcf;
}

.sucursal-botones a:not(.btn-wsp):hover{
    background:#000;
    color:#fff;
    transform:translateY(-2px);
}

/* WhatsApp tarjeta */
.btn-wsp{
    background:#25d366;
    color:#fff;
    border:2px solid #25d366;
    box-shadow:0 6px 18px rgba(37,211,102,.35);
}

.btn-wsp:hover{
    background:#1ebe5d;
    border-color:#1ebe5d;
    transform:translateY(-2px) scale(1.03);
}

/* ===============================
   WHATSAPP FLOTANTE
================================ */
.whatsapp-float{
    position:fixed;
    width:58px;
    height:58px;
    bottom:25px;
    right:25px;
    background:#25d366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
    z-index:9999;
    text-decoration:none;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

/* ===============================
   RESPONSIVE
================================ */
@media(max-width:900px){
    .sucursal-card{
        flex-direction:column;
    }

    .sucursal-mapa,
    .sucursal-info{
        width:100%;
    }

    .sucursal-info h3{
        font-size:28px;
    }

    .sucursal-mapa iframe{
        height:260px;
    }

    .banner-sucursales{
        min-height:300px;
    }

    .banner-texto{
        margin:0 25px;
    }

    .banner-texto h2{
        font-size:32px;
    }

    .banner-texto p{
        font-size:16px;
    }
}
