/* Cryogenica Bulgaria — static site stylesheet
   "Industrial Clarity" palette carried over from the original design. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/inter-800.woff") format("woff"); }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plexmono-400.woff") format("woff"); }

:root {
  --bg: #F4F7FA;
  --fg: #0E2A4A;
  --fg-rgb: 14 42 74;
  --accent: #1B6FB0;
  --accent-rgb: 27 111 176;
  --steel: #7890AE;
  --steel-rgb: 120 144 174;
  --light: #9CC3E6;
  --navy: #0E2A4A;
  --deep: #0B1A2E;
  --deep-rgb: 11 26 46;
  --card: #FFFFFF;
  --line: rgb(var(--steel-rgb) / .22);
  --line-strong: rgb(var(--steel-rgb) / .42);
  --ok: #1d7a46;
  --err: #b42318;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }

/* ── Labels & headings ── */
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .5); }
.kicker-line { display: flex; align-items: center; gap: 12px; color: var(--light); }
.kicker-line::before { content: ""; width: 48px; height: 1px; background: var(--light); }
.h2 { font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.02; letter-spacing: .01em; margin: 0; }
.h2 .hl, .hl { color: var(--accent); }
.lede { color: rgb(var(--fg-rgb) / .62); font-size: 14px; line-height: 1.7; max-width: 26rem; margin: 0; }
.section-head { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
@media (min-width: 1024px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.prose p { color: rgb(var(--fg-rgb) / .72); line-height: 1.75; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; font-size: 13px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; transition: opacity .2s, background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { opacity: .9; }
.btn-ghost { border: 1px solid rgb(255 255 255 / .4); color: #fff; font-weight: 600; }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-outline { border: 1px solid var(--line-strong); color: rgb(var(--fg-rgb) / .75); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 12px; }
.btn .icon { width: 16px; height: 16px; }

/* ── Header ── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgb(255 255 255 / .96); border-bottom: 1px solid #C7D4E2; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 6px rgb(var(--deep-rgb) / .08); }
.header-bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 39px; height: 39px; background: var(--accent); display: flex; align-items: center; justify-content: center; color: #fff; }
.brand-mark .icon { width: 20px; height: 20px; }
.brand-text { display: flex; flex-direction: column; justify-content: space-between; height: 36px; line-height: 1; }
.brand-name { font-weight: 700; letter-spacing: .16em; font-size: 17px; }
.brand-sub { font-family: var(--mono); font-size: 13px; letter-spacing: .3em; color: var(--accent); }
.nav { display: none; align-items: center; gap: 6px; }
.nav a { padding: 6px 12px; border: 1px solid var(--line-strong); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .82); white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; border: 1px solid var(--line-strong); }
.lang a, .lang span { padding: 6px 9px; }
.lang span { background: var(--fg); color: #fff; }
.lang a:hover { color: var(--accent); }
.menu-btn { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; }
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.menu-open .menu-btn .i-open { display: none; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.menu-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 20px var(--gutter) 24px; display: flex; flex-direction: column; gap: 16px; }
.mobile-nav a { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .82); }
.mobile-nav a[aria-current="page"] { color: var(--accent); }
@media (min-width: 1180px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav, .menu-open .mobile-nav { display: none; }
}
main { padding-top: 64px; }

/* ── HEROSE banner (home) ── */
.herose-banner { position: relative; overflow: hidden; background: #1c2630; }
.herose-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left 64%; transform: scale(1.12); transform-origin: left 64%; }
.herose-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .75), rgb(0 0 0 / .45) 50%, rgb(0 0 0 / .15)); }
.herose-banner .wrap { position: relative; z-index: 1; height: 15.7rem; display: flex; align-items: center; }
@media (min-width: 640px) { .herose-banner .wrap { height: 19.2rem; } }
.herose-banner .logo-link { display: inline-flex; }
.herose-banner .herose-logo { height: 24px; width: auto; }
.herose-banner h2 { margin: 8px 0 0; color: #fff; font-weight: 400; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.05; }
.herose-banner h2 strong { font-weight: 800; }
.herose-banner p { margin: 6px 0 0; max-width: 32rem; color: rgb(255 255 255 / .85); font-size: 12px; line-height: 1.4; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; background: var(--deep); min-height: 100vh; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 40%, #2b5f8f 0%, #13304f 45%, var(--deep) 80%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep), rgb(var(--deep-rgb) / .75) 50%, rgb(var(--deep-rgb) / .1)); z-index: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--deep), transparent 50%, rgb(var(--deep-rgb) / .3)); z-index: 1; }
.frost { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgb(224 242 247 / .14) 0%, rgb(224 242 247 / .04) 40%, transparent 70%); opacity: .9; transition: opacity .3s; z-index: 2; }
.hero .wrap { position: relative; z-index: 3; min-height: 100vh; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; justify-content: center; }
.hero .kicker-line { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 32px; }
.hero h1 { margin: 0; color: #fff; font-weight: 700; text-transform: uppercase; line-height: 1.04; letter-spacing: .02em; font-size: clamp(38px, 6.6vw, 84px); max-width: 60rem; }
.hero h1 span { color: var(--light); }
.hero-text { margin: 32px 0 0; max-width: 36rem; font-size: 18px; color: rgb(255 255 255 / .8); }
.hero-text .t { color: var(--light); font-family: var(--mono); }
.hero-ctas { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-ctas .btn { height: 56px; padding: 0 28px; font-size: 13px; }
.stats { margin-top: 80px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .15); }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: rgb(var(--deep-rgb) / .72); padding: 20px; }
.stat-k { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; color: var(--light); }
.stat-v { margin-top: 8px; font-size: 24px; font-weight: 700; color: #fff; }
.stat-u { margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .5); }

/* ── Generic sections ── */
.section { padding: 96px 0; border-top: 1px solid rgb(var(--steel-rgb) / .15); }
@media (min-width: 1024px) { .section { padding: 128px 0; } }
.section-tight { padding: 72px 0; }
.page-head { padding: 72px 0 0; }

/* Supply lines (home) */
.supply { margin-top: 48px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .supply { grid-template-columns: 1fr 1fr; } }
.supply-card { background: var(--card); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.supply-card .tag { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
.supply-card h3 { margin: 12px 0 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.supply-card p { color: rgb(var(--fg-rgb) / .65); line-height: 1.7; font-size: 15px; }
.supply-card .herose-logo { height: 20px; width: auto; margin-top: 18px; align-self: flex-start; }
.ticks { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 14px; color: rgb(var(--fg-rgb) / .8); }
.ticks .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.supply-card .btn { margin-top: auto; align-self: flex-start; }

/* Applications strip (home) */
.app-strip { margin-top: 48px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
@media (min-width: 640px) { .app-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .app-strip { grid-template-columns: repeat(5, 1fr); } }
.app-tile { position: relative; overflow: hidden; min-height: 210px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(160deg, #1d4a76, var(--deep)); }
.app-tile > img, .app-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .5s; }
.app-tile::after, .app-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(var(--fg-rgb) / .65), rgb(var(--fg-rgb) / .3)); }
.app-tile:hover > img, .app-card:hover > img { transform: scale(1.05); }
.app-tile > *:not(img), .app-card > *:not(img) { position: relative; z-index: 1; }
.app-icon { width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / .7); display: flex; align-items: center; justify-content: center; background: rgb(var(--fg-rgb) / .55); }
.app-name { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 17px; line-height: 1.2; text-shadow: 0 1px 2px rgb(0 0 0 / .8); }
.app-tag { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 3px rgb(0 0 0 / .95); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 72px 0; }
.cta-band .wrap { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 900px) { .cta-band .wrap { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-band h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; line-height: 1.05; }
.cta-band h2 span { color: var(--light); }
.cta-band p { margin: 10px 0 0; color: rgb(255 255 255 / .7); max-width: 36rem; }

/* ── Company ── */
.company { position: relative; overflow: hidden; background: var(--deep); padding: 112px 0; }
@media (min-width: 1024px) { .company { padding: 144px 0; } }
.scene-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); background: radial-gradient(ellipse at 30% 30%, #1d4a76, var(--deep) 75%); }
@media (min-width: 1024px) { .scene-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); } }
.scene-grid img { width: 100%; height: 100%; object-fit: cover; }
.company::before { content: ""; position: absolute; inset: 0; background: rgb(var(--deep-rgb) / .5); z-index: 1; }
.company::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--deep), rgb(var(--deep-rgb) / .3) 50%, rgb(var(--deep-rgb) / .15)); z-index: 1; }
.company .inner { position: relative; z-index: 2; max-width: 56rem; margin: 0 auto; padding: 0 var(--gutter); }
.company .kicker { color: rgb(255 255 255 / .6); }
.company h1 { margin: 40px 0 0; color: #fff; font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 5.5vw, 60px); line-height: .98; letter-spacing: .01em; }
.company h1 span { color: var(--light); }
.company p { margin: 24px 0 0; font-size: 18px; color: rgb(255 255 255 / .86); line-height: 1.7; max-width: 42rem; }
.features { margin-top: 48px; display: grid; gap: 1px; background: rgb(255 255 255 / .15); border: 1px solid rgb(255 255 255 / .15); max-width: 48rem; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { background: rgb(var(--deep-rgb) / .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 24px; display: flex; gap: 16px; }
.feature .icon { width: 24px; height: 24px; color: var(--light); }
.feature-k { font-size: 14px; letter-spacing: .04em; color: #fff; text-transform: uppercase; font-weight: 600; }
.feature-v { margin-top: 4px; font-size: 14px; color: rgb(255 255 255 / .66); line-height: 1.55; }

.steps { margin-top: 48px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--card); padding: 28px; }
.step-n { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--accent); }
.step h3 { margin: 10px 0 0; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.step p { margin: 10px 0 0; font-size: 14px; color: rgb(var(--fg-rgb) / .65); line-height: 1.65; }

.facts { margin-top: 48px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--card); padding: 22px 24px; }
.fact-k { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .45); }
.fact-v { margin-top: 6px; font-size: 15px; font-weight: 600; }

/* ── Applications ── */
.app-cards { margin-top: 48px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .app-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .app-cards { grid-template-columns: repeat(4, 1fr); } }
.app-card { position: relative; overflow: hidden; text-align: left; padding: 24px; min-height: 170px; color: #fff; background: linear-gradient(160deg, #1d4a76, var(--deep)); display: flex; flex-direction: column; }
.app-card .row1 { display: flex; justify-content: space-between; align-items: flex-start; }
.app-card .chev { width: 20px; height: 20px; transition: transform .25s; color: rgb(255 255 255 / .85); }
.app-card[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--light); }
.app-card[aria-selected="true"] .chev { transform: rotate(90deg); color: var(--light); }
.app-card .app-name { margin-top: 20px; }
.app-card .more { margin-top: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--light); text-transform: uppercase; }
.app-panel { margin-top: 1px; border: 1px solid var(--line); background: var(--card); padding: clamp(22px, 4vw, 40px); scroll-margin-top: 80px; }
.js .app-panel[hidden] { display: none; }
.app-panel-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .app-panel-grid { grid-template-columns: 4fr 8fr; } }
.app-panel .label { font-family: var(--mono); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
.app-panel h2 { margin: 12px 0 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; text-transform: uppercase; letter-spacing: .03em; }
.app-panel .intro { margin: 20px 0 0; color: rgb(var(--fg-rgb) / .65); line-height: 1.7; font-size: 14px; }
.app-panel .btns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.chain-label { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgb(var(--accent-rgb) / .75); margin-bottom: 14px; }
.chain { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stage { background: var(--card); padding: 20px; }
.stage h3 { margin: 0; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.stage p { margin: 8px 0 0; font-size: 14px; color: rgb(var(--fg-rgb) / .6); line-height: 1.6; }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--line-strong); background: var(--bg); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .75); transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip img { width: 32px; height: 32px; object-fit: cover; border: 1px solid var(--line-strong); background: #fff; }
.chip.partner { padding-left: 12px; }
.chip.partner::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .5); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .sw-h { width: 14px; height: 14px; border: 1px solid var(--line-strong); background: #fff; }
.legend .sw-p { width: 6px; height: 6px; background: var(--accent); }

/* ── Catalogue ── */
.filters { margin-top: 40px; display: grid; gap: 12px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fbtn { height: 36px; padding: 0 16px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .62); transition: all .2s; }
.fbtn:hover { border-color: var(--accent); color: var(--accent); }
.fbtn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.ledger-head { display: none; margin-top: 48px; padding: 12px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .42); }
.ledger-cols { display: grid; gap: 8px; }
@media (min-width: 1024px) {
  .ledger-head { display: grid; }
  .ledger-cols { grid-template-columns: 1.2fr 5fr 2fr 3fr .8fr; gap: 16px; align-items: center; }
}
.ledger { margin-top: 8px; }
.group-h { margin: 28px 0 8px; display: flex; align-items: center; gap: 16px; }
.group-h:first-child { margin-top: 8px; }
.group-h .top { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgb(var(--accent-rgb) / .7); }
.group-h .rule { height: 1px; flex: 1; background: rgb(var(--steel-rgb) / .3); }
.group-h .sub { font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.group-h .count { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .42); }
.prod { margin-bottom: 1px; scroll-margin-top: 90px; }
.prod-row { width: 100%; text-align: left; padding: 20px; border: 1px solid var(--line); background: rgb(255 255 255 / .6); transition: background-color .3s, border-color .3s; }
.prod-row:hover { background: #fff; border-color: var(--line-strong); }
.prod.open .prod-row { background: #fff; border-color: var(--accent); }
.prod-sku { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.prod-name { font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.3; }
.prod-meta { font-family: var(--mono); font-size: 12px; color: rgb(var(--fg-rgb) / .7); }
.prod-meta.m-only { font-size: 11px; color: rgb(var(--fg-rgb) / .5); }
.prod-meta.d-only { display: none; }
.prod-chev { display: flex; }
.prod-chev .icon { color: var(--accent); transition: transform .25s; }
.prod.open .prod-chev .icon { transform: rotate(90deg); }
@media (min-width: 1024px) {
  .prod-meta.m-only { display: none; }
  .prod-meta.d-only { display: block; }
  .prod-chev { justify-content: flex-end; }
}
.prod-panel { border: 1px solid rgb(var(--accent-rgb) / .4); border-top: 0; background: #fff; padding: clamp(20px, 3vw, 32px); }
.js .prod-panel { display: none; }
.js .prod.open .prod-panel { display: block; }
.prod-panel-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .prod-panel-grid { grid-template-columns: 5fr 7fr; } }
.prod-img { position: relative; aspect-ratio: 4 / 3; border: 1px solid rgb(var(--steel-rgb) / .3); background: #fff; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .7s; }
.prod-img:hover img { transform: scale(1.05); }
.prod-img .sku-tag { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .25em; color: var(--accent); }
.prod-desc { margin: 0; color: rgb(var(--fg-rgb) / .68); line-height: 1.7; }
.specs { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .specs { grid-template-columns: repeat(3, 1fr); } }
.spec { background: #fff; padding: 14px 16px; }
.spec-k { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgb(var(--accent-rgb) / .75); }
.spec-v { margin-top: 4px; font-family: var(--mono); font-size: 13px; line-height: 1.45; }
.certs { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.cert { padding: 6px 12px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .62); }
.prod-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.empty { display: none; padding: 40px 20px; text-align: center; border: 1px dashed var(--line-strong); color: rgb(var(--fg-rgb) / .55); margin-top: 16px; }
.empty.show { display: block; }
.note { margin-top: 32px; font-size: 13px; color: rgb(var(--fg-rgb) / .55); max-width: 52rem; }

/* ── Industrial valves ── */
.groups { margin-top: 48px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .groups { grid-template-columns: repeat(3, 1fr); } }
.group-card { background: var(--card); padding: 28px; scroll-margin-top: 90px; }
.group-card .gi { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.group-card h3 { margin: 18px 0 0; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.25; }
.group-card p { margin: 10px 0 0; font-size: 14px; color: rgb(var(--fg-rgb) / .65); line-height: 1.65; }
.group-card .std { margin-top: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .5); }
.two-col { margin-top: 48px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col > div { background: var(--card); padding: clamp(22px, 3vw, 36px); }
.two-col h3 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.taglist span { padding: 8px 14px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; letter-spacing: .03em; }

/* ── Contact ── */
.contact-grid { margin-top: 24px; display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.contact-intro p { color: rgb(var(--fg-rgb) / .66); line-height: 1.7; max-width: 28rem; }
.contact-intro .role { margin-top: 28px; font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .42); }
.contact-list { margin-top: 36px; border: 1px solid var(--line); background: var(--card); }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-top: 1px solid var(--line); transition: background-color .2s; }
.contact-item:first-child { border-top: 0; }
a.contact-item:hover { background: var(--bg); }
a.contact-item:hover .ci-v { color: var(--accent); }
.ci-icon { width: 44px; height: 44px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.ci-k { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .42); }
.ci-v { font-size: 16px; font-weight: 600; transition: color .2s; overflow-wrap: anywhere; }
.form-card { border: 1px solid var(--line); background: var(--card); padding: clamp(22px, 3.5vw, 40px); scroll-margin-top: 80px; }
.form-card h2 { margin: 0; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.form-card .sub { margin: 8px 0 0; font-size: 14px; color: rgb(var(--fg-rgb) / .6); }
.fgrid { margin-top: 26px; display: grid; gap: 18px; }
@media (min-width: 700px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.field label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .6); margin-bottom: 6px; }
.field label .req { color: var(--accent); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 0; padding: 12px 14px; transition: border-color .2s, background-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: rgb(var(--fg-rgb) / .72); line-height: 1.55; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.consent a { color: var(--accent); text-decoration: underline; }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 14px; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-card.sent form { display: none; }
.thanks { display: none; padding: 8px 0; }
.form-card.sent .thanks { display: block; }
.thanks h3 { margin: 0; font-size: 20px; text-transform: uppercase; color: var(--ok); }
.thanks p { color: rgb(var(--fg-rgb) / .7); }
.small { font-size: 12px; color: rgb(var(--fg-rgb) / .5); margin-top: 14px; }

/* ── Privacy / legal ── */
.legal { max-width: 52rem; }
.legal h1 { margin: 20px 0 0; font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; line-height: 1.05; }
.legal .updated { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgb(var(--fg-rgb) / .5); }
.legal h2 { margin: 44px 0 0; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; padding-top: 20px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: rgb(var(--fg-rgb) / .78); line-height: 1.75; font-size: 15px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent); text-decoration: underline; overflow-wrap: anywhere; }
.legal .box { margin-top: 18px; background: var(--card); border: 1px solid var(--line); padding: 18px 22px; }
.legal .box p { margin: 4px 0; }

/* ── Footer ── */
.site-footer { background: var(--deep); color: #fff; }
.site-footer .wrap { padding-top: 80px; padding-bottom: 40px; }
.foot-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 5fr 3fr 4fr; } }
.site-footer .brand-mark { width: 40px; height: 40px; }
.site-footer .brand-name { font-size: 18px; letter-spacing: .18em; }
.site-footer .brand-sub { font-size: 11px; color: var(--light); }
.site-footer .herose-logo { height: 18px; width: auto; }
.foot-about { margin-top: 24px; color: rgb(255 255 255 / .6); line-height: 1.7; max-width: 24rem; font-size: 15px; }
.foot-h { font-family: var(--mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgb(156 195 230 / .8); margin-bottom: 20px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-links a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .7); transition: color .2s; }
.foot-links a:hover { color: var(--light); }
.foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.foot-contact li { display: flex; gap: 12px; color: rgb(255 255 255 / .75); font-size: 15px; }
.foot-contact .icon { width: 16px; height: 16px; color: var(--light); margin-top: 4px; }
.foot-contact a:hover { color: var(--light); }
.foot-bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .42); }
@media (min-width: 900px) { .foot-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.foot-bottom a { color: rgb(255 255 255 / .6); }
.foot-bottom a:hover { color: var(--light); }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); margin: 16px 0 0; text-transform: uppercase; line-height: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .hero-ctas, .filters { display: none; }
  main { padding-top: 0; }
}
