/* ==========================================================================
   DUBAI TOUR LINE — Premium UI System
   --------------------------------------------------------------------------
   A complete, from-scratch design system for a luxury Dubai travel agency.

   CONTENTS
   01. Design tokens (CSS custom properties)
   02. Global reset
   03. Typography
   04. Container & layout system
   05. Buttons & controls
   06. Header & navigation
   07. Hero & page headers
   08. Section headers & decorative layers
   09. Panels, surfaces & badges
   10. Tour cards
   11. Service / feature cards
   12. Fleet cards (flip)
   13. Pricing components
   14. About / story / stats / process
   15. Gallery & lightbox
   16. Testimonials & quotes
   17. Forms & booking layout
   18. Contact section
   19. Footer & action rail
   20. Utility classes
   21. Animations & 3D tilt
   22. Responsive media queries
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand — deep navy + luxury gold */
    --primary:        #0b1f3a;
    --primary-600:    #123055;
    --primary-800:    #0a1a30;
    --primary-900:    #061224;
    --secondary:      #d4af37;
    --gold-light:     #f3d675;
    --gold-dark:      #a8842a;
    --gold-400:       #e6c667;
    --aqua:           #1b7f79;
    --sand:           #e9dfc9;

    /* Neutrals */
    --white:          #ffffff;
    --off-white:      #fbfaf7;
    --light:          #f7f8fa;
    --light-2:        #eef1f6;
    --dark:           #111827;
    --text:           #374151;
    --text-soft:      #4b5563;
    --text-mute:      #6b7280;
    --border:         #e5e7eb;
    --stroke:         #e8eaef;

    /* Status */
    --success:        #157347;
    --success-bg:     rgba(21, 115, 71, .08);
    --danger:         #b42318;
    --danger-bg:      rgba(180, 35, 24, .07);
    --warning:        #b45309;
    --warning-bg:     rgba(180, 83, 9, .09);
    --info-bg:        rgba(11, 31, 58, .05);

    /* Elevation */
    --shadow-sm:      0 2px 8px rgba(11, 31, 58, .05);
    --shadow:         0 10px 30px rgba(0, 0, 0, .08);
    --shadow-md:      0 18px 44px rgba(11, 31, 58, .10);
    --shadow-lg:      0 30px 70px rgba(11, 31, 58, .14);
    --shadow-gold:    0 14px 34px rgba(212, 175, 55, .34);

    /* Shape */
    --radius-sm:      10px;
    --radius:         16px;
    --radius-lg:      24px;
    --radius-xl:      32px;
    --radius-pill:    999px;

    /* Layout */
    --container:      1200px;
    --header-h:       76px;
    --gutter:         clamp(18px, 4vw, 32px);

    /* Type */
    --font-body:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                      "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-display:   "Playfair Display", "Cormorant Garamond", "Iowan Old Style",
                      Georgia, "Times New Roman", serif;

    /* Motion */
    --ease:           cubic-bezier(.22, .61, .36, 1);
    --ease-out:       cubic-bezier(.16, 1, .3, 1);
    --dur:            .35s;

    /* Legacy aliases kept so existing inline styles keep working */
    --navy:           var(--primary);
    --ink:            var(--dark);
    --mute:           var(--text-mute);
    --line:           var(--border);
    --gold:           var(--secondary);
    --gold-2:         var(--gold-light);
}

/* Dark-surface theme: applied to every navy band in the layout */
.hero,
.page-head,
.tour-hero,
.cta-band,
.success-hero,
.site-footer,
.topbar,
.site-header,
.nav {
    --border:       rgba(255, 255, 255, .16);
    --stroke:       rgba(255, 255, 255, .14);
    --light:        rgba(255, 255, 255, .07);
    --light-2:      rgba(255, 255, 255, .05);
    --text:         rgba(255, 255, 255, .84);
    --text-soft:    rgba(255, 255, 255, .74);
    --text-mute:    rgba(255, 255, 255, .56);
    --dark:         #ffffff;
    --shadow:       0 24px 60px rgba(3, 10, 22, .38);
    --shadow-sm:    0 10px 26px rgba(3, 10, 22, .28);
}


/* ==========================================================================
   02. GLOBAL RESET
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; border-style: none; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-dark); }

button, input, select, textarea {
    font: inherit;
    color: inherit;
    margin: 0;
}

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

table { width: 100%; border-collapse: collapse; }
table th { font-weight: 700; text-align: left; }
table tr:hover { background: rgba(212, 175, 55, .05); }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

::selection { background: rgba(212, 175, 55, .28); color: var(--dark); }

:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 6px;
}

svg.icon {
    width: 18px;
    height: 18px;
    flex: none;
    vertical-align: -.18em;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--primary);
    color: #fff;
    padding: .7rem 1.2rem;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--dark);
    line-height: 1.18;
    letter-spacing: -.01em;
    font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

strong, .strong { font-weight: 700; color: var(--dark); }

.lead {
    font-size: clamp(1rem, 1.45vw, 1.12rem);
    color: var(--text-soft);
    max-width: 62ch;
}

.text-soft  { color: var(--text-soft); }
.text-mute  { color: var(--text-mute); }
.text-gold  { color: var(--gold-dark); }

.gold-text {
    background: linear-gradient(100deg, var(--gold-light) 0%, var(--secondary) 48%, #b8912f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.small { font-size: .9rem; }
.xs    { font-size: .8rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-dark);
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--secondary), transparent);
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.is-centered::after {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary));
}

.sub { font-size: .86rem; color: var(--text-mute); }


/* ==========================================================================
   04. CONTAINER & LAYOUT SYSTEM
   ========================================================================== */

.wrap {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 860px; }

.section {
    position: relative;
    padding: clamp(64px, 8vw, 104px) 0;
}
.section-tight { padding: clamp(44px, 5.5vw, 70px) 0; }
.section-alt {
    background: linear-gradient(180deg, var(--light) 0%, var(--light-2) 100%);
    border-block: 1px solid var(--stroke);
}

.page-head,
.tour-hero {
    color: #fff;
    overflow: hidden;
    position: relative;
}
.page-head h1,
.page-head .lead,
.tour-hero h1,
.tour-hero .lead { color: #fff; }
.page-head .eyebrow,
.tour-hero .eyebrow { color: var(--gold-light); }

.scene { position: relative; isolation: isolate; }

/* Grids — auto-fit keeps everything fluid with no horizontal scroll */
.grid {
    display: grid;
    gap: clamp(18px, 2.2vw, 26px);
    grid-template-columns: 1fr;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.grid-sidebar { grid-template-columns: 1fr; }

.tour-grid {
    display: grid;
    gap: clamp(20px, 2.4vw, 30px);
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
}

.split {
    display: grid;
    gap: clamp(30px, 4vw, 56px);
    align-items: center;
    grid-template-columns: 1fr;
}
.split-col { display: grid; gap: .8rem; }

.booking-layout,
.detail-layout {
    display: grid;
    gap: clamp(24px, 3vw, 38px);
    grid-template-columns: 1fr;
    align-items: start;
}

.contact-grid {
    display: grid;
    gap: clamp(22px, 2.6vw, 34px);
    grid-template-columns: 1fr;
}

.col { display: flex; flex-direction: column; }
.fact-strip {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
}
.check-list { display: grid; gap: 12px; }
.check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: .96rem;
    color: var(--text-soft);
}
.check-list strong { color: var(--dark) !important; }

.tick {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: none;
    margin-top: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, .22), rgba(212, 175, 55, .06));
    border: 1px solid rgba(212, 175, 55, .4);
    color: var(--gold-dark);
}

.process-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.split-list {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}
.split-col h4 {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .9rem;
    font-size: 1.08rem;
}
.split-col ul { display: grid; gap: 10px; }
.split-col li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .93rem;
    color: var(--text-soft);
}
.split-col li .icon { margin-top: 3px; }
.included h4, .included li .icon { color: var(--success); }
.excluded h4, .excluded li .icon { color: var(--danger); }
.included { border-color: rgba(21, 115, 71, .28); }
.excluded { border-color: rgba(180, 35, 24, .22); }


/* ==========================================================================
   05. BUTTONS & CONTROLS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .82rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--gold-400) 55%, #e7cd7c 100%);
    color: #10233f;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.2;
    text-align: center;
    box-shadow: var(--shadow-gold);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                background-color var(--dur) var(--ease), color var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}
.btn:hover {
    color: #10233f;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(212, 175, 55, .42);
}
.btn:active { transform: translateY(0); }
.btn .icon { width: 17px; height: 17px; }

.btn-sm { padding: .58rem 1.1rem; font-size: .86rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

.btn-ghost {
    background: var(--white);
    color: var(--primary);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

/* Ghost buttons invert on navy surfaces */
.hero .btn-ghost,
.page-head .btn-ghost,
.tour-hero .btn-ghost,
.cta-band .btn-ghost,
.success-hero .btn-ghost,
.site-footer .btn-ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    box-shadow: none;
    backdrop-filter: blur(8px);
}
.hero .btn-ghost:hover,
.page-head .btn-ghost:hover,
.tour-hero .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.success-hero .btn-ghost:hover,
.site-footer .btn-ghost:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-ok {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 14px 34px rgba(18, 140, 126, .3);
}
.btn-ok:hover { color: #fff; box-shadow: 0 18px 40px rgba(18, 140, 126, .38); }

.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.social-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .8);
    transition: all var(--dur) var(--ease);
}
.social-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #10233f;
    transform: translateY(-2px);
}
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }


/* ==========================================================================
   06. HEADER & NAVIGATION
   ========================================================================== */

.topbar {
    background: var(--primary-900);
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.topbar-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.topbar-group.secondary { justify-content: flex-end; }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-item .icon { width: 15px; height: 15px; color: var(--gold-light); }
.topbar-item a:hover { color: var(--gold-light); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(9, 26, 48, .55);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}
.site-header.is-stuck {
    background: rgba(6, 18, 36, .94);
    border-bottom-color: rgba(212, 175, 55, .3);
    box-shadow: 0 14px 40px rgba(3, 10, 22, .38);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}
.brand-logo {
    display: block;
    flex: none;
    height: 46px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    object-position: left center;
    border-radius: 8px;
}
.brand-text { display: block; }
.brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.12rem;
    line-height: 1.15;
    color: #fff;
}
.brand-tag {
    display: block;
    font-size: .66rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: .92;
}

/* Layout-neutral on desktop; becomes a clipping layer for the drawer on mobile.
   `display: contents` keeps the nav a direct flex child of the header. */
.nav-shell { display: contents; }

.nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.nav-link {
    position: relative;
    padding: .6rem .85rem;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, .82);
    font-size: .95rem;
    font-weight: 500;
    transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .3rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s var(--ease);
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: #fff; font-weight: 700; }
.nav .btn { margin-left: 10px; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex: none;
}
.nav + .header-actions { margin-left: 14px; }

.nav-toggle {
    display: none;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .07);
    position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    content: "";
    position: absolute;
    left: 13px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s var(--ease), opacity .2s linear;
}
.nav-toggle::before { top: 16px; }
.nav-toggle span { top: 22px; }
.nav-toggle::after { top: 28px; }
body:has(.nav.is-open) .nav-toggle span { opacity: 0; }
body:has(.nav.is-open) .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
body:has(.nav.is-open) .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(4, 12, 24, .58);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }


/* ==========================================================================
   07. HERO & PAGE HEADERS
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    padding: calc(var(--header-h) + clamp(30px, 6vw, 70px)) 0 clamp(56px, 8vw, 96px);
    min-height: clamp(620px, 94vh, 940px);
    background:
        radial-gradient(1100px 520px at 82% 8%, rgba(212, 175, 55, .18), transparent 62%),
        linear-gradient(165deg, #061224 0%, var(--primary) 46%, #14406e 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-skyline-far,
.hero-skyline-near {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    opacity: .13;
}
.hero-skyline-near { opacity: .2; bottom: -1%; }

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 92% at 50% 18%, transparent 38%, rgba(4, 11, 22, .6) 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(62px);
    opacity: .55;
    pointer-events: none;
}
.orb-gold { background: radial-gradient(circle, rgba(212, 175, 55, .6), transparent 70%); }
.orb-aqua { background: radial-gradient(circle, rgba(122, 190, 216, .45), transparent 70%); }

.orbit {
    position: absolute;
    width: 340px;
    height: 340px;
    margin: -170px 0 0 -170px;
    border: 1px solid rgba(212, 175, 55, .2);
    border-radius: 50%;
    pointer-events: none;
}
.orbit-2 { width: 520px; height: 520px; margin: -260px 0 0 -260px; opacity: .6; }

.floor {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    background: radial-gradient(120% 100% at 50% 100%, rgba(212, 175, 55, .1), transparent 62%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 3; }
.hero-inner { max-width: 680px; }

.extrude {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 5.6vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -.015em;
    margin: 1rem 0 .9rem;
    color: #fff;
    text-shadow: 0 18px 46px rgba(0, 0, 0, .35);
}
.hero .gold-text { text-shadow: none; }

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    color: rgba(255, 255, 255, .82);
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.hero-bar {
    margin-top: 34px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    box-shadow: 0 26px 60px rgba(3, 10, 22, .32);
}
.hero-bar .label {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .66);
    font-weight: 700;
}
.hero-bar .input,
.hero-bar .select {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}
.hero-bar .input::placeholder { color: rgba(255, 255, 255, .5); }
.hero-bar .select option { color: var(--dark); }
.hero-bar .btn { align-self: end; }
.hero-bar form {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    align-items: end;
    width: 100%;
}
.hero-bar form > div {
    display: grid;
    gap: .45rem;
    min-width: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}
.hero-stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    line-height: 1.1;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.hero-stat-value .icon { color: var(--gold-light); width: 22px; height: 22px; }
.hero-stat-label {
    font-size: .74rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-top: .2rem;
}

/* Floating glass preview card inside the hero */
.hero-card {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: clamp(20px, 5vw, 80px);
    transform: translateY(-50%);
    width: min(340px, 30vw);
    display: none;
}
.plate {
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    box-shadow: 0 34px 80px rgba(3, 10, 22, .42);
}
.hero-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 6px);
}
/* The float keyframes must preserve the card's vertical centring transform */
.hero-card.float-2 { animation-name: heroCardFloat; }
@keyframes heroCardFloat {
    0%, 100% { transform: translateY(-50%) translate3d(0, 0, 0); }
    50%      { transform: translateY(-50%) translate3d(14px, 18px, 0); }
}

/* Page header band (inner pages) */
.page-head {
    padding: clamp(7rem, 13vw, 9.5rem) 0 clamp(3rem, 6vw, 4.6rem);
    background:
        radial-gradient(900px 420px at 84% 6%, rgba(212, 175, 55, .16), transparent 60%),
        linear-gradient(160deg, #061224, var(--primary) 55%, #123a63);
}
.page-head-inner { position: relative; z-index: 2; max-width: 840px; }
.page-head .lead { margin-top: .6rem; }

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: rgba(255, 255, 255, .68);
    margin-bottom: 18px;
}
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs .sep { opacity: .45; }

/* Tour detail hero */
.tour-hero {
    display: flex;
    align-items: flex-end;
    min-height: clamp(430px, 62vh, 640px);
    padding-top: clamp(7rem, 12vw, 9rem);
    padding-bottom: clamp(2.6rem, 5vw, 4rem);
}
.tour-hero-bg { position: absolute; inset: 0; z-index: 0; }
.tour-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.tour-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(4, 11, 22, .95) 8%, rgba(6, 18, 36, .68) 48%, rgba(6, 18, 36, .55)),
        radial-gradient(900px 400px at 20% 10%, rgba(212, 175, 55, .16), transparent 62%);
}
.tour-hero-inner { position: relative; z-index: 2; }
.tour-hero-inner h1 { max-width: 20ch; }
.tour-hero-lede {
    max-width: 62ch;
    margin-top: .7rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, .82);
}
.tour-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.fact-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .92rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: .84rem;
    color: rgba(255, 255, 255, .9);
}
.fact-pill .icon { color: var(--gold-light); }

/* CTA band */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4.5vw, 3.4rem);
    color: rgba(255, 255, 255, .82);
    background:
        radial-gradient(700px 320px at 88% 12%, rgba(212, 175, 55, .2), transparent 62%),
        linear-gradient(135deg, #0b1f3a, #143a63 60%, #0a1a30);
    box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-plane {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(115deg, rgba(212, 175, 55, .09) 0 2px, transparent 2px 16px),
        radial-gradient(60% 120% at 100% 0%, rgba(212, 175, 55, .18), transparent 60%);
    opacity: .55;
    pointer-events: none;
}


/* ==========================================================================
   08. SECTION HEADERS & DECORATIVE LAYERS
   ========================================================================== */

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(28px, 4vw, 46px);
    text-align: center;
}
.section-head h2 { margin: .6rem 0 .7rem; }
.section-head p { color: var(--text-soft); }

.bg-texture {
    position: absolute;
    inset: 0;
    background-image: url(../img/pattern.svg);
    background-size: cover;
    background-position: center;
    opacity: .05;
    pointer-events: none;
}

/* Trust marquee */
.marquee {
    overflow: hidden;
    padding: .95rem 0;
    border-radius: var(--radius-pill);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    width: max-content;
    padding-inline: 1.2rem;
    animation: marquee 42s linear infinite;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--text-soft);
    white-space: nowrap;
}
.marquee-item .icon { color: var(--gold-dark); width: 16px; height: 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }

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


/* ==========================================================================
   09. PANELS, SURFACES & BADGES
   ========================================================================== */

.panel {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(20px, 2.6vw, 30px);
}
.panel-tight { padding: 18px 20px; }
.panel-flat { box-shadow: none; background: var(--light); }
.panel-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, .12), rgba(212, 175, 55, .02));
    border-color: rgba(212, 175, 55, .34);
}
.panel-title {
    font-family: var(--font-display);
    font-size: 1.12rem;
    color: var(--dark);
    margin-bottom: .85rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .72rem;
    border-radius: var(--radius-pill);
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.badge .icon { width: 13px; height: 13px; }
.badge-gold {
    background: linear-gradient(135deg, var(--secondary), var(--gold-400));
    border-color: transparent;
    color: #10233f;
}
.badge-aqua {
    background: rgba(27, 127, 121, .12);
    border-color: rgba(27, 127, 121, .3);
    color: #0f6b66;
}
.badge-rose {
    background: rgba(180, 35, 24, .1);
    border-color: rgba(180, 35, 24, .26);
    color: var(--danger);
}
.badge.is-new       { background: rgba(11, 31, 58, .08); border-color: rgba(11, 31, 58, .2); color: var(--primary); }
.badge.is-contacted { background: var(--warning-bg); border-color: rgba(180, 83, 9, .28); color: var(--warning); }
.badge.is-confirmed { background: var(--success-bg); border-color: rgba(21, 115, 71, .28); color: var(--success); }
.badge.is-completed { background: rgba(27, 127, 121, .1); border-color: rgba(27, 127, 121, .28); color: #0f6b66; }
.badge.is-cancelled { background: rgba(107, 114, 128, .1); border-color: rgba(107, 114, 128, .26); color: var(--text-mute); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .34rem .82rem;
    border-radius: var(--radius-pill);
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: .8rem;
    font-weight: 600;
}
.pill-gold {
    background: rgba(212, 175, 55, .12);
    border-color: rgba(212, 175, 55, .34);
    color: var(--gold-dark);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.05rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-soft);
    font-size: .88rem;
    font-weight: 600;
    transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: rgba(212, 175, 55, .5); color: var(--dark); transform: translateY(-1px); }
.chip.is-active {
    background: linear-gradient(135deg, var(--secondary), var(--gold-400));
    border-color: transparent;
    color: #10233f;
    box-shadow: var(--shadow-gold);
}
.chip-count { opacity: .7; font-size: .8em; }

.filter-bar,
.gallery-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px;
    margin-bottom: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}
.gallery-filters { justify-content: center; border-radius: var(--radius-lg); }
.filter-bar .input {
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    padding: .5rem .2rem;
}
.filter-bar .input:focus { box-shadow: none; border-bottom-color: var(--secondary); }
.result-count {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-mute);
    white-space: nowrap;
}

/* Alerts & notes */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--info-bg);
    font-size: .93rem;
    color: var(--text);
    margin-bottom: 1rem;
}
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--success-bg); border-color: rgba(21, 115, 71, .28); color: var(--success); }
.alert-error   { background: var(--danger-bg);  border-color: rgba(180, 35, 24, .26); color: var(--danger); }
.alert-warning { background: var(--warning-bg); border-color: rgba(180, 83, 9, .28); color: var(--warning); }
.alert-info    { background: var(--info-bg);    border-color: rgba(11, 31, 58, .18); color: var(--primary); }

.info-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(212, 175, 55, .09);
    border: 1px solid rgba(212, 175, 55, .3);
    color: var(--text-soft);
    font-size: .92rem;
}
.info-note .icon { color: var(--gold-dark); margin-top: 2px; }
.info-note strong { color: var(--dark); }

.empty-state { text-align: center; padding: clamp(34px, 6vw, 60px) 24px; }
.empty-state .big {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, .2), rgba(212, 175, 55, .04));
    border: 1px solid rgba(212, 175, 55, .35);
    color: var(--gold-dark);
}
.empty-state p { max-width: 46ch; margin-inline: auto; }

.licence-panel {
    display: grid;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.licence-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    background: var(--white);
    padding: 13px 18px;
}

.label-text {
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-weight: 700;
}
.value-text { font-weight: 700; color: var(--dark); }

.next-steps {
    counter-reset: step;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .9rem;
    color: var(--text-soft);
}
.next-steps li {
    counter-increment: step;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.next-steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--gold-400));
    color: #10233f;
    font-size: .74rem;
    font-weight: 800;
}

/* Timeline (itinerary) */
.timeline { position: relative; padding-top: .4rem; }
.timeline-spine {
    position: absolute;
    left: 21px;
    top: 8px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--secondary), rgba(212, 175, 55, .12));
}
.timeline-item { position: relative; padding: 0 0 16px 58px; }
.timeline-node {
    position: absolute;
    left: 0;
    top: 6px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--primary), var(--primary-600));
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 1.05rem;
    border: 1px solid rgba(212, 175, 55, .4);
    box-shadow: var(--shadow-sm);
}
.timeline-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.timeline-body img {
    width: 118px;
    height: 88px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex: none;
}
.timeline-body h4 { font-size: 1rem; margin-bottom: .25rem; }
.timeline-body p { font-size: .9rem; color: var(--text-soft); margin: 0 0 .35rem; }
.timeline-time {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--gold-dark);
}


/* ==========================================================================
   10. TOUR CARDS
   ========================================================================== */

.tour-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}
.tour-card::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s var(--ease);
    z-index: 4;
}
.tour-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, .45);
    box-shadow: var(--shadow-lg);
}
.tour-card:hover::after { transform: scaleX(1); }

.tour-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--light);
    aspect-ratio: 16 / 11;
}
.tour-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.tour-card:hover .tour-media img { transform: scale(1.07); }

.tour-badges {
    position: absolute;
    inset: 14px 14px auto 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.tour-discount {
    padding: .3rem .68rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--secondary), var(--gold-400));
    color: #10233f;
    font-size: .74rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(212, 175, 55, .4);
}
.tour-duration {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .66rem;
    border-radius: var(--radius-pill);
    background: rgba(9, 26, 48, .6);
    border: 1px solid rgba(255, 255, 255, .2);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .74rem;
    font-weight: 600;
}

.tour-body {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 22px;
    flex: 1;
}
.tour-cat {
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--gold-dark);
}
.tour-title { font-size: 1.22rem; line-height: 1.24; margin: 0; }
.tour-title a { color: var(--dark); transition: color var(--dur) var(--ease); }
.tour-card:hover .tour-title a { color: var(--gold-dark); }
.tour-desc {
    font-size: .93rem;
    color: var(--text-soft);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tour-meta {
    display: grid;
    gap: 7px;
    font-size: .83rem;
    color: var(--text-mute);
}
.tour-meta span { display: flex; align-items: center; gap: .5rem; }
.tour-meta .icon { width: 15px; height: 15px; color: var(--gold-dark); }
.tour-foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.tour-ctas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


/* ==========================================================================
   11. SERVICE / FEATURE CARDS
   ========================================================================== */

.feature {
    text-align: center;
    padding: clamp(26px, 3vw, 36px) clamp(20px, 2.4vw, 28px);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 1.1rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--secondary), #e9cd77);
    color: #10233f;
    box-shadow: var(--shadow-gold);
}
.feature h3 { margin-bottom: .5rem; }
.feature p { font-size: .92rem; color: var(--text-soft); }

.fact {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(212, 175, 55, .4); }
.fact-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, .2), rgba(212, 175, 55, .04));
    border: 1px solid rgba(212, 175, 55, .34);
    color: var(--gold-dark);
}
.fact h4 { font-size: 1rem; margin-bottom: .2rem; }
.fact p { font-size: .86rem; color: var(--text-soft); margin: 0; }

.process-step {
    position: relative;
    text-align: center;
    padding: clamp(24px, 3vw, 34px) 22px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process-step h3 { font-size: 1.1rem; margin: .9rem 0 .4rem; }
.process-step p { font-size: .9rem; color: var(--text-soft); margin: 0; }
.step-num {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto;
    border-radius: 18px;
    background: linear-gradient(140deg, var(--primary), var(--primary-600));
    color: var(--gold-light);
    font-family: var(--font-display);
    font-size: 1.35rem;
    border: 1px solid rgba(212, 175, 55, .38);
    box-shadow: var(--shadow-sm);
}
.step-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.step-head .step-num { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 14px; }
.step-head h3 { margin: 0; font-size: 1.1rem; }

.media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, .18);
}
.media-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.media-frame-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: rgba(6, 18, 36, .62);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
}
.media-frame-badge .big {
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--gold-light);
}
.media-frame-badge .small {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    margin-top: .25rem;
}
.frame-chips {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: -26px 0 0 clamp(14px, 3vw, 28px);
}
.frame-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1rem;
    border-radius: var(--radius-pill);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    font-size: .84rem;
    font-weight: 700;
    color: var(--dark);
}
.frame-chip .icon { color: var(--gold-dark); width: 16px; height: 16px; }


/* ==========================================================================
   12. FLEET CARDS (FLIP)
   ========================================================================== */

.flip { perspective: 1300px; height: 100%; }
.flip-inner {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .75s var(--ease);
}
.flip-face {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.flip-media { position: relative; overflow: hidden; background: var(--light); }
.flip-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.flip:hover .flip-media img { transform: scale(1.06); }
.flip-foot { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: .3rem; }
.flip-foot h3 { font-size: 1.15rem; margin: .2rem 0 .3rem; }
.flip-foot p { font-size: .88rem; color: var(--text-soft); margin: 0; }

.flip-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    justify-content: center;
    padding: clamp(22px, 3vw, 30px);
    color: rgba(255, 255, 255, .82);
    background:
        radial-gradient(600px 260px at 88% 8%, rgba(212, 175, 55, .2), transparent 62%),
        linear-gradient(150deg, #0b1f3a, #0a1a30);
    border-color: rgba(212, 175, 55, .32);
}
.flip-back .eyebrow { color: var(--gold-light); margin-bottom: .4rem; }
.flip-back h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.flip-back p { font-size: .88rem; }
.flip-back ul { display: grid; gap: 9px; margin: .3rem 0 .6rem; }
.flip-back li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .87rem;
    color: rgba(255, 255, 255, .78);
}
.flip-back li::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: .55rem;
    flex: none;
    border-radius: 50%;
    background: var(--secondary);
}
.flip-hint {
    position: absolute;
    right: 16px;
    bottom: 14px;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-mute);
    opacity: .75;
}

@media (hover: hover) and (pointer: fine) {
    .flip:hover .flip-inner { transform: rotateY(180deg); }
    .flip:hover .flip-face { box-shadow: var(--shadow-lg); }
}


/* ==========================================================================
   13. PRICING COMPONENTS
   ========================================================================== */

.tour-price { display: flex; flex-direction: column; gap: .05rem; }
.tour-price-old {
    font-size: .85rem;
    color: var(--text-mute);
    text-decoration: line-through;
}
.tour-price-now {
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1.1;
    color: var(--primary);
}
.tour-price-note { font-size: .74rem; color: var(--text-mute); }

.rail-price {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    flex-wrap: wrap;
    margin-top: .2rem;
}
.rail-price .now {
    font-family: var(--font-display);
    font-size: 2.3rem;
    line-height: 1;
    color: var(--dark);
}
.rail-price .old {
    font-size: .95rem;
    color: var(--text-mute);
    text-decoration: line-through;
}

.summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: .62rem 0;
    border-bottom: 1px dashed var(--border);
    font-size: .92rem;
}
.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: .7rem;
    padding: .95rem 1.1rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .04));
    border: 1px solid rgba(212, 175, 55, .36);
}
.summary-total .value-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform .25s var(--ease);
}
.summary-total .value-text.is-bumped { transform: scale(1.06); }

.price-flash { animation: priceFlash .55s var(--ease); }
@keyframes priceFlash {
    0%   { color: var(--gold-dark); }
    100% { color: inherit; }
}

.ref-card {
    display: grid;
    gap: 6px;
    justify-items: center;
    max-width: 440px;
    margin: 26px auto 0;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(212, 175, 55, .36);
}
.ref-card .value-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: .07em;
    color: var(--gold-light);
}

/* Booking rail (sticky summary) */
.booking-rail {
    position: sticky;
    top: calc(var(--header-h) + 18px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: start;
}
.crystal {
    padding: clamp(20px, 2.6vw, 28px);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--white), var(--light));
    border: 1px solid rgba(212, 175, 55, .34);
    box-shadow: var(--shadow-md);
}
.crystal-list {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}
.crystal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .89rem;
    color: var(--text-soft);
}
.crystal-list .tick { width: 22px; height: 22px; }
.crystal-list .tick .icon { width: 13px; height: 13px; }

/* Mobile booking bar (tour detail) */
.mobile-book-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -12px 30px rgba(11, 31, 58, .12);
}
.mobile-book-bar .price { line-height: 1.15; }
.mobile-book-bar .now {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary);
}
.mobile-book-bar .label { font-size: .72rem; color: var(--text-mute); }


/* ==========================================================================
   14. ABOUT / STORY / STATS
   ========================================================================== */

.stat {
    text-align: center;
    padding: clamp(24px, 3vw, 34px) 20px;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    line-height: 1;
    color: var(--primary);
}
.stat-label {
    margin-top: .5rem;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-weight: 700;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 14vw, 8.5rem);
    line-height: 1;
    margin-bottom: .5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.success-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3.4rem);
    color: rgba(255, 255, 255, .82);
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(212, 175, 55, .2), transparent 62%),
        linear-gradient(150deg, #0b1f3a, #0a1a30);
    box-shadow: var(--shadow-lg);
}
.success-hero h1 { color: #fff; }
.success-ring {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(140deg, #25d366, #0f9d58);
    color: #fff;
    box-shadow: 0 0 0 10px rgba(212, 175, 55, .14), 0 18px 40px rgba(15, 157, 88, .34);
}

.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: var(--light);
}
.map-frame iframe { display: block; width: 100%; height: clamp(300px, 46vw, 460px); border: 0; }


/* ==========================================================================
   15. GALLERY & LIGHTBOX
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    grid-auto-rows: 148px;
    gap: 14px;
}
.gallery-item {
    position: relative;
    grid-row: span 2;
    overflow: hidden;
    margin: 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--light);
    cursor: zoom-in;
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery-item.is-tall { grid-row: span 3; }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    padding: 16px 14px;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    background: linear-gradient(to top, rgba(5, 13, 26, .92), rgba(5, 13, 26, .5) 55%, transparent);
    transform: translateY(6px);
    transition: transform var(--dur) var(--ease);
}
.gallery-item:hover .gallery-cap { transform: none; }
.gallery-cap .cat {
    background: rgba(212, 175, 55, .92);
    color: #10233f;
    border-radius: var(--radius-pill);
    padding: .16rem .58rem;
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 800;
}
.gallery-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--primary);
    opacity: 0;
    transform: scale(.8);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery-item:hover .gallery-zoom { opacity: 1; transform: none; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(5, 12, 24, .93);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
    max-width: min(1100px, 92vw);
    max-height: 84vh;
    transform-style: preserve-3d;
    transition: transform .25s var(--ease);
}
.lightbox-figure img {
    max-width: 100%;
    max-height: 76vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
    background: var(--primary-900);
}
.lightbox-cap {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    transition: all var(--dur) var(--ease);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--secondary); color: #10233f; border-color: transparent; }
.lightbox-close { top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); }
.lightbox-prev { left: clamp(10px, 3vw, 34px); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(10px, 3vw, 34px); top: 50%; transform: translateY(-50%); }


/* ==========================================================================
   16. TESTIMONIALS & QUOTES
   ========================================================================== */

.quote {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: clamp(24px, 3vw, 34px);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    right: 22px;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: rgba(212, 175, 55, .22);
    pointer-events: none;
}
.stars {
    color: var(--secondary);
    font-size: 1.05rem;
    letter-spacing: .18em;
}
.quote-text {
    font-size: .98rem;
    color: var(--text-soft);
    line-height: 1.7;
    margin: 0;
}
.quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.quote-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--primary), var(--gold-dark));
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}
.quote-name { font-weight: 700; color: var(--dark); font-size: .95rem; }
.quote-meta { font-size: .82rem; color: var(--text-mute); }


/* ==========================================================================
   17. FORMS & BOOKING LAYOUT
   ========================================================================== */

.field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding-bottom: 1.05rem;
}
.field label,
.label {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-soft);
}
.field label .req,
.field label::after { content: ""; }

.input,
.select,
.textarea {
    width: 100%;
    padding: .82rem 1rem;
    font-size: .96rem;
    color: var(--dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                background-color var(--dur) var(--ease);
    -webkit-appearance: none;
    appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: #9aa3b2; }

.select {
    padding-right: 2.7rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    cursor: pointer;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }

.input:hover,
.select:hover,
.textarea:hover { border-color: #cfd6e0; }
.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, .18);
}
.input[type="date"],
.input[type="time"] { cursor: pointer; }
.input[type="date"]::-webkit-calendar-picker-indicator,
.input[type="time"]::-webkit-calendar-picker-indicator {
    opacity: .5;
    cursor: pointer;
    transition: opacity var(--dur) var(--ease);
}
.input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

.field-error .input,
.field-error .select,
.field-error .textarea {
    border-color: var(--danger);
    background: var(--danger-bg);
}
.field-error label { color: var(--danger); }
.error-text {
    font-size: .82rem;
    font-weight: 600;
    color: var(--danger);
}
.help-text {
    font-size: .82rem;
    color: var(--text-mute);
    line-height: 1.5;
}
.help-text a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }

.qty-picker { display: inline-flex; align-items: center; gap: 8px; }
.qty-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 48px;
    flex: none;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--light);
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    transition: all var(--dur) var(--ease);
}
.qty-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}
.qty-value { flex: 0 0 auto; }

/* Accordion */
.accordion-item { position: relative; }
.accordion-item:last-child { border-bottom: 0 !important; }
.accordion-head:hover { color: var(--gold-dark) !important; }
.accordion-icon {
    display: inline-grid;
    place-items: center;
    transition: transform .35s var(--ease);
}
.accordion-item.is-open .accordion-icon { transform: rotate(180deg); }
.accordion-item.is-open .accordion-head { color: var(--gold-dark) !important; }


/* ==========================================================================
   18. CONTACT SECTION
   ========================================================================== */

.contact-tile {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}
.contact-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, .45);
}
.contact-tile span.icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--primary), var(--primary-600));
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, .3);
}
.contact-tile h4 { font-size: 1.02rem; margin-bottom: .15rem; }
.contact-tile p { font-size: .92rem; color: var(--text-soft); margin: 0; }
.contact-tile p a { color: var(--primary); font-weight: 700; }
.contact-tile p a:hover { color: var(--gold-dark); }
.contact-tile .xs { margin-top: .2rem; }


/* ==========================================================================
   19. FOOTER & ACTION RAIL
   ========================================================================== */

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: clamp(50px, 7vw, 90px);
    padding: clamp(48px, 6vw, 78px) 0 0;
    color: rgba(255, 255, 255, .72);
    background:
        radial-gradient(900px 400px at 88% 0%, rgba(212, 175, 55, .14), transparent 60%),
        linear-gradient(180deg, var(--primary-900), #04101f);
    border-top: 1px solid rgba(212, 175, 55, .28);
}
.site-footer .wrap { position: relative; z-index: 2; }
.site-footer h4 {
    color: #fff;
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 800;
    margin-bottom: 1.1rem;
}
.footer-grid {
    display: grid;
    gap: clamp(26px, 3.4vw, 44px);
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    padding-bottom: clamp(30px, 4vw, 46px);
}
.footer-col .brand { margin-bottom: 1rem; }
.footer-links,
.footer-contact {
    display: grid;
    gap: 11px;
    font-size: .9rem;
}
.footer-links a {
    display: inline-block;
    color: rgba(255, 255, 255, .7);
    transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--gold-light); transform: translateX(3px); }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, .7);
}
.footer-contact .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--gold-light); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0 26px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
    border-top: 1px solid rgba(255, 255, 255, .08);
    position: relative;
}
/* Subtle UAE-inspired accent line */
.footer-bottom::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: min(320px, 45%);
    height: 2px;
    background: linear-gradient(90deg,
        rgba(214, 69, 69, .75) 0 25%,
        rgba(21, 115, 71, .75) 25% 50%,
        rgba(255, 255, 255, .8) 50% 75%,
        rgba(212, 175, 55, .8) 75% 100%);
    opacity: .55;
}
.license-note { color: rgba(255, 255, 255, .42); }

/* Sticky action rail */
.action-rail {
    position: fixed;
    right: clamp(14px, 2vw, 22px);
    bottom: clamp(18px, 3vw, 28px);
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rail-btn {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transition: all var(--dur) var(--ease);
}
.rail-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--primary);
}
.rail-whatsapp {
    background: linear-gradient(140deg, #25d366, #128c7e);
    border-color: transparent;
    color: #fff;
}
.rail-whatsapp:hover { background: linear-gradient(140deg, #1fbe5b, #0f7a6e); color: #fff; }
.rail-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}
.rail-top.is-visible { opacity: 1; visibility: visible; transform: none; }


/* ==========================================================================
   20. UTILITY CLASSES
   ========================================================================== */

.flex { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.wrap-flex { flex-wrap: wrap; }
.gap { gap: 14px; }
.gap-sm { gap: 9px; }
.grow { flex: 1 1 auto; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.hide-sm { display: none !important; }
.box { background: var(--light); border-radius: var(--radius); padding: 18px; }
.summary-card { display: grid; gap: 14px; align-content: start; }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.6rem; }
.mb-4 { margin-bottom: 2.4rem; }


/* ==========================================================================
   21. ANIMATIONS & 3D TILT
   ========================================================================== */

/* Scroll reveal — content stays visible if JS never boots */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
}
.js-ready .reveal-left  { transform: translateX(-26px); }
.js-ready .reveal-right { transform: translateX(26px); }
.js-ready .reveal.is-in {
    opacity: 1;
    transform: none;
}

/* Pointer-driven tilt (JS sets --rx / --ry / --mx / --my) */
.tilt {
    position: relative;
    transform: perspective(1100px)
               rotateX(calc(var(--rx, 0deg) * .45))
               rotateY(calc(var(--ry, 0deg) * .45));
    transition: transform .4s var(--ease);
    will-change: transform;
}
.tilt.is-tilting { transition: transform .08s linear; }
.tilt-glare {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
                rgba(255, 255, 255, .38), transparent 62%);
    transition: opacity .35s var(--ease);
}
.tilt.is-tilting .tilt-glare { opacity: 1; }
.tilt-shine {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(120deg, transparent 38%, rgba(212, 175, 55, .35) 50%, transparent 62%);
    transition: opacity .45s var(--ease);
}
.tour-card:hover .tilt-shine { opacity: 1; }
.tilt-layer-1,
.tilt-layer-2 {
    transition: transform .4s var(--ease);
    display: inline-block;
}
.tour-card:hover .tilt-layer-1 { transform: translateY(-2px); }
.tour-card:hover .tilt-layer-2 { transform: translateY(-3px); }

/* Ambient float for decorative orbs */
.float-1 { animation: float1 11s ease-in-out infinite; }
.float-2 { animation: float2 14s ease-in-out infinite; }
.float-3 { animation: float3 17s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(0, -22px, 0); }
}
@keyframes float2 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(16px, 18px, 0); }
}
@keyframes float3 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50%      { transform: translate3d(-14px, -16px, 0); }
}

/* Reduced motion — strip every decorative movement */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .js-ready .reveal { opacity: 1 !important; transform: none !important; }
    .tilt { transform: none !important; }
    .tilt-glare,
    .tilt-shine { display: none; }
    .float-1,
    .float-2,
    .float-3,
    .marquee-track { animation: none !important; }
}


/* ==========================================================================
   22. RESPONSIVE MEDIA QUERIES
   Everything above is mobile-first; these queries add the columns, the desktop
   navigation and the wide-screen flourishes back.
   ========================================================================== */

/* ---------- >= 768px . tablet ---------- */
@media (min-width: 768px) {
    .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hero-bar form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hero-bar form .btn { grid-column: 1 / -1; }
    .split-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); }
    .timeline-body img { width: 132px; }
}

/* ---------- >= 992px . desktop ---------- */
@media (min-width: 992px) {
    .hide-sm { display: inline-flex !important; }

    /* Editorial splits and sticky rails */
    .split { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); }
    .booking-layout { grid-template-columns: minmax(0, 1fr) 372px; }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 356px; }
    .grid-sidebar { grid-template-columns: minmax(0, 1fr) 340px; }

    .hero-bar form { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; }
    .hero-bar form .btn { grid-column: auto; }
}

/* ---------- >= 1200px . large desktop ---------- */
@media (min-width: 1200px) {
    .hero-card { display: block; }
    .tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 158px; }
}

/* ---------- >= 1440px . wide desktop ---------- */
@media (min-width: 1440px) {
    :root { --container: 1320px; --header-h: 84px; }
    .hero-inner { max-width: 720px; }
    .hero-card { width: min(372px, 26vw); right: clamp(28px, 4vw, 72px); }
    .gallery-grid { grid-auto-rows: 172px; }
}


/* ---------- <= 991px . off-canvas navigation ---------- */
@media (max-width: 991.98px) {
    body:has(.nav.is-open) { overflow: hidden; }
    .nav-toggle { display: grid; }

    /* Fixed, viewport-sized clipping layer: `contain: paint` makes the drawer
       a contained descendant, so it never widens the layout viewport. */
    .nav-shell {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 70;
        overflow: clip;
        contain: paint;
        pointer-events: none;
    }
    .nav-shell > .nav { pointer-events: auto; }

    .nav {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 70;
        width: min(330px, 84vw);
        height: 100vh;
        height: 100dvh;
        margin-left: 0;
        padding: calc(var(--header-h) + 26px) 20px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: linear-gradient(170deg, #0a1a30 0%, #0b1f3a 46%, #061224 100%);
        border-left: 1px solid rgba(212, 175, 55, .28);
        box-shadow: -32px 0 80px rgba(3, 10, 22, .55);
        transform: translateX(101%);
        visibility: hidden;
        transition: transform .4s var(--ease), visibility .4s;
    }
    .nav.is-open { transform: none; visibility: visible; }
    .nav-link {
        padding: .82rem .7rem;
        font-size: 1.02rem;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }
    .nav-link::after { left: .7rem; right: auto; width: 22px; bottom: .55rem; }
    .nav .btn { margin: 16px 0 0; width: 100%; padding-block: .9rem; }

    /* The sticky summary collapses into the fixed bottom bar */
    .booking-rail { position: static; }
    .mobile-book-bar { display: flex; }
    body:has(.mobile-book-bar) { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
    body:has(.mobile-book-bar) .action-rail {
        bottom: calc(98px + env(safe-area-inset-bottom));
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        grid-auto-rows: 118px;
    }
}

/* ---------- <= 767px . large phone ---------- */
@media (max-width: 767.98px) {
    :root { --header-h: 68px; }

    .hero { min-height: 0; padding-bottom: 54px; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-bar { padding: 15px; border-radius: var(--radius); }

    .topbar { font-size: .74rem; padding: .45rem 0; }
    .topbar .wrap { justify-content: center; gap: 10px; }
    .topbar-group { gap: 12px; justify-content: center !important; }

    .brand-logo { height: 38px; max-width: 160px; }
    .brand-name { font-size: 1rem; }
    .brand-tag { font-size: .6rem; letter-spacing: .2em; }

    .timeline-body { flex-direction: column; }
    .timeline-body img { width: 100%; height: 170px; }

    /* Sideways reveals would push content past the edge on narrow screens */
    .js-ready .reveal-left,
    .js-ready .reveal-right { transform: translateY(20px); }

    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .lightbox-prev,
    .lightbox-next { width: 42px; height: 42px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }

    .tour-foot { flex-wrap: wrap; }
    .action-rail { right: 12px; }
    .rail-btn { width: 46px; height: 46px; }
}

/* ---------- <= 575px . phone ---------- */
@media (max-width: 575.98px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }

    .cta-band { padding: 1.6rem 1.2rem; border-radius: var(--radius-lg); }
    .cta-band .grid-2 { grid-template-columns: 1fr; }

    .filter-bar,
    .gallery-filters { padding: 12px; border-radius: var(--radius-lg); }
    .chip { padding: .48rem .85rem; font-size: .82rem; }

    .grid-2,
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fact-strip { grid-template-columns: 1fr; }

    .tour-body { padding: 18px; }
    .tour-foot { flex-direction: column; align-items: stretch; gap: 14px; }
    .tour-foot .btn { width: 100%; }

    .contact-tile { padding: 16px; gap: 12px; }
    .summary-total,
    .ref-card { padding: 14px; }
    .mobile-book-bar { gap: 10px; }
    .mobile-book-bar .btn { padding: .7rem 1.1rem; }
    .marquee { border-radius: var(--radius); }
    .map-frame iframe { height: 260px; }
}

/* ---------- <= 479px . small phone ---------- */
@media (max-width: 479.98px) {
    :root { --gutter: 16px; }

    .brand-tag { display: none; }
    .nav-toggle { width: 42px; height: 42px; border-radius: 12px; }

    .extrude { font-size: 2.05rem; }
    .hero-stat-value { font-size: 1.35rem; }

    .timeline-item { padding-left: 48px; }
    .timeline-spine { left: 17px; }
    .timeline-node { width: 36px; height: 36px; font-size: .95rem; }
    .timeline-body img { height: 150px; }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 100px;
        gap: 10px;
    }
    .grid-4 { grid-template-columns: 1fr; }

    .qty-btn { width: 42px; height: 44px; }
    .footer-grid { gap: 26px; }
    .mobile-book-bar .now { font-size: 1.12rem; }
    .error-code { font-size: 4.2rem; }
}

/* ---------- Touch devices: hover-only content has to be visible ---------- */
@media (hover: none) {
    .flip { perspective: none; height: auto; }
    .flip-inner {
        display: flex;
        flex-direction: column;
        height: auto;
        transform: none !important;
    }
    .flip-inner > .flip-face { height: auto; }
    .flip-inner > .flip-face:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .flip-back {
        position: static;
        inset: auto;
        transform: none;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        border-top: 0;
        box-shadow: none;
    }
    .flip-hint { display: none; }
    .gallery-zoom { opacity: 1; transform: none; }
    .gallery-cap { transform: none; }
}

/* ---------- Print ---------- */
@media print {
    .no-print,
    .nav-scrim,
    .lightbox,
    .action-rail { display: none !important; }

    html,
    body { background: #fff !important; color: #000 !important; }

    .wrap { max-width: 100%; padding-inline: 0; }
    .section { padding: 18px 0 !important; }

    .hero,
    .page-head,
    .tour-hero,
    .site-footer,
    .cta-band,
    .success-hero {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        border-color: #ccc !important;
    }
    .hero,
    .page-head,
    .tour-hero { padding: 24px 0 !important; min-height: 0 !important; }
    .hero h1,
    .page-head h1,
    .tour-hero h1,
    .hero .lead,
    .hero-sub,
    .hero-stat-value,
    .cta-band h2,
    .site-footer h4,
    .gold-text {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
    }

    .bg-texture,
    .hero-bg,
    .hero-vignette,
    .floor,
    .orb,
    .orbit,
    .cta-plane,
    .tilt-glare,
    .tilt-shine { display: none !important; }

    .panel,
    .tour-card,
    .quote,
    .stat,
    .fact,
    .feature,
    .contact-tile {
        box-shadow: none !important;
        border: 1px solid #d8d8d8 !important;
        break-inside: avoid;
    }
    .js-ready .reveal { opacity: 1 !important; transform: none !important; }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: .78em;
        color: #555;
    }
}