/* Sinovent — sinoventgroup.com
   Palette taken from the logo: graphite ring, warm-to-cool airflow ribbons. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --ink: #1f2226;
  --graphite: #2b2e33;
  --graphite-2: #383c42;
  --steel: #666b73;
  --steel-light: #9aa0a8;
  --line: #dde1e6;
  --tint: #f2f4f6;
  --white: #ffffff;
  --heat: #cd1f06;
  --ember: #ec6f03;
  --cool: #0e56dc;
  --cool-dark: #0a44b0;
  --air: linear-gradient(90deg, var(--heat) 0%, var(--ember) 38%, var(--steel-light) 62%, var(--cool) 100%);
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 3px;
  --r-md: 6px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.catalogue > *, .pd > *, .pd-detail > *, .split > *, .contact-grid > *, .quote-grid > *, .hero-in > * { min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cool); text-underline-offset: 3px; }
a:hover { color: var(--cool-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--graphite); letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.muted { color: var(--steel); font-size: .95rem; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--graphite); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }
.airline { height: 3px; background: var(--air); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--r-sm); border: 1.5px solid transparent; font: 600 1rem/1 var(--display); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--cool); color: #fff; }
.btn-primary:hover { background: var(--cool-dark); color: #fff; }
.btn-ghost { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-ghost:hover { background: var(--graphite); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-light:hover { background: #fff; color: var(--graphite); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--graphite); border-radius: var(--r-sm); cursor: pointer; }
.icon-btn:hover { background: var(--tint); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--graphite); color: #c9ced4; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar p { margin: 0; }
.topbar-contact { display: flex; gap: 20px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 16px; height: 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 42px; width: auto; }
.brand-word { font: 700 1.55rem/1 var(--display); letter-spacing: .14em; color: var(--graphite); }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 14px; color: var(--graphite); text-decoration: none; font: 600 1.05rem/1 var(--display); letter-spacing: .02em; border-radius: var(--r-sm); }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--tint); color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.quote-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1.5px solid var(--graphite); border-radius: var(--r-sm); color: var(--graphite); text-decoration: none; font: 600 1rem/1 var(--display); }
.quote-btn:hover { background: var(--graphite); color: #fff; }
.quote-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ember); color: #fff; font-size: .8rem; display: inline-grid; place-items: center; }
.quote-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(31,34,38,.25); display: none; }
.mega.open { display: block; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 28px; padding-top: 28px; padding-bottom: 32px; }
.mega-cat { display: flex; justify-content: space-between; gap: 8px; font: 600 1.05rem/1.2 var(--display); color: var(--graphite); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mega-cat span { color: var(--steel); font-weight: 500; }
.mega-cat:hover { color: var(--cool); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 3px 0; font-size: .92rem; color: var(--steel); text-decoration: none; }
.mega li a:hover { color: var(--cool); }

/* search overlay */
.search-layer { position: fixed; inset: 0; z-index: 80; background: rgba(31,34,38,.55); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.search-layer[hidden] { display: none; }
.search-box { width: min(680px, 100%); background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.search-row { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.search-row input { flex: 1; border: 0; font: 400 1.15rem var(--body); padding: 12px 0; outline: none; min-width: 0; }
.search-results { list-style: none; margin: 0; padding: 0; max-height: 55vh; overflow: auto; }
.search-results a { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 10px 18px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a.active { background: var(--tint); }
.search-results img { width: 52px; height: 52px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.search-results .r-code { display: block; font: 600 .85rem var(--display); color: var(--steel); letter-spacing: .04em; }
.search-hint { margin: 0; padding: 12px 18px; color: var(--steel); font-size: .9rem; border-top: 1px solid var(--line); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--graphite); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #fff; font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--tint); border-bottom: 1px solid var(--line); }
.hero-flow { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.22) 42%, #000 62%); mask-image: linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.22) 42%, #000 62%); }
.hero-flow .flow { fill: none; stroke: url(#airgrad); stroke-width: 2.2; stroke-linecap: round; opacity: .55; stroke-dasharray: 1900; stroke-dashoffset: 1900; animation: draw 2.4s cubic-bezier(.3,.1,.2,1) forwards; }
.hero-flow .flow-1 { animation-delay: .08s; } .hero-flow .flow-2 { animation-delay: .16s; } .hero-flow .flow-3 { animation-delay: .24s; opacity: .8; stroke-width: 3; }
.hero-flow .flow-4 { animation-delay: .32s; } .hero-flow .flow-5 { animation-delay: .4s; } .hero-flow .flow-6 { animation-delay: .48s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem); line-height: 1.02; }
.hero-lead { font-size: 1.15rem; color: var(--graphite-2); max-width: 54ch; }
.hero-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--graphite); border-radius: var(--r-sm); padding: 5px 5px 5px 16px; max-width: 560px; margin: 28px 0 18px; }
.hero-search input { flex: 1; min-width: 0; border: 0; font: 400 1.05rem var(--body); padding: 10px 0; outline: none; background: transparent; }
.hero-search:focus-within { outline: 3px solid var(--ember); outline-offset: 2px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; }
.hero-product { margin: 0; justify-self: center; width: min(460px, 100%); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), 0 40px 60px -40px rgba(31,34,38,.45); }
.hero-product img { width: 84%; mix-blend-mode: multiply; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--graphite); color: #d6dade; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--steel); font-size: 1.05rem; margin: 0; }
.section-dark .section-head p { color: #b5bbc2; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-head-row h2 { margin: 0; }

/* catalogue index (home) */
.cat-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 2px solid var(--graphite); }
.index-row { display: grid; grid-template-columns: 112px 1fr auto; gap: 20px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.index-img img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--r-sm); }
.index-body h3 { margin-bottom: 4px; font-size: 1.35rem; }
.index-body h3 a { color: var(--graphite); text-decoration: none; }
.index-body h3 a:hover { color: var(--cool); }
.index-body p { color: var(--steel); font-size: .95rem; margin-bottom: 8px; }
.index-subs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; }
.index-subs a { color: var(--graphite-2); }
.index-count { font: 700 1.6rem/1 var(--display); color: var(--graphite); text-align: right; }
.index-count small { display: block; font: 500 .8rem var(--body); color: var(--steel); margin-top: 4px; }

/* product tiles */
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.tile-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { min-width: 0; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .15s; }
.tile:hover { border-color: var(--steel-light); }
.tile-link { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 10px; color: var(--ink); text-decoration: none; }
.tile-img { display: block; aspect-ratio: 1; margin: -4px -4px 12px; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; }
.tile-code { font: 600 .82rem/1.2 var(--display); color: var(--steel); letter-spacing: .05em; }
.tile-name { font: 600 1.08rem/1.25 var(--display); color: var(--graphite); margin: 4px 0 6px; }
.tile-link:hover .tile-name { color: var(--cool); }
.tile-mat { font-size: .85rem; color: var(--steel); margin-top: auto; }
.tile-add { display: flex; align-items: center; gap: 6px; margin: 0 14px 14px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--graphite); font: 600 .9rem/1 var(--display); cursor: pointer; justify-content: center; }
.tile-add svg { width: 16px; height: 16px; }
.tile-add:hover { border-color: var(--cool); color: var(--cool); }
.tile-add.added { background: var(--graphite); border-color: var(--graphite); color: #fff; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media img { border-radius: var(--r-md); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.reasons { margin: 0 0 28px; }
.reasons div { padding: 16px 0 16px 20px; border-left: 3px solid; border-image: linear-gradient(var(--ember), var(--cool)) 1; }
.reasons div + div { margin-top: 6px; }
.reasons dt { font: 600 1.15rem/1.3 var(--display); color: var(--graphite); margin-bottom: 4px; }
.reasons dd { margin: 0; color: var(--graphite-2); }

/* steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 52px 22px 0 0; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--display); background: var(--graphite); border: 2px solid var(--steel-light); color: #fff; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 17px; left: 36px; right: 0; height: 2px; background: var(--air); opacity: .7; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { font-size: .95rem; color: #b5bbc2; margin: 0; }

/* cta band */
.cta-band { background: var(--graphite-2); color: #d6dade; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { background: var(--graphite); color: #b5bbc2; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.2fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-mark { display: inline-block; background: #fff; border-radius: var(--r-md); padding: 8px 10px; }
.footer-mark img { height: 44px; width: auto; }
.footer-word { font: 700 1.4rem/1 var(--display); letter-spacing: .14em; color: #fff; margin: 14px 0 10px; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #d6dade; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { margin-top: 3px; width: 18px; height: 18px; color: var(--steel-light); }
.footer-legal { padding-bottom: 24px; font-size: .85rem; }
.footer-legal p { margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }

/* ---------- inner pages ---------- */
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 28px 0 32px; }
.page-head h1 { margin: 10px 0 8px; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); }
.page-head p { color: var(--steel); max-width: 70ch; margin: 0; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--steel); }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--cool); }

.catalogue { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding-top: 36px; padding-bottom: 72px; align-items: start; }
.cat-side { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
.side-title { font-size: 1rem; letter-spacing: .02em; margin: 0 0 10px; color: var(--steel); font-weight: 600; }
.side-cats { list-style: none; margin: 0 0 28px; padding: 0; }
.side-cats a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--graphite); font-weight: 500; font-size: .97rem; }
.side-cats a span { color: var(--steel); font-size: .85rem; }
.side-cats a:hover { background: var(--tint); }
.side-cats a[aria-current] { background: var(--graphite); color: #fff; }
.side-cats a[aria-current] span { color: #c9ced4; }
.side-cats ul { list-style: none; margin: 4px 0 8px 12px; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.side-cats ul a { font-size: .9rem; color: var(--steel); padding: 5px 8px; }
.side-cats ul a.on { color: var(--cool); font-weight: 600; }
.side-mats { display: grid; gap: 6px; }
.check { display: flex; gap: 10px; align-items: center; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--cool); }
.cat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.filter-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; flex: 1; max-width: 420px; background: #fff; }
.filter-search:focus-within { border-color: var(--graphite); }
.filter-search input { border: 0; outline: none; font: 400 1rem var(--body); padding: 11px 0; flex: 1; min-width: 0; }
.cat-count { margin: 0; color: var(--steel); font-size: .95rem; }
.cat-group { margin-bottom: 44px; }
.group-title { font-size: 1.45rem; padding-bottom: 10px; border-bottom: 2px solid var(--graphite); margin-bottom: 18px; display: flex; gap: 10px; align-items: baseline; }
.group-title span { font: 500 .95rem var(--body); color: var(--steel); }
.group-title a { color: inherit; text-decoration: none; }
.group-title a:hover { color: var(--cool); }
.empty-state { padding: 28px; background: var(--tint); border-radius: var(--r-sm); }

/* product detail */
.pd-crumbs { padding-top: 22px; }
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); padding-top: 20px; padding-bottom: 48px; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.g-thumb { width: 84px; height: 84px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
.g-thumb img { width: 100%; height: 100%; object-fit: contain; }
.g-thumb[aria-current] { border: 2px solid var(--graphite); }
.pd-code { font: 600 1rem var(--display); letter-spacing: .06em; color: var(--steel); margin: 4px 0 6px; }
.pd-info h1 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); margin-bottom: 6px; }
.pd-sub { color: var(--steel); margin-bottom: 22px; }
.spec-list { margin: 0 0 26px; border-top: 2px solid var(--graphite); }
.spec-list div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--steel); font-size: .95rem; }
.spec-list dd { margin: 0; font-weight: 500; }
.pd-actions { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.qty { display: grid; gap: 4px; font-size: .85rem; color: var(--steel); }
.qty input { width: 110px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; font: 500 1.05rem var(--body); }
.qty input:focus { border-color: var(--graphite); outline: none; }
.pd-note { margin-top: 18px; color: var(--steel); font-size: .95rem; max-width: 52ch; }
.pd-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-bottom: 72px; padding-top: 16px; }
.pd-detail.single { grid-template-columns: minmax(0, 1fr); }
.pd-section h2 { font-size: 1.6rem; }
.prose { max-width: 70ch; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--ember); }
.table-scroll { overflow-x: auto; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.size-table { border-collapse: collapse; width: 100%; font-size: .93rem; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 9px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.size-table thead th { background: var(--graphite); color: #fff; font: 600 .92rem var(--display); letter-spacing: .03em; }
.size-table tbody th { font-weight: 600; color: var(--graphite); }
.size-table tbody tr:nth-child(even) { background: var(--tint); }
.size-table tbody tr:last-child > * { border-bottom: 0; }

/* about */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 0; }
.services div { padding: 22px 0; border-top: 1px solid var(--line); }
.services dt { font: 600 1.2rem/1.3 var(--display); color: var(--graphite); margin-bottom: 6px; }
.services dd { margin: 0; color: var(--graphite-2); }

/* forms */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 18px; }
.form-grid label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; color: var(--graphite); }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px; font: 400 1rem var(--body); color: var(--ink); background: #fff; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--graphite); outline: none; }
.form-grid [aria-invalid="true"] { border-color: var(--heat); }
.hp { position: absolute; left: -9999px; }
.form-error { color: var(--heat); font-weight: 500; }
.form-note { color: var(--steel); font-size: .88rem; margin-top: 12px; }
.form-done { padding: 28px; border-left: 4px solid var(--cool); background: var(--tint); }
.contact-card { background: var(--tint); border-radius: var(--r-md); padding: 28px; }
.contact-card ul { list-style: none; margin: 0 0 18px; padding: 0; }
.contact-card li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-card li svg { margin-top: 3px; color: var(--steel); }
.contact-card strong { display: block; font: 600 .9rem var(--display); color: var(--steel); letter-spacing: .03em; }

/* quote list */
.quote-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.quote-table { width: 100%; border-collapse: collapse; }
.quote-table th { text-align: left; font: 600 .9rem var(--display); color: var(--steel); padding: 0 8px 10px; border-bottom: 2px solid var(--graphite); }
.quote-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.q-prod { display: flex; gap: 14px; align-items: center; }
.q-prod img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; flex: none; }
.q-prod a { font: 600 1.02rem/1.25 var(--display); color: var(--graphite); text-decoration: none; }
.q-prod a:hover { color: var(--cool); }
.q-prod small { display: block; color: var(--steel); font: 600 .82rem var(--display); letter-spacing: .05em; }
.quote-table input { width: 90px; height: 42px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; font: 500 1rem var(--body); }
.quote-empty { padding: 36px; background: var(--tint); border-radius: var(--r-md); }
.quote-form { background: var(--tint); padding: 28px; border-radius: var(--r-md); }
.quote-form .form-grid { grid-template-columns: 1fr; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 26px 56px; }
  .steps li::after { top: 36px; bottom: 0; left: 17px; width: 2px; height: auto; right: auto; background: linear-gradient(var(--ember), var(--cool)); }
  .tile-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-grid; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 14px 8px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { display: none !important; }
  .quote-label { display: none; }
  .brand img { height: 34px; }
  .brand-word { font-size: 1.3rem; }
  .topbar p { display: none; }
  .topbar-in { justify-content: center; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-product { width: min(300px, 70%); order: -1; }
  .cat-index { grid-template-columns: 1fr; }
  .split, .contact-grid, .quote-grid, .pd, .pd-detail { grid-template-columns: 1fr; }
  .catalogue { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cat-side { position: static; max-height: none; overflow: visible; }
  .side-cats { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding-bottom: 6px; }
  .side-cats > li > a { white-space: nowrap; border: 1px solid var(--line); }
  .side-cats ul { display: none; }
  .side-mats { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .side-title { display: none; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .index-row { grid-template-columns: 76px 1fr; }
  .index-img img { width: 76px; height: 76px; }
  .index-count { display: none; }
  .tile-grid, .tile-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile-link { padding: 10px 10px 8px; }
  .tile-name { font-size: 1rem; }
  .tile-add { margin: 0 10px 10px; }
  .tile-add span { font-size: .82rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid, .services { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
  .spec-list div { grid-template-columns: 110px 1fr; }
  .hero-search .btn { padding: 0 14px; }
  .topbar-contact { gap: 14px; font-size: .8rem; }
  .cat-toolbar { flex-direction: column; align-items: stretch; }
  .filter-search { max-width: none; }
  .quote-table thead { display: none; }
  .q-prod img { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-flow .flow { stroke-dashoffset: 0; }
}
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .tile-add, .pd-actions { display: none; }
}
