/* ============================================================
   ILOPLEKS DAIRY — MVP prototype design system
   Colours per ILOPLEKS Brand Colour Architecture v2 (CC-01 Dairy)
   Gold CG-01 #D4AF37 is reserved for the corporate symbol only.
   ============================================================ */

:root {
  /* Dairy category (CC-01) */
  --blue-900: #00306b;
  --blue-800: #004494;
  --blue-700: #0057b8;  /* primary       */
  --blue-600: #0072ce;  /* interactive   */
  --blue-400: #3fa7ff;  /* accent        */
  --blue-100: #bde0ff;  /* light         */
  --blue-50:  #eaf3fd;

  /* Corporate symbol only — never UI */
  --gold: #d4af37;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #eceff4;
  --gray-200: #dfe4ec;
  --gray-300: #c7cede;
  --ink: #333333;
  --ink-strong: #1c2634;
  --muted: #6b7280;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-xs: 0 1px 2px rgba(16, 34, 64, .06);
  --shadow-sm: 0 2px 8px rgba(16, 34, 64, .07);
  --shadow-md: 0 8px 24px rgba(16, 34, 64, .09);
  --shadow-lg: 0 18px 48px rgba(16, 34, 64, .14);

  --wrap: 1200px;
  --gut: 24px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* Motion palette — short, no overshoot. Bounce/elastic easing is the
     strongest "templated marketing site" tell on a scientific brand. */
  --dur-fast: 150ms;   /* hover / state change      */
  --dur-mid:  250ms;   /* reveal                    */
  --ease-in:  cubic-bezier(.4, 0, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* WCAG 2.2 SC 2.4.11 Focus Not Obscured — keep anchors and focused
     elements clear of the sticky header. */
  scroll-padding-top: 116px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-800); text-decoration: underline; }
button { font: inherit; }
h1, h2, h3, h4, h5 {
  color: var(--ink-strong);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gut); }
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.section--gray { background: var(--gray-50); }
.section--blue { background: var(--blue-900); color: #dbe7f5; }
.section--blue h1, .section--blue h2, .section--blue h3 { color: #fff; }
.section--line { border-top: 1px solid var(--gray-200); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .6rem;
}
.section--blue .eyebrow { color: var(--blue-400); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section--blue .section-head p { color: #b9cde6; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.lede { font-size: 1.12rem; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: .96rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--secondary { background: #fff; color: var(--blue-700); border-color: var(--blue-100); }
.btn--secondary:hover { background: var(--blue-50); color: var(--blue-800); border-color: var(--blue-400); }
.btn--ghost { background: transparent; color: var(--blue-700); border-color: var(--gray-200); }
.btn--ghost:hover { border-color: var(--blue-400); background: var(--blue-50); color: var(--blue-800); }
.btn--onblue { background: #fff; color: var(--blue-800); }
.btn--onblue:hover { background: var(--blue-50); color: var(--blue-900); }
.btn--onblue-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--onblue-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .875rem; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { line-height: 1; }
.brand__name {
  display: block; font-weight: 800; font-size: 1.16rem;
  letter-spacing: .04em; color: var(--ink-strong);
}
.brand__cat {
  display: block; font-size: .66rem; font-weight: 700;
  letter-spacing: .3em; color: var(--blue-700); margin-top: 3px;
}
.brand--invert .brand__name { color: #fff; }
.brand--invert .brand__cat { color: var(--blue-400); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.6) blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-bar {
  display: flex; align-items: center; gap: 20px;
  min-height: 74px; padding: 10px var(--gut);
  max-width: var(--wrap); margin: 0 auto;
}
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 11px; border-radius: var(--radius-sm);
  color: var(--ink); font-size: .92rem; font-weight: 500;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-expanded="true"] {
  background: var(--blue-50); color: var(--blue-800); text-decoration: none;
}
.nav__link[aria-current="page"] { color: var(--blue-700); font-weight: 600; }
.nav__caret { width: 9px; height: 9px; transition: transform .18s ease; }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 268px; padding: 8px;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  list-style: none; margin: 0; display: none;
}
.menu[data-open="true"] { display: block; }
.menu a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--ink); font-size: .92rem;
}
.menu a:hover { background: var(--blue-50); color: var(--blue-800); text-decoration: none; }
.menu__label {
  padding: 8px 12px 4px; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px;
  background: var(--ink-strong); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 88% -8%, rgba(63,167,255,.22), transparent 60%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 78%);
  padding: 68px 0 60px;
  border-bottom: 1px solid var(--gray-200);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero__sub { font-size: 1.08rem; color: #4b5563; max-width: 56ch; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 22px; font-size: .9rem; color: var(--muted);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { color: var(--blue-600); flex: none; }

.challenge-box {
  margin-top: 26px; padding: 16px;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.challenge-box label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.challenge-box__row { display: flex; gap: 10px; }
.challenge-box input {
  flex: 1; min-width: 0; padding: 12px 14px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .95rem; color: var(--ink); background: var(--gray-50);
}
.challenge-box input:focus { background: #fff; border-color: var(--blue-400); outline: none; box-shadow: 0 0 0 3px rgba(63,167,255,.25); }

/* hero diagram */
.hero__art { position: relative; }
.hero-diagram { width: 100%; height: auto; display: block; }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--blue-50); border-bottom: 1px solid var(--gray-200); padding: 22px 0; }
.trust-strip__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-strip__label {
  font-weight: 700; color: var(--ink-strong); font-size: .95rem;
  max-width: 210px; line-height: 1.35;
}
.trust-strip__items {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  flex: 1; border-left: 1px solid var(--blue-100); padding-left: 28px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #3f4b5c; }
.trust-item strong { display: block; color: var(--ink-strong); font-size: .92rem; font-weight: 600; }
.trust-item svg { color: var(--blue-700); flex: none; }

/* ---------- cards ---------- */
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 26px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card--link:hover { border-color: var(--blue-400); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 14px; }
.card__icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--blue-50); color: var(--blue-700);
}
.card--primary { border-color: var(--blue-400); box-shadow: 0 0 0 1px var(--blue-400) inset; }
.card__badge {
  display: inline-block; align-self: flex-start;
  background: var(--blue-700); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 20px; margin-bottom: 12px;
}

/* application cards */
.app-card { position: relative; overflow: hidden; }
.app-card__visual {
  height: 132px; border-radius: 8px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-50), #fff 70%);
  border: 1px solid var(--gray-100);
}
.app-card__visual svg { width: 74px; height: 74px; color: var(--blue-700); }
.app-card__examples {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none;
}
.app-card__examples li {
  font-size: .76rem; color: #4b5563; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: 20px; padding: 3px 10px;
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--blue-700); color: #fff; font-weight: 700; font-size: 1.02rem;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
.step::after {
  content: ""; position: absolute; top: 34px; left: 56px; right: -10px;
  height: 2px; background: var(--blue-100);
}
.step:last-child::after { display: none; }

/* feature list */
.feature { display: flex; gap: 14px; }
.feature__icon {
  width: 40px; height: 40px; flex: none; border-radius: 8px;
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700);
}
.section--blue .feature__icon { background: rgba(63,167,255,.16); color: var(--blue-400); }
.feature h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }
.section--blue .feature p { color: #b9cde6; }

/* ---------- product card (single reusable component) ---------- */
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow-md); }
.product-card__top {
  padding: 16px 20px; background: var(--blue-50);
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.product-card__code {
  font-weight: 800; color: var(--blue-800); letter-spacing: .02em; white-space: nowrap;
}
.product-card__family {
  font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--blue-700); background: #fff; border: 1px solid var(--blue-100);
  padding: 3px 9px; border-radius: 20px; text-align: right; line-height: 1.25;
}
.product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 1.08rem; font-weight: 700; color: var(--ink-strong); margin: 0 0 6px; }
.product-card__desc { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.product-card__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 7px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.tag-list li {
  font-size: .76rem; color: #3f4b5c; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: 20px; padding: 3px 10px;
}
.tag-list li.tag--stock {
  background: var(--blue-50); border-color: var(--blue-100);
  color: var(--blue-800); font-weight: 600;
}

/* ---------- utility bar ---------- */
.util-bar {
  background: var(--blue-900); color: #b9cde6;
  font-size: .8rem;
}
.util-bar__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 7px var(--gut);
  display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center;
}
.util-bar a { color: #fff; font-weight: 600; }
.util-bar a:hover { color: var(--blue-100); }
.util-bar .spacer { margin-left: auto; }
.util-bar span.dot { display: inline-flex; align-items: center; gap: 7px; }
.util-bar svg { color: var(--blue-400); flex: none; }
@media (max-width: 640px) {
  .util-bar .util-hide { display: none; }
  .util-bar .spacer { margin-left: 0; }
}
.benefit-list { list-style: none; margin: 0 0 16px; padding: 0; }
.benefit-list li {
  position: relative; padding-left: 22px; font-size: .89rem; color: #3f4b5c; margin-bottom: 5px;
}
.benefit-list li::before {
  content: ""; position: absolute; left: 4px; top: .52em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400);
}
.product-card__foot { margin-top: auto; }

/* ---------- catalogue ---------- */
.catalog { display: grid; grid-template-columns: 268px 1fr; gap: 32px; align-items: start; }
.filters {
  position: sticky; top: 92px;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 22px;
}
.filters h2 { font-size: 1.02rem; margin-bottom: 4px; }
.filter-group { border-top: 1px solid var(--gray-100); padding-top: 16px; margin-top: 16px; }
.filter-group h3 {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.filter-opt {
  display: flex; align-items: center; gap: 9px;
  font-size: .9rem; color: var(--ink); padding: 4px 0; cursor: pointer;
}
.filter-opt input { accent-color: var(--blue-700); width: 16px; height: 16px; cursor: pointer; }
.filter-opt span { flex: 1; }
.filter-opt small { color: var(--muted); }

.search-bar { display: flex; gap: 10px; margin-bottom: 20px; }
.search-bar__field { position: relative; flex: 1; }
.search-bar__field svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.search-bar input {
  width: 100%; padding: 13px 14px 13px 42px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .96rem; background: #fff; color: var(--ink);
}
.search-bar input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(63,167,255,.25); }
.results-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
  font-size: .9rem; color: var(--muted);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  color: var(--blue-800); font-size: .8rem; font-weight: 600;
  padding: 4px 6px 4px 11px; border-radius: 20px;
}
.chip button {
  background: none; border: 0; color: var(--blue-700);
  cursor: pointer; line-height: 1; padding: 2px 4px; border-radius: 50%; font-size: .95rem;
}
.chip button:hover { background: var(--blue-100); }
.empty-state {
  text-align: center; padding: 60px 24px;
  background: var(--gray-50); border: 1px dashed var(--gray-300); border-radius: var(--radius);
}

/* ---------- page hero / breadcrumb ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--blue-50), #fff);
  border-bottom: 1px solid var(--gray-200); padding: 34px 0 44px;
}
.page-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lede { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; }
.breadcrumb li { color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--gray-300); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-700); }

/* ---------- content ---------- */
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul li { margin-bottom: .4rem; }
.prose > :first-child { margin-top: 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
table.data th, table.data td {
  padding: 13px 16px; text-align: left; font-size: .92rem;
  border-bottom: 1px solid var(--gray-100); vertical-align: top;
}
table.data th { background: var(--gray-50); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td a { font-weight: 600; }

.accordion { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; background: #fff; }
.accordion + .accordion { margin-top: 10px; }
.accordion summary {
  padding: 16px 20px; font-weight: 600; color: var(--ink-strong);
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--blue-700); font-size: 1.3rem; font-weight: 400; line-height: 1; }
.accordion[open] summary::after { content: "–"; }
.accordion summary:hover { background: var(--gray-50); }
.accordion__body { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; }

.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: #fff; color: var(--ink); font-weight: 500; font-size: .93rem;
}
.doc-list a:hover { border-color: var(--blue-400); background: var(--blue-50); text-decoration: none; color: var(--blue-800); }
.doc-list svg { color: var(--blue-700); flex: none; }
.doc-list small { margin-left: auto; color: var(--muted); font-weight: 400; }

.spec-list { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.spec-list div {
  padding: 13px 0; border-bottom: 1px solid var(--gray-100);
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.spec-list dt { color: var(--muted); font-size: .88rem; }
.spec-list dd { margin: 0; font-weight: 600; color: var(--ink-strong); font-size: .92rem; text-align: right; }

.sticky-aside { position: sticky; top: 92px; }
.aside-card {
  background: var(--blue-900); color: #dbe7f5;
  border-radius: var(--radius); padding: 26px;
}
.aside-card h3 { color: #fff; }
.aside-card p { font-size: .93rem; color: #b9cde6; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: 10px; }

.note {
  border-left: 3px solid var(--blue-400); background: var(--blue-50);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem; color: #3f4b5c;
}
.note strong { color: var(--ink-strong); }

/* ---------- forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm);
}
.fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.fieldset > legend {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-700); padding: 0; margin-bottom: 16px;
  width: 100%; border-bottom: 1px solid var(--gray-100); padding-bottom: 10px;
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-strong); margin-bottom: 6px; }
.field .req { color: #c0392b; }
.field .hint { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: 3px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="file"], .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(63,167,255,.25);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.14);
}
.field .error { display: none; color: #c0392b; font-size: .82rem; margin-top: 5px; font-weight: 500; }
.field .error[data-show="true"] { display: block; }

.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); cursor: pointer; font-size: .93rem; background: #fff;
}
.radio-pill:hover { border-color: var(--blue-400); }
.radio-pill input { accent-color: var(--blue-700); }
.radio-pill:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); font-weight: 600; color: var(--blue-800); }

.check-box {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border: 1px solid var(--blue-100); background: var(--blue-50);
  border-radius: var(--radius); cursor: pointer;
}
.check-box input { accent-color: var(--blue-700); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.check-box strong { display: block; color: var(--ink-strong); font-size: .95rem; }
.check-box span { font-size: .87rem; color: var(--muted); }

.conditional {
  display: none; margin-top: 18px; padding: 20px;
  border: 1px dashed var(--blue-100); border-radius: var(--radius); background: #fbfdff;
}
.conditional[data-open="true"] { display: block; }
.conditional > h3 { font-size: .95rem; margin-bottom: 14px; }

.checkbox-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  max-height: 250px; overflow-y: auto; padding: 14px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: #fff;
}
.checkbox-grid label { display: flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 400; margin: 0; cursor: pointer; }
.checkbox-grid input { accent-color: var(--blue-700); }

.form-alert {
  display: none; margin-bottom: 22px; padding: 14px 18px;
  border-radius: var(--radius); font-size: .92rem; font-weight: 500;
  background: #fdeceb; border: 1px solid #f5c6c2; color: #a02c22;
}
.form-alert[data-show="true"] { display: block; }

.enquiry-card { text-align: left; }
.enquiry-card .card__icon { width: 52px; height: 52px; }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-900); color: #a9c1dc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; }
.footer-grid h4 {
  color: #fff; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #a9c1dc; font-size: .9rem; }
.footer-grid a:hover { color: #fff; }
.footer-about p { font-size: .9rem; color: #a9c1dc; max-width: 34ch; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--blue-400); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.footer-social a:hover { background: var(--blue-700); }
.footer-bottom {
  margin-top: 46px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center;
  font-size: .84rem;
}
.footer-bottom .spacer { margin-left: auto; }

/* ---------- prototype banner ---------- */
.proto-bar {
  background: var(--ink-strong); color: #cbd5e1;
  font-size: .78rem; text-align: center; padding: 7px 16px;
}
.proto-bar strong { color: #fff; }
.proto-bar a { color: var(--blue-400); }

/* ---------- certification strip (repeated on product/technical pages) ---------- */
.cert-strip {
  display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  padding: 16px 20px; margin: 0;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.cert-strip__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin: 0;
}
.cert-strip span.cert {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 600; color: var(--ink-strong);
}
.cert-strip svg { color: var(--blue-700); flex: none; }

/* ---------- scroll reveal: one property pair, once, short ---------- */
.reveal { opacity: 0; transform: translateY(8px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-mid) var(--ease-in), transform var(--dur-mid) var(--ease-in);
}

/* ---------- utils ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue-700); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__art { max-width: 560px; margin: 0 auto; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header[data-open="true"] .nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md); padding: 12px var(--gut) 20px; max-height: 78vh; overflow-y: auto;
  }
  .site-header[data-open="true"] .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header[data-open="true"] .nav__link { width: 100%; justify-content: space-between; padding: 12px; }
  .site-header[data-open="true"] .menu {
    position: static; display: none; box-shadow: none; border: 0;
    border-left: 2px solid var(--blue-100); border-radius: 0; margin: 2px 0 8px 12px; min-width: 0;
  }
  .site-header[data-open="true"] .menu[data-open="true"] { display: block; }
  .site-header[data-open="true"] .header-cta {
    display: flex; flex-direction: column; gap: 10px;
    position: absolute; top: 100%; left: 0; right: 0; z-index: -1;
  }
  .site-header[data-open="true"] .nav { padding-bottom: 16px; }
  .site-header[data-open="true"] .nav::after { content: ""; display: block; height: 4px; }
  .mobile-cta { display: block; margin-top: 14px; }
  .mobile-cta .btn { width: 100%; }
  .mobile-cta .btn + .btn { margin-top: 10px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .trust-strip__items { border-left: 0; padding-left: 0; }
  .spec-list { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .mobile-cta { display: none; } }
@media (max-width: 640px) {
  :root { --gut: 18px; }
  .section { padding: 52px 0; }
  .hero { padding: 44px 0 46px; }
  .grid-2, .grid-3, .grid-4, .steps, .field-row, .checkbox-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 22px; }
  .challenge-box__row { flex-direction: column; }
  .challenge-box .btn { width: 100%; }
  .btn { width: auto; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

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