/* МедМейд — medmade.ru */

@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fira-sans-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/fira-sans-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/fira-sans-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/fira-sans-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/fira-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/fira-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/fira-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/fira-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #2A52A3;
  --blue-600: #234690;
  --blue-800: #1A3368;
  --blue-100: #DCE4F5;
  --blue-50: #EEF2FA;
  --red: #D7393E;
  --peach: #F3B4A1;
  --lav: #A0ACE0;
  --ink: #18213D;
  --text: #3B4462;
  --muted: #6A7290;
  --line: #E1E6F0;
  --bg: #FFFFFF;
  --bg-tint: #F5F7FB;

  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(24, 33, 61, .05), 0 2px 10px rgba(24, 33, 61, .05);
  --shadow: 0 2px 6px rgba(24, 33, 61, .05), 0 18px 40px -12px rgba(24, 33, 61, .18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --pattern: url(../img/pattern.svg);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(42, 82, 163, .45); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--blue); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  color: var(--red); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h2 { color: var(--ink); font-size: clamp(28px, 1.6rem + 1.5vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.h3 { color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.25; }
.lead { margin-top: 16px; max-width: 640px; color: var(--muted); font-size: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 14px;
  font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(42, 82, 163, .6); }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--outline { border-color: var(--blue-100); color: var(--blue); }
.btn--outline:hover { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-800); }
.btn--sm { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.btn--sm .icon { width: 18px; height: 18px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(24, 33, 61, .5); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.header__logo { flex: none; }
.header__logo img { width: 223px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__list { display: flex; gap: 26px; }
.nav__list a { color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; transition: color .2s; }
.nav__list a:hover { color: var(--blue); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero__strip { position: absolute; top: 0; bottom: 0; left: 0; width: clamp(24px, 4.2vw, 72px); background: var(--pattern) 0 0 / 216px auto; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__text { padding-left: clamp(0px, 3vw, 40px); }
.hero__title { color: var(--ink); font-size: clamp(36px, 1.6rem + 3vw, 62px); font-weight: 700; line-height: 1.06; letter-spacing: -.015em; }
.hero__title span { color: var(--blue); }
.hero__lead { margin-top: 24px; max-width: 560px; font-size: clamp(17px, 1rem + .3vw, 20px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__points { display: grid; gap: 10px; margin-top: 36px; }
.hero__points li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 16px; }
.hero__points .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--blue-50); color: var(--blue); stroke-width: 2.4; margin-top: 1px; }

.stage { position: relative; width: 100%; max-width: 580px; margin-left: auto; aspect-ratio: 1 / .92; }
.stage__bg {
  position: absolute; inset: 8% 0 4% 10%;
  border-radius: 32px;
  background:
    radial-gradient(120% 90% at 85% 10%, #fff 0, rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, var(--blue-50), #E3E9F7);
}
.stage .cover { position: absolute; }
.stage__back { top: 3%; right: 3%; width: 68%; transform: rotate(4deg); }
.stage__front { top: 21%; left: 4%; width: 45%; transform: rotate(-6deg); z-index: 2; }
.stage__roll { position: absolute; right: -3%; bottom: -3%; width: 62%; height: auto; z-index: 3; filter: drop-shadow(0 18px 24px rgba(24, 33, 61, .12)); }

.rule { height: 4px; background: var(--red); }

/* ---------- journal cover (mirrors the printed covers) ---------- */
.cover {
  position: relative; display: block; overflow: hidden;
  container-type: inline-size;
  background: #fff;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 0 1px 2px rgba(24, 33, 61, .1), 0 16px 32px -14px rgba(24, 33, 61, .35);
}
.cover--portrait { aspect-ratio: 148 / 210; }
.cover--landscape { aspect-ratio: 297 / 210; }
.cover__strip { position: absolute; top: 0; left: 0; bottom: 28.5%; width: 22%; background: var(--pattern) 0 0 / 300% auto; }
.cover--landscape .cover__strip { width: 14%; bottom: 31%; background-size: 330% auto; }
.cover__logo { position: absolute; top: 6.5%; right: 8%; width: 20%; height: auto; }
.cover--landscape .cover__logo { top: 8%; right: 6%; width: 12%; }
.cover__title {
  position: absolute; top: 36%; right: 8%; width: 68%;
  color: var(--blue); font-size: 5.6cqw; font-weight: 600; line-height: 1.18; text-align: right;
}
.cover__title b { display: block; margin-bottom: .3em; font-size: 2.3em; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.cover__title--long b { font-size: 1.55em; line-height: 1.05; }
.cover--landscape .cover__title { top: 27%; right: 6%; width: 58%; font-size: 3.5cqw; }
.cover__rule { position: absolute; left: 0; right: 0; bottom: 27%; height: max(1px, .7cqw); background: var(--red); }
.cover--landscape .cover__rule { bottom: 29.5%; height: max(1px, .5cqw); }
.cover__lines {
  position: absolute; left: 14%; right: 8%; bottom: 7%; height: 12%;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(33.33% - 1px), #C7D0E6 calc(33.33% - 1px) 33.33%);
}
.cover--landscape .cover__lines { left: 30%; right: 6%; bottom: 8%; height: 13%; }

/* ---------- facts ---------- */
.facts { padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: grid; align-content: start; gap: 8px; padding: 4px clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact__num { color: var(--blue); font-size: clamp(34px, 1.6rem + 1.4vw, 48px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.fact__label { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tint { background: var(--bg-tint); }
.section__head { margin-bottom: clamp(32px, 4vw, 48px); }
.section__head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: clamp(32px, 6vw, 88px); }
.about__text > p:not(.eyebrow) { margin-top: 18px; max-width: 640px; }
.about__text > .h2 { max-width: 620px; }
.dirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.dir {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  color: var(--muted); font-size: 15px; line-height: 1.45; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.dir:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--muted); }
.dir__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--blue-50); color: var(--blue); }
.dir__icon .icon { width: 24px; height: 24px; }
.dir__text b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; font-weight: 600; }

.company {
  position: relative; overflow: hidden;
  padding: 32px 32px 28px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
}
.company::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: var(--pattern) 0 0 / 216px auto; }
.company::after { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 3px; background: var(--red); }
.company__head { display: flex; align-items: center; gap: 16px; padding: 12px 0 22px; border-bottom: 1px solid var(--line); }
.company__head img { width: 56px; height: 56px; }
.company__head b { display: block; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.2; }
.company__head span { color: var(--muted); font-size: 15px; }
.company__list > div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; line-height: 1.45; }
.company__list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.company__list dt { color: var(--muted); }
.company__list dd { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- journals ---------- */
.filters { display: none; flex-wrap: wrap; gap: 8px; }
.js .filters { display: flex; }
.chip {
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--blue-100); color: var(--blue); }
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }

.jgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.jcard {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.jcard[hidden] { display: none; }
.jcard:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.jcard__media {
  display: grid; place-items: center; height: 232px;
  background: radial-gradient(90% 80% at 50% 30%, #fff 0, var(--blue-50) 100%);
  border-bottom: 1px solid var(--line);
}
.jcard__media .cover--portrait { width: 128px; transform: rotate(-2deg); transition: transform .3s; }
.jcard__media .cover--landscape { width: 196px; transform: rotate(-2deg); transition: transform .3s; }
.jcard:hover .cover { transform: rotate(0) scale(1.03); }
.jcard__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 20px 20px 22px; }
.jcard__cat { color: var(--red); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.jcard__title { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.35; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tags li { padding: 4px 10px; border-radius: 8px; background: var(--blue-50); color: var(--blue-800); font-size: 13px; font-weight: 500; line-height: 1.3; }

/* ---------- sterilization ---------- */
.steril { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.scard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.scard__media {
  position: relative; display: grid; place-items: center; height: 300px; padding: 16px;
  background: linear-gradient(160deg, var(--blue-50), #E4EAF7);
}
.scard__media::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 56px; background: var(--pattern) 0 0 / 216px auto; opacity: .85; }
.scard__media img { position: relative; width: auto; height: 100%; max-height: 268px; }
.scard__body { display: grid; gap: 14px; padding: 28px 28px 30px; }
.scard__body > p { color: var(--text); }
.specs { display: grid; margin-top: 6px; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { color: var(--ink); font-weight: 500; }
.sizes { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.sizes li { min-width: 44px; padding: 3px 10px; border: 1px solid var(--blue-100); border-radius: 8px; color: var(--blue-800); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- where to buy ---------- */
.buy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; }
.dist { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.dist__band { height: 14px; background: var(--pattern) 0 0 / 216px auto; border-bottom: 3px solid var(--red); }
.dist__body { display: grid; justify-items: start; gap: 14px; padding: 32px; }
.dist__label { color: var(--red); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dist .h3 { font-size: 28px; }
.contact-list { display: grid; gap: 10px; margin: 4px 0 10px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.contact-list .icon { color: var(--blue); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }
.dist .btn { white-space: normal; text-align: left; }

.wholesale {
  position: relative; overflow: hidden; display: grid; align-content: start; justify-items: start; gap: 14px;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-800) 100%);
  color: rgba(255, 255, 255, .86);
}
.wholesale .dist__label { color: var(--peach); }
.wholesale .h3 { color: #fff; font-size: 26px; }
.wholesale p:not(.dist__label) { max-width: 360px; }
.wholesale .btn { margin-top: 8px; position: relative; z-index: 1; }
.wholesale__mark { position: absolute; right: -28px; bottom: -36px; width: 190px; height: auto; opacity: .13; filter: brightness(0) invert(1); }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.contact-rows { display: grid; gap: 22px; margin-top: 32px; }
.contact-rows li { display: flex; align-items: flex-start; gap: 16px; color: var(--ink); line-height: 1.5; }
.contact-rows small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 14px; }
.contact-rows a { font-size: 20px; font-weight: 600; text-decoration: none; }
.contact-rows a:hover { text-decoration: underline; }
.contact-rows__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--blue-50); color: var(--blue); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.contacts__card {
  position: relative; overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 18px;
  min-height: 380px; padding: 40px;
  border: 1px solid var(--line); border-radius: 28px; background: #fff;
  box-shadow: var(--shadow);
}
.contacts__pattern { position: absolute; top: 0; left: 0; right: 0; height: 38%; background: var(--pattern) 0 0 / 216px auto; border-bottom: 4px solid var(--red); }
.contacts__logo { position: relative; margin-top: 30%; }
.contacts__logo img { width: min(240px, 60vw); height: auto; }
.contacts__site { position: relative; color: var(--muted); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- footer (mirrors the back cover) ---------- */
.footer { background: #fff; }
.footer__band { height: 72px; background: var(--pattern) 0 0 / 216px auto; border-bottom: 4px solid var(--red); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: 40px clamp(32px, 5vw, 72px); padding-top: 48px; padding-bottom: 36px; }
.footer__brand img { width: 150px; height: auto; }
.footer__brand p { margin-top: 14px; max-width: 260px; color: var(--muted); font-size: 15px; }
.footer__nav { display: grid; align-content: start; gap: 10px; }
.footer__nav a { color: var(--ink); font-size: 15px; text-decoration: none; }
.footer__nav a:hover { color: var(--blue); }
.footer__maker { color: var(--blue-800); font-size: 14px; line-height: 1.65; }
.footer__maker-title { margin-bottom: 6px; color: var(--blue); font-size: 15px; font-weight: 700; }
.footer__maker a { color: var(--blue-800); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---------- 404 ---------- */
.notfound { position: relative; display: grid; place-items: center; min-height: 100vh; padding: 48px 24px 48px 96px; }
.notfound__strip { position: absolute; top: 0; bottom: 0; left: 0; width: 56px; background: var(--pattern) 0 0 / 216px auto; }
.notfound__body { display: grid; justify-items: start; gap: 16px; max-width: 480px; }
.notfound__body img { width: 150px; height: auto; margin-bottom: 24px; }
.notfound__body .eyebrow { margin-bottom: 0; }
.notfound__body .btn { margin-top: 12px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav__list { gap: 18px; }
  .nav__mail { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .header__logo img { width: 190px; }
  .burger {
    display: inline-grid; place-content: center; gap: 5px;
    width: 46px; height: 46px; margin-left: auto; padding: 0;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(24, 33, 61, .35);
  }
  .menu-open .nav { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__mail { display: inline-flex; align-self: flex-start; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__text { padding-left: clamp(16px, 4vw, 40px); }
  .stage { margin: 8px auto 0; max-width: 520px; }
  .about, .contacts { grid-template-columns: 1fr; }
  .buy { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__maker { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .steril { grid-template-columns: 1fr; }
  .dirs { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__strip { width: 100%; height: 20px; bottom: auto; background-size: 160px auto; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .hero { padding-top: 40px; }
  .hero__text { padding-left: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__points li { font-size: 15px; }
  .header__logo img { width: 168px; }
  .jgrid { grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); }
  .jcard { flex-direction: row; }
  .jcard__media { width: 120px; height: auto; flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
  .jcard__media .cover--portrait { width: 72px; }
  .jcard__media .cover--landscape { width: 96px; }
  .jcard__body { padding: 16px; }
  .jcard__title { font-size: 16px; }
  .scard__media { height: 230px; }
  .scard__media::before { width: 32px; }
  .scard__body, .dist__body { padding: 24px 20px; }
  .wholesale { padding: 28px 20px; }
  .specs > div { grid-template-columns: 1fr; gap: 6px; }
  .company { padding: 26px 20px 22px; }
  .company__list > div { grid-template-columns: 1fr; gap: 2px; }
  .contacts__card { min-height: 300px; }
  .contact-rows a { font-size: 18px; }
  .contacts__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}
