/* =========================================================
   Locations – Matches Privacy Policy Design System
   :root --brand (#841a78)  |  --accent (#E0C5DD)
   ========================================================= */

/* ─── Container ─── */
.lc-container {
    width: 100%;
    max-width: 68rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) {
    .lc-container { padding: 0 2rem; }
}

/* ─── Page Shell ─── */
.lc-page {
    background: #fdfbfc;
    overflow-x: hidden;
}

/* =========================================================
   1. HERO – Rounded card with gradient + particles (PP style)
   ========================================================= */
.lc-hero {
    position: relative;
    margin: 1rem .75rem 0;
    border-radius: 28px;
    min-height: 34vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(132,26,120,.20),
        0 8px 24px rgba(0,0,0,.10);
}

@media (min-width: 768px) {
    .lc-hero {
        margin: 1.25rem 1.5rem 0;
        border-radius: 36px;
        min-height: 36vh;
        box-shadow:
            0 40px 100px rgba(132,26,120,.22),
            0 12px 32px rgba(0,0,0,.08);
    }
}

@media (min-width: 1024px) {
    .lc-hero {
        margin: 1.5rem 2rem 0;
        min-height: 34vh;
    }
}

/* Background */
.lc-hero__bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse 130% 90% at 50% 15%,
            color-mix(in srgb, var(--accent) 30%, var(--brand)),
            var(--brand) 65%,
            color-mix(in srgb, var(--brand) 85%, #1a0520) 100%);
    z-index: 0;
}

/* Floating orbs */
.lc-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    will-change: transform;
}
.lc-hero__orb--1 {
    width: 280px; height: 280px;
    top: -60px; left: -40px;
    background: color-mix(in srgb, var(--accent) 22%, transparent);
    animation: lcOrb1 8s ease-in-out infinite;
}
.lc-hero__orb--2 {
    width: 200px; height: 200px;
    bottom: -30px; right: -30px;
    background: rgba(255,255,255,.06);
    animation: lcOrb2 10s ease-in-out infinite;
}

@keyframes lcOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 18px) scale(1.08); }
}
@keyframes lcOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -15px) scale(1.1); }
}

/* Particles */
.lc-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.lc-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    animation: lcFloat linear infinite;
    will-change: transform;
}

@keyframes lcFloat {
    0%   { transform: translateY(0) scale(1); }
    50%  { transform: translateY(-35px) scale(1.3); }
    100% { transform: translateY(0) scale(1); }
}

/* Content */
.lc-hero__content {
    position: relative;
    z-index: 2;
    padding: 4rem 1.5rem 2.5rem;
    max-width: 42rem;
}
@media (min-width: 768px) {
    .lc-hero__content {
        padding: 4.5rem 2rem 3rem;
    }
}

/* Badge */
.lc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    padding: .5rem 1.25rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    animation: lcBadgeIn .8s ease .3s both;
}

@keyframes lcBadgeIn {
    from { opacity: 0; transform: translateY(14px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Title */
.lc-hero__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0 0 1rem;
    text-shadow: 0 4px 40px rgba(0,0,0,.28);
    animation: lcTitleIn 1s cubic-bezier(.16,1,.3,1) .5s both;
}

@keyframes lcTitleIn {
    from { opacity: 0; transform: translateY(32px) scale(.95); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Tagline */
.lc-hero__tagline {
    margin: 0 auto;
    font-size: clamp(.9rem, 1.8vw, 1.05rem);
    color: rgba(255,255,255,.84);
    line-height: 1.8;
    animation: lcTagIn .8s ease .9s both;
}

@keyframes lcTagIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   2. CITY TABS
   ========================================================= */
.lc-tabs {
    display: flex;
    gap: 8px;
    padding: 2rem 0 .5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lc-tabs::-webkit-scrollbar { display: none; }

.lc-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(132,26,120,.08);
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(30,41,59,.55);
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
    transition: all .25s ease;
}

.lc-tab i { font-size: .7rem; }

.lc-tab:hover {
    border-color: rgba(132,26,120,.16);
    color: var(--brand);
    background: rgba(255,255,255,.92);
    box-shadow: 0 4px 16px rgba(132,26,120,.08);
}

.lc-tab--active {
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 28%, transparent);
}

.lc-tab--active:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
}

/* ─── View Bar (toggle + count) ─── */
.lc-view-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0 1.25rem;
    flex-wrap: wrap;
}

/* ─── Count ─── */
.lc-count {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(30,41,59,.4);
    letter-spacing: .03em;
}

.lc-count span {
    color: var(--brand);
    font-weight: 900;
}

/* =========================================================
   3. GRID
   ========================================================= */
.lc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .lc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   4. BRANCH CARDS – PP section card style
   ========================================================= */
.lc-card {
    position: relative;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(132,26,120,.06);
    box-shadow:
        0 16px 44px rgba(132,26,120,.06),
        0 4px 12px rgba(0,0,0,.03),
        0 1px 0 rgba(255,255,255,.85) inset;
    overflow: hidden;
    padding: 1.5rem 1.5rem 1.25rem 5rem;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[dir="rtl"] .lc-card {
    padding: 1.5rem 5rem 1.25rem 1.5rem;
}

.lc-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    opacity: 0;
    transition: opacity .3s ease;
}

.lc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(132,26,120,.12);
    box-shadow:
        0 24px 60px rgba(132,26,120,.10),
        0 8px 20px rgba(0,0,0,.04),
        0 1px 0 rgba(255,255,255,.85) inset;
}

.lc-card:hover::before {
    opacity: 1;
}

/* Shimmer */
.lc-card__shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.3) 42%, transparent 58%);
    transform: translateX(-140%);
    transition: transform .75s cubic-bezier(.2,.8,.2,1);
    pointer-events: none;
    border-radius: 22px;
    z-index: 0;
}
.lc-card:hover .lc-card__shimmer {
    transform: translateX(140%);
}

/* Step number */
.lc-card__number {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: color-mix(in srgb, var(--accent) 50%, transparent);
    letter-spacing: -.02em;
    z-index: 1;
    pointer-events: none;
    transition: color .3s ease;
}

[dir="rtl"] .lc-card__number {
    left: auto;
    right: 1.25rem;
}

.lc-card:hover .lc-card__number {
    color: color-mix(in srgb, var(--brand) 25%, transparent);
}

/* ─── Card Header ─── */
.lc-card__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Icon */
.lc-card__icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: .95rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
    box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 22%, transparent);
    transition: transform .3s ease, box-shadow .3s ease;
}

.lc-card:hover .lc-card__icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 30%, transparent);
}

/* Title */
.lc-card__title-wrap {
    flex: 1;
    min-width: 0;
}

.lc-card__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand);
    margin: 0;
    letter-spacing: -.01em;
    line-height: 1.3;
}

/* Tags */
.lc-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.lc-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 700;
    border: 1px solid rgba(132,26,120,.08);
    background: color-mix(in srgb, var(--accent) 20%, #fff);
    color: var(--brand);
}

.lc-tag i { font-size: .55rem; }

.lc-tag--primary {
    background: color-mix(in srgb, var(--brand) 8%, #fff);
    border-color: color-mix(in srgb, var(--brand) 18%, #fff);
}

.lc-tag--accent {
    background: color-mix(in srgb, var(--accent) 30%, #fff);
    border-color: color-mix(in srgb, var(--accent) 50%, #fff);
}

/* ─── Details Rows ─── */
.lc-card__details {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lc-card__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .82rem;
    line-height: 1.6;
    color: rgba(30,41,59,.78);
}

.lc-card__row-icon {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    margin-top: 3px;
    font-size: .7rem;
    color: var(--brand);
    opacity: .6;
}

/* Link */
.lc-link {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(132,26,120,.25);
    transition: color .2s, border-color .2s;
}

.lc-link:hover {
    color: color-mix(in srgb, var(--brand) 65%, var(--accent));
    border-bottom-color: color-mix(in srgb, var(--brand) 65%, var(--accent));
}

/* ─── Actions ─── */
.lc-card__actions {
    position: relative;
    z-index: 1;
    padding-top: 4px;
}

.lc-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
    box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 22%, transparent);
    text-decoration: none;
    transition: all .25s ease;
}

.lc-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 30%, transparent);
}

.lc-card__btn i { font-size: .7rem; }

/* ─── Empty State ─── */
.lc-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: rgba(30,41,59,.4);
    font-size: .9rem;
}

/* =========================================================
   5. SCROLL REVEAL (same as PP)
   ========================================================= */
.lc-reveal {
    opacity: 0;
    transform: translateY(30px) scale(.98);
    transition:
        opacity .65s cubic-bezier(.16,1,.3,1),
        transform .65s cubic-bezier(.16,1,.3,1);
    transition-delay: var(--reveal-delay, 0ms);
}
.lc-reveal.lc-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =========================================================
   6. RESPONSIVE
   ========================================================= */
@media (max-width: 767px) {
    .lc-hero {
        min-height: 30vh;
        margin: .5rem .5rem 0;
        border-radius: 22px;
    }
    .lc-hero__content {
        padding: 3rem 1rem 2rem;
    }
    .lc-card {
        padding: 3rem 1.25rem 1.25rem 1.25rem;
    }
    [dir="rtl"] .lc-card {
        padding: 3rem 1.25rem 1.25rem 1.25rem;
    }
    .lc-card__number {
        top: .75rem;
        left: 1rem;
        font-size: 1.6rem;
    }
    [dir="rtl"] .lc-card__number {
        left: auto;
        right: 1rem;
    }
    .lc-card__icon {
        width: 38px; height: 38px;
        border-radius: 12px;
        font-size: .85rem;
    }
    .lc-card__name { font-size: .9rem; }
    .lc-card__row { font-size: .78rem; }

    .lc-tab { padding: 7px 14px; font-size: .72rem; }
    .lc-tab i { font-size: .65rem; }
}

/* =========================================================
   7. VIEW TOGGLE
   ========================================================= */
.lc-toggle {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(132,26,120,.08);
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
    overflow: hidden;
}

.lc-toggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: none;
    background: transparent;
    color: rgba(30,41,59,.55);
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .25s ease;
    border-radius: 999px;
}

.lc-toggle__btn i { font-size: .72rem; }

.lc-toggle__btn:hover {
    color: var(--brand);
    background: rgba(132,26,120,.04);
}

.lc-toggle__btn--active {
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
    color: #fff;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 22%, transparent);
}

.lc-toggle__btn--active:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
}

/* =========================================================
   8. MAP CONTAINER
   ========================================================= */
.lc-map-wrap {
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(132,26,120,.06);
    box-shadow:
        0 16px 44px rgba(132,26,120,.06),
        0 4px 12px rgba(0,0,0,.03),
        0 1px 0 rgba(255,255,255,.85) inset;
    overflow: hidden;
    padding: 6px;
}

.lc-map {
    width: 100%;
    height: 520px;
    border-radius: 18px;
    z-index: 1;
}

/* =========================================================
   9. CUSTOM MAP MARKERS
   ========================================================= */
.lc-marker {
    background: none !important;
    border: none !important;
}

.lc-marker__pin {
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
    box-shadow:
        0 6px 20px color-mix(in srgb, var(--brand) 35%, transparent),
        0 2px 6px rgba(0,0,0,.12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.lc-marker__pin i {
    color: #fff;
    font-size: .85rem;
    transform: rotate(45deg);
}

.lc-marker__pin:hover {
    transform: rotate(-45deg) scale(1.12);
    box-shadow:
        0 10px 28px color-mix(in srgb, var(--brand) 45%, transparent),
        0 3px 8px rgba(0,0,0,.15);
}

/* =========================================================
   10. MAP POPUPS – Glassmorphism style
   ========================================================= */
.lc-popup-wrap .leaflet-popup-content-wrapper {
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(132,26,120,.08);
    box-shadow:
        0 16px 44px rgba(132,26,120,.10),
        0 4px 12px rgba(0,0,0,.05),
        0 1px 0 rgba(255,255,255,.85) inset;
    padding: 0;
}

.lc-popup-wrap .leaflet-popup-content {
    margin: 0;
    width: auto !important;
}

.lc-popup-wrap .leaflet-popup-tip {
    background: rgba(255,255,255,.92);
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.lc-popup-wrap .leaflet-popup-close-button {
    top: 10px !important;
    right: 10px !important;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: 800;
    color: rgba(30,41,59,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, background .2s;
}

.lc-popup-wrap .leaflet-popup-close-button:hover {
    color: var(--brand);
    background: rgba(132,26,120,.06);
}

/* Popup content */
.lc-popup {
    padding: 1.25rem 1.35rem 1rem;
    min-width: 220px;
}

.lc-popup__name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand);
    margin: 0 0 .75rem;
    line-height: 1.3;
    letter-spacing: -.01em;
    padding-right: 20px;
}

.lc-popup__row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    font-size: .78rem;
    line-height: 1.55;
    color: rgba(30,41,59,.75);
}

.lc-popup__row i {
    flex-shrink: 0;
    width: 14px;
    text-align: center;
    margin-top: 2px;
    font-size: .65rem;
    color: var(--brand);
    opacity: .6;
}

.lc-popup__row a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(132,26,120,.25);
    transition: color .2s, border-color .2s;
}

.lc-popup__row a:hover {
    color: color-mix(in srgb, var(--brand) 65%, var(--accent));
    border-bottom-color: color-mix(in srgb, var(--brand) 65%, var(--accent));
}

.lc-popup__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, var(--accent)));
    box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 22%, transparent);
    text-decoration: none;
    transition: all .25s ease;
}

.lc-popup__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 30%, transparent);
}

.lc-popup__btn i { font-size: .65rem; }

/* Leaflet control overrides */
.lc-map-wrap .leaflet-control-zoom a {
    border-radius: 10px;
    border: 1px solid rgba(132,26,120,.08);
    color: var(--brand);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.lc-map-wrap .leaflet-control-zoom a:hover {
    background: color-mix(in srgb, var(--accent) 25%, #fff);
    color: var(--brand);
}

.lc-map-wrap .leaflet-control-zoom {
    border: none;
    box-shadow: none;
    border-radius: 12px;
    overflow: hidden;
}

/* =========================================================
   11. RTL SUPPORT (Map additions)
   ========================================================= */
[dir="rtl"] .lc-popup__name {
    padding-right: 0;
    padding-left: 20px;
}

[dir="rtl"] .lc-popup-wrap .leaflet-popup-close-button {
    right: auto !important;
    left: 10px !important;
}

/* =========================================================
   12. RESPONSIVE (Map additions)
   ========================================================= */
@media (max-width: 1023px) {
    .lc-map { height: 450px; }
}

@media (max-width: 767px) {
    .lc-map { height: 360px; }

    .lc-map-wrap {
        border-radius: 18px;
        padding: 4px;
    }

    .lc-map { border-radius: 15px; }

    .lc-view-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .lc-toggle__btn {
        padding: 7px 14px;
        font-size: .72rem;
    }

    .lc-toggle__btn i { font-size: .65rem; }

    .lc-popup { padding: 1rem 1.1rem .85rem; min-width: 200px; }
    .lc-popup__name { font-size: .9rem; }
    .lc-popup__row { font-size: .72rem; }
    .lc-popup__btn { font-size: .68rem; padding: 6px 14px; }
}

/* =========================================================
   13. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .lc-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .lc-particle,
    .lc-hero__orb,
    .lc-hero__badge,
    .lc-hero__title,
    .lc-hero__tagline {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .lc-card__shimmer { display: none !important; }
    .lc-marker__pin { transition: none !important; }
    .lc-toggle__btn { transition: none !important; }
}
