/* Maleeka Trans — shared theme tokens, navbar controls, and dark mode.
   Loaded after travel.css and any page-specific styles. */

:root {
    --t-bg: #f5f4ef;
    --t-bg-deep: #efeee8;
    --t-surface: #fffefa;
    --t-surface-soft: #f5f2e9;
    --t-surface-glass: rgba(255, 254, 250, .82);
    --t-text: #252a4b;
    --t-text-soft: #49506d;
    --t-muted: #777b83;
    --t-line: #e8e5dd;
    --t-line-strong: #d7d3c9;
    --t-gold: #c9a46b;
    --t-gold-dark: #aa824c;
    --t-accent: #636f9e;
    --t-green: #128c58;
    --t-nav: rgba(255, 254, 250, .92);
    --t-input: #ffffff;
    --t-panel-dark: #252a4b;
    --t-shadow: 0 28px 70px rgba(32, 37, 67, .11);
    --t-shadow-soft: 0 18px 46px rgba(32, 37, 67, .08);
    --t-glow-gold: rgba(201, 164, 107, .22);
    --t-glow-blue: rgba(99, 112, 158, .16);
    --t-danger-bg: #fff0ef;
    --t-danger-text: #a63024;
    color-scheme: light;
}

html[data-theme="dark"] {
    --t-bg: #0e1120;
    --t-bg-deep: #0a0d18;
    --t-surface: #171b2f;
    --t-surface-soft: #1d2238;
    --t-surface-glass: rgba(23, 27, 47, .86);
    --t-text: #f2f1ea;
    --t-text-soft: #c3c7d8;
    --t-muted: #9298ac;
    --t-line: #2b3149;
    --t-line-strong: #3a4160;
    --t-gold: #d8b57b;
    --t-gold-dark: #c9a46b;
    --t-accent: #9aa6d6;
    --t-green: #55c98d;
    --t-nav: rgba(14, 17, 32, .9);
    --t-input: #121627;
    --t-panel-dark: #1c2138;
    --t-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    --t-shadow-soft: 0 18px 46px rgba(0, 0, 0, .32);
    --t-glow-gold: rgba(216, 181, 123, .15);
    --t-glow-blue: rgba(122, 136, 190, .14);
    --t-danger-bg: #3a1d22;
    --t-danger-text: #ff9d93;
    color-scheme: dark;
}

/* Keep the original travel.css variables in sync so older components inherit
   the dark palette without being rewritten one selector at a time. */
html[data-theme="dark"] {
    --ink: #f2f1ea;
    --ink-soft: #c3c7d8;
    --paper: #0e1120;
    --white: #171b2f;
    --muted: #9298ac;
    --line: #2b3149;
    --gold: #d8b57b;
    --gold-dark: #c9a46b;
    --green: #55c98d;
    --shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

/* ---------- Navbar controls ---------- */
.nav-controls {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 9px;
}

.theme-toggle {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--t-line);
    border-radius: 50%;
    background: var(--t-surface-glass);
    color: var(--t-text);
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.theme-toggle:hover {
    border-color: var(--t-gold);
    color: var(--t-gold-dark);
    transform: translateY(-2px) rotate(-6deg);
}

.theme-toggle:focus-visible,
.lang-option:focus-visible,
.nav-dropdown .dropdown-item:focus-visible {
    outline: 2px solid var(--t-gold);
    outline-offset: 2px;
}

.theme-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-icon-moon {
    display: none;
}

html[data-theme="dark"] .theme-icon-sun {
    display: block;
}

.lang-switch {
    display: flex;
    padding: 3px;
    border: 1px solid var(--t-line);
    border-radius: 999px;
    background: var(--t-surface-glass);
}

.lang-option {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--t-muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.lang-option:hover {
    color: var(--t-text);
}

.lang-option.is-active {
    background: var(--t-text);
    color: var(--t-bg);
}

.nav-trip .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: 2px;
}

.nav-dropdown {
    min-width: 212px;
    padding: 8px;
    border: 1px solid var(--t-line);
    border-radius: 15px;
    background: var(--t-surface);
    box-shadow: var(--t-shadow);
}

.nav-dropdown .dropdown-item {
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--t-text-soft);
    font-size: 13.5px;
    font-weight: 600;
}

.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item:focus {
    background: var(--t-surface-soft);
    color: var(--t-text);
}

/* Navbar collapsed state now begins below 1200px because the menu is wider. */
@media (max-width: 1199.98px) {
    .site-nav .navbar-collapse {
        padding: 14px 0 5px;
    }

    .site-nav .navbar-nav {
        align-items: stretch !important;
        gap: 0;
    }

    .site-nav .nav-link {
        padding: 10px 0 !important;
    }

    .site-nav .nav-link.active::after {
        display: none;
    }

    .nav-controls {
        flex-wrap: wrap;
        margin-top: 14px;
    }

    .nav-trip .dropdown-menu {
        position: static;
        min-width: 0;
        padding: 0 0 4px 14px;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-trip .dropdown-item {
        padding: 8px 0;
    }
}

@media (max-width: 575.98px) {
    .nav-controls {
        gap: 8px;
    }

    .btn-chat {
        margin-top: 0;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    overflow: hidden;
    margin: clamp(38px, 5vw, 70px) 0 0;
    padding: clamp(28px, 3.4vw, 46px) clamp(20px, 3vw, 44px) clamp(16px, 1.8vw, 22px);
    border-radius: 26px;
    background: #252a4b;
    color: #c4c8d7;
    font-size: 13px;
    scroll-margin-top: 120px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1.35fr) minmax(140px, .65fr) minmax(230px, 1.05fr) minmax(240px, 1.05fr);
    gap: clamp(24px, 3.4vw, 54px);
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    line-height: 1;
    text-decoration: none;
}

.footer-logo:hover {
    color: #fff;
}

.footer-logo-sun {
    margin-bottom: 8px;
    color: #d8b57b;
    font-size: 32px;
    line-height: .8;
    animation: sunTurn 18s linear infinite;
}

.footer-logo-name {
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .1em;
}

.footer-logo-sub {
    margin-top: 6px;
    color: #a9adc0;
    font-size: 8px;
    letter-spacing: .46em;
}

.footer-tagline {
    margin: 16px 0 0;
    color: #eef0f7;
    font-family: 'Manrope', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
}

.footer-about {
    margin: 8px 0 0;
    color: #969bb0;
    font-size: 12.5px;
    line-height: 1.65;
}

.footer-heading {
    margin: 0 0 14px;
    color: #d8b57b;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.footer-brand .footer-heading {
    margin: 22px 0 10px;
}

.footer-links,
.footer-contact,
.footer-banks,
.footer-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links {
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: #b9bdcf;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    display: grid;
    gap: 12px;
}

.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #b9bdcf;
    text-decoration: none;
}

.footer-contact-icon {
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    color: #d8b57b;
    transition: background .2s ease, border-color .2s ease;
}

.footer-contact a:hover .footer-contact-icon {
    border-color: rgba(216, 181, 123, .5);
    background: rgba(216, 181, 123, .16);
}

.footer-contact-icon svg,
.footer-hours-title svg,
.footer-chat svg,
.footer-social svg,
.footer-top-link svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-icon svg {
    width: 15px;
    height: 15px;
}

.footer-contact-body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.footer-contact-body small {
    color: #8f95aa;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.footer-contact-body strong {
    color: #e7e9f1;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.footer-contact a:hover strong {
    color: #fff;
}

.footer-hours {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}

.footer-hours-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: #d8b57b;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.footer-hours-title svg {
    width: 14px;
    height: 14px;
}

.footer-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 0;
    color: #969bb0;
    font-size: 11.5px;
}

.footer-hours-row strong {
    color: #dcdfe9;
    font-weight: 600;
}

.footer-note {
    margin: 0 0 12px;
    color: #969bb0;
    font-size: 11.5px;
    line-height: 1.55;
}

.footer-banks {
    display: grid;
    gap: 9px;
    margin-bottom: 14px;
}

.bank-card {
    display: grid;
    gap: 2px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    background: rgba(255, 255, 255, .045);
}

.bank-name {
    color: #d8b57b;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.bank-number {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: .05em;
    user-select: all;
}

.bank-holder {
    color: #8f95aa;
    font-size: 10.5px;
}

.footer-chat {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border: 1px solid rgba(216, 181, 123, .36);
    border-radius: 11px;
    background: rgba(216, 181, 123, .11);
    color: #f1e6d2;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.footer-chat:hover {
    border-color: rgba(216, 181, 123, .65);
    background: rgba(216, 181, 123, .2);
    color: #fff;
    transform: translateY(-2px);
}

.footer-chat > svg:first-child {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #d8b57b;
}

.footer-chat-copy {
    display: grid;
    flex: 1;
    gap: 1px;
    min-width: 0;
}

.footer-chat-copy strong {
    font-size: 12px;
    font-weight: 700;
}

.footer-chat-copy small {
    color: #c3ac83;
    font-size: 10.5px;
}

.footer-chat-arrow {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    stroke-width: 1.8;
    opacity: .75;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: #c4c8d7;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.footer-social a:hover {
    border-color: #d8b57b;
    background: #d8b57b;
    color: #22263f;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.6;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: clamp(24px, 3.4vw, 40px);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #969bb0;
    font-size: 11px;
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b9bdcf;
    font-weight: 600;
    text-decoration: none;
}

.footer-top-link:hover {
    color: #fff;
}

.footer-top-link svg {
    width: 13px;
    height: 13px;
    stroke-width: 1.9;
}

@media (max-width: 1199.98px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 640px;
    }

    .footer-payment {
        grid-column: 1 / -1;
    }

    .footer-payment .footer-banks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-brand,
    .footer-payment {
        grid-column: auto;
        max-width: none;
    }

    .footer-payment .footer-banks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .site-footer {
        margin-top: 32px;
        padding: 24px 18px 16px;
        border-radius: 20px;
    }

    .footer-bottom {
        gap: 8px;
        font-size: 10px;
    }
}

/* ---------- Dark mode: shared chrome ---------- */
html[data-theme="dark"] body {
    background: var(--t-bg);
}

html[data-theme="dark"] .site-nav {
    border-bottom-color: rgba(255, 255, 255, .07);
    background: var(--t-nav);
}

html[data-theme="dark"] .site-nav .nav-link {
    color: #a9aec2;
}

html[data-theme="dark"] .site-nav .nav-link:hover,
html[data-theme="dark"] .site-nav .nav-link.active {
    color: var(--t-text);
}

html[data-theme="dark"] .btn-chat {
    border-color: var(--t-line-strong);
    color: var(--t-text);
}

html[data-theme="dark"] .btn-chat:hover {
    border-color: var(--t-text);
    background: var(--t-text);
    color: var(--t-bg);
    box-shadow: 0 9px 22px rgba(0, 0, 0, .38);
}

html[data-theme="dark"] .nav-toggle {
    border-color: var(--t-line);
    background: var(--t-surface);
}

html[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(1.6);
}

html[data-theme="dark"] .nav-dropdown .dropdown-item {
    color: var(--t-text-soft);
}

/* ---------- Dark mode: home / travel.css ---------- */
html[data-theme="dark"] .page-shell {
    background: #0e1120;
}

html[data-theme="dark"] .eyebrow {
    border-color: rgba(154, 166, 214, .24);
    background: rgba(99, 111, 158, .16);
    color: #b6c0e6;
}

html[data-theme="dark"] .hero-description,
html[data-theme="dark"] .fleet-hero-description {
    color: #aab0c4;
}

html[data-theme="dark"] .benefit-list li {
    color: #d5d7e2;
}

html[data-theme="dark"] .benefit-icon {
    border-color: var(--t-line);
    background: var(--t-surface);
    box-shadow: none;
}

html[data-theme="dark"] .steps-card {
    border-color: var(--t-line);
    background: rgba(23, 27, 47, .72);
    box-shadow: none;
}

html[data-theme="dark"] .step-item + .step-item {
    border-left-color: var(--t-line-strong);
}

html[data-theme="dark"] .step-item p {
    color: var(--t-muted);
}

html[data-theme="dark"] .calculator-card {
    border-color: var(--t-line);
    background: var(--t-surface);
    box-shadow: var(--t-shadow);
}

html[data-theme="dark"] .calculator-card:hover {
    box-shadow: 0 34px 90px rgba(0, 0, 0, .5);
}

html[data-theme="dark"] .calculator-topbar {
    background: #1b2038;
}

html[data-theme="dark"] .input-shell,
html[data-theme="dark"] .claim-fields > div {
    border-color: var(--t-line);
    background: var(--t-input);
    box-shadow: none;
}

html[data-theme="dark"] .estimate-panel {
    background: #191d30;
}

html[data-theme="dark"] .vehicle-badge {
    border-color: var(--t-line);
    background: var(--t-surface-soft);
}

html[data-theme="dark"] .price-breakdown > div {
    border-bottom-color: var(--t-line);
    color: #9ba1b5;
}

html[data-theme="dark"] .price-breakdown strong {
    color: #e9e8e1;
}

html[data-theme="dark"] .estimate-note {
    color: #a8b3d8;
}

html[data-theme="dark"] .swap-button,
html[data-theme="dark"] .counter-button {
    background: var(--t-surface-soft);
    color: var(--t-text-soft);
}

html[data-theme="dark"] .swap-button:hover {
    background: #2a3149;
}

html[data-theme="dark"] .counter-button:hover {
    background: var(--t-gold);
    color: #1a1d2e;
}

html[data-theme="dark"] .form-select,
html[data-theme="dark"] .form-control {
    color: var(--t-text);
}

html[data-theme="dark"] .form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d8d5cd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

html[data-theme="dark"] .date-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

html[data-theme="dark"] .claim-fields .form-control::placeholder,
html[data-theme="dark"] .form-control::placeholder {
    color: #6f758b;
}

html[data-theme="dark"] .discount-card {
    border-color: rgba(216, 181, 123, .55);
    background: #1d1e2c;
}

html[data-theme="dark"] .discount-card::before,
html[data-theme="dark"] .discount-card::after {
    border-color: var(--t-line);
    background: var(--t-surface);
}

html[data-theme="dark"] .discount-copy p {
    color: #c0a878;
}

html[data-theme="dark"] .discount-price del {
    color: #8d90a0;
}

html[data-theme="dark"] .online-ribbon {
    background: #d8b57b;
    color: #1a1d2e;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .gift-icon {
    background: #d8b57b;
    color: #2b2418;
    box-shadow: inset 0 -4px #b18c56;
}

html[data-theme="dark"] .claim-button {
    background: #d8b57b;
    color: #1a1d2e;
}

html[data-theme="dark"] .claim-button:hover {
    background: #c9a46b;
    color: #12141f;
}

html[data-theme="dark"] .privacy-note {
    color: #8e94a8;
}

html[data-theme="dark"] .site-footer {
    border: 1px solid var(--t-line);
    background: var(--t-surface);
    color: var(--t-text-soft);
}

html[data-theme="dark"] .estimate-error {
    background: var(--t-danger-bg);
    color: var(--t-danger-text);
}

html[data-theme="dark"] .road-ribbon path:first-child {
    stroke: #262c44;
}

html[data-theme="dark"] .road-ribbon path:last-child {
    stroke: #454d6c;
}

/* ---------- Dark mode: fleet.css ---------- */
html[data-theme="dark"] .fleet-page {
    background: #0e1120;
}

html[data-theme="dark"] .fleet-stats > div {
    border-right-color: var(--t-line);
}

html[data-theme="dark"] .fleet-stats span,
html[data-theme="dark"] .fleet-best-for,
html[data-theme="dark"] .fleet-price > span,
html[data-theme="dark"] .fleet-price small,
html[data-theme="dark"] .fleet-specs div > span:last-child {
    color: var(--t-muted);
}

html[data-theme="dark"] .fleet-ghost {
    border-color: var(--t-line-strong);
    background: rgba(23, 27, 47, .7);
    color: var(--t-text);
}

html[data-theme="dark"] .fleet-ghost:hover {
    border-color: var(--t-gold);
    background: rgba(38, 44, 70, .9);
    color: var(--t-text);
}

html[data-theme="dark"] .fleet-stage-card {
    border-color: var(--t-line);
    background: #191e32;
    box-shadow: 0 42px 92px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .07);
}

html[data-theme="dark"] .fleet-stage-card::after {
    background: transparent;
}

html[data-theme="dark"] .stage-grid {
    background-image:
        linear-gradient(rgba(216, 181, 123, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(216, 181, 123, .12) 1px, transparent 1px);
}

html[data-theme="dark"] .stage-orbit span:nth-child(3) {
    border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] .stage-label,
html[data-theme="dark"] .stage-price span,
html[data-theme="dark"] .stage-price small,
html[data-theme="dark"] .stage-hud > span:last-child {
    color: #9ba1b5;
}

html[data-theme="dark"] .stage-tab {
    border-color: var(--t-line);
    background: rgba(23, 27, 47, .8);
    color: #b7bccd;
}

html[data-theme="dark"] .stage-tab.is-active {
    background: var(--t-gold);
    color: #1a1d2e;
}

html[data-theme="dark"] .fleet-grid .fleet-card {
    border-color: var(--t-line);
    background: #171b2e;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .32);
}

html[data-theme="dark"] .fleet-card:hover {
    box-shadow: 0 30px 66px rgba(0, 0, 0, .48);
}

html[data-theme="dark"] .fleet-card-glare {
    background: transparent;
}

html[data-theme="dark"] .fleet-badge {
    border-color: rgba(216, 181, 123, .45);
    background: rgba(23, 27, 47, .9);
    color: #d8b57b;
}

html[data-theme="dark"] .fleet-tagline,
html[data-theme="dark"] .fleet-features li {
    color: #aab0c4;
}

html[data-theme="dark"] .fleet-specs > div {
    border-color: var(--t-line);
    background: var(--t-surface-soft);
}

html[data-theme="dark"] .fleet-card-footer {
    border-top-color: var(--t-line);
}

html[data-theme="dark"] .fleet-card-cta {
    border-color: var(--t-gold);
    background: var(--t-gold);
    color: #1a1d2e;
}

html[data-theme="dark"] .fleet-card-cta:hover {
    background: #e6c98f;
    color: #12141f;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .fleet-finder {
    background: #1c2138;
    box-shadow: 0 36px 80px rgba(0, 0, 0, .42);
}

html[data-theme="dark"] .finder-slider input[type="range"] {
    background: linear-gradient(90deg, var(--t-gold) var(--range-progress, 0%), #2c3350 var(--range-progress, 0%));
}

html[data-theme="dark"] .finder-scale,
html[data-theme="dark"] .finder-result span {
    color: #aab0c4;
}

html[data-theme="dark"] .finder-ring {
    border-color: rgba(216, 181, 123, .45);
    background: rgba(23, 27, 47, .8);
}

html[data-theme="dark"] .fleet-cta {
    border-color: rgba(216, 181, 123, .35);
    background: #1e2030;
    box-shadow: 0 28px 66px rgba(0, 0, 0, .38);
}

html[data-theme="dark"] .fleet-cta h2,
html[data-theme="dark"] .fleet-cta p {
    color: var(--t-text);
}

html[data-theme="dark"] .fleet-cta p {
    color: #b5b2a4;
}

html[data-theme="dark"] .fleet-primary {
    border-color: var(--t-gold);
    background: var(--t-gold);
    color: #1a1d2e;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] .fleet-primary:hover {
    background: #e6c98f;
    color: #12141f;
}

html[data-theme="dark"] .fleet-primary-light {
    background: var(--t-gold);
    color: #1a1d2e;
}

html[data-theme="dark"] .fleet-ghost-light {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
    color: var(--t-text);
}

html[data-theme="dark"] .fleet-ghost-light:hover {
    border-color: var(--t-gold);
    color: var(--t-text);
}

html[data-theme="dark"] .eyebrow-dark {
    border-color: rgba(216, 181, 123, .45);
    background: rgba(216, 181, 123, .12);
    color: #e1c595;
}

/* Smooth palette changes on theme switch. */
html[data-theme] body,
html[data-theme] .site-nav,
html[data-theme] .calculator-card,
html[data-theme] .input-shell,
html[data-theme] .estimate-panel,
html[data-theme] .discount-card,
html[data-theme] .steps-card,
html[data-theme] .fleet-card,
html[data-theme] .fleet-stage-card,
html[data-theme] .fleet-finder,
html[data-theme] .fleet-cta,
html[data-theme] .info-card,
html[data-theme] .price-card {
    transition: background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme] body,
    html[data-theme] .site-nav,
    html[data-theme] .calculator-card,
    html[data-theme] .input-shell,
    html[data-theme] .estimate-panel,
    html[data-theme] .discount-card,
    html[data-theme] .steps-card,
    html[data-theme] .fleet-card,
    html[data-theme] .fleet-stage-card,
    html[data-theme] .fleet-finder,
    html[data-theme] .fleet-cta,
    html[data-theme] .info-card,
    html[data-theme] .price-card {
        transition-duration: .01ms;
    }
}

/* ---------- Animated 3D motion background ----------
   Pure CSS 3D transforms and flat solid colours (no gradients) so the page
   background never feels empty. Sits behind each page wrapper's content. */
.motion-bg {
    --motion-line: rgba(37, 42, 75, .12);
    --motion-line-strong: rgba(37, 42, 75, .24);
    --motion-gold: rgba(201, 164, 107, .46);
    --motion-accent: rgba(99, 111, 158, .32);
    --motion-fill: rgba(201, 164, 107, .09);
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

html[data-theme="dark"] .motion-bg {
    --motion-line: rgba(255, 255, 255, .10);
    --motion-line-strong: rgba(216, 181, 123, .30);
    --motion-gold: rgba(216, 181, 123, .42);
    --motion-accent: rgba(154, 166, 214, .28);
    --motion-fill: rgba(216, 181, 123, .08);
}

.motion-shape {
    position: absolute;
    pointer-events: none;
}

/* Wireframe sphere built from rotated circles. */
.motion-orb {
    width: clamp(270px, 36vw, 540px);
    aspect-ratio: 1;
    perspective: 900px;
    animation: motionFloat 14s ease-in-out infinite;
}

.motion-orb-core {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: motionOrbSpin 44s linear infinite;
    will-change: transform;
}

.motion-ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--motion-line-strong);
    border-radius: 50%;
    backface-visibility: visible;
}

.motion-ring:nth-child(1) { transform: rotateY(0deg); }
.motion-ring:nth-child(2) { transform: rotateY(30deg); }
.motion-ring:nth-child(3) { transform: rotateY(60deg); }
.motion-ring:nth-child(4) { transform: rotateY(90deg); }
.motion-ring:nth-child(5) { transform: rotateY(120deg); }
.motion-ring:nth-child(6) { transform: rotateY(150deg); }

.motion-ring-equator {
    transform: rotateX(90deg);
    border-color: var(--motion-gold);
}

.motion-orb-disc {
    position: absolute;
    inset: 34%;
    border: 1px solid var(--motion-line);
    border-radius: 50%;
    background: var(--motion-fill);
    transform: rotateX(72deg);
}

.motion-orb-a {
    top: 1%;
    right: -14%;
}

.motion-orb-b {
    top: 42%;
    left: -15%;
    animation-delay: -5s;
    animation-duration: 18s;
}

.motion-orb-b .motion-orb-core {
    animation-direction: reverse;
    animation-duration: 58s;
}

.motion-orb-c {
    top: 80%;
    right: -15%;
    animation-delay: -9s;
    animation-duration: 16s;
}

.motion-orb-c .motion-orb-core {
    animation-duration: 50s;
}

/* Tumbling wireframe cube. */
.motion-cube-wrap {
    --cube-size: clamp(64px, 6vw, 94px);
    width: var(--cube-size);
    height: var(--cube-size);
    perspective: 700px;
    animation: motionFloat 11s ease-in-out infinite;
}

.motion-cube {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: motionCubeSpin 30s linear infinite;
    will-change: transform;
}

.motion-cube span {
    position: absolute;
    inset: 0;
    border: 1px solid var(--motion-accent);
    background: transparent;
}

.motion-cube span:nth-child(odd) {
    border-color: var(--motion-gold);
}

.motion-cube span:nth-child(1) { transform: translateZ(calc(var(--cube-size) / 2)); }
.motion-cube span:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
.motion-cube span:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2)); }
.motion-cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }
.motion-cube span:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2)); }
.motion-cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2)); }

.motion-cube-a {
    top: 15%;
    left: 1.2%;
    animation-delay: -3s;
}

.motion-cube-b {
    --cube-size: clamp(52px, 5vw, 76px);
    top: 56%;
    right: 1.6%;
    animation-delay: -7s;
    animation-duration: 13s;
}

.motion-cube-b .motion-cube {
    animation-direction: reverse;
    animation-duration: 22s;
}

.motion-cube-c {
    --cube-size: clamp(46px, 4.4vw, 66px);
    top: 66%;
    right: 2.4%;
    animation-delay: -5s;
    animation-duration: 12s;
}

.motion-cube-c .motion-cube {
    animation-duration: 26s;
}

/* Rotating wireframe gem/cage. */
.motion-gem-wrap {
    --gem-size: clamp(88px, 8.5vw, 132px);
    width: var(--gem-size);
    height: var(--gem-size);
    perspective: 700px;
    animation: motionFloat 15s ease-in-out infinite;
}

.motion-gem {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: motionGemSpin 26s linear infinite;
    will-change: transform;
}

.motion-gem span {
    position: absolute;
    inset: 0;
    border: 1px solid var(--motion-gold);
}

.motion-gem span:nth-child(2) { transform: rotateY(90deg); }
.motion-gem span:nth-child(3) { transform: rotateX(90deg); }
.motion-gem span:nth-child(4) { transform: rotateZ(45deg); }

.motion-gem-a {
    top: 31%;
    right: 1.8%;
}

.motion-gem-b {
    --gem-size: clamp(72px, 7vw, 108px);
    top: 70%;
    left: 2%;
    animation-delay: -8s;
    animation-duration: 17s;
}

.motion-gem-b .motion-gem {
    animation-direction: reverse;
    animation-duration: 20s;
}

.motion-gem-c {
    --gem-size: clamp(58px, 5.6vw, 86px);
    top: 83.2%;
    left: 1.6%;
    animation-delay: -11s;
    animation-duration: 19s;
}

.motion-gem-c .motion-gem {
    animation-duration: 34s;
}

/* Small drifting accents. */
.motion-speck {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--motion-gold);
    animation: motionDrift 16s ease-in-out infinite;
}

.motion-speck-a { top: 8%; left: 42%; }
.motion-speck-b { top: 24%; right: 18%; width: 5px; height: 5px; animation-delay: -4s; }
.motion-speck-c { top: 50%; left: 30%; width: 6px; height: 6px; animation-delay: -8s; }
.motion-speck-d { top: 67%; right: 30%; animation-delay: -2s; }
.motion-speck-e { top: 79.5%; left: 44%; width: 5px; height: 5px; animation-delay: -6s; }
.motion-speck-f { top: 4%; right: 9%; width: 6px; height: 6px; animation-delay: -3s; }
.motion-speck-g { top: 18%; left: 22%; width: 4px; height: 4px; animation-delay: -7s; }
.motion-speck-h { top: 38%; right: 12%; animation-delay: -1s; }
.motion-speck-i { top: 60%; left: 16%; width: 5px; height: 5px; animation-delay: -5s; }
.motion-speck-j { top: 78%; right: 38%; width: 4px; height: 4px; animation-delay: -9s; }
.motion-speck-k { top: 83.8%; left: 30%; width: 5px; height: 5px; animation-delay: -2s; }

/* ---------- Travel motifs ---------- */
/* Wireframe globe with a paper plane circling it. */
.motion-globe {
    width: clamp(240px, 32vw, 460px);
    aspect-ratio: 1;
    perspective: 900px;
    animation: motionFloat 16s ease-in-out infinite;
}

.motion-globe-core {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: motionGlobeSpin 56s linear infinite;
    will-change: transform;
}

.motion-globe-meridian {
    position: absolute;
    inset: 0;
    border: 1px solid var(--motion-line-strong);
    border-radius: 50%;
}

.motion-globe-meridian:nth-child(1) { transform: rotateY(0deg); }
.motion-globe-meridian:nth-child(2) { transform: rotateY(45deg); }
.motion-globe-meridian:nth-child(3) { transform: rotateY(90deg); }
.motion-globe-meridian:nth-child(4) { transform: rotateY(135deg); }

.motion-globe-equator {
    position: absolute;
    inset: 0;
    border: 1px solid var(--motion-gold);
    border-radius: 50%;
    transform: rotateX(90deg);
}

.motion-globe-disc {
    position: absolute;
    inset: 36%;
    border: 1px solid var(--motion-line);
    border-radius: 50%;
    background: var(--motion-fill);
}

.motion-globe-orbit {
    position: absolute;
    inset: -7%;
    border: 1px dashed var(--motion-gold);
    border-radius: 50%;
    animation: motionOrbitTurn 22s linear infinite;
}

.motion-globe-orbit .motion-plane {
    position: absolute;
    top: -13px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    fill: var(--motion-gold);
}

.motion-globe-a {
    top: 11%;
    right: -12%;
}

.motion-globe-b {
    top: 60%;
    left: -13%;
    animation-delay: -6s;
    animation-duration: 18s;
}

.motion-globe-b .motion-globe-core {
    animation-direction: reverse;
    animation-duration: 70s;
}

.motion-globe-b .motion-globe-orbit {
    animation-direction: reverse;
    animation-duration: 26s;
}

/* Compass with a live needle. */
.motion-compass {
    width: clamp(84px, 8vw, 118px);
    aspect-ratio: 1;
    border: 1px solid var(--motion-line-strong);
    border-radius: 50%;
    background: var(--motion-fill);
    animation: motionFloat 13s ease-in-out infinite;
}

.motion-compass-ring {
    position: absolute;
    inset: 12%;
    border: 1px dashed var(--motion-gold);
    border-radius: 50%;
}

.motion-compass-tick {
    position: absolute;
    top: 4px;
    left: 50%;
    width: 1px;
    height: 8px;
    background: var(--motion-gold);
    transform: translateX(-50%);
}

.motion-compass-tick-b {
    top: auto;
    bottom: 4px;
}

.motion-compass-tick-c {
    top: 50%;
    left: 4px;
    width: 8px;
    height: 1px;
    transform: translateY(-50%);
}

.motion-compass-tick-d {
    top: 50%;
    left: auto;
    right: 4px;
    width: 8px;
    height: 1px;
    transform: translateY(-50%);
}

.motion-compass-needle {
    position: absolute;
    inset: 20% 48%;
    transform-origin: 50% 50%;
    animation: motionCompassNeedle 16s ease-in-out infinite;
}

.motion-compass-needle::before,
.motion-compass-needle::after {
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    border-radius: 999px;
    content: '';
}

.motion-compass-needle::before {
    top: 0;
    background: var(--motion-gold);
}

.motion-compass-needle::after {
    bottom: 0;
    background: var(--motion-accent);
}

.motion-compass::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--motion-gold);
    content: '';
}

.motion-compass-a {
    top: 4%;
    left: -4.5%;
    animation-delay: -4s;
}

.motion-compass-b {
    top: 74%;
    right: 1.4%;
    animation-delay: -9s;
    animation-duration: 15s;
}

/* Destination pins. */
.motion-pin {
    width: clamp(26px, 2.6vw, 38px);
    aspect-ratio: 1;
    color: var(--motion-gold);
    animation: motionPinBob 10s ease-in-out infinite;
}

.motion-pin svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.motion-pin::after {
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 16px;
    height: 5px;
    border: 1px solid var(--motion-line-strong);
    border-radius: 50%;
    content: '';
    transform: translateX(-50%);
}

.motion-pin-a {
    top: 24%;
    right: 3.5%;
}

.motion-pin-b {
    top: 49%;
    left: 3.5%;
    animation-delay: -3s;
    animation-duration: 12s;
}

.motion-pin-c {
    top: 80.8%;
    left: 4%;
    animation-delay: -6s;
    animation-duration: 11s;
}

/* Dotted flight route with a plane following it. */
.motion-route {
    width: 320px;
    height: 140px;
    animation: motionFloat 17s ease-in-out infinite;
}

.motion-route-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--motion-gold);
    stroke-width: 1.4;
    stroke-dasharray: 4 9;
    stroke-linecap: round;
}

.motion-route-dot {
    fill: var(--motion-gold);
    stroke: none;
}

.motion-route-plane {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    fill: var(--motion-gold);
    offset-path: path("M6 128 Q 96 6 314 66");
    offset-rotate: auto;
    animation: motionRouteFly 16s linear infinite;
}

.motion-route-a {
    top: 34%;
    left: 2%;
}

.motion-route-b {
    top: 76.5%;
    left: 3%;
    animation-delay: -7s;
}

.motion-route-b .motion-route-plane {
    animation-delay: -7s;
}

@keyframes motionFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(8px, -16px, 0); }
}

@keyframes motionOrbSpin {
    from { transform: rotateX(-16deg) rotateY(0deg); }
    to { transform: rotateX(-16deg) rotateY(360deg); }
}

@keyframes motionCubeSpin {
    from { transform: rotateX(-14deg) rotateY(0deg); }
    to { transform: rotateX(346deg) rotateY(360deg); }
}

@keyframes motionGemSpin {
    from { transform: rotate3d(1, 1, 0, 0deg); }
    to { transform: rotate3d(1, 1, 0, 360deg); }
}

@keyframes motionDrift {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .45; }
    50% { transform: translate3d(-10px, 14px, 0); opacity: .9; }
}

@keyframes motionGlobeSpin {
    from { transform: rotateX(-12deg) rotateY(0deg); }
    to { transform: rotateX(-12deg) rotateY(360deg); }
}

@keyframes motionOrbitTurn {
    to { transform: rotate(360deg); }
}

@keyframes motionCompassNeedle {
    0%, 100% { transform: rotate(-24deg); }
    50% { transform: rotate(32deg); }
}

@keyframes motionPinBob {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -11px, 0); }
}

@keyframes motionRouteFly {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
}

@media (max-width: 991.98px) {
    .motion-orb {
        width: clamp(230px, 44vw, 380px);
    }

    .motion-orb-a { right: -22%; }
    .motion-orb-b { left: -24%; }
    .motion-orb-c { right: -22%; }

    .motion-gem-a { right: -3%; }
    .motion-gem-b { left: -3%; }

    .motion-globe { width: clamp(220px, 42vw, 340px); }
    .motion-globe-a { right: -20%; }
    .motion-globe-b { left: -21%; }
}

@media (max-width: 767.98px) {
    .motion-orb { opacity: .72; }
    .motion-globe { opacity: .68; }

    .motion-cube-b,
    .motion-cube-c,
    .motion-gem-b,
    .motion-gem-c,
    .motion-globe-b,
    .motion-compass-b,
    .motion-pin-c,
    .motion-route,
    .motion-speck-d,
    .motion-speck-e,
    .motion-speck-j,
    .motion-speck-k {
        display: none;
    }

    .motion-orb-a { top: 0; right: -34%; }
    .motion-orb-b { left: -36%; }
    .motion-orb-c { right: -34%; }
    .motion-globe-a { right: -30%; }
}

@media (max-width: 575.98px) {
    .motion-orb { width: 235px; }
    .motion-globe { width: 230px; }

    .motion-cube-a { left: -14px; }
    .motion-gem-a { right: -18px; }
    .motion-compass-a { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .motion-bg,
    .motion-bg * {
        animation: none !important;
    }
}
