/* ── CONTACTS PAGE STYLING ────────────────────────── */
:root {
    --dark:      #1e2035;
    --primary:   #2A2F5B;
    --primary-light: #3a4180;
    --accent:    #ffda00;
    --accent-hover: #ffe333;
    --text:      #1a1d2e;
    --text-muted: #6b7280;
    --bg:        #f5f6fa;
    --surface:   #ffffff;
    --border:    #e5e7ef;
    --radius:    16px;
    --shadow:    0 4px 20px rgba(42,47,91,0.08);
    --shadow-hover: 0 12px 36px rgba(42,47,91,0.16);
    --green-wa:  #25D366;
}

/* ── HERO BANNER ────────────────────────── */
.cnt-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a1f45 60%, #0d1030 100%);
    padding: 3.5rem 1.5rem 3.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cnt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,218,0,0.12);
    border: 1px solid rgba(255,218,0,0.3);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.cnt-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
}
.cnt-hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── MAIN CONTAINER ────────────────────────── */
.cnt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

/* ── MAP & QUICK CONTACTS SECTION ────────────────────────── */
.cnt-map-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.cnt-map-header {
    background: linear-gradient(135deg, #f8f9fe 0%, #edf1fd 100%);
    padding: 1.2rem 1.8rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cnt-map-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#map {
    width: 100%;
    height: 480px;
    z-index: 1;
}

/* Custom Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}
.leaflet-popup-content {
    margin: 12px 14px;
    font-family: inherit;
}
.cnt-pop-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.cnt-pop-schedule {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.cnt-pop-btn {
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── FILIALS CARDS GRID ────────────────────────── */
.cnt-section-header {
    margin-bottom: 1.8rem;
}
.cnt-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.cnt-section-sub {
    font-size: 14.5px;
    color: var(--text-muted);
}

.cnt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.cnt-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cnt-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(42,47,91,0.2);
}

.cnt-card-badge {
    display: inline-block;
    background: rgba(42,47,91,0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.cnt-card-badge.badge-shop {
    background: rgba(255,218,0,0.2);
    color: #997a00;
}

.cnt-card-name {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.cnt-card-info {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.cnt-card-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.4rem;
}

.cnt-card-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.7rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

.cnt-btn {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.cnt-btn-map {
    background: var(--primary);
    color: #ffffff !important;
    border: none;
}
.cnt-btn-map:hover {
    background: var(--primary-light);
}

.cnt-btn-2gis {
    background: #eef2ff;
    color: var(--primary) !important;
}
.cnt-btn-2gis:hover {
    background: #dbe4ff;
}

.cnt-btn-wa {
    background: #25D366;
    color: #ffffff !important;
    font-weight: 700;
}
.cnt-btn-wa:hover {
    background: #20bd5a;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

/* ── CONTACT INFO & SOCIALS CARDS ────────────────────────── */
.cnt-info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.cnt-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, #1a1f45 100%);
    color: #ffffff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.cnt-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cnt-info-link {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;

}

.cnt-info-link:hover {
    color: var(--accent);
}

.cnt-social-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.cnt-social-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.2rem;
}

.cnt-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.8rem;
}

.cnt-social-btn {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cnt-social-btn:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
    #map {
        height: 360px;
    }
    .cnt-hero {
        padding: 1.8rem 1rem 1.8rem;
    }
    .cnt-hero-badge {
        margin-bottom: 0.75rem;
        font-size: 11px;
        padding: 4px 12px;
    }
    .cnt-hero h1 {
        font-size: clamp(1.4rem, 5vw, 1.85rem);
        margin-bottom: 0.5rem;
    }
    .cnt-hero-subtitle {
        font-size: 13.5px;
        line-height: 1.45;
    }
    .cnt-container {
        padding: 1.5rem 1rem 3rem;
    }
    .cnt-grid {
        grid-template-columns: 1fr;
    }
}
