/* ==========================================================================
   Quridge Global Solutions Pvt Ltd — Corporate Website
   assets/css/style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — quridge.net grey scale (--navy: #7c7c7a) */
  --navy-950: #5f5f5d;
  --navy-900: #7c7c7a;
  --navy-800: #6b6b69;
  --navy-700: #5f5f5d;
  --navy-600: #6b6b69;
  --navy-500: #7c7c7a;
  --navy-400: #9a9a98;
  --navy-100: #f2f2f0;
  --navy-050: #f7f7f6;

  /* Theme — quridge.net grey #7c7c7a and its tints */
  --acc-700: #555554;
  --acc-600: #6b6b69;
  --acc-500: #7c7c7a;
  --acc-400: #9a9a98;
  --acc-300: #c3c3c0;
  --acc-200: #e4e4e1;
  --acc-100: #f2f2f0;
  --acc-050: #f7f7f6;

  /* Accent — quridge.net orange #d76f0c + sky #fbefe3 */
  --brand-700: #944a06;
  --brand-600: #b55c08;
  --brand-500: #d76f0c;
  --brand-400: #e78a2d;
  --brand-300: #f2b878;
  --brand-200: #fadfc6;
  --brand-100: #fbefe3;
  --brand-050: #fdf7f1;

  /* Ink — quridge.net head / ink / muted */
  --ink-900: #262624;
  --ink-800: #3d3d3b;
  --ink-700: #4a4a48;
  --ink-600: #5f5f5d;
  --ink-500: #777775;
  --ink-400: #9a9a98;

  /* Surfaces & lines — quridge.net bg / soft / line */
  --white: #FFFFFF;
  --surface-1: #fafafa;
  --surface-2: #f4f4f3;
  --surface-3: #ececea;
  --line: #e4e4e1;
  --line-2: #efefec;

  /* Deep bands — near-black ink so white type and the amber accent carry weight
     (Siemens-style contrast) without leaving the grey family. */
  --ink-band: #232321;
  --ink-band-2: #191918;

  /* Radii */
  --r-xs: 7px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-btn: 12px;
  --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(60, 60, 58, .06);
  --sh-sm: 0 4px 16px rgba(60, 60, 58, .09);
  --sh-md: 0 12px 34px rgba(60, 60, 58, .14);
  --sh-lg: 0 18px 44px rgba(60, 60, 58, .18);
  --sh-accent: 0 6px 18px rgba(215, 111, 12, .32);

  /* Metrics */
  --container: 1200px;
  --gutter: 22px;
  --sec-y: clamp(34px, 3.6vw, 58px);
  --sec-y-sm: clamp(22px, 2.4vw, 36px);
  --header-h: 66px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t: 220ms var(--ease);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--acc-600); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.022em;
}

h1 { font-size: clamp(2.15rem, 4.8vw, 3.55rem); letter-spacing: -.034em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.075rem; }
h5 { font-size: .95rem; }

/* Editorial line breaks: stop a single orphaned word landing on its own line. */
h1, h2, h3, .stat__num { text-wrap: balance; }
p, li { text-wrap: pretty; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

strong { color: var(--ink-800); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

::selection { background: var(--acc-200); color: var(--ink-900); }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 940px; }

.section { padding-block: var(--sec-y); }
.section--sm { padding-block: var(--sec-y-sm); }
.section--alt { background: var(--surface-2); }

/* Deep ink band: near-black ground, a warm amber wash and a faint engineering
   grid. Gives the page a strong rhythm break the way the reference sites do. */
.section--dark {
  position: relative; isolation: isolate;
  background: var(--ink-band); color: rgba(255, 255, 255, .76);
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 92% at 92% 0%, rgba(215, 111, 12, .18), transparent 64%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, transparent 1px 78px);
}
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark h5 { color: #fff; }
.section--dark strong { color: #fff; }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Section heading block */
.sec-head { max-width: 760px; margin-bottom: clamp(14px, 1.8vw, 24px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-bottom: .45em; }
.sec-head p { font-size: 1.0625rem; color: var(--ink-600); }
.section--dark .sec-head p { color: rgba(255, 255, 255, .72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand-500); border-radius: 2px;
}
.section--dark .eyebrow { color: var(--brand-300); }
.section--dark .eyebrow::before { background: var(--brand-400); }
/* On the grey hero bands the amber has to lift, or it sinks into the grey. */
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow { color: #f2b878; }
.hero .eyebrow::before,
.page-hero .eyebrow::before,
.cta-band .eyebrow::before { background: #f2b878; }
.sec-head--center .eyebrow { justify-content: center; }

/* Highlighted word — colour only. No background block, so a heading can never
   show a stray pale patch above, behind or below the text. */
mark {
  background: none;
  color: var(--brand-600);
  padding: 0;
  font-weight: 700;
}
/* On the grey hero bands the emphasis flips to the light peach for contrast */
.hero mark,
.page-hero mark,
.section--dark mark,
.cta-band mark,
.stat-band mark,
.site-footer mark {
  background: none;
  color: #ffd3a8;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: .9375rem; font-weight: 650; line-height: 1.2;
  letter-spacing: .004em;
  padding: 14px 26px; border-radius: var(--r-btn); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: all var(--t);
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform var(--t); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--primary {
  background: linear-gradient(180deg, var(--brand-500) 0%, var(--brand-600) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 6px 18px rgba(181, 92, 8, .28);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--brand-400) 0%, var(--brand-500) 100%);
  color: #fff; transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), 0 12px 28px rgba(181, 92, 8, .38);
}

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--ink-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--brand-050); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn--outline-light:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn--sm { padding: 10px 18px; font-size: .875rem; }
.btn--block { width: 100%; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .9375rem; color: var(--brand-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: relative; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(60, 60, 58, .02), 0 6px 18px rgba(60, 60, 58, .05);
  transition: box-shadow var(--t);
}
/* 2px brand ribbon along the very top edge — the only chrome above the menu. */
.site-header::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--brand-500) 0%, rgba(215, 111, 12, .28) 44%, rgba(215, 111, 12, 0) 100%);
  pointer-events: none;
}
.site-header.is-stuck { box-shadow: 0 4px 10px rgba(16, 24, 40, .07), 0 16px 40px rgba(16, 24, 40, .11); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
  position: relative;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 38px; width: auto; }
.brand__tag {
  display: none; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-500); border-left: 1px solid var(--line); padding-left: 10px; line-height: 1.3;
}

/* Primary nav */
.nav { display: none; }
@media (min-width: 1024px) { .nav { display: block; } }

.nav__list { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; margin: 0; }
.nav__list > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 14px; font-size: 1rem; font-weight: 600; color: var(--ink-800);
  border-radius: var(--r-sm); transition: color var(--t), background var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.nav__list > li > a:hover { box-shadow: inset 0 0 0 1px var(--brand-200); }
/* With eleven primary items the row wraps gracefully on narrower desktops
   rather than overflowing or hiding entries. */
@media (min-width: 1024px) and (max-width: 1439px) {
  .nav__list { row-gap: 2px; }
  .nav__list > li > a { padding: 12px 8px; font-size: .9375rem; gap: 4px; }
  .brand__tag { display: none; }
  .brand img { height: 40px; }
}
/* 1024-1199 is the tightest desktop width: tighten once more so all eight
   primary items stay on a single row instead of pushing the header taller. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__list > li > a { padding: 10px 6px; font-size: .875rem; gap: 3px; }
  .nav__caret { width: 11px; height: 11px; }
  .brand img { height: 36px; }
}
@media (min-width: 1440px) and (max-width: 1799px) {
  .nav__list > li > a { padding: 12px 10px; font-size: .9375rem; gap: 5px; }
  .brand__tag { display: none; }
  .brand img { height: 42px; }
}
@media (min-width: 1800px) {
  .nav__list > li > a { padding: 13px 14px; font-size: 1rem; }
  .brand__tag { display: block; }
}

.nav__list > li > a:hover,
.nav__list > li > a[aria-current="page"] { color: var(--brand-600); }
.nav__list > li > a[aria-current="page"] { background: var(--brand-050); }
.nav__caret { width: 12px; height: 12px; transition: transform var(--t); opacity: .55; }
.nav__list > li:hover > a .nav__caret,
.nav__list > li.is-open > a .nav__caret,
.nav__list > li:focus-within > a .nav__caret { transform: rotate(180deg); }

/* Dropdown panels */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 268px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-lg);
  padding: 10px; opacity: 0; visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__list > li:hover > .dropdown,
.nav__list > li.is-open > .dropdown,
.nav__list > li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.dropdown__link {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink-700);
  font-size: .9375rem; font-weight: 600; transition: background var(--t), color var(--t);
}
.dropdown__link:hover { background: var(--brand-050); color: var(--brand-700); }
.dropdown__link svg { width: 18px; height: 18px; color: var(--brand-500); flex: none; margin-top: 2px; }
.dropdown__link small { display: block; font-weight: 400; font-size: .8125rem; color: var(--ink-500); line-height: 1.45; margin-top: 2px; }
.dropdown__link .chev { width: 14px; height: 14px; margin-left: auto; opacity: .45; }

.dropdown--mega {
  left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(940px, calc(100vw - 48px)); padding: 24px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 26px;
}
.dropdown--mega .dropdown__coltitle {
  font-size: .6875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-400); padding: 6px 12px 8px;
}
.dropdown--mega .dropdown__link { padding: 9px 12px; }

/* Mega panels anchor to the header rather than the nav item, so a wide panel
   can never hang off the right edge of the screen on mid-size desktops. */
.nav__list > li.nav__mega { position: static; }
.nav__list > li.nav__mega > .dropdown--mega {
  left: 0; right: 0; width: auto; max-width: none;
  transform: translateY(8px);
}
.nav__list > li.nav__mega:hover > .dropdown--mega,
.nav__list > li.nav__mega.is-open > .dropdown--mega,
.nav__list > li.nav__mega:focus-within > .dropdown--mega {
  transform: translateY(0);
}
/* Invisible bridge across the gap under the tab, so the panel does not close
   while the pointer is travelling from the menu item down to the panel. */
.dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}

/* Plain dropdown (Corporate Trainings) */
.dropdown--plain { min-width: 300px; }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__list li { margin: 0; }
.dropdown__list a {
  display: block; padding: 8px 12px; border-radius: var(--r-xs);
  font-size: .875rem; font-weight: 500; color: var(--ink-700); transition: all var(--t);
}
.dropdown__list a:hover { background: var(--acc-050); color: var(--acc-700); font-weight: 600; }
.dropdown__list a.is-current { color: var(--acc-700); font-weight: 700; }
.dropdown__foot { padding: 10px 12px 2px; margin-top: 6px; border-top: 1px solid var(--line-2); }
.dropdown__foot .link-arrow { font-size: .8438rem; }

/* Menu group: a labelled block inside the mega panel */
.menu-group { padding: 4px 0 10px; }
.menu-group + .menu-group { border-top: 1px solid var(--line-2); padding-top: 16px; }
.menu-group__head {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px 10px;
}
.menu-group__icon {
  width: 40px; height: 40px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600);
}
.menu-group__icon svg { width: 20px; height: 20px; }
.menu-group__head b { display: block; color: var(--ink-900); font-size: .9375rem; line-height: 1.3; }
.menu-group__head span { display: block; font-size: .75rem; color: var(--ink-500); }
.menu-group__items {
  list-style: none; margin: 0; padding: 4px 0 0 52px;
  border-left: 2px solid var(--brand-100); margin-left: 20px;
}
.menu-group__items li { margin: 0; }
.menu-group__items a {
  display: block; padding: 5px 12px; font-size: .875rem; font-weight: 500; color: var(--ink-600);
  border-radius: var(--r-xs); transition: all var(--t);
}
.menu-group__items a:hover { color: var(--brand-600); background: var(--brand-050); font-weight: 600; }
.menu-group__items a.is-current { color: var(--brand-600); font-weight: 700; }
.menu-group__foot { padding: 10px 12px 0 52px; }

/* Deep submenu (3rd level) */
.submenu {
  position: absolute; top: -10px; left: calc(100% + 6px);
  min-width: 250px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.dropdown__item { position: relative; }
.dropdown__item:hover > .submenu,
.dropdown__item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateX(0); }


/* Hamburger */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; background: var(--navy-050);
  border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(400px, 88vw); z-index: 300;
  background: #fff; box-shadow: -20px 0 60px rgba(16, 24, 40, .18);
  transform: translateX(102%); transition: transform 320ms var(--ease);
  display: flex; flex-direction: column;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.mobile-nav__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--ink-700); cursor: pointer; }
.mobile-nav__body { overflow-y: auto; padding: 10px 22px 26px; -webkit-overflow-scrolling: touch; }
.mobile-nav__body a { color: var(--ink-800); font-weight: 600; font-size: .9375rem; }
.mobile-nav__group { border-bottom: 1px solid var(--line-2); padding: 4px 0; }
.mobile-nav__row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mobile-nav__toggle {
  background: none; border: 0; padding: 10px 0 10px 12px; cursor: pointer;
  color: var(--ink-800); font: inherit; font-weight: 700; font-size: 1rem;
}
.mobile-nav__toggle svg { width: 16px; height: 16px; transition: transform var(--t); }
.mobile-nav__group.is-open > .mobile-nav__row .mobile-nav__toggle svg { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 0 0 12px 12px; border-left: 2px solid var(--acc-100); margin-left: 6px; }
.mobile-nav__group.is-open .mobile-nav__sub { display: block; }
.mobile-nav__sub a { display: block; padding: 7px 0; font-weight: 500; font-size: .9rem; color: var(--ink-600); }
.mobile-nav__sub a:hover { color: var(--acc-600); }
.mobile-nav__sub .sub-label { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; display: block; margin-top: 8px; }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(9, 16, 28, .5); z-index: 250;
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900);
  padding-block: clamp(26px, 3.2vw, 48px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 8% -12%, #9d9d9b 0%, rgba(157, 157, 155, 0) 58%),
    radial-gradient(780px 420px at 100% 8%, #8b8b89 0%, rgba(139, 139, 137, 0) 55%),
    linear-gradient(168deg, #6f6f6d 0%, #5b5b59 52%, #454543 100%);
}
.hero::after {
  content: ""; position: absolute; inset: -15% -8%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 42% at 16% 24%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(30% 38% at 84% 30%, rgba(255, 211, 168, .20) 0%, rgba(255, 211, 168, 0) 70%),
    radial-gradient(26% 32% at 56% 90%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 72%);
  animation: qgs-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__inner { position: relative; display: grid; gap: clamp(36px, 5vw, 60px); align-items: center; }
@media (min-width: 992px) { .hero__inner { grid-template-columns: 1.08fr .92fr; } }

.hero__content { color: rgba(255, 255, 255, .78); max-width: 640px; }
.hero__content h1 { color: #fff; margin-bottom: .38em; }
.hero__content h1 mark { background: none; color: #ffd3a8; }
.hero__content > p { font-size: clamp(1rem, 1.35vw, 1.125rem); line-height: 1.72; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero__badges span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.hero__badges svg { width: 14px; height: 14px; color: var(--brand-400); }

.hero__figure { position: relative; }
.hero__figure img {
  width: 100%; border-radius: var(--r-lg); box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero__chip {
  position: absolute; background: #fff; color: var(--ink-800);
  border-radius: var(--r); padding: 12px 16px; box-shadow: var(--sh-lg);
  font-size: .8125rem; font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.hero__chip svg { width: 18px; height: 18px; color: var(--brand-500); }
.hero__chip small { display: block; font-weight: 500; color: var(--ink-500); font-size: .75rem; }
.hero__chip--a { top: 8%; left: -8px; }
.hero__chip--b { bottom: 8%; right: -8px; }
@media (max-width: 991px) { .hero__chip--a { left: 12px; } .hero__chip--b { right: 12px; } }

/* Compact page hero */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(900px 460px at 6% -18%, #9a9a98 0%, rgba(154, 154, 152, 0) 58%),
    radial-gradient(620px 340px at 98% 10%, #8b8b89 0%, rgba(139, 139, 137, 0) 55%),
    linear-gradient(168deg, #6b6b69 0%, #595957 52%, #444442 100%);
  padding-block: clamp(22px, 2.6vw, 38px);
}
.page-hero::after {
  content: ""; position: absolute; inset: -20% -8%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(32% 46% at 78% 18%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(28% 40% at 22% 78%, rgba(255, 211, 168, .16) 0%, rgba(255, 211, 168, 0) 70%);
  animation: qgs-drift 32s ease-in-out infinite alternate-reverse;
  will-change: transform;
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero__lead { font-size: clamp(1rem, 1.3vw, 1.1rem); color: rgba(255, 255, 255, .76); max-width: 720px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.page-hero__meta span {
  padding: 7px 14px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .88);
}

/* --------------------------------------------------------------------------
   Hero motion — the band directly under the main menu
   All of it is decoration: nothing is hidden if it never runs, and it stops
   completely for visitors who ask for reduced motion.
   -------------------------------------------------------------------------- */
@keyframes qgs-drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.4%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 1%, 0) scale(1.02); }
}
@keyframes qgs-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes qgs-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes qgs-float-sm {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* the heading block settles in once, on load */
.hero__content > *,
.page-hero .container > * {
  animation: qgs-rise .7s cubic-bezier(.22, .61, .36, 1) both;
}
.hero__content > *:nth-child(1) { animation-delay: .05s; }
.hero__content > *:nth-child(2) { animation-delay: .11s; }
.hero__content > *:nth-child(3) { animation-delay: .17s; }
.hero__content > *:nth-child(4) { animation-delay: .23s; }
.hero__content > *:nth-child(5) { animation-delay: .29s; }
.page-hero .container > *:nth-child(2) { animation-delay: .08s; }
.page-hero .container > *:nth-child(3) { animation-delay: .14s; }
.page-hero .container > *:nth-child(4) { animation-delay: .20s; }

/* the visual and its glass chips drift gently */
.hero__figure { animation: qgs-float 11s ease-in-out infinite; }
.hero__chip { animation: qgs-float 6.5s ease-in-out infinite; }
.hero__chip--b { animation-duration: 8s; animation-delay: -2.4s; }

/* supporting pills breathe a little */
.hero__badges span,
.page-hero__meta span { animation: qgs-float-sm 5.5s ease-in-out infinite; }
.hero__badges span:nth-child(2n),
.page-hero__meta span:nth-child(2n) { animation-delay: -1.6s; }
.hero__badges span:nth-child(3n),
.page-hero__meta span:nth-child(3n) { animation-delay: -3.1s; }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .page-hero::after,
  .hero__content > *, .page-hero .container > *,
  .hero__figure, .hero__chip, .hero__badges span, .page-hero__meta span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Breadcrumb */
.crumbs { padding-block: 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: .8438rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 9px; color: var(--ink-500); }
.crumbs li + li::before { content: "/"; color: var(--ink-400); }
.crumbs a { color: var(--ink-600); font-weight: 500; }
.crumbs a:hover { color: var(--acc-600); }
.crumbs [aria-current="page"] { color: var(--ink-900); font-weight: 600; }

/* --------------------------------------------------------------------------
   7. Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; height: 100%; overflow: hidden;
}
/* 3px accent rule that draws across the top edge on hover */
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.card--hover:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .9375rem; color: var(--ink-600); }

.icon-tile {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-050); border: 1px solid var(--brand-200); color: var(--brand-600);
  transition: all var(--t);
}
.icon-tile svg { width: 25px; height: 25px; }
.icon-tile--navy { background: var(--acc-100); border-color: var(--acc-200); color: var(--acc-700); }
.card--hover:hover .icon-tile { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }

/* Service card with image */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card__media { aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.card--media .card__media img {
  width: 100%; height: 100%; object-fit: contain; padding: 16px;
  transition: transform 420ms var(--ease);
}
.card--media:hover .card__media img { transform: scale(1.06); }
.card--media .card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card--media .card__body p { flex: 1; }
.card__tag {
  display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--acc-600); margin-bottom: 9px;
}
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card__meta span {
  font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--ink-600); border: 1px solid var(--line-2);
}

/* Product card (catalogue) */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.product-card__media {
  aspect-ratio: 1 / 1; background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  display: grid; place-items: center; padding: 12px; border-bottom: 1px solid var(--line-2);
}
.product-card__media img {
  max-height: 100%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply;
}
.product-card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.05rem; margin-bottom: .3em; }
.product-card__body p { font-size: .875rem; color: var(--ink-600); flex: 1; }
.product-card__spec {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: .8125rem; color: var(--ink-500); display: flex; flex-wrap: wrap; gap: 6px 12px;
}
.product-card__spec b { color: var(--ink-800); font-weight: 700; }
.badge-list { display: inline-flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.badge {
  font-size: .6875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-xs);
  background: var(--navy-100); color: var(--navy-700);
}
.badge--acc { background: var(--brand-100); color: var(--brand-700); }
.badge--dark { background: var(--navy-900); color: #fff; }

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 28px; margin-bottom: 11px; font-size: .9375rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 16px; height: 16px;
  border-radius: 50%; background: var(--brand-100);
}
.feature-list li::after {
  content: ""; position: absolute; left: 4.5px; top: .78em; width: 7px; height: 4px;
  border-left: 2px solid var(--brand-600); border-bottom: 2px solid var(--brand-600);
  transform: rotate(-45deg);
}
.section--dark .feature-list li::before { background: rgba(255, 255, 255, .12); }
.section--dark .feature-list li::after { border-color: var(--brand-300); }

/* Checklist (2 col) */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px 24px; }
@media (min-width: 768px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checklist li { position: relative; padding-left: 26px; font-size: .9375rem; margin: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 15px; height: 15px;
  border-radius: 50%; background: var(--brand-500);
}
.checklist li::after {
  content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 3.5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
}

/* Split media block */
.split { display: grid; gap: clamp(18px, 2.4vw, 34px); align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }
/* Form + detail pairs start at the top instead of being vertically centred,
   so a short form is never pushed down by a taller column beside it. */
.split--top { align-items: start; }
@media (min-width: 992px) {
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
}
.split__media img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-md);
  border: 1px solid rgba(60, 60, 58, .10);
}
.split__media--framed { background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); padding: 28px; border-radius: var(--r-lg); }
.split__media--framed img {
  border-radius: var(--r); box-shadow: none;
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  background: #fff; padding: 10px;
}
/* Editorial photography fills its frame; product shots keep contain so nothing
   is cropped off the equipment. */
.split__media--photo img { object-fit: cover; }

/* --------------------------------------------------------------------------
   8. Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; gap: 18px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; } }
.stat { padding-left: 20px; border-left: 2px solid var(--brand-500); }
.stat__num {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.02;
  color: var(--navy-800); letter-spacing: -.035em; display: block;
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 4px; font-size: .9375rem; line-height: 1.5; color: var(--ink-600); }
.section--dark .stat, .stat-band .stat { border-color: var(--brand-400); }
.section--dark .stat__num, .stat-band .stat__num { color: #fff; }
.section--dark .stat__label, .stat-band .stat__label { color: rgba(255, 255, 255, .68); }

.stat-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-band-2);
  border-block: 1px solid rgba(255, 255, 255, .06);
  padding-block: clamp(26px, 3vw, 46px);
}
.stat-band::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(52% 140% at 88% 0%, rgba(215, 111, 12, .22), transparent 62%),
    radial-gradient(40% 120% at 4% 100%, rgba(255, 255, 255, .05), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 78px);
}

/* --------------------------------------------------------------------------
   9. Logo strip
   -------------------------------------------------------------------------- */
.logos { padding-block: clamp(16px, 1.8vw, 26px); border-block: 1px solid var(--line); background: var(--surface-1); }
.logos__label {
  text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-400); margin-bottom: 26px;
}
.logos__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px; align-items: center;
}
@media (min-width: 560px) { .logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 860px) { .logos__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.logos__grid img {
  max-height: 46px; width: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .55; transition: all var(--t);
}
.logos__grid img:hover { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   10. Tabs (offering sidebar — scnsoft pattern)
   -------------------------------------------------------------------------- */
.tabs-layout { display: grid; gap: 32px; }
@media (min-width: 992px) { .tabs-layout { grid-template-columns: 340px 1fr; gap: 44px; align-items: start; } }

.tabs-nav { display: grid; gap: 6px; }
@media (min-width: 992px) { .tabs-nav { position: sticky; top: calc(var(--header-h) + 24px); } }
.tabs-nav__btn {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 13px 16px; border: 0; border-radius: var(--r-sm); cursor: pointer;
  background: var(--surface-2); color: var(--ink-700); font: inherit;
  font-size: .9375rem; font-weight: 600; transition: all var(--t);
}
.tabs-nav__btn:hover { background: var(--navy-100); color: var(--navy-700); }
.tabs-nav__btn[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.tabs-nav__btn[aria-selected="true"] svg { color: var(--brand-400); }
.tabs-nav__btn svg { width: 18px; height: 18px; color: var(--acc-500); flex: none; }

.tabs-panel { display: none; }
.tabs-panel.is-active { display: block; animation: fadeUp .42s var(--ease); }
.tabs-panel h3 { font-size: 1.5rem; }
.tabs-panel__lead { font-size: 1.0625rem; color: var(--ink-600); margin-bottom: 1.4em; }
.tabs-panel__grid { display: grid; gap: 22px; margin-top: 26px; }
@media (min-width: 640px) { .tabs-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------------------
   11. Roadmap stepper (DevOps)
   -------------------------------------------------------------------------- */
.roadmap { position: relative; }
.roadmap__track { display: none; }
@media (min-width: 992px) {
  .roadmap__track {
    display: flex; align-items: center; gap: 0; margin-bottom: 40px;
  }
  .roadmap__node {
    width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--brand-500);
    display: grid; place-items: center; flex: none; background: var(--navy-900); color: var(--brand-400);
  }
  .roadmap__node svg { width: 20px; height: 20px; }
  .roadmap__dash { flex: 1; border-top: 2px dashed rgba(255, 255, 255, .38); }
}
.roadmap__cols { display: grid; gap: 22px; }
@media (min-width: 992px) { .roadmap__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.roadmap__col { position: relative; }
@media (min-width: 992px) {
  .roadmap__col { padding-right: 28px; border-right: 1px solid rgba(255, 255, 255, .12); }
  .roadmap__col:not(:nth-child(3n)) { padding-left: 0; }
  .roadmap__col:last-child { border-right: 0; }
}
.roadmap__step {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-400);
}
.roadmap__step b { font-size: 1.05rem; letter-spacing: 0; }
.roadmap__col h4 { color: #fff; margin-bottom: .55em; font-size: 1.0625rem; }
.roadmap__col ul { list-style: none; padding: 0; margin: 0; }
.roadmap__col li { position: relative; padding-left: 22px; font-size: .875rem; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.roadmap__col li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 7px;
  border-left: 2px solid var(--brand-400); border-bottom: 2px solid var(--brand-400); transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   12. Tool category cards
   -------------------------------------------------------------------------- */
.tools { display: grid; gap: 14px; }
@media (min-width: 700px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool-group {
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff;
  transition: box-shadow var(--t), transform var(--t);
}
.tool-group:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.tool-group__head {
  padding: 16px 20px; display: flex; align-items: center; gap: 11px;
  border-bottom: 1px solid var(--line-2);
  background: linear-gradient(135deg, var(--navy-050), #fff);
}
.tool-group__head svg { width: 19px; height: 19px; color: var(--acc-500); }
.tool-group__head h4 { margin: 0; font-size: .9375rem; letter-spacing: 0; }
.tool-group__body { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 20px 22px; }
.tool-chip {
  font-size: .8125rem; font-weight: 600; padding: 7px 13px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-700);
  transition: all var(--t);
}
.tool-chip:hover { background: var(--brand-050); border-color: var(--brand-200); color: var(--brand-700); }

/* --------------------------------------------------------------------------
   13. Accordion
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; text-align: left; padding: 20px 4px; background: none; border: 0;
  font: inherit; font-size: 1.0625rem; font-weight: 600; color: var(--ink-900); cursor: pointer;
  transition: color var(--t);
}
.accordion__btn:hover { color: var(--acc-600); }
.accordion__ico {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; flex: none; transition: all var(--t);
  background: #fff;
}
.accordion__ico svg { width: 15px; height: 15px; transition: transform var(--t); color: var(--brand-500); }
.accordion__btn[aria-expanded="true"] .accordion__ico { background: var(--brand-500); border-color: var(--brand-500); }
.accordion__btn[aria-expanded="true"] .accordion__ico svg { color: #fff; transform: rotate(180deg); }
.accordion__panel { display: none; padding: 0 4px 22px; color: var(--ink-600); font-size: .9688rem; max-width: 820px; }
.accordion__panel.is-open { display: block; animation: fadeUp .32s var(--ease); }
.section--dark .accordion { border-color: rgba(255, 255, 255, .14); }
.section--dark .accordion__item { border-color: rgba(255, 255, 255, .14); }
.section--dark .accordion__btn { color: #fff; }
.section--dark .accordion__ico { background: transparent; border-color: rgba(255, 255, 255, .2); }
.section--dark .accordion__panel { color: rgba(255, 255, 255, .72); }

/* --------------------------------------------------------------------------
   14. Table
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 680px; }
thead th {
  background: var(--navy-900); color: #fff; font-weight: 600; text-align: left;
  padding: 15px 18px; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase;
}
tbody td { padding: 15px 18px; border-bottom: 1px solid var(--line-2); color: var(--ink-700); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--surface-1); }
tbody td strong { color: var(--ink-900); }
.table-check { color: var(--acc-600); font-weight: 700; }
.table-dash { color: var(--ink-400); }

/* --------------------------------------------------------------------------
   15. Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; display: flex; flex-direction: column; gap: 18px; height: 100%;
}
.testimonial__quote { font-size: .9688rem; color: var(--ink-700); line-height: 1.75; flex: 1; }
.testimonial__quote::before { content: "\201C"; font-size: 2.6rem; line-height: 0; color: var(--acc-200); vertical-align: -.35em; margin-right: 4px; }
.testimonial__who { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.testimonial__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; font-weight: 700; font-size: .9375rem;
}
.testimonial__who b { display: block; color: var(--ink-900); font-size: .9375rem; }
.testimonial__who span { font-size: .8125rem; color: var(--ink-500); }
.testimonial__stars { display: flex; gap: 2px; }
.testimonial__stars svg { width: 15px; height: 15px; color: var(--acc-500); }

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--sh-md);
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: block; }
.field > span {
  display: block; font-size: .8125rem; font-weight: 600; color: var(--ink-700);
  margin-bottom: 7px; letter-spacing: .02em;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .9375rem; color: var(--ink-800);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--brand-600); }
.field__error { display: none; font-size: .75rem; color: var(--brand-600); margin-top: 5px; }
.field--error .field__error { display: block; }

.form-note { font-size: .8125rem; color: var(--ink-500); margin-top: 14px; }
.form-success {
  display: none; align-items: flex-start; gap: 11px; padding: 16px 18px; border-radius: var(--r-sm);
  background: var(--acc-050); border: 1px solid var(--acc-200); color: var(--ink-800); font-size: .875rem; font-weight: 500;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-band);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 46px);
  display: grid; gap: 28px; align-items: center;
  box-shadow: 0 22px 50px rgba(35, 35, 33, .22);
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.35fr .65fr; gap: 44px; } }
.cta-band::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(56% 120% at 92% 10%, rgba(215, 111, 12, .30), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 78px);
}
.cta-band::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-500), rgba(215, 111, 12, 0) 72%);
}
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 899px) { .cta-band__actions { justify-content: flex-start; } }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--ink-band-2); color: rgba(255, 255, 255, .68);
  padding-top: clamp(34px, 4vw, 56px);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--brand-500), rgba(215, 111, 12, .18) 58%, rgba(215, 111, 12, 0));
}
.footer__top { display: grid; gap: 24px; padding-bottom: 24px; }
@media (min-width: 768px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 36px; } }
.footer__brand img { height: 46px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: .9375rem; line-height: 1.7; max-width: 330px; }
.footer__col h4 {
  color: #fff; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 700;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: rgba(255, 255, 255, .66); font-size: .9063rem; }
.footer__col a:hover { color: var(--acc-300); }
.footer__col li.is-current a { color: var(--acc-300); font-weight: 600; }

.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .9063rem; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--acc-400); flex: none; margin-top: 3px; }
/* Dark-surface variant, kept for a footer contact list if one is ever added back. */
.site-footer .footer__contact a { color: rgba(255, 255, 255, .72); }
.site-footer .footer__contact a:hover { color: var(--acc-300); }
/* Light-surface cards (contact page, training registration) must not inherit the
   white footer link colour, or the values disappear against the card. */
.footer__contact a { color: var(--brand-600); font-weight: 600; }
.footer__contact a:hover { color: var(--brand-700); text-decoration: underline; }
.footer__contact strong { color: var(--ink-900); margin-right: 2px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 24px;
  display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between;
  font-size: .8438rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__bottom a { color: rgba(255, 255, 255, .55); }
.footer__bottom a:hover { color: var(--acc-300); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .75);
  transition: all var(--t);
}
.footer__social a:hover { background: var(--acc-500); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   19. WhatsApp float
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 180;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: var(--r-pill);
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
  font-size: .875rem; font-weight: 600; white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 38px rgba(37, 211, 102, .45); }
.wa-float svg { width: 22px; height: 22px; flex: none; fill: currentColor; stroke: none; }
.wa-float__label { line-height: 1; }
.wa-float__num { display: block; font-size: .6875rem; font-weight: 500; opacity: .85; }
@media (max-width: 767px) {
  .wa-float { right: 14px; bottom: 14px; padding: 12px; }
  .wa-float__label { display: none; }
}

/* --------------------------------------------------------------------------
   20. Misc components
   -------------------------------------------------------------------------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.pill-list li {
  margin: 0; font-size: .8438rem; font-weight: 600; padding: 8px 15px;
  border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-700);
}
.section--dark .pill-list li { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .82); }

.note {
  display: flex; gap: 14px; padding: 18px 22px; border-radius: var(--r);
  background: var(--brand-050); border: 1px solid var(--brand-200); font-size: .9375rem; color: var(--ink-700);
}
.note svg { width: 20px; height: 20px; color: var(--brand-600); flex: none; margin-top: 3px; }
.note strong { color: var(--ink-900); }

.client-grid { display: grid; gap: 14px; }
@media (min-width: 620px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.client-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  display: flex; flex-direction: column; gap: 14px; height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.client-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--acc-200); }
.client-card__logo {
  height: 54px; display: grid; place-items: center; padding: 6px 12px;
  background: var(--surface-2); border-radius: var(--r-sm);
}
.client-card__logo img { max-height: 38px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.client-card h3 { font-size: 1rem; margin: 0; }
.client-card p { font-size: .875rem; color: var(--ink-600); margin: 0; flex: 1; }
.client-card__sector {
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--acc-600);
}

.cta-inline {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--r); background: var(--navy-050);
  border: 1px solid var(--line);
}
.cta-inline p { margin: 0; font-size: .9375rem; color: var(--ink-600); }

.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.map-frame img { width: 100%; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding-left: 34px; margin-bottom: 18px; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--acc-500); box-shadow: 0 0 0 4px var(--acc-100);
}
.timeline li::after {
  content: ""; position: absolute; left: 6px; top: 20px; bottom: -22px; width: 2px; background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline b { display: block; color: var(--ink-900); margin-bottom: 2px; }

/* Scroll reveal is intentionally disabled: content must never render as a
   blank block. The .reveal class is kept in the markup but has no effect. */
.reveal { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .grid--4, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .grid, .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .topbar__list li:nth-child(n+3) { display: none; }
  .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { border-radius: var(--r-lg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .mobile-nav, .nav-backdrop, .cta-band, .footer__bottom { display: none !important; }
  body { color: #000; }
}
