/* ─── Root Variables ─────────────────────────────────────── */
:root {
    --navy:       #0a2540;
    --navy-2:     #0f3460;
    --blue:       #3b6ef5;
    --blue-2:     #2563eb;
    --blue-soft:  #e8efff;
    --gold:       #f5b528;
    --gold-2:     #d4960f;
    --gold-soft:  #fff4d6;
    --coral:      #ff6b5b;
    --teal:       #14b8a6;
    --teal-soft:  #d1faf2;
    --green:      #10b981;
    --green-soft: #d1fae5;
    --paper:      #ffffff;
    --paper-2:    #fafbfc;
    --cream:      #fafbfc;
    --cream-2:    #f1f5fb;
    --ink:        #0a2540;
    --ink-2:      #475569;
    --ink-3:      #94a3b8;
    --rule:       #e2e8f0;
    --rule-2:     #cbd5e1;
}

/* ─── Base Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ─── Body (v2 Light Theme) ──────────────────────────────── */
body {
    background:
        radial-gradient(ellipse 1200px 800px at 90% -100px, rgba(59,110,245,0.06), transparent 60%),
        radial-gradient(ellipse 1000px 700px at -10% 30%, rgba(245,181,40,0.05), transparent 60%),
        #ffffff;
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ─── Font classes ───────────────────────────────────────── */
.serif  { font-family: 'Playfair Display', Georgia, serif; }
.mono   { font-family: 'JetBrains Mono', monospace; }

/* ─── Live pulse dot (footer + nav) ─────────────────────── */
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
    50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}

/* ─── Twemoji ────────────────────────────────────────────── */
img.emoji {
    height: 1.1em;
    width: 1.1em;
    vertical-align: -0.15em;
    display: inline-block;
}

img.flag-img {
    height: 1em;
    width: auto;
    vertical-align: -0.1em;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.25);
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
    padding: 22px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    display: block;
}

.nav-logo-sub {
    font-size: 10px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--navy); }
.nav-link.active::after { width: 100%; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
}

/* ─── Brand Pills ─────────────────────────────────────────── */
.brand-pills {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--cream-2);
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: 3px;
}

.brand-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--ink-2);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.brand-pill:hover { color: var(--navy); background: var(--paper); }
.brand-pill.active {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
    box-shadow: 0 2px 8px -2px rgba(59,110,245,0.4);
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
    box-shadow: 0 6px 18px -6px rgba(59,110,245,0.5);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -8px rgba(59,110,245,0.6);
    color: white;
    text-decoration: none;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
    color: var(--navy);
    box-shadow: 0 6px 18px -6px rgba(245,181,40,0.5);
}

.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -8px rgba(245,181,40,0.6);
    color: var(--navy);
    text-decoration: none;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--rule-2);
}

.btn-outline:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    text-decoration: none;
}

/* White variant — for use on dark/hero backgrounds */
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.90);
    border: 1.5px solid rgba(255,255,255,0.40);
    backdrop-filter: blur(6px);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.22);
    color: #ffffff;
    border-color: rgba(255,255,255,0.80);
    text-decoration: none;
}
.btn-outline-white.active,
.btn-outline-white[aria-current="true"] {
    background: rgba(255,255,255,0.95);
    color: var(--navy);
    border-color: transparent;
    font-weight: 700;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: var(--paper);
    color: var(--navy);
    border: 1px solid var(--rule);
}

.btn-ghost:hover { background: var(--cream-2); color: var(--navy); }

/* ─── Cards ───────────────────────────────────────────────── */
.card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 18px;
    transition: transform .3s, box-shadow .3s;
}

.card.hover:hover,
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -16px rgba(15,39,66,0.18);
}

.card-hover {
    transition: transform .3s, box-shadow .3s;
}

/* ─── Brand Card ──────────────────────────────────────────── */
.brand-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 24px 60px -24px rgba(15,39,66,0.18);
}

.brand-card .accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

/* ─── Destination Card ────────────────────────────────────── */
.dest-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .35s, box-shadow .35s;
    background: var(--navy);
}

.dest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px -20px rgba(15,39,66,0.4);
}

.dest-card .photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s;
}

.dest-card:hover .photo-bg { transform: scale(1.06); }

.dest-card .photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.85) 100%);
}

/* ─── Destination Card (legacy class for backward compat) ─── */
.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    background: var(--navy);
}

.destination-card img:not(.flag-img) {
    transition: transform 0.5s ease;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.destination-card:hover img:not(.flag-img) { transform: scale(1.06); }

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 24px 20px 20px;
}

/* ─── Vehicle Card ────────────────────────────────────────── */
.vehicle-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 20px;
    overflow: hidden;
    transition: all .3s;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -20px rgba(15,39,66,0.2);
}

.vehicle-card.featured {
    border-color: var(--gold);
    box-shadow: 0 12px 30px -16px rgba(212,165,52,0.3);
}

/* ─── Section ─────────────────────────────────────────────── */
.section {
    padding: 80px 56px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-head {
    margin-bottom: 48px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.section-sub {
    font-size: 16px;
    color: var(--ink-2);
    margin-top: 12px;
    max-width: 560px;
    line-height: 1.6;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--blue);
}

/* ─── Section Badge ───────────────────────────────────────── */
.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--blue-soft);
    color: var(--blue);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ─── Section Tag (used in dark hero sections) ────────────── */
.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.9);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

/* ─── Chips / Badges ──────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--rule);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-2);
}

.chip.active {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 10px -4px rgba(59,110,245,0.4);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* ─── Globe Animations ────────────────────────────────────── */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.globe-spin {
    animation: spin-slow 80s linear infinite;
    transform-origin: center;
}

@keyframes route-dash {
    to { stroke-dashoffset: -200; }
}

.route-anim {
    animation: route-dash 8s linear infinite;
}

@keyframes city-pulse {
    0%, 100% { r: 3.2; opacity: 1; }
    50% { r: 4.5; opacity: 0.7; }
}

.city-pulse {
    animation: city-pulse 2.5s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.globe-bg-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 0;
}

/* ─── Stat Tile ───────────────────────────────────────────── */
.stat-tile {
    padding: 18px 22px;
    border-right: 1px solid var(--rule);
}

.stat-tile:last-child { border-right: none; }

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 11px;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 6px;
    font-weight: 600;
}

/* ─── Stat Card (legacy — kept for hero) ─────────────────── */
.stat-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
}

/* ─── Steps ───────────────────────────────────────────────── */
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.step-num.done { background: var(--green); color: white; }

.step-num.active {
    background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
    color: var(--navy);
    box-shadow: 0 0 0 4px rgba(245,181,40,0.22);
}

.step-num.pending {
    background: var(--blue-soft);
    color: var(--ink-3);
    border: 1px solid var(--rule);
}

/* ─── Route Row ───────────────────────────────────────────── */
.route-row {
    transition: background .2s;
}

.route-row:hover { background: var(--blue-soft); }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(135deg, var(--navy) 0%, #051a36 100%);
    color: rgba(255,255,255,0.7);
    padding: 64px 56px 28px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,181,40,0.12) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ─── Photo helpers ───────────────────────────────────────── */
.photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s;
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.85) 100%);
}

/* ─── Hero sections ───────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #0f3460 60%, #1a3a6e 100%) !important;
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    background: linear-gradient(180deg, transparent 35%, rgba(15,39,66,0.85) 100%);
}

/* ─── Gradient text ───────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Utility grid ────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Forms ───────────────────────────────────────────────── */
.form-input, .input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--rule);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    background: var(--paper);
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}

.form-input:focus, .input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,110,245,0.12);
}

.form-label, .input-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.field-error {
    font-size: 11px;
    color: #dc2626;
    margin-top: 4px;
    display: block;
}

.alert-success {
    padding: 14px 18px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 12px;
    color: #065f46;
}

.alert-error {
    padding: 14px 18px;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 12px;
    color: #991b1b;
}

/* ─── Country card ────────────────────────────────────────── */
.country-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    transition: all .2s;
    cursor: default;
}

.country-card:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(59,110,245,0.15);
}

/* ─── Testimonial card ────────────────────────────────────── */
.testimonial-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 20px;
    padding: 28px;
    transition: all .3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -16px rgba(15,39,66,0.15);
}

/* ─── Dest tab ────────────────────────────────────────────── */
.dest-tab {
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    border: 1.5px solid var(--rule-2);
    transition: all .2s;
    cursor: pointer;
    background: var(--paper);
    color: var(--ink-2);
}

.dest-tab.active {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px -4px rgba(59,110,245,0.4);
}

.dest-tab:not(.active):hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ─── Search widget ───────────────────────────────────────── */
.search-widget-input {
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    background: var(--paper);
    color: var(--ink);
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}

.search-widget-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,110,245,0.1);
}

/* ─── Marquee ─────────────────────────────────────────────── */
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-track { display: flex; width: max-content; animation: marqueeScroll 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-wrapper { overflow: hidden; white-space: nowrap; }

/* ─── Case-studies grid (destinations page) ───────────────── */
.case-studies-grid { max-width: 90rem; margin: 0 auto; }

.case-study-featured {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--rule);
    cursor: pointer;
}

.case-study-featured img:not(.flag-img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-featured:hover img:not(.flag-img) { transform: scale(1.03); }

.case-study-sub {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--rule);
    cursor: pointer;
}

.case-study-sub img:not(.flag-img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-sub:hover img:not(.flag-img) { transform: scale(1.06); }

.case-study-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

/* macOS traffic lights */
.macos-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.macos-dot { width: 12px; height: 12px; border-radius: 50%; }
.macos-dot-red    { background: #ff5f57; }
.macos-dot-yellow { background: #febc2e; }
.macos-dot-green  { background: #28c840; }

/* ─── Itinerary Modal ─────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal-box {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(15,39,66,0.25);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s ease;
    color: var(--ink);
}

.modal-backdrop.open .modal-box { transform: translateY(0) scale(1); }
.modal-box::-webkit-scrollbar { width: 5px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 3px; }

.modal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--paper);
    border-radius: 24px 24px 0 0;
}

.day-card {
    border-left: 3px solid var(--blue);
    padding: 14px 18px;
    background: var(--blue-soft);
    border-radius: 0 12px 12px 0;
    margin-bottom: 10px;
    transition: border-color .2s, background .2s;
}

.day-card:hover {
    border-color: var(--gold);
    background: var(--gold-soft);
}

/* ─── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    transition: all .3s;
    z-index: 999;
    font-size: 24px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.6);
}

/* ─── Scroll to Top ───────────────────────────────────────── */
#scrollTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(59,110,245,0.4);
    transition: all .3s;
    z-index: 999;
}

#scrollTop:hover { transform: translateY(-2px); }
#scrollTop.show  { display: flex; }

/* ─── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.animate-fade-in-up { animation: fadeInUp 0.7s ease forwards; }
.animate-float      { animation: float 4s ease-in-out infinite; }

/* ─── Ticker ──────────────────────────────────────────────── */
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-ticker { width: max-content; animation: tickerScroll 22s linear infinite; }
@media (prefers-reduced-motion: reduce) { .animate-ticker { animation: none; } }

/* ─── Footer legacy class ─────────────────────────────────── */
.footer-gradient {
    background: linear-gradient(135deg, var(--navy) 0%, #051a36 100%);
}

/* ─── Admin compatibility ─────────────────────────────────── */
body[data-theme="admin"] {
    background: #f8fafc !important;
    color: #1e293b !important;
    font-family: 'Inter', system-ui, sans-serif !important;
}

body[data-theme="admin"] h1,
body[data-theme="admin"] h2,
body[data-theme="admin"] h3,
body[data-theme="admin"] h4 {
    font-family: 'Playfair Display', 'Inter', serif;
    color: #1e293b;
    font-weight: 700;
}

body[data-theme="admin"] .form-input {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
}

body[data-theme="admin"] .btn-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 15px rgba(37,99,235,0.35) !important;
    border: none !important;
}

body[data-theme="admin"] .alert-success {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

body[data-theme="admin"] .alert-error {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #991b1b !important;
}

/* ─── Responsive nav ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav { padding: 16px 20px; }
    .nav-links { display: none; }
    .section { padding: 48px 20px; }
    .site-footer { padding: 48px 20px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
    .section-title { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .brand-pills { display: none; }
}

/* ─── PlanMyTripForm compatibility ────────────────────────── */
.pmtf-page { background: var(--cream-2); }

.pmtf-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(15,39,66,0.06);
    transition: box-shadow .25s;
}

.pmtf-card:hover { box-shadow: 0 6px 24px rgba(15,39,66,0.1); }

.pmtf-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--rule);
    margin-bottom: 24px;
}
