@font-face {
  font-family: "Outfit Landing";
  src: url("../home-assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope Landing";
  src: url("../home-assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink:        #101727;
  --paper:      #fbfcff;
  --white:      #ffffff;
  --steel:      #5f748a;
  --muted:      #607086;
  --line:       #dbe3ed;
  --red:        #ff3841;
  --red-deep:   #c81f2b;
  --blue:       #1B5387;
  --blue-dark:  #124370;
  --blue-light: #dbeafe;
  --ice:        #d9eaff;
  --ice-2:      #edf6ff;
  --signal:     #ffc43d;
  --navy:       #18263a;
  --concrete:   #f0f2f5;
  --radius:     8px;
  --max:        1180px;
  --shadow:     0 24px 70px rgba(16,23,39,.16);
  --font-display: "Outfit Landing","Trebuchet MS",sans-serif;
  --font-body:    "Manrope Landing","Segoe UI",sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1; letter-spacing: 0; }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; z-index: 120; width: 0; height: 3px; background: var(--blue); }

/* Skip link */
.skip { position: fixed; top: 12px; left: 12px; z-index: 140; transform: translateY(-80px); padding: 10px 14px; border-radius: 6px; background: var(--blue); color: var(--white); font-weight: 800; }
.skip:focus { transform: translateY(0); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.18);
  background: rgba(255, 255, 255, 0.10);
  color: var(--white);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.nav.is-scrolled, .nav.menu-active {
  border-bottom-color: rgba(16,23,39,.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(16,23,39,.10);
}
.nav-inner {
  width: min(100% - 40px, var(--max));
  height: 78px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; }
/* Logo transparent-bg fix: multiply on white nav, drop-shadow on dark */
.brand-logo {
  width: 54px; height: 54px; object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.22));
  transition: mix-blend-mode .2s, filter .2s;
}
.nav.is-scrolled .brand-logo {
  mix-blend-mode: multiply;
  filter: none;
}
.brand-text { max-width: 210px; font-size: 15px; line-height: 1.15; }

/* NVOCC badge in nav */
.nvocc-nav {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--red); color: var(--white);
  font-family: var(--font-body); font-size: 10px; font-weight: 900;
  letter-spacing: 1.8px; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255,56,65,.32);
  margin-top: 4px;
}

/* ── Language toggle button — Red / White ── */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 0;
  padding: 0; border: 1px solid var(--red); border-radius: 999px;
  background: var(--red);
  cursor: pointer; font-family: var(--font-body); font-size: 12px; font-weight: 800;
  color: var(--white); white-space: nowrap; overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease;
}
.nav.is-scrolled .lang-toggle {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}
.lang-toggle:hover, .nav.is-scrolled .lang-toggle:hover { background: var(--red-deep); border-color: var(--red-deep); }
.lang-toggle-current {
  padding: 5px 12px;
  background: rgba(0,0,0,.18);
  border-right: 1px solid rgba(255,255,255,.30);
  font-weight: 900; letter-spacing: .5px;
  color: var(--white);
}
.nav.is-scrolled .lang-toggle-current {
  background: rgba(0,0,0,.18);
  border-right-color: rgba(255,255,255,.30);
  color: var(--white);
}
.lang-toggle-label { padding: 5px 12px; color: var(--white); }

.nav-links {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; margin-left: auto;
}
.nav-links a {
  display: inline-flex; align-items: center;
  min-height: 42px; padding: 0 12px; border-radius: 6px;
  color: currentColor; font-size: 13px; font-weight: 800; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a.active {
  color: var(--red);
  background: rgba(255,56,65,.08);
  border-bottom: 2px solid var(--red);
  outline: none;
}
.nav:not(.is-scrolled):not(.menu-active) .nav-links a:hover,
.nav:not(.is-scrolled):not(.menu-active) .nav-links a:focus-visible {
  color: var(--white);
}
.nav.is-scrolled .nav-links a:hover,
.nav.is-scrolled .nav-links a:focus-visible,
.nav.menu-active .nav-links a:hover,
.nav.menu-active .nav-links a:focus-visible {
  color: var(--ink);
}
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--red); color: var(--white); font-weight: 900;
  box-shadow: 0 16px 30px rgba(255,56,65,.30);
}
.nav-cta:hover { background: var(--red-deep); color: var(--white); }
.menu-btn {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid currentColor; border-radius: 6px;
  background: transparent; color: currentColor; cursor: pointer;
}
@media(min-width:861px) { .menu-btn { display: none; } }
.menu-lines { width: 20px; display: grid; gap: 5px; }
.menu-lines span { height: 2px; background: currentColor; transform-origin: center; transition: transform 160ms ease, opacity 160ms ease; }
.menu-btn[aria-expanded="true"] .menu-lines span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-lines span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Slider: video is PERSISTENT BG; only text slides change ── */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  color: var(--white); background: var(--navy);
}
/* Persistent video background (not inside any slide) */
.hero > .hero-media { position: absolute; inset: 0; z-index: 0; }
.hero > .hero-media video { position: absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero > .hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 16, 40, 0.82) 0%,
    rgba(10, 16, 40, 0.55) 55%,
    rgba(10, 16, 40, 0.22) 100%
  );
}

/* Hero layout grid: always visible */
.hero-layout {
  position: relative; z-index: 2;
  width: min(100% - 40px, var(--max)); margin: 0 auto;
  padding: 132px 0 56px;
  display: grid; grid-template-columns: minmax(0,1fr) 420px;
  gap: 54px; align-items: end;
}

/* Text slides area (left column only) */
.hero-text-area { position: relative; min-height: 360px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-slide.active { opacity: 1; pointer-events: auto; visibility: visible; }
.hero-slide.active .hero-copy h1,
.hero-slide.active .hero-copy p,
.hero-slide.active .hero-actions { animation: heroTextIn 700ms ease both; }
.hero-slide.active .hero-copy p { animation-delay: 110ms; }
.hero-slide.active .hero-actions { animation-delay: 220ms; }
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* NVOCC eyebrow label (single, red-highlighted) */
.nvocc-eyebrow {
  display: inline-block; margin-bottom: 14px;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px;
  padding: 4px 14px; border-radius: 4px;
}

/* Arrow controls */
.hero-arrow {
  position: absolute; top: 50%; z-index: 4;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 0; border-radius: 999px;
  color: var(--white); background: transparent;
  cursor: pointer; font-size: 28px;
  transform: translateY(-50%);
  transition: background 180ms ease;
}
.hero-arrow:hover { background: rgba(255,255,255,.12); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }
.hero-dots {
  position: absolute; bottom: 34px; left: 50%; z-index: 4;
  transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dot {
  width: 12px; height: 12px;
  border: 1px solid rgba(255,255,255,.78); border-radius: 999px;
  background: transparent; cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}
.hero-dot.active { width: 34px; background: var(--white); }

/* Bold NVOCC pill in hero */
.nvocc-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px;
  background: var(--red); color: var(--white);
  font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(255,56,65,.36);
  margin-bottom: 22px;
}
.hero h1 { max-width: 820px; font-size: 76px; font-weight: 800; }
.hero-lead { max-width: 710px; margin-top: 24px; color: rgba(255,255,255,.82); font-size: 20px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Buttons — red primary matches index.html */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border: 1px solid transparent;
  border-radius: 999px; cursor: pointer; font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 18px 32px rgba(255,56,65,.30); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--red-deep); }
.btn-secondary { border-color: rgba(255,255,255,.40); color: var(--white); background: rgba(255,255,255,.08); }
.btn-secondary:hover { background: rgba(255,255,255,.18); }
.btn-outline { border-color: var(--line); background: var(--white); color: var(--ink); }

/* Control board */
.control-board {
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius);
  background: rgba(9,16,28,.58); box-shadow: var(--shadow);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden;
}
.board-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.16);
}
.board-head strong { font-family: var(--font-display); font-size: 18px; line-height: 1.1; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 7px rgba(255,196,61,.16); }
.route-stack { padding: 22px 18px; display: grid; gap: 15px; }
.route-row { display: grid; grid-template-columns: 92px minmax(0,1fr) 48px; align-items: center; gap: 12px; min-height: 58px; border-bottom: 1px solid rgba(255,255,255,.12); }
.route-row:last-child { border-bottom: 0; }
.route-code { color: var(--signal); font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.route-main span { display: block; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.route-main strong { display: block; color: var(--white); font-size: 15px; line-height: 1.35; }
.route-time { color: var(--white); font-weight: 900; text-align: right; }
.board-foot { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.16); }
.board-foot div { min-height: 72px; padding: 12px 14px; border-right: 1px solid rgba(255,255,255,.16); }
.board-foot div:last-child { border-right: 0; }
.board-foot span { display: block; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.board-foot strong { display: block; margin-top: 5px; color: var(--white); font-family: var(--font-display); font-size: 22px; line-height: 1; }

/* Proof band */
.proof-band { position: relative; z-index: 4; margin-top: -1px; background: var(--white); border-bottom: 1px solid var(--line); }
.proof-grid { width: min(100% - 40px, var(--max)); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.proof-item { min-height: 118px; padding: 28px 24px; border-right: 1px solid var(--line); }
.proof-item:first-child { border-left: 1px solid var(--line); }
.proof-value { display: block; color: var(--blue); font-family: var(--font-display); font-size: 42px; line-height: 1; font-weight: 800; }
.proof-label { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }

/* Section */
.section { padding: 100px 0; }
.section.ice { background: linear-gradient(180deg, var(--ice-2), var(--white)); }
.section.concrete { background: var(--concrete); }
.section.dark { background: #121A36; color: var(--white); }
.container { width: min(100% - 40px, var(--max)); margin: 0 auto; }

/* Section eyebrow labels — "Our Freight Routes", "Who We Are", etc. */
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  color: var(--red); font-size: 14px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 2px;
}
/* Eyebrow stays red on dark sections too */
.dark .eyebrow { color: var(--red); }

.section-head { display: grid; grid-template-columns: minmax(0,.9fr) minmax(280px,.55fr); gap: 44px; align-items: end; margin-bottom: 56px; }
.section-head h2 { font-size: 58px; font-weight: 900; line-height: 1.08; margin-top: 0; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.dark .section-head p { color: rgba(255,255,255,.70); }

/* Route / Corridor */
.corridor { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.corridor-panel { min-height: 0; display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.corridor-tab-bar {
  position: sticky; top: 78px; z-index: 50;
  display: grid; grid-template-columns: repeat(3,1fr);
  margin-bottom: 28px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.10); overflow: hidden;
}
.corridor-tab {
  min-height: 52px; border: 0; border-right: 1px solid var(--line);
  border-bottom: 3px solid transparent; background: var(--white); color: var(--muted);
  cursor: pointer; font-family: var(--font-display); font-size: 15px; font-weight: 700;
  transition: color 160ms, border-color 160ms, background 160ms;
}
.corridor-tab:last-child { border-right: 0; }
.corridor-tab:hover:not(.active) { color: var(--ink); background: #fafafa; }
.corridor-tab.active { color: var(--red); font-weight: 900; border-bottom-color: var(--red); background: var(--white); }
.corridor-map { position: relative; padding: 30px 28px; display: flex; flex-direction: column; background: var(--white); min-height: 430px; justify-content: flex-start; }
.corridor-map::before { display: none; }
.map-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.map-label::before { content: ""; width: 18px; height: 2px; background: var(--blue); flex-shrink: 0; }
.nodes { position: relative; display: flex; flex-direction: column; gap: 0; z-index: 1; }
.nodes::before { content: ""; position: absolute; left: 18px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--blue) 0%, rgba(27,83,135,.4) 60%, rgba(27,83,135,.12) 100%); z-index: 0; border-radius: 2px; }
.node { display: grid; grid-template-columns: 38px 1fr; column-gap: 20px; align-items: start; position: relative; padding: 14px 0; z-index: 1; }
.node-num { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--blue); color: var(--white); font-family: var(--font-display); font-size: 12px; font-weight: 900; position: relative; z-index: 2; box-shadow: 0 2px 8px rgba(27,83,135,.22); transition: transform 180ms; }
.node:hover .node-num { transform: scale(1.08); }
.node:last-child .node-num { background: var(--red); box-shadow: 0 2px 10px rgba(255,56,65,.30); }
.node-body { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.node-city { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--ink); }
.node-role { display: block; color: var(--blue); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 3px; }
.node-detail { display: block; color: var(--muted); font-size: 14.5px; font-weight: 500; line-height: 1.5; margin-top: 2px; }
.fact-strip { background: #121A36; padding: 20px 24px 22px; border-top: 1px solid rgba(255,255,255,.06); }
.fact-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.fact { min-height: 76px; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: #1e294a; }
.fact span { display: block; color: rgba(255,255,255,.80); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.fact strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 21px; line-height: 1.1; color: var(--white); }
.corridor-copy { display: grid; grid-template-rows: 1fr auto; min-height: 0; border-radius: var(--radius); background: #121A36; color: var(--white); overflow: hidden; }
.copy-media { min-height: 258px; background: var(--navy); }
.copy-media img, .copy-media video { width: 100%; height: 100%; min-height: 258px; object-fit: cover; opacity: .88; display: block; }
.copy-body { padding: 34px; }
.copy-body h3 { margin-bottom: 14px; font-size: 34px; }
.copy-body p { color: rgba(255,255,255,.76); }

/* ── How We Work (Scoped to #how-we-work) ── */
#how-we-work .section-heading {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 46px;
}
#how-we-work .section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
#how-we-work .section-heading h2 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 0;
}
#how-we-work .process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
#how-we-work .process-step {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 280ms ease;
}
#how-we-work .process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.13);
  border-color: rgba(255, 51, 71, 0.38);
}
#how-we-work .process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}
#how-we-work .process-step h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

/* Services (6 cards, 3-col) */
.service-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); overflow: hidden;
}
.lane {
  min-height: 320px; padding: 28px 22px;
  display: grid; align-content: space-between;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: #1e294a;
  transition: background 160ms, transform 160ms;
}
.lane:nth-child(3n) { border-right: 0; }
.lane:nth-last-child(-n+3) { border-bottom: 0; }
.lane:hover, .lane:focus-within { background: rgba(255,56,65,.18); transform: translateY(-4px); }
.lane small { color: var(--red); font-weight: 900; }
.lane h3 { margin-top: 18px; font-size: 25px; }
.lane p { margin-top: 14px; color: rgba(255,255,255,.72); font-size: 15px; }
.lane-link {
  display: inline-block; margin-top: 22px; padding: 10px 16px; border-radius: 6px;
  background: var(--blue); color: var(--white); font-size: 12px; font-weight: 900;
  text-align: center; text-transform: uppercase; letter-spacing: .5px;
  transition: background 160ms, transform 120ms; width: 100%;
}
.lane-link:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Operations */
.operations { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: stretch; }
.image-stack { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 170px 170px 1fr; gap: 12px; }
.image-stack figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.image-stack figure:nth-child(5) { grid-column: span 2; }
.image-stack img { width: 100%; height: 100%; object-fit: cover; }
.image-stack figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 6px; background: rgba(16,23,39,.72); color: var(--white); font-size: 13px; font-weight: 800; backdrop-filter: blur(12px); }
.ops-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.ops-item { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
#why .ops-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding: 36px 28px;
  border-radius: 20px;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 280ms ease;
}
#why .ops-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.13);
  border-color: rgba(255, 51, 71, 0.38);
}
#why .ops-num {
  width: 64px;
  height: 64px;
  font-size: 26px;
  background: rgba(255, 56, 65, 0.10);
  color: var(--red);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
#why .ops-item:hover .ops-num {
  transform: rotate(-8deg) scale(1.12);
}
.ops-num { width: 56px; height: 56px; display: inline-grid; place-items: center; border-radius: 6px; background: var(--ice); color: var(--blue); font-family: var(--font-display); font-weight: 800; }
.ops-item h3 { margin-bottom: 8px; font-size: 22px; }
.ops-item p { color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-lead { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 14px; }
.about-checklist { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.about-checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: start; }
.about-checklist li i { color: var(--red); font-size: 20px; margin-top: 2px; }
.about-checklist li strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.about-checklist li span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* Milestones */
.about-milestones-wrapper {
  display: flex;
  flex-direction: column;
  align-self: start;
  width: 100%;
}
.milestones-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 46px 0 20px 0;
  padding-left: 20px;
  letter-spacing: -0.02em;
  position: relative;
}
.about-milestones { position: relative; display: flex; flex-direction: column; gap: 24px; padding-left: 20px; border-left: 2px solid var(--line); }
.about-milestone-item { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; position: relative; }
.milestone-num { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 6px; background: var(--blue); color: var(--white); font-family: var(--font-display); font-size: 11px; font-weight: 900; box-shadow: 0 4px 10px rgba(27,83,135,.16); }
.about-milestone-item:last-child .milestone-num { background: var(--red); box-shadow: 0 4px 10px rgba(255,56,65,.16); }
.milestone-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.milestone-body p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Network */
.network { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 32px; align-items: stretch; }
.network-brief { padding: 34px; border-radius: var(--radius); background: var(--blue); color: var(--white); }
.network-brief h3 { font-size: 40px; }
.network-brief p { margin-top: 18px; color: rgba(255,255,255,.78); }
.network-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.hub { min-height: 178px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.hub span { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--blue); font-weight: 900; font-size: 18px; }
.hub span i { color: var(--red); font-size: 18px; width: 20px; text-align: center; }
.hub h3 { margin-bottom: 12px; font-size: 24px; }
.hub p { color: var(--muted); font-size: 14px; }

/* Carrier ticker */
.client-strip { margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--white); }
.client-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.client-track:hover { animation-play-state: paused; }
.client-track span { display: inline-flex; align-items: center; gap: 10px; min-height: 76px; padding: 0 34px; border-right: 1px solid var(--line); color: var(--steel); font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.client-track span i { color: var(--blue); font-size: 16px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Quote / Contact */
.quote { display: grid; grid-template-columns: minmax(0,.9fr) minmax(320px,.75fr); gap: 38px; align-items: start; }
.quote-copy h2 { max-width: 680px; font-size: 58px; }
.quote-copy p { max-width: 620px; margin-top: 20px; color: rgba(255,255,255,.72); font-size: 18px; }
.contact-lines { display: grid; gap: 14px; margin-top: 34px; }
.contact-lines a,
.contact-lines span {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}
.contact-lines strong {
  font-family: var(--font-body);
  font-weight: 900;
  color: var(--white);
}
.contact-item-row { display: flex; align-items: center; gap: 12px; }
.contact-item-row i { color: var(--signal); width: 20px; text-align: center; font-size: 16px; }

/* Origin ports container & list with checkmarks */
.ports-container {
  margin-top: 24px; padding: 18px 20px; border-radius: 8px;
  background: rgba(255,255,255,.06); border-left: 3px solid var(--red);
}
.ports-title {
  display: block; margin-bottom: 12px; color: var(--white);
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.ports-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px;
  list-style: none; padding: 0; margin: 0;
}
.ports-list li {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.82); font-size: 13.5px; font-weight: 600;
}
.ports-list li i { color: var(--red); font-size: 13px; flex-shrink: 0; }

/* Social media icons */
.contact-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.contact-socials a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}
.contact-socials a:hover {
  background-color: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.quote-form { display: grid; gap: 12px; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: #1e294a; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 7px; }
.field label { color: rgba(255,255,255,.70); font-size: 13px; font-weight: 900; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; padding: 11px 12px; background: rgba(255,255,255,.92); color: var(--ink); }
.field textarea { min-height: 124px; resize: vertical; }
.form-note { min-height: 24px; color: var(--signal); font-size: 13px; font-weight: 800; }

/* Footer */
.footer { padding: 52px 0; border-top: 1px solid #5f748a; background: #121A36; color: rgba(255,255,255,.72); }
.footer-inner { width: min(100% - 40px, var(--max)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
/* Footer logo: drop-shadow makes it glow white-ish on dark background */
.footer-logo {
  height: 54px; width: auto;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.9)) brightness(1.8);
  opacity: 1;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.55); font-weight: 700; transition: color .16s; }
.footer-links a:hover { color: var(--white); }
.footer-nvocc {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255,56,65,.4); color: var(--red);
  font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase;
}

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--red); color: var(--white);
  cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: background-color 160ms, opacity 160ms, transform 160ms;
  box-shadow: 0 18px 28px rgba(255,56,65,.26);
}
.to-top:hover { background: var(--red-deep); }
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Reveal */
.reveal { opacity: 1; transform: none; transition: opacity 520ms ease, transform 520ms ease; }
.reveal.hidden { opacity: 0; transform: translateY(28px); }
.reveal.in-view { opacity: 1; transform: none; }

/* ── Responsive ── */
@media(max-width:1080px) {
  .hero-layout, .corridor, .about-grid, .operations, .network, .quote { grid-template-columns: 1fr; }
  .milestones-heading { margin-top: 0; padding-left: 20px; font-size: 20px; }
  .control-board, .corridor-copy, .corridor-panel { min-height: auto; }
  .service-lanes { grid-template-columns: repeat(2,1fr); }
  .lane { border-bottom: 1px solid rgba(255,255,255,.12); }
  .lane:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.16); }
  .lane:nth-child(2n) { border-right: 0; }
  .lane:nth-last-child(-n+2) { border-bottom: 0; }
}
@media(max-width:860px) {
  .nav-inner { height: 68px; width: min(100% - 28px, var(--max)); }
  .brand-text { display: none; }
  .brand-logo { width: 46px; height: 46px; }
  .nvocc-nav { display: none; }
  .nav.menu-active {
    background: rgba(18, 26, 54, 0.98) !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
  }
  .nav.menu-active .brand-logo {
    mix-blend-mode: normal !important;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)) !important;
  }
  .nav-links {
    position: fixed;
    top: 76px;
    right: 16px;
    left: auto;
    width: 280px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(18, 26, 54, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px rgba(10, 16, 40, 0.45);
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .nav-links a:hover, .nav-links a:focus-visible {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }
  .nav-links a.active {
    color: var(--red) !important;
    background: rgba(255, 56, 65, 0.08) !important;
  }
  
  /* Highlight the "Contact Us" / Quote button in mobile menu */
  .nav-links a[href="#quote"] {
    margin: 12px 14px 4px 14px;
    justify-content: center;
    background: var(--red) !important;
    color: var(--white) !important;
    box-shadow: 0 10px 24px rgba(255, 56, 65, 0.35) !important;
    border-radius: 999px !important;
    border-bottom: none !important;
  }
  .nav-links a[href="#quote"]:hover {
    background: var(--red-deep) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(255, 56, 65, 0.45) !important;
  }
  .nav-links a[href="#quote"].active {
    color: var(--white) !important;
    background: var(--red) !important;
  }
  /* Remove the bottom border on the item right before the Quote button to keep it clean */
  .nav-links a:nth-last-child(2) {
    border-bottom: none !important;
  }

  @keyframes fadeInUpMobileMenu {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links.open a {
    animation: fadeInUpMobileMenu 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .nav-links.open a:nth-child(1) { animation-delay: 0.05s; }
  .nav-links.open a:nth-child(2) { animation-delay: 0.10s; }
  .nav-links.open a:nth-child(3) { animation-delay: 0.15s; }
  .nav-links.open a:nth-child(4) { animation-delay: 0.20s; }
  .nav-links.open a:nth-child(5) { animation-delay: 0.25s; }
  .nav-links.open a:nth-child(6) { animation-delay: 0.30s; }

  .nav-cta { display: none; }
  .lang-toggle { margin-left: auto; }
  .menu-btn {
    display: inline-flex !important;
    position: static;
    z-index: 125;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--white) !important;
    border-radius: 12px !important;
    width: 44px !important;
    height: 44px !important;
    transition: all 0.2s ease !important;
  }
  .menu-btn:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
  }
  .nav.is-scrolled .menu-btn {
    border-color: rgba(27, 83, 135, 0.2) !important;
    background: rgba(27, 83, 135, 0.06) !important;
    color: var(--blue) !important;
  }
  .nav.is-scrolled .menu-btn:hover {
    background: rgba(27, 83, 135, 0.12) !important;
    border-color: rgba(27, 83, 135, 0.3) !important;
  }
  .nav.menu-active .menu-btn {
    border-color: rgba(255, 255, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
  }
  .hero { min-height: 100svh; }
  .hero-layout, .container, .proof-grid, .footer-inner { width: min(100% - 28px, var(--max)); }
  .hero-layout { padding-top: 112px; gap: 34px; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-item:nth-child(2n) { border-right: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head h2, .quote-copy h2 { font-size: 42px; }
  .corridor { gap: 18px; }
  .corridor-map { padding: 22px 18px; min-height: auto; }
  .node { padding: 11px 0; }
  .node-city { font-size: 17px; }
  .node-detail { font-size: 13.5px; }
  .copy-media { min-height: 180px; }
  .image-stack { grid-template-columns: 1fr; grid-template-rows: repeat(5,200px); }
  .image-stack figure:nth-child(5) { grid-column: auto; }
  .network-grid { grid-template-columns: 1fr 1fr; }
  #how-we-work .process-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  #how-we-work .process-step { padding: 28px 20px; }
  #why .ops-item { padding: 28px 20px; }
}
@media(max-width:620px) {
  body { font-size: 15px; }
  .nav-inner { width: min(100% - 24px, var(--max)); }
  .menu-btn { flex: 0 0 44px; }
  .hero-layout { padding-bottom: 36px; }
  .hero-copy, .hero-actions { width: 100%; max-width: 480px; }
  .hero h1 { max-width: none; font-size: clamp(17px, 5.2vw, 24px); line-height: 1.2; white-space: normal; }
  .nvocc-eyebrow { white-space: normal; overflow-wrap: break-word; }
  .hero-lead { max-width: 28ch; font-size: 16px; overflow-wrap: break-word; }
  .hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1;
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
  }
  .hero-arrow {
    display: none;
  }
  .control-board { display: none; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .service-lanes { grid-template-columns: repeat(2,1fr); }
  .network-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .hub { padding: 16px; }
  .hub h3 { font-size: 16px; margin-bottom: 8px; }
  .hub p { font-size: 12px; }
  .proof-item { border-right: 1px solid var(--line); border-left: 0; }
  .proof-item:nth-child(even) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-value { font-size: 34px; }
  .section-head h2, .network-brief h3, .quote-copy h2 { font-size: 34px; }
  .corridor-tabs { grid-template-columns: repeat(3,1fr); overflow-x: auto; }
  .corridor-tab { min-height: 44px; font-size: 14px; white-space: nowrap; padding: 0 6px; }
  .corridor-map { padding: 16px 14px; }
  .map-label { margin-bottom: 16px; font-size: 9px; }
  .nodes { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
  .nodes::before { display: none; }
  .node { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 8px; border: 1px solid var(--line); border-radius: 10px; background: #f9f9f9; }
  .node-num { width: 36px; height: 36px; font-size: 11px; margin-bottom: 8px; }
  .node-body { padding-top: 0; text-align: center; align-items: center; }
  .node-city { font-size: 15px; }
  .fact-strip { padding: 16px 14px 18px; }
  .fact-list { grid-template-columns: repeat(2,1fr) !important; gap: 8px; }
  .fact { min-height: 64px; padding: 11px 10px; }
  .fact strong { font-size: 16px; }
  .lane { min-height: 200px; padding: 18px 14px; }
  .lane h3 { font-size: 16px; }
  .lane p { font-size: 12px; }
  .corridor-tab-bar { top: 56px; margin-bottom: 18px; }
  .ops-list { grid-template-columns: 1fr; gap: 16px; }
  .ops-item { grid-template-columns: 1fr; padding: 16px; }
  #why .ops-item { padding: 24px 18px; }
  .ops-item h3 { font-size: 16px; margin-bottom: 6px; }
  .ops-num { width: 40px; height: 40px; font-size: 14px; }
  #why .ops-num { width: 50px; height: 50px; font-size: 20px; }
  .about-grid { gap: 32px; }
  .milestones-heading { padding-left: 0; font-size: 18px; margin-bottom: 12px; }
  .about-milestones { display: grid; grid-template-columns: 1fr; gap: 14px; padding-left: 0; border-left: 0; }
  .about-milestone-item { display: flex; flex-direction: column; align-items: start; gap: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
  .milestone-num { margin-bottom: 10px; }
  .milestone-body h3 { font-size: 16px; margin-bottom: 6px; }
  .milestone-body p { font-size: 13.5px; line-height: 1.45; }
  .quote-form { padding: 18px; }
  .field-row { grid-template-columns: 1fr; }
  #how-we-work .process-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  #how-we-work .process-step { padding: 20px 14px; }
  #how-we-work .process-num { width: 44px; height: 44px; font-size: 16px; }
  #how-we-work .process-step h3 { font-size: 17px; }
  .ports-list { grid-template-columns: repeat(2, 1fr); }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Why Choose Us (Reasons) Section ── */
.reasons {
  background: var(--paper);
  padding: 80px 0;
}
.reasons-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.reasons-left {
  display: flex;
  flex-direction: column;
}
.reasons-left .section-title {
  font-size: 40px;
  margin-top: 12px;
  margin-bottom: 36px;
  font-weight: 800;
  color: var(--ink);
}
.reasons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.reasons-list li {
  display: flex;
  gap: 20px;
  align-items: start;
}
.reason-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.reasons-list li:hover .reason-icon {
  transform: scale(1.1);
  background: var(--blue);
  color: var(--white);
}
.reason-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.reason-content p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--steel);
}

.reasons-right {
  position: relative;
  align-self: start;
  will-change: transform;
}
/* JS-driven sticky fallback (added when sticky is broken by overflow-x) */
.reasons-right.js-sticky-active {
  position: relative;
}
.result-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--white);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 70px rgba(16,23,39,0.25);
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(27,83,135,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.result-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 56, 65, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 56, 65, 0.3);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.result-card h3 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--white);
}
.result-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}
.result-footer {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.result-footer i {
  color: var(--signal);
  font-size: 18px;
}

@media (max-width: 900px) {
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reasons-right {
    position: static;
  }
  .reasons-left .section-title {
    font-size: 32px;
    margin-bottom: 24px;
  }
}

.nvocc-highlight {
  background: var(--red);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 0 12px rgba(255, 56, 65, 0.6);
  margin-right: 4px;
}


/* ── Philosophy & Corporate Values ── */
#philosophy {
  background: #EFF7FF;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.mission-col {
  display: flex;
  flex-direction: column;
  align-self: start;
  will-change: transform;
}
.mission-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(16, 23, 39, 0.04);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}
.mission-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue) 0%, var(--red) 100%);
  border-radius: 4px 0 0 4px;
}
.mission-quote-item {
  position: relative;
  padding-left: 28px;
}
.mission-quote-item .quote-icon {
  position: absolute;
  top: 4px;
  left: 0;
  font-size: 16px;
  color: var(--red);
  opacity: 0.35;
}
.mission-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 500;
  font-style: italic;
  margin: 0;
}

.values-col {
  display: flex;
  flex-direction: column;
}
.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 23, 39, 0.02);
  border: 1px solid var(--line);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(16, 23, 39, 0.08);
  border-color: rgba(27, 83, 135, 0.2);
}
.value-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 56, 65, 0.06);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: all 0.3s ease;
}
.value-card:hover .value-icon {
  background: var(--red);
  color: var(--white);
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.value-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.philosophy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  box-shadow: 0 24px 60px rgba(16, 23, 39, 0.2);
}
.phil-stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 20px;
}
.phil-stat-item:last-child {
  border-right: 0;
  padding-right: 0;
}
.phil-stat-number {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--white) 30%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.phil-stat-number .stat-unit {
  font-size: 16px;
  font-weight: 800;
  margin-left: 4px;
}
.phil-stat-label {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1080px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .phil-stat-item { border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 16px; }
  .phil-stat-item:nth-child(2n) { border-right: 0; }
  .phil-stat-item:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 620px) {
  .values-list { grid-template-columns: 1fr; gap: 14px; }
  .philosophy-stats { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; }
  .phil-stat-item { border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 14px; }
  .phil-stat-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .mission-box { padding: 24px; gap: 20px; }
  .mission-text { font-size: 15px; }
  .phil-stat-number { font-size: 28px; }
}


/* ═══════════════════════════════════════════════════════════
   MOBILE OPTIMISATION PATCH
   Targets: iPhone SE (375), iPhone 14/15 Pro (390),
            iPhone 14/15 Pro Max (430), iPad (768),
            iPad Pro (1024)
   ═══════════════════════════════════════════════════════════ */

/* ── iPad Pro / large tablet (≤ 1024px) ─────────────────── */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 110px;
    padding-bottom: 48px;
    gap: 32px;
    align-items: start;
  }
  .hero h1 { font-size: clamp(38px, 5.5vw, 62px); }
  .hero-lead { font-size: 18px; }
  .section { padding: 80px 0; }
  .corridor { grid-template-columns: 1fr; gap: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .operations { grid-template-columns: 1fr; gap: 28px; }
  .image-stack {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 200px;
  }
  .image-stack figure:nth-child(5) { grid-column: span 2; }
  .reasons-grid { grid-template-columns: 1fr; gap: 40px; }
  .reasons-right { position: static; }
  .network { grid-template-columns: 1fr; gap: 24px; }
  .network-grid { grid-template-columns: repeat(3, 1fr); }
  .quote { grid-template-columns: 1fr; gap: 28px; }
  .quote-copy h2 { font-size: 42px; }
}

/* ── iPad / large phone landscape (≤ 768px) ─────────────── */
@media (max-width: 768px) {
  .nav-inner { height: 64px; }
  .brand-text { max-width: 160px; font-size: 13px; }
  .hero h1 { font-size: clamp(28px, 6vw, 42px); line-height: 1.15; }
  .hero-lead { font-size: 16px; margin-top: 16px; }
  .hero-text-area { min-height: 300px; }
  .hero-layout { padding-top: 96px; gap: 24px; }
  .control-board { display: none; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:first-child { border-left: none; }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-value { font-size: 36px; }
  .section { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .section-head h2 { font-size: 34px; }
  .corridor-tab-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    top: 64px;
  }
  .corridor-tab { font-size: 13px; white-space: nowrap; min-height: 48px; }
  .corridor-map { min-height: 260px; padding: 20px 16px; }
  .service-lanes { grid-template-columns: 1fr; }
  .lane { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.12) !important; }
  .lane:last-child { border-bottom: none !important; }
  #how-we-work .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ops-list { grid-template-columns: 1fr; }
  .image-stack {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 180px);
  }
  .image-stack figure:nth-child(5) { grid-column: auto; }
  .network-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .network-brief { padding: 28px 24px; }
  .network-brief h3 { font-size: 30px; }
  .philosophy-stats { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; gap: 20px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-list { grid-template-columns: repeat(2, 1fr); }
  .quote { grid-template-columns: 1fr; }
  .quote-copy h2 { font-size: 32px; }
  .quote-copy p { font-size: 16px; }
  .client-track span { padding: 0 22px; font-size: 15px; min-height: 64px; }
}

/* ── iPhone Pro Max / large phone (≤ 430px) ─────────────── */
@media (max-width: 430px) {
  body { font-size: 15px; }
  .container,
  .hero-layout,
  .proof-grid,
  .footer-inner { width: min(100% - 24px, var(--max)); }
  .nav-inner { height: 60px; width: min(100% - 24px, var(--max)); }
  .brand-text { display: none; }
  .brand-logo { width: 44px; height: 44px; }
  .hero h1 {
    font-size: clamp(26px, 7.5vw, 36px);
    line-height: 1.2;
    white-space: normal;
    max-width: 100%;
  }
  .hero-lead {
    font-size: 15px;
    margin-top: 14px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero-layout { padding-top: 88px; padding-bottom: 40px; gap: 20px; }
  .hero-text-area { min-height: 260px; }
  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
  }
  .hero-actions .btn {
    flex: 1;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
    white-space: nowrap;
    text-align: center;
  }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 20px; }
  .control-board { display: none; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { min-height: 96px; padding: 20px 16px; }
  .proof-item:first-child { border-left: none; }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-value { font-size: 30px; }
  .proof-label { font-size: 11px; }
  .section { padding: 52px 0; }
  .section-head { gap: 14px; margin-bottom: 32px; }
  .section-head h2 { font-size: 28px; line-height: 1.15; }
  .corridor-tab-bar { top: 60px; margin-bottom: 16px; }
  .corridor-tab { min-height: 44px; font-size: 12px; padding: 0 4px; }
  .corridor-map { min-height: 220px; padding: 14px 12px; }
  .map-label { font-size: 9px; margin-bottom: 12px; }
  .copy-body { padding: 22px 18px; }
  .copy-body h3 { font-size: 24px; margin-bottom: 10px; }
  .fact-list { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .fact { min-height: 60px; padding: 10px; }
  .fact strong { font-size: 16px; }
  .fact span { font-size: 11px; }
  .reasons-list { gap: 22px; }
  .reason-content h3 { font-size: 16px; }
  .reason-content p { font-size: 14px; }
  .result-card { padding: 28px 22px; }
  .result-card h3 { font-size: 22px; }
  .reasons-left .section-title { font-size: 28px; }
  .about-grid { gap: 28px; }
  .about-lead { font-size: 15px; }
  .milestones-heading { font-size: 17px; }
  .about-milestones { gap: 12px; padding-left: 0; border-left: none; }
  .about-milestone-item {
    display: flex; flex-direction: column; gap: 0;
    padding: 14px; border: 1px solid var(--line);
    border-radius: var(--radius); background: var(--white);
  }
  .milestone-num { margin-bottom: 8px; }
  .milestone-body h3 { font-size: 15px; }
  .milestone-body p { font-size: 13px; }
  .values-list { grid-template-columns: 1fr; gap: 12px; }
  .mission-box { padding: 22px 18px; gap: 18px; }
  .philosophy-stats { grid-template-columns: 1fr; padding: 24px 18px; gap: 16px; }
  .phil-stat-number { font-size: 28px; }
  #how-we-work .process-grid { grid-template-columns: 1fr; gap: 14px; }
  #how-we-work .process-step { padding: 20px 16px; border-radius: 14px; }
  #how-we-work .process-num { width: 44px; height: 44px; font-size: 15px; margin-bottom: 14px; }
  #how-we-work .process-step h3 { font-size: 17px; }
  .service-lanes { grid-template-columns: 1fr; }
  .lane { min-height: auto; padding: 20px 16px; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.12) !important; }
  .lane:last-child { border-bottom: none !important; }
  .lane h3 { font-size: 18px; margin-top: 12px; }
  .lane p { font-size: 14px; margin-top: 10px; }
  .lane-link { font-size: 12px; padding: 10px 14px; margin-top: 16px; }
  .image-stack { grid-template-columns: 1fr; grid-template-rows: repeat(5, 160px); gap: 10px; }
  .image-stack figure:nth-child(5) { grid-column: auto; }
  .image-stack figcaption { font-size: 12px; padding: 8px 10px; }
  .ops-list { grid-template-columns: 1fr; gap: 12px; }
  .ops-item { grid-template-columns: 52px 1fr; padding: 16px; gap: 14px; }
  #why .ops-item { padding: 20px 16px; gap: 16px; }
  .ops-item h3 { font-size: 16px; }
  #why .ops-num { width: 48px; height: 48px; font-size: 20px; }
  .network-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hub { min-height: auto; padding: 14px; }
  .hub h3 { font-size: 15px; margin-bottom: 8px; }
  .hub p { font-size: 12.5px; }
  .network-brief { padding: 22px 18px; }
  .network-brief h3 { font-size: 26px; }
  .network-brief p { font-size: 14px; }
  .client-track span { padding: 0 18px; font-size: 14px; min-height: 58px; }
  .quote-copy h2 { font-size: 28px; line-height: 1.2; }
  .quote-copy p { font-size: 15px; }
  .contact-lines a,
  .contact-lines span { font-size: 14px; }
  .ports-list { grid-template-columns: repeat(2, 1fr); gap: 8px 12px; }
  .ports-list li { font-size: 13px; }
  .quote-form { padding: 16px; gap: 10px; }
  .field-row { grid-template-columns: 1fr; gap: 10px; }
  .field input,
  .field textarea,
  .field select { min-height: 48px; font-size: 15px; }
  .field label { font-size: 12px; }
  .field textarea { min-height: 100px; }
  .footer { padding: 36px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-logo { height: 44px; }
}

/* ── iPhone SE / very small phones (≤ 375px) ────────────── */
@media (max-width: 375px) {
  .hero h1 { font-size: clamp(22px, 7vw, 28px); }
  .section-head h2 { font-size: 25px; }
  .quote-copy h2 { font-size: 25px; }
  .network-grid { grid-template-columns: 1fr; }
  .hub { padding: 14px 12px; }
  .proof-value { font-size: 26px; }
  .hero-actions .btn { font-size: 12px; min-height: 40px; padding: 0 10px; }
  .lane h3 { font-size: 16px; }
}

/* ── Touch interaction improvements ────────────────────── */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 48px; }
  .nav-links a { min-height: 50px; }
  .corridor-tab { min-height: 48px; }
  .lane-link { min-height: 44px; padding: 12px 16px; }
  .to-top { width: 52px; height: 52px; }
  /* Remove hover effects that don't work on touch */
  .lane:hover,
  .lane:focus-within { transform: none; }
  .process-step:hover { transform: none; }
  .hub:hover { transform: none; }
  .ops-item:hover { transform: none; }
  .value-card:hover { transform: none; }
  .about-milestone-item:hover { transform: none; }
  .client-track:hover { animation-play-state: running; }
}

/* ── iOS Safe Area (notch / Dynamic Island) ─────────────── */
@supports (padding-top: env(safe-area-inset-top)) {
  .nav { padding-top: env(safe-area-inset-top); }
  .nav-inner {
    height: calc(68px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
  }
  .to-top {
    bottom: calc(22px + env(safe-area-inset-bottom));
    right: calc(22px + env(safe-area-inset-right));
  }
}


/* ==========================================================================
   OPERATIONS SECTION
   ========================================================================== */
#about, #why-choose-us, #why {
  overflow: hidden;
}
#why {
  background: #EFF7FF;
}
.redesign-operations {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 20px;
}
.showcase-viewport {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(17, 25, 54, 0.08);
  border: 1px solid rgba(17, 25, 54, 0.08);
  background: #111936;
}
.showcase-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}
.showcase-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}
.showcase-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.showcase-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.showcase-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.showcase-slide.active .showcase-image-wrapper img {
  transform: scale(1);
}
.showcase-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 25, 54, 0.96) 0%, rgba(17, 25, 54, 0.4) 50%, rgba(17, 25, 54, 0.1) 100%);
  z-index: 2;
}
.showcase-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  color: var(--white);
  z-index: 3;
  box-sizing: border-box;
}
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.showcase-details h4 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.showcase-details p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.showcase-metrics {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}
.metric-item {
  display: grid;
  gap: 2px;
}
.metric-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: #ffb5b8;
  font-weight: 900;
}
.metric-item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Feature Interactive List */
.feature-interactive-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}
.interactive-card {
  position: relative;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  box-sizing: border-box;
}
.interactive-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 25, 54, 0.04);
  border-color: rgba(17, 25, 54, 0.15);
}
.interactive-card.active {
  background: #111936;
  border-color: #111936;
  box-shadow: 0 12px 36px rgba(17, 25, 54, 0.16);
}
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(255, 56, 65, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.interactive-card.active .card-glow {
  opacity: 1;
}
.card-content {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
}
.card-icon-container {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--sand);
  color: var(--blue);
  transition: all 0.3s ease;
}
.interactive-card.active .card-icon-container {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 56, 65, 0.4);
}
.card-text {
  display: flex;
  flex-direction: column;
}
.card-text h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  margin-bottom: 6px !important;
  color: var(--ink);
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
  line-height: 1.3 !important;
}
.interactive-card.active h3 {
  color: var(--white) !important;
}
.interactive-card p {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: var(--muted);
  transition: color 0.3s ease;
}
.interactive-card.active p {
  color: rgba(255, 255, 255, 0.75) !important;
}
.card-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.interactive-card.active .card-eyebrow {
  color: #ff8c91;
}

/* responsive operations layout */
@media (max-width: 991px) {
  .redesign-operations {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
  }
  .showcase-viewport {
    aspect-ratio: 16 / 11;
  }
  .showcase-frame {
    min-height: auto;
    height: 100%;
  }
  .showcase-details {
    padding: 24px;
  }
  .showcase-details h4 {
    font-size: 22px;
  }
  .showcase-metrics {
    gap: 16px;
    padding-top: 14px;
  }
  .metric-item strong {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .redesign-operations {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .showcase-viewport {
    position: sticky;
    top: 78px; /* Sticks right below the scrolled mobile navbar */
    z-index: 10;
    aspect-ratio: 16 / 10;
    box-shadow: 0 12px 30px rgba(17, 25, 54, 0.12);
  }
  .showcase-frame {
    min-height: auto;
  }
  .showcase-details {
    padding: 16px 20px;
  }
  .showcase-details h4 {
    font-size: 18px;
  }
  .showcase-details p {
    display: none !important; /* Hide description in viewport slide on mobile to keep sticky view compact */
  }
  .showcase-metrics {
    display: none !important; /* Hide metrics in viewport slide on mobile */
  }
}

@media (max-width: 480px) {
  .showcase-viewport {
    aspect-ratio: 4 / 3;
    top: 78px;
  }
  .showcase-details {
    padding: 14px 18px;
  }
  .showcase-details h4 {
    font-size: 16px;
  }
  .showcase-badge {
    padding: 4px 8px;
    font-size: 9px;
    margin-bottom: 8px;
  }
}

/* ── INTERACTIVE SHOWCASE DETAILS: HOTSPOTS, TOOLTIPS, PROGRESS BARS ── */
.showcase-hotspot {
  position: absolute;
  z-index: 5;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

.hotspot-ring {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--red);
  border-radius: 50%;
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.hotspot-dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.showcase-hotspot:hover .hotspot-dot {
  transform: scale(1.3);
}

.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 220px;
  padding: 12px 14px;
  background: rgba(17, 25, 54, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--white);
  font-size: 12.5px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
}

.hotspot-tooltip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #ffb5b8;
}

.hotspot-tooltip span {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.hotspot-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(17, 25, 54, 0.95) transparent transparent transparent;
}

.showcase-hotspot:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Card Progress Bar styling */
.card-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
}

.interactive-card.active .card-progress-container {
  background: rgba(255, 255, 255, 0.1);
}

.card-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 2px;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.8; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hotspot-ring {
    animation: none;
    transform: scale(1.2);
    opacity: 0.5;
  }
}

/* ── Credentials Slider ── */
.cred-slider-wrap {
  position: relative;
  margin-top: 40px;
  padding: 0 52px 56px; /* side padding so arrows don't overlap cards */
}
.cred-viewport {
  overflow: hidden;
  width: 100%;
}
.cred-slider-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.cred-slide {
  flex: 0 0 calc(33.333% - 19px); /* 3 visible on desktop */
  min-width: 0;
}
.credential-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(16, 23, 39, 0.03);
  transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 300ms ease;
}
.credential-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 56, 65, 0.28);
}
.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 83, 135, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 99px;
  align-self: flex-start;
  margin-bottom: 20px;
}
/* Colour variants: slot 1=blue, slot 2=gold, slot 3=green, slot 4=red */
.cred-slide:nth-child(1) .credential-badge {
  background: rgba(27, 83, 135, 0.08);
  color: var(--blue);
}
.cred-slide:nth-child(2) .credential-badge {
  background: rgba(255, 196, 61, 0.12);
  color: #c98500;
}
.cred-slide:nth-child(3) .credential-badge {
  background: rgba(34, 197, 94, 0.10);
  color: #15803d;
}
.cred-slide:nth-child(4) .credential-badge {
  background: rgba(255, 56, 65, 0.08);
  color: var(--red);
}
.credential-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.25;
}
.credential-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.credential-preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--concrete);
}
.credential-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.credential-preview:hover img {
  transform: scale(1.08);
}
.credential-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 23, 39, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: var(--white);
  font-size: 24px;
}
.credential-preview:hover .credential-overlay {
  opacity: 1;
}

/* Slider arrows */
.cred-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 28px));
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red, #ff3841);
  border: none;
  color: #fff;
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 56, 65, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cred-arrow:hover {
  background: #c8000a;
  box-shadow: 0 6px 22px rgba(255, 56, 65, 0.5);
  transform: translateY(calc(-50% - 28px)) scale(1.1);
}
.cred-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.cred-prev { left: 0; }
.cred-next { right: 0; }

/* Dot indicators */
.cred-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}
.cred-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}
.cred-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 4px;
}

/* Responsive */
@media(max-width: 1024px) {
  .cred-slide {
    flex: 0 0 calc(50% - 14px); /* 2 visible */
  }
  .cred-prev { left: 0; }
  .cred-next { right: 0; }
}
@media(max-width: 640px) {
  .cred-slider-wrap {
    padding: 0 0 80px; /* no side padding on mobile; arrows go below */
  }
  .cred-slide {
    flex: 0 0 100%;
  }
  .credential-card {
    padding: 22px;
  }
  .cred-arrow {
    top: auto;
    bottom: 28px;
    transform: none;
  }
  .cred-arrow:hover {
    transform: scale(1.1);
  }
  .cred-prev { left: calc(50% - 56px); }
  .cred-next { right: calc(50% - 56px); }
  .cred-dots { bottom: 0; }
}

/* Lightbox Modal */
.cert-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 40, 0.95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cert-lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cert-lightbox.active .lightbox-content {
  transform: scale(1);
}
.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: var(--white);
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover {
  background: var(--red);
  transform: scale(1.1);
}

/* Responsive Media Queries */
@media(max-width: 1024px) {
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media(max-width: 640px) {
  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .credential-card {
    padding: 22px;
  }
}

/* ==========================================================================
   WHY CHOOSE US MOBILE SLIDER
   ========================================================================== */
@media (max-width: 767px) {
  #why .why-mobile-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  #why .feature-interactive-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 0 !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
  }
  
  #why .interactive-card {
    min-width: 100% !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    box-sizing: border-box;
    margin: 0 !important;
    box-shadow: none !important;
  }
  
  #why .why-mobile-controls {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 10px;
  }
  
  #why .why-mobile-prev, 
  #why .why-mobile-next {
    background: #111936;
    color: var(--white, #ffffff);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(17, 25, 54, 0.15);
  }
  
  #why .why-mobile-prev:active, 
  #why .why-mobile-next:active {
    transform: scale(0.92);
  }
  
  #why .why-mobile-prev:hover, 
  #why .why-mobile-next:hover {
    background: var(--red, #E63946);
  }
  
  #why .why-mobile-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  #why .why-mobile-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(17, 25, 54, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  #why .why-mobile-dot.active {
    background: var(--red, #E63946);
    transform: scale(1.2);
  }
}

@media (min-width: 768px) {
  #why .why-mobile-controls {
    display: none !important;
  }
}
