* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f6f6f6;
    color: #111;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.branches-page {
    width: 100%;
}

/* HERO */
.branches-hero {
    min-height: 330px;
    background:
        linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.72)),
        url("../imgs/todo.jpg") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
}

.branches-hero-content {
    max-width: 850px;
}

.branches-hero span,
.section-title span {
    color: #fb8e00;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.branches-hero h1 {
    color: #fff;
    font-size: 54px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 14px 0;
}

.branches-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 19px;
    line-height: 1.6;
}

/* SECCIÓN */
.branches-section {
    padding: 70px 20px 85px;
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 10px;
}

.section-title p {
    margin: 14px auto 0;
    max-width: 650px;
    color: #555;
    font-size: 17px;
    line-height: 1.6;
}

/* CARDS */
.branches-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.branch-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 14px 38px rgba(0,0,0,0.09);
    border: 1px solid #eeeeee;
    transition: 0.25s ease;
}

.branch-card:hover {
    transform: translateY(-6px);
}

.branch-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.branch-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: #fb8e00;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 30px;
    flex-shrink: 0;
}

.branch-top h3 {
    font-size: 31px;
    font-weight: 900;
}

.branch-top p {
    color: #666;
    margin-top: 5px;
}

.branch-info p {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 17px;
}

.branch-info i {
    color: #fb8e00;
    margin-right: 10px;
    width: 20px;
}

.branch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn-whatsapp,
.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 22px;
    border-radius: 35px;
    font-weight: 900;
    transition: 0.25s ease;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.btn-map {
    background: #111111;
    color: #ffffff;
}

.btn-whatsapp:hover,
.btn-map:hover {
    transform: translateY(-3px);
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    left: 18px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-float a {
    background: #25d366;
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transition: 0.25s ease;
}

.whatsapp-float a:hover {
    transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .branches-container {
        grid-template-columns: 1fr;
    }

    .branches-hero h1 {
        font-size: 42px;
    }

    .section-title h2 {
        font-size: 34px;
    }
}

@media (max-width: 600px) {
    .branches-hero {
        min-height: 300px;
        padding: 60px 18px;
    }

    .branches-hero h1 {
        font-size: 32px;
    }

    .branches-hero p,
    .section-title p {
        font-size: 16px;
    }

    .branches-section {
        padding: 55px 16px 70px;
    }

    .branch-card {
        padding: 30px 24px;
    }

    .branch-top {
        align-items: flex-start;
    }

    .branch-top h3 {
        font-size: 24px;
    }

    .branch-actions {
        flex-direction: column;
    }

    .btn-whatsapp,
    .btn-map {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        left: 10px;
        bottom: 10px;
    }

    .whatsapp-float a {
        padding: 11px 15px;
        font-size: 14px;
    }
}