/* Такт — асиметрична швейцарська сітка.
   Layout: 12 колонок; службова колонка 1–2 (сині мітки й номери), смислова вісь починається з колонки 3. */
:root {
  --bg: #F8F8F6;
  --surface: #FFFFFF;
  --ink: #202B47;
  --ink-2: #4A5470;
  --blue: #2558B8;
  --orange: #C9502B;
  --rule: rgba(32, 43, 71, .16);
  --rule-strong: #202B47;
  --focus: #2558B8;

  --f-head: "Golos Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: "PT Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s-xs: .75rem;   /* 12 */
  --s-sm: .875rem;  /* 14 */
  --s-md: 1.0625rem;/* 17 */
  --s-lg: 1.25rem;  /* 20 */
  --s-xl: 1.75rem;  /* 28 */
  --s-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --s-hero: clamp(2.9rem, 1.2rem + 7.2vw, 7.5rem);

  --gap: clamp(16px, 2vw, 28px);
  --wrap: 1320px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--s-md);
  line-height: 1.55;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.num, .tel, time { font-variant-numeric: tabular-nums; }
.sr-only { 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 { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--surface); padding: 10px 14px; }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

/* ---------- обгортка та сітка ---------- */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.grid > * { min-width: 0; }
.label {
  font-family: var(--f-head);
  font-size: var(--s-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.section { padding-block: clamp(56px, 7vw, 112px); border-top: 1px solid var(--rule); }
.section__aside { grid-column: 1 / span 2; padding-top: .35em; }
.section__body { grid-column: 3 / -1; display: grid; gap: clamp(24px, 3vw, 40px); }
.section h2 { font-size: var(--s-2xl); }
.lead { font-size: var(--s-lg); max-width: 40ch; color: var(--ink); }
.muted { color: var(--ink-2); }

/* ---------- шапка ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.site-header__row { display: flex; align-items: center; gap: 16px 28px; min-height: 68px; flex-wrap: wrap; padding-block: 6px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 1.375rem; letter-spacing: -.02em; min-height: 44px; }
.brand svg { width: 34px; height: 28px; flex: none; }
.nav { position: relative; display: flex; gap: 4px 22px; flex-wrap: wrap; margin-right: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 500; font-size: .9375rem; }
.nav a[aria-current="page"], .nav a.is-active { color: var(--blue); }
.nav__stroke {
  position: absolute; left: 0; bottom: 6px; height: 3px; width: 0;
  pointer-events: none;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), width .45s cubic-bezier(.2,.7,.2,1), opacity .2s;
  opacity: 0;
}
.nav__stroke::before, .nav__stroke::after { content: ""; position: absolute; top: 0; height: 3px; }
.nav__stroke::before { left: 0; right: 10px; background: var(--blue); }
.nav__stroke::after { right: 0; width: 6px; background: var(--orange); }
.nav__stroke.is-on { opacity: 1; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--rule-strong); }
.lang a, .lang span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; font-family: var(--f-head); font-weight: 600; font-size: .8125rem; letter-spacing: .06em; text-decoration: none; color: var(--ink); }
.lang span[aria-current] { background: var(--ink); color: var(--surface); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 20px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid var(--ink); color: var(--ink); background: transparent;
  cursor: pointer; border-radius: 0;
}
.btn--primary { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.btn--primary:hover { background: #1E4A9C; border-color: #1E4A9C; }
.btn:hover { text-decoration: none; }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }
.btn--small { min-height: 44px; padding: 8px 14px; font-size: .9375rem; }
.btn__note { font-family: var(--f-body); font-weight: 400; font-size: var(--s-sm); }
.call-cta { max-width: 100%; }
.call-cta .tel { white-space: nowrap; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 96px) clamp(48px, 6vw, 88px); }
.hero__aside { grid-column: 1 / span 2; display: grid; gap: 8px; align-content: start; padding-top: .9em; }
.hero__title { grid-column: 3 / -1; font-size: var(--s-hero); font-weight: 700; letter-spacing: -.035em; line-height: .96; }
.hero__title span { display: block; }
.hero__title .dot { display: inline; color: var(--orange); }
.hero__text { grid-column: 3 / span 6; margin-top: clamp(28px, 3.5vw, 48px); display: grid; gap: 24px; align-content: start; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__panel { grid-column: 10 / -1; margin-top: clamp(28px, 3.5vw, 48px); align-self: start; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.facts div { display: grid; }
.facts b { font-family: var(--f-head); font-size: var(--s-xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.facts span { font-size: var(--s-sm); color: var(--ink-2); }
.counter-panel { background: var(--surface); border-top: 6px solid var(--ink); padding: 20px 22px 22px; display: grid; gap: 14px; }
.counter-panel__big { font-family: var(--f-head); font-weight: 700; font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: .85; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.counter-panel__bars { display: flex; align-items: flex-end; gap: 3px; height: 54px; }
.counter-panel__bars i { display: block; width: 6px; background: var(--ink); height: 34px; }
.counter-panel__bars i:nth-child(4n+2) { height: 46px; background: var(--blue); }
.counter-panel__bars i:nth-child(4n+3) { margin-left: 5px; }
.counter-panel__bars i:nth-child(4n+1) { margin-left: 9px; }
.counter-panel__bars i:first-child { margin-left: 0; }
.counter-panel__bars i.is-accent { background: var(--orange); }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- напрямки ---------- */
.dirs { display: grid; gap: clamp(36px, 4vw, 56px); }
.dir { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 14px; }
.dir > * { min-width: 0; }
.dir__num { grid-column: 1 / span 2; font-family: var(--f-head); font-size: var(--s-2xl); font-weight: 700; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.dir__head { grid-column: 3 / -1; display: grid; gap: 6px; }
.dir__head h3 { font-size: var(--s-xl); }
.dir__body { grid-column: 3 / span 6; display: grid; gap: 12px; }
.dir:nth-child(2) .dir__body { grid-column: 3 / span 7; }
.dir:nth-child(3) .dir__body { grid-column: 3 / span 5; }
.dir__link { font-family: var(--f-head); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
.dir__note { font-size: var(--s-sm); color: var(--ink-2); border-left: 3px solid var(--orange); padding-left: 12px; }

/* ---------- кроки ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.steps li { border-top: 3px solid var(--ink); padding-top: 16px; display: grid; gap: 10px; align-content: start; }
.steps li:nth-child(2) { border-top-color: var(--blue); }
.steps h3 { font-size: var(--s-lg); display: flex; gap: 12px; align-items: baseline; }
.steps h3 .num { color: var(--blue); font-size: var(--s-sm); letter-spacing: .06em; }

/* ---------- порівняльний список документів ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); }
.compare caption { text-align: left; padding-bottom: 12px; color: var(--ink-2); font-size: var(--s-sm); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--f-head); font-size: var(--s-lg); border-bottom: 3px solid var(--ink); }
.compare thead th small { display: block; font-family: var(--f-body); font-weight: 400; font-size: var(--s-sm); color: var(--ink-2); }
.compare tbody th { font-family: var(--f-head); font-weight: 600; font-size: var(--s-sm); color: var(--blue); text-transform: uppercase; letter-spacing: .06em; width: 16%; }
.compare ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.periodic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.periodic div { display: grid; gap: 6px; align-content: start; padding-top: 12px; border-top: 1px solid var(--rule-strong); }
.periodic b { font-family: var(--f-head); font-size: var(--s-lg); }

/* ---------- регіони ---------- */
.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0 var(--gap); }
.regions li { border-bottom: 1px solid var(--rule); }
.regions a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 48px; padding-block: 10px; color: var(--ink); text-decoration: none; font-family: var(--f-head); font-weight: 500; }
.regions a:hover .regions__name { color: var(--blue); }
.regions .num { color: var(--blue); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--rule-strong); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding-block: 16px; min-height: 48px; font-family: var(--f-head); font-weight: 600; font-size: var(--s-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.5rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding-bottom: 20px; max-width: 68ch; display: grid; gap: 10px; }

/* ---------- каталог ---------- */
.cat-head { padding-block: clamp(36px, 5vw, 72px) 28px; }
.cat-head h1 { grid-column: 3 / -1; font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); font-weight: 700; letter-spacing: -.03em; }
.cat-head__count { grid-column: 3 / -1; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: var(--s-md); }
.cat-head__count b { font-family: var(--f-head); font-size: var(--s-xl); font-variant-numeric: tabular-nums; }
.cat-head__intro { grid-column: 3 / span 7; margin-top: 18px; color: var(--ink-2); max-width: 62ch; }

.filters { background: var(--surface); border-top: 6px solid var(--ink); padding: 20px clamp(16px, 2vw, 28px) 18px; display: grid; gap: 16px; }
.filters__grid { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-head); font-weight: 600; font-size: var(--s-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--rule-strong); border-radius: 0;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.filters__bar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.result-count { font-family: var(--f-head); font-weight: 600; font-size: var(--s-lg); }
.result-count .num { color: var(--blue); }
.viewtoggle { position: relative; display: inline-flex; border: 1px solid var(--rule-strong); }
.viewtoggle button { position: relative; z-index: 1; min-height: 44px; padding: 8px 16px; font-family: var(--f-head); font-weight: 600; font-size: .9375rem; background: transparent; color: var(--ink); border: 0; cursor: pointer; }
.viewtoggle button[aria-pressed="true"] { color: #FFFFFF; }
.viewtoggle__mark { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: var(--blue); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.viewtoggle[data-view="detailed"] .viewtoggle__mark { transform: translateX(100%); }
.reset { background: none; border: 0; padding: 8px 4px; min-height: 44px; font: inherit; font-family: var(--f-head); font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.notice { border-left: 3px solid var(--orange); padding: 4px 0 4px 14px; max-width: 76ch; display: grid; gap: 6px; }
.notice button { justify-self: start; }
.no-js .js-only { display: none !important; }

.index { display: flex; flex-wrap: wrap; gap: 4px 16px; font-family: var(--f-head); font-size: var(--s-sm); padding-block: 16px 0; }
.index a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.index a:hover { color: var(--blue); }
.index .num { color: var(--blue); margin-left: 4px; }

.catalog { padding-block: 28px clamp(48px, 6vw, 96px); display: grid; gap: clamp(36px, 4vw, 56px); }
.region { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.region > * { min-width: 0; }
.region__head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.region__head h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 700; letter-spacing: -.025em; }
.region__head .num { font-family: var(--f-head); color: var(--blue); font-weight: 600; }
.labs { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.lab { border-bottom: 1px solid var(--rule); padding-block: 12px 6px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 6px; align-items: baseline; }
.lab > * { min-width: 0; }
.lab__title { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); column-gap: var(--gap); font-family: var(--f-body); font-weight: 400; font-size: var(--s-md); line-height: 1.4; }
.lab__kind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lab__city { grid-column: 1 / span 3; font-family: var(--f-head); font-weight: 600; font-size: var(--s-lg); overflow-wrap: anywhere; }
.lab__addr { grid-column: 4 / -1; font-style: normal; font-size: var(--s-lg); overflow-wrap: anywhere; }
.lab__phones { grid-column: 9 / -1; display: grid; gap: 2px; justify-items: start; }
.lab__phones a, .lab__phones .tel { font-family: var(--f-head); font-weight: 600; font-size: var(--s-lg); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-variant-numeric: tabular-nums; }
.lab__phones a:hover { text-decoration: underline; }
.lab__nophone { color: var(--ink-2); font-size: var(--s-sm); }
.lab__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--f-head); font-size: var(--s-xs); font-weight: 600; letter-spacing: .06em; padding: 3px 7px; border: 1px solid var(--blue); color: var(--blue); }
.tag--ekmt { border-color: var(--orange); color: #9E3D1F; }
.lab__more { grid-column: 4 / -1; margin-top: -4px; }
.lab__more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-family: var(--f-head); font-weight: 600; font-size: var(--s-sm); color: var(--blue); }
.lab__more summary::-webkit-details-marker { display: none; }
.lab__more summary::before { content: ""; width: 14px; height: 2px; background: var(--blue); }
.lab__more[open] summary::before { background: var(--orange); }
.lab__detail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px var(--gap); padding-block: 8px 6px; }
.lab__detail > div { display: grid; gap: 4px; align-content: start; }
.lab__detail dt, .lab__detail .k { font-family: var(--f-head); font-size: var(--s-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.lab__detail dl { margin: 0; display: grid; gap: 2px; }
.lab__detail dd { margin: 0; }
.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: var(--s-sm); }
.cats b { font-family: var(--f-head); display: inline-block; min-width: 2.2em; color: var(--ink); }
.lab__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.lab__actions .btn { min-height: 44px; padding: 6px 12px; font-size: .875rem; border-width: 1px; }
.lab.is-picked { background: linear-gradient(90deg, rgba(37, 88, 184, .07), transparent 60%); }
.lab.is-picked .lab__city::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 8px; background: var(--orange); vertical-align: middle; }
.empty { border: 1px dashed var(--rule-strong); padding: 24px; display: grid; gap: 12px; justify-items: start; }
.empty h2 { font-size: var(--s-xl); }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 10px 16px; font-family: var(--f-head); font-weight: 600; font-size: var(--s-sm); z-index: 40; }

.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px var(--gap); max-width: 980px; }
.tips li { display: grid; gap: 6px; border-top: 1px solid var(--rule-strong); padding-top: 12px; }
.tips b { font-family: var(--f-head); font-size: var(--s-lg); }

/* ---------- підвал ---------- */
.site-footer { background: var(--ink); color: #E7E9F0; padding-block: clamp(40px, 5vw, 72px) 32px; }
.site-footer a { color: #FFFFFF; }
.site-footer .label { color: #AFC4EE; }
.foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; }
.foot > * { min-width: 0; }
.foot__brand { grid-column: 1 / span 4; display: grid; gap: 14px; align-content: start; }
.foot__brand .brand { color: #FFFFFF; }
.foot__nav { grid-column: 6 / span 3; display: grid; gap: 6px; align-content: start; }
.foot__src { grid-column: 9 / -1; display: grid; gap: 6px; align-content: start; font-size: var(--s-sm); }
.foot__nav a, .foot__src a { display: inline-flex; min-height: 40px; align-items: center; }
.foot__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; font-size: var(--s-sm); color: #C9CEDC; }

/* ---------- 404 ---------- */
.nf { padding-block: clamp(64px, 10vw, 140px); }
.nf h1 { grid-column: 3 / -1; font-size: var(--s-hero); font-weight: 700; letter-spacing: -.04em; }
.nf__body { grid-column: 3 / span 7; margin-top: 24px; display: grid; gap: 18px; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .filters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters__grid .field--q { grid-column: 1 / -1; }
  .hero__text { grid-column: 3 / span 7; }
  .hero__panel { grid-column: 10 / -1; }
}
@media (max-width: 900px) {
  .section__aside, .hero__aside { grid-column: 1 / -1; padding-top: 0; margin-bottom: 14px; }
  .section__body, .hero__title, .hero__text, .cat-head h1, .cat-head__count, .cat-head__intro, .nf h1, .nf__body { grid-column: 1 / -1; }
  .hero__aside { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .hero__panel { grid-column: 1 / -1; max-width: 420px; }
  .dir { grid-template-columns: 1fr; }
  .dir__num, .dir__head, .dir__body, .dir:nth-child(2) .dir__body, .dir:nth-child(3) .dir__body { grid-column: 1 / -1; }
  .steps, .periodic { grid-template-columns: 1fr; }
  .lab__title { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .lab__city, .lab__addr { grid-column: 1 / -1; }
  .lab__phones, .lab__more { grid-column: 1 / -1; }
  .lab__detail { grid-template-columns: 1fr 1fr; }
  .foot__brand, .foot__nav, .foot__src { grid-column: 1 / -1; }
  .tips { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .compare, .compare tbody, .compare tr, .compare td, .compare th { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { border-top: 3px solid var(--ink); padding-block: 6px; }
  .compare tbody th { padding-top: 14px; border-bottom: 0; }
  .compare td { border-bottom: 1px solid var(--rule); padding-block: 10px; }
  .compare td::before { content: attr(data-label); display: block; font-family: var(--f-head); font-weight: 700; margin-bottom: 4px; }
  .filters__grid { grid-template-columns: 1fr 1fr; }
  .lab__detail { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, auto); }
  .nav { order: 3; width: 100%; gap: 0 18px; }
  .site-header { position: static; }
  .hero__panel { display: none; }
  .site-header__row { gap: 4px 12px; }
}
@media (max-width: 420px) {
  .filters__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .header-tools .call-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .filters, .lab__actions, .site-footer nav { display: none; }
  .lab__more[open] summary, .lab__more summary { display: none; }
}
