/* ============================================================
   AMAX TRADER — SHIP CHANDLERS CO. LLC.  |  Redesign 2026
   Brand: #0072BC blue · deep ink navy · #FAFAFA light
   Fonts: Jockey One (display) + Montserrat (body) — no serifs
   ============================================================ */

:root {
  --blue: #0072BC;
  --blue-bright: #1E9BE9;
  --blue-deep: #00538A;
  --ink: #06121B;
  --ink-2: #0A2230;
  --ink-3: #0E2E40;
  --light: #FAFAFA;
  --white: #FFFFFF;
  --grey: #B2B2B2;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-body: #3C4A54;
  --display: 'Inter', 'Montserrat', sans-serif;
  --body: 'Montserrat', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 86px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* scroll progress bar (GSAP ScrollTrigger drives scaleX 0 → 1) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(30, 155, 233, 0.55);
}

html { scroll-behavior: initial; }

html.has-scroll-smooth { overflow: hidden; }
html.has-scroll-smooth body { overflow: hidden; }

body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

/* ---------- reveal animations (locomotive adds .is-inview) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal-left { transform: translateX(-56px); }
.reveal-right { transform: translateX(56px); }
.reveal-scale { transform: scale(0.94) translateY(24px); }
.reveal.is-inview {
  opacity: 1;
  transform: none;
}
html.no-smooth .reveal { opacity: 1; transform: none; }

/* ============================ HEADER ============================
   Floating overlay bar: fully transparent above the fold so the hero
   image runs edge-to-edge behind it; on scroll it settles into a
   frosted dark bar. All state changes are slow + eased. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 3vw, 44px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.9s var(--ease),
    backdrop-filter 0.9s var(--ease),
    border-color 0.9s var(--ease),
    box-shadow 0.9s var(--ease);
}
.site-header.scrolled {
  background: rgba(6, 18, 27, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 40px);
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { width: 34px; height: 35px; object-fit: contain; }
.brand-name {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}
.brand-name span {
  display: block;
  font-family: var(--body);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-top: 3px;
}

/* centred glass nav pill — the active/hovered item fills as a pill */
.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}
.main-nav > ul {
  position: relative;                /* anchor for the sliding dot */
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  /* glass / gradient look removed for now — flat, transparent container */
  background: transparent;
  border: 1px solid transparent;
}
.main-nav a,
.main-nav .nav-drop-btn {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 18px;
  border-radius: 999px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  font-family: var(--body);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.6s var(--ease), background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.main-nav a:hover,
.main-nav .nav-drop-btn:hover,
.nav-drop:hover .nav-drop-btn { color: var(--white); }
.main-nav a.active { color: var(--white); }

/* smooth sliding dot — glides under the hovered / active item (JS-driven) */
.nav-dot {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
@media (max-width: 900px) { .nav-dot { display: none; } }

.nav-drop { position: relative; }
.nav-drop .caret {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}
.nav-drop:hover .caret { transform: rotate(225deg) translateY(-2px); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 230px;
  background: rgba(8, 22, 32, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.35s var(--ease);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}
.nav-drop-menu a::after { display: none; }
.nav-drop-menu a:hover { background: rgba(0, 114, 188, 0.18); color: var(--blue-bright); }

/* clean pill + brand-blue arrow badge — on hover the blue fill grows out
   from the arrow badge until it covers the whole button */
.header-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  border-radius: 999px;
  padding: 5px 5px 5px 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: border-color 0.6s var(--ease);
}
/* the fill: a blue disc centred on the arrow badge that scales up to cover */
.header-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 5px;                 /* sits over the 34px arrow badge on the right */
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%) scale(0);
  transform-origin: center center;
  transition: transform 0.7s var(--ease);
}
.header-cta:hover,
.header-cta:focus-visible { border-color: var(--blue); outline: none; }
.header-cta:hover::before,
.header-cta:focus-visible::before { transform: translateY(-50%) scale(16); }
.header-cta .cta-dot {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  transition: transform 0.7s var(--ease);
}
.header-cta:hover .cta-dot { transform: rotate(45deg); }
.header-cta svg { width: 15px; height: 15px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- platform side-rail ---------- */
.side-rail {
  position: fixed;
  right: clamp(10px, 1.8vw, 30px);
  top: 50%;
  translate: 0 -50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-rail a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.side-rail a:hover { transform: scale(1.15) translateX(-4px); box-shadow: 0 10px 24px rgba(0, 114, 188, 0.45); }
.side-rail img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* deep navy sky that the photo's top edge fades into — lighter than flat
     ink so the upper half doesn't read as a black bar */
  background: linear-gradient(180deg, #0A1E2E 0%, #0C2334 62%, #06121B 100%);
}
.hero-bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
}
/* landing hero: the photo is anchored low and runs off the bottom edge so the
   vessel sits in the lower half and the sky above it stays clear for the copy.
   (Sub-page heroes keep the full-bleed -12% inset above.) */
/* Sized in vw, not %, so the vessel lands in the same place at every aspect
   ratio: the photo is width-driven (50vw box < the 56.1vw its aspect needs),
   which puts the bow just past the bottom edge and the masthead at
   100vh - 21.5vw — always below the copy. */
.hero .hero-bg {
  inset: auto 0 -10vw 0;
  height: 50vw;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
/* dark cinematic scrim — heaviest across the sky, where the copy sits,
   then it opens up so the vessel keeps its colour */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(85% 50% at 50% 20%, rgba(6, 18, 27, 0.55) 0%, rgba(6, 18, 27, 0) 72%),
    linear-gradient(180deg, rgba(6, 18, 27, 0.88) 0%, rgba(6, 18, 27, 0.6) 34%, rgba(6, 18, 27, 0.24) 58%, rgba(6, 18, 27, 0.5) 84%, rgba(6, 18, 27, 0.95) 100%);
}
/* the photo's top edge melts into the sky band above it — no visible seam,
   and light enough that the sea and sky keep their colour */
.hero .hero-bg::after {
  background:
    linear-gradient(180deg, #0C2334 0%, rgba(12, 35, 52, 0.6) 7%, rgba(6, 18, 27, 0.34) 20%, rgba(6, 18, 27, 0.12) 46%, rgba(6, 18, 27, 0.18) 74%, rgba(6, 18, 27, 0.6) 100%),
    /* soft pool behind the centred copy — keeps it legible over the water
       without darkening the vessel */
    radial-gradient(70% 44% at 50% 30%, rgba(6, 18, 27, 0.34) 0%, rgba(6, 18, 27, 0) 74%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
}
/* landing hero only — sub-page heroes stay left-aligned and full width */
.hero .hero-content {
  width: min(920px, 92vw);
  text-align: center;
  /* centred in the hero as a whole — the bar floats over the top, so no
     header offset is needed here */
  padding-top: 0;
  padding-bottom: 0;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: none;
  font-weight: 700;
  color: var(--white);
}
/* pre-split lines: each line rises out of its own mask, slow and eased */
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.hero h1 .line-in {
  display: inline-block;
  opacity: 0;
  transform: translateY(108%);
  animation: heroLineRise 1.5s var(--ease) 0.25s forwards;
}
.hero h1 .line:nth-child(2) .line-in { animation-delay: 0.45s; }
@keyframes heroLineRise {
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 .accent { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .line-in { opacity: 1; transform: none; animation: none; }
}


.hero-sub {
  margin: 16px auto 0;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.hero .btn { padding: 14px 26px; font-size: 12.5px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s ease, color 0.35s ease;
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 114, 188, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); background: var(--blue-bright); box-shadow: 0 20px 44px rgba(0, 114, 188, 0.55); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.3); }

/* click ripple on buttons */
.btn { position: relative; overflow: hidden; }
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: var(--ripple-color, rgba(255, 255, 255, 0.45));
  transform: scale(0);
  animation: btn-ripple 0.6s ease-out forwards;
  pointer-events: none;
}
.btn-light, .hero .btn-ghost { --ripple-color: rgba(0, 114, 188, 0.25); }
@keyframes btn-ripple {
  to { transform: scale(1); opacity: 0; }
}

/* ============================ SECTIONS ============================ */
section { position: relative; }
.section-pad { padding: clamp(90px, 10vw, 150px) 0; }

.section-title {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---------- ABOUT ---------- */
.about-section {
  background: var(--light);
  color: var(--text-body);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-section .section-title { color: var(--ink); }
.about-copy p { margin-bottom: 18px; font-size: 15.5px; }
.about-copy p strong { color: var(--ink); }
.about-visual { position: relative; }
.about-visual .photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(6, 18, 27, 0.25);
}
.about-visual .photo img { width: 100%; height: 520px; object-fit: cover; }
.about-visual .lifebuoy {
  position: absolute;
  bottom: -44px;
  left: -44px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(6, 18, 27, 0.22);
}
.about-visual .lifebuoy img { width: 100%; height: 100%; object-fit: contain; }
.about-visual .exp-badge {
  position: absolute;
  top: 26px; right: -20px;
  background: var(--blue);
  color: var(--white);
  border-radius: 18px;
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 114, 188, 0.45);
}
.about-visual .exp-badge strong {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
}
.about-visual .exp-badge span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- SERVICES ---------- */
.services-section { background: var(--light); color: var(--text-body); }
.services-head {
  margin-bottom: clamp(36px, 4vw, 56px);
}
.services-head p {
  margin-top: 16px;
  max-width: 720px;
}
.services-section .section-title { color: var(--ink); }
.services-head p { font-size: 15.5px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
/* 3D tilt rig: JS feeds --rx/--ry from the mouse; the image floats on a
   higher Z-plane than the card face for parallax (UNUS-style) */
.service-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid #E7ECEF;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}
.services-grid .service-card.is-inview {
  transform: perspective(900px) translateY(var(--ty, 0px))
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}
.service-card:hover {
  --ty: -8px;
  box-shadow: 0 24px 50px rgba(6, 18, 27, 0.12);
  border-color: rgba(0, 114, 188, 0.35);
}
.service-media {
  position: relative;
  height: 190px;
  flex-shrink: 0;
  background: var(--white);
  border-bottom: 1px solid #E7ECEF;
  transform-style: preserve-3d;
}
.service-media img {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
}
/* idle float on a popped Z-plane, phase-staggered per card */
@media (prefers-reduced-motion: no-preference) {
  .service-media img { animation: svc-float 4.5s ease-in-out infinite; }
  .service-card:nth-child(even) .service-media img { animation-delay: -2.2s; }
}
@keyframes svc-float {
  0%, 100% { transform: translateZ(28px) translateY(0); }
  50% { transform: translateZ(28px) translateY(-7px); }
}
.service-body {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  transform-style: preserve-3d;
}
.service-body h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
/* description hidden by default — fades in over the image area on hover */
.service-body p {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 190px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.97);
  font-size: 13px;
  line-height: 1.6;
  color: #3C4A54;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  /* sits on a higher Z-plane than the floating image so it covers it */
  transform: translateZ(56px);
}
.service-card { position: relative; }
.service-card:hover .service-body p { opacity: 1; }
/* touch devices have no hover — show the description statically */
@media (hover: none) {
  .service-body p {
    position: static;
    height: auto;
    display: block;
    padding: 0;
    transform: none;
    margin-top: 8px;
    background: none;
    opacity: 1;
  }
}

/* ---------- STATS BAND ---------- */
.stats-band {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 150px) 0;
  /* maritime photo as a darkened backdrop — heavy overlay keeps the panel crisp */
  background-color: #06121B;
  background-image:
    radial-gradient(120% 90% at 50% -10%, rgba(0, 114, 188, 0.30) 0%, rgba(0, 114, 188, 0) 55%),
    linear-gradient(180deg, rgba(6, 18, 27, 0.80) 0%, rgba(6, 18, 27, 0.90) 100%),
    url('https://static.wixstatic.com/media/nsplsh_fab7db2e876a45549ad3ce9260286dcf~mv2.jpg/v1/fill/w_1905,h_720,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/nsplsh_fab7db2e876a45549ad3ce9260286dcf~mv2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.stats-band .container { position: relative; z-index: 2; }
.stats-band .section-title { text-align: center; margin-bottom: clamp(46px, 6vw, 76px); }

/* one bordered panel; the 1px grid gap becomes crisp internal dividers */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}
.stat {
  position: relative;
  text-align: center;
  padding: clamp(30px, 3.4vw, 48px) 20px;
  background: #0A1F2C;                 /* opaque cell so the gaps read as hairlines */
  transition: background 0.4s var(--ease);
}
.stat::before {                        /* brand accent bar sweeps in on hover */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.stat:hover { background: #0C2839; }
.stat:hover::before { transform: scaleX(1); }
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.stat em {
  font-style: normal;
  display: block;
  position: relative;
  margin-top: 18px;
  padding-top: 15px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.stat em::before {                     /* short brand line above the label */
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--blue);
}
.stat p { font-size: 12.5px; color: var(--text-dim); line-height: 1.55; margin-top: 14px; }

/* ---------- GLOBAL NETWORK GLOBE (white & blue, full-bleed) ---------- */
.globe-section {
  position: relative;
  background: #EAF3FB;
  color: var(--text-body);
  overflow: hidden;
}
.globe-section .section-title { color: var(--ink); }
.globe-head {
  position: absolute;
  z-index: 5;
  top: clamp(36px, 5vw, 70px);
  left: max(4vw, calc((100% - 1240px) / 2));
  right: max(4vw, calc((100% - 1240px) / 2));
  pointer-events: none;
}
.globe-sub {
  margin-top: 14px;
  font-size: 15px;
  color: #5A6B76;
  max-width: 480px;
}
#globe {
  position: relative;
  width: 100%;
  height: clamp(560px, 88vh, 860px);
  background: #EAF3FB;
}
#globe .maplibregl-ctrl-group {
  box-shadow: 0 4px 14px rgba(6, 18, 27, 0.12) !important;
  border-radius: 10px;
}
#globe .maplibregl-ctrl-attrib { font-size: 10px; }
.globe-panel {
  position: absolute;
  z-index: 5;
  left: max(4vw, calc((100% - 1240px) / 2));
  bottom: clamp(32px, 4.5vw, 64px);
  max-width: 380px;
  pointer-events: none;
}
.globe-panel [data-loc-region] {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.globe-panel [data-loc-name] {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink);
  margin: 8px 0 6px;
}
.globe-panel [data-loc-role] { font-size: 14px; color: #5A6B76; }
.globe-nav {
  position: absolute;
  z-index: 5;
  right: max(4vw, calc((100% - 1240px) / 2));
  bottom: clamp(32px, 4.5vw, 64px);
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--blue);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 14px 34px rgba(0, 114, 188, 0.4);
}
.globe-nav button {
  width: 38px; height: 38px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.globe-nav button:first-child:hover { transform: translateX(-3px); }
.globe-nav button:last-child:hover { transform: translateX(3px); }
.globe-nav [data-loc-counter] {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  min-width: 52px;
  text-align: center;
}

/* ---------- TRUSTED BY ---------- */
.trusted-section { background: var(--white); color: var(--text-body); }
.trusted-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.trusted-section .section-title { color: var(--ink); }
.trusted-copy p { margin-bottom: 16px; font-size: 15px; }
.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.badge-card {
  background: var(--light);
  border: 1px solid #ECEFF1;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}
.badge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(6, 18, 27, 0.12);
  border-color: rgba(0, 114, 188, 0.35);
}
/* identical chip for every logo so sizes never look random */
.badge-card img {
  display: block;
  width: 92px;
  height: 58px;
  padding: 9px 12px;
  background: var(--white);
  border-radius: 12px;
  object-fit: contain;
  margin: 0 auto 14px;
}
.badge-card strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.badge-card span { font-size: 12px; color: #7A8A94; }

/* ---------- CLIENTS MARQUEE ---------- */
.clients-section {
  background: var(--light);
  color: var(--text-body);
  overflow: hidden;
}
.clients-section .head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 5vw, 64px); }
.clients-section .section-title { color: var(--ink); }
.clients-section .head p { margin-top: 16px; font-size: 15.5px; font-weight: 600; color: #5A6B76; }
.marquee {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee-mask {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  /* headroom so the hover lift + shadow aren't clipped by the mask box */
  padding: 14px 0 20px;
  margin: -14px 0 -20px;
}
.client-logo {
  width: 150px; height: 150px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid #ECEFF1;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 20px;
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}
.client-logo:hover { transform: translateY(-6px); border-color: rgba(0, 114, 188, 0.35); }
.client-logo img { width: 100%; height: 100%; object-fit: contain; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 140px) 0;
}
.cta-bg { position: absolute; inset: -12% 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 13, 19, 0.2) 0%, rgba(4, 13, 19, 0.55) 45%, #040D13 100%),
    linear-gradient(90deg, rgba(0, 83, 138, 0.65), rgba(6, 18, 27, 0.35));
}
.cta-band .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 40px;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 58px);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.05;
}
.cta-band p { margin-top: 14px; color: var(--text-dim); max-width: 560px; }

/* ============================ FOOTER (floating dark card) ============================ */
.site-footer {
  background: #040D13;
  padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.footer-card {
  width: min(1240px, 92vw);
  margin: 0 auto;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  padding: clamp(32px, 4.5vw, 56px);
  color: var(--text-dim);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(36px, 5vw, 80px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-chip {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.logo-chip img { width: 40px; height: 41px; object-fit: contain; }
.footer-card .brand-name { color: var(--white); }
.footer-card .brand-name span { color: var(--blue-bright); }
.footer-info p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin: 18px 0 20px;
  max-width: 340px;
}
.footer-info .socials { display: flex; gap: 16px; }
.footer-info .socials a {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}
.footer-info .socials a:hover { color: var(--blue-bright); transform: translateY(-2px); }
.footer-info .socials svg { width: 18px; height: 18px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.fcol h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.fcol a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color 0.3s ease;
}
.fcol a:hover { color: var(--blue-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.footer-bottom .legal a:hover { color: var(--blue-bright); }
.footer-ghost {
  display: none;                 /* footer ends at the card — no oversized ghost text */
  font-family: var(--display);
  font-size: clamp(80px, 15.5vw, 230px);
  line-height: 0.9;
  height: 0.72em;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.02em;
  margin-top: clamp(28px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}

/* ============================ SUB-PAGES ============================ */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(50px, 6vw, 80px);
}
.page-hero .hero-bg::after {
  background:
    linear-gradient(180deg, rgba(4, 14, 21, 0.6), rgba(4, 14, 21, 0.25) 45%, rgba(6, 18, 27, 0.95) 100%);
}
.page-hero .hero-content { padding-top: calc(var(--header-h) + 40px); }
.page-hero h1 { font-family: var(--display); }
.page-hero p { margin-top: 14px; font-size: clamp(15px, 1.5vw, 19px); color: var(--text-dim); max-width: 640px; }

/* about page */
.mission-section { background: var(--light); color: var(--text-body); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); }
.mission-section .section-title { color: var(--ink); }
.mission-grid p { font-size: 15.5px; margin-bottom: 16px; }

.about-stats .stats-grid { grid-template-columns: repeat(5, 1fr); }
/* five cells in the width the home page gives four — step the figures down so
   they sit comfortably inside each cell instead of filling it edge to edge */
.about-stats .stat { padding: clamp(26px, 2.8vw, 38px) 14px; }
.about-stats .stat strong { font-size: clamp(26px, 2.8vw, 40px); }
.about-stats .stat em { font-size: 10px; letter-spacing: 0.14em; margin-top: 14px; padding-top: 12px; }

.regions-section { background: var(--light); color: var(--text-body); }
.region-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding: clamp(30px, 4vw, 50px) 0;
}
.region-row .photo { border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(6,18,27,0.18); }
.region-row .photo img { width: 100%; height: 380px; object-fit: cover; transition: transform 0.8s var(--ease); }
.region-row .photo:hover img { transform: scale(1.05); }
.region-row h3 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 46px);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 14px;
}
.region-row p { font-size: 15px; }
.region-row.flip .photo { order: 2; }

.countries-section { background: var(--white); color: var(--text-body); }
.countries-section .section-title { color: var(--ink); text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.countries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.country-card {
  background: var(--light);
  border: 1px solid #ECEFF1;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.country-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(6, 18, 27, 0.14); }
.country-card img { height: 150px; margin: 0 auto 14px; object-fit: contain; }
.country-card strong { font-size: 14.5px; font-weight: 700; color: var(--ink); }

.wide-photo { height: clamp(320px, 46vw, 560px); overflow: hidden; position: relative; }
.wide-photo img { width: 100%; height: 120%; object-fit: cover; }

/* contact page */
.contact-section { background: var(--light); color: var(--text-body); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.contact-section .section-title { color: var(--ink); }
.contact-card {
  background: var(--white);
  border: 1px solid #ECEFF1;
  border-radius: 20px;
  padding: 26px;
  margin-top: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(6,18,27,0.1); }
.contact-card .ico {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(0, 114, 188, 0.1);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.contact-card h4 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A8A94; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.contact-card a:hover { color: var(--blue); }

.inquiry-form {
  background: var(--white);
  border: 1px solid #ECEFF1;
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 48px);
  box-shadow: 0 30px 80px rgba(6, 18, 27, 0.1);
}
.inquiry-form h3 {
  font-family: var(--display);
  font-size: 32px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 26px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7A8A94;
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 14.5px;
  padding: 14px 16px;
  border: 1.5px solid #E3E8EB;
  border-radius: 12px;
  background: var(--light);
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 114, 188, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 11.5px; color: #9AA8B1; margin-top: 6px; }
.field .req { display: none; }
.field .opt { color: #9AA8B1; text-transform: none; letter-spacing: 0; font-weight: 500; }

/* category multi-select dropdown */
.msel { position: relative; }
.msel-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--body);
  font-size: 14.5px;
  text-align: left;
  padding: 14px 16px;
  border: 1.5px solid #E3E8EB;
  border-radius: 12px;
  background: var(--light);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.msel-btn:hover { border-color: rgba(0, 114, 188, 0.4); }
.msel.open .msel-btn,
.msel-btn:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 114, 188, 0.12);
}
.msel-text { color: #9AA8B1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msel-text.has-val { color: var(--ink); font-weight: 500; }
.msel-caret {
  flex-shrink: 0;
  width: 9px; height: 9px;
  border-right: 2px solid #7A8A94;
  border-bottom: 2px solid #7A8A94;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.35s var(--ease);
}
.msel.open .msel-caret { transform: rotate(225deg) translateY(-2px); }
.msel-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--white);
  border: 1px solid #E3E8EB;
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(6, 18, 27, 0.16);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: max-height 0.45s var(--ease), opacity 0.35s ease, transform 0.45s var(--ease);
}
.msel.open .msel-panel {
  max-height: 460px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.msel-opt {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s ease;
}
.msel-opt:hover { background: rgba(0, 114, 188, 0.07); }
.msel-opt input { position: absolute; opacity: 0; pointer-events: none; }
.msel-opt span { position: relative; padding-left: 28px; line-height: 19px; }
.msel-opt span::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 19px; height: 19px;
  border: 1.5px solid #C7D2DA;
  border-radius: 6px;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.msel-opt span::after {
  content: "";
  position: absolute;
  left: 6.5px; top: 3px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--ease);
}
.msel-opt input:checked + span::before { background: var(--blue); border-color: var(--blue); }
.msel-opt input:checked + span::after { transform: rotate(45deg) scale(1); }
.msel-opt:has(input:checked) { background: rgba(0, 114, 188, 0.06); }

.certs-strip { background: var(--white); color: var(--text-body); border-top: 1px solid #ECEFF1; }
.certs-strip .badges-grid { grid-template-columns: repeat(4, 1fr); }

/* map embed */
.map-wrap {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #ECEFF1;
  box-shadow: 0 24px 60px rgba(6,18,27,0.12);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .badges-grid { grid-template-columns: repeat(3, 1fr); }
  .countries-grid { grid-template-columns: repeat(3, 1fr); }
  .about-stats .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .side-rail { display: none; }
}

/* between the drawer breakpoint and full width there isn't room to centre the
   nav pill without it colliding with the brand / CTA — drop it back in-flow */
@media (min-width: 901px) and (max-width: 1140px) {
  .header-inner { justify-content: flex-start; gap: 14px; }
  .main-nav { position: static; translate: none; margin-left: auto; }
  .main-nav a, .main-nav .nav-drop-btn { padding: 9px 13px; font-size: 12px; }
  .header-cta { padding-left: 16px; gap: 10px; font-size: 12px; }
}

@media (max-width: 900px) {
  .header-inner { justify-content: flex-start; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    translate: none;   /* undo the desktop centring transform */
    background: rgba(5, 14, 20, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px 6vw 30px;
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .main-nav a, .main-nav .nav-drop-btn { border-radius: 10px; }
  .nav-drop-menu {
    position: static;
    translate: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 18px;
    display: none;
  }
  .nav-drop.open .nav-drop-menu { display: block; }
  .nav-toggle { display: flex; }
  /* narrow viewports: the vw-based framing leaves the photo too small, so pin
     it to the bottom of the hero and let it take a share of the height.
     It overshoots the bottom edge so parallax drift never exposes a gap. */
  .hero .hero-bg { inset: auto 0 -5% 0; height: 60%; }
  .header-cta { margin-left: auto; margin-right: 14px; }
  .about-grid, .trusted-grid, .mission-grid, .contact-grid,
  .services-head, .region-row { grid-template-columns: 1fr; }
  .globe-head { position: static; padding: 60px 4vw 28px; }
  #globe { height: clamp(380px, 60vh, 560px); }
  .globe-panel { position: static; max-width: none; margin: 24px 4vw 0; }
  .globe-nav { position: static; margin: 20px 4vw 44px; display: inline-flex; }
  .region-row.flip .photo { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .container { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .about-visual .lifebuoy { left: 10px; width: 130px; height: 130px; bottom: -30px; }
  .about-visual .exp-badge { right: 10px; }
}

@media (max-width: 560px) {
  .services-grid, .badges-grid, .countries-grid,
  .stats-grid, .about-stats .stats-grid, .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  /* auto-height hero, copy centred in it just like on desktop */
  .hero { height: auto; min-height: 86vh; padding-bottom: 0; }
  .hero .hero-bg { inset: auto 0 -6% 0; height: 58%; }
  .hero .hero-content { padding-top: 0; padding-bottom: 0; }
  .hero-sub br { display: none; }
}

/* ============================ DISPLAY: INTER (SF-style) ============================ */
/* Bold, tight-tracked, sentence-case headings — placed last so it wins
   over the per-section uppercase/weight declarations above */
.hero h1, .page-hero h1, .section-title, .cta-band h2,
.service-body h3, .region-row h3, .inquiry-form h3,
.globe-panel [data-loc-name],
.hero-strip-item strong, .stat strong, .exp-badge strong {
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}
.brand-name { font-weight: 600; letter-spacing: -0.01em; }
.hero h1,
.page-hero h1 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.page-hero p { margin-top: 16px; font-size: clamp(14px, 1.3vw, 17px); font-weight: 500; line-height: 1.7; color: rgba(255, 255, 255, 0.72); max-width: 640px; }
.section-title { font-size: clamp(28px, 3.8vw, 48px); line-height: 1.1; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; }
.service-body h3 { font-size: 19px; }
.region-row h3 { font-size: clamp(22px, 2.6vw, 32px); }
.inquiry-form h3 { font-size: 25px; }
.globe-panel [data-loc-name] { font-size: clamp(22px, 2.4vw, 32px); }
.footer-ghost {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(64px, 12.5vw, 190px);
}

/* ============================================================
   UNUS CARDS — Our Services (CSS grid, in-flow expansion)
   4-up grid aligned to the section container (= "Our Services"
   heading left edge). On hover the dark panel expands IN FLOW,
   so the card's grid row grows and the row below is pushed down
   — it never overlaps a neighbour. All motion is slow & smooth.
   ============================================================ */
.unus-cards {
  --uc-panel: #0A2230;
  --uc-text: #ffffff;
  --uc-muted: rgba(255, 255, 255, 0.62);
  --uc-shadow: 57, 78, 102;
  --uc-radius: 22px;
  --uc-media-h: 290px;
  --uc-ease: cubic-bezier(.16, 1, .3, 1);   /* heavy, smooth deceleration */

  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 10px 0 60px;
  font-family: inherit;
}
/* each column flows independently, so opening a card pushes ONLY the
   card directly below it in the same column — never the whole row */
.unus-cards .uc-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
/* min-height = white-face height so the panel's negative tuck never
   collapses the card (keeps the resting layout stable) */
.unus-cards .uc-card { position: relative; cursor: pointer; min-height: var(--uc-media-h); }
.unus-cards .uc-glow { display: none; }

/* white face — fixed height, holds image + title + plus */
.unus-cards .uc-media {
  position: relative;
  z-index: 2;
  height: var(--uc-media-h);
  border-radius: var(--uc-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid #E7ECEF;
  box-shadow:
    -18px 24px 44px rgba(var(--uc-shadow), .14),
    -4px 7px 14px rgba(var(--uc-shadow), .08);
}
.unus-cards .uc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 26px 26px 64px;
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .unus-cards .uc-img { animation: uc-float 6s ease-in-out infinite; }
  .unus-cards .uc-card:nth-child(even) .uc-img { animation-delay: -3s; }
}
@keyframes uc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
/* title on the card face, aligned with the + button */
.unus-cards .uc-title {
  position: absolute;
  left: 22px;
  bottom: 27px;
  margin: 0;
  z-index: 3;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  pointer-events: none;
}
.unus-cards .uc-plus {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0, 114, 188, .35);
  z-index: 4;
}
.unus-cards .uc-plus::before,
.unus-cards .uc-plus::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.unus-cards .uc-plus::before { width: 15px; height: 2px; }
.unus-cards .uc-plus::after  { width: 2px;  height: 15px; }
.unus-cards .uc-plus:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

/* dark panel — IN FLOW. Height/opacity are driven by GSAP (see
   js/unus-cards.js); base state is collapsed. Expanding grows the
   card and pushes ONLY the card below it in the same column. */
.unus-cards .uc-panel {
  position: relative;
  z-index: 1;                       /* BEHIND the white face (z:2) */
  margin-top: -46px;                /* always tucked up behind the white face, so
                                       on close it retracts UP into it (the card's
                                       min-height stops this collapsing the layout) */
  height: 0;
  opacity: 0;
  overflow: hidden;
  border-radius: var(--uc-radius);
  background: linear-gradient(180deg, #0E2E40 0%, var(--uc-panel) 45%, #06121B 100%);
  box-shadow: -18px 24px 44px rgba(var(--uc-shadow), .16);
  text-align: left;
}
/* top padding clears the part hidden behind the white card (46px tuck)
   plus a little breathing room above the heading */
.unus-cards .uc-panel-in { padding: 74px 24px 28px; }
.unus-cards .uc-panel h3 {
  margin: 0 0 10px;
  color: var(--uc-text);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -.01em;
}
.unus-cards .uc-panel p {
  margin: 0;
  color: var(--uc-muted);
  font-size: 12.5px;
  line-height: 1.65;
  font-weight: 500;
}
/* no-GSAP fallback: reveal instantly on hover so the panel still works */
html.no-gsap .unus-cards .uc-card:hover .uc-panel,
html.no-gsap .unus-cards .uc-card:focus-within .uc-panel {
  height: auto; opacity: 1;
}
@media (max-width: 1100px) { .unus-cards { flex-wrap: wrap; } .unus-cards .uc-col { flex: 1 1 calc(50% - 13px); } }
@media (max-width: 560px)  { .unus-cards .uc-col { flex-basis: 100%; } }

/* ============================================================
   FLOW BUTTON — pill with a brand-blue fill that flows out from
   the centre on hover; text inverts, arrow slides. Ported to
   vanilla CSS (site is not React/shadcn). Class: .flow-btn
   ============================================================ */
.flow-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}
/* skewed panel wipes in diagonally from the left on hover (Uiverse style) */
.flow-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -20%;
  width: 140%;
  background: var(--blue);
  transform: translateX(-140%) skew(30deg);
  transition: transform 0.3s cubic-bezier(0.3, 1, 0.8, 1);
}
.flow-btn:hover,
.flow-btn:focus-visible { color: #fff; outline: none; }
.flow-btn:hover::before,
.flow-btn:focus-visible::before { transform: translateX(0) skew(30deg); }
.flow-btn .flow-arrow {
  display: inline-flex;
  transition: transform 0.3s var(--ease);
}
.flow-btn:hover .flow-arrow { transform: translateX(5px); }
.flow-btn:disabled { opacity: 0.65; cursor: default; }
.flow-btn:disabled::before { transform: translateX(0) skew(30deg); } /* stay filled after submit */

/* SOLID / inverted variant — filled blue by default; white panel wipes in,
   blue text on hover. Used as the lead button in a close pair. */
.flow-btn.flow-btn-solid {
  background: var(--blue);
  color: #fff;
}
.flow-btn.flow-btn-solid::before { background: #fff; }
.flow-btn.flow-btn-solid:hover,
.flow-btn.flow-btn-solid:focus-visible { color: var(--blue); }
.flow-btn.flow-btn-solid:disabled::before { transform: translateX(0) skew(30deg); }

/* dark-surface variant (white outline → white panel wipes in, ink text) */
.flow-btn.flow-btn-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.flow-btn.flow-btn-light::before { background: #fff; }
.flow-btn.flow-btn-light:hover,
.flow-btn.flow-btn-light:focus-visible { color: var(--ink); }

/* honour reduced-motion: fill instantly instead of wiping */
@media (prefers-reduced-motion: reduce) {
  .flow-btn::before { transition: none; }
}

/* ------------------------------------------------------------
   FLAIR — gsap.com-style hover: a circle grows out of the cursor
   and tracks it. Driven by js/flow-btn.js; the skew wipe above
   stays as the fallback for touch / reduced-motion / no-GSAP.
   ------------------------------------------------------------ */
.flow-btn__flair {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transform: scale(0);
  transform-origin: 0 0;
  will-change: transform;
}
.flow-btn__flair::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 170%;          /* big enough to cover the pill from any corner */
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--blue);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* light-on-dark variants fill with white instead */
.flow-btn.flow-btn-solid .flow-btn__flair::before,
.flow-btn.flow-btn-light .flow-btn__flair::before { background: #fff; }

/* once the flair is live: kill the hover wipe, flip the label colour at
   gsap.com's pace (50ms idle / 150ms on hover) */
.has-flow-flair .flow-btn { transition: color 50ms cubic-bezier(0.76, 0, 0.24, 1); }
.has-flow-flair .flow-btn:hover { transition: color 0.15s cubic-bezier(0.76, 0, 0.24, 1); }
.has-flow-flair .flow-btn:hover::before { transform: translateX(-140%) skew(30deg); }
/* keyboard focus has no cursor to grow from, so keep the wipe for it */
.has-flow-flair .flow-btn:focus-visible::before { transform: translateX(0) skew(30deg); }
/* a submitted/disabled button stays filled */
.has-flow-flair .flow-btn:disabled::before,
.has-flow-flair .flow-btn:disabled:hover::before { transform: translateX(0) skew(30deg); }

/* file-upload flow button (label wraps a visually-hidden input) */
.flow-upload { display: inline-flex; }
.flow-upload input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.flow-upload .flow-file-name {
  margin-left: 12px;
  align-self: center;
  font-size: 12.5px;
  color: #7A8A94;
}

/* ============================================================
   HERO — viewport-shape adjustment. Lives at the very end so it
   wins over the display-type block above, which also sets
   .hero h1 font-size at the same specificity.
   ============================================================ */

/* very short viewports: ease the type down so the centred block still
   clears the fixed bar */
@media (min-width: 901px) and (max-height: 660px) {
  .hero h1 { font-size: clamp(36px, 4.6vw, 62px); }
  .hero-sub { font-size: 15px; }
}
/* ============================ SUPPLY-COUNTRY PAGES ============================ */
.ports-section { background: var(--white); color: var(--text-body); }
.ports-section .section-title { color: var(--ink); text-align: center; }
.ports-section .lead { text-align: center; max-width: 720px; margin: 14px auto 0; color: #54636E; font-size: 15.5px; line-height: 1.7; }
.port-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.port-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px;
  background: #F1F5F8; border: 1px solid #E2E9EE; color: var(--ink);
  font-weight: 600; font-size: 14px;
}
.port-chip svg { width: 15px; height: 15px; color: var(--blue); flex: none; }

/* prose article */
.country-article { background: var(--white); color: var(--text-body); }
.country-article .prose { max-width: 880px; margin: 0 auto; }
.country-article h2 { font-family: var(--display); color: var(--ink); font-size: clamp(26px,3vw,40px); margin: 0 0 20px; letter-spacing: -0.02em; line-height: 1.12; }
.country-article h3 { font-family: var(--display); color: var(--ink); font-size: clamp(21px,2.3vw,28px); margin: 46px 0 14px; letter-spacing: -0.01em; }
.country-article p { font-size: 15.5px; line-height: 1.78; margin: 0 0 16px; color: #44535E; }
.country-article p a { color: var(--blue); font-weight: 600; }

/* card grids for services / features */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.info-card { padding: 26px; border-radius: 16px; background: #F7FAFB; border: 1px solid #E7EEF2; }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,114,188,0.10); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h4 { font-family: var(--display); color: var(--ink); font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
.info-card p { font-size: 14px; line-height: 1.65; margin: 0; color: #54636E; }

/* numbered process steps */
.steps { counter-reset: step; display: grid; gap: 14px; margin-top: 28px; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; border-radius: 14px; background: #F7FAFB; border: 1px solid #E7EEF2; }
.step::before { counter-increment: step; content: counter(step); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-family: var(--display); display: grid; place-items: center; }
.step h4 { color: var(--ink); font-size: 15.5px; margin: 4px 0 4px; }
.step p { margin: 0; font-size: 14px; color: #54636E; line-height: 1.6; }

/* FAQ accordion */
.faq { margin-top: 30px; max-width: 880px; }
.faq details { border-bottom: 1px solid #E2E9EE; padding: 18px 2px; }
.faq summary { font-family: var(--display); color: var(--ink); font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 24px; line-height: 1; transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.72; color: #54636E; }

@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }

/* bulleted lists inside country-page prose */
.country-article .prose ul { margin: 6px 0 18px; padding: 0; list-style: none; display: grid; gap: 11px; }
.country-article .prose ul li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.66; color: #44535E; }
.country-article .prose ul li::before { content: ''; position: absolute; left: 3px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.country-article .prose ul li strong { color: var(--ink); }

/* clickable port chips (linked to port pages) */
a.port-chip { cursor: pointer; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
a.port-chip:hover { background: #E7F1F9; border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,114,188,0.14); }

/* consistent focus for clickable port chips — no jarring default ring on click */
a.port-chip:focus { outline: none; }
a.port-chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* active dropdown item (Supply Countries pages) reads as current */
.main-nav .nav-drop-btn.active { color: var(--white); }

/* clickable port chips share the hero flow-btn flair animation
   (blue circle grows from the cursor; text + icon flip white) */
a.port-chip { position: relative; overflow: hidden; isolation: isolate; }
a.port-chip:hover { transform: none; box-shadow: none; background: #F1F5F8; }
.has-flow-flair a.port-chip { transition: color 0.15s cubic-bezier(0.76, 0, 0.24, 1); }
.has-flow-flair a.port-chip:hover { color: #fff; border-color: var(--blue); }
.has-flow-flair a.port-chip:hover svg { color: #fff; }

/* ============================ BLOG ============================ */
.blog-listing { background: var(--white); color: var(--text-body); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E7EEF2; border-radius: 20px; overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(6, 18, 27, 0.14); }
.blog-card .thumb { height: 220px; overflow: hidden; background: #EEF3F6; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-card .post-meta { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #8595A0; }
.blog-card h3 { font-family: var(--display); color: var(--ink); font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.blog-card p { font-size: 14px; line-height: 1.65; color: #54636E; flex: 1; }
.blog-card .more { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.blog-card .more svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.blog-card:hover .more svg { transform: translateX(4px); }

/* single post */
.post-article .prose { max-width: 800px; }
.post-article .post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: #7A8A94; font-size: 13.5px; margin: 0 0 4px; }
.post-article .post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #C4D0D8; display: inline-block; }
.post-article .post-cover { border-radius: 20px; overflow: hidden; margin: 26px 0 6px; box-shadow: 0 20px 50px rgba(6, 18, 27, 0.12); }
.post-article .post-cover img { width: 100%; height: auto; display: block; }
.post-article .back-to-blog { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 22px; }
.post-article .prose h2:first-of-type { margin-top: 8px; }

@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

/* sub-headings inside blog-post prose */
.country-article .prose h4 { font-family: var(--display); color: var(--ink); font-size: 17.5px; margin: 26px 0 10px; letter-spacing: -0.01em; }

/* blog pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 50px; }
.pagination .page-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 1px solid #D9E2E8; color: var(--ink); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease); }
.pagination .page-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination .page-link.disabled { opacity: 0.4; pointer-events: none; }
.pagination .page-ind { font-size: 13px; color: #7A8A94; font-weight: 600; }
.blog-card h3 a { color: inherit; }

/* pagination buttons share the hero flow-btn flair animation */
a.page-link { position: relative; overflow: hidden; isolation: isolate; }
.has-flow-flair a.page-link { transition: color 0.15s cubic-bezier(0.76, 0, 0.24, 1); }
.has-flow-flair a.page-link:hover { background: transparent; color: #fff; border-color: var(--blue); }
