/* ===== Swift Line — homepage clone ===== */
:root {
    --blue: #1b43fe;
    --blue-dark: #1536cc;
    --navy: #0a1f3e;
    --ink: #0a1f3e;
    --text: #3a4a63;
    --muted: #6b7a92;
    --bg: #ffffff;
    --bg-alt: #f4f7fb;
    --line: #e6e9ef;
    --radius: 18px;
    --shadow: 0 20px 50px rgba(10, 31, 62, 0.1);
    --shadow-sm: 0 8px 24px rgba(10, 31, 62, 0.08);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    scrollbar-color: var(--blue) #071226;
    scrollbar-width: auto;
}
body {
    font-family:
        "Manrope",
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body::-webkit-scrollbar {
    width: 16px;
}
body::-webkit-scrollbar-track {
    background: #071226;
}
body::-webkit-scrollbar-thumb {
    background: var(--blue);
    border: 4px solid #071226;
    border-radius: 999px;
}
body::-webkit-scrollbar-thumb:hover {
    background: #3f6dff;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}
.site-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            70% 55% at 50% 38%,
            rgba(65, 107, 255, 0.24),
            transparent 62%
        ),
        linear-gradient(135deg, #071226, #0a1f3e 46%, #102b64);
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.55s var(--ease),
        visibility 0.55s var(--ease);
}
.site-splash.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.site-splash-card {
    display: grid;
    justify-items: center;
    gap: 16px;
    transform: translateY(0);
    animation: splashCardIn 0.7s var(--ease) both;
}
.site-splash-logo {
    width: 86px;
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}
.site-splash-wordmark {
    width: min(220px, 56vw);
    height: auto;
}
.site-splash-loader {
    position: relative;
    width: min(220px, 56vw);
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}
.site-splash-loader span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 46%;
    border-radius: inherit;
    background: linear-gradient(90deg, #61d6ff, #ffffff, #2b55ff);
    animation: splashLoad 1.15s ease-in-out infinite;
}
@keyframes splashCardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes splashLoad {
    0% {
        transform: translateX(-105%);
    }
    100% {
        transform: translateX(230%);
    }
}
.eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}
.eyebrow.light {
    color: #8fa6ff;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.72em 1.4em;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.25s var(--ease);
    white-space: nowrap;
}
.btn-lg {
    padding: 0.9em 1.9em;
    font-size: 1.02rem;
}
.btn-primary {
    background: var(--blue);
    color: #fff;
}
.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(27, 67, 254, 0.35);
}
.btn-outline {
    border-color: var(--line);
    color: var(--ink);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.btn-ghost {
    color: var(--ink);
    padding-inline: 0.6em;
}
.btn-ghost:hover {
    color: var(--blue);
}
.btn-white {
    background: #fff;
    color: var(--blue);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}
.btn-link {
    color: var(--blue);
    font-weight: 700;
}
.btn-link:hover {
    gap: 0.7em;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 18px 0;
    transition: 0.3s var(--ease);
}
/* Glass lives on ::before, NOT on the header element itself. A backdrop-filter
   on the header would make it the containing block for the fixed mobile drawer
   (collapsing it to the header height). Keeping the element filter-free lets the
   drawer stay viewport-fixed and full height. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-bottom: 1px solid transparent;
    transition:
        background 0.3s var(--ease),
        box-shadow 0.3s var(--ease);
    pointer-events: none;
}
.site-header.scrolled {
    padding: 12px 0;
}
.site-header.scrolled::before {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

/* ---- Dark glass navbar (home) + auto hide/show on scroll ---- */
.site-header.is-hidden {
    transform: translateY(-100%);
}
.site-header--dark .main-nav a,
.site-header--dark .btn-ghost,
.site-header--dark .btn-outline {
    color: rgba(255, 255, 255, 0.9);
}
.site-header--dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.35);
}
.site-header--dark .main-nav a::after {
    background: #fff;
}
.site-header--dark .main-nav a:hover,
.site-header--dark .btn-ghost:hover,
.site-header--dark .btn-outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}
.site-header--dark .nav-toggle span {
    background: #fff;
}
/* dark glass navbar visible by default (at the top, before any scroll) */
.site-header--dark::before {
    background: rgba(9, 15, 33, 0.42);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header--dark.scrolled::before {
    background: rgba(9, 15, 33, 0.66);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}
/* mobile-only elements — hidden on desktop */
.nav-cta {
    display: none;
}
.nav-scrim {
    display: none;
}
@keyframes navLinkIn {
    from {
        opacity: 0;
        transform: translateX(26px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}
.brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.brand span {
    color: var(--blue);
}
.brand-mark {
    color: #3f6dff;
}
.main-nav {
    display: flex;
    gap: 28px;
    margin-right: auto;
}
.main-nav a {
    font-weight: 600;
    color: var(--ink);
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.25s var(--ease);
}
.main-nav a:hover {
    color: var(--blue);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
    width: 100%;
}
.main-nav a.is-active {
    color: var(--blue);
}
.site-header--dark .main-nav a.is-active {
    color: #fff;
}
.site-header--dark .main-nav a.is-active::after {
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.55);
}
.header-actions .btn.is-active {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}
.header-actions .btn-outline.is-active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* ---------- Navbar language dropdown (custom popup) ---------- */
.lang-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.lang-switch {
    position: relative;
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition:
        border-color 0.2s var(--ease),
        background 0.2s var(--ease);
}
.lang-toggle:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
}
.lang-globe {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    color: #7dd3fc;
}
.lang-caret {
    width: 14px;
    height: 14px;
    opacity: 0.8;
    transition: transform 0.28s var(--ease);
}
.lang-switch.open .lang-caret {
    transform: rotate(180deg);
}
.lang-switch.open .lang-toggle {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.16);
}
.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 80;
    min-width: 194px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(12, 18, 32, 0.92);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
        opacity 0.2s var(--ease),
        transform 0.2s var(--ease),
        visibility 0.2s var(--ease);
}
.lang-switch.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.lang-menu li {
    margin: 0;
}
.lang-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition:
        background 0.16s var(--ease),
        color 0.16s var(--ease);
}
.lang-menu button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.lang-badge {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 30px;
    height: 24px;
    border-radius: 6px;
    background: rgba(125, 211, 252, 0.16);
    color: #7dd3fc;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}
.lang-check {
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: #7dd3fc;
    opacity: 0;
    transition: opacity 0.16s var(--ease);
}
.lang-menu button.is-active {
    color: #fff;
}
.lang-menu button.is-active .lang-badge {
    background: var(--blue);
    color: #fff;
}
.lang-menu button.is-active .lang-check {
    opacity: 1;
}

/* keep Google Translate from shifting the page layout */
.google-translate-host,
#google_translate_element {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.goog-te-banner-frame,
.goog-te-balloon-frame,
.skiptranslate iframe,
#goog-gt-tt,
.goog-tooltip,
.goog-te-spinner-pop {
    display: none !important;
}
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}
body {
    top: 0 !important;
    position: static !important;
}
font {
    vertical-align: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 150px 0 90px;
    overflow: visible;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    margin: 6px 0 18px;
}
.hero .accent {
    color: var(--blue);
}
.lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 34ch;
    margin-bottom: 28px;
}
.hero-btns {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.hero-trust {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
}
.hero-trust strong {
    display: block;
    color: var(--ink);
    font-size: 1.05rem;
}
.hero-trust span {
    font-size: 0.86rem;
    color: var(--muted);
}
.hero-art {
    position: relative;
}
.hero-card {
    position: relative;
    background: linear-gradient(160deg, #eaf0ff, #dbe4ff);
    border-radius: 26px;
    padding: 26px;
    box-shadow: var(--shadow);
}
.hero-card.no-img {
    min-height: 340px;
    display: grid;
    place-items: center;
}
.hero-card.no-img::after {
    content: "🚛";
    font-size: 6rem;
}
.badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}
.badge-1 {
    top: 18px;
    left: -16px;
}
.badge-2 {
    bottom: 20px;
    right: -14px;
    color: var(--blue);
}
.hero-blob {
    position: absolute;
    top: -140px;
    right: -140px;
    width: 520px;
    height: 520px;
    background: radial-gradient(
        circle,
        rgba(27, 67, 254, 0.12),
        transparent 70%
    );
    z-index: -1;
}
.track-box {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
}
.track-box label {
    display: block;
    font-weight: 700;
    color: var(--ink);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.track-row {
    display: flex;
    gap: 10px;
}
.track-row input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.6em 1em;
    font-family: inherit;
    font-size: 0.92rem;
}
.track-row input:focus {
    outline: 2px solid var(--blue);
    border-color: var(--blue);
}

/* ---------- Sections ---------- */
.section {
    padding: 90px 0;
}
.section-alt {
    background: var(--bg-alt);
}
.section-head {
    max-width: 760px;
    margin-bottom: 50px;
}
.section-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.grid {
    display: grid;
    gap: 26px;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ---------- Services ---------- */
.services-section {
    --services-light: 0;
    --services-copy-opacity: 0.32;
    --services-copy-y: 28px;
    --services-copy-blur: 2.5px;
    --services-card-y: 34px;
    --services-image-scale: 0.96;
    --services-img-saturation: 0.68;
    --services-image-overlay: 0.28;
    --services-meter: 14%;
    position: relative;
    min-height: clamp(720px, 96vh, 980px);
    overflow: hidden;
    isolation: isolate;
    background: #eeeeec;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        inset 0 -80px 120px rgba(0, 0, 0, 0.06);
}
.services-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.12),
            transparent 16%,
            transparent 82%,
            rgba(0, 0, 0, 0.12)
        ),
        radial-gradient(
            70% 42% at 70% 18%,
            rgba(255, 255, 255, 0.92),
            transparent 64%
        );
    pointer-events: none;
}
.services-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 58px);
    min-height: inherit;
    padding: clamp(78px, 10vh, 112px) 0 clamp(72px, 9vh, 104px);
    align-content: center;
}
.services-left {
    grid-column: 1 / -1;
    max-width: 960px;
}
.services-chip {
    width: max-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid rgba(13, 15, 18, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: rgba(13, 15, 18, 0.58);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.services-title {
    color: rgba(13, 15, 18, 0.18);
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    line-height: 1.14;
    font-weight: 500;
    letter-spacing: 0;
}
.services-title span {
    display: inline;
    color: rgba(13, 15, 18, var(--word-alpha, 0.24));
    text-shadow: 0 0 var(--word-glow, 0px) rgba(208, 0, 8, 0.12);
    transition:
        color 0.14s linear,
        text-shadow 0.14s linear;
}
.services-visuals {
    grid-column: 1 / span 7;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    opacity: var(--services-copy-opacity);
    transform: translateY(var(--services-card-y));
    transition:
        opacity 0.18s linear,
        transform 0.18s linear;
}
.services-image {
    position: relative;
    min-height: clamp(250px, 30vw, 380px);
    overflow: hidden;
    border-radius: 8px;
    background: #d8d8d4;
    box-shadow: 0 22px 60px rgba(13, 15, 18, 0.12);
}
.services-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transform: scale(var(--services-image-scale));
    filter: saturate(var(--services-img-saturation)) contrast(1.02);
    transition:
        transform 0.18s linear,
        filter 0.18s linear;
}
.services-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.2));
    opacity: var(--services-image-overlay);
}
.services-image.no-img {
    display: grid;
    place-items: center;
}
.services-image.no-img::before {
    content: "Logistics";
    color: rgba(13, 15, 18, 0.42);
    font-weight: 800;
}
.services-copy {
    grid-column: 8 / -1;
    align-self: center;
    max-width: 430px;
    color: #111316;
}
/* Fade-up reveal (replaces the earlier scroll-linked dim/bright effect) */
.services-section .services-copy.reveal {
    opacity: 0;
    transform: translateY(38px);
    filter: none;
    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
}
.services-section .services-copy.reveal.in {
    opacity: 1;
    transform: none;
}
.services-copy h3 {
    margin-bottom: 14px;
    color: #111316;
    font-size: clamp(1.08rem, 1.8vw, 1.36rem);
    font-weight: 700;
    letter-spacing: 0;
}
.services-copy p {
    max-width: 36rem;
    color: rgba(13, 15, 18, 0.62);
    font-size: clamp(0.9rem, 1.25vw, 1rem);
    font-weight: 500;
    line-height: 1.55;
}
.services-score {
    margin-top: clamp(42px, 8vw, 88px);
}
.services-score strong {
    display: block;
    color: #0755c9;
    font-size: clamp(4.2rem, 8vw, 6.6rem);
    line-height: 0.86;
    font-weight: 700;
    letter-spacing: 0;
}
.services-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    color: #111316;
    font-size: 0.95rem;
    font-weight: 700;
}
.services-score-row span:last-child {
    color: rgba(13, 15, 18, 0.54);
    font-size: 0.82rem;
}
.services-meter {
    position: relative;
    height: 30px;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    background: #b7b6e8;
}
.services-meter span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0652d5, #276add 74%, #6b8ae6);
    transition: width 1.4s var(--ease);
}
/* fill the bar once the copy has revealed */
.services-copy.in .services-meter span {
    width: 95%;
}
.services-meter em {
    position: absolute;
    right: 19%;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}
.services-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}
.services-steps div {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(13, 15, 18, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
}
.services-steps span {
    display: block;
    margin-bottom: 16px;
    color: #073bc9;
    font-size: 0.7rem;
    font-weight: 800;
}
.services-steps strong {
    display: block;
    color: #111316;
    font-size: 0.78rem;
    line-height: 1.2;
}

.tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eaf0ff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    flex: none;
}
.btn-block {
    width: 100%;
    margin-top: 4px;
}

/* ===== Trucking section w/ background image ===== */
.trucking-tools {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.trucking-tools::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--bg) center/cover no-repeat;
    transform: scale(1.05);
}
.tt-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        120deg,
        rgba(15, 67, 145, 0.642) 0%,
        rgba(10, 31, 62, 0.449) 55%,
        rgba(3, 13, 58, 0.315) 100%
    );
}
.tt-inner {
    position: relative;
}
.tt-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: clamp(36px, 6vw, 84px);
    align-items: center;
}
.tt-copy h2 {
    max-width: 14ch;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    margin-bottom: 16px;
}
.tt-copy p {
    max-width: 46ch;
}
.tt-points {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.tt-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #eaf0ff;
    font-size: 0.98rem;
    font-weight: 600;
}
.tt-check {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(27, 67, 254, 0.5);
}
.tt-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 40px);
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.tt-metric strong {
    display: block;
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}
.tt-metric span {
    display: block;
    margin-top: 6px;
    color: #b9c6e4;
    font-size: 0.78rem;
    font-weight: 600;
}
.tt-tools {
    display: grid;
    gap: 16px;
}

/* --- Live tracking card (enter a number -> /trucking) --- */
.tt-track-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 32px);
    border-radius: 24px;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.tt-track-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(27, 67, 254, 0.55),
        transparent 68%
    );
    pointer-events: none;
}
.tt-track-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.tt-track-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 12px 26px rgba(27, 67, 254, 0.5);
}
.tt-track-icon svg {
    width: 24px;
    height: 24px;
}
.tt-track-heads {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-right: auto;
}
.tt-track-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}
.tt-track-sub {
    font-size: 0.85rem;
    color: #c7d3ec;
}
.tt-track-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    align-self: flex-start;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9be3b4;
}
.tt-track-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: ttPulse 1.8s ease-out infinite;
}
@keyframes ttPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}
.tt-track-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 7px 7px 16px;
    border-radius: 999px;
    background: rgba(9, 20, 40, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition:
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.tt-track-field:focus-within {
    border-color: rgba(120, 150, 255, 0.85);
    box-shadow: 0 0 0 4px rgba(63, 109, 255, 0.22);
}
.tt-track-field-ic {
    flex: none;
    color: #8fa6ff;
    font-size: 1.05rem;
    font-weight: 900;
}
.tt-track-field input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.tt-track-field input::placeholder {
    color: #8091ad;
    font-weight: 500;
    letter-spacing: 0;
}
.tt-track-field input:focus {
    outline: none;
}
.tt-track-field button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.2s var(--ease),
        transform 0.2s var(--ease);
}
.tt-track-field button span {
    transition: transform 0.2s var(--ease);
}
.tt-track-field button:hover {
    background: #3f6dff;
    transform: translateY(-1px);
}
.tt-track-field button:hover span {
    transform: translateX(4px);
}
.tt-track-foot {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.tt-track-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #c7d3ec;
    font-size: 0.72rem;
    font-weight: 700;
}
.tt-track-chip::before {
    content: "✓";
    color: #4ade80;
    font-weight: 900;
}
/* secondary: open transit-times modal */
.tt-transit-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    cursor: pointer;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-family: inherit;
    transition:
        background 0.25s var(--ease),
        border-color 0.25s var(--ease);
}
.tt-transit-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}
.tt-transit-ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.tt-transit-ic svg {
    width: 20px;
    height: 20px;
}
.tt-transit-txt {
    margin-right: auto;
    font-size: 0.95rem;
    font-weight: 700;
    color: #eaf0ff;
}
.lt-arrow {
    font-size: 1.3rem;
    color: #fff;
    transition: transform 0.3s var(--ease);
}
.tt-transit-link:hover .lt-arrow {
    transform: translateX(6px);
}
.tt-company-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0.05)
    );
    color: #fff;
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.26);
}
.tt-company-label {
    display: inline-flex;
    margin-bottom: 9px;
    color: #a9bbff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.tt-company-card h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    font-weight: 900;
    letter-spacing: 0;
}
.tt-company-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.tt-company-list a,
.tt-company-list p {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0;
    color: #eaf0ff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.tt-company-list a:hover {
    color: #fff;
}
.tt-company-list span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.tt-company-list svg {
    width: 16px;
    height: 16px;
}
@media (max-width: 860px) {
    .tt-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .tt-copy h2 {
        max-width: none;
    }
    .tt-company-card {
        padding: 18px;
    }
}
@media (max-width: 480px) {
    .tt-track-field {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 12px;
    }
    .tt-track-field input {
        width: 100%;
        flex-basis: 100%;
        padding-left: 6px;
    }
    .tt-track-field button {
        width: 100%;
        justify-content: center;
    }
    .tt-track-field-ic {
        display: none;
    }
}

/* ===== Glass modal (liquid glass) ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(6, 16, 34, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s var(--ease),
        visibility 0.35s;
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.glass-modal {
    position: relative;
    width: min(460px, 100%);
    border-radius: 26px;
    padding: 34px 32px 30px;
    color: #fff;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.06)
    );
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(24px) scale(0.96);
    opacity: 0;
    transition: 0.4s var(--ease);
}
.modal-overlay.open .glass-modal {
    transform: none;
    opacity: 1;
}
.glass-modal::after {
    /* liquid highlight */
    content: "";
    position: absolute;
    top: -40%;
    left: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.35),
        transparent 70%
    );
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}
.glass-title {
    color: #fff;
    font-size: 1.5rem;
    margin: 6px 0 20px;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    display: grid;
    place-items: center;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.34);
    transform: rotate(90deg);
}

/* tabs */
.tabs {
    position: relative;
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 22px;
}
.tab {
    flex: 1;
    position: relative;
    z-index: 1;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.7em 1em;
    border-radius: 10px;
    color: #dce4f5;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    transition: color 0.25s;
}
.tab.is-active {
    color: var(--blue);
}
.tab-indicator {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc(50% - 5px);
    z-index: 0;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.32s var(--ease);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.tab-indicator.right {
    transform: translateX(100%);
}
.tab-panel {
    display: none;
    animation: panelIn 0.35s var(--ease);
}
.tab-panel.is-active {
    display: block;
}
@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* glass form fields */
.glass-form .field {
    margin-bottom: 16px;
}
.glass-form label {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    color: #e7ecf8;
    margin-bottom: 6px;
}
.glass-form input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 0.8em 1em;
    font-family: inherit;
    font-size: 0.98rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    transition: 0.2s;
}
.glass-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.glass-form input:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.glass-hint {
    text-align: center;
    color: #c7d3ec;
    font-size: 0.85rem;
    margin-top: 12px;
}
body.modal-open {
    overflow: hidden;
}

/* cards */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 28px;
    transition: 0.3s var(--ease);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #eaf0ff;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    margin-bottom: 18px;
}
.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.card p {
    color: var(--muted);
    margin-bottom: 16px;
}
.card-link {
    color: var(--blue);
    font-weight: 700;
}
.card-link:hover {
    text-decoration: underline;
}

/* about / carriers split */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-inner.reverse {
    grid-template-columns: 1fr 1fr;
}
.about-media img {
    border-radius: 22px;
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}
.about-media.no-img {
    background: #dbe4ff;
    border-radius: 22px;
    aspect-ratio: 4/3;
    display: grid;
    place-items: center;
}
.about-media.no-img::after {
    content: "📷";
    font-size: 3rem;
    opacity: 0.5;
}
.about-copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 16px;
}
.about-copy p {
    color: var(--muted);
    margin-bottom: 20px;
}
.check-list {
    list-style: none;
    margin-bottom: 26px;
    display: grid;
    gap: 12px;
}
.check-list li {
    position: relative;
    padding-left: 32px;
    font-weight: 600;
    color: var(--ink);
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 22px;
    height: 22px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
}
.check-list.light li {
    color: #dfe6ff;
}
.check-list.light li::before {
    background: #fff;
    color: var(--blue);
}

/* stats */
.stats {
    background: var(--navy);
    padding: 70px 0;
    color: #fff;
}
.stat {
    text-align: center;
}
.stat-num {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}
.stat-label {
    color: #9fb0cf;
    margin-top: 6px;
    font-weight: 600;
}

/* ---------- Shippers (scroll-driven crane animation) ---------- */
.shippers-scroll {
    background: #fff;
    color: var(--ink);
    position: relative;
}

.shippers-page {
    background: #fff;
}

.shippers-scroll .eyebrow.light {
    color: var(--blue);
}

.shippers-scroll .on-dark,
.shippers-scroll .ss-card h3,
.shippers-scroll .ss-card-arrow {
    color: var(--ink);
}

.shippers-scroll .ss-card {
    border-color: rgba(10, 31, 62, 0.12);
    background: #fff;
    box-shadow: 0 18px 42px rgba(10, 31, 62, 0.08);
}

.shippers-scroll .ss-card-no {
    color: var(--blue);
}

.shippers-scroll .ss-card p {
    color: #45556f;
}

.shippers-scroll .ss-card.is-active {
    background: var(--blue);
    border-color: var(--blue);
}

.shippers-scroll .ss-card.is-active h3,
.shippers-scroll .ss-card.is-active .ss-card-arrow {
    color: #fff;
}

.shippers-scroll .ss-card.is-active p {
    color: #e7ecff;
}

.shippers-scroll .ss-progress {
    background: rgba(10, 31, 62, 0.1);
}
/* Tall track gives the pinned scene room to play out */
.ss-track {
    height: 320vh;
    position: relative;
}
.ss-sticky {
    position: sticky;
    top: 0;
    height: 110vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 70px;
}
.ss-inner {
    display: grid;
    grid-template-columns: 60% 1fr; /* left road 60% cover / right steps */
    gap: 48px;
    align-items: center;
    width: min(1180px, 92%);
}

/* --- left stage: aerial road (full cover) + scroll-driven van --- */
.ss-stage {
    position: relative;
    height: calc(100vh - 130px);
    max-height: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.ss-road {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ss-stage.no-img {
    background: linear-gradient(150deg, #12233f, #0a1830);
}
/* The van rides the road; JS sets left/top (% of stage) + rotation each frame */
.ss-car {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 19%;
    transform: translate(-50%, -50%) rotate(-28deg);
    transform-origin: center;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.5));
    will-change: left, top, transform;
    pointer-events: none;
}

/* --- right panel + cards --- */
.ss-panel .section-head {
    margin-bottom: 26px;
}
.ss-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ss-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    transform: translateX(48px);
    transition:
        opacity 0.55s var(--ease),
        transform 0.55s var(--ease),
        background 0.35s var(--ease),
        border-color 0.35s var(--ease);
}
.ss-card.is-in {
    opacity: 1;
    transform: none;
}
.ss-card-no {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #8fa6ff;
}
.ss-card h3 {
    color: #fff;
    font-size: 1.15rem;
    margin: 8px 0 6px;
}
.ss-card p {
    color: #9fb0cf;
    font-size: 0.95rem;
    max-width: 34ch;
}
.ss-card-arrow {
    position: absolute;
    right: 24px;
    bottom: 20px;
    font-size: 1.2rem;
    color: #fff;
    opacity: 0;
    transform: translateX(-6px);
    transition: 0.35s var(--ease);
}
/* Active card lights up blue as its phase of the descent is reached */
.ss-card.is-active {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 20px 40px rgba(27, 67, 254, 0.35);
}
.ss-card.is-active .ss-card-no {
    color: #cdd8ff;
}
.ss-card.is-active p {
    color: #e7ecff;
}
.ss-card.is-active .ss-card-arrow {
    opacity: 1;
    transform: none;
}

/* thin scroll-progress bar pinned to the bottom of the scene */
.ss-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
}
.ss-progress span {
    display: block;
    height: 100%;
    width: var(--ss-p, 0%);
    background: linear-gradient(90deg, var(--blue), #7d92ff);
}

@media (max-width: 860px) {
    /* Keep the pin: road on top drives the van start->end while the step
       content below updates one card at a time, synced to the van. */
    .ss-track {
        height: 300vh;
    }
    .ss-sticky {
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
        padding-top: 56px;
    }
    .ss-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        align-content: center;
    }
    .ss-stage {
        width: min(400px, 100%);
        height: auto;
        max-height: none;
        aspect-ratio: 1008 / 1046;
        margin-inline: auto;
    }
    .ss-panel {
        width: min(460px, 100%);
        margin-inline: auto;
    }
    .ss-panel .section-head {
        margin-bottom: 14px;
    }
    /* Show one step at a time, crossfading as the van advances */
    .ss-cards {
        position: relative;
        min-height: 150px;
    }
    .ss-card,
    .ss-card.is-in {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        opacity: 0;
        transform: translateY(16px);
        transition:
            opacity 0.4s var(--ease),
            transform 0.4s var(--ease);
    }
    .ss-card.is-active {
        opacity: 1;
        transform: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ss-track {
        height: auto;
    }
    .ss-sticky {
        position: static;
        height: auto;
        padding: 70px 0;
    }
    /* Show the whole road image and every step, no scroll-driven motion */
    .ss-stage {
        height: auto;
        max-height: none;
        aspect-ratio: 1008 / 1046;
    }
    .ss-cards {
        position: static;
        min-height: 0;
    }
    .ss-card {
        position: relative;
        opacity: 1;
        transform: none;
    }
}

/* carriers dark */
.on-dark {
    color: #fff;
}
.on-dark-muted {
    color: #9fb0cf;
}

/* ===== Carriers (owner-operator recruiting) ===== */
.carriers-v2 {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(72px, 10vw, 128px) 0;
    background: linear-gradient(150deg, #0a1f3e, #122a54 60%, #0c2140);
    color: #fff;
}
.cv-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}
.cv-orb-1 {
    top: -140px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle,
        rgba(27, 67, 254, 0.4),
        transparent 68%
    );
}
.cv-orb-2 {
    bottom: -160px;
    left: -140px;
    width: 460px;
    height: 460px;
    background: radial-gradient(
        circle,
        rgba(63, 109, 255, 0.22),
        transparent 70%
    );
}
.cv-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}
.cv-media {
    position: relative;
}
.cv-media-frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(3, 12, 30, 0.55);
}
.cv-media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(6, 18, 40, 0.55));
}
.cv-media-frame img {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
}
.cv-media.no-img .cv-media-frame {
    aspect-ratio: 4 / 4.4;
    background: #16305c;
}
.cv-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: 0 20px 44px rgba(3, 12, 30, 0.45);
    animation: cvFloat 5s ease-in-out infinite;
}
.cv-badge-pay {
    top: 26px;
    left: -22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.cv-badge-pay strong {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.cv-badge-pay span {
    font-size: 0.72rem;
    font-weight: 600;
    color: #c7d3ec;
}
.cv-badge-rating {
    bottom: 30px;
    right: -20px;
    animation-delay: 1.4s;
}
.cv-badge-star {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd25e, #f5a623);
    color: #3a2600;
    font-size: 1rem;
}
.cv-badge-rating-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.cv-badge-rating-txt strong {
    font-size: 1.02rem;
    font-weight: 800;
    color: #fff;
}
.cv-badge-rating-txt span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #c7d3ec;
}
@keyframes cvFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.cv-copy h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    margin: 14px 0 16px;
}
.cv-copy > p {
    max-width: 44ch;
    font-size: 1.02rem;
    line-height: 1.55;
}
.cv-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 30px 0 34px;
}
.cv-benefit {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition:
        transform 0.25s var(--ease),
        background 0.25s var(--ease),
        border-color 0.25s var(--ease);
}
.cv-benefit:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.26);
}
.cv-benefit-ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(27, 67, 254, 0.9);
    color: #fff;
    box-shadow: 0 10px 22px rgba(27, 67, 254, 0.4);
}
.cv-benefit-ic svg {
    width: 21px;
    height: 21px;
}
.cv-benefit-txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cv-benefit-txt strong {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.15;
}
.cv-benefit-txt span {
    color: #9fb0cf;
    font-size: 0.8rem;
    font-weight: 500;
}
.cv-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
.cv-actions button {
    border: 0;
    font-family: inherit;
}
.cv-call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}
.cv-call span {
    transition: transform 0.25s var(--ease);
}
.cv-call:hover span {
    transform: translateX(4px);
}
@media (prefers-reduced-motion: reduce) {
    .cv-badge {
        animation: none !important;
    }
}
@media (max-width: 860px) {
    .cv-inner {
        grid-template-columns: 1fr;
        gap: 54px;
    }
    .cv-media {
        max-width: 460px;
    }
}
@media (max-width: 480px) {
    .cv-benefits {
        grid-template-columns: 1fr;
    }
    .cv-badge-pay {
        left: -8px;
    }
    .cv-badge-rating {
        right: -6px;
    }
}

/* Driver application popup */
body.apply-job-lock {
    overflow: hidden;
}
.apply-job-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
}
.apply-job-modal[hidden] {
    display: none;
}
.apply-job-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 24, 0.76);
    opacity: 0;
    backdrop-filter: blur(10px);
    transition: opacity 0.22s var(--ease);
}
.apply-job-card {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    max-height: min(88vh, 780px);
    overflow: auto;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(73, 111, 255, 0.18),
            transparent 36%
        ),
        #ffffff;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition:
        opacity 0.24s var(--ease),
        transform 0.24s var(--ease);
}
.apply-job-modal.is-open .apply-job-backdrop,
.apply-job-modal.is-open .apply-job-card {
    opacity: 1;
}
.apply-job-modal.is-open .apply-job-card {
    transform: none;
}
.apply-job-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #eef3ff;
    color: var(--ink);
    cursor: pointer;
}
.apply-job-close svg {
    width: 19px;
    height: 19px;
}
.apply-job-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.apply-job-card h2 {
    max-width: 14ch;
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: 0;
}
.apply-job-card > p {
    max-width: 48ch;
    margin: 14px 0 24px;
    color: var(--muted);
    font-weight: 650;
}
.apply-job-success,
.apply-job-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 800;
}
.apply-job-success {
    border: 1px solid #bbf7d0;
    background: #ecfdf3;
    color: #166534;
}
.apply-job-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}
.apply-job-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.apply-job-field {
    display: block;
    min-width: 0;
}
.apply-job-wide {
    grid-column: 1 / -1;
}
.apply-job-field span {
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 900;
}
.apply-job-field input,
.apply-job-field select,
.apply-job-field textarea {
    width: 100%;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background: #fff;
    color: #0a1f3e;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    padding: 15px 16px;
    transition:
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.apply-job-field input::placeholder,
.apply-job-field textarea::placeholder {
    color: #9aa3b2;
}
.apply-job-field textarea {
    min-height: 120px;
    line-height: 1.6;
    resize: vertical;
}
.apply-job-field input:focus,
.apply-job-field select:focus,
.apply-job-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(27, 67, 254, 0.1);
}
.apply-job-submit {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 52px;
    margin-top: 20px;
    padding: 0 34px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 30px -12px rgba(27, 67, 254, 0.6);
    transition:
        transform 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        background 0.2s var(--ease);
}
.apply-job-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -12px rgba(27, 67, 254, 0.65);
}
@media (max-width: 680px) {
    .apply-job-form {
        grid-template-columns: 1fr;
    }
    .apply-job-card {
        max-height: 92vh;
    }
}

/* Driver application page */
.apply-job-page {
    background: #f6f7f9;
}
.apply-page-main {
    min-height: 100vh;
}
.apply-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(118px, 12vw, 154px) 0 clamp(74px, 8vw, 112px);
    background: #f6f7f9;
}
.apply-page-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -35%;
    height: 50%;
    background: radial-gradient(
        closest-side,
        rgba(27, 67, 254, 0.2),
        transparent
    );
    pointer-events: none;
}
.apply-page-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: start;
}
.apply-page-copy {
    position: sticky;
    top: 120px;
}
.apply-page-copy .apply-job-kicker {
    color: #3261f9;
}
.apply-page-copy h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #071233;
    margin: 0 0 22px;
    line-height: 1.05;
}
.apply-page-copy p {
    max-width: 42ch;
    margin: 22px 0 0;
    color: #1b212e;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 450;
    line-height: 1.65;
}
.apply-page-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}
.apply-page-points span {
    padding: 10px 13px;
    border: 1px solid #dde3ee;
    border-radius: 999px;
    background: #fff;
    color: #0a1f3e;
    font-size: 0.82rem;
    font-weight: 900;
}
.apply-page-form {
    padding: 0;
    background: #f6f7f9;
}
.apply-page-group-head {
    padding-bottom: 12px;
    margin: 26px 0 6px;
    border-bottom: 1px solid #e2e5ea;
    color: #0a1f3e;
    font-size: 1.02rem;
    font-weight: 800;
}
.apply-page-group-head:first-of-type {
    margin-top: 0;
}
@media (max-width: 960px) {
    .apply-page-grid {
        grid-template-columns: 1fr;
    }
    .apply-page-copy {
        position: static;
    }
}
@media (max-width: 620px) {
    .apply-page-hero {
        padding-top: 108px;
    }
    .apply-page-copy h1 {
        font-size: clamp(2.4rem, 13vw, 3.4rem);
    }
}

/* reviews */
.reviews-section {
    position: relative;
    overflow: hidden;
    padding: clamp(86px, 12vw, 136px) 0;
    background: var(--bg-alt);
}
.reviews-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            48% 42% at 50% 0%,
            rgba(255, 255, 255, 0.82),
            transparent 70%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.35),
            transparent 34%,
            rgba(0, 0, 0, 0.04)
        );
    pointer-events: none;
}
.reviews-inner {
    position: relative;
    z-index: 1;
}
.reviews-head {
    max-width: 740px;
    margin: 0 auto clamp(46px, 7vw, 76px);
    text-align: center;
}
.reviews-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 16px;
    border: 1px solid rgba(201, 7, 14, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #c9070e;
    font-size: 0.72rem;
    font-weight: 800;
}
.reviews-chip::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 6px;
    border-radius: 50%;
    background: currentColor;
}
.reviews-head h2 {
    margin: 26px 0 18px;
    color: #111316;
    font-size: clamp(1.45rem, 5.2vw, 4.2rem);
    line-height: 1.06;
    font-weight: 500;
    letter-spacing: 0;
}
.reviews-head p {
    max-width: 430px;
    margin-inline: auto;
    color: rgba(17, 19, 22, 0.68);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
}
.reviews-board {
    display: grid;
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}
.review-rating-card,
.review-card {
    min-height: 360px;
    border-radius: 8px;
}
.review-rating-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    background: #12171e;
    color: #fff;
    box-shadow: 0 24px 70px rgba(17, 19, 22, 0.16);
}
.review-rating-card strong {
    color: #fff;
    font-size: clamp(3.4rem, 6vw, 4.8rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: 0;
}
.review-stars {
    display: inline-block;
    color: #d58906;
    letter-spacing: 3px;
    font-size: 1.05rem;
    line-height: 1;
}
.review-rating-card .review-stars {
    margin-top: 20px;
    font-size: 1.3rem;
}
.review-rating-card small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 700;
}
.review-logo-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin-top: auto;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    font-weight: 800;
}
.reviews-slider {
    min-width: 0;
    overflow: hidden;
}
.reviews-track {
    --review-index: 0;
    display: flex;
    gap: 18px;
    transform: translateX(calc(var(--review-index) * -318px));
    transition: transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}
.review-card {
    position: relative;
    flex: 0 0 300px;
    overflow: hidden;
    background: #e1e2e4;
    color: #111316;
}
.review-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: inherit;
    padding: 32px 28px 28px;
}
.review-card h3 {
    margin: 24px 0 12px;
    color: #111316;
    font-size: 1.05rem;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0;
}
.review-card p {
    color: rgba(17, 19, 22, 0.72);
    font-size: 0.88rem;
    line-height: 1.4;
    font-weight: 600;
}
.review-card footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.review-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #c8d7f3;
    color: #074bc9;
    font-size: 0.82rem;
    font-weight: 900;
}
.review-card footer strong {
    display: block;
    color: #0751c9;
    font-size: 0.96rem;
    line-height: 1.1;
}
.review-card footer small {
    display: block;
    margin-top: 3px;
    color: rgba(17, 19, 22, 0.62);
    font-size: 0.75rem;
    font-weight: 700;
}
.review-card-image {
    color: #fff;
    background: #141414;
}
.review-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.68)
    );
}
.review-card-image .review-card-body {
    justify-content: flex-end;
}
.review-card-image .review-stars,
.review-card-image h3 {
    display: none;
}
.review-card-image p,
.review-card-image footer strong,
.review-card-image footer small {
    color: #fff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}
.review-card-image p {
    max-width: 22ch;
    color: rgba(255, 255, 255, 0.88);
}

/* cta */
.cta {
    background: var(--blue);
    padding: 70px 0;
    color: #fff;
}
.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.cta p {
    color: #dbe4ff;
    margin-top: 8px;
}
.cta-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cta-form input {
    border: 0;
    border-radius: 999px;
    padding: 0.85em 1.3em;
    font-family: inherit;
    font-size: 0.95rem;
    min-width: 190px;
}
.cta-form input:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
}

/* footer */
.site-footer {
    background: #111827;
    color: #9fb0cf;
    padding: 64px 0 26px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 34px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand {
    color: #fff;
}
.foot-brand p {
    margin-top: 12px;
    max-width: 32ch;
}
.site-footer h4 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 1rem;
}
.site-footer .footer-grid a {
    display: block;
    padding: 6px 0;
    transition: 0.2s;
}
.site-footer .footer-grid a:hover {
    color: #fff;
}
.foot-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 22px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-showcase {
    padding: 0;
    background: #eeeeec;
}
.footer-shell {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
    min-height: 560px;
    margin: 0;
    padding: clamp(28px, 4vw, 44px) clamp(22px, 5vw, 68px);
    border-radius: 0;
    background: #12171e;
    color: rgba(255, 255, 255, 0.72);
}
.footer-shell.reveal {
    opacity: 0;
    transform: translateY(58px);
}
.footer-shell.reveal.in {
    opacity: 1;
    transform: none;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Sub-pages (quote / trucking) ---------- */
.subpage-hero {
    padding: 130px 0 30px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.subpage-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 6px 0 10px;
}
.quote-wrap {
    max-width: 820px;
    margin-inline: auto;
}
.quote-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}
.quote-panel .field {
    margin-bottom: 18px;
}
.quote-panel label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 6px;
}
.quote-panel input,
.quote-panel select,
.quote-panel textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8em 1em;
    font-family: inherit;
    font-size: 0.98rem;
    transition: 0.2s;
}
.quote-panel input:focus,
.quote-panel select:focus,
.quote-panel textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27, 67, 254, 0.15);
}
.lane-note {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #eaf0ff;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-weight: 600;
    color: var(--ink);
}
.lane-pill {
    background: #fff;
    border-radius: 999px;
    padding: 0.3em 0.9em;
    font-weight: 700;
    color: var(--blue);
}
.lane-arrow {
    color: var(--blue);
    font-weight: 800;
}

/* tracking result timeline */
.track-result {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.track-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.muted-label {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.track-result-head h2 {
    font-size: 1.6rem;
}
.status-chip {
    background: #eaf0ff;
    color: var(--blue);
    font-weight: 700;
    padding: 0.5em 1.1em;
    border-radius: 999px;
}
.track-steps {
    list-style: none;
    display: flex;
    justify-content: space-between;
    position: relative;
    counter-reset: step;
}
.track-steps::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--line);
    z-index: 0;
}
.track-steps li {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}
.track-steps .dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--line);
    display: block;
    margin: 0 auto 10px;
    transition: 0.3s;
}
.track-steps li.done .dot {
    background: var(--blue);
    border-color: var(--blue);
}
.track-steps li.active .dot {
    border-color: var(--blue);
    box-shadow: 0 0 0 5px rgba(27, 67, 254, 0.18);
    background: var(--blue);
}
.track-steps .step-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
}
.track-steps li.done .step-label,
.track-steps li.active .step-label {
    color: var(--ink);
}
.success-check {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #1b43fe;
    color: #fff;
    font-size: 2rem;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
}
@media (max-width: 560px) {
    .track-steps {
        flex-direction: column;
        gap: 16px;
    }
    .track-steps::before {
        display: none;
    }
    .track-steps li {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }
    .track-steps .dot {
        margin: 0;
    }
}

/* ---------- Trucking page ---------- */
.trucking-page {
    background: #f7f9fc;
}
.trk-hero {
    position: relative;
    overflow: hidden;
    padding: 138px 0 82px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.94),
            rgba(235, 241, 255, 0.9)
        ),
        url("../images/truck-bg2.png") center / cover;
}
.trk-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(247, 249, 252, 0), #f7f9fc);
    pointer-events: none;
}
.trk-hero-grid,
.trk-track-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 54px;
    align-items: center;
}
.trk-hero-copy,
.trk-hero-stage,
.trk-track-grid,
.trk-status-card,
.trk-service-section .container {
    position: relative;
    z-index: 1;
}
.trk-hero h1 {
    max-width: 780px;
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: 0.98;
    margin-bottom: 24px;
}
.trk-hero p,
.trk-details-panel > p {
    max-width: 620px;
    font-size: 1.08rem;
    color: #51627b;
}
.trk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}
.trk-hero-stage {
    min-height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 8px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.82),
            rgba(255, 255, 255, 0.55)
        ),
        url("../images/swissmap.png") center / cover;
    box-shadow: 0 28px 80px rgba(10, 31, 62, 0.16);
    overflow: hidden;
}
.trk-map {
    position: absolute;
    inset: 42px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(27, 67, 254, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(27, 67, 254, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
}
.trk-road,
.trk-road-fill {
    position: absolute;
    left: 12%;
    right: 14%;
    top: 54%;
    height: 7px;
    border-radius: 999px;
    transform: rotate(-12deg);
    transform-origin: left center;
}
.trk-road {
    background: rgba(10, 31, 62, 0.14);
}
.trk-road-fill {
    width: 0;
    right: auto;
    background: linear-gradient(90deg, #1b43fe, #19b7ff);
    animation: trkRoadFill 3.8s var(--ease) infinite;
}
.trk-truck {
    position: absolute;
    width: min(210px, 38%);
    left: 6%;
    top: 43%;
    filter: drop-shadow(0 22px 22px rgba(10, 31, 62, 0.22));
    animation: trkTruckDrive 3.8s var(--ease) infinite;
}
.trk-pin {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    border: 8px solid rgba(27, 67, 254, 0.16);
    font-weight: 800;
    font-size: 0.76rem;
    box-shadow: 0 14px 30px rgba(10, 31, 62, 0.13);
}
.trk-pin::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: inherit;
    border: 1px solid rgba(27, 67, 254, 0.32);
    animation: trkPinPulse 1.9s ease-out infinite;
}
.trk-pin-a {
    left: 8%;
    top: 61%;
}
.trk-pin-b {
    right: 8%;
    top: 30%;
}
.trk-live-card {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: min(300px, calc(100% - 52px));
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 50px rgba(10, 31, 62, 0.14);
    backdrop-filter: blur(14px);
    animation: trkCardFloat 4.6s ease-in-out infinite;
}
.trk-live-card span,
.trk-detail-card span {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.trk-live-card strong,
.trk-detail-card strong {
    display: block;
    color: var(--ink);
    font-size: 1.2rem;
    margin: 5px 0 4px;
}
.trk-live-card small,
.trk-detail-card small {
    color: #66758d;
}
.trk-track-section,
.trk-status-section,
.trk-service-section {
    padding: 82px 0;
}
.trk-details-panel,
.trk-tracker-card,
.trk-status-card,
.trk-service-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.trk-details-panel {
    padding: 34px;
}
.trk-details-panel h2,
.trk-service-section h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 16px;
}
.trk-detail-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}
.trk-detail-card {
    position: relative;
    padding: 18px 18px 18px 22px;
    border: 1px solid #e9edf5;
    border-radius: 8px;
    overflow: hidden;
    animation: trkDetailIn 0.72s var(--ease) both;
    animation-delay: calc(var(--i) * 120ms + 180ms);
}
.trk-detail-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(#1b43fe, #19b7ff);
}
.trk-tracker-card {
    padding: 30px;
}
.trk-tracker-card .tool-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #eaf0ff;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}
.trk-status-section {
    background: #fff;
}
.trk-status-card {
    padding: 34px;
}
.trk-status-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
}
.trk-status-steps::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 17px;
    height: 4px;
    border-radius: 999px;
    background: #e7ebf2;
}
.trk-status-steps li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.86rem;
    text-align: center;
    animation: trkDetailIn 0.55s var(--ease) both;
    animation-delay: calc(var(--i) * 90ms);
}
.trk-status-steps .dot {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 4px solid #dfe5ef;
    background: #fff;
    box-shadow: 0 0 0 8px #fff;
}
.trk-status-steps li.done .dot,
.trk-status-steps li.active .dot {
    border-color: var(--blue);
    background: var(--blue);
}
.trk-status-steps li.active .dot {
    animation: trkActivePulse 1.7s ease-out infinite;
}
.trk-status-steps li.done,
.trk-status-steps li.active {
    color: var(--ink);
}
.trk-status-foot {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.trk-status-foot p {
    color: var(--muted);
}
.trk-status-foot a {
    color: var(--blue);
    font-weight: 800;
}
.trk-service-section {
    background: #f7f9fc;
}
.trk-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}
.trk-service-card {
    position: relative;
    min-height: 260px;
    padding: 28px;
    overflow: hidden;
}
.trk-service-card::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1b43fe, rgba(27, 67, 254, 0.08));
    transform: scaleX(0.22);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.trk-service-card:hover::after {
    transform: scaleX(1);
}
.trk-service-stat {
    display: inline-grid;
    place-items: center;
    min-width: 68px;
    height: 44px;
    border-radius: 8px;
    background: #eaf0ff;
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 26px;
}
.trk-service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}
.trk-service-card p {
    color: #5b6a81;
}
@keyframes trkRoadFill {
    0%,
    12% {
        width: 0;
    }
    68%,
    100% {
        width: 76%;
    }
}
@keyframes trkTruckDrive {
    0%,
    12% {
        transform: translate(0, 0) rotate(-3deg);
    }
    68%,
    100% {
        transform: translate(255%, -82%) rotate(-3deg);
    }
}
@keyframes trkPinPulse {
    0% {
        opacity: 0.75;
        transform: scale(0.78);
    }
    100% {
        opacity: 0;
        transform: scale(1.45);
    }
}
@keyframes trkCardFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes trkDetailIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes trkActivePulse {
    0% {
        box-shadow:
            0 0 0 8px #fff,
            0 0 0 8px rgba(27, 67, 254, 0.22);
    }
    100% {
        box-shadow:
            0 0 0 8px #fff,
            0 0 0 24px rgba(27, 67, 254, 0);
    }
}
@media (max-width: 980px) {
    .trk-hero-grid,
    .trk-track-grid {
        grid-template-columns: 1fr;
    }
    .trk-hero-stage {
        min-height: 440px;
    }
    .trk-service-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .trk-hero {
        padding: 118px 0 58px;
    }
    .trk-hero-stage {
        min-height: 350px;
    }
    .trk-map {
        inset: 22px;
    }
    .trk-truck {
        width: 160px;
    }
    .trk-live-card {
        left: 18px;
        right: 18px;
        bottom: 18px;
        width: auto;
    }
    .trk-track-section,
    .trk-status-section,
    .trk-service-section {
        padding: 58px 0;
    }
    .trk-details-panel,
    .trk-tracker-card,
    .trk-status-card,
    .trk-service-card {
        padding: 22px;
    }
    .trk-status-steps {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .trk-status-steps::before {
        display: none;
    }
    .trk-status-steps li {
        grid-template-columns: 36px 1fr;
        justify-items: start;
        text-align: left;
    }
}
@media (prefers-reduced-motion: reduce) {
    .trk-road-fill,
    .trk-truck,
    .trk-pin::after,
    .trk-live-card,
    .trk-detail-card,
    .trk-status-steps li,
    .trk-status-steps li.active .dot {
        animation: none !important;
    }
    .trk-road-fill {
        width: 76%;
    }
    .trk-truck {
        transform: translate(255%, -82%) rotate(-3deg);
    }
}

/* ---------- Drone tracking refresh ---------- */
.trk-drone-hero {
    background:
        radial-gradient(
            circle at 74% 14%,
            rgba(255, 255, 255, 0.22),
            transparent 24%
        ),
        linear-gradient(135deg, #f7fbff 0%, #eef6f5 42%, #f8fafc 100%);
}
.trk-drone-hero::after {
    background: linear-gradient(180deg, rgba(247, 249, 252, 0), #f7f9fc);
}
.trk-hero-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: min(560px, 100%);
    margin-top: 30px;
    padding: 8px;
    border: 1px solid #dce7e7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(10, 31, 62, 0.09);
}
.trk-hero-form input {
    min-width: 0;
    border: 0;
    padding: 0 12px;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    outline: 0;
}
.trk-hero-form button,
.trk-arrival-card button {
    border: 0;
    border-radius: 8px;
    background: #089383;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.25s var(--ease),
        background 0.25s var(--ease);
}
.trk-hero-form button {
    padding: 14px 22px;
}
.trk-hero-form button:hover,
.trk-arrival-card button:hover {
    background: #06786d;
    transform: translateY(-2px);
}
.trk-drone-phone {
    position: relative;
    min-height: 660px;
    width: min(390px, 100%);
    justify-self: center;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(
            150deg,
            rgba(13, 151, 136, 0.9),
            rgba(28, 171, 157, 0.72)
        ),
        url("../images/swissmap.png") center / cover;
    box-shadow: 0 34px 80px rgba(7, 76, 82, 0.24);
    isolation: isolate;
}
.trk-drone-phone::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 66% 32%,
            rgba(255, 255, 255, 0.24),
            transparent 22%
        ),
        linear-gradient(180deg, rgba(0, 71, 75, 0.05), rgba(0, 71, 75, 0.18));
    pointer-events: none;
}
.trk-drone-brand {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    color: #fff;
}
.trk-drone-brand span {
    display: block;
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 900;
}
.trk-drone-brand small {
    display: block;
    font-weight: 800;
    margin-top: 6px;
}
.trk-drone-route {
    position: absolute;
    inset: 90px 0 160px;
    z-index: 1;
    width: 100%;
    height: auto;
}
.trk-drone-shape {
    position: absolute;
    top: 58px;
    right: 16px;
    z-index: 3;
    width: 230px;
    height: 180px;
    filter: drop-shadow(0 26px 22px rgba(8, 72, 76, 0.24));
    animation: trkDroneFloat 4.8s ease-in-out infinite;
}
.trk-drone-shape .body,
.trk-drone-shape .arm,
.trk-drone-shape .rotor {
    position: absolute;
    display: block;
}
.trk-drone-shape .body {
    left: 84px;
    top: 64px;
    width: 76px;
    height: 52px;
    border-radius: 18px 18px 24px 24px;
    background: linear-gradient(145deg, #223341, #6c7b88);
    transform: rotate(14deg);
}
.trk-drone-shape .body::before {
    content: "";
    position: absolute;
    left: 20px;
    bottom: -12px;
    width: 34px;
    height: 18px;
    border-radius: 999px;
    background: #101821;
}
.trk-drone-shape .arm {
    left: 38px;
    top: 78px;
    width: 166px;
    height: 10px;
    border-radius: 999px;
    background: #4d6570;
}
.trk-drone-shape .arm-a {
    transform: rotate(26deg);
}
.trk-drone-shape .arm-b {
    transform: rotate(-24deg);
}
.trk-drone-shape .rotor {
    width: 68px;
    height: 20px;
    border-radius: 50%;
    border: 5px solid rgba(31, 51, 61, 0.5);
    background: rgba(255, 255, 255, 0.2);
    animation: trkRotorSpin 0.26s linear infinite;
}
.trk-drone-shape .r1 {
    left: 4px;
    top: 32px;
}
.trk-drone-shape .r2 {
    right: 4px;
    top: 28px;
}
.trk-drone-shape .r3 {
    left: 8px;
    bottom: 30px;
}
.trk-drone-shape .r4 {
    right: 18px;
    bottom: 26px;
}
.trk-arrival-card {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 4;
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 28px 55px rgba(7, 60, 64, 0.2);
}
.trk-arrival-card > span,
.trk-id-row small,
.trk-arrival-stats small {
    display: block;
    color: #6b7a92;
    font-size: 0.72rem;
    font-weight: 800;
}
.trk-arrival-card > strong {
    display: block;
    margin-top: 5px;
    color: #089383;
    font-size: 1.8rem;
}
.trk-arrival-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 20px 0;
}
.trk-arrival-stats span,
.trk-id-row b {
    color: var(--ink);
    font-weight: 900;
}
.trk-id-row {
    margin-bottom: 20px;
}
.trk-arrival-card button {
    width: 100%;
    padding: 15px;
}
.trk-result-shell {
    padding: 82px 0;
    background: #fff;
}
.trk-result-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    gap: 32px;
    align-items: stretch;
}
.trk-delivery-details,
.trk-live-summary {
    border: 1px solid #e7ecef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(10, 31, 62, 0.08);
}
.trk-delivery-details {
    padding: 26px 24px;
}
.trk-delivery-details header h2 {
    font-size: 1.65rem;
}
.trk-delivery-details header h2 span {
    color: #089383;
}
.trk-delivery-details header p {
    margin-top: 4px;
    color: #68778d;
    font-weight: 700;
}
.trk-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}
.trk-detail-grid span {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e7ecef;
    border-radius: 8px;
    background: #f7f9fc;
}
.trk-detail-grid small {
    display: block;
    margin-bottom: 4px;
    color: #68778d;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}
.trk-detail-grid strong {
    display: block;
    color: #0a1f3e;
    font-size: 0.92rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.trk-delivery-timeline {
    list-style: none;
    margin-top: 28px;
}
.trk-delivery-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    min-height: 90px;
    animation: trkDetailIn 0.55s var(--ease) both;
    animation-delay: calc(var(--i) * 90ms);
}
.trk-delivery-timeline li::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 42px;
    bottom: -4px;
    width: 2px;
    background: #dfe7ea;
}
.trk-delivery-timeline li:last-child::before {
    display: none;
}
.trk-step-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #edf2f4;
    color: #7a8793;
    font-weight: 900;
}
.trk-delivery-timeline li.done .trk-step-icon {
    background: #089383;
    color: #fff;
}
.trk-delivery-timeline li.active .trk-step-icon {
    background: #f5bb28;
    color: #101820;
    animation: trkActivePulse 1.7s ease-out infinite;
}
.trk-delivery-timeline strong {
    display: block;
    color: #101820;
    font-size: 0.98rem;
}
.trk-delivery-timeline small {
    display: block;
    margin-top: 2px;
    color: #6f7d8b;
    font-weight: 800;
}
.trk-delivery-timeline p {
    margin-top: 3px;
    color: #66758d;
    font-size: 0.82rem;
    line-height: 1.35;
}
.trk-live-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
    background:
        linear-gradient(
            140deg,
            rgba(8, 147, 131, 0.94),
            rgba(15, 124, 156, 0.92)
        ),
        url("../images/swissmap.png") center / cover;
    color: #fff;
}
.trk-live-summary .eyebrow,
.trk-live-summary h2,
.trk-live-summary p {
    color: #fff;
}
.trk-live-summary h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin: 8px 0 14px;
}
.trk-live-summary p {
    max-width: 520px;
    opacity: 0.86;
}
.trk-summary-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0;
}
.trk-summary-metrics span {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 1.15rem;
    font-weight: 900;
}
.trk-summary-metrics small {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.72rem;
    text-transform: uppercase;
}
.trk-customer-card {
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
}
.trk-customer-card > strong {
    display: block;
    margin-bottom: 14px;
    color: #fff;
    font-size: 1rem;
}
.trk-customer-card div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.trk-customer-card span {
    min-width: 0;
}
.trk-customer-card small,
.trk-customer-card b {
    display: block;
}
.trk-customer-card small {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}
.trk-customer-card b {
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.trk-delivery-card {
    margin-bottom: 14px;
}
.trk-live-summary .btn {
    align-self: flex-start;
    background: #fff;
    color: #089383;
}
@keyframes trkDroneFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-14px) rotate(2deg);
    }
}
@keyframes trkRotorSpin {
    to {
        transform: rotate(180deg);
    }
}
@media (max-width: 980px) {
    .trk-result-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .trk-hero-form {
        grid-template-columns: 1fr;
    }
    .trk-hero-form input {
        min-height: 48px;
    }
    .trk-drone-phone {
        min-height: 590px;
    }
    .trk-drone-shape {
        top: 80px;
        right: -12px;
        transform: scale(0.86);
    }
    .trk-arrival-card {
        left: 18px;
        right: 18px;
        bottom: 18px;
        padding: 20px;
    }
    .trk-result-shell {
        padding: 58px 0;
    }
    .trk-summary-metrics {
        grid-template-columns: 1fr;
    }
    .trk-customer-card div {
        grid-template-columns: 1fr;
    }
    .trk-detail-grid {
        grid-template-columns: 1fr;
    }
    .trk-live-summary {
        padding: 26px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .trk-drone-shape,
    .trk-drone-shape .rotor,
    .trk-delivery-timeline li,
    .trk-delivery-timeline li.active .trk-step-icon {
        animation: none !important;
    }
}

/* ---------- Trucking page final polish ---------- */
.trucking-page .mx-3 {
    margin-inline: 0.75rem;
}
.trk-drone-phone {
    background:
        radial-gradient(
            circle at 70% 24%,
            rgba(255, 255, 255, 0.18),
            transparent 24%
        ),
        linear-gradient(
            150deg,
            rgba(27, 67, 254, 0.92),
            rgba(25, 131, 255, 0.78)
        ),
        url("../images/swissmap.png") center / cover;
}
.trk-hero-form button,
.trk-arrival-card button {
    background: var(--blue);
}
.trk-hero-form button:hover,
.trk-arrival-card button:hover {
    background: var(--blue-dark);
}
.trk-arrival-card > strong,
.trk-live-summary .btn,
.trk-delivery-details header h2 span {
    color: var(--blue);
}
.trk-live-summary {
    background:
        linear-gradient(140deg, rgba(0, 0, 0, 0.719), rgba(0, 0, 0, 0.73)),
        url("../images/deliveryposter.png") center / cover;
}
.trk-delivery-timeline li.done .trk-step-icon {
    background: var(--blue);
}
.trk-delivery-timeline li.active .trk-step-icon {
    background: #eaf0ff;
    color: var(--blue);
    border: 2px solid rgba(27, 67, 254, 0.2);
}
.trk-step-icon img {
    width: 30px;
    height: 22px;
    object-fit: contain;
    animation: trkMiniVehicle 1.8s ease-in-out infinite;
}
.trk-route-vehicle {
    position: absolute;
    z-index: 3;
    left: 18%;
    top: 43%;
    width: 76px;
    height: auto;
    filter: drop-shadow(0 15px 16px rgba(10, 31, 62, 0.24));
    animation: trkRouteVehicle 5.2s var(--ease) infinite;
}
.trk-fail-card {
    display: flex;
    align-items: center;
    gap: 22px;
    width: min(850px, 100%);
    margin-inline: auto;
    padding: 30px;
    border: 1px solid rgba(27, 67, 254, 0.16);
    border-radius: 8px;
    background: linear-gradient(
        135deg,
        rgba(234, 240, 255, 0.95),
        rgba(255, 255, 255, 0.98)
    );
    box-shadow: 0 18px 44px rgba(10, 31, 62, 0.08);
}
.trk-fail-icon {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(27, 67, 254, 0.24);
}
.trk-fail-card h2 {
    margin: 4px 0 8px;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
}
.trk-fail-card p {
    color: #51627b;
}
.trk-fail-card strong {
    color: var(--blue);
}
@keyframes trkRouteVehicle {
    0%,
    14% {
        transform: translate(0, 0) rotate(12deg) scale(0.92);
        opacity: 0.85;
    }
    55% {
        transform: translate(88px, -28px) rotate(-4deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(176px, -76px) rotate(-13deg) scale(0.96);
        opacity: 0.88;
    }
}

/* Trucking result: premium status layout */
.trk-result-shell {
    background:
        radial-gradient(circle at 8% 10%, rgba(27, 67, 254, 0.08), transparent 28%),
        linear-gradient(180deg, #f6f8fc 0%, #ffffff 68%);
}
.trk-result-grid {
    grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(26px, 3vw, 40px);
}
.trk-delivery-details,
.trk-live-summary {
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(10, 31, 62, 0.12);
}
.trk-delivery-details {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3vw, 34px);
    border-color: rgba(27, 67, 254, 0.12);
}
.trk-delivery-details::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), #6ea4ff, #10b9a6);
}
.trk-delivery-details header h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    letter-spacing: 0;
}
.trk-delivery-details header p {
    font-size: 0.98rem;
}
.trk-delivery-timeline {
    margin-top: 34px;
}
.trk-delivery-timeline li {
    grid-template-columns: 56px 1fr;
    min-height: 108px;
    animation: trkTimelineRise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.trk-delivery-timeline li::before {
    left: 27px;
    top: 50px;
    bottom: -8px;
    width: 3px;
    border-radius: 999px;
    background: #dbe5f7;
}
.trk-delivery-timeline li.done::before {
    background: linear-gradient(180deg, var(--blue), #8fb0ff);
    animation: trkRailFill 0.7s ease both;
    animation-delay: calc(var(--i) * 100ms + 160ms);
}
.trk-step-icon {
    width: 48px;
    height: 48px;
    border: 5px solid #fff;
    box-shadow: 0 12px 26px rgba(27, 67, 254, 0.16);
}
.trk-delivery-timeline li.done .trk-step-icon {
    background: linear-gradient(145deg, var(--blue), #4d73ff);
}
.trk-delivery-timeline li.active .trk-step-icon {
    background: #fff;
    box-shadow:
        0 0 0 10px rgba(27, 67, 254, 0.08),
        0 0 0 20px rgba(27, 67, 254, 0.05);
}
.trk-delivery-timeline strong {
    font-size: 1.03rem;
}
.trk-delivery-timeline small {
    margin-top: 5px;
    color: #51627b;
    font-size: 0.88rem;
}
.trk-delivery-timeline p {
    margin-top: 7px;
    color: #70809a;
    font-size: 0.9rem;
}
.trk-live-summary {
    position: relative;
    justify-content: flex-start;
    overflow: hidden;
    min-height: 620px;
    padding: clamp(34px, 4vw, 54px);
    border-color: rgba(255, 255, 255, 0.2);
    background:
        linear-gradient(105deg, rgba(8, 13, 20, 0.93), rgba(19, 26, 34, 0.82) 48%, rgba(6, 14, 28, 0.72)),
        url("../images/deliveryposter.png") center / cover;
}
.trk-live-summary::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 83% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
        linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.24));
    pointer-events: none;
}
.trk-live-summary > * {
    position: relative;
    z-index: 1;
}
.trk-live-summary .eyebrow {
    letter-spacing: 0.12em;
}
.trk-live-summary h2 {
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    line-height: 0.92;
    margin: 20px 0 18px;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}
.trk-live-summary p {
    max-width: 680px;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.55;
}
.trk-customer-card {
    margin-bottom: 16px;
    padding: 20px;
    border-color: rgba(255, 255, 255, 0.26);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.11);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 40px rgba(0, 0, 0, 0.18);
}
.trk-delivery-card {
    margin-top: 22px;
}
.trk-customer-card > strong {
    font-size: 1.08rem;
}
.trk-customer-card div {
    gap: 16px 18px;
}
.trk-customer-card small {
    font-size: 0.7rem;
}
.trk-customer-card b {
    font-size: 0.96rem;
}
.trk-live-summary .btn {
    margin-top: 14px;
    min-width: 164px;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.trk-live-summary .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}
@keyframes trkTimelineRise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes trkRailFill {
    from {
        transform: scaleY(0);
        transform-origin: top;
    }
    to {
        transform: scaleY(1);
        transform-origin: top;
    }
}
@media (max-width: 980px) {
    .trk-live-summary {
        min-height: 0;
    }
}
@media (max-width: 640px) {
    .trk-delivery-details,
    .trk-live-summary {
        border-radius: 12px;
    }
    .trk-live-summary h2 {
        font-size: clamp(2.55rem, 13vw, 3.7rem);
    }
    .trk-customer-card div {
        grid-template-columns: 1fr;
    }
}
@keyframes trkMiniVehicle {
    0%,
    100% {
        transform: translateX(-2px) rotate(-2deg);
    }
    50% {
        transform: translateX(3px) rotate(2deg);
    }
}
@media (max-width: 640px) {
    .trk-fail-card {
        align-items: flex-start;
        padding: 22px;
    }
    .trk-route-vehicle {
        width: 62px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .trk-route-vehicle,
    .trk-step-icon img {
        animation: none !important;
    }
}

/* ---------- Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.7s var(--ease),
        transform 0.7s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}
.float {
    animation: float 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .float {
        animation: none;
    }
    .reviews-track {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-stage {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 28px;
    }
    .services-left,
    .services-visuals,
    .services-copy,
    .services-steps {
        grid-column: 1 / -1;
    }
    .services-copy {
        max-width: 680px;
    }
    .hero-inner,
    .about-inner,
    .about-inner.reverse {
        grid-template-columns: 1fr;
    }
    .about-inner.reverse .about-media {
        order: -1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .reviews-board {
        grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    }
    .review-rating-card,
    .review-card {
        min-height: 330px;
    }
    .review-card {
        flex-basis: 280px;
    }
}
@media (max-width: 760px) {
    .main-nav {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 60;
        width: min(84%, 340px);
        background: rgba(11, 17, 34, 0.82);
        -webkit-backdrop-filter: blur(24px) saturate(150%);
        backdrop-filter: blur(24px) saturate(150%);
        border-left: 1px solid rgba(255, 255, 255, 0.12);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 4px;
        padding: 104px 22px 40px;
        transform: translateX(100%);
        transition: transform 0.42s var(--ease);
        box-shadow: -24px 0 70px rgba(0, 0, 0, 0.5);
    }
    .main-nav.open {
        transform: none;
    }
    .main-nav a {
        font-size: 1.1rem;
        color: #fff;
        padding: 14px 16px;
        border-radius: 12px;
        opacity: 0;
        transform: translateX(24px);
        transition:
            opacity 0.4s var(--ease),
            transform 0.4s var(--ease),
            background 0.2s var(--ease);
    }
    .main-nav a::after {
        display: none;
    }
    .main-nav a:hover,
    .main-nav a:focus-visible,
    .main-nav a.is-active {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }
    .main-nav a.is-active {
        box-shadow: inset 3px 0 0 #fff;
    }
    .main-nav.open a {
        opacity: 1;
        transform: none;
    }
    .main-nav.open a:nth-child(1) {
        transition-delay: 0.08s;
    }
    .main-nav.open a:nth-child(2) {
        transition-delay: 0.14s;
    }
    .main-nav.open a:nth-child(3) {
        transition-delay: 0.2s;
    }
    .main-nav.open a:nth-child(4) {
        transition-delay: 0.26s;
    }
    .main-nav.open a:nth-child(5) {
        transition-delay: 0.32s;
    }
    .main-nav.open a:nth-child(6) {
        transition-delay: 0.38s;
    }
    /* the in-list "Get a quote" CTA (mobile only) */
    .nav-cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-top: 16px;
        padding: 15px 18px !important;
        background: var(--blue);
        color: #fff !important;
        border-radius: 12px;
        font-weight: 800;
        box-shadow: 0 14px 30px rgba(27, 67, 254, 0.4);
    }
    .nav-cta:hover {
        background: var(--blue-dark, #1536cc);
    }
    .nav-toggle {
        display: flex;
    }
    .lang-toggle {
        min-height: 38px;
        padding: 0 10px;
        gap: 6px;
    }
    .lang-globe {
        width: 16px;
        height: 16px;
    }
    .lang-menu {
        min-width: 180px;
    }
    /* the top-bar buttons move into the drawer on mobile */
    .header-actions .btn-ghost,
    .header-actions .btn-outline,
    .header-actions .btn-primary {
        display: none;
    }
    /* mobile drawer backdrop */
    .nav-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(4, 8, 16, 0.55);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.4s var(--ease),
            visibility 0.4s var(--ease);
    }
    body.nav-open .nav-scrim {
        opacity: 1;
        visibility: visible;
    }
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .reviews-board {
        grid-template-columns: 1fr;
    }
    .review-rating-card {
        min-height: 260px;
    }
    /* one full testimonial card visible at a time, sliding one-by-one */
    .reviews-track {
        gap: 0;
    }
    .review-card {
        flex: 0 0 100%;
        min-height: 300px;
    }
}
@media (max-width: 560px) {
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .services-section {
        min-height: auto;
    }
    .services-stage {
        padding: 74px 0 82px;
        gap: 24px;
    }
    .services-title {
        font-size: clamp(2.35rem, 13vw, 3.6rem);
        line-height: 1.08;
    }
    .services-visuals {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .services-image {
        min-height: 230px;
    }
    .services-copy p {
        font-size: 0.92rem;
    }
    .services-steps {
        grid-template-columns: 1fr;
    }
    .services-score {
        margin-top: 36px;
    }
    .reviews-section {
        padding: 76px 0;
    }
    .reviews-head {
        margin-bottom: 34px;
    }
    .reviews-head h2 {
        font-size: clamp(2.1rem, 11vw, 3.25rem);
    }
    .reviews-head p {
        font-size: 0.86rem;
    }
    .review-card-body {
        padding: 26px 22px 24px;
    }
    .review-logo-row {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-showcase {
        padding: 0;
    }
    .hero {
        padding-top: 120px;
    }
    .hero-btns {
        flex-wrap: wrap;
    }
}

/* =======================================================================
   AUTOPLAY DELIVERY HERO  (namespaced `sx-` — SICEPAT-style red stage)
   -----------------------------------------------------------------------
   A single-viewport hero. On load, JS adds `.is-live` to [data-sx-hero]:
     - the headline reveals (staggered)
     - the van (images/car.png) drives in from the right and parks
     - a liquid-glass popup rises with animated Swiss-city dropdowns
   All motion is time-based (no scrolling). Honors prefers-reduced-motion.
   ======================================================================= */
.sx-hero {
    /* hero palette (blue) — swap these three to re-theme the whole stage    */
    --sx-red: #1b43fe; /* mid   */
    --sx-red-deep: #0b2599; /* deep  */
    --sx-red-light: #3f6dff; /* light */
    position: relative;
    height: 200vh; /* scroll track: longer = slower van travel   */
    background: var(--sx-red-deep);
}

/* Pinned stage: stays put while the 200vh track scrolls past it. */
.sx-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(
            180deg,
            rgba(4, 18, 46, 0.18) 0%,
            rgba(4, 18, 46, 0.2) 42%,
            rgba(4, 18, 46, 0.46) 100%
        ),
        url("/images/hero-bg.png") center bottom / cover no-repeat,
        var(--sx-red-deep);
}

.sx-stage::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 4;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.842), rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* ---- animated backdrop ------------------------------------------------ */
.sx-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.sx-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.28),
        rgba(255, 255, 255, 0) 62%
    );
    filter: blur(10px);
    animation: sxGlow 9s ease-in-out infinite alternate;
}
@keyframes sxGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-4%, 3%) scale(1.12);
        opacity: 0.7;
    }
}
/* soft ground line the van sits on */
.sx-road {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8vh;
    height: 46vh;
    background: radial-gradient(
        80% 60% at 62% 100%,
        rgba(0, 0, 0, 0.32),
        rgba(0, 0, 0, 0) 70%
    );
    pointer-events: none;
    display: none;
}
/* speed streaks that rush past while the van is driving in */
.sx-speed {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.sx-speed i {
    position: absolute;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.85)
    );
    opacity: 0;
    right: -30%;
}
.sx-speed i:nth-child(1) {
    top: 44%;
    width: 24%;
}
.sx-speed i:nth-child(2) {
    top: 52%;
    width: 32%;
}
.sx-speed i:nth-child(3) {
    top: 60%;
    width: 18%;
}
.sx-speed i:nth-child(4) {
    top: 66%;
    width: 28%;
}
.sx-speed i:nth-child(5) {
    top: 49%;
    width: 14%;
}
.sx-hero.is-live .sx-speed i {
    animation: sxStreak 1.05s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.sx-hero.is-live .sx-speed i:nth-child(2) {
    animation-delay: 0.06s;
}
.sx-hero.is-live .sx-speed i:nth-child(3) {
    animation-delay: 0.12s;
}
.sx-hero.is-live .sx-speed i:nth-child(4) {
    animation-delay: 0.18s;
}
.sx-hero.is-live .sx-speed i:nth-child(5) {
    animation-delay: 0.03s;
}
@keyframes sxStreak {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    18% {
        opacity: 0.9;
    }
    100% {
        transform: translateX(-150vw);
        opacity: 0;
    }
}
/* re-trigger the streaks (fresh animation name) when the van exits fast */
.sx-hero.is-leaving .sx-speed i {
    animation: sxStreakExit 0.55s cubic-bezier(0.5, 0, 0.75, 0) forwards;
}
.sx-hero.is-leaving .sx-speed i:nth-child(2) {
    animation-delay: 0.03s;
}
.sx-hero.is-leaving .sx-speed i:nth-child(3) {
    animation-delay: 0.06s;
}
.sx-hero.is-leaving .sx-speed i:nth-child(4) {
    animation-delay: 0.09s;
}
.sx-hero.is-leaving .sx-speed i:nth-child(5) {
    animation-delay: 0.01s;
}
@keyframes sxStreakExit {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    100% {
        transform: translateX(-160vw);
        opacity: 0;
    }
}

/* ---- leaving the hero: Continue clicked, van exits + content fades --- */
.sx-hero.is-leaving .sx-inner {
    opacity: 0;
    transform: translateY(-14px);
    pointer-events: none;
    transition:
        opacity 0.38s ease,
        transform 0.42s ease;
}
.sx-hero.is-leaving .sx-hint {
    opacity: 0 !important;
    transition: opacity 0.25s ease;
}

/* full-page fade shown while navigating to /quote.
   Uses the quote page's own background (no blue) so the car simply drives
   off and the transition flows seamlessly into the quote page. */
.sx-page-fade {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #f6f7f9;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.5s ease,
        visibility 0s linear 0.5s;
}
.sx-page-fade.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.5s ease;
}

/* ---- centered headline copy ------------------------------------------ */
.sx-inner {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    text-align: center;
    padding-top: 20vh;
    pointer-events: none;
}
.sx-copy {
    max-width: 900px;
    color: #fff;
}
.sx-copy > * {
    opacity: 0;
    transform: translateY(26px);
}
.sx-hero.is-live .sx-copy > * {
    animation: sxRise 0.8s var(--ease, cubic-bezier(0.22, 0.61, 0.36, 1))
        forwards;
}
.sx-hero.is-live .sx-eyebrow {
    animation-delay: 0.12s;
}
.sx-hero.is-live .sx-title {
    animation-delay: 0.26s;
}
@keyframes sxRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sx-eyebrow {
    display: inline-block;
    font-size: clamp(0.82rem, 1.4vw, 0.98rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 16px;
}
.sx-eyebrow b {
    font-weight: 800;
}
.sx-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2px, 0.6vw, 8px);
}
.sx-headline-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sx-title {
    color: #fff;
    font-size: clamp(2.5rem, 7.4vw, 5.2rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 14px 40px rgba(0, 10, 80, 0.4);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.28em;
}
.sx-title-hash {
    color: #fff;
    opacity: 0.96;
    font-weight: 900;
    line-height: 0.82;
    font-size: clamp(3rem, 11vw, 9.6rem);
    letter-spacing: -0.08em;
}
/* Decorative "#1" accent. Keep it disabled so the real title never collides. */
.sx-hash-bg {
    display: none;
}
@media (min-width: 781px) {
    .sx-title-hash {
        display: inline;
    }
    .sx-hash-bg {
        display: none;
    }
}

/* auto-flipping wording rotator ("Delivery Services" -> synonyms) */
.sx-flip {
    display: inline-block;
    overflow: hidden;
    height: 1.08em;
    line-height: 1.08em;
    vertical-align: bottom;
    position: relative;
}
.sx-flip-track {
    display: flex;
    flex-direction: column;
    animation: sxFlip 12s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}
.sx-flip-track > span {
    display: block;
    height: 1.08em;
    line-height: 1.08em;
    white-space: nowrap;
    background: linear-gradient(180deg, #ffffff, #cfe0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
@keyframes sxFlip {
    0%,
    14% {
        transform: translateY(0);
    }
    18%,
    32% {
        transform: translateY(-1.08em);
    }
    36%,
    50% {
        transform: translateY(-2.16em);
    }
    54%,
    68% {
        transform: translateY(-3.24em);
    }
    72%,
    86% {
        transform: translateY(-4.32em);
    }
    90%,
    100% {
        transform: translateY(-5.4em);
    }
}

/* "Around" — small kicker above the big Switzerland wordmark */
.d-block {
    margin-top: clamp(6px, 1.4vh, 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.d-block p {
    margin: 0 0 2px;
    font-size: clamp(0.82rem, 1.7vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    text-indent: 0.42em;
}

.sx-tittle-around {
    font-size: clamp(1.6rem, 5vw, 3.6rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    display: inline-block;
}

.sx-title-swiss {
    font-size: clamp(3.6rem, 9vw, 6.6rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    display: inline-block;
    /* Swiss flag painted into the letters: red field + white cross, with a
       bright shine band (layer 4) that sweeps across as the flag "flies". */
    background-color: #e11d2b;
    background-image:
        /* 1 · vertical bar of the Swiss cross */
        linear-gradient(90deg, transparent 0, #fff 0),
        /* 2 · horizontal bar of the Swiss cross */
        linear-gradient(0deg, transparent 0, #fff 0),
        /* 3 · soft top-light / bottom-shade for depth */
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.16)),
        /* 4 · SHINE — bright band that travels left → right */
        linear-gradient(
                105deg,
                transparent 34%,
                rgba(255, 255, 255, 0.95) 50%,
                transparent 66%
            ),
        /* 5 · red field */ linear-gradient(#e11d2b, #e11d2b);
    background-repeat: no-repeat;
    background-size:
        22% 100%,
        100% 26%,
        100% 100%,
        45% 100%,
        100% 100%;
    background-position:
        50% 50%,
        50% 50%,
        50% 50%,
        -220% 50%,
        0 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 14px 18px rgba(0, 8, 60, 0.28));
    will-change: filter, background-position;
    animation: sxSwissFlagWave 3.6s ease-in-out infinite;
}
.sx-hero.is-live .sx-title-swiss {
    animation:
        sxRise 0.8s var(--ease, cubic-bezier(0.22, 0.61, 0.36, 1)) 0.26s both,
        sxSwissFlagWave 3.6s ease-in-out 1.06s infinite;
}
.sx-title-swiss::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    color: rgba(255, 255, 255, 0.14);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.14);
    filter: blur(16px);
    transform: translateY(7px) scaleX(0.98);
}
@keyframes sxSwissFlagWave {
    0% {
        background-position:
            50% 50%,
            50% 50%,
            50% 50%,
            -220% 50%,
            0 0;
        filter: drop-shadow(0 13px 17px rgba(0, 8, 60, 0.2));
    }
    35% {
        background-position:
            50% 47%,
            53% 48%,
            53% 48%,
            20% 50%,
            0 0;
        filter: drop-shadow(0 16px 20px rgba(0, 8, 60, 0.24));
    }
    70% {
        background-position:
            50% 53%,
            47% 52%,
            47% 52%,
            220% 50%,
            0 0;
        filter: drop-shadow(0 15px 19px rgba(0, 8, 60, 0.22));
    }
    100% {
        background-position:
            50% 50%,
            50% 50%,
            50% 50%,
            220% 50%,
            0 0;
        filter: drop-shadow(0 13px 17px rgba(0, 8, 60, 0.2));
    }
}

/* ---- big reveal text behind the van ---------------------------------- */
.sx-bigtext {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: clamp(70px, 16vh, 170px);
    pointer-events: none;
}
.sx-bigtext span {
    max-width: 92%;
    font-size: clamp(2.8rem, 11vw, 9.5rem);
    line-height: 0.86;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(255, 255, 255, 0.14);
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

/* ---- the van (images/car.png) — centered, scroll-driven -------------- */
.sx-van {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 18vh;
    width: min(720px, 60vw);
    /* base centering, then three motion offsets:
       --sx-intro-x : drive-in offset (JS tweens 135% -> 0 on load)
       --sx-scroll-x: scroll offset (JS: negative moves van right->left)
       --sx-exit-x  : Continue-click exit offset (JS tweens 0 -> far left)  */
    transform: translateX(-50%) translateX(var(--sx-intro-x, 135%))
        translateX(var(--sx-scroll-x, 0px)) translateX(var(--sx-exit-x, 0px));
    will-change: transform;
    filter: drop-shadow(0 30px 30px rgba(0, 8, 60, 0.45));
}
.sx-van img {
    width: 100%;
    display: block;
    transform-origin: 50% 90%;
}
.sx-van-shadow {
    position: absolute;
    left: 6%;
    right: 4%;
    bottom: -18px;
    height: 34px;
    background: radial-gradient(
        50% 60% at 50% 50%,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0) 0%
    );
    filter: blur(3px);
    transform: scaleX(0.9);
    opacity: 0;
    transition: opacity 0.8s ease 0.5s;
}
.sx-hero.is-live .sx-van-shadow {
    opacity: 1;
}
/* gentle idle bob once parked (intro finished) */
.sx-hero.is-parked .sx-van img {
    animation: sxBob 3.6s ease-in-out infinite;
}
@keyframes sxBob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1px);
    }
}

/* ---- liquid-glass booking bar (the popup) — centered under headline --- */
.sx-popup {
    position: relative;
    z-index: 6;
    width: min(880px, 94vw);
    margin-top: clamp(22px, 4.5vh, 46px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(38px);
    pointer-events: none;
}
.sx-popup.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
        opacity 0.6s ease,
        transform 0.7s cubic-bezier(0.18, 0.85, 0.28, 1.15);
}
.sx-bar {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 9px;
    border-radius: 999px;
    color: #fff;
    /* liquid glass: translucent fill + blur + layered highlights */
    background: linear-gradient(
        150deg,
        rgba(0, 0, 0, 0.749),
        rgba(10, 8, 123, 0.201) 50%,
        rgba(4, 11, 65, 0.595)
    );

    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(1px) saturate(150%);
    border: #ffffff45 solid 1px;
    box-shadow:
        0 26px 60px rgba(0, 11, 70, 0.584),
        inset 0 1px 1px rgba(0, 0, 0, 0.305),
        inset 0 -14px 34px rgba(0, 0, 0, 0.177);
}
.sx-glass-sheen {
    display: none;
} /* not used in the pill layout */

/* ---- booking card header ("Booking Quote") ---------------------------- */
/* Hidden in the horizontal pill (tablet); shown in the stacked glass card. */
.sx-bar-head {
    display: none;
    align-items: center;
    gap: 12px;
    margin: 2px 4px 4px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.sx-bar-ic {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.18),
        rgba(255, 255, 255, 0.05)
    );
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.sx-bar-ic img {
    width: 22px;
    height: 22px;
    display: block;
}
.sx-bar-head-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.sx-bar-kicker {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}
.sx-bar-title {
    margin: 1px 0 0;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

/* a From/To field slot inside the pill */
.sx-field {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 8px 6px 18px;
    text-align: left;
}
/* the open field (and its dropdown) must sit above later fields + Continue.
   Each .sx-field is its own stacking context (dark-glass backdrop-filter),
   so raise whichever one is open. */
.sx-field:has(.sx-select.is-open) {
    z-index: 60;
}
.sx-field + .sx-field {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.sx-field-label {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1px;
    padding-left: 2px;
}

/* swap button — circular, centered between the two fields */
.sx-swap {
    flex: 0 0 auto;
    align-self: center;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    transition:
        transform 0.35s var(--ease, ease),
        background 0.2s;
}
.sx-swap:hover {
    background: rgba(255, 255, 255, 0.34);
}
.sx-swap.spin {
    transform: rotate(180deg);
}

/* ---- custom dropdown -------------------------------------------------- */
.sx-select {
    position: relative;
}
.sx-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 1.02rem;
    text-align: left;
    cursor: pointer;
    transition: opacity 0.2s;
}
.sx-select-btn:hover {
    opacity: 0.85;
}
.sx-pin {
    font-size: 1rem;
    line-height: 1;
}
.sx-select-value {
    flex: 1;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sx-select-value.is-empty {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}
.sx-caret {
    font-size: 0.8rem;
    transition: transform 0.3s var(--ease, ease);
    opacity: 0.85;
}
.sx-select.is-open .sx-caret {
    transform: rotate(180deg);
}

/* dropdown panel — drops below the field; From opens left, To opens right */
.sx-panel {
    position: absolute;
    z-index: 20;
    left: 0;
    right: auto;
    width: min(300px, 78vw);
    top: calc(100% + 14px);
    padding: 8px;
    border-radius: 16px;
    /* frosted glass: translucent tint + heavy blur (still reads over the van) */
    background: linear-gradient(
        160deg,
        rgba(20, 30, 78, 0.62),
        rgba(8, 14, 44, 0.72)
    );
    border: 1px solid rgba(255, 255, 255, 0.34);
    -webkit-backdrop-filter: blur(30px) saturate(170%);
    backdrop-filter: blur(30px) saturate(170%);
    box-shadow:
        0 24px 50px rgba(0, 8, 60, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.28);
    /* static placement: no slide/scale — it just fades in, in place */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.sx-select.is-open .sx-panel {
    opacity: 1;
    pointer-events: auto;
}
.sx-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.sx-search-ic {
    font-size: 0.82rem;
    opacity: 0.8;
}
.sx-search input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    outline: none;
}
.sx-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}
.sx-options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 210px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}
.sx-options::-webkit-scrollbar {
    width: 8px;
}
.sx-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.32);
    border-radius: 8px;
}
.sx-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.94rem;
    cursor: pointer;
    transition:
        background 0.16s ease,
        transform 0.16s ease;
}
.sx-option .sx-opt-flag {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 18px;
    border-radius: 4px;
    background: #e0001b;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.26),
        0 5px 12px rgba(0, 0, 0, 0.18);
}
.sx-option .sx-opt-flag::before,
.sx-option .sx-opt-flag::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 1px;
    background: #fff;
    transform: translate(-50%, -50%);
}
.sx-option .sx-opt-flag::before {
    width: 11px;
    height: 4px;
}
.sx-option .sx-opt-flag::after {
    width: 4px;
    height: 11px;
}
.sx-option .sx-opt-name {
    flex: 1;
}
.sx-option .sx-opt-check {
    opacity: 0;
    font-size: 0.85rem;
}
.sx-option:hover,
.sx-option.is-active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
}
.sx-option.is-selected {
    background: rgba(255, 255, 255, 0.16);
}
.sx-option.is-selected .sx-opt-check {
    opacity: 1;
}
/* staggered entry of options when the panel opens */
.sx-select.is-open .sx-option {
    animation: sxOptIn 0.32s var(--ease, ease) both;
}
@keyframes sxOptIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sx-empty {
    padding: 14px 12px;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
}
/* the To field sits near the right edge — open its panel right-aligned */
.sx-field:last-of-type .sx-panel {
    left: auto;
    right: 0;
}

/* ---- continue button (pill at the end of the bar) --------------------- */
.sx-continue {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--sx-red-deep, #a90f13);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
    transition:
        transform 0.16s,
        box-shadow 0.2s,
        opacity 0.2s;
}
.sx-continue-ic {
    transition: transform 0.2s;
}
.sx-continue:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.3);
}
.sx-continue:not(:disabled):hover .sx-continue-ic {
    transform: translateX(4px);
}
.sx-continue:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ---- scroll hint (fades out as you scroll) ---------------------------- */
.sx-hint {
    position: absolute;
    z-index: 5;
    left: clamp(20px, 6vw, 60px);
    bottom: 26px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: calc(1 - var(--shp, 0) * 6); /* JS sets --shp = scroll 0->1 */
    pointer-events: none;
}
.sx-hint::after {
    content: "";
    display: block;
    width: 1px;
    height: 26px;
    margin: 8px auto 0;
    background: rgba(255, 255, 255, 0.7);
    animation: sxHint 1.6s ease-in-out infinite;
}
@keyframes sxHint {
    0%,
    100% {
        transform: scaleY(0.4);
        opacity: 0.4;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* ---- desktop: booking popup as a glass card in the right corner -------- */
@media (min-width: 981px) {
    .sx-inner {
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 20vh;
    }
    /* headline sits in the left half so the right card stays clear */
    .sx-copy {
        align-self: flex-start;
        width: min(
            760px,
            calc(100vw - min(360px, 28vw) - clamp(108px, 13vw, 190px))
        );
        max-width: none;
        text-align: left;
        align-items: flex-start;
    }
    .sx-headline {
        flex-direction: row;
        align-items: center;
        gap: clamp(16px, 1.8vw, 30px);
    }
    .sx-headline-main {
        align-items: flex-start;
    }
    .sx-eyebrow {
        order: 2;
        margin: 2px 0 0;
        font-size: clamp(0.68rem, 0.82vw, 0.84rem);
        font-weight: 800;
        letter-spacing: -0.02em;
        text-shadow: 0 8px 20px rgba(0, 10, 70, 0.42);
    }
    .sx-title {
        order: 1;
        justify-content: flex-start;
        flex-wrap: nowrap;
        font-size: clamp(2.45rem, 4.15vw, 4.2rem);
        max-width: 100%;
        line-height: 0.95;
    }
    .sx-title-hash {
        display: block;
        flex: 0 0 auto;
        font-size: clamp(9rem, 20vw, 16rem);
        line-height: 0.7;
        letter-spacing: -0.08em;
        text-shadow: 0 15px 34px rgba(0, 10, 70, 0.36);
    }
    .sx-flip {
        min-width: 0;
        max-width: 100%;
    }
    .sx-flip-track > span {
        white-space: nowrap;
    }
    .d-block {
        order: 3;
        align-items: flex-start;
        margin-top: clamp(18px, 2.3vh, 30px);
    }
    .d-block p {
        order: 2;
        margin-top: 6px;
        text-indent: 0;
        font-size: clamp(0.66rem, 0.9vw, 0.82rem);
        font-weight: 900;
        letter-spacing: 0.52em;
    }
    .sx-title-swiss {
        order: 1;
        font-size: clamp(3.4rem, 6.4vw, 6.4rem);
        line-height: 0.92;
    }

    /* the popup, pinned to the desktop hero's top-right corner */
    .sx-popup {
        position: absolute;
        right: calc((100% - 100vw) / 2 + clamp(18px, 3vw, 46px));
        top: 60vh;
        z-index: 8;
        width: min(340px, 27vw);
        margin-top: 0;
        transform: translateY(calc(-50% + 30px));
    }
    .sx-popup.is-visible {
        transform: translateY(-50%);
    }
    .sx-van {
        bottom: clamp(48px, 9vh, 92px);
        width: min(780px, 58vw);
    }

    /* stack the pill into a vertical glass card */
    .sx-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 15px;
        border-radius: 24px;
    }
    .sx-bar-head {
        display: flex;
    }
    .sx-field {
        padding: 10px 14px;
        border-radius: 14px;
        /* dark liquid glass */
        background: linear-gradient(
            150deg,
            rgba(6, 10, 30, 0.5),
            rgba(6, 10, 30, 0.32)
        );
        border: 1px solid rgba(255, 255, 255, 0.1);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
    .sx-field + .sx-field {
        border-left: 0;
    }
    .sx-swap {
        align-self: center;
    }
    .sx-continue {
        width: 100%;
        padding: 13px;
        justify-content: center;
    }
    /* dropdown spans the full width of the card */
    .sx-panel,
    .sx-field:last-of-type .sx-panel {
        left: 0;
        right: 0;
        width: auto;
    }
}

/* ---- responsive ------------------------------------------------------- */
@media (max-width: 780px) {
    /* Background now COVERS the whole stage (no empty blue strip at top). */
    .sx-stage {
        background:
            linear-gradient(
                180deg,
                rgba(11, 37, 153, 0.62) 0%,
                rgba(11, 37, 153, 0.18) 30%,
                rgba(4, 18, 46, 0.28) 62%,
                rgba(4, 18, 46, 0.42) 100%
            ),
            url("/images/hero-bg.png") center 42% / cover no-repeat,
            var(--sx-red-deep);
    }
    .sx-inner {
        padding-top: 20vh;
        justify-content: flex-start;
    }
    .sx-van {
        width: min(92vw, 560px);
        bottom: clamp(28px, 8vh, 72px);
    }
    /* smaller, compact glass card centred under the headline */
    .sx-popup {
        width: min(300px, 84vw);
        margin-top: clamp(14px, 2.6vh, 24px);
    }
    .sx-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px;
        border-radius: 20px;
    }
    .sx-bar-head {
        display: flex;
        gap: 10px;
        padding-bottom: 10px;
    }
    .sx-bar-ic {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
    .sx-bar-ic img {
        width: 18px;
        height: 18px;
    }
    .sx-bar-title {
        font-size: 1rem;
    }
    .sx-field {
        padding: 8px 12px;
        border-radius: 12px;
        /* dark liquid glass */
        background: linear-gradient(
            150deg,
            rgba(6, 10, 30, 0.5),
            rgba(6, 10, 30, 0.32)
        );
        border: 1px solid rgba(255, 255, 255, 0.1);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
    .sx-field + .sx-field {
        border-left: 0;
    }
    .sx-field-label {
        font-size: 0.6rem;
        margin-bottom: 0;
    }
    .sx-select-btn {
        gap: 6px;
    }
    .sx-select-value {
        font-size: 0.9rem;
    }
    /* compact swap: a slim divider button between From and To */
    .sx-swap {
        width: 34px;
        height: 34px;
        font-size: 0.92rem;
    }
    .sx-continue {
        padding: 12px;
        font-size: 0.95rem;
    }
    .sx-field:last-of-type .sx-panel,
    .sx-panel {
        left: 0;
        right: 0;
        width: auto;
    }
}
@media (max-width: 560px) {
    .sx-inner {
        padding-top: 92px;
    }
    .sx-title {
        font-size: clamp(2rem, 9vw, 3rem);
        gap: 0.2em;
    }
    .sx-title-swiss {
        font-size: clamp(3.1rem, 14vw, 5rem);
    }
    .d-block p {
        letter-spacing: 0.34em;
    }
    .sx-bigtext span {
        font-size: clamp(2.4rem, 15vw, 4rem);
    }
}

/* ---- reduced motion: show everything, skip the drive-in --------------- */
@media (prefers-reduced-motion: reduce) {
    .sx-hero .sx-copy > * {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    .sx-hero .sx-van-shadow {
        opacity: 1;
    }
    /* JS still sets --sx-scroll-x for the scroll traverse; skip intro offset */
    .sx-glass-sheen,
    .sx-glow,
    .sx-hint::after,
    .sx-hero.is-parked .sx-van img,
    .sx-title-swiss,
    .sx-flip-track,
    .sx-hero.is-leaving .sx-speed i {
        animation: none !important;
    }
    .sx-popup {
        transition: opacity 0.3s ease !important;
    }
    .sx-page-fade {
        transition: opacity 0.2s ease !important;
    }
}

/* =======================================================================
   CARRIER INTELLIGENCE — live bento dashboard (Carriers section)
   ======================================================================= */
.carrier-intel {
    background: var(--bg-alt);
    padding: 96px 0;
    overflow: hidden;
}
.ci-container {
    width: min(1440px, 95%);
}
.ci-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}
.ci-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.ci-head p {
    color: var(--muted);
    margin-top: 14px;
    font-size: 1.05rem;
}

.ci-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(210px, auto));
    gap: 22px;
}
.ci-chart {
    grid-column: 1;
    grid-row: 1;
}
.ci-gauge {
    grid-column: 2;
    grid-row: 1;
}
.ci-progress {
    grid-column: 1;
    grid-row: 2;
}
.ci-dots {
    grid-column: 2;
    grid-row: 2;
}
.ci-cta {
    grid-column: 3;
    grid-row: 1 / 3;
}

.ci-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px 26px 28px;
    overflow: hidden;
}
.ci-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.ci-card-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}
.ci-card-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--bg-alt);
    color: var(--blue);
    display: grid;
    place-items: center;
}
.ci-card-icon svg {
    width: 18px;
    height: 18px;
}
.ci-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

/* ---- Total Carriers: animated trend line ---- */
.ci-chart-wrap {
    position: relative;
    margin-top: auto;
    height: 96px;
}
.ci-line-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.ci-line-path {
    fill: none;
    stroke: var(--blue);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 340;
    stroke-dashoffset: 340;
    transition: stroke-dashoffset 1.6s var(--ease);
}
.reveal.in .ci-line-path {
    stroke-dashoffset: 0;
}
.ci-line-dot {
    fill: var(--blue);
    opacity: 0;
    offset-path: path(
        "M4,60 C40,20 60,85 96,50 C130,18 150,80 186,45 C214,18 232,68 260,40 C272,28 284,34 296,26"
    );
    offset-distance: 0%;
    transition: opacity 0.5s ease 0.6s;
}
.reveal.in .ci-line-dot {
    opacity: 1;
    animation: ciLineTravel 4.5s ease-in-out 0.8s infinite alternate;
}
@keyframes ciLineTravel {
    from {
        offset-distance: 0%;
    }
    to {
        offset-distance: 100%;
    }
}
.ci-line-badge {
    position: absolute;
    top: 4%;
    left: 58%;
    background: var(--ink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.5s var(--ease) 0.9s,
        transform 0.5s var(--ease) 0.9s;
}
.reveal.in .ci-line-badge {
    opacity: 1;
    transform: none;
}

/* ---- Onboarded Drivers: sweeping gauge ---- */
.ci-gauge-wrap {
    position: relative;
    margin-top: auto;
    height: 108px;
}
.ci-gauge-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.ci-gauge-ticks {
    fill: none;
    stroke: var(--line);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 2 9;
}
.ci-gauge-fill {
    fill: none;
    stroke: var(--blue);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: var(--ci-gauge-len);
    stroke-dashoffset: var(--ci-gauge-len);
    transition: stroke-dashoffset 1.4s var(--ease);
}
.reveal.in .ci-gauge-fill {
    stroke-dashoffset: var(--ci-gauge-offset);
}
.ci-gauge-min,
.ci-gauge-max {
    position: absolute;
    bottom: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
}
.ci-gauge-min {
    left: 0;
}
.ci-gauge-max {
    right: 0;
}
.ci-gauge-center {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    text-align: center;
}
.ci-gauge-center strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
}
.ci-gauge-center small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 600;
}

/* ---- Fleet Utilization: animated progress bar ---- */
.ci-progress {
    justify-content: flex-end;
}
.ci-bar {
    margin-top: auto;
    display: flex;
    height: 34px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-alt);
}
.ci-bar-fill {
    width: 0;
    background: repeating-linear-gradient(
        135deg,
        var(--blue) 0 6px,
        var(--blue-dark) 6px 12px
    );
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    transition: width 1.3s var(--ease);
}
.reveal.in .ci-bar-fill {
    width: var(--ci-bar-w);
}
.ci-bar-fill span {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}
.ci-bar-rest {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}
.ci-bar-rest span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

/* ---- Active Shipments: dot-matrix bar chart ---- */
.ci-dotchart {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 96px;
}
.ci-dot-col {
    display: flex;
    flex-direction: column-reverse;
    gap: 3px;
    flex: 1;
}
.ci-dot-col i {
    display: block;
    width: 100%;
    min-width: 3px;
    height: 5px;
    border-radius: 2px;
    background: var(--blue);
    opacity: 0;
    transform: scaleY(0.3);
    transform-origin: bottom;
    transition:
        opacity 0.4s var(--ease),
        transform 0.4s var(--ease);
    transition-delay: var(--ci-d);
}
.reveal.in .ci-dot-col i {
    opacity: 1;
    transform: scaleY(1);
}

/* ---- CTA: dark highlight card ---- */
.ci-cta {
    background: linear-gradient(165deg, #0d1730, #04070f 72%);
    padding: 28px 26px 0;
}
.ci-cta-badge {
    position: absolute;
    top: 24px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8fa6ff;
}
.ci-cta-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: ciPulse 1.8s ease-out infinite;
}
@keyframes ciPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}
.ci-cta h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 12px 0 10px;
}
.ci-cta p {
    color: #aab6d1;
    font-size: 0.88rem;
    margin-bottom: 18px;
}
.ci-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: 999px;
    transition: 0.25s var(--ease);
}
.ci-cta-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}
.ci-cta-media {
    position: relative;
    flex: 1;
    min-height: 130px;
    margin: 18px -26px 0;
    overflow: hidden;
}
.ci-cta-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 7, 15, 0) 20%, #04070f 96%);
}
.ci-cta-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.ci-cta-foot {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ci-cta-foot-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: grid;
    place-items: center;
}
.ci-cta-foot-icon svg {
    width: 16px;
    height: 16px;
}
.ci-cta-foot strong {
    display: block;
    font-size: 0.82rem;
    color: #fff;
}
.ci-cta-foot small {
    color: #8fa6ff;
    font-size: 0.7rem;
}

@media (max-width: 980px) {
    .ci-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
    }
    .ci-chart,
    .ci-gauge,
    .ci-progress,
    .ci-dots {
        grid-column: auto;
        grid-row: auto;
    }
    .ci-cta {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 280px;
    }
}
@media (max-width: 640px) {
    .carrier-intel {
        padding: 64px 0;
    }
    .ci-head {
        margin-bottom: 32px;
    }
    .ci-grid {
        grid-template-columns: 1fr;
    }
    .ci-cta {
        grid-column: auto;
    }
    .ci-card {
        padding: 20px 20px 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ci-line-dot {
        animation: none !important;
    }
    .ci-cta-badge i {
        animation: none !important;
    }
    .ci-dot-col i {
        transition-delay: 0s !important;
    }
}

/* =======================================================================
   ABOUT V2 — edge-to-edge logo marquee + split intro + stats
   ======================================================================= */
.about-v2 {
    padding-top: 0;
    overflow: hidden;
}

/* ---- full-bleed marquee ---- */
.about-marquee {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 26px 0;
    background:
        linear-gradient(90deg, rgba(218, 41, 28, 0.08), transparent 22% 78%, rgba(218, 41, 28, 0.08)),
        #fff;
    border-top: 1px solid rgba(218, 41, 28, 0.1);
    border-bottom: 1px solid rgba(218, 41, 28, 0.14);
    margin-bottom: 70px;
}
.about-marquee::before,
.about-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10vw;
    min-width: 70px;
    z-index: 2;
    pointer-events: none;
}
.about-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}
.about-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}
.am-track {
    display: flex;
    width: max-content;
    animation: amScroll 26s linear infinite;
}
.about-marquee:hover .am-track {
    animation-play-state: paused;
}
.am-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
}
@keyframes amScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.am-logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    min-width: 152px;
    height: 58px;
    padding: 0 24px 0 14px;
    border: 1px solid rgba(218, 41, 28, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #0a1f3e;
    font-weight: 800;
    font-size: 1.04rem;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(10, 31, 62, 0.06);
    transition: 0.25s var(--ease);
}
.am-logo img {
    flex: 0 0 auto;
    width: 46px;
    height: 36px;
    padding: 4px;
    border: 1px solid rgba(218, 41, 28, 0.16);
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 6px 16px rgba(218, 41, 28, 0.1);
}
.am-logo:hover {
    color: #da291c;
    border-color: rgba(218, 41, 28, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(218, 41, 28, 0.12);
}

/* ---- split intro ---- */
.about-v2-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 60px;
    align-items: center;
    padding-bottom: 20px;
}

/* ---- van visual (right side) ---- */
.about-v2-visual {
    text-align: right;
}
.av2-van {
    position: relative;
    display: inline-block;
    line-height: 0;
    vertical-align: middle;
}
.av2-van-img {
    display: block;
    /* size by height (70vh) — width follows to keep aspect. min(…46vw) keeps the
       wide van from crowding the copy on narrower desktops; clamp bounds extremes */
    height: clamp(340px, min(70vh, 46vw), 600px);
    width: auto;
    max-width: none;
}
.av2-wheel {
    position: absolute;
    /* sized & placed as a % of the van image so it stays aligned on resize.
       Values derived from the painted wheel in vechicle.png (hub at 31.2% / 83.6%). */
    width: 21.5%;
    height: auto;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: av2WheelSpin 1.8s linear infinite;
    will-change: transform;
}
.av2-wheel-front {
    left: 31.2%;
    top: 83.6%;
}
@keyframes av2WheelSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.about-v2-copy h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.05rem);
    font-weight: 600;
    color: var(--muted);
    line-height: 1.55;
    letter-spacing: -0.01em;
}
.about-v2-copy h2 b {
    color: var(--ink);
    font-weight: 800;
}
.about-v2-stats {
    display: flex;
    margin: 38px 0 30px;
}
.av2-stat {
    flex: 1;
    padding: 0 26px;
    border-left: 1px solid var(--line);
}
.av2-stat:first-child {
    padding-left: 0;
    border-left: 0;
}
.av2-stat strong {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.av2-stat span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
}
.about-v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    transition: 0.25s var(--ease);
}
.about-v2-btn:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    transform: translateY(-2px);
}
.about-v2-btn span {
    display: inline-block;
    transition: transform 0.25s var(--ease);
}
.about-v2-btn:hover span {
    transform: translate(2px, -2px);
}

@media (max-width: 960px) {
    .about-v2-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-v2-visual {
        text-align: center;
        order: -1;
    }
    .av2-van-img {
        height: auto;
        width: min(100%, 460px);
    }
}
@media (max-width: 560px) {
    .about-marquee {
        padding: 22px 0;
        margin-bottom: 44px;
    }
    .am-logo {
        height: 44px;
        padding: 0 20px;
        font-size: 0.9rem;
    }
    .about-v2-stats {
        flex-direction: column;
        gap: 18px;
    }
    .av2-stat {
        padding: 0 0 0 16px;
        border-left: 2px solid var(--line);
    }
    .av2-stat:first-child {
        padding-left: 16px;
        border-left: 2px solid var(--line);
    }
}
@media (prefers-reduced-motion: reduce) {
    .am-track,
    .av2-wheel {
        animation: none !important;
    }
}

/* footer redesign */
.footer-showcase {
    padding: 0;
    background: #eeeeec;
}
.footer-showcase .footer-shell {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 40px);
    padding: clamp(30px, 5vw, 62px);
    border-radius: 0;
    overflow: hidden;
    background:
        radial-gradient(
            120% 80% at 85% 0%,
            rgba(27, 67, 254, 0.18),
            transparent 55%
        ),
        radial-gradient(
            90% 70% at 0% 100%,
            rgba(27, 67, 254, 0.12),
            transparent 60%
        ),
        #0f1e30;
    color: #9fb0cf;
}
.footer-cta,
.footer-links,
.footer-bottom-new,
.footer-copyright {
    position: relative;
    z-index: 2;
}
.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: clamp(160px, 21vw, 260px);
    padding: clamp(28px, 5vw, 72px);
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(
            140% 120% at 100% 0%,
            rgba(120, 150, 255, 0.55),
            transparent 55%
        ),
        linear-gradient(120deg, #1b43fe, #3f6dff 70%);
    box-shadow: 0 30px 70px rgba(11, 34, 120, 0.4);
    color: #eaf0ff;
}
.footer-cta::before {
    content: "";
    position: absolute;
    inset: auto -6% -60% auto;
    width: 340px;
    aspect-ratio: 1;
    border-radius: 42%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(24deg);
    pointer-events: none;
}
.footer-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent,
        rgba(255, 255, 255, 0.32),
        transparent
    );
    transform: skewX(-18deg);
    animation: ttShine 5.5s ease-in-out 1.2s infinite;
    pointer-events: none;
}
@keyframes ttShine {
    0%,
    28% {
        left: -60%;
    }
    58%,
    100% {
        left: 150%;
    }
}
.footer-cta p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5.1vw, 4.4rem);
    line-height: 0.94;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-shadow: 0 8px 30px rgba(6, 20, 60, 0.28);
}
.footer-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: none;
    min-width: 156px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    background: #0b1b30;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 16px 34px rgba(7, 18, 40, 0.42);
    transition:
        transform 0.2s var(--ease),
        background 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.footer-cta-btn span {
    display: inline-block;
    transition: transform 0.25s var(--ease);
}
.footer-cta-btn:hover {
    background: #ffffff;
    color: #0b1b30;
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(7, 18, 40, 0.5);
}
.footer-cta-btn:hover span {
    transform: translateX(4px);
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 42px);
    padding: clamp(42px, 6vw, 68px) 0 clamp(34px, 5vw, 54px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-links h4,
.footer-contact-new h4,
.footer-newsletter h4 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
}
.footer-links a {
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 4px 0;
    color: #9fb0cf;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    background-image: linear-gradient(var(--blue), var(--blue));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1.5px;
    transition:
        color 0.2s var(--ease),
        background-size 0.3s var(--ease);
}
.footer-links a:hover {
    color: #fff;
    background-size: 100% 1.5px;
}
.footer-contact-new a:hover {
    color: #8fa6ff;
}
.footer-bottom-new {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 0.78fr);
    gap: clamp(30px, 8vw, 120px);
    padding: clamp(34px, 5vw, 52px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 900;
}
.footer-brand-mark {
    color: var(--blue);
}
.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 26px;
}
.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #c9d4ea;
    font-size: 0.78rem;
    font-weight: 900;
    transition:
        transform 0.25s var(--ease),
        background 0.25s var(--ease),
        border-color 0.25s var(--ease),
        color 0.25s var(--ease);
}
.footer-social-icons a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(27, 67, 254, 0.45);
}
.footer-contact-new a {
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 3px 0;
    color: #9fb0cf;
    font-size: 0.8rem;
    font-weight: 700;
}
.footer-newsletter p,
.footer-newsletter small {
    color: #9fb0cf;
    font-size: 0.78rem;
    line-height: 1.45;
}
.footer-newsletter p {
    margin: -4px 0 18px;
}
.footer-newsletter small {
    display: block;
    margin-top: 12px;
    color: #8190ac;
}
.footer-subscribe-new {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s var(--ease);
}
.footer-subscribe-new:focus-within {
    border-color: rgba(63, 109, 255, 0.65);
}
.footer-subscribe-new input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 0 10px 0 18px;
    background: transparent;
    color: #fff;
    font-size: 0.85rem;
}
.footer-subscribe-new input::placeholder {
    color: #7f8da8;
}
.footer-subscribe-new input:focus {
    outline: none;
}
.footer-subscribe-new button {
    flex: none;
    height: 42px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.2s var(--ease),
        background 0.2s var(--ease);
}
.footer-subscribe-new button:hover {
    background: #3f6dff;
    transform: translateY(-1px);
}
.footer-copyright {
    margin: 0;
    padding-top: 2px;
    color: #d3dbee;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
}

@media (max-width: 980px) {
    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .footer-bottom-new {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 680px) {
    .footer-showcase .footer-shell {
        padding: 24px 18px 30px;
    }
    .footer-cta {
        align-items: flex-start;
        flex-direction: column;
        min-height: 230px;
        border-radius: 22px;
    }
    .footer-cta-btn {
        min-width: 132px;
    }
    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 460px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    .footer-cta p {
        font-size: clamp(1.75rem, 12vw, 2.7rem);
    }
}

/* ---------- Services page refresh ---------- */
.services-page {
    background: linear-gradient(180deg, #f8fbff 0%, #eef3f9 42%, #ffffff 100%);
}
/* services/about use the shared dark glass navbar — no white override */
.services-page .site-header--dark.scrolled {
    background: transparent;
}
.svc-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(27, 67, 254, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #9fb5ff;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.svc-section-head .svc-kicker,
.svc-coverage-copy .svc-kicker {
    background: rgba(27, 67, 254, 0.08);
    color: var(--blue);
}
.svc-hero {
    min-height: min(860px, 100vh);
    padding: 148px 0 104px;
    background: #07172a;
}
.svc-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    z-index: 0;
    background: linear-gradient(180deg, transparent, rgba(248, 251, 255, 0.98));
    pointer-events: none;
}
.svc-hero::after {
    background:
        linear-gradient(
            90deg,
            rgba(5, 17, 34, 0.98) 0%,
            rgba(5, 17, 34, 0.86) 45%,
            rgba(5, 17, 34, 0.38) 100%
        ),
        radial-gradient(
            75% 62% at 62% 32%,
            rgba(27, 67, 254, 0.34),
            transparent 60%
        ),
        linear-gradient(180deg, rgba(5, 17, 34, 0.18), rgba(5, 17, 34, 0.7));
}
.svc-hero-media img {
    filter: saturate(1.08) contrast(1.05);
    transform: scale(1.02);
}
.svc-hero-inner {
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 0.98fr) minmax(360px, 470px);
    gap: clamp(36px, 8vw, 110px);
}
.svc-hero-copy h1 {
    max-width: 12ch;
    margin-top: 18px;
    font-size: clamp(3.25rem, 7vw, 7rem);
    line-height: 0.94;
}
.svc-hero-copy p {
    max-width: 48ch;
    margin: 24px 0 28px;
    color: #d5deef;
}
.svc-hero-actions .btn-primary {
    background: #ffffff;
    color: #0b1b30;
}
.svc-hero-actions .btn-primary:hover {
    background: #eaf0ff;
    color: #0b1b30;
}
.svc-hero-actions .btn-white {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(14px);
}
.svc-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.svc-hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #dce6f8;
    font-size: 0.8rem;
    font-weight: 800;
}
.svc-command-panel {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-color: rgba(255, 255, 255, 0.2);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.08)
        ),
        rgba(10, 28, 52, 0.62);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}
.svc-command-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.28;
    pointer-events: none;
}
.svc-command-panel > * {
    position: relative;
    z-index: 1;
}
.svc-panel-map {
    position: relative;
    min-height: 164px;
    margin: 18px 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(
            135deg,
            rgba(27, 67, 254, 0.16),
            rgba(255, 255, 255, 0.08)
        ),
        rgba(255, 255, 255, 0.05);
}
.svc-panel-map::before {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, #58d68d, #ffffff, #5f84ff);
    transform: translateY(-50%) rotate(-10deg);
    transform-origin: center;
}
.svc-panel-map span {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1);
}
.svc-panel-map span:nth-child(1) {
    left: 14%;
    bottom: 32%;
}
.svc-panel-map span:nth-child(2) {
    left: 48%;
    top: 38%;
    background: #58d68d;
}
.svc-panel-map span:nth-child(3) {
    right: 15%;
    top: 28%;
}
.svc-route {
    padding: 16px 0 0;
}
.svc-metrics {
    margin-top: -70px;
}
.svc-metrics-grid {
    gap: 14px;
}
.svc-metric {
    position: relative;
    overflow: hidden;
    min-height: 148px;
    padding: 28px 28px 24px;
    border-color: rgba(27, 67, 254, 0.11);
    background:
        linear-gradient(135deg, rgba(27, 67, 254, 0.08), transparent 42%),
        #ffffff;
    box-shadow: 0 20px 54px rgba(10, 31, 62, 0.1);
}
.svc-metric::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(27, 67, 254, 0.09);
}
.svc-metric small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}
.svc-services {
    padding: clamp(92px, 9vw, 132px) 0;
}
.svc-section-head {
    align-items: center;
    margin-bottom: 46px;
}
.svc-section-head h2,
.svc-process-copy h2,
.svc-coverage-copy h2,
.svc-cta h2 {
    letter-spacing: 0;
}
.svc-section-head h2 {
    margin-top: 16px;
    max-width: 11ch;
}
.svc-section-head p {
    max-width: 48ch;
    font-size: 1rem;
    line-height: 1.7;
}
.svc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.svc-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
    min-height: 330px;
    border-color: rgba(10, 31, 62, 0.08);
    background: #ffffff;
}
.svc-card figure {
    height: 100%;
    min-height: 330px;
}
.svc-card-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
}
.svc-card-no {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(27, 67, 254, 0.09);
    color: var(--blue);
}
.svc-card h3 {
    min-height: auto;
    margin: 18px 0 12px;
    font-size: clamp(1.28rem, 2vw, 1.7rem);
}
.svc-card p {
    line-height: 1.65;
}
.svc-card ul {
    grid-template-columns: 1fr;
    margin-top: auto;
    padding-top: 22px;
}
.svc-card li {
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f3f6fb;
}
.svc-process {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(27, 67, 254, 0.2), transparent 42%),
        #0f1e30;
}
.svc-process-copy .svc-kicker {
    color: #dbe6ff;
    border-color: rgba(255, 255, 255, 0.18);
}
.svc-process-copy p {
    max-width: 36ch;
    margin-top: 18px;
    color: #aebdda;
    font-weight: 700;
}
.svc-steps {
    position: relative;
}
.svc-steps::before {
    content: "";
    position: absolute;
    left: 51px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(#ffffff, rgba(255, 255, 255, 0.08));
    opacity: 0.24;
}
.svc-step {
    position: relative;
    grid-template-columns: 62px minmax(0, 1fr);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
}
.svc-step span {
    z-index: 1;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.06);
}
.svc-coverage {
    background: #f6f8fc;
}
.svc-coverage-inner {
    grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.72fr);
}
.svc-coverage-image {
    min-height: 560px;
    border-radius: 8px;
}
.svc-coverage-copy {
    padding: clamp(8px, 2vw, 28px) 0;
}
.svc-coverage-copy h2 {
    margin-top: 16px;
}
.svc-coverage-copy p {
    line-height: 1.75;
}
.svc-coverage-list {
    gap: 12px;
}
.svc-coverage-list span {
    min-height: 54px;
    display: flex;
    align-items: center;
    border-color: rgba(27, 67, 254, 0.12);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(10, 31, 62, 0.06);
}
.svc-cta {
    background: #f6f8fc;
}
.svc-cta-inner {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
        #1b43fe;
}

@media (max-width: 980px) {
    .svc-hero-inner,
    .svc-section-head,
    .svc-process-inner,
    .svc-coverage-inner {
        grid-template-columns: 1fr;
    }
    .svc-card-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 720px) {
    .svc-hero {
        min-height: auto;
        padding: 128px 0 72px;
    }
    .svc-hero-copy h1 {
        max-width: 11ch;
        font-size: clamp(2.7rem, 13vw, 4.35rem);
    }
    .svc-command-panel {
        padding: 18px;
    }
    .svc-metrics {
        margin-top: 0;
        padding-top: 18px;
        background: #ffffff;
    }
    .svc-metrics-grid,
    .svc-coverage-list {
        grid-template-columns: 1fr;
    }
    .svc-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .svc-card figure {
        min-height: 240px;
    }
    .svc-card-body {
        padding: 24px;
    }
    .svc-steps::before {
        display: none;
    }
    .svc-step {
        grid-template-columns: 1fr;
    }
    .svc-coverage-image {
        min-height: 320px;
    }
}

/* ---------- Carriers showcase refresh ---------- */
.carriers-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(76px, 9vw, 118px) 0 clamp(86px, 10vw, 138px);
    background:
        linear-gradient(
            180deg,
            rgba(10, 18, 34, 0.7),
            transparent 18%,
            transparent 82%,
            rgba(10, 18, 34, 0.65)
        ),
        #030406;
    color: #ffffff;
}
.carriers-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.2;
    pointer-events: none;
}
.cs-inner {
    position: relative;
    z-index: 1;
}
.cs-top {
    display: grid;
    grid-template-columns: minmax(150px, 0.28fr) minmax(0, 0.72fr);
    gap: clamp(24px, 5vw, 80px);
    align-items: start;
    margin-bottom: clamp(34px, 5vw, 62px);
}
.cs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.cs-eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    border-radius: 2px;
    box-shadow: 0 0 0 3px rgba(27, 67, 254, 0.35);
}
.cs-heading h2 {
    max-width: 920px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(2.15rem, 5vw, 4.15rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.cs-heading p {
    max-width: 680px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.54);
    font-size: clamp(0.95rem, 1.25vw, 1.08rem);
    font-weight: 700;
}
.cs-card-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 22px);
    align-items: end;
}
.cs-card {
    position: relative;
    min-height: clamp(310px, 29vw, 410px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #14181f;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
}
.cs-card:nth-child(1) {
    transform: translateY(-36px);
}
.cs-card:nth-child(2) {
    transform: translateY(20px);
}
.cs-card:nth-child(3) {
    transform: translateY(-30px);
}
.cs-card:nth-child(4) {
    transform: translateY(30px);
}
.cs-card-media {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            80% 55% at 35% 42%,
            rgba(27, 67, 254, 0.48),
            transparent 58%
        ),
        linear-gradient(135deg, rgba(27, 67, 254, 0.18), transparent 48%),
        #151a22;
}
.cs-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.08);
    opacity: 0.72;
}
.cs-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.86)),
        linear-gradient(
            105deg,
            rgba(27, 67, 254, 0.1),
            rgba(27, 67, 254, 0.5) 44%,
            transparent 64%
        );
}
.cs-card-light {
    background: #e9eaee;
    color: #11151c;
}
.cs-card-light .cs-card-media {
    background:
        linear-gradient(
            135deg,
            rgba(27, 67, 254, 0.09),
            rgba(255, 255, 255, 0.8)
        ),
        #e9eaee;
}
.cs-card-light .cs-card-media::after {
    display: none;
}
.cs-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: inherit;
    padding: clamp(18px, 2vw, 26px);
}
.cs-card-title {
    color: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}
.cs-mark {
    display: flex;
    gap: 4px;
    margin-top: auto;
    margin-bottom: 16px;
}
.cs-mark i {
    display: block;
    width: 12px;
    height: 28px;
    border-radius: 3px 3px 0 0;
    background: var(--blue);
    transform: skewX(-12deg);
    box-shadow: 0 0 18px rgba(27, 67, 254, 0.7);
}
.cs-card p {
    max-width: 24ch;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(0.72rem, 0.9vw, 0.84rem);
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}
.cs-card-light p {
    color: #151a22;
}
.cs-card-light .cs-mark i {
    background: var(--blue);
}
.cs-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: clamp(46px, 7vw, 84px);
}
.cs-actions .btn-white {
    background: #ffffff;
    color: #081327;
}
.cs-call {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 900;
}
.cs-call:hover {
    color: #ffffff;
}

@media (max-width: 980px) {
    .cs-top {
        grid-template-columns: 1fr;
    }
    .cs-card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cs-card:nth-child(n) {
        transform: none;
    }
}
@media (max-width: 620px) {
    .carriers-showcase {
        padding: 72px 0;
    }
    .cs-card-row {
        grid-template-columns: 1fr;
    }
    .cs-card {
        min-height: 300px;
    }
    .cs-heading h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    .cs-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ---------- Carriers benefits card layout ---------- */
.carriers-benefits {
    position: relative;
    overflow: hidden;
    padding: clamp(78px, 9vw, 118px) 0 clamp(74px, 8vw, 104px);
    background: #eef1f5;
    color: #111318;
}
.carriers-benefits::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 32%),
        radial-gradient(
            70% 46% at 22% 0%,
            rgba(27, 67, 254, 0.08),
            transparent 62%
        );
    pointer-events: none;
}
.cb-inner {
    position: relative;
    z-index: 1;
    width: min(1320px, 92%);
}
.cb-head {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) auto;
    gap: clamp(24px, 6vw, 90px);
    align-items: end;
    margin-bottom: clamp(42px, 6vw, 70px);
}
.cb-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #03060b;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: lowercase;
}
.cb-title h2 {
    max-width: 770px;
    color: #111318;
    font-size: clamp(2.8rem, 5.2vw, 5.05rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0;
}
.cb-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 150px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid rgba(27, 67, 254, 0.72);
    border-radius: 14px;
    color: #30333a;
    font-size: 0.86rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.24);
    transition:
        transform 0.24s var(--ease),
        background 0.24s var(--ease),
        color 0.24s var(--ease);
}
.cb-explore:hover {
    transform: translateY(-3px);
    background: var(--blue);
    color: #fff;
}
.cb-card-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
}
.cb-card {
    position: relative;
    min-height: clamp(360px, 31vw, 460px);
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 24px 48px rgba(18, 32, 55, 0.1);
    transform-origin: center bottom;
    transition:
        transform 0.45s var(--ease),
        box-shadow 0.45s var(--ease),
        filter 0.45s var(--ease);
}
.cb-card:hover {
    transform: translateY(-12px) scale(1.012);
    box-shadow: 0 34px 70px rgba(18, 32, 55, 0.17);
    filter: saturate(1.08);
}
.cb-card-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.cb-card-art::before,
.cb-card-art::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.cb-card-art::after {
    background: linear-gradient(
        180deg,
        transparent 34%,
        rgba(11, 25, 49, 0.28) 72%,
        rgba(11, 25, 49, 0.5)
    );
}
.cb-card-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: saturate(1.25) hue-rotate(18deg);
}
.cb-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: inherit;
    padding: clamp(24px, 2.5vw, 34px);
}
.cb-card h3 {
    color: #fff;
    font-size: clamp(1.05rem, 1.35vw, 1.28rem);
    line-height: 1.22;
    letter-spacing: 0;
    font-weight: 800;
}
.cb-card p {
    max-width: 30ch;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.88rem, 1vw, 0.98rem);
    line-height: 1.65;
    font-weight: 700;
}
.cb-card-sky {
    background: #8caedd;
}
.cb-card-cyan {
    background: linear-gradient(135deg, #3dd4c4, #39afe1);
}
.cb-card-glass {
    background: linear-gradient(135deg, #b6edf2, #8fcaf6);
}
.cb-card-violet {
    background: #a889d8;
}
.cb-orb {
    position: absolute;
    left: 34px;
    top: 42px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(
            circle at 40% 45%,
            rgba(27, 67, 254, 0.1) 0 2px,
            rgba(27, 67, 254, 0.55) 3px 4px
        ),
        rgba(255, 255, 255, 0.18);
    opacity: 0.76;
    animation: cbOrbFloat 5.8s ease-in-out infinite;
}
.cb-pattern-slashes .cb-card-art::before {
    left: 42%;
    top: 9%;
    width: 47%;
    height: 36%;
    inset: 9% auto auto 42%;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.82) 0 3px,
        transparent 3px 16px
    );
    opacity: 0.85;
}
.cb-pattern-dots .cb-card-art::before {
    left: 34%;
    top: 11%;
    width: 54%;
    height: 34%;
    inset: 11% auto auto 34%;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.72) 1.8px,
        transparent 2px
    );
    background-size: 28px 28px;
}
.cb-pattern-image .cb-card-art::before {
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 44%),
        radial-gradient(
            70% 60% at 72% 38%,
            rgba(78, 82, 255, 0.55),
            transparent 62%
        );
}
.cb-card.reveal {
    opacity: 0;
    transform: translateY(46px) scale(0.96);
}
.cb-card.reveal.in {
    opacity: 1;
    transform: none;
    animation: cbCardSettle 0.8s var(--ease) both;
}
.cb-card.reveal.in:hover {
    transform: translateY(-12px) scale(1.012);
}

@keyframes cbCardSettle {
    0% {
        opacity: 0;
        transform: translateY(46px) scale(0.96);
    }
    65% {
        opacity: 1;
        transform: translateY(-8px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes cbOrbFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(7px, -10px, 0) rotate(12deg);
    }
}

@media (max-width: 1100px) {
    .cb-card-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .cb-head {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .cb-title h2 {
        font-size: clamp(2.35rem, 11vw, 3.8rem);
    }
    .cb-explore {
        width: max-content;
    }
}
@media (max-width: 560px) {
    .cb-card-row {
        grid-template-columns: 1fr;
    }
    .cb-card {
        min-height: 340px;
    }
}

/* ---------- Homepage trucking delivery tracker ---------- */
.td-section {
    position: relative;
    overflow: hidden;
    padding: clamp(74px, 8vw, 112px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}
.td-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(27, 67, 254, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(27, 67, 254, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(
        180deg,
        transparent,
        #000 18%,
        #000 82%,
        transparent
    );
    pointer-events: none;
}
.td-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(380px, 1fr) minmax(0, 0.86fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: center;
}
.td-eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(27, 67, 254, 0.16);
    border-radius: 999px;
    background: #eef3ff;
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.td-copy h2 {
    max-width: 15ch;
    margin: 18px 0 18px;
    color: var(--ink);
    font-size: clamp(1.5rem, 3.5vw, 3.5rem);
    line-height: 0.98;
    letter-spacing: 0;
}
.td-copy p {
    max-width: 45ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    font-weight: 650;
}
/* feature rows (icon + title + sub) */
.td-features {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.td-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(10, 31, 62, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(10, 31, 62, 0.05);
    transition:
        transform 0.24s var(--ease),
        border-color 0.24s var(--ease),
        box-shadow 0.24s var(--ease);
}
.td-features li:hover {
    transform: translateY(-2px);
    border-color: rgba(27, 67, 254, 0.24);
    box-shadow: 0 16px 34px rgba(27, 67, 254, 0.12);
}
.td-feat-ic {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #eef3ff;
    color: var(--blue);
}
.td-feat-ic svg {
    width: 21px;
    height: 21px;
}
.td-features strong {
    display: block;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}
.td-features span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 650;
}

/* trust stat strip */
.td-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 26px;
    padding: 18px 4px;
    border-top: 1px solid rgba(10, 31, 62, 0.09);
    border-bottom: 1px solid rgba(10, 31, 62, 0.09);
}
.td-trust-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 14px;
}
.td-trust-item + .td-trust-item {
    border-left: 1px solid rgba(10, 31, 62, 0.09);
}
.td-trust-item strong {
    color: var(--ink);
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.td-trust-item span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
/* ============ LEFT full animated tracking visual ============ */
.td-visual {
    position: relative;
    isolation: isolate;
}
/* soft glowing orbs drifting behind the card */
.td-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(46px);
    opacity: 0.55;
    pointer-events: none;
}
.td-orb-1 {
    top: -8%;
    left: -10%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(27, 67, 254, 0.6), transparent 70%);
    animation: tdOrbFloat 12s ease-in-out infinite;
}
.td-orb-2 {
    right: -12%;
    bottom: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(104, 160, 255, 0.55), transparent 70%);
    animation: tdOrbFloat 15s ease-in-out infinite reverse;
}
.td-visual-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 80vh;
    min-height: 520px;
    max-height: 820px;
    overflow: hidden;
    border: 1px solid rgba(10, 31, 62, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 36px 84px rgba(10, 31, 62, 0.16);
    animation: tdCardFloat 7s ease-in-out infinite;
}
/* live status bar on top of the visual */
.td-visual-top {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(10, 31, 62, 0.08);
    background: linear-gradient(180deg, #fbfcff 0%, #f4f7fb 100%);
}
.td-visual-top .td-map-status {
    position: static;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
    backdrop-filter: none;
}
/* animated signal / reception bars */
.td-signal {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}
.td-signal i {
    width: 4px;
    border-radius: 2px;
    background: var(--blue);
    transform-origin: bottom;
    animation: tdSignal 1.1s ease-in-out infinite;
}
.td-signal i:nth-child(1) {
    height: 30%;
    animation-delay: 0s;
}
.td-signal i:nth-child(2) {
    height: 55%;
    animation-delay: 0.15s;
}
.td-signal i:nth-child(3) {
    height: 78%;
    animation-delay: 0.3s;
}
.td-signal i:nth-child(4) {
    height: 100%;
    animation-delay: 0.45s;
}
/* drifting particle field over the map */
.td-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.td-particles i {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(27, 67, 254, 0.55);
    box-shadow: 0 0 8px rgba(27, 67, 254, 0.6);
    animation: tdParticle 6s ease-in-out infinite;
}
.td-particles i:nth-child(2n) {
    animation-duration: 7.5s;
    background: rgba(104, 160, 255, 0.6);
}
.td-particles i:nth-child(3n) {
    animation-duration: 9s;
    animation-delay: 1.2s;
}
.td-particles i:nth-child(4n) {
    animation-delay: 2.4s;
}
.td-map {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background:
        radial-gradient(
            70% 60% at 72% 18%,
            rgba(27, 67, 254, 0.18),
            transparent 62%
        ),
        radial-gradient(
            60% 50% at 20% 90%,
            rgba(104, 160, 255, 0.16),
            transparent 60%
        ),
        linear-gradient(150deg, #eaf1ff 0%, #f6f9ff 52%, #eef3ff 100%);
}
/* aspect-locked stage so route + pins stay aligned inside a tall card */
.td-map-frame {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    aspect-ratio: 480 / 300;
    max-height: 100%;
}
/* real map kept only as faint blurred texture (hides the AI label typos) */
.td-map-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    filter: grayscale(0.4) blur(2px) saturate(1.1);
    mix-blend-mode: luminosity;
    pointer-events: none;
    animation: tdMapDrift 22s ease-in-out infinite alternate;
}
.td-route-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
/* flowing "live signal" pulse travelling the route (length set at runtime) */
.td-route-pulse {
    stroke-dasharray: 22 316;
    stroke-dashoffset: 0;
    animation: tdPulseFlow 3.4s linear infinite;
    opacity: 0.9;
}
/* solid gradient route with a travelling gap for subtle flow */
.td-route-draw {
    stroke-dasharray: 260 78;
    stroke-dashoffset: 0;
    animation: tdRouteFlow 4.6s linear infinite;
}
.td-van {
    filter: drop-shadow(0 1px 5px rgba(10, 31, 62, 0.4));
}

/* origin / destination pins (HTML overlay so they can carry labels) */
.td-pin {
    position: absolute;
    z-index: 2;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--blue);
    box-shadow:
        0 0 0 4px #fff,
        0 0 0 6px rgba(27, 67, 254, 0.22);
}
.td-pin::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(27, 67, 254, 0.55);
    animation: tdPinPing 2.4s ease-out infinite;
}
.td-pin b {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 9px;
    border-radius: 999px;
    background: #0a1f3e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(10, 31, 62, 0.22);
}
.td-pin b::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #0a1f3e;
}
/* positions map onto the SVG route endpoints (306,66) and (50,232) of 480x300 */
.td-pin-a {
    left: 63.8%;
    top: 22%;
}
.td-pin-b {
    left: 10.4%;
    top: 77.3%;
}

/* secondary Swiss network cities (dot + small label) */
.td-city {
    position: absolute;
    z-index: 2;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--blue);
    box-shadow: 0 1px 4px rgba(10, 31, 62, 0.25);
}
.td-city b {
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow:
        0 1px 0 #fff,
        0 0 6px #fff,
        0 0 6px #fff;
}
.td-city.is-left b {
    left: auto;
    right: calc(100% + 6px);
}

/* live status bar */
.td-map-status {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(10, 31, 62, 0.08);
    box-shadow: 0 8px 22px rgba(10, 31, 62, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--ink);
}
.td-live-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #12b76a;
}
.td-live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #12b76a;
    animation: tdLivePing 1.8s ease-out infinite;
}
.td-live-route {
    color: var(--muted);
    font-weight: 700;
}
/* ETA chip */
.td-eta {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(10, 31, 62, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 28px rgba(10, 31, 62, 0.28);
    animation: tdEtaRise 0.7s var(--ease) both;
}
.td-eta-label {
    color: #9fb4d6;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.td-eta-val {
    color: #fff;
    font-size: 1.06rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}
.td-track-form {
    margin-top: 30px;
}
.td-form-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.td-form-icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #eef3ff;
    color: var(--blue);
}
.td-form-icon svg {
    width: 25px;
    height: 25px;
}
.td-form-head strong,
.td-form-head span {
    display: block;
}
.td-form-head strong {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.2;
}
.td-form-head span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}
.td-input-row {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 6px 7px 6px 44px;
    border: 1px solid rgba(108, 145, 255, 0.72);
    border-radius: 999px;
    background: #173755;
    box-shadow:
        0 0 0 3px rgba(85, 122, 255, 0.22),
        0 18px 42px rgba(8, 24, 54, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    isolation: isolate;
    animation: none;
}
.td-input-row::before {
    content: "#";
    position: absolute;
    left: 20px;
    top: 50%;
    z-index: 1;
    color: #88a5ff;
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
    animation: none;
}
.td-input-row::after {
    content: none;
}
.td-input-row:focus-within {
    border-color: rgba(129, 163, 255, 0.9);
    box-shadow:
        0 0 0 4px rgba(85, 122, 255, 0.3),
        0 24px 56px rgba(8, 24, 54, 0.3),
        0 0 28px rgba(104, 160, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.td-input-row input {
    min-width: 0;
    height: 50px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.02em;
    caret-color: #88a5ff;
}
.td-input-row input::placeholder {
    color: rgba(179, 195, 220, 0.72);
}
.td-input-row input:focus {
    outline: none;
}
.td-input-row button {
    min-width: 110px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow:
        0 12px 26px rgba(27, 67, 254, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transition:
        transform 0.22s var(--ease),
        background 0.22s var(--ease),
        color 0.22s var(--ease),
        box-shadow 0.22s var(--ease);
}
.td-input-row button:hover {
    background: var(--blue-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow:
        0 16px 30px rgba(27, 67, 254, 0.36),
        0 0 24px rgba(27, 67, 254, 0.24);
}
@keyframes tdPulseFlow {
    to {
        stroke-dashoffset: -338;
    }
}
@keyframes tdPinPing {
    0% {
        transform: scale(0.7);
        opacity: 0.9;
    }
    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}
@keyframes tdLivePing {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}
@keyframes tdMapDrift {
    from {
        transform: scale(1.06) translate(0, 0);
    }
    to {
        transform: scale(1.12) translate(-2%, -1.5%);
    }
}
@keyframes tdRouteFlow {
    to {
        stroke-dashoffset: -338;
    }
}
@keyframes tdOrbFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(18px, -22px) scale(1.12);
    }
}
@keyframes tdCardFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}
@keyframes tdSignal {
    0%,
    100% {
        transform: scaleY(0.4);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}
@keyframes tdParticle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(-26px) scale(0.6);
        opacity: 0;
    }
}
@keyframes tdEtaRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes tdInputGlow {
    0%,
    100% {
        box-shadow:
            0 18px 42px rgba(27, 67, 254, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.26),
            inset 0 -18px 42px rgba(0, 10, 74, 0.24);
    }
    50% {
        box-shadow:
            0 22px 54px rgba(27, 67, 254, 0.5),
            0 0 34px rgba(104, 160, 255, 0.42),
            inset 0 1px 0 rgba(255, 255, 255, 0.34),
            inset 0 -18px 42px rgba(0, 10, 74, 0.2);
    }
}
@keyframes tdInputBorderFlow {
    to {
        background-position: 240% 0;
    }
}
@keyframes tdInputSheen {
    0%,
    38% {
        transform: translateX(-130%);
    }
    72%,
    100% {
        transform: translateX(130%);
    }
}

@media (max-width: 900px) {
    .td-inner {
        grid-template-columns: 1fr;
    }
    .td-copy h2 {
        max-width: 13ch;
    }
}
@media (max-width: 560px) {
    .td-section {
        padding: 66px 0;
    }
    .td-map-status {
        font-size: 0.72rem;
    }
    .td-input-row {
        grid-template-columns: 1fr;
    }
    .td-input-row button {
        width: 100%;
    }
    .td-trust-item {
        padding: 0 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .td-input-row,
    .td-input-row::before,
    .td-input-row::after,
    .td-orb,
    .td-visual-card,
    .td-signal i,
    .td-particles i,
    .td-route-draw {
        animation: none;
    }
}

/* ---------- Admin orders dashboard ---------- */
.admin-orders-page {
    min-height: 100vh;
    background: #100f0d;
    color: #f5f2e8;
}
.admin-orders-page button,
.admin-orders-page input,
.admin-orders-page select {
    font: inherit;
}
.ao-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    background:
        radial-gradient(
            80% 70% at 75% 0%,
            rgba(221, 211, 166, 0.09),
            transparent 55%
        ),
        #100f0d;
}
.ao-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.ao-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.24rem;
    font-weight: 900;
}
.ao-brand span {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background:
        linear-gradient(90deg, #f5f2e8 0 42%, transparent 42%),
        linear-gradient(#f5f2e8 0 42%, transparent 42%), #d9d0ab;
}
.ao-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 34px;
}
.ao-sidebar nav a {
    padding: 12px 14px;
    border-radius: 12px;
    color: #8d8879;
    font-size: 0.88rem;
    font-weight: 800;
}
.ao-sidebar nav a:hover,
.ao-sidebar nav a.is-active {
    background: #1f1e1b;
    color: #f5f2e8;
}
.ao-main {
    min-width: 0;
    padding: 24px 22px 26px;
}
.ao-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1px;
    margin-bottom: 18px;
}
.ao-topbar h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: clamp(1.8rem, 2.7vw, 2.5rem);
    letter-spacing: 0;
}
.ao-topbar h1 span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #27251f;
    color: #d9d0ab;
    font-size: 0.78rem;
}
.ao-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ao-clock {
    min-width: 154px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: #151411;
    color: #f4f0df;
    text-align: right;
}
.ao-clock strong,
.ao-clock small {
    display: block;
    line-height: 1.1;
}
.ao-clock strong {
    font-size: 0.92rem;
    font-weight: 900;
}
.ao-clock small {
    margin-top: 4px;
    color: #8d8879;
    font-size: 0.7rem;
    font-weight: 800;
}
.ao-actions > button,
.ao-actions > form > button,
.ao-details-head button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: #151411;
    color: #f4f0df;
    cursor: pointer;
}
.ao-actions svg {
    width: 19px;
    height: 19px;
}
.ao-profile {
    position: relative;
}
.ao-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 5px 12px 5px 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: #171612;
    cursor: pointer;
}
.ao-user img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}
.ao-user strong,
.ao-user small {
    display: block;
    line-height: 1.1;
}
.ao-user strong {
    color: #fff;
    font-size: 0.82rem;
}
.ao-user small {
    margin-top: 4px;
    color: #8d8879;
    font-size: 0.72rem;
    font-weight: 800;
}
.ao-user-chevron {
    width: 16px;
    height: 16px;
    color: currentColor;
    opacity: 0.65;
    transition: transform 0.2s ease;
}
.ao-profile.is-open .ao-user-chevron {
    transform: rotate(180deg);
}
.ao-profile-card {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 60;
    width: min(320px, 88vw);
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #171612;
    color: #f4f0df;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}
.ao-profile-card[hidden] {
    display: none;
}
.ao-profile-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ao-profile-head img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.ao-profile-head strong,
.ao-profile-head small {
    display: block;
    line-height: 1.15;
}
.ao-profile-head strong {
    color: #fff;
    font-size: 0.95rem;
}
.ao-profile-head small {
    margin-top: 5px;
    color: #8d8879;
    font-size: 0.75rem;
    font-weight: 800;
}
.ao-profile-meta {
    display: grid;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ao-profile-meta span {
    color: #8d8879;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}
.ao-profile-meta a,
.ao-profile-meta strong {
    color: #f4f0df;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}
.ao-profile-actions {
    display: flex;
    gap: 10px;
    padding-top: 14px;
}
.ao-profile-actions a,
.ao-profile-actions button {
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #f4f0df;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}
.ao-profile-actions form {
    flex: 1;
}
.ao-profile-actions button {
    width: 100%;
}
.ao-filterbar {
    width: max-content;
    max-width: 100%;
    display: flex;
    gap: 3px;
    margin: 0 auto 18px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: #141310;
}
.ao-filterbar button {
    min-width: 92px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #eee9d5;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}
.ao-filterbar button.is-active {
    background: #ded5af;
    color: #15130f;
}
.ao-content {
    display: block;
}
.ao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
}
.ao-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background: #262522;
    color: #f5f2e8;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.22s var(--ease),
        border-color 0.22s var(--ease),
        background 0.22s var(--ease);
}
.ao-card-foot {
    margin-top: auto;
}
.ao-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.ao-card-actions button {
    flex: 1;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f4f0df;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.18s var(--ease),
        background 0.18s var(--ease),
        color 0.18s var(--ease);
}
.ao-card-actions button:hover {
    transform: translateY(-1px);
    background: #1b43fe;
    color: #fff;
}
/* pencil affordance — signals the card opens an editable preview */
.ao-card-edit {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(27, 67, 254, 0.1);
    color: #1b43fe;
    opacity: 0;
    transform: translateY(-4px);
    transition:
        opacity 0.2s var(--ease),
        transform 0.2s var(--ease);
}
.ao-card-edit svg {
    width: 15px;
    height: 15px;
}
.ao-card:hover .ao-card-edit,
.ao-card:focus-visible .ao-card-edit {
    opacity: 1;
    transform: translateY(0);
}
.ao-card.is-saved {
    animation: aoCardSaved 0.6s var(--ease);
}
@keyframes aoCardSaved {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 67, 254, 0.35);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(27, 67, 254, 0);
    }
}
.ao-card:hover,
.ao-card.is-selected {
    transform: translateY(-3px);
    border-color: rgba(222, 213, 175, 0.42);
    background: #2e2c28;
}
.ao-card[hidden] {
    display: none;
}
.ao-card-head,
.ao-card-foot,
.ao-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.ao-card-head strong {
    color: #fff;
    font-size: 0.98rem;
}
.ao-distance {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f5f2e8;
    font-size: 0.76rem;
    font-weight: 900;
}
.ao-distance i {
    width: 18px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 3px;
}
.ao-route-line {
    position: relative;
    display: block;
    width: 52%;
    height: 1px;
    margin: 14px auto 18px;
    background: #747064;
}
.ao-route-line::before,
.ao-route-line::after,
.ao-route-line i {
    content: "";
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c9c2a4;
    transform: translateY(-50%);
}
.ao-route-line::before {
    left: 0;
}
.ao-route-line::after {
    right: 0;
}
.ao-route-line i {
    left: 50%;
}
.ao-meta {
    margin-top: 9px;
    align-items: center;
}
.ao-meta small {
    color: #8d8879;
    font-size: 0.72rem;
    font-weight: 800;
}
.ao-meta strong {
    max-width: 62%;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    text-align: right;
}
.ao-card-foot {
    align-items: center;
    margin-top: 18px;
    color: #d2ccba;
    font-size: 0.76rem;
    font-weight: 900;
}
.ao-status {
    padding: 6px 9px;
    border-radius: 999px;
    background: #38362f;
    color: #eee9d5;
    font-style: normal;
    white-space: nowrap;
}
.ao-status-delivered {
    background: rgba(61, 155, 94, 0.18);
    color: #8be3a4;
}
.ao-status-picked-up {
    background: rgba(230, 167, 102, 0.18);
    color: #e7b27d;
}
.ao-upgrade {
    position: relative;
    grid-column: span 2;
    min-height: 210px;
    overflow: hidden;
    padding: 24px;
    border-radius: 20px;
    background: #ddd5b6;
    color: #15130f;
}
.ao-upgrade button {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(10, 31, 62, 0.1);
    color: #0a1f3e;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}
.ao-upgrade button:hover {
    background: rgba(10, 31, 62, 0.2);
}
.ao-upgrade button svg {
    width: 15px;
    height: 15px;
}
.ao-upgrade-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #fff2df;
    color: #f4b740;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ao-upgrade.is-dismissed {
    opacity: 0;
    transform: scale(0.96);
    transition:
        opacity 0.24s var(--ease),
        transform 0.24s var(--ease);
}
.ao-upgrade h2 {
    max-width: 8ch;
    color: #15130f;
    font-size: 1.75rem;
    letter-spacing: 0;
}
.ao-upgrade p {
    max-width: 29ch;
    margin: 12px 0 20px;
    color: #403c31;
    font-size: 0.82rem;
    font-weight: 800;
}
.ao-upgrade a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 138px;
    height: 42px;
    border-radius: 999px;
    background: #15130f;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
}
.ao-upgrade img {
    position: absolute;
    right: -14px;
    bottom: -12px;
    width: min(55%, 360px);
    max-height: 92%;
    object-fit: contain;
}
.ao-details {
    position: sticky;
    top: 18px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: #20201d;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}
.ao-details-head,
.ao-detail-row,
.ao-summary,
.ao-detail-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.ao-details-head {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ao-details-head h2 {
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 0;
}
.ao-detail-fields {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.ao-detail-fields label span,
.ao-detail-row small,
.ao-summary small {
    display: block;
    margin-bottom: 6px;
    color: #8d8879;
    font-size: 0.74rem;
    font-weight: 900;
}
.ao-detail-fields select {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0 12px;
    background: #2a2925;
    color: #fff;
    font-weight: 900;
}
.ao-detail-row {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #262522;
}
.ao-detail-row strong,
.ao-summary strong {
    display: block;
    color: #fff;
    font-size: 0.82rem;
}
.ao-items {
    display: grid;
    gap: 8px;
    margin: 16px 0;
}
.ao-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 10px;
    align-items: center;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    background: #292824;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
}
.ao-item span:not(:first-child) {
    color: #d4cdb4;
}
.ao-summary {
    align-items: flex-start;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ao-detail-actions {
    margin-top: 18px;
}
.ao-detail-actions button,
.ao-create {
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: #181713;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}
.ao-detail-actions button {
    flex: 1;
}
.ao-create {
    width: 100%;
    height: 56px;
    margin-top: 16px;
    border: 0;
    background: #ded5af;
    color: #15130f;
}

/* ============ Order preview / edit modal ============ */
.ao-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
}
.ao-modal[hidden] {
    display: none;
}
.ao-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 45, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.24s var(--ease);
}
.ao-modal.is-open .ao-modal-backdrop {
    opacity: 1;
}
.ao-modal-card {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: clamp(22px, 3vw, 30px);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 100px rgba(8, 20, 45, 0.4);
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition:
        opacity 0.26s var(--ease),
        transform 0.26s var(--ease);
}
.ao-modal.is-preview-mode .ao-modal-card {
    width: min(980px, 100%);
}
.ao-modal.is-edit-mode .ao-modal-card {
    width: min(720px, 100%);
}
.ao-modal.is-edit-mode .ao-modal-form {
    margin-top: 20px;
}
.ao-modal.is-open .ao-modal-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.ao-modal-head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ao-modal-headings {
    flex: 1;
    min-width: 0;
}
.ao-modal-eyebrow {
    color: #1b43fe;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ao-modal-head h2 {
    margin-top: 4px;
    color: #0a1f3e;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}
.ao-modal-x {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #e3e9f4;
    border-radius: 50%;
    background: #fff;
    color: #6b7a92;
    cursor: pointer;
    transition:
        background 0.2s var(--ease),
        color 0.2s var(--ease);
}
.ao-modal-x:hover {
    background: #f1f4fa;
    color: #0a1f3e;
}
.ao-modal-x svg {
    width: 17px;
    height: 17px;
}
.ao-modal-route {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    padding: 16px;
    border: 1px solid #e6ecf6;
    border-radius: 14px;
    background: #f6f9ff;
}
.ao-modal-city {
    display: grid;
    gap: 3px;
}
.ao-modal-city small {
    color: #6b7a92;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ao-modal-city strong {
    color: #0a1f3e;
    font-size: 0.98rem;
}
.ao-modal-city-to {
    text-align: right;
}
.ao-modal-track {
    position: relative;
    flex: 1;
    height: 2px;
    background: #c3d2ef;
    border-radius: 2px;
}
.ao-modal-track::before,
.ao-modal-track::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1b43fe;
    transform: translateY(-50%);
}
.ao-modal-track::before {
    left: 0;
}
.ao-modal-track::after {
    right: 0;
}
.ao-modal-track i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1b43fe;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(27, 67, 254, 0.16);
    animation: aoTrackMove 2.6s ease-in-out infinite;
}
@keyframes aoTrackMove {
    0%,
    100% {
        left: 0;
    }
    50% {
        left: calc(100% - 12px);
    }
}
.ao-modal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ao-modal-field {
    display: grid;
    gap: 6px;
}
.ao-modal-field-wide {
    grid-column: 1 / -1;
}
.ao-modal-field > span {
    color: #34405a;
    font-size: 0.78rem;
    font-weight: 800;
}
.ao-modal-field input,
.ao-modal-field select {
    height: 46px;
    border: 1px solid #e3e9f4;
    border-radius: 11px;
    padding: 0 13px;
    background: #f7f9fd;
    color: #0a1f3e;
    font: inherit;
    font-weight: 700;
    transition:
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        background 0.2s var(--ease);
}
.ao-modal-field input:focus,
.ao-modal-field select:focus {
    outline: none;
    border-color: rgba(27, 67, 254, 0.55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(27, 67, 254, 0.1);
}
.ao-preview-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.ao-note {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #e3e9f4;
    border-radius: 12px;
    background: #f7f9fd;
}
.ao-note-wide {
    grid-column: 1 / -1;
}
.ao-note span {
    display: block;
    margin-bottom: 5px;
    color: #6b7a92;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}
.ao-note strong {
    display: block;
    color: #0a1f3e;
    font-size: 0.92rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.ao-inline-notice {
    align-self: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ddf8e7;
    color: #108446;
    font-size: 0.78rem;
    font-weight: 900;
}
.ao-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}
.ao-btn-ghost,
.ao-btn-primary {
    height: 46px;
    padding: 0 22px;
    border-radius: 11px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        background 0.2s var(--ease);
}
.ao-btn-ghost {
    border: 1px solid #dbe3f0;
    background: #fff;
    color: #34405a;
}
.ao-btn-ghost:hover {
    background: #f1f4fa;
}
.ao-btn-primary {
    border: 0;
    background: #1b43fe;
    color: #fff;
    box-shadow: 0 14px 28px rgba(27, 67, 254, 0.26);
}
.ao-btn-primary:hover {
    background: #123bef;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(27, 67, 254, 0.34);
}
.ao-toast {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 140;
    max-width: min(360px, calc(100vw - 32px));
    transform: translateY(18px) scale(0.98);
    padding: 16px 18px 16px 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(10, 14, 24, 0.78)),
        rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    opacity: 0;
    transition:
        opacity 0.3s var(--ease),
        transform 0.3s var(--ease);
}
.ao-toast::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.16);
    transform: translateY(-50%);
}
.ao-toast.is-warning::before {
    background: #fbbf24;
    box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.16);
}
.ao-toast.is-alert::before,
.ao-toast.is-error::before {
    background: #fb7185;
    box-shadow: 0 0 0 6px rgba(251, 113, 133, 0.16);
}
.ao-toast[hidden] {
    display: none;
}
.ao-toast.is-on {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.ao-message-popup {
    position: fixed;
    right: 26px;
    top: 92px;
    z-index: 130;
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    max-width: min(380px, calc(100vw - 32px));
    padding: 14px 18px 14px 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(10, 14, 24, 0.74)),
        rgba(15, 23, 42, 0.76);
    color: #f8fbff;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    animation: aoMessageIn 0.42s var(--ease) both;
    transition:
        opacity 0.26s var(--ease),
        transform 0.26s var(--ease);
}
.ao-message-popup::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.16);
    transform: translateY(-50%);
}
.ao-message-warning::before {
    background: #fbbf24;
    box-shadow: 0 0 0 6px rgba(251, 191, 36, 0.16);
}
.ao-message-alert::before,
.ao-message-error::before {
    background: #fb7185;
    box-shadow: 0 0 0 6px rgba(251, 113, 133, 0.16);
}
@keyframes aoMessageIn {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@media (max-width: 760px) {
    .ao-preview-notes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    .ao-modal-form {
        grid-template-columns: 1fr;
    }
    .ao-preview-notes {
        grid-template-columns: 1fr;
    }
    .ao-modal-foot {
        flex-direction: column-reverse;
    }
    .ao-btn-ghost,
    .ao-btn-primary {
        width: 100%;
    }
    .ao-toast,
    .ao-message-popup {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ao-modal-track i {
        animation: none !important;
    }
}
@media (max-width: 1180px) {
    .ao-shell {
        grid-template-columns: 1fr;
    }
    .ao-sidebar {
        position: static;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }
    .ao-sidebar nav {
        display: flex;
        flex-wrap: wrap;
        margin-top: 0;
    }
    .ao-content {
        grid-template-columns: 1fr;
    }
    .ao-details {
        position: static;
    }
}
@media (max-width: 820px) {
    .ao-topbar,
    .ao-sidebar {
        align-items: flex-start;
        flex-direction: column;
    }
    .ao-grid {
        grid-template-columns: 1fr;
    }
    .ao-upgrade {
        grid-column: auto;
    }
    .ao-filterbar {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }
}
@media (max-width: 560px) {
    .ao-main {
        padding: 16px 12px 20px;
    }
    .ao-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    .ao-user {
        width: 100%;
    }
    .ao-upgrade img {
        opacity: 0.3;
    }
}

/* ---------- Admin login ---------- */
.admin-login-page {
    min-height: 100vh;
    background: #100f0d;
    color: #f5f2e8;
}
.al-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.72fr);
}
.al-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: clamp(28px, 4vw, 58px);
    background:
        linear-gradient(135deg, rgba(222, 213, 175, 0.12), transparent 42%),
        radial-gradient(
            85% 70% at 62% 40%,
            rgba(27, 67, 254, 0.2),
            transparent 60%
        ),
        #151411;
}
.al-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.5;
}
.al-brand,
.al-truck-card {
    position: relative;
    z-index: 1;
}
.al-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 900;
}
.al-brand span {
    width: 21px;
    height: 21px;
    border-radius: 6px;
    background: #ded5af;
    box-shadow: inset 8px 0 0 #fff;
}
.al-truck-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(250px, 0.72fr);
    gap: clamp(18px, 4vw, 48px);
    align-items: end;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}
.al-truck-card img {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.38));
}
.al-truck-card span {
    display: inline-block;
    margin-bottom: 12px;
    color: #ded5af;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.al-truck-card strong {
    display: block;
    max-width: 12ch;
    color: #fff;
    font-size: clamp(2rem, 4vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: 0;
}
.al-panel {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: clamp(24px, 4vw, 52px);
    background: #100f0d;
}
.al-card {
    width: min(100%, 460px);
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: #1f1e1b;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}
.al-eyebrow {
    color: #ded5af;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.al-card h1 {
    margin: 14px 0 10px;
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    letter-spacing: 0;
}
.al-card p {
    color: #9e9784;
    font-weight: 700;
}
.al-form {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}
.al-form label:not(.al-check) {
    color: #d8d0b6;
    font-size: 0.8rem;
    font-weight: 900;
}
.al-form input[type="email"],
.al-form input[type="password"] {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 14px;
    background: #292824;
    color: #fff;
    font: inherit;
    font-weight: 800;
}
.al-form input:focus {
    outline: none;
    border-color: rgba(222, 213, 175, 0.55);
    box-shadow: 0 0 0 4px rgba(222, 213, 175, 0.08);
}
.al-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    color: #9e9784;
    font-size: 0.86rem;
    font-weight: 800;
}
.al-check input {
    width: 16px;
    height: 16px;
    accent-color: #ded5af;
}
.al-form button {
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: #ded5af;
    color: #15130f;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.22s var(--ease),
        box-shadow 0.22s var(--ease);
}
.al-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(222, 213, 175, 0.18);
}
.al-error {
    color: #ff9f9f;
    font-size: 0.78rem;
    font-weight: 800;
}
.al-demo {
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding: 14px;
    border-radius: 14px;
    background: #171612;
    color: #9e9784;
    font-size: 0.8rem;
}
.al-demo strong,
.al-demo small {
    color: #f5f2e8;
    font-weight: 900;
}
@media (max-width: 980px) {
    .al-shell {
        grid-template-columns: 1fr;
    }
    .al-visual {
        min-height: 480px;
    }
    .al-panel {
        min-height: auto;
    }
}
@media (max-width: 620px) {
    .al-truck-card {
        grid-template-columns: 1fr;
    }
    .al-truck-card strong {
        max-width: 13ch;
    }
}
@media (prefers-reduced-motion: reduce) {
    .td-route-pulse,
    .td-wp,
    .td-truck animateMotion,
    .td-pin::before,
    .td-live-dot::after,
    .td-map-bg {
        animation: none !important;
    }
}

/* ============ Admin login — split-screen redesign ============ */
.admin-login-page {
    min-height: 100vh;
    background: #f4f7fb;
    color: #0a1f3e;
}
.admin-login-page .al-shell {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
}

/* ---- left visual ---- */
.admin-login-page .al-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: clamp(30px, 4vw, 60px);
    color: #fff;
    background:
        radial-gradient(
            80% 60% at 78% 8%,
            rgba(255, 255, 255, 0.22),
            transparent 55%
        ),
        linear-gradient(150deg, #2f5bff 0%, #1b43fe 46%, #0b2bc9 100%);
    animation: alVisualIn 0.8s var(--ease) both;
}
.admin-login-page .al-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(80% 80% at 50% 40%, #000 40%, transparent 78%);
    pointer-events: none;
}
.admin-login-page .al-visual-glow {
    position: absolute;
    z-index: 0;
    width: 460px;
    height: 460px;
    right: -140px;
    top: -120px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(120, 160, 255, 0.55),
        transparent 66%
    );
    filter: blur(8px);
    pointer-events: none;
}
.admin-login-page .al-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    color: #fff;
    font-size: 1.16rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}
.admin-login-page .al-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 10px 22px rgba(10, 31, 62, 0.24);
}
/* reset the old .al-brand span (gold dot) styling for the new text label */
.admin-login-page .al-brand-name {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    white-space: nowrap;
}
.admin-login-page .al-visual-truck {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 10px 0;
}
.admin-login-page .al-visual-truck img {
    width: min(100%, 500px);
    filter: drop-shadow(0 34px 34px rgba(4, 16, 60, 0.42));
    animation: alTruckFloat 5s ease-in-out infinite;
}
.admin-login-page .al-visual-copy {
    position: relative;
    z-index: 1;
    max-width: 30ch;
}
.admin-login-page .al-visual-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #eaf0ff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.admin-login-page .al-visual-copy h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.admin-login-page .al-feature-list {
    margin-top: 22px;
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
}
.admin-login-page .al-feature-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #dce6ff;
    font-size: 0.92rem;
    font-weight: 700;
}
.admin-login-page .al-feature-list li::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b43fe' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
            center / 12px no-repeat,
        #fff;
}

/* ---- right form ---- */
.admin-login-page .al-panel {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: clamp(26px, 4vw, 56px);
    background: #f4f7fb;
    animation: alPanelIn 0.85s var(--ease) 0.06s both;
}
.admin-login-page .al-card {
    width: min(100%, 420px);
    padding: clamp(26px, 3vw, 40px);
    border: 1px solid #e6ecf6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(10, 31, 62, 0.1);
}
.admin-login-page .al-eyebrow {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    background: #eaf0ff;
    color: #1b43fe;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.admin-login-page .al-card h1 {
    margin: 16px 0 8px;
    color: #0a1f3e;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    letter-spacing: -0.02em;
}
.admin-login-page .al-card p {
    color: #6b7a92;
    font-weight: 600;
}
.admin-login-page .al-form {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}
.admin-login-page .al-field {
    display: grid;
    gap: 7px;
}
.admin-login-page .al-form label:not(.al-check) {
    color: #34405a;
    font-size: 0.82rem;
    font-weight: 800;
}
.admin-login-page .al-input {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #e3e9f4;
    border-radius: 13px;
    background: #f7f9fd;
    transition:
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        background 0.2s var(--ease);
}
.admin-login-page .al-input:focus-within {
    border-color: rgba(27, 67, 254, 0.55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(27, 67, 254, 0.1);
}
.admin-login-page .al-input > svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: #91a0ba;
}
.admin-login-page .al-input:focus-within > svg {
    color: #1b43fe;
}
.admin-login-page .al-input input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: #0a1f3e;
    font: inherit;
    font-weight: 700;
}
.admin-login-page .al-input input:focus {
    outline: none;
}
.admin-login-page .al-input input::placeholder {
    color: #9aa8c0;
    font-weight: 600;
}
.admin-login-page .al-eye {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #91a0ba;
    cursor: pointer;
    transition:
        color 0.2s var(--ease),
        background 0.2s var(--ease);
}
.admin-login-page .al-eye:hover {
    background: #eef2fa;
    color: #1b43fe;
}
.admin-login-page .al-eye svg {
    width: 19px;
    height: 19px;
}
.admin-login-page .al-eye.is-on {
    color: #1b43fe;
}
.admin-login-page .al-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0;
}
.admin-login-page .al-check {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #6b7a92;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
}
.admin-login-page .al-check input {
    width: 17px;
    height: 17px;
    accent-color: #1b43fe;
}
.admin-login-page .al-forgot {
    color: #1b43fe;
    font-size: 0.86rem;
    font-weight: 800;
}
.admin-login-page .al-forgot:hover {
    text-decoration: underline;
}
.admin-login-page .al-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 54px;
    margin-top: 4px;
    border: 0;
    border-radius: 13px;
    background: #1b43fe;
    color: #fff;
    font: inherit;
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(27, 67, 254, 0.26);
    transition:
        transform 0.22s var(--ease),
        box-shadow 0.22s var(--ease),
        background 0.22s var(--ease);
}
.admin-login-page .al-submit svg {
    width: 19px;
    height: 19px;
    transition: transform 0.22s var(--ease);
}
.admin-login-page .al-submit:hover {
    background: #123bef;
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(27, 67, 254, 0.34);
}
.admin-login-page .al-submit:hover svg {
    transform: translateX(3px);
}
.admin-login-page .al-error {
    color: #d92d20;
    font-size: 0.78rem;
    font-weight: 700;
}
.admin-login-page .al-demo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px dashed #cdd8ec;
    border-radius: 13px;
    background: #f5f8fd;
}
.admin-login-page .al-demo > span {
    color: #6b7a92;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.admin-login-page .al-demo-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.admin-login-page .al-demo strong {
    color: #0a1f3e;
    font-size: 0.88rem;
    font-weight: 800;
}
.admin-login-page .al-demo small {
    color: #1b43fe;
    font-size: 0.84rem;
    font-weight: 800;
}

@media (max-width: 980px) {
    .admin-login-page .al-shell {
        grid-template-columns: 1fr;
    }
    .admin-login-page .al-visual {
        min-height: auto;
        padding: 28px clamp(20px, 5vw, 40px) 34px;
    }
    .admin-login-page .al-visual-truck {
        max-height: 210px;
    }
    .admin-login-page .al-visual-truck img {
        width: min(74%, 360px);
    }
    .admin-login-page .al-panel {
        min-height: auto;
    }
}
@media (max-width: 560px) {
    .admin-login-page .al-visual-copy h2 {
        font-size: 1.35rem;
    }
    .admin-login-page .al-demo {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (prefers-reduced-motion: reduce) {
    .admin-login-page .al-visual,
    .admin-login-page .al-panel,
    .admin-login-page .al-visual-truck img {
        animation: none !important;
    }
}

.admin-orders-page {
    background: #eef4ff;
    color: #0a1f3e;
}
.admin-orders-page .ao-shell {
    background:
        radial-gradient(
            80% 70% at 78% 0%,
            rgba(27, 67, 254, 0.16),
            transparent 56%
        ),
        #eef4ff;
}
.admin-orders-page .ao-sidebar {
    background: rgba(255, 255, 255, 0.72);
    border-right-color: rgba(27, 67, 254, 0.1);
    backdrop-filter: blur(18px);
}
.admin-orders-page .ao-brand {
    color: #0a1f3e;
}
.admin-orders-page .ao-brand span {
    background:
        linear-gradient(90deg, #1b43fe 0 42%, transparent 42%),
        linear-gradient(#1b43fe 0 42%, transparent 42%), #9cb5ff;
}
.admin-orders-page .ao-sidebar nav a {
    color: #6b7a92;
}
.admin-orders-page .ao-sidebar nav a:hover,
.admin-orders-page .ao-sidebar nav a.is-active {
    background: #e6edff;
    color: #1b43fe;
}
.admin-orders-page .ao-topbar h1,
.admin-orders-page .ao-card-head strong,
.admin-orders-page .ao-meta strong,
.admin-orders-page .ao-details-head h2,
.admin-orders-page .ao-detail-row strong,
.admin-orders-page .ao-summary strong {
    color: #0a1f3e;
}
.admin-orders-page .ao-topbar h1 span {
    background: #dfe8ff;
    color: #1b43fe;
}
.admin-orders-page .ao-actions > button,
.admin-orders-page .ao-actions > form > button,
.admin-orders-page .ao-details-head button {
    border-color: #dbe5f7;
    background: #ffffff;
    color: #1b43fe;
    box-shadow: 0 10px 24px rgba(10, 31, 62, 0.06);
}
.admin-orders-page .ao-clock {
    border-color: #dbe5f7;
    background: #ffffff;
    color: #0a1f3e;
    box-shadow: 0 10px 24px rgba(10, 31, 62, 0.06);
}
.admin-orders-page .ao-clock small {
    color: #6b7a92;
}
.admin-orders-page .ao-user {
    border-color: #dbe5f7;
    background: #ffffff;
}
.admin-orders-page .ao-user strong {
    color: #0a1f3e;
}
.admin-orders-page .ao-user small,
.admin-orders-page .ao-profile-head small,
.admin-orders-page .ao-profile-meta span,
.admin-orders-page .ao-meta small,
.admin-orders-page .ao-detail-fields label span,
.admin-orders-page .ao-detail-row small,
.admin-orders-page .ao-summary small {
    color: #6b7a92;
}
.admin-orders-page .ao-profile-card {
    border-color: #dbe5f7;
    background: #ffffff;
    color: #0a1f3e;
    box-shadow: 0 24px 60px rgba(10, 31, 62, 0.14);
}
.admin-orders-page .ao-profile-head,
.admin-orders-page .ao-profile-meta {
    border-color: #e8eef8;
}
.admin-orders-page .ao-profile-head strong,
.admin-orders-page .ao-profile-meta a,
.admin-orders-page .ao-profile-meta strong {
    color: #0a1f3e;
}
.admin-orders-page .ao-profile-actions a,
.admin-orders-page .ao-profile-actions button {
    background: #e6edff;
    color: #1b43fe;
}
.admin-orders-page .ao-filterbar {
    border-color: #dbe5f7;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(10, 31, 62, 0.08);
}
.admin-orders-page .ao-filterbar button {
    color: #355071;
}
.admin-orders-page .ao-filterbar button.is-active {
    background: #1b43fe;
    color: #ffffff;
}
.admin-orders-page .ao-card {
    position: relative;
    overflow: hidden;
    border-color: #dbe5f7;
    background: rgba(255, 255, 255, 0.88);
    color: #0a1f3e;
    box-shadow: 0 18px 40px rgba(10, 31, 62, 0.08);
}
.admin-orders-page .ao-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 67, 254, 0.12),
        transparent 44%
    );
    opacity: 0;
    transition: opacity 0.25s var(--ease);
}
.admin-orders-page .ao-card > * {
    position: relative;
    z-index: 1;
}
.admin-orders-page .ao-card:hover,
.admin-orders-page .ao-card.is-selected {
    border-color: rgba(27, 67, 254, 0.4);
    background: #ffffff;
    box-shadow: 0 24px 58px rgba(27, 67, 254, 0.14);
}
.admin-orders-page .ao-card:hover::before,
.admin-orders-page .ao-card.is-selected::before {
    opacity: 1;
}
.admin-orders-page .ao-card-actions button {
    border-color: #dbe5f7;
    background: #ffffff;
    color: #1b43fe;
    box-shadow: 0 8px 18px rgba(10, 31, 62, 0.06);
}
.admin-orders-page .ao-card-actions button:hover {
    background: #1b43fe;
    color: #ffffff;
}
.admin-orders-page .ao-distance,
.admin-orders-page .ao-card-foot {
    color: #355071;
}
.admin-orders-page .ao-route-line {
    background: #aebee2;
}
.admin-orders-page .ao-route-line::before,
.admin-orders-page .ao-route-line::after,
.admin-orders-page .ao-route-line i {
    background: #1b43fe;
}
.admin-orders-page .ao-status {
    background: #e6edff;
    color: #1b43fe;
}
.admin-orders-page .ao-status-order-confirmed {
    background: #e6edff;
    color: #1b43fe;
}
.admin-orders-page .ao-status-truck-assigned {
    background: #e0efff;
    color: #1357c8;
}
.admin-orders-page .ao-status-in-transit {
    background: #ede7ff;
    color: #6b35c8;
}
.admin-orders-page .ao-status-delivered {
    background: #ddf8e7;
    color: #108446;
}
.admin-orders-page .ao-status-picked-up {
    background: #fff0db;
    color: #af610c;
}
.admin-orders-page .ao-upgrade {
    background:
        radial-gradient(
            70% 80% at 72% 38%,
            rgba(255, 255, 255, 0.5),
            transparent 60%
        ),
        linear-gradient(135deg, #dce7ff, #86a6ff);
    color: #0a1f3e;
    box-shadow: 0 24px 58px rgba(27, 67, 254, 0.18);
}
.admin-orders-page .ao-upgrade h2,
.admin-orders-page .ao-upgrade p {
    color: #0a1f3e;
}
.admin-orders-page .ao-upgrade a {
    background: #1b43fe;
    color: #ffffff;
}
.admin-orders-page .ao-details {
    border-color: rgba(27, 67, 254, 0.14);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 28px 74px rgba(10, 31, 62, 0.12);
    backdrop-filter: blur(18px);
}
.admin-orders-page .ao-details.is-updating {
    animation: aoDetailRefresh 0.42s var(--ease) both;
}
.admin-orders-page .ao-details-head {
    border-bottom-color: #e3e9f4;
}
.admin-orders-page .ao-detail-fields select,
.admin-orders-page .ao-detail-row,
.admin-orders-page .ao-item {
    border-color: #e3e9f4;
    background: #f6f9ff;
    color: #0a1f3e;
}
.admin-orders-page .ao-item span:not(:first-child) {
    color: #355071;
}
.admin-orders-page .ao-summary {
    border-top-color: #e3e9f4;
}
.admin-orders-page .ao-detail-actions button {
    border-color: #dbe5f7;
    background: #ffffff;
    color: #1b43fe;
}
.admin-orders-page .ao-create {
    background: #1b43fe;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(27, 67, 254, 0.18);
}

.theme-dark.admin-orders-page .ao-user {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(18, 21, 32, 0.92);
    color: #f8fbff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 14px 34px rgba(0, 0, 0, 0.22);
}

.theme-dark.admin-orders-page .ao-user strong {
    color: #f8fbff;
}

.theme-dark.admin-orders-page .ao-user small {
    color: rgba(226, 232, 240, 0.62);
}

.theme-dark.admin-orders-page .ao-profile-card {
    border-color: rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(24, 30, 45, 0.98), rgba(13, 17, 28, 0.98)),
        #121520;
    color: #f8fbff;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.theme-dark.admin-orders-page .ao-profile-head,
.theme-dark.admin-orders-page .ao-profile-meta {
    border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark.admin-orders-page .ao-profile-head strong,
.theme-dark.admin-orders-page .ao-profile-meta a,
.theme-dark.admin-orders-page .ao-profile-meta strong {
    color: #f8fbff;
}

.theme-dark.admin-orders-page .ao-profile-head small,
.theme-dark.admin-orders-page .ao-profile-meta span {
    color: rgba(226, 232, 240, 0.62);
}

.theme-dark.admin-orders-page .ao-profile-actions a,
.theme-dark.admin-orders-page .ao-profile-actions button {
    background: rgba(43, 85, 255, 0.16);
    color: #9db7ff;
}

.theme-dark.admin-orders-page .ao-profile-actions a:hover,
.theme-dark.admin-orders-page .ao-profile-actions button:hover {
    background: #1b43fe;
    color: #ffffff;
}

.theme-dark.admin-orders-page .ao-modal-backdrop {
    background: rgba(3, 7, 18, 0.68);
    backdrop-filter: blur(8px);
}

.theme-dark.admin-orders-page .ao-modal-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(
            90% 70% at 100% 0%,
            rgba(43, 85, 255, 0.2),
            transparent 52%
        ),
        linear-gradient(180deg, rgba(22, 28, 43, 0.98), rgba(11, 15, 25, 0.98)),
        #0d111c;
    color: #f8fbff;
    box-shadow:
        0 42px 110px rgba(0, 0, 0, 0.56),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.theme-dark.admin-orders-page .ao-modal-eyebrow {
    color: #8fb0ff;
}

.theme-dark.admin-orders-page .ao-modal-head h2,
.theme-dark.admin-orders-page .ao-modal-city strong,
.theme-dark.admin-orders-page .ao-note strong {
    color: #f8fbff;
}

.theme-dark.admin-orders-page .ao-modal-x {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.78);
}

.theme-dark.admin-orders-page .ao-modal-x:hover {
    background: rgba(43, 85, 255, 0.18);
    color: #ffffff;
}

.theme-dark.admin-orders-page .ao-modal-route,
.theme-dark.admin-orders-page .ao-note,
.theme-dark.admin-orders-page .ao-modal-field input,
.theme-dark.admin-orders-page .ao-modal-field select {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.055);
    color: #f8fbff;
}

.theme-dark.admin-orders-page .ao-modal-city small,
.theme-dark.admin-orders-page .ao-note span,
.theme-dark.admin-orders-page .ao-modal-field > span {
    color: rgba(226, 232, 240, 0.6);
}

.theme-dark.admin-orders-page .ao-modal-track {
    background: rgba(143, 176, 255, 0.34);
}

.theme-dark.admin-orders-page .ao-modal-track::before,
.theme-dark.admin-orders-page .ao-modal-track::after,
.theme-dark.admin-orders-page .ao-modal-track i {
    background: #5f86ff;
}

.theme-dark.admin-orders-page .ao-modal-track i {
    box-shadow: 0 0 0 4px rgba(95, 134, 255, 0.18);
}

.theme-dark.admin-orders-page .ao-modal-field input:focus,
.theme-dark.admin-orders-page .ao-modal-field select:focus {
    border-color: rgba(95, 134, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(95, 134, 255, 0.14);
}

.theme-dark.admin-orders-page .ao-modal-field select option {
    background: #111827;
    color: #f8fbff;
}

.theme-dark.admin-orders-page .ao-btn-ghost {
    border-color: rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(248, 251, 255, 0.82);
}

.theme-dark.admin-orders-page .ao-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

@keyframes alVisualIn {
    from {
        opacity: 0;
        transform: translateX(-3%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes alPanelIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes alTruckFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes aoDetailRefresh {
    0% {
        transform: translateX(14px) scale(0.985);
        opacity: 0.72;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 980px) {
    .admin-login-page .al-shell::before {
        display: none;
    }
    .admin-login-page .al-visual,
    .admin-login-page .al-panel {
        grid-area: auto;
        width: min(100%, 560px);
        transform: none;
    }
    .admin-login-page .al-shell {
        align-content: center;
        gap: 18px;
    }
    .admin-login-page .al-panel {
        padding: 28px;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 24px 70px rgba(10, 31, 62, 0.1);
    }
    .admin-login-page .al-visual {
        height: 360px;
    }
}

/* ---------- Admin login video background ---------- */
.admin-login-page .al-visual {
    overflow: hidden;
}
.admin-login-page .al-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.admin-login-page .al-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(3, 10, 24, 0.2), rgba(3, 10, 24, 0.42)),
        radial-gradient(
            70% 55% at 50% 20%,
            rgba(27, 67, 254, 0.18),
            transparent 60%
        );
    pointer-events: none;
}
.admin-login-page .al-brand {
    position: relative;
    z-index: 2;
}

/* ---------- Admin component layout polish ---------- */
.admin-orders-page .ao-topbar {
    position: sticky;
    top: 16px;
    z-index: 20;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #dbe5f7;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 38px rgba(10, 31, 62, 0.08);
    backdrop-filter: blur(16px);
}

@media (max-width: 820px) {
    .admin-orders-page .ao-topbar {
        position: static;
    }
}

/* ---------- Admin overview ---------- */
.av-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #dbe5f7;
    border-radius: 22px;
    background:
        radial-gradient(
            70% 90% at 84% 16%,
            rgba(27, 67, 254, 0.16),
            transparent 62%
        ),
        #ffffff;
    box-shadow: 0 18px 46px rgba(10, 31, 62, 0.08);
}
.av-kicker {
    display: inline-block;
    color: #1b43fe;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.av-hero h2 {
    max-width: 10ch;
    margin: 12px 0;
    color: #0a1f3e;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}
.av-hero p {
    max-width: 48ch;
    color: #6b7a92;
    font-weight: 700;
}
.av-hero a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 46px;
    border-radius: 999px;
    background: #1b43fe;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(27, 67, 254, 0.22);
}
.av-live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: #12b76a;
    vertical-align: middle;
}
.av-live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #12b76a;
    animation: avPing 1.8s ease-out infinite;
}
.av-hero a span {
    margin-left: 8px;
    transition: transform 0.2s var(--ease);
}
.av-hero a:hover span {
    transform: translateX(3px);
}

/* ---- KPI stat cards ---- */
.av-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.av-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 168px;
    padding: 20px;
    border: 1px solid #dbe5f7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(10, 31, 62, 0.06);
    animation: avUp 0.6s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 0.07s);
}
.av-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.av-stat-ic {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #eef3ff;
    color: #1b43fe;
}
.av-stat-ic svg {
    width: 20px;
    height: 20px;
}
.av-stat-green .av-stat-ic {
    background: #e3f8ec;
    color: #108446;
}
.av-stat-amber .av-stat-ic {
    background: #fff2df;
    color: #af610c;
}
.av-stat-cyan .av-stat-ic {
    background: #e0f4ff;
    color: #0a7ea4;
}
.av-stat em {
    width: max-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    font-style: normal;
}
.av-stat em.is-up {
    background: #ddf8e7;
    color: #108446;
}
.av-stat em.is-down {
    background: #ffe1e1;
    color: #d92d20;
}
.av-stat strong {
    color: #0a1f3e;
    font-size: clamp(1.9rem, 2.6vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}
.av-stat > span {
    margin-top: 6px;
    color: #6b7a92;
    font-size: 0.82rem;
    font-weight: 800;
}
.av-spark {
    width: 100%;
    height: 32px;
    margin-top: auto;
}
.av-spark-line {
    fill: none;
    stroke: #1b43fe;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: avDraw 1.4s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 0.07s + 0.3s);
}
.av-stat-green .av-spark-line {
    stroke: #108446;
}
.av-stat-amber .av-spark-line {
    stroke: #af610c;
}
.av-stat-cyan .av-spark-line {
    stroke: #0a7ea4;
}

/* ---- panels layout ---- */
.av-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
    gap: 18px;
}
.av-card {
    padding: 22px;
    border: 1px solid #dbe5f7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(10, 31, 62, 0.06);
    animation: avUp 0.6s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 0.09s + 0.1s);
}
.av-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}
.av-card h3 {
    margin-top: 6px;
    color: #0a1f3e;
    font-size: 1.3rem;
    letter-spacing: 0;
}
.av-card small {
    color: #6b7a92;
    font-weight: 800;
}
.av-range {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: #eef3fb;
}
.av-range button {
    height: 30px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7a92;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}
.av-range button.is-active {
    background: #fff;
    color: #1b43fe;
    box-shadow: 0 4px 12px rgba(10, 31, 62, 0.1);
}

/* ---- area chart ---- */
.av-areawrap {
    position: relative;
}
.av-area-chart {
    width: 100%;
    height: 260px;
    overflow: visible;
}
.av-gridlines line {
    stroke: #e7eefb;
    stroke-width: 1;
}
.av-area-fill {
    opacity: 0;
    animation: avFade 0.9s var(--ease) 0.5s forwards;
}
.av-area-line {
    stroke: #1b43fe;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: avDraw 1.5s var(--ease) 0.2s forwards;
    filter: drop-shadow(0 8px 10px rgba(27, 67, 254, 0.22));
}
.av-area-dots circle {
    fill: #fff;
    stroke: #1b43fe;
    stroke-width: 3;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transform-box: fill-box;
    animation: avPop 0.4s var(--ease) forwards;
    animation-delay: calc(var(--d) * 0.12s + 0.7s);
}
.av-xaxis {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-top: 8px;
    padding: 0 6px;
    color: #93a2ba;
    font-size: 0.74rem;
    font-weight: 800;
    text-align: center;
}

/* ---- donut ---- */
.av-donut-wrap {
    position: relative;
    display: grid;
    place-items: center;
    margin: 6px 0 18px;
}
.av-donut {
    width: 178px;
    height: 178px;
    transform: rotate(-90deg);
}
.av-donut-track {
    fill: none;
    stroke: #eef3fb;
    stroke-width: 12;
}
.av-seg {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dashoffset: 0;
    animation: avSegDraw 1.2s var(--ease) both;
}
.av-seg-1 {
    stroke: #1b43fe;
    stroke-dasharray: 58 100;
    animation-delay: 0.25s;
    --seg: 58;
}
.av-seg-2 {
    stroke: #6f9bff;
    stroke-dasharray: 27 100;
    stroke-dashoffset: -58;
    animation-delay: 0.45s;
    --seg: 27;
    --off: -58;
}
.av-seg-3 {
    stroke: #c7d6f7;
    stroke-dasharray: 15 100;
    stroke-dashoffset: -85;
    animation-delay: 0.6s;
    --seg: 15;
    --off: -85;
}
.av-donut-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
}
.av-donut-center strong {
    color: #0a1f3e;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.av-donut-center span {
    color: #6b7a92;
    font-size: 0.76rem;
    font-weight: 800;
}
.av-legend {
    display: grid;
    gap: 10px;
    list-style: none;
    padding: 0;
}
.av-legend li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #34405a;
    font-size: 0.86rem;
    font-weight: 700;
}
.av-legend em {
    margin-left: auto;
    color: #0a1f3e;
    font-style: normal;
    font-weight: 800;
}
.av-ldot {
    width: 11px;
    height: 11px;
    border-radius: 4px;
}
.av-ldot-1 {
    background: #1b43fe;
}
.av-ldot-2 {
    background: #6f9bff;
}
.av-ldot-3 {
    background: #c7d6f7;
}

/* ---- lanes + activity ---- */
.av-lanes,
.av-activity {
    display: grid;
    gap: 14px;
}
.av-lane span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.av-lane strong,
.av-activity strong {
    color: #0a1f3e;
    font-size: 0.9rem;
}
.av-lane small,
.av-activity small {
    color: #6b7a92;
    font-weight: 800;
}
.av-lane i {
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6edff;
}
.av-lane b {
    display: block;
    width: var(--w, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1b43fe, #6f9bff);
    transform-origin: left center;
    animation: avGrow 1s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 0.1s + 0.3s);
}
.av-activity div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #f8fbff;
    animation: avUp 0.5s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 0.08s + 0.3s);
}
.av-activity time {
    color: #1b43fe;
    font-size: 0.8rem;
    font-weight: 900;
}
.av-activity small {
    display: block;
    margin-top: 4px;
}

@keyframes avUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes avDraw {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes avSegDraw {
    from {
        stroke-dasharray: 0 100;
    }
}
@keyframes avFade {
    to {
        opacity: 1;
    }
}
@keyframes avPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes avGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
@keyframes avPing {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}
@media (max-width: 1100px) {
    .av-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .av-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .av-hero {
        align-items: flex-start;
        flex-direction: column;
    }
    .av-stat-grid {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .av-stat,
    .av-card,
    .av-spark-line,
    .av-area-line,
    .av-area-fill,
    .av-area-dots circle,
    .av-seg,
    .av-lane b,
    .av-activity div,
    .av-live-dot::after {
        animation: none !important;
    }
    .av-spark-line,
    .av-area-line {
        stroke-dashoffset: 0;
    }
    .av-area-fill,
    .av-area-dots circle {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Admin overview: blue shipment intelligence dashboard ---------- */
.admin-overview-page {
    background:
        radial-gradient(
            80% 70% at 74% 0%,
            rgba(42, 92, 255, 0.16),
            transparent 58%
        ),
        linear-gradient(180deg, #eef5ff 0%, #f8fbff 34%, #ffffff 100%);
}
.av-dash {
    display: grid;
    gap: 16px;
}
.av-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 4px 4px 0;
}
.av-welcome h2 {
    margin: 0;
    color: #071f49;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: 0;
}
.av-welcome p {
    margin-top: 8px;
    color: #607392;
    font-size: 0.92rem;
    font-weight: 800;
}
.av-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.av-kpi,
.av-panel {
    border: 1px solid #dbe8ff;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(28, 65, 135, 0.08);
}
.av-kpi {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
        "ic value"
        "ic label";
    column-gap: 12px;
    align-items: center;
    min-height: 86px;
    padding: 16px;
    border-radius: 18px;
}
.av-kpi-ic {
    grid-area: ic;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #edf4ff;
    color: #1b43fe;
}
.av-kpi-ic svg {
    width: 20px;
    height: 20px;
}
.av-kpi strong {
    grid-area: value;
    color: #071f49;
    font-size: 1.1rem;
    font-weight: 900;
}
.av-kpi small {
    grid-area: label;
    color: #607392;
    font-size: 0.72rem;
    font-weight: 900;
}
.av-kpi em,
.av-panel em {
    margin-left: 6px;
    font-style: normal;
    font-weight: 900;
}
.av-kpi em.is-up,
.av-panel em.is-up {
    color: #12a66a;
}
.av-kpi em.is-down,
.av-panel em.is-down {
    color: #d92d20;
}
.av-kpi-green .av-kpi-ic,
.av-kpi-emerald .av-kpi-ic {
    background: #e8fbf1;
    color: #12a66a;
}
.av-kpi-cyan .av-kpi-ic {
    background: #eaf7ff;
    color: #0a7ea4;
}
.av-board {
    display: grid;
    grid-template-columns: 1.25fr 1.4fr 1fr;
    gap: 16px;
}
.av-panel {
    min-width: 0;
    padding: 18px;
    border-radius: 18px;
}
.av-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.av-panel h3 {
    margin: 0;
    color: #071f49;
    font-size: 1rem;
    letter-spacing: 0;
}
.av-panel-head span,
.av-panel-head a,
.av-panel small {
    color: #607392;
    font-size: 0.72rem;
    font-weight: 900;
}
.av-panel-head a {
    color: #1b43fe;
}
.av-route-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    background:
        radial-gradient(
            60% 70% at 20% 95%,
            rgba(27, 67, 254, 0.12),
            transparent 62%
        ),
        #ffffff;
}
.av-route-card p {
    max-width: 28ch;
    color: #344766;
    font-size: 0.86rem;
    font-weight: 800;
}
.av-route-card > a {
    display: inline-flex;
    margin-top: 8px;
    padding: 11px 16px;
    border-radius: 12px;
    background: #071f49;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
}
.av-route-visual {
    position: relative;
    height: 170px;
    margin-top: 8px;
}
.av-route-visual svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.av-route-visual path {
    fill: none;
    stroke: #1b43fe;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 9 10;
}
.av-route-node {
    position: absolute;
    z-index: 1;
    width: 17px;
    height: 17px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #1b43fe;
    box-shadow: 0 8px 20px rgba(27, 67, 254, 0.26);
}
.av-route-node-a {
    left: 8%;
    bottom: 17%;
}
.av-route-node-b {
    left: 45%;
    top: 38%;
}
.av-route-node-c {
    right: 8%;
    top: 8%;
}
.av-route-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 10px 0 0;
}
.av-route-facts div {
    padding: 10px;
    border-radius: 12px;
    background: #f0f6ff;
}
.av-route-facts dt {
    color: #607392;
    font-size: 0.68rem;
    font-weight: 900;
}
.av-route-facts dd {
    margin: 4px 0 0;
    color: #071f49;
    font-size: 0.78rem;
    font-weight: 900;
}
.av-compare-card {
    min-height: 360px;
}
.av-compare-map {
    height: 210px;
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(219, 232, 255, 0.72) 1px, transparent 1px),
        linear-gradient(rgba(219, 232, 255, 0.72) 1px, transparent 1px), #fbfdff;
    background-size: 48px 48px;
}
.av-compare-map svg {
    width: 100%;
    height: 100%;
}
.av-old-route,
.av-new-route {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
}
.av-old-route {
    stroke: #b8c5da;
    stroke-dasharray: 7 11;
}
.av-new-route {
    stroke: #1b43fe;
}
.av-compare-map circle {
    fill: #1b43fe;
    stroke: #fff;
    stroke-width: 4;
}
.av-compare-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
}
.av-compare-stats strong,
.av-big {
    display: block;
    color: #071f49;
    font-weight: 900;
}
.av-compare-stats strong {
    font-size: 0.92rem;
}
.av-active-card {
    grid-row: span 2;
}
.av-active-list {
    display: grid;
    gap: 10px;
}
.av-active-list a,
.av-active-list p,
.av-insights div {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: #f6f9ff;
}
.av-active-list strong,
.av-insights strong,
.av-lane strong {
    display: block;
    color: #071f49;
    font-size: 0.82rem;
}
.av-active-list small,
.av-insights small {
    display: block;
    margin-top: 3px;
    color: #607392;
    font-size: 0.68rem;
    font-weight: 800;
}
.av-ship-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eaf1ff;
    color: #1b43fe;
}
.av-ship-icon svg {
    width: 18px;
    height: 18px;
}
.av-volume-card,
.av-savings-card {
    min-height: 210px;
}
.av-big {
    margin-top: 4px;
    font-size: 2rem;
}
.av-mini-wave,
.av-bars {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 76px;
    margin-top: 20px;
}
.av-mini-wave i,
.av-bars i {
    flex: 1;
    height: var(--h);
    min-height: 14px;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, #1b43fe, #8eb0ff);
}
.av-mini-wave i:nth-child(even),
.av-bars i:nth-child(even) {
    opacity: 0.55;
}
.av-lanes-card,
.av-insights-card {
    min-height: 210px;
}
.av-insights {
    display: grid;
    gap: 10px;
}
.av-insights div {
    grid-template-columns: 12px minmax(0, 1fr);
}
.av-insight-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1b43fe;
}
@media (max-width: 1180px) {
    .av-board {
        grid-template-columns: 1fr 1fr;
    }
    .av-active-card {
        grid-row: auto;
    }
}
@media (max-width: 820px) {
    .av-kpi-row,
    .av-board {
        grid-template-columns: 1fr;
    }
    .av-compare-stats,
    .av-route-facts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Admin — Driver management ---------- */
.dv-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.dv-search {
    position: relative;
    flex: 1 1 260px;
    max-width: 380px;
}
.dv-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #6b7a92;
    pointer-events: none;
}
.dv-search input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 42px;
    border: 1px solid #dbe5f7;
    border-radius: 12px;
    background: #fff;
    color: #0a1f3e;
    box-shadow: 0 10px 24px rgba(10, 31, 62, 0.05);
    transition:
        border-color 0.18s var(--ease),
        box-shadow 0.18s var(--ease);
}
.dv-search input::placeholder {
    color: #9aa8bf;
}
.dv-search input:focus {
    outline: none;
    border-color: #1b43fe;
    box-shadow: 0 0 0 3px rgba(27, 67, 254, 0.14);
}
.dv-toolbar .ao-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dv-tablewrap {
    border: 1px solid #dbe5f7;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(10, 31, 62, 0.06);
    overflow: hidden;
    margin-top: 14px;
}
.dv-tablescroll {
    overflow-x: auto;
}
.dv-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}
.dv-table thead th {
    text-align: left;
    padding: 16px 18px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7a92;
    background: #f6f9ff;
    border-bottom: 1px solid #e7edf8;
    white-space: nowrap;
}
.dv-table tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid #eef2fa;
    vertical-align: middle;
    font-weight: 700;
    font-size: 0.86rem;
    color: #0a1f3e;
    white-space: nowrap;
}
.dv-table tbody tr {
    transition: background 0.16s var(--ease);
}
.dv-table tbody tr:last-child td {
    border-bottom: 0;
}
.dv-table tbody tr:hover {
    background: #f5f8ff;
}
.dv-driver {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dv-avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 0.88rem;
    color: #1b43fe;
    background: #e6edff;
}
.dv-avatar-lg {
    width: 52px;
    height: 52px;
    font-size: 1.05rem;
}
.dv-driver-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dv-driver-name strong {
    font-size: 0.92rem;
    color: #0a1f3e;
}
.dv-driver-name small {
    color: #6b7a92;
    font-weight: 800;
    font-size: 0.74rem;
}
.dv-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dv-sub small {
    color: #6b7a92;
    font-weight: 800;
    font-size: 0.74rem;
}
.dv-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
}
.dv-rating svg {
    width: 15px;
    height: 15px;
    color: #f4b740;
}
.dv-action-cell {
    text-align: right;
}
.dv-view {
    height: 36px;
    padding: 0 15px;
    border: 1px solid #dbe5f7;
    border-radius: 9px;
    background: #fff;
    color: #1b43fe;
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    transition:
        background 0.16s var(--ease),
        border-color 0.16s var(--ease);
    white-space: nowrap;
}
.dv-view:hover {
    background: #eef3ff;
    border-color: #bcd0ff;
}
.dv-empty {
    padding: 40px 20px;
    text-align: center;
    color: #6b7a92;
    font-weight: 800;
}
.dv-modal-id {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

/* driver status colors (scoped to beat .admin-orders-page .ao-status base) */
.admin-orders-page .ao-status-available {
    background: #ddf8e7;
    color: #108446;
}
.admin-orders-page .ao-status-new {
    background: #e0efff;
    color: #1b43fe;
}
.admin-orders-page .ao-status-reviewing {
    background: #dff8ff;
    color: #087990;
}
.admin-orders-page .ao-status-approved {
    background: #ddf8e7;
    color: #108446;
}
.admin-orders-page .ao-status-rejected {
    background: #ffe1e1;
    color: #d92d20;
}
.admin-orders-page .ao-status-on-trip {
    background: #e0efff;
    color: #1b43fe;
}
.admin-orders-page .ao-status-off-duty {
    background: #fff0db;
    color: #af610c;
}
.admin-orders-page .ao-status-suspended {
    background: #ffe1e1;
    color: #d92d20;
}
.ja-details {
    position: relative;
}
.ja-details summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(27, 67, 254, 0.1);
    color: var(--blue);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}
.ja-details summary::-webkit-details-marker {
    display: none;
}
.ja-details div {
    position: static;
    width: min(320px, 80vw);
    margin-top: 10px;
    padding: 16px;
    border: 1px solid rgba(10, 31, 62, 0.1);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 20px 50px rgba(10, 31, 62, 0.18);
    text-align: left;
}
.ja-details p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.45;
    white-space: normal;
}
.ja-details form {
    display: flex;
    gap: 8px;
}
.ja-details select {
    flex: 1;
    min-width: 0;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    padding: 9px 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.ja-details button {
    border: 0;
    border-radius: 10px;
    padding: 0 13px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 760px) {
    .dv-table {
        min-width: 0;
    }
    .dv-table thead {
        display: none;
    }
    .dv-table tbody tr {
        display: grid;
        gap: 4px;
        padding: 14px 16px;
        border-bottom: 1px solid #eef2fa;
    }
    .dv-table tbody tr:last-child {
        border-bottom: 0;
    }
    .dv-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 5px 0;
        border: 0;
        white-space: normal;
    }
    .dv-table tbody td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-size: 0.68rem;
        font-weight: 900;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #9aa8bf;
    }
    .dv-table td.dv-driver-cell,
    .dv-table td.dv-action-cell {
        justify-content: flex-start;
    }
    .dv-table td.dv-driver-cell::before,
    .dv-table td.dv-action-cell::before {
        display: none;
    }
    .dv-table td.dv-driver-cell {
        padding-bottom: 10px;
        margin-bottom: 6px;
        border-bottom: 1px solid #eef2fa;
    }
    .dv-view {
        width: 100%;
        margin-top: 4px;
    }
}

/* ---------- Services page ---------- */
.services-page {
    background: #f6f8fc;
}
.svc-hero {
    position: relative;
    min-height: 760px;
    padding: 154px 0 86px;
    overflow: hidden;
    isolation: isolate;
    background: #081a32;
    color: #d9e4f7;
}
.svc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(8, 26, 50, 0.96) 0%,
            rgba(8, 26, 50, 0.8) 48%,
            rgba(8, 26, 50, 0.44) 100%
        ),
        linear-gradient(180deg, rgba(8, 26, 50, 0.12), rgba(8, 26, 50, 0.7));
}
.svc-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.svc-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.svc-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
    gap: clamp(34px, 7vw, 96px);
    align-items: center;
}
.svc-hero-copy h1 {
    max-width: 11ch;
    color: #fff;
    font-size: clamp(3rem, 7.3vw, 6.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}
.svc-hero-copy p {
    max-width: 52ch;
    margin: 24px 0 30px;
    color: #b8c6dc;
    font-size: clamp(1rem, 1.4vw, 1.16rem);
    font-weight: 600;
}
.svc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.svc-command-panel {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}
.svc-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 800;
}
.svc-panel-top span {
    color: #aebdda;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.svc-route {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 14px;
    padding: 20px 0 0;
}
.svc-route strong {
    display: block;
    color: #fff;
    line-height: 1.25;
}
.svc-route small {
    display: block;
    margin-top: 4px;
    color: #aebdda;
    font-size: 0.82rem;
    line-height: 1.45;
}
.svc-dot {
    width: 12px;
    height: 12px;
    margin-top: 5px;
    border-radius: 50%;
    background: #58d68d;
    box-shadow: 0 0 0 6px rgba(88, 214, 141, 0.14);
}
.svc-dot.is-blue {
    background: #5f84ff;
    box-shadow: 0 0 0 6px rgba(95, 132, 255, 0.16);
}
.svc-dot.is-dark {
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}
.svc-metrics {
    position: relative;
    z-index: 2;
    margin-top: -56px;
}
.svc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.svc-metric {
    min-height: 126px;
    padding: 28px;
    border: 1px solid rgba(10, 31, 62, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.svc-metric strong {
    display: block;
    color: var(--blue);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 0.95;
}
.svc-metric span {
    display: block;
    margin-top: 10px;
    color: var(--ink);
    font-weight: 800;
}
.svc-services,
.svc-coverage {
    padding: clamp(86px, 9vw, 124px) 0;
}
.svc-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.52fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
    margin-bottom: 40px;
}
.svc-section-head h2,
.svc-process-copy h2,
.svc-coverage-copy h2,
.svc-cta h2 {
    font-size: clamp(2.1rem, 4.6vw, 4.6rem);
    line-height: 1;
    letter-spacing: 0;
}
.svc-section-head p {
    color: var(--muted);
    font-weight: 600;
}
.svc-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.svc-card {
    overflow: hidden;
    border: 1px solid rgba(10, 31, 62, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(10, 31, 62, 0.08);
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease);
}
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 62px rgba(10, 31, 62, 0.14);
}
.svc-card figure {
    height: 220px;
    overflow: hidden;
    background: #dfe6f0;
}
.svc-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease);
}
.svc-card:hover figure img {
    transform: scale(1.06);
}
.svc-card figure.no-img {
    display: grid;
    place-items: center;
}
.svc-card figure.no-img::before {
    content: "Aathi Express";
    color: var(--muted);
    font-weight: 800;
}
.svc-card-body {
    padding: 22px;
}
.svc-card-body > span {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 900;
}
.svc-card h3 {
    min-height: 56px;
    margin: 8px 0 12px;
    font-size: 1.28rem;
    letter-spacing: 0;
}
.svc-card p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}
.svc-card ul {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}
.svc-card li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
}
.svc-card li::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}
.svc-process {
    padding: clamp(78px, 9vw, 120px) 0;
    background: #0f1e30;
    color: #aebdda;
}
.svc-process-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
    gap: clamp(34px, 7vw, 94px);
    align-items: start;
}
.svc-process-copy h2 {
    color: #fff;
}
.svc-steps {
    display: grid;
    gap: 12px;
}
.svc-step {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 22px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}
.svc-step span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    font-weight: 900;
}
.svc-step h3 {
    color: #fff;
    font-size: 1.18rem;
    letter-spacing: 0;
}
.svc-step p {
    max-width: 44ch;
    margin-top: 7px;
    color: #aebdda;
    font-weight: 600;
}
.svc-coverage {
    background: #eeeeec;
}
.svc-coverage-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
}
.svc-coverage-image {
    min-height: 520px;
    overflow: hidden;
    border-radius: 8px;
    background: #dce2eb;
    box-shadow: var(--shadow);
}
.svc-coverage-image img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}
.svc-coverage-copy p {
    margin: 18px 0 24px;
    color: var(--muted);
    font-weight: 600;
}
.svc-coverage-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.svc-coverage-list span {
    padding: 13px 14px;
    border: 1px solid rgba(10, 31, 62, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.54);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
}
.svc-cta {
    padding: 0 0 clamp(76px, 9vw, 118px);
    background: #eeeeec;
}
.svc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(34px, 5vw, 58px);
    border-radius: 8px;
    background: #1b43fe;
    color: #dce5ff;
    box-shadow: 0 24px 64px rgba(27, 67, 254, 0.2);
}
.svc-cta h2 {
    max-width: 13ch;
    color: #fff;
}

@media (max-width: 1100px) {
    .svc-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .svc-hero {
        min-height: auto;
        padding-top: 136px;
    }
    .svc-hero-inner,
    .svc-section-head,
    .svc-process-inner,
    .svc-coverage-inner {
        grid-template-columns: 1fr;
    }
    .svc-hero-copy h1 {
        max-width: 12ch;
    }
}
@media (max-width: 680px) {
    .svc-metrics {
        margin-top: 0;
        background: #fff;
    }
    .svc-metrics-grid,
    .svc-card-grid,
    .svc-coverage-list {
        grid-template-columns: 1fr;
    }
    .svc-metric {
        min-height: auto;
    }
    .svc-card h3 {
        min-height: auto;
    }
    .svc-step {
        grid-template-columns: 1fr;
    }
    .svc-coverage-image {
        min-height: 320px;
    }
    .svc-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ==========================================================================
   About page — built on the services design system (blue)
   ========================================================================== */
/* --- Cinematic hero (truck / supply-chain) --- */
.ab-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
    background: #0a0f1a;
}
.ab-hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.ab-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    animation: abHeroZoom 18s ease-in-out infinite alternate;
}
.ab-video-hero {
    min-height: 100vh;
}
.ab-video-hero .ab-hero-inner {
    min-height: 100vh;
}
.ab-video-hero-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    animation: abHeroZoom 18s ease-in-out infinite alternate;
}
.ab-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            rgba(6, 12, 24, 0.55) 0%,
            rgba(6, 12, 24, 0.28) 34%,
            rgba(6, 12, 24, 0.72) 78%,
            rgba(5, 10, 20, 0.92) 100%
        ),
        radial-gradient(
            120% 80% at 15% 100%,
            rgba(9, 17, 34, 0.7),
            transparent 60%
        );
}
.ab-hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 150px;
    padding-bottom: clamp(38px, 6vw, 72px);
}

/* keyword strip with rule */
.ab-hero-strip {
    display: flex;
    align-items: center;
    gap: clamp(18px, 6vw, 60px);
    margin-bottom: auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ab-hero-strip span {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.72rem, 1vw, 0.92rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    animation: abHeroFade 0.7s var(--ease) forwards;
    animation-delay: var(--d, 0s);
}
.ab-hero-strip .is-end {
    margin-left: auto;
    color: #fff;
}

/* bottom row: headline + card */
.ab-hero-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(28px, 5vw, 60px);
    margin-top: clamp(60px, 12vw, 150px);
    /* fill the hero container instead of nesting a second gutter */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.ab-hero-copy {
    position: relative;
    flex: 1 1 460px;
    max-width: 880px;
}

.ab-hero-card {
    flex: 0 0 340px;
}
.ab-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.35rem, 3.9vw, 4.25rem);
    line-height: 0.97;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-weight: 800;
    background: #fff;

    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(111, 155, 255, 0.45))
        drop-shadow(0 10px 28px rgba(0, 0, 0, 0.42));
    animation:
        abHeroRise 0.9s var(--ease) 0.25s both,
        abHeroTextShine 4.2s ease-in-out 1.1s infinite;
}
.ab-hero-copy p {
    max-width: 54ch;
    margin-top: 26px;
    color: rgba(243, 247, 255, 0.94);
    font-size: clamp(1.08rem, 1.45vw, 1.32rem);
    font-weight: 700;
    line-height: 1.6;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.48);
    animation: abHeroRise 0.9s var(--ease) 0.4s both;
}

/* glass command card */
.ab-hero-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(16, 24, 41, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    animation: abHeroRise 0.9s var(--ease) 0.55s both;
}
.ab-hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.ab-hero-card-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
}
.ab-hero-card-brand img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}
.ab-hero-card-top small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ab-hero-card-map {
    height: 90px;
    margin-bottom: 18px;
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        rgba(255, 255, 255, 0.03);
    background-size: 32px 30px;
}
.ab-hero-card-map svg {
    width: 100%;
    height: 100%;
}
.ab-hero-track {
    fill: none;
    stroke: #4f7cff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 520;
    stroke-dashoffset: 520;
    animation: abHeroDraw 2s var(--ease) 0.9s forwards;
}
.ab-hero-card-map circle {
    fill: #6f9bff;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 2;
    opacity: 0;
    animation: abHeroPin 0.4s var(--ease) 2.6s forwards;
}
.ab-hero-track-b {
    animation-delay: 2.9s;
}
.ab-hero-card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}
.ab-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition:
        transform 0.2s var(--ease),
        box-shadow 0.2s var(--ease),
        background 0.2s var(--ease);
}
.ab-hero-btn svg {
    width: 15px;
    height: 15px;
}
.ab-hero-btn-primary {
    background: linear-gradient(180deg, #2a5cff, var(--blue));
    color: #fff;
    box-shadow: 0 14px 30px rgba(27, 67, 254, 0.4);
}
.ab-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(27, 67, 254, 0.52);
}
.ab-hero-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.ab-hero-btn-ghost:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
}

@keyframes abHeroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.09);
    }
}
@keyframes abHeroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes abHeroRise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes abHeroTextShine {
    0%,
    18% {
        background-position: 120% 0;
    }
    48%,
    100% {
        background-position: -120% 0;
    }
}
@keyframes abHeroDraw {
    to {
        stroke-dashoffset: 0;
    }
}
@keyframes abHeroPin {
    to {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ab-hero-media img,
    .ab-video-hero-media video,
    .ab-hero-strip span,
    .ab-hero-copy h1,
    .ab-hero-copy p,
    .ab-hero-card,
    .ab-hero-track,
    .ab-hero-card-map circle {
        animation: none;
    }
    .ab-hero-strip span,
    .ab-hero-card-map circle {
        opacity: 1;
        transform: none;
    }
    .ab-hero-track {
        stroke-dashoffset: 0;
    }
    .ab-hero-copy h1 {
        background-position: 50% 0;
    }
}
@media (max-width: 860px) {
    .ab-video-hero,
    .ab-video-hero .ab-hero-inner {
        min-height: 100svh;
    }
    .ab-video-hero .ab-hero-inner {
        padding-top: 96px;
        padding-bottom: 44px;
    }
    .ab-video-hero .ab-hero-bottom {
        min-height: calc(100svh - 140px);
        align-content: flex-end;
    }
    .ab-video-hero-media video {
        object-position: center;
    }
    .ab-hero-bottom {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .ab-hero-card {
        max-width: 380px;
    }
    .ab-hero-strip .is-end {
        display: none;
    }
    .ab-hero-copy::before {
        inset: -28px -20px -24px;
    }
    .ab-hero-copy h1 {
        font-size: clamp(2.5rem, 12vw, 4.8rem);
    }
}

/* About hero: maritime logistics layout */
.ab-ship-hero {
    min-height: 100vh;
    background: #0b4a5d;
}

.ab-ship-hero-media video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    animation: abHeroZoom 18s ease-in-out infinite alternate;
}

.ab-ship-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            rgba(5, 26, 35, 0.1) 0%,
            rgba(5, 33, 45, 0.28) 42%,
            rgba(2, 33, 48, 0.8) 100%
        ),
        linear-gradient(
            90deg,
            rgba(8, 58, 74, 0.5),
            rgba(8, 58, 74, 0.08) 48%,
            rgba(8, 58, 74, 0.45)
        );
}

.ab-ship-inner {
    position: relative;
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 0.92fr);
    grid-template-rows: auto 1fr auto;
    gap: clamp(20px, 4vw, 56px);
    padding-top: clamp(104px, 10vw, 140px);
    padding-bottom: clamp(34px, 5vw, 58px);
    color: #fff;
}

.ab-ship-features {
    display: grid;
    gap: 12px;
    max-width: 430px;
}

.ab-ship-features article {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ab-ship-features strong {
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1;
}

.ab-ship-features b,
.ab-ship-features small {
    display: block;
}

.ab-ship-features b {
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.86rem;
    font-weight: 800;
}

.ab-ship-features small {
    margin-top: 4px;
    color: rgba(231, 244, 250, 0.72);
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.38;
}

.ab-ship-card {
    align-self: end;
    justify-self: end;
    width: min(430px, 100%);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: rgba(225, 238, 242, 0.22);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.ab-ship-card h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(1.32rem, 2vw, 1.8rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.ab-ship-card label {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 54px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
}

.ab-ship-card svg {
    width: 18px;
    height: 18px;
}

.ab-ship-card select {
    width: 100%;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    outline: none;
}

.ab-ship-card option {
    color: #0a1f3e;
}

.ab-ship-card a {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    border-radius: 999px;
    background: #ff5a1f;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(255, 90, 31, 0.35);
}

.ab-ship-copy {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: clamp(28px, 8vw, 130px);
    align-items: end;
}

.ab-ship-copy h1 {
    max-width: 13ch;
    margin: 0;
    color: #fff;
    font-size: clamp(3.1rem, 6vw, 6.4rem);
    font-weight: 400;
    line-height: 1.13;
    letter-spacing: -0.055em;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.ab-ship-actions {
    display: inline-flex;
    gap: 8px;
    margin-top: 28px;
}

.ab-ship-actions a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.ab-ship-actions a:first-child {
    padding: 0 28px;
}

.ab-ship-actions a:last-child {
    width: 48px;
}

.ab-ship-copy p {
    margin: 0 0 46px;
    max-width: 43ch;
    color: rgba(234, 246, 251, 0.78);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.65;
}

.ab-ship-badge {
    position: absolute;
    right: clamp(24px, 7vw, 96px);
    bottom: clamp(28px, 4vw, 52px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.76rem;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.ab-ship-badge svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 980px) {
    .ab-ship-inner,
    .ab-ship-copy {
        grid-template-columns: 1fr;
    }

    .ab-ship-card {
        justify-self: start;
    }

    .ab-ship-copy p {
        margin-bottom: 0;
    }

    .ab-ship-badge {
        position: static;
        width: max-content;
    }
}

@media (max-width: 640px) {
    .ab-ship-inner {
        padding-top: 96px;
    }

    .ab-ship-features article {
        grid-template-columns: 48px 1fr;
        padding: 12px 14px;
    }

    .ab-ship-card {
        padding: 18px;
    }

    .ab-ship-copy h1 {
        font-size: clamp(2.7rem, 15vw, 4.7rem);
    }
}

/* Services full-screen video hero */
.svc-video-hero {
    min-height: 100vh;
    background: #06120f;
}

.svc-video-hero .ab-hero-media {
    inset: 0;
}

.svc-video-hero-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: svcVideoZoom 12s ease-in-out infinite alternate;
}

.svc-video-hero .ab-hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(2, 8, 16, 0.78) 0%,
            rgba(2, 8, 16, 0.48) 46%,
            rgba(2, 8, 16, 0.22) 100%
        ),
        linear-gradient(180deg, rgba(2, 8, 16, 0.28), rgba(2, 8, 16, 0.72));
}

.svc-video-hero .ab-hero-inner {
    min-height: 100vh;
}

.svc-video-hero .ab-hero-bottom {
    align-items: center;
    min-height: 100vh;
    padding-top: clamp(100px, 10vw, 140px);
    padding-bottom: clamp(54px, 7vw, 88px);
}

.svc-video-hero .ab-hero-copy {
    max-width: min(760px, 100%);
}

.svc-video-hero .ab-hero-copy h1 {
    max-width: 11ch;
    color: #fff;
    font-size: clamp(3.4rem, 8vw, 7.8rem);
    line-height: 0.92;
    text-shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}

.svc-video-hero .ab-hero-copy p {
    max-width: 460px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}

@keyframes svcVideoZoom {
    from {
        transform: scale(1.04);
    }
    to {
        transform: scale(1.1);
    }
}

@media (max-width: 760px) {
    .svc-video-hero,
    .svc-video-hero .ab-hero-inner,
    .svc-video-hero .ab-hero-bottom {
        min-height: 100svh;
    }

    .svc-video-hero .ab-hero-bottom {
        align-items: flex-end;
        padding-top: 92px;
        padding-bottom: 52px;
    }

    .svc-video-hero .ab-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(2, 8, 16, 0.16) 0%,
                rgba(2, 8, 16, 0.68) 54%,
                rgba(2, 8, 16, 0.9) 100%
            ),
            linear-gradient(90deg, rgba(2, 8, 16, 0.35), rgba(2, 8, 16, 0.08));
    }

    .svc-video-hero-media video {
        object-position: center;
    }

    .svc-video-hero .ab-hero-copy h1 {
        max-width: 10ch;
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .svc-video-hero .ab-hero-copy p {
        max-width: 32ch;
        font-size: 0.98rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-video-hero-media video {
        animation: none;
    }
}

/* Services 100vh simple shipping hero */
.svc-banner-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(96px, 9vw, 126px) 0 clamp(28px, 4vw, 54px);
    background: #f7f7f4;
    color: #252525;
    overflow: hidden;
}

.svc-banner-wrap {
    width: 100%;
    padding: 0 clamp(14px, 2.4vw, 42px);
}

.svc-banner-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(22px, 5vw, 72px);
    align-items: end;
    margin-bottom: clamp(24px, 3vw, 34px);
}

.svc-banner-top h1 {
    margin: 0;
    max-width: 12ch;
    color: #2a2a2a;
    font-size: clamp(2rem, 5.2vw, 5.6rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.svc-banner-intro {
    display: grid;
    gap: 18px;
    justify-items: start;
    padding-bottom: clamp(8px, 1.2vw, 16px);
}

.svc-banner-intro p {
    max-width: 42ch;
    margin: 0;
    color: #5e625e;
    font-size: clamp(0.9rem, 1vw, 1.02rem);
    font-weight: 650;
    line-height: 1.55;
}

.svc-banner-intro a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 18px 0 22px;
    border-radius: 999px;
    background: #2a2a2a;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
    transition:
        transform 0.22s var(--ease),
        box-shadow 0.22s var(--ease),
        background 0.22s var(--ease);
}

.svc-banner-intro a:hover {
    transform: translateY(-2px);
    background: #111;
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.18);
}

.svc-banner-intro a span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    color: #2a2a2a;
    font-size: 0.82rem;
}

.svc-banner-card {
    position: relative;
    min-height: clamp(430px, 52vh, 620px);
    width: 100%;
    aspect-ratio: 18 / 7;
    overflow: hidden;
    border-radius: 18px;
    background: #0b2b2c;
    box-shadow: 0 28px 70px rgba(16, 24, 40, 0.16);
}

.svc-banner-card img,
.svc-banner-card video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.svc-banner-card video {
    animation: svcBannerDrift 13s ease-in-out infinite alternate;
}

.svc-banner-card-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 38%, rgba(3, 14, 18, 0.75) 100%),
        linear-gradient(
            90deg,
            rgba(4, 18, 22, 0.48),
            transparent 48%,
            rgba(4, 18, 22, 0.2)
        );
}

.svc-banner-metrics {
    position: absolute;
    left: clamp(18px, 3vw, 34px);
    bottom: clamp(22px, 3vw, 34px);
    display: grid;
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: clamp(18px, 3vw, 44px);
    color: #fff;
}

.svc-banner-metrics span,
.svc-banner-metrics strong,
.svc-banner-metrics small {
    display: block;
}

.svc-banner-metrics strong {
    font-size: clamp(1.6rem, 2.5vw, 2.5rem);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.03em;
}

.svc-banner-metrics small {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
}

.svc-banner-note {
    position: absolute;
    right: clamp(18px, 3vw, 34px);
    bottom: clamp(24px, 3vw, 38px);
    max-width: 42ch;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.82rem, 0.95vw, 0.98rem);
    font-weight: 700;
    line-height: 1.45;
}

@keyframes svcBannerDrift {
    from {
        transform: scale(1.02);
    }
    to {
        transform: scale(1.07);
    }
}

@media (max-width: 760px) {
    .svc-banner-hero {
        min-height: 100svh;
        align-items: flex-start;
        padding-top: 92px;
    }

    .svc-banner-top {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .svc-banner-top h1 {
        font-size: clamp(3.45rem, 18vw, 5.8rem);
    }

    .svc-banner-card {
        min-height: 56vh;
        aspect-ratio: 1.18 / 1;
        border-radius: 14px;
    }

    .svc-banner-metrics {
        right: 18px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .svc-banner-metrics strong {
        font-size: 1.28rem;
    }

    .svc-banner-metrics small {
        font-size: 0.66rem;
    }

    .svc-banner-note {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        margin-top: 14px;
        padding: 0 2px;
        color: #4f5753;
        text-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-banner-card video {
        animation: none;
    }
}

/* Services hero: content over image top angle */
.svc-banner-hero {
    padding: 100px 0 clamp(24px, 4vw, 46px);
}

.svc-banner-card {
    min-height: calc(100vh - 170px);
    aspect-ratio: 18 / 8;
}

.svc-banner-top {
    position: absolute;
    z-index: 2;
    left: clamp(20px, 4vw, 70px);
    right: clamp(20px, 4vw, 70px);
    top: clamp(24px, 4vw, 66px);
    align-items: start;
    margin-bottom: 0;
    transform: skewY(-1.8deg);
}

.svc-banner-top h1 {
    color: #fff;
    text-shadow: 0 22px 54px rgba(0, 0, 0, 0.46);
    transform: skewY(1.8deg);
}

.svc-banner-intro {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    background: rgba(8, 18, 20, 0.32);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    transform: skewY(1.8deg);
}

.svc-banner-intro p {
    color: rgba(255, 255, 255, 0.88);
}

.svc-banner-intro a {
    background: #fff;
    color: #202020;
}

.svc-banner-intro a:hover {
    background: #f1f5f9;
}

.svc-banner-intro a span {
    background: #202020;
    color: #fff;
}

.svc-banner-card-shade {
    background:
        linear-gradient(
            180deg,
            rgba(3, 14, 18, 0.48) 0%,
            rgba(3, 14, 18, 0.08) 42%,
            rgba(3, 14, 18, 0.78) 100%
        ),
        linear-gradient(
            90deg,
            rgba(4, 18, 22, 0.58),
            transparent 48%,
            rgba(4, 18, 22, 0.2)
        );
}

@media (max-width: 760px) {
    .svc-banner-top {
        left: 18px;
        right: 18px;
        top: 22px;
        gap: 12px;
        transform: none;
    }

    .svc-banner-top h1 {
        font-size: clamp(2.85rem, 13vw, 4.5rem);
        transform: none;
    }

    .svc-banner-intro {
        width: min(100%, 360px);
        padding: 14px;
        transform: none;
    }

    .svc-banner-intro p {
        font-size: 0.82rem;
    }

    .svc-banner-intro a {
        min-height: 40px;
        padding: 0 14px 0 16px;
        font-size: 0.78rem;
    }

    .svc-banner-card {
        min-height: calc(100svh - 170px);
    }

    .svc-banner-metrics {
        bottom: 18px;
    }

    .svc-banner-note {
        display: none;
    }
}

/* Services second section: why choose us placement */
.svc-why-layout {
    position: relative;
    padding: clamp(74px, 8vw, 118px) 0;
    background: #f7f7f4;
    color: #202020;
}

.svc-why-layout::before {
    display: none;
}

.svc-why-grid {
    display: grid;
    grid-template-columns: minmax(190px, 330px) minmax(0, 1fr);
    gap: clamp(28px, 4.5vw, 58px);
    align-items: start;
}

.svc-why-side {
    display: grid;
    gap: clamp(78px, 10vw, 126px);
    align-content: start;
}

.svc-why-chip {
    display: inline-flex;
    width: max-content;
    align-items: center;
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid rgba(32, 32, 32, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #3a3a3a;
    font-size: 0.78rem;
    font-weight: 800;
}

.svc-why-thumb,
.svc-why-media {
    position: relative;
    overflow: hidden;
    margin: 0;
    background: #dfe5dc;
    box-shadow: 0 20px 44px rgba(20, 24, 22, 0.08);
}

.svc-why-thumb {
    aspect-ratio: 1.08 / 1;
    border-radius: 18px;
}

.svc-why-thumb img,
.svc-why-media img,
.svc-why-media video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform 0.55s var(--ease),
        filter 0.55s var(--ease);
}

.svc-why-thumb:hover img,
.svc-why-media:hover img,
.svc-why-media:hover video {
    transform: scale(1.045);
}

.svc-why-main {
    display: grid;
    gap: clamp(24px, 3vw, 34px);
}

.svc-why-title {
    max-width: 24ch;
    margin: 0;
    color: #202020;
    font-size: clamp(1.9rem, 3.25vw, 3.45rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.svc-why-media {
    aspect-ratio: 2.3 / 1;
    min-height: 360px;
    border-radius: 18px;
}

.svc-why-bottom {
    display: grid;
    gap: 18px;
    max-width: 340px;
}

.svc-why-bottom p {
    margin: 0;
    color: #6b706b;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.52;
}

.svc-why-bottom a {
    display: inline-flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px 0 20px;
    border-radius: 999px;
    background: #202020;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
    transition:
        transform 0.22s var(--ease),
        box-shadow 0.22s var(--ease),
        background 0.22s var(--ease);
}

.svc-why-bottom a:hover {
    transform: translateY(-2px);
    background: #050505;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

.svc-why-bottom a span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #202020;
    font-size: 0.78rem;
}

@media (max-width: 860px) {
    .svc-why-grid {
        grid-template-columns: 1fr;
    }

    .svc-why-side {
        gap: 18px;
    }

    .svc-why-thumb {
        width: min(320px, 100%);
    }

    .svc-why-title {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .svc-why-layout {
        padding: 62px 0;
    }

    .svc-why-media {
        min-height: 320px;
        aspect-ratio: 1.25 / 1;
    }

    .svc-why-bottom {
        max-width: none;
    }
}

.ab-metrics {
    margin-top: 0;
}
.ab-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ab-metrics .svc-metric small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

/* --- Story pillars --- */
.ab-story-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}
.ab-story-list div {
    padding: 18px 20px;
    border: 1px solid rgba(10, 31, 62, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    transition:
        transform 0.24s var(--ease),
        box-shadow 0.24s var(--ease),
        border-color 0.24s var(--ease);
}
.ab-story-list div:hover {
    transform: translateX(4px);
    border-color: rgba(27, 67, 254, 0.35);
    box-shadow: 0 14px 30px rgba(10, 31, 62, 0.08);
}
.ab-story-list strong {
    display: block;
    color: var(--ink);
    font-size: 1.02rem;
}
.ab-story-list small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.5;
}

/* --- Awards / why choose us --- */
.ab-awards {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: clamp(92px, 8vw, 128px) 0;
    background:
        radial-gradient(
            circle at 18% 18%,
            rgba(27, 67, 254, 0.08),
            transparent 32%
        ),
        linear-gradient(135deg, #f8fafc 0%, #eef3f8 54%, #f6f8fb 100%);
}
.ab-choice-grid {
    display: grid;
    grid-template-columns: minmax(230px, 0.78fr) minmax(250px, 1fr) minmax(
            250px,
            1fr
        );
    grid-template-rows: minmax(220px, 26vh) minmax(330px, 40vh);
    gap: 14px;
    align-items: stretch;
}
.ab-choice-intro {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(18px, 2.4vw, 34px) clamp(14px, 2vw, 26px)
        clamp(18px, 2.4vw, 34px) 0;
}
.ab-choice-intro span {
    display: block;
    color: #071b36;
    font-size: clamp(2.1rem, 3.8vw, 3.95rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.02em;
}
.ab-choice-intro span:last-of-type {
    background: linear-gradient(100deg, var(--blue), #6f9bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.ab-choice-intro p {
    max-width: 29ch;
    margin-top: 24px;
    color: #526074;
    font-size: clamp(0.92rem, 1vw, 1.02rem);
    font-weight: 700;
    line-height: 1.55;
}
.ab-choice-intro::after {
    content: "";
    display: block;
    width: 76px;
    height: 5px;
    margin-top: 30px;
    border-radius: 999px;
    background: var(--blue);
}
.ab-choice-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(20, 36, 59, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(20, 36, 59, 0.09);
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
}
.ab-choice-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), #6f9bff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.ab-choice-card:hover {
    transform: translateY(-6px);
    border-color: rgba(27, 67, 254, 0.22);
    box-shadow: 0 34px 72px rgba(20, 36, 59, 0.17);
}
.ab-choice-card:hover::before {
    transform: scaleX(1);
}
.ab-choice-card h3 {
    color: #071b36;
    font-size: clamp(1.05rem, 1.35vw, 1.32rem);
    font-weight: 800;
    letter-spacing: 0;
}
.ab-choice-card p {
    color: #34445b;
    font-size: clamp(0.82rem, 0.9vw, 0.95rem);
    font-weight: 700;
    line-height: 1.35;
}
.ab-choice-card-soft {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(22px, 2.2vw, 30px);
    background: linear-gradient(160deg, #ffffff 0%, #f3f7ff 100%);
}
.ab-choice-card-soft::after {
    content: "";
    order: -1;
    align-self: flex-start;
    width: 48px;
    height: 48px;
    margin-bottom: auto;
    border-radius: 14px;
    background:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='2.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E")
            center / 24px 24px no-repeat,
        linear-gradient(135deg, var(--blue), #6f9bff);
    box-shadow: 0 12px 24px rgba(27, 67, 254, 0.3);
}
.ab-choice-card-soft h3 {
    margin-top: 4px;
}
.ab-choice-card-soft p {
    max-width: 28ch;
    margin: 0;
}
.ab-choice-card-image {
    isolation: isolate;
}
.ab-choice-card-image img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease);
}
.ab-choice-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            rgba(6, 14, 28, 0) 34%,
            rgba(6, 14, 28, 0.58) 72%,
            rgba(5, 11, 24, 0.86) 100%
        ),
        linear-gradient(120deg, rgba(6, 14, 28, 0.34), transparent 58%);
    transition: opacity 0.4s var(--ease);
}
.ab-choice-card-image:hover::after {
    opacity: 0.86;
}
.ab-choice-card-image:hover img {
    transform: scale(1.06);
}
.ab-choice-card-image div {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    padding: clamp(22px, 2.2vw, 30px);
}
.ab-choice-card-image h3 {
    color: #ffffff;
}
.ab-choice-card-image p {
    max-width: 42ch;
    color: rgba(233, 240, 251, 0.85);
    font-weight: 600;
}
.ab-choice-card-wide {
    grid-column: 1 / 3;
}
.ab-choice-card-tall {
    grid-column: 3 / 4;
}
.ab-choice-card-tall img {
    object-position: center;
}

/* --- About quote CTA accordion --- */
.ab-quote-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(96px, 10vw, 144px) 0;
    background: #ffffff;
    color: #00173d;
}
.ab-quote-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(220px, 0.72fr) minmax(
            360px,
            0.9fr
        );
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
.ab-quote-copy {
    position: relative;
    z-index: 1;
}
.ab-quote-copy span {
    display: block;
    padding-bottom: 30px;
    border-bottom: 1px solid #dde2e8;
    color: #00173d;
    font-size: 0.96rem;
    font-weight: 900;
}
.ab-quote-copy h2 {
    max-width: 10.2ch;
    margin: 36px 0 30px;
    color: #00173d;
    font-size: clamp(1.6rem, 3.4vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: 0;
}
.ab-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 32px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 32px rgba(27, 67, 254, 0.24);
    transition:
        transform 0.24s var(--ease),
        box-shadow 0.24s var(--ease),
        background 0.24s var(--ease);
}
.ab-quote-btn b {
    font-size: 1.15rem;
    line-height: 1;
}
.ab-quote-btn:hover {
    transform: translateY(-2px);
    background: var(--blue-dark);
    box-shadow: 0 22px 40px rgba(27, 67, 254, 0.32);
}
.ab-quote-mark {
    position: relative;
    min-height: clamp(360px, 48vw, 520px);
}
.ab-quote-mark::before,
.ab-quote-mark::after {
    content: "";
    position: absolute;
    left: 50%;
    width: clamp(260px, 25vw, 390px);
    height: clamp(156px, 15vw, 230px);
    background: #f1f3f7;
    opacity: 0.9;
    clip-path: polygon(48% 0, 100% 0, 56% 100%, 0 100%);
    transform: translateX(-50%);
}
.ab-quote-mark::before {
    top: 0;
}
.ab-quote-mark::after {
    bottom: 0;
    transform: translateX(-50%) scaleY(-1);
}
.ab-quote-accordion {
    position: relative;
    z-index: 1;
    display: grid;
}
.ab-quote-item {
    border-top: 1px solid #dde2e8;
}
.ab-quote-item:last-child {
    border-bottom: 1px solid #dde2e8;
}
.ab-quote-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 88px;
    border: 0;
    background: transparent;
    color: #00173d;
    font: inherit;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}
.ab-quote-item button i {
    position: relative;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
}
.ab-quote-item button i::before,
.ab-quote-item button i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: #00173d;
    transform: translate(-50%, -50%);
    transition:
        transform 0.24s var(--ease),
        opacity 0.24s var(--ease);
}
.ab-quote-item button i::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.ab-quote-item.is-open button i::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}
.ab-quote-detail {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s var(--ease);
}
.ab-quote-detail p {
    min-height: 0;
    overflow: hidden;
    max-width: 42ch;
    margin: 0;
    color: #00173d;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.45;
}
.ab-quote-item.is-open .ab-quote-detail {
    grid-template-rows: 1fr;
}
.ab-quote-item.is-open .ab-quote-detail p {
    padding: 0 0 32px;
}

/* --- Experts who care --- */
.ab-experts {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: clamp(92px, 8vw, 124px) 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.96) 0 43%,
            rgba(255, 255, 255, 0.74) 43% 100%
        ),
        radial-gradient(
            circle at 84% 10%,
            rgba(27, 67, 254, 0.16),
            transparent 34%
        ),
        linear-gradient(135deg, #ffffff 0%, #eef4ff 50%, #f7faff 100%);
}
.ab-experts::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(27, 67, 254, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(27, 67, 254, 0.04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
    pointer-events: none;
}
.ab-experts::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -28%;
    width: min(620px, 46vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(27, 67, 254, 0.18),
        transparent 68%
    );
    pointer-events: none;
}
.ab-experts-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) minmax(480px, 1fr);
    grid-template-areas:
        "head media"
        "cards media";
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.ab-experts-head {
    grid-area: head;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
    margin-bottom: 0;
}
.ab-experts-head h2 {
    max-width: 13.5ch;
    margin: 0;
    color: #071b36;
    font-size: clamp(1.35rem, 2.25vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: 0;
}
.ab-experts-head .svc-kicker {
    grid-column: auto;
    background: rgba(27, 67, 254, 0.08);
    color: var(--blue);
}
.ab-experts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 18px 36px rgba(27, 67, 254, 0.24);
    transition:
        transform 0.24s var(--ease),
        box-shadow 0.24s var(--ease),
        background 0.24s var(--ease);
}
.ab-experts-btn:hover {
    transform: translateY(-2px);
    background: var(--blue-dark);
    box-shadow: 0 24px 46px rgba(27, 67, 254, 0.32);
}
.ab-experts-media {
    grid-area: media;
    position: relative;
    min-height: min(700px, 70vh);
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #dfe7f5;
    box-shadow: 0 34px 90px rgba(10, 31, 62, 0.18);
}
.ab-experts-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    transform: scale(1.035);
    transition: transform 0.7s var(--ease);
}
.ab-experts-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 44%, rgba(6, 18, 40, 0.64));
}
.ab-experts-media:hover img {
    transform: scale(1.085);
}
.ab-experts-media figcaption {
    position: absolute;
    left: clamp(18px, 3vw, 34px);
    bottom: clamp(18px, 3vw, 32px);
    z-index: 1;
    display: grid;
    gap: 3px;
    max-width: min(420px, 80%);
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(6, 18, 40, 0.58);
    color: #fff;
    backdrop-filter: blur(14px);
}
.ab-experts-media figcaption strong {
    font-size: 1rem;
    font-weight: 900;
}
.ab-experts-media figcaption span {
    color: rgba(226, 233, 245, 0.82);
    font-size: 0.86rem;
    font-weight: 650;
}
.ab-experts-grid {
    grid-area: cards;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.ab-experts-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 16px;
    align-items: start;
    position: relative;
    overflow: hidden;
    min-height: 0;
    padding: 20px;
    border: 1px solid rgba(10, 31, 62, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 42px rgba(10, 31, 62, 0.07);
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
}
.ab-experts-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), #78a7ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.36s var(--ease);
}
.ab-experts-card:hover {
    transform: translateY(-7px);
    border-color: rgba(27, 67, 254, 0.24);
    box-shadow: 0 28px 62px rgba(10, 31, 62, 0.13);
}
.ab-experts-card:hover::before {
    transform: scaleX(1);
}
.ab-experts-ic {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 0;
    border-radius: 14px;
    background: #eaf0ff;
    color: var(--blue);
    transition:
        transform 0.32s var(--ease),
        background 0.32s var(--ease),
        color 0.32s var(--ease);
}
.ab-experts-ic svg {
    width: 26px;
    height: 26px;
}
.ab-experts-card:hover .ab-experts-ic {
    transform: translateY(-2px) rotate(-4deg) scale(1.06);
    background: var(--blue);
    color: #fff;
}
.ab-experts-card h3 {
    grid-column: 2;
    margin: 0;
    color: #071b36;
    font-size: 1.12rem;
    letter-spacing: 0;
    line-height: 1.18;
}
.ab-experts-card p {
    grid-column: 2;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.55;
}

@media (max-width: 1000px) {
    .ab-awards {
        min-height: auto;
    }
    .ab-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ab-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }
    .ab-choice-intro,
    .ab-choice-card-wide,
    .ab-choice-card-tall {
        grid-column: auto;
    }
    .ab-choice-intro {
        padding: 0 0 18px;
    }
    .ab-choice-card {
        min-height: 260px;
    }
    .ab-quote-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .ab-quote-mark {
        position: absolute;
        inset: 12% 0 auto;
        z-index: 0;
        min-height: 360px;
        opacity: 0.42;
        pointer-events: none;
    }
    .ab-quote-accordion {
        margin-top: 24px;
    }
    .ab-experts-head {
        grid-area: auto;
        grid-template-columns: 1fr;
        align-items: start;
    }
    .ab-experts {
        min-height: auto;
        padding: 90px 0;
    }
    .ab-experts-inner {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }
    .ab-experts-media,
    .ab-experts-grid {
        grid-area: auto;
    }
    .ab-experts-grid {
        grid-template-columns: 1fr;
    }
    .ab-experts-card {
        min-height: auto;
    }
}
@media (max-width: 680px) {
    .ab-metrics {
        margin-top: 0;
    }
    .ab-metrics-grid {
        grid-template-columns: 1fr;
    }
    .ab-choice-grid {
        grid-template-columns: 1fr;
    }
    .ab-choice-intro span {
        font-size: clamp(2rem, 10vw, 2.85rem);
    }
    .ab-choice-card {
        min-height: 260px;
    }
    .ab-choice-card-soft {
        min-height: 220px;
    }
    .ab-quote-cta {
        padding: 78px 0;
    }
    .ab-quote-copy h2 {
        font-size: clamp(1.25rem, 10vw, 2.2rem);
    }
    .ab-quote-copy span {
        padding-bottom: 22px;
    }
    .ab-quote-item button {
        min-height: 78px;
    }
    .ab-experts {
        padding: 76px 0;
    }
    .ab-experts-head h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    .ab-experts-media {
        min-height: 280px;
        border-radius: 14px;
    }
    .ab-experts-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .ab-experts-ic,
    .ab-experts-card h3,
    .ab-experts-card p {
        grid-column: 1;
        grid-row: auto;
    }
}

/* ==========================================================================
   Admin overview — premium motion layer (blue dashboard)
   Entrance = transform-based keyframes (fill both).
   Hover lift = the independent `translate` property so it composes with,
   and is not locked by, the entrance transform.
   ========================================================================== */

/* --- hover micro-interactions (kept subtle, motion-safe via `translate`) --- */
.admin-overview-page .av-kpi,
.admin-overview-page .av-panel {
    transition:
        translate 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
    will-change: translate;
}
.admin-overview-page .av-kpi:hover {
    translate: 0 -4px;
    border-color: #b9d0ff;
    box-shadow: 0 24px 48px rgba(28, 65, 135, 0.16);
}
.admin-overview-page .av-panel:hover {
    translate: 0 -5px;
    border-color: #b9d0ff;
    box-shadow: 0 30px 60px rgba(28, 65, 135, 0.18);
}
.admin-overview-page .av-kpi-ic {
    transition:
        transform 0.35s var(--ease),
        background 0.3s var(--ease);
}
.admin-overview-page .av-kpi:hover .av-kpi-ic {
    transform: translateY(-1px) scale(1.08) rotate(-3deg);
}
.admin-overview-page .av-active-list a,
.admin-overview-page .av-insights div {
    transition:
        translate 0.24s var(--ease),
        background 0.24s var(--ease);
}
.admin-overview-page .av-active-list a:hover {
    translate: 4px 0;
    background: #eef4ff;
}
.admin-overview-page .av-route-card > a,
.admin-overview-page .av-panel-head a {
    transition:
        translate 0.24s var(--ease),
        box-shadow 0.24s var(--ease),
        opacity 0.24s var(--ease);
}
.admin-overview-page .av-route-card > a:hover {
    translate: 0 -2px;
    box-shadow: 0 16px 30px rgba(7, 31, 73, 0.28);
}
.admin-overview-page .av-panel-head a:hover {
    translate: 2px 0;
    opacity: 0.8;
}

/* ---------------------------- keyframes ---------------------------------- */
@keyframes avRise {
    from {
        opacity: 0.2;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}
@keyframes avFlow {
    to {
        stroke-dashoffset: -38;
    }
}
@keyframes avFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}
@keyframes avDotPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(27, 67, 254, 0.5);
    }
    50% {
        transform: scale(1.25);
        box-shadow: 0 0 0 5px rgba(27, 67, 254, 0);
    }
}
/* --------- animations only when the user is fine with motion ------------- */
@media (prefers-reduced-motion: no-preference) {
    /* staggered entrance */
    .admin-overview-page .av-welcome {
        animation: avUp 0.55s var(--ease) both;
    }
    .admin-overview-page .av-kpi {
        animation: avUp 0.55s var(--ease) both;
    }
    .admin-overview-page .av-kpi:nth-child(1) {
        animation-delay: 0.06s;
    }
    .admin-overview-page .av-kpi:nth-child(2) {
        animation-delay: 0.13s;
    }
    .admin-overview-page .av-kpi:nth-child(3) {
        animation-delay: 0.2s;
    }
    .admin-overview-page .av-kpi:nth-child(4) {
        animation-delay: 0.27s;
    }
    .admin-overview-page .av-board > .av-panel {
        animation: avUp 0.6s var(--ease) both;
    }
    .admin-overview-page .av-board > .av-panel:nth-child(1) {
        animation-delay: 0.24s;
    }
    .admin-overview-page .av-board > .av-panel:nth-child(2) {
        animation-delay: 0.32s;
    }
    .admin-overview-page .av-board > .av-panel:nth-child(3) {
        animation-delay: 0.4s;
    }
    .admin-overview-page .av-board > .av-panel:nth-child(4) {
        animation-delay: 0.48s;
    }
    .admin-overview-page .av-board > .av-panel:nth-child(5) {
        animation-delay: 0.56s;
    }
    .admin-overview-page .av-board > .av-panel:nth-child(6) {
        animation-delay: 0.64s;
    }
    .admin-overview-page .av-board > .av-panel:nth-child(7) {
        animation-delay: 0.72s;
    }

    /* KPI icons gently float */
    .admin-overview-page .av-kpi-ic {
        animation: avFloat 3.6s ease-in-out infinite;
    }
    .admin-overview-page .av-kpi:nth-child(2) .av-kpi-ic {
        animation-delay: 0.4s;
    }
    .admin-overview-page .av-kpi:nth-child(3) .av-kpi-ic {
        animation-delay: 0.8s;
    }
    .admin-overview-page .av-kpi:nth-child(4) .av-kpi-ic {
        animation-delay: 1.2s;
    }

    /* AI route: dashes flow along the path like a live vehicle track */
    .admin-overview-page .av-route-visual path {
        animation: avFlow 1.15s linear infinite;
    }
    /* route waypoints pulse */
    .admin-overview-page .av-route-node {
        position: absolute;
    }
    .admin-overview-page .av-route-node::after {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 2px solid #1b43fe;
        animation: avPing 2s var(--ease) infinite;
    }
    .admin-overview-page .av-route-node-b::after {
        animation-delay: 0.5s;
    }
    .admin-overview-page .av-route-node-c::after {
        animation-delay: 1s;
    }

    /* Route comparison: optimized line draws itself in, endpoints pop */
    .admin-overview-page .av-new-route {
        stroke-dasharray: 780;
        stroke-dashoffset: 780;
        animation: avDraw 1.7s var(--ease) 0.55s forwards;
    }
    .admin-overview-page .av-old-route {
        animation: avFlow 2.4s linear infinite reverse;
    }
    .admin-overview-page .av-compare-map circle {
        opacity: 0;
        transform: scale(0.3);
        transform-box: fill-box;
        transform-origin: center;
        animation: avPop 0.5s var(--ease) 1.7s both;
    }
    .admin-overview-page .av-compare-map circle:last-of-type {
        animation-delay: 2s;
    }

    /* Volume + savings bars rise from the baseline, staggered */
    .admin-overview-page .av-mini-wave i,
    .admin-overview-page .av-bars i {
        transform-origin: bottom;
        animation: avRise 0.7s var(--ease) both;
    }
    .admin-overview-page .av-mini-wave i:nth-child(1),
    .admin-overview-page .av-bars i:nth-child(1) {
        animation-delay: 0.5s;
    }
    .admin-overview-page .av-mini-wave i:nth-child(2),
    .admin-overview-page .av-bars i:nth-child(2) {
        animation-delay: 0.58s;
    }
    .admin-overview-page .av-mini-wave i:nth-child(3),
    .admin-overview-page .av-bars i:nth-child(3) {
        animation-delay: 0.66s;
    }
    .admin-overview-page .av-mini-wave i:nth-child(4),
    .admin-overview-page .av-bars i:nth-child(4) {
        animation-delay: 0.74s;
    }
    .admin-overview-page .av-mini-wave i:nth-child(5),
    .admin-overview-page .av-bars i:nth-child(5) {
        animation-delay: 0.82s;
    }
    .admin-overview-page .av-mini-wave i:nth-child(6) {
        animation-delay: 0.9s;
    }
    .admin-overview-page .av-mini-wave i:nth-child(7) {
        animation-delay: 0.98s;
    }

    /* Active shipments + AI insights rows slide in */
    .admin-overview-page .av-active-list a,
    .admin-overview-page .av-insights div {
        animation: avUp 0.5s var(--ease) both;
    }
    .admin-overview-page .av-active-list a:nth-child(1),
    .admin-overview-page .av-insights div:nth-child(1) {
        animation-delay: 0.55s;
    }
    .admin-overview-page .av-active-list a:nth-child(2),
    .admin-overview-page .av-insights div:nth-child(2) {
        animation-delay: 0.64s;
    }
    .admin-overview-page .av-active-list a:nth-child(3),
    .admin-overview-page .av-insights div:nth-child(3) {
        animation-delay: 0.73s;
    }
    .admin-overview-page .av-active-list a:nth-child(4) {
        animation-delay: 0.82s;
    }

    /* AI insight bullets pulse to feel "live" */
    .admin-overview-page .av-insight-dot {
        animation: avDotPulse 2.2s ease-in-out infinite;
    }
}

/* respect reduced-motion: freeze everything to a clean static state */
@media (prefers-reduced-motion: reduce) {
    .admin-overview-page .av-new-route {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
    }
}

/* ---------- Contact page ---------- */
.contact-page {
    background: #f6f7f9;
}
/* contact page uses the shared dark glass navbar (same as the index page) */
.contact-main {
    color: #00173d;
}
.contact-wrap {
    width: min(1360px, 92%);
    margin-inline: auto;
}
.contact-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(112px, 11vw, 132px) 0 clamp(78px, 8vw, 118px);
    background: #f6f7f9;
}
.contact-hero::after {
    content: "";
    position: absolute;
    left: max(6vw, 180px);
    bottom: -102px;
    width: clamp(280px, 28vw, 430px);
    height: clamp(155px, 15vw, 230px);
    background: rgba(232, 236, 242, 0.62);
    clip-path: polygon(0 0, 54% 0, 100% 100%, 46% 100%);
    pointer-events: none;
}
.contact-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 0.84fr);
    gap: clamp(56px, 12vw, 190px);
    align-items: start;
}
.contact-kicker {
    display: block;
    margin-bottom: 18px;
    color: #00173d;
    font-size: 0.98rem;
    font-weight: 800;
}
.contact-copy h1 {
    margin: 0 0 26px;
    color: #0a2348;
    font-size: clamp(3rem, 4.7vw, 3.95rem);
    line-height: 1.02;
    letter-spacing: 0;
}
.contact-copy h2,
.contact-form h2 {
    margin: 0;
    color: #00173d;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
}
.contact-copy h2 {
    font-size: 1.35rem;
}
.contact-rule {
    height: 1px;
    margin: 38px 0;
    background: #dde2e8;
}
.contact-address {
    display: grid;
    gap: 2px;
    margin: 0 0 36px;
    color: #00173d;
    font-style: normal;
    font-size: 0.98rem;
    line-height: 1.45;
}
.contact-address strong {
    margin-bottom: 5px;
    color: #000;
    font-weight: 800;
}
.contact-direct {
    display: grid;
    gap: 2px;
    margin-top: 6px;
}
.contact-direct a,
.contact-card a {
    color: #00173d;
    font-weight: 800;
}
.contact-direct a:hover,
.contact-card a:hover {
    color: var(--blue);
}
.contact-form {
    padding-top: 64px;
}
.contact-form .contact-rule {
    margin: 18px 0 22px;
}
.contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
}
.contact-fields label,
.contact-message {
    min-width: 0;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid #dde2e8;
    border-radius: 8px;
    background: #fff;
    color: #00173d;
    font: inherit;
    font-size: 0.82rem;
    outline: none;
    padding: 0 16px;
    transition:
        border-color 0.2s var(--ease),
        box-shadow 0.2s var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888d96;
}
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.75 7 7.25l5.5-5.5' fill='none' stroke='%2300173d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.contact-form textarea {
    min-height: 112px;
    margin-top: 22px;
    padding: 17px 16px;
    resize: vertical;
    line-height: 1.55;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27, 67, 254, 0.11);
}
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 144px;
    height: 50px;
    margin-top: 22px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.22s var(--ease),
        box-shadow 0.22s var(--ease),
        background 0.22s var(--ease);
}
.contact-submit svg {
    width: 17px;
    height: 17px;
}
.contact-submit:hover {
    transform: translateY(-2px);
    background: var(--blue-dark);
    box-shadow: 0 16px 30px rgba(27, 67, 254, 0.28);
}
.contact-support {
    padding: clamp(76px, 8vw, 118px) 0 86px;
    background: #f6f7f9;
}
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.contact-card {
    min-height: 348px;
    padding: clamp(34px, 4vw, 45px);
    border: 1px solid #dde2e8;
    background: #fff;
    color: #00173d;
}
.contact-card > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}
.contact-card h2 {
    max-width: 13.5ch;
    margin: 0;
    color: #00173d;
    font-size: clamp(1.85rem, 3vw, 2.25rem);
    line-height: 1.16;
    letter-spacing: 0;
}
.contact-card-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: var(--blue);
}
.contact-card p {
    max-width: 30ch;
    margin: 132px 0 0;
    color: #00173d;
    font-size: 1rem;
    line-height: 1.45;
}
.contact-card p + p {
    margin-top: 22px;
}
.contact-card small {
    display: block;
    margin-top: 24px;
    color: #00173d;
    font-size: 0.82rem;
    font-weight: 500;
}
.contact-card:nth-child(2) p {
    margin-top: 54px;
}
@media (max-width: 1060px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-form {
        padding-top: 0;
    }
    .contact-hero::after {
        opacity: 0.45;
    }
}
@media (max-width: 820px) {
    .contact-card-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        min-height: 300px;
    }
}
@media (max-width: 620px) {
    .contact-hero {
        padding-top: 104px;
    }
    .contact-fields {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .contact-copy h1 {
        font-size: clamp(2.55rem, 13vw, 3rem);
    }
    .contact-rule {
        margin: 28px 0;
    }
    .contact-card {
        padding: 28px 24px;
    }
    .contact-card > div {
        gap: 18px;
    }
    .contact-card h2 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }
    .contact-card p,
    .contact-card:nth-child(2) p {
        margin-top: 58px;
    }
}

/* ==========================================================================
   ADMIN — theme system (default dark + light switch), layout & mobile
   ========================================================================== */

/* ---- theme tokens ---- */
.admin-orders-page {
    --ad-bg: #eef4ff;
    --ad-surface: rgba(255, 255, 255, 0.9);
    --ad-nested: #f6f9ff;
    --ad-line: #dbe5f7;
    --ad-text: #0a1f3e;
    --ad-heading: #071f49;
    --ad-muted: #6b7a92;
    --ad-brand: #1b43fe;
    --ad-brand-soft: #e6edff;
    --ad-hover: #eef3ff;
    --ad-sidebar: rgba(255, 255, 255, 0.72);
    --ad-topbar: rgba(255, 255, 255, 0.96);
    --ad-icon-btn: #eef3ff;
    --ad-icon-btn-fg: #1b43fe;
    --ad-icon-btn-hover: #dfe8ff;
    --ad-shadow: 0 16px 38px rgba(10, 31, 62, 0.08);
}
.admin-orders-page.theme-dark {
    --ad-bg: #0b0f17;
    --ad-surface: #141a26;
    --ad-nested: #1b2231;
    --ad-line: rgba(255, 255, 255, 0.09);
    --ad-text: #e7edf8;
    --ad-heading: #f2f6fd;
    --ad-muted: #93a1ba;
    --ad-brand: #6f8cff;
    --ad-brand-soft: rgba(111, 140, 255, 0.16);
    --ad-hover: rgba(255, 255, 255, 0.05);
    --ad-sidebar: #0e131d;
    --ad-topbar: rgba(15, 20, 31, 0.85);
    --ad-icon-btn: rgba(255, 255, 255, 0.06);
    --ad-icon-btn-fg: #cdd7ea;
    --ad-icon-btn-hover: rgba(255, 255, 255, 0.13);
    --ad-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

/* ---- smooth transition when switching themes ---- */
.admin-orders-page .ao-shell,
.admin-orders-page .ao-sidebar,
.admin-orders-page .ao-topbar,
.admin-orders-page .ao-clock,
.admin-orders-page .ao-user,
.admin-orders-page .ao-profile-card,
.admin-orders-page .ao-profile-actions a,
.admin-orders-page .ao-profile-actions button,
.admin-orders-page .ao-actions > button,
.admin-orders-page .ao-actions > form > button,
.admin-orders-page .ao-sidebar nav a,
.admin-orders-page .ao-nav-ic,
.admin-orders-page .av-kpi,
.admin-orders-page .av-panel,
.admin-orders-page .av-stat,
.admin-orders-page .ao-card,
.admin-orders-page .dv-tablewrap,
.admin-orders-page .dv-view,
.admin-orders-page .ao-side-logout {
    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}

/* ---- topbar pinned to very top, borderless icon buttons ---- */
.admin-orders-page .ao-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid var(--ad-line);
    border-radius: 16px;
    background: var(--ad-topbar);
    box-shadow: var(--ad-shadow);
    backdrop-filter: blur(16px);
}
.ao-topbar-lead {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.admin-orders-page .ao-actions > button,
.admin-orders-page .ao-actions > form > button,
.admin-orders-page .ao-details-head button {
    border: none;
    background: var(--ad-icon-btn);
    color: var(--ad-icon-btn-fg);
    box-shadow: none;
}
.admin-orders-page .ao-actions > button:hover,
.admin-orders-page .ao-actions > form > button:hover,
.admin-orders-page .ao-details-head button:hover {
    background: var(--ad-icon-btn-hover);
}
.admin-orders-page .ao-clock {
    border-color: var(--ad-line);
    background: var(--ad-nested);
    color: var(--ad-text);
    box-shadow: none;
}
.admin-orders-page .ao-clock small {
    color: var(--ad-muted);
}
.admin-orders-page .ao-user {
    border-color: var(--ad-line);
    background: var(--ad-nested);
}
.admin-orders-page .ao-profile-card {
    border-color: var(--ad-line);
    background: var(--ad-topbar);
    color: var(--ad-text);
}
.admin-orders-page .ao-user strong {
    color: var(--ad-heading);
}
.admin-orders-page .ao-user small,
.admin-orders-page .ao-profile-head small,
.admin-orders-page .ao-profile-meta span {
    color: var(--ad-muted);
}
.admin-orders-page .ao-profile-head,
.admin-orders-page .ao-profile-meta {
    border-color: var(--ad-line);
}
.admin-orders-page .ao-profile-head strong,
.admin-orders-page .ao-profile-meta a,
.admin-orders-page .ao-profile-meta strong {
    color: var(--ad-heading);
}
.admin-orders-page .ao-profile-actions a,
.admin-orders-page .ao-profile-actions button {
    background: var(--ad-icon-btn);
    color: var(--ad-icon-btn-fg);
}
.admin-orders-page .ao-topbar h1 {
    color: var(--ad-heading);
}
.admin-orders-page .ao-topbar h1 span {
    background: var(--ad-brand-soft);
    color: var(--ad-brand);
}

/* animated theme toggle */
.ao-theme-toggle {
    position: relative;
    overflow: hidden;
}
.ao-theme-toggle svg {
    transition:
        transform 0.5s var(--ease),
        opacity 0.3s ease;
}
.ao-theme-toggle.is-spin svg {
    animation: aoSpin 0.5s var(--ease);
}
.theme-dark .ao-theme-toggle .ao-ic-moon {
    display: none;
}
.theme-light .ao-theme-toggle .ao-ic-sun,
.admin-orders-page:not(.theme-dark) .ao-theme-toggle .ao-ic-sun {
    display: none;
}
@keyframes aoSpin {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ---- redesigned sidebar ---- */
.admin-orders-page .ao-sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px 16px;
    background: var(--ad-sidebar);
    border-right: 1px solid var(--ad-line);
    backdrop-filter: blur(16px);
}
.ao-side-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.admin-orders-page .ao-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ao-brand-mark {
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.ao-brand-word {
    width: 116px;
    object-fit: contain;
}
.theme-dark .ao-brand-word {
    filter: brightness(0) invert(1);
}
.ao-side-label {
    margin: 24px 6px 8px;
    color: var(--ad-muted);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.admin-orders-page .ao-sidebar nav {
    display: grid;
    gap: 4px;
    margin-top: 0;
}
.admin-orders-page .ao-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--ad-muted);
    font-size: 0.9rem;
    font-weight: 800;
}
.ao-nav-ic {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    background: transparent;
    color: currentColor;
}
.ao-nav-ic svg {
    width: 18px;
    height: 18px;
}
.admin-orders-page .ao-sidebar nav a:hover {
    background: var(--ad-hover);
    color: var(--ad-text);
}
.admin-orders-page .ao-sidebar nav a.is-active {
    background: var(--ad-brand-soft);
    color: var(--ad-brand);
}
.admin-orders-page .ao-sidebar nav a.is-active .ao-nav-ic {
    background: var(--ad-brand);
    color: #fff;
}
.ao-side-foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--ad-line);
    display: grid;
    gap: 12px;
}
.ao-side-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ao-side-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: var(--ad-brand-soft);
    color: var(--ad-brand);
    font-weight: 900;
    font-size: 0.82rem;
}
.ao-side-user-meta strong {
    display: block;
    color: var(--ad-text);
    font-size: 0.84rem;
}
.ao-side-user-meta small {
    display: block;
    color: var(--ad-muted);
    font-size: 0.72rem;
    font-weight: 800;
}
.ao-side-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    border: 1px solid var(--ad-line);
    border-radius: 11px;
    background: transparent;
    color: var(--ad-muted);
    font-weight: 800;
    font-size: 0.84rem;
    cursor: pointer;
}
.ao-side-logout svg {
    width: 17px;
    height: 17px;
}
.ao-side-logout:hover {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.4);
    background: rgba(255, 107, 107, 0.09);
}

/* hamburger + mobile close + scrim (hidden on desktop) */
.ao-hamburger,
.ao-side-close {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 11px;
    background: var(--ad-icon-btn);
    color: var(--ad-icon-btn-fg);
    cursor: pointer;
}
.ao-hamburger svg,
.ao-side-close svg {
    width: 20px;
    height: 20px;
}
.ao-scrim {
    display: none;
}

/* ---- DARK theme surface overrides for existing admin components ---- */
.theme-dark.admin-orders-page .ao-shell {
    background:
        radial-gradient(
            80% 70% at 78% 0%,
            rgba(70, 100, 220, 0.16),
            transparent 56%
        ),
        var(--ad-bg);
}
.theme-dark.admin-overview-page {
    background:
        radial-gradient(
            80% 70% at 74% 0%,
            rgba(70, 100, 220, 0.2),
            transparent 58%
        ),
        #0b0f17;
}
.theme-dark.admin-orders-page .av-kpi,
.theme-dark.admin-orders-page .av-panel,
.theme-dark.admin-orders-page .av-stat,
.theme-dark.admin-orders-page .ao-card {
    background: var(--ad-surface);
    border-color: var(--ad-line);
    box-shadow: var(--ad-shadow);
    color: var(--ad-text);
}
.theme-dark.admin-orders-page .av-welcome h2,
.theme-dark.admin-orders-page .av-kpi strong,
.theme-dark.admin-orders-page .av-panel h3,
.theme-dark.admin-orders-page .av-compare-stats strong,
.theme-dark.admin-orders-page .av-big,
.theme-dark.admin-orders-page .av-route-facts dd,
.theme-dark.admin-orders-page .av-active-list strong,
.theme-dark.admin-orders-page .av-insights strong,
.theme-dark.admin-orders-page .av-lane strong,
.theme-dark.admin-orders-page .av-stat strong {
    color: var(--ad-heading);
}
.theme-dark.admin-orders-page .av-welcome p,
.theme-dark.admin-orders-page .av-kpi small,
.theme-dark.admin-orders-page .av-panel small,
.theme-dark.admin-orders-page .av-panel-head span,
.theme-dark.admin-orders-page .av-active-list small,
.theme-dark.admin-orders-page .av-insights small,
.theme-dark.admin-orders-page .av-route-facts dt,
.theme-dark.admin-orders-page .av-route-card p,
.theme-dark.admin-orders-page .av-stat > span {
    color: var(--ad-muted);
}
.theme-dark.admin-orders-page .av-panel-head a {
    color: var(--ad-brand);
}
.theme-dark.admin-orders-page .av-route-facts div,
.theme-dark.admin-orders-page .av-active-list a,
.theme-dark.admin-orders-page .av-active-list p,
.theme-dark.admin-orders-page .av-insights div {
    background: var(--ad-nested);
}
.theme-dark.admin-orders-page .av-kpi-ic,
.theme-dark.admin-orders-page .av-ship-icon,
.theme-dark.admin-orders-page .av-stat-ic {
    background: var(--ad-brand-soft);
    color: var(--ad-brand);
}
.theme-dark.admin-orders-page .av-kpi-green .av-kpi-ic,
.theme-dark.admin-orders-page .av-kpi-emerald .av-kpi-ic,
.theme-dark.admin-orders-page .av-stat-green .av-stat-ic {
    background: rgba(18, 166, 106, 0.16);
    color: #3ddc97;
}
.theme-dark.admin-orders-page .av-kpi-cyan .av-kpi-ic,
.theme-dark.admin-orders-page .av-stat-cyan .av-stat-ic {
    background: rgba(10, 126, 164, 0.2);
    color: #3cc7ee;
}
.theme-dark.admin-orders-page .av-stat-amber .av-stat-ic {
    background: rgba(175, 97, 12, 0.22);
    color: #f0a94b;
}
.theme-dark.admin-orders-page .av-route-card {
    background:
        radial-gradient(
            60% 70% at 20% 95%,
            rgba(111, 140, 255, 0.16),
            transparent 62%
        ),
        var(--ad-surface);
}
.theme-dark.admin-orders-page .av-route-card > a {
    background: var(--ad-brand);
    color: #0b0f17;
}
.theme-dark.admin-orders-page .av-compare-map {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), #10161f;
}
.theme-dark.admin-orders-page .av-old-route {
    stroke: #3a475f;
}
.theme-dark.admin-orders-page .av-lane i {
    background: rgba(255, 255, 255, 0.08);
}

/* drivers table (dark) */
.theme-dark.admin-orders-page .dv-search input {
    background: var(--ad-nested);
    border-color: var(--ad-line);
    color: var(--ad-text);
}
.theme-dark.admin-orders-page .dv-search input::placeholder {
    color: var(--ad-muted);
}
.theme-dark.admin-orders-page .dv-search svg {
    color: var(--ad-muted);
}
.theme-dark.admin-orders-page .dv-tablewrap {
    background: var(--ad-surface);
    border-color: var(--ad-line);
    box-shadow: var(--ad-shadow);
}
.theme-dark.admin-orders-page .dv-table thead th {
    background: #10161f;
    color: var(--ad-muted);
    border-bottom-color: var(--ad-line);
}
.theme-dark.admin-orders-page .dv-table tbody td {
    color: var(--ad-text);
    border-bottom-color: var(--ad-line);
}
.theme-dark.admin-orders-page .dv-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}
.theme-dark.admin-orders-page .dv-driver-name strong {
    color: var(--ad-text);
}
.theme-dark.admin-orders-page .dv-driver-name small,
.theme-dark.admin-orders-page .dv-sub small,
.theme-dark.admin-orders-page .dv-empty {
    color: var(--ad-muted);
}
.theme-dark.admin-orders-page .dv-avatar {
    background: var(--ad-brand-soft);
    color: var(--ad-brand);
}
.theme-dark.admin-orders-page .dv-view {
    background: var(--ad-nested);
    border-color: var(--ad-line);
    color: var(--ad-brand);
}
.theme-dark.admin-orders-page .dv-view:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--ad-line);
}

/* orders cards + detail panel (dark) */
.theme-dark.admin-orders-page .ao-card:hover,
.theme-dark.admin-orders-page .ao-card.is-selected {
    border-color: var(--ad-brand);
    background: var(--ad-surface);
}
.theme-dark.admin-orders-page .ao-filterbar {
    background: var(--ad-surface);
    border-color: var(--ad-line);
}
.theme-dark.admin-orders-page .ao-filterbar button {
    color: var(--ad-muted);
}
.theme-dark.admin-orders-page .ao-details {
    background: var(--ad-surface);
    border-color: var(--ad-line);
}
.theme-dark.admin-orders-page .ao-detail-fields select,
.theme-dark.admin-orders-page .ao-detail-row,
.theme-dark.admin-orders-page .ao-item {
    background: var(--ad-nested);
    border-color: var(--ad-line);
    color: var(--ad-text);
}
.theme-dark.admin-orders-page .ao-card-actions button,
.theme-dark.admin-orders-page .ao-detail-actions button {
    background: var(--ad-nested);
    border-color: var(--ad-line);
    color: var(--ad-brand);
}
.theme-dark.admin-orders-page .ao-card-head strong,
.theme-dark.admin-orders-page .ao-meta strong,
.theme-dark.admin-orders-page .ao-details-head h2,
.theme-dark.admin-orders-page .ao-detail-row strong,
.theme-dark.admin-orders-page .ao-summary strong {
    color: var(--ad-heading);
}
.theme-dark.admin-orders-page .ao-meta small,
.theme-dark.admin-orders-page .ao-detail-row small,
.theme-dark.admin-orders-page .ao-summary small,
.theme-dark.admin-orders-page .ao-distance,
.theme-dark.admin-orders-page .ao-card-foot,
.theme-dark.admin-orders-page .ao-detail-fields label span {
    color: var(--ad-muted);
}

/* ==========================================================================
   ADMIN — mobile responsive (off-canvas sidebar)
   ========================================================================== */
@media (max-width: 1024px) {
    .admin-orders-page .ao-shell {
        grid-template-columns: 1fr;
    }
    .admin-orders-page .ao-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 70;
        width: 272px;
        max-width: 84vw;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.34s var(--ease);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    }
    .admin-orders-page .ao-shell.ao-nav-open .ao-sidebar {
        transform: none;
    }
    .admin-orders-page .ao-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 65;
        background: rgba(4, 8, 16, 0.55);
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }
    .admin-orders-page .ao-shell.ao-nav-open .ao-scrim {
        opacity: 1;
        visibility: visible;
    }
    .admin-orders-page .ao-hamburger,
    .admin-orders-page .ao-side-close {
        display: grid;
    }
    body.admin-orders-page.ao-nav-lock {
        overflow: hidden;
    }
}
@media (max-width: 620px) {
    .admin-orders-page .ao-main {
        padding: 14px 12px 20px;
    }
    .admin-orders-page .ao-topbar {
        flex-wrap: wrap;
        gap: 12px;
    }
    .admin-orders-page .ao-actions {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }
    .admin-orders-page .ao-clock {
        display: none;
    }
    .admin-orders-page .ao-user span {
        display: none;
    }
    .admin-orders-page .ao-user {
        padding: 4px;
    }
    .av-kpi-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   Services — "Always in motion" car-driving section
   ========================================================================== */
.svc-drive {
    padding: clamp(70px, 8vw, 112px) 0;
}
.svc-drive-head {
    max-width: 640px;
}
.svc-drive-head .svc-kicker {
    background: rgba(27, 67, 254, 0.08);
    color: var(--blue);
}
.svc-drive-head h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.03;
    letter-spacing: -0.01em;
}
.svc-drive-head p {
    margin-top: 14px;
    color: var(--muted);
    font-weight: 600;
    max-width: 52ch;
}

/* the road stage */
.svc-road {
    position: relative;
    height: clamp(260px, 38vw, 400px);
    margin-top: 34px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #0a1a31 0%, #123057 52%, #0a1526 100%);
    box-shadow: 0 30px 70px rgba(10, 31, 62, 0.22);
    isolation: isolate;
}
/* soft dusk glow */
.svc-road::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        70% 90% at 78% 8%,
        rgba(111, 140, 255, 0.28),
        transparent 60%
    );
    pointer-events: none;
}

/* roadside scenery (light poles) rushing past */
.svc-road-scene {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 36%;
    height: 120px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0 116px,
        rgba(159, 181, 255, 0.32) 116px 119px,
        transparent 119px 240px
    );
    background-size: 240px 100%;
    -webkit-mask: linear-gradient(180deg, transparent, #000 55%);
    mask: linear-gradient(180deg, transparent, #000 55%);
    animation: svcScene 3.4s linear infinite;
}

/* asphalt band */
.svc-road-asphalt {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36%;
    background: linear-gradient(180deg, #17253d 0%, #0b1424 100%);
    border-top: 2px solid rgba(255, 255, 255, 0.08);
}
/* moving centre lane dashes */
.svc-lane {
    position: absolute;
    left: -10%;
    right: -10%;
    top: 52%;
    height: 7px;
    transform: translateY(-50%);
    border-radius: 4px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 209, 102, 0.95) 0 48px,
        transparent 48px 96px
    );
    background-size: 96px 100%;
    animation: svcLane 0.55s linear infinite;
}

/* speed streaks trailing the vehicle */
.svc-speed {
    position: absolute;
    z-index: 2;
    right: 6%;
    bottom: 34%;
    width: 42%;
    height: 70px;
    pointer-events: none;
}
.svc-speed i {
    position: absolute;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, rgba(159, 181, 255, 0.75));
    animation: svcStreak 0.85s linear infinite;
}
.svc-speed i:nth-child(1) {
    top: 8%;
    width: 64px;
    animation-delay: 0s;
}
.svc-speed i:nth-child(2) {
    top: 40%;
    width: 90px;
    animation-delay: 0.28s;
}
.svc-speed i:nth-child(3) {
    top: 66%;
    width: 52px;
    animation-delay: 0.5s;
}
.svc-speed i:nth-child(4) {
    top: 88%;
    width: 76px;
    animation-delay: 0.14s;
}

/* the vehicle */
.svc-car {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 20%;
    width: min(430px, 48%);
    /* resting position is centered — the drive-in only plays as a transient
       entrance when the section scrolls into view, so a disabled/failed
       animation can never leave the car stuck off-screen. */
    transform: translateX(-50%);
    filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.5));
}
.svc-road.in .svc-car {
    animation: svcCarIn 1.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.svc-car img {
    display: block;
    width: 100%;
    transform-origin: 50% 92%;
    animation: svcBob 1.6s ease-in-out infinite;
}
.svc-car-shadow {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -8px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(
        50% 60% at 50% 50%,
        rgba(0, 0, 0, 0.55),
        transparent 70%
    );
    filter: blur(4px);
    animation: svcShadow 1.6s ease-in-out infinite;
}

/* capacity stats */
.svc-drive-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}
.svc-drive-stats div {
    padding: 24px 20px;
    border: 1px solid rgba(10, 31, 62, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(10, 31, 62, 0.06);
    text-align: center;
    transition:
        transform 0.28s var(--ease),
        box-shadow 0.28s var(--ease);
}
.svc-drive-stats div:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 56px rgba(10, 31, 62, 0.13);
}
.svc-drive-stats strong {
    display: block;
    color: var(--blue);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}
.svc-drive-stats span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

@keyframes svcScene {
    to {
        background-position-x: 240px;
    }
}
@keyframes svcLane {
    to {
        background-position-x: 96px;
    }
}
@keyframes svcStreak {
    0% {
        transform: translateX(-40px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateX(120px);
        opacity: 0;
    }
}
@keyframes svcCarIn {
    from {
        transform: translateX(62vw);
        opacity: 0;
    }
    to {
        transform: translateX(-50%);
        opacity: 1;
    }
}
@keyframes svcBob {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(-0.4deg);
    }
    75% {
        transform: translateY(2px) rotate(0.3deg);
    }
}
@keyframes svcShadow {
    0%,
    100% {
        transform: scaleX(1);
        opacity: 0.55;
    }
    50% {
        transform: scaleX(0.9);
        opacity: 0.4;
    }
}

@media (max-width: 720px) {
    .svc-drive-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .svc-car {
        width: 62%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-road-scene,
    .svc-lane,
    .svc-speed i,
    .svc-car,
    .svc-car img,
    .svc-car-shadow {
        animation: none;
    }
    .svc-car {
        transform: translateX(-50%);
        opacity: 1;
    }
}

/* ==========================================================================
   Services — reference-style hero, coverage map, premium-services accordion
   ========================================================================== */

/* ---------- 1 · Hero (heading + big truck) ---------- */
.svc-hero2 {
    position: relative;
    overflow: hidden;
    padding: 150px 0 clamp(30px, 5vw, 64px);
    background: #ffffff;
}
.svc-hero2-kicker {
    display: inline-block;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}
.svc-hero2-head h1 {
    margin: 14px 0 0;
    max-width: 20ch;
    color: #0a1f3e;
    font-size: 2rem;
    line-height: 1.04;
    letter-spacing: -0.015em;
}
.svc-hero2-head {
    padding-left: clamp(0px, 12vw, 220px);
    animation: svcHeadIn 0.8s var(--ease) both;
}
.svc-hero2-truck {
    margin-top: clamp(40px, -1vw, 0px);
    text-align: right;
    animation: svcTruckIn 3.1s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
.svc-hero2-truck img {
    width: min(580px, 100%);
    height: auto;
    filter: drop-shadow(0 10px 10px rgba(10, 31, 62, 0.14));
}
@keyframes svcHeadIn {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes svcTruckIn {
    from {
        opacity: 0;
        transform: translateX(9%);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Services hero refresh */
.svc-hero2 {
    display: block;
    min-height: 100vh;
    padding: clamp(88px, 9vw, 128px) 0 0;
    background: #fff;
}
.svc-hero2::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 34%;
    background:
        linear-gradient(180deg, transparent, rgba(8, 20, 16, 0.05)),
        radial-gradient(
            circle at 50% 100%,
            rgba(96, 119, 86, 0.18),
            transparent 55%
        );
    pointer-events: none;
}
.svc-hero2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(6, 18, 14, 0.08);
    pointer-events: none;
}
.svc-hero2-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: clamp(24px, 7vw, 110px);
    align-items: start;
}
.svc-hero2-head {
    padding-left: 0;
    animation: svcHeadIn 0.85s var(--ease) both;
}
.svc-hero2-kicker {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    color: rgba(15, 15, 15, 0.52);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.svc-hero2-head h1 {
    margin: 10px 0 0;
    max-width: 12.5ch;
    color: #171717;
    font-size: clamp(3.4rem, 8vw, 7.7rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: 0;
}
.svc-hero2-copy {
    padding-top: clamp(8px, 2.2vw, 30px);
    animation: svcCopyIn 0.85s var(--ease) 0.12s both;
}
.svc-hero2-copy p {
    margin: 0;
    color: #191919;
    font-size: clamp(0.82rem, 1vw, 0.98rem);
    font-weight: 700;
    line-height: 1.55;
}
.svc-hero2-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 22px;
    padding: 0 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    transition:
        transform 0.24s var(--ease),
        box-shadow 0.24s var(--ease),
        background 0.24s var(--ease);
}
.svc-hero2-primary:hover {
    transform: translateY(-2px);
    background: #2c3527;
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.18);
}
.svc-hero2-scene {
    position: relative;
    z-index: 1;
    min-height: clamp(460px, 55vw, 760px);
    margin-top: clamp(-8px, 1vw, 20px);
    overflow: hidden;
    animation: svcStageIn 1s var(--ease) 0.18s both;
}
.svc-hero2-scene::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: 0;
    height: 32%;
    background:
        linear-gradient(
            90deg,
            transparent 0 16%,
            rgba(245, 247, 244, 0.92) 16% 88%,
            transparent 88%
        ),
        linear-gradient(180deg, #f4f6f2, #edf0ec);
    transform: skewX(-8deg);
}
.svc-hero2-stack {
    position: absolute;
    transform-origin: center;
}
.svc-hero2-stack img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 34px 34px rgba(19, 28, 18, 0.24));
    pointer-events: none;
}
.svc-hero2-stack-back {
    right: -13%;
    bottom: 6%;
    width: min(780px, 47vw);
    opacity: 0.34;
    transform: translateX(10%) scale(0.96);
    animation: svcContainerBack 1.15s cubic-bezier(0.2, 0.7, 0.3, 1) 0.28s both;
}
.svc-hero2-stack-main {
    left: -2%;
    bottom: 18%;
    width: min(1120px, 72vw);
    animation:
        svcContainerMain 1.15s cubic-bezier(0.2, 0.7, 0.3, 1) 0.12s both,
        svcContainerFloat 5s ease-in-out 1.3s infinite;
}
.svc-hero2-stack-front {
    left: 13%;
    bottom: -2%;
    width: min(920px, 58vw);
    filter: brightness(1.16) saturate(0.7);
    animation:
        svcContainerFront 1.12s cubic-bezier(0.2, 0.7, 0.3, 1) 0.22s both,
        svcContainerFloat2 5.4s ease-in-out 1.45s infinite;
}
.svc-hero2-mark {
    position: absolute;
    right: 14%;
    top: 46%;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(2.4rem, 6vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.16);
}
.svc-hero2-label {
    position: absolute;
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.58rem, 0.8vw, 0.82rem);
    font-weight: 700;
    line-height: 1.22;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
}
.svc-hero2-label-a {
    left: 42%;
    top: 33%;
}
.svc-hero2-label-b {
    left: 12%;
    bottom: 12%;
    color: rgba(45, 54, 48, 0.72);
}
.svc-hero2-label-c {
    left: 34%;
    top: 44%;
    color: rgba(25, 32, 28, 0.7);
}
@keyframes svcCopyIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes svcStageIn {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes svcContainerMain {
    from {
        opacity: 0;
        transform: translateX(-8%) translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes svcContainerFront {
    from {
        opacity: 0;
        transform: translateX(-10%) translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes svcContainerBack {
    from {
        opacity: 0;
        transform: translateX(18%) translateY(18px) scale(0.96);
    }
    to {
        opacity: 0.34;
        transform: translateX(10%) scale(0.96);
    }
}
@keyframes svcContainerFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}
@keyframes svcContainerFloat2 {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(7px);
    }
}

/* ---------- 2 · Coverage over faint network map ---------- */
.svc-net {
    position: relative;
    overflow: hidden;
    padding: clamp(78px, 9vw, 138px) 0;
    background: #f8fbff;
}
.svc-net-map {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(248, 251, 255, 0.92) 0%,
            rgba(248, 251, 255, 0.72) 35%,
            rgba(248, 251, 255, 0.2) 100%
        ),
        linear-gradient(
            180deg,
            rgba(248, 251, 255, 0.7),
            rgba(248, 251, 255, 0.92)
        ),
        url("../images/switzerland-map-flag-shaded-relief-color-height-map-3d-illustration-png.webp")
            center right / min(980px, 72vw) auto no-repeat;
    opacity: 1;
    pointer-events: none;
}
.svc-net-map::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(
            circle at 78% 38%,
            rgba(27, 67, 254, 0.16),
            transparent 22%
        ),
        radial-gradient(
            circle at 22% 78%,
            rgba(35, 180, 255, 0.14),
            transparent 28%
        );
}
.svc-net-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.svc-net-block {
    grid-column: span 5;
    max-width: 460px;
    padding: clamp(20px, 2.4vw, 30px);
    border: 1px solid rgba(10, 31, 62, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 24px 60px rgba(10, 31, 62, 0.08);
    backdrop-filter: blur(14px);
}
.svc-net-block-a {
    grid-column: 3 / span 5;
}
.svc-net-block-b {
    grid-column: 7 / span 5;
    margin-top: clamp(60px, 12vw, 180px);
}
.svc-net-num {
    display: block;
    color: #0a1f3e;
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
}
.svc-net-body {
    margin-top: 18px;
}
.svc-net-body h3 {
    color: #0a1f3e;
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    font-weight: 800;
    letter-spacing: 0;
}
.svc-net-body p {
    margin-top: 12px;
    color: #3f5c93;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.6;
}

/* ---------- 3 · Premium services accordion ---------- */
.svc-solutions {
    padding: clamp(72px, 9vw, 124px) 0;
    background: #ffffff;
}
.svc-solutions-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}
.svc-solutions-copy .svc-kicker {
    background: rgba(27, 67, 254, 0.08);
    color: var(--blue);
}
.svc-solutions-copy h2 {
    margin: 16px 0 24px;
    max-width: 14ch;
    color: #0a1f3e;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
}
.svc-acc {
    border-top: 1px solid rgba(10, 31, 62, 0.12);
}
.svc-acc-item {
    border-bottom: 1px solid rgba(10, 31, 62, 0.12);
}
.svc-acc-item button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 22px 4px;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
}
.svc-acc-title {
    color: #0a1f3e;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    font-weight: 800;
    transition: color 0.2s var(--ease);
}
.svc-acc-item:hover .svc-acc-title,
.svc-acc-item.is-open .svc-acc-title {
    color: var(--blue);
}
.svc-acc-arrow {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    color: var(--blue);
    transition: transform 0.35s var(--ease);
}
.svc-acc-arrow svg {
    width: 20px;
    height: 20px;
}
.svc-acc-item.is-open .svc-acc-arrow {
    transform: rotate(90deg);
}
/* smooth height via grid-template-rows 0fr -> 1fr */
.svc-acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s var(--ease);
}
.svc-acc-item.is-open .svc-acc-panel {
    grid-template-rows: 1fr;
}
.svc-acc-panel-in {
    overflow: hidden;
}
.svc-acc-panel p {
    margin: 0 0 22px;
    max-width: 46ch;
    color: #3f5c93;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.6;
}
.svc-solutions-media {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    background: #eef2f8;
    box-shadow: 0 30px 66px rgba(10, 31, 62, 0.16);
}
.svc-solutions-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.svc-solutions-media:hover img {
    transform: scale(1.05);
}
.svc-solutions-media.no-img {
    display: grid;
    place-items: center;
}
.svc-solutions-media.no-img::after {
    content: "Aathi Express";
    color: var(--muted);
    font-weight: 800;
}

@media (max-width: 860px) {
    .svc-net-block-a,
    .svc-net-block-b {
        grid-column: 1 / -1;
        max-width: 560px;
    }
    .svc-net-block-b {
        margin-top: 46px;
    }
    .svc-solutions-grid {
        grid-template-columns: 1fr;
    }
    .svc-solutions-media {
        order: -1;
        aspect-ratio: 16 / 11;
    }
    .svc-net {
        padding: 76px 0;
    }
    .svc-net-map {
        background:
            linear-gradient(
                180deg,
                rgba(248, 251, 255, 0.86),
                rgba(248, 251, 255, 0.96)
            ),
            url("../images/switzerland-map-flag-shaded-relief-color-height-map-3d-illustration-png.webp")
                center top / 138vw auto no-repeat;
        opacity: 1;
    }
    .svc-net-inner {
        gap: 16px;
    }
    .svc-net-block {
        width: 100%;
        padding: 20px;
        background: rgba(255, 255, 255, 0.86);
    }
    .svc-hero2 {
        min-height: auto;
        padding-top: 96px;
    }
    .svc-hero2-top {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .svc-hero2-head h1 {
        max-width: 11ch;
        font-size: clamp(3rem, 14vw, 5rem);
    }
    .svc-hero2-copy {
        max-width: 330px;
        padding-top: 0;
    }
    .svc-hero2-scene {
        min-height: 470px;
        margin-top: 22px;
    }
    .svc-hero2-stack-main {
        left: -34%;
        bottom: 32%;
        width: 142vw;
    }
    .svc-hero2-stack-front {
        left: -14%;
        bottom: 2%;
        width: 120vw;
    }
    .svc-hero2-stack-back {
        right: -54%;
        bottom: 16%;
        width: 112vw;
    }
    .svc-hero2-mark {
        right: 13%;
        top: 45%;
        font-size: clamp(2rem, 14vw, 4.8rem);
    }
    .svc-hero2-label-a {
        left: 41%;
        top: 31%;
    }
    .svc-hero2-label-b,
    .svc-hero2-label-c {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-hero2-head,
    .svc-hero2-copy,
    .svc-hero2-scene,
    .svc-hero2-stack,
    .svc-hero2-stack-main,
    .svc-hero2-stack-front,
    .svc-hero2-stack-back {
        animation: none;
    }
}

/* Admin settings */
.settings-alert {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
    margin-bottom: 18px;
}

.settings-head {
    margin-bottom: 22px;
    max-width: 760px;
}

.settings-head span {
    color: #2b55ff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.settings-head h1 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.03;
    margin: 0 0 12px;
}

.settings-head p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.settings-grid {
    display: grid;
    gap: 18px;
}

.settings-card {
    background: #fff;
    border: 1px solid rgba(8, 28, 62, 0.1);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    color: var(--ink);
    overflow: hidden;
}

.settings-card summary {
    align-items: center;
    cursor: pointer;
    display: grid;
    gap: 16px;
    grid-template-columns: 54px 1fr 36px;
    list-style: none;
    padding: 24px;
}

.settings-card summary::-webkit-details-marker {
    display: none;
}

.settings-card summary::after {
    align-items: center;
    background: #eef4ff;
    border-radius: 50%;
    color: #2148ff;
    content: "+";
    display: inline-flex;
    font-size: 1.8rem;
    font-weight: 500;
    height: 36px;
    justify-content: center;
    line-height: 1;
    width: 36px;
}

.settings-card[open] summary::after {
    content: "-";
    padding-bottom: 4px;
}

.settings-card-icon {
    align-items: center;
    background: linear-gradient(135deg, #2148ff, #23b4ff);
    border-radius: 16px;
    color: #fff;
    display: inline-flex;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.settings-card-icon svg {
    height: 25px;
    width: 25px;
}

.settings-card strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
}

.settings-card small {
    color: var(--muted);
    display: block;
    margin-top: 5px;
}

.settings-form {
    border-top: 1px solid rgba(8, 28, 62, 0.1);
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 24px;
}

.settings-field {
    display: grid;
    gap: 8px;
}

.settings-field-wide,
.settings-actions {
    grid-column: 1 / -1;
}

.settings-field span {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
}

.settings-field input,
.settings-field select {
    background: #f8fbff;
    border: 1px solid rgba(8, 28, 62, 0.12);
    border-radius: 14px;
    color: var(--ink);
    font: inherit;
    min-height: 52px;
    outline: none;
    padding: 0 16px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.settings-field input:focus,
.settings-field select:focus {
    background: #fff;
    border-color: rgba(43, 85, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(43, 85, 255, 0.12);
}

.settings-field > small {
    color: #dc2626;
    font-weight: 700;
}

.settings-actions {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.theme-dark.admin-orders-page .settings-head h1,
.theme-dark.admin-orders-page .settings-field span,
.theme-dark.admin-orders-page .settings-card strong {
    color: #f8fbff;
}

.theme-dark.admin-orders-page .settings-head p,
.theme-dark.admin-orders-page .settings-card small {
    color: rgba(226, 232, 240, 0.72);
}

.theme-dark.admin-orders-page .settings-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.theme-dark.admin-orders-page .settings-form {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.theme-dark.admin-orders-page .settings-field input,
.theme-dark.admin-orders-page .settings-field select {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8fbff;
}

.theme-dark.admin-orders-page .settings-field input::placeholder {
    color: rgba(226, 232, 240, 0.44);
}

.theme-dark.admin-orders-page .settings-field input:focus,
.theme-dark.admin-orders-page .settings-field select:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(76, 154, 255, 0.75);
    box-shadow: 0 0 0 4px rgba(43, 85, 255, 0.16);
}

@media (max-width: 760px) {
    .settings-card summary,
    .settings-form {
        padding: 18px;
    }

    .settings-card summary {
        grid-template-columns: 46px 1fr 32px;
    }

    .settings-card-icon {
        border-radius: 14px;
        height: 46px;
        width: 46px;
    }

    .settings-card summary::after {
        height: 32px;
        width: 32px;
    }

    .settings-form {
        grid-template-columns: 1fr;
    }

    .settings-actions {
        justify-content: stretch;
    }

    .settings-actions .ao-btn-primary {
        justify-content: center;
        width: 100%;
    }
}

/* Services third section: logistics solution cards */
.svc-net {
    position: relative;
    overflow: hidden;
    padding: clamp(78px, 9vw, 126px) 0;
    background: #f7f7f4;
    color: #202020;
}

.svc-net-map,
.svc-net-map::after {
    display: none;
}

.svc-net-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 54px);
}

.svc-net-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(28px, 7vw, 120px);
    align-items: end;
}

.svc-net-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 15px;
    border: 1px solid rgba(32, 32, 32, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #4a4a4a;
    font-size: 0.78rem;
    font-weight: 800;
}

.svc-net-head h2 {
    max-width: 18ch;
    margin: 28px 0 0;
    color: #202020;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.svc-net-head p {
    margin: 0;
    color: #6b706b;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.55;
}

.svc-net-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.svc-net-card {
    position: relative;
    display: flex;
    min-height: clamp(250px, 24vw, 350px);
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(32, 32, 32, 0.06);
    border-radius: 16px;
    background: #fff;
    color: #202020;
    box-shadow: 0 18px 42px rgba(20, 24, 22, 0.06);
    transition:
        transform 0.26s var(--ease),
        box-shadow 0.26s var(--ease),
        background 0.26s var(--ease),
        color 0.26s var(--ease);
}

.svc-net-card:hover,
.svc-net-card.is-featured {
    transform: translateY(-4px);
    background: #2b2b2b;
    color: #fff;
    box-shadow: 0 26px 58px rgba(20, 24, 22, 0.18);
}

.svc-net-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #2b2b2b;
    color: #fff;
    transition:
        background 0.26s var(--ease),
        color 0.26s var(--ease);
}

.svc-net-card:hover .svc-net-icon,
.svc-net-card.is-featured .svc-net-icon {
    background: #fff;
    color: #2b2b2b;
}

.svc-net-icon svg {
    width: 21px;
    height: 21px;
}

.svc-net-card h3 {
    margin: auto 0 10px;
    color: inherit;
    font-size: clamp(1.02rem, 1.15vw, 1.28rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.svc-net-card p {
    margin: 0;
    color: #777d77;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.45;
    transition: color 0.26s var(--ease);
}

.svc-net-card:hover p,
.svc-net-card.is-featured p {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
    .svc-net-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .svc-net-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .svc-net-head h2 {
        max-width: none;
    }

    .svc-net-cards {
        grid-template-columns: 1fr;
    }

    .svc-net-card {
        min-height: 220px;
    }
}

/* Services fourth section: start in minutes process */
.svc-solutions {
    padding: clamp(78px, 9vw, 126px) 0;
    background: #f7f7f4;
    color: #202020;
}

.svc-solutions-wrap {
    display: grid;
    gap: clamp(32px, 5vw, 54px);
}

.svc-solutions-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(28px, 7vw, 120px);
    align-items: end;
}

.svc-solutions-head .svc-kicker {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(32, 32, 32, 0.14);
    border-radius: 999px;
    background: #fff;
    color: #4a4a4a;
    font-size: 0.78rem;
    font-weight: 800;
}

.svc-solutions-head h2 {
    max-width: 17ch;
    margin: 26px 0 0;
    color: #202020;
    font-size: clamp(2rem, 3.1vw, 3.32rem);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.svc-solutions-head p {
    margin: 0;
    color: #6b706b;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.55;
}

.svc-solutions-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 86px);
    align-items: center;
}

.svc-solutions-media {
    position: relative;
    overflow: hidden;
    margin: 0;
    aspect-ratio: 1.18 / 1;
    border-radius: 18px;
    background: #dfe5dc;
    box-shadow: 0 22px 52px rgba(20, 24, 22, 0.1);
}

.svc-solutions-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.65s var(--ease);
}

.svc-solutions-media:hover img {
    transform: scale(1.045);
}

.svc-process-list {
    display: grid;
    gap: 12px;
    border-top: 0;
}

.svc-process-item {
    overflow: hidden;
    border: 1px solid rgba(32, 32, 32, 0.08);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 24, 22, 0.05);
    transition:
        border-radius 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        transform 0.3s var(--ease);
}

.svc-process-item:hover {
    transform: translateX(6px);
}

.svc-process-item.is-open {
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(20, 24, 22, 0.09);
}

.svc-process-item button {
    min-height: 66px;
    padding: 0 18px 0 22px;
}

.svc-process-item .svc-acc-title {
    color: #373737;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(1.04rem, 1.22vw, 1.26rem);
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.18;
}

.svc-process-item:hover .svc-acc-title,
.svc-process-item.is-open .svc-acc-title {
    color: #202020;
}

.svc-process-item .svc-acc-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    color: #202020;
}

.svc-process-item.is-open .svc-acc-arrow {
    background: #202020;
    color: #fff;
    transform: rotate(0deg);
}

.svc-process-item .svc-acc-panel p {
    max-width: 52ch;
    margin: 0;
    padding: 0 22px 20px;
    color: #6b706b;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.5;
}

@media (max-width: 860px) {
    .svc-solutions-head,
    .svc-solutions-grid {
        grid-template-columns: 1fr;
    }

    .svc-solutions-head {
        gap: 18px;
    }

    .svc-solutions-head h2 {
        max-width: none;
    }

    .svc-solutions-media {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 560px) {
    .svc-solutions-media {
        aspect-ratio: 1.18 / 1;
    }

    .svc-process-item {
        border-radius: 20px;
    }
}

/* ==========================================================================
   Tracking result — UI polish + live animation
   ========================================================================== */

/* left panel: nudge the status timeline in by 10px (requested) */
.trk-delivery-timeline {
    margin-left: 10px;
}

/* left panel: gentle hover on each status row */
.trk-delivery-timeline strong {
    transition: color 0.2s var(--ease);
}
.trk-delivery-timeline li > div {
    border-radius: 12px;
    transition: transform 0.25s var(--ease);
}
.trk-delivery-timeline li:hover > div {
    transform: translateX(4px);
}
.trk-delivery-timeline li:hover strong {
    color: var(--blue);
}

/* active step: continuously pulsing rings */
.trk-delivery-timeline li.active .trk-step-icon {
    animation: trkActiveRing 2.1s ease-out infinite;
}
@keyframes trkActiveRing {
    0% {
        box-shadow:
            0 0 0 0 rgba(27, 67, 254, 0.28),
            0 0 0 0 rgba(27, 67, 254, 0.16);
    }
    70% {
        box-shadow:
            0 0 0 12px rgba(27, 67, 254, 0),
            0 0 0 22px rgba(27, 67, 254, 0);
    }
    100% {
        box-shadow:
            0 0 0 0 rgba(27, 67, 254, 0),
            0 0 0 0 rgba(27, 67, 254, 0);
    }
}

/* right panel: a live pulsing dot before the DELIVERY STATUS eyebrow */
.trk-live-summary .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.trk-live-summary .eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34e2b0;
    animation: trkLiveDot 1.8s ease-out infinite;
}
@keyframes trkLiveDot {
    0% { box-shadow: 0 0 0 0 rgba(52, 226, 176, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(52, 226, 176, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 226, 176, 0); }
}

/* right panel: big status heading rise-in */
.trk-live-summary.in h2 {
    animation: trkStatusIn 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: 0.1s;
}
@keyframes trkStatusIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

/* right panel: glass cards lift on hover */
.trk-customer-card {
    transition:
        transform 0.3s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
}
.trk-customer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 26px 54px rgba(0, 0, 0, 0.32);
}

/* right panel: slow ambient shimmer sweep across the dark card */
.trk-live-summary::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 45%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        100deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: translateX(-140%) skewX(-12deg);
    animation: trkShimmer 7s ease-in-out 1.6s infinite;
}
@keyframes trkShimmer {
    0% { transform: translateX(-140%) skewX(-12deg); }
    55%, 100% { transform: translateX(320%) skewX(-12deg); }
}

@media (prefers-reduced-motion: reduce) {
    .trk-delivery-timeline li.active .trk-step-icon,
    .trk-live-summary .eyebrow::before,
    .trk-live-summary.in h2,
    .trk-live-summary::after {
        animation: none !important;
    }
}

/* tracking result must stack on mobile (later non-media rule was overriding
   the earlier media query) */
@media (max-width: 980px) {
    .trk-result-grid {
        grid-template-columns: 1fr;
    }
    .trk-live-summary {
        min-height: 0;
    }
}
