/* ==========================================================================
   CADIO — Global stylesheet
   Sections:
     1. Design tokens
     2. Reset & base
     3. Typography
     4. Layout helpers
     5. Buttons
     6. Shared components (badge, cards, icon boxes, nav arrows)
     7. Header & navigation
     8. Hero
     9. Client marquee
    10. About
    11. Products
    12. CTA banner
    13. Why Cadio
    14. Industries
    15. Proof carousel
    16. Contact
    17. Footer
    18. Responsive — tablet
    19. Responsive — mobile
    20. Accessibility & motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (style guide) */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark-blue-1: #0a0c1c;
  --color-dark-blue-2: #2f2d71;
  --color-blue-1: #5b7fff;
  --color-blue-4: #b2b5cc;

  /* Surfaces measured from the design reference */
  --surface-light: #efefef;
  --surface-dark: var(--color-dark-blue-1);
  --surface-hero: #131934;
  --hero-grid-line: #1e243e;

  --card-bg-dark: #131523;
  --card-border-dark: #222431;
  --card-bg-light: #eaeaea;
  --card-border-light: #d4d4d4;
  --card-border-outline: #706e9b;
  --divider-light: #ababc1;

  --badge-dark-bg: #1a1f39;
  --badge-dark-border: #283466;
  --icon-box-dark: #1a1f3a;
  --icon-box-light: #dfdfe5;
  --icon-ink: #3b3b99;

  --field-bg: var(--color-dark-blue-1);
  --field-border: #353644;
  --field-placeholder: #6b6c7b;
  --form-card-bg: #101222;

  --hero-accent-1: #96acff;
  --hero-accent-2: #61aff5;

  /* Gradients */
  --gradient-header: linear-gradient(90deg, #000000 0%, #1a1b59 100%);
  --gradient-section: linear-gradient(115deg, #151c56 0%, #3c3c9b 100%);
  --gradient-button: linear-gradient(90deg, #5b7fff 0%, #2f2d71 100%);

  /* Typography — the reference renders every heading in Sora;
     Open Sans is kept in the stack as the style-guide fallback. */
  --font-heading: 'Sora', 'Open Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Desktop type scale */
  --h1-size: 62px;  --h1-lh: 66px;
  --h2-size: 38px;  --h2-lh: 42px;
  --h3-size: 36px;  --h3-lh: 40px;
  --h4-size: 24px;  --h4-lh: 34px;
  --h5-size: 20px;  --h5-lh: 24px;
  --p1-size: 20px;  --p1-lh: 30px;
  --p2-size: 18px;  --p2-lh: 28px;
  --p3-size: 16px;  --p3-lh: 24px;
  --p4-size: 14px;  --p4-lh: 21px;
  --btn1-size: 14px; --btn1-lh: 16px;
  --btn2-size: 20px; --btn2-lh: 24px;

  /* Radii, shadows, motion */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --shadow-card: 0 18px 40px rgba(10, 12, 28, 0.18);
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(91, 127, 255, 0.25);

  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;

  /* Layout */
  --container-max: 1248px;
  --container-pad: 24px;
  --section-pad-y: 60px;
  --header-h: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: var(--p3-size);
  line-height: var(--p3-lh);
  color: var(--color-dark-blue-1);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-menu-open { overflow: hidden; }

img,
picture,
svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button,
input,
textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  font-family: var(--font-heading);
  font-weight: 700;
}

h1, .h1 { font-size: var(--h1-size); line-height: var(--h1-lh); letter-spacing: -0.02em; }
h2, .h2 { font-size: var(--h2-size); line-height: var(--h2-lh); letter-spacing: -0.01em; }
h3, .h3 { font-size: var(--h3-size); line-height: var(--h3-lh); letter-spacing: -0.01em; }
h4, .h4 { font-size: var(--h4-size); line-height: var(--h4-lh); }
h5, .h5 { font-size: var(--h5-size); line-height: var(--h5-lh); }

.p1 { font-size: var(--p1-size); line-height: var(--p1-lh); font-weight: 500; }
.p2 { font-size: var(--p2-size); line-height: var(--p2-lh); }
.p3 { font-size: var(--p3-size); line-height: var(--p3-lh); }
.p4 { font-size: var(--p4-size); line-height: var(--p4-lh); }

/* --------------------------------------------------------------------------
   4. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-pad-y); }
.section--dark { background-color: var(--surface-dark); color: var(--color-white); }
.section--light { background-color: var(--surface-light); color: var(--color-dark-blue-1); }

.section-head { text-align: center; }
.section-head__title { margin-top: 22px; }
.section-head__lead {
  margin-top: 10px;
  font-size: var(--p2-size);
  line-height: var(--p2-lh);
  color: var(--color-blue-4);
  max-width: 660px;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-dark-blue-1);
  font-weight: 600;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: var(--btn1-size);
  line-height: var(--btn1-lh);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Primary — gradient pill */
.btn--primary {
  padding: 10px 56px;
  color: var(--color-white);
  background-image: var(--gradient-button);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background-image: none;
  background-color: var(--color-dark-blue-2);
}

/* Outline — transparent with light border, inverts to solid white */
.btn--outline {
  padding: 10px 44px;
  color: var(--color-white);
  background-color: transparent;
  border-color: var(--color-white);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-white);
  color: var(--color-dark-blue-1);
}

/* Large hero / form size */
.btn--lg { padding: 17px 50px; min-width: 224px; }
.btn--lg.btn--outline { padding: 17px 50px; min-width: 328px; }

/* Full-width submit using the Button-2 type token */
.btn--block {
  display: flex;
  width: 100%;
  padding: 13px 24px;
  font-size: var(--btn2-size);
  line-height: var(--btn2-lh);
}

/* --------------------------------------------------------------------------
   6. Shared components
   -------------------------------------------------------------------------- */
/* Eyebrow pill */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-dark-blue-2);
  font-size: var(--p4-size);
  line-height: var(--p4-lh);
  font-weight: 400;
  color: var(--color-dark-blue-2);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.eyebrow--on-dark { color: var(--color-blue-1); border-color: var(--color-blue-1); }

/* Tag pill used on the product cards */
.tag {
  display: inline-block;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--badge-dark-border);
  background-color: var(--badge-dark-bg);
  font-size: var(--p4-size);
  line-height: 18px;
  color: var(--color-blue-1);
  transition: background-color var(--transition-normal), border-color var(--transition-normal),
              color var(--transition-normal);
}

/* Small rounded icon tile (Why Cadio) */
.icon-tile {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background-color: var(--icon-box-dark);
  border: 1px solid var(--badge-dark-border);
  color: var(--color-blue-1);
  transition: background-color var(--transition-normal), border-color var(--transition-normal),
              color var(--transition-normal);
}
.icon-tile svg { width: 20px; height: 20px; }

/* Carousel arrow */
.nav-arrow {
  width: 40px; height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background-color: #4e4f5a;
  color: var(--color-white);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.nav-arrow svg { width: 18px; height: 18px; }
.nav-arrow:hover:not(:disabled),
.nav-arrow:focus-visible:not(:disabled) {
  background-color: var(--color-white);
  color: var(--color-dark-blue-1);
}
.nav-arrow:disabled { opacity: 0.55; cursor: default; }

/* --------------------------------------------------------------------------
   7. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background-image: var(--gradient-header);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  flex: none;
}
.brand__mark { width: 52px; height: 52px; flex: none; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.primary-nav { margin-left: auto; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 73px;
}
.primary-nav__link {
  font-size: var(--p2-size);
  line-height: var(--p2-lh);
  color: var(--color-white);
  transition: color var(--transition-fast);
}
.primary-nav__link:hover,
.primary-nav__link:focus-visible { color: var(--hero-accent-1); }

.site-header__cta { margin-left: 87px; flex: none; min-width: 235px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  background-color: #35384d;
  color: var(--color-white);
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }

/* Full-screen mobile overlay */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 20px 48px;
  background-color: var(--surface-dark);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-normal), visibility var(--transition-normal);
  overflow-y: auto;
}
.mobile-nav[data-open="true"] { transform: translateX(0); visibility: visible; }
.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: var(--color-white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav__cta { margin-top: 28px; align-self: flex-start; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background-color: var(--surface-hero);
  color: var(--color-white);
  overflow: hidden;
}

/* Blueprint grid overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 49px 65px;
  background-position: 0 60px;
  opacity: 0.85;
}

.hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 50.6%;
  max-width: 728px;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Fade the photo into the grid on its left edge */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--surface-hero) 0%, rgba(19, 25, 52, 0.62) 12%, rgba(19, 25, 52, 0) 38%);
}

.hero__inner { padding-block: 115px 123px; }
.hero__content { max-width: 620px; }
.hero__title { color: #f4f5ff; }
.hero__title .accent-1 { color: var(--hero-accent-1); }
.hero__title .accent-2 { color: var(--hero-accent-2); }
.hero__lead {
  margin-top: 16px;
  max-width: 500px;
  color: var(--color-blue-4);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.svg-sprite { position: absolute; }

/* --------------------------------------------------------------------------
   9. Client marquee
   -------------------------------------------------------------------------- */
.clients {
  position: relative;
  background-color: var(--color-white);
  border-block: 2px solid #4a4aa1;
}
/* Viewport clips the running track; it stays focusable so the strip is
   reachable by keyboard when the animation is paused or suppressed. */
.clients__viewport {
  overflow: hidden;
  height: 120px;
  display: flex;
  align-items: center;
}
.clients__viewport:focus-visible { outline-offset: -3px; }

.clients__marquee {
  display: flex;
  width: max-content;
  will-change: transform;
}
/* No-JS fallback only. script.js removes this class and drives the scroll with
   requestAnimationFrame, which cannot be switched off by a CSS reset. */
.clients__marquee.is-css-driven {
  animation: clients-scroll var(--marquee-duration, 45s) linear infinite;
}
/* Applies to the no-JS fallback only; the JS driver handles its own pausing. */
.clients__viewport:hover .clients__marquee.is-css-driven,
.clients__viewport:focus-within .clients__marquee.is-css-driven { animation-play-state: paused; }

/* When stopped by the control, the strip becomes a manual scroller */
.clients.is-paused .clients__viewport { overflow-x: auto; }

/* Soft edges so marks fade out rather than being hard-cut as they loop,
   and so nothing collides with the control at the right edge. */
.clients::before,
.clients::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 1;
}
.clients::before { left: 0; background-image: linear-gradient(90deg, var(--color-white), rgba(255, 255, 255, 0)); }
.clients::after  { right: 0; background-image: linear-gradient(270deg, var(--color-white), rgba(255, 255, 255, 0)); }

/* Pause / play control — required so the animation can be stopped on touch,
   where there is no hover (WCAG 2.2.2 Pause, Stop, Hide). */
.clients__toggle {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-dark-blue-2);
  background-color: rgba(47, 45, 113, 0.08);
  opacity: 0.55;
  transition: opacity var(--transition-fast), background-color var(--transition-fast);
}
.clients__toggle:hover,
.clients__toggle:focus-visible { opacity: 1; background-color: rgba(47, 45, 113, 0.16); }
.clients__toggle-icon { width: 15px; height: 15px; }
.clients__toggle-icon--play { display: none; }
.clients__toggle[aria-label^="Play"] .clients__toggle-icon--pause { display: none; }
.clients__toggle[aria-label^="Play"] .clients__toggle-icon--play { display: block; }

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.clients__track {
  display: flex;
  align-items: center;
  gap: var(--marquee-gap, 64px);
  padding-inline-end: var(--marquee-gap, 64px);
  flex: none;
}
.clients__item { flex: none; display: grid; place-items: center; }
.clients__item img { height: auto; object-fit: contain; }

/* Per-logo display widths taken from the reference strip */
.clients__item--thyssenkrupp img { width: calc(95px * var(--logo-scale, 1)); }
.clients__item--avcon img { width: calc(107px * var(--logo-scale, 1)); }
.clients__item--gabriel img { width: calc(111px * var(--logo-scale, 1)); }
.clients__item--subros img { width: calc(99px * var(--logo-scale, 1)); }
.clients__item--blue-energy-motors img { width: calc(98px * var(--logo-scale, 1)); }
.clients__item--hal img { width: calc(101px * var(--logo-scale, 1)); }
.clients__item--cipet img { width: calc(45px * var(--logo-scale, 1)); }
.clients__item--c-met img { width: calc(71px * var(--logo-scale, 1)); }
.clients__item--sumitra-die-works img { width: calc(127px * var(--logo-scale, 1)); }

/* Divider after the sixth mark, as shown in the reference */
.clients__item--divided { border-right: 1px solid var(--color-blue-4); padding-right: 32px; }

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 501px;
  gap: 62px;
  align-items: start;
}
.about__title { margin-top: 23px; max-width: 520px; }
.about__lead {
  margin-top: 8px;
  max-width: 640px;
  color: var(--color-dark-blue-2);
}

.pillars { margin-top: 24px; display: grid; gap: 19px; }
.pillars__item { display: grid; grid-template-columns: 42px 1fr; column-gap: 0; }
.pillars__num {
  font-family: var(--font-heading);
  font-size: var(--h5-size);
  line-height: var(--h5-lh);
  font-weight: 700;
  color: var(--color-dark-blue-2);
}
.pillars__title { font-size: var(--h4-size); line-height: 28px; }
.pillars__text {
  grid-column: 2;
  margin-top: 3px;
  font-size: var(--p2-size);
  line-height: var(--p2-lh);
  color: var(--color-dark-blue-2);
}

.stats {
  margin-top: 24px;
  max-width: 568px;
  display: grid;
  grid-template-columns: 136px 124px 124px minmax(0, 1fr);
  background-color: var(--card-bg-light);
  border: 1px solid var(--card-border-outline);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stats__cell { padding: 18px; }
.stats__cell + .stats__cell { border-left: 1px solid var(--divider-light); }
.stats__label {
  font-size: var(--p3-size);
  line-height: var(--p3-lh);
  color: var(--color-dark-blue-2);
}
.stats__value {
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  line-height: 1;
  font-weight: 700;
  color: var(--color-black);
}

.about__figure { margin: 0; }
.about__figure img {
  width: 100%;
  aspect-ratio: 501 / 624;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   11. Products
   -------------------------------------------------------------------------- */
.products__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 73px;
  row-gap: 40px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 315px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background-color: var(--card-bg-dark);
  border: 1px solid var(--card-border-dark);
  transition: background-color var(--transition-normal), border-color var(--transition-normal),
              color var(--transition-normal), transform var(--transition-normal),
              box-shadow var(--transition-normal);
}
.product-card__title { margin-top: 23px; }
.product-card__text {
  margin-top: 8px;
  font-size: var(--p1-size);
  font-weight: 400;
  line-height: var(--p1-lh);
  color: var(--color-blue-4);
  transition: color var(--transition-normal);
}
/* Light inversion on hover, per the style-guide hover sheet */
.product-card:hover,
.product-card:focus-within {
  background-color: var(--color-white);
  border-color: var(--card-border-light);
  color: var(--color-dark-blue-1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.product-card:hover .product-card__text,
.product-card:focus-within .product-card__text { color: var(--color-dark-blue-2); }
.product-card:hover .tag,
.product-card:focus-within .tag {
  background-color: #eef1ff;
  border-color: #c9d3ff;
  color: var(--color-blue-1);
}

/* --------------------------------------------------------------------------
   12. CTA banner
   -------------------------------------------------------------------------- */
.cta-band { background-color: var(--surface-light); padding-block: var(--section-pad-y); }
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 197px;
  padding: 59px 43px 59px 55px;
  border-radius: var(--radius-lg);
  background-image: var(--gradient-section);
  color: var(--color-white);
}
.cta-banner__text { max-width: 720px; }
.cta-banner__lead {
  margin-top: 9px;
  font-size: var(--p2-size);
  line-height: var(--p2-lh);
  color: rgba(255, 255, 255, 0.78);
}
.cta-banner .btn { min-width: 209px; padding-inline: 44px; }

/* --------------------------------------------------------------------------
   13. Why Cadio
   -------------------------------------------------------------------------- */
.why__title { max-width: 720px; margin-inline: auto; }
.why__grid {
  margin-top: 43px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.why-card {
  min-height: 252px;
  padding: 33px 20px 24px;
  border-radius: var(--radius-md);
  background-color: var(--card-bg-dark);
  border: 1px solid var(--card-border-dark);
  transition: background-color var(--transition-normal), border-color var(--transition-normal),
              color var(--transition-normal), transform var(--transition-normal),
              box-shadow var(--transition-normal);
}
.why-card__title { margin-top: 11px; }
.why-card__text {
  margin-top: 13px;
  font-size: var(--p2-size);
  line-height: var(--p2-lh);
  color: var(--color-blue-4);
  transition: color var(--transition-normal);
}
.why-card:hover,
.why-card:focus-within {
  background-color: var(--color-white);
  border-color: var(--card-border-light);
  color: var(--color-dark-blue-1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.why-card:hover .why-card__text,
.why-card:focus-within .why-card__text { color: var(--color-dark-blue-2); }
.why-card:hover .icon-tile,
.why-card:focus-within .icon-tile {
  background-color: #eef1ff;
  border-color: #c9d3ff;
}

/* --------------------------------------------------------------------------
   14. Industries
   -------------------------------------------------------------------------- */
.industries { position: relative; overflow: hidden; }
/* Decorative arc echoing the reference background */
.industries::before {
  content: "";
  position: absolute;
  right: -180px;
  top: 40px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 90px solid rgba(47, 45, 113, 0.045);
  z-index: 0;
  pointer-events: none;
}
.industries > .container { position: relative; z-index: 1; }

.industries__title { max-width: 640px; margin-inline: auto; }
.industries__grid {
  margin-top: 59px;
  margin-inline: auto;
  max-width: 1044px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 39px;
}

.industry-card {
  min-height: 166px;
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--radius-md);
  background-color: var(--card-bg-light);
  border: 1px solid var(--card-border-light);
  color: var(--color-dark-blue-1);
  transition: background-color var(--transition-normal), border-color var(--transition-normal),
              color var(--transition-normal), transform var(--transition-normal),
              box-shadow var(--transition-normal);
}
.industry-card__icon {
  width: 72px; height: 72px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background-color: var(--icon-box-light);
  border: 1px solid #cfcfe0;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}
.industry-card__glyph {
  width: 44px; height: 44px;
  background-color: var(--icon-ink);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  transition: background-color var(--transition-normal);
}


.industry-card__name {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: var(--h5-size);
  line-height: var(--h5-lh);
  font-weight: 700;
}
/* Dark inversion on hover, per the style-guide hover sheet */
.industry-card:hover,
.industry-card:focus-within {
  background-color: var(--surface-dark);
  border-color: var(--color-dark-blue-2);
  color: var(--color-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.industry-card:hover .industry-card__icon,
.industry-card:focus-within .industry-card__icon {
  background-color: var(--icon-box-dark);
  border-color: var(--badge-dark-border);
}
.industry-card:hover .industry-card__glyph,
.industry-card:focus-within .industry-card__glyph { background-color: var(--color-blue-1); }

/* --------------------------------------------------------------------------
   15. Proof carousel
   -------------------------------------------------------------------------- */
.proof { overflow: hidden; }
.proof__viewport {
  margin-top: 42px;
  overflow: hidden;
}
@media (min-width: 1400px) {
  .proof__viewport { margin-inline: -69px; }
}
.proof__track {
  display: flex;
  gap: 35px;
  transition: transform var(--transition-normal);
  will-change: transform;
}
.proof-card {
  flex: 0 0 308px;
  min-height: 349px;
  display: flex;
  flex-direction: column;
  padding: 5px 5px 13px;
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  color: var(--color-dark-blue-1);
}
.proof-card__logo {
  height: 135px;
  overflow: hidden;
  border: 1px solid #b9b9da;
  border-radius: var(--radius-sm);
}
.proof-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.proof-card__body { padding: 16px 14px 0; }
.proof-card__name {
  font-size: var(--h5-size);
  line-height: var(--h5-lh);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-dark-blue-2);
  text-transform: uppercase;
}
.proof-card__text {
  margin-top: 21px;
  font-size: var(--p2-size);
  line-height: 27px;
  color: var(--color-dark-blue-1);
}
.proof__controls {
  margin-top: 39px;
  display: flex;
  justify-content: center;
  gap: 41px;
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  left: -260px;
  bottom: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 90px solid rgba(47, 45, 113, 0.05);
  pointer-events: none;
}
.contact > .container { position: relative; z-index: 1; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 587px;
  gap: 26px;
  align-items: start;
}
.contact__title { margin-top: 27px; max-width: 460px; }
.contact__lead {
  margin-top: 24px;
  max-width: 400px;
  font-size: var(--p1-size);
  font-weight: 400;
  line-height: var(--p1-lh);
  color: var(--color-dark-blue-2);
}
.contact__presence-title { margin-top: 24px; }
.contact__address {
  margin-top: 15px;
  max-width: 425px;
  font-size: var(--p1-size);
  line-height: var(--p1-lh);
  font-style: normal;
  color: var(--color-dark-blue-2);
}

.contact-form {
  padding: 38px 39px;
  border-radius: var(--radius-md);
  background-color: var(--form-card-bg);
  color: var(--color-white);
}
.form-field + .form-field { margin-top: 20px; }
.form-field__label {
  display: block;
  margin-bottom: 7px;
  font-size: var(--p3-size);
  line-height: var(--p3-lh);
  color: var(--color-white);
}
.form-field__control {
  width: 100%;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--field-border);
  background-color: var(--field-bg);
  color: var(--color-white);
  font-size: var(--p3-size);
  line-height: var(--p3-lh);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-field__control::placeholder { color: var(--field-placeholder); }
.form-field__control:focus-visible {
  outline: none;
  border-color: var(--color-blue-1);
  box-shadow: 0 0 0 3px rgba(91, 127, 255, 0.28);
}
textarea.form-field__control { min-height: 90px; resize: vertical; }

.form-consent {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--p3-size);
  line-height: var(--p3-lh);
}
.form-consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  margin-top: 4px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--color-blue-1);
  background-color: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.form-consent input::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background-color: var(--color-blue-1);
  transform: scale(0);
  transition: transform var(--transition-fast);
}
.form-consent input:checked::after { transform: scale(1); }
.form-consent label { cursor: pointer; }

.contact-form__submit { margin-top: 18px; }
.form-status:empty { margin-top: 0; }
.form-status { margin-top: 14px; font-size: var(--p4-size); line-height: var(--p4-lh); color: var(--color-blue-4); }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding-block: 37px 66px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 34px;
}
.footer-brand__logo { display: inline-flex; flex-direction: column; gap: 10px; color: var(--color-white); }
.footer-brand__logo svg { width: 88px; height: 88px; }
.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}
.footer-brand__text {
  margin-top: 24px;
  max-width: 320px;
  color: var(--color-blue-4);
}
.footer-col { padding-top: 27px; }
.footer-col__title { margin-bottom: 24px; }
.footer-col__list { display: grid; gap: 11px; }
.footer-col__list a {
  color: var(--color-blue-4);
  transition: color var(--transition-fast);
}
.footer-col__list a:hover,
.footer-col__list a:focus-visible { color: var(--color-white); }
.footer-contact { padding-top: 27px; }
.footer-contact address {
  font-style: normal;
  color: var(--color-blue-4);
  display: grid;
  gap: 21px;
}
.site-footer__bar {
  margin-top: 37px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: var(--p3-size);
  line-height: var(--p3-lh);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   18. Responsive — tablet (≤ 1199.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  :root { --h1-size: 52px; --h1-lh: 58px; }

  .primary-nav__list { gap: 36px; }
  .site-header__cta { margin-left: 36px; }

  .hero__media { width: 52%; }
  .hero__inner { padding-block: 88px 96px; }

  .about__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .products__grid { column-gap: 32px; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries__grid { gap: 28px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr) 460px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  :root { --h1-size: 46px; --h1-lh: 52px; --h2-size: 34px; --h2-lh: 40px; --h3-size: 30px; --h3-lh: 36px; }

  .primary-nav,
  .site-header__cta { display: none; }
  .nav-toggle { display: grid; }

  .hero { display: flex; flex-direction: column; }
  .hero__media {
    position: relative;
    width: 100%;
    max-width: none;
    inset: auto;
    order: 2;
    aspect-ratio: 16 / 9;
  }
  .hero__media::after { background-image: none; }
  .hero__inner { order: 1; padding-block: 56px 48px; }
  .hero__content { max-width: none; }
  .hero__lead { max-width: 640px; }

  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about__figure { max-width: 560px; }
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 36px 32px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contact__title,
  .contact__lead,
  .contact__address { max-width: none; }
}

/* --------------------------------------------------------------------------
   19. Responsive — mobile (≤ 767.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  :root {
    /* Mobile type scale from the style guide */
    --h1-size: 36px; --h1-lh: 40px;
    --h2-size: 34px; --h2-lh: 40px;
    --h3-size: 28px; --h3-lh: 32px;
    --h4-size: 24px; --h4-lh: 28px;
    --h5-size: 14px; --h5-lh: 16px;
    --p1-size: 16px; --p1-lh: 21px;
    --p2-size: 14px; --p2-lh: 21px;
    --p3-size: 16px; --p3-lh: 24px;
    --btn2-size: 18px; --btn2-lh: 24px;

    --container-pad: 20px;
    --section-pad-y: 39px;
    --header-h: 64px;

    /* The mobile reference uses white section surfaces, not the desktop grey */
    --surface-light: #ffffff;
    --card-bg-light: #fafafa;
    --card-border-light: #e6e6ee;
  }

  .brand__mark { width: 44px; height: 44px; }
  .brand__name { font-size: 24px; }
  .nav-toggle { width: 40px; height: 40px; }

  /* Reference stacks the hero photo below the copy */
  .hero__media { aspect-ratio: 375 / 233; }
  .hero__inner { padding-block: 39px 34px; }
  .hero__lead { margin-top: 8px; font-size: var(--p1-size); line-height: var(--p1-lh); }
  .hero__actions { margin-top: 25px; gap: 14px; flex-wrap: nowrap; }
  .hero__actions .btn { min-width: 0; padding: 9px 12px; font-size: 13px; letter-spacing: 0.04em; }
  .hero::before { background-size: 40px 52px; }

  .clients__viewport { height: 89px; }
  .clients__marquee { --marquee-duration: 32s; }
  .clients__track { --marquee-gap: 40px; --logo-scale: 0.75; }
  .clients__item--divided { border-right: 0; padding-right: 0; }

  .section-head { text-align: left; }
  .section-head__title { margin-top: 18px; }
  .section-head__lead { margin-inline: 0; font-size: var(--p1-size); line-height: var(--p1-lh); }
  .why__title,
  .industries__title { margin-inline: 0; }
  .industries::before,
  .contact::before { display: none; }

  .about__grid { gap: 30px; }
  .about__title { margin-top: 15px; max-width: none; }
  .about__lead { margin-top: 8px; max-width: none; font-size: var(--p1-size); line-height: var(--p1-lh); }
  .pillars { margin-top: 26px; gap: 22px; }
  .pillars__item { grid-template-columns: 38px 1fr; }
  .pillars__title { font-size: 24px; line-height: 28px; }
  .pillars__text { margin-top: 6px; font-size: var(--p1-size); line-height: var(--p1-lh); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__cell:nth-child(odd) { border-left: 0; }
  .stats__cell:nth-child(n + 3) { border-top: 1px solid var(--divider-light); }
  .stats__value { font-size: 30px; }
  .about__figure { max-width: none; }

  .products__grid { margin-top: 41px; grid-template-columns: minmax(0, 1fr); row-gap: 18px; column-gap: 0; }
  .product-card { min-height: 0; padding: 15px 16px 18px; }
  .product-card__title { margin-top: 15px; }
  .product-card__text { margin-top: 8px; font-size: var(--p2-size); line-height: var(--p2-lh); }

  .cta-band { padding-block: 40px; }
  .cta-banner { padding: 40px 24px; min-height: 0; gap: 26px; }
  .cta-banner__lead { font-size: var(--p1-size); line-height: var(--p1-lh); }
  .cta-banner .btn { width: 100%; }

  .why__grid { margin-top: 36px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .why-card { min-height: 0; padding: 20px 20px 18px; }
  .why-card .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
  .why-card__title { margin-top: 11px; font-size: 24px; line-height: 28px; }
  .why-card__text { margin-top: 12px; font-size: var(--p2-size); line-height: var(--p2-lh); }

  .industries__grid { margin-top: 30px; grid-template-columns: minmax(0, 200px); justify-content: center; gap: 18px; }
  .industry-card__name { font-size: 18px; line-height: 24px; }

  .proof__viewport { margin-top: 30px; }
  .proof-card { flex: 0 0 min(307px, calc(100vw - 68px)); }
  .proof__controls { margin-top: 28px; gap: 28px; }
  .proof-card__text { font-size: var(--p2-size); line-height: 26px; }

  .contact__grid { gap: 28px; }
  .contact__title { margin-top: 15px; max-width: none; }
  .contact__lead { margin-top: 18px; max-width: none; font-size: var(--p1-size); line-height: var(--p1-lh); }
  .contact__presence-title { margin-top: 22px; font-size: 24px; line-height: 28px; }
  .contact__address { margin-top: 12px; max-width: none; font-size: var(--p1-size); line-height: 24px; }
  .contact-form { padding: 28px 22px; }

  .site-footer { padding-block: 40px 42px; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); row-gap: 35px; }
  .footer-col,
  .footer-contact { padding-top: 0; }
  .site-footer__bar { margin-top: 36px; flex-direction: column; gap: 10px; font-size: var(--p2-size); line-height: var(--p2-lh); }
  .footer-brand__text { margin-top: 24px; max-width: none; font-size: var(--p1-size); line-height: var(--p1-lh); }
  .footer-contact address { gap: 21px; font-size: var(--p1-size); line-height: var(--p1-lh); }
  .footer-col__title { margin-bottom: 21px; font-size: 20px; line-height: 24px; }
  .proof-card__name { font-size: 20px; line-height: 24px; }
}

@media (max-width: 374.98px) {
  .hero__actions { flex-wrap: wrap; gap: 12px; }
  .hero__actions .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   20. Accessibility & motion
   -------------------------------------------------------------------------- */
:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--color-blue-1);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* The marquee is driven by JS, so it keeps running; the pause control is
     always available. Only the no-JS fallback keyframe is re-asserted here so
     the blanket reset above cannot collapse it to 0.01ms. */
  .clients__marquee.is-css-driven {
    animation-duration: var(--marquee-duration, 45s) !important;
    animation-iteration-count: infinite !important;
  }
  .clients__viewport { scrollbar-width: none; -ms-overflow-style: none; }
  .clients__viewport::-webkit-scrollbar { display: none; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
