/* ==========================================================================
   ASHOK METAL & TUBE – Site Stylesheet
   --------------------------------------------------------------------------
   01. Design tokens
   02. Reset & base
   03. Shared components (container, headings, buttons)
   04. Top bar
   05. Header / navigation / dropdowns / mobile drawer
   06. Hero slider
   07. Assurance band
   08. About
   09. Materials
   10. Products
   11. Technical info
   12. Quality & inspection
   13. Contact
   14. Footer
   15. Floating buttons
   16. Responsive
   18. Inner pages – banner, breadcrumb, facts ribbon, SVG icons, CTA band
   19. About page
   20. Materials & grades page
   21. Certificates page
   22. Quality policy page
   23. Contact page
   24. Product pages (pipes & tubes, and the other product pages)
   25. 404 page
   17. Reduced motion (kept last)
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   Blue is taken from the logo; amber is the single accent colour.
   ========================================================================== */
:root {
  --blue:       #1D3B8B;
  --blue-dark:  #142A66;
  --navy:       #0D1A40;
  --blue-50:    #EEF2FB;
  --blue-100:   #DAE2F5;
  --amber:      #F5A623;
  --amber-dark: #DD8F10;

  --ink:    #151A26;   /* headings */
  --text:   #4D586F;   /* body copy */
  --muted:  #7A859B;
  --line:   #E2E7F0;
  --soft:   #F5F7FB;   /* light section background */
  --white:  #FFFFFF;
  --wa:     #1DA851;

  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --container: 1240px;
  --header-h:  80px;
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;

  --shadow-sm: 0 2px 8px rgba(21, 26, 38, .06);
  --shadow:    0 14px 34px rgba(21, 26, 38, .10);
  --shadow-lg: 0 26px 60px rgba(13, 26, 64, .22);
  --ease: cubic-bezier(.25, .8, .3, 1);
  --t:    .3s var(--ease);
}


/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* "clip" stops sideways scrolling without breaking the sticky header */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; font-weight: 600; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  padding: 10px 18px; border-radius: var(--r-sm);
  background: var(--blue); color: var(--white); font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Missing image fallback (class added by script.js) */
.img-missing {
  background-image:
    repeating-linear-gradient(135deg, rgba(29,59,139,.08) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #DDE2EC, #C7CFDD) !important;
}


/* ==========================================================================
   03. SHARED COMPONENTS
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.section       { position: relative; padding: 100px 0; }
.section--soft { background: var(--soft); }

/* Small label above section titles */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; padding: 6px 12px;
  border-radius: 4px;
  background: var(--blue-50); color: var(--blue);
  font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.kicker--light { background: rgba(255,255,255,.1); color: var(--white); }

.sec-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.01em; }
.sec-title em { font-style: normal; color: var(--blue); }

/* Section header: title on the left, intro text on the right */
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end; gap: 16px 70px;
  margin-bottom: 50px;
}
.sec-head--light .sec-title { color: var(--white); }
.sec-head--light > p { color: #C5CFE8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  border: 2px solid transparent; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.3;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t);
}
.btn i { transition: transform var(--t); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .fa-arrow-right { transform: translateX(4px); }
.btn--sm { padding: 10px 20px; font-size: .9rem; }

.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 12px 24px rgba(29,59,139,.28); }

.btn--accent { background: var(--amber); color: var(--navy); }
.btn--accent:hover { background: var(--amber-dark); box-shadow: 0 12px 24px rgba(245,166,35,.35); }

.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }

.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: #178F44; box-shadow: 0 12px 24px rgba(29,168,81,.3); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--blue);
  border-bottom: 2px solid var(--blue-100);
  padding-bottom: 2px;
  transition: border-color var(--t), color var(--t);
}
.text-link i { font-size: .85em; transition: transform var(--t); }
.text-link:hover { border-color: var(--amber); }
.text-link:hover i { transform: translateX(4px); }


/* ==========================================================================
   04. TOP BAR (non-sticky)
   ========================================================================== */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .84rem; color: var(--text); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar__tagline { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blue); }
.topbar__tagline::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.topbar__contact { display: flex; gap: 26px; }
.topbar__contact a { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__contact i { color: var(--blue); font-size: .8rem; }
.topbar__contact a:hover { color: var(--blue); }


/* ==========================================================================
   05. HEADER / NAVIGATION
   Smart sticky: JS toggles .is-hidden (slide up on scroll down) and
   .is-scrolled (shadow). No transform in the default state, so the fixed
   mobile drawer inside it is positioned relative to the viewport.
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow var(--t);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(21,26,38,.08); }
.site-header.is-hidden   { transform: translateY(-100%); }
/* While the drawer is open, lift the header (and its drawer) above the overlay */
body.nav-open .site-header { z-index: 1101; transform: none; }

.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex-shrink: 0; }
.brand img { height: 46px; width: auto; }

.main-nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; border-radius: var(--r-sm); transition: background var(--t); }
.nav__link {
  display: block; padding: 9px 14px;
  border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 500; font-size: .94rem;
  color: var(--ink); white-space: nowrap;
}
.nav__item:hover { background: var(--blue-50); }
.nav__item:hover .nav__link,
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active { font-weight: 600; box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }

.has-dropdown .nav__link { padding-right: 2px; }
.nav__toggle {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-right: 4px;
  font-size: .68rem; color: var(--muted);
  transition: transform var(--t), color var(--t);
}

/* ---------- Dropdown (desktop base) ---------- */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 270px; padding: 8px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
/* Two-column variant for the longer Products list */
.dropdown--wide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; min-width: 520px; }
/* Invisible hover bridge so the menu doesn't close in the gap */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: background var(--t), color var(--t);
}
.dropdown a i { width: 18px; text-align: center; color: var(--blue); font-size: .9rem; }
/* Product icons from the inline SVG sprite placed just after <body> on every page */
.dropdown a .dd-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--blue); }
.dropdown a:hover { background: var(--blue-50); color: var(--blue); }

.has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown.is-open > .nav__toggle { transform: rotate(180deg); color: var(--blue); }

.header__cta { flex-shrink: 0; }

/* ---------- Hamburger (hidden on desktop) ---------- */
.hamburger {
  display: none; flex-shrink: 0; position: relative;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--white);
}
.hamburger span {
  position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px;
  background: var(--blue);
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.is-active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Drawer-only elements are hidden on desktop */
.drawer__head,
.drawer__contact { display: none; }

.nav-overlay {
  position: fixed; inset: 0; z-index: 1099;
  background: rgba(13, 26, 64, .55);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.nav-overlay.is-visible { opacity: 1; visibility: visible; }


/* ==========================================================================
   06. HERO SLIDER
   Full-width photograph, white message card on the left, controls
   (counter · autoplay progress · arrows) bottom-right.
   ========================================================================== */
.hero { position: relative; background: var(--blue-dark); }
.hero-swiper { position: relative; }

.hero-slide {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  height: auto;
  min-height: clamp(540px, calc(100vh - 210px), 660px);
}
.hero-slide__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.07);
  transition: transform 7s linear;
}
.swiper-slide-active .hero-slide__img { transform: scale(1); }
/* Blue wash, strongest behind the card */
.hero-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13,26,64,.78) 0%, rgba(13,26,64,.42) 48%, rgba(13,26,64,.12) 100%);
}
.hero-slide__inner { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 100px; }

.hero-card {
  max-width: 620px;
  padding: 44px 46px 46px;
  background: var(--white);
  border-radius: var(--r-lg);
  border-top: 5px solid var(--amber);
  box-shadow: var(--shadow-lg);
}
.hero-card__tag {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue);
}
.hero-card__title { font-size: clamp(1.75rem, 3.1vw, 2.6rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 16px; }
.hero-card__title em { font-style: normal; color: var(--blue); }
.hero-card__text { font-size: 1.02rem; margin-bottom: 28px; }
.hero-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Staggered entrance of the card content on the active slide */
.hero-card > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.swiper-slide-active .hero-card > * { opacity: 1; transform: none; }
.swiper-slide-active .hero-card > :nth-child(1) { transition-delay: .2s; }
.swiper-slide-active .hero-card > :nth-child(2) { transition-delay: .3s; }
.swiper-slide-active .hero-card > :nth-child(3) { transition-delay: .4s; }
.swiper-slide-active .hero-card > :nth-child(4) { transition-delay: .5s; }

/* Graceful fallback if Swiper fails to load: show slide 1 statically */
.hero-swiper:not(.swiper-initialized) .hero-slide:not(:first-child) { display: none; }
.hero-swiper:not(.swiper-initialized) .hero-card > * { opacity: 1; transform: none; }
.hero-swiper:not(.swiper-initialized) .hero-slide__img { transform: none; }

/* ---------- Controls ---------- */
.hero-ui {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 5;
  display: flex; justify-content: flex-end;
  pointer-events: none;
}
.hero-ui__box {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 20px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  pointer-events: auto;
}
.hero-ui__count { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.hero-ui__count b { font-weight: 700; font-size: 1.05rem; color: var(--blue); }
.hero-ui__bar { position: relative; width: 110px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.hero-ui__bar span { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.hero-ui__btn {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--blue-50); color: var(--blue); font-size: .85rem;
  transition: background var(--t), color var(--t);
}
.hero-ui__btn:hover { background: var(--blue); color: var(--white); }


/* ==========================================================================
   07. ASSURANCE BAND
   ========================================================================== */
.assure { background: var(--blue); color: var(--white); }
.assure__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.assure__list li { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.assure__list li:first-child { padding-left: 0; }
.assure__list li + li { border-left: 1px solid rgba(255,255,255,.16); }
.assure__list i { flex-shrink: 0; width: 34px; text-align: center; font-size: 1.6rem; color: var(--amber); }
.assure__list strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.3; }
.assure__list span { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.45; color: #C5CFE8; }


/* ==========================================================================
   08. ABOUT
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 70px; align-items: center; }
.about__content > .sec-title { margin-bottom: 20px; }
.about__content > p { margin-bottom: 16px; }
.about__content strong { color: var(--ink); }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 30px 0 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.point { display: flex; gap: 14px; }
.point > i {
  flex-shrink: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--blue-50); color: var(--blue); font-size: 1.05rem;
}
.point strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.point span { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.5; }

.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- Photo mosaic ---------- */
.about__mosaic {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  height: 520px;
}
.about__photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--blue-100); }
.about__photo--tall { grid-row: 1 / -1; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about__photo:hover img { transform: scale(1.05); }
.about__note {
  display: flex; flex-direction: column;
  padding: 24px 24px 26px;
  border-radius: var(--r-lg);
  background: var(--blue); color: var(--white);
}
.about__note i { font-size: 1.4rem; color: var(--amber); margin-bottom: 12px; }
.about__note strong { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.about__note span { margin-top: 4px; font-size: .86rem; color: #C5CFE8; }


/* ==========================================================================
   09. MATERIALS
   ========================================================================== */
.materials { background: var(--blue-dark); color: #C5CFE8; }
.materials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.mat-group {
  padding: 28px 28px 18px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.mat-group__title { display: flex; align-items: baseline; gap: 12px; color: var(--white); font-size: 1.2rem; padding-bottom: 16px; border-bottom: 2px solid var(--amber); }
.mat-group__title span { font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--amber); }

.mat-list li {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mat-list li:last-child { border-bottom: 0; }
.mat-list strong { font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--white); }
.mat-list span { font-size: .84rem; color: #A9B6D8; }

.mat-special {
  display: flex; align-items: center; gap: 20px;
  margin-top: 24px; padding: 22px 28px;
  border-radius: var(--r-lg);
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.4);
}
.mat-special > i { flex-shrink: 0; font-size: 1.6rem; color: var(--amber); }
.mat-special > div { flex: 1; }
.mat-special strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--white); line-height: 1.3; }
.mat-special span { display: block; margin-top: 3px; font-size: .9rem; }


/* ==========================================================================
   10. PRODUCTS
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

.pcard {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.pcard:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-4px); }

.pcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-100); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }

.pcard__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 0 24px 24px; }
/* Name plate overlapping the photograph */
.pcard__title {
  position: relative; margin-top: -24px; margin-bottom: 16px;
  padding: 11px 18px;
  border-radius: var(--r-sm);
  background: var(--blue); color: var(--white);
  font-size: 1.05rem; font-weight: 600;
  box-shadow: 0 8px 18px rgba(29,59,139,.25);
  transition: background var(--t), color var(--t);
}
.pcard:hover .pcard__title { background: var(--amber); color: var(--navy); }
.pcard__desc { flex: 1; font-size: .93rem; line-height: 1.65; margin-bottom: 14px; }
.pcard__specs {
  width: 100%; margin-bottom: 18px; padding: 10px 14px;
  border-left: 3px solid var(--amber); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--soft);
  font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.5;
}
.pcard__foot { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard__link,
.pcard__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .86rem;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pcard__link { border: 1px solid var(--blue-100); color: var(--blue); }
.pcard__link i { font-size: .8em; transition: transform var(--t); }
.pcard__link:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pcard__link:hover i { transform: translateX(3px); }
.pcard__wa { border: 1px solid #CDEBD8; background: #EFFAF3; color: #14713A; }
.pcard__wa i { font-size: 1.1rem; }
.pcard__wa:hover { background: var(--wa); border-color: var(--wa); color: var(--white); }


/* ==========================================================================
   11. TECHNICAL INFO
   ========================================================================== */
.technical__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 30px; align-items: start; }

.std-table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.std-table { font-size: .93rem; }
.std-table thead th {
  padding: 15px 22px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .86rem; text-align: left;
}
.std-table tbody th,
.std-table tbody td { padding: 17px 22px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; line-height: 1.6; }
.std-table tbody tr:first-child th,
.std-table tbody tr:first-child td { border-top: 0; }
.std-table tbody th {
  width: 190px;
  background: var(--soft);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--blue);
  white-space: nowrap;
}

.resources { display: grid; gap: 16px; }
.resource {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.resource__icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: var(--r);
  background: var(--blue); color: var(--white); font-size: 1.15rem;
  transition: background var(--t), color var(--t);
}
.resource__text { flex: 1; min-width: 0; }
.resource__text strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); line-height: 1.3; }
.resource__text small { display: block; margin-top: 3px; font-size: .85rem; color: var(--muted); line-height: 1.45; }
.resource__go { color: var(--muted); transition: transform var(--t), color var(--t); }
.resource:hover { border-color: var(--blue-100); background: var(--blue-50); box-shadow: var(--shadow-sm); }
.resource:hover .resource__icon { background: var(--amber); color: var(--navy); }
.resource:hover .resource__go { color: var(--blue); transform: translateX(4px); }


/* ==========================================================================
   12. QUALITY & INSPECTION
   ========================================================================== */
.quality__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start; }
.quality__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.quality__intro .sec-title { margin-bottom: 18px; }

.quality__photo { position: relative; margin-top: 28px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-lg); background: var(--blue-100); }
.quality__photo img { width: 100%; height: 100%; object-fit: cover; }
.quality__photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  background: var(--white); color: var(--blue);
  font-family: var(--font-head); font-weight: 600; font-size: .84rem;
  box-shadow: var(--shadow-sm);
}
.quality__photo figcaption i { color: var(--amber); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 22px;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color var(--t), box-shadow var(--t);
}
.step:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.step__num {
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}
.step__tag { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-size: 1.12rem; margin: 2px 0 6px; }
.step p { font-size: .93rem; line-height: 1.65; }
/* Highlighted step: third-party inspection */
.step--tpi { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,.16); }
.step--tpi:hover { border-color: var(--amber); }
.step--tpi .step__num { background: var(--amber); color: var(--navy); }

/* ---------- Tests panel ---------- */
.tests {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin-top: 60px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.test { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--white); transition: background var(--t); }
.test:hover { background: var(--blue-50); }
.test > i { flex-shrink: 0; width: 30px; text-align: center; font-size: 1.3rem; color: var(--blue); }
.test strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); line-height: 1.3; }
.test span { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.45; }

/* ---------- Agencies ---------- */
.agencies { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 34px; }
.agencies__label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.agencies ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.agencies li {
  padding: 7px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white);
  font-size: .85rem; font-weight: 600; color: var(--blue);
}


/* ==========================================================================
   13. CONTACT
   ========================================================================== */
.contact__head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.contact__head .sec-title { margin-bottom: 14px; }

.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ccard {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.ccard::after {
  content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; top: 30px; right: 30px;
  color: var(--muted); transition: transform var(--t), color var(--t);
}
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.ccard:hover::after { transform: translateX(4px); color: var(--blue); }

.ccard__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 22px;
  border-radius: var(--r);
  color: var(--white); font-size: 1.5rem;
}
.ccard--wa   .ccard__icon { background: var(--wa); }
.ccard--mail .ccard__icon { background: var(--amber); color: var(--navy); }
.ccard--call .ccard__icon { background: var(--blue); }
.ccard--wa { background: #F1FBF5; border-color: #CDEBD8; }
.ccard--wa:hover { border-color: var(--wa); }

.ccard__label { font-size: .86rem; color: var(--muted); }
.ccard__value { margin: 2px 0 6px; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.ccard__hint { font-size: .88rem; }

.contact__address {
  display: flex; justify-content: center; gap: 12px;
  margin-top: 24px; padding: 18px 24px;
  border-radius: var(--r-lg);
  background: var(--soft);
  font-size: .94rem;
}
.contact__address i { color: var(--blue); margin-top: 5px; }


/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer { background: var(--navy); color: #A9B6D8; font-size: .93rem; border-top: 4px solid var(--amber); }
.footer__grid { display: grid; grid-template-columns: 1.5fr .9fr 1fr 1.35fr; gap: 50px; padding-top: 70px; padding-bottom: 60px; }

.footer__logo { display: inline-block; margin-bottom: 20px; }
.footer__logo img { height: 46px; width: auto; filter: brightness(0) invert(1); }   /* white version of the logo */
.footer__brand p { max-width: 38ch; }

.footer__quick { display: flex; gap: 10px; margin-top: 22px; }
.footer__quick a {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  transition: background var(--t), border-color var(--t), color var(--t);
}
.footer__quick a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy); }

.footer__col h4 { color: var(--white); font-size: 1.05rem; font-weight: 600; margin-bottom: 20px; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { transition: color var(--t), padding var(--t); }
.footer__links a:hover { color: var(--white); padding-left: 6px; }

.footer__contact li { display: flex; gap: 14px; margin-bottom: 14px; line-height: 1.6; }
.footer__contact i { flex-shrink: 0; width: 18px; margin-top: 5px; text-align: center; color: var(--amber); }
.footer__contact a { overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--white); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding-top: 20px; padding-bottom: 20px; font-size: .86rem; }
.footer__bottom a { color: var(--white); font-weight: 600; }
.footer__bottom a:hover { color: var(--amber); }


/* ==========================================================================
   15. FLOATING BUTTONS
   ========================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white); font-size: 1.8rem;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  transition: transform var(--t);
}
.wa-float:hover { transform: scale(1.08); }
body.nav-open .wa-float,
body.nav-open .to-top { display: none; }

.to-top {
  position: fixed; right: 27px; bottom: 92px; z-index: 900;
  width: 46px; height: 46px; border-radius: 8px;
  background: var(--blue); color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t), visibility var(--t), transform var(--t), background var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-dark); }


/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */

/* ---------- Desktop only: open dropdowns on hover ---------- */
@media (min-width: 1100px) {
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
  .has-dropdown:hover > .nav__toggle { transform: rotate(180deg); color: var(--blue); }
}

/* ---------- Small laptops ---------- */
@media (max-width: 1199.98px) {
  .topbar__tagline { display: none; }
  .topbar__contact { width: 100%; justify-content: space-between; }
  .header__inner { gap: 18px; }
  .about__grid { gap: 50px; }
  .quality__grid { gap: 50px; }
  .assure__list li { padding: 22px 18px; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Mobile navigation (side drawer) ---------- */
@media (max-width: 1099.98px) {
  :root { --header-h: 72px; }

  .brand img { height: 40px; }
  .hamburger { display: block; }
  .header__cta { margin-left: auto; }

  .main-nav {
    position: fixed; top: 0; right: 0; z-index: 1100;
    width: min(360px, 88vw); height: 100vh; height: 100dvh;
    display: flex; flex-direction: column;
    margin-left: 0;
    background: var(--white);
    box-shadow: -20px 0 40px rgba(13,26,64,.2);
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s .45s;
  }
  .main-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  /* Let the drawer scroll on short screens instead of squeezing its content */
  .drawer__head, .nav__list, .nav__item, .drawer__contact { flex-shrink: 0; }

  .drawer__head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
  }
  .drawer__head img { height: 38px; width: auto; }
  .drawer__close {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px;
    background: var(--blue-50); color: var(--blue); font-size: 1.1rem;
    transition: background var(--t), color var(--t);
  }
  .drawer__close:hover { background: var(--blue); color: var(--white); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px; }
  .nav__item { flex-wrap: wrap; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__item:hover { background: none; }
  .nav__link { flex: 1; padding: 15px 0; font-size: 1rem; }
  .nav__link.is-active { box-shadow: none; }
  .nav__toggle { width: 38px; height: 38px; margin: 0; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-size: .78rem; }

  /* Accordion dropdown – height animated via JS (max-height) */
  .dropdown,
  .dropdown--wide {
    display: block;
    position: static; flex-basis: 100%;
    min-width: 0; padding: 0;
    border: 0; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .dropdown::before { display: none; }
  .dropdown li:last-child { padding-bottom: 10px; }

  .drawer__contact { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding: 20px; background: var(--soft); }
  .drawer__contact a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 8px;
    background: var(--white); border: 1px solid var(--line);
    font-weight: 600; font-size: .94rem; color: var(--ink);
    overflow-wrap: anywhere;
    transition: border-color var(--t), color var(--t);
  }
  .drawer__contact a:hover { border-color: var(--blue); color: var(--blue); }
  .drawer__contact i { width: 18px; text-align: center; color: var(--blue); }
}

/* ---------- Tablets ---------- */
@media (max-width: 991.98px) {
  .section { padding: 80px 0; }
  .topbar__address { display: none; }

  .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }

  .hero-card { max-width: 560px; padding: 36px 36px 38px; }

  .assure__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assure__list li,
  .assure__list li:first-child { padding: 20px 18px; }
  .assure__list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .assure__list li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }

  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .about__mosaic { height: 440px; }

  .materials__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

  .technical__grid { grid-template-columns: minmax(0, 1fr); }

  .quality__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .quality__intro { position: static; }
  .tests { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* Contact cards become horizontal rows: icon left, text right */
  .ccard { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; align-items: center; padding: 22px 56px 22px 22px; }
  .ccard__icon { grid-row: 1 / span 3; margin-bottom: 0; }
  .ccard__label,
  .ccard__value,
  .ccard__hint { grid-column: 2; }
  .ccard::after { top: 50%; right: 24px; margin-top: -12px; }
}

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
  /* Side-sliding AOS reveals push content off-screen on phones → fade up instead */
  [data-aos="fade-left"],
  [data-aos="fade-right"] { transform: translate3d(0, 30px, 0); }

  .header__cta { display: none; }
  .hamburger { margin-left: auto; }

  /* Hero: photograph on top, card overlapping below */
  .hero-slide { display: block; min-height: 0; }
  .hero-slide__img { position: relative; inset: auto; height: 250px; }
  .hero-slide::before { bottom: auto; height: 250px; background: linear-gradient(180deg, rgba(13,26,64,.1) 30%, rgba(13,26,64,.6) 100%); }
  .hero-slide__inner { margin-top: -46px; padding-top: 0; padding-bottom: 98px; }
  .hero-card { max-width: none; padding: 28px 22px 30px; }
  .hero-card__text { font-size: .97rem; margin-bottom: 22px; }
  .hero-ui { bottom: 24px; justify-content: center; }

  .points { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .about__mosaic { height: 380px; gap: 12px; }

  .mat-group { padding: 22px 20px 12px; }
  .mat-special { flex-wrap: wrap; padding: 20px; }
  .mat-special > div { flex: 1 1 200px; }
  .mat-special .btn { width: 100%; }

  .product-grid { grid-template-columns: minmax(0, 1fr); }

  /* Standards table becomes stacked rows */
  .std-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .std-table, .std-table tbody, .std-table tr, .std-table th, .std-table td { display: block; width: 100%; }
  .std-table tbody th { width: 100%; padding: 12px 18px; border-top: 1px solid var(--line); }
  .std-table tbody td { padding: 14px 18px 18px; border-top: 0; }
  .resource { padding: 16px 18px; gap: 14px; }

  .step { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px 20px; }
  .step__num { width: 48px; height: 48px; font-size: 1rem; }
  .tests { grid-template-columns: minmax(0, 1fr); }
  .test { padding: 18px 20px; }

  .contact__address { justify-content: flex-start; padding: 16px 18px; }

  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 56px; padding-bottom: 46px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; font-size: 1.6rem; }
  .to-top { right: 19px; bottom: 80px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 479.98px) {
  .section { padding: 64px 0; }
  .topbar__contact { justify-content: center; }
  .topbar__email { display: none; }
  .brand img { height: 36px; }

  .hero-card__actions .btn { flex: 1 1 100%; }
  .hero-ui__bar { width: 70px; }

  .assure__list { grid-template-columns: minmax(0, 1fr); }
  .assure__list li,
  .assure__list li:first-child { padding: 16px 0; border-left: 0; }
  .assure__list li + li { border-top: 1px solid rgba(255,255,255,.16); }

  .about__mosaic { height: 330px; }
  .about__note { padding: 18px 16px; }
  .about__actions .btn { width: 100%; }

  .ccard__value { font-size: 1.08rem; }
}


/* ==========================================================================
   18. INNER PAGES – banner, breadcrumb, facts ribbon, SVG icons, CTA band
   ========================================================================== */

/* ---------- Custom line icons (inline SVG) ----------
   .tint → light fill in the current colour · .acc → amber accent stroke */
.svg-ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svg-ico--sm { stroke-width: 1.6; }
.svg-ico .tint { fill: currentColor; fill-opacity: .12; stroke: none; }
.svg-ico .acc { stroke: var(--amber-dark); }

/* ---------- Page banner ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #C5CFE8; }
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,26,64,.94) 0%, rgba(13,26,64,.78) 45%, rgba(13,26,64,.4) 100%);
}
/* Bottom padding leaves room for the facts ribbon that overlaps the banner */
.page-hero__inner { padding-top: 64px; padding-bottom: 136px; }
.page-hero__title { color: var(--white); font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 16px; }
.page-hero__lead { max-width: 640px; font-size: 1.06rem; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 26px; font-size: .88rem; }
.crumbs li { display: flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .58rem; color: var(--amber); }
.crumbs a { color: #C5CFE8; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); font-weight: 600; }

/* ---------- Facts ribbon ---------- */
.facts { position: relative; z-index: 2; margin-top: -80px; }
.facts__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border-radius: var(--r-lg);
  border-bottom: 4px solid var(--amber);
  box-shadow: var(--shadow-lg);
}
.facts__list li { display: flex; align-items: center; gap: 16px; padding: 26px 24px; }
.facts__list li + li { border-left: 1px solid var(--line); }
.facts__ico { flex-shrink: 0; width: 48px; height: 48px; color: var(--blue); }
.facts__list strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.25; }
.facts__list span { display: block; margin-top: 3px; font-size: .85rem; line-height: 1.45; }

/* ---------- Call-to-action band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0; background: var(--blue); color: #D5DDF1; }
.cta-band__art { position: absolute; right: -30px; top: 50%; z-index: -1; width: 440px; height: auto; transform: translateY(-50%); color: rgba(255,255,255,.12); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px 50px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; margin-bottom: 10px; }
.cta-band p { max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }


/* ==========================================================================
   19. ABOUT PAGE
   ========================================================================== */

/* ---------- Story + company profile ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 70px; align-items: center; }
.story__text .sec-title { margin-bottom: 20px; }
.story__text > p { margin-bottom: 16px; }
.story__text strong { color: var(--ink); }

.profile {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.profile > div { padding: 15px 20px; background: var(--white); }
.profile dt { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.profile dd { margin-top: 2px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); line-height: 1.4; }

.story__visual { position: relative; padding: 0 0 56px 44px; }
.story__photo { position: relative; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--blue-100); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__badge {
  position: absolute; left: 0; bottom: 0;
  width: 230px; padding: 22px 24px 24px;
  border-radius: var(--r-lg);
  background: var(--blue); color: var(--white);
  box-shadow: var(--shadow-lg);
}
.story__badge svg { display: block; width: 84px; height: auto; margin-bottom: 14px; }
.story__badge b { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.story__badge sup { font-size: .5em; color: var(--amber); vertical-align: super; }
.story__badge > span { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.45; color: #C5CFE8; }

/* ---------- Milestones: pipe run with flanged joints ---------- */
.milestones__track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
/* The pipe: a brushed-steel cylinder running behind the flange nodes */
.milestones__track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 21px;
  height: 14px; border-radius: 7px;
  background: linear-gradient(180deg, #C9D2E3 0%, #F7F9FC 35%, #AEB9CE 70%, #8D99B3 100%);
}
.mile__node { position: relative; z-index: 1; display: block; width: 56px; height: 56px; color: var(--blue); }
.mile__year { display: block; margin-top: 18px; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--blue); }
.mile h3 { margin: 10px 0 6px; font-size: 1rem; }
.mile p { font-size: .88rem; line-height: 1.6; }
.mile--now .mile__year { color: var(--amber-dark); }

/* ---------- What we do: ISO scope + product range ---------- */
.scope__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 60px; align-items: start; }
.scope__text .sec-title { margin-bottom: 18px; }
.scope__text > p { margin-bottom: 16px; }

.iso-scope {
  margin-top: 28px; padding: 22px 24px;
  border: 1px solid var(--line); border-left: 4px solid var(--amber);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: var(--soft);
}
.iso-scope__label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--blue);
}
.iso-scope__label svg { flex-shrink: 0; width: 22px; height: 22px; }
.iso-scope blockquote { font-size: .98rem; line-height: 1.65; color: var(--ink); }
.iso-scope cite { display: block; margin-top: 10px; font-style: normal; font-size: .82rem; color: var(--muted); }

.range__title { font-size: 1.15rem; margin-bottom: 18px; }
.range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.range li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.range a {
  display: flex; align-items: center; gap: 14px;
  height: 100%; padding: 12px 16px 12px 12px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--white);
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; line-height: 1.35; color: var(--ink);
  transition: border-color var(--t), color var(--t), box-shadow var(--t);
}
.range__ico {
  flex-shrink: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--blue-50); color: var(--blue);
  transition: background var(--t), color var(--t);
}
.range__ico svg { width: 26px; height: 26px; }
.range a > i { margin-left: auto; font-size: .8rem; color: var(--muted); transition: transform var(--t), color var(--t); }
.range a:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-sm); }
.range a:hover .range__ico { background: var(--blue); color: var(--white); }
.range a:hover .range__ico .acc { stroke: var(--amber); }
.range a:hover > i { color: var(--blue); transform: translateX(3px); }

/* ---------- Applications ---------- */
.uses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.use {
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.use__ico {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: var(--r);
  background: var(--blue-50); color: var(--blue);
  transition: background var(--t), color var(--t);
}
.use__ico svg { width: 40px; height: 40px; }
.use h3 { font-size: 1.1rem; margin-bottom: 8px; }
.use p { font-size: .93rem; line-height: 1.65; }
.use:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-4px); }
.use:hover .use__ico { background: var(--blue); color: var(--white); }
.use:hover .use__ico .acc { stroke: var(--amber); }

/* ---------- Credentials ---------- */
.creds__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.creds__cert {
  margin: 0; padding: 14px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.creds__cert-link { display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--soft); }
.creds__cert-link img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.creds__cert-link:hover img { transform: scale(1.03); }
.creds__cert figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 14px 4px 2px; font-size: .88rem; }
.creds__cert figcaption strong { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.creds__pdf { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--blue); }
.creds__pdf:hover { color: var(--amber-dark); }

.creds__text .sec-title { margin-bottom: 16px; }
.cred-list { margin: 26px 0 30px; border-top: 1px solid var(--line); }
.cred {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cred__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--blue-50); color: var(--blue); }
.cred__ico svg { width: 26px; height: 26px; }
.cred strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.cred div > span { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.45; }
.cred code {
  padding: 6px 10px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--soft);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .82rem; font-weight: 600;
  color: var(--blue); white-space: nowrap;
}
.creds__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* ---------- Inner pages & about: responsive ---------- */
@media (max-width: 1199.98px) {
  .facts__list li { padding: 22px 18px; gap: 14px; }
  .facts__ico { width: 42px; height: 42px; }
  .story__grid { gap: 50px; }
  .scope__grid, .creds__grid { gap: 44px; }
}

/* Milestones turn into a vertical pipe run */
@media (max-width: 1099.98px) {
  .milestones__track { grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 680px; }
  .milestones__track::before {
    left: 21px; right: auto; top: 0; bottom: 0; width: 14px; height: auto;
    background: linear-gradient(90deg, #C9D2E3 0%, #F7F9FC 35%, #AEB9CE 70%, #8D99B3 100%);
  }
  .mile { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; }
  .mile__node { grid-row: 1 / span 3; }
  .mile > :not(.mile__node) { grid-column: 2; }
  .mile__year { margin-top: 4px; }
  .mile h3 { margin-top: 8px; }
}

@media (max-width: 991.98px) {
  .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__list li:nth-child(odd) { border-left: 0; }
  .facts__list li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .story__grid { grid-template-columns: minmax(0, 1fr); }
  .story__visual { max-width: 540px; width: 100%; margin-inline: auto; }

  .scope__grid { grid-template-columns: minmax(0, 1fr); }

  .uses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  .creds__grid { grid-template-columns: minmax(0, 1fr); }
  .creds__cert { max-width: 420px; width: 100%; margin-inline: auto; }
  .creds__text { order: -1; }

  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
  .page-hero__inner { padding-top: 44px; padding-bottom: 116px; }
  .page-hero__lead { font-size: 1rem; }
  .facts { margin-top: -70px; }

  .range { grid-template-columns: minmax(0, 1fr); }
  .uses__grid { grid-template-columns: minmax(0, 1fr); }
  .use { padding: 24px 22px; }

  .cred { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; }
  .cred__ico { width: 44px; height: 44px; grid-row: span 2; }
  .cred code { grid-column: 2; justify-self: start; }

  .cta-band { padding: 56px 0; }
  .cta-band__art { width: 300px; top: auto; bottom: -40px; transform: none; }
  .cta-band__actions { width: 100%; }
}

@media (max-width: 479.98px) {
  .facts__list { grid-template-columns: minmax(0, 1fr); }
  .facts__list li,
  .facts__list li:nth-child(n) { border-left: 0; }
  .facts__list li + li { border-top: 1px solid var(--line); }

  .profile { grid-template-columns: minmax(0, 1fr); }
  .story__visual { padding: 0 0 48px 20px; }
  .story__badge { width: 190px; padding: 18px 18px 20px; }
  .story__badge svg { width: 66px; }
  .story__badge b { font-size: 2.1rem; }

  .cta-band__actions .btn { flex: 1 1 100%; }
  .creds__actions .btn { width: 100%; }
}


/* ==========================================================================
   20. MATERIALS & GRADES PAGE
   ========================================================================== */

/* ---------- Jump bar (overlaps the banner, like the About facts ribbon) ---------- */
.jumpbar { position: relative; z-index: 2; margin-top: -80px; }
.jumpbar__card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
  padding: 22px 28px;
  background: var(--white);
  border-radius: var(--r-lg);
  border-bottom: 4px solid var(--amber);
  box-shadow: var(--shadow-lg);
}
.jumpbar__label {
  flex-shrink: 0;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.jumpbar__links { display: flex; flex-wrap: wrap; gap: 8px; }
.jumpbar__links a {
  display: inline-block; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.jumpbar__links a:hover { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }

/* ---------- Designation-systems primer ---------- */
.dsys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dsys li { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.dsys b {
  display: block; margin-bottom: 8px; padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--blue);
}
.dsys span { display: block; font-size: .88rem; line-height: 1.65; }

/* Informational note (amber-edged) */
.gnote {
  display: flex; gap: 12px;
  margin-top: 26px; padding: 16px 20px;
  border-left: 4px solid var(--amber); border-radius: 0 var(--r) var(--r) 0;
  background: var(--soft);
  font-size: .9rem; line-height: 1.65;
}
.gnote i { flex-shrink: 0; margin-top: 5px; color: var(--amber-dark); }

/* ---------- Material family sections ---------- */
.gfam { padding: 64px 0; }
.gfam--soft { background: var(--soft); }
.gfam--soft .dsys li, .gfam--soft .jumpbar__links a { background: var(--white); }

.gfam__top { display: flex; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
.gfam__ico {
  flex-shrink: 0; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: var(--r-lg);
  background: var(--blue); color: var(--white);
}
.gfam__ico svg { width: 44px; height: 44px; }
.gfam__ico .acc { stroke: var(--amber); }
.gfam__top h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 700; margin-bottom: 8px; }
.gfam__top h2 small {
  display: block; margin-bottom: 4px;
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber-dark);
}
.gfam__top p { max-width: 74ch; font-size: .97rem; }
.gfam__sub { font-size: 1.1rem; margin: 26px 0 14px; }

/* ---------- Grade tables (scroll sideways on phones) ---------- */
.gt-wrap {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white);
}
.gtable { min-width: 700px; font-size: .9rem; border-collapse: collapse; }
.gtable thead th {
  padding: 13px 18px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .84rem; text-align: left;
  white-space: nowrap;
}
.gtable tbody th,
.gtable tbody td { padding: 13px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.gtable tbody th {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink);
  white-space: nowrap;
}
.gtable tbody tr:nth-child(even) { background: var(--soft); }
.gtable .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .82rem; font-weight: 600; color: var(--blue); white-space: nowrap; }

.gt-hint { display: none; align-items: center; gap: 8px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.gt-hint i { color: var(--amber-dark); }

/* ---------- "We supply against" spec chips ---------- */
.gfam__specs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.gfam__specs > span { font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--ink); }
.gfam__specs ul { display: flex; flex-wrap: wrap; gap: 8px; }
.gfam__specs li {
  padding: 5px 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--white);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .8rem; font-weight: 600;
  color: var(--blue); white-space: nowrap;
}
.gfam__specs--light > span { color: var(--white); }
.gfam__specs--light li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: var(--white); }

/* ---------- Specialist cladding band ---------- */
.clad { padding: 84px 0; background: var(--blue-dark); color: #C5CFE8; }
.clad__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 60px; align-items: center; }
.clad h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; margin-bottom: 16px; }
.clad__text > p { margin-bottom: 20px; }
.clad__points { display: grid; gap: 10px; margin-bottom: 26px; }
.clad__points li { display: flex; gap: 12px; font-size: .95rem; }
.clad__points i { flex-shrink: 0; margin-top: 5px; color: var(--amber); }
.clad__art { width: 100%; max-width: 380px; height: auto; margin-inline: auto; color: rgba(255,255,255,.8); }

/* ---------- Materials page responsive ---------- */
@media (max-width: 1199.98px) {
  .dsys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .gfam { padding: 52px 0; }
  .clad__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .clad__art { max-width: 320px; }
}
@media (max-width: 767.98px) {
  .jumpbar { margin-top: -70px; }
  .jumpbar__card { padding: 18px 20px; }
  .dsys { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .gfam__top { gap: 16px; }
  .gfam__ico { width: 56px; height: 56px; border-radius: var(--r); }
  .gfam__ico svg { width: 34px; height: 34px; }
  .gt-hint { display: flex; }
  .clad { padding: 64px 0; }
}


/* ==========================================================================
   21. CERTIFICATES PAGE
   Certificate image cards reuse .creds__cert (About page); the detail
   tables reuse .profile; verification links reuse .resource.
   ========================================================================== */
/* Desktop only, so the phone/tablet rules from section 18 still apply */
@media (min-width: 992px) {
  .facts__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cert { padding: 72px 0; }
.cert--soft { background: var(--soft); }
.cert__grid { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: 60px; align-items: center; }
.cert__body .kicker { margin-bottom: 12px; }
.cert__body h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 700; margin-bottom: 14px; }
.cert__body > p { margin-bottom: 22px; }
.cert__body .profile { margin-bottom: 22px; background: var(--line); }
.cert__body .iso-scope { margin-top: 0; margin-bottom: 22px; background: var(--white); }
.cert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }

/* Two-column variant of the resource link list */
.resources--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 992px) {
  /* Alternate sides: flipped blocks put the certificate image on the right */
  .cert--flip .cert__grid > figure { order: 2; }
}
@media (max-width: 991.98px) {
  .cert { padding: 56px 0; }
  .cert__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cert__grid > figure { order: 2; }   /* details first, document below */
  .resources--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479.98px) {
  .cert__actions .btn { width: 100%; }
}


/* ==========================================================================
   22. QUALITY POLICY PAGE
   Reuses .profile, .gtable, .gnote, .agencies and .facts from earlier sections.
   ========================================================================== */

/* ---------- Policy statement ---------- */
.qp-policy__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.qp-policy__intro .sec-title { margin-bottom: 18px; }
.qp-policy__intro > p { margin-bottom: 16px; }
.qp-policy__intro .profile { margin: 24px 0 18px; }

/* The policy presented as a signed document */
.qp-doc {
  position: relative; overflow: hidden;
  padding: 42px 44px 34px 50px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.qp-doc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: linear-gradient(var(--blue) 0 72%, var(--amber) 72% 100%);
}
.qp-doc__seal { position: absolute; top: 26px; right: 26px; width: 88px; height: 88px; color: var(--blue); }
.qp-doc__label {
  display: block;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--amber-dark);
}
.qp-doc h3 { font-size: 1.5rem; font-weight: 700; margin: 4px 0 18px; padding-right: 100px; }
.qp-doc__lead { padding-right: 60px; margin-bottom: 18px; font-weight: 500; color: var(--ink); line-height: 1.65; }
.qp-doc__list { counter-reset: qp; display: grid; gap: 12px; margin-bottom: 18px; }
.qp-doc__list li {
  counter-increment: qp;
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px;
  font-size: .95rem; line-height: 1.6;
}
.qp-doc__list li::before {
  content: counter(qp);
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue);
  font-family: var(--font-head); font-weight: 700; font-size: .84rem;
}
.qp-doc__note { font-size: .88rem; line-height: 1.6; color: var(--muted); }
.qp-doc__sign {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.qp-doc__sign strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.qp-doc__sign span { font-size: .86rem; color: var(--muted); }
.qp-doc__std {
  padding: 5px 12px; border-radius: var(--r-sm);
  background: var(--blue-50); color: var(--blue) !important;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem !important;
}

/* ---------- Quality objectives ---------- */
.qp-obj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.qp-obj {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px;
  padding: 28px 30px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color var(--t), box-shadow var(--t);
}
.qp-obj__ico {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: var(--r);
  background: var(--blue-50); color: var(--blue);
  transition: background var(--t), color var(--t);
}
.qp-obj__ico svg { width: 38px; height: 38px; }
.qp-obj h3 { font-size: 1.1rem; margin-bottom: 6px; }
.qp-obj p { font-size: .93rem; line-height: 1.65; }
.qp-obj__track {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: .84rem !important; color: var(--muted);
}
.qp-obj__track strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.qp-obj:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.qp-obj:hover .qp-obj__ico { background: var(--blue); color: var(--white); }
.qp-obj:hover .qp-obj__ico .acc { stroke: var(--amber); }

/* ---------- Quality gates ---------- */
.qp-gates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.qp-gate {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px 26px 24px;
  background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: var(--r-lg);
  transition: box-shadow var(--t);
}
.qp-gate:hover { box-shadow: var(--shadow); }
.qp-gate--tpi { border-top-color: var(--amber); }
.qp-gate__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.qp-gate__no {
  padding: 5px 10px; border-radius: 4px;
  background: #FFF5E3; color: var(--amber-dark);
  font-family: var(--font-head); font-weight: 600; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.qp-gate__ico { width: 44px; height: 44px; color: var(--blue); }
.qp-gate h3 { font-size: 1.1rem; margin-bottom: 8px; }
.qp-gate p { font-size: .92rem; line-height: 1.65; margin-bottom: 16px; }
.qp-gate ul { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.qp-gate li { display: flex; gap: 10px; font-size: .87rem; line-height: 1.5; color: var(--ink); }
.qp-gate li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  flex-shrink: 0; margin-top: 3px; font-size: .72rem; color: var(--amber-dark);
}

/* Arrow connectors between gates (3-column desktop layout only) */
@media (min-width: 1100px) {
  .qp-gate:not(:nth-child(3n))::after {
    content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; top: 50%; right: -30px; z-index: 1;
    display: grid; place-items: center;
    width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
    background: var(--amber); color: var(--navy); font-size: .6rem;
  }
}

/* ---------- Traceability chain ---------- */
.qp-trace { padding: 90px 0; background: var(--blue-dark); color: #C5CFE8; }
.qp-chain { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.qp-chain::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 36px;
  border-top: 2px dashed rgba(245,166,35,.55);
}
.qp-chain li { position: relative; text-align: center; }
.qp-chain__ico {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--blue); border: 2px solid rgba(255,255,255,.22);
  color: var(--white);
}
.qp-chain__ico svg { width: 38px; height: 38px; }
.qp-chain__ico .acc { stroke: var(--amber); }
.qp-chain strong { display: block; margin-bottom: 6px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--white); }
.qp-chain span:not(.qp-chain__ico) { display: block; font-size: .88rem; line-height: 1.6; }
.qp-chain code {
  display: inline-block; margin-top: 12px; padding: 4px 10px;
  border: 1px solid rgba(245,166,35,.45); border-radius: var(--r-sm);
  background: rgba(245,166,35,.12); color: var(--amber);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .8rem; font-weight: 600;
}
.qp-trace__note { margin-top: 30px; text-align: center; font-size: .82rem; color: #93A3C9; }

/* Tests table: wider scroll area and wrapping test names, so the
   "What it verifies" column never gets squeezed on phones */
.qp-tests .gtable { min-width: 960px; }
.qp-tests .gtable tbody th { width: 200px; white-space: normal; }

/* ---------- Documentation ---------- */
.qp-docs__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.qp-docs .sec-title { margin-bottom: 14px; }
.qp-docs__intro { margin-bottom: 24px; }
.qp-doclist { border-top: 1px solid var(--line); }
.qp-doclist li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.qp-doclist__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--blue-50); color: var(--blue); }
.qp-doclist__ico svg { width: 26px; height: 26px; }
.qp-doclist strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); line-height: 1.3; }
.qp-doclist div > span { display: block; margin-top: 5px; font-size: .9rem; line-height: 1.6; }
.qp-tag {
  padding: 2px 8px; border-radius: 4px;
  background: #FFF5E3; color: var(--amber-dark);
  font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}

/* EN 10204 explainer */
.qp-en { display: grid; gap: 18px; padding: 30px; border-radius: var(--r-lg); background: var(--soft); border: 1px solid var(--line); }
.qp-en__title { font-size: 1.2rem; }
.qp-en__intro { font-size: .92rem; line-height: 1.65; }
.qp-en__card { padding: 22px 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.qp-en__type {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: var(--r-sm);
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: .88rem;
}
.qp-en__card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.qp-en__card p { font-size: .9rem; line-height: 1.65; }
.qp-en__use { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .85rem !important; }
.qp-en__use strong { color: var(--ink); }
.qp-en__card--32 { background: var(--blue); border-color: var(--blue); color: #D5DDF1; }
.qp-en__card--32 h4, .qp-en__card--32 .qp-en__use strong { color: var(--white); }
.qp-en__card--32 .qp-en__type { background: var(--amber); color: var(--navy); }
.qp-en__card--32 .qp-en__use { border-top-color: rgba(255,255,255,.2); }

/* ---------- Quality page responsive ---------- */
@media (max-width: 1199.98px) {
  .qp-policy__grid, .qp-docs__grid { gap: 44px; }
}
@media (max-width: 1099.98px) {
  .qp-gates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 991.98px) {
  .qp-policy__grid, .qp-docs__grid { grid-template-columns: minmax(0, 1fr); }
  .qp-trace { padding: 70px 0; }

  /* Chain becomes a vertical run */
  .qp-chain { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 620px; }
  .qp-chain::before { left: 35px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed rgba(245,166,35,.55); }
  .qp-chain li { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; text-align: left; }
  .qp-chain__ico { grid-row: 1 / span 3; margin: 0; }
  .qp-chain li > :not(.qp-chain__ico) { grid-column: 2; }
  .qp-chain code { justify-self: start; margin-top: 8px; }
  .qp-trace__note { text-align: left; }
}
@media (max-width: 767.98px) {
  .qp-doc { padding: 30px 22px 26px 28px; }
  .qp-doc__seal { width: 64px; height: 64px; top: 20px; right: 18px; }
  .qp-doc h3 { font-size: 1.3rem; padding-right: 70px; }
  .qp-doc__lead { padding-right: 0; }
  .qp-obj-grid { grid-template-columns: minmax(0, 1fr); }
  .qp-obj { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 22px 20px; }
  .qp-obj__ico { width: 52px; height: 52px; }
  .qp-obj__ico svg { width: 30px; height: 30px; }
  .qp-gates { grid-template-columns: minmax(0, 1fr); }
  .qp-en { padding: 22px 18px; }
}


/* ==========================================================================
   23. CONTACT PAGE
   ========================================================================== */

/* ---------- Quick contact tiles (overlap the banner) ---------- */
.cx-quick { position: relative; z-index: 2; margin-top: -80px; }
.cx-quick__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border-radius: var(--r-lg);
  border-bottom: 4px solid var(--amber);
  box-shadow: var(--shadow-lg);
}
.cx-tile { display: flex; flex-direction: column; align-items: flex-start; padding: 30px 30px 28px; }
.cx-tile + .cx-tile { border-left: 1px solid var(--line); }
.cx-tile__ico {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: var(--r); background: var(--blue-50); color: var(--blue);
  font-size: 1.7rem;
}
.cx-tile__ico svg { width: 34px; height: 34px; }
.cx-tile--wa .cx-tile__ico { background: #E8F7EE; color: var(--wa); }
.cx-tile__label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cx-tile__value {
  font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; line-height: 1.45;
  color: var(--ink); overflow-wrap: anywhere;
}
.cx-tile__value:hover { color: var(--blue); }
.cx-tile__hint { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.cx-tile__btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--blue);
}
.cx-tile__btn i { font-size: .8em; transition: transform var(--t); }
.cx-tile__btn:hover i { transform: translateX(4px); }
.cx-tile--wa .cx-tile__btn { color: #14713A; }

/* ---------- Office card + map ---------- */
.cx-office__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 30px; align-items: stretch; }
.cx-card {
  padding: 40px 38px;
  border-radius: var(--r-lg);
  background: var(--blue-dark); color: #C5CFE8;
}
.cx-card h2 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; margin-bottom: 20px; }
.cx-card__addr { display: flex; gap: 14px; margin-bottom: 24px; font-style: normal; font-size: 1rem; line-height: 1.7; color: var(--white); }
.cx-card__addr svg { flex-shrink: 0; width: 34px; height: 34px; color: var(--white); }
.cx-card__addr .acc { stroke: var(--amber); }
.cx-card__facts { border-top: 1px solid rgba(255,255,255,.14); }
.cx-card__facts > div {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: .93rem;
}
.cx-card__facts dt { color: #93A3C9; }
.cx-card__facts dd { color: var(--white); font-weight: 500; overflow-wrap: anywhere; }
.cx-card__facts a:hover { color: var(--amber); }
.cx-mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; letter-spacing: .02em; }
.cx-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.cx-card__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--white); }
.cx-card__link:hover { color: var(--amber); }

.cx-map { min-height: 460px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--soft); }
.cx-map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

/* ---------- Enquiry builder (no submission – hands text to WhatsApp / email) ---------- */
.eb {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.eb__form { padding: 34px 36px 36px; }
.eb__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.eb__step + .eb__step { margin-top: 28px; padding-top: 26px; border-top: 1px dashed var(--line); }
/* float + full width keeps the legend out of the fieldset's border line */
.eb__legend {
  float: left; width: 100%;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; padding: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.eb__legend > span {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--blue); color: var(--white);
  font-size: .8rem; font-weight: 700;
}
.eb__legend small { font-family: var(--font-body); font-weight: 500; font-size: .84rem; color: var(--muted); }

.eb__fields { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.eb-field { display: block; }
.eb-field[hidden] { display: none; }
.eb-field--wide { grid-column: 1 / -1; }
.eb-field > span {
  display: block; margin-bottom: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
}
.eb-field > span small { font-family: var(--font-body); font-weight: 500; letter-spacing: 0; text-transform: none; }
/* 1rem font stops iOS from zooming into the field on focus */
.eb-field input,
.eb-field select,
.eb-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--soft);
  font: 500 1rem var(--font-body); color: var(--ink);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.eb-field textarea { min-height: 88px; resize: vertical; line-height: 1.55; }
.eb-field input::placeholder,
.eb-field textarea::placeholder { color: #9AA4B8; }
.eb-field input:focus,
.eb-field select:focus,
.eb-field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(29,59,139,.12); }

/* Preview column – the inner block sticks while the fields scroll */
.eb__side { padding: 30px; border-radius: 0 var(--r-lg) var(--r-lg) 0; background: var(--blue-dark); color: #C5CFE8; }
.eb__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.eb__side-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eb__side-head h3 { color: var(--white); font-size: 1.05rem; }
.eb__live { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.eb__clear { margin-left: auto; font-size: .82rem; font-weight: 600; color: #A9B6D8; text-decoration: underline; text-underline-offset: 3px; }
.eb__clear:hover { color: var(--white); }
.eb__preview {
  min-height: 240px; max-height: 380px; overflow: auto;
  margin: 0; padding: 18px 20px;
  border-radius: 4px var(--r-lg) var(--r-lg) var(--r-lg);
  background: #EFFAF3; color: var(--ink);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .85rem; line-height: 1.7;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.eb__hint { display: flex; gap: 8px; margin-top: 12px; font-size: .84rem; line-height: 1.5; color: var(--amber); }
.eb__hint[hidden] { display: none; }
.eb__hint i { flex-shrink: 0; margin-top: 3px; }
.eb__actions { display: grid; gap: 10px; margin-top: 18px; }
.eb__actions .btn { width: 100%; }
.eb__copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px;
  border: 2px solid rgba(255,255,255,.3); border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--white);
  transition: border-color var(--t), background var(--t);
}
.eb__copy:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.eb__privacy { display: flex; gap: 10px; margin-top: 16px; font-size: .8rem; line-height: 1.55; color: #93A3C9; }
.eb__privacy i { flex-shrink: 0; margin-top: 3px; }

/* ---------- Contact page responsive ---------- */
@media (max-width: 991.98px) {
  .cx-quick__list { grid-template-columns: minmax(0, 1fr); }
  .cx-tile + .cx-tile { border-left: 0; border-top: 1px solid var(--line); }
  .cx-tile { padding: 24px 24px 22px; }
  .cx-office__grid { grid-template-columns: minmax(0, 1fr); }
  .cx-map, .cx-map iframe { min-height: 360px; }
  .eb { grid-template-columns: minmax(0, 1fr); }
  .eb__side { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .eb__sticky { position: static; }
}
@media (max-width: 767.98px) {
  .cx-quick { margin-top: -70px; }
  .cx-card { padding: 30px 22px; }
  .cx-card__facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cx-map, .cx-map iframe { min-height: 300px; }
  .eb__form { padding: 24px 18px 26px; }
  .eb__fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .eb__side { padding: 24px 18px; }
  .eb__preview { min-height: 180px; padding: 16px; font-size: .82rem; }
}


/* ==========================================================================
   24. PRODUCT PAGES
   Built for pipes-tubes.html and reused by sheets-plates.html,
   coils-strips.html, pipe-fittings.html, flanges.html and round-bars.html;
   the blocks are generic so the other product pages can reuse them. Tables reuse .gtable / .gt-wrap (section 20) and
   form fields reuse .eb-field (section 23).
   ========================================================================== */

/* ---------- Overview + specification sheet ---------- */
.pp-overview__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: start; }
.pp-overview__text .sec-title { margin-bottom: 18px; }
.pp-overview__text > p { margin-bottom: 16px; }
.pp-overview__text strong { color: var(--ink); }
.pp-overview__photo { margin: 26px 0 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: var(--blue-100); }
.pp-overview__photo img { width: 100%; height: 100%; object-fit: cover; }
.pp-overview__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 26px; }

.pp-sheet {
  position: sticky; top: calc(var(--header-h) + 24px);
  overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.pp-sheet__head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.pp-sheet__head svg { flex-shrink: 0; width: 26px; height: 26px; }
.pp-sheet__head .acc { stroke: var(--amber); }
.pp-sheet dl > div {
  display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px;
  padding: 13px 24px;
  border-top: 1px solid var(--line);
  font-size: .92rem; line-height: 1.55;
}
.pp-sheet dl > div:first-child { border-top: 0; }
.pp-sheet dl > div:nth-child(even) { background: var(--soft); }
.pp-sheet dt { padding-top: 2px; font-family: var(--font-head); font-weight: 600; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pp-sheet dd { font-weight: 500; color: var(--ink); }

/* Labels inside technical drawings (the drawings themselves use .svg-ico) */
.art-txt { font-family: var(--font-head); font-size: 11px; font-weight: 600; fill: var(--ink); stroke: none; }
.art-txt--muted { fill: var(--muted); font-weight: 500; }
.art-dim { stroke: var(--muted); stroke-width: 1.2; }

/* ---------- Pipe vs tube ---------- */
.pvt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pvt__card {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 28px 30px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.pvt__art { width: 100%; height: auto; color: var(--blue); }
.pvt__card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.pvt__card p { font-size: .93rem; line-height: 1.65; margin-bottom: 14px; }
.pvt__eg {
  display: block; padding: 10px 14px;
  border-left: 3px solid var(--amber); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--soft);
  font-size: .86rem; line-height: 1.55; color: var(--ink);
}
.pvt__eg b { font-family: var(--font-head); font-weight: 600; }

/* ---------- Product types ---------- */
.ptypes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ptype {
  display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--r-lg);
  transition: box-shadow var(--t);
}
.ptype:hover { box-shadow: var(--shadow); }
.ptype__art { width: 68px; height: 68px; margin-bottom: 18px; color: var(--blue); }
.ptype h3 { font-size: 1.1rem; margin-bottom: 8px; }
.ptype > p { font-size: .92rem; line-height: 1.65; margin-bottom: 18px; }
.ptype dl { display: grid; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.ptype dt { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ptype dd { margin-top: 2px; font-size: .87rem; line-height: 1.5; color: var(--ink); }
.ptype dd.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .8rem; font-weight: 600; color: var(--blue); }

/* ---------- Grade matrix (material families in a side rail) ----------
   Without JS every panel is shown stacked and the rail is hidden;
   script.js adds .is-ready and switches panels. */
.gm {
  display: grid; grid-template-columns: 270px minmax(0, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.gm:not(.is-ready) { grid-template-columns: minmax(0, 1fr); }
.gm:not(.is-ready) .gm__rail { display: none; }
.gm__rail { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--blue-dark); }
.gm__tab {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 13px 16px;
  border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; line-height: 1.3;
  color: #C5CFE8; text-align: left;
  transition: background var(--t), color var(--t);
}
.gm__tab small {
  flex-shrink: 0; padding: 2px 9px; border-radius: 99px;
  background: rgba(255,255,255,.1);
  font-family: var(--font-body); font-size: .74rem; font-weight: 600;
}
.gm__tab:hover { background: rgba(255,255,255,.08); color: var(--white); }
.gm__tab.is-active { background: var(--amber); color: var(--navy); font-weight: 600; }
.gm__tab.is-active small { background: rgba(13,26,64,.14); }
.gm__panels { min-width: 0; padding: 32px 34px 34px; }
.gm__panel[hidden] { display: none; }
.gm:not(.is-ready) .gm__panel + .gm__panel { margin-top: 40px; padding-top: 36px; border-top: 1px dashed var(--line); }
.gm__panel h3 { font-size: 1.35rem; margin-bottom: 8px; }
.gm__panel > p { max-width: 78ch; font-size: .95rem; margin-bottom: 20px; }
.gm__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.gm__specs > div { padding: 14px 16px; border-left: 3px solid var(--amber); border-radius: 0 var(--r) var(--r) 0; background: var(--soft); }
.gm__specs dt { margin-bottom: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gm__specs dd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .82rem; font-weight: 600; line-height: 1.6; color: var(--blue); }
.gm .gtable { min-width: 640px; }

/* ---------- Data tables (composition, properties, tolerances) ---------- */
.gtable--data { font-variant-numeric: tabular-nums; }
.gtable--data thead th,
.gtable--data tbody td { padding: 11px 12px; text-align: center; white-space: nowrap; }
.gtable--data thead th:first-child { text-align: left; padding-left: 18px; }
.gtable--data tbody th { padding: 11px 18px; }
.gtable--data tbody td { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .82rem; color: var(--ink); }
.gtable--data tbody td.txt { font-family: var(--font-body); font-size: .88rem; color: var(--text); text-align: left; white-space: normal; }
.gtable--data tbody td.wrap { min-width: 190px; white-space: normal; line-height: 1.6; }
.gtable tr.gt-group th {
  padding: 9px 18px;
  background: var(--blue-50); color: var(--blue);
  font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.gtable--fit { min-width: 0; }
.gtable--guide { min-width: 820px; }
.pp-tablenote { margin-top: 12px; font-size: .84rem; line-height: 1.6; color: var(--muted); }
.pp-h3 { font-size: 1.15rem; margin: 34px 0 14px; }
.pp-h3:first-child { margin-top: 0; }

/* ---------- Bar charts (one series → one colour; values at the bar tips) ---------- */
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 30px; }
.chart { margin: 0; padding: 26px 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.chart h3 { font-size: 1.08rem; }
.chart__sub { margin: 3px 0 20px; font-size: .84rem; color: var(--muted); }
.bars { display: grid; gap: 9px; }
.bars li {
  position: relative;
  display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: center; gap: 14px;
  border-radius: 4px;
}
.bars__label { font-size: .86rem; font-weight: 500; line-height: 1.3; color: var(--ink); text-align: right; }
.bars__track { display: flex; align-items: center; gap: 10px; padding: 3px 0; border-left: 1px solid #C9D1E0; }
.bars__bar {
  flex: 0 0 auto;
  width: calc((100% - 50px) * var(--v) / 100); height: 20px;
  border-radius: 0 4px 4px 0;
  background: var(--blue);
  transition: background var(--t);
}
.bars__val { font-size: .84rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.bars li:hover .bars__bar,
.bars li:focus-visible .bars__bar { background: #3A5CB8; }
/* Detail on hover / keyboard focus – every value is also in the table below */
.bars li[data-tip]:hover::after,
.bars li[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute; left: 190px; bottom: calc(100% + 2px); z-index: 5;
  padding: 7px 11px; border-radius: 6px;
  background: var(--navy); color: var(--white);
  font-size: .78rem; font-weight: 500; white-space: nowrap;
  box-shadow: var(--shadow);
  pointer-events: none;
}
.chart__note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.55; color: var(--muted); }

/* ---------- Pipe schedule chart ---------- */
.sch__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.seg button {
  padding: 9px 16px; border-radius: 7px;
  font-family: var(--font-head); font-weight: 500; font-size: .86rem; color: var(--text);
  transition: background var(--t), color var(--t);
}
.seg button:hover { color: var(--blue); }
.seg button[aria-pressed="true"] { background: var(--blue); color: var(--white); font-weight: 600; }
.sch__unit { font-size: .88rem; color: var(--muted); }
.sch__unit strong { color: var(--ink); font-weight: 600; }

.sch-wrap { max-height: 660px; overflow: auto; overscroll-behavior: contain; }
.sch-table { min-width: 940px; }
.sch-table thead th { position: sticky; top: 0; z-index: 2; }
.sch-table thead th:first-child { left: 0; z-index: 3; }
.sch-table thead small { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 500; opacity: .75; }
.sch-table tbody th { position: sticky; left: 0; z-index: 1; background: var(--white); border-right: 1px solid var(--line); }
.sch-table tbody tr:nth-child(even) th { background: var(--soft); }
.sch-table tbody td.sch-od { font-weight: 700; color: var(--blue); }
.sch-table tbody td.na { color: #B3BCCD; }
.sch-table tbody td[data-t],
.sch-table tbody td[data-w],
.sch-table tbody td[data-id],
.sch-table tbody td[data-shape] { cursor: pointer; transition: background .15s, color .15s; }
.sch-table tbody td[data-t]:hover,
.sch-table tbody td[data-w]:hover,
.sch-table tbody td[data-id]:hover,
.sch-table tbody td[data-shape]:hover { background: #FFF1D6; }
.sch-table tbody td.is-picked,
.sch-table tbody td.is-picked:hover { background: var(--amber); color: var(--navy); font-weight: 700; }

/* ---------- Weight calculator ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  margin-top: 30px; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.calc__form { padding: 30px 32px 32px; }
.calc__form h3 { font-size: 1.2rem; margin-bottom: 6px; }
.calc__form > p { font-size: .9rem; margin-bottom: 20px; }
.calc__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.calc__out { display: flex; flex-direction: column; padding: 30px 32px 32px; background: var(--blue-dark); color: #C5CFE8; }
.calc__out h4 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.calc__row dt { font-size: .88rem; }
.calc__row dd { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--white); white-space: nowrap; }
.calc__row dd small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: #A9B6D8; }
.calc__row--key dd { font-size: 1.6rem; font-weight: 700; color: var(--amber); }
.calc__err { margin-top: 14px; font-size: .86rem; color: #FFC9BF; }
.calc__err[hidden] { display: none; }
.calc__formula { margin: 16px 0 20px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .76rem; line-height: 1.6; color: #93A3C9; }
.calc__out .btn { margin-top: auto; }

/* ---------- Tube sizes & wall gauges ---------- */
.tsz { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px; align-items: start; }
.tsz__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* ---------- Dark feature band with a dimensioned drawing ----------
   U bend tubes (pipes-tubes.html), clad plates (sheets-plates.html) */
.ubend { padding: 90px 0; background: var(--blue-dark); color: #C5CFE8; }
.ubend__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.ubend h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; margin-bottom: 16px; }
.ubend__text > p { margin-bottom: 22px; }
.ubend__facts { margin-bottom: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.ubend__facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: .93rem; line-height: 1.55; }
.ubend__facts dt { color: #93A3C9; }
.ubend__facts dd { color: var(--white); }
.ubend__art { display: block; width: 100%; height: auto; }
.ubend__art text { font-family: var(--font-head); font-size: 13px; font-weight: 500; fill: #D5DDF1; }
.ubend__std { margin-top: 26px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); background: rgba(255,255,255,.05); }
.ubend__std h3 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.ubend__std li { display: flex; gap: 12px; font-size: .9rem; line-height: 1.6; }
.ubend__std li + li { margin-top: 8px; }
.ubend__std i { flex-shrink: 0; margin-top: 5px; color: var(--amber); font-size: .8rem; }

/* ---------- Tolerances + end finishes ---------- */
.tol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ends { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.end { padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.end svg { display: block; width: 100%; height: auto; margin-bottom: 16px; border-radius: var(--r-sm); background: var(--soft); color: var(--blue); }
.end h4 { font-size: 1.02rem; margin-bottom: 6px; }
.end p { font-size: .9rem; line-height: 1.6; }
.supply { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--line); }
.supply > div { padding: 20px 24px; background: var(--white); }
.supply dt { margin-bottom: 6px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.supply dd { font-size: .9rem; line-height: 1.6; }

/* Flush variant of the homepage tests grid */
.tests--flush { margin-top: 0; }

/* ---------- FAQ + how to enquire ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.4; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8rem;
  flex-shrink: 0; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue);
  transition: background var(--t), color var(--t);
}
.faq details[open] summary { color: var(--blue); }
.faq details[open] summary::after { content: "\f068"; background: var(--blue); color: var(--white); }
.faq details p { max-width: 72ch; padding: 0 0 22px; font-size: .95rem; }
.faq details p a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.pp-order { position: sticky; top: calc(var(--header-h) + 24px); padding: 30px; border-radius: var(--r-lg); background: var(--blue-dark); color: #C5CFE8; }
.pp-order h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.pp-order > p { font-size: .92rem; margin-bottom: 18px; }
.pp-order ol { counter-reset: po; display: grid; gap: 10px; margin-bottom: 24px; }
.pp-order li { counter-increment: po; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; font-size: .92rem; line-height: 1.5; color: var(--white); }
.pp-order li::before {
  content: counter(po);
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
}
.pp-order .btn { width: 100%; }
.pp-order .btn + .btn { margin-top: 10px; }

/* Related products: four-across variant of the About page list */
.range--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Sheets & plates ---------- */
/* Sheet / plate / strip: three cards with the drawing above the text */
.pvt--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pvt--3 .pvt__card { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; gap: 20px; }
.pvt--3 .pvt__art { max-width: 250px; }

/* Surface finishes: one drawn swatch per finish */
.finishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.finish { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: box-shadow var(--t); }
.finish:hover { box-shadow: var(--shadow); }
.finish__swatch { display: block; width: 100%; height: 104px; border-bottom: 1px solid var(--line); }
.finish__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.finish__code {
  align-self: flex-start; margin-bottom: 10px; padding: 3px 10px;
  border-radius: var(--r-sm); background: var(--blue-50);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .78rem; font-weight: 700; color: var(--blue);
}
.finish h3 { font-size: 1.02rem; margin-bottom: 6px; }
.finish p { margin-bottom: 14px; font-size: .88rem; line-height: 1.6; }
.finish .finish__use { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .84rem; line-height: 1.5; color: var(--ink); }
.finish__use b { display: block; margin-bottom: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Standard sizes: scale drawing beside the gauge table */
.sizes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 30px; align-items: start; }
.sizes__art { padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.sizes__art svg { display: block; width: 100%; height: auto; color: var(--blue); }
.sizes__art figcaption { margin-top: 12px; font-size: .84rem; line-height: 1.55; color: var(--muted); }
.sizes .supply { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }

/* ---------- Coils & strips ---------- */
/* Processing route: numbered steps joined by arrows */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: flow; }
.flow__step {
  position: relative; counter-increment: flow;
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.flow__step:not(:last-child)::after {
  content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem;
  position: absolute; top: 50px; right: -19px; z-index: 1;
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  box-shadow: 0 0 0 4px var(--soft);
}
.flow__step svg { display: block; width: 58px; height: 58px; margin-bottom: 16px; color: var(--blue); }
.flow__step small::before { content: "Step " counter(flow); }
.flow__step small { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-dark); }
.flow__step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.flow__step p { font-size: .9rem; line-height: 1.6; }

/* ---------- Valves ---------- */
/* Valve type catalogue: product photo above, specification below */
.vtypes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vtype {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow var(--t), border-color var(--t);
}
.vtype:hover { border-color: #C9D3EA; box-shadow: var(--shadow); }
.vtype__img {
  display: grid; place-items: center;
  margin: 0; aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0, var(--soft) 70%);
  border-bottom: 1px solid var(--line);
}
.vtype__img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.vtype__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.vtype__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.vtype__tags span {
  padding: 3px 9px; border-radius: 99px;
  background: var(--blue-50); color: var(--blue);
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.vtype__tags span.is-key { background: #FFF1D6; color: #8A5A00; }
.vtype h3 { font-size: 1.1rem; margin-bottom: 6px; }
.vtype__body > p { font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.vtype dl { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.vtype dl > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
.vtype dt { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.vtype dd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .78rem; font-weight: 600; line-height: 1.55; color: var(--blue); }

/* Five drawn cards in a row (how each valve closes) */
.ends--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.ends--5 .end { padding: 18px 18px 20px; }
.ends--5 .fit__std { display: block; margin: -2px 0 8px; }

/* Three-across variant of the finish swatches (round bars) */
.finishes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* A switched-off table body (flange classes) */
.gtable tbody[hidden] { display: none; }

/* Coil weight chart: few, short columns, so it fits the screen without scrolling */
.sch-table--fit { min-width: 0; }

/* Four drawn cards in a row (edge conditions, flatness) */
.ends--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Pipe fittings ---------- */
/* Catalogue of fitting shapes, one drawn card each */
.fits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fits + .pp-h3 { margin-top: 40px; }
.fit {
  display: flex; flex-direction: column;
  padding: 20px 18px 18px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color var(--t), box-shadow var(--t);
}
.fit:hover { border-color: #C9D3EA; box-shadow: var(--shadow-sm); }
.fit svg { display: block; width: 64px; height: 64px; margin-bottom: 14px; color: var(--blue); }
.fit h4 { font-size: .98rem; line-height: 1.3; margin-bottom: 4px; }
.fit__std { margin-bottom: 8px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .74rem; font-weight: 600; color: var(--blue); }
.fit p { font-size: .85rem; line-height: 1.55; }

/* A fitting's marking, stamped, with each part explained below */
.stamp {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 12px;
  margin-bottom: 28px; padding: 40px 28px 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, #2A3550, #141C33);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.stamp__seg {
  position: relative;
  padding: 10px 16px;
  border: 1px dashed rgba(255,255,255,.3); border-radius: 6px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.1rem; font-weight: 700; letter-spacing: .06em;
  color: #E4E9F5; text-shadow: 0 1px 0 rgba(0,0,0,.5);
}
.stamp__seg b {
  position: absolute; top: -12px; left: -10px;
  display: grid; place-items: center;
  width: 23px; height: 23px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  font-family: var(--font-head); font-size: .72rem; letter-spacing: 0; text-shadow: none;
}
.decode { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; counter-reset: dec; }
.decode li {
  counter-increment: dec; position: relative;
  padding: 18px 20px 18px 58px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
}
.decode li::before {
  content: counter(dec);
  position: absolute; top: 18px; left: 18px;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
}
.decode strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); }
.decode span { display: block; font-size: .88rem; line-height: 1.6; }

/* ---------- Product pages responsive ---------- */
@media (max-width: 1199.98px) {
  .pp-overview__grid { gap: 44px; }
  .ptypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pvt__card { grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 24px; }
  .gm { grid-template-columns: 236px minmax(0, 1fr); }
  .gm__panels { padding: 28px 26px 30px; }
  .ubend__grid { gap: 44px; }
  .range--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finishes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ends--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ends--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .pp-overview__grid, .tsz, .ubend__grid, .faq-grid, .calc { grid-template-columns: minmax(0, 1fr); }
  .pp-sheet, .pp-order { position: static; }
  .pvt, .charts, .tol, .sizes { grid-template-columns: minmax(0, 1fr); }
  .pvt--3 .pvt__card { grid-template-columns: 190px minmax(0, 1fr); align-items: center; }
  .finishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .fits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vtypes, .ends--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step:not(:last-child)::after { display: none; }
  .ubend { padding: 70px 0; }
  .ubend__grid > svg { order: -1; max-width: 560px; }

  /* Family rail becomes a swipeable row above the panel */
  .gm { grid-template-columns: minmax(0, 1fr); }
  .gm__rail { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 10px; }
  .gm__rail::-webkit-scrollbar { display: none; }
  .gm__tab { flex-shrink: 0; width: auto; white-space: nowrap; padding: 10px 14px; }
}
@media (max-width: 767.98px) {
  .ptypes, .ends, .supply { grid-template-columns: minmax(0, 1fr); }
  .fits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .vtypes { grid-template-columns: minmax(0, 1fr); }
  .fit { padding: 16px 14px; }
  .stamp { gap: 22px 10px; padding: 34px 16px 24px; }
  .stamp__seg { padding: 8px 12px; font-size: .92rem; }
  .pvt__card, .pvt--3 .pvt__card { grid-template-columns: minmax(0, 1fr); }
  .pvt__art, .pvt--3 .pvt__art { max-width: 200px; margin-inline: auto; }
  .sizes__art { padding: 16px 14px 14px; }
  .sizes__art:not(.sizes__art--narrow) .art-txt { font-size: 19px; }   /* wide drawings are scaled down, so their labels are set larger */
  .sizes__art .art-txt--inner { display: none; }   /* labels inside crowded views; the caption names them instead */
  .pp-sheet dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 18px; }
  .gm__panels { padding: 22px 18px 24px; }
  .gm__specs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .chart { padding: 22px 18px 20px; }
  .bars li { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; }
  .bars__label { font-size: .8rem; }
  .bars li[data-tip]:hover::after,
  .bars li[data-tip]:focus-visible::after { left: 0; max-width: 100%; white-space: normal; }
  .gm .gtable { min-width: 780px; }
  .gtable--guide { min-width: 900px; }
  .gtable--wraphead tbody tr:not(.gt-group) th { width: 170px; min-width: 170px; white-space: normal; }
  .gtable--fit thead th,
  .gtable--fit tbody th,
  .gtable--fit tbody td { white-space: normal; }
  .gtable--fit tbody th { padding-right: 8px; }
  .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .seg button { padding: 9px 8px; }
  .sch-wrap { max-height: 70vh; }
  .sch-table--fit thead th,
  .sch-table--fit tbody th,
  .sch-table--fit tbody td { padding-left: 8px; padding-right: 8px; }
  .sch-table--fit thead th:first-child,
  .sch-table--fit tbody th { padding-left: 14px; }
  .calc__form, .calc__out { padding: 24px 18px 26px; }
  .tsz__pair { grid-template-columns: minmax(0, 1fr); }
  .ubend__facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ubend__art text { font-size: 18px; }   /* the drawing is scaled down, so its labels are set larger */
  .pp-order { padding: 24px 20px; }
  .range--4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479.98px) {
  .finishes, .flow { grid-template-columns: minmax(0, 1fr); }
  .calc__fields { grid-template-columns: minmax(0, 1fr); }
  .pp-overview__actions .btn { width: 100%; }
}


/* ==========================================================================
   25. 404 PAGE
   ========================================================================== */
.nf__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
@media (max-width: 479.98px) {
  .nf__actions .btn { width: 100%; }
}


/* ==========================================================================
   17. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
