/* ============================================================
   GPRO Valve Sdn Bhd — Static Homepage
   Visual system matched 1:1 to fastestinc.com (measured live):
   - white utility bar (52px) + red nav bar (82px, white condensed menu)
   - hero: bg image, solid skewed scrim panel (57% w, skewX(-25deg),
     rgba(0,0,0,.5), origin top right), 160px v-padding, h1 50/60
   - body PT Sans stack 16/1.75 · headings condensed 700
   - cards: 1px #cecece border + 0 4px 12px shadow, dark title band
   - footer #cecece with bold red links
   Accent = GPRO red #ea1219 (FasTest uses #de1a25).
   Sections: variables / reset / global / header / hero / product
   categories / industries / about / services / brands / insights /
   CTA / footer / floating contacts / modal / search / responsive
============================================================ */

/* ------------------------------------------------------------
   1. VARIABLES
------------------------------------------------------------ */
:root {
  /* content width system — one unified width everywhere (products = nav = sections) */
  --container-content: 1440px;
  --container-wide: 1440px;
  --container-pad: 24px;

  /* GPRO brand palette (accent = GPRO red, ~= FasTest #de1a25) */
  --red: #ea1219;
  --red-dark: #b60e13;
  --charcoal: #302e2e;
  --charcoal-dark: #242222;
  --body-text: #302e2e;
  --text-soft: #555252;

  /* surfaces (FasTest gray system) */
  --gray-border: #cecece;
  --gray-border-soft: #e0e0e2;
  --gray-bg: #f3f3f5;
  --gray-bg-alt: #e8e8eb;

  /* type (FasTest: Acumin Pro Condensed + PT Sans, local stacks) */
  --font-head: 'Acumin Pro Condensed', 'AvenirNextCondensed-DemiBold', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'PT Sans', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* rhythm — only the red menu bar stays pinned (82px); topbar (52px) scrolls away */
  --section-pad: 88px;
  --header-h: 82px;
  --topbar-h: 52px;

  --shadow-card: 0 4px 12px 0 rgba(48, 46, 46, 0.15);
  --shadow-pop: 0 10px 30px 0 rgba(36, 34, 34, 0.22);
}


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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scroll-behavior: smooth;
  overflow-x: clip; /* full-bleed bands use 50vw; clip kills scrollbar overflow without breaking sticky */
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--body-text);
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* full-bleed bands use 50vw; clip kills scrollbar overflow without breaking sticky */
}

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

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, address {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--red);
}

button {
  font-family: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.icon {
  display: inline-block;
  vertical-align: middle;
}


/* ------------------------------------------------------------
   3. GLOBAL — containers, section heads, buttons
------------------------------------------------------------ */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container--content {
  max-width: var(--container-content);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--section-pad) 0;
}

.section--gray {
  background: var(--gray-bg);
}

.section-head {
  max-width: 820px;
  margin-bottom: 46px;
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head__eyebrow {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.section-head__title {
  font-family: var(--font-head);
  font-size: 30px;           /* FasTest h2 = 30/36 */
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 14px;
}

.section-head__lead {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.75;
}

.section-cta {
  margin-top: 44px;
  text-align: center;
}

/* Buttons — FasTest exact: condensed 16px/700 uppercase, 14px 40px, square */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 40px;
  border: 0;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--outline-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--red);
}

.btn--white:hover {
  background: var(--gray-bg);
  color: var(--red-dark);
}

/* nav RFQ button: red background, white text */
.btn--nav {
  padding: 11px 24px;
  font-size: 14px;
}

.btn--block {
  display: block;
  width: 100%;
}


/* ------------------------------------------------------------
   4. HEADER — white utility bar 52px scrolls away, red nav bar 82px
   stays pinned: the whole header sticks with a negative offset so
   only the menu bar remains visible after the topbar scrolls off.
------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: calc(-1 * var(--topbar-h));
  z-index: 1000;
  background: #fff;
}

/* shadow lands on the pinned menu bar once the page is scrolled */
.site-header.is-scrolled .navbar {
  box-shadow: 0 3px 14px rgba(36, 34, 34, 0.18);
}

/* utility top bar — gray background, fixed 52px, small links */
.topbar {
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-border-soft);
  font-size: 14px;
  height: var(--topbar-h);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topbar__contact a {
  color: var(--charcoal);
  font-weight: 700;
  white-space: nowrap;
}

.topbar__contact a:hover {
  color: var(--red);
}

.topbar__divider {
  width: 1px;
  height: 12px;
  background: var(--gray-border);
}

/* social icons, right-aligned */
.topbar__social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--charcoal);
  border: 1px solid var(--gray-border);
  border-radius: 3px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.topbar__social a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

/* nav bar — white background, charcoal text, red accents */
.navbar {
  background: #fff;
  border-bottom: 3px solid var(--red);
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  height: 44px;
  width: auto;
}

.main-nav {
  margin-left: auto;
}

.main-nav__list {
  display: flex;
  align-items: stretch;
}

.main-nav__item {
  position: relative;
}

/* menu links: charcoal on white, red hover with red underline */
.main-nav__link {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.9;
  padding: 10px 15px;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}

.main-nav__item:hover > .main-nav__link,
.main-nav__item:focus-within > .main-nav__link,
.main-nav__item.is-open > .main-nav__link,
.main-nav__link.is-current {
  color: var(--red);
}

.main-nav__item:hover > .main-nav__link::after,
.main-nav__item:focus-within > .main-nav__link::after,
.main-nav__item.is-open > .main-nav__link::after,
.main-nav__link.is-current::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* search toggle — charcoal icon on white, red hover */
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--charcoal);
  transition: color 0.18s ease;
}

.search-toggle:hover {
  color: var(--red);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 0;
}

.nav-burger__bar {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--charcoal);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger[aria-expanded="true"] .nav-burger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] .nav-burger__bar:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] .nav-burger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* About dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-card);
  padding: 8px 0;
  z-index: 60;
}

.dropdown a {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  padding: 9px 18px;
}

.dropdown a:hover {
  color: var(--red);
  background: var(--gray-bg);
}

/* open states: hover/focus on precise pointers, .is-open toggled by JS on touch */
@media (min-width: 1025px) {
  .main-nav__item--dropdown:hover > .dropdown,
  .main-nav__item--dropdown:focus-within > .dropdown {
    display: block;
  }
}

.main-nav__item--dropdown.is-open > .dropdown {
  display: block;
}

/* PRODUCTS MEGA MENU — text only, 6 per row, hidden by default */
.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1440px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-pop);
  z-index: 55;
}

.mega__inner {
  padding: 26px 30px 18px;
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0 26px;
}

.mega__cell {
  border-top: 1px solid var(--gray-border-soft);
  padding: 10px 0 12px;
}

.mega__cell > a {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--charcoal);
  line-height: 1.3;
  padding: 3px 0;
}

.mega__cell > a:hover {
  color: var(--red);
}

.mega__sub {
  margin-top: 4px;
}

.mega__sub a {
  display: block;
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.45;
  padding: 2px 0 2px 10px;
  border-left: 2px solid var(--gray-border-soft);
}

.mega__sub a:hover {
  color: var(--red);
  border-left-color: var(--red);
}

.mega__footer {
  border-top: 1px solid var(--gray-border-soft);
  margin-top: 8px;
  padding-top: 12px;
  text-align: right;
}

.mega__all {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
}

.mega__all:hover {
  color: var(--red-dark);
}

@media (min-width: 1025px) {
  .main-nav__item--mega:hover > .mega,
  .main-nav__item--mega:focus-within > .mega {
    display: block;
  }
}

.main-nav__item--mega.is-open > .mega {
  display: block;
}

/* mobile nav panel */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: #fff;
  border-top: 4px solid var(--red);
  box-shadow: 0 18px 30px rgba(36, 34, 34, 0.18);
  padding: 14px var(--container-pad) 22px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav__search input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--gray-border);
  background: var(--gray-bg);
}

.mobile-nav__list {
  margin-top: 10px;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--gray-border-soft);
}

.mobile-nav__link,
.mobile-nav__accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  padding: 14px 2px;
  text-align: left;
}

.mobile-nav__accordion .mobile-nav__chevron {
  display: inline-block;
  font-size: 20px;
  line-height: 1;
  color: var(--red);
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.mobile-nav__accordion[aria-expanded="true"] .mobile-nav__chevron {
  transform: rotate(-90deg);
}

.mobile-nav__submenu {
  display: none;
  padding: 2px 0 12px 14px;
  border-left: 2px solid var(--gray-border);
  margin-left: 2px;
}

.mobile-nav__submenu.is-open {
  display: block;
}

.mobile-nav__submenu a {
  display: block;
  font-size: 14.5px;
  color: var(--text-soft);
  padding: 6px 0;
}

.mobile-nav__submenu a:hover {
  color: var(--red);
}

.mobile-nav__all {
  font-weight: 700;
  color: var(--red) !important;
  text-transform: uppercase;
  font-size: 13.5px !important;
  letter-spacing: 0.05em;
}

.mobile-nav__cta {
  margin-top: 18px;
}

/* mobile nav RFQ button: solid red on white panel */
.mobile-nav__cta .btn--nav {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.mobile-nav__cta .btn--nav:hover {
  background: var(--red-dark);
  color: #fff;
}


/* ------------------------------------------------------------
   5. SEARCH PANEL (hidden by default, toggled by JS)
------------------------------------------------------------ */
.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 18px 30px rgba(36, 34, 34, 0.15);
  padding: 24px 0 28px;
}

.search-panel.is-open {
  display: block;
}

.search-panel__form {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-panel__form .icon {
  color: var(--red);
  flex-shrink: 0;
}

.search-panel__input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 18px;
  padding: 11px 4px;
  border: 0;
  border-bottom: 2px solid var(--gray-border);
  background: transparent;
}

.search-panel__input:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.search-panel__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  color: var(--charcoal);
  flex-shrink: 0;
}

.search-panel__close:hover {
  color: var(--red);
}


/* ------------------------------------------------------------
   6. HERO SLIDER — FasTest .video-hero pattern
------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-dark);
}

.hero__track {
  position: relative;
}

.hero__slide {
  position: relative;
  display: none;
}

.hero__slide.is-active {
  display: block;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* FasTest scrim: solid rgba(0,0,0,.5), 57% width, skewX(-25deg),
   origin top right — copied verbatim from their compiled CSS */
.hero__scrim {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 57%;
  background: rgba(0, 0, 0, 0.5);
  transform: skewX(-25deg);
  transform-origin: 100% 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  max-width: 700px;
  padding-top: 160px;      /* FasTest hero vertical padding */
  padding-bottom: 176px;
}

.hero__eyebrow {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: 50px;         /* FasTest h1 = 50/60 */
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  padding-bottom: 15px;
  margin-bottom: 0;
}

.hero__text {
  font-family: var(--font-body);
  font-size: 24px;         /* FasTest hero p = 24/42 */
  line-height: 1.75;
  color: #fff;
  margin-bottom: 30px;
  max-width: 660px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(36, 34, 34, 0.55);
  border: 0;
  color: #fff;
  transition: background 0.18s ease;
}

.hero__arrow:hover {
  background: var(--red);
}

.hero__arrow--prev {
  left: 18px;
}

.hero__arrow--next {
  right: 18px;
}

/* pagination */
.hero__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero__dot {
  width: 34px;
  height: 5px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  transition: background 0.18s ease;
}

.hero__dot.is-active {
  background: #fff;
}


/* ------------------------------------------------------------
   7. PRODUCT CATEGORY — FasTest card: white, #cecece border,
      shadow, square image, dark title band + red underline
------------------------------------------------------------ */
.products {
  padding: 90px 0 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cat-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 20px 0 rgba(48, 46, 46, 0.2);
}

.cat-card__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: #fff;
}

.cat-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* dark title band — FasTest .card .content: white condensed text + red bar */
.cat-card__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-height: 84px;
  background: var(--charcoal);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  padding: 14px 14px;
}

/* red underline bar under the title (FasTest .title:after, 208/266 ≈ 78%) */
.cat-card__title::after {
  content: '';
  display: block;
  width: 78%;
  height: 4px;
  background: var(--red);
  margin-top: 8px;
}

.cat-card__more {
  display: none; /* FasTest cards carry no extra link label */
}


/* ------------------------------------------------------------
   8. INDUSTRIES — same card family as products
------------------------------------------------------------ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.ind-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-card);
  color: var(--charcoal);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ind-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 20px 0 rgba(48, 46, 46, 0.2);
  color: var(--charcoal);
}

.ind-card__figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ind-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ind-card:hover .ind-card__figure img {
  transform: scale(1.04);
}

.ind-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 22px 24px;
}

.ind-card__title {
  font-family: var(--font-head);
  font-size: 24px;          /* FasTest h3 = 24 */
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 8px;
  padding-bottom: 10px;
  position: relative;
}

.ind-card__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--red);
}

.ind-card__text {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
  flex-grow: 1;
}

.ind-card__more {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 14px;
}


/* ------------------------------------------------------------
   9. ABOUT / WHY GPRO
------------------------------------------------------------ */
.about__split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 60px;
  align-items: center;
}

.about__content .section-head__title {
  margin-bottom: 18px;
}

.about__content p {
  margin-bottom: 16px;
  color: var(--text-soft);
}

.about__actions {
  margin-top: 26px;
}

.about__figure {
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid var(--gray-border);
}

.about__figure img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Why GPRO — full-bleed dark band (FasTest "Why FasTest" section),
   inner content aligned to the unified 1440px container */
.why-gpro {
  margin-top: 88px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--charcoal);
  padding: 76px max(24px, calc(50vw - 720px));
}

.why-gpro__title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 40px;
  max-width: 640px;
}

.why-gpro__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.why-point {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 16px;
}

.why-point__num {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 8px;
}

.why-point__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 6px;
}

.why-point__text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}


/* ------------------------------------------------------------
   10. SERVICES — full-width image background, content overlay,
      6 items in a 2x3 bordered grid on top of the image
------------------------------------------------------------ */
.services {
  position: relative;
  padding: 90px 0;
  background: var(--charcoal-dark);
  overflow: hidden;
}

.services__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 24, 26, 0.86) 0%, rgba(22, 24, 26, 0.74) 55%, rgba(22, 24, 26, 0.88) 100%);
}

.services__inner {
  position: relative;
  z-index: 2;
}

.services__head {
  max-width: 760px;
  margin-bottom: 42px;
}

.services__eyebrow {
  color: #ff5a60;
}

.services__title {
  color: #fff;
}

.services__lead {
  color: rgba(255, 255, 255, 0.78);
}

/* 2 rows x 3 columns; gap shows as hairlines via the grid's own background */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.service-cell {
  background: rgba(26, 28, 30, 0.82);
  padding: 28px 26px 26px;
}

.service-cell__num {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  filter: brightness(1.25);
  margin-bottom: 8px;
}

.service-cell__title {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 6px;
}

.service-cell__text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}


/* ------------------------------------------------------------
   11. BRANDS — clean static logo row (no marquee)
------------------------------------------------------------ */
.brands {
  padding: 76px 0;
}

.brands-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 30px 0;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 12px;
}

.brand-item img {
  max-height: 58px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.brand-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}


/* ------------------------------------------------------------
   12. INSIGHTS — article cards (reused on archive later)
------------------------------------------------------------ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-card);
  color: var(--charcoal);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.article-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 20px 0 rgba(48, 46, 46, 0.2);
  color: var(--charcoal);
}

.article-card__figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-border-soft);
  background: #fff;
}

.article-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card__figure img {
  transform: scale(1.03);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px 22px 22px;
}

.article-card__date {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.article-card__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
  margin-bottom: 8px;
  flex-grow: 1;
}

.article-card__text {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 14px;
}

.article-card__more {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}


/* ------------------------------------------------------------
   13. BOTTOM 3-COLUMN CTA — FasTest pre-footer: light / dark / dark
------------------------------------------------------------ */
.cta-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cta-col {
  padding: 50px 44px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cta-col__title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-col__text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.cta-col--light {
  background: var(--gray-bg-alt);
  color: var(--charcoal);
}

.cta-col--light .cta-col__title {
  color: var(--charcoal);
}

/* middle + right columns: FasTest dark pre-footer panels */
.cta-col--red {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.75);
}

.cta-col--red .cta-col__title {
  color: #fff;
}

.cta-col--dark {
  background: var(--charcoal-dark);
  color: rgba(255, 255, 255, 0.75);
}

.cta-col--dark .cta-col__title {
  color: #fff;
}


/* ------------------------------------------------------------
   14. FOOTER — FasTest: #cecece bg, 30px pad, bold red links
------------------------------------------------------------ */
.site-footer {
  background: var(--gray-border);
  border-top: 4px solid var(--red);
  padding: 50px 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2.1fr 1.6fr 1.2fr 1.7fr;
  gap: 44px;
  padding-bottom: 42px;
}

.site-footer__logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 18px;
}

.site-footer__logo img {
  height: 44px;
  width: auto;
}

.site-footer__text {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 340px;
}

.site-footer__heading {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

/* footer links match heading color; hover slides right and turns red */
.site-footer__links li {
  margin-bottom: 8px;
}

.site-footer__links a {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  transition: color 0.18s ease, transform 0.18s ease;
}

.site-footer__links a:hover {
  color: var(--red);
  transform: translateX(4px);
}

.site-footer__all {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13.5px !important;
  letter-spacing: 0.05em;
}

.site-footer__address {
  font-style: normal;
  font-size: 14.5px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 14px;
}

.site-footer__bottom {
  border-top: 1px solid #b8b8b8;
  padding: 18px 0;
}

.site-footer__copy {
  font-size: 13.5px;
  color: var(--text-soft);
}


/* ------------------------------------------------------------
   15. FLOATING CONTACT TOOLS
------------------------------------------------------------ */
.float-tools {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
}

.float-tools__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-tool {
  position: relative;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: var(--charcoal);
  color: #fff;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(36, 34, 34, 0.28);
  transition: background-color 0.18s ease;
}

.float-btn:hover {
  background: var(--red);
  color: #fff;
}

.float-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

.float-btn--top {
  background: #6d6a6a;
}

.float-btn--top:hover {
  background: var(--red);
}

/* hover slide-out labels: contact detail slides left of each button */
.float-slideout {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(10px, -50%);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  color: var(--charcoal);
  border: 1px solid var(--gray-border);
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-card);
  border-radius: 3px;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.float-tool:hover .float-slideout,
.float-tool:focus-within .float-slideout,
.float-tool.is-open .float-slideout {
  opacity: 1;
  transform: translate(0, -50%);
}

.float-slideout--qr {
  padding: 10px;
}

.float-slideout__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border: 2px dashed var(--gray-border);
  background: var(--gray-bg);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9e9ea1;
  text-align: center;
  line-height: 1.5;
}

/* mobile bottom contact bar */
.mobile-contact-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-contact-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 58px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  padding: 0;
}

.mobile-contact-bar__item:hover,
.mobile-contact-bar__item:active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-contact-bar__item .icon {
  width: 20px;
  height: 20px;
}


/* ------------------------------------------------------------
   16. RFQ MODAL (single reusable modal, hidden by default)
------------------------------------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 22, 22, 0.62);
}

.modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-pop);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  color: var(--charcoal);
  z-index: 2;
}

.modal__close:hover {
  color: var(--red);
}

.modal__body {
  padding: 34px 38px 38px;
}

.modal__eyebrow {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.modal__title {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 8px;
}

.modal__lead {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.rfq-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.rfq-field {
  margin-bottom: 16px;
  min-width: 0;
}

.rfq-field--file {
  margin-bottom: 6px;
}

.rfq-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.rfq-field__req {
  color: var(--red);
}

.rfq-field__hint {
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #9e9ea1;
  font-size: 13px;
}

.rfq-field input,
.rfq-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  padding: 10px 12px;
  border: 1px solid var(--gray-border);
  background: var(--gray-bg);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.rfq-field input:focus,
.rfq-field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}

.rfq-field input[type="file"] {
  padding: 8px 10px;
  background: var(--gray-bg);
}

.rfq-field textarea {
  resize: vertical;
}

.rfq-field input.is-invalid,
.rfq-field textarea.is-invalid {
  border-color: var(--red);
  background: #fffafa;
}

.rfq-form__error {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 14px;
}

.rfq-form__success {
  font-size: 14.5px;
  color: #2e7d32;
  background: #eef7ef;
  border: 1px solid #bcd9be;
  border-left: 4px solid #2e7d32;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.rfq-form__actions {
  margin-top: 6px;
}


/* ------------------------------------------------------------
   17. RESPONSIVE
------------------------------------------------------------ */

/* ≤1240 : tighten nav + hero */
@media (max-width: 1240px) {
  .main-nav__link {
    padding: 10px 11px;
    font-size: 16px;
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__text {
    font-size: 21px;
  }
}

/* ≤1024 : catalog 4 cols, layouts compress */
@media (max-width: 1024px) {
  :root {
    --header-h: 124px;
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__split,
  .services__split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__figure img {
    aspect-ratio: 16 / 9;
  }

  .why-gpro {
    margin-top: 64px;
    padding: 60px max(24px, calc(50vw - 472px));
  }

  /* services grid: 3x2 → 2x3 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-gpro__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 30px;
  }

  .brands-row {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .cta-col {
    padding: 40px 32px;
  }
}

/* ≤900 : mega menu goes 4 cols while nav still visible */
@media (max-width: 900px) {
  .mega__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ≤768 : mobile nav, stacked sections, mobile contact bar */
@media (max-width: 768px) {
  :root {
    --header-h: 120px;
    --section-pad: 60px;
    --container-pad: 20px;
  }

  body {
    padding-bottom: 58px; /* keep content clear of the mobile contact bar */
  }

  .main-nav,
  .nav-actions .btn--nav {
    display: none;
  }

  /* mobile: search + burger icons grouped to the right edge */
  .nav-actions {
    margin-left: auto;
  }

  .nav-burger {
    display: flex;
  }

  .navbar .container {
    min-height: 68px;
    gap: 14px;
  }

  .brand {
    padding: 6px 12px;
  }

  .brand img {
    height: 32px;
  }

  .topbar .container {
    min-height: 44px;
    height: auto;
  }

  .topbar__social {
    gap: 6px;
  }

  .topbar__social a {
    width: 26px;
    height: 26px;
  }

  /* hero: shorter, no skew, stacked controls */
  .hero__slide {
    min-height: 440px;
  }

  .hero__scrim {
    left: 0;
    right: 0;
    width: auto;
    transform: none;
    background: linear-gradient(180deg, rgba(18, 20, 24, 0.3) 0%, rgba(18, 20, 24, 0.62) 60%, rgba(18, 20, 24, 0.84) 100%);
  }

  .hero__content {
    justify-content: flex-end;
    min-height: 440px;
    padding-top: 48px;
    padding-bottom: 96px; /* independent space above pagination */
  }

  .hero__title {
    font-size: 32px;
    padding-bottom: 10px;
  }

  .hero__text {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .hero__eyebrow {
    font-size: 12.5px;
  }

  .hero__buttons .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero__arrow {
    display: none;
  }

  .hero__pagination {
    bottom: 30px;
  }

  .industries-grid,
  .insights-grid,
  .why-gpro__grid {
    grid-template-columns: 1fr;
  }

  /* services grid: single column on phones */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services {
    padding: 64px 0;
  }

  .services__head {
    margin-bottom: 32px;
  }

  .why-gpro {
    margin-top: 52px;
    padding: 48px var(--container-pad);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .brands-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band__grid {
    grid-template-columns: 1fr;
  }

  .cta-col {
    min-height: 0;
    padding: 32px 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }

  .float-tools {
    display: none; /* desktop toolbar off, mobile bar takes over */
  }

  .mobile-contact-bar {
    display: flex;
  }

  .modal__body {
    padding: 26px 22px 28px;
  }

  .rfq-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .search-panel__form .btn {
    display: none;
  }
}

/* ≤560 : small phones */
@media (max-width: 560px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cat-card__figure {
    padding: 12px;
  }

  .cat-card__title {
    font-size: 15px;
    min-height: 76px;
    padding: 10px 8px;
  }

  .brands-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-item img {
    max-height: 48px;
  }

  .section-head__title {
    font-size: 26px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__text {
    font-size: 15px;
  }

  .topbar__contact a[href^="mailto"] {
    display: none;
  }
}

/* ≤359 : single column catalog */
@media (max-width: 359px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ------------------------------------------------------------
   18. INNER PAGES — compact hero, contact, insights archive,
       article detail. Reuses the homepage design system only.
------------------------------------------------------------ */

/* compact inner-page hero (contact / insights) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-dark);
}

/* full-width darkening so the copy stays readable at full page width */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 21, 0.52);
  z-index: 1;
}

.page-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* copy width matches the navbar content container (unified 1440px) */
.page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.page-hero__eyebrow {
  color: #ff5a60;
}

.page-hero__title {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
}

.page-hero__text {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* breadcrumb bar directly below the banner */
.page-bar {
  background: #fff;
  border-bottom: 1px solid var(--gray-border-soft);
}

.page-bar .breadcrumb {
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 0;
}

.breadcrumb {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--charcoal);
}

.breadcrumb a:hover {
  color: var(--red);
}

.breadcrumb span {
  margin: 0 8px;
  color: #9e9ea1;
}

/* keep the skewed scrim layer above the full-width darkening */
.page-hero .hero__scrim {
  z-index: 1;
}

/* article header (light, on white) */
.article-header {
  padding: 64px 0 0;
}

.article-header__category {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.article-header__title {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  max-width: 860px;
  margin-bottom: 12px;
}

.article-header__meta {
  font-size: 14.5px;
  color: var(--text-soft);
}

/* ---------- CONTACT ---------- */
.contact-main__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0 56px;
}

.contact-info__title,
.contact-form-wrap__title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 12px;
}

.contact-info__lead,
.contact-form-wrap__lead {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 26px;
}

.contact-info__list {
  border-top: 1px solid var(--gray-border);
  margin-bottom: 28px;
}

.contact-info__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-border);
}

.contact-info__row dt {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-top: 2px;
}

.contact-info__row dd {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.6;
}

.contact-info__row dd a {
  font-weight: 700;
  color: var(--red);
}

.contact-info__row dd a:hover {
  color: var(--red-dark);
}

.contact-info__quote {
  background: var(--gray-bg);
  border-left: 4px solid var(--red);
  padding: 20px 22px;
}

.contact-info__quote-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.contact-info__quote-text {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.contact-form-wrap {
  border-left: 1px solid var(--gray-border);
  padding-left: 56px;
  min-width: 0;
}

/* contact options — thin dividers, no round cards */
.contact-options__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.option-item {
  border-top: 2px solid var(--charcoal);
  padding-top: 18px;
}

.option-item__icon {
  color: var(--red);
  margin-bottom: 12px;
}

.option-item__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.option-item__text {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}

.option-item__link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.option-item__link:hover {
  color: var(--red-dark);
}

/* map placeholder */
.map-placeholder {
  border: 1px solid var(--gray-border);
  background: var(--gray-bg);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 24px;
  text-align: center;
}

.map-placeholder__icon {
  color: #9e9ea1;
  margin-bottom: 8px;
}

.map-placeholder__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
}

.map-placeholder__text {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 460px;
}

.map-placeholder__note {
  font-size: 12.5px;
  color: #9e9ea1;
  margin-top: 10px;
}

/* ---------- INSIGHTS ARCHIVE ---------- */
.featured-article__link {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 48px;
  align-items: center;
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 48px;
}

.featured-article__figure {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--gray-border);
}

.featured-article__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-article__link:hover .featured-article__figure img {
  transform: scale(1.03);
}

.featured-article__title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
  margin-bottom: 12px;
}

.featured-article__excerpt {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* filter tabs — text tabs with underline */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.filter-tabs__tab {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 6px 2px;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.filter-tabs__tab:hover {
  color: var(--charcoal);
}

.filter-tabs__tab.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.insights-empty {
  text-align: center;
  font-size: 15px;
  color: var(--text-soft);
  padding: 30px 0;
}

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--gray-border);
  background: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

a.pagination__item:hover {
  border-color: var(--red);
  color: var(--red);
}

.pagination__item.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.pagination__item--disabled {
  color: #b6b6b8;
  cursor: default;
}

/* insights page CTA */
.insights-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 2px solid var(--charcoal);
  padding-top: 40px;
}

.insights-cta__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- ARTICLE DETAIL ---------- */
.article-body {
  padding: 48px 0 88px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 48px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-main__figure {
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid var(--gray-border);
}

.article-main__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* readable measure: ~65-80 characters per line */
.article-content {
  max-width: 720px;
}

.article-content > * {
  scroll-margin-top: 110px;
}

.article-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #3d3b3b;
  margin-bottom: 18px;
}

.article-content h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  border-left: 4px solid var(--red);
  padding-left: 14px;
  margin: 36px 0 14px;
}

.article-content h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 24px 0 10px;
}

.article-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}

.article-content li {
  font-size: 15.5px;
  line-height: 1.75;
  color: #3d3b3b;
  margin-bottom: 8px;
}

.article-content a {
  color: var(--red);
  text-decoration: underline;
}

.article-content a:hover {
  color: var(--red-dark);
}

.article-content blockquote {
  border-left: 4px solid var(--charcoal);
  background: var(--gray-bg);
  padding: 16px 22px;
  margin: 26px 0;
}

.article-content blockquote p {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 0 0 18px;
}

.article-content table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  border-top: 2px solid var(--charcoal);
}

.article-content th {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--charcoal);
  padding: 10px 12px;
  border-bottom: 2px solid var(--charcoal);
}

.article-content td {
  font-size: 14.5px;
  color: #3d3b3b;
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-border);
}

/* sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-width: 0;
}

.article-toc__title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--charcoal);
  margin-bottom: 8px;
}

.article-toc__list {
  margin-bottom: 28px;
}

.article-toc__list a {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.45;
  padding: 8px 0 8px 12px;
  border-bottom: 1px solid var(--gray-border-soft);
  border-left: 3px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.article-toc__list a:hover {
  color: var(--red);
}

.article-toc__list a.is-active {
  color: var(--red);
  font-weight: 700;
  border-left-color: var(--red);
}

.sidebar-cta {
  background: var(--charcoal);
  padding: 24px 22px;
}

.sidebar-cta__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 8px;
}

.sidebar-cta__text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 18px;
}

.sidebar-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-cta__buttons .btn {
  padding: 11px 18px;
  font-size: 14px;
}

.sidebar-cta__buttons .btn--outline {
  border-color: #fff;
  color: #fff;
}

.sidebar-cta__buttons .btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
}

/* mobile TOC — shown below 900px, above the article content */
.article-toc-mobile {
  display: none;
  margin-bottom: 28px;
}

.article-toc-mobile__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--gray-border);
  border-left: 4px solid var(--red);
  padding: 13px 16px;
}

.article-toc-mobile__toggle[aria-expanded="true"] {
  border-bottom: 0;
}

.article-toc-mobile .article-toc__list {
  border: 1px solid var(--gray-border);
  border-top: 0;
  padding: 4px 16px 10px;
  margin-bottom: 0;
}

/* related insights + article pagination */
.related-insights {
  margin-top: 56px;
  border-top: 1px solid var(--gray-border);
  padding-top: 40px;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}

.article-nav__item {
  border: 1px solid var(--gray-border);
  padding: 16px 18px;
  transition: border-color 0.18s ease;
}

.article-nav__item:hover {
  border-color: var(--red);
}

.article-nav__item--next {
  text-align: right;
}

.article-nav__label {
  display: block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.article-nav__title {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--charcoal);
}

/* current page marker in nav */
.main-nav__link.is-current::after {
  transform: scaleX(1);
}

.dropdown a.is-current {
  color: var(--red);
}

/* ---------- SERVICES PAGE — numbered editorial rows ---------- */
.svc-list {
  border-top: 1px solid var(--gray-border);
}

.svc-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-border);
}

.svc-item__num {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
  padding-top: 2px;
}

.svc-item__title {
  font-family: var(--font-head);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
  margin-bottom: 8px;
}

.svc-item__text {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 780px;
}

/* ---------- ABOUT PAGE — mission/vision/values + certifications ---------- */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 44px;
  margin-bottom: 56px;
}

.mvv-item {
  border-top: 2px solid var(--charcoal);
  padding-top: 16px;
}

.mvv-item__label {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.mvv-item__text {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
}

.cert-block {
  border-top: 1px solid var(--gray-border);
  padding-top: 32px;
}

.cert-block__title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.cert-block__text {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.cert-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-chips li {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  border: 1px solid var(--gray-border);
  background: #fff;
  padding: 8px 16px;
}

/* about page: why band sits inside a normal section, keep band full-bleed */
.about-why {
  padding-top: 0;
}

/* ---------- PRODUCTS PAGE ---------- */
.portfolio-intro__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.portfolio-intro__grid .section-head__title {
  margin-bottom: 0;
}

.portfolio-intro__copy p {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

.portfolio-intro__copy p:last-child {
  margin-bottom: 0;
}

/* finder — restrained industrial filter bar */
.finder {
  border: 1px solid var(--gray-border);
  background: #fff;
  padding: 22px 24px;
}

.finder__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto;
  gap: 0 18px;
  align-items: end;
}

.finder--bar .finder__grid {
  grid-template-columns: 1fr 1fr auto;
}

.finder__search input {
  background: var(--gray-bg);
}

.finder__note {
  font-size: 12.5px;
  color: #9e9ea1;
  margin-top: 12px;
}

/* selection steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 32px;
}

.step-item {
  border-top: 2px solid var(--charcoal);
  padding-top: 14px;
}

.step-item__num {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 6px;
}

.step-item__title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 5px;
}

.step-item__text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* automation feature split */
.automation-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.automation-feature__figure {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--gray-border);
}

.automation-feature__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.automation-feature__content ul {
  list-style: none;
  margin: 16px 0 24px;
}

.automation-feature__content li {
  font-size: 15px;
  color: var(--text-soft);
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid var(--gray-border-soft);
  position: relative;
}

.automation-feature__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: translateY(-50%);
}

/* industry detail — application/system area list */
.area-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 0 11px 18px;
}

/* industry detail: typical applications — 3 per row x 2 rows (6 items) */
.industry-applications .steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .industry-applications .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industry-applications .steps-grid {
    grid-template-columns: 1fr;
  }
}

.area-list li strong {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--charcoal);
}

/* featured / product cards */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-card);
  padding-bottom: 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.prod-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 20px 0 rgba(48, 46, 46, 0.2);
}

.prod-card__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 16px;
  background: #fff;
  border-bottom: 1px solid var(--gray-border-soft);
}

.prod-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prod-card__name {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal);
  padding: 14px 16px 0;
  min-height: 46px;
}

.prod-card__model {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 16px 0;
  line-height: 1.5;
  flex-grow: 1;
}

.prod-card__link {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  padding: 10px 16px 0;
}

/* FAQ accordion */
.faq-list {
  border-top: 1px solid var(--gray-border);
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  font-family: var(--font-head);
  font-size: 17.5px;
  font-weight: 700;
  text-align: left;
  color: var(--charcoal);
  background: transparent;
  border: 0;
  padding: 16px 2px;
}

.faq-item__q span {
  font-size: 20px;
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq-item__q[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.faq-item__q:hover {
  color: var(--red);
}

.faq-item__a {
  padding: 0 2px 18px;
}

.faq-item__a p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---------- PRODUCT CATEGORY ---------- */
.category-grid-section .filter-tabs {
  margin-bottom: 0;
}

.finder--bar {
  padding: 16px 20px;
  margin: 26px 0 34px;
  background: var(--gray-bg);
}

/* ---------- PRODUCT DETAIL ---------- */
.product-hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: start;
}

.product-gallery__main {
  border: 1px solid var(--gray-border);
  background: #fff;
  margin: 0 0 14px;
}

.product-gallery__main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 22px;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-gallery__thumb {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--gray-border);
  cursor: pointer;
  transition: border-color 0.18s ease;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
  border-color: var(--red);
}

.product-summary__category {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.product-summary__title {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  margin-bottom: 10px;
}

.product-summary__model {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.product-summary__intro {
  font-size: 15.5px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 22px;
}

.product-key-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 26px;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 20px 0;
  margin-bottom: 26px;
}

.key-spec dt {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9e9ea1;
  margin-bottom: 4px;
}

.key-spec dd {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

.product-summary__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* sticky anchor nav */
.product-anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 500;
  background: #fff;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
}

.product-anchor-nav__list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-anchor-nav__list a {
  display: block;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 13px 14px 11px;
  border-bottom: 3px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.product-anchor-nav__list a:hover {
  color: var(--charcoal);
}

.product-anchor-nav__list a.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.p-section {
  scroll-margin-top: calc(var(--header-h) + 62px);
}

/* data tables (product pages) */
.data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  border-top: 2px solid var(--charcoal);
}

.data-table th {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--charcoal);
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-border);
  width: 34%;
  vertical-align: top;
}

.data-table td {
  font-size: 14.5px;
  color: #3d3b3b;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-border);
  line-height: 1.6;
}

.data-table thead th {
  border-bottom: 2px solid var(--charcoal);
}

.materials-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}

.drawing-placeholder {
  border: 2px dashed var(--gray-border);
  background: #fff;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 30px 24px;
  text-align: center;
}

/* documents */
.doc-list {
  border-top: 1px solid var(--gray-border);
}

.doc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--gray-border);
}

.doc-row__icon {
  color: var(--red);
  font-size: 20px;
  line-height: 1;
}

.doc-row__name {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--charcoal);
  flex-grow: 1;
}

.doc-row__type {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9e9ea1;
  border: 1px solid var(--gray-border);
  padding: 4px 10px;
  white-space: nowrap;
}

.doc-row__status {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

/* ---------- PRODUCTS RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .finder__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .portfolio-intro__grid,
  .automation-feature__grid,
  .materials-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-key-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .finder__grid,
  .finder--bar .finder__grid {
    grid-template-columns: 1fr;
  }

  .finder__actions .btn {
    width: 100%;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .prod-card__name {
    font-size: 14.5px;
    min-height: 40px;
    padding: 10px 10px 0;
  }

  .prod-card__model {
    font-size: 12px;
    padding: 4px 10px 0;
  }

  .prod-card__link {
    font-size: 11.5px;
    padding: 8px 10px 0;
  }

  .prod-card__figure {
    padding: 10px;
  }

  .product-summary__title {
    font-size: 30px;
  }

  .product-key-specs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .featured-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- SYSTEM PAGES: Search Results / 404 / Thank You ---------- */
/* search results */
.search-page-head__title {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  margin-bottom: 8px;
  overflow-wrap: anywhere; /* long search terms wrap, never overflow */
}

.search-page-head__summary {
  font-size: 15.5px;
  color: var(--text-soft);
  margin-bottom: 26px;
}

.search-bar {
  display: flex;
  gap: 12px;
  max-width: 720px;
}

.search-bar__input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--gray-border);
  background: var(--gray-bg);
}

.search-bar__input:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}

.search-section .section-head--row {
  border-bottom: 2px solid var(--charcoal);
  padding-bottom: 14px;
  margin-bottom: 34px;
}

.result-count {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-soft);
}

.empty-state {
  border: 1px solid var(--gray-border);
  background: var(--gray-bg);
  text-align: center;
  padding: 56px 30px;
}

.empty-state .section-head__title {
  margin-bottom: 10px;
}

.empty-state .section-head__eyebrow {
  margin-bottom: 6px;
}

.empty-state__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* 404 */
.error-page__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: center;
}

.error-page .breadcrumb {
  margin-bottom: 18px;
}

.error-page__title {
  color: #111;
  margin-bottom: 12px;
}

.error-page__text {
  font-size: 16.5px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 520px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.error-page__alt {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-top: 18px;
}

.error-page__alt a {
  color: var(--red);
  text-decoration: underline;
}

.error-page__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 1px solid var(--gray-border);
  background: #fff;
  padding: 34px;
}

.error-page__visual img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
}

.quick-links li {
  border-right: 1px solid var(--gray-border);
}

.quick-links li:last-child {
  border-right: 0;
}

.quick-links a {
  display: block;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  padding: 10px 26px;
}

.quick-links a:hover {
  color: var(--red);
}

/* thank you */
.ty-page {
  padding: 96px 0 88px;
}

.ty-page__confirmation {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.ty-page__check {
  color: var(--red);
  margin-bottom: 18px;
}

.ty-page__title {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  margin-bottom: 14px;
}

.ty-page__text {
  font-size: 16.5px;
  color: var(--text-soft);
  line-height: 1.75;
}

.ty-page__next {
  border-top: 1px solid var(--gray-border);
  padding-top: 44px;
}

.ty-page__next .steps-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
}

.ty-page__note {
  border-top: 1px solid var(--gray-border);
  margin-top: 48px;
  padding-top: 36px;
  max-width: 760px;
}

.ty-page__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
}

.ty-page__alt {
  text-align: center;
  font-size: 14.5px;
  color: var(--text-soft);
  margin-top: 20px;
}

.ty-page__alt a {
  color: var(--red);
  text-decoration: underline;
}

/* ---------- SYSTEM PAGES RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .error-page__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ty-page__next .steps-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .search-bar {
    flex-direction: column;
  }

  .search-bar .btn {
    width: 100%;
  }

  .error-page__actions,
  .ty-page__actions,
  .empty-state__buttons {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .search-page-head__title {
    font-size: 28px;
  }

  .ty-page__title {
    font-size: 30px;
  }
}

/* ---------- INNER PAGES RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .contact-main__grid {
    grid-template-columns: 1fr;
    gap: 40px 0;
  }

  .contact-form-wrap {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--gray-border);
    padding-top: 40px;
  }

  .featured-article__link {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }

  .contact-options__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 899px) {
  /* article: single column; TOC becomes collapsible block above content */
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: none;
  }

  .article-toc-mobile {
    display: block;
  }

  .article-header__title {
    font-size: 31px;
  }

  .svc-item {
    grid-template-columns: 48px 1fr;
    gap: 0 16px;
    padding: 20px 0;
  }

  .svc-item__num {
    font-size: 19px;
  }

  .svc-item__title {
    font-size: 20px;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 44px;
  }
}

@media (max-width: 768px) {
  .page-hero__inner {
    min-height: 280px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .page-hero__title {
    font-size: 30px;
  }

  .page-hero__text {
    font-size: 15.5px;
  }

  .featured-article__title {
    font-size: 25px;
  }

  .contact-options__grid {
    grid-template-columns: 1fr;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-content h2 {
    font-size: 21px;
  }
}
