/* ============================================
   THE DAVOS SUITE - LIGHT MODE GLOBAL STYLES
   ============================================ */

:root {
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji',
        'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    --font-serif-display: 'Playfair Display', 'Times New Roman', serif;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--color-primary, #0B1C3E);
    min-height: 100%;
}

body {
    background-color: var(--color-primary, #0B1C3E) !important; /* Same as the fixed header — no parchment shelf */
    color: #111827 !important; /* Slightly richer dark for body copy */
    font-family: var(--font-sans);
    font-size: 0.985rem;
    line-height: 1.7;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-height: 100%;
}

/* CRITICAL: Prevent any flexbox from reversing header position */
body {
    display: block !important;
    flex-direction: initial !important;
}

/* HEADER - MUST BE AT TOP - FORCE TO TOP OF VIEWPORT */
body:not(.no-header-fix) #main-header,
#main-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1060 !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--color-primary, #0B1C3E) !important;
    float: none !important;
    clear: both !important;
    min-height: 64px !important;
    height: auto !important;
    bottom: auto !important;
}

/* Ensure header is always fixed at top */
body > #main-header {
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
}

/* Header is always fixed - no homepage exceptions */

/* CRITICAL: Ensure header comes BEFORE main and footer in document flow - NO FLEXBOX ORDERS */
/* Header should naturally be first in normal document flow */

/* Prevent any element from pushing header down */
body > *:not(#main-header) {
    margin-top: 0 !important;
}

body > #main-header + * {
    margin-top: 0 !important;
}

#main-header .navbar {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1060 !important;
    margin: 0 !important;
    padding: 0.35rem 0 !important;
    background-color: var(--color-primary, #0B1C3E) !important;
    min-height: 64px !important;
    height: auto !important;
    transition: box-shadow 0.35s ease, padding 0.35s ease;
}

#main-header.is-compact .navbar,
#mainNav.is-compact {
    box-shadow: 0 12px 28px rgba(8, 16, 32, 0.28);
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

#main-header .navbar .container {
    display: block !important;
    visibility: visible !important;
}

/* Header rows visibility controlled by JavaScript - removed !important rules that prevented toggle */
#main-header #headerBrandBlock {
    display: flex !important;
    visibility: visible !important;
}

.bg-wise-navy {
    background-color: var(--color-primary, #0B1C3E) !important;
}

/* Bootstrap Navbar Overrides */
.navbar-dark {
    background-color: var(--color-primary, #0B1C3E) !important;
    color: #ffffff !important;
}

.navbar-dark .navbar-brand {
    color: #ffffff !important;
}

.navbar-dark .navbar-brand img {
    display: block !important;
    visibility: visible !important;
}

/* Ensure all header content is visible */
#main-header *:not(.qt-nav-drawer):not(.qt-nav-drawer *):not(.qt-nav-backdrop) {
    visibility: visible !important;
}

#main-header img {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.qt-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 3.4rem;
}

.qt-header-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.qt-header-brand img {
    height: 48px;
    width: auto;
}

#main-header.is-compact .qt-header-brand img {
    height: 42px;
}

.qt-header-links {
    display: none;
    align-items: center;
    gap: 1.1rem;
}

.qt-header-links a {
    color: rgba(251, 245, 233, 0.82);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.qt-header-links a:hover,
.qt-header-links a.is-fee {
    color: #e2ba74;
}

.qt-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-shrink: 0;
}

.qt-header-phone {
    display: none;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-action, #e2ba74);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.qt-header-phone:hover {
    color: #f4e6c8;
}

.qt-header-whatsapp {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    color: var(--color-action, #e2ba74);
    text-decoration: none;
    font-size: 1.12rem;
    line-height: 1;
}

.qt-header-whatsapp:hover {
    color: #f4e6c8;
}

.qt-header-ghost {
    min-height: 38px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.5);
    background: transparent;
    color: #f4e6c8;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.qt-header-ghost:hover {
    background: rgba(197, 160, 89, 0.14);
    color: #fbf5e9;
}

.qt-callback-sheet {
    background: linear-gradient(168deg, #fcf8ef 0%, #f5ecd9 58%, #efe4cd 100%);
    color: #2b2317;
}

.qt-callback-sheet .modal-header,
.qt-callback-sheet .modal-footer {
    background: transparent;
    border-color: rgba(176, 141, 87, 0.22);
}

.qt-callback-sheet .modal-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: #2b2317;
}

.qt-callback-sheet__lede,
.qt-callback-sheet__note {
    font-size: 0.86rem;
    color: #5f5442;
}

@media (min-width: 768px) {
    .qt-header-phone {
        display: inline-flex;
    }

    .qt-header-whatsapp {
        display: inline-flex;
    }
}

@media (min-width: 992px) {
    .qt-header-links {
        display: flex;
    }
}

/* ============================================
   HERO BANNER STYLES
   ============================================ */
.qt-hero h1,
.qt-hero h1 span,
.dest-card__name,
.pop-card__name {
    text-transform: none !important;
    letter-spacing: -0.02em;
}

/* Mobile-first: beat scoped Vite selectors so the rail cannot overlay chips */
section.qt-hero.qt-hero {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    justify-content: flex-start !important;
    padding-top: 4.75rem !important;
    padding-bottom: 1.15rem !important;
}

section.qt-hero .qt-hero__inner {
    display: flex !important;
    flex-direction: column !important;
}

section.qt-hero .qt-hero__chips {
    position: relative !important;
    z-index: 5 !important;
    margin-bottom: 0 !important;
}

section.qt-hero .qt-hero__rail {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    z-index: 1 !important;
    margin-top: 1.35rem !important;
}

@media (min-width: 768px) {
    section.qt-hero.qt-hero {
        padding-top: 6.25rem !important;
        padding-bottom: 1.5rem !important;
    }
}

@media (min-width: 1200px) {
    section.qt-hero.qt-hero {
        min-height: min(86vh, 800px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        padding-top: 7.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    section.qt-hero .qt-hero__rail {
        margin-top: 2rem !important;
    }
}

.hero-banner {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    min-height: 500px;
}

/* Hero title refinement for a more dramatic, executive feel */
.hero-banner h1 {
    font-family: var(--font-serif-display);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 28, 62, 0.75) 0%, rgba(11, 28, 62, 0.5) 100%);
    z-index: 2;
}

.hero-banner .container {
    position: relative;
    z-index: 3;
}

/* ============================================
   GLOBAL SECTION RHYTHM (Vue / Inertia pages)
   Matches Blade homepage spacing for .section-padding
   ============================================ */
.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

/* ============================================
   HOMEPAGE "GOLDEN HOUR ATLAS" (everything after search)
   One warm light source, one aerial watermark family, gradient handoffs.
   No frost, no noon-white stages, no flat grey slabs.
   ============================================ */
:root {
    /* Warm ink */
    --qt-ink: #2b2317;
    --qt-ink-soft: #5f5442;
    --qt-ink-faint: #7d7157;

    /* Lightest shades of the brand gold — card + well surfaces */
    --qt-cream-hi: #fcf8ef;
    --qt-cream: #f5ecd9;
    --qt-cream-lo: #efe4cd;
    --qt-well: #eadcc2;
    --qt-gold: var(--color-action, #C5A059);
    --qt-gold-ink: #9c7c3f;
    --qt-gold-quiet: #8a7350;
    --qt-gold-line: rgba(176, 141, 87, 0.3);
    --qt-gold-line-soft: rgba(176, 141, 87, 0.16);
}

.qt-band {
    position: relative;
    overflow: hidden;
    color: var(--qt-ink);
    isolation: isolate;
    /* Parchment fallback so unfilled bands never sit on the navy document. */
    background-color: #e7ddca;
}

.qt-band__watermark,
.qt-band__veil,
.qt-band__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.qt-band__watermark {
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.qt-band__veil {
    z-index: 1;
}

.qt-band__glow {
    z-index: 2;
}

/* Fine grain so no band reads as flat plastic */
.qt-band::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.qt-band > .container,
.qt-band .qt-band__inner {
    position: relative;
    z-index: 4;
}

/* Editorial section headings across the atlas */
.qt-band .section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--qt-ink) !important;
    font-weight: 500;
    font-size: clamp(2rem, 4.6vw, 2.75rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
    text-transform: none !important;
}

.qt-band .section-title::after {
    background: linear-gradient(90deg, rgba(176, 141, 87, 0), rgba(176, 141, 87, 0.65), rgba(176, 141, 87, 0));
    width: 4rem;
}

.qt-band .section-subtitle {
    color: var(--qt-ink-soft);
}

.qt-band .text-muted,
.qt-band .text-secondary {
    color: var(--qt-ink-soft) !important;
}

.qt-band__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--qt-gold-ink);
}

/* Shared lifted surface: the lightest shade of the brand gold */
.qt-surface {
    background: linear-gradient(168deg, var(--qt-cream-hi) 0%, var(--qt-cream) 58%, var(--qt-cream-lo) 100%);
    border: 1px solid var(--qt-gold-line);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 14px 32px rgba(52, 40, 24, 0.13);
}

/* ---- Scroll reveal + gold edge (armed only when JS is present) ---- */
.qt-js .qt-reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--qt-delay, 0s);
}

.qt-js .qt-reveal[data-qt-enter="left"] {
    transform: translate3d(-16px, 0, 0);
}

.qt-js .qt-reveal[data-qt-enter="right"] {
    transform: translate3d(16px, 0, 0);
}

.qt-js .qt-reveal.is-revealed {
    opacity: 1;
    transform: none;
}

.qt-js .qt-reveal--card {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition:
        opacity 0.64s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.64s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--qt-delay, 0s);
}

.qt-js .qt-reveal--card.is-revealed {
    opacity: 1;
    transform: none;
}

.qt-stagger > *:nth-child(1) { --i: 0; }
.qt-stagger > *:nth-child(2) { --i: 1; }
.qt-stagger > *:nth-child(3) { --i: 2; }
.qt-stagger > *:nth-child(4) { --i: 3; }
.qt-stagger > *:nth-child(5) { --i: 4; }
.qt-stagger > *:nth-child(6) { --i: 5; }
.qt-stagger > *:nth-child(7) { --i: 6; }
.qt-stagger > *:nth-child(8) { --i: 7; }
.qt-stagger > *:nth-child(9) { --i: 8; }
.qt-stagger > *:nth-child(10) { --i: 9; }
.qt-stagger > *:nth-child(11) { --i: 10; }
.qt-stagger > *:nth-child(12) { --i: 11; }

.qt-stagger > .qt-reveal,
.qt-stagger > .qt-electric,
.qt-stagger > * > .qt-reveal,
.qt-stagger > * > .qt-electric {
    --qt-delay: calc(var(--i, 0) * 0.07s);
}

.qt-electric {
    position: relative;
    isolation: isolate;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.qt-electric::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 4;
    box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0);
    transition: box-shadow 0.55s ease;
}

.qt-electric.is-revealed::after,
html.qt-ready .qt-electric--live::after {
    box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.42);
}

.qt-icon-ring {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qt-icon-ring::after {
    content: '';
    position: absolute;
    inset: -0.45rem;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0);
    pointer-events: none;
}

.is-revealed .qt-icon-ring::after,
.qt-icon-ring.is-revealed::after {
    border-color: rgba(197, 160, 89, 0.4);
    transition: border-color 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
    .qt-electric.is-revealed:hover,
    .qt-electric.is-revealed:focus-visible,
    html.qt-ready .qt-electric--live:hover,
    html.qt-ready .qt-electric--live:focus-visible {
        transform: translateY(-6px);
        border-color: rgba(197, 160, 89, 0.5);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.7) inset,
            0 18px 36px rgba(52, 40, 24, 0.16);
    }

    .qt-electric.is-revealed:hover::after,
    .qt-electric.is-revealed:focus-visible::after,
    html.qt-ready .qt-electric--live:hover::after {
        box-shadow: inset 0 0 0 1px rgba(197, 160, 89, 0.62);
    }
}

#qt-slate {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Light wash of the header purple — covers the whole viewport, no cream flash. */
    background-color: #e6e4f0;
    background-image:
        radial-gradient(
            68% 52% at 50% 46%,
            color-mix(in srgb, var(--color-action, #C5A059) 14%, transparent) 0%,
            transparent 64%
        ),
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--color-primary, #0B1C3E) 11%, #f7f5fb) 0%,
            color-mix(in srgb, var(--color-primary, #0B1C3E) 18%, #efeef6) 48%,
            color-mix(in srgb, var(--color-primary, #0B1C3E) 24%, #e4e2ee) 100%
        );
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

#qt-slate::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/wisetrip-favicon.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(62vw, 420px);
    opacity: 0.08;
    pointer-events: none;
}

html.qt-slate-on #qt-slate {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.qt-slate__mark {
    position: relative;
    z-index: 1;
    width: 108px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    opacity: 1;
    filter: drop-shadow(0 12px 28px color-mix(in srgb, #1f6aa5 28%, transparent));
    animation: qtSlateMark 2.2s ease-in-out infinite;
}

@keyframes qtSlateMark {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .qt-js .qt-reveal,
    .qt-js .qt-reveal--card,
    .qt-js .qt-reveal[data-qt-enter] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .qt-electric::after,
    .qt-icon-ring::after {
        transition: none;
    }

    #qt-slate {
        transition-duration: 0.12s;
    }

    .qt-slate__mark {
        animation: none;
    }
}

/* ---- Band fills (kept here so a stale chunk can never show a white slab) ---- */
section.qt-why {
    background: linear-gradient(180deg, #453a2c 0%, #574b3c 42%, #7c6f5c 100%);
    color: #f7efe0;
}

section.qt-destinations {
    background: linear-gradient(180deg, #cec2ab 0%, #dcd1bc 46%, #e7ddca 100%);
    color: var(--qt-ink);
}

section.qt-about {
    background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 55%, #e7ddca 100%);
    color: var(--qt-ink);
}

section.qt-trust {
    background: linear-gradient(180deg, #cec2ab 0%, #d6cbb4 55%, #dacfba 100%);
    color: var(--qt-ink);
}

section.qt-reviews {
    background: linear-gradient(180deg, #d1c5af 0%, #dacfba 50%, #e2d8c4 100%);
    color: var(--qt-ink);
}

section.qt-newsletter {
    background: linear-gradient(180deg, #dacfba 0%, #d4c6a8 48%, #c2b498 100%);
    color: var(--qt-ink);
}

/* The Why chapter runs dark-warm, so its own type wins over the light-band rules */
section.qt-why .section-title,
section.qt-why h2 {
    color: #fbf5e9 !important;
}

/* Bootstrap card default is paper white — the atlas never is.
   Cards carrying .qt-surface keep their own cream fill whatever the sheet order. */
.qt-band .card:not(.qt-surface) {
    background-color: transparent;
    border: 0;
}

/* ============================================
   IRONCLAD SEARCH FORM STYLES – "CONSUL" THEME
   ============================================ */
section.qt-search {
    color: #2a261f;
    background: #a89f93;
}

section.qt-search .qt-search__watermark {
    opacity: 0.16;
    filter: saturate(0.52) brightness(0.88) contrast(0.96);
}

section.qt-search .qt-search__veil {
    background:
        linear-gradient(180deg, rgba(48, 40, 32, 0.12) 0%, rgba(168, 159, 147, 0.38) 48%, rgba(168, 159, 147, 0.68) 100%);
}

.ironclad-search-card {
    background: #d8d2c8;
    border-radius: 1.15rem;
    border: 1px solid rgba(42, 36, 28, 0.08);
    box-shadow: 0 12px 28px rgba(40, 32, 24, 0.12);
    padding: 1.2rem 1.15rem 1.3rem;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    box-sizing: border-box;
}

.ironclad-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.ironclad-row-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 1.1rem;
    padding: 4px;
    border: 1px solid rgba(26, 36, 51, 0.12);
    background: #b4bcc3;
    border-radius: 999px;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
}

.ironclad-tab {
    padding: 0.5rem 1.15rem;
    border: none;
    background: transparent;
    color: #5b6573;
    font-weight: 500;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.2s ease;
    font-size: 0.78rem;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.ironclad-row-tabs .ironclad-tab {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
}

.ironclad-tab.active {
    background: var(--color-control, #0B1C3E);
    color: #ffffff;
}

.ironclad-tab:hover:not(.active) {
    background: #d0d6db;
    color: var(--color-control, #0B1C3E);
}

.ironclad-row-tabs.qt-trip-tabs {
    display: flex;
    gap: 1.15rem;
    margin: 0 0 1.05rem;
    padding: 0 0 0.05rem;
    border: none;
    border-bottom: 1px solid rgba(42, 36, 28, 0.1);
    background: transparent;
    border-radius: 0;
    width: auto;
    max-width: 100%;
    box-shadow: none;
}

.ironclad-row-tabs.qt-trip-tabs .ironclad-tab {
    flex: 0 0 auto;
    padding: 0.15rem 0 0.55rem;
    background: transparent;
    color: #6b645a;
    font-size: 0.75rem;
    font-weight: 400;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.ironclad-row-tabs.qt-trip-tabs .ironclad-tab.active {
    background: transparent;
    color: #2a261f;
    font-weight: 500;
    border-bottom-color: #8a7350;
}

.ironclad-row-tabs.qt-trip-tabs .ironclad-tab:hover:not(.active) {
    background: transparent;
    color: #2a261f;
}

.ironclad-row-pair,
.ironclad-row-journey,
.ironclad-row-airports,
.ironclad-row-dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.qt-search-form.is-one-way .ironclad-row-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Row 2: Cabin Class & Travelers (2 columns, equally spaced to match 4 fields above) */
.ironclad-row-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
}

.ironclad-row-details > .ironclad-field,
.ironclad-row-details > .qt-pax-field {
    display: flex;
    min-width: 0;
    width: 100%;
}

.qt-pax-field .qt-pax-dropdown,
.qt-pax-field .ironclad-passenger-btn {
    width: 100%;
    min-width: 0;
}

/* Row 4: Passenger Details (Name + Phone) */
.ironclad-row-lead {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0;
    border-top: none;
    align-items: stretch;
}

.ironclad-lead-header {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

/* Row 5: Email + CTA */
.ironclad-row-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0;
    border-top: none;
    align-items: end;
}

.ironclad-field {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.ironclad-field:focus-within {
    z-index: 40;
}

.qt-pax-field.is-open,
.ironclad-row-details:has(.qt-pax-field.is-open) {
    z-index: 80;
    overflow: visible;
}

.qt-search-form,
.ironclad-row-details,
.ironclad-row-lead,
.ironclad-row-cta {
    overflow: visible;
}

.ironclad-row-dates .ironclad-field {
    overflow: visible;
}

.qt-search-form.is-one-way #return-date-field {
    opacity: 0.62;
}

.qt-search-form.is-multi-city #return-date-field,
.qt-search-form.is-hotel #return-date-field {
    display: none !important;
}

.qt-product-switcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
    margin: 0 0 1rem;
    padding: 0.35rem;
    border: 1px solid rgba(42, 36, 28, 0.1);
    background: #c8c0b4;
    border-radius: 0.85rem;
    box-shadow: inset 0 1px 2px rgba(42, 36, 28, 0.06);
}

.qt-product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 0;
    min-height: 2.85rem;
    padding: 0.55rem 0.4rem;
    border: none;
    background: transparent;
    color: #5c564c;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 0.65rem;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.qt-product-btn.active,
.qt-product-btn[aria-pressed="true"] {
    background: #f4efe7;
    color: #1c1914;
    box-shadow: 0 1px 3px rgba(28, 25, 20, 0.1), 0 0 0 1px rgba(138, 115, 80, 0.22);
}

.qt-product-btn:hover:not(.active) {
    background: rgba(244, 239, 231, 0.45);
    color: #2a261f;
}

.qt-product-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.88rem;
}

.qt-product-label {
    white-space: nowrap;
}

.qt-product-plus {
    font-size: 0.52rem;
    opacity: 0.72;
}

.qt-slices {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0 0 0.85rem;
}

.qt-slice {
    padding: 0.7rem 0.75rem 0.75rem;
    border: 1px solid rgba(42, 36, 28, 0.1);
    background: #ebe5db;
    border-radius: 0.5rem;
}

.qt-slice__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5c564c;
}

.qt-hotel-extras__helper,
.qt-hotel-thanks p {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 400;
    color: #5c564c;
}

.qt-hotel-thanks {
    margin: 0 0 0.5rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(42, 36, 28, 0.1);
    background: #ebe5db;
    border-radius: 0.5rem;
}

.ironclad-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-sans);
    font-weight: 500;
    color: #5c564c;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    min-width: 0;
}

.ironclad-label i {
    color: #8a7350;
    font-size: 0.62rem;
}

.ironclad-input-wrapper {
    position: relative;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: visible;
}

.ironclad-input-wrapper .flatpickr-wrapper {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
}

.ironclad-field:focus-within {
    z-index: 40;
}

.flatpickr-calendar {
    max-width: min(20rem, calc(100vw - 1.5rem));
}

.ironclad-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.42rem 0.7rem;
    padding-right: 1.85rem;
    border: 1px solid color-mix(in srgb, var(--color-search-ink, #2A261F) 12%, transparent);
    border-radius: 0.45rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease;
    background: var(--color-search, #ebe5db);
    color: var(--color-search-ink, #2a261f) !important;
}

.ironclad-input,
.ironclad-select,
.ironclad-passenger-btn {
    height: 2.55rem;
    line-height: 1.35;
}

/* Unified dropdown chevron for select / traveler button */
.ironclad-field-chevron {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #7a7368;
    pointer-events: none;
}

.ironclad-input:focus {
    outline: none;
    border-color: rgba(138, 115, 80, 0.45);
    box-shadow: none;
}

.ironclad-input::placeholder {
    color: #7a7368;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 1;
}

.ironclad-input.is-invalid {
    border-color: #dc3545;
}

.ironclad-input.is-valid {
    border-color: #28a745;
}

/* Disabled input styling - professional appearance */
.ironclad-input-disabled,
.ironclad-input:disabled {
    background-color: #e4ddd2;
    color: #6b645a !important;
    cursor: not-allowed;
    opacity: 1;
    border-color: rgba(42, 36, 28, 0.1);
}

.ironclad-input-disabled::placeholder,
.ironclad-input:disabled::placeholder {
    color: #d1d5db;
}

/* Disabled field container */
.ironclad-field[style*="opacity: 0.6"] {
    transition: opacity 0.3s ease;
}

.ironclad-field[style*="opacity: 0.6"] .ironclad-label {
    color: #9ca3af;
    opacity: 0.7;
}

.ironclad-field[style*="opacity: 0.6"] .ironclad-label i {
    color: #d1d5db;
    opacity: 0.7;
}

/* Validation checkmark icon */
.ironclad-validation-icon {
    position: absolute;
    right: 0.875rem;
    /* Mobile default: center within the input height */
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 10;
}

.ironclad-valid-icon {
    color: #28a745;
}

.ironclad-invalid-icon {
    color: #dc3545;
}

/* Desktop & mobile: force validation icons to sit inside the input, not the
   full Flatpickr wrapper height (which grows when the calendar is visible). */
.ironclad-input-wrapper .ironclad-validation-icon {
    top: 0.75rem !important;      /* roughly vertical center of a 3rem input */
    transform: none !important;
}

/* Desktop refinement: keep validation icon aligned to the text input even when
   Flatpickr's static calendar expands the wrapper below the input. */
@media (min-width: 768px) {
    /* Only adjust icons that sit inside Flatpickr date fields */
    #depart-date ~ .ironclad-valid-icon,
    #depart-date ~ .ironclad-invalid-icon,
    #return-date ~ .ironclad-valid-icon,
    #return-date ~ .ironclad-invalid-icon {
        top: 50%;
        transform: translateY(-50%);
    }
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #f6f1e9;
    border: 1px solid rgba(138, 115, 80, 0.35);
    border-radius: 0.5rem;
    box-shadow: 0 12px 30px rgba(40, 32, 24, 0.16);
    z-index: 80;
    margin-top: 0.25rem;
    max-height: 300px;
    overflow-y: auto;
}

.autocomplete-dropdown:not(.hidden) {
    display: block;
}

.autocomplete-dropdown .autocomplete-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    border: none;
    background: transparent;
    border-bottom: 1px solid rgba(42, 36, 28, 0.08);
    color: #2a261f;
    transition: background 0.2s;
}

.autocomplete-dropdown .autocomplete-item:hover,
.autocomplete-dropdown .autocomplete-item.active {
    background: #F3E9D4;
}

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

/* Phone Number Group */
.ironclad-phone-group {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.ironclad-phone-prefix {
    background: #ebe5db !important;
    color: #5c564c !important;
    border: 1px solid rgba(42, 36, 28, 0.12);
    border-right: 1px solid rgba(138, 115, 80, 0.22);
    border-radius: 0.45rem 0 0 0.45rem;
    padding: 0 0.7rem;
    height: 2.55rem;
    font-weight: 500;
    font-size: 0.72rem;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    min-width: 2.4rem;
    width: 2.55rem;
    flex-shrink: 0;
    box-sizing: border-box;
}

.ironclad-phone-prefix i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.ironclad-flag {
    display: flex;
    align-items: center;
    line-height: 0;
}

.ironclad-flag-svg {
    display: block;
    width: 1.28rem;
    height: 0.68rem;
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(26, 20, 12, 0.22);
}

.ironclad-phone-cc {
    display: none !important;
}

.ironclad-phone-input-wrapper {
    flex: 1;
    min-width: 0;
}

.ironclad-phone-input {
    border-radius: 0 0.45rem 0.45rem 0;
    padding-right: 2.5rem;
}

/* Select Dropdown */
.ironclad-select {
    width: 100%;
    padding: 0.42rem 0.7rem;
    padding-right: 2.15rem;
    border: 1px solid color-mix(in srgb, var(--color-search-ink, #2A261F) 12%, transparent);
    border-radius: 0.45rem;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease;
    background: var(--color-search, #ebe5db);
    color: var(--color-search-ink, #2a261f) !important;
    appearance: none;
    cursor: pointer;
}

.ironclad-select-with-icon {
    padding-right: 2.75rem;
}

.ironclad-select:focus {
    outline: none;
    border-color: rgba(138, 115, 80, 0.45);
    box-shadow: none;
}

/* Passenger Details Section - Header */
.ironclad-lead-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: #5c564c !important;
    margin: 0;
    text-transform: none;
    letter-spacing: 0.02em;
}

.ironclad-lead-copy {
    margin: 0.1rem 0 0;
    font-family: var(--font-sans);
    font-size: 0.62rem;
    line-height: 1.2;
    font-weight: 400;
    color: #8a8478;
    white-space: nowrap;
}

/* CTA Button */
.ironclad-cta-wrapper {
    width: 100%;
    display: flex;
    align-items: stretch;
}

.ironclad-cta-button {
    width: 100%;
    padding: 0 1.5rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-control, #0B1C3E);
    color: #ffffff !important;
    border-radius: 0.55rem;
    border: 1px solid var(--color-control, #0B1C3E);
    font-size: 0.78rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 768px) {
    .ironclad-cta-button {
        font-size: 0.8rem;
        letter-spacing: 0.04em;
        padding: 0 0.75rem;
    }
}

.ironclad-cta-button:hover {
    background: #13284f;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(11, 28, 62, 0.18);
    color: #ffffff !important;
}

.ironclad-cta-button:active {
    transform: translateY(0);
}

/* Passenger Selector Dropdown Button */
.ironclad-passenger-btn {
    width: 100%;
    padding: 0.42rem 0.7rem;
    padding-right: 2.15rem;
    border: 1px solid color-mix(in srgb, var(--color-search-ink, #2A261F) 12%, transparent);
    border-radius: 0.45rem;
    background: var(--color-search, #ebe5db);
    color: var(--color-search-ink, #2a261f) !important;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease;
    position: relative;
    appearance: none;
}

.ironclad-passenger-btn:hover {
    border-color: rgba(138, 115, 80, 0.35);
}

.ironclad-passenger-btn:focus {
    outline: none;
    border-color: rgba(138, 115, 80, 0.45);
    box-shadow: none;
}

.qt-pax-field,
.qt-pax-dropdown {
    overflow: visible;
}

.qt-pax-menu {
    position: fixed !important;
    z-index: 20000 !important;
    width: min(22.5rem, calc(100vw - 1.5rem)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 1.5rem) !important;
    box-sizing: border-box;
    padding: 1rem 1rem 0.85rem;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    pointer-events: auto;
}

.qt-pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.qt-pax-copy {
    min-width: 0;
}

.qt-pax-copy h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary, #0B1C3E);
}

.qt-pax-copy small {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
}

.qt-pax-stepper {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.35rem;
    padding: 0.2rem;
    background: #f3f4f6;
    border-radius: 999px;
}

.qt-pax-stepper span {
    min-width: 1.25rem;
    text-align: center;
    font-weight: 700;
    color: var(--color-primary, #0B1C3E);
}

.qt-pax-btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-primary, #0B1C3E);
    line-height: 1;
}

.qt-pax-btn:disabled {
    opacity: 0.4;
}

.qt-pax-done {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.65rem;
    border-top: 1px solid #eef0f3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ironclad-row-tabs {
        display: flex;
        width: 100%;
    }

    .ironclad-row-tabs .ironclad-tab {
        min-width: 0;
    }

    .ironclad-row-tabs.qt-trip-tabs {
        width: auto;
        max-width: 100%;
        background: transparent;
    }

    .ironclad-row-pair,
    .ironclad-row-journey,
    .ironclad-row-airports,
    .ironclad-row-dates,
    .qt-search-form.is-one-way .ironclad-row-dates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
        align-items: start;
    }
    
    .ironclad-row-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .ironclad-row-lead {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        align-items: start;
    }
    
    .ironclad-lead-header {
        grid-column: 1 / -1;
        margin-bottom: 0.2rem;
    }

    .ironclad-lead-copy {
        white-space: normal;
    }
    
    .ironclad-row-cta {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        align-items: end;
    }
    
    .ironclad-email-field {
        display: flex;
        flex-direction: column;
        min-width: 0;
        justify-content: flex-end;
    }
    
    .ironclad-email-field .ironclad-input-wrapper {
        margin-top: auto;
    }
    
    .ironclad-cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
        justify-content: flex-end;
    }
    
    .ironclad-cta-button {
        width: 100%;
        min-height: 48px;
        height: 3rem;
    }
    
    .ironclad-search-card {
        padding: 1.25rem;
    }
    
    .ironclad-field {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    
    .ironclad-input-wrapper {
        width: 100%;
        min-width: 0;
    }
    
    .ironclad-input,
    .ironclad-select {
        width: 100%;
        min-width: 0;
    }
    
    .ironclad-phone-group {
        flex-direction: row;
        width: 100%;
        min-width: 0;
    }
    
    .ironclad-phone-prefix {
        min-width: 2.4rem;
        width: 2.55rem;
        padding: 0 0.65rem;
        height: 2.55rem;
        flex-shrink: 0;
    }
    
    .ironclad-phone-input-wrapper {
        flex: 1;
        min-width: 0;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .ironclad-row-pair,
    .ironclad-row-journey,
    .ironclad-row-airports,
    .ironclad-row-dates,
    .qt-search-form.is-one-way .ironclad-row-dates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .ironclad-label {
        font-size: 0.64rem;
        letter-spacing: 0.07em;
        gap: 0.25rem;
    }

    .ironclad-input,
    .ironclad-select,
    .ironclad-passenger-btn {
        font-size: 16px;
        font-weight: 400;
        padding-left: 0.55rem;
        padding-right: 1.6rem;
    }

    .qt-product-btn {
        flex-direction: column;
        gap: 0.28rem;
        min-height: 3.15rem;
        font-size: 0.72rem;
    }

    .qt-product-label {
        white-space: normal;
        text-align: center;
        line-height: 1.15;
    }
    
    .ironclad-row-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
        align-items: stretch;
    }
    
    .ironclad-row-lead {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }
    
    .ironclad-row-cta {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
        align-items: end;
    }
    
    .ironclad-email-field {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    
    .ironclad-email-field .ironclad-input-wrapper {
        margin-top: auto;
    }
    
    .ironclad-cta-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    
    .ironclad-field {
        width: 100%;
        min-width: 0;
    }
    
    .ironclad-input-wrapper {
        width: 100%;
        min-width: 0;
    }
    
    .ironclad-input,
    .ironclad-select {
        width: 100%;
        min-width: 0;
    }
    
    .ironclad-cta-button {
        width: 100%;
        min-height: 48px;
        height: 3rem;
    }
    
    .ironclad-phone-prefix {
        padding: 0 0.6rem;
        min-width: 2.35rem;
        width: 2.5rem;
        height: 2.55rem;
        flex-shrink: 0;
    }

    .ironclad-flag-svg {
        width: 1.15rem;
        height: 0.6rem;
    }
    
    .ironclad-search-card {
        padding: 1rem;
    }
}

/* MAIN CONTENT — no white shelf under the fixed header.
   Homepage hero already clears the header inside its own dark fill.
   Inner pages clear it inside the first atlas band (see below). */
body > main {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    min-height: 50vh !important;
}

/* Hero pages sit flush under the slim header */
body:has(section.qt-hero) > main {
    padding-top: 64px !important;
}

/* Inertia pages wrap in a second <main>; that must not add a second spacer */
main main {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

/* About, contact, FAQ, legal — no hero. First band paints the clearance. Never on hero pages. */
body:not(:has(section.qt-hero)) > main > .qt-band:first-child,
body:not(:has(section.qt-hero)) > main > main > .qt-band:first-child,
body:not(:has(section.qt-hero)) > main > div > .qt-band:first-child,
body:not(:has(section.qt-hero)) > main > div > main > .qt-band:first-child,
body:not(:has(section.qt-hero)) > main > div > div > .qt-band:first-child {
    padding-top: calc(5.75rem + 2.25rem) !important;
}

body:not(:has(section.qt-hero)) main section.qt-cabin-hero:first-of-type {
    padding-top: calc(5.75rem + 2.4rem) !important;
}

/* FOOTER - AT BOTTOM */
footer {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}

/* Ensure all text defaults to Deep Navy, not black */
* {
    color: inherit;
}

/* Force base text color for body content */
body, p, span, div {
    color: inherit;
}

/* Executive heading system */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif-display);
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

/* Hero-level headings */
h1,
.hero-title,
.section-title.hero-title {
    font-weight: 600;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1.1;
}

/* Section titles */
.section-title {
    position: relative !important;
    font-family: var(--font-serif-display);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--color-ink, #0B1C3E) !important;
    padding-bottom: 1rem !important;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 3.25rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(197,160,89,0.1), rgba(197,160,89,0.8), rgba(197,160,89,0.1));
}

/* Section subtitles */
.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: #6b7280;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: 0.015em;
    font-weight: 400;
}

/* Secondary text for paragraphs and muted content */
.text-muted, .text-secondary {
    color: #4B5563 !important; /* Slate Grey */
}

/* Small meta text (notes, legal, helper copy) */
small, .small {
    font-size: 0.8rem !important;
    letter-spacing: 0.02em;
}

/* Executive palette — hex fallbacks only. CMS tokens win from #qt-brand-tokens. */
:root {
    --bs-primary: var(--color-primary, #0B1C3E);
    --bs-info: var(--color-primary, #0B1C3E);
}

/* CRITICAL: Override Bootstrap card colors to use Deep Navy */
.card {
    border-color: rgba(11, 28, 62, 0.1) !important;
}

.card-header {
    background-color: var(--color-primary, #0B1C3E) !important;
    color: #ffffff !important;
    border-bottom-color: rgba(11, 28, 62, 0.2) !important;
}

.card-body {
    color: var(--color-ink, #0B1C3E) !important;
}

/* Override any Bootstrap primary blue with brand primary */
.bg-primary {
    background-color: var(--color-primary, #0B1C3E) !important;
}

.text-primary {
    color: var(--color-ink, #0B1C3E) !important;
}

.btn-primary {
    background-color: var(--color-control, #0B1C3E) !important;
    border-color: var(--color-control, #0B1C3E) !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #0a1629 !important;
    border-color: #0a1629 !important;
}

.text-info {
    color: var(--color-action, #C5A059) !important; /* Gold accent for info text */
}

.btn-info {
    background-color: var(--color-action, #C5A059) !important;
    border-color: var(--color-action, #C5A059) !important;
    color: #ffffff !important;
}

.icon-cyan {
    color: var(--color-action, #C5A059) !important;
}

/* ============================================
   MOBILE SAFEGUARDS & UI INTEGRITY
   ============================================ */

/* Prevent horizontal scroll on mobile (Ghost Widths) */
body, html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* ============================================
   GLOBAL MODAL FIXES - All Form Modals
   ============================================ */

/* Ensure Modals are always on top of the Header */
.modal-backdrop {
    z-index: 1065 !important; /* Higher than header (1060) */
    background-color: rgba(11, 28, 62, 0.75) !important;
}

.modal {
    z-index: 1070 !important; /* Higher than backdrop */
}

/* Bootstrap Modal Dialog - Proper positioning */
.modal-dialog {
    margin: 1rem auto !important; /* Account for header on mobile */
    max-height: calc(100vh - 2rem) !important;
}

.modal-dialog-centered {
    min-height: calc(100% - 2rem) !important;
    display: flex !important;
    align-items: center !important;
    margin: 1rem auto !important;
}

/* Modal Content - Prevent cutoff */
.modal-content {
    max-height: calc(100vh - 2rem) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

/* Modal Header - Prevent text cutoff */
.modal-header {
    flex-shrink: 0 !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #dee2e6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.modal-title {
    font-size: clamp(1.125rem, 2vw, 1.5rem) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/* Why choose us + search: keep contemporary sentence-case titles */
#why-choose-us h2,
#why-choose-us h3,
.qt-search h2,
.qt-search h3 {
    text-transform: none !important;
    letter-spacing: -0.03em;
}

@media (max-width: 767.98px) {
    .qt-search .ironclad-row-cta {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .qt-search .ironclad-cta-button {
        min-height: 3.1rem;
    }
}

/* Modal Body - Scrollable content */
.modal-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 1 auto !important;
    padding: 1.25rem !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Modal Footer */
.modal-footer {
    flex-shrink: 0 !important;
    padding: 1rem 1.25rem !important;
    border-top: 1px solid #dee2e6 !important;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100% - 1rem) !important;
        max-height: calc(100vh - 1rem) !important;
    }
    
    .modal-dialog-centered {
        min-height: calc(100% - 1rem) !important;
        margin: 0.5rem !important;
    }
    
    .modal-content {
        max-height: calc(100vh - 1rem) !important;
        border-radius: 12px !important;
    }
    
    .modal-header {
        padding: 1rem !important;
    }
    
    .modal-title {
        font-size: 1.125rem !important;
        padding-right: 2rem !important; /* Space for close button */
    }
    
    .modal-body {
        padding: 1rem !important;
        max-height: calc(100vh - 200px) !important; /* Account for header + footer */
    }
    
    .modal-footer {
        padding: 0.75rem 1rem !important;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.25rem !important;
        max-width: calc(100% - 0.5rem) !important;
    }
    
    .modal-content {
        max-height: calc(100vh - 0.5rem) !important;
    }
    
    .modal-header {
        padding: 0.875rem !important;
    }
    
    .modal-title {
        font-size: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .modal-body {
        padding: 0.875rem !important;
        max-height: calc(100vh - 180px) !important;
    }
}

/* Custom Inquiry Modal - Ensure proper z-index */
.inquiry-modal-wrapper {
    z-index: 1070 !important; /* Higher than header */
}

.inquiry-modal-wrapper.show,
.inquiry-modal-wrapper[style*="display: flex"],
.inquiry-modal-wrapper[style*="display:flex"] {
    z-index: 1070 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.inquiry-modal-backdrop {
    z-index: 1 !important; /* Relative to wrapper */
}

.inquiry-modal-dialog-container {
    z-index: 2 !important; /* Relative to wrapper */
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Inquiry Modal - Mobile fixes */
@media (max-width: 768px) {
    .inquiry-modal-dialog-container {
        padding: 0.5rem !important;
        align-items: flex-start !important; /* Start from top on mobile */
        padding-top: 2rem !important; /* Account for header */
    }
    
    .inquiry-modal-dialog {
        margin: 0 !important;
        max-height: calc(100vh - 2rem) !important;
    }
    
    .inquiry-modal-content {
        max-height: calc(100vh - 2rem) !important;
    }
    
    .inquiry-modal-header {
        padding: 1.25rem 1rem 1rem 1rem !important;
    }
    
    .inquiry-modal-title {
        font-size: 1.125rem !important;
        padding-right: 2rem !important; /* Space for close button */
    }
    
    .inquiry-modal-body {
        max-height: calc(100vh - 250px) !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 576px) {
    .inquiry-modal-dialog-container {
        padding: 0.25rem !important;
        padding-top: 1.5rem !important;
    }
    
    .inquiry-modal-content {
        max-height: calc(100vh - 1.5rem) !important;
    }
    
    .inquiry-modal-body {
        max-height: calc(100vh - 200px) !important;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* CRITICAL: Ensure body scroll is restored when no modals are open */
/* This is a fallback CSS rule - JavaScript handles the main logic */
body:not(.modal-open) {
    overflow: auto !important;
}

/* Force scroll restoration if body has overflow hidden but no modal-open class */
body:not(.modal-open)[style*="overflow: hidden"],
body:not(.modal-open)[style*="overflow:hidden"] {
    overflow: auto !important;
}

/* ============================================
   FIX FOR VIEW ITINERARY MODAL & SIDEBAR FILTERS
   Being blocked by Ad Modals (Installment/Advisory)
   ============================================ */

/* Fix for View Itinerary Modal "White Screen" - Bootstrap Collapse Timeline */
.collapse.show,
.collapse.collapsing,
[id^="timeline-"] {
    position: relative !important;
    z-index: 10000 !important; /* Above Ad Modals (1055) and below Bootstrap modals */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure collapse content is visible when expanded */
.collapse.show .card-body,
.collapse.show .card-body *,
[id^="timeline-"].show,
[id^="timeline-"].show * {
    position: relative !important;
    z-index: 10001 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Flight Details Modal Container - Additional safety */
.flight-timeline-container,
.details-content {
    position: relative !important;
    z-index: 10000 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure the backdrop doesn't cover the content */
.modal-backdrop.show {
    z-index: 9990 !important; /* Below the modal, above the page */
}

/* Sidebar Filters - Ensure they float above Ad Modals */
aside.col-lg-3 {
    position: relative !important;
    z-index: 2000 !important; /* Above Ad Modals (1055) */
    height: auto !important; /* Prevent collapsing */
}

aside.col-lg-3 .sticky-top {
    z-index: 2000 !important; /* Override inline z-index: 100 */
}

aside.col-lg-3 .card {
    position: relative !important;
    z-index: 2000 !important;
}

#filters-accordion {
    position: relative !important;
    z-index: 2001 !important;
}

/* Ensure accordion content is visible when expanded */
.accordion-collapse.show {
    position: relative !important;
    z-index: 2002 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

/* Fix "Over-displayed" cards and images */
img {
    max-width: 100%; /* Prevent images blowing out containers */
    height: auto;
}

/* Fix Input Zoom on iPhone (Prevents page zooming when clicking an input) */
@media screen and (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important; /* iOS zooms in if font is < 16px */
    }
    
    /* Ensure modals are full-width on mobile */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ============================================
   ATLAS — remaining pages (v28)
   Same ramp, same surface, same watermark family.
   Blade pages have no scoped CSS; their bands live here.
   ============================================ */

.qt-band .form-control,
.qt-band .form-select,
.qt-atlas-form .form-control,
.qt-atlas-form .form-select {
    background: #fcf8ef;
    border: 1px solid rgba(176, 141, 87, 0.4);
    border-radius: 13px;
    color: #2b2317;
    font-size: 16px;
}

.qt-band .form-control:focus,
.qt-band .form-select:focus,
.qt-atlas-form .form-control:focus,
.qt-atlas-form .form-select:focus {
    border-color: #b08d57;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
    outline: none;
}

.qt-band .form-control::placeholder,
.qt-atlas-form .form-control::placeholder {
    color: #9a8e77;
}

.qt-band .form-label,
.qt-atlas-form .form-label {
    color: #5f5442;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.qt-cta-navy {
    background: var(--color-control, #0B1C3E);
    border: 1px solid var(--color-control, #0B1C3E);
    color: #fbf5e9;
}

.qt-cta-navy:hover {
    background: #132a56;
    border-color: #132a56;
    color: #fbf5e9;
}

/* Safety fills — stale chunks cannot show a white slab */
section.qt-results { background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 48%, #e7ddca 100%); color: #2b2317; }
section.qt-checkout { background: linear-gradient(180deg, #cec2ab 0%, #d6cbb4 50%, #dacfba 100%); color: #2b2317; }
section.qt-success { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-story { background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 55%, #e7ddca 100%); color: #2b2317; }
section.qt-vision { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-story-mid { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-story-cta { background: linear-gradient(180deg, #453a2c 0%, #574b3c 42%, #6b5f4e 100%); color: #f7efe0; }
section.qt-contact-strip { background: linear-gradient(180deg, #cec2ab 0%, #d4c9b4 100%); color: #2b2317; }
section.qt-contact { background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 55%, #e7ddca 100%); color: #2b2317; }
section.qt-faq { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-legal-strip { background: linear-gradient(180deg, #8d7e64 0%, #9a8c70 100%); color: #f7efe0; }
section.qt-legal { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-atlas-head { background: linear-gradient(180deg, #c2b498 0%, #cdc0a6 100%); color: #2b2317; }
section.qt-atlas-filter { background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 100%); color: #2b2317; }
section.qt-atlas-grid { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-ridge-signals { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 100%); color: #2b2317; }
section.qt-ridge-deals { background: linear-gradient(180deg, #f4eee3 0%, #f7f2e8 100%); color: #2b2317; }
section.qt-cabin-hero { background: linear-gradient(180deg, #453a2c 0%, #574b3c 42%, #6b5f4e 100%); color: #f7efe0; }
section.qt-cabin-body { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-fleet-a { background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 100%); color: #2b2317; }
section.qt-fleet-b { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-caravan-strip { background: linear-gradient(180deg, #c2b498 0%, #cdc0a6 100%); color: #2b2317; }
section.qt-caravan-body { background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 100%); color: #2b2317; }
section.qt-caravan-form { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-sabkha-strip { background: linear-gradient(180deg, #8d7e64 0%, #9a8c70 100%); color: #f7efe0; }
section.qt-sabkha-body { background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 100%); color: #2b2317; }
section.qt-sabkha-form { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-patch-strip { background: linear-gradient(180deg, #cec2ab 0%, #d4c9b4 100%); color: #2b2317; }
section.qt-patch-body { background: linear-gradient(180deg, #dacfba 0%, #e1d6c2 100%); color: #2b2317; }
section.qt-patch-form { background: linear-gradient(180deg, #e7ddca 0%, #efe6d4 50%, #f4eee3 100%); color: #2b2317; }
section.qt-premium { background: linear-gradient(180deg, #6b5f4e 0%, #7c6f5c 48%, #8d7e64 100%); color: #f7efe0; }

.qt-band .feature-card,
.qt-band .offer-card,
.qt-band .benefit-card,
.qt-band .group-card,
.qt-band .perk-card,
.qt-band .deal-card,
.qt-band .airline-card,
.qt-band .group-form-card {
    background: linear-gradient(168deg, #fcf8ef 0%, #f5ecd9 58%, #efe4cd 100%);
    border: 1px solid rgba(176, 141, 87, 0.3) !important;
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 14px 32px rgba(52, 40, 24, 0.13);
    overflow: hidden;
}

.qt-band .feature-card h5,
.qt-band .offer-card h5,
.qt-band .benefit-card h5,
.qt-band .group-card h5,
.qt-band .perk-card h5,
.qt-band .deal-card h5,
.qt-band .airline-card h5 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    color: #2b2317;
}

.qt-band .feature-icon i,
.qt-band .benefit-icon i,
.qt-band .group-icon i,
.qt-band .perk-icon i {
    color: #a8843c !important;
}

.qt-band .badge.bg-primary,
.qt-band .badge.bg-success,
.qt-band .badge.bg-info,
.qt-band .badge.bg-warning,
.qt-band .badge.bg-danger,
.qt-band .badge.bg-secondary {
    background: rgba(197, 160, 89, 0.16) !important;
    border: 1px solid rgba(176, 141, 87, 0.34);
    color: #8a6a2c !important;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.qt-band .btn-primary,
.qt-band .btn-outline-primary {
    background: var(--color-control, #0B1C3E);
    border-color: var(--color-control, #0B1C3E);
    color: #fbf5e9;
    border-radius: 999px;
}

.qt-band .btn-outline-primary:hover,
.qt-band .btn-primary:hover {
    background: #132a56;
    border-color: #132a56;
    color: #fbf5e9;
}

.qt-band .offer-card .h5,
.qt-band .group-card .h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #2b2317 !important;
    font-weight: 600;
}

.qt-band .text-primary {
    color: #7a5f28 !important;
}

.qt-band .qt-chapter__title {
    color: var(--qt-ink, #2b2317) !important;
}

section.qt-story-cta .section-title,
section.qt-story-cta h2,
section.qt-story-cta .qt-chapter__title,
section.qt-cabin-hero .section-title,
section.qt-cabin-hero h1,
section.qt-cabin-hero .qt-chapter__title,
section.qt-legal-strip h1,
section.qt-legal-strip .qt-chapter__title,
section.qt-sabkha-strip h1,
section.qt-sabkha-strip .qt-chapter__title,
section.qt-why .qt-chapter__title,
section.qt-premium .qt-chapter__title,
section.qt-premium .section-title {
    color: #fbf5e9 !important;
}

section.qt-vision .section-title,
section.qt-vision h2,
section.qt-story .section-title,
section.qt-story h1,
section.qt-story-mid .section-title {
    color: #1c1610 !important;
}

section.qt-vision .qt-vision__lead,
section.qt-vision .qt-vision__copy,
section.qt-story .qt-story__copy,
section.qt-story .section-subtitle {
    color: #2b2317 !important;
}

section.qt-vision .qt-vision__lead {
    font-weight: 500;
}

/* Watermark opacities — quietest on legal / checkout / FAQ */
.qt-results__mark { opacity: 0.14; }
.qt-checkout__mark { opacity: 0.1; }
.qt-success__mark { opacity: 0.12; }
.qt-story__mark { opacity: 0.12; }
.qt-contact__mark { opacity: 0.12; }
.qt-faq__mark { opacity: 0.1; }
.qt-legal__mark { opacity: 0.08; }
.qt-atlas__mark { opacity: 0.18; }
.qt-ridge__mark { opacity: 0.14; }
.qt-cabin__mark { opacity: 0.2; }
.qt-fleet__mark { opacity: 0.14; }
.qt-caravan__mark { opacity: 0.14; }
.qt-sabkha__mark { opacity: 0.16; }
.qt-patch__mark { opacity: 0.14; }

.qt-band__veil--light {
    background: linear-gradient(180deg, rgba(244, 238, 227, 0.62) 0%, rgba(247, 242, 232, 0.7) 100%);
}

.qt-band__veil--mid {
    background: linear-gradient(180deg, rgba(231, 221, 202, 0.55) 0%, rgba(244, 238, 227, 0.64) 100%);
}

.qt-band__veil--bronze {
    background: linear-gradient(180deg, rgba(48, 39, 28, 0.72) 0%, rgba(107, 95, 78, 0.58) 100%);
}

.qt-band__glow--warm {
    background: radial-gradient(90% 60% at 20% 0%, rgba(255, 248, 232, 0.62) 0%, rgba(255, 248, 232, 0) 62%);
}

.qt-band__glow--bronze {
    background: radial-gradient(120% 70% at 50% -8%, rgba(226, 186, 116, 0.28) 0%, rgba(226, 186, 116, 0) 62%);
}

/* Blade chapter strips */
.qt-chapter {
    padding: 2.4rem 0 2.2rem;
}

.qt-chapter h1,
.qt-chapter .qt-chapter__title {
    margin: 0 0 0.55rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.025em;
    line-height: 1.05;
    text-transform: none;
}

.qt-chapter p {
    margin: 0;
    max-width: 40rem;
    color: inherit;
    opacity: 0.82;
}

.qt-chapter--center {
    text-align: center;
}

.qt-chapter--center p {
    margin-left: auto;
    margin-right: auto;
}

/* Blade cream tiles / forms */
.qt-band .airline-card,
.qt-band .airline-item,
.qt-band .benefit-card,
.qt-band .group-card,
.qt-band .group-form-card,
.qt-band .deal-card,
.qt-band .contact-card,
.qt-band .form-section,
.qt-atlas-form .card,
.qt-purchase .card,
.qt-confirm .card {
    background: linear-gradient(168deg, #fcf8ef 0%, #f5ecd9 58%, #efe4cd 100%) !important;
    border: 1px solid rgba(176, 141, 87, 0.3) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 14px 32px rgba(52, 40, 24, 0.13);
    border-radius: 20px;
}

.qt-band .card-header,
.qt-purchase .card-header,
.qt-confirm .card-header {
    background: linear-gradient(168deg, #fcf8ef 0%, #f5ecd9 100%) !important;
    border-bottom: 1px solid rgba(176, 141, 87, 0.3) !important;
    color: #2b2317 !important;
}

.qt-legal-read {
    background: linear-gradient(168deg, #fcf8ef 0%, #f5ecd9 58%, #efe4cd 100%);
    border: 1px solid rgba(176, 141, 87, 0.3);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 14px 32px rgba(52, 40, 24, 0.13);
    border-radius: 20px;
    padding: 2rem 1.4rem 2.4rem;
    max-width: 46rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .qt-legal-read {
        padding: 2.6rem 2.8rem 3rem;
    }
}

.qt-legal-read h2,
.qt-legal-read h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    color: #2b2317;
    letter-spacing: -0.02em;
}

.qt-legal-read p,
.qt-legal-read li {
    color: #5f5442;
    line-height: 1.7;
}

/* Accordion cream surfaces (FAQ + contact) */
.qt-band .accordion-item {
    background: linear-gradient(168deg, #fcf8ef 0%, #f5ecd9 58%, #efe4cd 100%) !important;
    border: 1px solid rgba(176, 141, 87, 0.3) !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 10px 24px rgba(52, 40, 24, 0.1);
}

.qt-band .accordion-button {
    background: transparent !important;
    color: #2b2317 !important;
    font-weight: 500;
    box-shadow: none !important;
}

.qt-band .accordion-button:not(.collapsed) {
    background: #fcf8ef !important;
    color: #2b2317 !important;
}

.qt-band .accordion-body {
    background: #fcf8ef !important;
    color: #5f5442 !important;
}

/* Market-signal cards must sit off the gold field, not melt into it */
section.qt-ridge-signals .flight-card,
section.qt-ridge-signals .qt-surface {
    border: 1px solid rgba(176, 141, 87, 0.48) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.78) inset,
        0 10px 24px rgba(52, 40, 24, 0.1);
}

.qt-band .accordion-button::after {
    filter: sepia(0.4) saturate(0.8);
}

/* Destinations filter chips */
.qt-atlas-filter .region-chip {
    background: rgba(252, 248, 239, 0.8) !important;
    color: #5f5442 !important;
    border: 1px solid rgba(176, 141, 87, 0.34) !important;
    border-radius: 999px;
}

.qt-atlas-filter .region-chip:hover {
    background: var(--color-control, #0B1C3E) !important;
    color: #fbf5e9 !important;
    border-color: var(--color-control, #0B1C3E) !important;
}

.qt-atlas-filter .region-chip .badge {
    background: rgba(197, 160, 89, 0.22) !important;
    color: #7a5f28 !important;
}

/* Homepage watermarks — lift the gold so the page stays bright */
section.qt-destinations .qt-destinations__watermark { opacity: 0.18 !important; }
section.qt-about .qt-about__watermark { opacity: 0.12 !important; }
section.qt-trust .qt-trust__watermark { opacity: 0.12 !important; }
section.qt-reviews .qt-reviews__watermark { opacity: 0.16 !important; }
section.qt-newsletter .qt-newsletter__watermark { opacity: 0.14 !important; }

/* Header: keep navy, gold hairline only */
#mainNav.bg-wise-navy {
    border-bottom: 1px solid rgba(197, 160, 89, 0.32);
}

/* Classic handset — not the flipped fa-phone-alt */
.qt-phone-icon {
    display: inline-block;
    transform: none;
    font-style: normal;
}

/* ============================================
   SITE MENU — toast trigger + drawer
   ============================================ */
.qt-nav-toast {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.4rem 0.85rem 0.4rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 89, 0.55);
    background: rgba(11, 28, 62, 0.35);
    color: #f4e6c8;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
}

.qt-nav-toast:hover,
.qt-nav-toast[aria-expanded="true"] {
    background: rgba(197, 160, 89, 0.16);
    border-color: #c5a059;
    color: #fbf5e9;
}

.qt-nav-toast__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    width: 16px;
}

.qt-nav-toast__bars span {
    display: block;
    height: 1.5px;
    background: #c5a059;
    border-radius: 99px;
}

.qt-nav-toast__label {
    display: none;
}

@media (min-width: 768px) {
    .qt-nav-toast__label {
        display: inline;
    }
}

.qt-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1075;
    background: rgba(7, 17, 31, 0.52);
}

.qt-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    width: min(100vw - 1.25rem, 22.5rem);
    height: 100%;
    height: 100dvh;
    padding: 1.15rem 1.25rem 1.4rem;
    background: var(--color-primary, #0B1C3E);
    border-left: 1px solid color-mix(in srgb, var(--color-action, #C5A059) 32%, transparent);
    color: #f4eee3;
    overflow-y: auto;
}

.qt-nav-backdrop[hidden],
.qt-nav-drawer[hidden] {
    display: none !important;
    visibility: hidden !important;
}

.qt-nav-drawer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.qt-nav-drawer__eyebrow {
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--color-action, #C5A059);
}

.qt-nav-drawer__close {
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 999px;
    background: transparent;
    color: #f4e6c8;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.qt-nav-drawer__group {
    margin: 1.15rem 0 0.45rem;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #9c7c3f;
}

.qt-nav-drawer__nav a {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.14);
    color: #fbf5e9;
    text-decoration: none;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.qt-nav-drawer__nav a span {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(244, 238, 227, 0.62);
}

.qt-nav-drawer__nav a:hover {
    color: #e2ba74;
}

.qt-nav-drawer__foot {
    margin-top: auto;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(197, 160, 89, 0.22);
    text-align: center;
}

.qt-nav-drawer__pledge {
    margin: 0 0 0.35rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.35rem, 4.6vw, 1.7rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fbf5e9;
}

.qt-nav-drawer__pledge-line {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(244, 238, 227, 0.72);
}

.qt-nav-drawer__fee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.12rem;
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #e2ba74;
}

.qt-nav-drawer__fee span {
    display: block;
}

.qt-nav-drawer__phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    width: 100%;
    margin: 0.1rem 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    text-decoration: none;
    color: #f4e6c8;
}

.qt-nav-drawer__phone-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-action, #C5A059);
}

.qt-nav-drawer__phone-label .qt-phone-icon {
    font-size: 0.62rem;
}

.qt-nav-drawer__phone-num {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.55rem, 5.4vw, 1.95rem);
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 1.1;
    color: #f4e6c8;
}

.qt-nav-drawer__phone:hover {
    background: transparent;
    border-color: transparent;
    color: #f4e6c8;
}

.qt-nav-drawer__phone:hover .qt-nav-drawer__phone-num {
    color: #e2ba74;
}

.qt-nav-drawer__wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    margin: 0.35rem 0 0.15rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--color-whatsapp-ink, #f4e6c8);
    background: color-mix(in srgb, var(--color-whatsapp, #F4EDE0) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-action, #C5A059) 28%, transparent);
}

.qt-nav-drawer__wa-icon {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: var(--color-whatsapp-mark, #1B6B4A);
    color: var(--color-whatsapp-mark-ink, #F7F1E6);
    font-size: 1.15rem;
}

.qt-nav-drawer__wa-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem;
    line-height: 1.2;
}

.qt-nav-drawer__wa-copy strong {
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    color: #f4e6c8;
}

.qt-nav-drawer__wa-copy small {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--color-action, #C5A059) 82%, #fff);
}

.qt-nav-drawer__wa:hover {
    background: color-mix(in srgb, var(--color-whatsapp, #F4EDE0) 22%, transparent);
}

.qt-wa-dock {
    position: fixed;
    left: 1.05rem;
    bottom: 1.05rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: calc(100vw - 5.5rem);
    padding: 0.38rem 0.85rem 0.38rem 0.38rem;
    border-radius: 999px;
    background: var(--color-whatsapp, #F4EDE0);
    color: var(--color-whatsapp-ink, #0B1C3E);
    text-decoration: none;
    border: 1px solid color-mix(in srgb, var(--color-whatsapp-ink, #0B1C3E) 10%, transparent);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color-frame, #0B1C3E) 16%, transparent);
}

.qt-wa-dock__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    background: var(--color-whatsapp-mark, #1B6B4A);
    color: var(--color-whatsapp-mark-ink, #F7F1E6);
    font-size: 1.28rem;
}

.qt-wa-dock__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 0.15rem;
    line-height: 1.15;
}

.qt-wa-dock__line {
    font-size: 0.76rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: inherit;
}

.qt-wa-dock__note {
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    opacity: 0.72;
    color: inherit;
}

.qt-wa-dock:hover {
    color: var(--color-whatsapp-ink, #0B1C3E);
    text-decoration: none;
}

body:has(#qt-cookie-consent.is-open) .qt-wa-dock {
    bottom: 5.75rem;
}

body.qt-flight-results .qt-wa-dock {
    left: max(0.9rem, env(safe-area-inset-left));
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 19990;
    gap: 0.5rem;
    padding: 0.28rem 0.72rem 0.28rem 0.28rem;
    max-width: min(16.5rem, calc(100vw - 2rem));
}

body.qt-flight-results .qt-wa-dock__icon {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.08rem;
}

body.qt-flight-results .qt-wa-dock__line {
    font-size: 0.7rem;
}

body.qt-flight-results .qt-wa-dock__note {
    font-size: 0.6rem;
}

body.qt-flight-results .filters-fab {
    left: max(0.9rem, env(safe-area-inset-left)) !important;
    bottom: calc(0.75rem + env(safe-area-inset-bottom) + 3.35rem) !important;
    min-height: 42px;
    padding: 0.52rem 0.92rem;
    font-size: 0.8rem;
    gap: 0.4rem;
    box-shadow: 0 8px 22px rgba(11, 28, 62, 0.24);
}

body.qt-flight-results:has(#qt-cookie-consent.is-open) .qt-wa-dock {
    bottom: calc(5.4rem + env(safe-area-inset-bottom));
}

body.qt-flight-results:has(#qt-cookie-consent.is-open) .filters-fab {
    bottom: calc(5.4rem + env(safe-area-inset-bottom) + 3.35rem) !important;
}

html.qt-nav-open .qt-wa-dock {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html.qt-nav-open .filters-fab,
html.qt-nav-open .filters-sheet-overlay {
    z-index: 10 !important;
    pointer-events: none !important;
}

.qt-wa-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.qt-wa-dock.is-shown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

@media (max-width: 420px) {
    .qt-wa-dock {
        left: 0.85rem;
        bottom: 0.85rem;
        padding-right: 0.7rem;
    }

    .qt-wa-dock__line,
    .qt-wa-dock__note {
        white-space: nowrap;
    }
}

.qt-nav-drawer__marks {
    display: grid;
    grid-template-columns: repeat(3, minmax(4.8rem, 5.7rem));
    justify-content: center;
    column-gap: clamp(0.55rem, 2.2vw, 0.85rem);
    align-items: start;
    width: 100%;
    margin-top: 0.95rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(197, 160, 89, 0.16);
}

.qt-mark-cell {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.qt-mark-cell figcaption {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.08rem;
    min-height: 2.35rem;
    width: 100%;
}

.qt-mark-cell__name {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-action, #C5A059);
}

.qt-mark-cell__id {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.05;
    color: #f4e6c8;
}

.qt-mark {
    display: block;
    width: clamp(2.7rem, 9vw, 3.35rem);
    height: clamp(2.7rem, 9vw, 3.35rem);
    padding: 0.28rem;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(7, 17, 31, 0.22);
}

.qt-mark--atol {
    padding: 0;
    object-fit: cover;
}

.qt-trust .trust-icon {
    border-radius: 50% !important;
    overflow: hidden !important;
    width: 3.35rem !important;
    height: 3.35rem !important;
}

.qt-trust .trust-icon img {
    max-width: none !important;
    max-height: none !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.18rem;
    border-radius: 50%;
}

.qt-nav-drawer__secure {
    display: none;
}

@media (min-width: 992px) {
    .qt-nav-drawer {
        width: 26rem;
        padding: 1.6rem 1.75rem 1.75rem;
    }

    .qt-mark {
        width: 3.35rem;
        height: 3.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qt-nav-toast,
    .qt-nav-drawer__nav a,
    .qt-group-scene img {
        transition: none;
    }
}

.qt-group-hero,
.qt-group-close {
    position: relative;
    overflow: hidden;
    color: #fbf5e9;
    background-color: #0b1c3e;
}

.qt-group-hero {
    min-height: min(78vh, 40rem);
    display: flex;
    align-items: flex-end;
    padding-bottom: 3.1rem;
}

.qt-group-hero__media,
.qt-group-close__media,
.qt-group-hero__shade,
.qt-group-close__shade {
    position: absolute;
    inset: 0;
}

.qt-group-hero__media,
.qt-group-close__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qt-group-hero__shade {
    background: linear-gradient(180deg, rgba(7, 12, 24, 0.22) 0%, rgba(7, 12, 24, 0.55) 42%, rgba(7, 12, 24, 0.86) 100%);
}

.qt-group-hero__copy,
.qt-group-close__copy {
    position: relative;
    z-index: 1;
    max-width: 42rem;
}

.qt-group-hero h1,
.qt-group-hero h2,
.qt-group-hero .qt-chapter__title,
.qt-group-close h1,
.qt-group-close h2,
.qt-group-close .qt-chapter__title {
    color: #fbf5e9 !important;
    text-shadow: 0 2px 22px rgba(4, 8, 18, 0.55);
}

.qt-group-hero__copy p:not(.qt-band__eyebrow),
.qt-group-close__copy p:not(.qt-band__eyebrow) {
    margin: 0.7rem 0 1.35rem;
    color: rgba(251, 245, 233, 0.92);
    text-shadow: 0 1px 12px rgba(4, 8, 18, 0.4);
}

.qt-group-hero .qt-cta-navy,
.qt-group-close .qt-cta-navy {
    background: #fbf5e9;
    border-color: #fbf5e9;
    color: var(--color-ink, #0B1C3E);
}

.qt-group-hero .qt-cta-navy:hover,
.qt-group-close .qt-cta-navy:hover {
    background: #e2ba74;
    border-color: #e2ba74;
    color: var(--color-ink, #0B1C3E);
}

.qt-group-scenes {
    display: grid;
    gap: 1.25rem;
}

.qt-group-scene {
    position: relative;
    display: block;
    min-height: 18.5rem;
    overflow: hidden;
    border-radius: 22px;
    text-decoration: none;
    color: #fbf5e9;
}

.qt-group-scene img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.qt-group-scene:hover img {
    transform: scale(1.06);
}

.qt-group-scene__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 28, 62, 0.08) 0%, rgba(11, 28, 62, 0.78) 100%);
}

.qt-group-scene__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 18.5rem;
    padding: 1.5rem 1.4rem 1.6rem;
}

.qt-group-scene__kicker {
    margin-bottom: 0.4rem;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e2ba74;
}

.qt-group-scene h2 {
    margin: 0 0 0.5rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 500;
    color: #fbf5e9;
}

.qt-group-scene p {
    margin: 0;
    max-width: 28rem;
    color: rgba(251, 245, 233, 0.82);
}

.qt-group-sizes {
    display: grid;
    gap: 1.35rem;
}

.qt-group-size {
    overflow: hidden;
}

.qt-group-size__media {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
}

.qt-group-size__body {
    padding: 1.2rem 1.25rem 1.35rem;
}

.qt-group-size__meta {
    margin: 0 0 0.3rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a6a2c;
}

.qt-group-size h3 {
    margin: 0 0 0.45rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-ink, #0B1C3E);
}

.qt-group-size p {
    margin: 0 0 1rem;
    color: #6b4f2a;
}

.qt-group-size__well {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0;
    background: transparent;
    border: 0;
}

.qt-group-close {
    min-height: 22rem;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.qt-group-close__shade {
    background: linear-gradient(180deg, rgba(7, 12, 24, 0.35) 0%, rgba(7, 12, 24, 0.82) 100%);
}

.qt-group-close__copy {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .qt-group-scenes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .qt-group-sizes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Fare tags — navy ticket so prices sit proud of cream cards */
.qt-price-tag {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
    line-height: 1;
    color: #fbf5e9;
}

.qt-price-tag__kicker,
.qt-price-tag__note {
    font-family: Inter, 'Segoe UI', system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e2ba74 !important;
}

.qt-price-tag__amount,
.qt-price-tag .qt-price-tag__amount,
span.qt-price-tag__amount {
    font-family: Inter, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff !important;
    font-variant-numeric: tabular-nums;
}

.qt-price-tag--ticket,
.qt-price-tag.qt-price-tag--ticket {
    padding: 0.55rem 0.9rem 0.6rem;
    border-radius: 12px;
    background: linear-gradient(160deg, var(--color-mark-hi, #16305f) 0%, var(--color-mark, #0B1C3E) 100%);
    border: 1px solid var(--color-action, #C5A059);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--color-mark, #0B1C3E) 22%, transparent);
    min-width: 7.25rem;
}

.qt-price-tag--ticket-end {
    align-items: flex-end;
    text-align: right;
}

.qt-price-tag--overlay {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    padding: 0.42rem 0.72rem 0.48rem;
    border-radius: 12px;
    background: var(--color-mark, #0B1C3E);
    border: 1px solid var(--color-action, #C5A059);
    box-shadow: 0 10px 20px color-mix(in srgb, var(--color-mark, #0B1C3E) 42%, transparent);
}

.qt-price-tag--overlay .qt-price-tag__amount {
    font-size: 1.05rem;
}

.qt-price-tag--inline {
    flex-direction: row;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 0.18rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--color-action, #C5A059);
}

.qt-price-tag--inline .qt-price-tag__kicker,
.qt-price-tag--inline .qt-price-tag__amount {
    color: var(--color-ink, #0B1C3E) !important;
}

.qt-price-tag--inline .qt-price-tag__kicker {
    font-size: 0.55rem;
}

.qt-price-tag--inline .qt-price-tag__amount {
    font-size: 0.82rem;
}

.deal-card .price,
.qt-band .deal-card .price {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    margin: 0;
    padding: 0.55rem 0.9rem 0.6rem;
    border-radius: 12px;
    background: linear-gradient(160deg, var(--color-mark-hi, #16305f) 0%, var(--color-mark, #0B1C3E) 100%);
    border: 1px solid var(--color-action, #C5A059);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--color-mark, #0B1C3E) 22%, transparent);
    font-family: Inter, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff !important;
    line-height: 1.05;
}

.deal-card .price small,
.qt-band .deal-card .price small {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e2ba74 !important;
}

.qt-scene-pills {
    position: absolute;
    right: 0.7rem;
    bottom: 0.7rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.32rem;
    pointer-events: none;
}

.qt-scene-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.2rem 0.46rem;
    border-radius: 999px;
    background: rgba(8, 14, 26, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f7f1e4 !important;
    font-family: Inter, 'Segoe UI', system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(8, 14, 26, 0.18);
}

.qt-scene-pill i {
    font-size: 0.66rem;
    color: #e8c57a !important;
}

.qt-scene-pill__temp {
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    color: #fff !important;
}

.qt-scene-pills--hero {
    position: static;
    right: auto;
    bottom: auto;
    pointer-events: none;
}

.qt-scene-pills--hero .qt-scene-pill {
    background: rgba(252, 246, 232, 0.9);
    border: 1px solid rgba(232, 197, 122, 0.55);
    color: var(--color-ink, #0B1C3E) !important;
    box-shadow: 0 8px 18px rgba(7, 17, 31, 0.18);
}

.qt-scene-pills--hero .qt-scene-pill i,
.qt-scene-pills--hero .qt-scene-pill__temp {
    color: var(--color-ink, #0B1C3E) !important;
}

.qt-scene-pills--hero .qt-scene-pill i {
    color: #8a6a2c !important;
}

/* CMS palette binds — beat Vue scoped hex so one save paints the live graph. */
body {
    font-family: var(--font-sans, Inter, system-ui, sans-serif);
}

.deal-card__name,
.pop-card__name,
.dest-card__name,
.section-title,
.qt-chapter__title,
h1, h2, h3, h4 {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
}

.deal-card__ghost,
.pop-card__ghost,
.flight-card .btn-outline-primary {
    background: transparent !important;
    border: 1px solid var(--color-agent, #C5A059) !important;
    color: var(--color-agent-ink, #0B1C3E) !important;
}

.qt-ghost {
    background: transparent !important;
    border: 1px solid color-mix(in srgb, var(--color-quiet, #7A5F28) 55%, transparent) !important;
    color: var(--color-quiet-ink, var(--color-quiet, #7A5F28)) !important;
}

.deal-card__cta,
.pop-card__cta,
.qt-cabin-offers .pop-card__cta,
.qt-cta-navy,
.ironclad-cta-button,
.flight-card .btn-primary {
    background: var(--color-control, #0B1C3E) !important;
    border-color: var(--color-control, #0B1C3E) !important;
    color: var(--color-control-ink, #FBF5E9) !important;
}

.qt-trip-tabs,
.ironclad-row-tabs.qt-trip-tabs {
    background: transparent !important;
    box-shadow: none !important;
}

.qt-trip-tabs .ironclad-tab,
.ironclad-row-tabs.qt-trip-tabs .ironclad-tab,
.qt-trip-tabs .ironclad-tab.active,
.ironclad-row-tabs.qt-trip-tabs .ironclad-tab.active,
.qt-trip-tabs .ironclad-tab:hover,
.ironclad-row-tabs.qt-trip-tabs .ironclad-tab:hover {
    background: transparent !important;
    border-color: transparent !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #6b645a !important;
}

.qt-trip-tabs .ironclad-tab.active,
.ironclad-row-tabs.qt-trip-tabs .ironclad-tab.active {
    color: #2a261f !important;
    font-weight: 500;
    border-bottom-color: #8a7350 !important;
}

.qt-trip-tabs .ironclad-tab:hover:not(.active),
.ironclad-row-tabs.qt-trip-tabs .ironclad-tab:hover:not(.active) {
    color: #2a261f !important;
}

.ironclad-cta-button:hover {
    color: var(--color-control-ink, #FBF5E9) !important;
}

.qt-group-hero .qt-cta-navy,
.qt-group-close .qt-cta-navy {
    background: #fbf5e9 !important;
    border-color: #fbf5e9 !important;
    color: var(--color-ink, #0B1C3E) !important;
}

.qt-price-tag__amount,
.qt-price-tag .qt-price-tag__amount,
span.qt-price-tag__amount,
.deal-card .price,
.qt-band .deal-card .price {
    color: var(--color-mark-ink, #FBF5E9) !important;
}

.qt-header-links a,
.qt-header-ghost,
.qt-header-ghost:hover,
.admin-topbar,
footer {
    color: var(--color-frame-ink, #FBF5E9) !important;
}

.qt-header-links a {
    color: color-mix(in srgb, var(--color-frame-ink, #FBF5E9) 82%, transparent) !important;
}

.qt-header-links a.is-fee {
    color: var(--color-action, #e2ba74) !important;
}

.qt-cc-btn-primary {
    color: var(--color-action-ink, #0B1C3E) !important;
}

.qt-atlas-filter .region-chip:hover {
    color: var(--color-control-ink, #FBF5E9) !important;
}

.qt-region__arrow:hover {
    background: var(--color-control, #0B1C3E) !important;
    border-color: var(--color-control, #0B1C3E) !important;
    color: var(--color-control-ink, #FBF5E9) !important;
}

.deal-card__name,
.pop-card__name,
.dest-card__name,
.deal-card__months,
.pop-card__months,
.deal-card__icon {
    color: var(--color-ink, #0B1C3E) !important;
}

.deal-card__tagline,
.pop-card__tagline,
.deal-card__chip--navy {
    color: var(--color-copy, #6B4F2A) !important;
}

.deal-card__meta,
.pop-card__meta,
.pop-card__well-label,
.deal-card__badge,
.pop-card__badge {
    color: var(--color-muted, #8A6A2C) !important;
}

.deal-card__media {
    background: var(--color-frame, #0B1C3E) !important;
}

.qt-hero__dot {
    background: var(--color-action, #C5A059) !important;
}

/* Sheet forms are not Frame / not buttons. Beat Bootstrap --bs-body-bg leak. */
.form-control,
.form-select,
textarea.form-control,
.modal .form-control,
.modal .form-select,
.qt-callback-sheet .form-control,
.qt-callback-sheet .form-select,
.qt-atlas-form .form-control,
.qt-atlas-form .form-select,
.qt-band .form-control,
.qt-band .form-select,
.assign-agent-form-input {
    background-color: var(--color-field, #FFFFFF) !important;
    color: var(--color-field-ink, #2B2317) !important;
    border-color: var(--color-field-line, #D4C4A8) !important;
}

.form-control::placeholder,
.qt-atlas-form .form-control::placeholder,
.assign-agent-form-input::placeholder {
    color: var(--color-field-muted, #9A8E77) !important;
}

.form-label,
.qt-atlas-form .form-label,
.assign-agent-form-label,
.qt-callback-sheet .form-label {
    color: var(--color-field-muted, #9A8E77);
}

.form-control:focus,
.form-select:focus,
.assign-agent-form-input:focus {
    border-color: var(--color-action, #C5A059) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-action, #C5A059) 22%, transparent) !important;
    background-color: var(--color-field, #FFFFFF) !important;
    color: var(--color-field-ink, #2B2317) !important;
}

.ironclad-input,
.ironclad-select,
.ironclad-passenger-btn {
    background: var(--color-search, #EBE5DB) !important;
    color: var(--color-search-ink, #2A261F) !important;
}

footer.qt-foot {
    background: var(--color-primary, #0B1C3E);
    color: var(--color-frame-ink, #FBF5E9);
    padding: 0 !important;
}

.qt-foot > .qt-foot__inner {
    padding-top: 2.75rem !important;
    padding-bottom: 0.25rem;
}

.qt-foot__grid {
    display: grid;
    grid-template-columns: minmax(14rem, 1.35fr) minmax(16.5rem, 1.35fr) minmax(13rem, 1fr);
    gap: 1.75rem 2.25rem;
    align-items: start;
}

.qt-foot__navs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.75rem;
    align-items: start;
    min-width: 0;
}

.qt-advice-close h2 {
    color: #e2ba74 !important;
}

.qt-foot__brand img {
    display: block;
    height: 3.25rem;
    width: auto;
    margin: 0 0 1rem;
}

.qt-foot__blurb {
    margin: 0;
    max-width: 28rem;
    font-size: 0.84rem;
    line-height: 1.6;
    font-weight: 500;
    color: color-mix(in srgb, var(--color-frame-ink, #FBF5E9) 82%, transparent);
    text-wrap: pretty;
    overflow-wrap: break-word;
    hyphens: none;
}

.qt-foot__policy {
    display: inline;
    margin-left: 0.35rem;
    color: var(--color-action, #C5A059);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.qt-foot__policy:hover {
    color: var(--color-frame-ink, #FBF5E9);
}

a.qt-atol-holder,
.qt-atol-holder {
    color: var(--color-action, #C5A059);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.qt-atol-holder:hover {
    color: var(--color-primary, #0B1C3E);
}

.qt-foot .qt-atol-holder,
.qt-foot .qt-atol-holder:hover {
    color: var(--color-action, #C5A059);
}

.qt-foot .qt-atol-holder:hover {
    color: var(--color-frame-ink, #FBF5E9);
}

.qt-foot__assurance {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem 1.05rem;
    margin-top: 1.1rem;
}

.qt-foot__atol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 0;
}

.qt-foot__atol:hover,
.qt-foot__atol:focus-visible {
    opacity: 0.86;
}

.qt-foot__atol img {
    display: block;
    height: 2.7rem;
    width: auto;
    max-width: 14.5rem;
    object-fit: contain;
}

.qt-foot__social {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0;
}

.qt-foot__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    color: var(--color-action, #C5A059);
    text-decoration: none;
}

.qt-foot__social a:hover,
.qt-foot__social a:focus-visible {
    color: var(--color-frame-ink, #FBF5E9);
    background: color-mix(in srgb, var(--color-action, #C5A059) 18%, transparent);
}

.qt-foot__col h5 {
    margin: 0 0 0.7rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-action, #C5A059) !important;
    line-height: 1.2;
}

.qt-foot__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    justify-items: start;
    gap: 0.42rem;
}

.qt-foot__col a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.35;
    white-space: nowrap;
}

.qt-foot__col a:hover {
    color: var(--color-action, #C5A059);
}

.qt-foot__desk ul {
    gap: 0.75rem;
}

.qt-foot__desk li {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    font-size: 0.88rem;
    line-height: 1.45;
}

.qt-foot__desk i {
    margin-top: 0.2rem;
    color: var(--color-action, #C5A059);
}

.qt-foot__desk a {
    white-space: normal;
    overflow-wrap: anywhere;
}

.qt-foot__marks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
    justify-items: center;
    align-items: start;
    margin: 1.45rem 0 0;
    padding: 1.05rem 0 0;
    border-top: 1px solid rgba(251, 245, 233, 0.14);
    text-align: center;
}

.qt-foot__marks li {
    margin: 0;
    width: 100%;
    max-width: 11.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: color-mix(in srgb, var(--color-frame-ink, #FBF5E9) 82%, transparent);
}

.qt-foot__mark-seal {
    display: grid;
    place-items: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 50%;
    color: var(--color-action, #C5A059);
    background: color-mix(in srgb, var(--color-action, #C5A059) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-action, #C5A059) 55%, transparent);
    box-shadow:
        inset 0 0 0 3px var(--color-primary, #0B1C3E),
        inset 0 0 0 4px color-mix(in srgb, var(--color-action, #C5A059) 38%, transparent);
}

.qt-foot__mark-seal i {
    font-size: 0.92rem;
    line-height: 1;
    color: inherit;
}

.qt-foot__mark-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.08rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.qt-foot__mark-copy .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.qt-foot__legal {
    margin-top: 1.15rem;
    padding: 0.8rem 0;
    background: var(--color-primary-ink, #071226);
}

.qt-foot__legal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.qt-foot__legal p {
    margin: 0;
    font-size: 0.8rem;
}

.qt-foot__legal nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
}

.qt-foot__legal a {
    color: inherit;
    text-decoration: none;
    font-size: 0.8rem;
}

.qt-foot__legal a:hover {
    color: var(--color-action, #C5A059);
}

@media (max-width: 1199.98px) {
    .qt-foot__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 1.6rem 1.4rem;
    }
}

@media (max-width: 991.98px) {
    .qt-foot > .qt-foot__inner {
        padding-top: 2.4rem !important;
    }

    .qt-foot__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 1.6rem 1.5rem;
    }

    .qt-foot__brand {
        grid-column: 1 / -1;
    }

    .qt-foot__blurb {
        max-width: 38rem;
    }
}

@media (max-width: 575.98px) {
    .qt-foot > .qt-foot__inner {
        padding-top: 2.1rem !important;
    }

    .qt-foot__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.45rem;
    }

    .qt-foot__navs {
        gap: 1rem 1.15rem;
    }

    .qt-foot__blurb {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .qt-foot__col a {
        font-size: 0.86rem;
        white-space: normal;
    }

    .qt-foot__marks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem 0.4rem;
        margin-top: 1.2rem;
        padding-top: 0.95rem;
    }

    .qt-foot__marks li {
        max-width: none;
        gap: 0.42rem;
    }

    .qt-foot__mark-seal {
        width: 2.2rem;
        height: 2.2rem;
    }

    .qt-foot__mark-seal i {
        font-size: 0.8rem;
    }

    .qt-foot__mark-copy {
        font-size: 0.56rem;
        letter-spacing: 0.035em;
        line-height: 1.18;
    }

    .qt-foot__legal-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Contrast lock — parchment bands keep dark ink; photo / bronze heroes keep cream type. */
section.qt-vision,
section.qt-story,
section.qt-story-mid,
section.qt-contact,
section.qt-contact-strip,
section.qt-faq,
section.qt-legal,
section.qt-fleet-a,
section.qt-fleet-b,
section.qt-caravan-body,
section.qt-caravan-form,
section.qt-checkout,
section.qt-results,
section.qt-success {
    color: #2b2317;
}

section.qt-vision .section-title,
section.qt-vision h2,
section.qt-story .section-title,
section.qt-story h1,
section.qt-story-mid .section-title,
section.qt-contact-strip .qt-chapter__title,
section.qt-caravan-body .section-title,
section.qt-caravan-form .section-title,
section.qt-checkout .section-title,
section.qt-checkout h1,
section.qt-results .section-title,
section.qt-success .section-title {
    color: #1c1610 !important;
}

section.qt-vision .qt-vision__lead,
section.qt-vision .qt-vision__copy,
section.qt-story .qt-story__copy,
section.qt-checkout .qt-checkout__lede,
section.qt-checkout .qt-recover__lede {
    color: #2b2317 !important;
}

.qt-group-hero,
.qt-group-close,
section.qt-cabin-hero,
section.qt-legal-strip,
section.qt-sabkha-strip,
section.qt-story-cta,
section.qt-why,
section.qt-premium {
    color: #fbf5e9;
}

.qt-group-hero h1,
.qt-group-hero h2,
.qt-group-hero .qt-chapter__title,
.qt-group-close h1,
.qt-group-close h2,
.qt-group-close .qt-chapter__title,
section.qt-cabin-hero h1,
section.qt-cabin-hero .qt-chapter__title,
section.qt-legal-strip h1,
section.qt-legal-strip .qt-chapter__title,
section.qt-sabkha-strip h1,
section.qt-sabkha-strip .qt-chapter__title,
section.qt-story-cta h2,
section.qt-story-cta .section-title {
    color: #fbf5e9 !important;
}
