/* Celetom Global Logistics — site styles */

:root {
    --ink: #050b1a;
    --ink-2: #0a1530;
    --navy: #0a2463;
    --blue: #2f6bff;
    --blue-2: #1e88e5;
    --sky: #5cc8ff;
    --amber: #ffb547;
    --green: #22c55e;
    --bg: #f4f6fb;
    --surface: #ffffff;
    --text: #0d1630;
    --muted: #5b6682;
    --line: #e3e8f2;
    --on-dark: #e8eeff;
    --on-dark-muted: #9aa8cc;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 10px 30px rgba(10, 36, 99, .08);
    --shadow-lg: 0 30px 60px rgba(10, 36, 99, .14);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --nav-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: inherit;
}

a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

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

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px;
    font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%;
    transform-origin: 0 50%; transform: scaleX(0);
    background: linear-gradient(90deg, var(--sky), var(--blue), var(--amber));
    z-index: 1100; pointer-events: none;
}

/* ---------- Header / navigation ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), transform .4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header.is-solid {
    background: rgba(5, 11, 26, .78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.25);
    height: 64px;
}
.site-header.is-hidden { transform: translateY(-100%); }

/* The logo is a full wordmark on white, so it sits whole on a white badge. */
.brand {
    display: inline-flex; align-items: center; text-decoration: none;
    background: #fff; border-radius: 14px; padding: 4px 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    transition: transform .3s var(--ease), padding .4s var(--ease);
}
.brand:hover { transform: translateY(-1px); }
.brand img { display: block; height: 46px; width: auto; transition: height .4s var(--ease); }
.site-header.is-solid .brand { padding: 3px 10px; border-radius: 12px; }
.site-header.is-solid .brand img { height: 38px; }
.brand-lg { padding: 8px 16px; border-radius: 16px; }
.brand-lg img { height: 64px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    position: relative; color: var(--on-dark); text-decoration: none;
    font-weight: 500; font-size: .95rem; padding: 8px 14px; border-radius: 999px;
    transition: color .25s, background .25s;
}
.main-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }

.btn-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; border-radius: 999px; border: 0;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
    color: var(--ink); background: var(--amber); text-decoration: none; cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 181, 71, .35);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
    position: relative; overflow: hidden; white-space: nowrap;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 181, 71, .45); color: var(--ink); }
.btn-cta::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-cta:hover::after { transform: translateX(120%); }

.btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 22px; border-radius: 999px;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22);
    text-decoration: none; transition: background .3s, border-color .3s, transform .3s var(--ease);
    white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; transform: translateY(-2px); }

.btn-solid {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy));
    text-decoration: none; box-shadow: 0 10px 24px rgba(47,107,255,.3);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(47,107,255,.4); color: #fff; }
.btn-solid:disabled { opacity: .6; cursor: wait; transform: none; }

.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06); color: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    position: absolute; left: 50%; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before, .nav-toggle span::after { content: ''; transform: translateX(-50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translate(-50%, 7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translate(-50%, -7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 990;
    background: radial-gradient(120% 80% at 100% 0%, #13306f 0%, var(--ink) 60%);
    padding: calc(var(--nav-h) + 24px) 24px 32px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
    overflow-y: auto;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a.m-link {
    font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: #fff; text-decoration: none;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex; justify-content: space-between; align-items: center;
    opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu a.m-link i { font-size: 1rem; color: var(--amber); }
.nav-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.nav-open .mobile-menu a.m-link:nth-child(2) { transition-delay: .05s; }
.nav-open .mobile-menu a.m-link:nth-child(3) { transition-delay: .1s; }
.nav-open .mobile-menu a.m-link:nth-child(4) { transition-delay: .15s; }
.nav-open .mobile-menu a.m-link:nth-child(5) { transition-delay: .2s; }
.mobile-menu .m-contact { margin-top: auto; padding-top: 28px; color: var(--on-dark-muted); font-size: .95rem; display: grid; gap: 10px; }
.mobile-menu .m-contact a { color: var(--on-dark); text-decoration: none; display: flex; gap: 12px; align-items: center; }
.nav-open { overflow: hidden; }

@media (max-width: 991.98px) {
    .main-nav, .site-header .header-cta { display: none; }
    .nav-toggle { display: inline-block; }
}

/* ---------- Dark hero blocks ---------- */
.dark {
    background: var(--ink);
    color: var(--on-dark);
}
.dark h1, .dark h2, .dark h3 { color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--sky);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.on-light { color: var(--blue); }

.grad-text {
    background: linear-gradient(100deg, #fff 0%, var(--sky) 45%, var(--amber) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Home hero */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 80px;
    color: var(--on-dark);
    z-index: 1;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(5,11,26,.8) 0%, rgba(5,11,26,.35) 45%, transparent 70%);
}
@media (max-width: 767.98px) {
    .hero::before { background: linear-gradient(180deg, transparent 0%, transparent 35%, rgba(5,11,26,.75) 60%, rgba(5,11,26,.95) 100%); }
}
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 5.2rem); font-weight: 800; margin: 18px 0 22px; color: #fff; letter-spacing: -.035em; }
.hero .lede { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--on-dark-muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.quick-track {
    margin-top: 34px; max-width: 520px;
    display: flex; gap: 8px; padding: 8px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.quick-track input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff;
    padding: 0 16px; font-size: .98rem; font-family: var(--font-body);
}
.quick-track input::placeholder { color: var(--on-dark-muted); }
.quick-track button { padding: 11px 20px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; color: var(--on-dark-muted); font-size: .9rem; }
.hero-meta strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.4rem; }

.scroll-cue {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted);
}
.scroll-cue span { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.3); border-radius: 12px; position: relative; }
.scroll-cue span::after {
    content: ''; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; border-radius: 2px;
    background: var(--amber); transform: translateX(-50%); animation: cue 1.8s infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* Fixed 3D stage that follows the visitor through the hero and the route story */
.globe-stage {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    transition: opacity .6s var(--ease);
}
.globe-stage canvas { width: 100% !important; height: 100% !important; display: block; }
.globe-stage.is-off { opacity: 0; }
.home-backdrop {
    position: fixed; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 60% at 75% 40%, rgba(47,107,255,.22) 0%, transparent 70%),
        radial-gradient(40% 40% at 10% 90%, rgba(255,181,71,.08) 0%, transparent 70%),
        var(--ink);
}
.page-home { background: var(--ink); }

/* Route story (scroll-driven) */
.journey { position: relative; z-index: 1; color: var(--on-dark); padding: 10vh 0 20vh; }
.journey-head { max-width: 560px; margin-bottom: 12vh; }
.journey-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 14px 0; }
.journey-head p { color: var(--on-dark-muted); }
.journey-step {
    min-height: 70vh; display: flex; align-items: center;
}
.journey-card {
    max-width: 440px; padding: 30px 30px 28px;
    background: linear-gradient(160deg, rgba(20, 36, 80, .72), rgba(8, 16, 38, .72));
    border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
    opacity: .25; transform: translateY(30px) scale(.97);
    transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .6s;
}
.journey-step.is-active .journey-card { opacity: 1; transform: none; border-color: rgba(92,200,255,.35); }
.journey-card .step-no {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
    font-family: var(--font-head); font-weight: 700; color: var(--ink); background: var(--amber); margin-bottom: 16px;
}
.journey-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.journey-card p { color: var(--on-dark-muted); margin: 0; }
.journey-card .where { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--sky); font-size: .88rem; font-weight: 600; }

.route-hud {
    position: fixed; right: 24px; bottom: 24px; z-index: 5;
    padding: 14px 18px; border-radius: 18px; min-width: 240px;
    background: rgba(5,11,26,.7); border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: var(--on-dark); font-size: .82rem;
    opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease);
    pointer-events: none;
}
.route-hud.is-on { opacity: 1; transform: none; }
.route-hud .row-line { display: flex; justify-content: space-between; gap: 12px; }
.route-hud .bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 10px 0 8px; overflow: hidden; }
.route-hud .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--amber)); }
.route-hud strong { color: #fff; font-family: var(--font-head); }

/* ---------- Light sections ---------- */
.section { position: relative; z-index: 2; padding: clamp(70px, 10vw, 120px) 0; background: var(--bg); }
.section.white { background: var(--surface); }
.section.dark { background: var(--ink); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin: 14px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.dark .section-head p { color: var(--on-dark-muted); }

/* Curved top for the first light section after the dark home story */
.curve-top { border-radius: 40px 40px 0 0; margin-top: -40px; }

/* Cards */
.card-3d {
    position: relative; height: 100%;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--shadow);
    transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
    will-change: transform;
}
.card-3d:hover { box-shadow: var(--shadow-lg); border-color: rgba(47,107,255,.25); }
.card-3d::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(47,107,255,.10), transparent 40%);
    opacity: 0; transition: opacity .4s;
}
.card-3d:hover::before { opacity: 1; }
.card-3d > * { transform: translateZ(20px); }

.icon-badge {
    width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.4rem; color: #fff; margin-bottom: 22px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    box-shadow: 0 12px 24px rgba(47,107,255,.3);
}
.icon-badge.amber { background: linear-gradient(135deg, #ffcd75, #ff9f1c); color: var(--ink); box-shadow: 0 12px 24px rgba(255,159,28,.3); }
.card-3d h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card-3d p { color: var(--muted); margin-bottom: 0; }
.card-3d .tag { display: inline-block; margin-top: 18px; font-size: .8rem; font-weight: 600; color: var(--blue); background: rgba(47,107,255,.08); padding: 6px 12px; border-radius: 999px; }

.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .95rem; }
.feature-list li::before {
    content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px;
    background: rgba(34,197,94,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316a34a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Service card with image */
.service-tile { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-tile .media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.service-tile .media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1s var(--ease); }
.service-tile:hover .media img { transform: scale(1.12); }
.service-tile .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,11,26,.55)); }
.service-tile .media .icon-badge { position: absolute; left: 22px; bottom: -6px; z-index: 2; margin: 0; transform: translateY(0); }
.service-tile .body { padding: 34px 28px 28px; flex: 1; }

/* Split media block */
.media-frame {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-float {
    position: absolute; left: -20px; bottom: 30px; padding: 16px 20px; border-radius: 18px;
    background: var(--surface); box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center;
}
.media-float strong { font-family: var(--font-head); font-size: 1.5rem; display: block; line-height: 1; }
.media-float span { color: var(--muted); font-size: .85rem; }
@media (max-width: 767.98px) { .media-float { left: 12px; bottom: 12px; } }

.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.check-grid div { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check-grid i { color: var(--blue); }
@media (max-width: 479.98px) { .check-grid { grid-template-columns: 1fr; } }

/* Stats */
.stats-band {
    position: relative; z-index: 2; overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #0c1d4d 60%, var(--ink) 100%);
    color: #fff; padding: 80px 0;
}
.stats-band::before {
    content: ''; position: absolute; inset: 0; opacity: .35;
    background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.stat { position: relative; text-align: center; padding: 10px; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.stat .num em { font-style: normal; color: var(--amber); }
.stat .label { color: var(--on-dark-muted); margin-top: 10px; font-size: .95rem; }

/* Marquee */
.marquee { position: relative; z-index: 2; overflow: hidden; background: var(--amber); color: var(--ink); padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: '✦'; font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Process steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--amber));
    transform-origin: left; transform: scaleX(var(--line-p, 0)); transition: transform 1.4s var(--ease);
}
.steps.is-in { --line-p: 1; }
.step { text-align: center; position: relative; }
.step .dot {
    width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
    background: var(--surface); border: 2px solid var(--line); font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy);
    box-shadow: var(--shadow); position: relative; z-index: 1;
}
.step h4 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 767.98px) {
    .steps { grid-template-columns: 1fr; gap: 26px; }
    .steps::before { left: 33px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; transform: scaleY(var(--line-p, 0)); transform-origin: top; }
    .step { text-align: left; display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: start; }
    .step .dot { margin: 0; }
}

/* Testimonials */
.quote-card { padding: 32px; }
.quote-card .stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 14px; }
.quote-card blockquote { font-size: 1.05rem; color: var(--text); margin: 0 0 22px; }
.quote-card .who { display: flex; gap: 12px; align-items: center; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--sky)); }
.quote-card .who strong { display: block; font-family: var(--font-head); }
.quote-card .who span { color: var(--muted); font-size: .88rem; }

/* Forms */
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-lg); }
.field { position: relative; margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; border: 1.5px solid var(--line); background: #f9fbff; border-radius: 14px;
    padding: 14px 16px; font-size: 1rem; font-family: var(--font-body); color: var(--text);
    transition: border-color .25s, box-shadow .25s, background .25s;
    -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235b6682' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,.12); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.alert-box { border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; font-size: .95rem; }
.alert-box.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* FAQ */
.faq details {
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; margin-bottom: 12px;
    transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(47,107,255,.25); }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(47,107,255,.08); color: var(--blue); font-size: 1.3rem; font-weight: 400; transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contact strip */
.contact-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); height: 100%; }
.contact-tile i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: rgba(92,200,255,.12); color: var(--sky); }
.contact-tile h3 { font-size: 1rem; margin: 0 0 4px; color: #fff; }
.contact-tile p, .contact-tile a { margin: 0; color: var(--on-dark-muted); text-decoration: none; }
.contact-tile a:hover { color: #fff; }

/* Inner page hero */
.page-hero {
    position: relative; overflow: hidden; z-index: 1;
    background: radial-gradient(80% 90% at 85% 30%, #142e6e 0%, var(--ink) 65%);
    color: var(--on-dark);
    padding: calc(var(--nav-h) + 70px) 0 110px;
    min-height: 520px;
}
.page-hero .hero-canvas { position: absolute; inset: 0; z-index: 0; }
.page-hero .hero-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; color: #fff; margin: 16px 0 18px; max-width: 760px; letter-spacing: -.03em; }
.page-hero p.lede { color: var(--on-dark-muted); font-size: 1.12rem; max-width: 580px; }
.page-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; z-index: 1;
    background: var(--bg); border-radius: 40px 40px 0 0;
}
@media (max-width: 767.98px) {
    .page-hero { padding-bottom: 260px; min-height: 0; }
    .page-hero .hero-canvas { top: auto; height: 300px; }
}

/* Timeline (about) */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline .tl-fill { position: absolute; left: 50%; top: 0; width: 2px; height: 0; background: linear-gradient(var(--blue), var(--amber)); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 44px 44px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item::before {
    content: ''; position: absolute; top: 8px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--surface); border: 3px solid var(--blue); box-shadow: 0 0 0 6px rgba(47,107,255,.12);
}
.tl-item:nth-child(odd)::before { right: -8px; }
.tl-item:nth-child(even)::before { left: -8px; }
.tl-item .year { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.05rem; }
.tl-item h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); margin: 0; }
@media (max-width: 767.98px) {
    .timeline::before, .timeline .tl-fill { left: 8px; }
    .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 36px 40px; }
    .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
}

/* Office cards */
.office-card { cursor: pointer; }
.office-card h3 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.office-card .flag { font-size: 1.2rem; }
.office-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.office-card ul li { display: flex; gap: 12px; }
.office-card ul i { color: var(--blue); width: 18px; margin-top: 5px; text-align: center; }
.office-card a { color: var(--text); text-decoration: none; }
.office-card a:hover { color: var(--blue); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 100%; min-height: 360px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* CTA */
.cta-block {
    position: relative; z-index: 2; overflow: hidden; border-radius: var(--radius-lg);
    padding: clamp(40px, 7vw, 80px); color: #fff; text-align: center;
    background: radial-gradient(80% 120% at 100% 0%, #2a57d6 0%, var(--navy) 50%, var(--ink) 100%);
    box-shadow: var(--shadow-lg);
}
.cta-block h2 { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin-bottom: 14px; }
.cta-block p { color: var(--on-dark-muted); max-width: 560px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-block .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-block .orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; pointer-events: none; }

/* Footer */
.site-footer { position: relative; z-index: 2; background: var(--ink); color: var(--on-dark-muted); padding: 80px 0 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 18px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: transform .3s var(--ease), background .3s; }
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding-top: 24px; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Floating WhatsApp */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 900;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; font-size: 1.7rem; text-decoration: none;
    box-shadow: 0 12px 30px rgba(37,211,102,.45);
    transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.page-home .route-hud { right: 90px; }
@media (max-width: 767.98px) {
    .route-hud { left: 16px; right: 86px !important; bottom: 18px; min-width: 0; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-left.is-in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale.is-in { opacity: 1; transform: none; }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms + 150ms); }
.split-words.is-in .w > span { transform: none; }
.split-words .grad-text .w > span {
    background: linear-gradient(100deg, var(--sky) 0%, var(--amber) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Tracking page ---------- */
.track-panel { margin-top: -80px; position: relative; z-index: 3; }
.track-form { display: flex; gap: 10px; flex-wrap: wrap; }
.track-form input {
    flex: 1 1 260px; min-width: 0; height: 60px; border-radius: 16px; border: 1.5px solid var(--line); background: #f9fbff;
    padding: 0 20px; font-size: 1.05rem; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase;
}
.track-form input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.12); background: #fff; }
.track-form button { height: 60px; padding: 0 30px; }
.track-state { display: none; }
.track-state.is-on { display: block; animation: rise .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.shipment-head {
    border-radius: var(--radius-lg); padding: 28px; color: #fff; margin-bottom: 20px;
    background: radial-gradient(100% 140% at 100% 0%, #2a57d6 0%, var(--navy) 55%, var(--ink) 100%);
    display: grid; gap: 22px;
}
.shipment-head .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.shipment-head .tid { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 1.05rem; letter-spacing: .05em; background: rgba(255,255,255,.1); padding: 6px 12px; border-radius: 10px; word-break: break-all; }
.shipment-head .hello { color: var(--on-dark-muted); font-size: .95rem; }
.lane { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.lane .city small { display: block; color: var(--on-dark-muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.lane .city strong { font-family: var(--font-head); font-size: 1.15rem; }
.lane .city:last-child { text-align: right; }
.lane .track-line { position: relative; height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; }
.lane .track-line i { position: absolute; inset: 0 auto 0 0; width: var(--p, 10%); background: linear-gradient(90deg, var(--sky), var(--amber)); border-radius: 4px; transition: width 1.4s var(--ease); }
.lane .track-line b { position: absolute; top: 50%; left: var(--p, 10%); transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-size: .8rem; transition: left 1.4s var(--ease); box-shadow: 0 0 0 6px rgba(255,181,71,.2); }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .85rem; background: #eef2ff; color: #3730a3; }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(99,102,241,.2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.status-pill.delivered { background: #dcfce7; color: #166534; }
.status-pill.transit { background: #dbeafe; color: #1e40af; }
.status-pill.pickup { background: #cffafe; color: #155e75; }
.status-pill.hold { background: #fef3c7; color: #92400e; }
.status-pill.cancelled { background: #fee2e2; color: #991b1b; }

.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.detail-grid .k { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.detail-grid .v { font-weight: 600; margin-top: 4px; word-break: break-word; }
@media (max-width: 767.98px) { .detail-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.note-box { display: flex; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; margin-bottom: 20px; }

.events { list-style: none; padding: 0; margin: 0; position: relative; }
.events::before { content: ''; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.events li { position: relative; padding: 0 0 26px 58px; }
.events li:last-child { padding-bottom: 0; }
.events .ev-dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: var(--muted); font-size: .85rem; }
.events li:first-child .ev-dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(47,107,255,.15); }
.events .ev-time { font-size: .82rem; color: var(--muted); }
.events h4 { font-size: 1.02rem; margin: 2px 0 4px; }
.events p { margin: 0; color: var(--muted); font-size: .93rem; }

.empty-state { text-align: center; padding: 40px 20px; }
.empty-state .big { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 2rem; background: #fef2f2; color: #dc2626; }

.loader { display: flex; justify-content: center; gap: 8px; padding: 40px; }
.loader i { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); animation: bounce 1s infinite var(--ease); }
.loader i:nth-child(2) { animation-delay: .12s; background: var(--sky); }
.loader i:nth-child(3) { animation-delay: .24s; background: var(--amber); }
@keyframes bounce { 50% { transform: translateY(-12px); } }

/* Thank you */
.thanks-badge { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center; font-size: 2.6rem; color: var(--ink); background: var(--amber); box-shadow: 0 0 0 14px rgba(255,181,71,.15), 0 0 0 28px rgba(255,181,71,.07); animation: pop .8s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* Error pages */
.error-wrap { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 20px 60px; }
.error-wrap .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 18vw, 10rem); line-height: 1; letter-spacing: -.05em; }

/* Small screens */
@media (max-width: 767.98px) {
    :root { --nav-h: 68px; }
    .brand img { height: 40px; }
    .hero { align-items: flex-end; padding-top: 52vh; padding-bottom: 90px; min-height: 100svh; }
    .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
    .hero-actions .btn-cta, .hero-actions .btn-ghost { flex: 1 1 auto; }
    .hero-meta { gap: 18px; }
    .scroll-cue { display: none; }
    .journey { padding-top: 0; }
    .journey-head { margin-bottom: 30vh; }
    .journey-step { min-height: 90vh; align-items: flex-end; padding-bottom: calc(12vh + 70px); }
    .journey-card { padding: 24px; }
    .section-head { margin-bottom: 40px; }
    .card-3d { padding: 24px; }
    .quick-track { border-radius: 20px; flex-direction: column; padding: 10px; }
    .quick-track input { padding: 12px 10px; }
    .quick-track button { width: 100%; }
    .track-form button { width: 100%; }
    .wa-float { width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal, .reveal-left, .reveal-scale { opacity: 1; transform: none; }
    .split-words .w > span { transform: none; }
    .marquee-track { animation: none; }
}
