:root {
    --ocean-deep:   #03071e;
    --ocean-mid:    #023e8a;
    --ocean-bright: #0077b6;
    --ocean-light:  #00b4d8;
    --ocean-pale:   #90e0ef;
    --ocean-foam:   #caf0f8;
    --gold:         #c9a84c;
    --gold-light:   #e8c97a;
    --sand:         #f5ede0;
    --white:        #ffffff;
    --text-dark:    #0d1b2a;
    --text-mid:     #3a4a5c;
    --text-light:   #6b7f93;
    --section-bg:   #f8fbfd;
    --card-shadow:  0 12px 48px rgba(0,55,100,0.12);
    --card-hover:   0 24px 80px rgba(0,55,100,0.22);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 48px;
    --ff-display: 'Cormorant Garamond', Georgia, serif;
    --ff-body:    'Jost', 'Segoe UI', sans-serif;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--ff-body);
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Scroll reveal ─────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Section Titles ────────────────────────────────────────────── */
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title .eyebrow {
    font-family: var(--ff-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ocean-bright);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.section-title .eyebrow::before,
.section-title .eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--ocean-bright);
    opacity: 0.5;
}
.section-title h2 {
    font-family: var(--ff-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 14px;
}
.section-title p {
    font-size: 16px;
    color: var(--text-mid);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════════
   § 1  HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 0;
}

/* Ensure every section after the hero stacks above it */
.hero ~ section,
.hero + section,
.top-category {
    position: relative;
    z-index: 2;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.06); }
    to   { transform: scale(1.00); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(3,7,30,0.82) 0%,
        rgba(2,62,138,0.55) 50%,
        rgba(0,119,182,0.30) 100%
    );
    z-index: 1;
}

/* wave bottom */
.hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* left column */
.hero__left .eyebrow {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.9s 0.3s ease forwards;
}
.hero__left .eyebrow span {
    width: 40px;
    height: 1px;
    background: var(--gold-light);
    display: block;
}

.hero__left h1 {
    font-family: var(--ff-display);
    font-size: clamp(38px, 5vw, 80px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.9s 0.5s ease forwards;
}
.hero__left h1 em {
    font-style: italic;
    font-weight: 600;
    color: var(--ocean-pale);
}

.hero__left p {
    font-size: 20px;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    font-weight: 300;
    max-width: 440px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.9s 0.7s ease forwards;
}

/* stats strip */
.hero__stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.9s 0.85s ease forwards;
}
.hero__stat {
    border-left: 2px solid var(--gold);
    padding-left: 14px;
}
.hero__stat .num {
    font-family: var(--ff-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}
.hero__stat .lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

/* right column — search card */
.hero__search-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    opacity: 0;
    animation: fadeUp 0.9s 0.6s ease forwards;
}

.search-card__tabs {
    display: flex;
    gap: 4px;
    background: rgba(0,0,0,0.2);
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 28px;
}
.search-tab {
    flex: 1;
    text-align: center;
    padding: 9px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    font-family: var(--ff-body);
}
.search-tab.active {
    background: var(--gold);
    color: var(--ocean-deep);
}

/* resort search */
.resort-search-wrap {
    position: relative;
    margin-bottom: 16px;
}
.resort-search-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ocean-pale);
    font-size: 15px;
    z-index: 5;
    pointer-events: none;
}

/* override tom-select for this card */
.ts-wrapper.form-control,
.ts-wrapper {
    background: rgba(255,255,255,0.08) !important;
    border: 1.5px solid rgba(255,255,255,0.2) !important;
    border-radius: 50px !important;
    padding: 0 !important;
    min-height: 52px !important;
}
.ts-control {
    background: transparent !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 13px 20px 13px 46px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-family: var(--ff-body) !important;
    min-height: 52px !important;
    box-shadow: none !important;
}
.ts-control input::placeholder { color: rgba(255,255,255,0.45) !important; }
.ts-control input { color: #fff !important; }
.ts-dropdown {
    background: rgba(10,30,60,0.97) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: var(--radius-md) !important;
    margin-top: 6px !important;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5) !important;
}
.ts-dropdown .option {
    color: rgba(255,255,255,0.85) !important;
    font-size: 13.5px !important;
    padding: 10px 18px !important;
    font-family: var(--ff-body) !important;
}
.ts-dropdown .option:hover,
.ts-dropdown .option.active { background: rgba(0,180,216,0.25) !important; color: #fff !important; }

/* ── Tidio Chat Tab Panel ────────────────────────────────────────── */
.tidio-panel {
    text-align: center;
    padding: 8px 0 4px;
}
.tidio-panel .tidio-live-dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulse-dot 1.8s ease-in-out infinite;
    vertical-align: middle;
}
@keyframes pulse-dot {
    0%,100% { opacity:1; transform:scale(1); box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
    50%      { opacity:0.7; transform:scale(0.8); box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.tidio-panel .tidio-status-line {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 22px;
    letter-spacing: 0.04em;
}
.tidio-panel .tidio-status-line strong {
    color: #4ade80;
    font-weight: 600;
}
.tidio-panel .tidio-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    text-align: left;
}
.tidio-feature-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: all 0.2s;
}
.tidio-feature-row:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(0,180,216,0.3);
}
.tidio-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,180,216,0.25), rgba(0,119,182,0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tidio-feature-icon i {
    font-size: 15px;
    color: var(--ocean-pale);
}
.tidio-feature-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1px;
}
.tidio-feature-text span {
    font-size: 11.5px;
    color: rgba(255,255,255,0.48);
    font-weight: 300;
}

.tidio-open-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-mid));
    border: none;
    color: #fff;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s;
    font-family: var(--ff-body);
}
.tidio-open-btn:hover {
    background: linear-gradient(135deg, #00c5e8, #023e8a);
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,180,216,0.35);
    transform: scale(1.03);
}
.tidio-open-btn svg { flex-shrink: 0; }


/* ── Tidio search box ─────────────────────────────────────────── */
.tidio-search-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: border-color .2s;
}
.tidio-search-wrap:focus-within {
    border-color: rgba(255,255,255,0.55);
}
.tidio-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 11px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 300;
}
.tidio-search-input::placeholder { color: rgba(255,255,255,0.45); }
.tidio-search-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    padding: 0 14px;
    cursor: pointer;
    font-size: 14px;
    transition: color .2s;
}
.tidio-search-btn:hover { color: #fff; }

/* ── Quick-question chips ─────────────────────────────────────── */
.tidio-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.tidio-chip {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 20px;
    color: rgba(255,255,255,0.80);
    font-size: 11px;
    padding: 4px 12px;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.tidio-chip:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

/* ── Browse All Offers button ───────────────────────────────────── */
.offers-browse-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.08));
    border: 1.5px solid rgba(201,168,76,0.5);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    text-decoration: none;
    transition: all 0.28s ease;
    width: 100%;
}
.offers-browse-btn:hover {
    background: linear-gradient(135deg, rgba(201,168,76,0.28), rgba(201,168,76,0.15));
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201,168,76,0.2);
}
.offers-browse-btn__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(201,168,76,0.35);
}
.offers-browse-btn__icon i {
    font-size: 18px;
    color: var(--ocean-deep);
}
.offers-browse-btn__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.offers-browse-btn__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.02em;
    font-family: var(--ff-body);
}
.offers-browse-btn__sub {
    font-size: 11.5px;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
}
.offers-browse-btn__arrow {
    font-size: 13px;
    color: var(--gold);
    transition: transform 0.25s;
}
.offers-browse-btn:hover .offers-browse-btn__arrow {
    transform: translateX(5px);
}

/* kept for layout, repurposed as tidio answer head label colour */
.ai-answer-head-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #48cae4;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ai-answer-close-btn {
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.5);
    width: 22px; height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s;
}
.ai-answer-close-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.ai-answer-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
}
.ai-answer-text ul { padding-left: 16px; margin: 6px 0; }
.ai-answer-text li { margin-bottom: 4px; }
.ai-answer-text strong { color: #90e0ef; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .hero__content { grid-template-columns: 1fr; padding: 100px 24px 60px; gap: 40px; }
}
@media (max-width: 640px) {
    .hero__stats { gap: 20px; }
    .hero__left h1 { font-size: 38px; }
}