/* ==========================================================================
   AIRA FREIGHT — DESIGN SYSTEM v3  ("Departures")
   Built on Bootstrap 5.3 (grid, utilities, offcanvas, modal, accordion)
   with Bootstrap Icons. This file only themes and extends it.

   Concept: the calm precision of an airline departure hall. Bright white
   space and very large Poppins type, a floating glass nav, and one hero
   object: a perforated shipping label that tilts toward the cursor with a
   split-flap status line. Brand blue leads, orange marks what's live.
   Single light look by choice: every color is set explicitly.
   ========================================================================== */
:root {
  color-scheme: light;
  --a-blue: #004cff;
  --a-blue-700: #003bd0;
  --a-blue-50: #eef3ff;
  --a-blue-100: #dbe5ff;
  --a-navy: #061a4a;
  --a-navy-800: #0b2361;
  --a-orange: #ff6a00;
  --a-orange-600: #e85f00;
  --a-orange-50: #fff1e6;
  --a-ink: #0b1633;
  --a-muted: #5b6686;
  --a-line: #e4e8f1;
  --a-cloud: #f5f7fb;
  --a-white: #ffffff;
  --a-ok: #0f9d58; --a-ok-50: #e6f6ee;
  --a-warn: #b26a00; --a-warn-50: #fff4e0;

  --a-font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --a-fs-hero: clamp(2.4rem, 5.8vw, 5.2rem);
  --a-fs-h2: clamp(1.9rem, 3.6vw, 3.1rem);
  --a-radius: 22px;
  --a-radius-sm: 14px;
  --a-ease: cubic-bezier(.2, .8, .2, 1);
  --a-shadow: 0 1px 2px rgba(6,26,74,.05), 0 18px 40px -18px rgba(6,26,74,.22);
  --a-shadow-lg: 0 2px 6px rgba(6,26,74,.05), 0 40px 80px -32px rgba(6,26,74,.38);

  /* Bootstrap theme hooks */
  --bs-body-font-family: var(--a-font);
  --bs-body-color: var(--a-ink);
  --bs-body-bg: var(--a-white);
  --bs-primary: var(--a-blue);
  --bs-primary-rgb: 0, 76, 255;
  --bs-link-color: var(--a-blue);
  --bs-link-color-rgb: 0, 76, 255;
  --bs-link-hover-color: var(--a-blue-700);
  --bs-border-color: var(--a-line);
  --bs-border-radius: 14px;
  --bs-border-radius-lg: 22px;
  --bs-secondary-color: var(--a-muted);
}

[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { background: var(--a-white); color: var(--a-ink); font-family: var(--a-font); font-size: 1.02rem; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; color: inherit; }
a { text-decoration: none; }
a:hover { text-decoration: none; }
img, svg { max-width: 100%; }
::selection { background: var(--a-blue); color: #fff; }
:focus-visible { outline: 3px solid var(--a-orange); outline-offset: 2px; border-radius: 6px; }
.tnum { font-variant-numeric: tabular-nums; }
.text-muted-a { color: var(--a-muted) !important; }
.container-a { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(16px, 3.6vw, 40px); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--a-blue); }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--a-orange); }
.sec { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.sec--cloud { background: var(--a-cloud); }
.sec--navy { background: var(--a-navy); color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head > div { display: grid; gap: 14px; max-width: 680px; }
.sec-head h2 { font-size: var(--a-fs-h2); font-weight: 900; letter-spacing: -0.03em; }
.sec-head p { color: var(--a-muted); font-size: 1.1rem; margin: 0; }

/* ---------- Motion ---------- */
@keyframes a-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes a-word { from { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); } }
@keyframes a-pulse { 50% { box-shadow: 0 0 0 9px rgba(255,106,0,0); } }
@keyframes a-float { 50% { transform: translateY(-10px); } }
@keyframes a-marquee { to { transform: translateX(-50%); } }
@keyframes a-mesh { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(4%, -6%) scale(1.08); } 100% { transform: translate(0,0) scale(1); } }
@keyframes a-flap { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); } 100% { transform: rotateX(0); } }
@keyframes a-scan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes a-fill { from { transform: scaleX(0); } 70%, to { transform: scaleX(1); } }
.reveal { transition: transform .9s var(--a-ease), opacity .9s var(--a-ease); }
.reveal.is-below { transform: translateY(28px); opacity: .5; }
.reveal.is-in { transform: none; opacity: 1; }
.stagger > * { transition: transform .8s var(--a-ease), opacity .8s var(--a-ease); }
.stagger.is-below > * { transform: translateY(24px); opacity: .5; }
.stagger.is-in > * { transform: none; opacity: 1; }
.stagger.is-in > *:nth-child(2) { transition-delay: .07s; } .stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .21s; } .stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .35s; } .stagger.is-in > *:nth-child(7) { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.is-below, .stagger.is-below > * { transform: none; opacity: 1; }
}

/* ---------- Buttons (extends Bootstrap .btn) ---------- */
.btn { --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.5rem; --bs-btn-padding-y: .8rem; --bs-btn-border-radius: 999px; --bs-btn-font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; white-space: nowrap; letter-spacing: -0.005em;
  transition: transform .3s var(--a-ease), box-shadow .3s, background-color .2s, color .2s, border-color .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .bi { font-size: 1.05em; transition: transform .3s var(--a-ease); }
.btn:hover .bi-arrow-right { transform: translateX(4px); }
.btn-sm { --bs-btn-padding-x: 1.05rem; --bs-btn-padding-y: .5rem; --bs-btn-font-size: .92rem; }
.btn-a { --bs-btn-bg: var(--a-blue); --bs-btn-color: #fff; --bs-btn-border-color: var(--a-blue); --bs-btn-hover-bg: var(--a-blue-700); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--a-blue-700);
  --bs-btn-active-bg: var(--a-blue-700); --bs-btn-active-color: #fff; --bs-btn-disabled-bg: var(--a-blue); --bs-btn-disabled-color: #fff; box-shadow: 0 14px 28px -14px rgba(0,76,255,.7); }
.btn-a::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-100%); }
.btn-a:hover::after { animation: a-scan .9s var(--a-ease); }
.btn-o { --bs-btn-bg: var(--a-orange); --bs-btn-color: #fff; --bs-btn-border-color: var(--a-orange); --bs-btn-hover-bg: var(--a-orange-600); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--a-orange-600); --bs-btn-active-bg: var(--a-orange-600); --bs-btn-active-color: #fff; box-shadow: 0 14px 28px -14px rgba(255,106,0,.75); }
.btn-line { --bs-btn-bg: transparent; --bs-btn-color: var(--a-ink); --bs-btn-border-color: var(--a-line); --bs-btn-hover-bg: transparent; --bs-btn-hover-color: var(--a-ink); --bs-btn-hover-border-color: var(--a-ink); --bs-btn-active-bg: var(--a-cloud); --bs-btn-active-color: var(--a-ink); }
.btn-white { --bs-btn-bg: #fff; --bs-btn-color: var(--a-navy); --bs-btn-border-color: #fff; --bs-btn-hover-bg: var(--a-blue-50); --bs-btn-hover-color: var(--a-navy); --bs-btn-hover-border-color: var(--a-blue-50); --bs-btn-active-bg: var(--a-blue-50); --bs-btn-active-color: var(--a-navy); }
.btn-ghost-w { --bs-btn-bg: transparent; --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.35); --bs-btn-hover-bg: rgba(255,255,255,.08); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: rgba(255,255,255,.12); --bs-btn-active-color: #fff; }
.link-a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: var(--a-blue); }
.link-a .bi { transition: transform .3s var(--a-ease); }
.link-a:hover .bi { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; line-height: 0; color: var(--a-navy); flex: none; }
.logo svg, .logo img { height: 40px; width: auto; display: block; }
.logo--dark { color: #fff; }
.logo--sm svg, .logo--sm img { height: 32px; }
.logo--lg svg, .logo--lg img { height: 54px; }

/* ---------- Floating glass nav ---------- */
.a-nav { position: fixed; z-index: 1030; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 14px); padding-inline: clamp(10px, 2.4vw, 28px); pointer-events: none; transition: top .35s var(--a-ease); }
.a-nav-inner {
  pointer-events: auto; max-width: 1280px; margin-inline: auto; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 22px; border-radius: 22px; background: rgba(255,255,255,.72); border: 1px solid rgba(228,232,241,.9);
  backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: 0 10px 30px -18px rgba(6,26,74,.35); transition: padding .35s var(--a-ease), box-shadow .35s, background .35s;
}
.a-nav.is-scrolled { top: calc(env(safe-area-inset-top, 0px) + 8px); }
.a-nav.is-scrolled .a-nav-inner { background: rgba(255,255,255,.9); box-shadow: 0 14px 36px -16px rgba(6,26,74,.4); padding-block: 7px; }
.a-links { display: flex; gap: 2px; margin-left: 18px; }
.a-links a { color: var(--a-ink); font-weight: 600; font-size: .96rem; padding: 9px 14px; border-radius: 12px; position: relative; transition: background .2s, color .2s; }
.a-links a:hover { background: var(--a-cloud); }
.a-links a[aria-current="page"] { color: var(--a-blue); }
.a-links a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--a-orange); }
.a-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.a-icon-btn { width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--a-line); background: #fff; display: inline-grid; place-items: center; color: var(--a-ink); font-size: 1.15rem; cursor: pointer; transition: transform .25s var(--a-ease), border-color .2s, background .2s; flex: none; }
.a-icon-btn:hover { border-color: var(--a-ink); transform: translateY(-1px); }
.a-track-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--a-line); background: #fff; color: var(--a-ink); font-weight: 600; font-size: .94rem; transition: border-color .2s; }
.a-track-btn:hover { border-color: var(--a-ink); }
.a-track-btn kbd { font: inherit; font-size: .74rem; color: var(--a-muted); background: var(--a-cloud); border-radius: 6px; padding: 1px 6px; }
.a-burger { display: none; }
@media (max-width: 1099.98px) { .a-links, .a-hide-md { display: none !important; } .a-burger { display: inline-grid; } }
@media (max-width: 575.98px) { .a-hide-sm { display: none !important; } .a-nav-inner { padding-left: 16px; } }

/* Offcanvas (menu + tracking) */
.offcanvas { --bs-offcanvas-width: min(420px, 92vw); --bs-offcanvas-border-width: 0; border: 0; }
.offcanvas-header { padding: 22px 24px; border-bottom: 1px solid var(--a-line); }
.offcanvas-body { padding: 18px 24px 32px; }
.a-menu-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--a-line); color: var(--a-ink); font-weight: 600; font-size: 1.12rem; }
.a-menu-link .bi { color: var(--a-muted); transition: transform .3s var(--a-ease); }
.a-menu-link:hover .bi { transform: translateX(4px); color: var(--a-blue); }
.a-menu-cap { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--a-muted); margin: 26px 0 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(env(safe-area-inset-top, 0px) + clamp(124px, 14vw, 168px)) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
.mesh { position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -2; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: a-mesh 18s ease-in-out infinite; }
.mesh i:nth-child(1) { width: 46vw; height: 46vw; right: 2%; top: 4%; background: #8fb0ff; }
.mesh i:nth-child(2) { width: 30vw; height: 30vw; right: 26%; top: 34%; background: #ffc59a; animation-delay: -6s; animation-duration: 22s; }
.mesh i:nth-child(3) { width: 34vw; height: 34vw; left: -6%; top: -8%; background: #dfe8ff; animation-delay: -12s; }
.grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(6,26,74,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(6,26,74,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--a-line); font-weight: 600; font-size: .9rem; color: var(--a-ink); box-shadow: var(--a-shadow); animation: a-rise .8s var(--a-ease) both; }
.hero-kicker:hover { color: var(--a-blue); }
.hero-kicker b { background: var(--a-navy); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .74rem; letter-spacing: .06em; }
.hero h1 { font-size: var(--a-fs-hero); font-weight: 900; letter-spacing: -0.025em; line-height: 1; margin: 26px 0 0; }
.hero h1 .w { display: inline-block; animation: a-word .9s var(--a-ease) both; }
.hero h1 .w:nth-child(2) { animation-delay: .07s; } .hero h1 .w:nth-child(3) { animation-delay: .14s; } .hero h1 .w:nth-child(4) { animation-delay: .21s; }
.hero h1 .blue { color: var(--a-blue); }
.hero h1 .dot { color: var(--a-orange); }
.hero-sub { font-size: clamp(1.12rem, 1.7vw, 1.35rem); color: var(--a-muted); max-width: 31em; font-weight: 600; margin: 26px 0 0; animation: a-rise .9s .25s var(--a-ease) both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; animation: a-rise .9s .35s var(--a-ease) both; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px; animation: a-rise .9s .45s var(--a-ease) both; }
.hero-proof > div { display: grid; }
.hero-proof strong { font-size: 2rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-proof > div > span { color: var(--a-muted); font-size: .88rem; font-weight: 600; }
.hero-proof .sep { width: 1px; background: var(--a-line); }

/* Hero object: shipping label */
.label-stage { position: relative; perspective: 1400px; padding: 60px 6px 44px; animation: a-rise 1.1s .2s var(--a-ease) both; }
.label {
  position: relative; max-width: 470px; margin-inline: auto; background: #fff; border-radius: 26px; box-shadow: var(--a-shadow-lg);
  transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -12deg)); transition: transform .5s var(--a-ease);
  border: 1px solid var(--a-line);
}
.label::before { /* sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px 260px at var(--sx, 30%) var(--sy, 0%), rgba(255,255,255,.7), transparent 60%); mix-blend-mode: soft-light;
}
.label-top { background: var(--a-navy); color: #fff; border-radius: 26px 26px 0 0; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.label-top small { display: block; color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.label-top strong { font-size: 1.1rem; letter-spacing: .06em; }
.label-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; padding: 24px 26px 18px; }
.label-route .code { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.label-route small { display: block; color: var(--a-muted); font-size: .82rem; font-weight: 600; margin-top: 4px; }
.label-route .to { text-align: right; }
.label-route .path { width: clamp(70px, 10vw, 120px); position: relative; height: 24px; }
.label-route .path::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--a-blue-100); }
.label-route .path .bi { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%) rotate(90deg); color: var(--a-blue); font-size: 1.3rem; animation: a-fly 4s var(--a-ease) infinite; }
@keyframes a-fly { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.perf { position: relative; height: 22px; margin: 0 -1px; }
.perf::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed var(--a-line); }
.perf::after, .perf i { content: ""; position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--a-white); border: 1px solid var(--a-line); }
.perf::after { right: -11px; clip-path: inset(0 50% 0 0); }
.perf i { left: -11px; clip-path: inset(0 0 0 50%); }
.label-body { padding: 14px 26px 24px; display: grid; gap: 16px; }
.flap { display: flex; gap: 3px; font-weight: 900; font-size: 1.02rem; letter-spacing: .04em; perspective: 300px; min-height: 34px; flex-wrap: wrap; }
.flap span { display: inline-grid; place-items: center; min-width: 22px; height: 32px; padding: 0 4px; border-radius: 6px; background: var(--a-navy); color: #fff; position: relative; transform-origin: center; }
.flap span.flip { animation: a-flap .32s var(--a-ease); }
.flap span.space { background: transparent; min-width: 8px; }
.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.14); }
.label-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.label-meta small { display: block; color: var(--a-muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.label-meta b { font-size: 1rem; font-variant-numeric: tabular-nums; }
.barcode { height: 54px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--a-ink) 0 2px, transparent 2px 4px, var(--a-ink) 4px 5px, transparent 5px 8px, var(--a-ink) 8px 11px, transparent 11px 12px, var(--a-ink) 12px 13px, transparent 13px 16px); position: relative; overflow: hidden; }
.barcode::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,106,0,.55), transparent); animation: a-scan 3.4s ease-in-out infinite; }
.label-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--a-line); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .9rem; box-shadow: var(--a-shadow); animation: a-float 6s ease-in-out infinite; z-index: 2; }
.label-chip i.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--a-ok); box-shadow: 0 0 0 4px var(--a-ok-50); }
.label-chip .bi { color: var(--a-orange); font-size: 1.1rem; }
.label-chip--a { left: 4%; top: 0; }
.label-chip--b { right: -2%; bottom: 6%; animation-delay: -3s; }
@media (max-width: 575.98px) { .label-chip--a { left: 2%; top: 0; } .label-chip--b { right: 2%; bottom: 8px; } .label-meta { grid-template-columns: 1fr 1fr; } .label-meta > div:last-child { display: none; } }

/* ---------- Track + value strip ---------- */
.track-shell { position: relative; background: #fff; border: 1px solid var(--a-line); border-radius: 28px; padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--a-shadow-lg); }
.track-shell h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 900; letter-spacing: -0.03em; margin: 0 0 20px; }
.track-form { display: flex; gap: 10px; padding: 8px; border: 1.5px solid var(--a-line); border-radius: 999px; background: #fff; transition: border-color .25s, box-shadow .3s; }
.track-form:focus-within { border-color: var(--a-blue); box-shadow: 0 0 0 6px var(--a-blue-50); }
.track-form label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding-left: 16px; margin: 0; }
.track-form label .bi { color: var(--a-muted); font-size: 1.25rem; }
.track-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 54px; font-size: 1.12rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--a-ink); }
.track-form input::placeholder { text-transform: none; letter-spacing: 0; color: #8b94ad; font-weight: 400; }
.track-form .btn { min-width: 132px; }
@media (max-width: 575.98px) { .track-form { flex-direction: column; border-radius: 22px; } .track-form label { padding-left: 8px; } .track-form .btn { width: 100%; } }
.track-out { margin-top: 16px; }
.t-card { border: 1px solid var(--a-line); border-radius: 18px; padding: 20px 22px; display: grid; gap: 18px; animation: a-rise .5s var(--a-ease); background: #fff; }
.t-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; align-items: center; }
.t-card-top .num { font-weight: 900; letter-spacing: .04em; font-size: 1.12rem; }
.t-card-top .meta { display: flex; gap: 20px; color: var(--a-muted); font-size: .9rem; flex-wrap: wrap; }
.t-card-top .meta b { color: var(--a-ink); }
.t-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.t-progress span { height: 6px; border-radius: 6px; background: var(--a-line); position: relative; overflow: hidden; }
.t-progress span.on { background: var(--a-blue); }
.t-progress span.now { background: var(--a-orange-50); }
.t-progress span.now::after { content: ""; position: absolute; inset: 0; background: var(--a-orange); transform-origin: left; animation: a-fill 2.4s var(--a-ease) infinite; }
.t-list { list-style: none; margin: 0; padding: 0; }
.t-list li { position: relative; padding: 0 0 16px 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; animation: a-rise .5s var(--a-ease) both; }
.t-list li:nth-child(2) { animation-delay: .08s; } .t-list li:nth-child(3) { animation-delay: .16s; } .t-list li:nth-child(4) { animation-delay: .24s; }
.t-list li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--a-blue); }
.t-list li:first-child::before { background: var(--a-orange); box-shadow: 0 0 0 4px var(--a-orange-50); }
.t-list li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 21px; bottom: 0; width: 2px; background: var(--a-line); }
.t-list li span { font-weight: 600; }
.t-list li time { color: var(--a-muted); font-size: .9rem; }
.form-err { color: #c0341d; font-weight: 600; font-size: .92rem; margin: 0; }
.note { color: var(--a-muted); font-size: .8rem; margin: 0; }

.values { margin-top: 18px; }
.value { height: 100%; display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--a-line); transition: transform .35s var(--a-ease), box-shadow .35s, border-color .35s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--a-shadow); border-color: var(--a-blue-100); }
.value .ic { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 1.35rem; background: var(--a-blue-50); color: var(--a-blue); transition: background .3s, color .3s, transform .4s var(--a-ease); }
.value:hover .ic { background: var(--a-blue); color: #fff; transform: rotate(-8deg); }
.value h3 { font-size: 1.04rem; margin: 0 0 2px; letter-spacing: -0.01em; }
.value p { margin: 0; color: var(--a-muted); font-size: .92rem; line-height: 1.4; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ready { background: var(--a-ok-50); color: var(--a-ok); }
.pill--transit, .pill--warehouse { background: var(--a-blue-50); color: var(--a-blue); }
.pill--customs { background: var(--a-warn-50); color: var(--a-warn); }
.pill--delivered { background: var(--a-cloud); color: var(--a-muted); }

/* ---------- Stores ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: a-marquee 44s linear infinite; padding-block: 6px; }
.marquee--rev .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.store { flex: none; display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--a-line); color: var(--a-ink); transition: transform .3s var(--a-ease), box-shadow .3s, border-color .3s; }
.store:hover { transform: translateY(-3px); box-shadow: var(--a-shadow); border-color: var(--a-blue-100); color: var(--a-ink); }
.store .mark { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--a-cloud); font-size: 1.45rem; overflow: hidden; flex: none; }
.store .mark img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.store b { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.store small { color: var(--a-muted); font-size: .8rem; font-weight: 600; }
.store-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.store-results .store { border-radius: 18px; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { grid-column: span 4; position: relative; overflow: hidden; border-radius: var(--a-radius); background: #fff; border: 1px solid var(--a-line); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; transition: transform .4s var(--a-ease), box-shadow .4s, border-color .4s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--a-shadow); border-color: var(--a-blue-100); }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(280px 200px at var(--mx, 50%) var(--my, 0%), rgba(0,76,255,.08), transparent 70%); }
.tile:hover::before { opacity: 1; }
.tile .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: var(--a-blue-50); color: var(--a-blue); transition: transform .45s var(--a-ease); }
.tile:hover .ic { transform: rotate(-8deg) scale(1.06); }
.tile h3 { font-size: 1.28rem; margin: auto 0 0; padding-top: 18px; }
.tile p { color: var(--a-muted); margin: 0; font-size: 1rem; }
.tile .link-a { font-size: .95rem; margin-top: 2px; }
.tile--hero { grid-column: span 8; grid-row: span 2; background: var(--a-navy); border-color: var(--a-navy); color: #fff; padding: clamp(28px, 4vw, 44px); min-height: 500px; }
.tile--hero:hover { border-color: var(--a-navy); }
.tile--hero .ic { background: rgba(255,255,255,.1); color: #fff; }
.tile--hero h3 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; letter-spacing: -0.03em; }
.tile--hero p { color: rgba(255,255,255,.75); font-size: 1.12rem; max-width: 28em; }
.tile--hero .btn { align-self: flex-start; margin-top: 10px; }
.tile--hero .orbit { position: absolute; right: -8%; top: -14%; width: 62%; aspect-ratio: 1; pointer-events: none; }
.tile--hero .orbit circle { fill: none; stroke: rgba(255,255,255,.12); }
.tile--hero .orbit .r { stroke: rgba(0,76,255,.7); stroke-width: 22; stroke-dasharray: 60 900; animation: a-spin 14s linear infinite; transform-origin: 50% 50%; }
@keyframes a-spin { to { transform: rotate(360deg); } }
.tile--hero .stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 8px; }
.tile--hero .stats strong { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; display: block; line-height: 1.1; }
.tile--hero .stats span { color: rgba(255,255,255,.65); font-size: .9rem; }
.tile--wide { grid-column: span 6; }
.tile--orange .ic { background: var(--a-orange-50); color: var(--a-orange); }
@media (max-width: 991.98px) { .tile, .tile--wide { grid-column: span 6; } .tile--hero { grid-column: span 12; grid-row: auto; min-height: 420px; } }
@media (max-width: 575.98px) { .tile, .tile--wide { grid-column: span 12; min-height: 0; } .tile h3 { padding-top: 8px; } .tile--hero { min-height: 380px; } }

/* ---------- Cost to ship ---------- */
.costs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cost { background: #fff; border: 1px solid var(--a-line); border-radius: 20px; padding: 18px; display: grid; gap: 8px; color: var(--a-ink); transition: transform .35s var(--a-ease), box-shadow .35s, border-color .35s; }
.cost:hover { transform: translateY(-5px); box-shadow: var(--a-shadow); border-color: var(--a-blue-100); color: var(--a-ink); }
.cost .art { aspect-ratio: 1.3 / 1; border-radius: 14px; display: grid; place-items: center; font-size: 2.4rem; background: linear-gradient(150deg, var(--a-blue-50), #fafcff); color: var(--a-blue); overflow: hidden; margin-bottom: 4px; }
.cost:nth-child(even) .art { background: linear-gradient(150deg, var(--a-orange-50), #fffaf6); color: var(--a-orange); }
.cost .art .bi { transition: transform .5s var(--a-ease); }
.cost:hover .art .bi { transform: scale(1.18) rotate(-6deg); }
.cost h3 { font-size: 1rem; margin: 0; }
.cost .w { color: var(--a-muted); font-size: .84rem; }
.cost .price { font-weight: 900; font-size: 1.1rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.cost .price small { color: var(--a-muted); font-weight: 600; font-size: .76rem; }
@media (max-width: 1199.98px) { .costs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) {
  .costs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * clamp(16px, 3.6vw, 40px)); padding: 4px clamp(16px, 3.6vw, 40px) 10px; scrollbar-width: none; }
  .costs::-webkit-scrollbar { display: none; }
  .cost { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---------- Journey (how it works) ---------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.journey-line { position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: rgba(255,255,255,.14); }
.journey-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--a-blue), var(--a-orange)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; display: grid; gap: 12px; align-content: start; }
.step .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; background: var(--a-navy-800); border: 2px solid rgba(255,255,255,.18); color: #fff; position: relative; z-index: 1; transition: background .4s, border-color .4s; }
.step.is-lit .n { background: var(--a-blue); border-color: var(--a-blue); }
.step:last-child.is-lit .n { background: var(--a-orange); border-color: var(--a-orange); }
.step h3 { font-size: 1.2rem; margin: 10px 0 0; }
.step p { color: rgba(255,255,255,.7); margin: 0; }
@media (max-width: 991.98px) {
  .journey { grid-template-columns: 1fr; gap: 26px; padding-left: 4px; }
  .journey-line { left: 31px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .journey-line i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step .n { grid-row: span 2; }
  .step h3 { margin: 8px 0 0; }
}

/* ---------- Promo tiles ---------- */
.promo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 340px; height: 100%; border-radius: 28px; padding: clamp(26px, 4vw, 42px); color: #fff; background: linear-gradient(160deg, #0f2f86, var(--a-navy)); isolation: isolate; }
.promo:hover { color: #fff; }
.promo > :not(.promo-art) { position: relative; z-index: 1; }
.promo h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.03em; margin: 0; }
.promo p { color: rgba(255,255,255,.75); max-width: 28em; margin: 0; }
.promo .btn { align-self: flex-start; }
.promo .eyebrow { color: #fff; }
.promo-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; transition: transform 1.2s var(--a-ease); }
.promo:hover .promo-art { transform: scale(1.05); }
.promo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(6,26,74,.94) 22%, rgba(6,26,74,.1) 78%); }
.promo--blue { background: linear-gradient(160deg, var(--a-blue), var(--a-blue-700)); }
.promo--blue::after { background: linear-gradient(to top, rgba(0,59,208,.96) 26%, rgba(0,59,208,0) 80%); }
.bars { position: absolute; right: 9%; top: 12%; height: 48%; display: flex; gap: 9px; align-items: end; opacity: .6; z-index: 0; }
.bars span { width: 16px; border-radius: 6px 6px 2px 2px; background: #fff; transform-origin: bottom; transform: scaleY(.15); transition: transform 1.2s var(--a-ease); }
.is-in .bars span, .bars.is-in span { transform: scaleY(1); }

/* ---------- FAQ (Bootstrap accordion) ---------- */
.faq-aside { position: sticky; top: 120px; display: grid; gap: 18px; }
.faq-aside h2 { font-size: var(--a-fs-h2); font-weight: 900; letter-spacing: -0.03em; margin: 0; }
.faq-aside p { color: var(--a-muted); margin: 0; }
.accordion { --bs-accordion-border-color: var(--a-line); --bs-accordion-border-radius: 18px; --bs-accordion-inner-border-radius: 18px; --bs-accordion-btn-padding-x: 1.5rem; --bs-accordion-btn-padding-y: 1.35rem; --bs-accordion-body-padding-x: 1.5rem; --bs-accordion-body-padding-y: 0; --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--a-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 4px var(--a-blue-50); --bs-accordion-btn-color: var(--a-ink); display: grid; gap: 12px; }
.accordion-item { border: 1px solid var(--a-line) !important; border-radius: 18px !important; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.accordion-item:has(.accordion-collapse.show) { box-shadow: var(--a-shadow); border-color: var(--a-blue-100) !important; }
.accordion-button { font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; gap: 18px; border-radius: 18px !important; }
.accordion-button::after { width: 34px; height: 34px; border-radius: 50%; background: var(--a-cloud) center / 14px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230b1633' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 2v12M2 8h12'/%3E%3C/svg%3E"); transition: transform .4s var(--a-ease), background-color .3s; }
.accordion-button:not(.collapsed)::after { transform: rotate(135deg); background-color: var(--a-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 2v12M2 8h12'/%3E%3C/svg%3E"); }
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-body { color: var(--a-muted); padding-bottom: 1.5rem !important; max-width: 64ch; }
.accordion-body p:last-child { margin-bottom: 0; }
@media (max-width: 991.98px) { .faq-aside { position: static; } }

/* ---------- Footer ---------- */
.a-footer { background: var(--a-navy); color: rgba(255,255,255,.72); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .96rem; position: relative; overflow: hidden; }
.a-footer .cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; padding-bottom: clamp(40px, 5vw, 56px); margin-bottom: clamp(40px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.12); }
.a-footer .cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em; margin: 0; max-width: 14ch; }
.a-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.a-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.a-footer a { color: rgba(255,255,255,.72); transition: color .2s; }
.a-footer a:hover { color: #fff; }
.a-footer .contact li { display: flex; gap: 10px; }
.a-footer .contact .bi { color: var(--a-orange); }
.a-footer .hours li { display: flex; justify-content: space-between; gap: 4px 14px; flex-wrap: wrap; }
.a-footer .hours li span { white-space: nowrap; }
.a-footer .hours li span:last-child { color: #fff; }
.a-footer .socials { display: flex; gap: 10px; }
.a-footer .socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; font-size: 1.1rem; transition: transform .3s var(--a-ease), border-color .2s; }
.a-footer .socials a:hover { transform: translateY(-3px); border-color: #fff; }
.a-footer .bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }
.a-footer .wordmark { position: absolute; left: 50%; bottom: -3.2vw; transform: translateX(-50%); font-size: 21vw; font-weight: 900; letter-spacing: -0.06em; line-height: 1; color: rgba(255,255,255,.03); pointer-events: none; white-space: nowrap; }

/* ---------- Inner page hero ---------- */
.p-hero { position: relative; overflow: hidden; padding: calc(env(safe-area-inset-top, 0px) + clamp(124px, 13vw, 160px)) 0 clamp(40px, 5vw, 64px); isolation: isolate; }
.p-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; letter-spacing: -0.025em; line-height: .95; margin: 18px 0 0; animation: a-rise .9s var(--a-ease) both; }
.p-hero .lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); color: var(--a-muted); font-weight: 600; margin: 18px 0 0; max-width: 34em; animation: a-rise .9s .1s var(--a-ease) both; }

/* ---------- Rates ---------- */
.rate-card { background: #fff; border: 1px solid var(--a-line); border-radius: 26px; overflow: hidden; box-shadow: var(--a-shadow-lg); }
.rate-table { width: 100%; margin: 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rate-table th { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--a-muted); font-weight: 700; padding: 18px 28px; background: var(--a-cloud); border-bottom: 1px solid var(--a-line); }
.rate-table td { padding: 16px 28px; border-bottom: 1px solid var(--a-line); font-weight: 600; font-size: 1.06rem; transition: background .25s, color .25s; }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table tbody tr:hover td { background: var(--a-cloud); }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; }
.rate-table td:last-child { font-weight: 900; }
.rate-table tr.is-hit td { background: var(--a-blue-50); color: var(--a-blue); }
.panel-a { background: #fff; border: 1px solid var(--a-line); border-radius: 26px; padding: 28px; display: grid; gap: 16px; }
.panel-a h2 { font-size: 1.35rem; margin: 0; }
.rule { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 600; }
.rule .chip { background: var(--a-cloud); border-radius: 9px; padding: 4px 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rule .bi { color: var(--a-orange); }
.calc-out { background: var(--a-navy); color: #fff; border-radius: 18px; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.calc-out small { color: rgba(255,255,255,.7); display: block; font-size: .82rem; }
.calc-out strong { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* Forms (Bootstrap) */
.form-label { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.form-control, .form-select { min-height: 52px; border-radius: 14px; border: 1.5px solid var(--a-line); padding: .7rem 1rem; font-size: 1rem; color: var(--a-ink); }
.form-control:focus, .form-select:focus { border-color: var(--a-blue); box-shadow: 0 0 0 4px var(--a-blue-50); }
textarea.form-control { min-height: 110px; }
.input-suffix { position: relative; }
.input-suffix span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--a-muted); font-weight: 600; pointer-events: none; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg .btn-check + .btn { --bs-btn-padding-y: .55rem; --bs-btn-padding-x: 1.1rem; --bs-btn-font-weight: 600; --bs-btn-border-color: var(--a-line); --bs-btn-color: var(--a-ink); --bs-btn-hover-bg: var(--a-cloud); --bs-btn-hover-border-color: var(--a-line); --bs-btn-hover-color: var(--a-ink); }
.seg .btn-check:checked + .btn { background: var(--a-blue-50); border-color: var(--a-blue); color: var(--a-blue); font-weight: 700; }
.seg .btn:hover { transform: none; }

/* Modal */
.modal-content { border: 0; border-radius: 26px; box-shadow: var(--a-shadow-lg); }
.modal-header { border: 0; padding: 26px 28px 6px; align-items: flex-start; }
.modal-body { padding: 12px 28px 28px; }
.modal-backdrop.show { opacity: .55; }
.modal-backdrop { --bs-backdrop-bg: #061a4a; }
.success { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 18px 0 8px; animation: a-rise .45s var(--a-ease); }
.success .tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--a-ok-50); color: var(--a-ok); font-size: 2rem; }
.success p { color: var(--a-muted); margin: 0; }

/* ---------- Aira Sea ---------- */
.sea-visual { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 7.2; background: var(--a-navy); box-shadow: var(--a-shadow-lg); animation: a-rise 1s var(--a-ease) both; }
.sea-visual canvas, .sea-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sea-visual .tag { position: absolute; left: 22px; top: 22px; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .86rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sea-visual .tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--a-orange); animation: a-pulse 2s infinite; box-shadow: 0 0 0 4px rgba(255,106,0,.3); }
@media (max-width: 767.98px) { .sea-visual { aspect-ratio: 4 / 3.4; } }
.why { height: 100%; padding: 30px; border-radius: 24px; background: #fff; border: 1px solid var(--a-line); display: grid; gap: 12px; align-content: start; transition: transform .35s var(--a-ease), box-shadow .35s; }
.why:hover { transform: translateY(-5px); box-shadow: var(--a-shadow); }
.why .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--a-blue-50); color: var(--a-blue); font-size: 1.45rem; }
.why h3 { font-size: 1.25rem; margin: 6px 0 0; }
.why p { color: var(--a-muted); margin: 0; }
.cta-band { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(32px, 5vw, 60px); background: var(--a-navy); color: #fff; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; margin: 0; }
.cta-band p { color: rgba(255,255,255,.72); margin: 8px 0 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band::after { content: ""; position: absolute; right: -90px; top: -140px; width: 340px; height: 340px; border-radius: 50%; border: 52px solid rgba(0,76,255,.4); animation: a-float 9s ease-in-out infinite; }

/* ---------- Auth ---------- */
.auth { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-side { position: relative; overflow: hidden; color: #fff; background: var(--a-navy); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; isolation: isolate; }
.auth-side .mesh i { opacity: .35; }
.auth-side h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 900; letter-spacing: -0.025em; line-height: 1; margin: 0; }
.auth-side p { color: rgba(255,255,255,.72); font-size: 1.1rem; margin: 16px 0 0; max-width: 26em; }
.auth-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.auth-side li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.auth-side li .bi { color: var(--a-orange); font-size: 1.1rem; }
.auth-main { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px); }
.auth-form { width: min(420px, 100%); display: grid; gap: 18px; animation: a-rise .8s var(--a-ease) both; }
.auth-form h2 { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; margin: 0; }
.auth-form > p { color: var(--a-muted); margin: 0; }
.auth-alt { text-align: center; color: var(--a-muted); font-size: .95rem; padding-top: 18px; border-top: 1px solid var(--a-line); margin: 0; }
.auth-logo-m { display: none; }
@media (max-width: 899.98px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-logo-m { display: flex; justify-content: center; } }

/* Toast */
.a-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); z-index: 2000; background: var(--a-navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: var(--a-shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--a-ease); max-width: calc(100% - 32px); }
.a-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Phone refinements ---------- */
.tile--hero > *:not(.orbit) { position: relative; z-index: 1; }
@media (max-width: 575.98px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 26px; margin-top: 34px; }
  .hero-proof .sep { display: none; }
  .hero-proof strong { font-size: 1.6rem; }
  .value { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; }
  .value .ic { width: 44px; height: 44px; font-size: 1.2rem; }
  .tile--hero .orbit { width: 90%; right: -30%; top: -20%; opacity: .6; }
  .label-stage { padding-top: 64px; }
  .sec-head > div:last-child:not(:first-child) { width: 100%; }
}

/* Poppins weights */
.hero h1, .sec-head h2, .faq-aside h2, .p-hero h1, .track-shell h2, .tile--hero h3, .a-footer .cta h2 { font-weight: 800; }
.hero-sub, .p-hero .lede { font-weight: 500; }

/* ==========================================================================
   v3.1 — "Box" hero: framed hero panel, isometric cube pattern, 3D parcels
   ========================================================================== */
.hero { padding: calc(env(safe-area-inset-top, 0px) + 10px) clamp(8px, 1.1vw, 16px) 0; overflow: visible; }
.hero-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(24px, 3vw, 40px);
  background: #f3f6ff; border: 1px solid #e3e9f8; perspective: 1200px;
  padding: clamp(118px, 12vw, 150px) 0 clamp(48px, 6vw, 84px);
}
.hero-box .mesh { inset: -10% -10% auto -10%; height: 120%; }
.hero-box .mesh i { opacity: .45; }
/* isometric boxes, fading out behind the headline */
.cubes {
  --c1: #f7f9ff; --c2: #e8eeff; --c3: #dbe4ff;
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--c1);
  background-image:
    linear-gradient(30deg, var(--c3) 12%, transparent 12.5%, transparent 87%, var(--c3) 87.5%, var(--c3)),
    linear-gradient(150deg, var(--c3) 12%, transparent 12.5%, transparent 87%, var(--c3) 87.5%, var(--c3)),
    linear-gradient(30deg, var(--c3) 12%, transparent 12.5%, transparent 87%, var(--c3) 87.5%, var(--c3)),
    linear-gradient(150deg, var(--c3) 12%, transparent 12.5%, transparent 87%, var(--c3) 87.5%, var(--c3)),
    linear-gradient(60deg, var(--c2) 25%, transparent 25.5%, transparent 75%, var(--c2) 75%, var(--c2)),
    linear-gradient(60deg, var(--c2) 25%, transparent 25.5%, transparent 75%, var(--c2) 75%, var(--c2));
  background-size: 64px 112px;
  background-position: 0 0, 0 0, 32px 56px, 32px 56px, 0 0, 32px 56px;
  mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.35) 46%, #000 78%);
  -webkit-mask-image: linear-gradient(100deg, transparent 18%, rgba(0,0,0,.35) 46%, #000 78%);
  animation: cubes-drift 60s linear infinite;
}
@keyframes cubes-drift { to { background-position: 64px 112px, 64px 112px, 96px 168px, 96px 168px, 64px 112px, 96px 168px; } }
@media (max-width: 991.98px) { .cubes { mask-image: linear-gradient(180deg, transparent 30%, #000 75%); -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 75%); } }

/* 3D parcels */
.parcel { --s: 110px; position: absolute; width: var(--s); height: var(--s); transform-style: preserve-3d; z-index: 0; pointer-events: none;
  animation: parcel-float 9s ease-in-out infinite; }
.parcel i { position: absolute; inset: 0; backface-visibility: hidden; }
.parcel .f  { transform: translateZ(calc(var(--s) / 2)); }
.parcel .bk { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.parcel .r  { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.parcel .l  { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.parcel .t  { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.parcel .b  { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
/* kraft cardboard with orange tape */
.parcel--kraft .f, .parcel--kraft .bk { background: #d7a46a; }
.parcel--kraft .r, .parcel--kraft .l { background: #c48d52; }
.parcel--kraft .t { background: linear-gradient(90deg, #e3b37c 0 42%, var(--a-orange) 42% 58%, #e3b37c 58%); }
.parcel--kraft .b { background: #b98146; }
.parcel--kraft .f::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 36%; background: var(--a-orange); }
.parcel--kraft .f::before { content: "AIRA"; position: absolute; left: 12%; bottom: 12%; font: 900 calc(var(--s) * .13)/1 var(--a-font); letter-spacing: .04em; color: rgba(70,40,10,.45); }
/* brand blue box */
.parcel--blue .f, .parcel--blue .bk { background: var(--a-blue); }
.parcel--blue .r, .parcel--blue .l { background: #003bd0; }
.parcel--blue .t { background: linear-gradient(90deg, #2e6bff 0 42%, #ffffff 42% 58%, #2e6bff 58%); }
.parcel--blue .b { background: #0030aa; }
.parcel--blue .f::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 36%; background: #fff; }
/* white box */
.parcel--white .f, .parcel--white .bk { background: #ffffff; }
.parcel--white .r, .parcel--white .l { background: #e6ebf6; }
.parcel--white .t { background: linear-gradient(90deg, #f7f9ff 0 42%, var(--a-blue) 42% 58%, #f7f9ff 58%); }
.parcel--white .b { background: #d8deec; }
@keyframes parcel-float {
  0%   { transform: translate3d(0, 0, 0) rotateX(-24deg) rotateY(var(--ry0, 32deg)); }
  50%  { transform: translate3d(0, -16px, 0) rotateX(-18deg) rotateY(calc(var(--ry0, 32deg) + 26deg)); }
  100% { transform: translate3d(0, 0, 0) rotateX(-24deg) rotateY(var(--ry0, 32deg)); }
}
.parcel.p1 { --s: 120px; right: 2.5%; top: 17%; --ry0: 28deg; }
.parcel.p2 { --s: 78px; left: 44%; bottom: 12%; --ry0: -30deg; animation-delay: -3s; animation-duration: 11s; }
.parcel.p3 { --s: 54px; right: 40%; top: 13%; --ry0: 50deg; animation-delay: -6s; animation-duration: 8s; }
.parcel.p4 { --s: 60px; right: 1.5%; bottom: 5%; --ry0: -12deg; animation-delay: -1.5s; }
.label-stage { z-index: 1; }
@media (max-width: 1199.98px) { .parcel.p2, .parcel.p3 { display: none; } }
@media (max-width: 991.98px) { .parcel.p1 { --s: 84px; top: auto; bottom: 46%; right: 4%; } .parcel.p4 { display: none; } }
@media (max-width: 575.98px) { .parcel.p1 { --s: 62px; bottom: 44%; right: 2%; } }

/* subtle cube texture on the navy section too */
.sec--navy { overflow: hidden; isolation: isolate; }
.sec--navy::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-color: transparent;
  background-image:
    linear-gradient(30deg, #0d2a72 12%, transparent 12.5%, transparent 87%, #0d2a72 87.5%, #0d2a72),
    linear-gradient(150deg, #0d2a72 12%, transparent 12.5%, transparent 87%, #0d2a72 87.5%, #0d2a72),
    linear-gradient(30deg, #0d2a72 12%, transparent 12.5%, transparent 87%, #0d2a72 87.5%, #0d2a72),
    linear-gradient(150deg, #0d2a72 12%, transparent 12.5%, transparent 87%, #0d2a72 87.5%, #0d2a72),
    linear-gradient(60deg, #0a2161 25%, transparent 25.5%, transparent 75%, #0a2161 75%, #0a2161),
    linear-gradient(60deg, #0a2161 25%, transparent 25.5%, transparent 75%, #0a2161 75%, #0a2161);
  background-size: 64px 112px; background-position: 0 0, 0 0, 32px 56px, 32px 56px, 0 0, 32px 56px;
  mask-image: radial-gradient(80% 90% at 90% 10%, #000, transparent 70%); -webkit-mask-image: radial-gradient(80% 90% at 90% 10%, #000, transparent 70%);
}
#track.pb-5 { margin-top: clamp(-56px, -4vw, -32px) !important; position: relative; z-index: 2; }

/* ---------- Back to top (minimal) ---------- */
.to-top {
  --p: 0; position: fixed; right: max(16px, env(safe-area-inset-right, 0px) + 16px); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 1020;
  width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center;
  background: conic-gradient(var(--a-orange) calc(var(--p) * 1turn), rgba(6,26,74,.12) 0); color: var(--a-navy);
  box-shadow: 0 10px 26px -12px rgba(6,26,74,.5); opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .3s, transform .35s var(--a-ease);
}
.to-top::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #fff; }
.to-top .bi { position: relative; font-size: 1.1rem; transition: transform .3s var(--a-ease); }
.to-top:hover .bi { transform: translateY(-3px); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ==========================================================================
   v3.2 — Simple, clean header (replaces the floating pill nav)
   ========================================================================== */
html { scroll-padding-top: 96px; }
.a-nav { display: none; }
.a-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.a-head.is-scrolled { border-bottom-color: var(--a-line); box-shadow: 0 8px 24px -18px rgba(6,26,74,.35); }
.a-head-row { display: flex; align-items: center; gap: 16px; height: 80px; }
.a-head-logo svg, .a-head-logo img { height: 46px; }
.a-head .a-links { margin: 0 auto; gap: 4px; }
.a-head .a-links a { font-weight: 600; font-size: .98rem; padding: 10px 14px; border-radius: 10px; color: var(--a-ink); }
.a-head .a-links a:hover { background: var(--a-cloud); color: var(--a-blue); }
.a-head .a-links a[aria-current="page"] { color: var(--a-blue); }
.a-head .a-links a[aria-current="page"]::after { bottom: 3px; }
.a-head .a-actions { margin-left: 0; gap: 6px; }
.a-text-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; color: var(--a-ink); font-weight: 600; font-size: .96rem; transition: background .2s, color .2s; }
.a-text-link:hover { background: var(--a-cloud); color: var(--a-blue); }
.a-text-link .bi { font-size: 1.05rem; }
@media (max-width: 1099.98px) { .a-head .a-actions { margin-left: auto; } }
@media (max-width: 575.98px) { .a-head-row { height: 68px; } .a-head-logo svg, .a-head-logo img { height: 38px; } }

/* Hero & page tops now sit below the header instead of under it */
.hero { padding-top: 6px; }
.hero-box { padding-top: clamp(48px, 6vw, 84px); }
.p-hero { padding-top: clamp(48px, 6vw, 84px); }
.label-chip--a { top: 4px; }

/* ==========================================================================
   v3.3 — Boarding pass route (MIA → JAM)
   ========================================================================== */
.label-route { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; column-gap: clamp(10px, 2vw, 20px); padding: 22px 26px 18px; }
.label-route .end { display: grid; gap: 2px; min-width: 0; }
.label-route .end.to { justify-items: end; text-align: right; }
.label-route small.lbl { margin: 0 0 4px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--a-muted); }
.label-route .code { font-size: clamp(2.3rem, 4.4vw, 3rem); line-height: .95; }
.label-route small.city { margin-top: 6px; font-size: .84rem; font-weight: 600; color: var(--a-ink); line-height: 1.3; text-wrap: balance; }
.label-route .path { align-self: center; margin-top: 14px; }
@media (max-width: 575.98px) {
  .label-route { padding: 18px 18px 14px; }
  .label-route .path { width: 56px; }
  .label-route small.city { font-size: .78rem; }
}

/* ==========================================================================
   Tax-free guide
   ========================================================================== */
.tx-card { background: #fff; border: 1px solid var(--a-line); border-radius: 26px; padding: clamp(20px, 3.4vw, 36px); box-shadow: var(--a-shadow-lg); }
.tx-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--a-cloud); border-radius: 999px; margin-bottom: 26px; }
.tx-tabs .nav-link { border-radius: 999px; padding: 9px 22px; font-weight: 600; color: var(--a-muted); border: 0; background: none; transition: background .2s, color .2s, box-shadow .2s; }
.tx-tabs .nav-link:hover { color: var(--a-ink); }
.tx-tabs .nav-link.active { background: #fff; color: var(--a-blue); box-shadow: 0 6px 16px -10px rgba(6,26,74,.45); }
.tx-h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; margin: 0 0 8px; }
.tx-steps { list-style: none; counter-reset: tx; margin: 0; padding: 0; display: grid; gap: 0; }
.tx-steps li { counter-increment: tx; position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 0; min-height: 56px; }
.tx-steps li::before { content: counter(tx); flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--a-blue-50); color: var(--a-blue); position: relative; z-index: 1; }
.tx-steps li:last-child::before { background: var(--a-orange); color: #fff; }
.tx-steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 46px; bottom: -10px; width: 2px; background: var(--a-line); }
.tx-steps b { color: var(--a-ink); }
.tx-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--a-orange-50); margin-top: 18px; }
.tx-note > .bi { color: var(--a-orange); font-size: 1.3rem; line-height: 1.2; }
.tx-note b { display: block; color: var(--a-ink); }
.tx-note span { color: var(--a-muted); font-size: .95rem; }
.tx-ebay { display: grid; gap: 10px; justify-items: start; }
.tx-ebay .tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--a-ok-50); color: var(--a-ok); font-size: 1.6rem; margin-bottom: 6px; }
.tx-side { background: #fff; border: 1px solid var(--a-line); border-radius: 26px; padding: 26px; display: grid; gap: 16px; position: sticky; top: 104px; }
.tx-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tx-check li { display: flex; gap: 10px; color: var(--a-muted); font-size: .96rem; }
.tx-check .bi { color: var(--a-blue); font-size: 1.15rem; flex: none; }
.tx-check b { color: var(--a-ink); }
.tx-contact { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--a-ink); padding: 10px 12px; border-radius: 12px; background: var(--a-cloud); transition: background .2s, color .2s; word-break: break-word; }
.tx-contact:hover { background: var(--a-blue-50); color: var(--a-blue); }
.tx-contact .bi { color: var(--a-blue); }
@media (max-width: 991.98px) { .tx-side { position: static; } }
@media (max-width: 575.98px) { .tx-hero-ctas .btn { flex: 1 1 100%; } .tx-tabs { display: flex; } .tx-tabs .nav-item { flex: 1; } .tx-tabs .nav-link { width: 100%; } }

/* Header fit: keep menu on one line at every width */
.a-head .a-links a { white-space: nowrap; }
@media (max-width: 1299.98px) {
  .a-head .a-links a { padding: 10px 10px; font-size: .94rem; }
  .a-head .a-text-link span { display: none; }
  .a-head .a-text-link { padding: 9px 10px; font-size: 1.1rem; }
}
@media (max-width: 1199.98px) {
  .a-head .a-links, .a-head .a-hide-md, .a-head .a-text-link { display: none !important; }
  .a-head .a-burger { display: inline-grid; }
  .a-head .a-actions { margin-left: auto; }
}

.label-route { align-items: start; }
.label-route small.city { display: grid; gap: 1px; text-wrap: nowrap; }
.label-route small.city span { display: block; }
.label-route .path { align-self: start; margin-top: clamp(30px, 3.4vw, 38px); }
/* soften the bottom edge of inner-page heroes */
.p-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); z-index: -1; pointer-events: none; }

/* Menu panel header: logo left, close button right */
.offcanvas-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.offcanvas-header .a-icon-btn { margin-left: auto; flex: none; }
.offcanvas-header .logo svg, .offcanvas-header .logo img { height: 36px; }
.offcanvas.offcanvas-end { width: min(400px, 100vw); }
.offcanvas-body { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.offcanvas-header { padding-top: calc(18px + env(safe-area-inset-top, 0px)); }

/* ==========================================================================
   Rates: estimate calculator + rate sheets
   ========================================================================== */
.justify-self-start { justify-self: start; }
.est { background: #fff; border: 1px solid var(--a-line); border-radius: 28px; padding: clamp(20px, 3.4vw, 36px); box-shadow: var(--a-shadow-lg); display: grid; gap: 26px; }
.est-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.est-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 0 0 4px; }
.est .tx-tabs .nav-link { display: inline-flex; align-items: center; gap: 8px; }
.stepper { display: flex; gap: 8px; align-items: stretch; }
.step-btn { flex: none; width: 52px; border-radius: 14px; border: 1.5px solid var(--a-line); background: #fff; font-size: 1.1rem; color: var(--a-ink); transition: border-color .2s, background .2s; }
.step-btn:hover { border-color: var(--a-blue); color: var(--a-blue); background: var(--a-blue-50); }
.stepper .form-control { font-size: 1.35rem; font-weight: 700; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--a-muted); font-weight: 600; pointer-events: none; }
.input-prefix .form-control { padding-left: 52px; }
.form-range { accent-color: var(--a-blue); }
.form-range::-webkit-slider-thumb { background: var(--a-blue); }
.form-range::-moz-range-thumb { background: var(--a-blue); }
.form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--a-blue-50); }

.receipt { height: 100%; min-height: 280px; background: var(--a-navy); color: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }
.receipt::after { content: ""; position: absolute; right: -70px; top: -90px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(0,76,255,.35); pointer-events: none; }
.receipt > * { position: relative; z-index: 1; animation: a-rise .35s var(--a-ease); }
.r-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px dashed rgba(255,255,255,.2); flex-wrap: wrap; }
.r-top small { color: rgba(255,255,255,.65); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.r-top b { font-size: 1.15rem; }
.r-top em, .r-row em { font-style: normal; color: rgba(255,255,255,.6); font-weight: 400; font-size: .82rem; }
.r-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; color: rgba(255,255,255,.85); }
.r-row b { color: #fff; white-space: nowrap; }
.r-total { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); display: grid; gap: 2px; }
.r-total span { color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; }
.r-total strong { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; }
.r-total small { color: var(--a-orange); font-weight: 600; }
.r-note { margin: 10px 0 0; color: rgba(255,255,255,.6); font-size: .82rem; }
.r-empty { margin: auto 0; display: grid; justify-items: center; text-align: center; gap: 12px; color: rgba(255,255,255,.75); padding: 20px 0; }
.r-empty .bi { font-size: 2rem; color: var(--a-orange); }

.box-head, .box-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .8fr) 44px; gap: 8px; align-items: center; }
.box-head { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--a-muted); margin-bottom: 6px; padding-left: 4px; }
.box-row .form-control { min-height: 48px; padding: .5rem .7rem; text-align: center; }
.box-row .a-icon-btn { width: 44px; height: 44px; border-radius: 12px; font-size: .95rem; }
.seg .btn .bi { margin-right: 2px; }

.est-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px; border-radius: 18px; background: var(--a-orange-50); }
.est-foot > .bi { font-size: 1.5rem; color: var(--a-orange); }
.est-foot > span { flex: 1 1 320px; color: var(--a-muted); }
.est-foot b { color: var(--a-ink); }

.rate-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 26px; border-bottom: 1px solid var(--a-line); }
.rate-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-height: 312px; overflow: hidden; transition: max-height .6s var(--a-ease); position: relative; }
.rate-grid.is-open { max-height: 1600px; }
.rate-grid:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.rate-cell { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 22px; border-bottom: 1px solid var(--a-line); border-right: 1px solid var(--a-line); font-variant-numeric: tabular-nums; transition: background .25s, color .25s; }
.rate-cell:nth-child(3n) { border-right: 0; }
.rate-cell span { color: var(--a-muted); font-weight: 600; font-size: .92rem; }
.rate-cell b { font-weight: 800; }
.rate-cell:hover { background: var(--a-cloud); }
.rate-cell.is-hit { background: var(--a-blue-50); }
.rate-cell.is-hit span, .rate-cell.is-hit b { color: var(--a-blue); }
.rate-more { width: 100%; border: 0; background: #fff; padding: 16px; font-weight: 700; color: var(--a-blue); display: flex; justify-content: center; align-items: center; gap: 8px; border-top: 1px solid var(--a-line); }
.rate-more:hover { background: var(--a-cloud); }
@media (max-width: 575.98px) {
  .rate-grid { grid-template-columns: repeat(2, 1fr); max-height: 360px; }
  .rate-cell { padding: 13px 16px; }
  .rate-cell:nth-child(3n) { border-right: 1px solid var(--a-line); }
  .rate-cell:nth-child(2n) { border-right: 0; }
  .box-head, .box-row { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .9fr) 40px; gap: 6px; }
  .box-row .form-control { padding: .45rem .3rem; }
  .box-row .a-icon-btn { width: 40px; height: 40px; }
  .est-head .tx-tabs { width: 100%; }
}
.fee-list { list-style: none; margin: 0; padding: 0; display: grid; }
.fee-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--a-line); font-weight: 500; }
.fee-list li:last-child { border-bottom: 0; }
.fee-list b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-list .small-note { color: var(--a-muted); font-size: .85rem; font-weight: 400; display: block; }
.panel-navy { background: var(--a-navy); border-color: var(--a-navy); color: #fff; }
.panel-navy .fee-list li { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.panel-navy .fee-list b { color: #fff; }
.sea-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 18px; border-radius: 16px; background: var(--a-blue-50); }
.sea-rate b { font-size: 1.3rem; font-weight: 800; color: var(--a-blue); }
.sea-rate span { color: var(--a-muted); font-weight: 600; font-size: .92rem; }
.sea-rate i { width: 1px; height: 18px; background: var(--a-blue-100); margin: 0 6px; }
/* rates polish */
.receipt::after { right: -110px; top: auto; bottom: -120px; }
.est .tx-tabs .nav-link { white-space: nowrap; }
@media (max-width: 575.98px) { .est .tx-tabs .nav-link { padding: 9px 12px; font-size: .92rem; gap: 6px; } }
.rule { display: grid; grid-template-columns: auto 18px 1fr; align-items: center; column-gap: 10px; }
.rule .chip { white-space: nowrap; }

.rate-grid { max-height: none; overflow: visible; }
.rate-grid::after { display: none; }
@media (max-width: 575.98px) { .rate-grid { max-height: none; } }
a.rate-more { text-align: center; flex-wrap: wrap; }

/* ---------- Sign-up & login extras ---------- */
.auth-form--wide { width: min(520px, 100%); }
.form-label .opt { color: var(--a-muted); font-weight: 500; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-item { position: relative; cursor: pointer; margin: 0; }
.choice-item input { position: absolute; opacity: 0; pointer-events: none; }
.choice-item span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px; border: 1.5px solid var(--a-line); border-radius: 14px; font-weight: 600; font-size: .88rem; line-height: 1.3; transition: border-color .2s, background .2s; }
.choice-item .bi { color: var(--a-blue); font-size: 1.1rem; }
.choice-item input:checked + span { border-color: var(--a-blue); background: var(--a-blue-50); color: var(--a-blue); }
.choice-item input:focus-visible + span { box-shadow: 0 0 0 4px var(--a-blue-100); }
@media (max-width: 520px) { .choice { grid-template-columns: 1fr; } .choice-item span { flex-direction: row; align-items: center; } }
.pw { position: relative; }
.pw .form-control { padding-right: 52px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; background: none; color: var(--a-muted); border-radius: 10px; }
.pw-toggle:hover { color: var(--a-ink); }
.welcome { text-align: left; }
.welcome-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--a-ok-50); color: var(--a-ok); display: grid; place-items: center; font-size: 1.7rem; animation: a-rise .6s var(--a-ease) both; }
.welcome-box { background: var(--a-navy); color: #fff; border-radius: 18px; padding: 20px 22px; display: grid; gap: 4px; position: relative; overflow: hidden; }
.welcome-box::after { content: ""; position: absolute; right: -50px; top: -60px; width: 160px; height: 160px; border-radius: 50%; border: 28px solid rgba(0,76,255,.4); }
.welcome-box small { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 700; }
.welcome-box strong { font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: 900; letter-spacing: .02em; font-variant-numeric: tabular-nums; line-height: 1.1; position: relative; z-index: 1; }
.welcome-box strong::after { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--a-orange); margin-left: 8px; vertical-align: middle; }
.welcome-addr { border: 1px solid var(--a-line); border-radius: 18px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.welcome-addr-lines { display: grid; font-weight: 600; line-height: 1.55; }
.demo-creds { border: 1.5px dashed var(--a-blue-100); background: var(--a-blue-50); border-radius: 14px; padding: 12px 14px; font-size: .86rem; color: var(--a-muted); display: grid; gap: 6px; }
.demo-creds b { color: var(--a-ink); }
.demo-creds button { background: none; border: 0; padding: 0; color: var(--a-blue); font-weight: 700; text-align: left; }
.auth-form .btn-link { text-decoration: none; font-size: .95rem; }
.forgot-box { display: grid; gap: 8px; border: 1.5px solid var(--a-blue-100); background: var(--a-blue-50); border-radius: 16px; padding: 14px; font-size: .9rem; color: var(--a-muted); animation: a-rise .35s var(--a-ease) both; }
.forgot-box b { color: var(--a-ink); }
.forgot-box .form-control { min-height: 46px; }
.forgot-box .btn { white-space: nowrap; }

/* ==========================================================================
   Animated tracking
   ========================================================================== */
.trk-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.trk-card { text-align: left; font: inherit; color: inherit; background: var(--a-white); border: 1px solid var(--a-line); border-radius: 18px; padding: 16px 18px 14px; display: grid; gap: 14px; cursor: pointer;
  transition: transform .25s var(--a-ease), box-shadow .25s, border-color .25s; animation: trk-in .55s var(--a-ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
.trk-card:hover { transform: translateY(-3px); box-shadow: var(--a-shadow); border-color: #cfdaf7; }
.trk-card:focus-visible { outline: 2px solid var(--a-blue); outline-offset: 2px; }
@keyframes trk-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.trk-card-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.trk-card-head div { display: grid; min-width: 0; }
.trk-card-head b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk-card-head small { color: var(--a-muted); font-size: .8rem; }
.trk-card-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: var(--a-muted); }
.trk-card-foot .bi { margin-right: 2px; }
.trk-eta { color: var(--a-ink); font-weight: 600; }
.trk-eta--big { margin: -6px 0 0; text-align: center; font-size: .92rem; color: var(--a-navy-800); }
.trk-eta--big .bi { color: var(--a-orange); }

.trk { position: relative; padding-top: 2px; }
.trk-rail { position: absolute; left: 12.5%; right: 12.5%; top: 10px; height: 6px; border-radius: 6px; background: var(--a-line); }
.trk--big .trk-rail { top: 19px; height: 8px; }
.trk-fill { position: absolute; inset: 0; border-radius: inherit; transform-origin: left; transform: scaleX(var(--p));
  background: linear-gradient(90deg, var(--a-blue) 0%, #3b7bff 50%, var(--a-blue) 100%); background-size: 200% 100%;
  animation: trk-grow 1.3s .15s var(--a-ease) both, trk-flow 2.2s linear infinite; }
.is-ready .trk-fill { background: linear-gradient(90deg, var(--a-blue), var(--a-ok)); animation: trk-grow 1.3s .15s var(--a-ease) both; }
.trk.is-done .trk-fill { background: var(--a-ok); animation: trk-grow 1.3s .15s var(--a-ease) both; }
@keyframes trk-grow { from { transform: scaleX(0); } }
@keyframes trk-flow { to { background-position: -200% 0; } }

.trk-mover { position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: var(--a-orange); color: #fff; display: grid; place-items: center; font-size: .85rem; z-index: 3;
  box-shadow: 0 6px 16px -4px rgba(255,106,0,.6), 0 0 0 5px rgba(255,106,0,.16);
  animation: trk-move 1.3s .15s var(--a-ease) both, trk-bob 2.6s 1.5s ease-in-out infinite; }
.trk--big .trk-mover { width: 42px; height: 42px; margin: -21px 0 0 -21px; font-size: 1.15rem; }
.is-transit .trk-mover .bi { transform: rotate(90deg); display: inline-block; }
.is-ready .trk-mover { background: var(--a-ok); box-shadow: 0 6px 16px -4px rgba(15,157,88,.55), 0 0 0 5px rgba(15,157,88,.16); }
.trk.is-done .trk-mover { background: var(--a-ok); box-shadow: 0 0 0 5px var(--a-ok-50); animation: trk-move 1.3s .15s var(--a-ease) both; }
.trk-mover::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid currentColor; color: var(--a-orange); opacity: 0; animation: trk-ping 2s 1.4s ease-out infinite; }
.is-ready .trk-mover::after { color: var(--a-ok); }
.trk.is-done .trk-mover::after { display: none; }
@keyframes trk-move { from { left: 0; } }
@keyframes trk-bob { 50% { transform: translateY(-3px); } }
@keyframes trk-ping { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }

.trk-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; }
.trk-stops li { display: grid; justify-items: center; gap: 8px; }
.trk-stops span { width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: #fff; border: 3px solid var(--a-line); transition: all .3s; }
.trk--big .trk-stops span { width: 18px; height: 18px; margin-top: 14px; }
.trk-stops li.done span { border-color: var(--a-blue); background: var(--a-blue); animation: trk-pop .4s var(--a-ease) both; animation-delay: calc(.2s + var(--d, 0s)); }
.trk.is-done .trk-stops li span { border-color: var(--a-ok); background: var(--a-ok); }
.trk-stops li:nth-child(2) { --d: .3s; } .trk-stops li:nth-child(3) { --d: .6s; } .trk-stops li:nth-child(4) { --d: .9s; }
.trk-stops li.now span { opacity: 0; }
.trk-stops small { font-size: .74rem; font-weight: 600; color: var(--a-muted); margin-top: 8px; }
.trk--big .trk-stops small { font-size: .82rem; margin-top: 16px; }
.trk-stops li.done small, .trk-stops li.now small { color: var(--a-ink); }
.trk-stops li.now small { color: var(--a-orange); font-weight: 800; }
.is-ready .trk-stops li.now small, .trk.is-done .trk-stops li small { color: var(--a-ok); }
@keyframes trk-pop { from { transform: scale(0); } 70% { transform: scale(1.25); } }

.timeline--anim li { animation: trk-in .45s var(--a-ease) both; animation-delay: calc(.35s + var(--i, 0) * 70ms); }
.timeline--anim li.is-latest::before { animation: trk-ping-dot 2s 1s ease-out infinite; }
@keyframes trk-ping-dot { 0% { box-shadow: 0 0 0 0 rgba(0,76,255,.35); } 100% { box-shadow: 0 0 0 10px rgba(0,76,255,0); } }

@media (prefers-reduced-motion: reduce) {
  .trk-card, .trk-fill, .trk-mover, .trk-mover::after, .trk-stops li.done span, .timeline--anim li, .timeline--anim li.is-latest::before { animation: none !important; }
}

/* Public tracking */
.trk-result { background: #fff; border: 1px solid var(--a-line); border-radius: 22px; padding: 22px 24px; display: grid; gap: 18px; box-shadow: var(--a-shadow); animation: trk-in .5s var(--a-ease) both; text-align: left; }
.trk-result-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.trk-result-top .num { font-weight: 900; font-size: 1.3rem; letter-spacing: .02em; }
.trk-result .meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--a-muted); font-size: .9rem; }
.trk-result .meta b { color: var(--a-ink); }
.trk-result .timeline { list-style: none; margin: 0; padding: 0 0 0 20px; display: grid; gap: 12px; border-left: 2px solid var(--a-line); margin-left: 6px; }
.trk-result .timeline li { position: relative; display: grid; }
.trk-result .timeline li::before { content: ""; position: absolute; left: -27px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--a-line); }
.trk-result .timeline li.is-latest::before { background: var(--a-blue); border-color: var(--a-blue); }
.trk-result .timeline b { font-weight: 600; font-size: .95rem; }
.trk-result .timeline time { color: var(--a-muted); font-size: .84rem; }
.track-page { min-height: 70vh; padding: 56px 0 80px; }
.track-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -0.03em; }
