/* Las Vegas Toddler Trip Planner Styles */

:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #e0e7ff;
    --accent-gold: #f59e0b;
    --accent-coral: #f43f5e;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-purple: #8b5cf6;
    --danger: #ef4444;

    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-subtle: #f1f5f9;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;

    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.06);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header & Hero */
.hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
    color: #ffffff;
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(244, 63, 94, 0.08) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
}

.back-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.hero-dates-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde68a;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hero p.subtitle {
    font-size: 1.25rem;
    color: #e0e7ff;
    max-width: 750px;
    margin-bottom: 2rem;
    font-weight: 300;
}

.trip-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.trip-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
}

.trip-stat-card .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a5b4fc;
    display: block;
    margin-bottom: 0.35rem;
}

.trip-stat-card .value {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trip-stat-card .sub-note {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-top: 0.25rem;
}

/* Nav Tabs */
.nav-tabs-wrapper {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
}

.nav-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.75rem 0;
    scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--primary);
    background: var(--bg-subtle);
}

.tab-btn.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* Sections */
.main-content {
    padding: 2.5rem 0 4rem;
}

.section-block {
    margin-bottom: 3.5rem;
}

.section-title-wrap {
    margin-bottom: 1.75rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 0.25rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.35rem;
    max-width: 800px;
}

/* W Hotel Stay Showcase */
.w-hotel-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.w-hotel-banner {
    background: linear-gradient(135deg, #0e7490, #0369a1);
    color: #ffffff;
    padding: 2rem;
    position: relative;
}

.stay-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.w-hotel-banner h2 {
    font-size: 1.85rem;
    margin-bottom: 0.35rem;
}

.w-hotel-banner p.tagline {
    font-size: 1.1rem;
    color: #cffafe;
    font-weight: 300;
}

.w-body {
    padding: 2rem;
}

.w-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .w-grid {
        grid-template-columns: 1fr;
    }
}

.feature-box {
    background: var(--bg-subtle);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.feature-box ul {
    list-style: none;
}

.feature-box li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: #334155;
}

.feature-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-emerald);
    font-weight: bold;
}

.pool-highlight-card {
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.pool-highlight-card h4 {
    font-size: 1rem;
    color: #0e7490;
    margin-bottom: 0.25rem;
}

.pool-highlight-card p {
    font-size: 0.9rem;
    color: #155e75;
}

.pro-tip {
    background: #fffbeb;
    border-left: 4px solid var(--accent-gold);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
    color: #92400e;
    margin-top: 1.25rem;
}

/* Stay 2 Comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.option-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.option-card.featured {
    border-color: var(--accent-emerald);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.option-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.option-badge.purple {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.option-badge.indigo {
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
}

.option-badge.emerald {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.option-card h3 {
    font-size: 1.45rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.25;
}

.option-type {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.score-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.score-pill {
    background: var(--bg-subtle);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    flex: 1;
    text-align: center;
}

.score-pill .score-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.score-pill .score-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.room-size-box {
    background: #f8fafc;
    border: 1px dashed var(--border-hover);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
    color: #334155;
}

.pros-cons {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.pros-cons h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.pros-cons h4.pros-title {
    color: var(--accent-emerald);
}

.pros-cons h4.cons-title {
    color: var(--accent-coral);
    margin-top: 1rem;
}

.pros-cons ul {
    list-style: none;
    font-size: 0.9rem;
    color: #475569;
}

.pros-cons li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
}

.pros-cons .pro-item::before {
    content: "•";
    color: var(--accent-emerald);
    font-size: 1.2rem;
    position: absolute;
    left: 0.25rem;
    top: -2px;
}

.pros-cons .con-item::before {
    content: "•";
    color: var(--accent-coral);
    font-size: 1.2rem;
    position: absolute;
    left: 0.25rem;
    top: -2px;
}

.verdict-box {
    background: var(--bg-subtle);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: #1e293b;
    border-left: 3px solid var(--primary);
}

/* Kid Activities Grid */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    align-items: center;
}

.filter-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.activity-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.activity-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.activity-icon-bubble {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-header-info {
    flex-grow: 1;
}

.activity-header-info h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.activity-dist {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sensory-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.sensory-badge.low {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.sensory-badge.moderate {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.sensory-badge.high {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.activity-desc {
    font-size: 0.92rem;
    color: #334155;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.toddler-why-box {
    background: #f8fafc;
    border-left: 3px solid var(--accent-cyan);
    padding: 0.75rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.88rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.activity-tips-list {
    list-style: none;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 1.25rem;
}

.activity-tips-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.35rem;
}

.activity-tips-list li::before {
    content: "💡";
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.activity-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
    margin-top: auto;
    font-size: 0.85rem;
}

.meta-cost {
    font-weight: 600;
    color: #047857;
}

.action-links {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-secondary {
    background: var(--bg-subtle);
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Strip Sights Section */
.sights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.sight-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
}

.sight-card h3 {
    font-size: 1.35rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.sight-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.sight-overview {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 1.25rem;
}

.timing-window-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.timing-box {
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
}

.timing-box.good {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.timing-box.bad {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.timing-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    display: block;
    margin-bottom: 0.2rem;
}

/* Event & Crowd Radar */
.radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.radar-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    position: relative;
    border-top: 4px solid var(--accent-coral);
}

.radar-badge {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.radar-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.radar-venue {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.radar-desc {
    font-size: 0.92rem;
    color: #334155;
    margin-bottom: 1.25rem;
}

.avoid-box {
    background: #fff1f2;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.avoid-box h4 {
    font-size: 0.85rem;
    color: #be123c;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.avoid-box ul {
    list-style: none;
    font-size: 0.85rem;
    color: #881337;
}

.avoid-box li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
}

.avoid-box li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    font-size: 0.75rem;
}

.toddler-bypass-box {
    background: #f0fdf4;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #166534;
    border-left: 3px solid var(--accent-emerald);
}

/* Sensory Toolkit */
.toolkit-banner {
    background: linear-gradient(135deg, #065f46, #047857);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.toolkit-banner h2 {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

.toolkit-banner p.subtitle {
    color: #d1fae5;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.toolkit-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.toolkit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.toolkit-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.toolkit-item p {
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.5;
}

/* Map Section */
.map-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.map-controls-bar {
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.map-filter-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.map-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.map-filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.google-maps-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.google-maps-toggle-btn:hover {
    background: #dbeafe;
}

#map-container {
    height: 580px;
    width: 100%;
    z-index: 10;
}

/* Custom Leaflet Map Markers */
.custom-pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -100%);
}

.pin-bubble {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.pin-point {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid;
    margin-top: -1px;
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-md) !important;
    padding: 0.5rem !important;
    box-shadow: var(--shadow-lg) !important;
    font-family: 'Outfit', sans-serif !important;
}

.map-popup-card {
    padding: 0.5rem;
    max-width: 260px;
}

.map-popup-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.map-popup-desc {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.map-popup-btn {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}

/* Modal for Google Maps Setup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.25rem;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.modal-header h3 {
    font-size: 1.4rem;
    color: var(--text-main);
}

.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-step {
    margin-bottom: 1.25rem;
}

.modal-step h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.modal-step p {
    font-size: 0.9rem;
    color: #475569;
}

.key-input-box {
    margin: 1.25rem 0;
    display: flex;
    gap: 0.5rem;
}

.key-input {
    flex-grow: 1;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 3rem 0;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.footer a {
    color: #cbd5e1;
    text-decoration: underline;
}

/* Stay 2 Sub-Tabs & View Selector */
.stay2-view-selector-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.75rem;
}

.selector-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stay2-view-selector {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.stay2-view-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.stay2-view-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.stay2-view-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.stay-subtabs-nav {
    display: flex;
    gap: 0.35rem;
    background: var(--bg-subtle);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
}

.stay-subtab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.45rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    text-align: center;
    white-space: nowrap;
}

.stay-subtab-btn:hover {
    color: var(--primary);
}

.stay-subtab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.stay-panel {
    display: none;
}

.stay-panel.active {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Water & Tub Specific Styles */
.water-section-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.9rem;
}

.water-sub-block {
    background: var(--bg-subtle);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.water-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.water-block-header h4 {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 700;
}

.tub-score-pill, .pool-score-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.tub-guaranteed-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    padding: 0.75rem;
    color: #166534;
    font-size: 0.88rem;
}

.tub-guaranteed-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #14532d;
}

.tub-alert-box {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 4px solid #e11d48;
    border-radius: 6px;
    padding: 0.75rem;
    color: #9f1239;
    font-size: 0.88rem;
}

.tub-alert-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #881337;
}

.water-detail-line {
    margin-bottom: 0.35rem;
    color: #334155;
    font-size: 0.88rem;
}

.hot-tub-desc {
    color: #475569;
    font-size: 0.88rem;
}

.water-verdict-box {
    background: #eff6ff;
    border-left: 3px solid #0284c7;
    padding: 0.85rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.88rem;
    color: #0369a1;
}

/* Pricing & Channel Styles */
.pricing-section-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rough-pricing-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.pricing-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    margin-bottom: 0.4rem;
}

.pricing-headline-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pricing-total-large {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.pricing-rate-sub {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-breakdown-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.82rem;
    color: #475569;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--border-color);
}

.pricing-room-type {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
    margin-top: 0.5rem;
}

.pricing-suite-note {
    background: #fffbeb;
    border-left: 3px solid var(--accent-gold);
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    color: #92400e;
    border-radius: 0 4px 4px 0;
    margin-top: 0.5rem;
}

.channel-fhr-box {
    background: #fffdfa;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.08);
}

.channel-fhr-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}

.fhr-badge {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.channel-fhr-header h4 {
    font-size: 0.95rem;
    color: #78350f;
    font-weight: 700;
}

.fhr-perks-list {
    list-style: none;
    font-size: 0.85rem;
    color: #451a03;
    margin-bottom: 0.75rem;
}

.fhr-perks-list li {
    margin-bottom: 0.35rem;
    padding-left: 0.5rem;
    line-height: 1.4;
}

.fhr-net-val {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #065f46;
}

.alternative-channels-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
}

.alternative-channels-box h4 {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.alt-channel-item {
    margin-bottom: 0.4rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--border-hover);
    color: #475569;
    line-height: 1.4;
}

.booking-verdict-box {
    background: #f0fdf4;
    border-left: 3px solid var(--accent-emerald);
    padding: 0.75rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.88rem;
    color: #166534;
}

/* Delivery Hub & Restaurants */
.delivery-rules-banner {
    background: linear-gradient(135deg, #f0fdf4, #ecfeff);
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.rules-banner-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.rules-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.rules-list li {
    background: #ffffff;
    border: 1px solid #d1fae5;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: #065f46;
    line-height: 1.4;
}

.delivery-hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.delivery-hotel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.delivery-hotel-header {
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.delivery-hotel-header h4 {
    font-size: 1.15rem;
    color: var(--text-main);
}

.walk-pill {
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 700;
    background: #ccfbf1;
    color: #0f766e;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

.logistics-score-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
}

.logistics-detail-item {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.courier-note-box {
    background: #f8fafc;
    border: 1px dashed var(--border-hover);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: #475569;
    margin-top: auto;
}

.delivery-filter-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.delivery-filter-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.delivery-filter-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.restaurant-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.restaurant-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.restaurant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.6rem;
    gap: 0.5rem;
}

.restaurant-cuisine-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.restaurant-header h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    line-height: 1.25;
}

.restaurant-rating {
    font-size: 0.82rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    white-space: nowrap;
}

.restaurant-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.delivery-speed-pill {
    font-size: 0.8rem;
    font-weight: 600;
    color: #047857;
    background: #ecfdf5;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

.platforms-wrap {
    display: flex;
    gap: 0.35rem;
}

.platform-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.toddler-dish-box {
    background: #fff7ed;
    border-left: 3px solid #f97316;
    padding: 0.75rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 0.75rem;
}

.toddler-dish-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #9a3412;
    margin-bottom: 0.25rem;
}

.toddler-dish-box p {
    font-size: 0.86rem;
    color: #7c2d12;
    line-height: 1.4;
}

.parent-dish-box {
    background: #f5f3ff;
    border-left: 3px solid #8b5cf6;
    padding: 0.75rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 0.75rem;
}

.parent-dish-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5b21b6;
    margin-bottom: 0.25rem;
}

.parent-dish-box p {
    font-size: 0.86rem;
    color: #4c1d95;
    line-height: 1.4;
}

.delivery-why-box {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.delivery-pro-tip {
    font-size: 0.82rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: #92400e;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.restaurant-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
    #map-container {
        height: 420px;
    }
    .stay2-view-selector {
        width: 100%;
    }
    .stay2-view-btn {
        flex: 1;
        text-align: center;
    }
    .stay-subtabs-nav {
        flex-direction: column;
    }
}

