/* Pharma Project — дизайн-система v3 (ТЗ, пп. 20–24).
   Mobile-first: базовые стили — телефон 375 px; далее 768, 1100, 1600 px.
   Палитра: тёплый белый, белый, угольный, чёрный, светлый нейтральный серый.
   Цвет продукта — акцент на 5–15% интерфейса (переменные --a, --a2, --t задаются на странице/блоке).
   Одна гарнитура — Manrope. */

:root {
  --warm: #F7F4EF;
  --white: #FFFFFF;
  --stone: #EEEAE3;
  --stone-2: #E6E1D9;
  --line: #DED8CF;
  --charcoal: #202326;
  --ink: #34383C;
  --muted: #62676C;
  --black: #121416;
  --on-dark: #EDEBE7;
  --on-dark-muted: #A9A6A0;
  --focus: #202326;

  --a: #202326;       /* акцент продукта */
  --a2: #202326;      /* глубокий акцент */
  --t: #EEEAE3;       /* светлая подложка продукта */

  --font: "Manrope", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --fs-body: 17px;
  --fs-lead: clamp(1.12rem, 1rem + .6vw, 1.4rem);
  --fs-h1: clamp(2.7rem, 1.6rem + 5.2vw, 6.4rem);
  --fs-h2: clamp(2.05rem, 1.4rem + 3vw, 4rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .9vw, 1.8rem);
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1440px;
  --sec: clamp(88px, 7vw + 48px, 176px);
  --r-xl: clamp(24px, 2.4vw, 36px);
  --r-l: 22px;
  --r-m: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--warm); color: var(--ink); font: 400 var(--fs-body)/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--charcoal); margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.eyebrow { font: 600 13px/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--a); margin-right: 10px; vertical-align: 1px; }
.h1 { font-size: var(--fs-h1); line-height: .98; letter-spacing: -0.045em; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.038em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink); max-width: 38ch; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--black); transform: translateY(-2px); }
.btn-line { border-color: rgba(32, 35, 38, .28); color: var(--charcoal); background: transparent; }
.btn-line:hover { border-color: var(--charcoal); }
.btn-light { background: #fff; color: var(--charcoal); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1.3 var(--font); color: var(--charcoal); text-decoration: none; border-bottom: 1.5px solid rgba(32, 35, 38, .25); padding-bottom: 4px; transition: border-color .2s; }
.link:hover { border-color: var(--charcoal); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- шапка ---------- */
.site-top { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 239, .86); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-top.scrolled { border-color: var(--line); }
.site-top .wrap { display: flex; align-items: center; gap: 16px; height: 72px; }
.logo img { height: 36px; width: auto; }
.menu { display: none; }
.top-cta { margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(32, 35, 38, .2); background: transparent; display: grid; place-items: center; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--charcoal); box-shadow: 0 6px 0 var(--charcoal); transform: translateY(-3px); }
.drawer { position: fixed; inset: 72px 0 0 0; background: var(--warm); z-index: 49; overflow-y: auto; padding: 12px var(--gutter) 40px; display: none; }
.drawer.open { display: block; }
.drawer h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 28px 0 8px; font-weight: 600; }
.drawer a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 20px; font-weight: 600; color: var(--charcoal); text-decoration: none; border-bottom: 1px solid var(--line); letter-spacing: -0.01em; }
.drawer a .dot { width: 10px; height: 10px; border-radius: 50%; }
.drawer .btn { width: 100%; margin-top: 32px; }

/* ---------- 3D-коробка ---------- */
.box3d { --u: 2px; --rx: -14deg; --ry: -32deg; position: relative; width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); perspective: calc(900px + var(--w) * var(--u) * 2); }
.box3d .rot { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease); }
.box3d .f { position: absolute; left: 0; top: 0; backface-visibility: hidden; overflow: hidden; background: var(--side, #ddd); }
.box3d .f img, .box3d .f picture { width: 100%; height: 100%; display: block; object-fit: fill; }
.box3d .f::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.box3d .f-front { width: 100%; height: 100%; transform: translateZ(calc(var(--d) * var(--u) / 2)); }
.box3d .f-front::after { background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .05) 100%); }
.box3d .f-back { width: 100%; height: 100%; transform: rotateY(180deg) translateZ(calc(var(--d) * var(--u) / 2)); }
.box3d .f-right, .box3d .f-left { width: calc(var(--d) * var(--u)); height: 100%; left: calc((var(--w) - var(--d)) * var(--u) / 2); }
.box3d .f-right { transform: rotateY(90deg) translateZ(calc(var(--w) * var(--u) / 2)); }
.box3d .f-right::after { background: linear-gradient(180deg, rgba(20, 20, 20, .10), rgba(20, 20, 20, .22)); }
.box3d .f-left { transform: rotateY(-90deg) translateZ(calc(var(--w) * var(--u) / 2)); }
.box3d .f-top, .box3d .f-bottom { width: 100%; height: calc(var(--d) * var(--u)); top: calc((var(--h) - var(--d)) * var(--u) / 2); }
.box3d .f-top { transform: rotateX(90deg) translateZ(calc(var(--h) * var(--u) / 2)); }
.box3d .f-top::after { background: rgba(255, 255, 255, .14); }
.box3d .f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--h) * var(--u) / 2)); }
.box3d .shadow { position: absolute; left: 4%; right: -14%; bottom: calc(var(--d) * var(--u) * -.55); height: calc(var(--d) * var(--u) * 1.4); background: radial-gradient(50% 50% at 50% 50%, rgba(30, 24, 18, .34), rgba(30, 24, 18, 0) 72%); filter: blur(6px); transform: skewX(-24deg); z-index: -1; }

/* ---------- первый экран ---------- */
.hero { padding: 28px 0 56px; }
.hero .wrap { display: grid; gap: 40px; }
.hero .h1 { margin: 18px 0 22px; font-size: clamp(2.6rem, 1.1rem + 4vw, 5.6rem); }
.hero .lead { margin-bottom: 30px; }
.hero-stage { container-type: inline-size; position: relative; aspect-ratio: 1 / .92; border-radius: var(--r-xl); overflow: hidden; background: radial-gradient(90% 70% at 62% 30%, #FFFFFF 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(160deg, #F3EEE6 0%, #E9E2D7 100%); isolation: isolate; }
.hero-stage::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 13%; height: 22%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 70%); }
.hero-stage .plinth { position: absolute; left: 6%; right: 6%; bottom: 9%; height: 16%; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 30px 60px -30px rgba(80, 60, 40, .35); }
.hero-stage .box3d { position: absolute; }
.hero-stage .b-sleza { --u: calc(43cqw / var(--w)); left: 4%; top: 45%; z-index: 3; }
.hero-stage .b-cerebro { --u: calc(40cqw / var(--w)); left: 31%; top: 13%; z-index: 1; }
.hero-stage .b-ferse { --u: calc(44cqw / var(--w)); left: 52%; top: 51%; z-index: 2; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 14.5px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--charcoal); opacity: .5; }

/* ---------- секции ---------- */
.sec { padding: var(--sec) 0; }
.sec-tight { padding: calc(var(--sec) * .6) 0; }
.sec-white { background: var(--white); }
.sec-stone { background: var(--stone); }
.sec-dark { background: var(--black); color: var(--on-dark); }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 880px; }
.head p { color: var(--muted); font-size: var(--fs-lead); line-height: 1.55; max-width: 52ch; }
.sec-dark .head p { color: var(--on-dark-muted); }

/* потребности — редакционные карточки */
.needs { display: grid; gap: 16px; }
.need { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 520px; padding: 30px 28px 28px; border-radius: var(--r-xl); background: var(--t); color: var(--charcoal); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease); }
.need:hover { transform: translateY(-4px); }
.need .idx { font: 600 14px/1 var(--font); color: var(--a2); letter-spacing: .08em; }
.need h3 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); line-height: 1; letter-spacing: -0.04em; margin-top: 20px; }
.need p { color: #4B4F53; margin-top: 16px; max-width: 30ch; font-size: 16.5px; }
.need .visual { container-type: inline-size; display: grid; place-items: center; min-height: 190px; }
.need .visual .box3d { --u: calc(64cqw / var(--w)); }
.pcard .stage .box3d { --u: calc(56cqw / var(--w)); }
.need .nf { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.need .nf small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #5b5f63; font-weight: 600; margin-bottom: 6px; }
.need .nf b { font-size: 1.35rem; letter-spacing: -0.02em; }
.circle-arr { width: 52px; height: 52px; border-radius: 50%; background: var(--charcoal); color: #fff; display: grid; place-items: center; flex: none; transition: transform .3s var(--ease); font-size: 20px; }
.need:hover .circle-arr { transform: translateX(4px); }
.need .ring { position: absolute; z-index: -1; width: 120%; aspect-ratio: 1; right: -45%; top: 26%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--a) 22%, transparent); box-shadow: 0 0 0 40px color-mix(in srgb, #fff 16%, transparent), 0 0 0 41px color-mix(in srgb, var(--a) 14%, transparent); }

/* философия */
.phil { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.phil li { list-style: none; padding: 30px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 12px 20px; }
.phil .n { font: 600 15px/1 var(--font); color: var(--muted); padding-top: 12px; }
.phil h3 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.05; }
.phil p { grid-column: 2; color: var(--muted); max-width: 44ch; }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 40px; font: 600 clamp(1.05rem, .9rem + .6vw, 1.35rem)/1 var(--font); color: var(--charcoal); letter-spacing: -0.01em; }
.chain i { font-style: normal; color: var(--muted); font-weight: 400; }
.chain b { font-weight: 600; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }

/* продукты */
.products { display: grid; gap: 16px; }
.pcard { display: grid; text-decoration: none; color: var(--charcoal); border-radius: var(--r-xl); background: var(--white); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -48px rgba(40, 30, 20, .45); }
.pcard .stage { container-type: inline-size; isolation: isolate; position: relative; aspect-ratio: 1 / .78; display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 35%, #fff 0%, rgba(255, 255, 255, 0) 70%), var(--t); }
.pcard .body { padding: 26px 26px 28px; display: grid; gap: 10px; }
.pcard .cat { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--a2); }
.pcard h3 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); letter-spacing: -0.035em; line-height: 1; }
.pcard p { color: var(--muted); font-size: 16px; }
.pcard .more { margin-top: 10px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }

/* наука: ингредиент → функция → форма */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 32px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; color: var(--charcoal); }
.tabs button .dot { width: 9px; height: 9px; border-radius: 50%; }
.tabs button[aria-selected="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.ifw { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ifw-head { display: none; }
.ifw-row { display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ifw-row .tile { grid-row: span 3; }
.ifw-row h4 { font-size: 1.2rem; letter-spacing: -0.015em; }
.ifw-row h4 span { font-weight: 500; color: var(--muted); font-size: 15px; margin-left: 6px; }
.ifw-row .fn, .ifw-row .why { font-size: 15.5px; color: var(--ink); }
.ifw-row .why { color: var(--muted); }
.ifw-row .why b { color: var(--charcoal); font-weight: 600; }
.lbl { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.sources { margin-top: 28px; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }

/* плитка ингредиента — «элемент» */
.tile { position: relative; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font: 700 20px/1 var(--font); letter-spacing: -0.03em; color: var(--a2); background: linear-gradient(145deg, #fff 0%, var(--t) 100%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 22%, transparent), 0 14px 24px -18px color-mix(in srgb, var(--a2) 60%, transparent); }
.tile.l { width: 96px; height: 96px; border-radius: 22px; font-size: 30px; }

/* качество: паспорт */
.passports { display: grid; gap: 16px; }
.passport { border-radius: var(--r-xl); background: var(--white); padding: 28px; display: grid; gap: 20px; }
.passport header { display: flex; align-items: center; gap: 14px; }
.passport header b { font-size: 1.5rem; letter-spacing: -0.03em; }
.passport dl { margin: 0; display: grid; gap: 0; }
.passport dl div { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.passport dt { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.passport dd { margin: 0; font-size: 15.5px; color: var(--charcoal); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--stone); color: var(--charcoal); }

/* история бренда */
.story { position: relative; overflow: hidden; }
.story .h1 { color: #fff; max-width: 14ch; }
.story .h1 span { color: var(--on-dark-muted); display: block; }
.dots { position: relative; height: 150px; margin-top: 56px; }
.dots i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--c); left: var(--x); top: var(--y); transition: left 1.6s var(--ease), top 1.6s var(--ease), transform 1.6s var(--ease); transform: scale(var(--s)); }
.dots.in i { left: var(--fx); top: 68px; transform: scale(1); }
.dots .line { position: absolute; left: 0; right: 0; top: 74px; height: 1px; background: rgba(255, 255, 255, .15); }

/* где купить */
.buy { display: grid; gap: 12px; }
.buy a { display: grid; gap: 10px; align-content: space-between; min-height: 200px; padding: 28px; border-radius: var(--r-xl); background: var(--white); color: var(--charcoal); text-decoration: none; transition: transform .4s var(--ease), background .4s var(--ease); }
.buy a:hover { transform: translateY(-3px); }
.buy b { font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.8rem); letter-spacing: -0.04em; line-height: 1; }
.buy span { color: var(--muted); font-size: 15.5px; max-width: 32ch; }
.buy .go { display: flex; justify-content: space-between; align-items: end; }

/* финал */
.final { text-align: left; }
.final .h1 { max-width: 16ch; margin: 18px 0 36px; }

/* ---------- подвал ---------- */
.site-foot { background: var(--black); color: var(--on-dark); padding: 88px 0 40px; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-top { display: grid; gap: 40px; }
.foot-brand img { height: 44px; width: auto; }
.foot-brand p { color: var(--on-dark-muted); margin-top: 20px; max-width: 36ch; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-foot h4 { color: var(--on-dark-muted); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.site-foot .phone { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 14px; font-size: 13.5px; color: var(--on-dark-muted); }
.legal strong { color: var(--on-dark); font-weight: 600; letter-spacing: .02em; }

/* ---------- страница продукта ---------- */
.crumbs { padding-top: 20px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--charcoal); }
.p-hero { padding: 20px 0 64px; }
.p-hero .wrap { display: grid; gap: 32px; }
.p-stage { position: relative; aspect-ratio: 1 / .86; border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 40%, #fff 0%, rgba(255, 255, 255, 0) 70%), var(--t); isolation: isolate; touch-action: pan-y; }
.p-stage .rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.p-stage .rings i { position: absolute; width: calc(var(--k) * 1%); aspect-ratio: 1; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--a) 18%, transparent); }
.p-stage { container-type: inline-size; }
.p-stage .box3d { --u: calc(56cqw / var(--w)); }
.p-stage .hint { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 13px; color: #6a6e72; }
.p-info { display: grid; gap: 22px; align-content: start; }
.p-info .h1 { font-size: clamp(2.8rem, 2rem + 4vw, 5.4rem); }
.p-info .benefit { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25; letter-spacing: -0.025em; color: var(--charcoal); font-weight: 600; max-width: 22ch; }
.kn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kn > div { padding: 16px 12px 16px 0; }
.kn > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.kn b { display: block; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; color: var(--a2); font-variant-numeric: tabular-nums; }
.kn span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; margin-top: 4px; }
.p-trust { font-size: 14px; color: var(--muted); }

.p-sec { padding: clamp(72px, 6vw + 32px, 136px) 0; }
.p-sec + .p-sec { border-top: 1px solid var(--line); }
.p-sec.sec-white + .p-sec, .p-sec + .p-sec.sec-white, .p-sec.sec-stone + .p-sec, .p-sec + .p-sec.sec-stone { border-top: 0; }
.split { display: grid; gap: 32px; }
.split > .head { margin-bottom: 0; }

.whom { display: grid; gap: 0; border-top: 1px solid var(--line); }
.whom > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.whom b { font-size: 1.25rem; letter-spacing: -0.02em; color: var(--charcoal); }
.whom span { color: var(--muted); }

.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.benefits li { padding: 22px 24px 22px 60px; border-radius: var(--r-l); background: var(--white); position: relative; font-size: 1.12rem; line-height: 1.45; color: var(--charcoal); }
.benefits li::before { content: ""; position: absolute; left: 22px; top: 25px; width: 22px; height: 22px; border-radius: 50%; background: var(--a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }

.formula { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.formula > .el:nth-child(odd):last-child { grid-column: 1 / -1; }
.el { border-radius: var(--r-l); background: var(--white); padding: 20px; display: grid; gap: 14px; align-content: start; }
.el .top-row { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.el b { font-size: 1.05rem; letter-spacing: -0.01em; color: var(--charcoal); line-height: 1.25; }
.el .amt { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.el .norm { font-size: 13.5px; color: var(--muted); }
.meter { height: 4px; border-radius: 2px; background: var(--stone); position: relative; overflow: hidden; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--a); border-radius: 2px; }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .tile { width: 52px; height: 52px; border-radius: 14px; font-size: 16px; }
.acc summary b { font-size: 1.15rem; letter-spacing: -0.015em; color: var(--charcoal); display: block; }
.acc summary span { font-size: 14.5px; color: var(--muted); }
.acc summary::after { content: ""; width: 12px; height: 12px; border-right: 1.5px solid var(--charcoal); border-bottom: 1.5px solid var(--charcoal); transform: rotate(45deg); transition: transform .3s var(--ease); margin-right: 6px; }
.acc details[open] summary::after { transform: rotate(-135deg); }
.acc .ab { padding: 0 0 24px 68px; display: grid; gap: 14px; color: var(--ink); max-width: 64ch; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; color: var(--charcoal); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.8rem; font-weight: 300; line-height: 1; transition: transform .3s var(--ease); flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 26px 0; color: var(--muted); max-width: 66ch; }

.how { display: grid; gap: 28px; }
.diagram { border-radius: var(--r-xl); background: var(--white); padding: clamp(18px, 3vw, 40px); }
.diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagram text { font-family: var(--font); fill: var(--charcoal); }
.diagram .sm { fill: var(--muted); font-weight: 500; }
.diagram .ln { stroke: #C9C2B8; fill: none; }
.diagram .fl { fill: var(--warm); stroke: #C9C2B8; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.steps b { font-size: 1.15rem; letter-spacing: -0.015em; color: var(--charcoal); display: flex; align-items: center; gap: 12px; }
.steps b::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--a); flex: none; }
.steps span { color: var(--muted); padding-left: 22px; }
.research { display: grid; gap: 12px; margin-top: 28px; }
.research > div { border-radius: var(--r-l); background: var(--white); padding: 24px; display: grid; gap: 8px; }
.research .v { font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.045em; color: var(--charcoal); line-height: 1; font-variant-numeric: tabular-nums; }
.research .v small { display: block; font-size: 14px; letter-spacing: 0; color: var(--muted); font-weight: 600; margin-top: 8px; }
.research p { font-size: 15.5px; }
.research cite { font-style: normal; font-size: 13.5px; color: var(--muted); }

.forms { display: grid; gap: 12px; }
.forms > div { border-radius: var(--r-l); background: var(--t); padding: 26px; display: grid; gap: 10px; color: var(--charcoal); }
.forms .fh { display: flex; align-items: center; gap: 14px; }
.forms .fh b { font-size: 1.2rem; letter-spacing: -0.02em; }
.forms .fh div span { display: block; font-size: 14px; color: #555a5e; }
.forms p { font-size: 15.5px; color: #3e4246; }

.qgrid { display: grid; gap: 12px; }
.qcard { border-radius: var(--r-l); background: var(--white); padding: 26px; display: grid; gap: 10px; align-content: start; }
.qcard h3 { font-size: 1.15rem; letter-spacing: -0.015em; }
.qcard p { font-size: 15.5px; color: var(--ink); }
.sgr { display: grid; gap: 20px; border-radius: var(--r-l); background: var(--white); padding: 22px; }
.sgr .scans { display: flex; gap: 10px; }
.sgr .scans button { flex: 1; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: zoom-in; background: #fff; max-width: 150px; }
.sgr .scans img { aspect-ratio: .707; object-fit: cover; object-position: top; width: 100%; }
.sgr .no { font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem); font-weight: 600; letter-spacing: -0.01em; color: var(--charcoal); word-break: break-all; font-variant-numeric: tabular-nums; }
.sgr .meta { font-size: 14.5px; color: var(--muted); }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.instr { margin-top: 16px; border-radius: var(--r-l); background: var(--white); }
.instr > summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.08rem; color: var(--charcoal); }
.instr > summary::-webkit-details-marker { display: none; }
.instr > summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; transition: transform .3s var(--ease); }
.instr[open] > summary::after { transform: rotate(45deg); }
.instr .ib { padding: 0 24px 24px; }
.lang { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--stone); margin-bottom: 16px; }
.lang button { border: 0; background: transparent; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; cursor: pointer; }
.lang button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.itext { max-height: 560px; overflow-y: auto; font-size: 14.5px; line-height: 1.6; }
.itext p.t { font-weight: 600; color: var(--charcoal); margin-bottom: 12px; }
.itext div.s { padding: 12px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.itext div.s h4 { font-size: 13.5px; font-weight: 700; }
.itext div.s div { white-space: pre-line; }
.itext em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.maker { border-radius: var(--r-xl); background: var(--black); color: var(--on-dark); padding: clamp(28px, 4vw, 56px); display: grid; gap: 22px; }
.maker .h3, .maker h3 { color: #fff; }
.maker .country { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.8rem); font-weight: 600; letter-spacing: -0.045em; color: #fff; line-height: 1; }
.maker p { color: var(--on-dark-muted); max-width: 56ch; }
.maker .chip { background: rgba(255, 255, 255, .1); color: #fff; }

.p-buy { display: grid; gap: 12px; }
.p-buy a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 26px; border-radius: var(--r-l); background: var(--white); color: var(--charcoal); text-decoration: none; transition: transform .3s var(--ease); }
.p-buy a:hover { transform: translateY(-2px); }
.p-buy b { font-size: 1.4rem; letter-spacing: -0.03em; display: block; }
.p-buy span { font-size: 14.5px; color: var(--muted); }
.disclaimer { font-size: 14px; color: var(--muted); padding: 28px 0; border-top: 1px solid var(--line); }

.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--charcoal); color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .45s var(--ease); }
.sticky.show { transform: none; }
.sticky b { font-size: 15.5px; letter-spacing: -0.01em; }
.sticky span { font-size: 13px; color: #b9b6b0; display: block; }
.sticky .btn { margin-left: auto; min-height: 46px; padding: 0 20px; font-size: 15px; }

/* needs / about / science / прочие страницы */
.page-hero { padding: 24px 0 clamp(56px, 6vw, 112px); }
.page-hero .h1 { margin: 18px 0 22px; max-width: 16ch; }
.signs { display: flex; flex-wrap: wrap; gap: 10px; }
.signs span { padding: 14px 18px; border-radius: 999px; background: var(--white); font-weight: 500; color: var(--charcoal); }
.tips { display: grid; gap: 12px; }
.tips > div { border-radius: var(--r-l); background: var(--white); padding: 26px; display: grid; gap: 8px; }
.tips b { font-size: 1.25rem; letter-spacing: -0.02em; color: var(--charcoal); }
.tips span { color: var(--muted); }
.solution { display: grid; gap: 24px; border-radius: var(--r-xl); background: var(--t); padding: clamp(24px, 4vw, 56px); overflow: hidden; }
.solution .stage-s { display: grid; place-items: center; min-height: 260px; }
.solution .stage-s { container-type: inline-size; }
.solution .box3d { --u: calc(62cqw / var(--w)); }
.articles { display: grid; gap: 12px; }
.acard { display: grid; gap: 12px; padding: 28px; border-radius: var(--r-l); background: var(--white); text-decoration: none; color: var(--charcoal); transition: transform .3s var(--ease); }
.acard:hover { transform: translateY(-3px); }
.acard .tp { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.acard h3 { font-size: 1.35rem; line-height: 1.22; letter-spacing: -0.02em; }
.acard p { color: var(--muted); font-size: 15.5px; }
.acard .m { font-size: 14px; font-weight: 600; margin-top: 6px; }

.approach { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: a; }
.approach li { counter-increment: a; padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; }
.approach li::before { content: counter(a, decimal-leading-zero); font-weight: 600; color: var(--muted); padding-top: 8px; }
.approach b { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.035em; color: var(--charcoal); line-height: 1.1; }
.approach span { grid-column: 2; color: var(--muted); max-width: 56ch; }
.lib { display: grid; gap: 28px; }
.lib section h3 { margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: q; }
.path li { counter-increment: q; padding: 24px 0 24px 56px; border-top: 1px solid rgba(255, 255, 255, .14); position: relative; display: grid; gap: 6px; }
.path li::before { content: counter(q, decimal-leading-zero); position: absolute; left: 0; top: 26px; font-weight: 600; color: var(--on-dark-muted); }
.path b { font-size: 1.3rem; letter-spacing: -0.02em; color: #fff; }
.path span { color: var(--on-dark-muted); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts > div { border-radius: var(--r-l); background: var(--white); padding: 22px; }
.facts b { display: block; font-size: clamp(2rem, 1.6rem + 2vw, 3.4rem); font-weight: 600; letter-spacing: -0.045em; color: var(--charcoal); line-height: 1; }
.facts span { font-size: 14.5px; color: var(--muted); display: block; margin-top: 8px; }
.chains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chains > div { border-radius: var(--r-l); background: var(--white); padding: 26px 22px; }
.chains b { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.035em; color: var(--charcoal); display: block; }
.chains span { font-size: 14px; color: var(--muted); }
.prose { font-size: 1.08rem; line-height: 1.75; max-width: 700px; }
.prose > * + * { margin-top: 1.1em; }
.prose h3 { font-size: 1.5rem; letter-spacing: -0.025em; margin-top: 2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose strong { color: var(--charcoal); font-weight: 700; }
.prose .note { border-radius: var(--r-m); background: var(--white); padding: 20px 24px; font-size: 1rem; color: var(--ink); margin-top: 1.4em; }
.prose .fact { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose .fact-num { font-size: 3rem; font-weight: 600; letter-spacing: -0.045em; color: var(--charcoal); white-space: nowrap; }
.prose .fact-cap { color: var(--muted); }
.prose ul.cols { columns: 1; }
.sgr-anatomy { border-radius: var(--r-l); background: var(--white); padding: 24px; }
.sgr-code { font-size: clamp(1rem, 3vw, 1.5rem); font-weight: 700; color: var(--charcoal); display: flex; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.sgr-code span:nth-child(odd) { color: var(--muted); }
.sgr-anatomy dl { margin: 16px 0 0; display: grid; gap: 8px; }
.sgr-anatomy dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 15px; }
.sgr-anatomy dt { font-weight: 700; color: var(--charcoal); }
.sgr-anatomy dd { margin: 0; color: var(--muted); }
.src-list { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.src-list ol { padding-left: 1.2em; display: grid; gap: 6px; }
.points { display: grid; gap: 10px; }
.points select { min-height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 0 18px; font: inherit; }


/* вращение упаковки на 360° */
.box3d .f-back::after { background: linear-gradient(118deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, .06) 100%); }
.box3d .f-left::after { background: linear-gradient(180deg, rgba(20, 20, 20, .10), rgba(20, 20, 20, .22)); }
.box3d .f-bottom::after { background: rgba(20, 20, 20, .18); }
.p-stage[data-spin] { cursor: grab; user-select: none; -webkit-user-select: none; }
.p-stage[data-spin].dragging { cursor: grabbing; }
.p-stage[data-spin] .box3d .rot { transition: transform .7s var(--ease); }
.p-stage[data-spin].dragging .box3d .rot { transition: none; }
.p-stage[data-spin] .box3d .shadow { left: -4%; right: -4%; transform: none; }
.p-stage .hint { top: 16px; bottom: auto; }
.rot-ui { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .35); }
.rot-ui button { min-width: 44px; height: 40px; padding: 0 12px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 16px; color: var(--charcoal); cursor: pointer; }
.rot-ui button:hover { background: var(--white); }
.rot-ui .t360 { font-size: 14px; letter-spacing: .02em; }
a.chip { text-decoration: none; transition: background .2s; }
a.chip:hover { background: var(--stone-2); }
.chains > a { display: grid; gap: 6px; border-radius: var(--r-l); background: var(--white); padding: 26px 22px; text-decoration: none; color: var(--charcoal); transition: transform .3s var(--ease); }
.chains > a:hover { transform: translateY(-2px); }
.chains > a b { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.035em; display: block; }
.chains > a span { font-size: 14px; color: var(--muted); }

/* лайтбокс */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(94vw, 900px); max-height: 94vh; }
dialog.lb::backdrop { background: rgba(18, 20, 22, .82); backdrop-filter: blur(6px); }
.lb-in { display: grid; gap: 12px; justify-items: center; }
.lb-img { max-height: 82vh; width: auto; border-radius: 8px; background: #fff; }
.lb-bar { display: flex; align-items: center; gap: 12px; color: #eee; font-size: 14px; }
.lb-bar button { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-weight: 600; }

/* дизайн-система */
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.swatches div { border-radius: var(--r-m); overflow: hidden; background: #fff; }
.swatches i { display: block; height: 88px; }
.swatches span { display: block; padding: 10px 12px; font-size: 13.5px; }

/* движение */
.reveal { transform: translateY(26px); transition: transform 1.1s var(--ease); }
.reveal.in { transform: none; }
.no-js .reveal { transform: none; }

/* ---------- планшет ---------- */
@media (min-width: 768px) {
  body { --fs-body: 18px; }
  .hero { padding: 40px 0 72px; }
  .needs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .need { min-height: 600px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .buy { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .passports { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .formula { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .formula > .el:nth-child(odd):last-child { grid-column: auto; }
  .research, .forms, .qgrid, .tips, .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whom { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .chains { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ifw-head { display: grid; grid-template-columns: 1.1fr 1.2fr 1.4fr; gap: 28px; padding: 0 0 14px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
  .ifw-row { grid-template-columns: 64px 1fr 1.2fr 1.4fr; gap: 28px; align-items: start; }
  .ifw-row .tile { grid-row: auto; }
  .ifw-row .lbl { display: none; }
  .ifw { border-top: 0; }
  .ifw-head + .ifw-row { border-top: 1px solid var(--line); }
  .ifw-head { grid-template-columns: 64px 1fr 1.2fr 1.4fr; }
  .sticky { left: 50%; right: auto; width: min(560px, 90vw); transform: translate(-50%, 140%); }
  .sticky.show { transform: translate(-50%, 0); }
}

/* ---------- десктоп ---------- */
@media (min-width: 1100px) {
  .site-top .wrap { height: 84px; gap: 28px; }
  .drawer, .burger { display: none !important; }
  .menu { display: flex; gap: 2px; margin-left: 12px; }
  .menu > div { position: relative; }
  .menu > div > a, .menu > div > button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; font-weight: 600; font-size: 15px; color: var(--charcoal); text-decoration: none; cursor: pointer; }
  .menu > div > a:hover, .menu > div > button:hover, .menu > div:focus-within > button { background: var(--stone); }
  .menu > div > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
  .menu .panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -30px rgba(40, 30, 20, .35), 0 0 0 1px var(--line); display: none; }
  .menu > div:hover .panel, .menu > div:focus-within .panel, .menu > div.open .panel { display: grid; }
  .menu > div::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
  .menu .panel a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--charcoal); font-weight: 600; font-size: 15px; }
  .menu .panel a small { display: block; font-weight: 500; color: var(--muted); font-size: 13.5px; }
  .menu .panel a:hover { background: var(--warm); }
  .menu .panel .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
  .top-cta { min-height: 48px; padding: 0 22px; font-size: 15px; }
  .hero { padding: 48px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
    .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .split > .head { position: sticky; top: 120px; }
  .phil-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .p-hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .how { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
  .research { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .forms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
  .tips, .articles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .formula { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .formula.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
  .legal { grid-template-columns: 1fr auto; align-items: end; }
  .swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dots { height: 180px; }
}

/* ---------- широкий экран ---------- */
@media (min-width: 1600px) {
  body { --fs-body: 19px; }
  :root { --maxw: 1560px; }
}

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