/* ============================================================
   M EXPRESS CARGO PVT. LTD — mexpresscargo.com
   Design system · 2026 rebuild
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Archivo Var';
  src: url('/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Var';
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #060B26;
  --navy-900: #081033;
  --navy-850: #0A1442;
  --navy-800: #0C1A55;
  --navy: #0D206F;          /* brand navy  */
  --navy-600: #1D34A0;
  --navy-500: #2E47C4;
  --red: #E91D26;           /* brand red   */
  --red-600: #C4141C;
  --red-050: #FDECEC;
  --ink: #0E1430;
  --slate: #566080;
  --slate-300: #9AA3C0;
  --paper: #FFFFFF;
  --cloud: #F4F6FB;
  --cloud-deep: #E9EDF7;
  --line: #E2E7F3;
  --line-dark: rgba(255,255,255,.12);

  --font-display: 'Archivo Var', 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter Var', 'Inter', system-ui, sans-serif;

  --w-max: 1240px;
  --w-wide: 1380px;
  --gutter: clamp(20px, 4vw, 48px);

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;

  --shadow-1: 0 1px 2px rgba(8,16,51,.05), 0 8px 24px rgba(8,16,51,.06);
  --shadow-2: 0 2px 4px rgba(8,16,51,.06), 0 20px 48px rgba(8,16,51,.12);
  --shadow-red: 0 10px 30px rgba(233,29,38,.28);

  --ease-out: cubic-bezier(.22,.61,.2,1);
  --ease-swift: cubic-bezier(.65,.05,.18,1);
  --dur: .65s;

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--navy); color: #fff; }

/* ---------- Typography ---------- */
.kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 116%;
  font-size: 12.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.on-dark .kicker { color: #FF7B81; }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-weight: 780;
  color: var(--navy-900);
  text-wrap: balance;
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
h1 { font-size: clamp(40px, 6.4vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; }
h3 { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.2; letter-spacing: -0.014em; }
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--slate);
  max-width: 62ch;
}
.on-dark .lead, .on-dark p { color: var(--slate-300); }
.accent { color: var(--red); }
.thin-accent { font-weight: 480; font-stretch: 100%; color: var(--slate); }
.on-dark .thin-accent { color: var(--slate-300); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--w-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container.wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }
.section { padding-block: clamp(84px, 10vw, 138px); position: relative; }
.section.tight { padding-block: clamp(56px, 7vw, 96px); }
.section.on-dark { background: var(--navy-900); }
.section.on-cloud { background: var(--cloud); }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.centered { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 768px) { .section-head.split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 680;
  font-stretch: 105%;
  font-size: 15.5px;
  letter-spacing: .01em;
  line-height: 1;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s, border-color .25s;
  will-change: transform;
  white-space: nowrap;
}
.btn .arr { display: inline-flex; transition: transform .35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.red { --btn-bg: var(--red); box-shadow: var(--shadow-red); }
.btn.red:hover { background: var(--red-600); }
.btn.ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--navy); background: #fff; }
.btn.ghost-dark { --btn-bg: transparent; --btn-fg: #fff; border: 1.5px solid var(--line-dark); }
.btn.ghost-dark:hover { border-color: #fff; }
.btn.white { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn.white:hover { background: var(--cloud); }
.btn.lg { padding: 19px 34px; font-size: 17px; }
.btn.sm { padding: 11px 20px; font-size: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 680; font-size: 15px;
  color: var(--navy);
}
.text-link .arr { transition: transform .3s var(--ease-out); }
.text-link:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height .4s var(--ease-out), background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header .container.wide { display: flex; align-items: center; gap: 28px; }
.site-header.scrolled {
  height: 66px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(8,16,51,.07), 0 12px 32px -18px rgba(8,16,51,.18);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; transition: height .4s var(--ease-out); }
.site-header.scrolled .brand img { height: 36px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 620; font-size: 15.5px; font-stretch: 104%;
  color: var(--navy-900);
  border-radius: 999px;
  transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-cta .login-link {
  font-family: var(--font-display); font-weight: 620; font-size: 14.5px;
  color: var(--slate); padding: 10px 12px; transition: color .25s;
}
.header-cta .login-link:hover { color: var(--navy); }

/* Hamburger */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; z-index: 130; }
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2.4px; border-radius: 2px;
  background: var(--navy-900); transition: transform .4s var(--ease-swift), opacity .3s, background .3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22.5px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.menu-open .nav-toggle span { background: #fff; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 48px;
  clip-path: circle(0px at calc(100% - 44px) 42px);
  visibility: hidden;
  transition: clip-path .7s var(--ease-swift), visibility 0s .7s;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .7s var(--ease-swift); }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav > a {
  font-family: var(--font-display); font-weight: 760; font-stretch: 110%;
  font-size: clamp(34px, 8vw, 52px); letter-spacing: -0.02em;
  color: #fff; padding: 6px 0; line-height: 1.1;
  display: flex; align-items: baseline; gap: 14px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
body.menu-open .mobile-menu nav > a { opacity: 1; transform: none; }
.mobile-menu nav > a i { font-style: normal; font-size: 13px; letter-spacing: .14em; color: var(--slate-300); font-weight: 600; }
.mobile-menu nav > a.active { color: #FF7B81; }
.mobile-menu .menu-foot { margin-top: 40px; display: grid; gap: 14px; opacity: 0; transition: opacity .5s .25s; }
body.menu-open .mobile-menu .menu-foot { opacity: 1; }
.mobile-menu .menu-foot .row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Hero + 3D stage ---------- */
.stage-wrap { position: relative; height: 480vh; background: linear-gradient(180deg, #FDFDFF 0%, #F2F5FC 60%, #ECF0F9 100%); }
.stage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.stage-pin::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 62%, rgba(8,16,51,.06) 100%);
}
#stage3d { position: absolute; inset: 0; }
#stage3d canvas { width: 100%; height: 100%; }
html.reduced .stage-wrap, .no-webgl .stage-wrap { height: auto; }
@media (max-width: 820px) { .stage-wrap { height: 420vh; } }

.hero-copy {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding-top: calc(var(--header-h) + clamp(28px, 6vh, 84px));
  pointer-events: none;
}
.hero-copy .container { pointer-events: none; }
.hero-copy .btn, .hero-copy a { pointer-events: auto; }
.hero-title { max-width: none; font-size: clamp(31px, 9.2vw, 92px); }
.hero-title .line { display: block; overflow: clip; white-space: nowrap; }
.hero-title .line > span { display: inline-block; }
.hero-sub { margin-top: 22px; max-width: 52ch; font-size: clamp(16px, 1.5vw, 19px); color: var(--slate); }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  padding-bottom: clamp(18px, 3.5vh, 36px);
  pointer-events: none;
}
.hero-meta::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background: linear-gradient(180deg, rgba(242,245,252,0), rgba(242,245,252,.92) 64%);
  pointer-events: none;
}
.hero-meta .container.wide { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* phase captions */
.stage-captions { position: relative; min-height: 86px; width: min(400px, 60vw); flex: 0 0 auto; }
.stage-caption { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(14px); }
.stage-caption .cap-k {
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 6px;
}
.stage-caption .cap-t {
  font-family: var(--font-display); font-weight: 720; font-stretch: 106%;
  font-size: clamp(18px, 2vw, 23px); color: var(--navy-900); line-height: 1.25;
  letter-spacing: -0.01em;
}
.stage-progress { display: flex; gap: 8px; align-items: center; }
.stage-progress .dot {
  width: 8px; height: 8px; border-radius: 999px; background: #C6CDE4;
  transition: background .3s, transform .3s;
}
.stage-progress .dot.active { background: var(--red); transform: scale(1.35); }
.scroll-hint {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 550; letter-spacing: .08em; text-transform: uppercase; color: var(--slate);
}
.scroll-hint .wheel {
  width: 22px; height: 34px; border: 1.6px solid var(--slate-300); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-hint .wheel i { width: 3px; height: 7px; border-radius: 3px; background: var(--red); animation: wheel 1.8s var(--ease-out) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.hero-fallback { position: absolute; inset: 0; display: none; }
.hero-fallback img { width: 100%; height: 100%; object-fit: cover; }
.hero-fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(253,253,255,.92) 26%, rgba(253,253,255,.55) 55%, rgba(236,240,249,.25)); }
.no-webgl .hero-fallback { display: block; }
.no-webgl #stage3d, .no-webgl .stage-captions, .no-webgl .stage-progress { display: none; }
.no-webgl .stage-pin { height: 92vh; }

/* ---------- Partner strip ---------- */
.partner-strip { border-top: 1px solid var(--line); background: #fff; }
.partner-strip .inner {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px);
  padding-block: 26px; flex-wrap: wrap; justify-content: center;
}
.partner-strip .label {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--slate);
  flex: 0 0 auto;
}
.partner-strip img { height: 42px; width: auto; filter: grayscale(1) opacity(.7); transition: filter .35s; }
.partner-strip img:hover { filter: none; }

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: clip; }
.stats-band .grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px);
}
.stat .num {
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(52px, 6.5vw, 92px); line-height: 1; color: #fff; letter-spacing: -0.02em;
  display: flex; align-items: baseline;
}
.stat .num .suffix { color: var(--red); font-size: .6em; margin-left: 2px; }
.stat .lbl { margin-top: 10px; color: var(--slate-300); font-size: 15.5px; font-weight: 480; max-width: 22ch; }
.stat { padding-left: 22px; border-left: 1px solid var(--line-dark); }
@media (max-width: 900px) { .stats-band .grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } }

/* ---------- Bento service cards ---------- */
.bento { display: grid; gap: 22px; grid-template-columns: repeat(12, 1fr); }
.svc-card {
  position: relative; border-radius: var(--r-lg); overflow: clip;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  min-height: 420px;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.svc-card.span-7 { grid-column: span 7; }
.svc-card.span-5 { grid-column: span 5; }
.svc-card.span-6 { grid-column: span 6; }
.svc-card .media { position: relative; height: 240px; overflow: clip; }
.svc-card .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out);
  filter: saturate(.92);
}
.svc-card:hover .media img { transform: scale(1.055); }
.svc-card .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(13,32,111,.28), rgba(13,32,111,0) 55%);
}
.svc-card .media .mode-tag {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 8px 15px;
  font-family: var(--font-display); font-size: 12px; font-weight: 720;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy);
}
.svc-card .media .mode-tag.priority { background: var(--red); color: #fff; }
.svc-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-card .body p { color: var(--slate); font-size: 15.5px; }
.svc-card .body .text-link { margin-top: auto; padding-top: 10px; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--cloud); color: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.svc-icon svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .svc-card.span-7, .svc-card.span-5, .svc-card.span-6 { grid-column: auto; }
  .svc-card { min-height: 0; }
}

/* ---------- Why us (dark) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 26px 26px 30px;
  transition: background .4s, transform .4s var(--ease-out), border-color .4s;
}
.why-item:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.why-item .idx {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--red); letter-spacing: .06em;
  display: inline-flex; padding: 4px 10px; border-radius: 8px;
  background: rgba(233,29,38,.12);
  margin-bottom: 16px;
}
.why-item h3 { font-size: 19.5px; color: #fff; margin-bottom: 8px; }
.why-item p { font-size: 14.8px; color: var(--slate-300); line-height: 1.6; }
.direct-banner {
  margin-top: 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--red) 0%, #B3121A 100%);
  padding: clamp(28px, 4vw, 44px);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  position: relative; overflow: clip;
}
.direct-banner::after {
  content: "07"; position: absolute; right: 18px; bottom: -34px;
  font-family: var(--font-display); font-weight: 800; font-size: 170px;
  color: rgba(255,255,255,.1); line-height: 1; letter-spacing: -0.04em;
}
.direct-banner h3 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; }
.direct-banner p { color: rgba(255,255,255,.85); max-width: 56ch; font-size: 16px; position: relative; z-index: 1; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Network / map ---------- */
.network-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.map-frame { position: relative; }
.map-frame img { width: 100%; height: auto; }
.map-frame .ho-ping { position: absolute; left: 15.2%; top: 60.5%; width: 14px; height: 14px; }
.map-frame .ho-ping::before, .map-frame .ho-ping::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--red);
}
.map-frame .ho-ping::after { animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }
.region-list { display: grid; gap: 0; }
.region-row {
  display: grid; grid-template-columns: 118px 1fr auto; gap: 18px; align-items: baseline;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  transition: background .3s, padding .3s;
}
.region-row:first-child { border-top: 1px solid var(--line); }
.region-row:hover { background: #fff; padding-inline: 14px; }
.region-row .r-name { font-family: var(--font-display); font-weight: 760; font-size: 17px; color: var(--navy); letter-spacing: .02em; text-transform: uppercase; }
.region-row .r-cities { color: var(--slate); font-size: 14.6px; line-height: 1.6; }
.region-row .r-count {
  font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--navy-900);
  min-width: 44px; text-align: right;
}
.region-row .r-count i { font-style: normal; font-size: 12px; color: var(--slate); display: block; font-weight: 550; letter-spacing: .08em; }
@media (max-width: 980px) {
  .network-grid { grid-template-columns: 1fr; }
  .map-frame { max-width: 520px; margin-inline: auto; }
  .region-row { grid-template-columns: 92px 1fr auto; }
}

/* ---------- Sectors ---------- */
.sector-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sector-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px; text-align: center; display: grid; gap: 12px; justify-items: center;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s;
}
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-1); border-color: #CBD4EE; }
.sector-card .ico { width: 54px; height: 54px; border-radius: 999px; background: var(--red-050); color: var(--red); display: grid; place-items: center; }
.sector-card .ico svg { width: 26px; height: 26px; }
.sector-card .t { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--navy-900); }
.sector-card .d { font-size: 13px; color: var(--slate); line-height: 1.5; }
@media (max-width: 980px) { .sector-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .sector-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Clients marquee ---------- */
.marquee { overflow: clip; position: relative; --gap: 18px; }
.marquee .fade-l, .marquee .fade-r {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 140px); z-index: 2; pointer-events: none;
}
.marquee .fade-l { left: 0; background: linear-gradient(90deg, var(--cloud), transparent); }
.marquee .fade-r { right: 0; background: linear-gradient(-90deg, var(--cloud), transparent); }
.marquee-track { display: flex; gap: var(--gap); width: max-content; animation: marquee var(--speed, 46s) linear infinite; padding-block: 6px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.client-chip {
  flex: 0 0 auto; width: 190px; height: 92px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  display: grid; place-items: center; padding: 16px;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.client-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.client-chip img { max-height: 56px; width: auto; max-width: 150px; object-fit: contain; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: clip; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 78%); }
.cta-band::before {
  content: ""; position: absolute; inset: -40% -20%;
  background:
    radial-gradient(38% 42% at 78% 30%, rgba(233,29,38,.24), transparent 70%),
    radial-gradient(30% 36% at 12% 82%, rgba(46,71,196,.35), transparent 70%);
}
.cta-inner { position: relative; display: grid; gap: 26px; justify-items: center; text-align: center; }
.cta-inner h2 { font-size: clamp(38px, 5.4vw, 72px); max-width: 18ch; }
.cta-inner .row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-inner .contact-line { color: var(--slate-300); font-size: 15.5px; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.cta-inner .contact-line a { color: #fff; font-weight: 560; transition: color .25s; }
.cta-inner .contact-line a:hover { color: #FF7B81; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--slate-300); }
.footer-top {
  display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 84px) 48px;
}
.site-footer .f-brand img { height: 46px; width: auto; margin-bottom: 20px; }
.site-footer .f-brand p { font-size: 14.5px; max-width: 34ch; line-height: 1.7; }
.f-col .f-title {
  font-family: var(--font-display); font-weight: 720; font-size: 13px; letter-spacing: .15em;
  text-transform: uppercase; color: #fff; margin-bottom: 18px;
}
.f-col ul { display: grid; gap: 10px; }
.f-col a, .f-col li { font-size: 14.8px; transition: color .25s; }
.f-col a:hover { color: #fff; }
.f-col .addr { line-height: 1.7; font-size: 14.5px; }
.f-col .addr strong { color: #fff; font-weight: 600; }
.modes-mini { display: flex; gap: 8px; margin-top: 22px; }
.modes-mini span {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 12px; color: var(--slate-300);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: #6C7699;
}
.footer-bottom a { color: #9AA3C0; } .footer-bottom a:hover { color: #fff; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 108px));
  padding-bottom: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(60% 90% at 85% -10%, #E9EEFB 0%, transparent 60%),
    linear-gradient(180deg, #FDFDFF, #F4F6FB);
  position: relative; overflow: clip;
}
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); max-width: 16ch; }
.page-hero .lead { margin-top: 20px; }
.page-hero .crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--slate); margin-bottom: 26px; font-weight: 520; }
.page-hero .crumbs a:hover { color: var(--navy); }
.page-hero .crumbs .sep { opacity: .5; }
.hero-deco {
  position: absolute; right: -120px; top: 10%; width: 520px; opacity: .5; pointer-events: none;
  mask-image: linear-gradient(200deg, #000 40%, transparent 78%);
}

/* ---------- Split feature (services/about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.rev .s-media { order: 2; }
.split .s-media { position: relative; }
.split .s-media .ph {
  border-radius: var(--r-lg); overflow: clip; box-shadow: var(--shadow-2);
  position: relative; aspect-ratio: 4 / 4.6;
}
.split .s-media .ph.wide { aspect-ratio: 4 / 3.2; }
.split .s-media .ph img { width: 100%; height: 100%; object-fit: cover; }
.split .s-media .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(210deg, rgba(13,32,111,.18), transparent 46%); }
.float-chip {
  position: absolute; left: -18px; bottom: 28px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-2);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line);
}
.float-chip .fc-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--red-050); color: var(--red); display: grid; place-items: center; }
.float-chip .fc-ico svg { width: 22px; height: 22px; }
.float-chip .fc-t { display: block; font-family: var(--font-display); font-weight: 760; font-size: 16px; color: var(--navy-900); line-height: 1.15; }
.float-chip .fc-s { display: block; font-size: 12.5px; color: var(--slate); margin-top: 3px; }
.check-list { display: grid; gap: 13px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); font-size: 15.8px; line-height: 1.55; }
.check-list li .ck {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 999px;
  background: var(--red-050); color: var(--red); display: grid; place-items: center;
}
.check-list li .ck svg { width: 12px; height: 12px; }
.on-dark .check-list li { color: #DFE4F5; }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chip {
  font-family: var(--font-display); font-weight: 640; font-size: 13.5px; letter-spacing: .02em;
  padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-900);
  transition: border-color .3s, transform .3s var(--ease-out);
}
.chip:hover { border-color: var(--navy); transform: translateY(-2px); }
.on-cloud .chip { background: #fff; }
.chip.icon-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; }
.chip.icon-chip svg { width: 18px; height: 18px; color: var(--red); }
.awb-callout {
  margin-top: 28px; border-radius: var(--r-md);
  background: var(--navy-900); color: #fff;
  padding: 22px 26px; display: flex; gap: 18px; align-items: center;
  position: relative; overflow: clip;
}
.awb-callout::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(233,29,38,.25), transparent 60%); }
.awb-callout .a-badge {
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .04em;
  background: var(--red); border-radius: 12px; padding: 10px 14px; position: relative; z-index: 1;
}
.awb-callout .a-txt { position: relative; z-index: 1; font-size: 14.8px; color: #D9DEF2; line-height: 1.55; }
.awb-callout .a-txt strong { color: #fff; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .s-media { order: 0; }
  .split .s-media .ph { aspect-ratio: 16 / 10.5; }
  .float-chip { left: 14px; }
}

/* ---------- Numbered features (about) ---------- */
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.num-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px; transition: transform .45s var(--ease-out), box-shadow .45s;
}
.num-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.num-card .n {
  font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--red);
  background: var(--red-050); display: inline-flex; padding: 4px 10px; border-radius: 8px; margin-bottom: 16px;
}
.num-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.num-card p { font-size: 14.6px; color: var(--slate); }
@media (max-width: 900px) { .num-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .num-grid { grid-template-columns: 1fr; } }

/* ---------- Vision / mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vm-card { border-radius: var(--r-lg); padding: clamp(30px, 4vw, 46px); position: relative; overflow: clip; }
.vm-card.vision { background: var(--navy-900); color: #fff; }
.vm-card.vision::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 100% at 100% 0%, rgba(46,71,196,.4), transparent 60%); }
.vm-card.mission { background: #fff; border: 1.5px solid var(--line); }
.vm-card .vm-k { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 720; letter-spacing: .16em; font-size: 12.5px; text-transform: uppercase; margin-bottom: 18px; }
.vm-card.vision .vm-k { color: #FF7B81; } .vm-card.mission .vm-k { color: var(--red); }
.vm-card p { position: relative; z-index: 1; font-size: clamp(16.5px, 1.7vw, 20px); line-height: 1.6; font-weight: 480; }
.vm-card.vision p { color: #E4E8F8; } .vm-card.mission p { color: var(--navy-900); }
@media (max-width: 860px) { .vm-grid { grid-template-columns: 1fr; } }

/* ---------- Director quote ---------- */
.director-card {
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1);
  padding: clamp(30px, 5vw, 56px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
}
.director-card .d-mark {
  width: 74px; height: 74px; border-radius: 999px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 26px;
  position: relative;
}
.director-card .d-mark::after {
  content: ""; position: absolute; inset: -7px; border-radius: 999px; border: 1.5px dashed #C9D2EE;
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.director-card blockquote {
  font-family: var(--font-display); font-weight: 620; font-stretch: 104%;
  font-size: clamp(19px, 2.3vw, 27px); line-height: 1.45; color: var(--navy-900); letter-spacing: -0.012em;
}
.director-card .d-who { margin-top: 16px; font-size: 14.5px; color: var(--slate); }
.director-card .d-who strong { color: var(--navy-900); font-weight: 680; }
@media (max-width: 700px) { .director-card { grid-template-columns: 1fr; } }

/* ---------- Safety band ---------- */
.safety-band { background: var(--navy-900); border-radius: var(--r-lg); overflow: clip; position: relative; }
.safety-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 100% at 0% 100%, rgba(233,29,38,.16), transparent 60%); }
.safety-inner { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); padding: clamp(30px, 4.5vw, 52px); align-items: center; }
.safety-inner .s-title { font-family: var(--font-display); font-weight: 780; font-stretch: 110%; font-size: clamp(22px, 2.6vw, 32px); color: #fff; max-width: 10ch; line-height: 1.1; }
.safety-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safety-points .pt { border-left: 2px solid var(--red); padding-left: 16px; font-size: 14.8px; color: var(--slate-300); line-height: 1.6; }
.safety-points .pt strong { display: block; color: #fff; font-weight: 640; margin-bottom: 4px; font-size: 15.5px; }
@media (max-width: 860px) { .safety-inner { grid-template-columns: 1fr; } .safety-points { grid-template-columns: 1fr; } }

/* ---------- Steps (how we work) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 42px; letter-spacing: -0.02em;
  color: var(--cloud-deep); line-height: 1; display: block; margin-bottom: 14px;
  -webkit-text-stroke: 1.3px #A9B4D8; color: transparent;
}
.step h3 { font-size: 17.5px; margin-bottom: 6px; }
.step p { font-size: 14.2px; color: var(--slate); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 24px; align-items: start; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  padding: clamp(26px, 3.4vw, 40px);
}
.card h3 { margin-bottom: 18px; }
.c-row { display: flex; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); align-items: flex-start; }
.c-row:first-of-type { border-top: 0; padding-top: 0; }
.c-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--cloud); color: var(--navy); display: grid; place-items: center; }
.c-ico svg { width: 21px; height: 21px; }
.c-row .c-k { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 3px; }
.c-row .c-v { font-size: 15.8px; color: var(--navy-900); line-height: 1.6; font-weight: 520; }
.c-row .c-v a:hover { color: var(--red); }
.c-row .c-v .sub { display: block; font-size: 13.5px; color: var(--slate); font-weight: 440; }
.person-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px;
  display: grid; gap: 4px; background: var(--cloud);
  transition: background .3s, border-color .3s;
}
.person:hover { background: #fff; border-color: #C9D2EE; }
.person .p-avatar {
  width: 52px; height: 52px; border-radius: 999px; margin-bottom: 10px;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 760; font-size: 19px;
}
.person .p-name { font-family: var(--font-display); font-weight: 720; font-size: 17px; color: var(--navy-900); }
.person .p-role { font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.person a { display: block; font-size: 14.2px; color: var(--navy); font-weight: 550; padding-block: 1px; }
.person a:hover { color: var(--red); }
.map-embed { border-radius: var(--r-lg); overflow: clip; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(.9); }
.book-card {
  border-radius: var(--r-lg); background: linear-gradient(130deg, var(--navy-900), var(--navy));
  color: #fff; padding: clamp(26px, 3.4vw, 40px); position: relative; overflow: clip;
}
.book-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 100% 0%, rgba(233,29,38,.28), transparent 55%); }
.book-card h3 { color: #fff; position: relative; z-index: 1; }
.book-card p { color: var(--slate-300); position: relative; z-index: 1; margin: 10px 0 22px; font-size: 15px; }
.book-card .btn { position: relative; z-index: 1; }
.portal-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portal-card {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-md); padding: 24px;
  display: flex; align-items: center; gap: 16px;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
}
.portal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: #C9D2EE; }
.portal-card .pc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--red-050); color: var(--red); display: grid; place-items: center; flex: 0 0 auto; }
.portal-card .pc-ico svg { width: 22px; height: 22px; }
.portal-card .pc-t { font-family: var(--font-display); font-weight: 720; font-size: 16px; color: var(--navy-900); }
.portal-card .pc-s { font-size: 13px; color: var(--slate); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .portal-row { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .person-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.err-hero { min-height: 100svh; display: grid; place-items: center; background: var(--navy-900); text-align: center; padding: var(--gutter); }
.err-hero .code { font-family: var(--font-display); font-weight: 800; font-stretch: 118%; font-size: clamp(110px, 22vw, 260px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.25); }
.err-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 44px); margin: 10px 0 12px; }
.err-hero p { color: var(--slate-300); margin-bottom: 30px; }

/* ---------- Reveal / motion utilities ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(.94); }
html.no-js [data-reveal], html.reduced [data-reveal] { opacity: 1; transform: none; }
.will-lines .line { display: block; overflow: clip; }
.will-lines .line > span { display: inline-block; transform: translateY(110%); }
html.no-js .will-lines .line > span, html.reduced .will-lines .line > span { transform: none; }

/* Marquee reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .scroll-hint .wheel i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header on-dark pages (none currently) ---------- */

/* ---------- Responsive header ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-cta .login-link { display: none; }
  .nav-toggle { display: block; }
  .site-header .container.wide { justify-content: space-between; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .brand img { height: 38px; }
  .header-cta .btn { padding: 11px 18px; font-size: 13.5px; }
  .stat { padding-left: 14px; }
  .client-chip { width: 156px; height: 80px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
}
