/* =====================================================================
   QUBIC TRAVELS — DESIGN SYSTEM
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color palette */
    --color-charcoal: #14161a;
    --color-charcoal-soft: #1d2026;
    --color-ivory: #f7f4ee;
    --color-ivory-dim: #eae5da;
    --color-emerald: #1f5a4a;
    --color-emerald-light: #2f7a63;
    --color-gold: #c6a15b;
    --color-gold-soft: #e4cd9a;
    --color-white: #ffffff;
    --color-muted: #8a8f98;
    --color-line: rgba(255, 255, 255, 0.1);
    --color-line-dark: rgba(20, 22, 26, 0.1);

    /* Typography */
    --font-display: 'DM Serif Display', 'Playfair Display', serif;
    --font-body: 'Manrope', 'Inter', sans-serif;

    /* Spacing / radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --container: 1280px;
    --shadow-soft: 0 20px 60px rgba(20, 22, 26, 0.12);
    --shadow-strong: 0 30px 80px rgba(20, 22, 26, 0.28);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-body);
    background: var(--color-ivory);
    color: var(--color-charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-emerald);
    font-weight: 700;
    margin-bottom: 18px;
}
.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--color-gold);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.5px;
    max-width: 720px;
}

.section-sub {
    font-size: 17px;
    color: var(--color-muted);
    max-width: 560px;
    margin-top: 18px;
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* ---- Buttons -------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.4s var(--ease);
    white-space: nowrap;
}
.btn svg, .btn i { transition: transform 0.35s var(--ease); width: 16px; height: 16px; }
.btn:hover svg, .btn:hover i { transform: translateX(4px); }

.btn-primary {
    background: var(--color-emerald);
    color: var(--color-white);
}
.btn-primary:hover { background: var(--color-emerald-light); box-shadow: 0 14px 30px rgba(31, 90, 74, 0.35); }

.btn-gold {
    background: var(--color-gold);
    color: var(--color-charcoal);
}
.btn-gold:hover { background: var(--color-gold-soft); }

.btn-outline {
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--color-white);
    background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
    border: 1px solid var(--color-charcoal);
    color: var(--color-charcoal);
    background: transparent;
}
.btn-outline-dark:hover { background: var(--color-charcoal); color: var(--color-white); }

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 11px 22px; font-size: 13px; }

.link-underline {
    position: relative;
    font-weight: 600;
    padding-bottom: 3px;
}
.link-underline::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- Preloader -------------------------------------------------------- */
#preloader {
    position: fixed; inset: 0;
    background: var(--color-charcoal);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
    font-family: var(--font-display);
    color: var(--color-ivory);
    font-size: 42px;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 2px;
}
.preloader-logo span { display: block; font-size: 13px; letter-spacing: 6px; color: var(--color-gold); margin-top: 10px; font-family: var(--font-body); }
.preloader-bar {
    width: 220px; height: 2px;
    background: rgba(255,255,255,0.15);
    margin-top: 30px;
    overflow: hidden;
    border-radius: 4px;
}
.preloader-bar span {
    display: block; height: 100%; width: 0%;
    background: var(--color-gold);
    transition: width 1.6s var(--ease);
}

/* ---- Custom cursor -------------------------------------------------------- */
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}
.cursor-dot { width: 6px; height: 6px; background: var(--color-gold); }
.cursor-outline {
    width: 36px; height: 36px;
    border: 1px solid rgba(198, 161, 91, 0.6);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.12s linear;
}
.cursor-outline.hovering { width: 56px; height: 56px; border-color: var(--color-gold); }
@media (hover: none), (max-width: 900px) {
    .cursor-dot, .cursor-outline { display: none; }
}

/* ---- Header -------------------------------------------------------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 500;
    padding: 26px 0;
    transition: all 0.45s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
    display: flex; flex-direction: column; line-height: 1;
}
.logo-img {
    height: 70px;
    width: 100px;
    display: block;
    /* Default state: transparent-over-hero header (white text) needs a white
       logo. The source file is dark, so invert it to white here, then
       selectively cancel that inversion for the states that need it dark. */
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}
/* Light header (ivory background, no hero behind it) and NOT scrolled yet:
   keep the logo in its natural dark color for contrast against the light bg. */
.site-header.light:not(.scrolled) .logo-img { filter: none; }
.mobile-nav-logo { position: absolute; top: 26px; left: 30px; }
.mobile-nav-logo .logo-img { height: 38px; }


.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--color-white);
    position: relative;
    padding: 6px 0;
}
.main-nav a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--color-gold);
    transition: width 0.35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--color-gold); }

.header-cta { display: flex; align-items: center; gap: 22px; }

.hamburger {
    display: none;
    flex-direction: column; gap: 5px;
    width: 26px;
}
.hamburger span { display: block; height: 2px; width: 100%; background: var(--color-white); transition: all 0.35s var(--ease); }

.site-header.scrolled {
    padding: 14px 0;
    background: rgba(20, 22, 26, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.site-header.solid {
    padding: 14px 0;
    background: rgba(20, 22, 26, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.site-header.light .main-nav a,
.site-header.light .header-account { color: var(--color-charcoal); }

/* If a light-header page (dashboard/login/etc, ivory background) gets
   scrolled far enough to trigger the solid dark header background, the
   text/logo must switch back to white — otherwise it's dark text on a dark
   background and disappears entirely. */
.site-header.light.scrolled .logo-img { filter: brightness(0) invert(1); }
.site-header.light.scrolled .main-nav a,
.site-header.light.scrolled .header-account { color: var(--color-white); }
.site-header.light .hamburger span { background: var(--color-charcoal); }

/* Mobile nav */
.mobile-nav {
    position: fixed; inset: 0;
    background: var(--color-charcoal);
    z-index: 600;
    display: flex; flex-direction: column;
    padding: 100px 30px 40px;
    transform: translateY(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.mobile-nav.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.55s var(--ease), visibility 0s linear 0s;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 22px; }
.mobile-nav a { font-family: var(--font-display); font-size: 30px; color: var(--color-ivory); }
.mobile-nav .close-mobile-nav {
    position: absolute; top: 30px; right: 24px;
    color: var(--color-ivory); font-size: 26px;
}

/* Desktop account icon/link in header */
.header-account { color: var(--color-white); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }

/* ---- Hero -------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    background: var(--color-charcoal);
}
.hero-media {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero-media img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.08);
}
.hero-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,22,26,0.55) 0%, rgba(20,22,26,0.35) 40%, rgba(20,22,26,0.85) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    color: var(--color-white);
    max-width: 780px;
    padding-top: 60px;
}
.hero-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--color-gold-soft); font-weight: 700;
    margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 88px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -1px;
}
.hero-text {
    margin-top: 24px;
    font-size: 18px;
    max-width: 480px;
    color: rgba(255,255,255,0.82);
}
.hero-actions { display: flex; gap: 18px; margin-top: 40px; flex-wrap: wrap; }

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2; color: var(--color-white);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    opacity: 0.8;
}
.scroll-indicator .line { width: 1px; height: 40px; background: rgba(255,255,255,0.4); overflow: hidden; position: relative; }
.scroll-indicator .line::after {
    content: ''; position: absolute; top: -40px; left: 0; width: 100%; height: 40px;
    background: var(--color-gold);
    animation: scrollLine 2.2s infinite ease-in-out;
}
@keyframes scrollLine { 0% { top: -40px; } 100% { top: 40px; } }

/* ---- Search panel -------------------------------------------------------- */
.search-panel-wrap { position: relative; z-index: 20; margin-top: -70px; }
.search-panel {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    padding: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: end;
}
.search-field { position: relative; grid-column: span 1; }
.search-field label {
    display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--color-muted); font-weight: 700; margin-bottom: 10px;
}
.search-field input, .search-field select {
    width: 100%; border: none; border-bottom: 1.5px solid var(--color-ivory-dim);
    padding: 8px 0; font-size: 15px; font-weight: 600; color: var(--color-charcoal);
    background: transparent; transition: border-color 0.3s ease;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
}
.search-field select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23555'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right center; background-size: 14px;
    padding-right: 20px; cursor: pointer;
}
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--color-emerald); }
.search-submit { grid-column: span 3; }

/* ---- Story / Intro -------------------------------------------------------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.story-media { position: relative; }
.story-media .main-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.story-media .main-img img { height: 560px; object-fit: cover; }
.story-media .float-img {
    position: absolute; bottom: -50px; left: -50px;
    width: 46%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 8px solid var(--color-ivory);
    box-shadow: var(--shadow-soft);
}
.story-media .float-img img { height: 230px; object-fit: cover; }

.story-text p { color: var(--color-muted); font-size: 16.5px; margin-top: 22px; max-width: 520px; }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-line-dark);
}
.stat-item .stat-num {
    font-family: var(--font-display);
    font-size: 44px;
    color: var(--color-emerald);
}
.stat-item .stat-label { font-size: 13.5px; color: var(--color-muted); margin-top: 6px; }

/* ---- Why us -------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--color-line-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.why-card {
    background: var(--color-white);
    padding: 46px 38px;
    position: relative;
    overflow: hidden;
    transition: background 0.5s var(--ease);
    min-height: 300px;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.why-card .why-bg {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
    transform: scale(1.1);
}
.why-card .why-bg img { width: 100%; height: 100%; object-fit: cover; }
.why-card .why-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,22,26,0.88), rgba(20,22,26,0.35)); }
.why-card:hover .why-bg { opacity: 1; transform: scale(1); }
.why-card .why-num {
    font-family: var(--font-display);
    font-size: 15px; color: var(--color-gold); margin-bottom: 20px; position: relative; z-index: 2;
}
.why-card .why-icon { margin-bottom: 18px; position: relative; z-index: 2; color: var(--color-emerald); transition: color 0.4s ease; }
.why-card:hover .why-icon { color: var(--color-gold); }
.why-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; position: relative; z-index: 2; transition: color 0.4s ease; }
.why-card:hover h3 { color: var(--color-white); }
.why-card p { margin-top: 10px; font-size: 14.5px; color: var(--color-muted); position: relative; z-index: 2; transition: color 0.4s ease; max-height: 0; opacity: 0; overflow: hidden; }
.why-card:hover p { color: rgba(255,255,255,0.8); max-height: 100px; opacity: 1; margin-top: 10px; }

/* ---- Value cards (plain, static — used on the About page) --------------------
   Same grid/spacing as .why-card, but WITHOUT the dark-photo hover-reveal
   behavior, since these cards have no background image. Text stays the
   same readable color on hover instead of turning white. */
.value-card {
    background: var(--color-white);
    padding: 46px 38px;
    display: flex; flex-direction: column; justify-content: flex-start;
}
.value-card .why-icon { margin-bottom: 18px; color: var(--color-emerald); }
.value-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--color-charcoal); }
.value-card p { margin-top: 10px; font-size: 14.5px; color: var(--color-muted); }

/* ---- Destination cards -------------------------------------------------------- */
.dest-scroll { display: flex; gap: 26px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.dest-scroll::-webkit-scrollbar { display: none; }
.dest-card {
    position: relative; flex: 0 0 320px; scroll-snap-align: start;
    height: 420px; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.dest-card:hover img { transform: scale(1.12); }
.dest-card .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(20,22,26,0.9) 100%);
}
.dest-card .dest-info {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px;
    color: var(--color-white);
}
.dest-card .dest-country { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold-soft); }
.dest-card .dest-name { font-family: var(--font-display); font-size: 26px; margin-top: 6px; }
.dest-card .dest-desc { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: all 0.4s var(--ease); }
.dest-card:hover .dest-desc { max-height: 60px; opacity: 1; }
.dest-card .dest-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--color-white);
}

/* ---- Package cards -------------------------------------------------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pkg-card {
    background: var(--color-white); border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-soft); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.pkg-media { position: relative; height: 240px; overflow: hidden; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pkg-card:hover .pkg-media img { transform: scale(1.08); }
.pkg-badge {
    position: absolute; top: 18px; left: 18px;
    background: rgba(255,255,255,0.92); color: var(--color-charcoal);
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    padding: 7px 14px; border-radius: 100px;
}
.pkg-rating {
    position: absolute; top: 18px; right: 18px;
    background: rgba(20,22,26,0.75); color: var(--color-white); backdrop-filter: blur(6px);
    font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 100px;
    display: flex; align-items: center; gap: 5px;
}
.pkg-body { padding: 26px; }
.pkg-dest { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-emerald); font-weight: 700; }
.pkg-title { font-family: var(--font-display); font-size: 22px; margin-top: 8px; }
.pkg-meta { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--color-muted); }
.pkg-meta span { display: flex; align-items: center; gap: 6px; }
.pkg-desc { font-size: 14px; color: var(--color-muted); margin-top: 14px; }
.pkg-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--color-ivory-dim); }
.pkg-price .from { font-size: 11.5px; color: var(--color-muted); display: block; }
.pkg-price .amount { font-family: var(--font-display); font-size: 22px; color: var(--color-charcoal); }
.pkg-price-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---- Save / wishlist heart buttons -------------------------------------------------------- */
.pkg-save-btn {
    position: absolute; bottom: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.92); color: var(--color-charcoal); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 15px; z-index: 2;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.pkg-save-btn:hover { transform: scale(1.1); background: var(--color-white); }
.pkg-save-btn.saved { color: #c0392b; }
.pkg-save-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.btn-save-detail {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 100px;
    border: 1.5px solid var(--color-ivory-dim); background: var(--color-white); font-size: 13.5px;
    font-weight: 700; color: var(--color-charcoal); cursor: pointer; white-space: nowrap;
    transition: all 0.25s ease;
}
.btn-save-detail:hover { border-color: #c0392b; color: #c0392b; }
.btn-save-detail.saved { background: rgba(200,60,60,0.08); border-color: rgba(200,60,60,0.3); color: #c0392b; }
.btn-save-detail:disabled { opacity: 0.6; cursor: default; }

.saved-card-remove {
    position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.92); color: #c0392b; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 13px; z-index: 2;
    transition: background 0.25s ease, transform 0.25s ease;
}
.saved-card-remove:hover { background: var(--color-white); transform: scale(1.08); }

/* ---- Experience section -------------------------------------------------------- */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.exp-card {
    position: relative; height: 300px; border-radius: var(--radius-md); overflow: hidden;
}
.exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.exp-card:hover img { transform: scale(1.15) rotate(1deg); }
.exp-card .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,0.1), rgba(20,22,26,0.85)); }
.exp-card .exp-label {
    position: absolute; left: 24px; bottom: 24px; color: var(--color-white);
    font-family: var(--font-display); font-size: 21px;
}

/* ---- Signature "sticky image" section -------------------------------------------------------- */
.pin-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: start; /* required for position:sticky to work inside a grid item */
}
.pin-image {
    position: sticky;
    top: 120px; /* clears the fixed header */
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-strong);
}
.pin-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.pin-item.active { /* hook for any future active-state styling */ }

/* ---- Journey timeline (signature section) -------------------------------------------------------- */
.journey-section { background: var(--color-charcoal); color: var(--color-white); overflow: hidden; }
.journey-track { position: relative; padding-top: 60px; }
.journey-line { position: relative; height: 3px; background: rgba(255,255,255,0.15); border-radius: 4px; margin: 0 20px; }
.journey-line .fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--color-gold); border-radius: 4px; transition: width 1s var(--ease); }
.journey-stops { display: flex; justify-content: space-between; margin-top: -9px; padding: 0 20px; }
.journey-stop { display: flex; flex-direction: column; align-items: center; gap: 14px; cursor: pointer; }
.journey-stop .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--color-charcoal-soft); border: 2px solid rgba(255,255,255,0.3); transition: all 0.4s ease; }
.journey-stop.active .dot { background: var(--color-gold); border-color: var(--color-gold); box-shadow: 0 0 0 8px rgba(198,161,91,0.18); }
.journey-stop span { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; color: rgba(255,255,255,0.6); }
.journey-stop.active span { color: var(--color-gold-soft); }
.journey-panels { margin-top: 60px; position: relative; min-height: 420px; }
.journey-panel {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}
.journey-panel.active { opacity: 1; visibility: visible; transform: translateY(0); }
.journey-panel img { border-radius: var(--radius-lg); height: 380px; width: 100%; object-fit: cover; box-shadow: var(--shadow-strong); }
.journey-panel h3 { font-family: var(--font-display); font-size: 38px; }
.journey-panel p { color: rgba(255,255,255,0.7); margin-top: 16px; max-width: 440px; }

/* ---- Testimonials -------------------------------------------------------- */
.testi-slide { text-align: center; max-width: 720px; margin: 0 auto; padding: 20px 10px; }
.testi-slide .stars { color: var(--color-gold); font-size: 15px; margin-bottom: 20px; }
.testi-slide blockquote { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); line-height: 1.4; font-weight: 400; }
.testi-slide .testi-person { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.testi-slide .testi-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi-slide .testi-person .name { font-weight: 700; font-size: 14.5px; }
.testi-slide .testi-person .loc { font-size: 12.5px; color: var(--color-muted); }
.swiper-pagination-bullet { background: var(--color-emerald); opacity: 0.3; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--color-gold); }
.testi-nav { display: flex; justify-content: center; gap: 14px; margin-top: 36px; }
.testi-nav button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-line-dark);
    display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.testi-nav button:hover { background: var(--color-emerald); color: var(--color-white); border-color: var(--color-emerald); }

/* ---- Social grid -------------------------------------------------------- */
.social-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.social-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); }
.social-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.social-item:hover img { transform: scale(1.1); }
.social-item .overlay {
    position: absolute; inset: 0; background: rgba(20,22,26,0.6);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: var(--color-white); opacity: 0; transition: opacity 0.35s ease; font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
}
.social-item:hover .overlay { opacity: 1; }

/* ---- Blog cards -------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.blog-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.4s var(--ease); }
.blog-card:hover { transform: translateY(-6px); }
.blog-media { height: 190px; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.blog-card:hover .blog-media img { transform: scale(1.08); }
.blog-body { padding: 22px; }
.blog-cat { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-emerald); font-weight: 700; }
.blog-title { font-family: var(--font-display); font-size: 19px; margin-top: 10px; line-height: 1.3; }
.blog-date { font-size: 12.5px; color: var(--color-muted); margin-top: 12px; }

/* ---- Newsletter -------------------------------------------------------- */
.newsletter { background: var(--color-emerald); color: var(--color-white); border-radius: var(--radius-lg); padding: 70px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.newsletter h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); max-width: 480px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; flex: 1; max-width: 460px; min-width: 280px; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 18px 24px; border-radius: 100px; border: none; font-size: 15.5px; }
.newsletter-form input:focus { outline: 2px solid var(--color-gold); }
.newsletter-form .btn { padding: 18px 32px; font-size: 15px; }
.newsletter-form .form-alert {
    /* Forces the alert onto its own full-width line above the input+button,
       instead of squeezing into the same flex row as a third item. */
    flex-basis: 100%;
    width: 100%;
    order: -1;
}

/* ---- Footer -------------------------------------------------------- */
.site-footer { background: var(--color-charcoal); color: rgba(255,255,255,0.7); padding-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.9fr 0.9fr 1fr 1.1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--color-line); }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { max-width: 300px; font-size: 14.5px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-line); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.footer-social a:hover { background: var(--color-gold); color: var(--color-charcoal); border-color: var(--color-gold); }
.footer-col h4 { color: var(--color-white); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; font-size: 14.5px; }
.footer-col ul a:hover { color: var(--color-gold); }
.footer-contact li { display: flex; gap: 10px; font-size: 14.5px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact li i { flex-shrink: 0; width: 16px; text-align: center; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: center; padding: 26px 0; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---- WhatsApp float -------------------------------------------------------- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 400;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---- Toast popups (site-wide success/error messages) -------------------------------------------------------- */
.toast-container {
    position: fixed; top: 100px; right: 26px; z-index: 999;
    display: flex; flex-direction: column; gap: 12px;
    max-width: 380px; width: calc(100% - 52px);
    pointer-events: none;
}
.toast {
    pointer-events: auto;
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 18px; border-radius: var(--radius-sm);
    font-size: 14.5px; line-height: 1.5;
    background: var(--color-white); box-shadow: var(--shadow-strong);
    border-left: 4px solid var(--color-emerald);
    opacity: 0; transform: translateX(30px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.toast.toast-visible { opacity: 1; transform: translateX(0); }
.toast.toast-leaving { opacity: 0; transform: translateX(30px); }
.toast.success { border-left-color: var(--color-emerald); }
.toast.error { border-left-color: #a83232; }
.toast .toast-icon { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--color-emerald); }
.toast.error .toast-icon { color: #a83232; }
.toast .toast-message { flex: 1; color: var(--color-charcoal); }
.toast .toast-close {
    background: none; border: none; cursor: pointer; color: var(--color-muted);
    font-size: 14px; padding: 2px; margin: -2px -2px 0 0; flex-shrink: 0;
}
.toast .toast-close:hover { color: var(--color-charcoal); }
@media (max-width: 640px) {
    .toast-container { top: auto; bottom: 26px; right: 16px; left: 16px; max-width: none; width: auto; }
}

/* ---- Forms -------------------------------------------------------- */
.form-field { position: relative; margin-bottom: 26px; }
.form-field label {
    display: block; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--color-muted); font-weight: 700; margin-bottom: 10px;
}
.form-field input, .form-field select, .form-field textarea {
    width: 100%; border: 1.5px solid var(--color-ivory-dim); border-radius: var(--radius-sm);
    padding: 14px 16px; font-size: 15px; background: var(--color-white); transition: border-color 0.3s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--color-emerald); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Password field with show/hide eye toggle */
.password-field input { padding-right: 46px; }
.password-field .toggle-password {
    position: absolute; right: 14px; top: 42px; background: none; border: none; padding: 4px;
    color: var(--color-muted); cursor: pointer; display: flex; align-items: center; font-size: 16px;
    transition: color 0.2s ease;
}
.password-field .toggle-password:hover { color: var(--color-emerald); }
.form-alert { padding: 16px 20px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 24px; }
.form-alert.success { background: rgba(31,90,74,0.12); color: var(--color-emerald); border: 1px solid rgba(31,90,74,0.25); }
.form-alert.error { background: rgba(200,60,60,0.1); color: #a83232; border: 1px solid rgba(200,60,60,0.25); }

/* The newsletter form sits on a solid emerald background, so its alert needs
   light/translucent styling instead of the default white-card-oriented
   colors above — this comes after those rules so it wins the tie-breaker. */
.newsletter-form .form-alert.success,
.newsletter-form .form-alert.error {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--color-white);
}

/* ---- Page banner (inner pages) -------------------------------------------------------- */
.page-banner {
    position: relative; padding: 220px 0 90px; color: var(--color-white); overflow: hidden;
}
.page-banner .hero-media { position: absolute; inset: 0; }
.page-banner .hero-media img { transform: scale(1); }
.page-banner .banner-content { position: relative; z-index: 2; }
.page-banner .breadcrumb { font-size: 13px; letter-spacing: 1px; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.page-banner .breadcrumb a:hover { color: var(--color-gold-soft); }
.page-banner h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 400; }

/* ---- Cards general (About / Experience icons) ------------------------------------------ */
.icon-circle {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(31,90,74,0.1); color: var(--color-emerald);
    display: flex; align-items: center; justify-content: center;
}

/* ---- Filters bar -------------------------------------------------------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }
.filter-chip {
    padding: 11px 22px; border-radius: 100px; border: 1.5px solid var(--color-ivory-dim);
    font-size: 13.5px; font-weight: 600; transition: all 0.3s ease;
}
.filter-chip.active, .filter-chip:hover { background: var(--color-emerald); color: var(--color-white); border-color: var(--color-emerald); }

/* ---- Auth pages -------------------------------------------------------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-media { position: relative; }
.auth-media img { width: 100%; height: 100%; object-fit: cover; }
.auth-media .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,26,0.2), rgba(20,22,26,0.7)); display: flex; align-items: flex-end; padding: 60px; }
.auth-media .overlay blockquote { color: var(--color-white); font-family: var(--font-display); font-size: 26px; max-width: 420px; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-family: var(--font-display); font-size: 34px; margin-bottom: 10px; }
.auth-box .sub { color: var(--color-muted); margin-bottom: 34px; }
.auth-switch { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--color-muted); }

/* ---- Dashboard -------------------------------------------------------- */
.dash-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; padding-top: 96px; }
.dash-sidebar { border-right: 1px solid var(--color-ivory-dim); padding: 20px; }
.dash-sidebar a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; color: var(--color-muted); margin-bottom: 4px; }
.dash-sidebar a:hover, .dash-sidebar a.active { background: rgba(31,90,74,0.08); color: var(--color-emerald); }
.dash-content { padding: 40px; }
.dash-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 40px; }
.dash-card { background: var(--color-white); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-soft); }
.dash-card .num { font-family: var(--font-display); font-size: 32px; color: var(--color-emerald); }
.dash-card .label { font-size: 13px; color: var(--color-muted); margin-top: 6px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.data-table th, .data-table td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--color-ivory-dim); }
.data-table th { font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--color-muted); background: var(--color-ivory); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.table-scroll .data-table { box-shadow: none; min-width: 720px; }
.status-pill { padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; display: inline-block; }
.status-pending { background: rgba(198,161,91,0.15); color: #92742f; }
.status-confirmed, .status-active, .status-published { background: rgba(31,90,74,0.12); color: var(--color-emerald); }
.status-cancelled, .status-deactivated { background: rgba(200,60,60,0.1); color: #a83232; }
.status-completed { background: rgba(60,100,200,0.1); color: #3a5aa8; }
.status-paid { background: rgba(31,90,74,0.12); color: var(--color-emerald); }
.status-unpaid { background: rgba(198,161,91,0.15); color: #92742f; }
.status-failed { background: rgba(200,60,60,0.1); color: #a83232; }
.status-advance_paid { background: rgba(198,161,91,0.18); color: #92742f; }

/* ---- Checkout page -------------------------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: flex-start; padding: 130px 0 90px; }
.checkout-card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 34px; }
.checkout-card h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 6px; }
.checkout-card .sub { color: var(--color-muted); margin-bottom: 28px; font-size: 14.5px; }
.checkout-pkg { display: flex; gap: 18px; align-items: center; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--color-ivory-dim); }
.checkout-pkg img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.checkout-pkg .dest { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-gold); font-weight: 700; }
.checkout-pkg h3 { font-family: var(--font-display); font-size: 20px; margin-top: 4px; }
.checkout-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-bottom: 10px; }
.checkout-detail-grid .item .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--color-muted); font-weight: 700; margin-bottom: 6px; }
.checkout-detail-grid .item .v { font-size: 15px; font-weight: 600; }
.checkout-note { grid-column: 1 / -1; }
.checkout-summary-card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); padding: 32px; position: sticky; top: 120px; }
.checkout-summary-card h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 22px; }
.checkout-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14.5px; color: var(--color-muted); }
.checkout-line.total { border-top: 1px solid var(--color-ivory-dim); margin-top: 10px; padding-top: 18px; font-size: 17px; font-weight: 700; color: var(--color-charcoal); }
.checkout-line.total .amount { font-family: var(--font-display); font-size: 26px; color: var(--color-emerald); }
.checkout-secure-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--color-muted); margin-top: 20px; }
.checkout-secure-note i { color: var(--color-emerald); margin-top: 2px; }
.checkout-advance-box { background: rgba(198,161,91,0.1); border: 1px solid rgba(198,161,91,0.3); border-radius: var(--radius-sm); padding: 16px 18px; margin: 14px 0 20px; }
.checkout-advance-box .checkout-line { padding: 4px 0; }
.checkout-advance-note { font-size: 12.5px; color: var(--color-muted); line-height: 1.6; margin-top: 8px; }
.checkout-advance-note a { color: var(--color-gold); text-decoration: underline; }
.advance-amount-input-row { display: flex; align-items: center; gap: 6px; background: var(--color-white); border: 1.5px solid var(--color-ivory-dim); border-radius: var(--radius-sm); padding: 10px 14px; }
.advance-amount-input-row span { font-size: 20px; font-weight: 700; color: var(--color-emerald); }
.advance-amount-input-row input { border: none; outline: none; background: transparent; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--color-charcoal); width: 100%; }
.advance-amount-input-row input:focus { color: var(--color-emerald); }

/* ---- Booking cancellation page ------------------------------------------ */
.cancel-wrap { max-width: 640px; margin: 0 auto; padding: 130px 0 90px; }
.cancel-card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 34px; }
.cancel-card h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 6px; }
.cancel-card .sub { color: var(--color-muted); margin-bottom: 26px; font-size: 14.5px; }
.cancel-refund-box { background: var(--color-ivory); border-radius: var(--radius-sm); padding: 20px 22px; margin: 22px 0; }
.cancel-refund-box .checkout-line { padding: 8px 0; font-size: 14.5px; }
.cancel-refund-box .checkout-line.total { border-top: 1px solid var(--color-ivory-dim); margin-top: 8px; padding-top: 14px; font-size: 16px; font-weight: 700; color: var(--color-charcoal); }
.cancel-refund-box .checkout-line.total .amount { font-family: var(--font-display); font-size: 22px; color: var(--color-emerald); }
.cancel-policy-note { font-size: 13px; color: var(--color-muted); line-height: 1.7; margin-bottom: 4px; }
.btn-danger { background: #a83232; color: var(--color-white); }
.btn-danger:hover { background: #8f2929; box-shadow: 0 14px 30px rgba(168,50,50,0.3); }

/* ---- Payment gateway page -------------------------------------------------------- */
.gateway-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 20px 60px; background: var(--color-ivory); }
.gateway-card { width: 100%; max-width: 460px; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); padding: 42px; text-align: center; }
.gateway-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 30px; font-family: var(--font-display); font-size: 18px; letter-spacing: 1px; color: var(--color-emerald); }
.gateway-card h1 { font-family: var(--font-display); font-size: 26px; margin-bottom: 12px; }
.gateway-note { color: var(--color-muted); font-size: 14px; line-height: 1.7; margin-bottom: 26px; }
.gateway-amount-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--color-ivory-dim); border-bottom: 1px solid var(--color-ivory-dim); margin-bottom: 18px; text-align: left; }
.gateway-amount-row span:first-child { font-size: 13px; color: var(--color-muted); text-transform: uppercase; letter-spacing: 1px; }
.gateway-amount { font-family: var(--font-display); font-size: 30px; color: var(--color-emerald); }
.gateway-detail-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; text-align: left; }
.gateway-detail-row span:first-child { color: var(--color-muted); }
.gateway-detail-row span:last-child { font-weight: 600; text-align: right; max-width: 60%; }
.gateway-cancel { display: block; margin-top: 18px; font-size: 13.5px; color: var(--color-muted); text-decoration: underline; }
.gateway-spinner { width: 48px; height: 48px; margin: 0 auto 24px; border-radius: 50%; border: 4px solid var(--color-ivory-dim); border-top-color: var(--color-emerald); animation: gwspin 0.9s linear infinite; }
@keyframes gwspin { to { transform: rotate(360deg); } }
.gateway-result-icon { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: rgba(31,90,74,0.12); color: var(--color-emerald); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; }
.gateway-result-icon.err { background: rgba(200,60,60,0.1); color: #a83232; }

@media (max-width: 900px) {
    .checkout-layout { grid-template-columns: 1fr; padding-top: 110px; }
    .checkout-detail-grid { grid-template-columns: 1fr 1fr; }
    .checkout-summary-card { position: static; }
}

/* ---- Service icon strip (package details) -------------------------------------------------------- */
.service-strip {
    display: flex; gap: 40px; flex-wrap: wrap;
    padding: 26px 0; margin-top: 30px;
    border-top: 1px solid var(--color-ivory-dim); border-bottom: 1px solid var(--color-ivory-dim);
}
.service-item { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--color-muted); letter-spacing: 0.3px; }
.service-item i { font-size: 20px; color: var(--color-emerald); }

/* ---- Editorial itinerary (package details) -------------------------------------------------------- */
.itinerary-overview-note { font-size: 13.5px; color: var(--color-muted); font-style: italic; margin-top: 10px; }
.itinerary-day-editorial { padding: 36px 0; border-bottom: 1px solid var(--color-ivory-dim); }
.itinerary-day-editorial:first-child { padding-top: 0; }
.itinerary-day-editorial .day-tag {
    display: inline-block; background: rgba(31,90,74,0.1); color: var(--color-emerald);
    font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.itinerary-day-editorial .day-heading { font-family: var(--font-display); font-size: 26px; font-weight: 400; margin-bottom: 14px; }
.itinerary-day-editorial .day-text { color: var(--color-muted); font-size: 15.5px; line-height: 1.8; max-width: 640px; }
.itinerary-day-editorial .day-image { margin-top: 22px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.itinerary-day-editorial .day-image img { width: 100%; height: 400px; object-fit: cover; }

/* ---- Package Detail -------------------------------------------------------- */
.pkg-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; height: 480px; border-radius: var(--radius-lg); overflow: hidden; }
.pkg-gallery .thumbs { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.pkg-gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 60px; margin-top: 60px; align-items: start; }
.detail-tabs { display: flex; gap: 10px; border-bottom: 1px solid var(--color-ivory-dim); margin-bottom: 34px; flex-wrap: wrap; }
.detail-tab { padding: 14px 4px; margin-right: 26px; font-weight: 700; font-size: 14px; color: var(--color-muted); position: relative; }
.detail-tab.active { color: var(--color-emerald); }
.detail-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--color-emerald); }
.itinerary-day { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--color-ivory-dim); }
.itinerary-day .day-num { font-family: var(--font-display); font-size: 26px; color: var(--color-gold); flex: 0 0 60px; }
.included-list li, .excluded-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 14.5px; }
.booking-card { background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); padding: 32px; position: sticky; top: 120px; }
.booking-card .price-line { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--color-ivory-dim); }
.booking-card .price-line .amount { font-family: var(--font-display); font-size: 30px; color: var(--color-emerald); }
.booking-price-breakdown { background: var(--color-ivory, #f7f4ef); border-radius: 12px; padding: 16px 18px; margin: 4px 0 22px; }
.booking-price-breakdown .bpb-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--color-muted); padding: 5px 0; }
.booking-price-breakdown .bpb-row.bpb-total { border-top: 1px solid rgba(0,0,0,0.08); margin-top: 6px; padding-top: 10px; font-weight: 700; color: var(--color-emerald); font-size: 16px; }
.booking-price-breakdown .bpb-child-line { font-size: 12px; color: var(--color-muted); opacity: 0.85; padding: 2px 0 2px 14px; }
.child-age-field { margin-bottom: 16px; }
.terms-agree-row { display: flex; align-items: flex-start; gap: 10px; text-align: left; margin: 22px 0 18px; font-size: 13.5px; color: var(--color-muted); line-height: 1.6; }
.terms-agree-row input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--color-emerald); }
.terms-agree-row a { color: var(--color-emerald); font-weight: 600; text-decoration: underline; }
.terms-agree-row.terms-agree-shake { animation: termsShake 0.4s; }
@keyframes termsShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.btn-needs-terms.btn-terms-pending { opacity: 0.55; cursor: not-allowed; }
.booking-login-prompt { text-align: center; padding: 10px 0; }
.booking-login-prompt p { color: var(--color-muted); font-size: 14.5px; margin: 16px 0 24px; line-height: 1.7; }

/* ---- Trip Planner -------------------------------------------------------- */
.planner-wrap { max-width: 720px; margin: 0 auto; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-strong); padding: 50px; }
.planner-progress { display: flex; gap: 6px; margin-bottom: 44px; }
.planner-progress .bar { flex: 1; height: 4px; border-radius: 4px; background: var(--color-ivory-dim); overflow: hidden; }
.planner-progress .bar span { display: block; height: 100%; width: 0%; background: var(--color-emerald); transition: width 0.5s var(--ease); }
.planner-step { display: none; }
.planner-step.active { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.planner-step h2 { font-family: var(--font-display); font-size: 30px; margin-bottom: 30px; }
.option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.option-chip {
    border: 1.5px solid var(--color-ivory-dim); border-radius: var(--radius-sm); padding: 20px 14px;
    text-align: center; font-size: 13.5px; font-weight: 600; transition: all 0.3s ease;
}
.option-chip.selected, .option-chip:hover { border-color: var(--color-emerald); background: rgba(31,90,74,0.06); }
.planner-nav { display: flex; justify-content: space-between; margin-top: 40px; }

/* ---- 404 -------------------------------------------------------- */
.error-page { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 100px; }
.error-page .code { font-family: var(--font-display); font-size: 140px; color: var(--color-emerald); line-height: 1; }
.error-page h1 { font-family: var(--font-display); font-size: 30px; margin: 20px 0 30px; }

/* ---- Utility -------------------------------------------------------- */
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.bg-charcoal { background: var(--color-charcoal); color: var(--color-white); }
.bg-ivory-dim { background: var(--color-ivory-dim); }
.empty-state { text-align: center; padding: 80px 20px; color: var(--color-muted); }
.empty-state i, .empty-state svg { margin-bottom: 20px; opacity: 0.5; }

/* Reveal-on-scroll base state */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---- Legal / Policy Pages -------------------------------------------------------- */
.legal-content { font-size: 16px; line-height: 1.85; color: var(--color-charcoal); }
.legal-content .updated-note { font-size: 13.5px; color: var(--color-muted); margin-bottom: 40px; letter-spacing: 0.3px; text-transform: uppercase; }
.legal-content h2 { font-family: var(--font-display); font-size: 24px; margin: 48px 0 16px; color: var(--color-charcoal); }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; color: var(--color-charcoal); }
.legal-content p { margin-bottom: 16px; color: var(--color-charcoal); opacity: 0.88; }
.legal-content ul, .legal-content ol { margin: 0 0 16px 22px; }
.legal-content li { margin-bottom: 10px; opacity: 0.88; }
.legal-content a { color: var(--color-gold); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--color-charcoal); }
.legal-content strong { font-weight: 700; }
.legal-toc { background: var(--color-ivory-dim); border-radius: var(--radius-sm); padding: 26px 30px; margin-bottom: 50px; }
.legal-toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; color: var(--color-muted); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; gap: 30px; }
.legal-toc li { margin-bottom: 8px; font-size: 14.5px; }
.legal-toc a { color: var(--color-charcoal); text-decoration: none; }
.legal-toc a:hover { color: var(--color-gold); }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
