/* ==========================================================================
   MICROCHEM Analyticals Testing Laboratory LLP — homepage
   Palette carried over unchanged from the original design.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand greens (exact original values) */
  --g-900: #072714;
  --g-850: #082E17;
  --g-800: #0B3D1E;
  --g-750: #103F20;
  --g-600: #1F5A2A;
  --g-500: #1F7A2E;
  --g-400: #3E9F2F;
  --g-350: #4DAA30;
  --g-300: #5DBB33;
  --g-250: #7CC832;
  --g-200: #9BDC4A;
  --lime: #A9D57A;
  --lime-soft: #CFE8B4;
  --mint: #E7F1DC;
  --on-grad: #06250F;

  /* Surfaces */
  --canvas: #FBFAF6;
  --canvas-alt: #F3F1EA;
  --surface: #FFFFFF;
  --placeholder: #EEF0E8;

  /* Ink on light */
  --ink: #1B211C;
  --ink-2: #2B342D;
  --ink-3: #2E3A31;
  --ink-4: #3F4A42;
  --ink-5: #4C574E;
  --ink-6: #5A655C;

  /* Ink on dark */
  --d-1: #FFFFFF;
  --d-2: #E9F1E7;
  --d-3: #D4E3D1;
  --d-4: #D6E5D3;
  --d-5: #C7D6C4;
  --d-6: #9FB89C;

  /* Hairlines */
  --line: #E4E2DA;
  --line-2: #E1DFD6;
  --line-3: #DAD8CF;
  --line-4: #D6DCD2;
  --line-5: #C9CCC1;
  --line-soft: #ECEAE3;
  --line-card: #E6E4DC;
  --line-dark: rgba(255, 255, 255, .18);

  --danger: #A3341F;

  /* Gradients (unchanged) */
  --grad-text: linear-gradient(100deg, #9BDC4A 0%, #5DBB33 55%, #3E9F2F 100%);
  --grad-cta: linear-gradient(120deg, #7CC832, #4DAA30);

  /* Alpha derivatives of the brand green — shadows and tints only */
  --tint-04: rgba(11, 61, 30, .04);
  --tint-08: rgba(11, 61, 30, .08);
  --tint-12: rgba(11, 61, 30, .12);
  --tint-16: rgba(62, 159, 47, .16);
  --tint-28: rgba(62, 159, 47, .28);

  /* Elevation */
  --e-1: 0 1px 2px var(--tint-04), 0 0 0 1px var(--line-card);
  --e-2: 0 2px 6px -2px var(--tint-08), 0 0 0 1px var(--line-card);
  --e-3: 0 20px 44px -20px rgba(11, 61, 30, .30), 0 6px 14px -8px var(--tint-12);
  --e-header: 0 1px 0 var(--line), 0 8px 24px -18px rgba(11, 61, 30, .34);

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-pill: 999px;

  /* 8px spacing rhythm */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 40px; --s-8: 48px; --s-9: 64px; --s-10: 80px;

  /* Section rhythm */
  --sec-lg: clamp(80px, 9vw, 136px);
  --sec-md: clamp(72px, 7.5vw, 112px);
  --sec-sm: clamp(56px, 6vw, 88px);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;

  /* Type */
  --font-display: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: clamp(3.4rem, 5.6vw, 5.75rem);
  --fs-h2: clamp(2.25rem, 3.5vw, 3.75rem);
  --fs-h2-sm: clamp(2rem, 3vw, 3rem);
  --fs-h3: clamp(1.4rem, 1.9vw, 1.8rem);
  --fs-h4: clamp(1.18rem, 1.35vw, 1.35rem);
  --fs-lead: clamp(1.125rem, 1.25vw, 1.3rem);
  --fs-body: clamp(1.03rem, .52vw + .9rem, 1.14rem);
  --fs-sm: 1rem;
  --fs-xs: .9375rem;
  --fs-eyebrow: .8125rem;

  --lh-body: 1.65;
  --measure: 66ch;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 200ms;
  --t-mid: 260ms;
  --t-slow: 560ms;
  --t-enter: 640ms;
  --reveal-step: 80ms;   /* stagger between siblings, multiplied by --i */
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

h3, h4 { font-weight: 700; letter-spacing: -.018em; line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
address { font-style: normal; }

a { color: var(--g-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g-800); }

:focus-visible {
  outline: 2px solid var(--g-400);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
.sec-dark :focus-visible, .footer :focus-visible, .topbar :focus-visible {
  outline-color: var(--g-200);
}

::selection { background: var(--lime-soft); color: var(--g-800); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--s-4); top: -200px; z-index: 200;
  background: var(--g-800); color: #fff; padding: 12px 18px;
  border-radius: var(--r-sm); font-family: var(--font-display); font-weight: 700;
  text-decoration: none; transition: top var(--t-fast) var(--ease);
}
.skip-link:focus-visible { top: var(--s-3); color: #fff; }

/* ---------- 3. Layout primitives ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-md); }
.section--lg { padding-block: var(--sec-lg); }
.section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.sec-dark { background: var(--g-800); color: var(--d-1); }
.sec-white { background: var(--surface); border-top: 1px solid var(--line-card); }
.sec-alt { background: var(--canvas-alt); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--g-500);
  margin: 0 0 var(--s-4);
}
.eyebrow::before {
  content: ""; width: 30px; height: 1px; background: currentColor; flex: none;
}
.sec-dark .eyebrow { color: var(--lime); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-5);
  max-width: 44ch;
}

/* Section header: title left, supporting note right */
.sec-head {
  display: grid;
  gap: var(--s-5) clamp(40px, 6vw, 96px);
  align-items: end;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); }
}
.sec-head h2 { font-size: var(--fs-h2); color: var(--g-800); max-width: 15ch; }
.sec-head--rule {
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line-2);
}

.sectors-head h2,
.steps-head h2 { font-size: var(--fs-h2-sm); color: var(--g-800); }
.sectors-head h2 { max-width: 18ch; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding-inline: 24px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--g-800);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    filter var(--t-fast) var(--ease);
}
.btn .arw { transition: transform var(--t-fast) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-cta);
  color: var(--on-grad);
  box-shadow: 0 2px 8px -2px rgba(6, 37, 15, .35);
}
.btn--primary:hover {
  color: var(--on-grad);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px -12px rgba(6, 37, 15, .6);
}

.btn--solid { background: var(--g-800); color: #fff; }
.btn--solid:hover { background: var(--g-500); color: #fff; box-shadow: 0 12px 26px -14px var(--tint-28); }

.btn--ghost-dark {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
}
.btn--ghost-dark:hover {
  color: #fff;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px #fff;
}

.btn--outline {
  background: transparent;
  color: var(--g-800);
  box-shadow: inset 0 0 0 1px var(--g-800);
}
.btn--outline:hover { background: var(--g-800); color: #fff; }

.btn--sm { min-height: 46px; padding-inline: 18px; font-size: .95rem; }
.btn--block { width: 100%; }

/* Quiet text CTA with sliding rule */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  background: none;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--g-500);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.link-cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1.5px;
  background: currentColor;
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.link-cta .arw { transition: transform var(--t-fast) var(--ease); }
.link-cta:hover { color: var(--g-800); }
.link-cta:hover .arw { transform: translateX(4px); }

/* ---------- 5. Top strip + header ---------------------------------------- */
.topbar {
  background: var(--g-850);
  color: var(--d-4);
  font-size: .875rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: space-between;
  align-items: center;
  padding-block: 9px;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--lime); text-decoration: underline; }
.topbar__loc { display: flex; align-items: center; gap: 9px; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex: none; }
.topbar__call { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}
.header.is-stuck {
  background: rgba(251, 250, 246, .94);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: var(--e-header);
}
.header__bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand img { width: auto; }
.brand__mark { height: 44px; }
.brand__word { height: 29px; }
@media (max-width: 400px) { .brand__word { height: 25px; } .brand__mark { height: 38px; } }

.nav { display: none; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
@media (min-width: 1024px) { .nav { display: flex; } }

.nav__list { display: flex; gap: clamp(18px, 1.9vw, 30px); }
.nav__link {
  position: relative;
  display: block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--g-400);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
.nav__link:hover { color: var(--g-500); }
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__link[aria-current="true"] { color: var(--g-800); }

/* Mobile menu */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding-inline: 16px;
  border: 1px solid var(--line-5);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--g-800);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.menu-btn:hover { border-color: var(--g-400); background: var(--mint); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.menu-btn__icon { display: grid; gap: 4px; }
.menu-btn__icon i {
  display: block; width: 17px; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform var(--t-mid) var(--ease), opacity var(--t-fast) var(--ease);
}
.menu-btn[aria-expanded="true"] .menu-btn__icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--canvas);
  padding-block: var(--s-2) var(--s-6);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

.mobile-nav__link {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-mid) var(--ease);
}
.mobile-nav__link:hover { color: var(--g-500); padding-left: 6px; }
.mobile-nav .btn { margin-top: var(--s-5); }

/* ---------- 6. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--g-800);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(52px, 6.5vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  top: -22%; right: -8%;
  width: 60vw;
  max-width: 820px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, rgba(62, 159, 47, .22), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 49fr) minmax(0, 51fr);
    gap: clamp(40px, 4vw, 64px);
  }
}
.hero h1 {
  font-size: var(--fs-h1);
  line-height: .95;
  letter-spacing: -.04em;
}
.hero h1 .grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: clamp(24px, 2.6vw, 34px);
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--d-3);
}
.hero__cta {
  margin-top: clamp(30px, 3.2vw, 42px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__figure { position: relative; margin: 0; }
.hero__frame {
  position: absolute;
  top: -14px; right: -14px; bottom: 14px; left: 14px;
  border: 1px solid rgba(169, 213, 122, .42);
  border-radius: var(--r-md);
  pointer-events: none;
}
@media (max-width: 979px) { .hero__frame { display: none; } }
.hero__shot {
  position: relative;
  aspect-ratio: 8 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--g-750);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }

/* Equal-width grid columns made the gaps between the labels look uneven,
   because the labels differ in length. Laying them out as flex items sized
   to their content and distributing the leftover space evenly gives equal
   gaps instead. Below 900px they fit two or three to a row and pack left. */
.hero__sectors {
  margin-top: clamp(44px, 5.5vw, 76px);
  padding-block: 22px 26px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
@media (min-width: 900px) {
  .hero__sectors { justify-content: space-between; }
}
.hero__sector {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  color: var(--d-2);
}
.hero__sector span { font-size: .75rem; color: var(--lime); letter-spacing: .06em; }

/* ---------- 7. Priority services ----------------------------------------- */
.svc-grid {
  margin-top: clamp(44px, 5vw, 68px);
  display: grid;
  gap: clamp(24px, 2.6vw, 34px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--feature { grid-column: 1 / -1; }
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--e-1);
  overflow: hidden;
  transition:
    transform var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}
.svc:hover,
.svc:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--e-3), 0 0 0 1px var(--tint-16);
}

.svc__media {
  position: relative;
  overflow: hidden;
  background: var(--placeholder);
  aspect-ratio: 4 / 3;
}
.svc__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.svc:hover .svc__media img { transform: scale(1.035); }

.svc__num {
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  min-width: 58px;
  padding: 12px 16px;
  background: var(--g-800);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .04em;
  border-bottom-right-radius: var(--r-md);
}
.svc--feature .svc__num { background: var(--grad-cta); color: var(--on-grad); }

.svc__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 34px) clamp(20px, 2vw, 28px);
  border-top: 3px solid var(--g-400);
}
.svc__body h3 { font-size: var(--fs-h3); font-weight: 800; color: var(--g-800); }
.svc__body p { margin-top: 14px; color: var(--ink-4); max-width: 54ch; }
.svc__note { margin-top: 10px !important; font-size: var(--fs-xs); color: var(--ink-6); }
.svc__body .link-cta { margin-top: auto; padding-top: 22px; align-self: flex-start; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--g-600);
  background: var(--mint);
  padding: 6px 11px;
  border-radius: var(--r-xs);
}

/* Feature layout: media beside copy from 900px up */
@media (min-width: 900px) {
  .svc--feature { flex-direction: row; }
  .svc--feature .svc__media { flex: 0 0 44%; aspect-ratio: auto; }
  .svc--feature .svc__body {
    flex: 1;
    border-top: 0;
    border-left: 3px solid var(--g-400);
    justify-content: center;
    padding: clamp(32px, 3.4vw, 54px);
  }
  .svc--feature.svc--mirror { flex-direction: row-reverse; }
  .svc--feature.svc--mirror .svc__body { border-left: 0; border-right: 3px solid var(--g-400); }
  .svc--feature.svc--mirror .svc__num { left: auto; right: 0; border-radius: 0 0 0 var(--r-md); }
  .svc--feature .svc__body h3 { font-size: clamp(1.75rem, 2.3vw, 2.3rem); }
  .svc--feature .svc__body .link-cta { margin-top: 8px; }
}

/* ---------- 8. Parameter chips ------------------------------------------- */
.params { display: flex; flex-wrap: wrap; gap: 7px; align-content: flex-start; }
.param {
  font-size: .9rem;
  line-height: 1.3;
  padding: 5px 11px;
  border: 1px solid var(--line-4);
  border-radius: var(--r-pill);
  color: var(--ink-3);
  background: var(--canvas);
  transition: border-color var(--t-fast) var(--ease);
}
.param--soft { border-style: dashed; color: var(--ink-6); }

/* ---------- 9. Sectors --------------------------------------------------- */
.sector-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  gap: clamp(20px, 2.2vw, 30px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sector {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--e-1);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.sector:hover {
  transform: translateY(-5px);
  box-shadow: var(--e-3), 0 0 0 1px var(--tint-16);
}
.sector__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--placeholder); }
.sector__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.sector:hover .sector__media img { transform: scale(1.04); }
.sector__body {
  flex: 1;
  padding: clamp(22px, 2vw, 28px) clamp(22px, 2vw, 28px) clamp(26px, 2.2vw, 32px);
  border-top: 3px solid var(--g-400);
}
.sector__body h3 { font-size: var(--fs-h4); color: var(--ink); }
.sector__body p { margin-top: 10px; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-5); }

/* ---------- 10. Process timeline ----------------------------------------- */
.steps {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  gap: var(--s-7) clamp(28px, 3.4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 3.4vw, 56px); }
}

.step { position: relative; padding-left: 68px; }
@media (min-width: 860px) { .step { padding-left: 0; padding-top: 70px; } }

/* connector rail */
.step::before {
  content: "";
  position: absolute;
  left: 21px; top: 52px; bottom: -40px;
  width: 2px;
  background: var(--line-3);
  border-radius: 2px;
}
.step:last-child::before { display: none; }
@media (min-width: 860px) {
  .step::before {
    left: 52px; right: calc(-1 * clamp(28px, 3.4vw, 56px));
    top: 21px; bottom: auto;
    width: auto; height: 2px;
  }
}

.step__num {
  position: absolute;
  left: 0; top: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--canvas);
  color: var(--g-800);
  box-shadow: inset 0 0 0 2px var(--g-400);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  transition: background-color var(--t-mid) var(--ease), color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.step:hover .step__num { background: var(--g-800); color: #fff; box-shadow: inset 0 0 0 2px var(--g-800); }
.step h3 { font-size: var(--fs-h4); color: var(--ink); }
.step p { margin-top: 10px; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-5); max-width: 36ch; }

/* ---------- 11. Form card ------------------------------------------------ */
/* Form card */
.form-card {
  background: var(--canvas);
  color: var(--ink);
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .5);
}
.form-card h3 { font-size: 1.45rem; font-weight: 800; color: var(--g-800); }
.form-card__note { margin-top: 10px; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-5); }

.field-grid {
  margin-top: var(--s-6);
  display: grid;
  gap: 18px 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 540px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* min-width:0 stops a <select> from sizing itself to its widest option,
   which otherwise forces the whole grid wider than a 375px screen. */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; width: 100%; }
.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink-2);
}
.field .req { color: var(--g-500); }
.field input,
.field select,
.field textarea {
  min-height: 50px;
  padding: 0 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-5);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 112px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234C574E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--g-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--g-400);
  box-shadow: 0 0 0 3px var(--tint-16);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--danger); }
.field input[aria-invalid="true"]:focus,
.field select[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 52, 31, .18); }

.field__err {
  font-size: .875rem;
  line-height: 1.4;
  color: var(--danger);
}
.field__err:empty { display: none; }

.field--wide { grid-column: 1 / -1; }
.hint { font-size: .875rem; line-height: 1.45; color: var(--ink-6); }
.form-card .btn { margin-top: var(--s-5); }
.form-card__privacy { margin-top: 14px; font-size: .8125rem; line-height: 1.5; color: var(--ink-6); }

.form-status {
  margin-top: var(--s-4);
  padding: 13px 15px;
  background: var(--mint);
  border-left: 3px solid var(--g-400);
  border-radius: var(--r-xs);
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: #1F4A26;
}
.form-status:empty { display: none; }
.form-status--err { background: #FBEDE9; border-left-color: var(--danger); color: #7B2616; }

/* ---------- 13. Footer --------------------------------------------------- */
.footer { background: var(--g-900); color: var(--d-5); }
.footer__grid {
  display: grid;
  gap: var(--s-7) clamp(32px, 5vw, 80px);
  grid-template-columns: 1fr;
  padding-block: clamp(52px, 6vw, 80px) var(--s-6);
}
@media (min-width: 680px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .footer__grid { grid-template-columns: 1.4fr .8fr 1.2fr; } }

.footer__logo {
  display: inline-block;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--r-sm);
}
.footer__logo img { width: 148px; height: auto; }
.footer__about { margin-top: var(--s-5); max-width: 34ch; font-size: var(--fs-xs); line-height: 1.6; }
.footer__title {
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime);
  margin-bottom: var(--s-4);
}
.footer__links { display: grid; gap: 11px; font-size: var(--fs-xs); }
.footer__links a {
  color: var(--d-2); text-decoration: none; justify-self: start;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-mid) var(--ease);
}
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer address { font-size: var(--fs-xs); line-height: 1.6; }
.footer__contact { margin-top: 14px; display: grid; gap: 9px; font-size: var(--fs-xs); }
.footer__contact a {
  color: #fff; text-decoration: none; justify-self: start;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: border-color var(--t-fast) var(--ease);
}
.footer__contact a:hover { color: #fff; border-bottom-color: var(--lime); }

.footer__slogan {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-xs);
  color: var(--lime);
}

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 10px 32px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .875rem;
  color: var(--d-6);
}

/* Agency credit, right-hand side of the bottom strip */
.footer__credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  line-height: 1.5;
}
.footer__credit a {
  color: var(--d-5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.footer__credit a:hover { color: #fff; border-bottom-color: var(--lime); }
.footer__sep { color: rgba(255, 255, 255, .22); }

@media (max-width: 860px) {
  .footer__bottom { justify-content: flex-start; }
}

/* ---------- 14. Mobile quick-contact bar --------------------------------- */
.quickbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-5);
  border-top: 1px solid var(--line-5);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1024px) { .quickbar, .quickbar-spacer { display: none; } }
.quickbar a {
  display: flex; align-items: center; justify-content: center;
  min-height: 56px;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  text-decoration: none;
}
.quickbar__call { background: var(--canvas); color: var(--g-800); }
.quickbar__call:hover { background: var(--mint); color: var(--g-800); }
.quickbar__wa { background: var(--g-800); color: #fff; }
.quickbar__wa:hover { background: var(--g-500); color: #fff; }
.quickbar-spacer { height: 70px; }

/* ---------- 15. Inner-page chrome ---------------------------------------- */

/* anchor targets must clear the sticky header */
.section[id], .svc-detail[id], .cat[id], .sector-row[id], .stage[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

body.menu-open { overflow: hidden; }

/* Page intro — varies by page, shares the identity */
.page-hero {
  position: relative;
  background: var(--g-800);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -6%;
  width: 52vw; max-width: 720px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 50%, rgba(62, 159, 47, .20), transparent 64%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: 17ch;
}
.page-hero--narrow h1 { max-width: 20ch; }
.page-hero__lead {
  margin-top: clamp(20px, 2.2vw, 30px);
  max-width: 62ch;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--d-3);
}
.page-hero__lead strong { color: #fff; font-weight: 700; }
.page-hero__cta { margin-top: clamp(26px, 3vw, 38px); display: flex; flex-wrap: wrap; gap: 14px; }

.page-hero__grid { display: grid; gap: clamp(36px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); align-items: start; }
}
.page-hero__aside {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.2vw, 28px);
  background: rgba(255, 255, 255, .04);
}
.page-hero__asideTitle {
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime);
  margin-bottom: 14px;
}
.jump { display: grid; gap: 2px; counter-reset: none; }
.jump a {
  display: block;
  padding: 8px 0;
  color: var(--d-2);
  font-size: var(--fs-xs);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-mid) var(--ease);
}
.jump a:hover { color: #fff; padding-left: 5px; }
.jump > li:last-child a { border-bottom: 0; }
.jump__sub a { padding-left: 16px; color: var(--d-3); font-size: .9rem; }
.jump__sub a::before { content: "— "; color: var(--lime); }
.jump__sub a:hover { padding-left: 21px; }

.sec-foot { margin-top: clamp(28px, 3vw, 40px); }

/* Compact category index (Home) */
.index-list {
  margin-top: clamp(36px, 4vw, 52px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-3);
}
@media (min-width: 860px) {
  .index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); }
}
.index-item { border-bottom: 1px solid var(--line); }
.index-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 10px 20px 2px;
  text-decoration: none;
  color: inherit;
  transition: padding-left var(--t-mid) var(--ease);
}
.index-item a:hover { padding-left: 10px; }
.index-item__mark {
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 800; letter-spacing: .08em;
  color: var(--g-400);
  flex: none;
}
.index-item__text { flex: 1; min-width: 0; }
.index-item__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.index-item__sub { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--ink-5); }
.index-item .arw { color: var(--g-500); transition: transform var(--t-fast) var(--ease); }
.index-item a:hover .arw { transform: translateX(4px); }

/* Sector card as a link (Home) */
.sector--link h3 a {
  color: inherit;
  text-decoration: none;
}
.sector--link h3 a:hover { color: var(--g-500); }
.sector__hit { position: absolute; inset: 0; }
.sector--link { position: relative; }

/* Four-stage preview row */
@media (min-width: 1040px) {
  .steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 860px) and (max-width: 1039px) {
  .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-8); }
  .steps--four .step:nth-child(2)::before { display: none; }
}

/* Closing CTA band */
.cta-band__inner { display: grid; gap: clamp(36px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 940px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); }
}
.cta-band h2 { font-size: var(--fs-h2); letter-spacing: -.035em; }
.cta-band__lead { margin-top: var(--s-5); max-width: 42ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--d-3); }
.cta-band__actions { margin-top: clamp(26px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band__facts { display: grid; gap: 20px; }
.cta-band__facts > div { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.cta-band__facts dt {
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lime);
}
.cta-band__facts dd { margin-top: 8px; font-size: 1.03rem; line-height: 1.55; color: var(--d-2); }
.cta-band__facts a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.cta-band__facts a:hover { color: #fff; border-bottom-color: var(--lime); }

/* Two contact numbers side by side, stacking when there is no room. */
.phone-list { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- 16. Testing Services page ------------------------------------ */
.svc-detail-list { margin-top: clamp(44px, 5vw, 68px); display: grid; gap: clamp(32px, 4vw, 56px); }

.svc-detail {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--e-1);
  transition: box-shadow var(--t-mid) var(--ease);
}
.svc-detail:hover { box-shadow: var(--e-3), 0 0 0 1px var(--tint-16); }
@media (min-width: 900px) {
  .svc-detail { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
  .svc-detail--mirror .svc-detail__media { order: 2; }
}
.svc-detail__media { overflow: hidden; background: var(--placeholder); min-height: 260px; }
.svc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__body {
  padding: clamp(26px, 3vw, 48px);
  border-top: 3px solid var(--g-400);
}
@media (min-width: 900px) {
  .svc-detail__body { border-top: 0; border-left: 3px solid var(--g-400); }
  .svc-detail--mirror .svc-detail__body { border-left: 0; border-right: 3px solid var(--g-400); }
}
.svc-detail__num {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g-500);
  margin-bottom: 14px;
}
.svc-detail__num span {
  display: grid; place-items: center;
  min-width: 30px; padding: 3px 7px;
  background: var(--mint); color: var(--g-600);
  border-radius: var(--r-xs);
  font-size: .8125rem; letter-spacing: .04em;
}
.svc-detail h3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); font-weight: 800; color: var(--g-800); }
.svc-detail__lead { margin-top: 14px; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-4); max-width: 60ch; }
.svc-detail .tags { margin-top: 14px; }
.svc-detail .btn { margin-top: clamp(24px, 2.6vw, 32px); }

.facts { margin-top: clamp(22px, 2.4vw, 30px); display: grid; gap: 18px; }
.facts > div { border-top: 1px solid var(--line-3); padding-top: 14px; }
.facts dt {
  font-family: var(--font-display);
  font-weight: 700; font-size: .9rem;
  color: var(--ink-2);
  margin-bottom: 5px;
}
.facts dd { font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-5); max-width: 66ch; }
.facts__note { border-top-color: var(--g-400) !important; }
.facts__note dt { color: var(--g-600); }

/* Category grid */
.cat-grid {
  margin-top: clamp(40px, 4.5vw, 60px);
  display: grid;
  gap: clamp(20px, 2.2vw, 28px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 820px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cat {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--e-1);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.cat:hover, .cat:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--e-3), 0 0 0 1px var(--tint-16);
}
.cat__head { display: flex; gap: 14px; }
.cat__mark {
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 800; letter-spacing: .08em;
  color: var(--g-400);
  padding-top: 4px;
}
.cat h3 { font-size: var(--fs-h4); color: var(--ink); }
.cat__summary { margin-top: 6px; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-5); }
.cat__body { display: flex; flex-direction: column; flex: 1; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-3); }
.cat__detail { font-size: var(--fs-xs); line-height: 1.6; color: var(--ink-5); }
.cat .params { margin-top: 16px; }
.cat .param { background: var(--surface); }
.cat .link-cta { margin-top: auto; padding-top: 20px; align-self: flex-start; }

/* Shared closing prompt */
.prompt { max-width: 760px; }
.prompt h2 { font-size: var(--fs-h2-sm); color: var(--g-800); }
.prompt .lead { margin-top: var(--s-5); max-width: 62ch; }
.prompt__actions { margin-top: clamp(26px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 14px; }
.prompt--dark h2 { color: #fff; }
.prompt--dark .lead { color: var(--d-3); }

/* ---------- 17. Who We Serve page ---------------------------------------- */
.chips { margin-top: clamp(26px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--d-2);
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.chip:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

.sector-rows { display: grid; gap: clamp(56px, 7vw, 104px); }
.sector-row { display: grid; gap: clamp(28px, 3.5vw, 60px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) {
  .sector-row { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  .sector-row--mirror .sector-row__media { order: 2; }
}
.sector-row__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--placeholder);
  box-shadow: var(--e-2);
}
.sector-row__media img { width: 100%; height: 100%; object-fit: cover; }
.sector-row__index {
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 800; letter-spacing: .14em;
  color: var(--g-400);
  margin-bottom: 10px;
}
.sector-row h2 { font-size: var(--fs-h2-sm); color: var(--g-800); max-width: 16ch; }
.sector-row__need { margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-4); max-width: 54ch; }
.sector-row__label {
  margin-top: clamp(22px, 2.4vw, 30px);
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g-500);
}
.sector-row .btn { margin-top: clamp(22px, 2.4vw, 30px); }

.ticks { margin-top: 12px; display: grid; gap: 9px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-5);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: .55em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--g-400);
  border-bottom: 2px solid var(--g-400);
  transform: rotate(-45deg);
}

.callout {
  margin-top: clamp(20px, 2.2vw, 26px);
  padding: 14px 16px;
  background: var(--mint);
  border-left: 3px solid var(--g-400);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: #1F4A26;
  max-width: 60ch;
}

/* ---------- 18. Our Approach page ---------------------------------------- */
.stages { display: grid; gap: clamp(36px, 4vw, 56px); }
.stage { position: relative; display: grid; gap: 18px clamp(24px, 3vw, 44px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) {
  .stage { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
}
.stage__marker {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--canvas);
  box-shadow: inset 0 0 0 2px var(--g-400);
  transition: background-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.stage__marker span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--g-800);
  transition: color var(--t-mid) var(--ease);
}
.stage:hover .stage__marker { background: var(--g-800); box-shadow: inset 0 0 0 2px var(--g-800); }
.stage:hover .stage__marker span { color: #fff; }
.stage h2 { font-size: clamp(1.5rem, 2.1vw, 2rem); color: var(--g-800); max-width: 20ch; }
.stage__detail { margin-top: var(--s-4); font-size: var(--fs-body); line-height: 1.7; color: var(--ink-4); max-width: 68ch; }
.stage__you {
  margin-top: var(--s-5);
  padding-top: 14px;
  border-top: 1px solid var(--line-3);
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--ink-5);
  max-width: 60ch;
}
.stage__you span {
  display: block;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g-500);
  margin-bottom: 5px;
}

.bys { display: grid; gap: clamp(36px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .bys { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.bys__intro h2 { font-size: var(--fs-h2-sm); color: var(--g-800); }
.bys__intro .btn { margin-top: clamp(24px, 2.6vw, 32px); }
.bys__list { display: grid; gap: 0; border-top: 1px solid var(--line-3); }
.bys__list li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-4);
}
.bys__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 1.45em;
  width: 10px; height: 2px;
  background: var(--g-400);
}

/* ---------- 19. Contact page --------------------------------------------- */
.contact-grid { display: grid; gap: clamp(36px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.contact-cards { display: grid; gap: clamp(20px, 2.2vw, 28px); }
.contact-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: var(--e-1);
}
.contact-card__label {
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--g-500);
}
.contact-card__value {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  letter-spacing: -.02em;
  color: var(--g-800);
}
.contact-card__value a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--mint); }
.contact-card__value a:hover { border-bottom-color: var(--g-400); }
.contact-card__address { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; font-weight: 600; }

/* The two contact numbers, one per line, with a marker on the WhatsApp one. */
.phone-stack { margin-top: 10px; display: grid; gap: 6px; }
.phone-stack li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.phone-stack .contact-card__value { margin-top: 0; }
.pill {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--g-600);
  background: var(--mint);
  padding: 4px 9px;
  border-radius: var(--r-xs);
}
.contact-card__note { margin-top: 12px; font-size: var(--fs-xs); line-height: 1.6; color: var(--ink-5); max-width: 56ch; }
.contact-card__actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 26px; }

.contact-aside { display: grid; gap: clamp(20px, 2.2vw, 28px); }
.contact-aside__card {
  background: var(--g-800);
  color: #fff;
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 34px);
}
.contact-aside__card h2 { font-size: 1.5rem; color: #fff; margin-top: 4px; }
.contact-aside__card p { margin-top: 12px; font-size: var(--fs-xs); line-height: 1.6; color: var(--d-3); }
.contact-aside__card .btn { margin-top: var(--s-5); }
.contact-aside__note {
  border: 1px solid var(--line-card);
  border-left: 3px solid var(--g-400);
  border-radius: var(--r-xs);
  padding: 20px 22px;
  background: var(--surface);
}
.contact-aside__note h3 { font-size: 1.05rem; color: var(--ink); }
.contact-aside__note p { margin-top: 8px; font-size: var(--fs-xs); line-height: 1.6; color: var(--ink-5); }

.form-section { display: grid; gap: clamp(36px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .form-section { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.form-section__intro h2 { font-size: var(--fs-h2-sm); color: var(--g-800); }
.form-section__intro .hint { margin-top: var(--s-4); display: block; }
.form-section .form-card { background: var(--canvas); box-shadow: var(--e-2); }

/* ---------- 20. Request Testing page ------------------------------------- */
.request-grid { display: grid; gap: clamp(36px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1000px) { .request-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }

.form-card--lg { background: var(--surface); box-shadow: var(--e-2); }
.form-card--lg h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 800; color: var(--g-800); }

.opt { font-weight: 500; color: var(--ink-6); }
.hint--ok { color: var(--g-500); }
.hint--ok:empty { display: none; }

.field--consent { margin-top: var(--s-5); }
.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
  font-size: var(--fs-xs) !important;
  line-height: 1.55;
  color: var(--ink-4) !important;
  cursor: pointer;
  padding: 14px 16px;
  border: 1px solid var(--line-5);
  border-radius: var(--r-sm);
  background: var(--canvas);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.check:hover { border-color: var(--g-400); }
.check input {
  width: 20px; height: 20px;
  min-height: 0;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--g-500);
  cursor: pointer;
}
.check input[aria-invalid="true"] { outline: 2px solid var(--danger); outline-offset: 2px; }

.request-aside { display: grid; gap: clamp(18px, 2vw, 24px); }
.request-aside__card {
  background: var(--g-800);
  color: #fff;
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 32px);
}
.request-aside__card h2 { font-size: 1.3rem; color: #fff; }
.request-aside__foot {
  margin-top: var(--s-5);
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: .85rem;
  line-height: 1.6;
  color: var(--d-3);
}
.mini-steps { margin-top: var(--s-5); display: grid; gap: 18px; }
.mini-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
.mini-steps li > span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--lime);
  padding-top: 2px;
}
.mini-steps strong { display: block; font-family: var(--font-display); font-size: .98rem; color: #fff; }
.mini-steps p { margin-top: 5px; font-size: .85rem; line-height: 1.55; color: var(--d-3); }

.request-aside__warn {
  border: 1px solid var(--line-card);
  border-left: 3px solid var(--danger);
  border-radius: var(--r-xs);
  padding: 18px 20px;
  background: var(--surface);
}
.request-aside__warn h3 { font-size: 1rem; color: var(--ink); }
.request-aside__warn p { margin-top: 8px; font-size: var(--fs-xs); line-height: 1.6; color: var(--ink-5); }

.request-aside__alt { padding: 4px 2px; }
.request-aside__alt h3 { font-size: 1rem; color: var(--ink); }
.request-aside__alt p { margin-top: 8px; font-size: var(--fs-xs); line-height: 1.6; color: var(--ink-5); }

/* ---------- 21. 404 ------------------------------------------------------- */
.notfound__inner { max-width: 680px; }
.notfound__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound h1 { margin-top: var(--s-4); font-size: var(--fs-h2-sm); color: var(--g-800); }
.notfound .lead { margin-top: var(--s-5); }
.notfound__actions { margin-top: clamp(28px, 3vw, 38px); display: flex; flex-wrap: wrap; gap: 14px; }
.notfound__nav { margin-top: clamp(40px, 5vw, 60px); padding-top: var(--s-6); border-top: 1px solid var(--line-2); }
.notfound__nav .footer__title { color: var(--g-500); }
.notfound__nav ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.notfound__nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--line-4);
}
.notfound__nav a:hover { color: var(--g-500); border-bottom-color: var(--g-400); }

/* ---------- 22. Scroll reveal -------------------------------------------- */
/* Scroll reveal — fires once, when the element comes into view. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--reveal-step));
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Set by the inline fallback when main.js never arrived — without this the
   observer would never run and the content below the fold would stay hidden. */
.js.no-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Entrance — for above-the-fold content, which is already in view at load.
   Driven by `is-ready` on <html> rather than by the observer. */
.js [data-enter] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--t-enter) var(--ease),
    transform var(--t-enter) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js.is-ready [data-enter] { opacity: 1; transform: none; }

/* The hero photo is the LCP element. Largest Contentful Paint is not recorded
   until the element is actually visible, so fading it in would push LCP out by
   the length of the animation. This one rises on transform alone and stays
   fully opaque throughout. */
.js [data-enter-lift] {
  transform: translateY(18px);
  transition: transform 760ms var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js.is-ready [data-enter-lift] { transform: none; }

/* ---------- 16. Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal],
  .js [data-enter],
  .js [data-enter-lift] { opacity: 1; transform: none; }
  .btn:hover, .svc:hover, .svc:focus-within, .sector:hover, .cat:hover { transform: none; }
  .svc:hover .svc__media img, .sector:hover .sector__media img { transform: none; }
}
