/* ==========================================================================
   Aristar Supply Chain Advisors — Design System
   Palette extracted from the Aristar logo (navy + rising-arrow blue).
   ========================================================================== */

:root {
  /* Brand — navy */
  --navy-900: #0A1E39;
  --navy-800: #0F2A4E;   /* primary brand navy (the "A") */
  --navy-700: #16375F;
  --navy-600: #1E4676;

  /* Brand — blue (the arrow / bars) */
  --blue-600: #2E71C4;
  --blue-500: #3E86D4;
  --blue-400: #4F9BE0;   /* arrow */
  --blue-300: #79B4EC;   /* arrow tip */
  --blue-200: #A9D0F5;

  /* Neutrals */
  --ink: #0F1B2D;
  --slate-700: #33445C;
  --slate-500: #5B6675;  /* logo subtitle gray */
  --slate-400: #8590A0;
  --line: #E4EAF1;
  --line-strong: #D2DBE6;

  /* Surfaces */
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-tint: #EAF2FB;
  --bg-navy: var(--navy-800);

  /* Semantic */
  --text-strong: var(--ink);
  --text-body: var(--slate-700);
  --text-muted: var(--slate-500);
  --accent: var(--blue-500);

  /* Gradients */
  --grad-navy: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  --grad-arrow: linear-gradient(90deg, var(--blue-600) 0%, var(--blue-400) 55%, var(--blue-300) 100%);
  --grad-arrow-v: linear-gradient(200deg, var(--blue-300) 0%, var(--blue-500) 100%);

  /* Type */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 44px;
  --space-6: 52px;
  --space-7: 68px;
  --space-8: 96px;

  /* Radius + shadow */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 78, 0.06);
  --shadow: 0 12px 32px rgba(15, 42, 78, 0.10);
  --shadow-lg: 0 28px 60px rgba(10, 30, 57, 0.18);

  --container: 1200px;
  --header-h: 76px;
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* Anchor jumps scroll past the section's own top padding so the heading lands
   just under the header, rather than a full section-padding lower down. The
   empty padding tucks behind the sticky header; the visual gap between
   sections while scrolling normally is unchanged. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px - var(--space-7));
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-strong); line-height: 1.1; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ----------------------------- Utilities -------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-arrow); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.section-head { max-width: 680px; }
/* Roomier measure for sections with longer body copy, so the text isn't
   boxed in to the width of the artwork beneath it. */
.section-head--wide { max-width: 940px; }
.section-head--wide .section-intro { line-height: 1.7; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.6rem, 3.1vw, 2.3rem); }
.section-intro { margin-top: 16px; font-size: 1rem; color: var(--text-muted); }
/* Lead-in line that sits between the title and the body copy */
.section-subtitle {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.42;
  letter-spacing: -0.01em; color: var(--navy-700);
}
.section-subtitle + .section-intro { margin-top: 12px; }
.section--navy .section-subtitle { color: var(--blue-200); }
.text-blue { color: var(--blue-500); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.btn--primary { background: var(--grad-arrow); color: #fff; box-shadow: 0 10px 24px rgba(46, 113, 196, 0.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(46, 113, 196, 0.42); }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }
.btn--on-navy { background: #fff; color: var(--navy-800); }
.btn--on-navy:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost-navy { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--ghost-navy:hover { border-color: #fff; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn .btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ------------------------------- Header --------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(15,42,78,0.08); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* max-width:100% from the global img rule would squash the logo against its
   fixed height when the header gets tight, so opt out of it explicitly. */
.brand__logo { height: 52px; width: auto; max-width: none; flex-shrink: 0; object-fit: contain; }
.brand__name { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-display); font-weight: 500; font-size: 0.89rem;
  color: var(--slate-700); padding: 10px 11px; border-radius: 10px;
  position: relative; transition: color .18s ease, background .18s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--navy-800); background: var(--bg-soft); }
.nav__link.is-active { color: var(--navy-800); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px;
  background: var(--grad-arrow); border-radius: 2px;
}
.header__cta { margin-left: 10px; }
.nav__cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-800); transition: .2s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ------------------------------- Hero ----------------------------------- */
.hero { position: relative; color: #fff; background: var(--grad-navy); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--navy-900) 18%, rgba(15,42,78,0.72) 60%, rgba(30,70,118,0.55) 100%); }
.hero__glow { position: absolute; z-index: 1; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .5; background: radial-gradient(circle, rgba(79,155,224,0.55), transparent 65%); top: -180px; right: -140px; pointer-events: none; }
/* Hero is tuned to fit within a single viewport height on a typical laptop. */
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-5); align-items: center; padding-block: clamp(36px, 4.5vw, 64px); }
.hero__eyebrow { color: var(--blue-300); }
.hero__eyebrow::before { background: var(--grad-arrow); }
.hero h1 { color: #fff; font-size: clamp(1.6rem, 2.95vw, 2.45rem); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .accent { background: var(--grad-arrow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 18px; font-size: 0.97rem; line-height: 1.55; color: rgba(233,242,251,0.86); max-width: 560px; }
.hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__logos { margin-top: 28px; }
.hero__logos-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(233,242,251,0.6); margin-bottom: 12px; }
.hero__logos-row { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); font-size: 0.9rem; color: rgba(233,242,251,0.92); font-family: var(--font-display); font-weight: 500; }
.pill-tag svg { width: 16px; height: 16px; color: var(--blue-300); }

/* Hero stat card (Netstock-inspired) */
.hero__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: #fff; font-size: 1.08rem; }
.hero__card p { margin-top: 8px; color: rgba(233,242,251,0.78); font-size: 0.98rem; }
.hero-stats { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-stat { background: rgba(255,255,255,0.9); color: var(--navy-800); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; background: var(--grad-arrow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat span { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--slate-500); line-height: 1.35; }
.hero__card-note { margin-top: 20px; display: flex; align-items: center; gap: 12px; color: rgba(233,242,251,0.85); font-size: 0.92rem; }
.hero__card-note svg { width: 22px; height: 22px; color: var(--blue-300); flex-shrink: 0; }

/* --------------------------- Metrics band ------------------------------- */
.metrics { background: var(--bg-soft); border-block: 1px solid var(--line); }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { text-align: center; padding: 10px; }
.metric b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--navy-800); letter-spacing: -0.03em; }
.metric span { display: block; margin-top: 6px; color: var(--text-muted); font-size: 0.95rem; }
.metric + .metric { border-left: 1px solid var(--line); }

/* ------------------------------ Expertise ------------------------------- */
.expertise__layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.expertise__media { position: relative; }
.expertise__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
/* Stacked product screenshots (Excellor) instead of a single photo */
.expertise__media--stack { display: grid; gap: 18px; margin: 0; }
.expertise__media--stack .shot {
  border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line-strong); background: #fff; width: 100%;
}
/* Single caption describing both screenshots; grid gap handles the spacing. */
.shot-caption { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--text-muted); text-align: center; }
.expertise__badge {
  position: absolute; left: -18px; bottom: -18px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 22px; display: flex; gap: 14px; align-items: center; max-width: 260px;
}
.expertise__badge b { font-family: var(--font-display); font-size: 1.7rem; color: var(--navy-800); }
.expertise__badge span { font-size: 0.82rem; color: var(--text-muted); }
.expertise__badge .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; color: var(--blue-600); flex-shrink: 0; }
.dimensions { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dimension { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.dimension:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--blue-200); }
.dimension .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-navy); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.dimension .ico svg { width: 22px; height: 22px; }
.dimension h3 { font-size: 1.02rem; }
.dimension p { margin-top: 6px; font-size: 0.88rem; color: var(--text-muted); }

/* --------------------------- Document download --------------------------- */
.doc-link {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 10px 18px 10px 12px;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.doc-link:hover { transform: translateY(-2px); border-color: var(--blue-400); box-shadow: var(--shadow); }
.doc-link:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.doc-link__ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--bg-tint); color: var(--blue-600); display: grid; place-items: center;
}
.doc-link__ico svg { width: 20px; height: 20px; }
.doc-link__text b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.94rem; color: var(--navy-800); }
.doc-link__text span { display: block; margin-top: 1px; font-size: 0.77rem; color: var(--text-muted); }
.doc-link__arrow { width: 16px; height: 16px; color: var(--blue-600); flex-shrink: 0; transition: transform .2s ease; }
.doc-link:hover .doc-link__arrow { transform: translateX(3px); }

/* ------------------------------ Offerings ------------------------------- */
.offer-grid { margin-top: var(--space-5); display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin-inline: auto; }
/* Offerings runs noticeably tighter and smaller than the other sections:
   it is a scan-and-move-on summary grid, not a section to linger in. */
/* Padding is smaller here than --space-7, so add back the difference or the
   anchor jump would tuck this heading under the header. */
#offerings { padding-block: 50px; scroll-margin-top: calc(var(--space-7) - 50px); }
#offerings .eyebrow { font-size: 0.72rem; margin-bottom: 10px; }
#offerings .section-title { font-size: clamp(1.1rem, 1.75vw, 1.42rem); }
#offerings .offer-grid { margin-top: 30px; max-width: 800px; gap: 20px; }
#offerings .offer-card__media { aspect-ratio: 16 / 7; }
#offerings .offer-card__tag { font-size: 0.64rem; padding: 5px 10px; }
#offerings .offer-card__body { padding: 15px 17px; }
#offerings .offer-card__body h3 { font-size: 0.96rem; }
#offerings .offer-card__body p { margin-top: 7px; font-size: 0.84rem; }
#offerings .link-arrow { margin-top: 13px; font-size: 0.84rem; }
#offerings .link-arrow svg { width: 14px; height: 14px; }
.offer-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.offer-card__media { aspect-ratio: 16 / 8; overflow: hidden; position: relative; }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.offer-card:hover .offer-card__media img { transform: scale(1.06); }
.offer-card__tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.92); color: var(--navy-800); font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); }
.offer-card__body { padding: 20px 22px; display: flex; flex-direction: column; flex: 1; }
.offer-card__body h3 { font-size: 1.06rem; }
.offer-card__body p { margin-top: 10px; font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.link-arrow { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--blue-600); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.offer-card:hover .link-arrow svg { transform: translateX(4px); }

/* ------------------------------ Excellor -------------------------------- */
.excellor { position: relative; color: #fff; background: var(--grad-navy); overflow: hidden; }
.excellor::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(700px circle at 85% 10%, rgba(79,155,224,0.28), transparent 55%),
  radial-gradient(600px circle at 5% 90%, rgba(46,113,196,0.22), transparent 55%); }
.excellor__inner { position: relative; z-index: 1; }
.excellor__top { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-6); align-items: center; }
.excellor .eyebrow { color: var(--blue-300); }
.excellor__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.excellor__wordmark {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3rem); letter-spacing: -0.025em; line-height: 1.05;
  background: var(--grad-arrow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.excellor__wordmark .dot { color: var(--blue-400); }
.excellor h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 6px; }
.excellor__lede { margin-top: 20px; font-size: 1.1rem; color: rgba(233,242,251,0.85); max-width: 540px; }
.excellor__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.excellor__media { position: relative; }
.excellor__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.1); }
.excellor__price { position: absolute; right: -14px; top: -14px; background: #fff; color: var(--navy-800); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg); text-align: center; }
.excellor__price b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.excellor__price span { font-size: 0.74rem; color: var(--slate-500); }
.excellor__features { margin-top: var(--space-6); display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 24px; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); border-color: rgba(121,180,236,0.5); }
.feature .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--grad-arrow); display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(46,113,196,0.35); }
.feature .ico svg { width: 24px; height: 24px; color: #fff; }
.feature h3 { color: #fff; font-size: 1rem; }
.feature p { margin-top: 8px; font-size: 0.86rem; color: rgba(233,242,251,0.75); }
.excellor__stats { margin-top: var(--space-5); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,0.14); }
.excellor__stat b { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--blue-300); display: block; letter-spacing: -0.02em; }
.excellor__stat span { color: rgba(233,242,251,0.78); font-size: 0.95rem; }

/* ------------------------ Service sections ------------------------------- */
/* Shared layout for Sales & Marketing / Inbound Logistics / Warehousing */
.service__layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.service--reverse .service__media { order: 2; }
.service__media { position: relative; }
.service__main { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.service__inset {
  position: absolute; left: -16px; bottom: -30px; width: 48%; min-width: 190px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 5px solid #fff; background: #fff;
}
.service__list { margin-top: 30px; display: grid; gap: 20px; }
.service__item { display: flex; gap: 16px; align-items: flex-start; }
.service__item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.service__item .ico svg { width: 22px; height: 22px; }
.service__item h3 { font-size: 1rem; }
.service__item p { margin-top: 5px; font-size: 0.9rem; color: var(--text-muted); }
.service__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Navy section wrapper (reusable dark band) */
.section--navy { position: relative; color: #fff; background: var(--grad-navy); overflow: hidden; }
.section--navy::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px circle at 85% 12%, rgba(79,155,224,0.26), transparent 55%),
              radial-gradient(600px circle at 5% 88%, rgba(46,113,196,0.20), transparent 55%);
}
.section--navy > .container { position: relative; z-index: 1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--blue-300); }
.section--navy .section-intro { color: rgba(233,242,251,0.85); }
.section--navy .service__item .ico { background: rgba(255,255,255,0.1); color: var(--blue-300); }
.section--navy .service__item p { color: rgba(233,242,251,0.78); }

/* Feature card grid (used on navy backgrounds) */
.feature-grid { margin-top: var(--space-5); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* 3-up variant of the offerings card grid */
.offer-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: none; }

/* Wide explanatory figure (e.g. inbound process diagram) */
.wide-figure { margin: var(--space-5) auto 0; max-width: 820px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.wide-figure img { width: 100%; display: block; }
.wide-figure figcaption { padding: 14px 20px; font-size: 0.88rem; color: var(--text-muted); text-align: center; border-top: 1px solid var(--line); }

/* Inbound / Outbound banner above the logistics flow diagram. The split matches
   where the diagram's blue tint gives way to green (start of the INVENTORY column). */
.flow-legend { display: grid; grid-template-columns: 53.3% 46.7%; }
.flow-legend span {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(0.82rem, 1.3vw, 1rem);
  letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center; padding: 13px 8px;
}
.flow-legend .is-inbound  { background: #DCE9F6; color: var(--blue-600); }
.flow-legend .is-outbound { background: #E3F0DA; color: #3F8C33; }

/* Image gallery row (navy sections) */
.gallery { margin-top: var(--space-5); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid rgba(255,255,255,0.14); }
.gallery figcaption { margin-top: 12px; font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; color: rgba(233,242,251,0.8); }

/* --------------------------- Testimonials -------------------------------- */
.testimonials__list { display: grid; gap: var(--space-7); }
.testimonial { position: relative; }
.testimonial + .testimonial { padding-top: var(--space-7); border-top: 1px solid var(--line); }
/* Alternate image to the right on the second testimonial */
.testimonial--reverse .impact__media { order: 2; }
.testimonial--reverse .impact__content { order: 1; }

/* ------------------------------- Impact --------------------------------- */
.impact__layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: var(--space-6); align-items: center; }
.impact__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.impact__quote { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; color: var(--navy-800); line-height: 1.28; letter-spacing: -0.02em; }
.impact__quote::before { content: "“"; color: var(--blue-300); font-size: 2.4em; line-height: 0; vertical-align: -0.35em; margin-right: 4px; }
.impact__meta { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.impact__meta .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-navy); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; }
.impact__meta b { display: block; color: var(--navy-800); font-family: var(--font-display); }
.impact__meta span { font-size: 0.88rem; color: var(--text-muted); }
.impact__result { margin-top: 26px; display: flex; gap: 32px; flex-wrap: wrap; }
.impact__result div b { font-family: var(--font-display); font-size: 1.8rem; color: var(--blue-600); display: block; }
.impact__result div span { font-size: 0.85rem; color: var(--text-muted); }

/* -------------------------------- About --------------------------------- */
.about { background: var(--bg-soft); }
.about__layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.about__media::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(15,42,78,0.06); }
.values { margin-top: 28px; display: grid; gap: 16px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value .ico { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--blue-600); flex-shrink: 0; }
.value h3 { font-size: 1.05rem; }
.value p { margin-top: 4px; font-size: 0.93rem; color: var(--text-muted); }
.about__stats { margin-top: 30px; display: flex; gap: 36px; flex-wrap: wrap; }
.about__stats div b { font-family: var(--font-display); font-size: 2rem; color: var(--navy-800); display: block; letter-spacing: -0.02em; }
.about__stats div span { font-size: 0.85rem; color: var(--text-muted); }

/* ------------------------------- Contact -------------------------------- */
.contact { position: relative; color: #fff; background: var(--grad-navy); overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(680px circle at 80% 20%, rgba(79,155,224,0.25), transparent 55%); }
.contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-6); align-items: center; }
.contact h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.contact__sub { margin-top: 18px; font-size: 1.02rem; color: rgba(233,242,251,0.85); max-width: 460px; }
.contact__card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(6px); }
.contact__row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact__row:last-child { border-bottom: none; }
.contact__row .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.1); display: grid; place-items: center; color: var(--blue-300); flex-shrink: 0; }
.contact__row .ico svg { width: 22px; height: 22px; }
.contact__row-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(233,242,251,0.6); }
.contact__row a, .contact__row p { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; margin-top: 2px; word-break: break-word; }
.contact__row a:hover { color: var(--blue-300); }

/* ------------------------------- Footer --------------------------------- */
.footer { background: var(--navy-900); color: rgba(233,242,251,0.7); padding-block: var(--space-6) var(--space-4); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-5); padding-bottom: var(--space-5); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand img { height: 46px; width: auto; max-width: none; object-fit: contain; margin-bottom: 16px; }
.footer__brand p { max-width: 320px; font-size: 0.95rem; }
.footer__col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: 0.95rem; transition: color .18s ease; }
.footer__col a:hover { color: var(--blue-300); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: var(--space-3); font-size: 0.85rem; flex-wrap: wrap; }
.footer__bottom a:hover { color: #fff; }

/* ------------------------- Scroll reveal anim --------------------------- */
/* Only hide when JS is available; without JS, everything stays visible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* --------------------------- Mobile nav panel --------------------------- */
.nav-backdrop { display: none; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero__card { max-width: 560px; }
  .excellor__top { grid-template-columns: 1fr; }
  .excellor__features { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise__layout, .impact__layout, .about__layout, .contact__inner { grid-template-columns: 1fr; }
  .expertise__media, .about__media { max-width: 620px; }
  .impact__media { max-width: 560px; order: 2; }
  /* Service sections stack: content first, media below */
  .service__layout { grid-template-columns: 1fr; }
  .service__layout .service__media { order: 2; max-width: 640px; }
  .feature-grid, .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .offer-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* Nav collapses to the menu button below this width; the 8-item bar needs
   roughly 960px of header room before it starts to crowd. */
@media (max-width: 1080px) {
  .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 16px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s ease; z-index: 40;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 16px; font-size: 1.05rem; }
  .nav__link.is-active::after { display: none; }
  .nav__cta { display: block; margin-top: 8px; }
  .nav__cta .btn { width: 100%; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .metric:nth-child(2n) { border-left: none; }
  .metric:nth-child(3) { border-left: none; }
}

@media (max-width: 640px) {
  .section { padding-block: var(--space-6); }
  .offer-grid { grid-template-columns: 1fr; }
  .excellor__features { grid-template-columns: 1fr; }
  .dimensions { grid-template-columns: 1fr; }
  .excellor__stats { grid-template-columns: 1fr; gap: 18px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-4); }
  .impact__result { gap: 24px; }
  .expertise__badge { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .feature-grid, .feature-grid--3 { grid-template-columns: 1fr; }
  .offer-grid--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  /* Inset image stacks under the main photo instead of overlapping */
  .service__inset { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 16px; border: none; box-shadow: var(--shadow); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
