/* ==========================================================================
   SwiftCare Transport — main stylesheet
   Dark navy theme · glass surfaces · blue gradient accents
   ========================================================================== */

:root {
  --bg: #050b1a;
  --bg2: #081226;
  --bg3: #0b1730;
  --surface: rgba(255, 255, 255, 0.04);
  --surface2: rgba(255, 255, 255, 0.075);
  --border: rgba(148, 163, 184, 0.16);
  --border2: rgba(56, 189, 248, 0.38);
  --text: #e8eefb;
  --muted: #9fb0c7;
  --muted2: #6b7d96;
  --primary: #1a8fe6;
  --primary2: #0b5fd0;
  --accent: #38bdf8;
  --accent2: #7dd3fc;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --grad: linear-gradient(135deg, #38bdf8 0%, #1a8fe6 45%, #0b5fd0 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(2, 8, 23, 0.55);
  --glow: 0 10px 40px rgba(26, 143, 230, 0.35);
  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --container: 1760px;
  --container-text: 1100px;
  --gutter: 56px;
  --nav-h: 78px;
}
@media (max-width: 1500px) { :root { --gutter: 40px; } }
@media (max-width: 1024px)  { :root { --gutter: 28px; } }
@media (max-width: 560px)   { :root { --gutter: 18px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(26, 143, 230, 0.22), transparent 60%),
    radial-gradient(700px 500px at 96% 8%, rgba(56, 189, 248, 0.13), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(11, 95, 208, 0.2), transparent 60%);
}
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.page { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
button { font: inherit; }
::selection { background: rgba(56, 189, 248, 0.35); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container-sm { max-width: calc(var(--container-text) + var(--gutter) * 2); }
.section { padding-block: 96px; position: relative; }
.section-tight { padding-block: 64px; }
.section-alt { background: linear-gradient(180deg, rgba(8, 18, 38, 0.55), rgba(8, 18, 38, 0.35)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.78rem; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-0 { margin-bottom: 0 !important; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.flex { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 0.04em; }

/* Eyebrow / labels ------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border2); background: rgba(56, 189, 248, 0.08); color: var(--accent2);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 1.8s infinite; }
.grad-text {
  background: linear-gradient(90deg, #7dd3fc, #38bdf8, #1a8fe6, #7dd3fc);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradientMove 6s linear infinite;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap; line-height: 1.2; position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(26, 143, 230, 0.5); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: #fff; }
.btn-ghost:hover { background: var(--surface2); border-color: var(--border2); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary2); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2); }
.btn-danger { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }
.btn-danger:hover { background: rgba(239, 68, 68, 0.3); }
.btn-success { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.4); color: #86efac; }
.btn-success:hover { background: rgba(34, 197, 94, 0.3); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 10px; }
.btn-xs { padding: 6px 11px; font-size: 0.78rem; border-radius: 8px; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Navigation ------------------------------------------------------------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.35s, box-shadow 0.35s, border-color 0.35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5, 11, 26, 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { display: block; width: auto; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s; filter: drop-shadow(0 6px 18px rgba(26, 143, 230, 0.35)); }
.logo .logo-full { height: 46px; }
.logo .logo-mark { height: 44px; display: none; }
.logo:hover img { transform: scale(1.05); filter: drop-shadow(0 8px 22px rgba(56, 189, 248, 0.55)); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }
.footer-logo { margin-bottom: 18px; }
.footer-logo .logo-full { height: 52px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: 0.25s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: var(--surface2); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer, .nav-scrim { display: none; }
@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 58; background: rgba(3, 7, 18, 0.62);
    opacity: 0; transition: opacity 0.35s; pointer-events: none;
  }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }
  .nav-drawer {
    display: flex; flex-direction: column; position: fixed; top: var(--nav-h); right: 0; bottom: 0;
    width: min(360px, 86%); z-index: 60;
    background: #070f21; border-left: 1px solid var(--border); padding: 24px;
    transform: translateX(105%); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    box-shadow: -24px 0 60px rgba(2, 8, 23, 0.6);
  }
  .nav-drawer.open { transform: none; }
  .nav-drawer ul { list-style: none; padding: 0; margin: 0 0 20px; }
  .nav-drawer li a { display: block; padding: 14px 16px; border-radius: 12px; color: var(--text); font-weight: 500; font-size: 1.05rem; }
  .nav-drawer li a:hover, .nav-drawer li a.active { background: var(--surface2); color: #fff; }
  .nav-drawer .drawer-actions { display: flex; flex-direction: column; gap: 10px; }
  .nav.scrolled, .nav.menu-open { background: rgba(5, 11, 26, 0.9); }
}
/* Phones: show the icon only, exactly as supplied for mobile */
@media (max-width: 640px) {
  .nav .logo .logo-full { display: none; }
  .nav .logo .logo-mark { display: block; }
}

/* Toasts / alerts -------------------------------------------------------- */
.toasts { position: fixed; top: calc(var(--nav-h) + 14px); right: 18px; z-index: 100; display: flex; flex-direction: column; gap: 10px; max-width: 380px; width: calc(100% - 36px); pointer-events: none; }
.toast { pointer-events: auto; padding: 14px 16px; border-radius: 14px; background: rgba(8, 18, 38, 0.94); border: 1px solid var(--border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); display: flex; gap: 12px; align-items: flex-start; animation: toastIn 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); font-size: 0.92rem; }
.toast svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.toast.success { border-color: rgba(34, 197, 94, 0.5); } .toast.success svg { color: var(--success); }
.toast.error { border-color: rgba(239, 68, 68, 0.5); } .toast.error svg { color: var(--danger); }
.toast.info { border-color: var(--border2); } .toast.info svg { color: var(--accent); }
.toast.hide { opacity: 0; transform: translateX(30px); transition: 0.4s; }
.alert { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 18px; font-size: 0.92rem; display: flex; gap: 10px; }
.alert-error { border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.1); color: #fecaca; }
.alert-success { border-color: rgba(34, 197, 94, 0.45); background: rgba(34, 197, 94, 0.1); color: #bbf7d0; }
.alert-info { border-color: var(--border2); background: rgba(56, 189, 248, 0.1); color: #bae6fd; }
.alert ul { margin: 0; padding-left: 18px; }

/* Cards ------------------------------------------------------------------ */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s; }
.card-hover:hover { transform: translateY(-6px); border-color: var(--border2); box-shadow: var(--shadow); }
.card-sm { padding: 20px; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.25); display: grid; place-items: center; color: var(--accent); margin-bottom: 18px; transition: 0.35s; }
.icon-box svg { width: 24px; height: 24px; }
.card:hover .icon-box { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(-6deg) scale(1.05); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 90px; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin: 0 0 20px; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 8px; }
.track-form { display: flex; gap: 8px; margin: 26px 0 14px; padding: 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: 0.3s; max-width: 600px; }
.track-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15); }
.track-form input { flex: 1; background: transparent; border: 0; color: #fff; font-size: 1rem; padding: 12px 14px; outline: 0; min-width: 0; font-family: var(--font-body); }
.track-form input::placeholder { color: var(--muted2); }
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero-badges svg { width: 16px; height: 16px; color: var(--success); }
.hero-stats { display: flex; gap: 40px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

.hero-visual { position: relative; height: 580px; }
.hv-img { position: absolute; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hv-img img { width: 100%; height: 100%; object-fit: cover; }
.hv-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 11, 26, 0.6)); }
.hv-1 { width: 64%; height: 62%; top: 0; right: 0; animation: float 7s ease-in-out infinite; }
.hv-2 { width: 54%; height: 46%; bottom: 0; left: 0; animation: float 8.5s ease-in-out infinite reverse; }
.hv-3 { width: 30%; height: 28%; top: 8%; left: 2%; animation: float 6s ease-in-out infinite 1s; }
.hv-card { position: absolute; padding: 14px 16px; border-radius: 16px; background: rgba(8, 18, 38, 0.88); border: 1px solid var(--border2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; z-index: 2; min-width: 210px; }
.hv-card.c1 { bottom: 34%; right: 46%; animation-delay: 0.6s; }
.hv-card.c2 { bottom: 6%; right: 4%; animation-delay: 1.4s; }
.hv-card .hc-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); font-weight: 600; margin-bottom: 6px; }
.hv-card .hc-row { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; }
.hv-card .mini-progress { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); margin-top: 10px; overflow: hidden; }
.hv-card .mini-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; animation: grow 2.4s 0.8s forwards cubic-bezier(0.2, 0.7, 0.2, 1); }
.orbit { position: absolute; inset: -40px; border-radius: 50%; border: 1px dashed rgba(56, 189, 248, 0.2); animation: spin 60s linear infinite; pointer-events: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.25); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent); animation: scrollCue 1.8s infinite; }

/* Marquee ---------------------------------------------------------------- */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(8, 18, 38, 0.5); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { color: var(--muted); font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.marquee-track span svg { width: 16px; height: 16px; color: var(--accent); }

/* Services --------------------------------------------------------------- */
.service-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: 0.4s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-8px); border-color: var(--border2); box-shadow: var(--shadow); }
.sc-img { height: 210px; overflow: hidden; position: relative; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 11, 26, 0.85)); }
.service-card:hover .sc-img img { transform: scale(1.1); }
.sc-body { padding: 24px; position: relative; flex: 1; }
.sc-body .icon-box { position: absolute; top: -30px; right: 22px; margin: 0; background: var(--bg3); box-shadow: var(--shadow); }
.sc-body p { color: var(--muted); font-size: 0.95rem; margin: 0 0 14px; }
.sc-link { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.sc-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.service-card:hover .sc-link svg { transform: translateX(4px); }

/* Steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: 0.35s; }
.step:hover { border-color: var(--border2); transform: translateY(-4px); }
.step-num { position: absolute; top: 12px; right: 20px; font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: rgba(56, 189, 248, 0.1); line-height: 1; }
.step h3 { margin-top: 14px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Split feature ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { position: relative; }
.split-img > img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; height: 460px; object-fit: cover; }
.split-img .float-card { position: absolute; padding: 16px 18px; border-radius: 16px; background: rgba(8, 18, 38, 0.9); border: 1px solid var(--border2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.split-img .float-card.tl { top: 22px; left: -28px; }
.split-img .float-card.br { bottom: 22px; right: -28px; animation-delay: 1.2s; }
.float-card b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #fff; line-height: 1.1; }
.float-card span { font-size: 0.8rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--muted); }
.check-list li strong { color: #fff; display: block; }
.check-list .ck { width: 26px; height: 26px; flex: none; border-radius: 8px; background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.35); color: #86efac; display: grid; place-items: center; margin-top: 2px; }
.check-list .ck svg { width: 14px; height: 14px; }

/* Gallery ---------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g-item { border-radius: 18px; overflow: hidden; position: relative; border: 1px solid var(--border); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.g-item:hover img { transform: scale(1.08); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(5, 11, 26, 0.9)); color: #fff; font-weight: 600; font-size: 0.9rem; transform: translateY(8px); opacity: 0; transition: 0.4s; }
.g-item:hover figcaption { transform: none; opacity: 1; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* Stats ------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* Testimonials ----------------------------------------------------------- */
.testi { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; transition: 0.35s; display: flex; flex-direction: column; gap: 14px; }
.testi:hover { transform: translateY(-6px); border-color: var(--border2); box-shadow: var(--shadow); }
.testi .quote { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; color: rgba(56, 189, 248, 0.18); }
.testi-head { display: flex; gap: 14px; align-items: center; }
.avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border2); flex: none; }
.avatar-initials { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; flex: none; }
.testi-head b { display: block; color: #fff; }
.testi-head span { font-size: 0.82rem; color: var(--muted); }
.testi p { color: var(--muted); margin: 0; flex: 1; }
.testi h4 { margin: 0; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: rgba(255, 255, 255, 0.15); }
.stars svg.on { fill: #fbbf24; }
.rating-big { display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap; }
.rating-big .num { font-family: var(--font-head); font-size: 4rem; font-weight: 800; line-height: 1; }
.rating-bars { flex: 1; min-width: 220px; }
.rating-bars div { display: grid; grid-template-columns: 22px 1fr 40px; gap: 10px; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.rating-bars i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; display: block; }
.rating-bars i b { display: block; height: 100%; background: linear-gradient(90deg, #fbbf24, #f59e0b); width: 0; transition: width 1.2s 0.3s; }

/* CTA band --------------------------------------------------------------- */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; padding: 72px 64px; border: 1px solid var(--border2); background: linear-gradient(135deg, rgba(26, 143, 230, 0.35), rgba(11, 95, 208, 0.25)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--cta-img) center/cover no-repeat; opacity: 0.22; }
.cta-band::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 65%); top: -200px; right: -100px; animation: float 10s ease-in-out infinite; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 620px; }
.cta-band p { color: var(--muted); max-width: 560px; font-size: 1.05rem; }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero { position: relative; padding: calc(var(--nav-h) + 76px) 0 70px; overflow: hidden; text-align: center; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: var(--hero-img) center/cover no-repeat; opacity: 0.28; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 26, 0.35), var(--bg) 96%); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.crumbs { display: inline-flex; gap: 8px; color: var(--muted2); font-size: 0.85rem; margin-bottom: 16px; }
.crumbs a { color: var(--muted); }

/* Forms ------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.field .hint { font-size: 0.78rem; color: var(--muted2); }
.input, .select, .textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.045); color: #fff; font: inherit; outline: 0; transition: 0.2s; }
.input::placeholder, .textarea::placeholder { color: var(--muted2); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15); background: rgba(255, 255, 255, 0.06); }
.textarea { min-height: 140px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239fb0c7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.select option { background: #0b1730; color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.form-row-weight { grid-template-columns: 0.72fr 1.35fr 1fr; }
.input-unit { display: flex; gap: 8px; }
.input-unit .input { flex: 1; min-width: 0; }
.input-unit .select { flex: none; width: 92px; padding-right: 32px; background-position: right 10px center; text-transform: none; }
.input-icon { position: relative; }
.input-icon > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted2); pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.input-icon .toggle-pw { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px; display: grid; place-items: center; }
.input-icon .toggle-pw svg { width: 18px; height: 18px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
input[type="date"], input[type="datetime-local"] { color-scheme: dark; }

/* Auth pages ------------------------------------------------------------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: var(--nav-h); }
.auth-side { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 56px; }
/* Only the direct child is the backdrop photo — never the avatar inside the quote. */
.auth-side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 26, 0.2), rgba(5, 11, 26, 0.92)); }
.auth-side > div { position: relative; z-index: 1; max-width: 460px; }
.auth-side blockquote { margin: 0 0 18px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; line-height: 1.35; color: #fff; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h1 { font-size: 2rem; margin-bottom: 6px; }
.auth-card > p { color: var(--muted); margin-bottom: 28px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--muted); font-size: 0.92rem; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted2); font-size: 0.8rem; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Badges ----------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; border: 1px solid transparent; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-lg { font-size: 0.9rem; padding: 8px 16px; }
.badge-gray { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.3); }
.badge-blue { background: rgba(26, 143, 230, 0.15); color: #93c5fd; border-color: rgba(26, 143, 230, 0.4); }
.badge-cyan { background: rgba(56, 189, 248, 0.15); color: #7dd3fc; border-color: rgba(56, 189, 248, 0.4); }
.badge-cyan .dot { animation: ping 1.6s infinite; }
.badge-violet { background: rgba(167, 139, 250, 0.15); color: #c4b5fd; border-color: rgba(167, 139, 250, 0.4); }
.badge-amber { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border-color: rgba(245, 158, 11, 0.4); }
.badge-indigo { background: rgba(129, 140, 248, 0.15); color: #a5b4fc; border-color: rgba(129, 140, 248, 0.4); }
.badge-indigo .dot { animation: ping 1.6s infinite; }
.badge-green { background: rgba(34, 197, 94, 0.15); color: #86efac; border-color: rgba(34, 197, 94, 0.4); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border-color: rgba(239, 68, 68, 0.4); }

/* Tracking result -------------------------------------------------------- */
.track-hero { padding: calc(var(--nav-h) + 70px) 0 40px; text-align: center; }
.track-hero .track-form { margin-inline: auto; max-width: 640px; }
.track-hero .samples { color: var(--muted2); font-size: 0.85rem; }
.track-hero .samples a { color: var(--muted); border-bottom: 1px dashed var(--muted2); margin: 0 4px; }
.result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.result-head h2 { margin: 0 0 6px; font-size: 1.6rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy-btn { background: var(--surface); border: 1px solid var(--border); color: var(--muted); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 0.78rem; display: inline-flex; gap: 6px; align-items: center; transition: 0.2s; }
.copy-btn:hover { color: #fff; border-color: var(--border2); }
.copy-btn svg { width: 14px; height: 14px; }
.progress { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; position: relative; }
.progress-fill { height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width 1.6s cubic-bezier(0.2, 0.7, 0.2, 1); position: relative; }
.progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent); animation: shimmer 2.2s infinite; }
.progress-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.status-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-bottom: 26px; }
.status-hero .big-status { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: #fff; }
.status-hero .eta { text-align: right; }
.status-hero .eta b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: #fff; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.detail span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); font-weight: 600; margin-bottom: 4px; }
.detail b { font-weight: 600; color: #fff; word-break: break-word; }
.party { padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.party h4 { display: flex; gap: 8px; align-items: center; color: var(--accent2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.party h4 svg { width: 16px; height: 16px; }
.party b { color: #fff; display: block; font-size: 1.05rem; }
.party p { color: var(--muted); margin: 4px 0 0; font-size: 0.92rem; }

.route-wrap { overflow-x: auto; padding: 10px 0 6px; -webkit-overflow-scrolling: touch; }
.route-wrap svg { display: block; min-width: 100%; }
.route-node text { fill: var(--muted); font-size: 12px; font-family: var(--font-body); font-weight: 500; }
.route-node.completed circle.core { fill: url(#routeGrad); stroke: transparent; }
.route-node.current circle.core { fill: var(--bg3); stroke: var(--accent); stroke-width: 3; }
.route-node.current circle.halo { animation: haloPulse 1.8s infinite; }
.route-node.pending circle.core { fill: var(--bg3); stroke: var(--border); stroke-width: 2; }
.route-node.completed text, .route-node.current text { fill: #fff; }
.route-base { stroke: rgba(148, 163, 184, 0.3); stroke-width: 3; stroke-dasharray: 6 8; fill: none; }
.route-progress { stroke: url(#routeGrad); stroke-width: 4; fill: none; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6)); }

.timeline { list-style: none; margin: 0; padding: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 168px 44px 1fr; gap: 14px; padding-bottom: 30px; }
.tl-item::before { content: ""; position: absolute; left: calc(168px + 14px + 21px); top: 28px; bottom: -4px; width: 2px; background: var(--border); }
.tl-item.completed::before { background: linear-gradient(180deg, var(--accent), var(--primary)); }
.tl-item.current::before { background: linear-gradient(180deg, var(--accent), var(--border)); }
.tl-item:last-child::before { display: none; }
.tl-time { text-align: right; color: var(--muted); font-size: 0.85rem; padding-top: 4px; }
.tl-time b { display: block; color: #fff; font-weight: 600; }
.tl-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg3); margin: 4px auto 0; position: relative; z-index: 1; display: grid; place-items: center; transition: 0.3s; }
.tl-dot svg { width: 12px; height: 12px; color: #fff; opacity: 0; }
.tl-item.completed .tl-dot { background: var(--grad); border-color: transparent; }
.tl-item.completed .tl-dot svg { opacity: 1; }
.tl-item.current .tl-dot { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.18); animation: pulseRing 1.8s infinite; }
.tl-item.current .tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tl-body { padding-top: 2px; }
.tl-body b { display: block; color: #fff; font-size: 1.02rem; }
.tl-body p { color: var(--muted); margin: 2px 0 0; font-size: 0.92rem; }
.tl-item.pending .tl-body b { color: var(--muted); }
.tl-item.pending .tl-body p { color: var(--muted2); }
.tl-tag { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--accent); margin-left: 8px; }

.not-found { text-align: center; padding: 48px 24px; }
.not-found .icon-box { margin: 0 auto 18px; width: 70px; height: 70px; border-radius: 20px; }
.not-found .icon-box svg { width: 32px; height: 32px; }

/* Dashboard -------------------------------------------------------------- */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.pkg-card { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: 0.3s; margin-bottom: 14px; }
.pkg-card:hover { border-color: var(--border2); transform: translateX(4px); }
.pkg-card .num { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; }
.pkg-card .num small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.pkg-card .route { color: var(--muted); font-size: 0.92rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pkg-card .route b { color: #fff; font-weight: 600; }
.pkg-card .route svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.pkg-card .progress { height: 8px; margin-top: 8px; }

/* FAQ -------------------------------------------------------------------- */
.faq-cats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.faq-cats button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; font-weight: 500; font-size: 0.9rem; transition: 0.25s; }
.faq-cats button.active, .faq-cats button:hover { background: var(--grad); color: #fff; border-color: transparent; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); margin-bottom: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--border2); }
.faq-q { width: 100%; text-align: left; padding: 20px 22px; background: none; border: 0; color: #fff; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; font-family: var(--font-body); }
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--accent); transition: transform 0.35s; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); color: var(--muted); padding: 0 22px; }
.faq-a > div { padding-bottom: 20px; }
.faq-a p:last-child { margin-bottom: 0; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 40px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-box { margin: 0; width: 46px; height: 46px; border-radius: 12px; flex: none; }
.contact-item b { display: block; color: #fff; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 0.93rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); filter: grayscale(1) invert(0.9) hue-rotate(180deg) contrast(0.9); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* About ------------------------------------------------------------------ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.milestones { position: relative; padding-left: 28px; }
.milestones::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--border)); }
.milestone { position: relative; padding: 0 0 28px 20px; }
.milestone::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.15); }
.milestone b { color: var(--accent); font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.1em; }
.milestone h4 { margin: 4px 0 6px; }
.milestone p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-card .photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; margin-bottom: 14px; position: relative; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.team-card:hover .photo img { transform: scale(1.06); }
.team-card .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 95, 208, 0.5)); opacity: 0; transition: 0.4s; }
.team-card:hover .photo::after { opacity: 1; }
.team-card b { display: block; color: #fff; font-family: var(--font-head); }
.team-card span { color: var(--muted); font-size: 0.88rem; }

/* Legal ------------------------------------------------------------------ */
.legal-grid { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.toc h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; font-size: 0.9rem; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--muted); }
.toc a:hover { color: #fff; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: 0.4em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .updated { font-size: 0.85rem; color: var(--muted2); margin-bottom: 30px; }

/* Admin ------------------------------------------------------------------ */
.admin-shell { padding: calc(var(--nav-h) + 36px) 0 60px; }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 32px; }
.admin-nav a { padding: 10px 16px; border-radius: 11px; color: var(--muted); font-weight: 500; font-size: 0.92rem; display: inline-flex; gap: 8px; align-items: center; transition: 0.25s; }
.admin-nav a svg { width: 17px; height: 17px; }
.admin-nav a:hover { color: #fff; background: var(--surface2); }
.admin-nav a.active { color: #fff; background: var(--grad); box-shadow: var(--glow); }
.admin-nav .count { background: rgba(255, 255, 255, 0.15); border-radius: 99px; padding: 1px 7px; font-size: 0.72rem; }
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-title h1 { font-size: 1.9rem; margin: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.stat-card { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); display: flex; gap: 16px; align-items: center; }
.stat-card .icon-box { margin: 0; flex: none; }
.stat-card b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: #fff; line-height: 1.1; }
.stat-card span { color: var(--muted); font-size: 0.85rem; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .input, .toolbar .select { width: auto; min-width: 200px; padding: 10px 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; min-width: 760px; }
.table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 600; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 0.93rem; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background 0.2s; }
.table tbody tr:hover td { background: rgba(255, 255, 255, 0.03); }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.table a.strong { color: #fff; font-weight: 600; }
.pagination { display: flex; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 13px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 0.85rem; }
.pagination .current { background: var(--grad); color: #fff; border-color: transparent; }
.stop-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 10px; }
.stop-row.current { border-color: var(--border2); background: rgba(56, 189, 248, 0.06); }
.stop-row .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; background: var(--surface2); color: var(--muted); }
.stop-row.completed .n { background: var(--grad); color: #fff; }
.stop-row.current .n { border: 2px solid var(--accent); color: var(--accent); }
.stop-row b { color: #fff; display: block; }
.stop-row .meta { color: var(--muted); font-size: 0.85rem; }
.stop-row .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.inline-form { display: inline; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 0.93rem; }
.kv dt { color: var(--muted2); }
.kv dd { margin: 0; color: var(--text); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty svg { width: 44px; height: 44px; color: var(--muted2); margin-bottom: 12px; }
.section-card { margin-bottom: 26px; }
.section-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.section-card h3 svg { width: 20px; height: 20px; color: var(--accent); }
.review-body { color: var(--muted); font-size: 0.9rem; max-width: 460px; }

/* Footer ----------------------------------------------------------------- */
.footer { margin-top: 60px; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(8, 18, 38, 0.45), rgba(5, 11, 26, 0.95)); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 40px; padding: 68px 0 44px; }
.footer .logo { margin-bottom: 18px; }
.footer p { color: var(--muted); font-size: 0.93rem; max-width: 340px; }
.footer h4 { font-size: 0.95rem; color: #fff; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer li a { color: var(--muted); transition: 0.25s; font-size: 0.93rem; display: inline-block; }
.footer li a:hover { color: #fff; transform: translateX(4px); }
.footer .contact-line { display: flex; gap: 10px; color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; align-items: flex-start; }
.footer .contact-line svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; color: var(--muted); transition: 0.25s; }
.social a svg { width: 18px; height: 18px; }
.social a:hover { color: #fff; border-color: var(--border2); background: rgba(56, 189, 248, 0.12); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted2); font-size: 0.85rem; }
.footer-bottom a { color: var(--muted); margin-left: 16px; }
.footer-bottom a:hover { color: #fff; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--glow); z-index: 40; opacity: 0; transform: translateY(20px); transition: 0.3s; cursor: pointer; border: 0; }
.to-top.show { opacity: 1; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Reveal animations ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal-left { transform: translateX(-46px); }
.reveal-right { transform: translateX(46px); }
.reveal-scale { transform: scale(0.9); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > :nth-child(1) { transition-delay: 0.05s; } .stagger.in > :nth-child(2) { transition-delay: 0.15s; } .stagger.in > :nth-child(3) { transition-delay: 0.25s; }
.stagger.in > :nth-child(4) { transition-delay: 0.35s; } .stagger.in > :nth-child(5) { transition-delay: 0.45s; } .stagger.in > :nth-child(6) { transition-delay: 0.55s; }
.stagger.in > :nth-child(7) { transition-delay: 0.65s; } .stagger.in > :nth-child(8) { transition-delay: 0.75s; } .stagger.in > :nth-child(9) { transition-delay: 0.85s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); } 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25); } 70% { box-shadow: 0 0 0 12px rgba(56, 189, 248, 0); } 100% { box-shadow: 0 0 0 4px rgba(56, 189, 248, 0); } }
@keyframes haloPulse { 0% { r: 12; opacity: 0.6; } 100% { r: 26; opacity: 0; } }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { to { width: 68%; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes scrollCue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes truckBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }

/* Wide screens ----------------------------------------------------------- */
@media (min-width: 1400px) {
  .section-head { max-width: 820px; }
  .hero-grid { grid-template-columns: 1fr 1.02fr; gap: 72px; }
  .hero h1 { font-size: clamp(3.2rem, 3.6vw, 4.6rem); }
  .hero .lead { max-width: 660px; font-size: 1.22rem; }
  .hero .track-form { max-width: 700px; }
  .hero-stats { gap: 56px; }
  .hero-stats b { font-size: 2.3rem; }
  .hero-visual { height: 660px; }
  .hv-1 { width: 70%; height: 66%; }
  .hv-2 { width: 60%; height: 50%; }
  .hv-3 { width: 32%; height: 30%; }
  .hv-card { min-width: 250px; padding: 16px 18px; }
  .gallery { grid-auto-rows: 260px; }
  .split { gap: 80px; }
  .split-img > img { height: 540px; }
  .legal h2 { font-size: 1.6rem; }
  .legal article, .legal p, .legal ul { max-width: 100%; }
  .legal-grid { grid-template-columns: 300px minmax(0, 1100px); justify-content: start; gap: 80px; }
  .timeline { max-width: 100%; }
  .detail-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1700px) {
  .grid-3 { gap: 32px; }
  .gallery { grid-auto-rows: 290px; gap: 18px; }
  .hero-visual { height: 700px; }
  .stat b { font-size: 3.2rem; }
}

/* Admin: mobile-first table → card transformation ------------------------ */
.admin-nav { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav a { white-space: nowrap; flex: none; }

@media (max-width: 880px) {
  .table-wrap { overflow: visible; border: 0; background: none; border-radius: 0; }
  .table { min-width: 0; width: 100%; display: block; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table tbody { display: block; }
  .table tbody tr {
    display: block; background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; padding: 14px 16px; margin-bottom: 12px;
  }
  .table tbody tr:hover td { background: none; }
  .table td {
    display: grid; grid-template-columns: minmax(84px, 34%) 1fr; gap: 12px; align-items: start;
    padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; text-align: left;
  }
  .table td:last-child { border-bottom: 0; padding-bottom: 0; }
  .table td::before {
    content: attr(data-label);
    font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--muted2); font-weight: 700; padding-top: 3px;
  }
  .table td:not([data-label]) { grid-template-columns: 1fr; }
  .table td[data-label="Actions"] { display: block; padding-top: 12px; }
  .table td > .badge, .table td > .stars, .table td > .btn { justify-self: start; width: -moz-fit-content; width: fit-content; }
  .table td .actions { justify-content: flex-start; gap: 8px; }
  .table td .actions .btn { padding: 9px 12px; font-size: 0.82rem; }
  .table td .review-body { max-width: 100%; }
  .table td form[id^="pw-"], .table td form[id^="av-"] { justify-content: flex-start !important; flex-wrap: wrap; }
  .table td form[id^="pw-"] .input, .table td form[id^="av-"] .select { max-width: none !important; flex: 1; min-width: 140px; }
  .pagination { justify-content: center; }
}

@media (max-width: 880px) {
  .admin-shell { padding-top: calc(var(--nav-h) + 24px); }
  .page-title { flex-direction: column; align-items: stretch; gap: 14px; }
  .page-title h1 { font-size: 1.6rem; }
  .page-title > .flex, .page-title > form { width: 100%; }
  .page-title .btn, .page-title > form .btn { flex: 1; justify-content: center; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .stat-card b { font-size: 1.5rem; }
  .stat-card span { font-size: 0.78rem; }
  .toolbar { gap: 8px; }
  .toolbar .input-icon { width: 100%; min-width: 0 !important; flex: 1 1 100% !important; }
  .toolbar .select, .toolbar > .btn { flex: 1; min-width: 0; }
  .admin-shell .card { padding: 20px 18px; }
  .admin-shell .section-card h3 { font-size: 1.08rem; }
  .stop-row { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .stop-row .n { grid-row: 1; }
  .stop-row .actions { justify-content: flex-start; gap: 8px; }
  .stop-row .actions .btn { padding: 9px 12px; font-size: 0.82rem; }
  .stop-row .actions form { display: inline-flex; }
}

@media (max-width: 520px) {
  .toolbar .select, .toolbar > .btn { flex: 1 1 100%; min-width: 0; width: 100%; }
  .table tbody tr { padding: 12px 14px; }
  .table td { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .table td::before { padding-top: 0; }
  .admin-nav { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-radius: 0; border-left: 0; border-right: 0; background: rgba(255,255,255,.03); }
  .page-title .btn { font-size: 0.88rem; padding: 11px 14px; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero { min-height: 0; padding-bottom: 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { height: 460px; max-width: 640px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats, .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .split-img .float-card.tl { left: 12px; } .split-img .float-card.br { right: 12px; }
  .legal-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .pkg-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding-block: 70px; }
  .grid-3, .grid-2, .values, .steps, .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-wide { grid-column: span 2; } .g-tall { grid-row: span 1; }
  .form-row, .form-row-3, .form-row-weight { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 44px 1fr; }
  .tl-item::before { left: 21px; }
  .tl-time { grid-column: 2; grid-row: 2; text-align: left; padding: 0; margin-top: 4px; }
  .tl-time b { display: inline; margin-right: 8px; }
  .tl-body { grid-column: 2; grid-row: 1; }
  .tl-dot { grid-row: 1; }
  .status-hero { grid-template-columns: 1fr; }
  .status-hero .eta { text-align: left; }
  .cta-band { padding: 48px 28px; }
  .hero-visual { height: 400px; }
  .hv-card.c1 { right: auto; left: 6%; bottom: 40%; }
  .stop-row { grid-template-columns: 34px 1fr; }
  .stop-row .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 10px; }
  .pkg-card { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero h1 { font-size: 2.3rem; }
  .track-form { flex-direction: column; }
  .track-form .btn { width: 100%; }
  .hero-stats { gap: 24px; }
  .hero-visual { height: 340px; }
  .hv-card { min-width: 170px; padding: 11px 13px; font-size: 0.9rem; }
  .stats, .footer-grid, .grid-4, .team, .gallery { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-rows: 200px; }
  .g-wide { grid-column: span 1; }
  .split-img > img { height: 300px; }
  .section-head { margin-bottom: 36px; }
  .toasts { right: 12px; width: calc(100% - 24px); }
  .auth-form { padding: 36px 18px; }
  .result-head h2 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
}
