/* DO NOT ADD NEW THINGS WITH EXACT NAME THAT HAS ALREADY BEEN USED */

/* ===== Brand Variables ===== */
:root {
    --color-primary: #1B7085;
    --color-primary-hover: #199AA1;
    --color-secondary-light: #8AC9CE;
    --color-accent-bright: #01D2C3;
    --color-bg: #f5ffff;
    --color-gold: #ecc967;
    --color-text: #1A2B32;
    --color-white: #FFFFFF;
    --font-display: 'Fraunces', serif;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Reset basics ===== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
}


/* ===== Header ===== */

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    z-index: 1000;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 64px;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--color-primary);
    font-weight: 600;
}

.main-nav a.active::after {
    width: 100%;
}

/* MOBILE */
/* ===================================================
   MOBILE.CSS — Isolated Mobile Overrides
   Executes only at 900px and below.
   Zero desktop CSS/HTML is modified.
=================================================== */

/* Base state for the new hamburger button — hidden by default
   so it never appears on desktop (>900px). This is a NEW class,
   not a desktop class, so this is not a desktop override. */
.hamburger-btn {
    display: none;
}

@media (max-width: 900px) {

    /* --- 1. Header container: neutralize fixed desktop padding --- */
    .header-inner {
        padding: 0.75rem 5% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        position: relative; /* anchor point for the dropdown */
    }

    /* --- 2. Logo: scale fluidly, stay flush left --- */
    .logo {
        max-width: 5.5rem !important;
        flex-shrink: 0;
    }

    .logo img {
        height: auto !important;
        width: 100% !important;
        display: block;
    }

    /* --- 3. Hamburger button: flush right, fluid tap target --- */
    .hamburger-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        width: 2rem;
        height: 2rem;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
        z-index: 1001;
    }

    .hamburger-btn span {
        display: block;
        width: 1.25rem;
        height: 0.125rem;
        background-color: var(--color-text, #1a1a1a);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* Animate into an "X" when open */
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(0.375rem) rotate(45deg);
    }
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-0.375rem) rotate(-45deg);
    }

    /* --- 4. Repurpose .main-nav as the sliding dropdown panel --- */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
        transition: max-height 0.35s ease;
    }

    .main-nav.active {
        max-height: 28rem; /* comfortably fits 5 stacked links at any mobile width */
    }

    /* --- 5. Stack the 5 links vertically, fluid spacing --- */
    .main-nav ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 1rem 5%;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 0;
        font-size: clamp(0.8rem, 3vw, 0.9375rem);
    }

    /* Underline hover effect doesn't suit a stacked list — neutralize it */
    .main-nav a::after {
        display: none;
    }
}

/* -----  HOME PAGE @ index.php   -------------------------------------------------------------- */

/* ===== Hero: Poster Carousel ===== */
.hero-carousel {
    background-color: var(--color-white);
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.carousel-viewport {
    flex: 1;
    max-width: 1100px;
    overflow: hidden;
    container-type: inline-size;
}
.carousel-track {
    display: flex;
    align-items: stretch;
}
.carousel-slide {
    flex: 0 0 calc(50cqw - 20px);
    margin-right: 40px;
    width: calc(50cqw - 20px);
    height: auto;
    object-fit: contain;
    display: block;
}
.carousel-slide:last-child {
    margin-right: 0;
}
.carousel-arrow {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}
.carousel-arrow:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}
.carousel-arrow svg {
    stroke-width: 1.5;
}

@media (max-width: 900px) {

    /* --- 1. Container: fluid padding, positioning context for arrows --- */
    .hero-carousel {
        padding: 1.5rem 5% !important;
        position: relative; /* anchors the absolutely-positioned arrows below */
        gap: 0;
    }

    /* --- 2. Viewport: full width, no desktop max-width cap --- */
    .carousel-viewport {
        max-width: 100% !important;
        width: 100%;
    }

    /* --- 3. Single poster per view, fully fluid image scaling --- */
    .carousel-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        /* margin-right: 40px is intentionally NOT overridden here —
           see explanation above re: JS slide-width math */
    }

    /* --- 4. Arrows: pulled out of flex flow, overlaid on the poster,
              44x44px minimum touch target, safely inset from edges --- */
    .carousel-arrow {
        position: absolute !important;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 2.75rem;   /* 44px */
        height: 2.75rem;  /* 44px */
        padding: 0 !important;
        background-color: rgba(255, 255, 255, 0.85) !important;
        border-radius: 50%;
        box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
    }

    .carousel-arrow:hover {
        transform: translateY(-50%) scale(1.1); /* preserves hover scale without breaking the centering transform */
    }

    .carousel-arrow-prev {
        left: 0.75rem;
    }

    .carousel-arrow-next {
        right: 0.75rem;
    }

    .carousel-arrow svg {
        width: 1.5rem;
        height: 1.5rem;
    }

}

/* ===== About Placeholder ===== */
.about-placeholder {
    background: #f0f0f0;
}

/* ===== Scroll Cue Button ===== */

.scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;

    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    animation: scrollBounce 2s ease-in-out infinite;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.scroll-cue:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-accent-bright);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}


/* ===== About ===== */
.about {
    background-color: var(--color-white);
    padding: 120px 64px;
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.about-headline {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 56px;
    line-height: 1.05;
    text-transform: uppercase;
}

.headline-line {
    display: block;
    background: linear-gradient(90deg, #1B7085, #199AA1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.headline-line-accent {
    background: linear-gradient(90deg, #01D2C3, #8AC9CE);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-divider {
    flex: 1;
    min-width: 120px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(1, 210, 195, 0) 0%, #01D2C3 40%, #1B7085 100%);
}

.about-body {
    font-size: 17px;
    line-height: 1.9;
    color: #5A6B72;
    max-width: 780px;
    margin-bottom: 44px;
}

.about-body .highlight {
    font-weight: 700;
    color: #1B7085;
}

.about-taglines {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 44px;
}

.about-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #A6B0B4;
    letter-spacing: 0.3px;
}

.tagline-accent {
    font-weight: 800;
    color: #199AA1;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #6854B6;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    padding: 15px 32px;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, gap 0.2s ease;
}

.about-cta:hover {
    background-color: #7A64C9;
    transform: translateY(-2px);
    gap: 14px;
}

.about-cta svg {
    transform: rotate(-90deg);
}

@media (max-width: 900px) {

    /* --- 1. Section wrapper: fluid gutters --- */
    .about {
        width: 100% !important;
        padding: 2.25rem 5% !important;
    }

    .about-inner {
        max-width: 100% !important;
        width: 100%;
    }

    /* --- 2. Header block: Perfect horizontal alignment --- */
    .about-header {
        display: flex !important;
        flex-direction: row !important; /* Forces divider to always stay on the right side */
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
        width: 100%;
    }

    /* --- 3. Headline: Tight line height and compact sizing --- */
    .about-headline {
        font-size: clamp(1.25rem, 5.5vw, 1.65rem) !important; /* Keeps headline compact across screen dimensions */
        line-height: 1.15 !important;
        flex-shrink: 0 !important; /* Prevents text boxes from squishing or over-wrapping */
        font-weight: 900;
    }

    /* --- 4. Divider: Fluid line filling remaining space --- */
    .about-divider {
        flex: 1 !important; /* Automatically stretches to fill remaining horizontal space beautifully */
        min-width: 2rem !important;
        height: 0.1875rem !important; /* Match the subtle thickness seen in the goal design */
    }

    /* --- 5. Body paragraph: Lighter, crisper font-sizing --- */
    .about-body {
        font-size: clamp(0.75rem, 3.2vw, 0.85rem) !important; /* Slightly scaled down from your current look */
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        color: #555555; /* Softened grey baseline for high contrast with bold elements */
    }

    /* --- 6. Taglines: Perfectly compacted stack spacing --- */
    .about-taglines {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.2rem !important; /* Tighter spacing matching the target screenshot */
        margin-bottom: 1.5rem !important;
    }

    .about-tagline {
        font-size: clamp(0.9rem, 3.8vw, 1.05rem) !important;
        line-height: 1.3 !important;
    }

    /* --- 7. CTA Button: Sleek, compact pill scaling --- */
    .about-cta {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 2.5rem !important; /* 40px compact fluid target height */
        padding: 0.5rem 1.25rem !important; /* Tighter padding values to shrink horizontal bulkiness */
        font-size: clamp(0.725rem, 3vw, 0.775rem) !important; /* Clean downscaled typography footprint */
        border-radius: 50px !important; /* Perfect seamless pill curvature edges */
        box-sizing: border-box !important;
        width: auto !important;
    }

    /* Arrow icon helper formatting inside your button wrapper */
    .about-cta i, 
    .about-cta span:last-child {
        font-size: 0.7rem !important;
        margin-left: 0.5rem !important;
    }

}


/* ===== Services (Scroll-Reveal Sidebar) ===== */

.services {
    background-color: var(--color-white);
    padding: 100px 64px;
}

.services-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
}

.services-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
}

.services-heading {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 32px;
}

.services-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-nav li {
    font-size: 16px;
    font-weight: 500;
    color: #A6B0B4;
    padding-left: 16px;
    border-left: 2px solid #E5E9EA;
    transition: color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}


/* Services navigation links */

.services-nav li a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.services-nav li.active {
    color: var(--color-primary);
    border-left: 2px solid var(--color-primary);
    font-weight: 600;
}


/* Services content */

.services-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-panel {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #ECEFF1;
    padding: 40px 0;
}

.service-panel:last-child {
    border-bottom: none;
}

.service-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.service-panel h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.service-panel p {
    font-size: 16px;
    line-height: 1.75;
    color: #5A6B72;
    max-width: 480px;
    margin-bottom: 32px;
}

.service-visual {
    width: 100%;
    max-width: 480px;
    height: 240px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}


/* ===== Services CTA ===== */

.services-cta {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #ECEFF1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.services-cta p {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}

@media (max-width: 900px) {

    /* --- 1. Section wrapper: fluid padding --- */
    .services {
        padding: 2.5rem 5% !important;
    }

    /* --- 2. Core layout switch: grid → single flex column --- */
    .services-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        max-width: 100% !important;
    }

    /* --- 3. Unwrap the sidebar box so its children become direct
              flex items of .services-inner — lets us reorder the
              CTA to appear after the content box via `order`,
              without touching the HTML at all --- */
    .services-sidebar {
        display: contents !important;
        position: static !important; /* neutralizes desktop's sticky positioning */
    }

    /* --- 4. Eyebrow + Heading: centered, fluid, ordered first --- */
    .section-eyebrow {
        order: 1;
        text-align: center;
        display: block;
        font-size: clamp(0.75rem, 3vw, 0.8125rem);
        margin-bottom: 0.5rem;
    }

    .services-heading {
        order: 2;
        text-align: center;
        font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
        margin-bottom: 1rem !important;
        padding-bottom: 1rem;
        border-bottom: 1px solid #ECEFF1;
    }

    /* --- 5. Nav tabs: horizontal scrollable sticky bar --- */
    .services-nav {
        order: 3;
        flex-direction: row !important;
        gap: 0 !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        position: sticky !important;
        top: var(--mobile-header-height, 3.75rem); /* set dynamically by JS below */
        background-color: var(--color-white);
        z-index: 50;
        padding-bottom: 0.75rem;
        margin-bottom: 0;
        border-bottom: 1px solid #ECEFF1;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;
    }

    .services-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .services-nav li {
        flex-shrink: 0;
        border-left: none !important;
        border-bottom: 2px solid transparent;
        padding: 0 0 0.5rem 0 !important;
        margin-right: 1.5rem;
        font-size: clamp(0.8rem, 3.2vw, 0.875rem);
    }

    .services-nav li:last-child {
        margin-right: 0;
    }

    .services-nav li.active {
        border-left: none !important;
        border-bottom: 2px solid var(--color-primary);
    }

    /* --- 6. The scroll-snap box itself --- */
    .services-content {
        order: 4;
        max-height: 65vh !important;
        overflow-y: auto !important;
        scroll-snap-type: y mandatory !important;
        gap: 0 !important;
        position: relative;
    }

    /* --- 7. Each panel: fills the box, snaps cleanly --- */
    .service-panel {
        min-height: 0 !important; /* neutralizes the destructive 70vh desktop value */
        height: 100% !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
        justify-content: flex-start !important;
        padding: 2rem 0 !important;
    }

    .service-number {
        font-size: clamp(0.75rem, 3vw, 0.8125rem);
    }

    .service-panel h3 {
        font-size: clamp(1.25rem, 5.5vw, 1.5rem) !important;
        margin-bottom: 0.75rem !important;
    }

    .service-panel p {
        font-size: clamp(0.8rem, 3.1vw, 0.875rem);
        line-height: 1.65;
        max-width: 100%;
        margin-bottom: 1.25rem !important;
    }

    .service-visual {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        border-radius: 1rem;
    }

    /* --- 8. CTA: ordered last, centered --- */
    .services-cta {
        order: 5;
        align-items: flex-start !important;
        text-align: left;
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
    }

    .services-cta p {
        font-size: clamp(0.85rem, 3.3vw, 0.9375rem);
    }
    
    .services-cta .btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 2.5rem !important;
        padding: 0.5rem 1.25rem !important;
        font-size: clamp(0.725rem, 3vw, 0.775rem) !important;
        border-radius: 50px !important;
        box-sizing: border-box !important;
        width: auto !important;
    }

}



/* ===== Buttons ===== */

.btn-primary {
    display: inline-block;
    background-color: #6854B6;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 32px;
    margin-left: -8px;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #7A64C9;
    transform: translateY(-2px);
}

/* ===== Reviews ===== */
.reviews {
    background-color: var(--color-white);
    min-height: 500px;
    padding: 30px 64px;
}

.reviews-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.reviews-heading {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    margin-top: 4px;
}

@media (max-width: 900px) {

    /* --- 1. Section wrapper: fluid safe padding & auto height floor --- */
    .reviews {
        padding: 1.5rem 5% !important;
        min-height: auto; /* neutralize desktop's fixed 500px floor */
    }

    .reviews-inner {
        max-width: 100% !important;
    }

    /* --- 2. Heading: fluid, centered responsive sizing --- */
    .reviews-heading {
        font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
        margin-bottom: 0.5rem;
    }

    .section-eyebrow {
        font-size: clamp(0.75rem, 3vw, 0.8125rem);
    }

    /* --- 3. Widget Container: True Flexbox centering --- */
    .reviews-widget-wrap {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    /* --- 4. Jotform Widget Scaling: Perfectly centered row fill --- */
    #JFWebsiteWidget-019ff4d399c07000823868d0b0f88509fee4 {
        transform: scale(0.82);
        transform-origin: top center;
        flex-shrink: 0;
        width: 122%;
        margin-bottom: -8%;
        /* margin-left removed — flexbox centering handles the layout balance flawlessly */
    }

}


/* ===== Journey / How It Works (home page) ===== */
.journey {
    background-color: var(--color-white);
    padding: 100px 64px;
}

.journey-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.journey-heading {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 40px;
}

/* Step track (top nav) */
.journey-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
}

.journey-track-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #EDEFF0;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #8A9498;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.journey-track-dot.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.journey-track-line {
    width: 40px;
    height: 2px;
    background: #EDEFF0;
}

/* Two-column layout */
.journey-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: start;
    gap: 40px;
    text-align: left;
}

.journey-visual {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.journey-stamp {
    width: 150px;
    height: 150px;
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-primary);
    position: relative;
}

.journey-stamp::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px dashed var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
}

.journey-stamp.stamp-animate {
    animation: stampIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes stampIn {
    0% { transform: scale(1.6) rotate(-6deg); opacity: 0; }
    60% { transform: scale(0.92) rotate(3deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Content side */
.journey-step-content {
    min-height: 200px;
    margin-bottom: 24px;
}

.journey-step {
    display: none;
}

.journey-step.active {
    display: block;
}

.journey-step h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 12px;
}

.journey-step h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--color-accent-bright);
}

.journey-step p {
    font-size: 15px;
    line-height: 1.75;
    color: #5A6B72;
    text-align: justify;
}

/* Controls */
.journey-controls {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 340px;
}

.journey-prev-next {
    width: 140px;
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

.journey-prev-next:focus {
    outline: none;
}

.journey-prev-next.is-hidden {
    visibility: hidden;
}

/* Nav + WhatsApp glow (applied to real header/whatsapp elements) */
.nav-glow {
    position: relative;
    color: var(--color-primary) !important;
    z-index: 10;
    display: inline-block;
}

.nav-glow::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 12px);
    border-radius: 8px;
    box-shadow: 0 0 0 2px var(--color-accent-bright);
    animation: navGlowPulse 1.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navGlowPulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--color-accent-bright), 0 0 12px 2px rgba(1, 210, 195, 0.4); }
    50% { box-shadow: 0 0 0 2px var(--color-accent-bright), 0 0 20px 6px rgba(1, 210, 195, 0.6); }
}

.whatsapp-float.nav-glow::before {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
}

/* Floating journey cursor */
.journey-cursor {
    position: fixed;
    width: 26px;
    height: 26px;
    pointer-events: none;
    z-index: 2000;
    opacity: 0;
    transition: top 0.5s ease, left 0.5s ease, opacity 0.3s ease;
}

.journey-cursor.visible {
    opacity: 1;
}

.journey-cursor svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

@media (max-width: 900px) {

    .journey {
        padding: 2rem 5% !important;
    }

    .journey-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        position: relative !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-bottom: 4rem;
    }

    .section-eyebrow {
        order: -1 !important;
        text-align: center !important;
        width: 100% !important;
        flex-basis: 100%;
        font-size: clamp(0.75rem, 3vw, 0.8125rem);
    }

    .journey-heading {
        order: -1 !important;
        text-align: center !important;
        width: 100% !important;
        flex-basis: 100%;
        font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
        margin-bottom: 1.5rem !important;
    }

    .journey-track {
        order: 0;
        flex-direction: column !important;
        align-items: center;
        gap: 0;
        margin: 0 1.25rem 0 0 !important;
        flex-shrink: 0;
        align-self: stretch;
        box-sizing: border-box;
        padding-top: 2rem;
        padding-bottom: 2rem;
        justify-content: flex-start !important;
        padding-right: 0.5rem;
    }

    .journey-track-dot {
        width: 2rem;
        height: 2rem;
        font-size: 0.8125rem;
        flex-shrink: 0;
    }

    .journey-track-line {
        width: 2px !important;
        height: 2.5rem !important;
        flex-shrink: 0;
    }

    .journey-layout {
        order: 1;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        grid-template-columns: none !important;
        gap: 1.5rem !important;
        text-align: left !important;
        flex: 1;
        min-width: 0;
    }

    .journey-visual {
        width: 100%;
        padding-top: 0;
        padding-left: 0;
        padding-right: 40px;
        box-sizing: border-box;
    }

    .journey-stamp {
        width: clamp(6.5rem, 30vw, 9.375rem);
        height: clamp(6.5rem, 30vw, 9.375rem);
        max-width: 100%;
    }

    .journey-stamp svg {
        width: clamp(2.25rem, 10vw, 3.25rem);
        height: clamp(2.25rem, 10vw, 3.25rem);
    }

    .journey-step-content {
        min-height: 12.5rem !important;
        margin-bottom: 0 !important;
        width: 100%;
    }

    .journey-step h3 {
        font-size: clamp(1.1rem, 5vw, 1.375rem) !important;
    }

    .journey-step p {
        font-size: clamp(0.85rem, 3.3vw, 0.9375rem);
        line-height: 1.65;
        text-align: left !important;
    }

    .journey-controls {
        position: absolute !important;
        bottom: 1.5rem !important;
        left: 5% !important;
        width: 90% !important;
        max-width: 100%;
        display: flex !important;
        justify-content: space-between !important;
    }

    .journey-prev-next {
        width: auto;
        padding: 0.75rem 1.75rem;
        font-size: clamp(0.8rem, 3.2vw, 0.875rem);
    }

    .journey-cursor {
        display: none !important;
    }

    .nav-glow::before {
        display: none !important;
    }

}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    background-color: var(--color-white);
    padding: 60px 64px;
    text-align: center;
}

.gallery-heading {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 48px;
}

.gallery-stage {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 324px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
}

.gallery-grid {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gallery-stage.is-active .gallery-grid {
    opacity: 1;
    pointer-events: auto;
}

.gallery-col {
    animation-play-state: paused;
}

.gallery-stage.is-active .gallery-col {
    animation-play-state: running;
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    height: 100%;
}

.gallery-col {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: max-content;
    animation: galleryScrollLeft linear infinite;
}

.gallery-col:nth-child(1) { animation-duration: 165s; }
.gallery-col:nth-child(2) { animation-duration: 155s; }

.gallery-photo {
    height: 150px;
    width: auto;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

@keyframes galleryScrollLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


.gallery-envelope {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 190px;
    height: 132px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 5;
    animation: envelopeWiggle 2.4s ease-in-out infinite;
}

.gallery-envelope:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

@keyframes envelopeWiggle {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    20% { transform: translate(-50%, -50%) rotate(-4deg); }
    40% { transform: translate(-50%, -50%) rotate(3deg); }
    60% { transform: translate(-50%, -50%) rotate(-2deg); }
    80% { transform: translate(-50%, -50%) rotate(2deg); }
}

.gallery-envelope.is-open {
    animation: none;
}

.envelope-body {
    position: absolute;
    inset: 0;
    background: var(--color-secondary-light);
    border: 1.5px solid var(--color-primary);
    border-radius: 8px;
}

.envelope-pocket {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 40%;
    border-left: 1.5px solid var(--color-primary);
    border-right: 1.5px solid var(--color-primary);
    border-bottom: 1.5px solid var(--color-primary);
    border-radius: 0 0 8px 8px;
}

.envelope-flap {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 55%;
    background: #DFF3F4;
    border: 1.5px solid var(--color-primary);
    border-radius: 8px 8px 0 0;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top;
    transition: transform 0.45s ease;
    z-index: 2;
}

.gallery-envelope.is-open .envelope-flap {
    transform: rotateX(-170deg);
}

.envelope-note {
    position: absolute;
    left: 10px; right: 10px; top: 8px;
    height: 66px;
    background: var(--color-white);
    border: 1px solid var(--color-secondary-light);
    border-radius: 6px;
    opacity: 0;
    transform: translateY(0) scale(0.9);
    transition: transform 0.5s ease 0.35s, opacity 0.5s ease 0.35s;
    z-index: 3;
}

.gallery-envelope.is-open .envelope-note {
    opacity: 1;
    transform: translateY(-40px) scale(1);
}

.envelope-bubble {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    padding: 9px 18px;
    border-radius: 999px;
    z-index: 6;
    animation: bubbleBounce 1.8s ease-in-out infinite;
}

.envelope-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--color-text);
}

@keyframes bubbleBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

.gallery-envelope.is-open .envelope-bubble {
    animation: none;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1400px;
    margin: 0 auto 48px;
    text-align: left;
}

.gallery-header .section-eyebrow,
.gallery-header .gallery-heading {
    text-align: left;
}

.gallery-heading {
    margin-bottom: 0;
}

.gallery-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.gallery-social-label {
    font-size: 13px;
    font-weight: 500;
    color: #5A6B72;
}

.gallery-social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.social-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

#galCol3 {
    display: none;
}

@media (max-width: 900px) {

    /* --- 1. Section becomes a flex column so we can reorder
              title / stage / social independently --- */
    .gallery {
        display: flex !important;
        flex-direction: column !important;
        padding: 2.5rem 0 !important;
        text-align: center; 
    }

    /* --- 2. Unwrap the header so its children (title + social)
              become direct flex items of .gallery --- */
    .gallery-header {
        display: contents !important;
    }

    /* --- 3. Title block: ordered first, CENTER-aligned, own padding --- */
    .gallery-header > div:not(.gallery-social) {
        order: 1;
        width: 100%;
        padding: 0 5%;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;   
        text-align: center !important;     
    }

    .gallery-header .section-eyebrow {
        font-size: clamp(0.7rem, 2.8vw, 0.8125rem);
        text-align: center !important;     
    }

    .gallery-heading {
        font-size: clamp(1.25rem, 5.5vw, 1.625rem) !important;
        margin-bottom: 0 !important;
        text-align: center !important;     
    }

    /* --- 4. Gallery stage: ordered second, full-bleed --- */
    .gallery-stage {
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 1.5rem 0 0 0 !important;
        padding: 0 !important;
        border-radius: 0;
    }

    .gallery-grid {
        gap: 0.75rem !important;
    }

    .gallery-col {
        gap: 0.75rem !important;
    }

    #galCol3 {
        display: flex !important;
    }

    .gallery-col:nth-child(3) {
        animation-duration: 145s;
    }

    .gallery-photo {
        height: clamp(4.5rem, 22vw, 6.25rem);
        border-radius: 0.625rem;
    }

    /* --- 5. Social block: ordered LAST, moved below the stage,
              full width, laid out as a PERFECTLY CENTERED row --- */
    .gallery-social {
        order: 3;
        width: 100%;
        padding: 0 5%;
        margin-top: 1.25rem;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important; 
        gap: 0.75rem;
        box-sizing: border-box !important;
    }

    /* Completely hide the text label from the view */
    .gallery-social-label {
        display: none !important;
    }

    .gallery-social-icons {
        display: flex !important;
        justify-content: center !important;
        gap: 0.5rem;
    }

    .social-icon {
        width: 1.75rem;
        height: 1.75rem;
    }

    .social-icon img {
        width: 0.875rem;
        height: 0.875rem;
    }

    /* --- 6. Envelope: scaled down slightly for better visual balance --- */
    .gallery-envelope {
        width: clamp(7.5rem, 40vw, 10.5rem); /* Scaled down from 8.5rem - 11.875rem */
        height: clamp(5.2rem, 28vw, 7.35rem); /* Scaled down from 5.9rem - 8.25rem */
    }

    .envelope-bubble {
        font-size: clamp(0.65rem, 2.8vw, 0.75rem);
        padding: 0.4rem 0.8rem;
        top: -2.5rem;
    }

    .envelope-note {
        height: clamp(2.65rem, 13vw, 3.65rem);
    }

}


/* -----  HOME PAGE @ index.php   -------------------------------------------------------------- */

/* -----  EVERYWHERE   ------------------------------------------------------------------------- */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}
/* -----  EVERYWHERE   ------------------------------------------------------------------------- */

/* ===== Generic Page Placeholder ===== */
.page-placeholder {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-size: 18px;
}

@media (max-width: 900px) {
    .whatsapp-float {
        /* Fluid dimensions: scales from 44px on a 320px screen up to 52px */
        width: clamp(2.75rem, 12vw, 3.25rem) !important;
        height: clamp(2.75rem, 12vw, 3.25rem) !important;
        
        /* Bring it slightly closer to the edges on mobile so it stays clear of text content */
        bottom: 16px !important;
        right: 16px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    /* Ensure the inner image/icon inside the circle wraps and shrinks fluidly too */
    .whatsapp-float img,
    .whatsapp-float i {
        width: 50% !important;
        height: 50% !important;
        font-size: clamp(1.25rem, 5vw, 1.5rem) !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* -----  CONTACT PAGE @ contact.php   -------------------------------------------------------------- */

/* ===== Contact Hero ===== */
.contact-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 420px;
    background-image: url('../img/cbg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 15, 20, 0.55) 0%,
        rgba(6, 15, 20, 0.35) 50%,
        rgba(6, 15, 20, 0.6) 100%
    );
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    padding: 0 24px;
}

.contact-hero-eyebrow {
    color: var(--color-accent-bright);
}

.contact-hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-white);
    margin: 14px 0 20px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-hero-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Contact Info Cards ===== */
.contact-info {
    background-color: var(--color-white);
    padding: 90px 64px;
}

.contact-info-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.info-card {
    display: block;
    background: #EAF4F4;
    border-radius: 18px;
    padding: 36px 30px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(27, 112, 133, 0.18);
    background-color: #DFF0F0;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.info-card:hover .info-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.info-card-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c5a059;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 22px;
    min-height: 48px;
}

.info-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.info-card-cta .arrow {
    transition: transform 0.25s ease;
}

.info-card:hover .info-card-cta .arrow {
    transform: translateX(4px);
}

@media (max-width: 900px) {

    /* ============================================
       CONTACT PAGE
    ============================================ */

    /* --- 1. Hero: fluid height, background scaling reinforced --- */
    .contact-hero {
        height: 60vh;
        min-height: 22rem;
        background-size: cover !important;
        background-position: center !important;
    }

    .contact-hero-content {
        max-width: 90%;
        padding: 0 5%;
    }

    .contact-hero-eyebrow {
        font-size: clamp(0.7rem, 3vw, 0.8125rem);
    }

    .contact-hero-content h1 {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
        line-height: 1.25;
        margin: 0.75rem 0 1rem 0;
    }

    .contact-hero-content p {
        font-size: clamp(0.85rem, 3.5vw, 0.9375rem);
        line-height: 1.65;
    }

    .scroll-cue {
        width: clamp(2rem, 8vw, 2.5rem);
        height: clamp(2rem, 8vw, 2.5rem);
    }

    .scroll-cue svg {
        width: clamp(1.25rem, 5vw, 1.5rem);
        height: clamp(1.25rem, 5vw, 1.5rem);
    }

    /* --- 2. Info section: fluid gutter padding --- */
    .contact-info {
        padding: 2.5rem 5% !important;
    }

    /* --- 3. Info cards: horizontal grid → vertical stack --- */
    .contact-info-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 1.5rem !important;
        grid-template-columns: none !important;
        max-width: 100%;
    }

    /* --- 4. Each card: fluid width, no fixed desktop pixel constraints --- */
    .info-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        padding: clamp(1.5rem, 6vw, 2rem) clamp(1.25rem, 5vw, 1.75rem);
    }

    /* --- 5. Icon circle: fluid scale --- */
    .info-icon {
        width: clamp(2.75rem, 11vw, 3rem);
        height: clamp(2.75rem, 11vw, 3rem);
        margin-bottom: clamp(0.875rem, 4vw, 1.25rem);
    }

    .info-icon svg {
        width: clamp(1.25rem, 5vw, 1.5rem);
        height: clamp(1.25rem, 5vw, 1.5rem);
    }

    /* --- 6. Card text: fluid, min-height neutralized (no longer
              needed once cards stack instead of sitting in a row) --- */
    .info-card-label {
        font-size: clamp(0.7rem, 3vw, 0.75rem);
        letter-spacing: 1px;
        margin-bottom: clamp(0.625rem, 3vw, 0.75rem);
    }

    .info-card p {
        font-size: clamp(0.85rem, 3.5vw, 0.9375rem);
        line-height: 1.6;
        margin-bottom: clamp(1rem, 4.5vw, 1.375rem);
        min-height: 0;
    }

    .info-card-cta {
        font-size: clamp(0.8rem, 3.2vw, 0.875rem);
    }

}

@media (min-width: 655px) and (max-width: 900px) {

    .info-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .info-card-cta {
        justify-content: center;
    }

}

/* ===== Contact Form (over background) ===== */
.contact-form-section {
    position: relative;
    background-image: url('../img/cbg.webp');
    background-size: cover;
    background-position: center;
    padding: 120px 64px;
    display: flex;
    justify-content: center;
}


.contact-form-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    text-align: left;
}

.contact-form-wrap h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.6);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1A2B32;
    margin-bottom: 8px;
    text-shadow: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid #C5D9DA;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--color-text);
    background-color: var(--color-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn-primary {
    align-self: flex-start;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    margin-left: 2px;
}


.form-status {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-status-success {
    background: #2E7D32;
    color: #FFFFFF;
}

.form-status-error {
    background: #D32F2F;
    color: #FFFFFF;
}

/* ===== Map ===== */
.contact-map {
    width: 100%;
    line-height: 0;
}

.contact-map iframe {
    display: block;
}

@media (max-width: 900px) {

    /* ============================================
       CONTACT FORM + MAP SECTION
    ============================================ */

    /* --- 1. Form section wrapper: fluid gutter padding --- */
    .contact-form-section {
        padding: 2.5rem 5% !important;
    }

    .contact-form-wrap {
        max-width: 100%;
        width: 100%;
        padding: 0 clamp(0.5rem, 3vw, 1rem);
        box-sizing: border-box;
    }

    /* --- 2. Heading: fluid scale --- */
    .contact-form-wrap h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: clamp(1.25rem, 5vw, 1.75rem);
        
    }

    /* --- 3. Form fields: fluid label, input, textarea sizing --- */
    .form-group label {
        font-size: clamp(0.7rem, 2.8vw, 0.75rem);
        margin-bottom: clamp(0.5rem, 2vw, 0.625rem);
    }

    .contact-form {
        gap: clamp(0.875rem, 3.5vw, 1rem);
    }

    .contact-form input,
    .contact-form textarea {
        padding: clamp(0.75rem, 3vw, 0.9375rem) clamp(0.875rem, 3.5vw, 1.125rem);
        font-size: clamp(0.85rem, 3.4vw, 0.9375rem);
        border-radius: clamp(0.5rem, 2vw, 0.625rem);
    }

    /* --- 4. Submit button: stays compact and left-aligned, per design --- */
    .contact-form .btn-primary {
        font-size: clamp(0.85rem, 3.4vw, 0.9375rem);
        padding: clamp(0.75rem, 3vw, 0.875rem) clamp(1.5rem, 6vw, 2rem);
    }

    /* --- 5. Status message banner --- */
    .form-status {
        padding: clamp(0.75rem, 3vw, 0.875rem) clamp(1rem, 4vw, 1.25rem);
        font-size: clamp(0.8rem, 3.2vw, 0.875rem);
        margin-bottom: clamp(1rem, 4vw, 1.25rem);
    }

    /* --- 6. Map: fluid height instead of flat 450px --- */
    .contact-map iframe {
        height: clamp(18rem, 55vh, 28.125rem) !important; /* ~288px floor, ~450px ceiling */
    }

}

/* ===== MATTA Fair Banner ===== */
.matta-banner {
    width: 100%;
    line-height: 0;
}

.matta-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== Promo Ticker (Syunaz X Matta page only) ===== */
.promo-ticker {
    width: 100%;
    overflow: hidden;
    background-color: #000000;
    padding: 14px 0;
    white-space: nowrap;
}

.promo-ticker-track {
    display: inline-flex;
    width: max-content;
    animation: promoTickerScroll 45s linear infinite;
}

.promo-ticker:hover .promo-ticker-track {
    animation-play-state: paused;
}

.promo-ticker-item {
    flex-shrink: 0;
    padding-right: 4rem;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
}

@keyframes promoTickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 900px) {
    .promo-ticker-item {
        font-size: clamp(0.8rem, 3.2vw, 0.9375rem);
    }
}

/* ===== Benefits + Booth Video ===== */
.matta-content {
    background-color: var(--color-white);
    padding: 100px 64px;
}

.matta-content-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.matta-benefits h2,
.matta-booth h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
    margin-bottom: 32px;
}

/* Benefit cards */
.benefit-card {
    background-color: #EAF4F4;
    border-left: 3px solid var(--color-gold);
    border-radius: 12px;
    padding: 28px 26px;
    margin-bottom: 20px;
}

.benefit-number {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #5A6B72;
}

/* Decorative teal/gold striped divider */
.benefit-divider {
    display: flex;
    height: 20px;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 12px;
}

.benefit-divider span {
    flex: 1;
}

.benefit-divider span:nth-child(odd) {
    background-color: var(--color-secondary-light);
}

.benefit-divider span:nth-child(even) {
    background-color: #E8D48A; 
}


.booth-video-wrap {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 9 / 15.4;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background-color: #1A2B32;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}


/* =========================================================
   VIDEO
   ========================================================= */

.booth-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   LOADING
   ========================================================= */

.booth-video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}


.booth-video-loading.is-visible {
    opacity: 1;
}


.booth-video-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: boothVideoSpin 0.8s linear infinite;
}


@keyframes boothVideoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   PLAY / PAUSE
   ========================================================= */

.booth-video-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(6, 15, 20, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}


.booth-video-toggle:hover:not(:disabled) {
    background: rgba(6, 15, 20, 0.75);
    transform: translate(-50%, -50%) scale(1.05);
}


.booth-video-toggle:disabled {
    opacity: 0;
    cursor: default;
}


.booth-video-toggle.is-playing {
    opacity: 0;
    pointer-events: none;
}


.booth-video-wrap.controls-visible
.booth-video-toggle.is-playing {
    opacity: 1;
    pointer-events: auto;
}


/* =========================================================
   REWIND / FAST FORWARD
   ========================================================= */

.booth-video-skip-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}


.booth-video-wrap.controls-visible
.booth-video-skip-controls {
    opacity: 1;
    pointer-events: auto;
}


.booth-video-skip {
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(6, 15, 20, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        opacity 0.2s ease;
}


.booth-video-skip:hover:not(:disabled) {
    background: rgba(6, 15, 20, 0.75);
    transform: scale(1.08);
}


.booth-video-skip:active:not(:disabled) {
    transform: scale(0.92);
}


.booth-video-skip:disabled {
    opacity: 0;
    pointer-events: none;
}


.booth-video-skip svg {
    display: block;
    pointer-events: none;
}


/* =========================================================
   PROGRESS BAR
   ========================================================= */

.booth-video-progress-wrap {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 6;
    transition: opacity 0.2s ease;
}


.booth-video-wrap:not(.controls-visible)
.booth-video-progress-wrap {
    opacity: 0;
    pointer-events: none;
}


.booth-video-progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    padding: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    outline: none;
}


.booth-video-progress:disabled {
    cursor: default;
}


.booth-video-progress::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(
        to right,
        var(--color-accent-bright) 0%,
        var(--color-accent-bright) var(--progress, 0%),
        rgba(255, 255, 255, 0.35) var(--progress, 0%),
        rgba(255, 255, 255, 0.35) 100%
    );
}


.booth-video-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    margin-top: -4.5px;
    border-radius: 50%;
    border: none;
    background: var(--color-white);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}


.booth-video-progress::-moz-range-track {
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
}


.booth-video-progress::-moz-range-progress {
    height: 4px;
    border-radius: 4px;
    background: var(--color-accent-bright);
}


.booth-video-progress::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: none;
    background: var(--color-white);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

/* ===== Map ===== */
.matta-map {
    width: 100%;
    line-height: 0;
}

.matta-map iframe {
    display: block;
}

@media (max-width: 900px) {

    /* ============================================
       SYUNAZ X MATTA PAGE
    ============================================ */

    /* --- 1. Section wrapper: fluid gutter padding --- */
    .matta-content {
        padding: 2rem 6% !important;
    }

    /* --- 2. Core layout: grid → vertical stack --- */
    .matta-content-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 2.5rem !important;
        grid-template-columns: none !important;
        max-width: 100%;
    }

    .matta-benefits,
    .matta-booth {
        width: 100%;
    }

    /* --- 3. Headings: fluid scale --- */
    .matta-benefits h2,
    .matta-booth h2 {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
        margin-bottom: clamp(1.25rem, 5vw, 1.75rem);
    }

    /* --- 4. Benefit cards: fluid width, fluid text --- */
    .benefit-card {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        padding: clamp(1.25rem, 5vw, 1.5rem) clamp(1.125rem, 4.5vw, 1.375rem);
        margin-bottom: clamp(1rem, 4vw, 1.25rem);
    }

    .benefit-number {
        font-size: clamp(0.75rem, 3vw, 0.8125rem);
        margin-bottom: clamp(0.5rem, 2vw, 0.625rem);
    }

    .benefit-card h3 {
        font-size: clamp(1rem, 4.2vw, 1.125rem);
        margin-bottom: clamp(0.4rem, 1.8vw, 0.5rem);
    }

    .benefit-card p {
        font-size: clamp(0.8rem, 3.2vw, 0.875rem);
        line-height: 1.6;
    }

    /* --- 5. Decorative divider: sits directly beneath the cards --- */
    .benefit-divider {
        height: clamp(0.875rem, 3.5vw, 1.25rem);
        margin-top: 0;
    }

    /* --- 6. Booth video: fluid, capped, correct aspect ratio --- */
    .booth-video-wrap {
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        margin: 0 auto !important;
        aspect-ratio: 9 / 16 !important;
        position: relative !important;
    }

    .booth-video-toggle {
        width: clamp(3.25rem, 14vw, 4.25rem);
        height: clamp(3.25rem, 14vw, 4.25rem);
    }

    .booth-video-toggle svg {
        width: clamp(1.375rem, 6vw, 1.75rem);
        height: clamp(1.375rem, 6vw, 1.75rem);
    }

    .booth-video-skip-controls {
        gap: clamp(2.5rem, 14vw, 4.375rem);
    }

    .booth-video-skip {
        width: clamp(2.5rem, 11vw, 3.25rem);
        height: clamp(2.5rem, 11vw, 3.25rem);
    }

    .booth-video-skip svg {
        width: clamp(1.375rem, 6vw, 1.875rem);
        height: clamp(1.375rem, 6vw, 1.875rem);
    }

    .booth-video-spinner {
        width: clamp(1.75rem, 7vw, 2.375rem);
        height: clamp(1.75rem, 7vw, 2.375rem);
    }

    /* --- 7. Map: fluid height, matching the Contact page pattern --- */
    .matta-map iframe {
        height: clamp(18rem, 55vh, 28.125rem) !important;
    }

}

@media (min-width: 901px) and (max-width: 1050px) {

    /* ============================================
       SYUNAZ X MATTA PAGE — IN-BETWEEN TIER
       901px – 1050px: keeps desktop's side-by-side
       grid layout, but scales everything down a bit
    ============================================ */

    /* --- 1. Section wrapper: slightly tighter than desktop's 64px --- */
    .matta-content {
        padding: 4.5rem 4% !important;
    }

    .matta-content-inner {
        gap: 3rem !important; /* was 64px desktop */
    }

    /* --- 2. Headings: scaled down from desktop's 32px --- */
    .matta-benefits h2,
    .matta-booth h2 {
        font-size: 1.625rem !important; /* was 2rem/32px desktop */
        margin-bottom: 1.5rem !important;
    }

    /* --- 3. Benefit cards: tighter padding, smaller text --- */
    .benefit-card {
        padding: 1.375rem 1.25rem !important; /* was 28px 26px desktop */
        margin-bottom: 1rem !important;
    }

    .benefit-number {
        font-size: 0.8rem !important;
    }

    .benefit-card h3 {
        font-size: 1.0625rem !important; /* was 18px desktop */
    }

    .benefit-card p {
        font-size: 0.8125rem !important; /* was 14px desktop */
        line-height: 1.6;
    }

    .benefit-divider {
        height: 1.125rem !important; /* was 20px desktop */
    }

    /* --- 4. Booth video: scaled down from desktop's 340px cap --- */
    .booth-video-wrap {
        max-width: 19rem !important; /* was 340px desktop → ~304px */
    }

    .booth-video-toggle {
        width: 3.5rem !important; /* was 68px desktop */
        height: 3.5rem !important;
    }

    .booth-video-skip {
        width: 2.75rem !important; /* was 52px desktop */
        height: 2.75rem !important;
    }

    .booth-video-skip-controls {
        gap: 3.75rem !important; /* was 70px desktop */
    }

    /* --- 5. Map: slightly shorter than desktop's flat 450px --- */
    .matta-map iframe {
        height: 22rem !important; /* was 450px desktop → 352px */
    }

}

/* =========================================================
   PACKAGES PAGE
   ========================================================= */


.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-hover);
}

.packages-results-info {
    max-width: 1400px;
    margin: 0 auto 24px;
    padding: 0 64px;
    font-size: 14px;
    font-weight: 600;
    color: #5A6B72;
}

.packages-results-info.no-results {
    color: #B84A4A;
}

.packages-page {
    background: var(--color-white);
}

.packages-intro {
    padding: 80px 64px 32px;
    text-align: center;
}

.packages-heading {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-text);
}

/* ----- Details panel ----- */

.package-details {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 64px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.4s ease, margin 0.6s ease;
}

.package-details.is-open {
    max-height: 2400px;
    opacity: 1;
    margin-bottom: 48px;
}

.details-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #ECEFF1;
}

.details-left {
    background: #F3E9C8;
    padding: 48px;
}

.details-right {
    position: relative;
    padding: 0;
    min-height: 480px;
}

.details-badge {
    display: inline-block;
    background: var(--color-white);
    border: 1.5px solid var(--color-text);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 10px;
}

.details-package-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-optical-sizing: auto;
    font-size: 48px;
    color: var(--color-text);
    line-height: 1.05;
    margin-bottom: 20px;
}

.details-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.details-different {
    font-size: 14px;
    color: #3e4b51;
    margin-bottom: 24px;
}

.details-left h4 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 12px;
}

.details-itinerary {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.details-itinerary td {
    font-size: 13px;
    color: #3e4b51;
    padding: 8px 0;
    border-bottom: 1.5px solid rgba(0,0,0,0.15);
    vertical-align: top;
}

.details-itinerary td:first-child {
    font-weight: 700;
    color: var(--color-text);
    width: 70px;
    white-space: nowrap;
}

.details-include-exclude {
    font-size: 13px;
    color: #3e4b51;
    line-height: 1.7;
}

.details-include-exclude strong {
    color: var(--color-text);
}

.itinerary-pdf-frame {
    width: 100%;
    height: 85vh;
    min-height: 700px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: block;
}

.itinerary-single-transport-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5A6B72;
    background: #f0f4f5;
    border-radius: 999px;
    padding: 9px 18px;
    width: fit-content;
}

.details-season-tabs {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.season-tab {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.season-tab:hover {
    background: rgba(255, 255, 255, 0.28);
}

.season-tab.is-active {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    border-color: transparent;
}

.details-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-white);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    line-height: 1;
    color: var(--color-text);
    cursor: pointer;
    z-index: 10;
}

.details-close:hover {
    background: #f0f0f0;
}

/* ----- Toolbar / filters ----- */

.packages-toolbar {
    max-width: 1400px;
    margin: 0 auto 48px;
    padding: 0 64px;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    color: var(--color-text);
    border: 1px solid #DDE3E4;
    border-radius: 999px;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.filter-toggle:hover {
    background: #f7f8f8;
}

.packages-filters {
    display: none;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 20px 22px;
    background: var(--color-white);
    border: 1px solid #ECEFF1;
    border-radius: 16px;
}

.packages-filters.is-open {
    display: flex;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #5A6B72;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    accent-color: var(--color-text);
    width: 16px;
    height: 16px;
}

.stepper {
    display: flex;
    align-items: center;
    border: 1px solid #DDE3E4;
    border-radius: 999px;
    overflow: hidden;
    width: fit-content;
}

.stepper-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: #f7f8f8;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.stepper input {
    width: 56px;
    text-align: center;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid #DDE3E4;
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
}

.price-toggle:hover {
    background: #f7f8f8;
}

.btn-reset-filters {
    background: none;
    color: #7A8A90;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 9px 4px;
}

.btn-reset-filters:hover {
    color: var(--color-text);
}

/* ----- Cards ----- */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 64px 100px;
}

.package-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease;
}

.package-card:hover {
    transform: translateY(-4px);
}

.package-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.8) 100%);
    color: var(--color-white);
    gap: 8px;
}

.package-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tag-alt {
    background: #f0f0f0;
    color: #05495a;
    border: 1px solid rgba(41, 217, 205, 0.5);
}


.package-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-white);
}

.package-meta {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

.package-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-gold);
    white-space: nowrap;
}

.btn-view-details {
    background: #6854B6;
    color: var(--color-white);
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-view-details:hover {
    background: #7A64C9;
}

.details-full-itinerary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1.5px solid var(--color-primary);
    padding-bottom: 2px;
    margin-bottom: 24px;
    cursor: pointer;
    opacity: 1;
    width: fit-content;
}

.details-full-itinerary svg {
    transition: transform 0.2s ease;
}

/* ONLY THE DESKTOP RESPONSIVE FOR THE AVAILABILITY SECTION */
/* Add Check Availability to the viewed details */
/* --- Trigger button --- */
.availability-trigger-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn-check-availability {
    background: var(--color-text);
    color: var(--color-white);
    border: none;
    border-radius: 999px;
    padding: 14px 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.btn-check-availability:hover {
    background: #2A3B42;
    transform: translateY(-2px);
}

/* --- Availability section: collapsed by default, expands on .is-open --- */
.availability-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.availability-section.is-open {
    max-height: 3000px; /* generous cap, same technique as .package-details */
    opacity: 1;
    margin-top: 32px;
}

/* --- Loading spinner (shown briefly while .is-loading is present) --- */
.availability-loading {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.availability-section.is-loading .availability-loading {
    display: flex;
}

.availability-section.is-loading .availability-content {
    display: none;
}

.availability-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(27, 112, 133, 0.15);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: availabilitySpin 0.8s linear infinite;
}

@keyframes availabilitySpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.details-availability-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-style: italic;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 16px;
}

.details-availability-hint svg {
    flex-shrink: 0;
}

/* --- Header wrap: single consolidated definition (pill shape) --- */
.availability-header-wrap {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto 32px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(27, 112, 133, 0.10);
    overflow: hidden;
}

.availability-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(138, 201, 206, 0.32), rgba(138, 201, 206, 0.14));
    border-radius: 999px;
    padding: 24px 36px;
    overflow: hidden;
    min-height: 90px;
}


.availability-header-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 20px;
}

.availability-header-label {
    font-size: 14px;
    font-style: italic;
    color: var(--color-text);
    opacity: 0.7;
}

.availability-header-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
}

.availability-header-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(
        90deg,
        rgba(234, 244, 244, 0) 0%,
        #EAF4F4 10%,
        #EAF4F4 100%
    );
    z-index: 2;
}

.availability-header-plane {
    position: absolute;
    top: 50%;
    left: -20%;
    width: clamp(150px, 5.63vw + 77.9px, 190px);
    height: auto;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.availability-header.is-animating .availability-header-mask {
    animation: availabilityMaskReveal 4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.availability-header.is-animating .availability-header-plane {
    animation: availabilityPlaneFly 4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes availabilityMaskReveal {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes availabilityPlaneFly {
    from { left: -20%; }
    to { left: 82%; }
}

.availability-header.no-plane .availability-header-text {
    opacity: 1;
}

/* --- Panel wrap: matches .details-inner's rounded-rect radius --- */
.availability-panel-wrap {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(27, 112, 133, 0.14);
    overflow: hidden;
}

/* --- Gradient card: fixed height, padded gutter on all sides --- */
.availability-body {
    position: relative;
    height: 1000px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
}

/* --- Tab row: inset white block, own radius --- */
.availability-tabs-row {
    position: relative;
    display: flex;
    background: var(--color-white);
    border-radius: 12px;
    flex-shrink: 0;
}

.availability-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.availability-tab:first-child {
    justify-content: flex-start;
    padding-left: 36px;
}

.availability-tabs-row.single-tab .availability-tab:first-child {
    justify-content: center;
    padding-left: 24px; /* matches the normal .availability-tab padding, so it's truly centered */
}

.availability-tab-label {
    position: relative;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #7A8A90;
}

.availability-tab.is-active .availability-tab-label {
    color: #1a1a1a;
    font-weight: 700;
}

/* --- Sliding underline: matches TEXT width, floats below with a gap,
          rounded caps — same philosophy as .main-nav a::after --- */
.availability-tab-indicator {
    position: absolute;
    bottom: 10px;
    height: 3px;
    border-radius: 9999px;
}

/* --- Controls row: transport choice CENTERED, help button pinned
          to the tab bar's right edge via absolute positioning --- */
.availability-controls {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    flex-shrink: 0;
}

.availability-controls-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 28px; /* keeps the row's height stable even when no transport choice renders (single-transport packages) */
}

.availability-transport-choice {
    display: flex;
    align-items: center;
    gap: 24px;
}

.availability-transport-choice label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
}

/* Radios intentionally left as plain browser default — no custom styling */

.availability-help-btn {
    position: absolute;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: none;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.availability-year-choice {
    display: flex;
    align-items: center;
    gap: 8px;
}

.availability-year-choice label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.availability-year-choice select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    padding: 6px 32px 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'><path d='M6 9L12 15L18 9' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: box-shadow 0.2s ease;
}

.availability-year-choice select:hover {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.availability-year-choice select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

/* --- Scrollable content zone: takes remaining height,
          custom scrollbar thumb positioned in the right gutter --- */
.availability-scroll-area {
    flex: 1;
    margin-top: 24px;
    overflow-y: auto;
    padding-right: 24px; /* reserves the gutter the custom thumb sits in */
    scrollbar-width: thin;
    scrollbar-color: rgba(120, 120, 120, 0.6) transparent;
}

.availability-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.availability-scroll-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
}

.availability-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(120, 120, 120, 0.6);
    border-radius: 9999px;
}

.availability-unavailable {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-white);
    font-size: 14px;
}


/* Seoul Dummy Availability*/

/* --- Month accordion --- */
.month-group {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
}

.month-group:last-child {
    margin-bottom: 0;
}

.month-group-toggle {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    overflow: hidden;
}

.month-wave {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.month-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.month-group-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex: 1;
}

.month-group-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.month-group-count {
    font-size: 13px;
    font-weight: 500;
    color: #7A8A90;
}

.month-group-chevron {
    position: relative;
    z-index: 1;
    color: #7A8A90;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.month-group.is-open .month-group-chevron {
    transform: rotate(180deg);
}

.month-group-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.month-group.is-open .month-group-body {
    grid-template-rows: 1fr;
}

.month-group-body-inner {
    overflow: hidden;
    min-height: 0;
}

/* --- Date rows --- */
.date-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid #EEF2F3;
}

.date-range {
    flex: 0 1 auto;         
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.peak-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    color: var(--color-gold);
    font-size: 13px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.peak-info-popover {
    position: absolute;
    z-index: 9999;
    max-width: 260px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.peak-info-popover.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.peak-info-popover::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.88);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.peak-info-popover-title {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #C9A227;
    margin-bottom: 4px;
}

.peak-info-popover-text {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--color-text);
}
/* slots badge */

.date-slots {
    margin-left: auto; 
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 5px;
    background: rgba(236, 201, 103, 0.14);
    border: 1px solid rgba(236, 201, 103, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #8A6A1B;
    white-space: nowrap;
}

.date-price {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
    flex-shrink: 0;
}

.date-row.is-passed .date-price {
    color: #A6B0B4;
}

.date-slots svg {
    flex-shrink: 0;
}

.date-slots.is-open-ended {
    background: rgba(31, 157, 85, 0.10);
    border-color: rgba(31, 157, 85, 0.30);
    color: #1F9D55;
}

.date-slots.is-full {
    background: rgba(184, 74, 74, 0.10);
    border-color: rgba(184, 74, 74, 0.30);
    color: #B84A4A;
}

.date-slots.is-passed-label {
    background: rgba(166, 176, 180, 0.12);
    border-color: rgba(166, 176, 180, 0.3);
    color: #A6B0B4;
}

.btn-enquire {
    background: #6854B6;
    color: var(--color-white);
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.btn-enquire:hover:not(:disabled) {
    background: #5A46A0;
}

.btn-enquire:disabled {
    background: #DDE3E4;
    color: #A6B0B4;
    cursor: default;
}

.date-row.is-passed {
    opacity: 0.55;
}

.date-row.is-passed .date-range {
    color: #A6B0B4;
}

/* Enquire actually */
/* --- Enquiry modal --- */
.enquiry-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 30, 34, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.enquiry-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.enquiry-modal {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-white);
    border-radius: 24px;
    padding: 36px 32px 32px;
    box-shadow: 0 20px 50px rgba(27, 112, 133, 0.25);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s ease;
}

.enquiry-modal-overlay.is-open .enquiry-modal {
    transform: translateY(0) scale(1);
}

.enquiry-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F0F4F5;
    color: var(--color-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}


.enquiry-modal-close:hover {
    background: #E1E6E8;
}

.enquiry-step {
    display: none;
}

.enquiry-step.is-active {
    display: block;
}

.enquiry-step-badge {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ECC967;
    background: #FEFAF0;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(26, 43, 50, 0.04);
}


.enquiry-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 6px;
}

.enquiry-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    color: #7A8A90;
    margin: 0 0 22px;
    line-height: 1.5;
}

/* --- Step 1: summary --- */
.enquiry-summary {
    background: #F7F9FA;
    border-radius: 16px;
    padding: 6px 18px;
    margin-bottom: 26px;
}

.enquiry-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #EEF2F3;
}

.enquiry-summary-row:last-child {
    border-bottom: none;
}

.enquiry-summary-row span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #7A8A90;
}

.enquiry-summary-row strong {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    text-align: right;
}

/* .enquiry-summary-row uses display:flex, which overrides the hidden attribute */
.enquiry-summary-row[hidden] {
    display: none;
}

.enquiry-summary-row #enquirySummaryPrice {
    color: var(--color-primary);
}

/* --- Step 2: form fields --- */
#enquiryForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.enquiry-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.enquiry-field-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-text);
}

.enquiry-optional-tag {
    font-weight: 500;
    font-style: italic;
    color: #A6B0B4;
}

.enquiry-field input[type="text"],
.enquiry-field input[type="tel"],
.enquiry-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #E1E6E8;
    border-radius: 12px;
    padding: 11px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.enquiry-field input[type="text"]:focus,
.enquiry-field input[type="tel"]:focus,
.enquiry-field textarea:focus {
    outline: none;
    border-color: #6854B6;
}

.enquiry-field textarea {
    resize: vertical;
    min-height: 70px;
    font-family: 'Poppins', sans-serif;
}

/* --- Pax stepper --- */
.enquiry-pax-stepper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1.5px solid #E1E6E8;
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
}

.enquiry-pax-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #F0F4F5;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

.enquiry-pax-btn:hover {
    background: #E1E6E8;
}

/* --- Pax limit --- */

.enquiry-pax-hint {
    margin: -10px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #7A8A90;
}

.enquiry-pax-hint[hidden] { display: none; }
.enquiry-pax-hint.is-warning { color: #B84A4A; }

.enquiry-pax-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.enquiry-pax-btn:disabled:hover { background: #F0F4F5; }

.enquiry-pax-stepper input[type="text"] {
    width: 40px !important;
    flex: 0 0 auto;
    text-align: center;
    border: none;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    padding: 0;
    box-sizing: border-box;
}

/* --- Shared modal action buttons --- */
.enquiry-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.btn-enquiry-cancel,
.btn-enquiry-back {
    flex: 1;
    background: none;
    border: 1.5px solid #E1E6E8;
    border-radius: 999px;
    padding: 13px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

.btn-enquiry-cancel:hover,
.btn-enquiry-back:hover {
    background: #F7F9FA;
}

.btn-enquiry-confirm,
.btn-enquiry-submit {
    flex: 1;
    border: none;
    border-radius: 999px;
    padding: 13px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-white);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

.btn-enquiry-confirm {
    background: #6854B6;
}

.btn-enquiry-confirm:hover {
    background: #5A46A0;
}

.btn-enquiry-submit {
    background: #25D366;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-enquiry-submit:hover {
    background: #1EBE5A;
}

body.enquiry-modal-open {
    overflow: hidden;
}

/* just help */
.guide-modal {
    max-width: 480px;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 22px 0 28px;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.guide-step-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E8F5F7;
    color: #1B7085;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-step-text strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 3px;
}

.guide-step-text p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #7A8A90;
}

.btn-guide-close {
    width: 100%;
}

/* ONLY THE DESKTOP RESPONSIVE FOR THE AVAILABILITY SECTION */


/* ============================================
   AVAILABILITY SECTION — MOBILE / RESPONSIVE
============================================ */

@keyframes availabilityPlaneFlyTablet {
    from { left: -20%; }
    to { left: 76%; }
}

@keyframes availabilityPlaneFlyMobile {
    from { left: -20%; }
    to { left: 78%; }
}

@media (max-width: 999px) {

    /* --- 1. Header pill: fluid padding, no fixed min-height --- */
    .availability-header {
        padding: clamp(0.9rem, 4vw, 1.25rem) clamp(1rem, 5vw, 1.5rem) !important;
        min-height: auto !important;
    }

    .availability-header-text {
        margin-left: clamp(0.5rem, 3vw, 1rem) !important;
    }

    .availability-header-label {
        font-size: clamp(0.65rem, 2.8vw, 0.8rem) !important;
    }

    .availability-header-title {
        font-size: clamp(1.1rem, 5.5vw, 1.5rem) !important;
    }

    .availability-header-plane {
        width: clamp(70px, 22vw, 110px) !important;
    }

    /* --- 2. Panel + body: fluid instead of fixed 1000px --- */
    .availability-panel-wrap {
        border-radius: clamp(0.75rem, 3vw, 1.25rem) !important;
    }

    .availability-body {
        height: auto !important;
        min-height: 60vh;
        max-height: 80vh;
        padding: clamp(0.75rem, 3.5vw, 1.25rem) !important;
    }

    /* --- 3. Season tabs row --- */
    .availability-tabs-row {
        border-radius: clamp(0.5rem, 2vw, 0.75rem) !important;
    }

    .availability-tab {
        padding: clamp(0.7rem, 3vw, 1rem) clamp(0.75rem, 3vw, 1.25rem) !important;
    }

    .availability-tab:first-child {
        padding-left: clamp(0.9rem, 4vw, 1.5rem) !important;
    }

    .availability-tab-label {
        font-size: clamp(0.72rem, 3vw, 0.85rem) !important;
    }

    /* --- 4. Controls: transport / year / help --- */
    .availability-controls {
        margin-top: clamp(1rem, 4vw, 1.5rem) !important;
        gap: clamp(0.6rem, 2.5vw, 0.875rem) !important;
    }

    .availability-controls-row {
        flex-wrap: wrap;
        gap: clamp(0.5rem, 2vw, 0.75rem);
        padding-right: clamp(1.75rem, 7vw, 2.25rem); /* keeps help button from overlapping when text wraps */
    }

    .availability-transport-choice {
        gap: clamp(0.75rem, 3vw, 1.25rem) !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .availability-transport-choice label {
        font-size: clamp(0.7rem, 2.8vw, 0.8rem) !important;
    }

    .availability-help-btn {
        width: clamp(1.5rem, 6vw, 1.75rem);
        height: clamp(1.5rem, 6vw, 1.75rem);
        font-size: clamp(0.7rem, 2.8vw, 0.8rem);
    }

    .availability-year-choice {
        gap: clamp(0.4rem, 2vw, 0.6rem);
    }

    .availability-year-choice label {
        font-size: clamp(0.7rem, 2.8vw, 0.8rem) !important;
    }

    .availability-year-choice select {
        font-size: clamp(0.7rem, 2.8vw, 0.8rem) !important;
        padding: clamp(0.3rem, 1.5vw, 0.4rem) clamp(1.5rem, 6vw, 1.75rem) clamp(0.3rem, 1.5vw, 0.4rem) clamp(0.5rem, 2vw, 0.65rem) !important;
    }

    .availability-scroll-area {
        padding-right: clamp(0.5rem, 2vw, 0.75rem) !important;
        margin-top: clamp(0.75rem, 3vw, 1.25rem) !important;
    }

    /* --- 5. Month accordion --- */
    .month-group-toggle {
        padding: clamp(0.7rem, 3vw, 1rem) clamp(0.85rem, 3.5vw, 1.25rem) !important;
        gap: clamp(0.5rem, 2vw, 0.75rem) !important;
    }

    .month-group-title {
        font-size: clamp(0.75rem, 3.2vw, 0.9rem) !important;
    }

    .month-group-count {
        font-size: clamp(0.65rem, 2.6vw, 0.8rem) !important;
    }

    /* --- 6. Date rows: base fluid sizing (wrap behavior handled by width-specific queries below) --- */
    .date-row {
        padding: clamp(0.6rem, 2.8vw, 0.85rem) clamp(0.85rem, 3.5vw, 1.25rem) !important;
        gap: clamp(0.5rem, 2vw, 0.75rem) !important;
    }

    .date-range {
        font-size: clamp(0.72rem, 3vw, 0.85rem) !important;
    }

    .date-slots {
        font-size: clamp(0.65rem, 2.6vw, 0.78rem) !important;
        padding: clamp(0.3rem, 1.5vw, 0.4rem) clamp(0.6rem, 2.5vw, 0.85rem) !important;
    }

    .btn-enquire {
        font-size: clamp(0.62rem, 2.4vw, 0.72rem) !important;
        padding: clamp(0.4rem, 2vw, 0.5rem) clamp(0.75rem, 3vw, 1rem) !important;
    }

    /* --- 7. Peak popover --- */
    .peak-info-popover {
        max-width: clamp(200px, 70vw, 260px) !important;
        padding: clamp(0.65rem, 3vw, 0.85rem) clamp(0.75rem, 3.5vw, 1rem) !important;
    }

    .peak-info-popover-title {
        font-size: clamp(0.7rem, 2.8vw, 0.8rem) !important;
    }

    .peak-info-popover-text {
        font-size: clamp(0.68rem, 2.6vw, 0.78rem) !important;
    }

    /* --- 8. Trigger button + hint text --- */
    .btn-check-availability {
        font-size: clamp(0.75rem, 3vw, 0.875rem) !important;
        padding: clamp(0.75rem, 3vw, 0.875rem) clamp(1.25rem, 5vw, 2rem) !important;
    }

    .details-availability-hint {
        font-size: clamp(0.68rem, 2.8vw, 0.8125rem) !important;
    }

    /* --- 9. Enquiry modal --- */
    .enquiry-modal {
        max-width: 92% !important;
        padding: clamp(1.5rem, 6vw, 2rem) clamp(1.25rem, 5vw, 1.75rem) clamp(1.5rem, 6vw, 1.75rem) !important;
        border-radius: clamp(1rem, 4vw, 1.5rem) !important;
    }

    .enquiry-title {
        font-size: clamp(1.05rem, 4.5vw, 1.25rem) !important;
    }

    .enquiry-subtitle {
        font-size: clamp(0.75rem, 3vw, 0.85rem) !important;
    }

    .enquiry-summary {
        padding: clamp(0.3rem, 1.5vw, 0.5rem) clamp(0.9rem, 4vw, 1.125rem) !important;
    }

    .enquiry-summary-row span,
    .enquiry-summary-row strong {
        font-size: clamp(0.7rem, 2.8vw, 0.8rem) !important;
    }

    .enquiry-field-label {
        font-size: clamp(0.72rem, 2.8vw, 0.85rem) !important;
    }

    .enquiry-field input[type="text"],
    .enquiry-field input[type="tel"],
    .enquiry-field textarea {
        font-size: clamp(0.8rem, 3.2vw, 0.875rem) !important;
        padding: clamp(0.6rem, 2.5vw, 0.7rem) clamp(0.75rem, 3vw, 0.875rem) !important;
    }

    .enquiry-pax-hint {
        font-size: clamp(0.62rem, 2.6vw, 0.78rem) !important;
        line-height: 1.4;
    }

    .btn-enquiry-cancel,
    .btn-enquiry-back,
    .btn-enquiry-confirm,
    .btn-enquiry-submit {
        font-size: clamp(0.7rem, 2.8vw, 0.8rem) !important;
        padding: clamp(0.7rem, 3vw, 0.8rem) clamp(0.9rem, 4vw, 1.25rem) !important;
    }

    /* --- 10. Guide modal --- */
    .guide-modal {
        max-width: 92% !important;
    }

    .guide-step-number {
        width: clamp(1.5rem, 6vw, 1.75rem);
        height: clamp(1.5rem, 6vw, 1.75rem);
        font-size: clamp(0.7rem, 2.8vw, 0.8rem);
    }

    .guide-step-text strong {
        font-size: clamp(0.78rem, 3vw, 0.875rem) !important;
    }

    .guide-step-text p {
        font-size: clamp(0.7rem, 2.8vw, 0.8125rem) !important;
    }

}

/* Larger in height base */
@media (min-width: 400px) and (max-width: 999px) {
    .availability-body {
        min-height: 92.86vh !important;
        max-height: 95vh !important;
    }
}


/* --- Date row: stays inline (desktop-style) from 651px to 999px --- */
@media (min-width: 651px) and (max-width: 999px) {
    .date-row {
        flex-wrap: nowrap;
    }

    .date-range {
        flex: 0 1 auto;      /* was: flex: 1 */
        min-width: 0;
    }

    .date-price {
        font-size: clamp(0.72rem, 3vw, 0.85rem);
    }
}

/* --- Date row: wraps + vertically centers below 650px --- */
@media (max-width: 650px) {
    .date-row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "range price price"
            "slots .     enquire";
        align-items: center;
    }

    .date-range {
        grid-area: range;
        min-width: 0;
    }

    .date-price {
        grid-area: price;
        font-size: clamp(0.65rem, 2.6vw, 0.78rem);
    }

    .date-slots {
        grid-area: slots;
        margin-left: 0;
        justify-self: start;
    }

    .btn-enquire {
        grid-area: enquire;
        justify-self: end;
        transform: none;
    }
}

@media (max-width: 360px) {
    .date-price {
        font-size: clamp(0.6rem, 3vw, 0.7rem);
    }
}

/* --- Plane: pulled further left below 700px to avoid cropping --- */
@media (max-width: 700px) {
    .availability-header-plane {
        width: clamp(60px, 19vw, 90px) !important;
    }

    .availability-header.is-animating .availability-header-plane {
        animation-name: availabilityPlaneFlyTablet;
    }
}

/* --- Header + plane: scaled down further below 400px --- */
@media (max-width: 400px) {
    .availability-header {
        padding: clamp(0.65rem, 5vw, 0.95rem) clamp(0.7rem, 5vw, 1rem) !important;
    }

    .availability-header-text {
        margin-left: clamp(0.3rem, 2.5vw, 0.55rem) !important;
    }

    .availability-header-label {
        font-size: clamp(0.56rem, 3.2vw, 0.66rem) !important;
    }

    .availability-header-title {
        font-size: clamp(0.82rem, 6.2vw, 1rem) !important;
    }

    .availability-header-plane {
        width: clamp(42px, 17vw, 60px) !important;
    }

    .availability-header.is-animating .availability-header-plane {
        animation-name: availabilityPlaneFlyMobile;
    }
}

/* --- Transport radios: tighter below 360px to prevent premature stacking --- */
@media (max-width: 360px) {
    .availability-transport-choice {
        gap: clamp(0.45rem, 4vw, 0.7rem) !important;
    }

    .availability-transport-choice label {
        gap: 4px;
        font-size: clamp(0.6rem, 3vw, 0.7rem) !important;
        white-space: nowrap;
    }

    .availability-controls-row {
        padding-right: clamp(1.5rem, 6vw, 1.85rem);
    }
}


/* RESPONSIVE DONE - BUT NOT THE NEW AVAILABILITY SECTION */
@media (max-width: 999px) {

    /* ============================================
       PACKAGE DETAILS MODAL — PHASE 2
    ============================================ */

    /* --- 1. Outer modal wrapper --- */
    .package-details {
        width: 94% !important;
        max-width: 900px !important;
        margin: 2vh auto !important;
        padding: 0 !important;
    }

    .package-details.is-open {
        margin-bottom: 3vh !important;
    }

    /* --- 2. Structural hierarchy: image forced to top via order --- */
    .details-inner {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        border-radius: clamp(0.75rem, 3vw, 1.25rem);
    }

    .details-right {
        order: 1 !important;
    }

    .details-left {
        order: 2 !important;
    }

    /* --- 3. Image container: fluid aspect-ratio, shows fully, no clipping --- */
    .details-right {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        aspect-ratio: 16 / 9 !important;
        overflow: hidden !important;
        min-height: 0 !important;
        max-height: 70vh; /* prevents overly tall phones from stretching the image too far */
    }

    .details-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* --- 4. Beige details container: fluid padding --- */
    .details-left {
        width: 100% !important;
        padding: clamp(1.1rem, 4.5vw, 1.75rem) 6% !important;
        box-sizing: border-box;
    }

    /* --- 5. Overlay reset: season tabs + close button --- */
    .details-season-tabs {
        position: absolute !important;
        top: clamp(0.75rem, 3vw, 1rem) !important;
        left: clamp(0.75rem, 3vw, 1rem) !important;
        right: auto !important;
        z-index: 10 !important;
        gap: clamp(0.3rem, 1.5vw, 0.5rem);
        flex-wrap: wrap;
    }

    .season-tab {
        font-size: clamp(0.6rem, 2.4vw, 0.7rem) !important;
        padding: clamp(0.35rem, 1.5vw, 0.5rem) clamp(0.6rem, 2.5vw, 0.8rem) !important;
    }

    .details-close {
        position: absolute !important;
        top: clamp(0.75rem, 3vw, 1rem) !important;
        right: clamp(0.75rem, 3vw, 1rem) !important;
        left: auto !important;
        z-index: 10 !important;
        width: clamp(1.5rem, 6vw, 1.875rem);
        height: clamp(1.5rem, 6vw, 1.875rem);
        font-size: clamp(0.875rem, 3.5vw, 1.0625rem);
    }

    /* --- 6. Typography: scaled down further, fully fluid --- */
    .details-badge {
        font-size: clamp(0.55rem, 2.2vw, 0.65rem) !important;
        padding: clamp(0.3rem, 1.5vw, 0.4rem) clamp(0.6rem, 2.5vw, 0.75rem) !important;
        margin-bottom: clamp(0.4rem, 1.8vw, 0.5rem) !important;
    }

    .details-package-name {
        font-size: clamp(1.2rem, 6vw, 1.5rem) !important;
        line-height: 1.15 !important;
        margin-bottom: clamp(0.5rem, 2.2vw, 0.625rem) !important;
    }

    .details-price {
        font-size: clamp(0.8rem, 3.6vw, 0.9375rem) !important;
        margin-bottom: clamp(0.4rem, 1.8vw, 0.5rem) !important;
    }

    .details-different {
        font-size: clamp(0.68rem, 3vw, 0.775rem) !important;
        margin-bottom: clamp(0.7rem, 3vw, 0.875rem) !important;
    }

    .details-left h4 {
        font-size: clamp(0.78rem, 3.4vw, 0.9rem) !important;
        margin-bottom: clamp(0.4rem, 1.8vw, 0.5rem) !important;
    }

    .details-left p,
    .details-include-exclude {
        font-size: clamp(0.7rem, 3vw, 0.8125rem) !important;
        line-height: 1.5 !important;
    }

    /* --- 7. Itinerary: compact fluid flex rows --- */
    .details-itinerary {
        display: block;
        width: 100%;
        margin-bottom: clamp(0.75rem, 3.2vw, 1rem) !important;
    }

    .details-itinerary tbody,
    .details-itinerary tr {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: clamp(0.5rem, 2.5vw, 0.75rem) !important;
        flex-wrap: wrap !important;
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
        padding: clamp(0.4rem, 1.8vw, 0.5rem) 0 !important;
    }

    .details-itinerary td {
        display: block;
        border-bottom: none !important;
        padding: 0 !important;
        font-size: clamp(0.68rem, 3vw, 0.775rem) !important;
    }

    .details-itinerary td:first-child {
        width: auto;
        flex-shrink: 0;
        font-size: clamp(0.68rem, 3vw, 0.775rem) !important;
    }

    .details-itinerary td:last-child {
        flex: 1;
        min-width: 60%;
    }

    /* --- 8. Full itinerary link --- */
    .details-full-itinerary {
        font-size: clamp(0.68rem, 3vw, 0.775rem) !important;
        margin-bottom: clamp(0.75rem, 3.2vw, 1rem) !important;
    }

}

@media (max-width: 999px) {

    /* ============================================
       PACKAGES PAGE — MOBILE / RESPONSIVE
       600px AND BELOW
    ============================================ */
    
        /* ============================================
       0. RESULTS INFO (add near the top, with
          section 1 PAGE HEADING)
    ============================================ */
    
    .packages-results-info {
        max-width: 100%;
        padding: 0 5% !important;
        margin: 0 auto clamp(1rem, 4vw, 1.5rem) !important;
        font-size: clamp(0.75rem, 3vw, 0.875rem);
    }

    /* ============================================
       1. PAGE HEADING
    ============================================ */

    .packages-intro {
        padding:
            clamp(2rem, 7vw, 3rem)
            5%
            clamp(1rem, 4vw, 1.5rem) !important;
    }

    .packages-heading {
        font-size:
            clamp(1.15rem, 5vw, 1.65rem) !important;

        font-weight: 800;
        line-height: 1.2;
    }

    .packages-intro .section-eyebrow {
        font-size:
            clamp(0.65rem, 2.5vw, 0.78rem);

        line-height: 1.3;
    }


    /* ============================================
       2. TOOLBAR / FILTER TOGGLE
    ============================================ */

    .packages-toolbar {
        padding: 0 5% !important;

        margin:
            0 auto
            clamp(1.25rem, 4vw, 2rem) !important;
    }

    .filter-toggle {
        min-height:
            clamp(2.4rem, 9vw, 2.75rem);

        padding:
            clamp(0.45rem, 2vw, 0.65rem)
            clamp(0.75rem, 3vw, 1rem);

        font-size:
            clamp(0.7rem, 2.8vw, 0.85rem);

        line-height: 1.2;
    }


    /* ============================================
       3. PACKAGES FILTER BOX
    ============================================ */

    .packages-filters {
        flex-direction: row !important;
        flex-wrap: wrap !important;

        padding:
            clamp(1rem, 4vw, 1.5rem) !important;

        position: relative !important;

        gap: 0 !important;
    }

    .packages-filters.is-open {
        display: flex !important;
    }


    /* ============================================
       4. FILTER GROUP LABELS
    ============================================ */

    .filter-group > label {
        display: block;

        margin-bottom:
            clamp(0.35rem, 1.5vw, 0.5rem);

        font-size:
            clamp(0.65rem, 2.7vw, 0.8rem);

        line-height: 1.2;
    }


    /* ============================================
       5. ROW 1
       COUNTRY / TRANSPORT / SEASON
    ============================================ */

    .filter-group:has(#countryCheckboxes),
    .filter-group:has(#transportCheckboxes),
    .filter-group:has(#seasonCheckboxes) {

        flex: 1 1 33.333%;

        min-width: 0;

        margin-bottom:
            clamp(1rem, 4vw, 1.5rem);

        padding-right:
            clamp(0.25rem, 1.5vw, 0.5rem);
    }


    /* ============================================
       6. CHECKBOX GROUP
    ============================================ */

    #countryCheckboxes,
    #transportCheckboxes,
    #seasonCheckboxes {
        gap:
            clamp(0.25rem, 1.5vw, 0.5rem) !important;
    }

    .checkbox-group {
        gap:
            clamp(0.25rem, 1.5vw, 0.5rem) !important;
    }


    /* ============================================
       7. CHECKBOX OPTIONS
    ============================================ */

    .checkbox-option {

        min-height:
            clamp(1.45rem, 6vw, 1.75rem);

        gap:
            clamp(0.3rem, 1.5vw, 0.5rem);

        font-size:
            clamp(0.65rem, 2.7vw, 0.82rem);

        line-height: 1.2;

        padding: 0;
    }

    .checkbox-option input[type="checkbox"] {

        width:
            clamp(0.9rem, 4vw, 1.1rem);

        height:
            clamp(0.9rem, 4vw, 1.1rem);

        flex-shrink: 0;
    }


    /* ============================================
       8. ROW 2
       DURATION + PRICE
    ============================================ */

    .filter-group:has(#durationInput),
    .filter-group:has(#priceToggle) {

        flex: 1 1 45%;

        min-width: 0;

        margin-bottom:
            clamp(0.75rem, 3vw, 1rem);
    }


    /* ============================================
       9. DURATION STEPPER
    ============================================ */

    .stepper {
        transform:
            scale(clamp(0.78, 0.35 + 3vw, 0.92));

        transform-origin: left center;
    }

    .stepper-btn {

        width:
            clamp(1.75rem, 8vw, 2.25rem);

        height:
            clamp(1.75rem, 8vw, 2.25rem);

        font-size:
            clamp(0.8rem, 3.5vw, 1rem);
    }

    .stepper input {

        width:
            clamp(2.5rem, 12vw, 3rem);

        font-size:
            clamp(0.7rem, 2.8vw, 0.85rem);
    }


    /* ============================================
       10. PRICE TOGGLE
    ============================================ */

    .price-toggle {

        width: 100%;

        min-height:
            clamp(2rem, 8vw, 2.5rem);

        padding:
            clamp(0.35rem, 1.5vw, 0.5rem)
            clamp(0.45rem, 2vw, 0.875rem);

        font-size:
            clamp(0.65rem, 2.7vw, 0.8rem);

        line-height: 1.2;

        justify-content: center;

        white-space: nowrap;
    }


    /* ============================================
       11. RESET FILTERS
    ============================================ */

    .filter-group-reset {

        flex: 1 1 100%;

        align-self: flex-end !important;

        margin: 0 !important;

        display: flex;

        justify-content: flex-end !important;

        width: 100%;
    }

    .filter-group-reset label {
        display: none;
    }

    .btn-reset-filters {

        min-height:
            clamp(2rem, 8vw, 2.5rem);

        padding:
            clamp(0.3rem, 1.5vw, 0.5rem)
            clamp(0.5rem, 2vw, 0.75rem);

        font-size:
            clamp(0.65rem, 2.7vw, 0.8rem);

        line-height: 1.2;

        margin-left: auto !important;
    }


    /* ============================================
       12. PACKAGE GRID
    ============================================ */

    .packages-grid {

        grid-template-columns:
            1fr !important;

        gap:
            clamp(1rem, 4vw, 1.5rem) !important;

        padding:
            0
            5%
            clamp(2.5rem, 10vw, 4rem) !important;
    }


    /* ============================================
       13. PACKAGE CARD
    ============================================ */

    .package-card {

        width: 100% !important;

        max-width: 100% !important;
    }


    /* ============================================
       14. PACKAGE CARD BODY
    ============================================ */

    .package-body {

        padding:
            clamp(0.85rem, 4vw, 1.25rem);
    }


    /* ============================================
       15. PACKAGE CARD TITLE
    ============================================ */

    .package-body h3 {

        font-size:
            clamp(0.95rem, 4.2vw, 1.2rem);

        font-weight: 800;

        line-height: 1.25;

        margin-bottom:
            clamp(0.4rem, 2vw, 0.65rem);
    }


    /* ============================================
       16. PACKAGE CARD GENERAL TEXT
    ============================================ */

    .package-body p {

        font-size:
            clamp(0.7rem, 3vw, 0.85rem);

        line-height: 1.45;
    }


    /* ============================================
       17. PACKAGE PRICE
    ============================================ */

    .package-price {

        font-size:
            clamp(0.95rem, 4.2vw, 1.2rem);

        line-height: 1.2;
    }


    /* ============================================
       18. VIEW DETAILS BUTTON
    ============================================ */

    .btn-view-details {

        min-height:
            clamp(2.25rem, 9vw, 2.75rem);

        padding:
            clamp(0.4rem, 2vw, 0.65rem)
            clamp(0.7rem, 3vw, 1rem);

        display: flex;

        align-items: center;

        justify-content: center;

        font-size:
            clamp(0.65rem, 2.8vw, 0.82rem);

        line-height: 1.2;
    }

}


@media (min-width: 601px) and (max-width: 649px) {

    /* ============================================
       PACKAGES PAGE — SMALL TABLET / LARGE MOBILE
       401px — 649px
       2 CARD LAYOUT
    ============================================ */

    /* ============================================
       0. RESULTS INFO
    ============================================ */
    
    .packages-results-info {
        max-width: 100%;
        padding: 0 5% !important;
        margin: 0 auto clamp(0.75rem, 3vw, 1.25rem) !important;
        font-size: clamp(0.68rem, 2vw, 0.8rem);
    }

    /* ============================================
       1. PAGE HEADING
       FOLLOW MOBILE HEADING STYLE
    ============================================ */

    .packages-intro {
        padding:
            clamp(2rem, 7vw, 3rem)
            5%
            clamp(1rem, 4vw, 1.5rem) !important;
    }

    .packages-heading {
        font-size:
            clamp(1.15rem, 5vw, 1.65rem) !important;

        font-weight: 800;

        line-height: 1.2;
    }

    .packages-intro .section-eyebrow {
        font-size:
            clamp(0.65rem, 2.5vw, 0.78rem);

        line-height: 1.3;
    }


    /* ============================================
       2. TOOLBAR / FILTER TOGGLE
    ============================================ */

    .packages-toolbar {
        padding: 0 5% !important;

        margin:
            0 auto
            clamp(1.25rem, 4vw, 1.75rem) !important;
    }

    .filter-toggle {
        min-height:
            clamp(2.25rem, 7vw, 2.65rem);

        padding:
            clamp(0.4rem, 1.5vw, 0.55rem)
            clamp(0.65rem, 2.5vw, 0.9rem);

        font-size:
            clamp(0.68rem, 2vw, 0.8rem);

        line-height: 1.2;
    }


    /* ============================================
       3. MAIN FILTER BOX
    ============================================ */

    .packages-filters {

        flex-direction: row !important;

        flex-wrap: wrap !important;

        padding:
            clamp(0.9rem, 3vw, 1.25rem) !important;

        position: relative !important;

        gap: 0 !important;
    }

    .packages-filters.is-open {
        display: flex !important;
    }


    /* ============================================
       4. FILTER GROUP LABELS
    ============================================ */

    .filter-group > label {

        display: block;

        margin-bottom:
            clamp(0.3rem, 1.2vw, 0.45rem);

        font-size:
            clamp(0.6rem, 1.8vw, 0.72rem);

        line-height: 1.2;
    }


    /* ============================================
       5. ROW 1
       COUNTRY / TRANSPORT / SEASON
    ============================================ */

    .filter-group:has(#countryCheckboxes),
    .filter-group:has(#transportCheckboxes),
    .filter-group:has(#seasonCheckboxes) {

        flex: 1 1 33.333%;

        min-width: 0;

        margin-bottom:
            clamp(0.8rem, 3vw, 1.2rem);

        padding-right:
            clamp(0.2rem, 1vw, 0.45rem);
    }


    /* ============================================
       6. CHECKBOX GROUP
    ============================================ */

    #countryCheckboxes,
    #transportCheckboxes,
    #seasonCheckboxes,
    .checkbox-group {

        gap:
            clamp(0.2rem, 1vw, 0.4rem) !important;
    }


    /* ============================================
       7. CHECKBOX OPTIONS
    ============================================ */

    .checkbox-option {

        min-height:
            clamp(1.3rem, 4vw, 1.6rem);

        gap:
            clamp(0.2rem, 1vw, 0.4rem);

        font-size:
            clamp(0.58rem, 1.8vw, 0.72rem);

        line-height: 1.15;

        padding: 0;
    }

    .checkbox-option input[type="checkbox"] {

        width:
            clamp(0.8rem, 3vw, 0.95rem);

        height:
            clamp(0.8rem, 3vw, 0.95rem);

        flex-shrink: 0;
    }


    /* ============================================
       8. ROW 2
       DURATION + PRICE
    ============================================ */

    .filter-group:has(#durationInput),
    .filter-group:has(#priceToggle) {

        flex: 1 1 45%;

        min-width: 0;

        margin-bottom:
            clamp(0.6rem, 2vw, 0.85rem);
    }


    /* ============================================
       9. DURATION STEPPER
    ============================================ */

    .stepper {

        transform:
            scale(clamp(0.72, 0.5 + 1.5vw, 0.86));

        transform-origin: left center;
    }

    .stepper-btn {

        width:
            clamp(1.7rem, 5.5vw, 2rem);

        height:
            clamp(1.7rem, 5.5vw, 2rem);

        font-size:
            clamp(0.75rem, 2.2vw, 0.9rem);
    }

    .stepper input {

        width:
            clamp(2.2rem, 7vw, 2.7rem);

        font-size:
            clamp(0.62rem, 1.8vw, 0.76rem);
    }


    /* ============================================
       10. PRICE TOGGLE
    ============================================ */

    .price-toggle {

        width: 100%;

        min-height:
            clamp(1.9rem, 5.5vw, 2.3rem);

        padding:
            clamp(0.3rem, 1vw, 0.45rem)
            clamp(0.35rem, 1.5vw, 0.7rem);

        font-size:
            clamp(0.58rem, 1.8vw, 0.72rem);

        line-height: 1.15;

        justify-content: center;

        white-space: nowrap;
    }


    /* ============================================
       11. RESET FILTERS
    ============================================ */

    .filter-group-reset {

        flex: 1 1 100%;

        align-self: flex-end !important;

        margin: 0 !important;

        display: flex;

        justify-content: flex-end !important;

        width: 100%;
    }

    .filter-group-reset label {
        display: none;
    }

    .btn-reset-filters {

        min-height:
            clamp(1.9rem, 5.5vw, 2.3rem);

        padding:
            clamp(0.3rem, 1vw, 0.45rem)
            clamp(0.4rem, 1.5vw, 0.7rem);

        font-size:
            clamp(0.58rem, 1.8vw, 0.72rem);

        line-height: 1.15;

        margin-left: auto !important;
    }


    /* ============================================
       12. PACKAGE GRID
       2 CARDS
    ============================================ */

    .packages-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            clamp(0.6rem, 2.2vw, 1rem) !important;

        padding:
            0
            5%
            clamp(2.5rem, 8vw, 3.5rem) !important;
    }


    /* ============================================
       13. PACKAGE CARD
    ============================================ */

    .package-card {

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0;

        border-radius:
            clamp(12px, 3vw, 18px);
    }


    /* ============================================
       14. PACKAGE CARD BODY
    ============================================ */

    .package-body {

        padding:
            clamp(0.45rem, 2vw, 0.85rem);

        gap:
            clamp(0.25rem, 1vw, 0.5rem);
    }


    /* ============================================
       15. PACKAGE TAGS
    ============================================ */

    .package-tags {

        gap:
            clamp(0.2rem, 0.8vw, 0.4rem);
    }

    .tag {

        font-size:
            clamp(0.45rem, 1.6vw, 0.68rem);

        padding:
            clamp(0.18rem, 0.7vw, 0.3rem)
            clamp(0.4rem, 1.4vw, 0.7rem);

        border-radius: 999px;
    }


    /* ============================================
       16. PACKAGE DESTINATION / TITLE
    ============================================ */

    .package-body h3 {

        font-size:
            clamp(0.58rem, 2vw, 0.85rem);

        line-height: 1.15;

        margin: 0;
    }


    /* ============================================
       17. PACKAGE DURATION / META
    ============================================ */

    .package-meta {

        font-size:
            clamp(0.48rem, 1.6vw, 0.7rem);

        line-height: 1.15;
    }


    /* ============================================
       18. PACKAGE FOOTER
    ============================================ */

    .package-footer {

        gap:
            clamp(0.25rem, 1vw, 0.5rem);

        margin-top:
            clamp(0.15rem, 0.6vw, 0.35rem);
    }


    /* ============================================
       19. PACKAGE PRICE
    ============================================ */

    .package-price {

        font-size:
            clamp(0.58rem, 1.9vw, 0.85rem);

        line-height: 1.1;

        white-space: nowrap;
    }


    /* ============================================
       20. VIEW DETAILS BUTTON
    ============================================ */

    .btn-view-details {

        padding:
            clamp(0.25rem, 0.9vw, 0.45rem)
            clamp(0.4rem, 1.4vw, 0.75rem);

        font-size:
            clamp(0.45rem, 1.6vw, 0.68rem);

        line-height: 1.1;

        border-radius: 999px;

        flex-shrink: 0;
    }

}


@media (min-width: 650px) and (max-width: 1100px) {

    /* ============================================
       PACKAGES PAGE — 2 CARD LAYOUT
       650px — 1100px
    ============================================ */

    /* ============================================
       0. RESULTS INFO
    ============================================ */
    
    .packages-results-info {
        max-width: 100%;
        padding: 0 clamp(4%, 5vw, 6%) !important;
        margin: 0 auto clamp(1rem, 2.5vw, 1.5rem) !important;
        font-size: clamp(0.75rem, 1.6vw, 0.875rem);
    }

    /* ============================================
       1. PAGE HEADING
    ============================================ */

    .packages-intro {

        padding:
            clamp(2.5rem, 5vw, 4rem)
            clamp(4%, 5vw, 6%)
            clamp(1.25rem, 3vw, 2rem) !important;
    }

    .packages-heading {

        font-size:
            clamp(1.5rem, 3.2vw, 2.1rem) !important;

        font-weight: 800;

        line-height: 1.2;
    }

    .packages-intro .section-eyebrow {

        font-size:
            clamp(0.7rem, 1.5vw, 0.82rem);

        line-height: 1.3;
    }


    /* ============================================
       2. PACKAGE GRID
    ============================================ */

    .packages-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            clamp(1rem, 2.5vw, 1.75rem) !important;

        padding:
            0
            clamp(4%, 5vw, 6%)
            clamp(3rem, 6vw, 4.5rem) !important;
    }


    /* ============================================
       3. PACKAGE CARD
    ============================================ */

    .package-card {

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0;
    }


    /* ============================================
       4. PACKAGE CARD BODY
    ============================================ */

    .package-body {

        padding:
            clamp(0.9rem, 2vw, 1.35rem);
    }


    /* ============================================
       5. PACKAGE CARD TITLE
    ============================================ */

    .package-body h3 {

        font-size:
            clamp(0.95rem, 2vw, 1.25rem);

        font-weight: 800;

        line-height: 1.25;

        margin-bottom:
            clamp(0.4rem, 1vw, 0.65rem);
    }


    /* ============================================
       6. PACKAGE CARD TEXT
    ============================================ */

    .package-body p {

        font-size:
            clamp(0.7rem, 1.45vw, 0.875rem);

        line-height: 1.45;
    }


    /* ============================================
       7. PACKAGE PRICE
    ============================================ */

    .package-price {

        font-size:
            clamp(1rem, 2.1vw, 1.3rem);

        line-height: 1.2;
    }


    /* ============================================
       8. VIEW DETAILS BUTTON
    ============================================ */

    .btn-view-details {

        min-height:
            clamp(2.35rem, 4.5vw, 2.75rem);

        padding:
            clamp(0.4rem, 1vw, 0.65rem)
            clamp(0.65rem, 1.5vw, 1rem);

        display: flex;

        align-items: center;

        justify-content: center;

        font-size:
            clamp(0.7rem, 1.4vw, 0.84rem);

        line-height: 1.2;
    }

}


@media (min-width: 401px) and (max-width: 629px) {

    /* ============================================
       PACKAGES FILTER BOX
       401px — 629px
    ============================================ */


    /* ============================================
       1. TOOLBAR / FILTER TOGGLE
    ============================================ */

    .packages-toolbar {

        padding: 0 5% !important;

        margin:
            0 auto
            clamp(1.25rem, 4vw, 1.75rem) !important;
    }

    .filter-toggle {

        min-height:
            clamp(2.4rem, 7vw, 2.75rem);

        padding:
            clamp(0.45rem, 1.5vw, 0.6rem)
            clamp(0.75rem, 2.5vw, 1rem);

        font-size:
            clamp(0.72rem, 2vw, 0.85rem);

        line-height: 1.2;
    }


    /* ============================================
       2. MAIN FILTER BOX
    ============================================ */

    .packages-filters {

        flex-direction: row !important;

        flex-wrap: wrap !important;

        padding:
            clamp(1.1rem, 3.5vw, 1.5rem) !important;

        position: relative !important;

        gap: 0 !important;
    }

    .packages-filters.is-open {
        display: flex !important;
    }


    /* ============================================
       3. FILTER GROUP LABELS
    ============================================ */

    .filter-group > label {

        display: block;

        margin-bottom:
            clamp(0.4rem, 1.5vw, 0.55rem);

        font-size:
            clamp(0.68rem, 2vw, 0.8rem);

        line-height: 1.2;
    }


    /* ============================================
       4. ROW 1
       COUNTRY / TRANSPORT / SEASON
    ============================================ */

    .filter-group:has(#countryCheckboxes),
    .filter-group:has(#transportCheckboxes),
    .filter-group:has(#seasonCheckboxes) {

        flex: 1 1 33.333%;

        min-width: 0;

        margin-bottom:
            clamp(1rem, 3.5vw, 1.5rem);

        padding-right:
            clamp(0.3rem, 1.5vw, 0.6rem);
    }


    /* ============================================
       5. CHECKBOX GROUP
    ============================================ */

    #countryCheckboxes,
    #transportCheckboxes,
    #seasonCheckboxes {

        gap:
            clamp(0.3rem, 1.2vw, 0.5rem) !important;
    }

    .checkbox-group {

        gap:
            clamp(0.3rem, 1.2vw, 0.5rem) !important;
    }


    /* ============================================
       6. CHECKBOX OPTIONS
    ============================================ */

    .checkbox-option {

        min-height:
            clamp(1.55rem, 5vw, 1.9rem);

        gap:
            clamp(0.3rem, 1.2vw, 0.5rem);

        font-size:
            clamp(0.68rem, 2vw, 0.82rem);

        line-height: 1.2;
    }

    .checkbox-option input[type="checkbox"] {

        width:
            clamp(0.9rem, 3.5vw, 1.1rem);

        height:
            clamp(0.9rem, 3.5vw, 1.1rem);

        flex-shrink: 0;
    }


    /* ============================================
       7. ROW 2
       DURATION + PRICE
    ============================================ */

    .filter-group:has(#durationInput),
    .filter-group:has(#priceToggle) {

        flex: 1 1 45%;

        min-width: 0;

        margin-bottom:
            clamp(0.75rem, 2.5vw, 1rem);
    }


    /* ============================================
       8. DURATION STEPPER
    ============================================ */

    .stepper {

        transform:
            scale(clamp(0.82, 0.65 + 1.5vw, 0.92));

        transform-origin: left center;
    }

    .stepper-btn {

        width:
            clamp(1.9rem, 6vw, 2.25rem);

        height:
            clamp(1.9rem, 6vw, 2.25rem);

        font-size:
            clamp(0.85rem, 2.5vw, 1rem);
    }

    .stepper input {

        width:
            clamp(2.5rem, 8vw, 3rem);

        font-size:
            clamp(0.7rem, 2vw, 0.84rem);
    }


    /* ============================================
       9. PRICE TOGGLE
    ============================================ */

    .price-toggle {

        width: 100%;

        min-height:
            clamp(2.15rem, 6.5vw, 2.6rem);

        padding:
            clamp(0.35rem, 1.2vw, 0.5rem)
            clamp(0.5rem, 1.8vw, 0.85rem);

        font-size:
            clamp(0.68rem, 2vw, 0.82rem);

        line-height: 1.2;

        justify-content: center;

        white-space: nowrap;
    }


    /* ============================================
       10. RESET FILTERS
    ============================================ */

    .filter-group-reset {

        flex: 1 1 100%;

        align-self: flex-end !important;

        margin: 0 !important;

        display: flex;

        justify-content: flex-end !important;

        width: 100%;
    }

    .filter-group-reset label {
        display: none;
    }

    .btn-reset-filters {

        min-height:
            clamp(2.15rem, 6.5vw, 2.6rem);

        padding:
            clamp(0.35rem, 1.2vw, 0.5rem)
            clamp(0.5rem, 1.8vw, 0.85rem);

        font-size:
            clamp(0.68rem, 2vw, 0.82rem);

        line-height: 1.2;

        margin-left: auto !important;
    }

}



/* =========================================================
   ITINERARY PAGE
   ========================================================= */

.itinerary-page {
    background: var(--color-white);
}

.itinerary-intro {
    padding: 80px 64px 32px;
    text-align: center;
}

.itinerary-heading {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-text);
}

.itinerary-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 64px 100px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

/* ----- Sidebar ----- */

.itinerary-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #ECEFF1;
    border-radius: 16px;
    padding: 10px;
}

.itinerary-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f5;
    border-radius: 999px;
    padding: 10px 16px;
    margin-bottom: 8px;
    color: #7A8A90;
}

.itinerary-search input {
    flex: 1;
    border: none;
    background: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    outline: none;
}

.itinerary-search input::placeholder {
    color: #A6B0B4;
}

.country-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    padding: 12px 10px;
    cursor: pointer;
}

.country-group-toggle svg {
    transition: transform 0.2s ease;
}

.country-group.is-expanded .country-group-toggle svg {
    transform: rotate(180deg);
}

.country-group-items {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.country-group.is-expanded .country-group-items {
    max-height: 300px;
}

.destination-item {
    text-align: left;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5A6B72;
    padding: 10px 10px 10px 22px;
    cursor: pointer;
    border-radius: 8px;
}

.destination-item:hover {
    background: #f7f8f8;
}

.destination-item.is-active {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

.destination-item.is-hidden,
.country-group.is-hidden {
    display: none;
}

/* ----- Content ----- */

.itinerary-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.itinerary-season-tabs {
    display: flex;
    gap: 8px;
}

.season-tab-plain {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #5A6B72;
    background: #f0f4f5;
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    cursor: pointer;
}

.season-tab-plain.is-active {
    background: var(--color-text);
    color: var(--color-white);
}

.itinerary-display {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.itinerary-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    display: block;
}

.itinerary-coming-soon {
    text-align: center;
    padding: 100px 20px;
    background: #f7f8f8;
    border-radius: 16px;
    color: #7A8A90;
    font-size: 15px;
}

/* Hides the new toggle button and dropdown by default — inert on desktop */
.country-filter-toggle {
    display: none;
}

.country-dropdown-panel {
    display: flex;
    flex-direction: column;
    gap: 4px; /* restores the exact spacing .itinerary-sidebar's flex-gap gave these on desktop */
}

@media (max-width: 900px) {

    /* ============================================
       PRICE LISTS PAGE — Phase 2
    ============================================ */

    /* --- 1. Page heading --- */
    .itinerary-intro {
        padding: clamp(2rem, 7vw, 3rem) 5% clamp(1rem, 4vw, 1.5rem) !important;
    }

    .itinerary-heading {
        font-size: clamp(1.35rem, 6vw, 1.75rem) !important;
    }

    .itinerary-intro .section-eyebrow {
        font-size: clamp(0.7rem, 2.8vw, 0.8125rem);
    }

    /* --- 2. Layout: collapse grid to a single column --- */
    .itinerary-layout {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        padding: 0 5% 3rem !important;
        gap: 1rem !important;
    }

    /* --- 3. Sidebar: no longer sticky, full width --- */
    .itinerary-sidebar {
        position: static !important;
        width: 100%;
        padding: 0;
        border: none;
        gap: 0.625rem;
    }

    /* --- 4. Row 1: search + Country/Region toggle side by side --- */
    .itinerary-filter-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.625rem;
        width: 100%;
    }

    .itinerary-search {
        flex: 1;
        min-width: 0; /* NEW — allows it to actually shrink below content width */
        margin-bottom: 0 !important;
        padding: 0.625rem 1rem;
    }

    .itinerary-search input {
        font-size: clamp(0.8rem, 3.2vw, 0.875rem);
    }

    .country-filter-toggle {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        background: #f0f4f5;
        border: none;
        border-radius: 999px;
        padding: 0.625rem 0.875rem; /* slightly tightened */
        font-family: 'Poppins', sans-serif;
        font-size: clamp(0.7rem, 2.8vw, 0.8125rem); /* NEW — fluid instead of fixed */
        font-weight: 600;
        color: var(--color-text);
        white-space: nowrap;
        flex-shrink: 0;
        min-width: 0; /* NEW */
        cursor: pointer;
    }

    .country-filter-arrow {
        transition: transform 0.2s ease;
        transform: rotate(-90deg); /* matches the "▶" collapsed state in the mockup */
    }

    .country-filter-toggle.is-open .country-filter-arrow {
        transform: rotate(0deg);
    }

    /* --- 5. Row 2: transport pills, directly beneath row 1 --- */
    .itinerary-season-tabs {
        margin-top: 0.75rem;
        gap: 0.5rem;
    }

    .season-tab-plain {
        font-size: clamp(0.7rem, 3vw, 0.8125rem);
        padding: 0.5rem 1rem;
    }

    /* --- 6. Dropdown panel: floats as an overlay, doesn't push content --- */
    .country-dropdown-panel {
        display: none; /* overrides the base "flex" rule until .is-open is added */
        position: absolute !important;
        top: calc(100% + 0.5rem);
        right: 0;
        width: min(85vw, 20rem);
        max-height: 60vh;
        overflow-y: auto;
        background: var(--color-white);
        border: 1px solid #ECEFF1;
        border-radius: 1rem;
        padding: 0.625rem;
        box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.14);
        z-index: 50;
    }

    .country-dropdown-panel.is-open {
        display: flex !important;
    }

    .itinerary-filter-row {
        position: relative; /* anchors the dropdown panel above */
    }

    .country-group-toggle {
        font-size: clamp(0.8rem, 3.4vw, 0.875rem);
        padding: 0.625rem;
    }

    .destination-item {
        font-size: clamp(0.75rem, 3.2vw, 0.875rem);
        padding: 0.625rem 0.625rem 0.625rem 1.375rem;
    }

    /* --- 7. Content wrapper --- */
    .itinerary-content {
        gap: 0.875rem;
    }

    .itinerary-single-transport-label {
        font-size: clamp(0.7rem, 3vw, 0.8125rem);
        padding: 0.5rem 1rem;
    }

    /* --- 8. Explicit desktop-viewer vs mobile-image visibility (safety net,
              redundant with the JS render() branch, but enforced per spec) --- */
    .itinerary-pdf-frame {
        display: none !important;
    }

    #mobileImageContainer {
        display: block !important;
    }

    /* --- 9. Fluid, edge-to-edge image stack --- */
    .itinerary-display {
        gap: 1rem;
    }

    #mobileImageContainer {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .itinerary-image {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
        border-radius: 0.75rem;
    }

    .itinerary-coming-soon {
        padding: clamp(2.5rem, 12vw, 4rem) 1.25rem;
        font-size: clamp(0.8rem, 3.4vw, 0.9375rem);
    }

}

@media (max-width: 900px) {

    /* Stack search bar and Country/Region toggle
       instead of sitting side by side */
    .itinerary-filter-row {
        flex-direction: column !important;
    }

    .country-filter-toggle {
        justify-content: space-between;
        width: 100%;
    }

    /* Dropdown now opens below the toggle button,
       not below the whole row, and spans full width */
    .country-dropdown-panel {
        position: static !important;
        width: 100% !important;
        max-width: none;
        box-shadow: none;
        border-radius: 0.75rem;
        margin-top: 0.5rem;
    }

}

/* ===== Footer ===== */
.site-footer {
    background-color: #EAF4F4;
    padding: 80px 64px 0 64px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 14px;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-socials a:hover img {
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-primary);
}

.footer-contact a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-badges {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.footer-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    width: 90px;
}

.footer-badge-visual {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-badge-item span {
    font-size: 12px;
    color: #5A6B72;
    line-height: 1.4;
}

.footer-badge-round {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-badge {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(27, 112, 133, 0.15);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #5A6B72;
}

@media (max-width: 900px) {

    /* --- 1. Footer container: neutralize fixed desktop padding --- */
    .site-footer {
        padding: 3rem 5% 0 5% !important;
    }

    /* --- 2. Core fix: grid → centered vertical stack --- */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
        padding-bottom: 2.5rem;
    }

    /* --- 3. Center every column's content, zero out desktop asymmetry --- */
    .footer-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
    }

    /* --- 4. Logo: centered, fluid scale (not a fixed 80px anymore) --- */
    .footer-logo {
        height: auto;
        width: clamp(7rem, 30vw, 9rem); /* ~112px on 320px screens, caps at 144px on 768px+ */
        margin: 0 auto 0.875rem auto;
    }

    .footer-tagline {
        font-size: clamp(0.75rem, 3vw, 0.875rem); /* ~12px floor, 14px ceiling */
        margin-bottom: 1.25rem;
    }

    /* --- 5. Socials: center the row itself --- */
    .footer-socials {
        justify-content: center !important;
    }

    /* --- 6. Section headings (Quick Links / Contact / Licensed) --- */
    .footer-col h4 {
        font-size: clamp(0.8rem, 3vw, 0.875rem);
    }

    /* --- 7. Quick Links + Contact lists --- */
    .footer-links {
        align-items: center !important;
        width: 100%;
    }

    .footer-links a {
        font-size: clamp(0.85rem, 3.5vw, 0.9375rem); /* ~13.6px to 15px */
    }

    /* Contact list: center the BLOCK, left-align the ITEMS inside it to prevent jagged icons */
    .footer-contact {
        align-items: flex-start !important; /* overrides the earlier "center" */
        width: fit-content;                  /* shrinks to the widest line (the address) */
        max-width: 15.625rem;                /* keeps the address wrapping tidy at 768px */
        margin: 0 auto;                      /* this is what centers the whole block on the page */
    }

    .footer-contact li {
        justify-content: flex-start !important; /* was center — this caused the jagged icons */
        text-align: left !important;
        width: 100%;
    }

    .footer-contact li,
    .footer-contact a {
        font-size: clamp(0.8rem, 3.2vw, 0.875rem);
    }

    /* --- 8. Badges: keep side-by-side  --- */
    .footer-badges {
        justify-content: center !important;
        width: 100%;
    }

    .footer-badge-item span {
        font-size: clamp(0.7rem, 2.8vw, 0.75rem); /* ~11.2px to 12px */
    }

    /* --- 9. Bottom copyright line --- */
    .footer-bottom p {
        font-size: clamp(0.7rem, 2.8vw, 0.8125rem); /* ~11.2px to 13px */
    }

}


/* ===== Mobile nav toggle: unused now that mobile mirrors desktop 1:1 ===== */
.nav-toggle {
    display: none;
}

body.nav-open {
    overflow: hidden;
}