* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f1ea;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

.contact-header {
    text-align: center;
    padding: 50px 0 20px;
}

.contact-header h1 {
    font-size: 28px;
    color: #2f2f2f;
}

.contact-header p {
    color: #777;
    margin-top: 8px;
    font-size: 14px;
}

/* Filters */
.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 25px 0 30px;
}

select, input {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
}

/* Cards */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.branch-card {
    background: white;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.4s forwards;
    transition: 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
}

.branch-card h3 {
    color: #9c7b45;
    font-size: 16px;
    margin-bottom: 6px;
}

.branch-card p {
    font-size: 13px;
    margin-bottom: 5px;
}

/* Map */
.map-container {
    margin: 35px 0 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Animation */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Improvements */
@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 22px;
    }

    .branch-card {
        padding: 14px;
    }

    .branch-card h3 {
        font-size: 15px;
    }

    .branch-card p {
        font-size: 12px;
    }
}

.back-btn {
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 8px 14px;
    background: #9c7b45;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.back-btn:hover {
    background: #7d6237;
}

/* Mobile full width */
@media (max-width: 480px) {
    .back-btn {
        width: 100%;
        padding: 10px;
        font-size: 15px;
    }
}
