/* =========================================================
   Aton Medicine · TERROS — редизайн 2026
   Концепция «Арка»: ночь × бумага × дуга TERROS
   Шрифты: Cormorant Garamond (дисплей) + Onest (текст/интерфейс)
   ========================================================= */

:root {
  /* палитра */
  --night: #0B0A24;          /* глубокий ночной — из каталога */
  --night-2: #16143A;
  --night-3: #221F4E;
  --paper: #F6F3EC;          /* тёплая бумага */
  --paper-2: #EDE8DC;
  --mist: #E6ECEE;           /* холодный «лабораторный» */
  --white: #FFFFFF;
  --ink: #15142B;            /* основной текст */
  --muted: #545468;          /* вторичный текст: 6.6:1 на бумаге */
  --line: rgba(21, 20, 43, .12);
  --line-strong: rgba(21, 20, 43, .22);
  --green: #1D7A3F;          /* зелёный TERROS, текст 5.2:1 */
  --lime: #CFE36B;           /* акцент на тёмном */
  --warn: #9A3412;
  --focus: #2455D8;
  --arc: linear-gradient(90deg, #12A38B 0%, #3DB04A 42%, #E9DF1E 78%, #F0A12B 100%);

  /* типографика */
  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-text: "Onest", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* сетка и ритм (кратно 4/8) */
  --container: 1320px;
  --gutter: 24px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --sec: clamp(72px, 10vw, 144px);
  --sec-tight: clamp(56px, 7vw, 96px);
  --hdr-h: 80px;

  --shadow-1: 0 1px 2px rgba(11,10,36,.06), 0 8px 24px -8px rgba(11,10,36,.12);
  --shadow-2: 0 2px 4px rgba(11,10,36,.06), 0 24px 56px -16px rgba(11,10,36,.28);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

@media (max-width: 767px) {
  :root { --gutter: 16px; --hdr-h: 64px; --r-lg: 24px; }
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--f-text); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
sup { font-size: .45em; vertical-align: super; line-height: 0; margin-left: .05em; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.theme-dark :focus-visible { outline-color: var(--lime); }

.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: fixed; left: 16px; top: -64px; z-index: 200; background: var(--night); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* темы секций */
.theme-dark { background: var(--night); color: #F2F1F8; --muted: #B9B8CC; --line: rgba(255,255,255,.14); --line-strong: rgba(255,255,255,.28); }
.theme-mist { background: var(--mist); }

/* ---------- типографика ---------- */
.h1 {
  font-family: var(--f-display); font-weight: 500; font-variant-numeric: lining-nums;
  font-size: clamp(48px, 7.2vw, 108px); line-height: .98; letter-spacing: -.015em;
  text-wrap: balance;
}
.h1--page { font-size: clamp(44px, 6vw, 88px); }
.h1 em, .h2 em { font-style: italic; font-weight: 500; }
.theme-dark .h1 em, .theme-dark .h2 em { color: var(--lime); }
.h2 {
  font-family: var(--f-display); font-weight: 500; font-variant-numeric: lining-nums;
  font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance;
}
.h2 em { color: var(--green); }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink); }
.theme-dark .lead { color: #E7E6F1; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px;
  font: 600 13px/1.2 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow__num { display: inline-grid; place-items: center; min-width: 36px; height: 24px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; letter-spacing: .04em; color: var(--ink); }
.theme-dark .eyebrow__num { color: #fff; }
.eyebrow--light { color: var(--lime); }
.arcline { display: inline-block; width: 40px; height: 3px; border-radius: 3px; background: var(--arc); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

.ic { width: 24px; height: 24px; flex: none; }

/* ---------- кнопки ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-text); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --bh: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--lime { background: var(--lime); color: var(--night); }
.btn--lime:hover { background: #E1F08F; box-shadow: 0 10px 30px -10px rgba(207,227,107,.6); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: var(--night-3); box-shadow: var(--shadow-1); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: rgba(21,20,43,.04); }
.btn--pc { background: var(--pc); color: #fff; }
.btn--pc:hover { background: color-mix(in srgb, var(--pc) 82%, #000); box-shadow: 0 12px 30px -12px var(--pc); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.iconbtn { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.iconbtn:hover { background: var(--night); color: #fff; border-color: var(--night); }
.iconbtn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- чипы ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1.2 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cc, var(--green)); flex: none; }
.chip--link { min-height: 44px; text-decoration: none; }
.chip--link:hover { color: var(--ink); }

/* ---------- шапка ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr-h); color: var(--ink); transition: background-color .35s, color .35s, box-shadow .35s, transform .45s var(--ease); }
body[data-hero="dark"] .hdr:not(.is-solid) { color: #fff; }
body[data-hero="dark"] .hdr:not(.is-solid) .brand__mark { filter: brightness(0) invert(1); }
body[data-hero="dark"] .hdr:not(.is-solid) :focus-visible { outline-color: var(--lime); }
.hdr.is-solid { background: rgba(246,243,236,.86); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 30px; height: auto; transition: filter .35s; }
.brand__name { font: 600 18px/1 var(--f-text); letter-spacing: .01em; }
.brand__name span { font-weight: 400; opacity: .8; }
.nav ul { display: flex; gap: 4px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 999px; transition: background-color .2s; }
.nav a:hover { background: rgba(127,127,127,.12); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--arc); }
.hdr__cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff; padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav.is-open { animation: mnavIn .45s var(--ease) both; }
@keyframes mnavIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
.mnav__list a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font: 500 40px/1.1 var(--f-display); text-decoration: none; }
.mnav__list a[aria-current="page"] { color: var(--lime); }
.mnav__num { font: 600 12px/1 var(--f-text); color: #B9B8CC; letter-spacing: .1em; }
.mnav__foot { display: grid; gap: 8px; margin-top: 32px; }
.mnav__foot a { min-height: 44px; display: flex; align-items: center; font-size: 18px; text-decoration: none; color: #E7E6F1; }
body.nav-open { overflow: hidden; }
body.nav-open .hdr { color: #fff; background: transparent; box-shadow: none; }
body.nav-open .hdr .brand__mark { filter: brightness(0) invert(1); }
body.nav-open .hdr__cta { visibility: hidden; }

@media (max-width: 960px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: inline-block; }
}

/* ---------- хлебные крошки ---------- */
.crumbs { padding-top: calc(var(--hdr-h) + 24px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.crumbs--inline { padding-top: 0; margin-bottom: 32px; }
.theme-dark .crumbs a:hover { color: #fff; }

/* ---------- секции ---------- */
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: var(--sec-tight); }
.section--flush { padding-top: 0; }
.shead { margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.shead--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.shead--row > div:first-child { max-width: 760px; }
.shead--center { text-align: center; margin-inline: auto; }
.sub-h { margin-bottom: 32px; }

/* ---------- HERO (главная) ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--hdr-h) + clamp(32px, 6vw, 88px)) 0 clamp(40px, 5vw, 64px); isolation: isolate; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; z-index: -1; background: radial-gradient(closest-side, rgba(61,176,74,.22), rgba(233,223,30,.08) 55%, transparent 72%); filter: blur(10px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; font: 600 13px/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: #C9C8DA; }
.hero .h1 { margin-bottom: 32px; }
.hero__lead { max-width: 540px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #E7E6F1; }
.hero__lead + .hero__lead { margin-top: 16px; }
.hero__lead--muted { color: #B9B8CC; font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__triad { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; font-size: 14px; color: #B9B8CC; }
.hero__triad li { display: inline-flex; align-items: center; gap: 10px; }
.hero__triad li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

.hero__visual { position: relative; padding-bottom: 32px; }
.arch { position: relative; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--night-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch { max-width: 520px; margin-left: auto; }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); pointer-events: none; }
.hero__arc { position: absolute; left: -6%; right: 18%; bottom: 0; width: 88%; height: auto; opacity: .95; pointer-events: none; }
.hero__float {
  position: absolute; left: 0; top: 14%; display: flex; align-items: center; gap: 16px; padding: 12px 24px 12px 12px;
  border-radius: 24px; background: rgba(22,20,58,.66); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.16); text-decoration: none; color: #fff; box-shadow: 0 24px 48px -20px rgba(0,0,0,.6);
  transition: transform .4s var(--ease), background .3s;
}
.hero__float:hover { transform: translateY(-4px); background: rgba(34,31,78,.8); }
.hero__float img { width: 72px; height: 88px; object-fit: cover; border-radius: 14px; }
.hero__float small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); font-weight: 600; }
.hero__float b { font-variant-numeric: lining-nums; display: block; font: 600 30px/1.1 var(--f-display); }
.hero__float-sub { display: block; font-size: 14px; color: #C9C8DA; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid rgba(255,255,255,.14); }
.pillars li { display: flex; align-items: center; gap: 16px; padding: 24px 24px 0 0; font-size: 15px; font-weight: 500; color: #E7E6F1; }
.pillars li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.pillars .ic { width: 28px; height: 28px; color: var(--lime); }

/* ---------- intro + статистика ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__text .lead { margin-bottom: 48px; }
.intro__text .link-arrow { margin-top: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line-strong); }
.stats__item { padding: 24px 16px 0 0; }
.stats__item + .stats__item { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dd { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.stats__num { font-variant-numeric: lining-nums; font: 500 clamp(52px, 6vw, 88px)/.9 var(--f-display); letter-spacing: -.02em; background: linear-gradient(120deg, var(--ink) 30%, var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats__label { font-size: 15px; color: var(--muted); }

/* ---------- направления ---------- */
.dirs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dir { position: relative; min-height: 560px; border-radius: var(--r-md); overflow: hidden; color: #fff; isolation: isolate; background: #111; display: flex; }
.dir__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.dir::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,7,26,.9) 0%, rgba(8,7,26,.45) 45%, rgba(8,7,26,.2) 65%, rgba(8,7,26,.85) 100%); }
.dir:hover .dir__img { transform: scale(1.06); }
.dir__body { display: flex; flex-direction: column; width: 100%; padding: 28px; }
.dir__num { font: 600 12px/1 var(--f-text); letter-spacing: .12em; color: rgba(255,255,255,.75); }
.dir__title { font: 500 34px/1.02 var(--f-display); margin: 16px 0 20px; text-wrap: balance; }
.dir__list { display: flex; flex-wrap: wrap; gap: 8px; }
.dir__list a, .dir__na { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 14px; font-weight: 500; text-decoration: none; transition: background .25s, color .25s; }
.dir__list a:hover { background: #fff; color: var(--night); }
.dir__na { opacity: .7; border-style: dashed; }
.dir__all { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; border-top: 2px solid var(--cc); padding-top: 12px; }
.dir__all .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.dir__all:hover .ic { transform: translateX(4px); }

/* ---------- карточка продукта ---------- */
.pcard { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc) 35%, transparent), var(--shadow-2); }
.pcard__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: color-mix(in srgb, var(--pc, #888) 12%, #fff); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.pcard__title { font: 600 32px/1.05 var(--f-display); margin-top: 4px; }
.pcard__form { font-size: 14px; font-weight: 600; color: var(--pc, var(--ink)); }
.pcard__text { font-size: 15px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.pcard__more .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.pcard:hover .pcard__more .ic { transform: translateX(4px); }
.pcard--soon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); box-shadow: 0 0 0 1px var(--line); border: 1.5px dashed var(--line-strong); }
.pcard--soon:hover { transform: none; box-shadow: 0 0 0 1px var(--line); }
.pcard__media--soon { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, var(--paper) 12px 24px); }
.pcard__media--soon span { font: 500 120px/1 var(--f-display); color: rgba(21,20,43,.14); }

/* лента на главной */
.rail-sec { overflow: hidden; }
.rail__ctrl { display: flex; gap: 8px; }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0 24px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.rail__track { display: flex; gap: 16px; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); width: max-content; }
.rail__track li { width: clamp(264px, 24vw, 320px); scroll-snap-align: start; }

/* ---------- научный подход ---------- */
.science__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.science__media { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.science__media img { width: 100%; height: 100%; object-fit: cover; }
.science__copy .h2 { margin-bottom: 24px; }
.steps { margin-top: 48px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.steps__n { font-variant-numeric: lining-nums; font: 500 40px/1 var(--f-display); color: var(--green); }
.steps h3 { font: 600 20px/1.3 var(--f-text); margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* ---------- природа ---------- */
.nature { overflow: hidden; }
.nature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.nature__copy .h2 { margin-bottom: 24px; }
.nature__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / 1; }
.nature__media--tall { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.nature__media img { width: 100%; height: 100%; object-fit: cover; }
.ticks { display: grid; gap: 0; margin-top: 40px; }
.ticks li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks .ic { width: 28px; height: 28px; color: var(--green); }
.theme-dark .ticks .ic { color: var(--lime); }
.ticks--2 { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.ticks--2 li:nth-last-child(2) { border-bottom: 1px solid var(--line); }

/* ---------- для кого ---------- */
.who__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who__item figure { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; }
.who__item:nth-child(even) figure { margin-top: 48px; }
.who__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.who__item:hover img { transform: scale(1.05); }
.who__item figcaption { position: absolute; inset: auto 0 0; padding: 64px 20px 20px; color: #fff; background: linear-gradient(transparent, rgba(8,7,26,.88)); }
.who__item b { display: block; font: 600 26px/1.1 var(--f-display); margin-bottom: 4px; }
.who__item figcaption span { font-size: 14px; color: #E7E6F1; }

/* ---------- производство ---------- */
.prod__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.prod__grid--rev { grid-template-columns: 1.15fr .85fr; }
.prod__copy .h2 { margin-bottom: 24px; }
.prod__copy .lead { margin-bottom: 16px; }
.prod__copy > p:not(.lead):not(.eyebrow) { color: var(--muted); }
.prod__copy .btn { margin-top: 32px; }
.mosaic { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 5 / 4; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.mosaic__a { grid-row: 1 / 3; border-radius: 999px 999px var(--r-md) var(--r-md) !important; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 144px); isolation: isolate; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,10,36,.94) 0%, rgba(11,10,36,.78) 50%, rgba(11,10,36,.5) 100%); }
.cta__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.cta__links { display: grid; gap: 12px; justify-items: start; }
.cta__link { display: flex; align-items: center; gap: 16px; min-height: 64px; width: 100%; padding: 12px 20px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); text-decoration: none; font-size: 18px; font-weight: 500; transition: background .25s, border-color .25s; }
.cta__link:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.cta__link small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #C9C8DA; font-weight: 600; }
.cta__link .ic { color: var(--lime); }
.cta .btn { margin-top: 8px; }

/* ---------- футер ---------- */
.ftr { padding: clamp(64px, 8vw, 112px) 0 32px; }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ftr__claim { font: 500 clamp(36px, 4.6vw, 64px)/1.02 var(--f-display); max-width: 760px; }
.ftr__claim em { color: var(--lime); }
.ftr__logo { width: 220px; mix-blend-mode: lighten; }
.ftr__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 48px 0; }
.ftr__h { font: 600 12px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: #9D9CB5; margin-bottom: 16px; }
.ftr__list a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: #E7E6F1; font-size: 16px; }
.ftr__list a:hover { color: var(--lime); text-decoration: underline; }
.ftr__legal { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 24px; }
.ftr__bad { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #D8D7E6; max-width: 820px; }
.ftr__bad .ic { width: 20px; height: 20px; color: var(--lime); margin-top: 1px; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: #9D9CB5; }

/* ---------- страницы: герой-разделы ---------- */
.phero { padding: calc(var(--hdr-h) + clamp(32px, 5vw, 72px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.phero .h1 { margin-bottom: 32px; }
.phero__media { max-width: 480px; margin-left: auto; width: 100%; }
.phero .crumbs ol { color: #B9B8CC; }

.lhero { padding-bottom: clamp(40px, 5vw, 72px); }
.lhero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px 64px; align-items: end; padding-top: clamp(32px, 5vw, 64px); }
.lhero__lead { color: var(--muted); }

/* миссия */
.mission__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.mission__card { border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.mission__card::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px; border-top: 4px solid transparent; border-radius: 50% 50% 0 0; background: var(--arc) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); opacity: .9; }
.mission__text { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; font-weight: 500; }
.mission__values { border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.values li { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--r-sm); background: var(--paper); font: 600 26px/1 var(--f-display); }
.values .ic { width: 28px; height: 28px; color: var(--green); }

/* принципы */
.principles { overflow: hidden; isolation: isolate; }
.principles__bg { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: 40%; object-fit: cover; opacity: .45; z-index: -1; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); mask-image: linear-gradient(90deg, #000 30%, transparent); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pgrid__item { position: relative; padding: 40px 32px 40px 0; border-bottom: 1px solid var(--line); }
.pgrid__item:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.pgrid__n { position: absolute; top: 40px; right: 24px; font: 600 12px/1 var(--f-text); color: #9D9CB5; letter-spacing: .1em; }
.pgrid__item .ic { width: 36px; height: 36px; color: var(--lime); margin-bottom: 24px; }
.pgrid__item h3 { font: 600 28px/1.1 var(--f-display); margin-bottom: 12px; }
.pgrid__item p { color: #C9C8DA; font-size: 16px; }

/* сертификат */
.cert__card { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.cert__card > * { min-width: 0; }
.cert__icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--green); }
.cert__icon .ic { width: 36px; height: 36px; }
.cert .h3 { margin-bottom: 24px; }
.cert__dl { display: grid; grid-template-columns: repeat(4, auto); gap: 16px 40px; margin: 0 0 16px; justify-content: start; }
.cert__dl dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.cert__dl dd { margin: 0; font-weight: 600; }

/* ---------- каталог ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fchip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.fchip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cc); }
.fchip__n { font-size: 12px; font-weight: 600; min-width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(21,20,43,.08); }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.fchip[aria-pressed="true"] .fchip__n { background: rgba(255,255,255,.18); }
.filters__status { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.pgrid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pgrid-cards--rel { grid-template-columns: repeat(3, 1fr); }
.pgrid-cards > li[hidden] { display: none; }
.pgrid-cards > li.is-in { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.empty { text-align: center; padding: 64px 16px; display: grid; gap: 24px; justify-items: center; }
.empty[hidden] { display: none; }
.notice { display: flex; gap: 16px; align-items: flex-start; margin-top: 48px; padding: 20px 24px; border-radius: var(--r-sm); background: #FFF6E5; border: 1px solid #F0D9A8; color: #3D2A06; font-size: 15px; }
.notice .ic { color: var(--warn); }

/* ---------- страница продукта ---------- */
.pd { --pc-tint: color-mix(in srgb, var(--pc) 9%, var(--paper)); }
.pd-hero { background: linear-gradient(180deg, var(--pc-tint) 0%, var(--paper) 100%); padding-bottom: clamp(48px, 6vw, 96px); position: relative; overflow: hidden; }
.pd-hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pc) 22%, transparent), transparent); pointer-events: none; }
.pd-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(24px, 4vw, 48px); }
.pd-hero__media { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-2); background: #fff; }
.pd-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font: 500 clamp(56px, 8vw, 120px)/.92 var(--f-display); letter-spacing: -.02em; color: var(--pc); margin: 8px 0 24px; }
.pd-form { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; }
.pd-form .ic { color: var(--pc); width: 20px; height: 20px; }
.pd-form b { padding: 6px 14px; border-radius: 999px; background: var(--pc); color: #fff; font-weight: 600; }
.pd-headline { font: 600 clamp(24px, 2.4vw, 32px)/1.2 var(--f-display); margin: 32px 0 16px; text-wrap: balance; }
.pd-lead { font-size: 18px; line-height: 1.6; color: var(--ink); max-width: 560px; }
.bad-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--muted); }
.bad-pill .ic { width: 18px; height: 18px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.bgrid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.bgrid--3 { grid-template-columns: repeat(3, 1fr); }
.bcard { padding: 28px; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc) 30%, transparent), var(--shadow-1); }
.bcard .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: color-mix(in srgb, var(--pc) 12%, #fff); color: var(--pc); margin-bottom: 24px; box-sizing: border-box; }
.bcard h3 { font: 600 18px/1.3 var(--f-text); margin-bottom: 8px; }
.bcard p { font-size: 15px; color: var(--muted); }

.info__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.info__aside { position: sticky; top: calc(var(--hdr-h) + 24px); }
.info__aside .h2 { color: var(--pc); margin-bottom: 16px; }
.info__block { padding: 32px 0; border-top: 1px solid var(--line-strong); }
.info__block:first-child { padding-top: 0; border-top: 0; }
.info__h { display: flex; align-items: center; gap: 10px; font: 600 13px/1.3 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--pc); margin-bottom: 16px; }
.info__block p { font-size: 17px; line-height: 1.7; max-width: 68ch; }
.info__block p + p { margin-top: 12px; }
.info__block--warn { padding: 24px; margin: 16px 0; border: 1px solid #F0D9A8; background: #FFF6E5; border-radius: var(--r-sm); }
.info__block--warn .info__h { color: var(--warn); }
.info__block--warn + .info__block { border-top: 0; }
.ticklist { display: grid; gap: 12px; }
.ticklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.ticklist .ic { width: 22px; height: 22px; color: var(--pc); margin-top: 2px; }
.dashlist { display: grid; gap: 8px; margin-top: 12px; }
.dashlist li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.6; }
.dashlist li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 2px; background: var(--pc); }
.slogan { display: flex; gap: 12px; align-items: center; margin-top: 32px; padding: 20px; border-radius: var(--r-sm); background: var(--pc); color: #fff; font: 600 22px/1.2 var(--f-display); }
.slogan .ic { width: 32px; height: 32px; }

.syn { display: grid; gap: 32px; }
.syn__h { max-width: 820px; }
.syn__list { display: flex; align-items: stretch; gap: 16px; }
.syn__list > li:not(.syn__plus) { flex: 1; padding: 28px; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.syn__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--pc); color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.syn__list b { font: 600 26px/1.1 var(--f-display); }
.syn__list span:not(.syn__n) { color: var(--muted); }
.syn__plus { align-self: center; font: 500 40px/1 var(--f-display); color: var(--pc); }

.rec { padding-block: clamp(56px, 6vw, 88px); background: color-mix(in srgb, var(--pc) 70%, var(--night)); }
.rec .h3 { margin-bottom: 32px; }
.rec__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rec__list li { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-md); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 16px; font-weight: 500; line-height: 1.35; }
.rec__list .ic { width: 36px; height: 36px; color: #fff; }

.qbadges { display: flex; flex-wrap: wrap; gap: 8px; }
.qbadges li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; background: #fff; }
.qbadges .ic { color: var(--pc, var(--green)); width: 22px; height: 22px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pager__a { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease); }
.pager__a:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc) 40%, transparent), var(--shadow-1); }
.pager__a img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.pager__a small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pager__a span { font: 600 26px/1.1 var(--f-display); }
.pager__a--next { justify-content: flex-end; text-align: right; }
.pager-sec { padding-bottom: 0; }

/* ---------- контакты ---------- */
.ct__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: var(--sec); }
.ct__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ccard { display: flex; flex-direction: column; gap: 24px; padding: 28px; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; min-width: 0; }
a.ccard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-1); }
.ccard .ic { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--night); color: var(--lime); box-sizing: border-box; }
.ccard small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.ccard b { font: 600 24px/1.2 var(--f-display); overflow-wrap: anywhere; }
.ccard--static { grid-column: span 2; flex-direction: row; align-items: center; }
.ccard--static b { font: 500 17px/1.45 var(--f-text); }

.form { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); display: grid; gap: 20px; }
.form .h3 { margin-bottom: -8px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input[type="text"], .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid #8C8BA0; background: var(--paper);
  font: 400 17px/1.4 var(--f-text); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(36,85,216,.25); background: #fff; }
.field[data-state="error"] input, .field[data-state="error"] textarea { border-color: #B42318; background: #FEF3F2; }
.field[data-state="ok"] input, .field[data-state="ok"] textarea { border-color: var(--green); }
.field__hint { font-size: 14px; color: var(--muted); }
.field__err { font-size: 14px; color: #B42318; font-weight: 500; }
.field__err:empty { display: none; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field--check { grid-template-columns: 24px 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 24px; height: 24px; margin: 0; accent-color: var(--night); cursor: pointer; }
.field--check label { font-weight: 400; cursor: pointer; }
.field--check .field__err { grid-column: 2; }
.form__ok { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--r-sm); background: #ECFDF3; border: 1px solid #ABEFC6; color: #054F31; }
.form__ok[hidden] { display: none; }
.form__ok .ic { color: var(--green); }

/* ---------- анимации ---------- */
.hero__copy > *, .phero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > *:nth-child(2), .phero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3), .phero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4), .phero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__copy > *:nth-child(5), .phero__copy > *:nth-child(5) { animation-delay: .32s; }
.hero .arch, .phero__media, .pd-hero__media { animation: archIn 1.2s var(--ease) .1s both; }
.hero__float { animation: rise 1s var(--ease) .6s both; }
.hero__arc path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.6s var(--ease) .5s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes archIn { from { opacity: 0; clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0 round 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* появление при прокрутке — только где поддерживаются scroll-driven animations */
@supports (animation-timeline: view()) {
  .shead, .dir, .who__item, .bcard, .steps li, .pgrid__item, .info__block, .rec__list li, .mosaic img, .stats__item, .ccard {
    animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__arc path { stroke-dashoffset: 0; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1200px) {
  .pgrid-cards { grid-template-columns: repeat(3, 1fr); }
  .dirs__grid { grid-template-columns: repeat(2, 1fr); }
  .dir { min-height: 460px; }
  .rec__list { grid-template-columns: repeat(3, 1fr); }
  .cert__dl { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 960px) {
  .hero__grid, .phero__grid, .intro__grid, .science__grid, .nature__grid, .prod__grid, .prod__grid--rev, .pd-hero__grid, .info__grid, .ct__grid, .mission__grid, .lhero__grid, .cta__inner { grid-template-columns: 1fr; }
  .hero .arch { margin: 0 auto; max-width: 440px; }
  .hero__visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .phero__media { margin: 0 auto; max-width: 420px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillars li { padding-bottom: 24px; }
  .who__grid { grid-template-columns: repeat(2, 1fr); }
  .bgrid { grid-template-columns: repeat(2, 1fr); }
  .bgrid--3 { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pgrid__item:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .pgrid__item:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
  .info__aside { position: static; }
  .pd-hero__media { max-width: 460px; width: 100%; margin: 0 auto; }
  .science__media { max-width: 460px; }
  .nature__media--tall { max-width: 420px; aspect-ratio: 4 / 5; }
  .prod__grid--rev .mosaic { order: 2; }
  .pgrid-cards--rel { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--hdr-h) + 24px); }
  .hero__kicker { font-size: 12px; margin-bottom: 24px; }
  .hero .h1 { margin-bottom: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__triad { margin-top: 32px; }
  .hero__float { left: 0; top: 6%; bottom: auto; padding-right: 16px; }
  .hero__float img { width: 56px; height: 68px; }
  .hero__float b { font-size: 24px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillars li { font-size: 14px; gap: 12px; padding-right: 8px; }
  .pillars li + li { padding-left: 12px; }
  .pillars li:nth-child(3) { padding-left: 0; }
  .stats__num { font-size: 48px; }
  .stats__item + .stats__item { padding-left: 12px; }
  .stats__label { font-size: 13px; }
  .dirs__grid { grid-template-columns: 1fr; }
  .dir { min-height: 420px; }
  .rail__track li { width: 78vw; max-width: 320px; }
  .rail__ctrl { display: none; }
  .who__grid { gap: 12px; }
  .who__item:nth-child(even) figure { margin-top: 24px; }
  .who__item b { font-size: 22px; }
  .who__item figcaption { padding: 48px 12px 12px; }
  .who__item figcaption span { font-size: 13px; }
  .mosaic { gap: 8px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .ftr__logo { width: 180px; }
  .pgrid-cards, .pgrid-cards--rel { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .pgrid__item, .pgrid__item:nth-child(even) { padding: 32px 0; border-left: 0; }
  .bgrid, .bgrid--3 { grid-template-columns: 1fr; }
  .bcard { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .bcard .ic { margin-bottom: 0; grid-row: span 2; }
  .rec__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rec__list li { padding: 16px; font-size: 15px; }
  .syn__list { flex-direction: column; }
  .syn__plus { align-self: center; }
  .qbadges li { font-size: 14px; }
  .pager { grid-template-columns: 1fr; }
  .pager__a { padding: 12px 16px; }
  .pager__a span { font-size: 22px; }
  .ct__cards { grid-template-columns: 1fr; }
  .ccard--static { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .values li { font-size: 22px; padding: 16px; }
  .cert__card { grid-template-columns: 1fr; gap: 16px; }
  .cert__icon { width: 64px; height: 64px; }
  .cert__dl { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fchip { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .fchip { flex: none; }
  .pd-title { margin-bottom: 16px; }
  .pd-actions .btn { flex: 1 1 100%; }
  .notice { padding: 16px; }
  .shead--row .btn { width: 100%; }
  .ticks--2 { grid-template-columns: 1fr; }
  .ticks--2 li:nth-last-child(2) { border-bottom: 0; }
  .cta__link { font-size: 16px; }
}

@media (max-width: 380px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars li + li { padding-left: 0; border-left: 0; }
  .rec__list { grid-template-columns: 1fr; }
  .brand__name { font-size: 16px; }
}

@media print {
  .hdr, .mnav, .rail__ctrl, .cta, .pager-sec, .related { display: none !important; }
  body { background: #fff; }
}

/* правки ритма */
.intro { padding-bottom: var(--sec-tight); }
.rail-sec { padding-top: var(--sec-tight); }
.pd-title, .pcard__title, .h3, .pager__a span, .syn__list b, .ccard b, .mnav__list a, .ftr__claim, .dir__title, .who__item b, .pgrid__item h3, .values li { font-variant-numeric: lining-nums; }
.nw { white-space: nowrap; }
.pager__a small { font-family: var(--f-text); }
.pager-sec { padding-top: 0; }
.principles__bg { opacity: .3; }
.mission { padding-bottom: var(--sec); }
@media (max-width: 767px) {
  .ccard { flex-direction: row; align-items: center; gap: 16px; padding: 20px; }
  .ccard--static { flex-direction: row; align-items: center; }
  .ccard b { font-size: 22px; }
  .pgrid-cards--rel { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pgrid-cards--rel .pcard__body { padding: 14px; }
  .pgrid-cards--rel .pcard__title { font-size: 24px; }
  .pgrid-cards--rel .chip, .pgrid-cards--rel .pcard__text { display: none; }
  .pgrid-cards--rel li:nth-child(3) { display: none; }
}

/* ===== круг 2 ===== */
/* Первый экран продукта: упаковка целиком (contain) на тонированном «пьедестале» в арке */
.pd-hero__media {
  aspect-ratio: auto; display: flex; align-items: flex-end; justify-content: center;
  padding: clamp(72px, 9vw, 128px) clamp(16px, 2.5vw, 32px) clamp(16px, 2.5vw, 32px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 22%, var(--paper)) 0%, color-mix(in srgb, var(--pc) 6%, #fff) 100%);
}
.pd-hero__media img { width: 100%; height: auto; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 20px 40px -20px rgba(11,10,36,.45); }

/* Кликабельные зоны ≥ 44×44 */
.crumbs a { min-height: 44px; padding-inline: 4px; margin-inline: -4px; }
.crumbs li > span { display: inline-flex; min-height: 44px; align-items: center; }
.dir__list a, .dir__na { min-height: 44px; padding: 0 16px; }
.ftr__list a { min-height: 44px; }
.field--check { grid-template-columns: 1fr; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; margin-inline: -12px; border-radius: var(--r-sm); cursor: pointer; font-weight: 400 !important; }
.check:hover { background: rgba(21,20,43,.04); }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--night); cursor: pointer; }
.field--check .field__err { grid-column: auto; }
.check__policy { margin-top: -4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.check__policy a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.placeholder-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #FFF1C2; color: #5C4200; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.policy { padding: 32px; border-radius: var(--r-md); border: 1.5px dashed var(--line-strong); }
.policy .h3 { margin-bottom: 12px; }
.placeholder { color: #5C4200; background: #FFF6E5; padding: 12px 16px; border-radius: var(--r-sm); font-size: 15px; }
#policy { padding-bottom: var(--sec); }

/* Дуга под аркой — по центру фото */
.hero__arc { left: auto; right: -20px; width: 100%; max-width: 560px; }
@media (max-width: 960px) {
  .hero__arc { left: 50%; right: auto; transform: translateX(-50%); width: min(100%, 480px); }
}

/* Сертификат: область действия */
.cert__scope { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 12px; padding: 14px 16px; border-radius: var(--r-sm); background: #FFF6E5; border: 1px solid #F0D9A8; color: #3D2A06; font-size: 15px; max-width: 820px; }
.cert__scope .ic { color: var(--warn); width: 20px; height: 20px; margin-top: 1px; }
.pd-hero__media img { width: auto; max-width: 100%; max-height: min(60vh, 600px); }
.pd-form { flex-wrap: nowrap; border-radius: 24px; max-width: 100%; }
.pd-form span { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.pd-form b { flex: none; white-space: nowrap; }
@media (max-width: 767px) { .pd-hero__media img { max-height: none; width: 100%; } }
@media (max-width: 767px) { .cert__dl { grid-template-columns: 1fr; } .cert__dl > div { min-width: 0; } }
