/* ==========================================================================
   CSS SYSTEM: Orgánico Hotel Boutique Ajusco Interactive Map
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    /* Color Palette */
    --forest-deep: #071913;
    --forest-dark: #0f2e22;
    --forest-medium: #174735;
    --forest-light: #236149;
    --gold-dark: #91754f;
    --gold-medium: #bfa37a;
    --gold-light: #e0cfb8;
    --sand-light: #faf9f6;
    --sand-dark: #e8e3d9;
    --charcoal: #1c2421;
    --white: #ffffff;
    
    /* Semantic Colors */
    --text-primary: var(--sand-light);
    --text-dark: var(--charcoal);
    --accent: var(--gold-medium);
    --glass-bg: rgba(15, 46, 34, 0.7);
    --glass-border: rgba(191, 163, 122, 0.2);
    
    /* Layout & Styling Values */
    --header-height: 80px;
    --sidebar-width: 460px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.35);
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    background-color: var(--forest-deep);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

/* App Layout */
.app-container {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* Header & Controls */
.app-header {
    height: var(--header-height);
    background-color: rgba(7, 25, 19, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 163, 122, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 0 40px;
    z-index: 100;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* Filters Navigation */
.filter-bar {
    display: flex;
    gap: 12px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(250, 249, 246, 0.7);
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: rgba(191, 163, 122, 0.1);
    border-color: rgba(191, 163, 122, 0.3);
    color: var(--sand-light);
}

.filter-btn.active {
    background: var(--gold-medium);
    border-color: var(--gold-medium);
    color: var(--forest-deep);
    box-shadow: 0 4px 15px rgba(191, 163, 122, 0.3);
    font-weight: 600;
}

/* Search Box */
.search-box {
    position: relative;
    width: 280px;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 15px;
    width: 18px;
    height: 18px;
    color: rgba(250, 249, 246, 0.5);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 11px 15px 11px 45px;
    color: var(--sand-light);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-medium);
    box-shadow: 0 0 10px rgba(191, 163, 122, 0.2);
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(15, 46, 34, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: var(--shadow-heavy);
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
}

.search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-item {
    padding: 12px 20px;
    cursor: pointer;
    color: var(--sand-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: rgba(191, 163, 122, 0.15);
}

.search-item-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-medium);
    background: rgba(191, 163, 122, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Map Viewport Area */
.map-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: grab;
    touch-action: none; /* Prevents default mobile gesture scrolling */
}

.map-viewport:active {
    cursor: grabbing;
}

.map-wrapper {
    position: absolute;
    transform-origin: 0 0;
    user-select: none;
    will-change: transform;
}

.map-image {
    display: block;
    max-width: none;
    user-select: none;
    pointer-events: none;
}

/* Hotspots (Interactive Dots) */
.hotspots-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to drag map */
}

.hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    pointer-events: auto; /* Re-enable pointer events for dots */
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.hotspot:hover {
    transform: translate(-50%, -50%) scale(1.3);
    z-index: 15;
}

/* Pulsing effect */
.hotspot-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.hotspot::before, .hotspot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--white);
    width: 24px;
    height: 24px;
    opacity: 0;
    pointer-events: none;
    animation: hotspotPulse 2.4s infinite linear;
}

.hotspot::after {
    animation-delay: 1.2s;
}

/* Colored themes for categories */
.hotspot[data-category="gastronomia"] .hotspot-ring { background-color: #ff5e5b; box-shadow: 0 0 10px rgba(255, 94, 91, 0.8); }
.hotspot[data-category="gastronomia"]::before, .hotspot[data-category="gastronomia"]::after { border-color: #ff5e5b; }

.hotspot[data-category="bienestar"] .hotspot-ring { background-color: #8ed081; box-shadow: 0 0 10px rgba(142, 208, 129, 0.8); }
.hotspot[data-category="bienestar"]::before, .hotspot[data-category="bienestar"]::after { border-color: #8ed081; }

.hotspot[data-category="jardines"] .hotspot-ring { background-color: #4ea8de; box-shadow: 0 0 10px rgba(78, 168, 222, 0.8); }
.hotspot[data-category="jardines"]::before, .hotspot[data-category="jardines"]::after { border-color: #4ea8de; }

.hotspot[data-category="servicios"] .hotspot-ring { background-color: #e9c46a; box-shadow: 0 0 10px rgba(233, 196, 106, 0.8); }
.hotspot[data-category="servicios"]::before, .hotspot[data-category="servicios"]::after { border-color: #e9c46a; }

.hotspot[data-category="cabanas"] .hotspot-ring { background-color: #c084fc; box-shadow: 0 0 10px rgba(192, 132, 252, 0.8); }
.hotspot[data-category="cabanas"]::before, .hotspot[data-category="cabanas"]::after { border-color: #c084fc; }

/* Pulse animation keyframe */
@keyframes hotspotPulse {
    0% {
        width: 14px;
        height: 14px;
        opacity: 0.8;
    }
    100% {
        width: 48px;
        height: 48px;
        opacity: 0;
    }
}

/* Tooltip labels on hover */
.hotspot-label {
    position: absolute;
    bottom: calc(100% - 6px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--forest-deep);
    border: 1px solid var(--accent);
    color: var(--sand-light);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 6px;
    pointer-events: auto; /* Allow pointer events on label to prevent click through issues */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    box-shadow: var(--shadow-soft);
}

.hotspot:hover .hotspot-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dim state for filtering */
.hotspot.dimmed {
    opacity: 0.15;
    pointer-events: none;
}

.hotspot.active-selection {
    transform: translate(-50%, -50%) scale(1.4);
    z-index: 20;
}

.hotspot.active-selection .hotspot-ring {
    background-color: var(--white) !important;
    outline: 4px solid var(--accent);
    box-shadow: 0 0 20px rgba(255, 255, 255, 1);
}

/* Wi-Fi Badge next to the hotspot point */
.hotspot-wifi-badge {
    position: absolute;
    top: calc(50% - 11px);
    left: calc(50% + 12px);
    width: 22px;
    height: 22px;
    background: rgba(7, 25, 19, 0.9);
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 12;
    transition: var(--transition-fast);
}

.hotspot-wifi-badge svg {
    width: 12px;
    height: 12px;
    display: block;
}

/* Specific styling for the Wi-Fi filter active state button */
.filter-btn[data-category="wifi"].active {
    background: #00b4d8;
    border-color: #00b4d8;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

/* Floating Controls (Zoom, Reset, Fullscreen) */
.map-controls {
    position: fixed !important;
    top: 100px !important;
    right: 20px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 300 !important;
    pointer-events: auto;
}

.control-btn {
    width: 48px;
    height: 48px;
    background: rgba(7, 25, 19, 0.92);
    border: 1.5px solid var(--gold-medium);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    color: var(--gold-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.control-btn:hover {
    background: var(--gold-medium);
    color: var(--forest-deep);
    border-color: var(--gold-medium);
    box-shadow: 0 6px 20px rgba(191, 163, 122, 0.5);
}

.control-btn:active {
    transform: scale(0.92) !important;
}

.control-btn svg {
    width: 22px;
    height: 22px;
}

/* Floating Dashboard */
.floating-dashboard {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 280px;
    background: rgba(15, 46, 34, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 20px;
    color: var(--sand-light);
    z-index: 250;
    box-shadow: var(--shadow-heavy);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-section h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-medium);
    margin-bottom: 8px;
    font-weight: 600;
}

.weather-widget {
    display: flex;
    flex-direction: column;
}

.weather-temp {
    font-size: 28px;
    font-weight: 700;
    color: var(--sand-light);
}

.weather-desc {
    font-size: 13px;
    color: rgba(250, 249, 246, 0.8);
    margin-top: 2px;
}

.dashboard-section.instructions ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-section.instructions li {
    font-size: 12.5px;
    line-height: 1.4;
    color: rgba(250, 249, 246, 0.75);
}

/* Sidebar Drawer styled as Centered Modal (Details Panel) */
.sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.sidebar-drawer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    background: rgba(7, 25, 19, 0.96);
    border: 1px solid rgba(191, 163, 122, 0.35);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 410;
}

.sidebar-drawer.active .modal-card {
    transform: scale(1);
}

.modal-handle-bar {
    display: none;
    width: 48px;
    height: 5px;
    background: rgba(191, 163, 122, 0.5);
    border-radius: 3px;
    margin: 12px auto 4px auto;
    flex-shrink: 0;
}

.dashboard-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--sand-light);
    width: 100%;
    padding: 10px 14px;
    align-items: center;
    justify-content: space-between;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.toggle-weather-brief {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-medium);
}

.toggle-label {
    letter-spacing: 0.5px;
}

.toggle-chevron {
    transition: transform 0.3s ease;
}

.close-drawer {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(7, 25, 19, 0.9);
    border: 1.5px solid var(--gold-medium);
    border-radius: 50%;
    color: var(--sand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
    z-index: 420;
}

.close-drawer:hover {
    background: var(--gold-medium);
    color: var(--forest-deep);
    border-color: var(--gold-medium);
    transform: scale(1.05);
}

.close-drawer svg {
    width: 20px;
    height: 20px;
}

.drawer-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Image Carousel inside Drawer */
.drawer-gallery {
    width: 100%;
    height: 280px;
    background-color: var(--forest-deep);
    position: relative;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(7, 25, 19, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 5;
}

.carousel-nav:hover {
    background: var(--gold-medium);
    color: var(--forest-deep);
    border-color: var(--gold-medium);
}

.carousel-nav.prev { left: 15px; }
.carousel-nav.next { right: 15px; }

.carousel-nav svg {
    width: 18px;
    height: 18px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--gold-medium);
    width: 20px;
    border-radius: 4px;
}

/* Details Content Styling */
.drawer-body {
    padding: 35px;
    color: var(--sand-light);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.location-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-medium);
    display: inline-block;
    margin-bottom: 8px;
}

.location-category.cat-cabanas { color: #c084fc; }
.location-category.cat-gastronomia { color: #ff5e5b; }
.location-category.cat-bienestar { color: #8ed081; }
.location-category.cat-jardines { color: #4ea8de; }
.location-category.cat-servicios { color: #e9c46a; }

.location-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
    color: var(--sand-light);
}

.location-subtitle {
    font-size: 15px;
    font-style: italic;
    color: rgba(250, 249, 246, 0.6);
    margin-bottom: 20px;
}

.divider {
    height: 1px;
    background: rgba(191, 163, 122, 0.15);
    margin-bottom: 24px;
}

.location-description {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(250, 249, 246, 0.85);
    margin-bottom: 30px;
}

.location-specs {
    margin-bottom: 35px;
}

.location-specs h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-medium);
    margin-bottom: 12px;
    font-weight: 600;
}

.location-specs table {
    width: 100%;
    border-collapse: collapse;
}

.location-specs td {
    padding: 10px 0;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.location-specs td:first-child {
    font-weight: 500;
    color: rgba(250, 249, 246, 0.5);
    width: 40%;
}

.location-specs td:second-child {
    color: var(--sand-light);
}

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

/* Premium Buttons */
.btn-primary {
    display: inline-block;
    width: 100%;
    background: var(--gold-medium);
    color: var(--forest-deep);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(191, 163, 122, 0.2);
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: var(--sand-light);
    box-shadow: 0 6px 20px rgba(250, 249, 246, 0.2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-reservar-header {
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    transition: var(--transition-fast);
}

.btn-reservar-header:hover {
    background-color: #20ba5a;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
    color: white;
}

.btn-whatsapp-reserve {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    padding: 14px;
    font-size: 14px;
    width: 100%;
    background-color: #25d366;
    color: white;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    transition: var(--transition-fast);
}

.btn-whatsapp-reserve:hover {
    background-color: #20ba5a;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
    color: white;
}

/* Floating WhatsApp Action Button (ALWAYS Accessible on ALL Devices) */
.floating-whatsapp-btn,
.mobile-whatsapp-btn {
    display: flex !important;
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 350 !important;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    padding: 14px 24px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.2);
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
}

.floating-whatsapp-btn:hover,
.mobile-whatsapp-btn:hover {
    background: linear-gradient(135deg, #20ba5a, #0e7568);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
    color: white !important;
}

.floating-whatsapp-btn:active,
.mobile-whatsapp-btn:active {
    transform: scale(0.95) !important;
}

/* Welcome Splash Modal */
.welcome-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 25, 19, 0.85);
    backdrop-filter: blur(25px);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-splash.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    display: none !important;
}

.splash-content {
    max-width: 520px;
    text-align: center;
    padding: 40px;
    background: rgba(15, 46, 34, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    color: var(--sand-light);
}

.splash-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.splash-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.splash-content p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(250, 249, 246, 0.8);
    margin-bottom: 35px;
}

.splash-content .btn-primary {
    max-width: 250px;
}

.splash-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.splash-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.splash-content p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(250, 249, 246, 0.8);
    margin-bottom: 35px;
}

.splash-content .btn-primary {
    max-width: 250px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries for Desktop, Tablets & Smartphones)
   ========================================================================== */

@media (min-width: 1025px) and (max-width: 1250px) {
    .app-header {
        padding: 0 24px;
        gap: 20px;
    }
    
    .filter-bar {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
        gap: 6px;
    }
    
    .search-box {
        width: 220px;
    }
}

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    :root {
        --header-height: auto;
    }
    
    .app-header {
        flex-direction: column;
        padding: 12px 16px;
        gap: 10px;
        align-items: stretch;
    }
    
    .brand {
        align-items: center;
        justify-content: center;
    }

    .brand-logo {
        height: 28px;
    }
    
    .filter-bar {
        overflow-x: auto;
        padding: 4px 2px 8px 2px;
        width: 100%;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
    }
    
    .filter-bar::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 12px;
        min-height: 38px;
        border-radius: 30px;
    }

    /* Hotspot labels always readable on mobile without needing hover */
    .hotspot-label {
        opacity: 0.95;
        visibility: visible;
        font-size: 10px;
        font-weight: 600;
        padding: 3px 8px;
        bottom: calc(100% - 2px);
        background: rgba(7, 25, 19, 0.88);
        backdrop-filter: blur(6px);
        border: 1px solid var(--accent);
        border-radius: 12px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
        pointer-events: none;
    }
    
    .btn-reservar-header {
        display: none !important;
    }
    
    .mobile-whatsapp-btn {
        display: flex;
    }
    
    /* Floating Dashboard on Tablets/Mobiles becomes a compact collapsible widget */
    .floating-dashboard {
        display: flex;
        flex-direction: column;
        bottom: 20px;
        left: 16px;
        width: 210px;
        padding: 0;
        overflow: hidden;
        z-index: 60;
        transition: width 0.3s ease, border-radius 0.3s ease;
    }

    .dashboard-mobile-toggle {
        display: flex;
    }

    .dashboard-content {
        display: none;
        padding: 14px;
        border-top: 1px solid var(--glass-border);
        flex-direction: column;
        gap: 14px;
    }

    .floating-dashboard.expanded {
        width: 280px;
    }

    .floating-dashboard.expanded .dashboard-content {
        display: flex;
    }

    .floating-dashboard.expanded .toggle-chevron {
        transform: rotate(180deg);
    }
    
    .map-controls {
        bottom: 20px;
        right: 16px;
    }
}

/* Smartphones & Small Tablets (768px and below) - Native Bottom Sheet & Touch Optimization */
@media (max-width: 768px) {
    .app-header {
        padding: 10px 12px;
        gap: 8px;
    }

    .filter-btn {
        padding: 7px 12px;
        font-size: 11.5px;
    }

    /* Transform Modal Card into a Native Bottom Sheet */
    .sidebar-drawer {
        align-items: flex-end;
        padding: 0;
    }

    .modal-card {
        width: 100%;
        max-width: 100%;
        max-height: 84vh;
        border-radius: 24px 24px 0 0;
        border-bottom: none;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sidebar-drawer.active .modal-card {
        transform: translateY(0);
    }

    .modal-handle-bar {
        display: block;
        width: 48px;
        height: 5px;
        background: rgba(191, 163, 122, 0.5);
        border-radius: 3px;
        margin: 10px auto 4px auto;
        cursor: grab;
    }

    .close-drawer {
        top: 12px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .close-drawer svg {
        width: 18px;
        height: 18px;
    }

    .drawer-gallery {
        height: 210px;
    }

    .drawer-body {
        padding: 20px;
    }

    .location-title {
        font-size: 22px;
    }

    .location-subtitle {
        font-size: 13.5px;
        margin-bottom: 15px;
    }

    .location-description {
        font-size: 13.5px;
        margin-bottom: 20px;
    }

    .map-controls {
        bottom: 80px;
        right: 14px;
    }

    .control-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }

    .mobile-whatsapp-btn {
        bottom: 16px;
        right: 14px;
        left: auto;
        padding: 12px 18px;
        font-size: 13.5px;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    }

    .splash-content {
        padding: 24px 20px;
        margin: 16px;
    }

    .splash-logo-img {
        height: 55px;
    }

    .splash-content p {
        font-size: 13.5px;
        margin-bottom: 24px;
    }
}

/* Touch Active State Feedback for Buttons */
.control-btn:active, .filter-btn:active, .btn-primary:active, .close-drawer:active, .mobile-whatsapp-btn:active {
    transform: scale(0.92) !important;
}

/* Very Small Screens (480px and below) */
@media (max-width: 480px) {
    .floating-dashboard {
        width: 170px;
    }
    
    .floating-dashboard.expanded {
        width: calc(100vw - 28px);
    }

    .toggle-label {
        display: none;
    }

    .map-controls {
        bottom: 75px;
        right: 12px;
        gap: 8px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .control-btn svg {
        width: 18px;
        height: 18px;
    }

    .hotspot-label {
        font-size: 9px;
        padding: 2px 6px;
    }
}


