/* =========================================================
   bwa-geo — Geographic Section
   BEM scoped, no global resets
   ========================================================= */

/* --- Animations (data-anim standard BWA) --- */

.bwa-geo [data-anim] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bwa-geo [data-anim="left"]  { transform: translate3d(-32px, 0, 0); }
.bwa-geo [data-anim="right"] { transform: translate3d(32px, 0, 0); }
.bwa-geo [data-anim="up"]    { transform: translate3d(0, 24px, 0); }

.bwa-geo.is-inview [data-anim] {
    opacity: 1;
    transform: none;
}

/* --- Root --- */

.bwa-geo {
    padding: 5rem 0;
    background: transparent;
}

/* --- Container --- */

.bwa-geo__container {
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Grid layout --- */

.bwa-geo__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .bwa-geo__grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* --- Content section (left) --- */

.bwa-geo__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- Label badge --- */

.bwa-geo__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(15 90% 55%);
    padding: 0.5rem 1rem;
    background: hsl(15 90% 55% / 0.1);
    border-radius: 9999px;
    width: fit-content;
}

/* --- Title --- */

.bwa-geo__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: hsl(215 35% 15%);
    margin: 0;
}

@media (max-width: 768px) {
    .bwa-geo__title {
        font-size: 1.5rem;
    }
}

/* --- Lead (bold subtitle) --- */

.bwa-geo__lead {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.6;
    color: hsl(215 35% 15%);
    margin: 0;
}

/* --- Body text --- */

.bwa-geo__text {
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(215 20% 45%);
    margin: 0;
}

/* --- City chips container --- */

.bwa-geo__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* --- City chip --- */

.bwa-geo__city-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(220 25% 15%);
    border-radius: 9999px;
    background: hsl(215 40% 94%);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bwa-geo__city-chip:hover {
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
    color: #ffffff;
}

/* --- CTA link --- */

.bwa-geo__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(15 90% 55%);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.bwa-geo__cta:hover {
    text-decoration: underline;
    gap: 0.75rem;
}

.bwa-geo__cta-wrap {
    margin-top: 1.5rem;
}

.bwa-geo__cta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* --- Map section (right) --- */

.bwa-geo__map-section {
    width: 100%;
}

/* --- Map container --- */

.bwa-geo__map-container {
    position: relative;
    border-radius: 1rem;
}

/* --- Map image --- */

.bwa-geo__map-image {
    width: 100%;
    height: auto !important;
    display: block;
}

/* --- Map placeholder --- */

.bwa-geo__map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: #9ca3af;
    background: #f3f4f6;
}

/* --- Markers --- */

.bwa-geo__marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transform: translate(-50%, -50%);
}

/* --- Marker label --- */

.bwa-geo__marker-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e3a8a;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* --- Marker dot --- */

.bwa-geo__marker-dot-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bwa-geo__marker-dot {
    display: block;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #f97316);
    width: 0.625rem;
    height: 0.625rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.bwa-geo__marker--main .bwa-geo__marker-dot {
    width: 1rem;
    height: 1rem;
}

/* --- Marker ping animation --- */

.bwa-geo__marker-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.3);
    width: 1rem;
    height: 1rem;
    animation: bwa-geo-ping 1.5s ease-in-out infinite;
}

@keyframes bwa-geo-ping {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* --- Responsive adjustments --- */

@media (max-width: 768px) {
    .bwa-geo {
        padding: 3rem 0;
    }

    .bwa-geo__grid {
        gap: 2rem;
    }

    .bwa-geo__title {
        font-size: 1.5rem;
    }

    .bwa-geo__lead {
        font-size: 1rem;
    }

    .bwa-geo__marker-label {
        display: none;
    }
}


@media (min-width: 1024px) and (max-width: 1439px) {
    .bwa-geo__container {
        padding-inline: 2rem;
    }
}