:root {
  /* Premium corporate palette */
  --bg-deep: #050B1A;
  --bg-navy: #0A1628;
  --bg-navy-2: #0F1E36;
  --bg-elev: #14253F;
  --border: rgba(148, 178, 217, 0.10);
  --border-strong: rgba(148, 178, 217, 0.18);

  --text: #FFFFFF;
  --text-muted: #94B2D9;
  --text-dim: #6B829E;

  --light-bg: #FAFBFC;
  --light-bg-2: #F1F4F8;
  --light-border: #E2E8F0;
  --light-text: #0A1628;
  --light-text-muted: #475569;

  --gold: #D4A968;
  --gold-bright: #E5BC7C;
  --cyan: #00D4FF;
  --cyan-dim: #0BA5C7;
  --emerald: #10B981;
  --crimson: #EF4444;

  --grad-hero: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 212, 255, 0.10) 0%, transparent 60%),
               radial-gradient(ellipse 60% 50% at 90% 30%, rgba(212, 169, 104, 0.08) 0%, transparent 60%),
               radial-gradient(ellipse 50% 80% at 50% 100%, rgba(13, 100, 168, 0.20) 0%, transparent 60%);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-soft: 0 1px 2px rgba(5, 11, 26, 0.04), 0 8px 24px rgba(5, 11, 26, 0.06);
  --shadow-hover: 0 2px 8px rgba(5, 11, 26, 0.08), 0 20px 48px rgba(0, 212, 255, 0.08);
  --shadow-card-dark: 0 0 0 1px var(--border), 0 24px 48px rgba(0, 0, 0, 0.20);

  --container: 1320px;
  --pad-x: clamp(24px, 5vw, 64px);
  --section-y: clamp(80px, 10vw, 144px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ====== Typography ====== */
.display, .h1, .h2, .h3 {
  font-family: 'Fraunces', 'Manrope', Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.display { letter-spacing: -0.025em; line-height: 1.05; font-weight: 700; }
.h1 { font-size: clamp(48px, 7vw, 88px); }
.h2 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 600; }
.h3 { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.18; letter-spacing: -0.015em; font-weight: 500; font-variation-settings: "opsz" 96, "SOFT" 30; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); font-weight: 500; }
.eyebrow-gold { color: var(--gold); }

/* ====== Buttons / chips ====== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: #1A1006;
  box-shadow: 0 10px 24px rgba(212, 169, 104, 0.25), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(212, 169, 104, 0.35), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(148,178,217,0.3); }
.btn-light {
  background: var(--light-text);
  color: white;
}
.btn-light-ghost {
  border: 1px solid var(--light-text);
  color: var(--light-text);
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  letter-spacing: 0.02em;
  font-weight: 500;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
  color: var(--cyan);
}
.chip-gold { background: rgba(212,169,104,0.08); border-color: rgba(212,169,104,0.20); color: var(--gold-bright); }
.chip-light { background: var(--light-bg-2); border-color: var(--light-border); color: var(--light-text); }
.chip-dark { background: rgba(10,22,40,0.08); border-color: rgba(10,22,40,0.15); color: var(--light-text); }
.chip-emerald { background: rgba(16,185,129,0.10); border-color: rgba(16,185,129,0.25); color: var(--emerald); }

/* ====== Header ====== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(5, 11, 26, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 32px; width: auto; }
.brand .name { font-family: 'Fraunces', Georgia, serif; font-weight: 700; letter-spacing: -0.01em; font-size: 17px; }
.nav-main { display: flex; gap: 32px; align-items: center; }
.nav-main a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .15s ease; }
.nav-main a:hover { color: var(--text); }
.header-right { display: flex; gap: 16px; align-items: center; }
.phone-link { font-family: 'JetBrains Mono', monospace; color: var(--text-muted); font-size: 13px; font-weight: 500; transition: color .15s ease; }
.phone-link:hover { color: var(--gold-bright); }
.lk-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.02);
  transition: all .15s ease;
}
.lk-link:hover { color: white; border-color: var(--gold); background: rgba(212,169,104,0.08); }
@media (max-width: 1024px) { .nav-main { display: none; } .lk-link span { display: none; } .lk-link { padding: 8px; } }

/* === Hamburger button === */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  margin-left: 8px;
}
.nav-burger span {
  width: 20px; height: 2px;
  background: white;
  transition: transform .2s ease, opacity .2s ease;
  border-radius: 99px;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Mobile drawer === */
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--bg-deep);
  border-left: 1px solid var(--border-strong);
  z-index: 60;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
  box-shadow: -16px 0 48px rgba(0,0,0,0.5);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.nav-drawer-head .brand img { height: 28px; }
.nav-drawer-close { width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--r-md); background: transparent; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-drawer-items { display: flex; flex-direction: column; padding: 16px 0; flex: 1; overflow-y: auto; }
.nav-drawer-items a {
  padding: 14px 20px; color: white; font-size: 17px; font-weight: 500;
  border-bottom: 1px solid rgba(148,178,217,0.06);
  display: flex; align-items: center; gap: 12px;
  transition: background .15s ease, color .15s ease;
}
.nav-drawer-items a:hover, .nav-drawer-items a:active { background: rgba(212,169,104,0.08); color: var(--gold-bright); }
.drawer-lk { margin-top: 8px; color: var(--gold-bright) !important; border-top: 1px solid var(--border) !important; }
.nav-drawer-foot { padding: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; background: rgba(0,0,0,0.20); }
.nav-drawer-foot .phone-link { font-family: 'JetBrains Mono', monospace; font-size: 18px !important; color: white !important; font-weight: 600; }
.nav-overlay { position: fixed; inset: 0; background: rgba(5,11,26,0.7); backdrop-filter: blur(6px); z-index: 59; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  .nav-burger { display: inline-flex; }
}

/* === Mobile finetuning === */
@media (max-width: 720px) {
  .site-header .container { height: 64px; padding-left: 16px; padding-right: 16px; }
  .site-header .brand img { height: 28px; }
  .header-right .phone-link { display: none; }
  .header-right .lk-link { display: none; }
  .header-right .btn-primary { padding: 9px 14px !important; font-size: 13px !important; }

  .hero { padding: 96px 0 56px; min-height: auto; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px) !important; line-height: 1.05 !important; }
  .hero .lead { font-size: 15px !important; }
  .hero-meta { gap: 8px !important; margin-bottom: 24px !important; }
  .hero-meta .chip { font-size: 11px; padding: 5px 10px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px !important; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr !important; gap: 12px !important; padding-top: 20px !important; }
  .hero-side { aspect-ratio: 16/10; margin: 24px 0 0; }

  .section, .light-band, .light-band-2, .dark-band, .dark-band-2 { padding-top: 56px; padding-bottom: 56px; }
  .section-head { margin-bottom: 32px !important; }
  .h2 { font-size: clamp(28px, 7vw, 36px) !important; }

  .marquee-item { font-size: 16px !important; }

  .cinematic-banner { height: clamp(320px, 50vh, 480px); }
  .cinematic-banner h2 { font-size: clamp(28px, 7vw, 40px) !important; }
  .cinematic-banner .sub { font-size: 15px; }
  .cinematic-banner .metric .v { font-size: 24px !important; }

  .pilot-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .pilot-mock-body { min-height: 320px !important; }
  .pilot-feature { grid-template-columns: 48px 1fr !important; padding: 18px !important; }
  .pilot-feature .icon-wrap { width: 48px !important; height: 48px !important; }
  .pilot-tech { padding: 20px !important; }
  .pilot-tech .stack { font-size: 13px !important; gap: 8px 16px !important; }

  .calc-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .calc-form { padding: 20px !important; }
  .sales-pilot { position: static !important; }

  .duty-grid { grid-template-columns: 1fr !important; }
  .duty-form { padding: 20px !important; }
  .duty-result { position: static !important; }
  .dr-total .val { font-size: 36px !important; }
  .calc-cols-4 { grid-template-columns: 1fr 1fr !important; }

  .network-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .port-card { aspect-ratio: 1 / 1; }

  .cases-grid { grid-template-columns: 1fr !important; }

  .process-timeline { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .process-timeline::before { display: none; }

  .news-grid { grid-template-columns: 1fr !important; }
  .news-tabs { gap: 6px !important; }
  .news-tab { font-size: 12px; padding: 7px 12px; }
  .news-card.featured { grid-row: auto !important; }

  .reviews-grid { grid-template-columns: 1fr !important; }

  .partners-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .partner-card { padding: 18px 12px 14px !important; }
  .partner-card .logo { height: 60px !important; }
  .partner-card .name { font-size: 12px !important; }
  .partner-card .role { font-size: 10px !important; }

  .legal-grid { grid-template-columns: 1fr !important; }
  .legal-card { padding: 20px !important; }

  .cta-strip { padding: 64px 0 !important; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .stats-wide { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .stats-wide .cell { padding: 20px !important; }
  .stats-wide .num { font-size: 32px !important; }

  .site-footer { padding: 56px 0 24px !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-copy { flex-direction: column; align-items: flex-start !important; font-size: 11px !important; }

  .float-wrap { bottom: 16px !important; right: 16px !important; left: 16px !important; align-items: flex-end !important; }
  .chat-panel { width: 100% !important; max-height: calc(100vh - 96px) !important; }
  .float-launcher { padding: 10px 16px 10px 12px !important; }
  .float-launcher .ai-avatar { width: 32px !important; height: 32px !important; }
  .float-launcher .text { font-size: 13px !important; }
  .float-launcher .text small { font-size: 10px !important; }

  .video-modal { padding: 0 !important; }
  .video-modal-box { border-radius: 0 !important; max-height: 100vh; }

  .scroll-progress { top: 64px !important; }

  .tracking-wrap { grid-template-columns: 1fr !important; }
  .map-full { height: 320px !important; }
  .map-shipments { max-height: none !important; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 30px !important; }
  .hero-meta .chip { font-size: 10px; padding: 4px 8px; }
  .header-right .btn-primary { padding: 8px 12px !important; font-size: 12px !important; }
  .header-right .btn-primary svg { display: none; }
}

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 86vh;
  padding: 110px 0 56px;
  background: var(--bg-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0;
  z-index: 0;
  background-image: url('../img/photos/photo-1494412651409-8963ce7935a7-w1200.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(0.85);
  opacity: 0.7;
  transform: scale(1.05);
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.15) translate(-1.5%, -1%); }
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,26,0.30) 0%, rgba(5,11,26,0.80) 100%),
    linear-gradient(90deg, rgba(5,11,26,0.85) 0%, rgba(5,11,26,0.15) 55%, rgba(5,11,26,0.5) 100%);
}
.spotlight {
  position: fixed;
  pointer-events: none;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,169,104,0.10) 0%, transparent 60%);
  filter: blur(20px);
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  mix-blend-mode: screen;
  opacity: 0;
}
.hero:hover .spotlight { opacity: 1; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
  z-index: 1;
}
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,178,217,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,178,217,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black 30%, transparent 80%);
}
.hero-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(212,169,104,0.18) 0%, transparent 70%);
  filter: blur(80px);
  animation: float 18s ease-in-out infinite;
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  bottom: -150px; left: -150px;
  background: radial-gradient(circle, rgba(0,212,255,0.16) 0%, transparent 70%);
  filter: blur(80px);
  animation: float 22s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  font-weight: 700;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #B6CCE5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  font-weight: 400;
}
.hero h1 .gold-text {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stats .cell .num {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #FFFFFF, var(--gold-bright) 200%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats .cell .label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* Hero side: live tracking mini-map */
.hero-side {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 560px;
  margin-left: auto;
  border-radius: var(--r-xl);
  background: var(--bg-navy-2);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-card-dark);
}
.hero-side .map-mini {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero-side .map-mini canvas { filter: saturate(0.85); }
.hero-side .map-mask {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5,11,26,0.35) 0%, transparent 30%, rgba(5,11,26,0.55) 100%);
}
.hero-side .map-mini .maplibregl-ctrl-attrib { font-size: 9px; opacity: 0.5; }
.hero-side .map-stats {
  position: absolute;
  left: 16px; bottom: 16px; right: 16px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 12px;
}
.hero-side .map-stats .grp { display: flex; flex-direction: column; gap: 4px; }
.hero-side .map-stats .grp .val { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; color: white; letter-spacing: -0.01em; }
.hero-side .map-stats .grp .lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-dim); letter-spacing: 0.05em; text-transform: uppercase; }
.hero-side .map-stats .open-full {
  background: rgba(212,169,104,0.12);
  border: 1px solid rgba(212,169,104,0.3);
  color: var(--gold-bright);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
}
.hero-side .map-stats .open-full:hover { background: rgba(212,169,104,0.18); }
.hero-side .live {
  position: absolute; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 600;
  z-index: 3;
}
.hero-side .live::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  100% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

.hero-side svg.world {
  width: 100%; height: 100%;
  position: relative;
  z-index: 2;
}
.world-route {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-dasharray: 6 6;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.5));
  animation: dashmove 14s linear infinite;
}
.world-route-2 { stroke: var(--gold); filter: drop-shadow(0 0 6px rgba(212, 169, 104, 0.4)); animation-duration: 18s; }
.world-route-3 { stroke: #FFFFFF; opacity: .6; animation-duration: 22s; }
@keyframes dashmove { to { stroke-dashoffset: -100; } }
.world-pin { fill: var(--cyan); }
.world-pin-gold { fill: var(--gold); }
.world-dot { fill: rgba(148, 178, 217, 0.25); }

.hero-side .legend {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.hero-side .legend .row { display: flex; align-items: center; gap: 6px; }
.hero-side .legend .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hero-side .legend .dot.gold { background: var(--gold); }

.hero-trust {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-trust .label {
  font-size: 12px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 20px;
  display: block;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 40s linear infinite;
  align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  opacity: 0.7;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.marquee-item .bullet { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== Tracking form (поиск по № заявки) ====== */
.track-form-wrap { margin-top: 32px; }
.track-form {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(212, 169, 104, 0.25);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.track-form__head {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  color: rgba(255,255,255,0.92);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
  transition: background 0.2s ease;
}
.track-form__head::-webkit-details-marker { display: none; }
.track-form__head:hover { background: rgba(212,169,104,0.06); }
.track-form__head svg { color: var(--gold-bright, #d4a968); }
.track-form__hint {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  text-transform: none;
}
.track-form[open] .track-form__head { border-bottom: 1px solid rgba(255,255,255,0.08); }
.track-form__form {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 10px;
  padding: 20px 24px;
}
.track-form__form input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.track-form__form input:focus { outline: none; border-color: var(--gold-bright, #d4a968); }
.track-form__form button {
  background: var(--gold-bright, #d4a968);
  color: #0a1628;
  border: 0;
  padding: 0 24px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.track-form__form button:hover:not(:disabled) { background: #e6c89a; }
.track-form__form button:disabled { opacity: 0.5; cursor: wait; }
@media (max-width: 720px) {
  .track-form__form { grid-template-columns: 1fr; }
}
.track-form__result { padding: 0 24px 20px; }
.track-result__loading {
  padding: 16px;
  color: rgba(255,255,255,0.55);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.track-result__err {
  padding: 14px 18px;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.4);
  border-radius: 8px;
  color: #f5a8a0;
  font-size: 13px;
}
.track-result__card {
  background: rgba(10, 14, 28, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--cyan, #00D4FF);
  border-radius: 10px;
  padding: 18px 22px;
}
.track-result__card.mode-air  { border-left-color: var(--gold-bright, #d4a968); }
.track-result__card.mode-road { border-left-color: var(--emerald, #10b981); }
.track-result__card.mode-rail { border-left-color: #a78bfa; }
.track-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.track-card__num {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: #fff;
}
.track-card__status {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(212,169,104,0.15);
  color: var(--gold-bright, #d4a968);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.track-card__route {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.track-card__progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.track-card__bar {
  height: 100%;
  background: var(--cyan, #00D4FF);
  border-radius: 99px;
  transition: width 0.8s ease;
}
.track-card__eta {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.track-card__cta {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright, #d4a968);
  text-decoration: none;
}
.track-card__cta:hover { color: #fff; }

/* ====== Tracking full map ====== */
.tracking-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-navy);
  margin-top: 48px;
  box-shadow: var(--shadow-card-dark);
}
@media (max-width: 1024px) { .tracking-wrap { grid-template-columns: 1fr; } }
.map-full { height: 640px; position: relative; background: var(--bg-deep); }
@media (max-width: 1024px) { .map-full { height: 420px; } }
.map-full .maplibregl-ctrl-attrib { font-size: 9px; opacity: 0.5; }
.map-full canvas { filter: saturate(0.8); }

.map-shipments {
  background: var(--bg-deep);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  max-height: 640px;
}
@media (max-width: 1024px) { .map-shipments { border-left: none; border-top: 1px solid var(--border); max-height: none; } }
.map-shipments-head { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); }
.ship-list { overflow-y: auto; flex: 1; padding: 8px; }
.ship-item {
  padding: 14px 12px;
  border-radius: 12px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background .15s ease;
  border: 1px solid transparent;
}
.ship-item:hover { background: rgba(255,255,255,0.04); border-color: var(--border); }
.ship-item.is-active { background: rgba(212,169,104,0.08); border-color: rgba(212,169,104,0.3); }
.ship-route { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.ship-port { font-family: 'JetBrains Mono', monospace; color: white; font-weight: 600; letter-spacing: 0.02em; }
.ship-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.ship-status { font-size: 10px; padding: 3px 8px; border-radius: 99px; letter-spacing: 0.05em; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.ship-status.sea { background: rgba(0,212,255,0.12); color: var(--cyan); }
.ship-status.air { background: rgba(212,169,104,0.12); color: var(--gold-bright); }
.ship-status.road { background: rgba(16,185,129,0.12); color: var(--emerald); }
.ship-eta { font-size: 11px; color: var(--text-dim); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.02em; }
.ship-progress { height: 3px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.ship-progress > div { height: 100%; background: var(--cyan); border-radius: 99px; transition: width .4s ease; }
.ship-vessel { font-size: 11px; color: var(--text-dim); margin-top: 8px; font-family: 'JetBrains Mono', monospace; opacity: .7; }
.ship-status.delivered { background: rgba(16,185,129,0.18); color: var(--emerald); }
.ship-item.is-pulse { box-shadow: 0 0 0 2px rgba(0,212,255,0.25); transition: box-shadow .6s ease; }
.ship-item.is-pulse .ship-progress > div { box-shadow: 0 0 8px currentColor; }
.ship-item.is-delivered { opacity: .55; transition: opacity .6s ease; }
.ship-item.is-delivered .ship-progress > div { background: var(--emerald); }
@keyframes shipNewIn {
  0%   { transform: translateX(-12px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
.ship-item.is-new { animation: shipNewIn .6s ease-out; }
.ship-item.is-new::before {
  content: 'NEW';
  position: absolute;
  top: 8px; right: 12px;
  background: var(--gold-bright);
  color: #0a0e1c;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 2px 6px;
  border-radius: 3px;
}
.ship-item { position: relative; }
.tracking-last-update {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tracking-last-update .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
  animation: liveDotBlink 1.4s infinite ease-in-out;
}
.tracking-last-update .ts { color: rgba(255,255,255,.85); }
@keyframes liveDotBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* Movible markers on tracking map — корабль/самолёт/грузовик ползёт по дуге */
.bpl-moving-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 40, 0.92);
  border: 2px solid currentColor;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.35), 0 0 12px currentColor;
  transition: transform 0.7s ease;
  cursor: pointer;
}
.bpl-moving-marker .glyph {
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.bpl-moving-marker.sea    { color: #00D4FF; }
.bpl-moving-marker.air    { color: #D4A968; }
.bpl-moving-marker.road   { color: #10B981; }
.bpl-moving-marker.urgent { color: #FF6B6B; animation: markerUrgent 1.4s infinite ease-in-out; }
.bpl-moving-marker.is-moving {
  transform: scale(1.18);
}
.bpl-moving-marker.is-arrived {
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  border-color: #10B981;
  animation: markerArrived 0.9s ease-in-out 3;
}
@keyframes markerUrgent {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0,0,0,.35), 0 0 10px #FF6B6B; }
  50%      { box-shadow: 0 0 0 4px rgba(0,0,0,.35), 0 0 28px #FF6B6B, 0 0 12px #FF6B6B; }
}
@keyframes markerArrived {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.35); }
}

/* Toast stack — правый нижний угол */
.bpl-toast-wrap {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}
.bpl-toast {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  max-width: 360px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  border-radius: 10px;
  border-left: 3px solid #10B981;
  box-shadow: 0 14px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
  font-family: 'Inter', sans-serif;
  animation: toastIn .35s cubic-bezier(0.16,1,0.3,1);
  pointer-events: auto;
}
.bpl-toast.is-hiding {
  animation: toastOut .5s ease forwards;
}
.bpl-toast__ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #10B981;
  color: #0a1628;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.bpl-toast__ttl {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bpl-toast__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.bpl-toast-sea  { border-left-color: #00D4FF; }
.bpl-toast-air  { border-left-color: #D4A968; }
.bpl-toast-road { border-left-color: #10B981; }
@keyframes toastIn  {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toastOut {
  to { transform: translateX(120%); opacity: 0; }
}

/* Sound toggle — компактный в углу секции */
.bpl-sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 99px;
  color: rgba(255,255,255,0.75);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bpl-sound-toggle:hover {
  border-color: rgba(212,169,104,0.4);
  color: #fff;
}
.bpl-sound-toggle.on {
  background: rgba(212,169,104,0.12);
  border-color: rgba(212,169,104,0.5);
  color: #d4a968;
}

@media (max-width: 640px) {
  .bpl-toast-wrap { right: 12px; bottom: 100px; }
  .bpl-toast      { min-width: 240px; max-width: calc(100vw - 24px); }
}

/* Hero mini-tracking — компактный список под map-stats */
.hero-ship-list {
  margin-top: 16px;
  padding: 14px 14px 8px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}
.hero-ship-list__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.hero-ship-list__head .live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
  animation: liveDotBlink 1.4s infinite ease-in-out;
}
.hero-ship-list__head .upd {
  margin-left: auto;
  color: rgba(255,255,255,0.5);
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 10px;
}
.ship-item.is-mini {
  padding: 8px 0 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: transparent;
  border-radius: 0;
}
.ship-item.is-mini:last-child { border-bottom: 0; padding-bottom: 4px; }
.ship-item.is-mini .ship-route {
  font-size: 12px;
  margin-bottom: 4px;
}
.ship-item.is-mini .ship-port { font-size: 12px; }
.ship-item.is-mini .ship-meta { gap: 8px; margin-bottom: 6px; }
.ship-item.is-mini .ship-status { font-size: 9px; padding: 2px 6px; }
.ship-item.is-mini .ship-eta    { font-size: 10px; }
.ship-item.is-mini .ship-progress { height: 2px; }
.ship-item.is-mini .ship-vessel { display: none; }
.ship-item.is-mini::before { display: none !important; } /* без NEW badge в hero — место мало */
.map-int-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg-deep);
}

/* MapLibre marker overrides */
.bpl-marker {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,212,255,0.18), 0 0 20px rgba(0,212,255,0.6);
  cursor: pointer;
  border: 2px solid var(--bg-deep);
  transition: transform .2s ease;
}
.bpl-marker:hover { transform: scale(1.2); }
.bpl-marker.gold { background: var(--gold); box-shadow: 0 0 0 4px rgba(212,169,104,0.20), 0 0 20px rgba(212,169,104,0.6); }
.bpl-marker.emerald { background: var(--emerald); box-shadow: 0 0 0 4px rgba(16,185,129,0.18), 0 0 20px rgba(16,185,129,0.6); }
.bpl-marker.crimson { background: var(--crimson); box-shadow: 0 0 0 4px rgba(239,68,68,0.20), 0 0 20px rgba(239,68,68,0.6); animation: pulse-marker 1.8s ease-out infinite; }
@keyframes pulse-marker {
  0%, 100% { box-shadow: 0 0 0 4px rgba(239,68,68,0.20), 0 0 20px rgba(239,68,68,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(239,68,68,0), 0 0 30px rgba(239,68,68,0.7); }
}

/* ====== Cinematic Banner ====== */
.cinematic-banner {
  position: relative;
  height: clamp(420px, 60vh, 720px);
  overflow: hidden;
  background: #000;
  isolation: isolate;
}
/* Видео-фон. Атрибут poster даёт мгновенную картинку пока видео грузится. */
.cinematic-banner .bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) saturate(0.95);
  pointer-events: none;
}
/* На совсем медленных соединениях (Save-Data) показываем только poster, без видео-фрейма. */
@media (prefers-reduced-data: reduce) {
  .cinematic-banner video.bg { display: none; }
  .cinematic-banner::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('../img/photos/photo-1577563908411-5077b6dc7624-w1200.jpg');
    background-size: cover; background-position: center;
    filter: brightness(0.7) saturate(0.95);
  }
}
.cinematic-banner::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,26,0.55) 0%, rgba(5,11,26,0.45) 50%, rgba(5,11,26,0.85) 100%),
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(5,11,26,0.7), transparent 70%);
  z-index: 1;
}
.cinematic-banner .inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.cinematic-banner .container { width: 100%; }
.cinematic-banner h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: white;
  max-width: 900px;
  margin-bottom: 24px;
}
.cinematic-banner h2 em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.cinematic-banner .sub {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 32px;
}
.cinematic-banner .metric-grid {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 32px;
}
.cinematic-banner .metric .v {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: white;
}
.cinematic-banner .metric .v em { font-style: italic; color: var(--gold-bright); }
.cinematic-banner .metric .l { color: var(--text-dim); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; margin-top: 4px; }
@media (max-width: 720px) { .cinematic-banner .metric-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ====== Global Network ====== */
.network-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1280px) { .network-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .network-grid { grid-template-columns: 1fr 1fr; } }
.port-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .35s ease, border-color .25s ease;
  isolation: isolate;
}
.port-card:hover { transform: translateY(-6px); border-color: rgba(212,169,104,0.4); }
.port-card .img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
  filter: saturate(.8) brightness(.75);
}
.port-card:hover .img { transform: scale(1.12); filter: saturate(1) brightness(.85); }
.port-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,11,26,0.05) 0%, rgba(5,11,26,0.85) 100%);
  z-index: 1;
}
.port-card .body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  z-index: 2;
  color: white;
}
.port-card .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.port-card .code::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
}
.port-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.port-card .meta {
  font-size: 12px;
  color: var(--text-muted);
}

.tilt { transform-style: preserve-3d; transition: transform .25s ease; will-change: transform; }

/* ====== Section base ====== */
section.dark-band {
  background: var(--bg-navy);
  padding: var(--section-y) 0;
  position: relative;
}
section.dark-band-2 {
  background: var(--bg-navy-2);
  padding: var(--section-y) 0;
}
section.light-band {
  background: var(--light-bg);
  color: var(--light-text);
  padding: var(--section-y) 0;
}
section.light-band-2 {
  background: var(--light-bg-2);
  color: var(--light-text);
  padding: var(--section-y) 0;
}

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: clamp(16px, 1.3vw, 18px); color: var(--text-muted); line-height: 1.55; }
.light-band .section-head p, .light-band-2 .section-head p { color: var(--light-text-muted); }

/* ====== Services ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--light-border);
  background: white;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.svc-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(0, 212, 255, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(0, 212, 255, 0.3); }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }
.svc-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--light-bg-2), white);
  border: 1px solid var(--light-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--light-text);
}
.svc-card h3 { margin-bottom: 8px; font-size: 22px; }
.svc-card p { color: var(--light-text-muted); font-size: 15px; line-height: 1.55; margin-bottom: 24px; min-height: 75px; }
.svc-card .arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--cyan-dim);
  transition: gap .2s ease;
}
.svc-card:hover .arrow { gap: 12px; }

/* ====== Stats wide ====== */
.stats-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
}
.stats-wide .cell { padding: 32px; border: 1px solid var(--border); border-radius: var(--r-lg); background: rgba(255,255,255,0.02); position: relative; overflow: hidden; }
.stats-wide .cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .4;
}
.stats-wide .num { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.025em; line-height: 1; }
.stats-wide .num .unit { color: var(--gold); font-size: 0.5em; vertical-align: super; margin-left: 4px; font-weight: 600; }
.stats-wide .label { color: var(--text-muted); font-size: 14px; margin-top: 8px; }
.stats-wide .trend { color: var(--emerald); font-size: 12px; font-weight: 600; margin-top: 16px; }
@media (max-width: 1024px) { .stats-wide { grid-template-columns: repeat(2, 1fr); } }

/* ====== Cases Grid (archive) ====== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s ease;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); border-color: rgba(212, 169, 104, 0.35); }
.case-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-navy-2);
}
.case-card-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
  filter: saturate(.85);
}
.case-card:hover .case-card-poster { transform: scale(1.08); }
.case-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,26,0.10) 0%, rgba(5,11,26,0.85) 100%);
  z-index: 1;
}
.case-card-media .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 2;
}
.case-card-badge-video {
  position: absolute; right: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: white;
  z-index: 3;
}
.case-card-badge-video::before { content: '▶'; color: var(--gold-bright); font-size: 8px; margin-right: 4px; }
.case-card-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 3;
  gap: 8px;
}
.case-card-route {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: white;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.1);
}
.case-card-savings {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-bright);
  padding: 4px 10px;
  background: rgba(212,169,104,0.12);
  border: 1px solid rgba(212,169,104,0.3);
  border-radius: 999px;
  white-space: nowrap;
}
.case-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 3;
}
.case-card-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin: 0 0 8px;
}
.case-card-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.case-card-stats span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}
.case-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-card-excerpt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.case-card-read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
  transition: gap .2s ease;
}
.case-card:hover .case-card-read { gap: 10px; }

/* ====== Case Hero (single) ====== */
.case-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.case-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.case-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5,11,26,0.75) 0%, rgba(5,11,26,0.30) 50%, rgba(5,11,26,0.85) 100%);
  z-index: 1;
}
.case-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 60px;
  width: 100%;
}
.case-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
  margin-bottom: 48px;
}
.case-hero-back:hover { color: var(--gold-bright); }
.case-hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.case-hero-route {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 1px solid rgba(212,169,104,0.3);
  border-radius: 999px;
  background: rgba(212,169,104,0.08);
}
.case-hero-mode {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
}
.case-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  color: white;
  margin: 0 0 40px;
}
.case-hero-metrics {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.case-hero-metric-value {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: white;
  line-height: 1.1;
  margin-bottom: 4px;
}
.case-hero-metric-gold { color: var(--gold-bright); }
.case-hero-metric-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.case-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.case-unmute {
  position: absolute;
  bottom: 100px;
  right: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.case-unmute:hover {
  background: rgba(0,0,0,0.7);
  border-color: var(--gold);
  color: #fff;
}
.case-unmute.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0A1628;
}
.case-unmute.active svg {
  animation: pulse-sound 1s ease-in-out infinite;
}
@keyframes pulse-sound {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.case-replay {
  position: absolute;
  bottom: 100px;
  right: 50%;
  transform: translateX(50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--gold);
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(12px);
  font-family: 'JetBrains Mono', monospace;
}
.case-replay:hover {
  background: var(--gold);
  color: #0A1628;
  transform: translateX(50%) scale(1.05);
}
@keyframes pulse-sound {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.case-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3);
  animation: case-scroll-bounce 2s ease-in-out infinite;
}
@keyframes case-scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.8; }
}

/* Case body (below hero) */
.case-lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--light-text-muted);
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--light-border);
}
.case-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--light-text);
  margin: 48px 0 16px;
}
.case-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--light-text);
}
.case-body ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}
.case-body ul li {
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--light-border);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--light-text);
}
.case-body ul li strong {
  color: var(--gold-bright);
  font-weight: 600;
}
.case-services {
  margin-top: 56px;
  padding: 32px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--light-border);
}
.case-services-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--light-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.case-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.case-service-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--light-bg-elev, #f5f5f0);
  border: 1px solid var(--light-border);
  color: var(--light-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.case-service-chip:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}
.case-service-arrow {
  color: var(--gold-bright);
}
.case-cta-box {
  margin-top: 56px;
  padding: 48px 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-navy), var(--bg-navy-2));
  text-align: center;
}
.case-cta-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  color: white;
  margin-bottom: 12px;
}
.case-cta-lead {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 17px;
}

@media (max-width: 720px) {
  .case-hero { min-height: 100svh; max-height: none; }
  .case-hero-content { padding: 100px 20px 40px; }
  .case-hero-metrics { gap: 24px; }
  .case-cta-box { padding: 32px 20px; }
}

/* ====== Process timeline ====== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 32px; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  opacity: .3;
}
@media (max-width: 1024px) { .process-timeline { grid-template-columns: 1fr 1fr; } .process-timeline::before { display: none; } }
@media (max-width: 600px) { .process-timeline { grid-template-columns: 1fr; } }
.step {
  padding: 32px 24px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  position: relative;
  isolation: isolate;
}
.step .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-navy-2), var(--bg-elev));
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', Georgia, serif; font-weight: 700;
  color: var(--gold-bright);
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.step .num::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,169,104,0.2), transparent);
  filter: blur(8px);
  z-index: -1;
}
.step h4 { color: white; font-family: 'Manrope'; font-weight: 600; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* ====== News preview ====== */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.news-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.news-tab {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--light-border);
  background: white;
  color: var(--light-text-muted);
  cursor: pointer;
  transition: all .15s ease;
}
.news-tab.is-active { background: var(--light-text); color: white; border-color: var(--light-text); }
.news-tab:hover:not(.is-active) { color: var(--light-text); border-color: var(--light-text); }

.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 1024px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: white;
  border: 1px solid var(--light-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.news-card.featured { grid-row: span 2; }
.news-card .img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1B73E6, #0A1628);
  position: relative;
}
.news-card.featured .img { aspect-ratio: 16 / 10; }
.news-card .img.economy { background: linear-gradient(135deg, #D4A968, #6B4F1E); }
.news-card .img.industry { background: linear-gradient(135deg, #374936, #0A1628); }
.news-card .img.logistics { background: linear-gradient(135deg, #1B73E6, #0F1E36); }
.news-card .img.customs { background: linear-gradient(135deg, #EF4444, #4A0707); }
.news-card .img::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .5;
}
.news-card .meta {
  position: absolute; left: 16px; top: 16px;
  display: flex; gap: 8px;
}
.news-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card .date { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--light-text-muted); margin-bottom: 12px; }
.news-card h3 { color: var(--light-text); font-size: 19px; line-height: 1.25; margin-bottom: 12px; }
.news-card.featured h3 { font-size: 26px; }
.news-card .summary { color: var(--light-text-muted); font-size: 14px; line-height: 1.55; flex: 1; }
.news-card .source { display: flex; gap: 8px; align-items: center; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--light-border); font-size: 12px; color: var(--light-text-muted); }

/* ====== Reviews ====== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  padding: 32px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.review-card .stars { color: var(--gold-bright); margin-bottom: 16px; font-size: 14px; letter-spacing: 2px; }
.review-card .text { color: var(--text); font-size: 16px; line-height: 1.55; flex: 1; margin-bottom: 24px; }
.review-card .author { padding-top: 20px; border-top: 1px solid var(--border); display: flex; gap: 12px; align-items: center; }
.review-card .ava { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--cyan-dim)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.review-card .name { color: white; font-weight: 600; font-size: 15px; }
.review-card .role { color: var(--text-dim); font-size: 13px; margin-top: 2px; }

/* ====== CTA strip ====== */
.cta-strip {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
  background: var(--bg-deep);
  overflow: hidden;
  isolation: isolate;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212,169,104,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0,212,255,0.12) 0%, transparent 60%);
  z-index: 0;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip h2 { margin: 0 auto 24px; max-width: 800px; background: linear-gradient(180deg, #fff, #94B2D9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-strip p { font-size: 18px; color: var(--text-muted); margin: 0 auto 40px; max-width: 600px; }
.cta-strip .actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ====== Footer ====== */
footer.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 20px; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 14px; transition: color .15s ease; }
.footer-grid a:hover { color: white; }
.footer-grid .brand img { height: 36px; margin-bottom: 16px; filter: brightness(1.05); }
.footer-grid .brand p { color: var(--text-muted); font-size: 14px; line-height: 1.55; max-width: 320px; }
.footer-copy { display: flex; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 12px; font-family: 'JetBrains Mono', monospace; flex-wrap: wrap; gap: 16px; }

/* ====== Scroll progress ====== */
.scroll-progress {
  position: fixed;
  top: 72px; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 49;
}
.scroll-progress .fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width .1s linear;
}

/* ====== Reveal animations ====== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-orb, .hero-orb-2 { animation: none; }
  .world-route { animation: none; }
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ====== Customs duty calculator ====== */
.duty-section {
  position: relative;
  background: var(--bg-navy);
  padding: clamp(80px, 10vw, 144px) 0;
  overflow: hidden;
  isolation: isolate;
}
.duty-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0,212,255,0.10), transparent 60%);
  z-index: 0;
}
.duty-section .container { position: relative; z-index: 1; }
.duty-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: start;
  margin-top: 56px;
}
@media (max-width: 1024px) { .duty-grid { grid-template-columns: 1fr; } }

.duty-form {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-card-dark);
}
.duty-form-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.duty-form-head .ttl { font-family: 'Fraunces', serif; font-variation-settings: "opsz" 96; font-size: 20px; color: white; }
.duty-form-head .step { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.05em; color: var(--text-dim); text-transform: uppercase; }

.tnved-search { position: relative; }
.tnved-search input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: white; font-family: inherit; font-size: 15px;
  width: 100%;
}
.tnved-search input:focus { outline: none; border-color: var(--gold); }
.tnved-dropdown {
  position: absolute;
  top: calc(100% + 4px); left: 0; right: 0;
  z-index: 10;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.tnved-dropdown.open { display: block; }
.tnved-dropdown .opt {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .12s ease;
}
.tnved-dropdown .opt:hover { background: rgba(212,169,104,0.08); }
.tnved-dropdown .opt .c { font-family: 'JetBrains Mono', monospace; color: var(--gold-bright); font-size: 13px; font-weight: 600; }
.tnved-dropdown .opt .d { color: var(--text-muted); font-size: 12px; margin-top: 2px; line-height: 1.4; }
.tnved-dropdown .opt .rates { color: var(--text-dim); font-size: 11px; font-family: 'JetBrains Mono', monospace; margin-top: 4px; }

/* Result panel */
.duty-result {
  background: linear-gradient(180deg, rgba(15,30,54,0.95), rgba(5,11,26,0.98));
  border: 1px solid rgba(212,169,104,0.30);
  border-radius: var(--r-xl);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  position: sticky; top: 96px;
  isolation: isolate;
}
.duty-result::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(212,169,104,0.18), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
.duty-result > * { position: relative; z-index: 1; }
.dr-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(0,0,0,0.20);
}
.dr-head .ttl { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--gold-bright); text-transform: uppercase; }
.dr-head .live { display: inline-flex; align-items: center; gap: 6px; color: var(--emerald); font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.dr-head .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 6px var(--emerald); animation: pulse 1.6s ease-out infinite; }

.dr-total {
  padding: 32px 24px 24px;
  text-align: center;
  background: rgba(212,169,104,0.06);
}
.dr-total .lbl { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.dr-total .val {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: white;
}
.dr-total .val .cur { color: var(--gold-bright); font-size: 0.5em; vertical-align: super; margin-left: 6px; }
.dr-total .sub { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

.dr-breakdown { padding: 12px 24px 20px; }
.dr-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.dr-row:last-child { border-bottom: none; }
.dr-row .k { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; }
.dr-row .k .pct { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--gold-bright); padding: 2px 8px; border-radius: 99px; background: rgba(212,169,104,0.08); border: 1px solid rgba(212,169,104,0.20); }
.dr-row .v { font-family: 'JetBrains Mono', monospace; color: white; font-size: 14px; font-weight: 500; }

.dr-pilot {
  margin: 0 24px 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.18);
  display: flex; gap: 12px; align-items: flex-start;
}
.dr-pilot .ava {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: #050B1A; font-weight: 700; font-size: 12px;
  flex-shrink: 0;
  font-family: 'Fraunces', serif;
}
.dr-pilot .txt { font-size: 13px; line-height: 1.5; color: var(--text); }
.dr-pilot .txt b { color: var(--cyan); }

.dr-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.dr-disclaim {
  padding: 12px 24px;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
}
.dr-disclaim a { color: var(--gold-bright); }

/* ====== Calculator section with Sales Pilot ====== */
.calc-section {
  position: relative;
  background: var(--bg-deep);
  padding: clamp(80px, 10vw, 144px) 0;
  overflow: hidden;
  isolation: isolate;
}
.calc-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(212,169,104,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(0,212,255,0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.calc-section .container { position: relative; z-index: 1; }
.calc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 56px;
}
@media (max-width: 1024px) { .calc-grid { grid-template-columns: 1fr; gap: 24px; } }

.calc-form {
  background: var(--bg-navy);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-card-dark);
}
@media (max-width: 720px) { .calc-form { padding: 24px; } }
.calc-form-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.calc-form-head .ttl {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: 22px;
  color: white;
}
.calc-form-head .step {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.op-toggle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.op-toggle button {
  padding: 14px 12px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}
.op-toggle button:hover { color: white; border-color: var(--border-strong); }
.op-toggle button.is-active { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #1A1006; border-color: var(--gold); font-weight: 600; }

.calc-row { display: grid; gap: 6px; margin-bottom: 16px; }
.calc-row label { font-size: 12px; color: var(--text-dim); letter-spacing: 0.02em; font-weight: 500; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
.calc-row input, .calc-row select, .calc-row textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: white;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .15s ease, background .15s ease;
}
.calc-row input:focus, .calc-row select:focus, .calc-row textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.06); }
.calc-row input::placeholder, .calc-row textarea::placeholder { color: var(--text-dim); }
.calc-row .hint { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.calc-row textarea { min-height: 64px; resize: vertical; font-family: inherit; }

.calc-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 600px) { .calc-cols-2, .calc-cols-4 { grid-template-columns: 1fr 1fr; } }

.calc-section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 24px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.calc-section-title:first-of-type { padding-top: 0; border-top: none; margin-top: 0; }

.consent-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.consent-row input[type="checkbox"] { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; }
.consent-row label { font-size: 13px; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.consent-row a { color: var(--gold-bright); text-decoration: underline; }

.calc-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1A1006;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 24px rgba(212,169,104,0.25);
  transition: transform .15s ease;
}
.calc-submit:hover { transform: translateY(-1px); }
.calc-disclaimer {
  font-size: 11px; color: var(--text-dim); line-height: 1.5; margin-top: 14px;
  padding: 12px 14px; border-radius: 8px;
  background: rgba(255,255,255,0.02); border-left: 2px solid var(--gold);
}
.calc-disclaimer a { color: var(--gold-bright); }

/* Sales Pilot sticky panel */
.sales-pilot {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.95), rgba(5, 11, 26, 0.98));
  border: 1px solid rgba(212,169,104,0.30);
  border-radius: var(--r-xl);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  isolation: isolate;
}
.sales-pilot::before {
  content: '';
  position: absolute; top: -40%; left: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(0,212,255,0.20), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
.sp-head {
  position: relative; z-index: 1;
  padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.20);
}
.sp-head .ava {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold-bright), var(--cyan), var(--gold-bright));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 2px;
}
.sp-head .ava::after {
  content: 'S';
  position: absolute; inset: 2px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 20px;
}
.sp-head .meta { flex: 1; }
.sp-head .nm { color: white; font-weight: 600; font-size: 14px; }
.sp-head .st { color: var(--emerald); font-size: 11px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.sp-head .st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 6px var(--emerald); animation: pulse 1.6s ease-out infinite; }

.sp-watching {
  position: relative; z-index: 1;
  padding: 12px 20px;
  background: rgba(212,169,104,0.08);
  border-bottom: 1px solid rgba(212,169,104,0.15);
  font-size: 11px;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold-bright);
  display: flex; align-items: center; gap: 10px;
}
.sp-watching .eye {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(212,169,104,0.15);
  animation: pulse-marker 2s ease-out infinite;
}

.sp-body {
  position: relative; z-index: 1;
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 360px;
}

.sp-msg { padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; max-width: 95%; }
.sp-msg.system { background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.18); color: var(--cyan); font-family: 'JetBrains Mono', monospace; font-size: 11px; text-align: center; align-self: stretch; letter-spacing: 0.02em; }
.sp-msg.ai { background: rgba(212,169,104,0.10); border: 1px solid rgba(212,169,104,0.22); color: white; border-top-left-radius: 4px; align-self: flex-start; }
.sp-msg.ai .meta { font-size: 10px; color: var(--text-dim); margin-bottom: 4px; letter-spacing: 0.05em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
.sp-msg.quote {
  background: linear-gradient(135deg, rgba(212,169,104,0.20), rgba(212,169,104,0.10));
  border: 1px solid rgba(212,169,104,0.4);
  color: white;
  border-top-left-radius: 4px;
  align-self: flex-start;
  font-family: 'Fraunces', serif;
}
.sp-msg.quote .val {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 600;
  color: var(--gold-bright);
  display: block; margin: 4px 0;
}
.sp-msg.quote .breakdown {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(212,169,104,0.20);
  line-height: 1.6;
}

.sp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.sp-actions button { padding: 6px 12px; border-radius: 99px; font-size: 12px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: white; cursor: pointer; }
.sp-actions button.primary { background: var(--gold); color: #1A1006; border-color: var(--gold); font-weight: 600; }

.sp-foot {
  position: relative; z-index: 1;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}

/* ====== BPL Pilot — AI agent flagship ====== */
.pilot-section {
  position: relative;
  padding: clamp(80px, 10vw, 144px) 0;
  background: var(--bg-deep);
  overflow: hidden;
  isolation: isolate;
}
.pilot-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(212,169,104,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(0,212,255,0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.pilot-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,178,217,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,178,217,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.pilot-section .container { position: relative; z-index: 1; }

.pilot-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(212,169,104,0.18), rgba(0,212,255,0.10));
  border: 1px solid rgba(212,169,104,0.30);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 28px;
}
.pilot-eyebrow .star {
  width: 16px; height: 16px; flex-shrink: 0;
}
.pilot-section h2 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: white;
  max-width: 980px;
  margin-bottom: 28px;
}
.pilot-section h2 em { font-style: italic; color: var(--gold-bright); font-weight: 500; font-variation-settings: "opsz" 144, "SOFT" 100; }
.pilot-section .pilot-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 64px;
}

.pilot-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 1024px) { .pilot-grid { grid-template-columns: 1fr; gap: 48px; } }

.pilot-features { display: flex; flex-direction: column; gap: 16px; }
.pilot-feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.pilot-feature:hover {
  transform: translateX(4px);
  border-color: rgba(212,169,104,0.35);
  background: rgba(212,169,104,0.04);
}
.pilot-feature .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(212,169,104,0.18), rgba(0,212,255,0.10));
  border: 1px solid rgba(212,169,104,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.pilot-feature h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: white;
  margin-bottom: 8px;
}
.pilot-feature p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}
.pilot-feature .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--emerald);
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pilot-feature .tag.gold { background: rgba(212,169,104,0.10); border-color: rgba(212,169,104,0.30); color: var(--gold-bright); }

.pilot-cta {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(212,169,104,0.10), rgba(0,212,255,0.05));
  border: 1px solid rgba(212,169,104,0.30);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.pilot-cta .txt { color: white; font-size: 15px; max-width: 400px; }
.pilot-cta .txt b { font-family: 'Fraunces', serif; font-weight: 600; }

/* Mock chat panel (right side) */
.pilot-mock {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.85), rgba(5, 11, 26, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,169,104,0.10);
  isolation: isolate;
}
.pilot-mock::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(212,169,104,0.18), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
.pilot-mock-head {
  position: relative; z-index: 1;
  padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
}
.pilot-mock-head .ava {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--gold-bright), var(--cyan), var(--gold-bright));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 2px;
}
.pilot-mock-head .ava::after {
  content: 'P';
  position: absolute; inset: 2px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 18px;
}
.pilot-mock-head .meta { flex: 1; }
.pilot-mock-head .nm { color: white; font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.pilot-mock-head .st { color: var(--emerald); font-size: 11px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.pilot-mock-head .st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 6px var(--emerald); animation: pulse 1.6s ease-out infinite; }
.pilot-mock-head .actions { display: flex; gap: 6px; opacity: .5; }
.pilot-mock-head .actions span { width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,0.06); }

.pilot-mock-body {
  position: relative; z-index: 1;
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 460px;
}
.pmb { padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5; max-width: 92%; }
.pmb.ai {
  background: rgba(212,169,104,0.10);
  border: 1px solid rgba(212,169,104,0.22);
  color: white;
  border-top-left-radius: 4px;
  align-self: flex-start;
}
.pmb.user {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1A1006;
  align-self: flex-end;
  border-top-right-radius: 4px;
  font-weight: 500;
}
.pmb.system {
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.20);
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  align-self: stretch;
  text-align: center;
}
.pmb .doc-card {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-top: 10px;
}
.pmb .doc-card .ic {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0,212,255,0.10);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pmb .doc-card .info { flex: 1; min-width: 0; }
.pmb .doc-card .info .ttl { color: white; font-size: 13px; font-weight: 600; }
.pmb .doc-card .info .sub { color: var(--text-dim); font-size: 11px; font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.pmb .doc-card .dn { color: var(--gold-bright); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: rgba(212,169,104,0.10); }

.pmb .quick-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pmb .quick-actions button {
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: white;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.pmb .quick-actions button.primary { background: var(--gold); color: #1A1006; border-color: var(--gold); font-weight: 600; }

.typing-dots {
  display: inline-flex; gap: 4px; align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  border-top-left-radius: 4px;
  background: rgba(212,169,104,0.10);
  border: 1px solid rgba(212,169,104,0.20);
  align-self: flex-start;
}
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); opacity: .4; animation: typing 1.2s ease-in-out infinite; }
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .30s; }
@keyframes typing { 0%, 60%, 100% { opacity: .4; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.pilot-mock-foot {
  position: relative; z-index: 1;
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pilot-mock-foot .keys { color: var(--gold-bright); }

/* Tech stack strip */
.pilot-tech {
  margin-top: 80px;
  padding: 32px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 1024px) { .pilot-tech { grid-template-columns: 1fr; } }
.pilot-tech .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.pilot-tech .stack {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.pilot-tech .stack b { color: white; font-weight: 500; margin-right: 4px; }

/* ====== Partners section ====== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .partners-grid { grid-template-columns: 1fr; } }
.partner-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 32px 24px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(212,169,104,0.18); }
.partner-card .logo {
  width: 100%;
  height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.partner-card .logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: saturate(1); }
.partner-card .name {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--light-text);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.partner-card .role {
  text-align: center;
  font-size: 11px;
  color: var(--light-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

/* ====== Legal section ====== */
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1024px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-card {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; gap: 16px;
  isolation: isolate;
  overflow: hidden;
}
.legal-card:hover { transform: translateY(-4px); border-color: rgba(212,169,104,0.35); }
.legal-card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,169,104,0.10), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0;
  transition: opacity .35s ease;
}
.legal-card:hover::before { opacity: 1; }
.legal-card.ai { border-color: rgba(212,169,104,0.25); }
.legal-card.ai::before { opacity: .6; }
.legal-card .badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.legal-card h3 { color: white; font-size: 24px; }
.legal-card .desc { color: var(--text-muted); font-size: 15px; line-height: 1.55; flex: 1; }
.legal-card .features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.legal-card .features li { color: var(--text-muted); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.legal-card .features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 7px; flex-shrink: 0; }
.legal-card .price { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-dim); letter-spacing: 0.02em; }
.legal-card .price .pv { color: var(--gold-bright); font-weight: 600; font-size: 16px; margin-right: 6px; }

/* ====== Video modal for case cards ====== */
.video-modal {
  position: fixed; inset: 0;
  z-index: 80;
  background: rgba(5, 11, 26, 0.92);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.video-modal.open { display: flex; opacity: 1; }
.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 1200px;
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.65);
  transform: scale(.96);
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}
.video-modal.open .video-modal-box { transform: scale(1); }
.video-modal video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.video-modal-close {
  position: absolute; right: 16px; top: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(5,11,26,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .15s ease;
}
.video-modal-close:hover { background: rgba(212,169,104,0.20); border-color: var(--gold); }
.video-modal-meta {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.video-modal-meta .ttl {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-weight: 500;
  font-size: 20px;
  color: white;
}
.video-modal-meta .sub { font-size: 13px; color: var(--text-muted); }

/* front-page case cards use same structure as archive — no compat needed */

/* ====== Floating widget (AI lawyer chat) ====== */
.float-wrap {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  transform: translateY(120px);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
  pointer-events: none;
}
.float-wrap.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.float-launcher {
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.96), rgba(5, 11, 26, 0.96));
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: 12px 20px 12px 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,169,104,0.12);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.float-launcher:hover { transform: translateY(-1px); border-color: rgba(212,169,104,0.4); }
.float-launcher .ai-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #1A1006;
  font-weight: 700;
  font-size: 14px;
  position: relative;
}
.float-launcher .ai-avatar::after {
  content: '';
  position: absolute; right: -2px; bottom: -2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--emerald);
  border: 2px solid var(--bg-deep);
  animation: pulse 1.6s ease-out infinite;
}
.float-launcher .text { color: white; font-size: 14px; font-weight: 500; line-height: 1.1; }
.float-launcher .text small { display: block; color: var(--text-dim); font-size: 11px; font-weight: 400; margin-top: 2px; }

.chat-panel {
  width: 380px;
  max-width: calc(100vw - 48px);
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.98), rgba(5, 11, 26, 0.98));
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 540px;
}
.chat-panel.open { display: flex; }
.chat-head {
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.chat-head .ava {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #1A1006; font-weight: 700;
  position: relative;
}
.chat-head .ava::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--emerald); border: 2px solid var(--bg-navy-2); animation: pulse 1.6s ease-out infinite; }
.chat-head .name { color: white; font-weight: 600; font-size: 14px; }
.chat-head .status { color: var(--emerald); font-size: 12px; }
.chat-head .close {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.chat-head .close:hover { color: white; background: rgba(255,255,255,0.08); }
.chat-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
}
.chat-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
}
.chat-bubble.ai {
  background: rgba(212,169,104,0.10);
  border: 1px solid rgba(212,169,104,0.20);
  color: white;
  border-top-left-radius: 4px;
  align-self: flex-start;
}
.chat-bubble.user {
  background: var(--gold);
  color: #1A1006;
  align-self: flex-end;
  border-top-right-radius: 4px;
  font-weight: 500;
}
.chat-bubble.ai .meta { display: block; color: var(--text-dim); font-size: 11px; margin-bottom: 6px; letter-spacing: 0.05em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }
.chat-suggestions { display: flex; flex-direction: column; gap: 8px; padding: 0 20px 12px; }
.chat-suggestions button {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  font-size: 13px;
  text-align: left;
  font-family: inherit;
  transition: all .15s ease;
}
.chat-suggestions button:hover { color: white; border-color: var(--gold); background: rgba(212,169,104,0.06); }
.chat-input {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px;
  align-items: center;
}
.chat-input input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: white;
}
.chat-input input::placeholder { color: var(--text-dim); }
.chat-input input:focus { outline: none; border-color: var(--gold); }
.chat-input .send {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gold);
  color: #1A1006;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-input .mic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-input .mic:hover { color: white; background: rgba(255,255,255,0.08); }
.chat-foot {
  padding: 10px 20px;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  border-top: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.chat-foot a { color: var(--gold-bright); }

