/* ==========================================================================
   SCANCON Encoders – redesign demo
   Brand colours taken from the current scancon.dk:
   blue #004B93 · navy #0A233B · soft grey #F5F5F8 · logo red #C41F3A
   ========================================================================== */

:root {
  --blue: #004b93;
  --blue-700: #003b75;
  --blue-500: #1a64ad;
  --blue-100: #dbe7f4;
  --blue-50: #eef4fb;
  --navy: #0a233b;
  --navy-800: #0e2c4a;
  --navy-700: #15385c;
  --red: #c41f3a;
  --ink: #16202b;
  --text: #2b3540;
  --muted: #5d6a78;
  --line: #e2e7ee;
  --line-strong: #cfd7e1;
  --soft: #f5f5f8;
  --soft-2: #eef1f5;
  --white: #ffffff;
  --success: #1f8a4c;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 35, 59, .06), 0 1px 3px rgba(10, 35, 59, .08);
  --shadow: 0 4px 12px rgba(10, 35, 59, .07), 0 2px 4px rgba(10, 35, 59, .05);
  --shadow-lg: 0 18px 40px -12px rgba(10, 35, 59, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1280px;
  --gutter: 24px;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::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;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding-block: clamp(64px, 8vw, 104px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #c9d6e4; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section + .section--flush { padding-top: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head__text { max-width: 680px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }
.section--navy .section-head p { color: #a9bbcf; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--red); }
.section--navy .eyebrow, .page-hero .eyebrow { color: #8fc0f2; }

.lead { font-size: 1.15rem; color: var(--muted); line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap; cursor: pointer; text-align: center;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 75, 147, .6); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--blue-50); color: var(--blue); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .84rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--blue); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em; background: var(--blue-50); color: var(--blue); line-height: 1.4;
}
.badge--red { background: #fbe9ec; color: var(--red); }
.badge--navy { background: var(--navy); color: #fff; }
.badge--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #b9c8d8; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar a { color: #dbe5ef; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__tag { display: inline-flex; align-items: center; gap: 8px; }
.topbar__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.lang { display: inline-flex; align-items: center; gap: 4px; border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 18px; }
.lang a { padding: 2px 6px; border-radius: 4px; }
.lang a[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
@media (max-width: 900px) { .topbar__tag, .topbar__hide-sm { display: none !important; } }
@media (max-width: 560px) { .topbar__left a:not(:first-of-type) { display: none; } .topbar__right { gap: 10px; } .lang { padding-left: 10px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -10px rgba(10, 35, 59, .18); }
.site-header > .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
@media (max-width: 560px) { .logo img { height: 32px; } }

.nav { margin-left: auto; height: 100%; }
.nav__list { display: flex; align-items: stretch; height: 100%; list-style: none; gap: 2px; }
.nav__item { position: static; display: flex; align-items: center; }
.nav__item--dd { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); transition: color .2s, background .2s;
}
.nav__link .icon { width: 14px; height: 14px; transition: transform .25s; opacity: .6; }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { color: var(--blue); background: var(--blue-50); }
.nav__item:hover > .nav__link .icon, .nav__item:focus-within > .nav__link .icon { transform: rotate(180deg); }
.nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--blue); }
.nav__item.is-active > .nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -16px; height: 3px; background: var(--blue); border-radius: 3px 3px 0 0; }
.nav__item.is-active > .nav__link { position: relative; }

.mega, .dropdown {
  position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s; z-index: 50;
}
.nav__item:hover > .mega, .nav__item:focus-within > .mega,
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.mega { left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 48px -16px rgba(10, 35, 59, .25); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.25fr; gap: 40px; padding-block: 36px 40px; }
.mega__inner--industries { grid-template-columns: 3fr 1.1fr; }
.mega__title { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.mega__title a { color: inherit; }
.mega__title a:hover { color: var(--blue); }
.mega__links { list-style: none; display: grid; gap: 2px; }
.mega__links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; margin-inline: -10px; border-radius: var(--radius-sm); color: var(--ink); font-size: .93rem; font-weight: 500; }
.mega__links a:hover { background: var(--soft); color: var(--blue); }
.mega__links a .icon { width: 14px; opacity: 0; transform: translateX(-4px); transition: .2s; }
.mega__links a:hover .icon { opacity: 1; transform: none; }
.mega__feature { background: var(--navy); color: #c9d6e4; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.mega__feature h4 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.mega__feature p { font-size: .9rem; margin-bottom: 16px; }
.mega__feature img { width: 120px; margin: 0 0 14px; border-radius: 8px; background: #fff; padding: 6px; }
.mega__feature .link-arrow { color: #8fc0f2; margin-top: auto; }
.ind-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; }
.ind-mini { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: .9rem; font-family: var(--font-head); transition: background .2s; }
.ind-mini img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--navy-700); }
.ind-mini:hover { background: var(--soft); color: var(--blue); }

.dropdown { left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin-top: 4px; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.dropdown a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink); font-size: .92rem; }
.dropdown a:hover { background: var(--soft); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--radius-sm); color: var(--ink); transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--blue-50); color: var(--blue); }
.icon-btn .icon { width: 20px; height: 20px; }
.burger { display: none; }

@media (max-width: 1180px) {
  .nav__link { padding: 0 10px; font-size: .88rem; }
  .header-actions .btn { display: none; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header-actions { margin-left: auto; }
}

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(10, 35, 59, .5); opacity: 0; transition: opacity .3s; }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff;
  transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column;
}
.mobile-nav.is-open { visibility: visible; }
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav__head img { height: 30px; }
.mobile-nav__body { overflow-y: auto; padding: 12px 20px 24px; flex: 1; }
.mobile-nav__search { display: flex; gap: 8px; margin: 8px 0 16px; }
.mobile-nav__search input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 14px; }
.m-acc { border-bottom: 1px solid var(--line); }
.m-acc > summary, .m-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.m-acc > summary::-webkit-details-marker { display: none; }
.m-acc > summary .icon { transition: transform .25s; }
.m-acc[open] > summary .icon { transform: rotate(180deg); }
.m-acc ul { list-style: none; padding: 0 0 14px; display: grid; gap: 2px; }
.m-acc ul a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text); background: var(--soft); }
.m-link { border-bottom: 1px solid var(--line); }
.mobile-nav__foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mobile-nav__foot .contact-line { display: flex; gap: 10px; align-items: center; color: var(--text); font-size: .92rem; }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(10, 35, 59, .72); backdrop-filter: blur(6px); display: none; padding: 12vh 16px 16px; }
.search-overlay.is-open { display: block; animation: fade .2s; }
.search-overlay__box { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-overlay form { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 22px; border-bottom: 1px solid var(--line); }
.search-overlay form .icon { width: 22px; height: 22px; color: var(--muted); }
.search-overlay input { flex: 1; min-width: 0; border: 0; height: 56px; font-size: 1.15rem; outline: none; }
.search-overlay__hints { padding: 18px 22px 22px; }
.search-overlay__hints h5 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: .87rem; font-weight: 500; transition: .2s; cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip .count { font-size: .75rem; opacity: .7; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); padding: clamp(48px, 7vw, 88px) 0 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; text-align: center; }
.hero__inner .eyebrow { justify-content: center; }
.hero h1 { max-width: 900px; margin: 0 auto 18px; color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero__lead { max-width: 640px; margin: 0 auto 32px; font-size: 1.2rem; color: var(--muted); }
.hero .btn-row { justify-content: center; }
.hero__stage { position: relative; margin: clamp(32px, 5vw, 56px) auto 0; max-width: 1100px; }
.hero__stage img.hero__products { width: 100%; mix-blend-mode: multiply; position: relative; z-index: 1; }
.hero__disc { position: absolute; left: 50%; top: 52%; width: min(760px, 90%); aspect-ratio: 1; transform: translate(-50%, -50%); z-index: 0; color: var(--blue); opacity: .13; }
.hero__disc svg { width: 100%; height: 100%; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); font-size: .86rem; font-weight: 600; color: var(--ink);
  animation: float 6s ease-in-out infinite;
}
.hero__chip span.dot { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.hero__chip span.dot .icon { width: 16px; height: 16px; }
.hero__chip small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; line-height: 1.2; }
.hero__chip b { display: block; line-height: 1.2; }
.hero__chip--1 { left: 0; top: 8%; }
.hero__chip--2 { right: 2%; top: 0; animation-delay: -2s; }
.hero__chip--3 { left: 6%; bottom: 14%; animation-delay: -4s; }
.hero__chip--4 { right: 0; bottom: 22%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 860px) { .hero__chip { display: none; } }
@media (max-width: 560px) { .hero .eyebrow { font-size: .7rem; letter-spacing: .1em; } .hero .eyebrow::before { display: none; } .hero .btn-row .btn { width: 100%; } }

.stats-band { background: var(--navy); color: #c9d6e4; position: relative; z-index: 2; }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 28px; border-left: 1px solid rgba(255, 255, 255, .08); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat__num sup { font-size: .5em; color: #8fc0f2; top: -.8em; margin-left: 2px; }
.stat__label { margin-top: 8px; font-size: .9rem; line-height: 1.45; }
@media (max-width: 900px) {
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 480px) { .stat { padding: 24px 16px; } }

/* ---------- Product finder ---------- */
.finder { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1fr 2.2fr; gap: 36px; align-items: center; }
.finder h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 8px; }
.finder p { color: var(--muted); margin: 0; }
.finder__form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: end; }
.finder__seg { grid-column: 1 / -1; display: inline-flex; background: var(--soft); padding: 4px; border-radius: var(--radius); width: max-content; max-width: 100%; }
.finder__seg button { padding: 9px 18px; border-radius: 7px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--muted); transition: .2s; }
.finder__seg button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
@media (max-width: 1220px) { .finder { grid-template-columns: 1fr; gap: 20px; } .finder > div:first-child { max-width: 640px; } }
@media (max-width: 720px) { .finder__form { grid-template-columns: 1fr 1fr; } .finder__form .btn { grid-column: 1 / -1; } }
@media (max-width: 460px) { .finder__form { grid-template-columns: 1fr; } }
.finder-wrap { margin-top: -1px; padding-top: 56px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s; font-size: .95rem; color: var(--ink);
}
.textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d6a78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:hover, .select:hover, .textarea:hover { border-color: #b5c0cd; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 75, 147, .12); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red); }
.field__error { display: none; font-size: .8rem; color: var(--red); }
.field.has-error .field__error { display: block; }
.field__hint { font-size: .8rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.form-success { display: none; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #e9f6ef; color: #135c34; border: 1px solid #bfe3cd; }
.form-success .icon { width: 24px; height: 24px; flex: none; }
.form-success.is-visible { display: flex; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.card--hover:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Category card */
.cat-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; height: 100%; }
.cat-card:hover { color: inherit; }
.cat-card__media { aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; padding: 22px; position: relative; }
.cat-card__media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__media .badge { position: absolute; top: 14px; left: 14px; }
.cat-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.cat-card__body p { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.cat-card__body .link-arrow { margin-top: auto; }

.spec-mini { list-style: none; display: grid; gap: 0; margin: 0 0 16px; font-size: .86rem; }
.spec-mini li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.spec-mini li:last-child { border-bottom: 0; }
.spec-mini span { color: var(--muted); }
.spec-mini b { font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }

/* Industry tiles (bento) */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.ind-tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-700); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.ind-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.ind-tile img.contain { object-fit: contain; padding: 18px 18px 60px; }
.ind-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 35, 59, 0) 35%, rgba(10, 35, 59, .88) 100%); transition: background .3s; }
.ind-tile:hover img { transform: scale(1.07); }
.ind-tile:hover::after { background: linear-gradient(180deg, rgba(0, 75, 147, .15) 0%, rgba(10, 35, 59, .92) 100%); }
.ind-tile__body { padding: 20px 22px; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ind-tile__body small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #9ec7ef; font-weight: 600; margin-bottom: 4px; }
.ind-tile__body h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.ind-tile__arrow { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: none; transition: background .25s, transform .25s; }
.ind-tile:hover .ind-tile__arrow { background: var(--blue); transform: rotate(-45deg); }
.ind-tile--lg { grid-column: span 2; grid-row: span 2; }
.ind-tile--lg h3 { font-size: 1.6rem; }
.ind-tile--wide { grid-column: span 2; }
@media (max-width: 980px) { .ind-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } .ind-tile--lg, .ind-tile--wide { grid-column: auto; grid-row: span 1; } .ind-tile--lg { grid-row: span 2; } }

/* Split / feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--wide-media { grid-template-columns: 1.15fr 1fr; }
.split--form { grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 900px) { .split, .split--wide-media, .split--form { grid-template-columns: 1fr; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.media-badge { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; }
.media-badge b { font-family: var(--font-head); font-size: 1.9rem; color: var(--blue); line-height: 1; }
.media-badge span { font-size: .84rem; color: var(--muted); line-height: 1.35; }

.feature-list { list-style: none; display: grid; gap: 14px; margin: 28px 0 32px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; color: inherit; }
a.feature-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow); color: inherit; }
.feature-item__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.feature-item__icon .icon { width: 22px; height: 22px; }
.feature-item h4 { margin: 0 0 3px; font-size: 1rem; }
.feature-item p { margin: 0; font-size: .9rem; color: var(--muted); }

/* News cards */
.news-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; color: inherit; }
.news-card:hover { color: inherit; }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); position: relative; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__media .badge { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .95); }
.news-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.news-card__meta .icon { width: 14px; height: 14px; }
.news-card h3 { font-size: 1.08rem; margin-bottom: 8px; line-height: 1.35; transition: color .2s; }
.news-card:hover h3 { color: var(--blue); }
.news-card p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.news-card .link-arrow { margin-top: auto; }
.news-card--featured { display: grid; grid-template-columns: 1.3fr 1fr; }
.news-card--featured .news-card__media { aspect-ratio: auto; min-height: 320px; }
.news-card--featured .news-card__body { padding: 36px; justify-content: center; }
.news-card--featured h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
@media (max-width: 860px) { .news-card--featured { grid-template-columns: 1fr; } .news-card--featured .news-card__media { min-height: 0; aspect-ratio: 16 / 9; } .news-card--featured .news-card__body { padding: 24px; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #d8e6f5; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.6fr auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin: 0; font-size: 1.05rem; max-width: 620px; }
.cta-band__disc { position: absolute; right: -120px; top: 50%; width: 460px; transform: translateY(-50%); color: #fff; opacity: .09; z-index: -1; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Newsletter */
.newsletter { background: var(--soft); border-top: 1px solid var(--line); }
.newsletter .container { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: center; padding-block: 44px; }
.newsletter h3 { margin: 0 0 4px; font-size: 1.35rem; }
.newsletter h3 span { color: var(--blue); }
.newsletter p { margin: 0; color: var(--muted); font-size: .94rem; }
.newsletter form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
@media (max-width: 900px) { .newsletter .container { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .newsletter form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a9bbcf; font-size: .92rem; position: relative; overflow: hidden; }
.site-footer a { color: #d5e0ec; }
.site-footer a:hover { color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 40px; padding-block: 64px 48px; }
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-contact { display: grid; gap: 12px; font-style: normal; }
.footer-contact div, .footer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #8fc0f2; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--blue); }
.socials .icon { width: 18px; height: 18px; }
.footer-trust { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.footer-trust img { width: 72px; height: 72px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-trust span { font-size: .8rem; line-height: 1.45; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; font-size: .84rem; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 1080px) { .footer-main { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; max-width: 560px; } }
@media (max-width: 640px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .footer-col--contact { grid-column: 1 / -1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #c2d1e1; padding: 36px 0 clamp(48px, 6vw, 72px); isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero__disc { position: absolute; right: -140px; top: 50%; width: 520px; transform: translateY(-50%); color: #4f8fd0; opacity: .16; z-index: -1; }
.page-hero h1 { color: #fff; margin: 0 0 14px; font-size: clamp(2rem, 4vw, 3.1rem); max-width: 860px; }
.page-hero .lead { color: #b5c6d8; max-width: 720px; margin: 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .9rem; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta .icon { color: #8fc0f2; }
.page-hero--image { min-height: 420px; display: flex; align-items: flex-end; }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero--image .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 35, 59, .94) 0%, rgba(10, 35, 59, .75) 45%, rgba(10, 35, 59, .2) 100%); }
.page-hero--image::before { display: none; }
.page-hero--image .container { width: 100%; }
.page-hero--image .breadcrumb { margin-bottom: auto; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; font-size: .84rem; margin-bottom: 28px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; margin-right: 4px; }
.breadcrumb a { color: #c2d1e1; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* Sub navigation pills under hero */
.subnav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: var(--header-h); z-index: 40; }
.subnav__list { display: flex; gap: 4px; overflow-x: auto; list-style: none; scrollbar-width: none; padding-block: 10px; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: inline-flex; align-items: center; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.subnav__list a:hover { color: var(--blue); background: var(--soft); }
.subnav__list a[aria-current] { background: var(--blue-50); color: var(--blue); }

/* ---------- Category overview (products archive) ---------- */
.family { margin-bottom: 64px; }
.family:last-child { margin-bottom: 0; }
.family__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.family__head h2 { font-size: 1.6rem; margin: 0; display: flex; align-items: center; gap: 14px; }
.family__head h2 .count { font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--soft); padding: 4px 10px; border-radius: 999px; }
.family__head p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

.type-card { display: grid; grid-template-columns: 150px 1fr; overflow: hidden; }
.type-card__media { background: var(--soft); display: grid; place-items: center; padding: 16px; }
.type-card__media img { mix-blend-mode: multiply; max-height: 130px; width: auto; transition: transform .5s var(--ease); }
.type-card:hover .type-card__media img { transform: scale(1.06); }
.type-card__body { padding: 20px 22px; display: flex; flex-direction: column; }
.type-card__body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.type-card__body h3 a { color: var(--ink); }
.type-card__body h3 a:hover { color: var(--blue); }
.type-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
@media (max-width: 520px) { .type-card { grid-template-columns: 1fr; } .type-card__media { aspect-ratio: 16 / 9; } }

/* Intro box on category */
.intro-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.intro-box .prose { font-size: 1.05rem; }
.help-card { background: var(--soft); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.help-card h3 { font-size: 1.15rem; }
.help-card p { color: var(--muted); font-size: .94rem; }
.help-card .person { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.help-card .person__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.help-card .person b { display: block; color: var(--ink); }
.help-card .person span { font-size: .86rem; color: var(--muted); }
@media (max-width: 900px) { .intro-box { grid-template-columns: 1fr; } }

/* ---------- Listing (product list) ---------- */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.listing > * { min-width: 0; }
@media (max-width: 1000px) { .listing { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .toolbar .view-toggle { display: none; } .toolbar .toolbar__right { flex: 1; } .toolbar .toolbar__right .select { flex: 1; min-width: 0; } }
.filters { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.filters__head h3 { font-size: 1rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.filters__reset { font-size: .84rem; font-weight: 600; color: var(--blue); }
.filter-group { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.filter-group .check { margin-bottom: 8px; justify-content: space-between; }
.filter-group .check span { flex: 1; }
.filter-group .check em { font-style: normal; font-size: .78rem; color: var(--muted); background: var(--soft); border-radius: 999px; padding: 1px 8px; }
.range { width: 100%; accent-color: var(--blue); }
.range-value { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.range-value b { color: var(--ink); }
.filters-toggle { display: none; }
@media (max-width: 1000px) {
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
}

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar__count { font-size: .94rem; color: var(--muted); }
.toolbar__count b { color: var(--ink); }
.toolbar__right { display: flex; align-items: center; gap: 10px; }
.toolbar .select { height: 40px; width: auto; font-size: .88rem; }
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { width: 40px; height: 38px; display: grid; place-items: center; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--blue-50); color: var(--blue); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters:empty { display: none; }
.active-filters .chip { min-height: 30px; font-size: .8rem; background: var(--blue-50); border-color: var(--blue-100); color: var(--blue); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1240px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { display: flex; flex-direction: column; overflow: hidden; position: relative; }
.product-card[hidden] { display: none; }
.product-card__media { position: relative; background: var(--soft); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 20px; }
.product-card__media img { max-height: 100%; width: auto; mix-blend-mode: multiply; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card__tags .badge { background: #fff; }
.compare-toggle { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .76rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); cursor: pointer; transition: .2s; }
.compare-toggle input { accent-color: var(--blue); margin: 0; }
.compare-toggle:has(input:checked) { color: var(--blue); border-color: var(--blue-100); background: var(--blue-50); }
.product-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.product-card__title h3 { font-size: 1.2rem; margin: 0; }
.product-card__title h3 a { color: var(--ink); }
.product-card__title h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.product-card__title h3 a:hover { color: var(--blue); }
.product-card__formerly { font-size: .82rem; color: var(--muted); margin-bottom: 12px; min-height: 1.3em; }
.product-card .spec-mini { margin-bottom: 16px; }
.product-card__actions { display: flex; gap: 8px; margin-top: auto; position: relative; z-index: 1; }
.product-card__actions .btn { flex: 1; }
.compare-toggle, .product-card__tags { z-index: 2; }

.product-grid.is-list { grid-template-columns: 1fr; }
.product-grid.is-list .product-card { display: grid; grid-template-columns: 200px 1fr; }
.product-grid.is-list .product-card[hidden] { display: none; }
.product-grid.is-list .product-card__media { aspect-ratio: auto; }
.product-grid.is-list .product-card__body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0 28px; align-items: start; }
.product-grid.is-list .product-card__body .spec-mini { grid-row: span 3; margin: 0; }
.product-grid.is-list .product-card__actions { grid-column: 1; margin-top: 12px; }
@media (max-width: 760px) { .product-grid.is-list .product-card { grid-template-columns: 1fr; } .product-grid.is-list .product-card__body { grid-template-columns: 1fr; } .product-grid.is-list .product-card__body .spec-mini { grid-row: auto; margin-bottom: 14px; } }

.empty-state { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--muted); display: none; }
.empty-state.is-visible { display: block; }
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--line-strong); }

/* Compare bar & modal */
.compare-bar { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 150%); z-index: 90; background: var(--navy); color: #fff; border-radius: 999px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease); max-width: calc(100% - 32px); }
.compare-bar.is-visible { transform: translate(-50%, 0); }
.compare-bar__items { display: flex; gap: 6px; font-size: .88rem; flex-wrap: wrap; }
.compare-bar__items span { background: rgba(255, 255, 255, .12); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.compare-bar .btn { min-height: 40px; border-radius: 999px; }
.modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 35, 59, .6); backdrop-filter: blur(4px); }
.modal.is-open { display: flex; animation: fade .2s; }
.modal__box { background: #fff; border-radius: var(--radius-lg); max-width: 960px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.modal__head h3 { margin: 0; }
.modal__body { padding: 8px 24px 24px; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { vertical-align: bottom; }
.compare-table thead img { width: 110px; height: 90px; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 8px; }
.compare-table tbody th { color: var(--muted); font-weight: 500; width: 150px; }
.compare-table td { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }

/* ---------- Product detail ---------- */
.product-top { padding: 28px 0 64px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.product-top .breadcrumb a { color: var(--muted); }
.product-top .breadcrumb a:hover { color: var(--blue); }
.product-top .breadcrumb [aria-current] { color: var(--ink); }
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .product-layout { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); aspect-ratio: 1 / .86; display: grid; place-items: center; padding: 40px; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery__main img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.gallery__main.is-zoomed { cursor: zoom-out; }
.gallery__main.is-zoomed img { transform: scale(1.7); }
.gallery__main .badge { position: absolute; top: 16px; left: 16px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { width: 84px; height: 72px; border-radius: var(--radius); border: 2px solid var(--line); background: #fff; padding: 6px; display: grid; place-items: center; transition: border-color .2s; }
.gallery__thumbs button img { max-height: 100%; object-fit: contain; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--blue); }
@media (max-width: 960px) { .gallery { position: static; } }

.product-info .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.product-info h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 4px; color: var(--navy); }
.product-info .formerly { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.product-info .formerly b { color: var(--ink); }
.product-info > p { font-size: 1.05rem; }
.key-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0 28px; }
.key-spec { background: #fff; padding: 16px 18px; }
.key-spec span { display: block; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.key-spec b { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3; display: block; }
@media (max-width: 520px) { .key-specs { grid-template-columns: repeat(2, 1fr); } }
.product-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
@media (max-width: 480px) { .product-cta { grid-template-columns: 1fr; } }
.assurance { list-style: none; display: grid; gap: 10px; padding: 18px 20px; background: var(--soft); border-radius: var(--radius); font-size: .9rem; }
.assurance li { display: flex; gap: 10px; align-items: center; }
.assurance .icon { color: var(--success); }
.label-help { display: flex; gap: 16px; align-items: center; margin-top: 18px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: .86rem; color: var(--muted); }
.label-help img { width: 150px; flex: none; border-radius: 4px; }
@media (max-width: 480px) { .label-help { flex-direction: column; align-items: flex-start; } }

.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: 32px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; padding: 16px 18px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tabs button .count { font-family: var(--font-body); font-size: .74rem; background: var(--soft); border-radius: 999px; padding: 1px 8px; color: var(--muted); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--blue); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--blue); border-radius: 3px 3px 0 0; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade .25s; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table caption { text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; padding: 0 0 12px; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.spec-table tr:nth-child(odd) th, .spec-table tr:nth-child(odd) td { background: #fafbfc; }

.doc-list { list-style: none; display: grid; gap: 10px; }
.doc-item { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; color: inherit; background: #fff; }
.doc-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow); color: inherit; }
.doc-item__icon { width: 44px; height: 44px; border-radius: 10px; background: #fbe9ec; color: var(--red); display: grid; place-items: center; flex: none; font-size: .68rem; font-weight: 800; font-family: var(--font-head); letter-spacing: .04em; }
.doc-item__text { flex: 1; min-width: 0; }
.doc-item__text b { display: block; color: var(--ink); font-size: .95rem; }
.doc-item__text span { font-size: .82rem; color: var(--muted); }
.doc-item__dl { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--blue); flex: none; transition: background .2s, color .2s; }
.doc-item:hover .doc-item__dl { background: var(--blue); color: #fff; }

.cert-list { list-style: none; display: grid; gap: 12px; }
.cert-list li { display: flex; align-items: center; gap: 20px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.cert-list img { width: 72px; height: 48px; object-fit: contain; flex: none; }
.cert-list b { display: block; color: var(--ink); font-family: var(--font-head); }
.cert-list span { font-size: .92rem; color: var(--muted); }
.cert-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.cert-strip img { height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .2s; }
.cert-strip img:hover { filter: none; opacity: 1; }

.inquiry { background: var(--navy); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); color: #b5c6d8; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; position: relative; overflow: hidden; isolation: isolate; }
.inquiry h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.inquiry .field label { color: #dbe5ef; }
.inquiry .input, .inquiry .textarea, .inquiry .select { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.inquiry .input::placeholder, .inquiry .textarea::placeholder { color: #7f95ac; }
.inquiry .input:focus, .inquiry .textarea:focus { border-color: #8fc0f2; box-shadow: 0 0 0 4px rgba(143, 192, 242, .15); }
.inquiry .check { color: #b5c6d8; }
.inquiry__contact { display: grid; gap: 14px; margin-top: 24px; }
.inquiry__contact a { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.inquiry__contact a span.ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.inquiry__disc { position: absolute; left: -160px; bottom: -200px; width: 480px; color: #4f8fd0; opacity: .12; z-index: -1; }
@media (max-width: 900px) { .inquiry { grid-template-columns: 1fr; } }

/* Horizontal scroller */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
.scroller-nav { display: flex; gap: 8px; }
.scroller-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); background: #fff; transition: .2s; }
.scroller-nav button:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Prose / text pages ---------- */
.prose { color: var(--text); font-size: 1.04rem; line-height: 1.8; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.8em; margin-bottom: .2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; margin-bottom: .1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--blue); font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--navy); line-height: 1.5; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
.prose figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.prose a { text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose .lead { font-size: 1.2rem; }
.prose strong { color: var(--ink); }

.content-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.content-layout--right { grid-template-columns: 1fr 320px; }
@media (max-width: 960px) { .content-layout, .content-layout--right { grid-template-columns: 1fr; } }
.side-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.side-nav h4 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.side-nav ul { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.side-nav a { display: block; padding: 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text); font-size: .94rem; transition: .2s; }
.side-nav a:hover { color: var(--blue); border-left-color: var(--blue-100); }
.side-nav a[aria-current] { color: var(--blue); border-left-color: var(--blue); font-weight: 600; background: linear-gradient(90deg, var(--blue-50), transparent); }
@media (max-width: 960px) { .side-nav { position: static; } .side-nav ul { display: flex; flex-wrap: wrap; border: 0; gap: 6px; } .side-nav a { border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: 6px 14px; font-size: .86rem; } .side-nav a[aria-current] { border-color: var(--blue); background: var(--blue-50); } }

.aside-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h4 { margin-bottom: 12px; }
.aside-stack { position: sticky; top: calc(var(--header-h) + 24px); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 2em 0; }
.mv-card { border-radius: var(--radius-lg); padding: 28px; background: var(--soft); border: 1px solid var(--line); }
.mv-card--dark { background: var(--navy); color: #c2d1e1; border-color: var(--navy); }
.mv-card--dark h3 { color: #fff; }
.mv-card .feature-item__icon { margin-bottom: 16px; }
.mv-card--dark .feature-item__icon { background: rgba(255, 255, 255, .1); color: #8fc0f2; }
.mv-card h3 { margin-top: 0 !important; }
.mv-card p { font-size: .98rem; line-height: 1.7; }
@media (max-width: 640px) { .mv-grid { grid-template-columns: 1fr; } }

.timeline { list-style: none; position: relative; margin: 2em 0; padding-left: 0 !important; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 28px; position: relative; padding-bottom: 26px; margin: 0 !important; }
.timeline li::marker { content: ""; }
.timeline li::before { content: ""; position: absolute; left: 64px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline time { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.05rem; line-height: 1.6; }
.timeline b { display: block; color: var(--ink); font-family: var(--font-head); }
.timeline p { margin: 2px 0 0; font-size: .96rem; color: var(--muted); }

.number-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin: 2em 0; }
.number-row div { background: #fff; padding: 24px; }
.number-row b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--blue); line-height: 1.1; }
.number-row span { font-size: .9rem; color: var(--muted); }
@media (max-width: 560px) { .number-row { grid-template-columns: 1fr; } }

.image-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin: 2em 0; }
.image-pair img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 560px) { .image-pair { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-hero-img { margin-top: -40px; position: relative; z-index: 2; }
.article-hero-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8.5; object-fit: cover; background: var(--soft-2); }
.article-meta-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); margin-bottom: 32px; flex-wrap: wrap; }
.share { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: .2s; }
.share a:hover, .share button:hover { border-color: var(--blue); color: var(--blue); }
.share .icon { width: 16px; height: 16px; }
.info-box { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--blue-50); border: 1px solid var(--blue-100); align-items: start; }
.info-box .feature-item__icon { background: var(--blue); color: #fff; }
.info-box h4 { margin-bottom: 4px; }
.info-box p { margin: 0; font-size: .96rem; }
.product-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-strip a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-family: var(--font-head); font-weight: 700; text-decoration: none !important; transition: .2s; }
.product-strip a:hover { border-color: var(--blue-100); box-shadow: var(--shadow); color: var(--blue); }
.product-strip img { height: 110px; width: auto; object-fit: contain; }
@media (max-width: 560px) { .product-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- News archive ---------- */
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-bar .search-field { position: relative; width: min(320px, 100%); }
.filter-bar .search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-bar .search-field .input { padding-left: 42px; height: 42px; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Downloads ---------- */
.doc-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.doc-card__cover { background: linear-gradient(160deg, var(--soft) 0%, var(--soft-2) 100%); padding: 28px 28px 0; display: flex; justify-content: center; align-items: flex-end; aspect-ratio: 4 / 3.3; overflow: hidden; position: relative; }
.doc-card__cover img { width: 62%; box-shadow: 0 18px 30px -12px rgba(10, 35, 59, .35); border-radius: 4px 4px 0 0; transition: transform .5s var(--ease); transform-origin: bottom center; }
.doc-card:hover .doc-card__cover img { transform: translateY(-6px) rotate(-1.5deg); }
.doc-card__cover .badge { position: absolute; top: 14px; left: 14px; background: #fff; }
.doc-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.doc-card__body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.doc-card__body p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.doc-card__meta { display: flex; gap: 14px; font-size: .8rem; color: var(--muted); margin-bottom: 16px; }
.doc-card__body .btn { margin-top: auto; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -64px; position: relative; z-index: 2; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; margin-top: -40px; } }
.contact-card { padding: 26px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .94rem; color: var(--muted); }
.contact-card a.big { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); display: block; margin-top: 2px; }
.contact-card a.big:hover { color: var(--blue); }
.form-card { padding: clamp(24px, 4vw, 44px); }
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.subject-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-picker input { position: absolute; opacity: 0; pointer-events: none; }
.subject-picker label { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); cursor: pointer; font-size: .9rem; font-weight: 500; transition: .2s; }
.subject-picker label:hover { border-color: var(--blue); color: var(--blue); }
.subject-picker input:checked + label { background: var(--blue); border-color: var(--blue); color: #fff; }
.subject-picker input:focus-visible + label { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--soft-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; filter: saturate(.85); }
.disclosure { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.disclosure + .disclosure { margin-top: 10px; }
.disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); list-style: none; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary .icon { transition: transform .25s; color: var(--blue); }
.disclosure[open] > summary .icon { transform: rotate(45deg); }
.disclosure__body { padding: 0 18px 18px; color: var(--muted); font-size: .95rem; }

/* ---------- Distributors ---------- */
.dist-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .dist-layout { grid-template-columns: 1fr; } }
.dist-map { position: sticky; top: calc(var(--header-h) + 24px); height: calc(100vh - var(--header-h) - 48px); min-height: 420px; max-height: 760px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #e9eef4; z-index: 1; }
.dist-map #map { width: 100%; height: 100%; }
@media (max-width: 1000px) { .dist-map { position: relative; top: 0; height: 380px; min-height: 0; order: -1; } }
.dist-controls { display: grid; gap: 14px; margin-bottom: 20px; }
.dist-controls .search-field { position: relative; }
.dist-controls .search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.dist-controls .search-field .input { padding-left: 42px; }
.dist-list { display: grid; gap: 12px; }
.dist-card { padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; cursor: pointer; }
.dist-card[hidden] { display: none; }
.dist-card.is-active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 75, 147, .12); }
.dist-card__country { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.dist-card__country .badge { font-family: var(--font-body); }
.dist-card__company { grid-column: 1; color: var(--text); font-weight: 600; font-size: .95rem; }
.dist-card__addr { grid-column: 1; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.dist-card__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: .88rem; }
.dist-card__links a { display: inline-flex; align-items: center; gap: 6px; }
.dist-card__links .icon { width: 15px; height: 15px; }
.dist-card__region { grid-column: 2; grid-row: 1; align-self: start; }
.leaflet-container { font-family: var(--font-body) !important; background: #e9eef4 !important; }
.leaflet-tile-pane { filter: grayscale(1) brightness(1.06) contrast(.88); }
.sc-marker { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--blue); transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(10, 35, 59, .35); }
.sc-marker--hq { background: var(--red); }
.sc-marker.is-active { background: var(--navy); }
.map-fallback { display: grid; place-items: center; height: 100%; text-align: center; color: var(--muted); padding: 24px; font-size: .92rem; }

/* ---------- Search page ---------- */
.search-hero form { display: flex; gap: 10px; max-width: 760px; margin-top: 8px; background: #fff; border-radius: var(--radius); padding: 6px; box-shadow: var(--shadow-lg); }
.search-hero form .input { border: 0; height: 52px; font-size: 1.05rem; }
.search-hero form .input:focus { box-shadow: none; }
.search-hero form .btn { min-height: 52px; }
.result-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.result-group { margin-bottom: 40px; }
.result-group h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.result-group h2 .count { font-family: var(--font-body); font-size: .78rem; background: var(--soft); color: var(--muted); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.result { display: grid; grid-template-columns: 72px 1fr auto; gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); color: inherit; transition: .2s; background: #fff; }
.result + .result { margin-top: 10px; }
.result:hover { border-color: var(--blue-100); box-shadow: var(--shadow); color: inherit; }
.result__thumb { width: 72px; height: 60px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.result__thumb img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.result__thumb img.cover { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.result__thumb .icon { color: var(--blue); width: 24px; height: 24px; }
.result__body small { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 2px; }
.result__body b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.02rem; }
.result__body p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.result mark { background: #fff2b3; color: inherit; padding: 0 2px; border-radius: 2px; }
.result > .icon { color: var(--muted); }
@media (max-width: 560px) { .result { grid-template-columns: 56px 1fr; } .result > .icon { display: none; } .result__thumb { width: 56px; height: 50px; } }

/* ---------- Sitemap ---------- */
.sitemap { columns: 3 260px; column-gap: 40px; }
.sitemap > section { break-inside: avoid; margin-bottom: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sitemap h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sitemap h2 .feature-item__icon { width: 36px; height: 36px; border-radius: 10px; }
.sitemap h2 .feature-item__icon .icon { width: 18px; height: 18px; }
.sitemap ul { list-style: none; display: grid; gap: 4px; }
.sitemap ul ul { padding-left: 16px; border-left: 1px solid var(--line); margin: 4px 0 6px 4px; }
.sitemap a { font-size: .94rem; color: var(--text); }
.sitemap a:hover { color: var(--blue); }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; position: relative; overflow: hidden; }
.error-page__code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -.04em; display: flex; align-items: center; justify-content: center; gap: .05em; }
.error-page__code svg { width: .82em; height: .82em; color: var(--blue); animation: spin 14s linear infinite; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 250; width: min(420px, calc(100% - 40px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; display: none; }
.cookie.is-visible { display: block; animation: slideUp .4s var(--ease); }
.cookie h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.cookie p { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.cookie .btn-row .btn { flex: 1; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .30s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .36s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .42s; }
.reveal-stagger.is-in > *:nth-child(n+9) { transition-delay: .48s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 48px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.stack-sm > * + * { margin-top: 12px; }

/* ---------- Demo overview ---------- */
.demo-head { background: var(--navy); color: #c2d1e1; padding: 56px 0 48px; position: relative; overflow: hidden; isolation: isolate; }
.demo-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.demo-head img { height: 44px; margin-bottom: 32px; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-card { display: flex; flex-direction: column; padding: 24px; color: inherit; height: 100%; }
.demo-card:hover { color: inherit; }
.demo-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.demo-card__num { font-family: var(--font-head); font-weight: 800; color: var(--line-strong); font-size: 1.6rem; line-height: 1; }
.demo-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.demo-card code { font-size: .78rem; color: var(--blue); background: var(--blue-50); padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 12px; }
.demo-card p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.demo-card .link-arrow { margin-top: auto; }
.palette { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.swatch { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: .82rem; }
.swatch i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); }
