/* @k-url /site.css */
/* OVO / Shengli Valve — industrial valve catalogue */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/ovo/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f4f6f7;
  --surface-2: #e8ecef;
  --ink: #0b0f13;
  --ink-2: #2a333c;
  --ink-3: #586470;
  --ink-4: #8b959f;
  --line: #dce1e5;
  --line-2: #edf0f2;
  --brand: #e60020;
  --brand-dark: #b30019;
  --deep: #0d1216;
  --deep-2: #182026;
  --amber: #f0c77a;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 52px);
  --header-h: 74px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Manrope", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 800; line-height: 1.14; letter-spacing: -.028em; }
h1 { font-size: clamp(2.05rem, 3.5vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.35rem); }
h3 { font-size: clamp(1.05rem, 1.3vw, 1.25rem); line-height: 1.32; letter-spacing: -.016em; }
h4 { font-size: .95rem; line-height: 1.4; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
[hidden] { display: none !important; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { letter-spacing: 0; line-height: 1.35; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; inset-inline-start: -10000px; top: 10px; z-index: 300; padding: 10px 16px; background: var(--ink); color: #fff; font-size: .85rem; }
.skip-link:focus { inset-inline-start: 12px; color: #fff; }
.hp-field { position: absolute !important; inset-inline-start: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typography helpers ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--ink-3); font-size: .72rem; font-weight: 800; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); flex: 0 0 auto; }
.lede { color: var(--ink-3); font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.75; }
.section-sub { max-width: 62ch; color: var(--ink-3); font-size: .95rem; line-height: 1.75; }
.note { color: var(--ink-4); font-size: .78rem; line-height: 1.65; }
.mono { font-variant-numeric: tabular-nums; }
.pre-line { white-space: pre-line; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--ink); }
.text-link::after { content: "→"; color: var(--brand); font-weight: 400; }
.text-link:hover { border-color: var(--brand); }
.text-link-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 0; font-size: .85rem; font-weight: 800; line-height: 1.25; text-align: center; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.btn::after { content: "→"; font-weight: 400; transition: transform .18s var(--ease); }
.btn:hover::after { transform: translateX(3px); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--deep-2); border-color: var(--deep-2); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--surface-2); border-color: var(--surface-2); color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .78rem; }
.btn--lg { min-height: 54px; padding: 15px 30px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-3); font-size: .78rem; font-weight: 700; }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-current="page"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; background: var(--surface-2); color: var(--ink-2); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tag--brand { background: #fde7ea; color: var(--brand-dark); }

/* ---------- top utility bar ---------- */
.topbar { background: var(--surface); color: var(--ink-3); border-bottom: 1px solid var(--line); font-size: .76rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__contact { display: flex; align-items: center; gap: 18px; }
.topbar__phone, .topbar__email { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font-weight: 600; }
.topbar__phone:hover, .topbar__email:hover { color: var(--brand); }
.topbar__icon { width: 14px; height: 14px; flex: 0 0 auto; color: var(--brand); }
.topbar__slogan { margin: 0; color: var(--ink-4); letter-spacing: .03em; }
.topbar__meta { margin: 0; display: flex; align-items: center; gap: 10px; letter-spacing: .04em; }
.topbar__meta::before { content: ""; width: 6px; height: 6px; background: var(--brand); flex: 0 0 auto; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar__links a { color: var(--ink-3); }
.topbar__links a:hover { color: var(--brand); }
.topbar__region { max-width: 52ch; overflow: hidden; color: var(--ink-4); text-overflow: ellipsis; white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(11, 15, 19, .08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: 0 0 auto; width: 176px; }
.brand-logo { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); margin-inline-start: auto; }
.nav-item { position: static; }
.nav-link { display: flex; align-items: center; min-height: var(--header-h); padding: 0 2px; color: var(--ink-2); font-size: .82rem; font-weight: 700; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.nav-item.has-mega > .nav-link::after { content: ""; width: 5px; height: 5px; margin-inline-start: 7px; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .78rem; font-weight: 800; }

/* standard dropdown navigation */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: flex; align-items: center; gap: 2px; }
.submenu-toggle { display: grid; place-items: center; width: 26px; height: 28px; padding: 0; border: 0; background: transparent; color: var(--ink-3); font-size: 1rem; line-height: 1; }
.submenu-toggle:hover, .submenu-toggle[aria-expanded="true"] { color: var(--brand); }
.dropdown-menu { position: absolute; inset-inline-start: -18px; top: calc(100% - 1px); z-index: 90; min-width: 238px; padding: 8px 18px; border: 1px solid var(--line); border-top: 3px solid var(--brand); background: #fff; box-shadow: 0 18px 32px rgba(11, 15, 19, .13); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s; }
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown:focus-within > .dropdown-menu,
.nav-dropdown.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.dropdown-menu li { border-bottom: 1px solid var(--line-2); }
.dropdown-menu li:last-child { border-bottom: 0; }
.dropdown-menu a { display: block; padding: 10px 0; color: var(--ink-2); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.dropdown-menu a:hover { color: var(--brand); }

/* verified contact channels only; external social handles must be added before they are linked */
.social-links { display: flex; align-items: center; gap: 8px; }
.social-link { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff2e; color: #d7dee4; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.social-link svg { width: 15px; height: 15px; fill: currentColor; }
.topbar .social-link:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.site-footer .social-links { margin-top: 18px; }
.site-footer .social-link { border-color: #ffffff24; color: #aeb8c0; }
.site-footer .social-link:hover { border-color: #fff; color: #fff; }

/* mega menu */
.mega { position: absolute; inset-inline: 0; top: 100%; z-index: 70; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 22px 40px rgba(11, 15, 19, .1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s; }
.nav-item.has-mega:hover .mega, .nav-item.has-mega:focus-within .mega, .nav-item.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 48px; padding-block: 34px 38px; }
.mega__title { margin: 0 0 16px; color: var(--ink-4); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mega__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 24px; }
.mega__link { display: flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.mega__link::before { content: ""; width: 4px; height: 4px; background: var(--line); flex: 0 0 auto; transition: background .18s var(--ease); }
.mega__link:hover { color: var(--ink); }
.mega__link:hover::before { background: var(--brand); }
.mega__link--all { margin-top: 8px; color: var(--brand); font-weight: 800; }
.mega__feature { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.mega__feature + .mega__feature { display: none; }
.mega__feature-media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.mega__feature-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.mega__feature-body { display: block; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.mega__feature-kicker { display: block; margin-bottom: 6px; color: var(--ink-4); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mega__feature strong { display: block; color: var(--ink); font-size: .92rem; line-height: 1.35; }
.mega__feature-price { display: block; margin-top: 6px; color: var(--brand); font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* language select */
.lang-select { position: relative; }
.lang-select__button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 10px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.lang-select__button:hover { border-color: var(--ink-3); color: var(--ink); }
.lang-select__button[aria-expanded="true"] { border-color: var(--brand); color: var(--ink); }
.lang-select__caret { width: 6px; height: 6px; margin-top: -4px; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: rotate(45deg); }
.lang-select__button[aria-expanded="true"] .lang-select__caret { margin-top: 3px; transform: rotate(225deg); }
/* Fifteen cultures ship, so the menu opens as a two-column panel: every language is
   reachable without scrolling a clipped dropdown. One column on very narrow screens
   would need a scroll again, so the grid only collapses below 360px. */
.lang-select__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: min(420px, calc(100vw - 24px)); max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 34px rgba(11, 15, 19, .14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility 0s linear .16s; }
@media (max-width: 359px) { .lang-select__menu { grid-template-columns: 1fr; } }
.lang-select.is-open .lang-select__menu { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.lang-select__option { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 9px; color: var(--ink-2); font-size: .78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-select__option:hover { background: var(--surface); color: var(--ink); }
.lang-select__option[aria-current="true"] { background: var(--surface); color: var(--ink); font-weight: 800; }
.lang-flag { flex: 0 0 auto; width: 20px; height: 13px; border: 1px solid #0000001f; background-color: var(--surface-2); background-position: center; background-size: cover; background-repeat: no-repeat; }
.lang-flag--en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0 60 40M60 0 0 40' stroke='%23fff' stroke-width='9'/%3E%3Cpath d='M0 0 60 40M60 0 0 40' stroke='%23c8102e' stroke-width='4'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23fff' stroke-width='14'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23c8102e' stroke-width='8'/%3E%3C/svg%3E"); }
.lang-flag--zh { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23de2910'/%3E%3Cpolygon points='12,6 13.6,10.8 18.7,10.8 14.5,13.8 16.1,18.7 12,15.7 7.9,18.7 9.5,13.8 5.3,10.8 10.4,10.8' fill='%23ffde00'/%3E%3C/svg%3E"); }
.lang-flag--de { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='13.4' fill='%23000000'/%3E%3Crect y='13.3' width='60' height='13.4' fill='%23dd0000'/%3E%3Crect y='26.6' width='60' height='13.4' fill='%23ffce00'/%3E%3C/svg%3E"); }
.lang-flag--fr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='20' height='40' fill='%230055a4'/%3E%3Crect x='20' width='20' height='40' fill='%23ffffff'/%3E%3Crect x='40' width='20' height='40' fill='%23ef4135'/%3E%3C/svg%3E"); }
.lang-flag--es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23aa151b'/%3E%3Crect y='10' width='60' height='20' fill='%23f1bf00'/%3E%3C/svg%3E"); }
.lang-flag--it { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='20' height='40' fill='%23009246'/%3E%3Crect x='20' width='20' height='40' fill='%23ffffff'/%3E%3Crect x='40' width='20' height='40' fill='%23ce2b37'/%3E%3C/svg%3E"); }
.lang-flag--ru { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23ffffff'/%3E%3Crect y='13.3' width='60' height='13.4' fill='%230039a6'/%3E%3Crect y='26.6' width='60' height='13.4' fill='%23d52b1e'/%3E%3C/svg%3E"); }
.lang-flag--ja { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23ffffff'/%3E%3Ccircle cx='30' cy='20' r='12' fill='%23bc002d'/%3E%3C/svg%3E"); }
.lang-flag--ko { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23ffffff'/%3E%3Ccircle cx='30' cy='20' r='12' fill='%230047a0'/%3E%3C/svg%3E"); }
.lang-flag--pt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23da020e'/%3E%3Crect width='24' height='40' fill='%23006600'/%3E%3Ccircle cx='24' cy='20' r='8' fill='%23ffcc00' stroke='%23da020e' stroke-width='2'/%3E%3C/svg%3E"); }
.lang-flag--ar { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23006c35'/%3E%3Cpath d='M14 17h32M14 24h26' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M16 29h20l-3 3' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.lang-flag--vi { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23da251d'/%3E%3Cpolygon points='30,9 32.6,16.6 40.6,16.6 34.1,21.4 36.6,29 30,24.2 23.4,29 25.9,21.4 19.4,16.6 27.4,16.6' fill='%23ffff00'/%3E%3C/svg%3E"); }
.lang-flag--th { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23a51931'/%3E%3Crect y='6.6' width='60' height='26.8' fill='%23f4f5f8'/%3E%3Crect y='13.3' width='60' height='13.4' fill='%232d2a4a'/%3E%3C/svg%3E"); }
.lang-flag--kk { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%2300afca'/%3E%3Ccircle cx='30' cy='20' r='7' fill='%23fec50c'/%3E%3Cpath d='M30 9v3M30 28v3M19 20h3M38 20h3M22.2 12.2l2.1 2.1M35.7 25.7l2.1 2.1M37.8 12.2l-2.1 2.1M24.3 25.7l-2.1 2.1' stroke='%23fec50c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lang-flag--id { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23ffffff'/%3E%3Crect width='60' height='20' fill='%23ce1126'/%3E%3C/svg%3E"); }

/* ---------- sections ---------- */
.section { padding-block: clamp(48px, 6vw, 84px); }
.section--tight { padding-block: clamp(32px, 4vw, 52px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--deep); color: #b9c2ca; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .section-sub, .section--dark .lede { color: #a9b3bc; }
.section--dark .eyebrow { color: #9aa5ae; }
.section--dark .note { color: #8a949e; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(26px, 3vw, 40px); }
.section-head__text { max-width: 60ch; }
.section-head h2 { margin-bottom: 10px; }
.section-head .text-link { flex: 0 0 auto; }
/* Home stacks many sections, and each section already carries a generous outer rhythm.
   The chapter block (eyebrow + title + one-line description) therefore stays compact so it
   does not add a second layer of vertical spacing above every section. */
.is-home .section-head { gap: 14px 32px; margin-bottom: clamp(20px, 2.2vw, 28px); }
.is-home .section-head .eyebrow { margin-bottom: 8px; font-size: .68rem; }
.is-home .section-head h2 { margin-bottom: 6px; font-size: clamp(1.4rem, 2vw, 1.95rem); }
.is-home .section-head .section-sub { max-width: 58ch; font-size: .88rem; line-height: 1.6; }
.section-foot { margin-top: clamp(24px, 3vw, 36px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; background: var(--deep); border-bottom: 1px solid var(--line); }
.hero--film { min-height: 540px; min-height: calc(100svh - 108px); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img, .hero__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__media img { transform: scale(1.04); animation: heroDrift 36s ease-in-out infinite alternate; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(125% 95% at 50% 42%, rgba(9,13,17,.42) 0%, rgba(9,13,17,.58) 52%, rgba(9,13,17,.86) 100%); }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(56px, 8vh, 92px); text-align: center; }
.hero__copy { max-width: 62ch; margin-inline: auto; }
.hero .eyebrow { justify-content: center; color: #cbd5dc; }
.hero h1 { color: #fff; margin-bottom: 20px; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.1; text-wrap: balance; }
.hero__lead { max-width: 54ch; margin-inline: auto; color: #c9d3da; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.72; }
.hero .btn-row { justify-content: center; margin-top: clamp(24px, 3.6vh, 36px); }
.hero .btn--ghost { border-color: #ffffff5c; color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; background: #fff; color: var(--ink); }
.hero .hero__play { position: absolute; z-index: 2; inset-inline-start: 50%; bottom: clamp(16px, 3vh, 28px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; margin: 0; padding-block: 8px; padding-inline: 10px 16px; border: 1px solid #ffffff3d; background: rgba(9,13,17,.52); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.hero .hero__play:hover { border-color: transparent; background: rgba(230,0,32,.94); color: #fff; }
.hero__play-icon { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; border: 1px solid #ffffff8a; border-radius: 50%; }
.hero__play-icon::before { content: ""; width: 0; height: 0; margin-inline-start: 2px; border-inline-start: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
@keyframes heroDrift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.13) translate3d(0, -1.6%, 0); } }

/* ---------- stat bar ---------- */
.statbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.statbar__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.statbar__item { padding: 22px clamp(14px, 2vw, 30px); border-inline-start: 1px solid var(--line-2); }
.statbar__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.statbar__value { display: block; color: var(--ink); font-size: clamp(1.15rem, 1.7vw, 1.5rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.statbar__label { display: block; margin-top: 6px; color: var(--ink-4); font-size: .76rem; letter-spacing: .03em; }

/* ---------- product families ---------- */
.family-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.family-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.family-card:hover { border-color: var(--ink-3); box-shadow: 0 14px 30px rgba(11, 15, 19, .08); transform: translateY(-2px); }
.family-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line-2); }
.family-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .35s var(--ease); }
.family-card:hover .family-card__media img { transform: scale(1.04); }
.family-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.family-card__title { margin: 0 0 8px; font-size: 1.02rem; }
.family-card__desc { flex: 1; margin: 0 0 16px; color: var(--ink-3); font-size: .84rem; line-height: 1.65; }
.family-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .02em; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.product-card:hover { border-color: var(--ink-3); box-shadow: 0 14px 30px rgba(11, 15, 19, .08); }
.product-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .35s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.product-card__title { margin: 0 0 6px; font-size: .98rem; line-height: 1.35; }
.product-card__title a:hover { color: var(--brand); }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.product-card__desc { flex: 1; margin: 0 0 14px; color: var(--ink-3); font-size: .82rem; line-height: 1.6; }
.product-card__price { display: flex; align-items: baseline; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.product-card__price strong { color: var(--ink); font-size: 1.02rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.product-card__price span { color: var(--ink-4); font-size: .72rem; }
.product-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: 14px; }
.product-card__foot .btn { flex: 0 0 auto; }
.product-card__inquire { flex: 0 0 auto; color: var(--brand); font-size: .78rem; font-weight: 800; white-space: nowrap; }

/* ---------- page head / breadcrumb ---------- */
/* Every inner page shares one compact title bar: the breadcrumb keeps its own line and the
   title sits beside its summary, so the head no longer repeats a hero block on each page. */
.page-head { padding-block: clamp(18px, 2.2vw, 28px) clamp(16px, 2vw, 24px); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-head .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 36px; }
.page-head .breadcrumb { flex: 0 0 100%; margin-bottom: 0; font-size: .72rem; }
.page-head h1 { flex: 0 1 auto; margin: 0; font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
.page-head .lede { flex: 1 1 260px; max-width: 50ch; margin: 0 0 2px auto; font-size: .92rem; line-height: 1.65; }
.page-head .tag { flex: 0 0 auto; margin-bottom: 2px; }
.page-head .note { flex: 1 1 100%; margin: 2px 0 0; }
/* The compact head already separates the first block of the page, so the section that follows
   it starts closer instead of repeating a full block of padding. */
.page-head + .section { padding-top: clamp(20px, 2.4vw, 34px); }
/* Inner pages keep only the breadcrumb: the trail already names the page and the standfirst
   repeated it, so the head collapses to a thin strip and the title stays for structure only. */
.page-head--crumb { padding-block: 11px 12px; }
.page-head--crumb .wrap { display: block; }
.page-head--crumb .breadcrumb { margin: 0; font-size: .72rem; }
.page-note { margin: 22px 0 0; color: var(--ink-3); font-size: .82rem; line-height: 1.6; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--ink-4); font-size: .76rem; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span[aria-current] { color: var(--ink-2); }

/* compact internal-page title used by FAQ, News, Quality and Workshop */
.page-title { padding-block: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-title .breadcrumb { margin-bottom: 10px; }
.page-title h1 { margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.35rem); }
.page-title + .section { padding-top: clamp(28px, 4vw, 48px); }

/* ---------- catalog layout ---------- */
.catalog { padding-block: clamp(28px, 3.5vw, 46px) clamp(48px, 6vw, 78px); }
.catalog__layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.catalog__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.catalog__aside-title { margin: 0 0 14px; color: var(--ink-4); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.category-nav { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); }
.category-nav__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); font-size: .86rem; font-weight: 600; }
.category-nav__link::after { content: "→"; color: var(--line); font-weight: 400; }
.category-nav__link:hover { color: var(--ink); }
.category-nav__link:hover::after { color: var(--brand); }
.category-nav__link[aria-current="page"] { color: var(--brand); font-weight: 800; }
.category-nav__link[aria-current="page"]::after { color: var(--brand); }
/* Count and search share one compact row; the field and its button never wrap apart. */
.catalog__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-bottom: clamp(18px, 2.2vw, 24px); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.catalog__toolbar .result-line { margin: 0; font-size: .82rem; }
.catalog__toolbar h1 { margin-bottom: 8px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.catalog__desc { max-width: 66ch; margin: 0; color: var(--ink-3); font-size: .9rem; }
/* The field label continues through the placeholder and stays available to screen readers. */
.search-form { display: flex; flex: 0 1 auto; flex-wrap: nowrap; align-items: stretch; gap: 0; }
.search-form .field-label { margin: 0; }
.search-form input[type="search"] { width: clamp(170px, 18vw, 230px); min-width: 0; min-height: 42px; border-inline-end: 0; }
.search-form .btn { flex: 0 0 auto; min-height: 42px; }
.catalog__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.catalog-categories { border: 1px solid var(--line); background: #fff; }
.catalog-categories > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; color: var(--ink); font-size: .84rem; font-weight: 800; cursor: pointer; list-style: none; }
.catalog-categories > summary::-webkit-details-marker { display: none; }
.catalog-categories > summary::after { content: "⌄"; color: var(--ink-3); font-size: 1rem; line-height: 1; }
.catalog-categories[open] > summary { border-bottom: 1px solid var(--line-2); }
.catalog-categories[open] > summary::after { transform: rotate(180deg); }
.catalog-categories .category-nav { padding: 6px 14px 10px; border-top: 0; }
.catalog__toolbar > .catalog-categories { flex: 0 1 238px; }
.result-line { margin: 0 0 18px; color: var(--ink-3); font-size: .84rem; }
.catalog__notes { display: grid; gap: 4px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.empty-state { padding: clamp(28px, 4vw, 44px); border: 1px dashed var(--line); text-align: center; }
.empty-state p { margin-bottom: 14px; color: var(--ink-3); }
.empty-state .btn-row { justify-content: center; margin-top: 6px; }

/* ---------- product detail ---------- */
.pdp { padding-block: clamp(24px, 3vw, 40px) clamp(40px, 5vw, 64px); }
.pdp__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.pdp__media { background: var(--surface); border: 1px solid var(--line); }
.pdp__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: clamp(16px, 2.5vw, 34px); }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pdp__thumb { width: 82px; height: 66px; border: 1px solid var(--line); background: #fff; padding: 4px; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp__summary h1 { margin-bottom: 10px; }
.pdp__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; }
.pdp__price-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 20px 0 6px; padding-block: 16px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pdp__price { color: var(--ink); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pdp__price-currency { color: var(--ink-4); font-size: .82rem; font-weight: 700; letter-spacing: .06em; }
.spec-table { width: 100%; border-collapse: collapse; margin: 4px 0 20px; }
.spec-table th, .spec-table td { padding: 10px 0; border-bottom: 1px solid var(--line-2); text-align: start; font-size: .86rem; vertical-align: top; }
.spec-table th { width: 46%; color: var(--ink-3); font-weight: 600; }
.spec-table td { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 24px; margin: 18px 0 0; }
.checklist li { position: relative; padding-inline-start: 20px; color: var(--ink-2); font-size: .88rem; }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 8px; height: 5px; border-inline-start: 2px solid var(--brand); border-block-end: 2px solid var(--brand); transform: rotate(-45deg); }

/* ---------- certifications ---------- */
.cert-strip { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 52px); align-items: center; }
.cert-strip__media { display: grid; gap: 10px; }
.cert-strip__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 8px; }
.cert-strip__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cert-tile { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.cert-tile__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.cert-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cert-tile__name { display: block; padding: 8px 10px 10px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: .72rem; line-height: 1.45; }
.cert-group { margin-bottom: clamp(32px, 4vw, 52px); }
/* The card wall below already draws its own frame, so the group head is a plain label instead
   of adding a second parallel hairline right above it. */
.cert-group__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.cert-group__index { color: var(--brand); font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cert-group__title { margin: 0; font-size: 1.15rem; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cert-card { border: 1px solid var(--line); background: #fff; }
.cert-card__link { display: block; }
.cert-card__media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.cert-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .3s var(--ease); }
.cert-card:hover .cert-card__media img { transform: scale(1.03); }
.cert-card__name { display: block; padding: 10px 12px 12px; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: .78rem; line-height: 1.5; }

/* ---------- manufacturing media ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.media-card { position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.media-card:hover img { transform: scale(1.04); }
.media-card__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(to top, rgba(11,15,19,.86), rgba(11,15,19,0)); color: #fff; font-size: .82rem; font-weight: 700; line-height: 1.4; }
.media-card--wide { grid-column: span 2; }
.media-frame { border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.fact-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.fact-label { margin: 0; color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.fact-value { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 700; text-align: end; }

/* ---------- steps ---------- */
/* Four fixed steps: explicit tracks keep the strip full at every width, so the 1px separator
   rule never leaves an empty grey cell at the end of the row. */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { padding: 24px 22px 26px; background: var(--paper); }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.section--surface .step { background: var(--paper); }
.step__no { display: block; margin-bottom: 12px; color: var(--brand); font-size: .76rem; font-weight: 800; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 8px; font-size: 1rem; }
.step p { margin: 0; color: var(--ink-3); font-size: .84rem; line-height: 1.65; }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 18px; }
.app-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); }
.app-card__media { display: block; overflow: hidden; background: var(--surface-2); }
.app-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s var(--ease); }
.app-card:hover .app-card__media img { transform: scale(1.04); }
.app-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.app-card__title { margin: 0 0 8px; font-size: 1rem; }
.app-card__text { flex: 1; margin: 0; color: var(--ink-3); font-size: .84rem; line-height: 1.65; }
/* The body is a column flex container, so the CTA stretched to the full card width and its
   underline sat right on top of the card border. Keep it inline-sized with clear air above. */
.app-card__body .text-link { align-self: flex-start; margin-top: 14px; }

/* ---------- clients ---------- */
.client-group { margin-bottom: clamp(30px, 3.5vw, 46px); }
/* Same reason as the certification groups: the client wall below is already framed. */
.client-group__head { margin-bottom: 16px; }
.client-group__title { margin: 0 0 6px; font-size: 1.1rem; }
.client-group__intro { margin: 0; max-width: 74ch; color: var(--ink-3); font-size: .86rem; }
.client-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cert-slot { display: contents; }
.client-item { display: contents; }
.client-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 118px; padding: 14px 12px; background: #fff; text-align: center; }
.client-cell__logo { display: flex; align-items: center; justify-content: center; height: 54px; }
.client-cell__logo img { max-height: 54px; width: auto; object-fit: contain; }
.client-cell__name { color: var(--ink-4); font-size: .72rem; line-height: 1.4; }

/* ---------- enquiry band + form ---------- */
.cta-band { background: var(--surface); color: var(--ink-3); border-top: 1px solid var(--line); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 4vw, 64px); align-items: start; padding-block: clamp(44px, 5.5vw, 76px); }
.cta-band h2 { color: var(--ink); margin-bottom: 12px; }
.cta-band .section-sub { color: var(--ink-3); }
.cta-band .eyebrow { color: var(--brand); }
.cta-band__links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 24px; }
.cta-band .text-link { color: var(--ink); border-color: var(--line); }
.cta-band .text-link:hover { border-color: var(--ink); color: var(--ink); }
.form-panel { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 2.5vw, 30px); box-shadow: 0 18px 40px rgba(11, 15, 19, .06); }
.form-panel h2 { margin-bottom: 6px; font-size: 1.2rem; }
.form-panel > .note { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label { color: var(--ink-3); font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.field input, .field textarea, .field select, .search-form input, .search-form select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: .88rem;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field select, .search-form select { padding-inline-end: 40px; }
.field input:focus, .field textarea:focus, .field select:focus, .search-form input:focus { border-color: var(--ink-3); box-shadow: inset 0 -2px 0 var(--brand); outline: none; }
.form-panel > .field { margin-top: 16px; }
.technical-fields { margin-top: 16px; border: 1px solid var(--line-2); background: var(--surface); }
.technical-fields > summary { padding: 12px 14px; color: var(--ink-2); font-size: .82rem; font-weight: 800; cursor: pointer; }
.technical-fields[open] > summary { border-bottom: 1px solid var(--line-2); }
.technical-fields .form-grid { padding: 14px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.alert { margin-bottom: 16px; padding: 12px 14px; border-inline-start: 3px solid var(--ink-3); background: var(--surface); font-size: .84rem; }
.alert-success { border-inline-start-color: #1f7a44; background: #eef7f1; color: #145230; }
.alert-error { border-inline-start-color: var(--brand); background: #fdeeef; color: #8f0014; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info h2 { font-size: 1.15rem; margin-bottom: 14px; }
/* The link list below opens with its own hairline, so the person block does not add a second
   one just above it. */
.contact-person { margin-bottom: 16px; }
.contact-person-name { margin: 0; color: var(--ink); font-size: 1.02rem; font-weight: 800; }
.contact-person-role { margin: 2px 0 0; color: var(--ink-3); font-size: .82rem; }
.contact-links { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-links li { border-bottom: 1px solid var(--line-2); }
.contact-links a { display: flex; align-items: center; gap: 10px; padding: 12px 0; color: var(--ink-2); font-size: .88rem; font-weight: 600; word-break: break-word; }
.contact-icon { width: 16px; height: 16px; flex: 0 0 auto; color: var(--brand); }
.contact-links a:hover { color: var(--brand); }
.contact-card { margin-top: 22px; border: 1px solid var(--line); background: var(--surface); padding: 18px; }
.contact-card h3 { margin-bottom: 8px; font-size: .95rem; }
.contact-card p { color: var(--ink-2); font-size: .88rem; }
.contact-visual { margin-top: 22px; }
.contact-visual img { aspect-ratio: 16 / 10; object-fit: cover; }
.contact-map { display: grid; gap: 12px; margin-top: 22px; }
.contact-map iframe { width: 100%; min-height: 300px; border: 1px solid var(--line); background: var(--surface-2); }
.contact-map .text-link { justify-self: start; }

/* ---------- video / dialog ---------- */
.video-frame { position: relative; background: var(--deep); overflow: hidden; }
.video-frame video { display: block; width: 100%; height: auto; }
.film-dialog { width: min(92vw, 980px); padding: 0; border: 1px solid #ffffff26; background: var(--deep); color: #fff; }
.film-dialog::backdrop { background: rgba(6, 9, 12, .78); }
.film-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #ffffff1f; }
.film-dialog-head h2 { margin: 0; color: #fff; font-size: 1rem; }
.icon-button { width: 38px; height: 38px; border: 1px solid #ffffff33; background: transparent; color: #fff; font-size: 1.3rem; line-height: 1; }
.icon-button:hover { background: #ffffff14; }
.film-dialog .note { padding: 12px 18px 16px; }
.film-trigger { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 16px 10px 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .84rem; font-weight: 800; }
.film-trigger:hover { border-color: var(--ink-3); color: var(--ink); }
.play-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--brand); color: #fff; font-size: .72rem; }
.play-icon::before { content: ""; width: 0; height: 0; margin-inline-start: 3px; border-inline-start: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: #9aa5ae; font-size: .84rem; }
.footer-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(30px, 4vw, 64px); padding-block: clamp(40px, 5vw, 64px); }
.footer-brand-link { display: block; width: 168px; margin-bottom: 16px; }
.footer-logo { width: 100%; height: auto; }
.footer-tagline { color: #c3ccd3; font-size: .88rem; line-height: 1.6; margin-bottom: 10px; }
.footer-note { color: #7c868f; font-size: .78rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.footer-title { margin: 0 0 14px; color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-list { display: grid; gap: 8px; }
.footer-list a { color: #9aa5ae; font-size: .84rem; }
.footer-list a:hover { color: #fff; }
.footer-contact-list { display: grid; gap: 10px; margin-bottom: 16px; }
.footer-contact { color: #9aa5ae; font-size: .84rem; line-height: 1.55; }
.footer-contact a { color: #c3ccd3; }
.footer-contact a:hover { color: #fff; }
.footer-contact__row { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact__icon { width: 14px; height: 14px; flex: 0 0 auto; color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 16px 20px; border-top: 1px solid #ffffff14; color: #78828b; font-size: .76rem; }
.footer-bottom p { margin: 0; }

/* ---------- editorial pages and compact section layouts ---------- */
.section-heading { margin-bottom: clamp(22px, 3vw, 34px); }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { max-width: 64ch; color: var(--ink-3); }
.section-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(24px, 3vw, 36px); }
.about-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.about-three article { min-height: 100%; padding: clamp(24px, 3vw, 34px); background: var(--paper); }
.about-three h2 { margin-bottom: 16px; font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.about-three p { color: var(--ink-3); font-size: .9rem; line-height: 1.8; }
.about-three .text-link { margin-top: 18px; }
.faq-layout { display: grid; grid-template-columns: minmax(210px, .42fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-layout > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-layout > div:first-child p { max-width: 34ch; color: var(--ink-3); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 2px; color: var(--ink); font-size: .96rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--brand); font-size: 1.3rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 75ch; padding: 0 38px 20px 2px; color: var(--ink-3); font-size: .9rem; line-height: 1.75; }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.news-filters a { display: inline-flex; padding: 8px 14px; border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; font-weight: 700; }
.news-filters a:hover { border-color: var(--brand); color: var(--brand); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); }
.news-card > a { display: block; overflow: hidden; background: var(--surface-2); }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s var(--ease); }
.news-card:hover img { transform: scale(1.03); }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.news-card__body h2, .news-card__body h3 { margin-bottom: 10px; font-size: 1.08rem; }
.news-card__body p { color: var(--ink-3); font-size: .86rem; line-height: 1.7; }
.news-card__body .text-link { align-self: flex-start; margin-top: auto; padding-top: 12px; }
.news-category { margin-bottom: 8px !important; color: var(--brand) !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.visit-card { position: relative; display: block; min-height: 310px; overflow: hidden; background: var(--deep); }
.visit-card img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; transition: transform .45s var(--ease), opacity .25s var(--ease); }
.visit-card span { position: absolute; inset: auto 0 0; padding: 42px 22px 18px; background: linear-gradient(to top, rgba(11,15,19,.9), rgba(11,15,19,0)); color: #fff; font-size: .96rem; font-weight: 800; }
.visit-card:hover img { transform: scale(1.035); opacity: .9; }
.article-body { max-width: 920px; }
.article-body > img { width: 100%; max-height: 560px; margin: 24px 0; object-fit: cover; background: var(--surface-2); }
.article-body > p { max-width: 72ch; color: var(--ink-3); font-size: 1rem; line-height: 1.85; }
.quality-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.quality-steps article { padding: clamp(24px, 3vw, 34px); background: var(--paper); }
.quality-steps h2 { font-size: 1.12rem; }
.quality-steps p { color: var(--ink-3); font-size: .88rem; line-height: 1.75; }
.workshop-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* ---------- floating / mobile bar ---------- */
.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 70; }
.wa-float__link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px 12px 14px; background: #1f9d55; color: #fff; font-size: .82rem; font-weight: 800; box-shadow: 0 10px 24px rgba(11, 15, 19, .22); }
.wa-float__link:hover { background: #17864a; color: #fff; }
.wa-float__icon { flex: 0 0 auto; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .catalog__layout { grid-template-columns: 216px minmax(0, 1fr); }
  .mega__inner { grid-template-columns: minmax(0, 1fr); }
  .mega__feature { display: none; }
  .brand { width: 152px; }
  .primary-nav { gap: 12px; }
  .nav-link { font-size: .78rem; }
  .header-actions { gap: 10px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .primary-nav, .topbar__links { display: none; }
  .nav-toggle { display: inline-flex; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-bottom: 1px solid var(--line-2); }
  .nav-item.has-mega.is-open .mega { display: block; }
  .nav-item.has-mega:hover .mega { display: none; }
  .nav-item.has-mega.is-open:hover .mega { display: block; }
  .mega__inner { display: block; padding-block: 8px 16px; }
  .mega__title { display: none; }
  .mega__list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .pdp__top, .about-grid, .contact-layout, .cta-band__inner, .cert-strip { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .media-card--wide { grid-column: auto; }
}
@media (max-width: 860px) {
  .catalog__layout { grid-template-columns: minmax(0, 1fr); }
  .catalog__aside { position: static; min-width: 0; }
  .category-nav { flex-direction: row; flex-wrap: wrap; border-top: 0; gap: 8px; }
  .category-nav__link { padding: 7px 13px; border: 1px solid var(--line); font-size: .8rem; }
  .category-nav__link::after { display: none; }
  .statbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statbar__item { border-inline-start: 0; border-top: 1px solid var(--line-2); padding-block: 16px; padding-inline: 0 12px; }
  .statbar__item:first-child, .statbar__item:nth-child(2) { border-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar__inner { min-height: 34px; justify-content: center; }
  .topbar__meta { font-size: .72rem; }
  .brand { width: 138px; }
  .header-actions { gap: 8px; }
  .header-actions > .btn { display: none; }
  .family-grid, .product-grid, .app-grid, .media-grid { grid-template-columns: minmax(0, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cert-tile__name, .cert-card__name { font-size: .68rem; }
  .client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-form { width: 100%; }
  .search-form input[type="search"] { flex: 1 1 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { inset-inline-end: 12px; bottom: 12px; }
  .wa-float__text { display: none; }
  .wa-float__link { padding: 12px; }
  .btn { min-height: 46px; padding: 11px 20px; }
  .hero__panel { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
@media print {
  .site-header, .topbar, .site-footer, .wa-float, .btn-row, .form-panel { display: none !important; }
}

/* ---------- mobile navigation drawer ---------- */
html.film-open, html.nav-open { overflow: hidden; }
@media (max-width: 1024px) {
  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 4px var(--gutter) 20px;
    margin-inline-start: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 38px rgba(11, 15, 19, .16);
  }
  .primary-nav.is-open .nav-item { width: 100%; }
  .primary-nav.is-open .nav-link { min-height: 0; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
  .primary-nav.is-open .nav-link[aria-current="page"] { color: var(--brand); border-bottom-color: var(--line-2); }
  .nav-item.has-mega > .nav-link::after { display: none; }
  .primary-nav.is-open .mega { border-bottom: 0; }
  .primary-nav.is-open .mega__list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); padding-bottom: 8px; }
  .primary-nav.is-open .mega__link { padding: 7px 0; font-size: .84rem; color: var(--ink-3); }
  .primary-nav.is-open .mega__link--all { margin-top: 2px; }
}

/* ---------- hero background film ---------- */
.hero__poster, .hero__video { position: absolute; inset: 0; }
.hero__video { opacity: 0; background: var(--deep); transition: opacity .6s var(--ease); pointer-events: none; }
.hero--video-playing .hero__video { opacity: 1; }
.hero--video-playing .hero__poster { opacity: 0; animation: none; }
.hero__poster { transition: opacity .6s var(--ease); }
.hero .hero__video-toggle { position: absolute; z-index: 2; inset-inline-end: clamp(12px, 2vw, 26px); bottom: clamp(16px, 3vh, 28px); display: inline-flex; align-items: center; gap: 8px; margin: 0; padding-block: 8px; padding-inline: 10px 14px; border: 1px solid #ffffff3d; background: rgba(9, 13, 17, .58); color: #fff; font-family: inherit; font-size: .74rem; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.hero .hero__video-toggle[hidden] { display: none; }
.hero .hero__video-toggle:hover { border-color: transparent; background: rgba(230, 0, 32, .94); }
.hero .hero__video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero__video-icon { position: relative; display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border: 1px solid #ffffff8a; border-radius: 50%; }
.hero__video-icon::before { content: ""; width: 0; height: 0; margin-inline-start: 2px; border-inline-start: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.hero__video-toggle.is-playing .hero__video-icon::before { margin-inline-start: 0; width: 9px; height: 9px; border: 0; border-inline: 3px solid #fff; }
.hero .hero__media-note { position: absolute; z-index: 2; inset-inline-start: clamp(12px, 2vw, 26px); bottom: clamp(16px, 3vh, 28px); max-width: 44ch; margin: 0; padding: 6px 12px; border: 1px solid #ffffff2e; background: rgba(9, 13, 17, .76); color: #d6dde3; font-size: .72rem; line-height: 1.5; }
.hero .hero__media-note[hidden] { display: none; }

/* ---------- split image and text rows ---------- */
.split-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 3.5vw, 56px); align-items: center; }
.split-row + .split-row { margin-top: clamp(28px, 4vw, 56px); }
.split-row--reverse { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split-row--reverse .split-row__media { order: 2; }
.split-row__media { display: grid; gap: 10px; overflow: hidden; background: var(--surface-2); }
.split-row__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* The quality capability media used to be two photographs side by side. It is now a
   single stage so each photo can be read at a useful size, with the caption bar
   doubling as the carousel control. */
.quality-gallery { position: relative; display: block; }
.quality-gallery__viewport { display: grid; }
.quality-gallery__slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.quality-gallery__slide.is-active { position: relative; z-index: 1; opacity: 1; visibility: visible; transition-delay: 0s; }
.quality-gallery__slide img { aspect-ratio: 3 / 2; }
.quality-gallery__slide figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 14px; background: var(--surface-2); color: var(--ink-4); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.quality-gallery__caption { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quality-gallery__meta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.quality-gallery__count { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.quality-gallery__next { position: relative; display: none; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2); touch-action: manipulation; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
/* The visible control stays small; the tappable area reaches the 44px guideline. */
.quality-gallery__next::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }
.quality-gallery[data-gallery-ready] .quality-gallery__next { display: grid; }
.quality-gallery__next:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.quality-gallery__next svg { width: 17px; height: 17px; }
.split-row__text h2, .split-row__text h3 { margin-bottom: 12px; }
.split-row__text p { margin: 0 0 18px; color: var(--ink-3); font-size: .95rem; line-height: 1.78; }
.split-row__text .btn-row { margin-top: 6px; }
.split-row__text .film-trigger { margin-top: 0; }

/* ---------- home quality grid + application card links ---------- */
.cert-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.app-card__title a { color: inherit; }
.app-card__title a:hover { color: var(--brand); }

@media (max-width: 900px) {
  .split-row, .split-row--reverse { grid-template-columns: minmax(0, 1fr); }
  .split-row--reverse .split-row__media { order: 0; }
  .cert-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero .hero__video-toggle { inset-inline-end: 12px; padding: 9px; }
  .hero__video-text { display: none; }
  .hero .hero__media-note { inset-inline: 12px; max-width: none; font-size: .7rem; }
}
@media (max-width: 520px) {
  .cert-grid--home { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- enquiry context, industry chapters, compact mega ---------- */
.enquiry-context {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
  margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface-2);
}
.enquiry-context__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.enquiry-context__value { font-size: .92rem; font-weight: 600; color: var(--ink); }
.enquiry-context__value + .enquiry-context__value::before {
  content: "·"; margin-inline-end: 8px; color: var(--ink-3); font-weight: 400;
}

/* In-page index for the application chapters: a compact chip row that stays reachable
   while the chapters scroll. The base .category-nav is a column with a top rule, so the
   row direction is reset here and the bar sticks right under the site header. */
.category-nav--anchors {
  position: sticky; top: calc(var(--header-h) + 1px); z-index: 40;
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center;
  gap: 8px; margin: 0 0 clamp(22px, 3vw, 32px);
  padding-block: 10px; border-top: 0; background: var(--paper);
}
/* The index is the only thing above the first chapter, so the section starts close to it. */
.section.section--index { padding-top: clamp(8px, 1.2vw, 16px); }
.category-nav--anchors .category-nav__label {
  margin-inline-end: 6px; color: var(--ink-4); font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.category-nav--anchors .category-nav__link {
  display: inline-flex; align-items: center; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.category-nav--anchors .category-nav__link::after { content: none; }
.category-nav--anchors .category-nav__link:hover,
.category-nav--anchors .category-nav__link:focus-visible {
  border-color: var(--brand); color: var(--brand); background: var(--paper);
}

.industry-stack { display: grid; gap: clamp(32px, 6vw, 72px); }
.industry-stack > .split-row { scroll-margin-top: calc(var(--header-h) + 24px); }
.industry-stack > .split-row:nth-child(even) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.industry-stack > .split-row:nth-child(even) .split-row__media { order: 2; }
.industry-stack .split-row__media img { width: 100%; height: auto; display: block; border-radius: 12px; }
.industry-stack h2 { margin: 0 0 12px; }

/* The About menu holds three links, so it drops as a small card under its own trigger
   instead of opening the full-width product panel and floating a lone column inside it. */
@media (min-width: 1025px) {
  .nav-item.has-mega--compact { position: relative; }
  .mega--compact {
    inset-inline-start: 0; inset-inline-end: auto; min-width: 224px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(11, 15, 19, .12);
  }
  .mega--compact .mega__inner {
    display: block; width: auto; max-width: none; margin: 0;
    padding: 10px 18px 12px;
  }
  .mega--compact .mega__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mega--compact .mega__link { padding: 9px 0; font-size: .84rem; white-space: nowrap; }
}

@media (max-width: 900px) {
  .industry-stack > .split-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .industry-stack > .split-row:nth-child(even) .split-row__media { order: 0; }
}

/* ---------- balanced grids: every row complete, no orphan tiles ---------- */
.product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.client-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cert-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cert-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Fixed-width cards. The related list fills from the left so a short row still reads as a
   list; the home application strip keeps its centred five-up composition. */
.product-grid--related,
.app-grid--five { display: flex; flex-wrap: wrap; gap: 20px; }
.product-grid--related { justify-content: flex-start; }
.app-grid--five { justify-content: center; }
.product-grid--related > .product-card { flex: 0 0 calc((100% - 60px) / 4); max-width: calc((100% - 60px) / 4); }

.app-grid--five { gap: 18px; }
.app-grid--five > .app-card { flex: 0 0 calc((100% - 72px) / 5); max-width: calc((100% - 72px) / 5); }

@media (max-width: 1180px) {
  .app-grid--five > .app-card { flex-basis: calc((100% - 36px) / 3); max-width: calc((100% - 36px) / 3); }
}
@media (max-width: 1024px) {
  .product-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid--related > .product-card { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
  .app-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .client-wall { display: flex; flex-wrap: wrap; justify-content: center; }
  .client-wall > .client-cell,
  .client-wall > .client-item > .client-cell { flex: 0 0 calc((100% - 1px) / 2); }
}
@media (max-width: 760px) {
  .app-grid--five > .app-card { flex-basis: 100%; max-width: 100%; }
  .product-grid--related > .product-card { flex-basis: 100%; max-width: 100%; }
  .page-head .wrap { display: block; }
  .page-head .breadcrumb { margin-bottom: 10px; }
  .page-head h1 { margin-bottom: 8px; }
  .page-head .lede { max-width: none; margin: 0; }
  .page-head .note { margin-top: 8px; }
}
@media (max-width: 640px) {
  .product-grid--featured,
  .app-grid--three,
  .cert-grid,
  .cert-grid--three { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- responsive rules for the refreshed navigation and pages ---------- */
@media (max-width: 1024px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown__trigger { justify-content: space-between; }
  .nav-dropdown__trigger > .nav-link { flex: 1; }
  .nav-dropdown:hover > .dropdown-menu { opacity: 0; visibility: hidden; transform: translateY(-6px); }
  .nav-dropdown.is-open > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav.is-open .dropdown-menu { position: static; display: none; min-width: 0; padding: 4px 0 10px 18px; border: 0; border-top: 1px solid var(--line-2); box-shadow: none; }
  .primary-nav.is-open .nav-dropdown.is-open > .dropdown-menu { display: block; }
  .primary-nav.is-open .dropdown-menu a { padding: 8px 0; white-space: normal; }
}

@media (max-width: 900px) {
  .about-three, .quality-steps, .workshop-rows, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-layout > div:first-child { position: static; }
}

@media (max-width: 640px) {
  .topbar__links { display: none; }
  .about-three, .quality-steps, .workshop-rows, .news-grid, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .visit-card, .visit-card img { min-height: 230px; }
  .contact-map iframe { min-height: 250px; }
  .catalog__toolbar > .catalog-categories { flex-basis: 100%; }
}

/* ---------- Homepage: reference reading order, OVO identity ---------- */
/* The Union Valve homepage is the structural reference: top utility bar, centred
   navigation, full-bleed hero, four-figure strip, alternating image/text rows, a
   five-up product row with label bars, a five-up visit gallery, and two article
   rows. Colour and type belong to OVO: graphite chrome, brand red for actions and
   product labels, warm neutral surfaces. */
:root {
  --wrap: 1360px;
  --gutter: clamp(20px, 3vw, 40px);
  --chrome: #12171c;
  --chrome-soft: #1b222a;
  --sand: #f6f5f2;
  --sand-line: #e6e4df;
}

/* ---------- utility bar + header chrome ---------- */
.topbar { background: var(--surface); color: var(--ink-3); }
.topbar__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px 20px; min-height: 42px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 8px 18px; min-width: 0; font-size: .78rem; }
.topbar__contact a, .topbar__slogan { color: var(--ink-3); }
.topbar__contact a:hover { color: var(--brand); opacity: 1; }
.topbar__slogan { margin: 0; color: var(--ink-4); text-align: center; font-size: .78rem; letter-spacing: .01em; }
.topbar .social-links { justify-content: flex-end; }
.topbar .social-link { width: 28px; height: 28px; border-color: transparent; color: var(--ink-3); }
.topbar .social-link:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.social-link--soon { cursor: default; }

.header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; }
.header-actions { grid-column: 3; }
.primary-nav { margin-inline-start: 0; justify-content: center; }
.brand { width: 150px; }
.nav-link { font-weight: 600; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.header-search { display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink-2); }
.header-search svg { width: 19px; height: 19px; }
.header-search:hover { color: var(--brand); }

/* ---------- hero slideshow ---------- */
.hero--slides { min-height: 0; aspect-ratio: 1500 / 550; }
.hero--slides .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: none; transform: none; transition: opacity .55s ease; }
.hero--slides .hero__media img.is-active { opacity: 1; }

.hero__copy { max-width: 800px; }
.hero h1 { font-size: clamp(2.15rem, 3.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.012em; margin-bottom: 18px; }
.hero__lead { font-size: clamp(1rem, 1.3vw, 1.14rem); }
.hero .btn--line { min-height: 50px; padding: 13px 32px; }
.btn--line { background: transparent; border-color: #fff; color: #fff; }
.btn--line:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--line::after { content: none; }
.hero__dots { position: absolute; z-index: 2; inset-inline: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #ffffff8a; }
.hero__dots button[aria-current="true"] { background: #fff; }

/* ---------- figures strip ---------- */
.home-stats { background: var(--sand); border-block: 1px solid var(--sand-line); }
.home-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-stat { padding: 30px clamp(12px, 2vw, 28px); border-inline-start: 1px solid var(--sand-line); text-align: center; }
.home-stat:first-child { border-inline-start: 0; }
.home-stat__icon { display: inline-grid; place-items: center; color: var(--ink); }
.home-stat__icon svg { width: 38px; height: 38px; }
.home-stat__value { margin: 10px 0 6px; color: var(--ink); font-size: 1.22rem; font-weight: 800; letter-spacing: -.012em; line-height: 1.2; }
.home-stat__label { margin: 0 auto; max-width: 26ch; color: var(--ink-3); font-size: .85rem; line-height: 1.5; }

/* ---------- section rhythm ---------- */
/* Adjacent sections each contribute half of the gap, so 44px reads as the ~90px
   breathing room measured between modules on the reference page. */
.home-section { padding-block: clamp(34px, 3.6vw, 52px); }
.home-section--tight { padding-block: clamp(26px, 2.8vw, 40px); }
.home-section--surface { background: var(--sand); }
.home-head { max-width: 760px; margin: 0 auto clamp(26px, 3vw, 38px); text-align: center; }
.home-head h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.home-head p { margin: 0; color: var(--ink-3); font-size: .95rem; line-height: 1.65; }
.home-kicker { margin: 0 0 clamp(22px, 2.6vw, 32px); color: var(--ink); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.home-center { margin-top: clamp(24px, 3vw, 36px); text-align: center; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
/* The figure strip ends on its own hairline, so the first section below it keeps a
   little more air than the sections that follow. */
.home-stats + .home-section { padding-top: clamp(46px, 5vw, 72px); }

/* ---------- about ---------- */
.home-about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4.4vw, 64px); align-items: center; }
.home-about__text h2 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.home-about__text p { color: var(--ink-2); font-size: .98rem; line-height: 1.8; }
.home-about__link { font-weight: 800; }
.home-about__link a { padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.home-about__link a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.home-about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- certification wall + carousel ---------- */
.home-certs { background: #fff; }
/* One thin line of marks instead of a second card wall: the scans below already
   carry the certificate detail, so this row only lists what is held. */
.credential-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: clamp(16px, 2.4vw, 28px); row-gap: 8px; margin: 0 0 clamp(22px, 2.6vw, 32px); color: var(--ink-3); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-align: center; }
.cert-track > .cert-slide { display: flex; flex: 0 0 calc((100% - 64px) / 5); flex-direction: column; border: 1px solid var(--line); background: #fff; }
.cert-slide img { width: 100%; height: 200px; padding: 10px; object-fit: contain; background: #fff; }
.cert-slide__name { display: block; padding: 8px 10px 10px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: .72rem; line-height: 1.45; }
.home-certs__more { margin-top: 22px; }

/* ---------- product row ---------- */
.product-track > .product-tile { display: flex; flex: 0 0 calc((100% - 64px) / 5); flex-direction: column; color: inherit; }
.product-tile__media { display: grid; place-items: center; min-height: 200px; background: var(--sand); }
.product-tile__media img { width: 100%; height: 190px; object-fit: contain; }
.product-tile__name { display: block; margin-top: 10px; padding: 12px 10px; background: var(--brand); color: #fff; font-size: .93rem; font-weight: 700; text-align: center; }
.product-tile:hover .product-tile__name { background: var(--brand-dark); color: #fff; }

/* ---------- alternating image/text rows ---------- */
.home-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.home-split + .home-split { margin-top: clamp(18px, 2.4vw, 32px); }
.home-split--reverse { grid-template-columns: .9fr 1.1fr; }
.home-split--reverse .home-split__media { order: 2; }
.home-split__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.home-split__text h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.home-split__text p { color: var(--ink-2); font-size: .96rem; line-height: 1.8; }
.home-split__text .btn { margin-top: 8px; }
.home-list { display: grid; gap: 12px; margin: 20px 0 24px; padding: 0; list-style: none; counter-reset: home-list; }
.home-list li { position: relative; padding-inline-start: 30px; color: var(--ink-3); font-size: .92rem; line-height: 1.65; counter-increment: home-list; }
.home-list li::before { content: counter(home-list) "."; position: absolute; inset-inline-start: 0; top: 0; color: var(--brand); font-weight: 800; }
.home-list strong { display: block; margin-bottom: 2px; color: var(--ink); }

/* ---------- full-width note strip ---------- */
.home-banner { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: 24px 20px; border-block: 1px solid var(--line-2); background: #f7f7f6; color: var(--ink); font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 700; text-align: center; }
.home-banner svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--ink-3); }

/* ---------- centred statement ---------- */
.home-statement { padding-block: clamp(56px, 7vw, 96px); text-align: center; }
.home-statement .wrap { max-width: 860px; }
.home-statement__kicker { margin: 0 0 14px; color: var(--ink-4); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.home-statement h2 { margin-bottom: 18px; font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.3; }
.home-statement p { max-width: 66ch; margin-inline: auto; color: var(--ink-3); font-size: 1rem; line-height: 1.8; }
.home-statement .btn { margin-top: 28px; }

/* ---------- visit gallery ---------- */
.home-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.home-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-gallery a { display: block; overflow: hidden; }
.home-gallery img { transition: transform .4s var(--ease); }
.home-gallery a:hover img { transform: scale(1.035); }

/* ---------- article rows ---------- */
.home-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.home-post__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-post__title { margin: 18px 0 6px; font-size: 1.1rem; line-height: 1.42; }
.home-post__title a:hover { color: var(--brand); }
.home-post__meta { margin: 0 0 8px; color: var(--ink-4); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.home-post__excerpt { margin: 0; color: var(--ink-3); font-size: .9rem; line-height: 1.7; }
.home-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-note { border: 1px solid var(--line); background: #fff; transition: border-color .2s var(--ease); }
.home-note:hover { border-color: var(--ink-3); }
.home-note__link { display: block; height: 100%; padding: clamp(22px, 2.6vw, 30px); }
.home-note h3 { margin-bottom: 10px; font-size: 1.02rem; line-height: 1.45; }
.home-note p { margin-bottom: 14px; color: var(--ink-3); font-size: .88rem; line-height: 1.7; }
.home-note__more { color: var(--brand); font-size: .8rem; font-weight: 800; }

/* ---------- horizontal strip shared by products, certificates ---------- */
.strip { position: relative; }
.strip__viewport { overflow: hidden; }
.strip__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip__track::-webkit-scrollbar { display: none; }
.strip__track > * { min-width: 0; scroll-snap-align: start; }
.strip__nav { position: absolute; top: 44%; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2); font-size: 1.35rem; line-height: 1; box-shadow: 0 6px 16px rgba(11, 15, 19, .08); }
.strip__nav:hover { border-color: var(--ink-3); color: var(--brand); }
.strip__nav--prev { inset-inline-start: -6px; }
.strip__nav--next { inset-inline-end: -6px; }

/* ---------- footer chrome ---------- */
/* Reference buttons are flat rectangles without a trailing arrow. */
.btn::after { content: none; }
/* The enquiry form is taller than its standfirst, so both columns sit centred. */
.cta-band__inner { align-items: center; }
.site-footer { background: var(--chrome); color: #b3bcc4; }
.footer-main { grid-template-columns: 1.25fr .8fr .95fr .85fr; align-items: start; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.footer-list a, .footer-contact, .footer-contact a, .footer-note { color: #b3bcc4; }
.footer-list a:hover, .footer-contact a:hover { color: #fff; }
.site-footer .social-link { border-color: #ffffff3d; color: #cfd6dc; }
.site-footer .social-link:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid #ffffff1f; color: #8a949e; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .home-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-stat:nth-child(3) { border-inline-start: 0; }
  .home-stat:nth-child(n+3) { border-top: 1px solid var(--sand-line); }
  .product-track > .product-tile { flex-basis: calc((100% - 32px) / 3); }
  .cert-track > .cert-slide { flex-basis: calc((100% - 32px) / 3); }
  .home-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand { width: 146px; }
}
@media (max-width: 900px) {
  .home-about, .home-split, .home-split--reverse { grid-template-columns: minmax(0, 1fr); }
  .home-split--reverse .home-split__media { order: 0; }
  /* Multi-item rows stay one row and switch horizontally on small screens instead
     of stacking into a long page. */
  .home-gallery, .home-posts, .home-notes { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .home-gallery::-webkit-scrollbar, .home-posts::-webkit-scrollbar, .home-notes::-webkit-scrollbar { display: none; }
  .home-gallery > li { flex: 0 0 72%; scroll-snap-align: start; }
  .home-posts > .home-post { flex: 0 0 84%; scroll-snap-align: start; }
  .home-notes > .home-note { flex: 0 0 84%; scroll-snap-align: start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .topbar__slogan { display: none; }
  .topbar__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .hero--slides { aspect-ratio: auto; min-height: 540px; }
  .hero--slides .hero__media img { filter: blur(clamp(8px, 1.3vw, 10px)); transform: scale(1.06); }
}
@media (max-width: 800px) {
  .product-track > .product-tile { flex-basis: calc((100% - 16px) / 2); }
  .cert-track > .cert-slide { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 640px) {
  .home-stats__grid { grid-template-columns: minmax(0, 1fr); }
  .home-stat { border-inline-start: 0; border-top: 1px solid var(--sand-line); padding: 22px 0; }
  .home-stat:first-child { border-top: 0; }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .home-section { padding-block: 32px; }
  .home-gallery { gap: 10px; }
  .home-gallery > li { flex-basis: 78%; }
  .home-posts > .home-post, .home-notes > .home-note { flex-basis: 88%; }
  .home-post__title { font-size: 1rem; }
  .home-statement { padding-block: 52px; }
  .hero--slides { min-height: 470px; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  /* Keep the header to logo + search + menu on narrow screens: the flag alone
     identifies the current language. */
  .lang-select__current { display: none; }
  .lang-select__button { padding: 6px 9px; }
}

/* ---------- navigation icons ---------- */
/* The dropdown caret was a text glyph and rendered with the fallback font; the
   chevron is now one inline icon in every menu and footer group. */
.submenu-toggle svg.icon-chevron { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.submenu-toggle[aria-expanded="true"] svg.icon-chevron { transform: rotate(180deg); }
.nav-toggle svg.icon-menu { width: 22px; height: 22px; }
.footer-chevron { display: none; }

/* ---------- footer groups (desktop: always open) ---------- */
.footer-contact-block, .footer-group { min-width: 0; }
.footer-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; cursor: default; pointer-events: none; }
.footer-group > summary::-webkit-details-marker { display: none; }

/* ---------- WhatsApp control ---------- */
.wa-float__icon { display: grid; flex: 0 0 auto; place-items: center; width: 22px; height: 22px; }
.wa-float__icon svg { width: 22px; height: 22px; }

/* ---------- mobile header and footer ---------- */
@media (max-width: 1024px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-actions > * { flex: 0 0 auto; }
  .nav-toggle { justify-content: center; width: 42px; min-width: 42px; min-height: 42px; padding: 0; }
}
@media (max-width: 900px) {
  /* Footer groups collapse into the reference site's accordion rows. */
  .footer-main { display: block; padding-block: 0 10px; }
  .footer-contact-block { padding-block: 32px 22px; }
  .footer-group { border-top: 1px solid #ffffff26; }
  .footer-group > summary { padding-block: 15px; pointer-events: auto; cursor: pointer; }
  .footer-group .footer-chevron { display: block; flex: 0 0 auto; width: 16px; height: 16px; color: #cfd6dc; transition: transform .2s var(--ease); }
  .footer-group[open] .footer-chevron { transform: rotate(180deg); }
  .footer-group .footer-list { padding-bottom: 18px; }
  .footer-group .footer-note { margin-top: 4px; }
  .site-footer .social-link { width: 38px; height: 38px; }
  .site-footer .social-link svg { width: 17px; height: 17px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 60px; gap: 4px; }
  .brand { width: 112px; }
  .header-search { width: 34px; height: 34px; }
  .lang-select__button { min-height: 34px; padding: 5px 7px; gap: 5px; }
  .nav-toggle { width: 38px; min-width: 38px; min-height: 38px; }
  /* Icon-only controls lose their boxes on phones, as on the reference site. */
  .nav-toggle, .lang-select__button { border-color: transparent; background: transparent; }
  .nav-toggle:hover, .lang-select__button:hover { background: var(--surface); }
  /* Reference mobile utility bar keeps only the slogan. */
  .topbar__contact, .topbar .social-links { display: none; }
  .topbar__slogan { display: block; }
  .topbar__inner { display: flex; justify-content: center; min-height: 36px; }
  .wa-float { inset-inline-end: 14px; bottom: 16px; }
  .wa-float__link { display: flex; align-items: center; justify-content: center; gap: 0; width: 52px; height: 52px; padding: 0; border-radius: 50%; }
  .wa-float__text { display: none; }
  .wa-float__icon, .wa-float__icon svg { width: 26px; height: 26px; }
}


/* ---------- carousel affordance ---------- */
/* The arrows stay visible at every width so a row reads as a carousel; at the
   first or last slide the matching arrow dims instead of disappearing. */
.strip__nav svg { width: 18px; height: 18px; }
.strip__nav[disabled] { opacity: .3; cursor: default; box-shadow: none; border-color: var(--line-2); }
.strip__nav[disabled]:hover { color: var(--ink-2); border-color: var(--line-2); }
@media (max-width: 900px) {
  .strip__nav { top: 38%; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 10px rgba(11, 15, 19, .16); }
  .strip__nav svg { width: 18px; height: 18px; }
  .strip__nav--prev { inset-inline-start: 2px; }
  .strip__nav--next { inset-inline-end: 2px; }
}


/* Card rows (visits, articles, knowledge) are grids on desktop and carousels on
   phones; the arrows only exist for the carousel state. */
.strip--cards .strip__nav { display: none; }
@media (max-width: 900px) {
  .strip--cards .strip__nav { display: grid; top: 32%; }
}

/* Card carousels hang the arrows half into the page gutter so they sit beside the
   cards instead of on top of the copy. */
@media (max-width: 900px) {
  .strip--cards .strip__nav--prev { inset-inline-start: -16px; }
  .strip--cards .strip__nav--next { inset-inline-end: -16px; }
}

/* Six marks break as 3 + 3 on a phone instead of 4 + 2. */
@media (max-width: 640px) {
  .credential-line { max-width: 260px; margin-inline: auto; }
}

/* ---------- optional enquiry details ---------- */
.form-extra__group + .form-extra__group { border-top: 1px solid var(--line-2); }
.form-extra__label { margin: 0; padding: 14px 14px 0; color: var(--ink-4); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-panel .field + .field { margin-top: 14px; }

/* ---------- inner page head ---------- */
/* Inner pages stay close to the reference site: a breadcrumb strip, then the content.
   No oversized opening banner and no standfirst block above the fold. */
.page-title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 28px; margin-bottom: clamp(22px, 2.6vw, 34px); }
.page-title-row h1 { margin: 0; font-size: clamp(1.5rem, 2.1vw, 1.95rem); letter-spacing: -.024em; }
.page-count { margin: 0; color: var(--ink-4); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.page-count strong { color: var(--ink-2); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- catalogue: sidebar counts and card grid ---------- */
.catalog__aside .category-nav__link::after { content: none; }
.category-nav__count { color: var(--ink-4); font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.category-nav__link[aria-current="page"] .category-nav__count { color: var(--brand); }
.catalog__layout .product-grid { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
/* Grid and flex children default to min-width:auto, which lets a wide chip row
   stretch the whole page. Keep every column shrinkable. */
.catalog__layout > * { min-width: 0; }
.catalog__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 4px; }
.catalog__head h2 { margin: 0; font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.catalog__count { margin: 0; color: var(--ink-4); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) {
  .catalog__layout { grid-template-columns: 1fr; }
  .catalog__aside { position: static; min-width: 0; }
  /* The category list turns into one horizontally scrollable chip row so the grid
     stays close to the fold on phones. */
  .catalog__aside .category-nav { flex-direction: row; flex-wrap: nowrap; gap: 8px; border-top: 0; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: thin; }
  .catalog__aside .category-nav__link { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
  .catalog__aside .category-nav__link { padding: 8px 12px; border: 1px solid var(--line); background: var(--paper); font-size: .8rem; gap: 8px; }
  .catalog__aside .category-nav__link[aria-current="page"] { border-color: var(--brand); }
}

/* Article pages keep the body measure narrow, so the headline follows the column
   instead of using the page-wide h1 size. */
.article-body h1 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.article-body > img { width: 100%; margin: 26px 0; }
.article-body p { font-size: 1.02rem; line-height: 1.85; color: var(--ink-2); }

/* ---------- phone grids: two up, like the reference site ---------- */
/* A category reads as a grid on a phone rather than one long single column. These
   rules sit last so they win over the earlier one-column overrides. */
@media (max-width: 640px) {
  .catalog__layout .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog__layout .product-card__body { padding: 10px 11px 12px; }
  .catalog__layout .product-card__title { margin-bottom: 4px; font-size: .84rem; line-height: 1.3; }
  .catalog__layout .product-card__meta { margin-bottom: 6px; }
  /* Three lines max. A plain block with a max-height clips cleanly on every engine;
     -webkit-line-clamp left a half line visible in the two-up card. */
  .catalog__layout .product-card__desc { display: block; max-height: 4.5em; overflow: hidden; margin-bottom: 8px; font-size: .72rem; line-height: 1.5; }
  /* Push price and buttons to the card foot so a row of two cards lines up even when
     the descriptions differ in length. */
  .catalog__layout .product-card__price { margin-top: auto; gap: 5px; padding-top: 8px; }
  .catalog__layout .product-card__price strong { font-size: .92rem; }
  .catalog__layout .product-card__foot { margin-top: 10px; gap: 6px 8px; }
  .catalog__layout .product-card__foot .btn { min-height: 34px; padding: 6px 10px; font-size: .7rem; }
  .catalog__layout .product-card__inquire { font-size: .7rem; }
  .catalog__layout .product-card__media img { padding: 10px; }

  .cert-grid, .cert-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cert-card__media img { padding: 5px; }
  .cert-card__name { display: block; max-height: 4.2em; overflow: hidden; padding: 7px 8px 8px; font-size: .66rem; line-height: 1.4; }
}

/* ---------- right-to-left (Arabic) ---------- */
/* The layout itself follows the dir attribute: every offset and border in this file is
   written with logical properties, so the mirroring is free. Only the purely visual
   bits that cannot be expressed logically are handled here. */
[dir="rtl"] .text-link::after,
[dir="rtl"] .btn::after,
[dir="rtl"] .category-nav__link::after { content: "←"; }

/* A caret drawn from two borders is direction-neutral once it points down; keeping the
   physical top-right corner avoids a rotated half-chevron under RTL. */
[dir="rtl"] .nav-item.has-mega > .nav-link::after,
[dir="rtl"] .lang-select__caret {
  border-inline-start: 1.5px solid currentColor;
  border-inline-end: 0;
}

/* Carousel arrows: positions swap through the logical inset, the glyph has to follow. */
[dir="rtl"] .strip__nav--prev,
[dir="rtl"] .strip__nav--next,
[dir="rtl"] .quality-gallery__next svg { transform: scaleX(-1); }
