:root {
    --terracotta: #C76F46;
    --gold: #D4A24E;
    --burgundy: #722F37;
    --navy: #1E2538;
    --base: #FFFDFA
}

html {
    scroll-behavior: smooth
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--gold);
    color: var(--navy);
    padding: .6rem 1rem;
    z-index: 100
}

.skip-link:focus {
    left: 0
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px
}

.img-fallback {
    background: linear-gradient(135deg, #C76F46, #D4A24E 55%, #722F37)
}

.field {
    display: block;
    width: 100%;
    margin-top: .35rem;
    padding: .8rem 1rem;
    border: 1px solid #C5CCDB;
    border-radius: .5rem;
    background: #fff;
    font-weight: 400
}

.field:focus {
    border-color: var(--terracotta);
    outline: none;
    box-shadow: 0 0 0 3px rgba(199, 111, 70, .25)
}

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(30, 37, 56, .75);
    backdrop-filter: blur(4px)
}

.popup-overlay[hidden] {
    display: none
}

.popup-card {
    position: relative;
    width: 100%;
    max-width: 26rem;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    animation: pop .35s ease
}

@keyframes pop {
    from {
        transform: translateY(24px) scale(.96);
        opacity: 0
    }

    to {
        transform: none;
        opacity: 1
    }
}

.marquee {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll 28s linear infinite
}

@keyframes scroll {
    to {
        transform: translateX(-50%)
    }
}

.float {
    animation: float 6s ease-in-out infinite
}

@keyframes float {
    50% {
        transform: translateY(-14px)
    }
}

.chip.active {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy)
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }
}

.dots {
    background-image: radial-gradient(rgba(212, 162, 78, .18) 1.5px, transparent 1.5px);
    background-size: 26px 26px
}

.form-msg {
    padding: .9rem 1rem;
    border-radius: .5rem;
    font-weight: 600;
    font-size: .9rem
}

.form-msg.ok {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #86efac
}

.form-msg.err {
    background: #fef2f2;
    color: #722F37;
    border: 1px solid #fca5a5
}

.form-msg[hidden] {
    display: none
}

button:disabled {
    opacity: .7;
    cursor: wait
}

/* ===== Compact locations grid (6 cities) ===== */
.loc-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .loc-grid-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.9rem;
    }
}

/* ===== Compact locations grid (6 cities) - CENTERED ===== */
.loc-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .loc-grid-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

.loc-card--compact {
    padding: 1.5rem 1rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Icon aur text ko horizontally center karega */
    justify-content: center; /* Vertically center karega */
    text-align: center; /* Text ko center align karega */
    gap: 0.5rem;
}

.loc-card--compact .loc-pin {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loc-card--compact h3 {
    font-size: 1rem;
    line-height: 1.25;
    margin: 0;
    letter-spacing: 0.02em;
}