/* ===== CSS RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

:root {
    --primary: #F6C84C;
    --primary-dark: #E5B12E;
    --primary-light: #FFE17C;
    --primary-soft: rgba(246, 200, 76, 0.15);
    --primary-glow: 0 0 20px rgba(246, 200, 76, 0.3);
    
    --bg-dark: #0A0A0A;
    --bg-card: #141414;
    --bg-hover: #1E1E1E;
    --bg-input: #1C1C1C;
    
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #AAAAAA;
    --text-gold: #F6C84C;
    
    --border-light: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(246, 200, 76, 0.3);
    
    --success: #2ECC71;
    --warning: #F39C12;
    --danger: #E74C3C;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.5);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.6);
    --shadow-gold: 0 4px 12px rgba(246, 200, 76, 0.2);
    --shadow-glow: 0 0 30px rgba(246, 200, 76, 0.2);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    --transition-flip: 0.4s ease-in-out;
    
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ===== LANDING SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.heroVideo, .heroImg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
    transition: opacity 1.5s ease;
}

.heroVideo { 
    opacity: 1;
    z-index: 1;
}

.heroImg {
    opacity: 0;
    z-index: 0;
}

.heroOverlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
}

h1 {
    color: #F6C84C;
    font-size: clamp(28px, 8vw, 46px);
    margin-bottom: 8px;
    line-height: 1.2;
}

.tagline {
    opacity: .9;
    margin-bottom: 18px;
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.4;
    max-width: 90%;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    justify-content: center;
    max-width: 320px;
}

.features div {
    background: rgba(0,0,0,.55);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(246, 200, 76, 0.2);
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.subtext {
    margin-top: 16px;
    font-size: 11px;
    opacity: .8;
    max-width: 320px;
    line-height: 1.5;
}

/* AI CTA Button */
.aiBtn {
    position: relative;
    padding: 14px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    background: #F6C84C;
    color: #000;
    border: none;
    overflow: visible;
    animation: blinkFill 5s ease-in-out infinite;
    margin: 8px 0;
    min-width: 200px;
    transition: transform 0.2s ease;
}

.aiBtn:hover {
    transform: scale(1.05);
}

.aiBtn:active {
    transform: scale(0.96);
}

.aiBtn span {
    position: relative;
    z-index: 3;
}

.aiBtn::before {
    content: "";
    position: absolute;
    top: -1.5px;
    left: -1.5px;
    right: -1.5px;
    bottom: -1.5px;
    border-radius: 32px;
    background: linear-gradient(
        120deg,
        #ff0000,
        #ff7f00,
        #ffff00,
        #00ff00,
        #00ffff,
        #0000ff,
        #8b00ff
    );
    background-size: 300% 300%;
    animation: aiBorderMove 8s linear infinite;
    filter: drop-shadow(0 2px 6px rgba(255, 80, 80, 0.25))
            drop-shadow(0 6px 14px rgba(0, 200, 255, 0.22))
            drop-shadow(0 12px 28px rgba(138, 43, 226, 0.30));
    z-index: -1;
}

@keyframes blinkFill {
    0%, 45% {
        background: #000;
        color: #F6C84C;
    }
    55% {
        background: #F6C84C;
        color: #000;
    }
    100% {
        background: #000;
        color: #F6C84C;
    }
}

@keyframes aiBorderMove {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ===== BOOKING SECTION ===== */
#booking-form {
    padding: 1.2rem 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 2rem;
    }
}

/* ===== PANELS ===== */
.services-panel, .booking-panel {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

/* ===== CITY SECTION ===== */
.city-section {
    position: relative;
    z-index: 8;
    margin-top: -0.1rem;
    margin-bottom: 1rem;
    padding: 1rem 1rem 0.95rem;
    border: 1px solid rgba(246, 200, 76, 0.16);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(246, 200, 76, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(14px);
    transition:
        padding 1.55s cubic-bezier(0.22, 1, 0.36, 1),
        margin 1.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 1.55s ease,
        background 1.55s ease,
        box-shadow 1.55s ease,
        transform 1.55s cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: top center;
}

.city-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    transition: gap 1.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.city-selector > * {
    min-width: 0;
}

#cityDropdown, #vehicleTypeDropdown, #otherCityInput {
    width: 100%;
    padding: 0.82rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    text-align: left;
    text-align-last: left;
    color: var(--text-primary);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
        rgba(34, 34, 34, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(184, 132, 12, 0.12),
        0 10px 22px rgba(0, 0, 0, 0.22),
        0 8px 18px rgba(122, 84, 8, 0.26),
        0 0 16px rgba(246, 200, 76, 0.16),
        0 0 10px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

#cityDropdown {
    flex: 0 0 26%;
}

#vehicleTypeDropdown {
    flex: 0 0 42%;
}

#otherCityInput {
    flex: 1 1 32%;
}

#cityDropdown, #vehicleTypeDropdown {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23F6C84C'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
}

#cityDropdown:hover, #vehicleTypeDropdown:hover, #otherCityInput:hover {
    border-color: rgba(255, 245, 196, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 0 1px rgba(246, 200, 76, 0.12),
        0 14px 32px rgba(0, 0, 0, 0.26),
        0 0 30px rgba(246, 200, 76, 0.2),
        0 12px 26px rgba(122, 84, 8, 0.3),
        0 0 14px rgba(255, 255, 255, 0.1);
}

#cityDropdown:focus, #vehicleTypeDropdown:focus, #otherCityInput:focus {
    border-color: rgba(255, 247, 205, 0.72);
    box-shadow:
        0 0 0 4px rgba(246, 200, 76, 0.14),
        0 16px 34px rgba(0, 0, 0, 0.28),
        0 0 34px rgba(246, 200, 76, 0.22),
        0 14px 30px rgba(122, 84, 8, 0.32),
        0 0 16px rgba(255, 255, 255, 0.12);
    outline: none;
}

/* ===== SECTION HEADER ===== */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin: 1rem 0 1rem;
    color: var(--text-gold);
}

body.city-selection-compact .city-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0.42rem;
    border-color: rgba(246, 200, 76, 0.14);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.82);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    z-index: 1;
}

body.city-selection-compact .city-selector {
    gap: 0.3rem;
}

body.city-selection-compact #cityDropdown,
body.city-selection-compact #vehicleTypeDropdown,
body.city-selection-compact #otherCityInput {
    min-height: 40px;
    padding: 0.52rem 0.78rem;
    font-size: 0.82rem;
    border-radius: 999px;
    border-width: 1px;
}

body.city-selection-compact #cityDropdown {
    background-position: right 0.75rem center;
    background-size: 0.95rem;
    flex: 0 0 26%;
}

body.city-selection-compact #vehicleTypeDropdown {
    background-position: right 0.75rem center;
    background-size: 0.95rem;
    flex: 0 0 42%;
}

body.city-selection-compact #otherCityInput {
    flex: 1 1 32%;
}

@media (max-width: 640px) {
    body.city-selection-compact .city-section {
        padding: 0.34rem;
    }

    body.city-selection-compact .city-selector {
        flex-wrap: wrap;
        gap: 0.38rem;
    }

    body.city-selection-compact #cityDropdown,
    body.city-selection-compact #vehicleTypeDropdown,
    body.city-selection-compact #otherCityInput {
        min-height: 38px;
        padding: 0.48rem 0.68rem;
        font-size: 0.78rem;
    }

    body.city-selection-compact #cityDropdown {
        flex: 1 1 100%;
        min-width: 100%;
    }

    body.city-selection-compact #vehicleTypeDropdown,
    body.city-selection-compact #otherCityInput {
        flex: 1 1 calc(50% - 0.19rem);
    }

}

.city-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 80;
    display: flex;
    justify-content: center;
    padding: max(0.45rem, env(safe-area-inset-top)) 0.8rem 0;
    pointer-events: none;
}

.city-topbar .city-section {
    width: min(94vw, 820px);
    margin: 0;
    padding: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 249, 219, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
        linear-gradient(135deg, rgba(255, 244, 196, 0.16), rgba(246, 200, 76, 0.14) 34%, rgba(255, 255, 255, 0.05) 60%, rgba(176, 116, 0, 0.1)),
        rgba(26, 26, 26, 0.96);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.38),
        0 12px 26px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 0 36px rgba(246, 200, 76, 0.28),
        0 18px 42px rgba(122, 84, 8, 0.38),
        0 0 64px rgba(176, 116, 0, 0.18),
        0 0 18px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(125%);
    pointer-events: auto;
    animation: topBarSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.city-topbar .city-section::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 245, 199, 0.5), rgba(255, 255, 255, 0.26), rgba(246, 200, 76, 0.62), rgba(176, 116, 0, 0.48));
    opacity: 0.7;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

#vehicleTypeDropdown.vehicle-type-prompt,
#locationPopupVehicleTypeSelect.vehicle-type-prompt {
    color: #111;
    font-weight: 700;
    border-color: rgba(255, 224, 115, 0.9);
    background:
        linear-gradient(180deg, rgba(255, 246, 199, 0.98), rgba(246, 200, 76, 0.94)),
        rgba(246, 200, 76, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.56),
        0 0 0 1px rgba(176, 116, 0, 0.18),
        0 14px 28px rgba(122, 84, 8, 0.3),
        0 0 24px rgba(246, 200, 76, 0.36);
}

@keyframes vehiclePromptBlink {
    0%, 100% {
        color: #111;
        transform: translateY(0);
        border-color: rgba(255, 224, 115, 0.9);
        background:
            linear-gradient(180deg, rgba(255, 246, 199, 0.98), rgba(246, 200, 76, 0.94)),
            rgba(246, 200, 76, 0.96);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.56),
            0 0 0 1px rgba(176, 116, 0, 0.18),
            0 14px 28px rgba(122, 84, 8, 0.3),
            0 0 24px rgba(246, 200, 76, 0.36);
    }
    50% {
        color: #f6c84c;
        transform: translateY(-1px);
        border-color: rgba(246, 200, 76, 0.56);
        background:
            linear-gradient(180deg, rgba(28, 28, 28, 0.98), rgba(12, 12, 12, 0.96)),
            rgba(14, 14, 14, 0.98);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 0 0 1px rgba(246, 200, 76, 0.18),
            0 18px 34px rgba(122, 84, 8, 0.36),
            0 0 30px rgba(246, 200, 76, 0.54),
            0 0 18px rgba(255, 255, 255, 0.08);
    }
}

body.city-topbar-mounted #landing {
    padding-top: 5.1rem;
}

body.city-topbar-mounted #booking-form {
    padding-top: 0.75rem;
}

@media (max-width: 640px) {
    .city-topbar {
        padding: max(0.35rem, env(safe-area-inset-top)) 0.45rem 0;
    }

    .city-topbar .city-section {
        width: calc(100vw - 0.9rem);
        padding: 0.35rem;
    }

    body.city-topbar-mounted #landing {
        padding-top: 4.65rem;
    }
}

.header-icon {
    font-size: 1.5rem;
}

.heroOverlay > * {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
}

body.app-ready .heroOverlay > * {
    animation: heroFadeRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.app-ready .heroOverlay h1 {
    animation-delay: 0.08s;
}

body.app-ready .heroOverlay .tagline {
    animation-delay: 0.18s;
}

body.app-ready .heroOverlay .features {
    animation-delay: 0.28s;
}

body.app-ready .heroOverlay .aiBtn {
    animation-delay: 0.38s;
}

body.app-ready .heroOverlay .subtext {
    animation-delay: 0.48s;
}

body.app-ready .services-panel,
body.app-ready .booking-panel {
    animation: panelRiseIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.app-ready .booking-panel {
    animation-delay: 0.12s;
}

.city-selector > * {
    animation: selectorSoftPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.city-selector > *:nth-child(1) {
    animation-delay: 0.05s;
}

.city-selector > *:nth-child(2) {
    animation-delay: 0.12s;
}

.city-selector > *:nth-child(3) {
    animation-delay: 0.19s;
}

@keyframes heroFadeRise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes panelRiseIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes topBarSlideIn {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes selectorSoftPop {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SERVICE CARDS GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact Card */
.service-card {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--bg-input);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: hidden;
    font-size: 13px;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.service-card.selected {
    border: 2px solid #F6C84C;
    box-shadow: var(--shadow-glow), var(--shadow-gold);
    transform: translateY(-3px);
    background: linear-gradient(160deg, rgba(246, 200, 76, 0.18), rgba(255, 255, 255, 0.05));
}

.service-card:active {
    transform: scale(0.98);
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-flip);
    transform-style: preserve-3d;
}

.service-card.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card.selected .service-card-inner {
    transform: rotateY(0deg);
}

.service-card-front, .service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.service-card-front {
    background: var(--bg-input);
    transform: rotateY(0deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
}

.service-card-front > div {
    flex: 1;
}

.service-card-back {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-input));
    transform: rotateY(180deg);
    border: 2px solid var(--primary-soft);
    overflow-y: auto;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.service-icon {
    font-size: 22px;
    background: var(--primary-soft);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.service-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    background: transparent;
    transition: var(--transition-fast);
    position: relative;
    cursor: pointer;
}

.service-checkbox:hover {
    border-color: var(--primary);
}

.service-card.selected .service-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card.selected .service-checkbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 10px;
    border-right: 2px solid var(--bg-dark);
    border-bottom: 2px solid var(--bg-dark);
    transform: translate(-50%, -58%) rotate(45deg);
}

.service-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-duration {
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0.25rem 0;
}

.service-back-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-back-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-back-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.5;
    flex: 1;
}

/* ===== INFO BUTTON - UPDATED STYLES ===== */
.info-btn {
    all: unset;
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #F6C84C;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(246, 200, 76, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;  
    flex-shrink: 0;
}

.info-btn:focus {
    outline: none;
    box-shadow: none;
}

.info-btn:hover {
    background: #F6C84C;
    color: #000;
    transform: scale(1.1);
}

.info-btn:active {
    transform: scale(0.92);
}

/* ===== INFO MODAL ===== */
.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.info-modal.show {
    display: flex;
}

.info-modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: scaleIn 0.3s ease;
    transform-origin: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.info-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-gold);
}

.info-modal-header h3 {
    color: var(--primary);
    font-size: 1.25rem;
}

.info-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-modal-close:hover {
    color: var(--danger);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.info-modal-body {
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    white-space: normal;
}

/* ===== TOTAL BOX ===== */
.total-box {
    background: linear-gradient(145deg, var(--bg-card), #1a1a1a);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.total-row.discount {
    color: #7ef0a4;
    font-weight: 600;
}

.total-row.discount i {
    color: #8cffb0;
}

.total-row.final {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--border-gold);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.firstbook-popup {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(10px);
}

.firstbook-card {
    position: relative;
    width: min(100%, 420px);
    overflow: hidden;
    border-radius: 28px;
    padding: 1.3rem;
    background:
        radial-gradient(circle at top, rgba(246, 200, 76, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(31, 27, 18, 0.98), rgba(16, 16, 16, 0.98));
    border: 1px solid rgba(246, 200, 76, 0.45);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.firstbook-sprinkles {
    pointer-events: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.firstbook-sprinkles span {
    position: absolute;
    top: -14%;
    width: 10px;
    height: 18px;
    border-radius: 999px;
    opacity: 0.85;
    animation: sprinkle-fall 2.6s linear infinite;
}

.firstbook-sprinkles span:nth-child(4n + 1) { background: #f6c84c; }
.firstbook-sprinkles span:nth-child(4n + 2) { background: #ff7a59; }
.firstbook-sprinkles span:nth-child(4n + 3) { background: #56e39f; }
.firstbook-sprinkles span:nth-child(4n + 4) { background: #60a5fa; }

.firstbook-header,
.firstbook-body,
.firstbook-actions {
    position: relative;
    z-index: 1;
}

.firstbook-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(246, 200, 76, 0.14);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.firstbook-title {
    margin: 0.9rem 0 0.45rem;
    color: #fff6d6;
    font-size: 1.45rem;
    line-height: 1.15;
}

.firstbook-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.firstbook-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1rem 0 1.15rem;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px dashed rgba(246, 200, 76, 0.55);
    background: rgba(246, 200, 76, 0.08);
}

.firstbook-code {
    display: block;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.firstbook-offer {
    display: block;
    margin-top: 0.18rem;
    color: #ffd96a;
    font-size: 0.92rem;
    font-weight: 600;
}

.firstbook-actions {
    display: flex;
    gap: 0.75rem;
}

.firstbook-btn {
    flex: 1;
    min-height: 48px;
    border: 1px solid rgba(246, 200, 76, 0.26);
    border-radius: 16px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.firstbook-btn:hover {
    transform: translateY(-1px);
}

.firstbook-btn.apply {
    color: #111;
    background: linear-gradient(135deg, #f6c84c, #ffd95e);
    box-shadow: 0 16px 30px rgba(246, 200, 76, 0.22);
}

.firstbook-btn.later {
    color: #f3f3f3;
    background: rgba(255, 255, 255, 0.04);
}

@keyframes sprinkle-fall {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(18px, 340px, 0) rotate(220deg);
    }
}

/* ===== SLOTS SECTION ===== */
.slots-section {
    margin-top: 2rem;
}

.slots-section h2 {
    color: var(--text-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slot-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-input);
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.tab-btn {
    flex: 1;
    padding: 0.875rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: var(--bg-hover);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
}

.tab-btn.active:hover {
    background: var(--primary-dark);
}

.slot-count {
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.tab-btn.active .slot-count {
    background: rgba(0,0,0,0.2);
}

/* Slots Grid - Compact */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.slot-card {
    aspect-ratio: 1 / 1;
    background: var(--bg-input);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.75rem 0.25rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.slot-card.available {
    border-color: var(--border-gold);
}

.slot-card.available:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.slot-card.available:active {
    transform: scale(0.95);
}

.slot-card.selected {
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--bg-input), var(--primary-soft));
    box-shadow: var(--shadow-glow);
    animation: selectPop 0.3s ease;
}

@keyframes selectPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.slot-card.unavailable {
    opacity: 0.5;
    border: 1px dashed #777;
    cursor: not-allowed;
    filter: grayscale(0.7);
}

/* Slot Check - Improved Visibility */
.slot-check {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #F6C84C;
    color: black;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.slot-card.selected .slot-check {
    display: flex;
}

.slot-time {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.slot-range {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

/* Progress Bar - Improved Visibility */
.slot-fill {
    width: 100%;
    height: 5px;
    background: #2a2a2a;
    border-radius: 6px;
    margin-top: 6px;
    overflow: hidden;
}

.slot-fill-bar {
    height: 100%;
    display: block;
    background: linear-gradient(90deg, #F6C84C, #ff9800);
    transition: width 0.4s ease;
}

.slot-card.unavailable .slot-fill-bar {
    background: linear-gradient(90deg, var(--danger), var(--warning));
}

.slot-status-badge {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-full);
    background: var(--bg-dark);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.slot-card.selected .slot-status-badge {
    background: var(--primary);
    color: var(--bg-dark);
}

/* ===== SLOT FULL POPUP ===== */
.slot-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.slot-popup-content {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #F6C84C;
    max-width: 300px;
    animation: scaleIn 0.3s ease;
}

.slot-popup-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.slot-popup-content h3 {
    color: #F6C84C;
    margin-bottom: 10px;
}

.slot-popup-content p {
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 20px;
}

.slot-popup-content button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #F6C84C;
    border: none;
    border-radius: 6px;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.slot-popup-content button:hover {
    background: #ffd95c;
    transform: scale(1.05);
}

.slot-popup-content button:active {
    transform: scale(0.95);
}

/* ===== BOOKING FORM ===== */
.booking-form {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-dark));
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-gold);
    animation: slideUp 0.5s ease;
    position: relative;
}

.edit-slot-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-input);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: 1px solid var(--border-gold);
}

.edit-slot-bar:hover {
    background: var(--bg-hover);
    transform: translateX(5px);
}

.edit-slot-bar:active {
    transform: scale(0.98);
}

.edit-slot-bar i {
    color: var(--primary);
}

.edit-slot-bar span {
    color: var(--primary);
    font-weight: 600;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: 0.5rem;
}

.form-label i {
    margin-right: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-input);
    color: var(--text-primary);
    transition: var(--transition-base);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
    outline: none;
}

.form-input:hover {
    border-color: var(--primary);
}

/* ===== CAPTCHA ===== */
.captcha-container {
    background: var(--bg-input);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid var(--border-gold);
}

.captcha-display {
    background: var(--bg-dark);
    padding: 1rem;
    border-radius: var(--radius-lg);
    font-family: monospace;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    text-align: center;
    color: var(--primary);
    border: 2px dashed var(--border-gold);
    flex: 1;
}

.refresh-btn {
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 0.875rem;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition-base);
}

.refresh-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: rotate(180deg);
}

.refresh-btn:active {
    transform: scale(0.95);
}

/* ===== NEXT BUTTON ===== */
.next-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.next-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.next-btn:active:not(:disabled) {
    transform: scale(0.96);
}

.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== TERMS SECTION ===== */
.terms-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-input);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    cursor: pointer;
    border-left: 4px solid var(--primary);
    transition: var(--transition-base);
}

.terms-section:hover {
    background: var(--bg-hover);
    color: var(--text-secondary);
    transform: translateX(5px);
}

.terms-section i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ===== TERMS POPUP ===== */
.terms-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.terms-popup.show {
    display: flex;
}

.terms-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid var(--border-gold);
    animation: scaleIn 0.3s ease;
}

.terms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-gold);
}

.terms-header h3 {
    color: var(--primary);
}

.terms-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-base);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.terms-close:hover {
    color: var(--danger);
    background: rgba(255,255,255,0.1);
    transform: rotate(90deg);
}

.terms-body {
    color: var(--text-secondary);
}

.terms-body h4 {
    color: var(--primary);
    margin: 1rem 0 0.5rem;
}

.terms-body ul {
    list-style: none;
    padding-left: 0;
}

.terms-body li {
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-body li::before {
    content: "â€¢";
    color: var(--primary);
    font-weight: bold;
}

/* ===== TOAST MESSAGE ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(246, 200, 76, 0.95);
    backdrop-filter: blur(10px);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    z-index: 9999;
    animation: toastIn 0.3s ease;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 1px solid var(--primary-light);
    max-width: 90%;
    text-align: center;
    transition: opacity 2s ease;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== SUCCESS POPUP ===== */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scale(1); /* merged */

    will-change: transform; /*added */

    background: linear-gradient(145deg, var(--bg-card), #1a1a1a);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-image-slice: 1;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    backdrop-filter: blur(8px);
    z-index: 10000;
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.popup-btn {
    margin-top: 20px;
    padding: 10px 30px;
    background: #F6C84C;
    border: none;
    border-radius: 6px;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 140px;
}

.popup-btn:hover {
    background: #ffd95c;
    transform: scale(1.05);
}

.popup-btn:active {
    transform: scale(0.95);
}

/* ===== LOADING STATES ===== */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-light);
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-secondary);
}

.empty-state .hint {
    color: var(--primary);
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* ===== ERROR MESSAGE ===== */
.error-message {
    text-align: center;
    padding: 2rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: var(--radius-lg);
    border: 2px solid var(--danger);
}

.error-message i {
    font-size: 2rem;
    color: var(--danger);
    margin-bottom: 1rem;
}

.error-message p {
    color: var(--danger);
    margin-bottom: 1rem;
}

.retry-btn {
    background: var(--bg-input);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.retry-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== UTILITY CLASSES ===== */
.text-gold {
    color: var(--primary);
}

.bg-glow {
    box-shadow: var(--shadow-glow);
}

.hidden {
    display: none !important;
}

/* Hide Next Button */
#nextBtn {
    display: none !important;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        aspect-ratio: auto;
        height: auto;
        display: block;
        padding: 14px;
    }

    .service-card-inner {
        height: auto;
        transform: none !important;
    }

    .service-card-front,
    .service-card-back {
        position: relative;
        height: auto;
        transform: none;
        backface-visibility: visible;
    }

    .service-card.flipped .service-card-inner {
        transform: none;
    }

    .service-card-front {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        position: relative;
        padding: 12px 12px 36px;
        height: auto;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .service-name {
        font-size: 15px;
    }

    .service-price {
        font-size: 16px;
    }
}
/* ===== SLOT CARD TEXT LAYOUT ===== */
.slot-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.slot-to-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 2px 0;
    font-style: italic;
}

.slot-time {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.slot-range {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Update slot card for better layout */
.slot-card {
    aspect-ratio: 1 / 1;
    background: var(--bg-input);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.5rem 0.25rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* ===== MAP POPUP STYLES ===== */
.map-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.map-popup.show {
    display: flex;
}

.map-popup-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: scaleIn 0.3s ease;
    overflow: hidden;
}

.map-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--border-gold);
}

.map-popup-header h3 {
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-popup-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.map-popup-close:hover {
    color: var(--danger);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

#mapContainer {
    height: 350px;
    width: 100%;
    background: var(--bg-dark);
    z-index: 1;
}

.map-popup-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-popup-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-popup-footer p i {
    color: var(--primary);
}

.map-confirm-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.map-confirm-btn:active {
    transform: scale(0.98);
}

/* ===== BOOKING CONFIRMATION POPUP ===== */
.confirm-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10003;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.confirm-popup.show {
    display: flex;
}

.confirm-box {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 400px;
    border: 2px solid var(--border-gold);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: scaleIn 0.3s ease;
    overflow: hidden;
}

.confirm-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 1.5rem;
    text-align: center;
}

.confirm-header h3 {
    color: var(--bg-dark);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.confirm-body {
    padding: 1.5rem;
}

.confirm-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.confirm-detail-row:last-child {
    border-bottom: none;
}

.confirm-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.confirm-label i {
    color: var(--primary);
    width: 20px;
}

.confirm-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.confirm-highlight {
    color: var(--primary);
    font-weight: 700;
}

.confirm-note {
    background: rgba(246, 200, 76, 0.1);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin: 1rem 0;
    border-left: 4px solid var(--primary);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.confirm-note i {
    color: var(--primary);
    font-size: 1.2rem;
}

.confirm-buttons {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.confirm-btn {
    flex: 1;
    padding: 0.875rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.confirm-btn.cancel {
    background: var(--bg-input);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.confirm-btn.cancel:hover {
    background: var(--bg-hover);
}

.confirm-btn.confirm {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    font-weight: 700;
}

.confirm-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.confirm-btn.confirm:active {
    transform: scale(0.98);
}

.confirm-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.confirm-btn.confirm:disabled:hover {
    transform: none;
    box-shadow: none;
}

.requirement-confirm-box {
    max-width: 430px;
}

.requirement-confirm-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-confirm-text {
    color: var(--text-secondary);
    line-height: 1.55;
}

.requirement-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    cursor: pointer;
}

.requirement-item input {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .map-popup-content {
        height: 80vh;
    }
    
    #mapContainer {
        height: 300px;
    }
    
    .confirm-buttons {
        flex-direction: column;
    }
}
/* Map select button */
.map-select-btn {
    width: 100%;
    margin-top: 10px;
    padding: 0.875rem;
    background: var(--bg-input);
    border: 2px solid var(--border-gold);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-select-btn:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.map-select-btn:active {
    transform: scale(0.98);
}
/* ===== SLOT CARD TEXT STYLES ===== */
.slot-label {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.slot-to-text {
    font-size: 11px;
    color: #aaa;
    margin: 2px 0;
    font-style: italic;
}

/* ===== MAP SELECT BUTTON ===== */
.map-select-btn {
    margin-top: 8px;
    background: #1c1c1c;
    border: 1px solid rgba(246, 200, 76, 0.3);
    color: #F6C84C;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.map-select-btn:hover {
    background: #F6C84C;
    color: #000;
    border-color: #F6C84C;
}

.map-select-btn:active {
    transform: scale(0.98);
}

.map-select-btn i {
    font-size: 14px;
}

/* ===== MAP POPUP STYLES ===== */
.map-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(5px);
}

.map-popup.show {
    display: flex;
}

.map-popup-content {
    width: 90%;
    max-width: 500px;
    background: #141414;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(246, 200, 76, 0.3);
    box-shadow: 0 0 30px rgba(246, 200, 76, 0.2);
}

.map-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(246, 200, 76, 0.2);
}

.map-popup-header h3 {
    color: #F6C84C;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-popup-close {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.map-popup-close:hover {
    color: #ff4444;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

#mapContainer {
    height: 350px;
    width: 100%;
    background: #0a0a0a;
}

.map-popup-footer {
    padding: 16px;
    background: #1a1a1a;
    border-top: 1px solid rgba(246, 200, 76, 0.2);
}

.map-popup-footer p {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-popup-footer p i {
    color: #F6C84C;
}

.map-confirm-btn {
    width: 100%;
    padding: 12px;
    background: #F6C84C;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    color: #000;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.map-confirm-btn:hover {
    background: #ffd95c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(246, 200, 76, 0.3);
}

.map-confirm-btn:active {
    transform: scale(0.98);
}

/* Mobile adjustments for map */
@media (max-width: 480px) {
    .map-popup-content {
        width: 95%;
    }
    
    #mapContainer {
        height: 300px;
    }
}

/* WhatsApp floating action button */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:active {
    transform: scale(0.96);
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 34px;
        height: 34px;
        right: 12px;
        bottom: 12px;
        font-size: 18px;
    }
}

/* About Us footer */
.site-footer {
    margin-top: 2rem;
    padding: 1rem 1rem 3.5rem;
    border-top: 1px solid var(--border-gold);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95), #070707);
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    box-shadow: var(--shadow-lg);
}

.site-footer h3 {
    color: var(--text-secondary);
    margin: 1.2rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.site-footer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.about-toggle {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.01);
    padding: 0.15rem 0.75rem 0.75rem;
    transition: border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.about-toggle > summary {
    list-style: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 600;
    padding: 0.5rem 0.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.35s ease;
}

.about-toggle > summary::-webkit-details-marker {
    display: none;
}

.about-toggle > summary::after {
    content: "\203A";
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.45s ease, color 0.35s ease;
}

.about-content {
    padding-top: 0;
    margin-top: 0.2rem;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-3px);
    will-change: grid-template-rows, opacity, transform;
    transition: grid-template-rows 430ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 260ms ease,
                transform 430ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-content > .accordion-inner {
    overflow: hidden;
    min-height: 0;
}

.about-toggle.is-open {
    border-color: rgba(246, 200, 76, 0.2);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.about-toggle.is-open > summary {
    color: var(--text-primary);
}

.about-toggle.is-open > summary::after {
    transform: rotate(90deg);
    color: var(--text-secondary);
}

.about-toggle.is-open > .about-content {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0.8rem 0 1.1rem;
}

.about-card {
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.015);
}

.about-card h4 {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.about-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.faq-section {
    margin-top: 0.7rem;
}

.faq-toggle {
    margin-top: 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.01);
    padding: 0.15rem 0.75rem 0.75rem;
    transition: border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
}

.faq-toggle > summary {
    list-style: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 0.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.35s ease;
}

.faq-toggle > summary::-webkit-details-marker {
    display: none;
}

.faq-toggle > summary::after {
    content: "\203A";
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.45s ease, color 0.35s ease;
}

.faq-toggle.is-open {
    border-color: rgba(246, 200, 76, 0.2);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.faq-toggle.is-open > summary {
    color: var(--text-primary);
}

.faq-toggle.is-open > summary::after {
    transform: rotate(90deg);
    color: var(--text-secondary);
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-top: 0.45rem;
}

.faq-section {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-3px);
    will-change: grid-template-rows, opacity, transform;
    transition: grid-template-rows 430ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 260ms ease,
                transform 430ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-section > .accordion-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-toggle.is-open > .faq-section {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.faq-item > summary {
    list-style: none;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.5;
    padding: 0.85rem 2.2rem 0.85rem 0.9rem;
    position: relative;
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-item > summary::after {
    content: "+";
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gold);
    font-size: 1.2rem;
}

.faq-item[open] > summary::after {
    content: "-";
}

.faq-item > p {
    color: var(--text-muted);
    margin: 0;
    padding: 0 0.9rem 0.9rem;
}

.footer-legal {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--text-gold);
    text-align: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1rem 0.75rem 3.2rem;
    }

    .footer-wrap {
        padding: 1rem;
    }
}

body.app-loading {
    overflow: hidden;
}

body.app-loading > *:not(.app-loader) {
    visibility: hidden;
}

.app-loader {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(246, 200, 76, 0.14), transparent 28%),
        linear-gradient(180deg, #050505, #111111 42%, #080808);
    overflow: hidden;
}

.app-loader::before,
.app-loader::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.4;
}

.app-loader::before {
    width: 240px;
    height: 240px;
    background: rgba(246, 200, 76, 0.18);
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
}

.app-loader::after {
    width: 320px;
    height: 320px;
    background: rgba(255, 138, 0, 0.12);
    bottom: 10%;
    right: 12%;
}

.app-loader.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s ease;
}

.app-loader-orbit {
    position: relative;
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
}

.app-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(246, 200, 76, 0.18);
}

.app-loader-ring::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border-top: 3px solid rgba(246, 200, 76, 0.92);
    border-right: 3px solid transparent;
    animation: loaderSpin 1.6s linear infinite;
}

.app-loader-ring.ring-two {
    inset: 18px;
    border-color: rgba(255, 166, 0, 0.18);
}

.app-loader-ring.ring-two::after {
    inset: 8px;
    border-top-color: rgba(255, 166, 0, 0.88);
    animation-direction: reverse;
    animation-duration: 1.1s;
}

.app-loader-core {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(246, 200, 76, 0.18), rgba(255, 166, 0, 0.24));
    border: 1px solid rgba(246, 200, 76, 0.24);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
}

.app-loader-pin {
    width: 34px;
    height: 46px;
    overflow: visible;
    filter: drop-shadow(0 0 14px rgba(246, 200, 76, 0.34));
    animation: loaderPulse 1.6s ease-in-out infinite;
}

.app-loader-copy {
    margin-top: 1.25rem;
    text-align: center;
}

.app-loader-title {
    color: var(--text-gold);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.app-loader-subtitle {
    margin-top: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    opacity: 0.84;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }
}

/* ===== LOCATION + GOOGLE MAPS OVERRIDES ===== */
.location-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 4, 4, 0.82);
    backdrop-filter: blur(12px);
    z-index: 10004;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.location-popup.show {
    display: flex;
    animation: fadeIn 0.25s ease;
}

.location-popup-content {
    width: min(92vw, 460px);
    background:
        radial-gradient(circle at top right, rgba(246, 200, 76, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(12, 12, 12, 0.98));
    border: 1px solid rgba(246, 200, 76, 0.24);
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(246, 200, 76, 0.08) inset;
    overflow: hidden;
    animation: scaleIn 0.25s ease;
}

.location-popup-header,
.location-popup-actions,
.map-search-bar,
.map-popup-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.location-popup-header {
    padding-top: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(246, 200, 76, 0.16);
}

.location-popup-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(246, 200, 76, 0.12);
    color: var(--text-gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.location-popup-header h3 {
    color: var(--text-gold);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.15rem;
}

.location-popup-body {
    padding: 1rem 1.25rem 0.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.location-popup-form {
    padding: 0.2rem 1.25rem 0;
}

.location-popup-form .city-select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(246, 200, 76, 0.22);
    border-radius: 16px;
    font-size: 0.96rem;
    color: var(--text-primary);
    background: rgba(20, 20, 20, 0.95);
    outline: none;
    appearance: none;
}

.location-popup-form #locationPopupOtherCity {
    margin-top: 0.75rem;
}

.location-popup-form #locationPopupVehicleTypeSelect {
    margin-top: 0.75rem;
}

.location-popup-form .city-select:focus {
    border-color: rgba(246, 200, 76, 0.48);
    box-shadow: 0 0 0 4px rgba(246, 200, 76, 0.12);
}

.location-popup-error {
    margin-top: 0.75rem;
    color: #ff8d7a;
    font-size: 0.88rem;
}

.location-popup-note {
    margin-top: 0.75rem;
    color: var(--text-gold);
    font-size: 0.95rem;
}

.location-popup-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.location-popup-actions .confirm-btn {
    width: 100%;
}

.map-popup {
    background:
        radial-gradient(circle at top, rgba(246, 200, 76, 0.08), transparent 28%),
        rgba(2, 2, 2, 0.82);
    backdrop-filter: blur(14px);
}

.map-popup-content {
    width: min(92vw, 680px);
    border-radius: 26px;
    border: 1px solid rgba(246, 200, 76, 0.26);
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.98), rgba(10, 10, 10, 0.98));
    overflow: hidden;
}

.map-popup-header {
    padding: 1.1rem 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.map-search-bar {
    padding-top: 1rem;
    padding-bottom: 0.9rem;
}

#mapSearch {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(246, 200, 76, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    padding: 0 1rem;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-base);
}

#mapSearch:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(246, 200, 76, 0.12);
}

.map-stage {
    position: relative;
    padding: 0 1.25rem 1rem;
    perspective: 1200px;
    perspective-origin: center 42%;
}

#mapContainer {
    height: 350px;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(246, 200, 76, 0.16);
    background: #0b0b0b;
}

.map-center-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -108%);
    z-index: 5;
    width: 54px;
    height: 76px;
    pointer-events: none;
    filter: drop-shadow(0 16px 20px rgba(0,0,0,0.36));
    transition: opacity 0.18s ease;
    transform-style: preserve-3d;
    transform-origin: 50% 92%;
    backface-visibility: hidden;
    isolation: isolate;
}

.luxury-pin-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 14px rgba(246, 200, 76, 0.34)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.12)) brightness(1) saturate(1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.map-center-pin::before,
.map-center-pin::after {
    content: "";
    position: absolute;
    inset: 7px 10px 8px;
    clip-path: polygon(50% 1%, 69% 6%, 84% 19%, 92% 35%, 89% 52%, 78% 66%, 66% 78%, 50% 100%, 34% 78%, 22% 66%, 11% 52%, 8% 35%, 16% 19%, 31% 6%);
    pointer-events: none;
    opacity: 0;
    transform-origin: 50% 50%;
}

.map-center-pin::before {
    background: linear-gradient(90deg, rgba(255,255,255,0) 12%, rgba(255,244,197,0.18) 30%, rgba(255,240,179,0.95) 50%, rgba(255,244,197,0.14) 70%, rgba(255,255,255,0) 88%);
    mix-blend-mode: screen;
    filter: blur(0.45px);
}

.map-center-pin::after {
    background: linear-gradient(90deg, rgba(54,33,0,0.45) 0%, rgba(54,33,0,0.12) 34%, rgba(255,255,255,0) 52%, rgba(115,72,7,0.18) 70%, rgba(36,22,0,0.42) 100%);
    mix-blend-mode: multiply;
}

.pin-fx {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
    opacity: 0;
}

#pinMotionSvg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 8px 20px rgba(246, 200, 76, 0.34));
}

#pinArrowGroup,
#pinRippleMain,
#pinRippleOuter,
#pinRippleThird,
#pinShadowEllipse {
    transform-box: fill-box;
    transform-origin: center;
}

#pinShadowEllipse {
    fill: rgba(0, 0, 0, 0.58);
    opacity: 0;
}

#pinRippleMain,
#pinRippleOuter,
#pinRippleThird {
    fill: none;
    opacity: 0;
}

#pinRippleMain {
    stroke: #F6C84C;
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(246, 200, 76, 0.45));
}

#pinRippleOuter {
    stroke: #FFEA80;
    stroke-width: 2;
}

#pinRippleThird {
    stroke: rgba(255, 246, 190, 0.9);
    stroke-width: 1.6;
}

.map-center-pin.pick-animation {
    animation: pinPick 0.3s ease-out forwards;
}

.map-center-pin.drag-active {
    transform: translate(-50%, -118%) scale(1.02);
    filter: drop-shadow(0 18px 22px rgba(0,0,0,0.4));
}

.map-center-pin.drop-flip {
    animation: luxuryPinDropFlip 1.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.map-center-pin.drop-flip .luxury-pin-svg {
    animation: luxuryPinBarrelSpin 1.42s linear forwards;
}

.map-center-pin.drop-flip::before {
    animation: luxuryPinEdgeLight 1.42s linear forwards;
}

.map-center-pin.drop-flip::after {
    animation: luxuryPinEdgeShadow 1.42s linear forwards;
}

.map-popup-footer {
    padding-top: 0.35rem;
    padding-bottom: 1.25rem;
}

.map-popup-footer p {
    margin: 0;
    font-size: 0.88rem;
}

.confirm-box-warning .confirm-body {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    text-align: center;
}

.range-confirm-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(246, 200, 76, 0.12);
    color: var(--text-gold);
    font-size: 1.35rem;
}

.range-confirm-message {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.range-confirm-subtext {
    margin: 0.9rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

@keyframes gentlePulse {
    0%, 100% {
        transform: translate(-50%, -100%) scale(1);
        text-shadow: 0 8px 18px rgba(246, 200, 76, 0.28);
    }
    50% {
        transform: translate(-50%, -104%) scale(1.02);
        text-shadow: 0 10px 22px rgba(246, 200, 76, 0.36);
    }
}

@keyframes pinPick {
    0% {
        opacity: 0;
        transform: translate(-50%, -80%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -108%) scale(1);
    }
}

@keyframes luxuryPinDropFlip {
    0% {
        transform: translate(-50%, -128%) scale(0.96);
        filter: drop-shadow(0 22px 24px rgba(0,0,0,0.4));
    }
    14% {
        transform: translate(-50%, -118%) scale(0.99);
        filter: drop-shadow(0 18px 20px rgba(0,0,0,0.36));
    }
    28% {
        transform: translate(-50%, -94%) scale(1.035);
        filter: drop-shadow(0 9px 14px rgba(0,0,0,0.28));
    }
    40% {
        transform: translate(-50%, -113%) scale(0.98);
    }
    47% {
        transform: translate(-50%, -101%) scale(1.012);
    }
    52% {
        transform: translate(-50%, -111%) scale(0.992);
    }
    56% {
        transform: translate(-50%, -105%) scale(1.004);
    }
    60% {
        transform: translate(-50%, -108%) scale(1);
    }
    100% {
        transform: translate(-50%, -108%) scale(1);
        filter: drop-shadow(0 16px 20px rgba(0,0,0,0.36));
    }
}

@keyframes luxuryPinBarrelSpin {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 14px rgba(246, 200, 76, 0.34)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.12)) brightness(1) saturate(1);
    }
    8% {
        transform: scale(1.01);
        filter: drop-shadow(0 0 17px rgba(246, 200, 76, 0.4)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.13)) brightness(1.1) saturate(1.08);
    }
    14% {
        transform: scale(1.018);
        filter: drop-shadow(0 0 20px rgba(246, 200, 76, 0.48)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.2) saturate(1.14);
    }
    20% {
        transform: scale(1.008);
    }
    26% {
        transform: scale(1.02);
        filter: drop-shadow(0 0 21px rgba(246, 200, 76, 0.5)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.22) saturate(1.18);
    }
    32% {
        transform: scale(1.01);
    }
    38% {
        transform: scale(1.022);
        filter: drop-shadow(0 0 22px rgba(246, 200, 76, 0.52)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.24) saturate(1.2);
    }
    44% {
        transform: scale(1.016);
        filter: drop-shadow(0 0 20px rgba(246, 200, 76, 0.48)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.2) saturate(1.16);
    }
    50% {
        transform: scale(1.013);
        filter: drop-shadow(0 0 18px rgba(246, 200, 76, 0.44)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.17) saturate(1.14);
    }
    56% {
        transform: scale(1.01);
        filter: drop-shadow(0 0 17px rgba(246, 200, 76, 0.4)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.14) saturate(1.11);
    }
    64% {
        transform: scale(1.009);
        filter: drop-shadow(0 0 16px rgba(246, 200, 76, 0.38)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.12) saturate(1.09);
    }
    72% {
        transform: scale(1.008);
        filter: drop-shadow(0 0 16px rgba(246, 200, 76, 0.36)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.1) saturate(1.08);
    }
    80% {
        transform: scale(1.007);
        filter: drop-shadow(0 0 15px rgba(246, 200, 76, 0.34)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.08) saturate(1.06);
    }
    88% {
        transform: scale(1.006);
        filter: drop-shadow(0 0 15px rgba(246, 200, 76, 0.33)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.07) saturate(1.05);
    }
    94% {
        transform: scale(1.005);
        filter: drop-shadow(0 0 15px rgba(246, 200, 76, 0.32)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.14)) brightness(1.06) saturate(1.04);
    }
}

@keyframes luxuryPinEdgeLight {
    0%, 100% {
        opacity: 0.12;
        transform: translateX(-2px) scaleX(0.8);
    }
    8% {
        opacity: 0.52;
        transform: translateX(10px) scaleX(0.42);
    }
    14% {
        opacity: 1;
        transform: translateX(17px) scaleX(0.18);
    }
    20% {
        opacity: 0.4;
        transform: translateX(-7px) scaleX(0.52);
    }
    26% {
        opacity: 0.98;
        transform: translateX(-16px) scaleX(0.16);
    }
    32% {
        opacity: 0.38;
        transform: translateX(5px) scaleX(0.52);
    }
    38% {
        opacity: 0.94;
        transform: translateX(14px) scaleX(0.15);
    }
    44% {
        opacity: 0.82;
        transform: translateX(-11px) scaleX(0.16);
    }
    50% {
        opacity: 0.54;
        transform: translateX(6px) scaleX(0.28);
    }
    56% {
        opacity: 0.44;
        transform: translateX(9px) scaleX(0.2);
    }
    64% {
        opacity: 0.36;
        transform: translateX(-6px) scaleX(0.24);
    }
    72% {
        opacity: 0.32;
        transform: translateX(-5px) scaleX(0.24);
    }
    80% {
        opacity: 0.28;
        transform: translateX(4px) scaleX(0.2);
    }
    88% {
        opacity: 0.24;
        transform: translateX(-3px) scaleX(0.18);
    }
    94% {
        opacity: 0.22;
        transform: translateX(4px) scaleX(0.18);
    }
}

@keyframes luxuryPinEdgeShadow {
    0%, 100% {
        opacity: 0.2;
        transform: translateX(2px) scaleX(0.82);
    }
    8% {
        opacity: 0.36;
        transform: translateX(-8px) scaleX(0.54);
    }
    14% {
        opacity: 0.54;
        transform: translateX(-15px) scaleX(0.22);
    }
    20% {
        opacity: 0.28;
        transform: translateX(6px) scaleX(0.54);
    }
    26% {
        opacity: 0.5;
        transform: translateX(14px) scaleX(0.2);
    }
    32% {
        opacity: 0.24;
        transform: translateX(-5px) scaleX(0.5);
    }
    38% {
        opacity: 0.46;
        transform: translateX(-12px) scaleX(0.18);
    }
    44% {
        opacity: 0.42;
        transform: translateX(10px) scaleX(0.19);
    }
    50% {
        opacity: 0.26;
        transform: translateX(-5px) scaleX(0.3);
    }
    56% {
        opacity: 0.24;
        transform: translateX(-8px) scaleX(0.22);
    }
    64% {
        opacity: 0.2;
        transform: translateX(5px) scaleX(0.24);
    }
    72% {
        opacity: 0.18;
        transform: translateX(4px) scaleX(0.24);
    }
    80% {
        opacity: 0.16;
        transform: translateX(-4px) scaleX(0.22);
    }
    88% {
        opacity: 0.15;
        transform: translateX(3px) scaleX(0.2);
    }
    94% {
        opacity: 0.14;
        transform: translateX(-3px) scaleX(0.2);
    }
}

@media (max-width: 640px) {
    .location-popup-actions,
    .confirm-buttons {
        display: flex;
        flex-direction: column;
    }

    .map-popup-content {
        width: 95vw;
    }

    .map-stage {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #mapContainer {
        height: 300px;
        border-radius: 18px;
    }
}

/* ===== FULLSCREEN MAP EXPERIENCE ===== */
.map-popup {
    padding: 0;
    background: transparent;
    backdrop-filter: none;
}

.map-popup-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    border: none;
    border-radius: 0;
    background: #070707;
    box-shadow: none;
}

.map-popup-header,
.map-popup-footer {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 11;
    background: rgba(10, 10, 10, 0.78) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.map-popup-header {
    top: 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.9rem;
    padding: max(1rem, calc(env(safe-area-inset-top) + 0.55rem)) max(0.95rem, calc(env(safe-area-inset-right) + 0.75rem)) 0.95rem max(0.95rem, calc(env(safe-area-inset-left) + 0.75rem));
    border-bottom: 1px solid rgba(246, 200, 76, 0.18);
}

.map-popup-header::after,
.map-popup-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(246, 200, 76, 0.04), transparent 65%);
    pointer-events: none;
    z-index: -1;
}

.map-popup-header h3 {
    font-size: 1.05rem;
}

.map-popup-header-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(246, 200, 76, 0.12);
    color: var(--text-gold);
    border: 1px solid rgba(246, 200, 76, 0.2);
}

.map-popup-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(246, 200, 76, 0.18);
    color: var(--text-primary);
}

.map-stage {
    position: absolute;
    inset: 0;
    padding: 0;
    touch-action: none;
}

#mapContainer {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 0;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: strict;
    touch-action: none;
}

.map-popup-footer {
    bottom: 0;
    padding: 0.7rem max(0.8rem, calc(env(safe-area-inset-right) + 0.55rem)) max(0.95rem, calc(env(safe-area-inset-bottom) + 0.6rem)) max(0.8rem, calc(env(safe-area-inset-left) + 0.55rem));
    border-top: 1px solid rgba(246, 200, 76, 0.16);
    display: grid;
    gap: 0.5rem;
}

.map-footer-toggle {
    width: 28px;
    height: 28px;
    justify-self: center;
    border: 1px solid rgba(246, 200, 76, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-gold);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.map-footer-toggle.collapsed {
    transform: rotate(180deg);
}

.map-footer-tools {
    display: grid;
    gap: 0.45rem;
    max-height: 180px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
}

.map-footer-tools.collapsed {
    max-height: 0;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    margin: 0;
}

.map-search-bar {
    padding: 0;
}

.map-search-bar.compact {
    padding: 0.1rem 0 0.2rem;
}

.map-search-bar.compact #mapSearch {
    height: 36px;
    font-size: 0.85rem;
    padding: 0 0.7rem;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 30px;
}

.map-popup-footer p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.map-hint {
    font-size: 0.78rem !important;
    font-style: italic;
    opacity: 0.72;
    letter-spacing: 0.3px;
}

.map-hint span {
    border-bottom: 1px dotted rgba(246, 200, 76, 0.3);
}

.map-type-toggle {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.map-type-toggle::-webkit-scrollbar {
    display: none;
}

.map-type-btn {
    border: 1px solid rgba(246, 200, 76, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 0.48rem 0.72rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.map-type-btn.active,
.map-type-btn:hover {
    background: rgba(246, 200, 76, 0.14);
    color: var(--text-gold);
    border-color: rgba(246, 200, 76, 0.45);
}

.map-theme-btn {
    border: 1px solid rgba(246, 200, 76, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 0.48rem 0.72rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.map-theme-btn.active,
.map-theme-btn:hover {
    background: rgba(246, 200, 76, 0.14);
    color: var(--text-gold);
    border-color: rgba(246, 200, 76, 0.4);
}

.map-confirm-btn {
    width: min(100%, 360px);
    justify-self: center;
}

.map-floating-controls {
    position: absolute;
    right: 1rem;
    bottom: 10.8rem;
    z-index: 12;
    display: grid;
    gap: 0.4rem;
}

.map-mini-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(246, 200, 76, 0.22);
    background: rgba(18, 18, 18, 0.68);
    color: var(--text-gold);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.map-mini-btn:hover {
    transform: translateY(-1px);
    background: rgba(246, 200, 76, 0.14);
}

.pac-container {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(246, 200, 76, 0.2);
    border-radius: 12px;
    margin-top: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    font-family: 'Inter', sans-serif;
}

.pac-item {
    padding: 8px 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #e0e0e0;
}

.pac-item:hover {
    background: rgba(246, 200, 76, 0.1);
}

.pac-item-query {
    color: #F6C84C;
    font-size: 14px;
}

.pac-matched {
    font-weight: 600;
    color: #FFD966;
}

.map-center-pin {
    top: 50%;
}

@media (max-width: 768px) {
    .map-popup-header {
        grid-template-columns: 1fr auto;
    }

    .map-popup-header-badge {
        display: none;
    }

    .map-popup-footer {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .map-floating-controls {
        bottom: 10.25rem;
        right: 0.75rem;
    }

    .map-confirm-btn {
        width: 100%;
    }

    .map-popup-footer {
        padding-top: 0.45rem;
        gap: 0.4rem;
    }

    .map-footer-tools {
        max-height: 150px;
    }
}

/* ===== FINAL RESPONSIVE POLISH ===== */
.map-popup-header {
    padding-top: max(0.95rem, env(safe-area-inset-top));
    min-height: 64px;
}

.map-popup-header h3 {
    min-width: 0;
    line-height: 1.2;
}

.map-popup-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.map-confirm-btn {
    min-height: 52px;
    font-size: 0.98rem;
    padding-inline: 1rem;
}

.map-floating-controls {
    right: clamp(0.65rem, 1.5vw, 1rem);
    bottom: clamp(9.5rem, 18vh, 11rem);
}

.map-mini-btn {
    width: clamp(38px, 3vw, 44px);
    height: clamp(38px, 3vw, 44px);
    border-radius: 12px;
    font-size: clamp(0.9rem, 1.05vw, 1rem);
}

.whatsapp-float {
    width: clamp(46px, 4vw, 54px);
    height: clamp(46px, 4vw, 54px);
    right: clamp(12px, 1.8vw, 18px);
    bottom: clamp(12px, 1.8vw, 18px);
    font-size: clamp(20px, 1.8vw, 24px);
}

@media (max-width: 1024px) {
    .map-popup-content {
        width: 100vw;
        height: 100dvh;
    }

    .city-topbar .city-section {
        width: min(96vw, 760px);
    }
}

@media (max-width: 768px) {
    body.city-topbar-mounted #landing {
        padding-top: 4.8rem;
    }

    .map-popup-header {
        padding: calc(0.75rem + env(safe-area-inset-top)) 0.85rem 0.75rem;
        min-height: 58px;
    }

    .map-popup-header h3 {
        font-size: 0.92rem;
        padding-right: 0.2rem;
    }

    .map-popup-close {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .map-popup-footer {
        padding: 0.5rem max(0.7rem, calc(env(safe-area-inset-right) + 0.45rem)) calc(0.9rem + env(safe-area-inset-bottom)) max(0.7rem, calc(env(safe-area-inset-left) + 0.45rem));
    }

    .map-type-btn,
    .map-theme-btn {
        padding: 0.4rem 0.58rem;
        font-size: 0.74rem;
    }

    .whatsapp-float {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .map-floating-controls {
        bottom: 9.8rem;
        right: 0.7rem;
    }

    .map-mini-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .map-popup-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.55rem;
    }

    .map-popup-header h3 {
        font-size: 0.86rem;
    }

    .map-popup-close {
        width: 36px;
        height: 36px;
    }

    .map-confirm-btn {
        min-height: 48px;
        font-size: 0.92rem;
        width: 100%;
    }

    .map-floating-controls {
        bottom: 9.2rem;
        right: 0.55rem;
        gap: 0.26rem;
    }

    .map-mini-btn {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 0.84rem;
    }

    .city-topbar {
        padding-top: max(0.35rem, env(safe-area-inset-top));
    }

    .city-topbar .city-section {
        width: calc(100vw - 0.7rem);
    }

    body.city-topbar-mounted #landing {
        padding-top: 4.55rem;
    }
}

@media (min-width: 1280px) {
    .city-topbar .city-section {
        width: min(72vw, 760px);
    }

    .map-floating-controls {
        right: 1.1rem;
        bottom: 10.75rem;
    }

    .map-mini-btn {
        width: 38px;
        height: 38px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
    }
}

/* ===== MAP CONTROL LIFT ===== */
.map-floating-controls {
    --map-controls-bottom-open: clamp(14.5rem, 27vh, 16.25rem);
    --map-controls-bottom-collapsed: clamp(7.35rem, 12vh, 8rem);
    bottom: var(--map-controls-bottom-open);
}

.map-floating-controls.footer-collapsed {
    bottom: var(--map-controls-bottom-collapsed);
}

@media (max-width: 768px) {
    .map-floating-controls {
        --map-controls-bottom-open: 14.9rem;
        --map-controls-bottom-collapsed: 7.9rem;
    }
}

@media (max-width: 480px) {
    .map-floating-controls {
        --map-controls-bottom-open: 14.1rem;
        --map-controls-bottom-collapsed: 7.4rem;
    }
}

@media (min-width: 1280px) {
    .map-floating-controls {
        --map-controls-bottom-open: 16rem;
        --map-controls-bottom-collapsed: 8.1rem;
    }
}
