/* ==========================================================================
   HCS Industrial Services Pvt Ltd — Design System
   Palette derived from the corporate shield mark:
   deep navy -> royal blue -> sky blue, chrome silver, safety amber accent
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand blues */
  --navy-950: #04101f;
  --navy-900: #071a30;
  --navy-800: #0a2440;
  --navy-700: #0e3059;
  --blue-700: #103f7d;
  --blue-600: #1450a3;
  --blue-500: #1d6ac9;
  --blue-400: #2c8de4;
  --sky-300: #6fc2f5;
  --sky-200: #a8dbff;

  /* Chrome / steel neutrals */
  --steel-050: #f5f8fc;
  --steel-100: #e9eff6;
  --steel-200: #d5e0ec;
  --steel-300: #b6c6d8;
  --slate-500: #667e99;
  --slate-600: #4c6480;
  --slate-700: #33475e;
  --ink: #0d1b2a;

  /* Accent — safety amber */
  --amber-500: #f2a128;
  --amber-600: #dd8a10;
  --amber-100: #fff2dc;

  /* Secondary — industrial teal (safety, compliance, trust) */
  --teal-700: #0b6f68;
  --teal-600: #0f8a80;
  --teal-500: #14a396;
  --teal-100: #d6efec;
  --teal-050: #eef8f6;

  /* Tertiary — earth rust (machinery, earthworks) */
  --rust-700: #93411f;
  --rust-600: #b04e2c;
  --rust-500: #c96038;
  --rust-100: #f8e2d8;

  /* Warm neutrals, to break up the cool greys */
  --sand-050: #fdf7ef;
  --sand-100: #f7ebda;

  /* Logo wordmark — sampled from the company logo */
  --logo-blue: #00a0e0;
  --logo-indigo: #39317f;

  /* Semantic */
  --bg: #ffffff;
  --bg-alt: var(--steel-050);
  --text: var(--slate-700);
  --heading: var(--navy-800);
  --line: var(--steel-200);
  --primary: var(--blue-600);

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--navy-900) 0%, var(--blue-700) 45%, var(--teal-600) 100%);
  --grad-shine: linear-gradient(135deg, var(--blue-500), var(--sky-300));
  --grad-warm: linear-gradient(120deg, var(--rust-700) 0%, var(--rust-500) 55%, var(--amber-500) 100%);
  --grad-deep: linear-gradient(150deg, var(--navy-950) 0%, var(--teal-700) 130%);
  --grad-chrome: linear-gradient(180deg, #ffffff 0%, var(--steel-200) 45%, #ffffff 55%, var(--steel-300) 100%);

  /* Type */
  --font-head: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-cond: "Barlow Condensed", "Barlow", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Space & shape */
  --container: 1200px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 36, 64, .06), 0 2px 8px rgba(10, 36, 64, .05);
  --shadow-md: 0 4px 12px rgba(10, 36, 64, .08), 0 12px 32px rgba(10, 36, 64, .08);
  --shadow-lg: 0 18px 48px rgba(6, 25, 47, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-400); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

::selection { background: var(--blue-400); color: #fff; }

:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 3. Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(2.8rem, 5vw, 4.5rem) 0; position: relative; }
.section--tight { padding: clamp(2rem, 3.4vw, 3rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--sand { background: var(--sand-050); }
.section--mint { background: var(--teal-050); }
.section--dark { background: var(--navy-900); color: rgba(233, 239, 246, .78); }
.section--deep { background: var(--grad-deep); color: rgba(233, 239, 246, .8); }
.section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--deep .eyebrow { color: #7fd8ce; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
/* media-led split: the illustration gets the wider column */
.grid--media-right { grid-template-columns: 1fr 1.2fr; }
.grid--media-left  { grid-template-columns: 1.2fr 1fr; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 50ch; }

/* ---------- 4. Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--amber-500);
}
.section--dark .eyebrow { color: var(--sky-300); }

.section-head { max-width: 720px; margin-bottom: clamp(1.7rem, 2.8vw, 2.5rem); }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .eyebrow::before { display: none; }
.section-head p { font-size: 1.06rem; color: var(--slate-600); margin-bottom: 0; }
.section--dark .section-head p { color: rgba(214, 228, 242, .8); }

.lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--slate-600); line-height: 1.68; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .55s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 80, 163, .28); color: var(--btn-fg); }
.btn:hover::after { left: 115%; }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--amber-500); --btn-fg: var(--navy-900); }
.btn--accent:hover { --btn-bg: var(--amber-600); box-shadow: 0 10px 24px rgba(221, 138, 16, .35); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .38);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue-600); border-color: var(--steel-300); }
.btn--outline:hover { border-color: var(--blue-500); background: var(--steel-050); box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue-600);
}
.arrow-link svg { transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-solid {
  background: #fff;
  box-shadow: 0 4px 24px rgba(10, 36, 64, .10);
  border-bottom-color: var(--steel-200);
}

/* Top utility strip */
.topbar {
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem;
  font-weight: 500;
  color: rgba(226, 238, 250, .92);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.topbar-list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar-list li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--amber-500); }
.topbar svg { width: 15px; height: 15px; stroke: var(--amber-500); flex: none; }
.topbar-tag { display: flex; align-items: center; gap: .5rem; letter-spacing: .06em; text-transform: uppercase; font-size: .74rem; font-family: var(--font-cond); font-weight: 600; color: var(--teal-100); }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .85rem; flex: none; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.is-solid .brand img { height: 50px; }
.is-solid .brand-name { font-size: 1.62rem; }
.is-solid .brand-sub { font-size: .8rem; }
.brand-text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -.005em;
  color: var(--logo-blue);
}
.brand-sub {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .005em;
  color: var(--logo-indigo);
  margin-top: .1rem;
}

.nav-list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a {
  position: relative;
  display: block;
  padding: .55rem .9rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--slate-700);
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .28rem;
  height: 2px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover { color: var(--blue-600); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--navy-800); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: .75rem; flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  background: var(--steel-050);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy-800);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-900);
  color: rgba(233, 239, 246, .84);
  padding: clamp(8.3rem, 12.3vw, 10rem) 0 clamp(3.2rem, 4.8vw, 4.3rem);
  overflow: hidden;
}
.hero::before {
  /* blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 194, 245, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 194, 245, .07) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 75% at 60% 35%, #000 25%, transparent 78%);
  z-index: -2;
}
.hero::after {
  /* brand glow */
  content: "";
  position: absolute;
  width: 900px; height: 900px;
  right: -18%; top: -38%;
  background: radial-gradient(circle, rgba(44, 141, 228, .30) 0%, rgba(20, 80, 163, .12) 42%, transparent 68%);
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .42rem 1rem .42rem .5rem;
  border: 1px solid rgba(111, 194, 245, .3);
  border-radius: 999px;
  background: rgba(20, 80, 163, .18);
  font-family: var(--font-cond);
  font-size: .88rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sky-200);
  margin-bottom: 1.1rem;
}
.hero-badge b {
  background: var(--amber-500);
  color: var(--navy-900);
  padding: .12rem .55rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .76rem;
  letter-spacing: .04em;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 3.9vw, 3.2rem);
  margin-bottom: .85rem;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--sky-300), var(--blue-400) 55%, var(--sky-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.12rem); color: rgba(214, 228, 242, .82); max-width: 62ch; margin-bottom: 1.35rem; }
.hero .btn-row { margin-bottom: 1.6rem; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.9rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-trust span { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: rgba(214, 228, 242, .72); }
.hero-trust svg { width: 17px; height: 17px; stroke: var(--sky-300); flex: none; }

/* Hero visual — isometric equipment/blueprint composition */
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .5)); }

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(111, 194, 245, .25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: 680px;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(20, 80, 163, .18) 0%, rgba(4, 16, 31, .10) 45%, rgba(4, 16, 31, .55) 100%);
  pointer-events: none;
}

.hero-float {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  border-radius: var(--radius-lg);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .8rem;
  animation: float 6s ease-in-out infinite;
}
.hero-float--a { left: -6%; bottom: 16%; }
.hero-float--b { right: -4%; top: 12%; animation-delay: -3s; }
.hero-float .hf-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--grad-shine);
  flex: none;
}
.hero-float .hf-icon svg { width: 20px; height: 20px; stroke: #fff; }
.hero-float b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy-800); line-height: 1.1; }
.hero-float small { font-size: .76rem; color: var(--slate-500); letter-spacing: .04em; text-transform: uppercase; font-family: var(--font-cond); font-weight: 600; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

/* ---------- 7b. Hero carousel ---------- */
.hero-carousel {
  position: relative;
  isolation: isolate;
  min-height: min(84vh, 726px);
  display: grid;
  overflow: hidden;
  background: var(--navy-950);
}
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

/* Only the background cross-fades. The copy has no exit transition, so it
   snaps away the moment a slide deactivates and can never overlap the
   incoming headline; on entry it staggers in. */
/* Only inactive slides start hidden. The active slide's copy is visible as its
   resting state, so it never depends on a transition completing to be readable. */
.hero-slide:not(.is-active) .hero-slide-inner > * { opacity: 0; transform: translateY(18px); }
.hero-slide.is-active .hero-slide-inner > * {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.hero-slide.is-active .hero-slide-inner > *:nth-child(1) { transition-delay: .10s; }
.hero-slide.is-active .hero-slide-inner > *:nth-child(2) { transition-delay: .18s; }
.hero-slide.is-active .hero-slide-inner > *:nth-child(3) { transition-delay: .26s; }
.hero-slide.is-active .hero-slide-inner > *:nth-child(4) { transition-delay: .34s; }

.hero-slide-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s linear;
}
.hero-slide.is-active .hero-slide-bg img { transform: scale(1); }
.hero-slide-bg::after {
  /* scrim: opaque behind the copy, clearing towards the image */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 31, .93) 0%, rgba(4, 16, 31, .80) 38%, rgba(4, 16, 31, .35) 70%, rgba(4, 16, 31, .55) 100%),
    linear-gradient(180deg, rgba(4, 16, 31, .55) 0%, transparent 30%, rgba(4, 16, 31, .5) 100%);
}

/* top padding must clear the fixed header (~118px) at every width */
.hero-slide-inner { padding: clamp(8.5rem, 11vw, 9.5rem) 0 clamp(4.5rem, 7vw, 6rem); max-width: 660px; }
.hero-slide .eyebrow { color: var(--amber-500); }
.hero-slide h1, .hero-slide .hero-title { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -.03em; margin-bottom: .8rem; }
.hero-slide h1 .accent, .hero-slide .hero-title .accent {
  background: linear-gradient(100deg, var(--sky-300), #7fd8ce 60%, var(--amber-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-slide p { color: rgba(224, 236, 248, .9); font-size: clamp(1rem, 1.4vw, 1.1rem); max-width: 54ch; margin-bottom: 1.5rem; }

/* controls */
.carousel-nav {
  position: absolute;
  left: 0; right: 0; bottom: clamp(1.2rem, 2.5vw, 2rem);
  z-index: 3;
}
.carousel-nav .container { display: flex; align-items: center; gap: 1rem; }
.carousel-dots { display: flex; gap: .55rem; }
.carousel-dot {
  width: 34px; height: 4px;
  border: 0; padding: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .32);
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
}
.carousel-dot[aria-selected="true"] { background: var(--amber-500); width: 52px; }
.carousel-arrows { display: flex; gap: .5rem; margin-left: auto; }
.carousel-arrow {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(4, 16, 31, .45);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.carousel-arrow:hover { background: var(--amber-500); border-color: transparent; color: var(--navy-900); transform: scale(1.06); }
.carousel-arrow svg { width: 18px; height: 18px; stroke: currentColor; }

/* ---------- 8. Stats bar ---------- */
.stats-bar { background: var(--bg); padding: clamp(1.6rem, 2.6vw, 2.2rem) 0; }
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stats-grid::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 100%;
  pointer-events: none;
}
.stat { padding: 1.22rem 1.6rem; text-align: center; border-left: 1px solid rgba(255, 255, 255, .13); position: relative; }
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 3.6vw, 2.8rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.03em;
  display: flex; align-items: baseline; justify-content: center; gap: .05em;
}
.stat-num .suffix { color: var(--amber-500); }
.stat-label {
  margin-top: .4rem;
  font-family: var(--font-cond);
  font-size: .9rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(214, 228, 242, .8);
}

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-shine);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--slate-600); font-size: .97rem; margin-bottom: 0; }

.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--steel-100);
  color: var(--blue-600);
  margin-bottom: 1.3rem;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; stroke: currentColor; }
.card:hover .card-icon { background: var(--grad-shine); color: #fff; transform: rotate(-6deg) scale(1.05); }

.card--teal .card-icon  { background: var(--teal-100);  color: var(--teal-700); }
.card--teal:hover .card-icon  { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); color: #fff; }
.card--teal::before  { background: linear-gradient(135deg, var(--teal-600), var(--teal-500)); }
.card--amber .card-icon { background: var(--amber-100); color: var(--amber-600); }
.card--amber:hover .card-icon { background: linear-gradient(135deg, var(--amber-600), var(--amber-500)); color: var(--navy-900); }
.card--amber::before { background: linear-gradient(135deg, var(--amber-600), var(--amber-500)); }
.card--rust .card-icon  { background: var(--rust-100);  color: var(--rust-600); }
.card--rust:hover .card-icon  { background: linear-gradient(135deg, var(--rust-700), var(--rust-500)); color: #fff; }
.card--rust::before  { background: linear-gradient(135deg, var(--rust-700), var(--rust-500)); }

.card--dark {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .1);
}
.card--dark p { color: rgba(214, 228, 242, .78); }
.card--dark .card-icon { background: rgba(111, 194, 245, .14); color: var(--sky-300); }
.card--dark:hover { background: rgba(255, 255, 255, .07); }

.card-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--steel-200);
  margin-bottom: .9rem;
  transition: color .35s var(--ease);
}
.card:hover .card-num { color: var(--blue-400); }

/* Service card with corner cut */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.2rem 1.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 110px; height: 110px;
  background: var(--steel-050);
  border-radius: 50%;
  transition: transform .45s var(--ease), background .45s var(--ease);
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::after { transform: scale(7); background: rgba(20, 80, 163, .035); }

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.tag-list li { margin: 0; }
.tag {
  display: inline-block;
  padding: .32rem .8rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--blue-700);
  background: var(--steel-100);
  border-radius: 999px;
  border: 1px solid var(--steel-200);
}

/* Feature list with checks */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; margin: 0; font-size: .98rem; }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: .22rem; stroke: var(--blue-500); }
.section--dark .check-list svg { stroke: var(--sky-300); }
.check-list--amber svg { stroke: var(--amber-500); }

/* ---------- 10. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-900);
  /* min must clear the fixed header (~118px) on narrow screens */
  padding: clamp(10.5rem, 15.3vw, 13.5rem) 0 clamp(4.75rem, 7.7vw, 6.5rem);
  overflow: hidden;
  color: rgba(214, 228, 242, .8);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(111, 194, 245, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 194, 245, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 10%, transparent 92%);
}
.page-hero::after {
  content: "";
  position: absolute; z-index: -2;
  width: 760px; height: 760px; right: -14%; top: -46%;
  background: radial-gradient(circle, rgba(44, 141, 228, .26), transparent 66%);
  border-radius: 50%;
}
/* photographic banner behind the inner page heroes */
.page-hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 31, .90) 0%, rgba(4, 16, 31, .68) 46%, rgba(4, 16, 31, .22) 100%),
    linear-gradient(180deg, rgba(4, 16, 31, .42) 0%, transparent 48%, rgba(4, 16, 31, .42) 100%);
}
/* the blueprint grid reads as noise over a photo, so soften it there */
.page-hero:has(.page-hero-bg)::before { opacity: .25; }
.page-hero:has(.page-hero-bg)::after { opacity: .35; }

.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 3.9vw, 3.2rem); margin-bottom: .7rem; text-shadow: 0 2px 18px rgba(4, 16, 31, .5); }
.page-hero p { max-width: 62ch; font-size: 1.04rem; margin-bottom: 0; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  list-style: none; padding: 0; margin: 0 0 1rem;
  font-family: var(--font-cond);
  font-size: .92rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.breadcrumb li { margin: 0; color: rgba(214, 228, 242, .55); }
.breadcrumb a { color: var(--sky-300); }
.breadcrumb li + li::before { content: "/"; margin-right: .55rem; color: rgba(214, 228, 242, .3); }

/* ---------- 11. Split / media panels ---------- */
.panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grad-brand);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  padding: 2.5rem;
}
.panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 40px 40px;
}
.panel svg { position: relative; width: 100%; height: auto; }

.panel-badge {
  align-self: flex-start;
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, .97);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  box-shadow: var(--shadow-md);
}
.panel-badge b { display: block; font-family: var(--font-head); color: var(--navy-800); font-size: 1.02rem; }
.panel-badge span { font-size: .85rem; color: var(--slate-500); }

/* Accent frame around a block */
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--steel-200);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.section--dark .framed::before { border-color: rgba(168, 219, 255, .22); }

/* ---------- 11b. Photographic media ---------- */
.media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-800);
  box-shadow: var(--shadow-md);
}
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.media--tall img { aspect-ratio: 4 / 5; }
.media--wide img { aspect-ratio: 16 / 9; }
.media--square img { aspect-ratio: 1 / 1; }
.media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(to top, rgba(4, 16, 31, .75), transparent);
  pointer-events: none;
}
.media figcaption {
  position: absolute;
  left: 1.1rem; right: 1.1rem; bottom: 1.1rem;
  z-index: 1;
  background: rgba(255, 255, 255, .96);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.media figcaption b { display: block; font-family: var(--font-head); color: var(--navy-800); font-size: 1.02rem; line-height: 1.25; }
.media figcaption span { font-size: .88rem; color: var(--slate-600); line-height: 1.5; }

/* Illustrations sit on a light card instead of a darkened photo */
.media--light {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.media--light::after { display: none; }
.media--light img { object-fit: contain; aspect-ratio: auto; }
/* these are fixed-resolution exports; capping at native keeps them crisp */
.media--map img { max-width: 700px; margin-inline: auto; }
.media--diagram img { max-width: 600px; margin-inline: auto; }
/* illustrations must stay fully visible, so the caption flows underneath */
.media--light figcaption {
  position: static;
  margin: 0 1rem 1rem;
  background: var(--steel-050);
  box-shadow: none;
}

/* Full-width illustrated strip */

/* ---------- 12. Timeline / process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; position: relative; }
.process::before {
  content: "";
  position: absolute;
  top: 30px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--steel-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-step .dot {
  width: 60px; height: 60px;
  margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--steel-200);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue-600);
  transition: all .35s var(--ease);
}
.process-step:hover .dot { background: var(--grad-shine); border-color: transparent; color: #fff; transform: scale(1.08); }
.process-step h4 { margin-bottom: .35rem; }
.process-step p { font-size: .93rem; color: var(--slate-600); margin: 0; }

/* ---------- 13. Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.client-tile {
  background: #fff;
  min-height: 172px;
  display: grid;
  place-items: center;
  padding: 1.4rem 1rem;
  text-align: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.client-tile:hover { background: var(--steel-050); }
/* every logo file is pre-composited onto the same 360x200 canvas, so a single
   width rule makes all nine render at identical size and share a baseline */
.client-tile > div { width: 100%; display: grid; justify-items: center; }
.client-tile img {
  width: 100%;
  max-width: 178px;
  height: auto;
  aspect-ratio: 360 / 200;
  object-fit: contain;
  transition: transform .3s var(--ease);
}
.client-tile:hover img { transform: scale(1.06); }

.client-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -.02em;
  color: var(--navy-800);
  line-height: 1.15;
  transition: color .3s var(--ease);
}
.client-tile:hover .client-name { color: var(--blue-600); }
.client-cat {
  display: block;
  margin-top: .3rem;
  font-family: var(--font-cond);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* Marquee logos */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scroll 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: var(--steel-300);
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.marquee-item:hover { color: var(--blue-500); }
.marquee-item img { width: 156px; height: auto; aspect-ratio: 360 / 200; object-fit: contain; border-radius: 4px; }
.marquee-track--logos { align-items: center; }
.marquee-track--logos { align-items: center; gap: 4rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- 14. Coverage / states ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
/* two-up state cards beside the map; the doubled class out-ranks the breakpoint
   rules for .coverage-grid and only drops to one column on very narrow phones */
.coverage-grid.coverage-grid--pair { grid-template-columns: repeat(2, 1fr); }

/* A card that runs the full width of its grid. "1 / -1" spans exactly the columns
   that exist at the current breakpoint. The old inline "span 3" made browsers
   invent extra columns on phones and tablets, crushing the neighbouring cards. */
.card--full { grid-column: 1 / -1; }
.state-card {
  position: relative;
  padding: 1.3rem 1.3rem 1.3rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.state-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--grad-shine);
}
.state-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.state-card b { display: block; font-family: var(--font-head); font-size: 1.12rem; color: var(--navy-800); }
.state-card span { font-family: var(--font-cond); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-500); }

/* ---------- 15. Leadership ---------- */
.leader-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.avatar {
  width: 76px; height: 76px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  position: relative;
}
.avatar::after {
  content: "";
  position: absolute; inset: -5px;
  border: 2px solid var(--steel-200);
  border-radius: 50%;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.leader-card:hover .avatar::after { border-color: var(--amber-500); transform: scale(1.06); }
.leader-card h4 { margin-bottom: .2rem; font-size: 1.06rem; }
.leader-role {
  font-family: var(--font-cond);
  font-size: .88rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-500);
  font-weight: 600;
}
.leader-since { display: block; margin-top: .5rem; font-size: .84rem; color: var(--slate-500); }

/* ---------- 16. Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
thead th {
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  padding: 1rem 1.3rem;
  white-space: nowrap;
}
tbody td { padding: .95rem 1.3rem; border-top: 1px solid var(--line); font-size: .97rem; }
tbody tr:nth-child(even) { background: var(--steel-050); }
tbody tr:hover { background: rgba(20, 80, 163, .05); }
tbody td:first-child { font-weight: 600; color: var(--navy-800); }
.mono { font-family: ui-monospace, "SFMono-Regular", "Consolas", monospace; font-size: .92rem; letter-spacing: -.01em; color: var(--blue-700); }

/* ---------- 17. Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none; border: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--navy-800);
  text-align: left;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.acc-trigger:hover { background: var(--steel-050); color: var(--blue-600); }
.acc-icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--steel-100); color: var(--blue-600); transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.acc-icon svg { width: 14px; height: 14px; stroke: currentColor; }
.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-panel > div { padding: 0 1.5rem 1.4rem; color: var(--slate-600); font-size: .98rem; }

/* ---------- 18. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }

.info-card {
  display: flex; gap: 1.1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--grad-shine);
  color: #fff;
}
.info-icon svg { width: 21px; height: 21px; stroke: currentColor; }
.info-card h4 { margin-bottom: .3rem; font-size: .84rem; font-family: var(--font-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--slate-500); font-weight: 600; }
.info-card p, .info-card a { margin: 0; font-size: 1rem; color: var(--navy-800); font-weight: 500; line-height: 1.55; display: block; }
.info-card a:hover { color: var(--blue-500); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy-800);
  margin-bottom: .45rem;
}
.field label .req { color: var(--amber-600); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .82rem 1rem;
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--ink);
  background: var(--steel-050);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(29, 106, 201, .14);
}
.field .error-msg { display: none; margin-top: .35rem; font-size: .85rem; color: #c0392b; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; background: #fff6f5; }
.field.has-error .error-msg { display: block; }
.form-note { font-size: .86rem; color: var(--slate-500); margin: 1rem 0 0; }
.form-status {
  display: none;
  margin-top: 1rem; padding: .9rem 1.1rem;
  border-radius: var(--radius);
  background: #eaf7ee;
  border: 1px solid #b7e4c7;
  color: #1e6b3a;
  font-size: .94rem;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fff4f2; border-color: #f2c4bc; color: #a1281b; }
#enquiry-form { position: relative; }
/* spam trap: invisible to people, filled in by bots */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#enquiry-form .btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- 19. CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--grad-brand);
  color: rgba(233, 239, 246, .85);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, .07) 45%, rgba(255, 255, 255, .07) 55%, transparent 55%);
  background-size: 46px 46px;
}
.cta-band h2 { color: #fff; }
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding: clamp(2.2rem, 3.4vw, 3rem) 0;
}
.cta-inner > div { max-width: 660px; }
.cta-inner p { margin-bottom: 0; font-size: 1rem; }
/* the band is a closing prompt, not a section header - keep it compact */
.cta-band .eyebrow { margin-bottom: .5rem; }
.cta-band h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); margin-bottom: .5rem; }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(182, 198, 216, .72); font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding: clamp(3.2rem, 6vw, 4.6rem) 0 3rem; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 34ch; font-size: .93rem; }
.footer-tagline {
  font-family: var(--font-cond);
  font-size: 1.05rem;
  letter-spacing: .05em;
  color: var(--amber-500);
  margin: -.7rem 0 1rem;
}
.footer h5 {
  font-family: var(--font-cond);
  font-size: 1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.2rem;
  font-weight: 600;
}
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-list li { margin: 0; }
.footer-list a { color: rgba(182, 198, 216, .78); font-size: .94rem; display: inline-flex; align-items: center; gap: .5rem; }
.footer-list a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-500); transition: background .25s var(--ease), transform .25s var(--ease); }
.footer-list a:hover { color: #fff; }
.footer-list a:hover::before { background: var(--amber-500); transform: scale(1.5); }
.footer-contact { display: grid; gap: 1rem; }
.footer-contact div { display: flex; gap: .8rem; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--sky-300); flex: none; margin-top: .3rem; }
.footer-contact a { color: rgba(182, 198, 216, .82); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .87rem;
  color: rgba(182, 198, 216, .55);
}
.footer-bottom nav { display: flex; gap: 1.4rem; }
.footer-bottom a { color: rgba(182, 198, 216, .62); }
.footer-bottom a:hover { color: #fff; }
.cin-chip {
  font-family: ui-monospace, "Consolas", monospace;
  font-size: .78rem;
  padding: .2rem .6rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 3px;
  color: rgba(182, 198, 216, .7);
}

/* ---------- 21. Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--amber-500); color: var(--navy-900); }
.to-top svg { width: 20px; height: 20px; stroke: currentColor; }

/* Floating WhatsApp / call */
.float-call {
  position: fixed;
  left: 1.4rem; bottom: 1.4rem;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .75rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy-800);
  z-index: 90;
}
.float-call:hover { color: var(--blue-600); transform: translateY(-2px); }
.float-call svg { width: 18px; height: 18px; stroke: var(--blue-500); }

/* ---------- 22. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

/* ---------- 23. Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--amber-500); color: var(--navy-900);
  padding: .7rem 1.4rem; font-weight: 600; border-radius: 0 0 var(--radius) var(--radius);
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; color: var(--navy-900); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* A long unbreakable string (the email address) must be allowed to wrap, or a
   phone widens the whole page to fit it. Flex text columns also need
   min-width:0, otherwise they refuse to shrink below that word. */
a[href^="mailto:"] { overflow-wrap: anywhere; }
.info-card > div,
.footer-contact div > span,
.footer-contact div > a { min-width: 0; }

/* ---------- 24. Responsive ---------- */
/* ---- content refresh (HCS Website Suggestions) ---- */
.section--deep .lead,
.section--deep .section-head p { color: rgba(214, 228, 242, .84); }
.section--deep .check-list svg { stroke: var(--amber-500); }

.card-kicker {
  display: block;
  font-family: var(--font-cond);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 1.2rem 0 .75rem;
}
.section--deep .card-kicker { color: #7fd8ce; }

.check-list--compact { gap: .55rem; }
.check-list--compact li { font-size: .94rem; line-height: 1.55; }
.check-list--compact svg { width: 18px; height: 18px; margin-top: .2rem; }
.check-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.8rem; }

.service-card .check-list { margin-bottom: 1.4rem; }

.point-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.point-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.point-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.point {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 500;
  font-size: .98rem;
  line-height: 1.5;
  color: var(--navy-800);
}
.point svg { width: 22px; height: 22px; flex: none; margin-top: .05rem; stroke: var(--blue-500); }
.section--deep .point { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: rgba(240, 245, 250, .94); }
.section--deep .point svg { stroke: var(--amber-500); }

.card .vm-statement { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.45; color: var(--navy-800); margin-bottom: .9rem; }
.statement-close { max-width: 820px; margin: 2.2rem auto 0; text-align: center; font-weight: 600; font-size: 1.08rem; color: var(--navy-800); }

.strap { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.strap li { margin: 0; padding: .5rem 1rem; border-radius: 999px; background: var(--steel-050); border: 1px solid var(--line); font-family: var(--font-cond); font-weight: 600; font-size: .92rem; letter-spacing: .03em; color: var(--navy-800); }

.h2--long { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.22; }
.card--tile { padding: 1.6rem 1.5rem; }
.card--tile .card-icon { margin-bottom: 1rem; }
.card--tile h3 { font-size: 1.08rem; margin: 0; }
.card--more { background: var(--steel-050); }

/* Side-by-side sections: the photo grows to the height of the copy beside it,
   so long text never sits next to a short picture. Desktop only - below 961px
   the columns stack and the photo keeps its 16:10 shape. */
@media (min-width: 961px) {
  .grid--split:has(> .framed) { align-items: stretch; }
  /* give the copy a little more width so these rows do not run as tall */
  .grid--media-right:has(> .framed) { grid-template-columns: 1.1fr 1fr; }
  .grid--media-left:has(> .framed) { grid-template-columns: 1fr 1.1fr; }
  .grid--split:has(> .framed) > :not(.framed) { align-self: center; }
  .grid--split > .framed { display: flex; flex-direction: column; }
  .grid--split > .framed > .media,
  .grid--split > .framed > .panel { flex: 1 1 auto; min-height: 420px; }
  .grid--split > .framed > .media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* ---- GeM tenders (home) ---- */
.gem-badge {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--navy-900);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gem-label {
  margin: 0 0 1.1rem;
  text-align: center;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7fd8ce;
}
.gem-note { max-width: 640px; margin: 2rem auto 0; text-align: center; font-size: 1.04rem; color: rgba(240, 245, 250, .92); }
.gem-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.gem-loc {
  margin: 0;
  flex: 0 1 158px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
  padding: 1.35rem 1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.gem-loc:hover { transform: translateY(-4px); border-color: rgba(242, 161, 40, .6); }
.gem-loc svg { width: 26px; height: 26px; stroke: var(--amber-500); margin-bottom: .3rem; }
.gem-loc b { font-family: var(--font-head); font-size: 1.06rem; line-height: 1.25; color: #fff; }
.gem-loc span { font-family: var(--font-cond); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(214, 228, 242, .72); }
/* all seven on one line on desktop; centred 4 + 3 on tablets; pairs on phones */
@media (min-width: 1081px) {
  .gem-grid { flex-wrap: nowrap; }
  .gem-loc { flex: 1 1 0; }
}
@media (min-width: 621px) and (max-width: 1080px) {
  .gem-loc { flex-basis: calc(25% - .75rem); }
}
@media (max-width: 620px) {
  .gem-loc { flex-basis: calc(50% - .5rem); }
}

/* the full menu stops fitting beside the logo below ~1140px, so switch to the drawer here
   rather than at 960px - otherwise labels wrap and the quote button runs off-screen */
@media (max-width: 1140px) {
  .nav-list {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6.5rem 1.5rem 2rem;
    background: #fff;
    height: 100dvh;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s var(--ease);
    overflow-y: auto;
  }
  .nav-list.is-open { transform: translateX(0); visibility: visible; }
  .nav-list a { padding: 1rem .25rem; font-size: 1.16rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a::after { left: .25rem; right: auto; width: 30px; bottom: .6rem; }
  .nav-toggle { display: grid; position: relative; z-index: 110; }
}

@media (max-width: 1080px) {
  .point-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .point-grid, .point-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* an odd last card stretches across instead of sitting alone */
  .grid--3 > :last-child:nth-child(odd),
  .point-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .point-grid, .point-grid--2, .point-grid--4, .point-grid--5, .check-list--cols { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; margin-inline: auto; order: -1; }
  /* a tall portrait crop pushes the headline off-screen here, so go landscape */
  .hero-photo img { aspect-ratio: 16 / 10; max-height: 420px; }
  .hero-float--a { left: 0; }
  .hero-float--b { right: 0; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .client-tile img { max-width: 158px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .topbar .container { justify-content: center; }
  .topbar-tag { display: none; }
  .nav-cta .btn { display: none; }
  .grid--3, .grid--4, .process, .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .grid--split, .grid--media-right, .grid--media-left { grid-template-columns: 1fr; }
  .process::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .13); }
  .framed::before { display: none; }
  .float-call { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(100% - 2rem, var(--container)); }
  .grid--2, .grid--3, .grid--4, .process, .coverage-grid, .client-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.45rem; }
  .brand-sub { font-size: .7rem; }
  .brand img { height: 48px; }
  .topbar-list { gap: 1rem; font-size: .8rem; }
  .topbar-list li:not(:nth-child(2)) { display: none; }
  .hero-float { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .cta-inner .btn-row { width: 100%; }
  /* smaller and tucked into the corner so it covers less card text */
  .to-top { width: 40px; height: 40px; right: .75rem; bottom: .75rem; }
  .to-top svg { width: 18px; height: 18px; }
}

@media (max-width: 380px) {
  .coverage-grid.coverage-grid--pair { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 25. Print ---------- */
@media print {
  .site-header, .to-top, .float-call, .cta-band, .site-footer { display: none; }
  body { color: #000; font-size: 11pt; }
  .hero, .page-hero { background: #fff; color: #000; padding: 1rem 0; }
  .hero h1, .page-hero h1 { color: #000; }
}
