.branches-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/branches_hero.webp');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.branches-hero h1 {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.branch-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.branch-card:hover {
    transform: translateY(-10px);
}

.branch-info {
    padding: 30px;
}

.branch-info h2 {
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-size: 24px;
}

.branch-info p {
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.6;
}

.branch-info i {
    width: 25px;
    color: var(--primary-gold);
}

.franchise-section {
    background: #fdf8f0;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 80px;
    border: 1px solid #eee;
}

.franchise-section h2 {
    text-align: center;
    color: var(--dark-brown);
    font-size: 32px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 800;
}

.terms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .terms-grid {
        grid-template-columns: 1fr;
    }

    .branch-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .branches-hero {
        height: 200px !important;
    }

    .branches-hero h1 {
        font-size: 32px !important;
    }

    .franchise-section {
        padding: 30px 20px !important;
    }

    .franchise-section h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .contact-box a {
        display: block;
        margin: 10px 0 !important;
    }

    .branch-info h2 {
        font-size: 20px !important;
    }

    .main-header {
        justify-content: center !important;
    }
}

.term-item h4 {
    color: var(--primary-gold);
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-box {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed #ddd;
}

.contact-box a {
    color: var(--dark-brown);
    font-weight: 700;
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
}

.contact-box i {
    color: var(--primary-gold);
    margin-right: 8px;
}