/* =====================================================================
   ASSUREX – Testing and Inspection India Private Limited
   Corporate website stylesheet
   ===================================================================== */

:root {
  --navy: #102A43;
  --navy-900: #0A1C2E;
  --navy-800: #13304D;
  --blue: #1769AA;
  --teal: #00A6A6;
  --teal-ink: #007C7D;      /* teal for text on light backgrounds (AA) */
  --teal-bright: #3CCFCF;   /* teal for text on dark backgrounds */
  --grey: #F3F6F8;
  --grey-2: #E8EEF2;
  --line: #DCE4EA;
  --white: #FFFFFF;
  --ink: #263238;
  --muted: #56646F;
  --muted-dark: #A9B8C6;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 6px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16.5px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--navy); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .65) 0; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: #D7E1EA; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

/* ---------- typographic helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--teal-bright); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); line-height: 1.7; }
.section--navy .lead { color: var(--muted-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head--split .lead { margin: 0; }
.section-head h2 { margin-bottom: 18px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .01em; border: 1.5px solid transparent; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--teal); color: var(--navy-900); }
.btn--accent:hover { background: #18BDBD; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--blue); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic, a:hover > .link-arrow .ic { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- sample/placeholder badge ---------- */
.sample-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 1px dashed #C9A227; background: #FFF9E6; color: #6B5306; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-radius: 3px; line-height: 1.3; vertical-align: middle; }
.sample-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C9A227; }
.section--navy .sample-badge, .on-dark .sample-badge { background: rgba(201,162,39,.12); color: #F1D57A; border-color: rgba(241,213,122,.6); }
.placeholder-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-left: 3px solid #C9A227; background: #FFF9E6; color: #5E4A0A; font-size: .9rem; border-radius: 0 var(--radius) var(--radius) 0; }
.placeholder-note strong { color: #4A3A05; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-900); color: #B7C6D4; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 24px; }
.topbar__note { margin: 0; letter-spacing: .04em; }
.topbar__links { display: flex; gap: 28px; }
.topbar__links li, .topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__links a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; color: var(--teal-bright); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.logo__mark { width: 38px; height: 42px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: .14em; margin-right: -.14em; }
.logo__tag { font-size: .545rem; font-weight: 600; letter-spacing: .085em; text-transform: uppercase; margin-top: 6px; color: var(--muted); white-space: nowrap; }
.on-dark .logo, .site-footer .logo { color: #fff; }
.on-dark .logo__tag, .site-footer .logo__tag { color: var(--muted-dark); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(16,42,67,.35); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-header__brand { margin-right: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--navy); border-radius: var(--radius); transition: color .2s; white-space: nowrap; }
.nav__link .ic { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:hover { color: var(--blue); }

/* overlay header (home) */
.has-overlay-header .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; border-color: rgba(255,255,255,.14); }
.has-overlay-header .site-header:not(.is-scrolled) .nav__link,
.has-overlay-header .site-header:not(.is-scrolled) .logo,
.has-overlay-header .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }
.has-overlay-header .site-header:not(.is-scrolled) .logo__tag { color: rgba(255,255,255,.7); }
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; top: 40px; }
.has-overlay-header .site-header.is-scrolled { top: 0; }

/* mega menu */
.nav__item--drop { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: 50%; width: 640px; transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(16,42,67,.45); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav__item--drop:hover .mega, .nav__item--drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--drop:hover .nav__link .ic { transform: rotate(180deg); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--radius); transition: background-color .2s; }
.mega__item:hover { background: var(--grey); }
.mega__item strong { display: block; font-family: var(--font-display); font-size: .92rem; color: var(--navy); line-height: 1.3; }
.mega__item small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.mega__ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--radius); background: rgba(0,166,166,.1); color: var(--teal-ink); }
.mega__ic .ic { width: 21px; height: 21px; }
.mega__item--all { background: var(--navy); color: #fff; justify-content: space-between; align-items: center; }
.mega__item--all strong { color: #fff; }
.mega__item--all small { color: var(--muted-dark); }
.mega__item--all:hover { background: var(--blue); }

/* mobile nav */
.nav-toggle, .nav-close { display: none; width: 46px; height: 46px; border: 0; background: none; color: var(--navy); cursor: pointer; place-items: center; border-radius: var(--radius); }
.nav-toggle .ic, .nav-close .ic { width: 26px; height: 26px; }
.mobile-nav { position: fixed; inset: 0; z-index: 150; background: rgba(10,28,46,.55); }
.mobile-nav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; padding: 18px 22px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav__head .nav-close { display: grid; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a, .mobile-nav__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 15px 2px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); background: none; border: 0; text-align: left; cursor: pointer; }
.mobile-nav__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mobile-nav__sub { padding: 0 0 12px 14px; border-left: 2px solid var(--teal); margin-bottom: 12px; }
.mobile-nav__sub a { font-size: .95rem; font-weight: 500; padding: 9px 2px; color: var(--ink); }
.mobile-nav__contact { display: grid; gap: 10px; font-size: .92rem; color: var(--muted); }
.mobile-nav__contact a { display: inline-flex; gap: 10px; align-items: center; }
.mobile-nav__contact .ic { color: var(--teal-ink); }
body.nav-open { overflow: hidden; }

/* =====================================================================
   HERO (home)
   ===================================================================== */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,46,.94) 0%, rgba(10,28,46,.78) 42%, rgba(10,28,46,.35) 100%), linear-gradient(0deg, rgba(10,28,46,.85) 0%, rgba(10,28,46,0) 40%); }
.hero__content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 80px); padding-bottom: 170px; }
.hero__content > * { max-width: 780px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--teal-bright); }
.hero__text { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #CBD7E2; max-width: 640px; margin-bottom: 40px; }
.hero .eyebrow { color: var(--teal-bright); }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 120px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.7), transparent); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; left: 0; top: -30%; width: 1px; height: 30%; background: var(--teal-bright); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 110%; } }
.hero__strip { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.14); background: rgba(10,28,46,.55); backdrop-filter: blur(6px); }
.hero__strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__strip li { display: flex; gap: 14px; align-items: center; padding: 24px 22px; border-left: 1px solid rgba(255,255,255,.1); font-family: var(--font-display); font-weight: 600; font-size: .92rem; line-height: 1.35; color: #E4ECF3; }
.hero__strip li:first-child { border-left: 0; padding-left: 0; }
.hero__strip .ic { width: 26px; height: 26px; color: var(--teal-bright); }

/* =====================================================================
   PAGE HERO (inner pages)
   ===================================================================== */
.page-hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,46,.95) 0%, rgba(10,28,46,.8) 50%, rgba(10,28,46,.45) 100%); }
.page-hero__content { position: relative; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(64px, 8vw, 104px); }
.page-hero__content > * { max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
.page-hero p { color: #C6D3DF; font-size: clamp(1.02rem, 1.3vw, 1.15rem); margin-bottom: 0; }
.page-hero .eyebrow { color: var(--teal-bright); }
.page-hero .btn-row { margin-top: 34px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: #9FB2C4; margin-bottom: 26px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }
.page-hero__accent { position: absolute; right: 0; bottom: 0; width: 34%; height: 6px; background: linear-gradient(90deg, var(--blue), var(--teal)); }

/* in-page sub navigation */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 18px 16px; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--navy); }
.subnav a.is-active { color: var(--navy); border-color: var(--teal); }

/* =====================================================================
   COMPONENTS
   ===================================================================== */
/* competencies band */
.competencies { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.competency { padding: 40px 28px 36px; border-left: 1px solid var(--line); position: relative; transition: background-color .3s var(--ease); }
.competency:first-child { border-left: 0; }
.competency::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--teal); transition: width .4s var(--ease); }
.competency:hover { background: var(--grey); }
.competency:hover::before { width: 100%; }
.competency__ic { color: var(--teal-ink); margin-bottom: 22px; }
.competency__ic .ic { width: 38px; height: 38px; stroke-width: 1.3; }
.competency h3 { font-size: 1.08rem; margin-bottom: 10px; }
.competency p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.competency__num { position: absolute; top: 36px; right: 26px; font-family: var(--font-display); font-weight: 700; font-size: .78rem; color: #A8B6C2; letter-spacing: .1em; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: 1.15fr 1fr; }
.split--reverse > :first-child { order: 2; }
.media-frame { position: relative; isolation: isolate; }
.media-frame img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); }
.media-frame--wide img { aspect-ratio: 4 / 3; }
.media-frame::before { content: ""; position: absolute; left: -22px; bottom: -22px; width: 46%; height: 46%; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); z-index: -1; }
.media-frame__card { position: absolute; right: -24px; bottom: 36px; max-width: 280px; background: var(--navy); color: #fff; padding: 24px 26px; border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(10,28,46,.6); }
.media-frame__card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.media-frame__card p { margin: 0; font-size: .86rem; color: var(--muted-dark); line-height: 1.55; }
.media-frame__card .ic { color: var(--teal-bright); width: 30px; height: 30px; margin-bottom: 14px; }
.check-list { display: grid; gap: 12px; margin: 26px 0 34px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { color: var(--teal-ink); width: 20px; height: 20px; margin-top: 4px; stroke-width: 2.2; }
.check-list--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.section--navy .check-list .ic, .on-dark .check-list .ic { color: var(--teal-bright); }

/* service cards (home) */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.service-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 26px 50px -30px rgba(16,42,67,.45); }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-2); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,46,.35), transparent 55%); }
.service-card__ic { position: absolute; z-index: 1; left: 20px; bottom: 16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); background: var(--navy); color: var(--teal-bright); transition: background-color .3s; }
.service-card:hover .service-card__ic { background: var(--teal); color: var(--navy-900); }
.service-card__ic .ic { width: 24px; height: 24px; }
.service-card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 24px; }
.service-card__num { font-family: var(--font-display); font-size: .74rem; font-weight: 700; color: #9AA9B6; letter-spacing: .12em; margin-bottom: 6px; }
.service-card h3 { font-size: 1.06rem; margin-bottom: 10px; line-height: 1.3; }
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.service-card .link-arrow { margin-top: auto; }
.service-card--cta { background: var(--navy); border-color: var(--navy); color: #fff; padding: 32px 26px; justify-content: space-between; }
.service-card--cta h3 { color: #fff; font-size: 1.35rem; }
.service-card--cta p { color: var(--muted-dark); }
.service-card--cta .ic-large { width: 46px; height: 46px; color: var(--teal-bright); margin-bottom: 24px; }
.service-card--cta .btn { align-self: flex-start; }

/* why choose */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); }
.why-item { padding: 36px 30px 34px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); transition: background-color .3s var(--ease); }
.why-item:hover { background: rgba(255,255,255,.04); }
.why-item__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.why-item__top .ic { width: 34px; height: 34px; color: var(--teal-bright); stroke-width: 1.4; }
.why-item__top span { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .12em; color: #6F8498; }
.why-item h3 { font-size: 1.08rem; margin-bottom: 10px; }
.why-item p { margin: 0; font-size: .9rem; color: var(--muted-dark); line-height: 1.6; }

/* accreditation cards */
.accred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.accred-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); }
.accred-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.accred-seal { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 22px; border-radius: 50%; border: 1.5px solid var(--navy); position: relative; color: var(--navy); }
.accred-seal::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px dashed rgba(16,42,67,.35); }
.accred-seal b { font-family: var(--font-display); font-weight: 800; font-size: .78rem; letter-spacing: .02em; text-align: center; line-height: 1.1; }
.accred-seal b small { display: block; font-size: .6rem; font-weight: 700; color: var(--teal-ink); letter-spacing: .08em; margin-top: 2px; }
.accred-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.accred-card p { font-size: .86rem; color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.accred-card__type { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 8px; }
.accred-card--lg { padding: 34px 30px 30px; }
.accred-strip { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 36px; }

/* industries */
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.industry { position: relative; aspect-ratio: 3 / 3.9; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; }
.industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.industry::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,28,46,.92) 0%, rgba(10,28,46,.25) 55%, rgba(10,28,46,.1) 100%); transition: background-color .4s; }
.industry:hover img { transform: scale(1.07); }
.industry:hover::before { background-color: rgba(23,105,170,.25); }
.industry__body { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.industry__body .ic { width: 28px; height: 28px; color: var(--teal-bright); margin-bottom: 12px; }
.industry h3 { color: #fff; font-size: 1.05rem; margin: 0; }
.industry p { margin: 8px 0 0; font-size: .82rem; line-height: 1.5; color: #C9D6E1; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .35s; }
.industry:hover p, .industry:focus-within p { max-height: 120px; opacity: 1; }
/* commodity gallery (stock verification / fertilizers): 4-up, captions always visible */
.industry-grid--4 { grid-template-columns: repeat(4, 1fr); }
.industry-grid.industry-grid--3 { grid-template-columns: repeat(3, 1fr); }
.industry--static { aspect-ratio: 4 / 3.6; }
.industry--static p { max-height: none; opacity: 1; }
.industry--static::before { background: linear-gradient(0deg, rgba(10,28,46,.94) 0%, rgba(10,28,46,.35) 60%, rgba(10,28,46,.05) 100%); }
.more-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.photo-credits { margin-top: 18px; font-size: .74rem; color: var(--muted); }
.photo-credits a { color: inherit; text-decoration: underline; }
.more-list strong { font-family: var(--font-display); font-size: .95rem; margin-right: 6px; }

/* network / map */
.network { position: relative; overflow: hidden; }
.map { position: relative; width: 100%; aspect-ratio: 180 / 71; }
.map > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 3px rgba(60,207,207,.25); cursor: default; }
.map__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(60,207,207,.6); animation: pulse 2.8s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.map__pin span { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 4px); padding: 5px 10px; background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: .72rem; border-radius: 3px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.map__pin:hover span, .map__pin:focus span { opacity: 1; transform: translate(-50%, 0); }
.map__pin--hq { width: 16px; height: 16px; background: #fff; box-shadow: 0 0 0 4px var(--teal), 0 0 0 10px rgba(0,166,166,.3); z-index: 2; }
.map__pin--hq span { opacity: 1; transform: translate(-50%, 0); background: var(--teal); color: var(--navy-900); }
.map--light .map__pin { background: var(--blue); box-shadow: 0 0 0 3px rgba(23,105,170,.2); }
.map--light .map__pin::after { border-color: rgba(23,105,170,.5); }
.map--light .map__pin span { background: var(--navy); color: #fff; }
.map--light .map__pin--hq { background: #fff; box-shadow: 0 0 0 4px var(--teal), 0 0 0 10px rgba(0,166,166,.25); }
.map--light .map__pin--hq span { background: var(--teal); color: var(--navy-900); }
.map-legend { display: flex; flex-wrap: wrap; gap: 22px; font-size: .82rem; color: var(--muted-dark); margin-top: 18px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-bright); }
.map-legend i.hq { background: #fff; box-shadow: 0 0 0 3px var(--teal); }
.region-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.region-cols h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 18px; }
.country-list { display: flex; flex-wrap: wrap; gap: 8px; }
.country-list li { padding: 7px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 3px; font-size: .86rem; color: #DCE6EE; transition: border-color .2s, background-color .2s; }
.country-list li:hover { border-color: var(--teal-bright); background: rgba(60,207,207,.08); }
.country-list li.is-hq { border-color: var(--teal); background: var(--teal); color: var(--navy-900); font-weight: 600; }
.light .country-list li { border-color: var(--line); color: var(--ink); background: #fff; }
.light .country-list li.is-hq { border-color: var(--teal); background: var(--teal); color: var(--navy-900); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; background: var(--navy-900); }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,28,46,.96) 30%, rgba(23,105,170,.75) 100%); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #C9D6E1; margin: 0; font-size: 1.1rem; max-width: 620px; }
.cta-band__contact { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; font-size: .95rem; }
.cta-band__contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.cta-band__contact .ic { color: var(--teal-bright); }

/* feature row (numbered blocks on inner pages) */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-list--2 { grid-template-columns: repeat(2, 1fr); }
.feature-list--4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background-color .3s; }
.feature:hover { background: var(--grey); }
.feature .ic { width: 32px; height: 32px; color: var(--teal-ink); margin-bottom: 20px; stroke-width: 1.4; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }

.feature-list--dark, .feature-list--dark .feature { border-color: rgba(255,255,255,.12); }
.feature-list--dark .feature { background: transparent; }
.feature-list--dark .feature:hover { background: rgba(255,255,255,.04); }
.feature-list--dark .feature .ic { color: var(--teal-bright); }
.feature-list--dark .feature p { color: var(--muted-dark); }

/* service blocks (inner pages) */
.service-block { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.service-block:nth-of-type(even) { background: var(--grey); }
.service-block__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.service-block__letter { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius); background: var(--navy); color: var(--teal-bright); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; flex: none; }
.service-block h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.tag-list li { padding: 6px 13px; background: #fff; border: 1px solid var(--line); border-radius: 3px; font-size: .84rem; color: var(--ink); }
.section--grey .tag-list li, .service-block:nth-of-type(even) .tag-list li { background: #fff; }

/* scope table (activity list in 2 columns) */
.scope { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin: 26px 0 32px; }
.scope li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.scope li:nth-child(odd) { padding-right: 22px; }
.scope li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.scope .ic { width: 18px; height: 18px; color: var(--teal-ink); margin-top: 4px; stroke-width: 2.2; }
.scope--1 { grid-template-columns: 1fr; }
.scope--1 li:nth-child(even) { padding-left: 0; border-left: 0; }

/* lab page */
.lab-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.lab-nav { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.lab-nav__search { position: relative; border-bottom: 1px solid var(--line); }
.lab-nav__search .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.lab-nav__search input { width: 100%; border: 0; padding: 16px 14px 16px 44px; font-size: .9rem; background: transparent; }
.lab-nav__search input:focus { outline: none; background: var(--grey); }
.lab-nav ol { padding: 8px; counter-reset: lab; }
.lab-nav li a { display: flex; gap: 10px; padding: 9px 12px; font-size: .88rem; font-weight: 500; color: var(--muted); border-radius: 3px; transition: background-color .2s, color .2s; counter-increment: lab; }
.lab-nav li a::before { content: counter(lab, decimal-leading-zero); font-family: var(--font-display); font-size: .72rem; font-weight: 700; color: #A3B0BB; padding-top: 2px; }
.lab-nav li a:hover { background: var(--grey); color: var(--navy); }
.lab-nav li a.is-active { background: var(--navy); color: #fff; }
.lab-nav li a.is-active::before { color: var(--teal-bright); }
.lab-nav li.is-hidden { display: none; }
.lab-section { padding: 48px 0; border-top: 1px solid var(--line); }
.lab-section:first-child { padding-top: 0; border-top: 0; }
.lab-section.is-hidden { display: none; }
.lab-section__head { display: grid; grid-template-columns: 1fr 220px; gap: 32px; align-items: start; margin-bottom: 26px; }
.lab-section__head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.lab-section h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.lab-section__head p { color: var(--muted); margin: 0; font-size: .96rem; }
.lab-section__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 10px; }
.param-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.param-table caption { text-align: left; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; padding-bottom: 12px; }
.param-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.param-grid li { display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.param-grid li::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--teal); transform: rotate(45deg); }
.param-grid li mark { background: rgba(0,166,166,.22); color: inherit; padding: 0 2px; }
.lab-empty { display: none; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.lab-empty.is-visible { display: block; }
.sub-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sub-card { padding: 22px 22px 20px; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius); background: #fff; }
.sub-card h3 { font-size: 1rem; margin-bottom: 6px; }
.sub-card p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.55; }
.lab-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lab-cat { display: flex; gap: 14px; align-items: center; padding: 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--navy); line-height: 1.35; transition: border-color .25s, transform .25s var(--ease); }
.lab-cat:hover { border-color: var(--teal); transform: translateY(-2px); }
.lab-cat .ic { width: 26px; height: 26px; color: var(--teal-ink); }

/* certification */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cert-card { display: grid; grid-template-columns: auto 1fr; gap: 26px; padding: 36px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .3s; }
.cert-card:hover { border-color: var(--teal); box-shadow: 0 24px 50px -34px rgba(16,42,67,.45); }
.cert-card__std { display: grid; place-items: center; width: 108px; height: 108px; border-radius: var(--radius); background: var(--navy); color: #fff; font-family: var(--font-display); text-align: center; line-height: 1.05; }
.cert-card__std b { display: block; font-size: .78rem; letter-spacing: .14em; color: var(--teal-bright); }
.cert-card__std strong { display: block; font-size: 1.7rem; font-weight: 800; }
.cert-card__std small { display: block; font-size: .72rem; color: var(--muted-dark); margin-top: 4px; }
.cert-card__cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 8px; }
.cert-card h3 { font-size: 1.2rem; }
.cert-card p { color: var(--muted); font-size: .94rem; }
.cert-card .check-list { margin: 16px 0 0; gap: 8px; font-size: .9rem; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.process li { position: relative; padding: 0 22px 0 0; counter-increment: step; }
.process li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--teal-bright); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: 22px; background: var(--navy); position: relative; z-index: 1; }
.process li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 1px; background: rgba(255,255,255,.2); }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1rem; margin-bottom: 8px; }
.process p { font-size: .88rem; color: var(--muted-dark); margin: 0; }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; margin-top: 16px; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 0 48px; padding-bottom: 40px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 134px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.timeline time { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.timeline h3 { font-size: 1.08rem; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; font-size: .94rem; }
.timeline .is-placeholder time { color: #A3B0BB; }

/* mission / vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { padding: 44px 40px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv-card--dark { background: var(--navy); border-color: var(--navy); color: #D7E1EA; }
.mv-card--dark h3 { color: #fff; }
.mv-card .ic { width: 40px; height: 40px; color: var(--teal-ink); margin-bottom: 24px; stroke-width: 1.3; }
.mv-card--dark .ic { color: var(--teal-bright); }
.mv-card h3 { font-size: 1.5rem; }
.mv-card p { margin: 0; font-size: 1.02rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line); }
.value:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.value h3 { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; }
.value h3 .ic { color: var(--teal-ink); width: 24px; height: 24px; }
.value p { margin: 0; color: var(--muted); font-size: .92rem; }

/* training */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course { display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, transform .3s var(--ease); }
.course:hover { border-color: var(--teal); transform: translateY(-3px); }
.course__num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--grey-2); line-height: 1; margin-bottom: 18px; -webkit-text-stroke: 1px #B8C6D2; color: transparent; }
.course h3 { font-size: 1.08rem; }
.course p { font-size: .9rem; color: var(--muted); }
.course__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.course__meta span { font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 3px; background: var(--grey); color: var(--navy); }
.delivery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.delivery > div { background: var(--navy); padding: 34px 28px; }
.delivery .ic { width: 34px; height: 34px; color: var(--teal-bright); margin-bottom: 18px; stroke-width: 1.4; }
.delivery h3 { font-size: 1.05rem; }
.delivery p { margin: 0; font-size: .9rem; color: var(--muted-dark); }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card__ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--radius); background: rgba(0,166,166,.1); color: var(--teal-ink); }
.contact-card__ic .ic { width: 24px; height: 24px; }
.contact-card h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-card p, .contact-card a { margin: 0; font-size: 1rem; color: var(--navy); font-weight: 500; line-height: 1.6; }
.contact-card a:hover { color: var(--blue); }
.contact-card p.small { font-size: .8rem; color: var(--muted); font-weight: 400; }
.person-card { display: flex; gap: 18px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.person-card__avatar { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--teal); color: var(--navy-900); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; flex: none; }
.person-card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.person-card div > span { display: block; font-size: .86rem; color: var(--muted-dark); }
.person-card a { color: var(--teal-bright); font-size: .9rem; }
.form-card { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); background: #fff; box-shadow: 0 30px 60px -45px rgba(16,42,67,.5); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--navy); }
.field label span { color: #B42318; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #C9D4DD; border-radius: var(--radius); background: #fff; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102A43' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,166,166,.18); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B42318; }
.field__error { font-size: .78rem; color: #B42318; display: none; }
.field.is-invalid .field__error { display: block; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.form-foot p { margin: 0; font-size: .8rem; color: var(--muted); max-width: 360px; }
.form-success { display: none; padding: 18px 20px; margin-top: 20px; border-radius: var(--radius); background: rgba(0,166,166,.1); border: 1px solid rgba(0,166,166,.4); color: var(--navy); font-size: .92rem; }
.form-success.is-visible { display: block; }
.form-error { display: none; padding: 18px 20px; margin-top: 20px; border-radius: var(--radius); background: rgba(200,40,40,.08); border: 1px solid rgba(200,40,40,.4); color: var(--navy); font-size: .92rem; }
.form-error.is-visible { display: block; }
.form-error a { color: inherit; text-decoration: underline; }
#enquiry-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#enquiry-form .is-busy { opacity: .6; cursor: progress; }
.map-embed { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--grey-2); }
.map-embed iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.35) contrast(1.05); }
.map-embed__card { position: absolute; left: 24px; top: 24px; max-width: 320px; padding: 22px 24px; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 40px -20px rgba(16,42,67,.5); }
.map-embed__card strong { display: block; font-family: var(--font-display); color: var(--navy); margin-bottom: 6px; }
.map-embed__card p { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }

/* services overview page */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.svc-row + .svc-row { margin-top: 24px; }
.svc-row__media { position: relative; min-height: 340px; }
.svc-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-row__body { padding: clamp(32px, 4vw, 52px); }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
.svc-row p { color: var(--muted); }

/* stats-free intro strip */
.intro-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-strip > div { padding: 28px 28px 28px 0; }
.intro-strip > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.intro-strip strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.intro-strip span { font-size: .9rem; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy-900); color: #A9B8C6; font-size: .92rem; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding: 88px 0 64px; }
.site-footer__brand p { margin: 24px 0 26px; max-width: 360px; line-height: 1.7; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.site-footer__col ul { display: grid; gap: 11px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.ic-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; line-height: 1.65; }
.ic-line .ic { color: var(--teal-bright); width: 18px; height: 18px; margin-top: 4px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); color: #fff; transition: background-color .2s, border-color .2s, color .2s; }
.social a:hover { background: var(--teal); border-color: var(--teal); color: var(--navy-900); }
.social svg { width: 17px; height: 17px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 24px; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top .ic { transform: rotate(-90deg); width: 15px; height: 15px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1320px) {
  .nav__link { padding: 10px 8px; font-size: .86rem; }
  .logo__tag { display: none; }
  .nav__link::after { left: 9px; right: 9px; }
  .site-header__inner { gap: 18px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1180px) {
  :root { --header-h: 74px; }
  .nav, .site-header__cta { display: none; }
  .logo__tag { display: block; }
  .nav-toggle { display: grid; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .competencies { grid-template-columns: repeat(3, 1fr); }
  .competency:nth-child(4) { border-left: 0; }
  .competency:nth-child(n+4) { border-top: 1px solid var(--line); }
  .why-grid, .accred-grid, .lab-cats { grid-template-columns: repeat(2, 1fr); }
  .feature-list, .feature-list--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .lab-layout { grid-template-columns: 1fr; gap: 32px; }
  .lab-nav { position: static; max-height: none; }
  .lab-nav ol { display: flex; flex-wrap: wrap; gap: 4px; }
  .lab-nav li a::before { display: none; }
  .lab-nav li a { border: 1px solid var(--line); padding: 7px 12px; font-size: .82rem; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .process li::after { display: none; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .hero__strip ul { grid-template-columns: repeat(2, 1fr); }
  .hero__strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__strip li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .hero__content { padding-bottom: 220px; }
  .hero__scroll { display: none; }
}
@media (max-width: 860px) {
  .split, .split--wide-media, .section-head--split, .mv-grid, .cta-band__inner, .svc-row, .region-cols { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
  .svc-row__media { min-height: 240px; }
  .media-frame { margin: 0 0 24px 18px; }
  .media-frame img { aspect-ratio: 4 / 3; }
  .media-frame__card { right: 12px; bottom: -24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: 1fr 1fr; }
  .value, .value:not(:nth-child(3n+1)) { padding: 26px 22px 26px 0; border-left: 0; }
  .value:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .param-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-section__head { grid-template-columns: 1fr; }
  .lab-section__head img { aspect-ratio: 16 / 7; order: -1; }
  .intro-strip { grid-template-columns: 1fr; }
  .intro-strip > div, .intro-strip > div + div { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .intro-strip > div:first-child { border-top: 0; }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 36px; gap: 4px; }
  .timeline li::before { left: 0; }
  .map__pin { width: 6px; height: 6px; box-shadow: 0 0 0 2px rgba(60,207,207,.25); }
  .map__pin::after { inset: -3px; }
  .map__pin--hq { width: 10px; height: 10px; }
  .map__pin span { display: none; }
  .map__pin--hq span { display: block; font-size: .62rem; padding: 3px 7px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar__links li:not(:first-child) { display: none; }
  .logo__name { font-size: 1.3rem; }
  .logo__tag { font-size: .48rem; letter-spacing: .05em; }
  .logo__mark { width: 32px; height: 36px; }
  .hero { min-height: auto; }
  .hero__content { padding-top: calc(var(--header-h) + 64px); padding-bottom: 300px; }
  .hero__strip ul { grid-template-columns: 1fr 1fr; }
  .hero__strip li { padding: 16px 12px; font-size: .8rem; gap: 10px; }
  .hero__strip li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__strip .ic { width: 22px; height: 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .competencies { grid-template-columns: 1fr 1fr; }
  .competency { padding: 28px 18px; }
  .competency:nth-child(n) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .competency:nth-child(odd) { border-left: 0; }
  .competency:first-child, .competency:nth-child(2) { border-top: 0; }
  .competency:last-child { grid-column: 1 / -1; }
  .service-grid, .why-grid, .accred-grid, .feature-list, .feature-list--2, .feature-list--4, .course-grid, .delivery, .lab-cats, .sub-cards, .values, .site-footer__top, .check-list--2, .scope, .form-grid { grid-template-columns: 1fr; }
  .value:nth-child(even) { padding-left: 0; border-left: 0; }
  .scope li:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .industry__body { left: 14px; right: 14px; bottom: 14px; }
  .industry h3 { font-size: .92rem; }
  .industry--static { aspect-ratio: 3 / 3.6; }
  .industry--static p { font-size: .74rem; }
  .industry-grid.industry-grid--3 { grid-template-columns: 1fr; }
  .industry-grid--3 .industry--static { aspect-ratio: 4 / 3; }
  .param-grid { grid-template-columns: 1fr; }
  .cert-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .process { grid-template-columns: 1fr; }
  .map-embed__card { position: static; max-width: none; box-shadow: none; border-bottom: 1px solid var(--line); border-radius: 0; }
  .map-embed iframe { height: 320px; }
  .media-frame::before { left: -14px; bottom: -14px; }
  .media-frame { margin-left: 12px; }
  .media-frame__card { position: relative; right: auto; bottom: auto; margin: -40px 16px 0 auto; }
  .site-footer__top { padding: 64px 0 44px; gap: 36px; }
  .cta-band__contact { flex-direction: column; gap: 12px; }
}
