/* ===================================
   ZanteLocals - Modern Tourism Website
   Mobile-First Design
   =================================== */

/* ===================================
   Performance baselines
   =================================== */
/* Render offscreen section-level blocks lazily. Browsers that don't support
   content-visibility ignore this rule. */
.region-section,
.listings-section,
.feat-bento,
.bch-region-section,
.footer .footer-section,
.testimonials-section,
.hero-search-wrapper + * {
    content-visibility: auto;
    contain-intrinsic-size: 1200px 800px;
}

/* Strip expensive compositing on mobile: backdrop-filter + heavy animations
   are the two most common mid-range Android frame-time spikes. */
@media (max-width: 900px) {
    .navbar,
    .mobile-menu,
    .favorites-panel,
    .fav-panel-header,
    .search-result-item,
    .btn-hero-events {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-video { display: none; }
}

/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Primary Colors - Island Green */
    --primary-green: #2D8B5F;
    --primary-teal: #2D8B5F; /* Alias for compatibility */
    --primary-dark: #1F6B47;
    --primary-light: #4CAF88;
    --primary-lighter: #E8F5F0;

    /* Accent Colors - Sunset Tones */
    --accent-orange: #FF8C42;
    --accent-yellow: #FFB84D;
    --accent-coral: #FF6B6B;
    --accent-terracotta: #FF8C42; /* Alias for compatibility */

    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --off-white: #F8F9FA; /* Alias for compatibility */
    --light-sand: #F8F9FA; /* Alias for compatibility */
    --medium-gray: #6C757D;
    --dark-gray: #2C3E50;
    --almost-black: #1A1A1A;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Softer and more natural */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);

    /* Transitions - Smooth */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-primary);
    color: var(--almost-black);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-y: hidden; /* Hidden initially, JS enables after loader */
    width: 100%;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page fade-in when content becomes visible */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

body.loaded {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    animation: pageFadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Page exit — applied by JS before navigating away */
body.page-exit {
    opacity: 0 !important;
    transform: translateY(-4px) !important;
    transition: opacity 0.22s ease, transform 0.22s ease !important;
    pointer-events: none !important;
}

/* ===================================
   Touch Optimizations
   =================================== */
a, button, [role="button"],
.listing-card, .category-card, .carousel-btn,
.btn, .favorite-btn, .mobile-nav-item {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* ===================================
   Text Selection Color
   =================================== */
::selection {
    background: rgba(45, 139, 95, 0.18);
    color: var(--almost-black);
}

/* ===================================
   Custom Scrollbar (Chromium)
   =================================== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(45, 139, 95, 0.25);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 139, 95, 0.45);
}

/* ===================================
   Scroll-Reveal Animation
   =================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Image Loading Placeholder
   =================================== */
.listing-image,
.hero-video-container,
.beach-modal-hero {
    background-color: #e4ede9;
}

img {
    background-color: #e4ede9;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   Premium Loading Screen
   =================================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
}

/* Animated Background Waves */
.loader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loader-wave-bg {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: loaderWaveFloat 8s ease-in-out infinite;
}

.loader-wave-bg-2 {
    background: radial-gradient(ellipse at center, rgba(243, 156, 18, 0.1) 0%, transparent 70%);
    animation-delay: -4s;
    animation-duration: 10s;
}

@keyframes loaderWaveFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(2%, -2%) rotate(5deg);
    }
    50% {
        transform: translate(-2%, -4%) rotate(-5deg);
    }
    75% {
        transform: translate(2%, -2%) rotate(3deg);
    }
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Location Pin Icon */
.loader-icon {
    margin-bottom: 1.5rem;
    animation: loaderPinBounce 2s ease-in-out infinite;
}

.loader-pin {
    width: 56px;
    height: 56px;
    color: var(--white);
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
}

@keyframes loaderPinBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Logo Text */
.loader-logo {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: loaderFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.loader-logo-zante {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

.loader-logo-locals {
    color: #FF8C42;
    text-shadow: 0 2px 20px rgba(255, 140, 66, 0.5);
}

/* Tagline */
.loader-tagline {
    font-size: clamp(0.875rem, 3vw, 1.125rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: loaderFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes loaderFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Bar */
.loader-progress-container {
    opacity: 0;
    animation: loaderFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.loader-progress-bar {
    width: clamp(200px, 50vw, 280px);
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffffff, #FF8C42);
    border-radius: 2px;
    animation: loaderProgress 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                0 0 20px rgba(255, 140, 66, 0.4);
}

@keyframes loaderProgress {
    0% {
        width: 0%;
    }
    20% {
        width: 25%;
    }
    50% {
        width: 60%;
    }
    80% {
        width: 85%;
    }
    100% {
        width: 100%;
    }
}

/* ===================================
   Container
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xs);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                background-color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

@media (min-width: 900px) and (hover: hover) {
    .navbar {
        background-color: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

/* Hide nav when scrolling down, reveal when scrolling up */
.navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.125rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-zante {
    color: var(--primary-teal);
}

.logo-locals {
    color: var(--accent-terracotta);
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-light));
    transition: width var(--transition-normal);
    border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2.5px;
    background-color: var(--primary-teal);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-xl);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        gap: 0.25rem;
        border-bottom: 2px solid rgba(45, 139, 95, 0.1);
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-links .nav-link {
        font-size: 1rem;
        padding: 0.6rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   Explore Dropdown (navbar mega-menu)
   =================================== */
.nav-dropdown { position: relative; display: inline-block; }

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-gray);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
    color: var(--primary-teal);
}
.nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-light));
    transition: width var(--transition-normal);
    border-radius: var(--radius-full);
}
.nav-dropdown-trigger:hover::after,
.nav-dropdown.open .nav-dropdown-trigger::after {
    width: 100%;
}
.nav-dropdown-caret {
    width: 10px; height: 10px;
    display: inline-block;
    transition: transform 0.22s cubic-bezier(.4,0,.2,1);
}
.nav-dropdown.open .nav-dropdown-caret,
.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 260px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.06);
    padding: 0.45rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.4,0,.2,1), visibility 0.22s;
    z-index: 1100;
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: #fff;
    border-left: 1px solid rgba(0,0,0,0.06);
    border-top: 1px solid rgba(0,0,0,0.06);
}
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
@media (hover: hover) and (min-width: 768px) {
    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    .nav-dropdown:hover .nav-dropdown-trigger { color: var(--primary-teal); }
    .nav-dropdown:hover .nav-dropdown-trigger::after { width: 100%; }
    .nav-dropdown:hover .nav-dropdown-caret { transform: rotate(180deg); }
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    color: #2C3E50;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}
.nav-dropdown-item:hover {
    background: rgba(45,139,95,0.06);
    color: var(--primary-teal);
    transform: translateX(3px);
}
.nav-dropdown-item.active {
    background: rgba(45,139,95,0.1);
    color: var(--primary-teal);
    font-weight: 600;
}
.nav-dropdown-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(45, 139, 95, 0.08);
    color: var(--primary-green);
    transition: background 0.18s, color 0.18s;
}
.nav-dropdown-item:hover .nav-dropdown-item-icon {
    background: rgba(45, 139, 95, 0.15);
    color: var(--primary-dark);
}
.nav-dropdown-item-emoji {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.08));
}
.nav-dropdown-item-text { flex: 1; min-width: 0; }
.nav-dropdown-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 0.35rem 0.3rem;
}

/* On mobile the dropdown lives inside the slide-down nav, so flatten it into a list. */
@media (max-width: 767px) {
    .nav-dropdown {
        width: 100%;
        display: block;
        position: static;
        text-align: center;
    }
    .nav-dropdown-menu { width: 100%; position: static; }
    .nav-dropdown-trigger {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.6rem 0;
        font-size: 1rem;
    }
    .nav-dropdown-menu {
        transform: none !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.25rem 0 0 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease;
    }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown.open .nav-dropdown-menu { max-height: 600px; }
    .nav-dropdown-item {
        padding: 0.6rem 0.75rem;
        font-size: 0.92rem;
        border-radius: 10px;
    }
    .nav-dropdown-item-icon {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }
}

/* ===================================
   Soft copy-deterrent: text selection + image drag disabled site-wide
   (form inputs remain selectable so users can still type / copy fields)
   =================================== */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
input,
textarea,
select,
[contenteditable="true"],
.rbk-input,
.rbk-textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.12) 30%,
            rgba(0, 0, 0, 0.35) 65%,
            rgba(0, 0, 0, 0.62) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 760px;
    margin: 0 auto;
    padding: 120px 0 100px;
}

/* --- Badge --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem;
}
.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

/* --- Title --- */
.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.4rem, 7vw, 4.25rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: #fff;
}
.hero-title-accent {
    position: relative;
    display: inline-block;
    color: var(--accent-orange);
    -webkit-text-fill-color: var(--accent-orange);
}

/* --- Subtitle --- */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.25rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* --- CTA Buttons --- */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    background: var(--accent-orange);
    color: #fff;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.35);
}
.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.5);
    background: #ff7a24;
    color: #fff;
}
.hero-cta-primary svg {
    transition: transform 0.2s ease;
}
.hero-cta-primary:hover svg {
    transform: translateX(3px);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

/* --- Stats Bar (pinned bottom) --- */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 900px) and (hover: hover) {
    .hero-stats-bar {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.hero-stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .hero-stats-bar {
        gap: 1.25rem;
        padding: 1rem 1rem;
    }
    .hero-stat-num { font-size: 1.2rem; }
    .hero-stat-label { font-size: 0.65rem; }
    .hero-stat-divider { height: 24px; }
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0));
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* --- Staggered Hero Reveal --- */
[data-hero-reveal] {
    opacity: 0;
    transform: translateY(24px);
    animation: heroReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
[data-hero-reveal="1"] { animation-delay: 0.15s; }
[data-hero-reveal="2"] { animation-delay: 0.35s; }
[data-hero-reveal="3"] { animation-delay: 0.55s; }
[data-hero-reveal="4"] { animation-delay: 0.75s; }
[data-hero-reveal="5"] { animation-delay: 0.95s; }

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent-terracotta);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(217, 119, 87, 0.25);
}

.btn-primary:hover {
    background-color: #C96949;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(217, 119, 87, 0.35);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.18);
    color: var(--white);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
}

.btn-outline:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 2.75rem;
    font-size: 1.0625rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-teal);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.btn-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.btn-link svg {
    transition: transform var(--transition-fast);
}

.btn-link:hover svg {
    transform: translateX(5px);
}

/* ===================================
   Section Styling
   =================================== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-lighter);
    color: var(--primary-teal);
    padding: 0.5rem 1.125rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--almost-black);
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    line-height: 1.75;
    font-weight: 400;
}

.section-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.plan-trip-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--medium-gray);
    transition: color var(--transition-fast);
    letter-spacing: 0.01em;
}

.plan-trip-cta:hover {
    color: var(--primary-green);
}

.plan-trip-cta svg {
    transition: transform var(--transition-fast);
}

.plan-trip-cta:hover svg {
    transform: translateY(-1px);
}

/* ===================================
   Categories Section — Photo Cards
   =================================== */
.categories {
    padding: var(--spacing-3xl) 0;
    background: var(--off-white);
    isolation: isolate;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 520px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
    }
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 900px) {
    .category-card {
        min-height: 260px;
    }
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.category-card-img {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-card-img img {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.05) 100%);
    transition: background 0.4s ease;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.category-card-body {
    position: relative;
    z-index: 3;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.category-tag {
    display: inline-block;
    width: fit-content;
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.2rem;
}

.category-card .category-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}

.category-card .category-description {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
    margin: 0;
}

/* Strip backdrop-filter on mobile for performance */
@media (max-width: 900px) {
    .category-tag {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.22);
    }
}

/* ===================================
   Decorative Wave Lines
   =================================== */

/* Section-level waves — always behind content */
.section-wave-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* z-index intentionally omitted — relies on DOM order (SVG is first child)
       and explicit z-index on siblings to stay behind content */
    z-index: 0;
}

.featured {
    background: var(--white);
}

.featured,
.categories {
    position: relative;
    overflow: hidden;
    isolation: isolate;        /* creates self-contained stacking context */
    transform: translateZ(0);  /* GPU layer — also creates stacking context as fallback */
}

/* Every direct child that is NOT the wave SVG sits above it */
.featured > *:not(.section-wave-lines),
.categories > *:not(.section-wave-lines) {
    position: relative;
    z-index: 1;
}

/* Drawing animation — section lines */
@keyframes drawLine {
    from { stroke-dashoffset: 2200; }
    to   { stroke-dashoffset: 0; }
}

/* Wave lines start invisible (dashoffset fully covers path) */
.wave-line {
    stroke-dasharray: 2200;
    stroke-dashoffset: 2200;
    transition: none;
    animation: none; /* overridden when wave-animate is present */
}

/* Trigger draw when JS adds the class */
.wave-animate .wave-line {
    animation: drawLine 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wave-animate .wave-line-1  { animation-delay: 0.0s; }
.wave-animate .wave-line-2  { animation-delay: 0.4s; }
.wave-animate .wave-line-3  { animation-delay: 0.0s; }
.wave-animate .wave-line-4  { animation-delay: 0.4s; }
.wave-animate .wave-line-cat1 { animation-delay: 0.0s; }
.wave-animate .wave-line-cat2 { animation-delay: 0.4s; }


/* ===================================
   Featured Section — Bento Premium
   =================================== */

/* Bento layout */
.feat-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .feat-bento {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .feat-bento {
        grid-template-columns: 1.15fr 1fr;
        gap: 1.75rem;
        min-height: 580px;
    }
}

.feat-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .feat-stack { gap: 1.5rem; }
}

@media (min-width: 1024px) {
    .feat-stack { gap: 1.75rem; }
}

/* Base card */
.feat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    min-height: 280px;
    cursor: pointer;
    isolation: isolate;
}

.feat-hero {
    min-height: 340px;
}

@media (min-width: 768px) {
    .feat-hero { min-height: 100%; }
    .feat-secondary { min-height: 260px; flex: 1; }
}

@media (min-width: 1024px) {
    .feat-hero { min-height: 580px; }
    .feat-secondary { min-height: 270px; }
}

/* Image layer */
.feat-card-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.feat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feat-card:hover .feat-card-img img {
    transform: scale(1.07);
}

/* Gradient overlay */
.feat-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.08) 70%,
        transparent 100%
    );
    transition: background 0.4s;
}

.feat-card:hover .feat-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.12) 70%,
        transparent 100%
    );
}

/* Mouse-tracking shine */
.feat-card-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Top pills */
.feat-card-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.feat-pill {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

.feat-pill-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.feat-pill-cat {
    background: var(--primary-green);
    color: white;
}

.feat-pill-exp {
    background: #FF8C42;
}

/* Bottom content */
.feat-card-bottom {
    position: relative;
    z-index: 3;
    padding: 1.5rem;
}

@media (min-width: 1024px) {
    .feat-hero .feat-card-bottom {
        padding: 2rem 2.25rem;
    }
}

.feat-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #facc15;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.feat-card-bottom h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.3rem;
    line-height: 1.15;
}

.feat-hero .feat-card-bottom h3 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.feat-card-loc {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
}

.feat-card-loc svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.feat-card-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feat-hero .feat-card-bottom p {
    -webkit-line-clamp: 3;
    font-size: 0.9rem;
}

.feat-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feat-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.feat-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #38bdf8;
    transition: gap 0.3s;
}

.feat-card:hover .feat-action {
    gap: 0.6rem;
}

.feat-action svg {
    transition: transform 0.3s;
}

.feat-card:hover .feat-action svg {
    transform: translateX(3px);
}

/* Card border glow on hover */
.feat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0), rgba(56, 189, 248, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 4;
    pointer-events: none;
    transition: background 0.5s;
}

.feat-card:hover::before {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(6, 182, 212, 0.15), rgba(56, 189, 248, 0.3));
}

/* Scroll reveal animation */
.feat-card[data-feat-reveal] {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feat-card[data-feat-reveal].feat-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feat-stack .feat-card[data-feat-reveal]:nth-child(1) { transition-delay: 0.15s; }
.feat-stack .feat-card[data-feat-reveal]:nth-child(2) { transition-delay: 0.3s; }

/* Legacy compat — keep price-range/rating if used elsewhere */
.price-range {
    font-weight: 500;
    color: var(--primary-teal);
    font-size: 0.9375rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
    color: var(--accent-gold);
    font-size: 0.9375rem;
}

.rating svg {
    fill: currentColor;
}

/* ===================================
   Why Us Section
   =================================== */
/* ===================================
   Why ZanteLocals — Premium
   =================================== */
.why-us {
    position: relative;
    background: var(--off-white);
    padding: 5rem 0;
    overflow: hidden;
}

.why-us-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.why-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.why-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 139, 95, 0.1) 0%, transparent 70%);
    top: -10%;
    left: -5%;
}

.why-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
    }
}

/* Visual column */
.why-visual {
    position: relative;
    height: 460px;
}

@media (min-width: 1024px) {
    .why-visual { height: 540px; }
}

.why-visual-main {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06);
}

.why-visual-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-visual:hover .why-visual-main img {
    transform: scale(1.04);
}

.why-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 139, 95, 0.12) 0%, transparent 35%);
    pointer-events: none;
}

.why-stat-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.1rem 1.5rem;
    border-radius: 14px;
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 3;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-visual:hover .why-stat-card {
    transform: translateY(-4px);
}

.why-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    letter-spacing: -0.02em;
}

.why-stat-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--medium-gray);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Content column */
.why-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}

.why-eyebrow svg {
    opacity: 0.7;
}

.why-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--almost-black);
    line-height: 1.1;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.why-title-accent {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-desc {
    font-size: 1.05rem;
    color: var(--medium-gray);
    line-height: 1.75;
    margin: 0 0 2rem;
    max-width: 480px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--medium-gray);
    line-height: 1.75;
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
}

/* Feature items */
.why-features {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.25rem;
}

.why-feat-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding-left 0.3s;
}

.why-feat-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.why-feat-item:hover {
    padding-left: 0.5rem;
}

.why-feat-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--primary-lighter);
    color: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.why-feat-item:hover .why-feat-icon {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 16px rgba(45, 139, 95, 0.25);
}

.why-feat-item h4 {
    font-size: 1rem;
    font-weight: 650;
    color: var(--almost-black);
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.why-feat-item p {
    font-size: 0.85rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* CTA button */
.why-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    background: var(--primary-green);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.why-cta-btn:hover::before {
    transform: translateX(100%);
}

.why-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 139, 95, 0.3);
}

.why-cta-btn svg {
    transition: transform 0.3s;
}

.why-cta-btn:hover svg {
    transform: translateX(3px);
}

/* Scroll reveal */
[data-why-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-why-reveal].why-visible {
    opacity: 1;
    transform: translateY(0);
}

.why-content[data-why-reveal] {
    transition-delay: 0.2s;
}

/* Mobile */
@media (max-width: 639px) {
    .why-us {
        padding: 3rem 0;
    }

    .why-visual {
        height: 360px;
    }

    .why-visual-main {
        width: 80%;
    }

    .why-visual-float {
        width: 50%;
        height: 45%;
        bottom: -10px;
    }

    .why-stat-card {
        padding: 0.85rem 1.1rem;
    }

    .why-stat-num {
        font-size: 2rem;
    }
}

/* Tablet */
@media (min-width: 640px) and (max-width: 1023px) {
    .why-visual {
        max-width: 520px;
        margin: 0 auto;
    }
}

/* ===================================
   CTA Section
   =================================== */
/* ===================================
   FAQ Section (index)
   =================================== */
.index-faq {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.index-faq > *:not(.section-wave-lines) {
    position: relative;
    z-index: 1;
}

.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--white);
    border: 1.5px solid #e8eaed;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 16px rgba(45,139,95,0.08);
}

.faq-item.faq-open {
    border-color: var(--primary-teal);
    box-shadow: 0 4px 20px rgba(45,139,95,0.12);
}

.faq-q-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--almost-black);
    text-align: left;
    line-height: 1.4;
    transition: color 0.2s;
}

.faq-q-btn:hover {
    color: var(--primary-teal);
}

.faq-item.faq-open .faq-q-btn {
    color: var(--primary-teal);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--medium-gray);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.faq-item.faq-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-teal);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-panel p {
    padding: 0 1.5rem 1.4rem;
    font-size: 0.96rem;
    color: var(--dark-gray);
    line-height: 1.75;
    margin: 0;
}

.faq-panel p strong {
    color: var(--almost-black);
}

.faq-panel p em {
    color: var(--primary-teal);
    font-style: normal;
    font-weight: 500;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #f0faf5 0%, #f8f9fa 50%, #fef7f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark-gray);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--almost-black);
}

.testimonial-origin {
    font-size: 0.78rem;
    color: var(--medium-gray);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--almost-black);
    color: var(--white);
    padding: var(--spacing-3xl) 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
    }
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-teal);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 1.125rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links a,
.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===================================
   View More Categories
   =================================== */
/* Events This Month button */
.events-this-month-wrap {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.events-this-month-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    background: linear-gradient(135deg, #2D8B5F, #1a6b45);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(45,139,95,0.3);
}

.events-this-month-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45,139,95,0.4);
}

/* Nav Events button */
.nav-events-btn {
    background: #2D8B5F !important;
    color: #fff !important;
    padding: 0.35rem 0.9rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-events-btn:hover {
    background: #1a6b45 !important;
}

.categories-view-more {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-sm);
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3), 0 2px 8px rgba(14, 165, 233, 0.15);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-view-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn-view-more:hover::before {
    left: 100%;
}

.btn-view-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4), 0 4px 12px rgba(14, 165, 233, 0.2);
}

.btn-view-more:active {
    transform: translateY(-1px);
}

.btn-view-more svg {
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.btn-view-more.expanded svg {
    transform: rotate(180deg);
}


/* ===================================
   Trip Planner Section
   =================================== */
.trip-planner {
    background: linear-gradient(180deg, var(--white) 0%, #f0f7f4 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.trip-planner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: stretch;
}

@media (min-width: 768px) {
    .trip-planner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
        align-items: stretch;
    }
}

.trip-plan-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.trip-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(14, 165, 233, 0.15);
}

.plan-accent {
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-light));
}

.plan-featured .plan-accent {
    height: 5px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow), var(--accent-orange));
    background-size: 200% 100%;
    animation: shimmerAccent 3s ease infinite;
}

@keyframes shimmerAccent {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.plan-featured {
    border-color: rgba(255, 140, 66, 0.25);
    box-shadow: 0 8px 32px rgba(255, 140, 66, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .plan-featured {
        transform: scale(1.06);
        z-index: 2;
    }

    .plan-featured:hover {
        transform: scale(1.06) translateY(-8px);
        box-shadow: 0 24px 56px rgba(255, 140, 66, 0.18), 0 8px 24px rgba(0, 0, 0, 0.08);
    }
}

.plan-popular-tag {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    box-shadow: 0 3px 12px rgba(255, 140, 66, 0.35);
    animation: tagPulse 2.5s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { box-shadow: 0 3px 12px rgba(255, 140, 66, 0.35); }
    50% { box-shadow: 0 3px 20px rgba(255, 140, 66, 0.5); }
}

.plan-header {
    padding: 2.25rem 2rem 0;
    text-align: center;
}

.plan-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-lighter), rgba(14, 165, 233, 0.12));
    color: var(--primary-green);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-sm);
    transition: transform var(--transition-normal);
}

.trip-plan-card:hover .plan-icon {
    transform: scale(1.08) rotate(-3deg);
}

.plan-featured .plan-icon {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.3);
}

.plan-title {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--almost-black);
    margin-bottom: 0.375rem;
    letter-spacing: -0.01em;
}

.plan-duration {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.plan-body {
    padding: 1.5rem 2rem;
    flex: 1;
}

.plan-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.925rem;
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.4;
}

.plan-features li svg {
    color: var(--primary-green);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: var(--primary-lighter);
    padding: 2px;
    border-radius: 50%;
}

.plan-featured .plan-features li svg {
    color: var(--accent-orange);
    background: rgba(255, 140, 66, 0.1);
}

.plan-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.plan-price {
    display: flex;
    flex-direction: column;
}

.price-from {
    font-size: 0.7rem;
    color: var(--medium-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--almost-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.plan-featured .price-amount {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-plan {
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-dark));
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.25);
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.35);
}

.plan-featured .btn-plan {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-yellow));
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.3);
}

.plan-featured .btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 140, 66, 0.4);
}

.trip-planner-note {
    text-align: center;
    margin-top: var(--spacing-xl);
    font-size: 0.95rem;
    color: var(--medium-gray);
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .plan-header {
        padding: 1.75rem 1.5rem 0;
    }

    .plan-body {
        padding: 1.25rem 1.5rem;
    }

    .plan-footer {
        padding: 1.25rem 1.5rem 1.75rem;
    }

    .plan-title {
        font-size: 1.375rem;
    }

    .price-amount {
        font-size: 1.875rem;
    }

    .plan-featured {
        order: -1;
    }

    .trip-plan-card:hover {
        transform: translateY(-4px);
    }
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 80px;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ===================================
   Mobile Bottom Navigation
   =================================== */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-around;
    padding: 0.875rem 0;
    z-index: 999;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    color: var(--medium-gray);
    font-size: 0.75rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.5rem 0.75rem;
}

.mobile-nav-item svg {
    width: 24px;
    height: 24px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary-teal);
}

/* ===================================
   Responsive Utilities
   =================================== */
@media (max-width: 767px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-2xl: 3.5rem;
        --spacing-3xl: 4.5rem;
    }

    body {
        padding-bottom: 85px;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 92vh;
        padding-top: 100px;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-item {
        padding: 0.75rem 1rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .category-card {
        padding: 1.75rem;
    }

    .feat-hero {
        min-height: 300px;
    }

    .feat-card-bottom {
        padding: 1.25rem;
    }

    .feat-card-bottom h3 {
        font-size: 1.3rem;
    }

    .why-us-image {
        height: 400px;
    }

    .why-us-image {
        height: 400px;
    }
}

/* ===================================
   Loading States
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   Nav Favorites Button
   =================================== */
.nav-favorites-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    color: var(--dark-gray);
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    margin-right: 8px;
}

.nav-favorites-btn:hover {
    background: rgba(31, 107, 71, 0.08);
    color: #ef4444;
}

.nav-favorites-btn.has-items {
    color: #ef4444;
}

.nav-favorites-btn.has-items svg path {
    fill: #ef4444;
    stroke: #ef4444;
}

.nav-favorites-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    pointer-events: none;
}

/* ===================================
   Favorites Panel (Drawer)
   =================================== */
.fav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.favorites-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.favorites-panel.open {
    transform: translateX(0);
}

.fav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.fav-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    color: var(--primary-teal, #1F6B47);
}

.fav-panel-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #555;
    cursor: pointer;
    transition: background 0.15s;
    border: none;
}

.fav-panel-close:hover {
    background: #ebebeb;
    color: #111;
}

.fav-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

/* Empty state */
.fav-empty {
    padding: 52px 28px;
    text-align: center;
}

.fav-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.fav-empty-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.fav-empty-sub {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

/* List */
.fav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 22px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}

.fav-item:hover {
    background: #fafafa;
}

.fav-item-info {
    flex: 1;
    min-width: 0;
}

.fav-item-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-item-type {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fav-item-view {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-teal, #1F6B47);
    padding: 5px 12px;
    border: 1.5px solid var(--primary-teal, #1F6B47);
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.fav-item-view:hover {
    background: var(--primary-teal, #1F6B47);
    color: #fff;
}

.fav-item-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ccc;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border: none;
    flex-shrink: 0;
}

.fav-item-remove:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Clear all row */
.fav-clear-row {
    padding: 16px 22px 8px;
    text-align: center;
}

.fav-clear-btn {
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 100px;
    transition: color 0.15s, background 0.15s;
}

.fav-clear-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

@media (max-width: 400px) {
    .favorites-panel {
        width: 100vw;
    }
}
