/* ===================================
   HERO
=================================== */

.branches-hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right,
            rgba(20, 184, 166, .15),
            transparent 35%),
        radial-gradient(circle at bottom left,
            rgba(245, 158, 11, .08),
            transparent 30%),
        linear-gradient(180deg, #f8fafc, #ffffff);
}

.hero-center {
    max-width: 850px;
    margin: auto;
}

.hero-badge {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 50px;
    background: rgba(20, 184, 166, .1);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 25px;
}

.branches-hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 25px;
}

.branches-hero h1 span {
    color: var(--secondary);
}

.branches-hero p {
    max-width: 700px;
    margin: auto;
    color: var(--text);
    font-size: 1.15rem;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===================================
   STATS
=================================== */

.branch-stats {
    padding: 0 0 120px;
    margin-top: -40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
    transition: .4s;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text);
}

/* ===================================
   SECTION HEADING
=================================== */

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

.section-heading span {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 50px;
    background: rgba(20, 184, 166, .1);
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    margin-bottom: 15px;
}

.section-heading p {
    max-width: 650px;
    margin: auto;
    color: var(--text);
}

/* ===================================
   BRANCH GRID
=================================== */

.branches-section {
    padding: 120px 0;
    background: #fff;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.branch-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
    transition: .4s;
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(20, 184, 166, .08);
    border-radius: 50%;
    right: -50px;
    top: -50px;
}

.branch-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, .12);
}

.branch-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg,
            var(--primary),
            var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.branch-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.branch-card p {
    color: var(--text);
    margin-bottom: 20px;
}

.branch-card a {
    color: var(--primary);
    font-weight: 700;
}

/* ===================================
   WHY VISIT
=================================== */

.why-visit {
    padding: 120px 0;
    background: #f8fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
    transition: .4s;
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-card h3 {
    margin: 20px 0 12px;
}

.why-card p {
    color: var(--text);
}

/* ===================================
   CTA
=================================== */

.branches-cta {
    padding: 120px 0;
}

.cta-box {
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));

    padding: 90px;
    text-align: center;
    border-radius: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.cta-box span {
    display: inline-block;
    padding: 12px 22px;
    background: rgba(255, 255, 255, .15);
    border-radius: 50px;
    margin-bottom: 25px;
}

.cta-box h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    max-width: 900px;
    margin: auto auto 30px;
}

/* ===================================
   REVEAL ANIMATION
=================================== */

.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:992px) {

    .stats-grid,
    .branches-grid,
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:768px) {

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid,
    .branches-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 60px 30px;
    }
}