/* Сгенерировано tools/igoshev-sales/build_osnova.py из tools/igoshev-sales/osnova/index.html. Руками не править. */
/* Платформа несёт preflight Tailwind и шрифт на body: возвращаем странице стили браузера слоем ниже (как platform.css) */
@layer igs-osn-revert { .igs-osn, .igs-osn :where(:not(svg):not(svg *)) { all: revert; } }
body.um { font-family: Manrope, system-ui, sans-serif !important; }
.igs-osn [hidden] { display: none !important; }

@font-face { font-family: 'Onest'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/packs/igoshev-sales/osnova/fonts/onest-cyrillic-wght.woff2?v=d1abf183) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116,U+20BD; }
@font-face { font-family: 'Onest'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/packs/igoshev-sales/osnova/fonts/onest-latin-wght.woff2?v=fd7dbbcb) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900; src: url(/packs/igoshev-sales/osnova/fonts/unbounded-cyrillic-wght-normal.woff2?v=3a5ed4d1) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900; src: url(/packs/igoshev-sales/osnova/fonts/unbounded-latin-wght-normal.woff2?v=8616dc35) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/packs/igoshev-sales/osnova/fonts/manrope-cyrillic-wght-normal.woff2?v=e58febde) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/packs/igoshev-sales/osnova/fonts/manrope-latin-wght-normal.woff2?v=938c6e80) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Ультрамарин: поле Realweb/Сферума, материал 3D — «фиолетовое стекло + хром», белые листы, лавандовый колодец */
.um {
  --paper: #fff; --card: #fff; --on: 255 255 255;
  /* палитра: все цвета, завязанные на оттенок, — ниже в [data-pal] */
  --r-sheet: 40px; --r-tile: 32px;
  --ease: cubic-bezier(.19,1,.22,1); --ease-ui: cubic-bezier(.2,0,.4,.9);
  --display: 'Unbounded', 'Arial Black', sans-serif; --body: 'Manrope', 'Segoe UI', Arial, sans-serif;
}
.um[data-pal="ultramarin"] { --field: #3a2bff; --field-2: #2a1ccc; --field-deep: #1c1180; --night: #0b0a33; --night-2: #17154a; --night-3: #221f63; --ice: #c9c3ff; --ink: #0b0a33; --muted: #5d5b84; --line: #e2e0f5; --well: #f1f0ff; --well-2: #e6e3ff; --glow: #5a4bff; --hi: #8f84ff; --hi-2: #d9d4ff; --mid: #4a3bff; --mid-2: #2312b8; --deepest: #120a66; --sh: 10 6 60; --ch-1: #f6f5ff; --ch-2: #a9a6c9; --ch-3: #6f6c94; --ch-4: #dcdaf2; }
.um[data-pal="violet"] { --field: #6a3df0; --field-2: #5328d6; --field-deep: #33158a; --night: #140a36; --night-2: #21134d; --night-3: #2e1c63; --ice: #dccdff; --ink: #1a0f3d; --muted: #655a86; --line: #e7e1f7; --well: #f5f1ff; --well-2: #ebe3ff; --glow: #8d5fff; --hi: #b496ff; --hi-2: #e7dcff; --mid: #7447ff; --mid-2: #4120b8; --deepest: #1f0b66; --sh: 20 8 60; --ch-1: #f8f5ff; --ch-2: #b1a8cc; --ch-3: #756b98; --ch-4: #e1dbf3; }
.um[data-pal="kobalt"] { --field: #2453e6; --field-2: #1b40bd; --field-deep: #0f2674; --night: #08122f; --night-2: #111e48; --night-3: #1a2a5e; --ice: #c2d2ff; --ink: #0a1433; --muted: #56627f; --line: #dfe5f4; --well: #eff3ff; --well-2: #e0e8ff; --glow: #4f77ff; --hi: #8aa6ff; --hi-2: #d7e1ff; --mid: #3a63f0; --mid-2: #1a37a8; --deepest: #0a1858; --sh: 6 14 50; --ch-1: #f5f8ff; --ch-2: #a6b0c8; --ch-3: #69738f; --ch-4: #d9e0ef; }
.um[data-pal="nebo"] { --field: #0a8fd6; --field-2: #097bb8; --field-deep: #084e73; --night: #091820; --night-2: #122630; --night-3: #1c3340; --ice: #c0e7fc; --ink: #0b1a22; --muted: #5b707b; --line: #e0eaf0; --well: #f1f8fb; --well-2: #e0eff7; --glow: #15a6f4; --hi: #77cbf9; --hi-2: #ceedfd; --mid: #0b98e3; --mid-2: #076496; --deepest: #07334a; --sh: 10 30 41; --ch-1: #f6f8f9; --ch-2: #a9b5bc; --ch-3: #6c7b84; --ch-4: #dce2e5; }
.um[data-pal="biruza"] { --field: #0b6b70; --field-2: #08575c; --field-deep: #05363c; --night: #041f23; --night-2: #0a2e33; --night-3: #103b41; --ice: #a8e8e1; --ink: #0b2226; --muted: #4f6b6e; --line: #d8e7e7; --well: #eef6f6; --well-2: #dcefee; --glow: #139c98; --hi: #6fd3cb; --hi-2: #c9f1ec; --mid: #11908e; --mid-2: #065459; --deepest: #032a2e; --sh: 2 30 34; --ch-1: #f5f9f9; --ch-2: #a7b6b7; --ch-3: #687a7c; --ch-4: #d9e3e3; }
.um[data-pal="izumrud"] { --field: #147a54; --field-2: #0f6345; --field-deep: #0a3e2b; --night: #06231a; --night-2: #0c3326; --night-3: #123f30; --ice: #a9efc5; --ink: #0c241b; --muted: #4f665c; --line: #dce9e2; --well: #eef6f1; --well-2: #dcefe4; --glow: #24a86d; --hi: #78d9a3; --hi-2: #cdf3dc; --mid: #1c9564; --mid-2: #0b5a3e; --deepest: #052a1d; --sh: 3 30 20; --ch-1: #f5faf7; --ch-2: #a8b8b0; --ch-3: #6a7d73; --ch-4: #d9e4de; }
.um[data-pal="adminT"], .um:not([data-pal]) { --field: #22c55e; --field-2: #1da951; --field-deep: #156a34; --night: #092011; --night-2: #12301d; --night-3: #1c4029; --ice: #c0fcd6; --ink: #0b2214; --muted: #5b7b67; --line: #e0f0e6; --well: #f1fbf5; --well-2: #e0f7e9; --glow: #34dc72; --hi: #85eaaa; --hi-2: #d4f7e1; --mid: #24d164; --mid-2: #188a42; --deepest: #0f4322; --sh: 10 41 21; --ch-1: #f6f9f7; --ch-2: #a9bcb0; --ch-3: #6c8475; --ch-4: #dce5df; }
.um[data-pal="laym"] { --field: #b6e83a; --field-2: #a7df1a; --field-deep: #658613; --night: #192009; --night-2: #273012; --night-3: #36401c; --ice: #5e7f0a; --ink: #1c220b; --muted: #727b5b; --line: #ebf0e0; --well: #f8fbf1; --well-2: #f1f7e0; --glow: #c4ec5f; --hi: #d0f07f; --hi-2: #eefad1; --mid: #bcea4a; --mid-2: #88b615; --deepest: #35460c; --sh: 32 41 10; --ch-1: #f8f9f6; --ch-2: #b6bca9; --ch-3: #7d846c; --ch-4: #e2e5dc; --on: 28 24 6; --btn-ink: #26310c; }
.um[data-pal="zholty"] { --field: #ffd632; --field-2: #ffcd07; --field-deep: #957804; --night: #201b09; --night-2: #302a12; --night-3: #40391c; --ice: #7f680a; --ink: #221e0b; --muted: #7b755b; --line: #f0ede0; --well: #fbf9f1; --well-2: #f7f3e0; --glow: #ffde5b; --hi: #ffe270; --hi-2: #fff5cc; --mid: #ffda44; --mid-2: #d5ab00; --deepest: #4e3f04; --sh: 41 35 10; --ch-1: #f9f8f6; --ch-2: #bcb8a9; --ch-3: #847f6c; --ch-4: #e5e3dc; --on: 28 24 6; --btn-ink: #312a0c; }
.um[data-pal="yantar"] { --field: #ffad1f; --field-2: #f69c00; --field-deep: #956004; --night: #201709; --night-2: #302512; --night-3: #40331c; --ice: #7f550a; --ink: #221a0b; --muted: #7b6f5b; --line: #f0eae0; --well: #fbf8f1; --well-2: #f7efe0; --glow: #ffbc48; --hi: #ffcb70; --hi-2: #ffeccc; --mid: #ffb330; --mid-2: #c87f00; --deepest: #4e3304; --sh: 41 30 10; --ch-1: #f9f8f6; --ch-2: #bcb5a9; --ch-3: #847b6c; --ch-4: #e5e2dc; --on: 28 24 6; --btn-ink: #31240c; }
.um[data-pal="oranzh"] { --field: #f2560f; --field-2: #d2490b; --field-deep: #83300a; --night: #201009; --night-2: #301c12; --night-3: #40271c; --ice: #fcd3c0; --ink: #22130b; --muted: #7b655b; --line: #f0e5e0; --well: #fbf4f1; --well-2: #f7e8e0; --glow: #f47136; --hi: #f8a078; --hi-2: #fcddcf; --mid: #f3601e; --mid-2: #ab3c09; --deepest: #4a1c08; --sh: 41 20 10; --ch-1: #f9f7f6; --ch-2: #bcafa9; --ch-3: #84736c; --ch-4: #e5dfdc; }
.um[data-pal="korall"] { --field: #f2473f; --field-2: #ef2117; --field-deep: #99150e; --night: #200a09; --night-2: #301412; --night-3: #401d1c; --ice: #fcc3c0; --ink: #220d0b; --muted: #7b5c5b; --line: #f0e1e0; --well: #fbf1f1; --well-2: #f7e1e0; --glow: #f56c65; --hi: #f67f79; --hi-2: #fcd1cf; --mid: #f35750; --mid-2: #c8160e; --deepest: #490c09; --sh: 41 12 10; --ch-1: #f9f6f6; --ch-2: #bcaaa9; --ch-3: #846d6c; --ch-4: #e5dcdc; }
.um[data-pal="krasny"] { --field: #d9232b; --field-2: #bb1e25; --field-deep: #75161a; --night: #20090a; --night-2: #301214; --night-3: #401c1d; --ice: #fcc0c3; --ink: #220b0c; --muted: #7b5b5c; --line: #f0e0e1; --well: #fbf1f1; --well-2: #f7e0e1; --glow: #e1444b; --hi: #eb8489; --hi-2: #f8d3d5; --mid: #dd2e36; --mid-2: #98181e; --deepest: #430e11; --sh: 41 10 12; --ch-1: #f9f6f6; --ch-2: #bca9aa; --ch-3: #846c6d; --ch-4: #e5dcdc; }
.um[data-pal="vishnya"] { --field: #8f1a3c; --field-2: #7b1634; --field-deep: #4d1022; --night: #200910; --night-2: #30121b; --night-3: #401c26; --ice: #fcc0d1; --ink: #220b12; --muted: #7b5b64; --line: #f0e0e5; --well: #fbf1f4; --well-2: #f7e0e7; --glow: #b2204a; --hi: #e986a3; --hi-2: #f7d4de; --mid: #981c40; --mid-2: #64122a; --deepest: #420f1e; --sh: 41 10 19; --ch-1: #f9f6f7; --ch-2: #bca9af; --ch-3: #846c73; --ch-4: #e5dcde; }
.um[data-pal="magenta"] { --field: #d4157c; --field-2: #b6126b; --field-deep: #720e44; --night: #200915; --night-2: #301222; --night-3: #401c2f; --ice: #fcc0e0; --ink: #220b18; --muted: #7b5b6c; --line: #f0e0e9; --well: #fbf1f6; --well-2: #f7e0ed; --glow: #ea2891; --hi: #f27dbc; --hi-2: #fad1e7; --mid: #e11683; --mid-2: #940f57; --deepest: #470b2b; --sh: 41 10 27; --ch-1: #f9f6f7; --ch-2: #bca9b3; --ch-3: #846c79; --ch-4: #e5dce1; }
.um[data-pal="grafit"] { --field: #2c3340; --field-2: #232935; --field-deep: #171b24; --night: #0e1117; --night-2: #181c25; --night-3: #222833; --ice: #cdd6e6; --ink: #121620; --muted: #5c6474; --line: #e1e4ea; --well: #f2f4f7; --well-2: #e5e8ee; --glow: #4a5568; --hi: #9aa5ba; --hi-2: #dfe5f0; --mid: #5d6880; --mid-2: #2f3746; --deepest: #12151c; --sh: 8 10 16; --ch-1: #f7f8fa; --ch-2: #aab0bc; --ch-3: #6b7280; --ch-4: #dde1e8; }
/* нейтральные фоны и текст — всегда в оттенках «Графита»; палитра красит только главный экран и акценты (поле, кнопки, выделение) */
.um[data-pal], .um:not([data-pal]) { --paper: #fff; --card: #fff; --well: #f2f4f7; --well-2: #e5e8ee; --line: #e1e4ea; --ink: #121620; --muted: #5c6474;
  --night: #0e1117; --night-2: #181c25; --night-3: #222833; }

/* ---------- тёмная тема: листы из ночных тонов текущей палитры ---------- */
.um[data-theme="dark"] {
  --paper: color-mix(in oklab, var(--night) 88%, #fff 2%); --well: var(--night-2); --well-2: var(--night-3);
  --card: color-mix(in oklab, var(--night-2) 55%, var(--night-3)); --ink: #f2f1f6;
  --muted: color-mix(in oklab, var(--ice) 35%, #b9b9c4); --line: rgb(255 255 255 / .1); color-scheme: dark;
}
.um[data-theme="dark"] .sheet--night { --sheet: color-mix(in oklab, var(--night) 70%, #000); }
.um[data-theme="dark"] .btn--soft:hover { background: var(--night-3); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 17px/1.5 var(--body); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1312px, 100% - 64px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
       font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
       transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui), box-shadow .2s var(--ease-ui), scale .12s var(--ease-ui); }
.btn:active { scale: .97; }
.btn--light { background: #fff; color: var(--btn-ink, var(--field-2)); }
.btn--light:hover { background: var(--well-2); }
.btn--ghost { background: transparent; color: rgb(var(--on)); box-shadow: inset 0 0 0 1.5px rgb(var(--on) / .5); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgb(var(--on)); }
.btn--brand { background: var(--field); color: rgb(var(--on)); }
.btn--brand:hover { background: var(--field-2); }
.btn--soft { background: var(--well); color: var(--ink); }
.btn--soft:hover { background: var(--well-2); }

/* ---------- 3D-предметы одного материала: фиолетовое стекло + хром ---------- */
.obj { position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1; z-index: var(--z, 1); translate: -50% -50%; pointer-events: none; }
.obj--ball { border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffffff 0, var(--hi-2) 7%, var(--hi) 24%, var(--mid) 48%, var(--field-2) 70%, var(--deepest) 94%);
  box-shadow: inset -16px -24px 44px rgb(var(--sh) / .55), 0 36px 60px -24px rgb(var(--sh) / .7); }
.obj--pill { aspect-ratio: 2.4 / 1; border-radius: 999px; rotate: var(--r, -24deg);
  background: radial-gradient(70% 120% at 30% 20%, rgb(255 255 255 / .85) 0, rgb(255 255 255 / 0) 40%),
              linear-gradient(180deg, var(--hi) 0%, var(--mid) 45%, var(--mid-2) 100%);
  box-shadow: inset -10px -16px 30px rgb(var(--sh) / .5), 0 30px 50px -22px rgb(var(--sh) / .7); }
.obj--ring { border-radius: 50%;
  background: conic-gradient(from 210deg, var(--ch-1), var(--ch-2), #ffffff, var(--ch-3), var(--ch-4), var(--ch-1));
  -webkit-mask: radial-gradient(circle, transparent 40%, #000 41%, #000 69%, transparent 70%);
          mask: radial-gradient(circle, transparent 40%, #000 41%, #000 69%, transparent 70%);
  filter: drop-shadow(0 24px 30px rgb(var(--sh) / .45)); rotate: var(--r, 18deg); }

/* ---------- шапка прилеплена сверху: над героем прозрачная, дальше — плашка в основном цвете ---------- */
html { scroll-padding-top: 96px; }
.topfix { position: fixed; z-index: 40; inset: 0 0 auto; pointer-events: none; }
.topfix > * { pointer-events: auto; }
.hero { padding-top: var(--toph, 88px); }
.topfix .top { transition: padding .25s var(--ease-ui), margin .25s var(--ease-ui), background-color .25s var(--ease-ui), box-shadow .25s var(--ease-ui), border-radius .25s var(--ease-ui); border-radius: 0; }
.topfix.is-stuck .top { margin-top: 10px; padding: 8px 8px 8px 24px; border-radius: 999px; background: var(--field);
  box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--field) 70%, #000), 0 2px 8px -2px rgb(0 0 0 / .18); }
.topfix .mnav { top: 72px; }
.topfix.is-stuck .mnav { top: 80px; }
@media (max-width: 640px) { .topfix.is-stuck .top { margin-top: 8px; padding-left: 18px; } html { scroll-padding-top: 84px; } }
@media (prefers-reduced-motion: reduce) { .topfix .top { transition: none; } }
/* ---------- шапка: меню продуктов, а не якоря ---------- */
.top { position: relative; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 22px; color: rgb(var(--on)); }
.top .logo { justify-self: start; }
.logo { font: 700 20px/1 var(--display); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.menu { display: flex; gap: 4px; justify-self: center; }
.menu__item { position: relative; }
.menu__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
             color: inherit; font: 600 15px/1 var(--body); cursor: pointer; transition: background-color .2s var(--ease-ui); }
.menu__btn::after { content: ""; width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; rotate: 45deg; translate: 0 -2px; opacity: .7;
                    transition: rotate .2s var(--ease-ui), translate .2s var(--ease-ui); }
.menu__btn:hover, .menu__btn[aria-expanded="true"] { background: rgb(var(--on) / .14); }
.menu__btn[aria-expanded="true"]::after { rotate: -135deg; translate: 0 2px; }
.menu__panel { position: absolute; left: -8px; top: calc(100% + 10px); width: 560px; padding: 12px; border-radius: 28px; background: #fff; color: #14141f;
               box-shadow: 0 30px 80px -24px rgb(var(--sh) / .55), 0 0 0 1px rgb(0 0 0 / .04);
               display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; translate: 0 -6px;
               transition: opacity .2s var(--ease-ui), translate .2s var(--ease-ui), visibility 0s .2s; }
.menu__item.is-open .menu__panel { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .2s var(--ease-ui), translate .2s var(--ease-ui); }
.menu__link { display: grid; gap: 4px; padding: 14px 16px; border-radius: 18px; text-decoration: none; transition: background-color .15s var(--ease-ui); }
.menu__link:hover, .menu__link:focus-visible { background: var(--well); }
.menu__link b { font-size: 15px; font-weight: 700; }
.menu__link span { font-size: 13px; line-height: 1.4; color: #5f5f6e; }
.menu__panel--sol { width: 780px; grid-template-columns: repeat(3, 1fr); }
.menu__sol { display: grid; gap: 10px; padding: 10px; border-radius: 20px; text-decoration: none; transition: background-color .15s var(--ease-ui); }
.menu__sol:hover, .menu__sol:focus-visible { background: var(--well); }
.menu__sol img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px; background: var(--well-2); }
.menu__sol b { font-size: 15px; } .menu__sol span { font-size: 13px; color: #5f5f6e; line-height: 1.35; }
.menu__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; padding: 14px 16px; border-radius: 18px; background: var(--well); font-size: 14px; }
.menu__foot a { font-weight: 700; color: var(--field-2); text-decoration: none; }
.top__act { display: flex; align-items: center; gap: 10px; justify-self: end; }
.top .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.cab { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(var(--on) / .14); color: inherit; transition: background-color .2s var(--ease-ui); }
.cab:hover { background: rgb(var(--on) / .26); }
.cab svg { width: 20px; height: 20px; }
.themebtn { border: 0; padding: 0; cursor: pointer; }
.themebtn svg { transition: rotate .3s var(--ease-ui), opacity .2s var(--ease-ui); }
.themebtn__sun { display: none; }
.um[data-theme="dark"] .themebtn__sun { display: block; } .um[data-theme="dark"] .themebtn__moon { display: none; }
.themebtn:hover svg { rotate: -15deg; }
.themebtn:focus-visible, .cab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 380px) { .top__act { gap: 6px; } .top__act .cab, .top__act .burger { width: 40px; height: 40px; } }
.burger { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(var(--on) / .14); color: inherit; cursor: pointer; }
.burger i, .burger i::before, .burger i::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: rotate .2s var(--ease-ui), translate .2s var(--ease-ui), opacity .2s; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { translate: 0 -6px; } .burger i::after { translate: 0 6px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { translate: 0 0; rotate: 45deg; } .burger[aria-expanded="true"] i::after { translate: 0 0; rotate: -45deg; }
.mnav { position: absolute; z-index: 19; left: 12px; right: 12px; top: 78px; max-height: calc(100svh - 96px); overflow: auto; padding: 8px; border-radius: 28px; background: #fff; color: #14141f;
        box-shadow: 0 30px 80px -24px rgb(var(--sh) / .6); }
.mnav details { border-radius: 20px; }
.mnav details[open] { background: var(--well); }
.mnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px; font: 700 18px/1 var(--display); letter-spacing: -.02em; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; }
.mnav details[open] summary::after { rotate: -135deg; }
.mnav .menu__link { padding: 12px 18px; }
.menu__btn--link { text-decoration: none; } .menu__btn--link::after { content: none; }
.mnav__link { display: block; padding: 18px; border-radius: 20px; color: inherit; text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: -.02em; }
.mnav__link:hover { background: var(--well); }
.mnav .menu__link:hover { background: var(--well-2); }
/* низ мобильного меню (Дмитрий 22.11): круглые «тема» и «кабинет» + «Открыть демо» на остаток ширины, одной строкой;
   прилипает к низу панели — виден и при раскрытом «Демо» */
.mnav__bar { position: sticky; bottom: -8px; z-index: 1; display: flex; align-items: center; gap: 8px; margin: 8px -8px -8px; padding: 10px 16px 16px; background: inherit; border-radius: 0 0 28px 28px; }
.mnav__bar .cab { flex: none; width: 52px; height: 52px; border: 0; background: rgb(127 127 127 / .12); color: inherit; cursor: pointer; }
.mnav__bar .cab:hover { background: rgb(127 127 127 / .2); }
.mnav__bar .cab:focus-visible { outline: 2px solid currentColor; }
.mnav__go { flex: 1; min-width: 0; min-height: 52px; background: #1b2029; color: #fff; }
.mnav__go:is(:hover, :focus-visible) { background: #2a303b; color: #fff; }
.um[data-theme="dark"] .mnav__go { background: #2a303b; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
/* тёмная тема: меню тоже тёмные, текст читается */
.um[data-theme="dark"] :is(.menu__panel, .mnav) { background: color-mix(in oklab, var(--night) 60%, var(--night-2)); color: var(--ink); box-shadow: 0 30px 80px -24px rgb(0 0 0 / .8), 0 0 0 1px rgb(255 255 255 / .08); }
.um[data-theme="dark"] :is(.menu__link span, .menu__sol span) { color: var(--muted); }
.um[data-theme="dark"] .menu__foot a { color: var(--field); }
body.nav-open :is(.stick, .aic-fab) { opacity: 0; pointer-events: none; }
@media (max-width: 1120px) { .menu__btn { padding: 0 12px; } .top__demo { display: none; } }
@media (max-width: 980px) { .top { grid-template-columns: 1fr auto; } .menu { display: none; } .burger { display: grid; } .top__demo { display: inline-flex; } }
@media (max-width: 520px) { .top__demo { display: none; } }
@media (prefers-reduced-motion: reduce) { .menu__panel, .menu__btn::after, .burger i, .burger i::before, .burger i::after { transition: none; } }

/* ---------- герой по центру + веер настоящих экранов ---------- */
.hero { position: relative; overflow: clip; color: rgb(var(--on)); padding-bottom: 40px; isolation: isolate;
        background: radial-gradient(80% 60% at 50% 100%, var(--glow) 0%, transparent 70%), linear-gradient(180deg, var(--field-2) 0%, var(--field) 55%); view-timeline: --hero block; }
.hero__copy { position: relative; z-index: 6; text-align: center; padding-top: clamp(28px, 4vh, 56px); display: grid; justify-items: center; }
.ladder { margin: 0; min-height: 1.84em; font: 600 clamp(42px, 4.7vw, 74px)/.92 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.ladder span { display: block; }
.ladder .l1 { color: var(--ice); }
@media (min-width: 861px) { .ladder .l1 { translate: -.55em 0; } .ladder .l2 { translate: 1.1em 0; } }

.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero__micro { margin: 14px 0 0; font-size: 14px; color: rgb(var(--on) / .66); }

.fan { position: relative; z-index: 2; width: min(1100px, 100% - 180px); height: clamp(460px, 38vw, 540px); margin: 48px auto 0; }
.fan__item { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z); translate: -50% 0; rotate: var(--r, 0deg);
             transition: scale .45s var(--ease), rotate .45s var(--ease); }
.fan__item.is-hot { z-index: 9; scale: 1.14; rotate: calc(var(--r, 0deg) * .4); }

/* фигуры выключены (проба 20.11): чтобы вернуть, удалить строку ниже */
.obj { display: none !important; }
/* настоящие 3D-рендеры (three.js): вязка, кристалл, жидкое стекло */
.obj--3d { aspect-ratio: auto; height: auto; filter: drop-shadow(0 30px 34px rgb(var(--sh) / .45)); }

/* ---------- плоские карточки-экраны: HTML-копии экранов демо, масштабируются целиком (cqw) ---------- */
.ui { container-type: inline-size; display: block; border-radius: 22px; overflow: clip; background: #f2f4f8; color: #1d1d1f; text-align: left;
      box-shadow: 0 44px 80px -30px rgb(var(--sh) / .8); transition: box-shadow .3s var(--ease-ui); font-family: 'Onest', system-ui, sans-serif; }
.fan__item.is-hot .ui { box-shadow: 0 60px 100px -30px rgb(var(--sh) / .95); }
.ui--phone { aspect-ratio: 9 / 16.5; border-radius: 30px; }
.ui--widget { border-radius: 26px; background: #fff; }
.ui--widget .ui__in { font-size: calc(100cqw / 28); padding: 1.6em 1.7em 1.7em; }
.ui--widget .stack { height: .7em; margin: 1.2em 0 1em; }
.ui--widget .chips span { font-size: .95em; padding: .45em .85em; }
.ui--widget .big { font-size: 3.2em; }
.ui--web { aspect-ratio: 16 / 10.4; }
.ui__in { height: 100%; display: flex; flex-direction: column; }
.ui--phone .ui__in { font-size: calc(100cqw / 25); }
.ui--web .ui__in { font-size: calc(100cqw / 50); }
.ui b { font-weight: 700; }
.ui .mut { color: #6b7280; }
.ui .num { font-variant-numeric: tabular-nums; }

/* чат на сайте салона */
.chat__head { display: flex; align-items: center; gap: .8em; padding: 1.6em 1.3em 1.1em; background: #141414; color: #fff; }
.chat__ava { flex: none; width: 2.6em; height: 2.6em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #86efac, #22c55e 60%, #15803d); display: grid; place-items: center; font: 800 1em/1 var(--display); }
.chat__head b { display: block; font-size: 1.15em; }
.chat__head small { display: flex; align-items: center; gap: .4em; font-size: .82em; color: rgb(255 255 255 / .7); }
.chat__head small::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: #3ccf7f; }
.chat__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .65em; padding: 1.1em 1.3em .9em; background: #f4f4f6; }
.msg { max-width: 82%; padding: .75em .95em; border-radius: 1.1em; font-size: .95em; line-height: 1.35; }
.msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: .35em; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.msg--me { align-self: flex-end; background: #16a34a; color: #fff; border-bottom-right-radius: .35em; }
.msg time { display: block; margin-top: .3em; font-size: .78em; opacity: .6; }
.slots { display: flex; gap: .5em; margin-top: .6em; }
.slots span { padding: .45em .8em; border-radius: 99em; background: #16a34a; color: #fff; font-weight: 700; font-size: .92em; }
.slots span + span { background: #fff; color: #141414; box-shadow: inset 0 0 0 1px #d4d4d8; }
.chat__ok { display: flex; align-items: center; gap: .45em; margin-top: .4em; font-weight: 700; color: #16a34a; font-size: .9em; }
.chat__ok::before { content: ""; width: .9em; height: .5em; border-left: .18em solid currentColor; border-bottom: .18em solid currentColor; rotate: -45deg; translate: 0 -.15em; }
.chat__foot { padding: .8em 1.3em 1.7em; background: #fff; border-top: 1px solid #eceef1; }
.chat__input { display: flex; align-items: center; gap: .6em; margin: 0; background: #f2f3f5 !important; box-shadow: none !important; padding: .55em .55em .55em 1em; border-radius: 99em; background: #fff; color: #9ca3af; font-size: .92em; box-shadow: 0 0 0 1px #e5e7eb; }
.chat__input i { margin-left: auto; flex: none; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: #22c55e; }
.chat__input i::before { content: ""; width: .55em; height: .55em; border-top: .17em solid #fff; border-right: .17em solid #fff; rotate: 45deg; translate: -.1em 0; }

/* чаты ИИ в админке «T» (телефон) */
.tg { padding: 1.5em 1.1em 1em; gap: .8em; }
.tg h4 { margin: 0; font-size: 1.6em; letter-spacing: -.02em; }
.tg__sum { padding: .9em 1em; border-radius: 1.1em; background: #fff; }
.tg__sum small { display: block; font-size: .8em; color: #6b7280; }
.tg__sum b { display: block; margin: .15em 0; font-size: 1.7em; letter-spacing: -.02em; }
.tg__seg { display: grid; grid-template-columns: 1fr 1fr; padding: .25em; border-radius: .8em; background: #e5e7eb; font-size: .9em; font-weight: 700; text-align: center; }
.tg__seg span { padding: .45em; border-radius: .6em; } .tg__seg span:first-child { background: #fff; }
.tg__seg em { font-style: normal; display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; margin-left: .3em; border-radius: 99em; background: #ef4444; color: #fff; font-size: .8em; }
.tg__list { display: grid; border-radius: 1.1em; background: #fff; overflow: clip; }
.tg__row { display: grid; grid-template-columns: 2.4em 1fr auto; gap: .2em .7em; align-items: center; padding: .75em .9em; border-top: 1px solid #f1f2f4; }
.tg__row:first-child { border-top: 0; }
.tg__row i { grid-row: span 2; width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .9em; color: #fff; }
.tg__row b { font-size: .95em; } .tg__row small { font-size: .78em; color: #9ca3af; text-align: right; }
.tg__row p { margin: 0; font-size: .82em; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg__row em { font-style: normal; font-size: .75em; font-weight: 700; color: #16a34a; text-align: right; }

/* окно админки «T» (ноутбук) */
.ad { padding: 1.6em 1.8em; gap: 1.1em; }
.ad__top { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.ad__top h4 { margin: 0; font-size: 2.1em; letter-spacing: -.02em; }
.ad__seg { display: flex; padding: .25em; border-radius: .8em; background: #e5e7eb; font-size: .95em; font-weight: 600; }
.ad__seg span { padding: .4em 1.1em; border-radius: .6em; color: #4b5563; } .ad__seg .on { background: #fff; color: #1d1d1f; box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.ad__grid { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 1em; min-height: 0; }
.tile { padding: 1.1em 1.2em; border-radius: 1.2em; background: #fff; min-width: 0; }
.tile small { display: block; font-size: .9em; color: #6b7280; }
.tile .big { display: block; margin: .15em 0 .1em; font-size: 2.6em; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.tile .sub { font-size: .85em; color: #6b7280; } .tile .sub em { font-style: normal; color: #ef4444; }
.stack { display: flex; gap: .25em; height: .55em; margin: .9em 0 .8em; }
.stack i { border-radius: 99em; }
.chips { display: flex; flex-wrap: wrap; gap: .4em; }
.chips span { display: inline-flex; align-items: center; gap: .4em; padding: .35em .7em; border-radius: 99em; background: #f2f4f8; font-size: .82em; white-space: nowrap; }
.chips span::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--c); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; margin-top: .8em; }
.mini .tile { padding: .8em 1em; } .mini b { display: block; font-size: 1.6em; letter-spacing: -.02em; }
.list { display: grid; align-content: start; gap: .1em; }
.list h5 { margin: 0 0 .5em; font-size: 1.25em; }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: .1em .8em; align-items: center; padding: .55em 0; border-top: 1px solid #f1f2f4; }
.row:first-of-type { border-top: 0; }
.row .t { grid-row: span 2; padding: .5em .55em; border-radius: .7em; background: #f2f4f8; font-weight: 700; font-size: .9em; }
.row b { font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .row .p { grid-row: span 2; font-weight: 700; font-size: .95em; }
.row span { font-size: .8em; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bars { display: flex; align-items: flex-end; gap: .3em; height: 5.6em; margin: .9em 0 .4em; }
.bars i { flex: 1; border-radius: .3em .3em 0 0; background: #86efac; height: var(--h); }
.bars i:last-child { background: #22c55e; }
.src { display: grid; grid-template-columns: 1fr 5em auto; gap: .15em .8em; align-items: center; padding: .55em 0; border-top: 1px solid #f1f2f4; }
.src:first-of-type { border-top: 0; }
.src b { font-size: .95em; } .src span { grid-column: 1; font-size: .78em; color: #6b7280; }
.src .bar { grid-row: 1 / 3; grid-column: 2; height: .45em; border-radius: 99em; background: #eef0f3; overflow: clip; }
.src .bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #22c55e; }
.src .v { grid-row: 1 / 3; grid-column: 3; font-weight: 700; font-size: .95em; }
.hero__note { position: relative; z-index: 6; margin: 0; text-align: center; font-size: 12px; color: rgb(var(--on) / .6); padding-bottom: 32px; }

@media (prefers-reduced-motion: no-preference) {
  .fan__item .ui, .hero .obj { animation: float var(--d, 8s) ease-in-out infinite alternate; }
  .fan__item:nth-child(2n) .ui { animation-delay: calc(var(--d, 8s) * -.5); }
  @keyframes float { from { transform: translateY(-7px); } to { transform: translateY(8px); } }
  @supports (animation-timeline: view()) {
    .fan__item, .hero .obj { animation: rise linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    .hero .obj { animation-name: rise; }
    @keyframes rise { to { transform: translateY(calc(var(--dp, 10) * -1vh)); } }
  }
}
@media (max-width: 860px) {
  .fan { width: calc(100% - 32px); height: 192vw; margin-top: 32px; }
  .fan__item--desk, .obj--desk { display: none; }
  .fan__item { left: var(--xm); top: var(--ym); width: var(--wm); }
  .hero .obj { left: var(--xm, var(--x)); top: var(--ym, var(--y)); width: var(--sm, var(--s)); }
  .hero__btns .btn { flex: 1 1 auto; }
}

.ladder.is-swap { animation: swap .5s var(--ease) both; }
@keyframes swap { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.fan__item[data-i] { pointer-events: auto; cursor: pointer; }
.fan__item.is-hot .ui { animation-play-state: paused; }

/* полоска точек с лёгким прогрессом под веером */
.dots { position: relative; z-index: 6; display: flex; justify-content: center; align-items: center; gap: 8px; margin: 8px 0 0; }
.dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgb(var(--on) / .32); cursor: pointer; overflow: clip;
       transition: width .35s var(--ease), background-color .2s var(--ease-ui); }
.dot::before { content: ""; position: absolute; inset: -12px -6px; }
.dot:hover { background: rgb(var(--on) / .55); }
.dot[aria-selected="true"] { width: 40px; background: rgb(var(--on) / .28); }
.dot i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: rgb(var(--on) / .9); }
.dot[aria-selected="true"] i { width: 100%; }
.dot:focus-visible { outline: 2px solid rgb(var(--on)); outline-offset: 4px; }
.dots__pause { display: grid; place-items: center; width: 24px; height: 24px; margin-left: 6px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgb(var(--on) / .6); cursor: pointer; }
.dots__pause:hover { color: rgb(var(--on)); }
.dots__pause svg { width: 10px; height: 10px; }
.dots__pause [data-ic="play"] { display: none; }
.dots__pause[aria-pressed="true"] [data-ic="play"] { display: block; } .dots__pause[aria-pressed="true"] [data-ic="pause"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .dots.is-auto .dot[aria-selected="true"] i { width: 0; animation: fill var(--dur, 6s) linear forwards; }
  .dots.is-paused .dot i { animation-play-state: paused !important; }
  @keyframes fill { to { width: 100%; } }
}
@media (prefers-reduced-motion: reduce) { .dots__pause { display: none; } .dot { transition: none; } }

/* ---------- листы с ярлыками-вкладками ---------- */
.sheet { --sheet: var(--paper); position: relative; z-index: 3; margin-top: calc(var(--r-sheet) * -1); background: var(--sheet);
         border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding: clamp(72px, 9vw, 128px) 0 clamp(112px, 12vw, 168px); }
.sheet--well { --sheet: var(--well); }
.sheet--night { --sheet: var(--night); color: #fff; }
.sheet__tab { position: absolute; left: clamp(32px, 6vw, 96px); top: 1px; translate: 0 -100%; padding: 12px 24px 6px; border-radius: 18px 18px 0 0;
              background: var(--sheet); color: var(--muted); font-size: 14px; font-weight: 600; }
.sheet--night .sheet__tab { color: var(--ice); }
/* блок демо: светлый лист, карточки в палитре «Графит» — при любой палитре и теме */
.sheet--graphite {
  --field: #2c3340; --field-2: #232935; --field-deep: #171b24; --night: #0e1117; --night-2: #181c25; --night-3: #222833; --ice: #cdd6e6;
  --ink: #121620; --muted: #5c6474; --line: #e1e4ea; --well: #f2f4f7; --well-2: #e5e8ee; --paper: #fff; --card: #fff;
  --glow: #4a5568; --hi: #9aa5ba; --hi-2: #dfe5f0; --mid: #5d6880; --mid-2: #2f3746; --deepest: #12151c; --sh: 8 10 16;
  --on: 255 255 255; --btn-ink: #232935; color: var(--ink); color-scheme: light; }
.um[data-theme="dark"] .sheet--graphite { /* тёмная тема — как «Графит» в тёмной теме */
  --paper: #121519; --well: #181c25; --well-2: #222833; --card: #1d222c; --ink: #f2f1f6; --muted: #bec4ce; --line: rgb(255 255 255 / .1); color-scheme: dark; }
.sheet__tab::before, .sheet__tab::after { content: ""; position: absolute; bottom: 0; width: 18px; height: 18px; }
.sheet__tab::before { left: -18px; background: radial-gradient(circle at 0 0, transparent 18px, var(--sheet) 18.5px); }
.sheet__tab::after { right: -18px; background: radial-gradient(circle at 100% 0, transparent 18px, var(--sheet) 18.5px); }

.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 4.4vw, 56px); }
.h2 { margin: 0; max-width: 18ch; font: 600 clamp(30px, 3.6vw, 52px)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.head p { max-width: 42ch; margin: 0; color: var(--muted); font-size: 18px; }
.sheet--night .head p { color: rgb(255 255 255 / .72); }

/* ---------- демо как кейсы: фильтр + сетка сцен ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filter button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--well); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer;
                 transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui), scale .12s var(--ease-ui); }
.filter button:hover { background: var(--well-2); }
.filter button:active { scale: .97; }
.filter button[aria-pressed="true"] { background: var(--field); color: rgb(var(--on)); }
.cases { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; }
.case { display: flex; flex-direction: column; border-radius: var(--r-tile); background: var(--well); color: var(--ink); text-decoration: none; overflow: clip;
        transition: background-color .2s var(--ease-ui), translate .5s var(--ease); }
.case[hidden] { display: none; }
.case__scene { position: relative; aspect-ratio: 4 / 3; overflow: clip; isolation: isolate;
               background: radial-gradient(90% 80% at 70% 100%, var(--glow) 0%, transparent 70%), linear-gradient(160deg, var(--field) 0%, var(--field-deep) 100%); }
.case__scene .shot { position: absolute; left: var(--l, 12%); top: var(--t, 16%); width: var(--w, 104%); max-width: none; border-radius: 14px; rotate: -4deg;
                     box-shadow: 0 30px 60px -24px rgb(var(--sh) / .8); transition: transform .6s var(--ease); }
.case__scene .phone { position: absolute; left: var(--l, 50%); top: var(--t, 12%); width: var(--w, 40%); translate: -50% 0; border-radius: 24px; rotate: -5deg;
                      box-shadow: 0 0 0 6px var(--night), 0 30px 60px -20px rgb(var(--sh) / .8); transition: transform .6s var(--ease); }
.case__scene .obj { z-index: 2; }
.case__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 28px 28px; flex: 1; }
.case__txt .who { font-size: 14px; font-weight: 600; color: var(--muted); }
.case__txt h3 { margin: 0; font: 600 clamp(19px, 1.6vw, 24px)/1.15 var(--display); letter-spacing: -.03em; max-width: 18ch; }
.case__txt .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 14px; }
.case__txt .price { font-weight: 700; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--card); font-weight: 600; font-size: 15px;
        transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui); }
@media (hover: hover) {
  a.case:hover { translate: 0 -4px; background: var(--well-2); }
  a.case:hover .shot, a.case:hover .phone { transform: translate(-2%, -3%) rotate(2deg); }
  a.case:hover .pill { background: var(--field); color: rgb(var(--on)); }
}
a.case:active { scale: .99; }

.case--salon { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--field); color: rgb(var(--on)); }
.case--salon .case__scene { aspect-ratio: auto; min-height: 460px; background: radial-gradient(80% 70% at 30% 100%, var(--glow) 0%, transparent 70%), var(--field-deep); }
.case--salon .shot { left: var(--l, 8%); top: var(--t, 12%); width: var(--w, 120%); rotate: -3deg; }
.case--salon .admin { position: absolute; left: 4%; bottom: 8%; width: 52%; border-radius: 14px; rotate: 3deg; box-shadow: 0 30px 60px -20px rgb(var(--sh) / .85); }
.case--salon .case__txt { padding: 40px; justify-content: flex-end; }
.case--salon .who { color: rgb(var(--on) / .75); }
.case--salon h3 { font-size: clamp(26px, 2.6vw, 38px); max-width: 12ch; }
.case--salon p { margin: 0; color: rgb(var(--on) / .82); max-width: 32ch; }
.case--salon .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.case--prom { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.case--prom .case__scene { aspect-ratio: auto; min-height: 280px; order: 2; }
.case--prom .shot { left: var(--l, 8%); top: var(--t, 14%); width: var(--w, 96%); }
.cases-note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 1080px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case--salon, .case--prom { grid-column: span 2; }
}
@media (max-width: 700px) {
  .cases { grid-template-columns: 1fr; }
  .case--salon, .case--prom { grid-column: auto; grid-template-columns: 1fr; }
  .case--salon .case__scene { min-height: 0; aspect-ratio: 4 / 3; }
  .case--salon .case__txt { padding: 28px; }
  .case--prom .case__scene { order: 0; min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- потрогайте: лента из трёх шагов ---------- */
.ribbon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }

/* суммы и проценты не переносятся */
.calc output, .calc__out .big, .calc__out [data-r], .range output, .num { white-space: nowrap; }
.tc--3 .tc__notch b, .tcw .tc__notch--tl b { background: #232935; color: #fff; }

/* «Потрогайте за минуту»: карточки с вырезами в разных углах (Realweb) — не как демо */
.tc { position: relative; display: flex; flex-direction: column; min-height: 500px; border-radius: 28px; background: var(--card); overflow: clip; isolation: isolate; list-style: none; }
.tc__txt { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 30px 30px 0; }
.tc h3 { margin: 0; font: 600 clamp(21px, 1.8vw, 27px)/1.1 var(--display); letter-spacing: -.03em; max-width: 11ch; }
.tc p { margin: 0; color: var(--muted); max-width: 30ch; }
.tc__pic { position: relative; flex: 1; min-height: 240px; overflow: clip; }
.tc__pic img { position: absolute; left: var(--l); top: var(--t); width: var(--w); max-width: none; rotate: var(--r, -5deg); border-radius: 14px;
               box-shadow: 0 30px 60px -24px rgb(8 10 16 / .45); transition: transform .6s var(--ease); }
@media (hover: hover) { .tc:hover .tc__pic img { transform: translate(-2%, -3%) rotate(2deg); } }
/* вырез: квадрат цвета листа с вогнутыми скруглениями по краям, внутри — номер шага */
.tc__notch { position: absolute; z-index: 3; width: 76px; height: 76px; background: var(--sheet); display: grid; place-items: center; }
.tc__notch b { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--card); font: 700 18px/1 var(--display); color: var(--ink); }
.tc__notch::before, .tc__notch::after { content: ""; position: absolute; width: 28px; height: 28px; }
.tc__notch--tr { top: 0; right: 0; border-bottom-left-radius: 28px; }
.tc__notch--tr::before { top: 0; left: -28px; background: radial-gradient(circle at 0 100%, transparent 27.5px, var(--sheet) 28px); }
.tc__notch--tr::after { bottom: -28px; right: 0; background: radial-gradient(circle at 0 100%, transparent 27.5px, var(--sheet) 28px); }
.tc__notch--bl { bottom: 0; left: 0; border-top-right-radius: 28px; }
.tc__notch--bl::before { top: -28px; left: 0; background: radial-gradient(circle at 100% 0, transparent 27.5px, var(--sheet) 28px); }
.tc__notch--bl::after { bottom: 0; right: -28px; background: radial-gradient(circle at 100% 0, transparent 27.5px, var(--sheet) 28px); }
.tc__notch--tl { top: 0; left: 0; border-bottom-right-radius: 28px; }
.tc__notch--tl::before { top: 0; right: -28px; background: radial-gradient(circle at 100% 100%, transparent 27.5px, var(--sheet) 28px); }
.tc__notch--tl::after { bottom: -28px; left: 0; background: radial-gradient(circle at 100% 100%, transparent 27.5px, var(--sheet) 28px); }
.tcw { position: relative; display: flex; list-style: none; }
.tcw > .tc { flex: 1; min-width: 0; }
/* вырез — маской из самой карточки (без наложения цветом фона): края чистые в любой теме */
.tc--1 { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27104%27%20height%3D%27104%27%20viewBox%3D%270%200%20104%20104%27%3E%3Cpath%20d%3D%27M0%200A28%2028%200%200%201%2028%2028L28%2048A28%2028%200%200%200%2056%2076L76%2076A28%2028%200%200%201%20104%20104L0%20104Z%27/%3E%3C/svg%3E") right top / 104px 104px no-repeat, linear-gradient(#000 0 0) left top / calc(100% - 104px) 100% no-repeat, linear-gradient(#000 0 0) right bottom / 104px calc(100% - 104px) no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27104%27%20height%3D%27104%27%20viewBox%3D%270%200%20104%20104%27%3E%3Cpath%20d%3D%27M0%200A28%2028%200%200%201%2028%2028L28%2048A28%2028%200%200%200%2056%2076L76%2076A28%2028%200%200%201%20104%20104L0%20104Z%27/%3E%3C/svg%3E") right top / 104px 104px no-repeat, linear-gradient(#000 0 0) left top / calc(100% - 104px) 100% no-repeat, linear-gradient(#000 0 0) right bottom / 104px calc(100% - 104px) no-repeat; }
.tc--2 { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27104%27%20height%3D%27104%27%20viewBox%3D%270%200%20104%20104%27%3E%3Cpath%20d%3D%27M104%20104A28%2028%200%200%201%2076%2076L76%2056A28%2028%200%200%200%2048%2028L28%2028A28%2028%200%200%201%200%200L104%200Z%27/%3E%3C/svg%3E") left bottom / 104px 104px no-repeat, linear-gradient(#000 0 0) right top / calc(100% - 104px) 100% no-repeat, linear-gradient(#000 0 0) left top / 104px calc(100% - 104px) no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27104%27%20height%3D%27104%27%20viewBox%3D%270%200%20104%20104%27%3E%3Cpath%20d%3D%27M104%20104A28%2028%200%200%201%2076%2076L76%2056A28%2028%200%200%200%2048%2028L28%2028A28%2028%200%200%201%200%200L104%200Z%27/%3E%3C/svg%3E") left bottom / 104px 104px no-repeat, linear-gradient(#000 0 0) right top / calc(100% - 104px) 100% no-repeat, linear-gradient(#000 0 0) left top / 104px calc(100% - 104px) no-repeat; }
.tc--3 { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27104%27%20height%3D%27104%27%20viewBox%3D%270%200%20104%20104%27%3E%3Cpath%20d%3D%27M104%200A28%2028%200%200%200%2076%2028L76%2048A28%2028%200%200%201%2048%2076L28%2076A28%2028%200%200%200%200%20104L104%20104Z%27/%3E%3C/svg%3E") left top / 104px 104px no-repeat, linear-gradient(#000 0 0) right top / calc(100% - 104px) 100% no-repeat, linear-gradient(#000 0 0) left bottom / 104px calc(100% - 104px) no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27104%27%20height%3D%27104%27%20viewBox%3D%270%200%20104%20104%27%3E%3Cpath%20d%3D%27M104%200A28%2028%200%200%200%2076%2028L76%2048A28%2028%200%200%201%2048%2076L28%2076A28%2028%200%200%200%200%20104L104%20104Z%27/%3E%3C/svg%3E") left top / 104px 104px no-repeat, linear-gradient(#000 0 0) right top / calc(100% - 104px) 100% no-repeat, linear-gradient(#000 0 0) left bottom / 104px calc(100% - 104px) no-repeat; }
.tc__notch, .tc__notch--tr, .tc__notch--bl, .tc__notch--tl { background: none; }
.tc__notch::before, .tc__notch::after { display: none; }
.tc__notch b { background: var(--card); }
/* угол под вырезом без скругления — иначе по дуге видна тонкая полоса фона карточки */
.tc--1 { border-top-right-radius: 0; } .tc--2 { border-bottom-left-radius: 0; } .tc--3 { border-top-left-radius: 0; }
.tc--1 .tc__txt { padding-right: 96px; }
.tc--2 .tc__pic { order: -1; min-height: 260px; }
.tc--2 .tc__txt { padding: 26px 30px 34px 104px; }
.tc--3 { background: var(--field); color: rgb(var(--on)); }
.tc--3 .tc__pic { order: -1; min-height: 250px; background: radial-gradient(80% 70% at 50% 100%, #4a5568 0%, transparent 70%), #232935; }
.tc--3 .tc__notch b { background: #232935; color: #fff; }
.tc--3 .tc__txt { padding-bottom: 30px; flex: 1; }
.tc--3 p { color: rgb(var(--on) / .82); }
.tc--3 .btn { align-self: flex-start; margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .tc__pic img { transition: none; } }
.rstep { display: flex; flex-direction: column; border-radius: var(--r-tile); background: var(--card); overflow: clip; }
.rstep__img { position: relative; aspect-ratio: 5 / 4; overflow: clip; background: var(--well-2); }
.rstep__img img { position: absolute; left: var(--l, 10%); top: var(--t, 12%); width: var(--w, 120%); max-width: none; border-radius: 14px; box-shadow: 0 24px 50px -24px rgb(var(--sh) / .45); }
.rstep__txt { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 30px; flex: 1; }
.rstep .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--well); font: 700 16px/1 var(--display); }
.rstep h3 { margin: 4px 0 0; font: 600 clamp(20px, 1.7vw, 26px)/1.12 var(--display); letter-spacing: -.03em; }
.rstep p { margin: 0; color: var(--muted); }
.rstep--last { background: var(--field); color: rgb(var(--on)); }
.rstep--last .rstep__img { background: radial-gradient(80% 70% at 50% 100%, #4a5568 0%, transparent 70%), #232935; }
.rstep--last .n { background: rgb(var(--on) / .16); }
.rstep--last p { color: rgb(var(--on) / .82); }
.rstep--last .btn { align-self: flex-start; margin-top: auto; }
.touch-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; }
.touch-end p { margin: 0; max-width: 36ch; font: 600 clamp(20px, 2vw, 28px)/1.2 var(--display); letter-spacing: -.03em; }
@media (max-width: 900px) {
  .ribbon { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .ribbon::-webkit-scrollbar { display: none; }
  .rstep, .tcw { flex: 0 0 84%; scroll-snap-align: start; }
  .tc { min-height: 430px; } .tc__pic { min-height: 200px; }
}

/* ---------- калькулятор в тёмно-синем листе ---------- */
.calc { display: grid; gap: 16px; grid-template-columns: 1.1fr .9fr; }
.calc__in { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-tile); background: var(--night-2); display: grid; gap: 28px; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.range label { font-weight: 600; }
.range small { grid-column: 1; font-size: 14px; color: rgb(255 255 255 / .6); }
.range output { grid-row: 1; grid-column: 2; font: 600 20px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.range input { grid-column: 1 / -1; width: 100%; margin: 10px 0 0; accent-color: var(--hi); height: 28px; }
.calc__out { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-tile); background: var(--field); color: rgb(var(--on)); overflow: clip; isolation: isolate; }
.calc__out .lbl { font-size: 16px; color: rgb(var(--on) / .82); }
.calc__out .big { margin: 12px 0 0; font: 600 clamp(48px, 6.4vw, 96px)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__out .sub { margin: 18px 0 0; display: grid; gap: 4px; font-size: 17px; color: rgb(var(--on) / .86); }
.calc__out .spacer { flex: 1; min-height: 32px; }
.calc__out .btn { align-self: flex-start; }
.calc__out .fine { margin: 16px 0 0; font-size: 13px; color: rgb(var(--on) / .65); }
.calc__out .obj { z-index: -1; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- цена: таблица сравнения ---------- */
/* «Система ваша»: бенто как в «Бирюзе» */
.pb { display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); }
.pf { position: relative; border-radius: var(--r-tile); padding: clamp(24px, 2.6vw, 36px); background: var(--well); overflow: clip; isolation: isolate; display: flex; flex-direction: column; gap: 8px; }
.pf h3 { margin: 0; font: 600 clamp(20px, 1.7vw, 26px)/1.15 var(--display); letter-spacing: -.03em; max-width: 16ch; }
.pf p { margin: 0; color: var(--muted); font-size: 16px; max-width: 30ch; }
.pf--own { grid-column: span 4; grid-row: span 2; }
.pf--own dl { margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.pf--own dl div { padding: 14px 0; border-top: 1px solid var(--line); }
.pf--own dt { font-weight: 700; }
.pf--own dd { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.pf--own .fine { margin-top: auto; padding-top: 20px; font-weight: 600; color: var(--ink); }
.pf--a { grid-column: span 2; background: var(--field); color: rgb(var(--on)); }
.pf--a p { color: rgb(var(--on) / .78); }
.pf--b { grid-column: span 2; background: var(--well-2); }
.pf--b .k { font: 600 clamp(40px, 4vw, 60px)/1 var(--display); letter-spacing: -.05em; margin-top: auto; white-space: nowrap; }
.pf--c { grid-column: span 3; }
.pf--d { grid-column: span 3; background: var(--well-2); }
.pf--ph { grid-column: span 3; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.pf--ph .tag { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: #b7791f; }
@media (max-width: 960px) {
  .pb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf--own { grid-column: span 2; grid-row: auto; }
  .pf--a, .pf--b { grid-column: span 1; }
  .pf--c, .pf--d, .pf--ph { grid-column: span 2; }
}
@media (max-width: 640px) {
  .pb { grid-template-columns: 1fr; }
  .pf--own, .pf--a, .pf--b, .pf--c, .pf--d, .pf--ph { grid-column: auto; }
  .pf--own dl { grid-template-columns: 1fr; }
}
/* заявка — баннер как в «Витрине», графит, кнопки и выбор — цвет палитры */
.qbanner { position: relative; overflow: clip; isolation: isolate; border-radius: var(--r-sheet); color: #fff; padding: clamp(32px, 6vw, 96px);
  background: radial-gradient(70% 90% at 100% 0%, #3a4252 0%, transparent 60%), radial-gradient(50% 70% at 0% 100%, #2c3340 0%, transparent 70%), #1b1f27; }
.qbanner .h2 { max-width: 16ch; color: #fff; }
.qbanner__lead { max-width: 44ch; margin: 20px 0 0; color: rgb(255 255 255 / .78); font-size: 18px; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; border: 0; }
.qchips legend { width: 100%; margin-bottom: 12px; font-weight: 600; font-size: 15px; color: rgb(255 255 255 / .8); }
.qchips label { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; cursor: pointer; font-size: 16px;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28); transition: background-color .2s var(--ease-ui), box-shadow .2s var(--ease-ui), color .2s var(--ease-ui); }
.qchips label:hover { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .6); }
.qchips label:active { scale: .97; }
.qchips input { position: absolute; opacity: 0; pointer-events: none; }
.qchips label:has(:checked) { background: var(--field); color: rgb(var(--on)); box-shadow: none; }
.qchips label:has(:focus-visible) { outline: 3px solid var(--ice); outline-offset: 2px; }
.qline { display: flex; gap: 6px; max-width: 640px; margin-top: 26px; padding: 6px; border-radius: 999px; background: #fff; }
.qline input { flex: 1; min-width: 0; height: 56px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font: 500 16px var(--body); color: #121620; }
.qline input:focus { outline: none; background: #f2f4f7; }
.qline .btn { min-height: 56px; }
.qconsent { display: flex; gap: 10px; align-items: flex-start; max-width: 640px; margin-top: 16px; font-size: 13px; color: rgb(255 255 255 / .7); }
.qconsent { align-items: center; cursor: pointer; }
.qconsent input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 50%; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); background: transparent center / 100% no-repeat;
  transition: background-color .2s var(--ease-ui), box-shadow .2s var(--ease-ui), scale .12s var(--ease-ui); }
.qconsent input:hover { box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .7); }
.qconsent input:active { scale: .92; }
.qconsent input:checked { background-color: var(--field); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M6.5%2012.5l3.6%203.6L17.5%208.7%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E"); box-shadow: none; }
.qconsent input:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.qbanner .form-msg { color: #fff; }
.qbanner__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; font-size: 15px; color: rgb(255 255 255 / .78); }
.qbanner__foot a { color: #fff; font-weight: 600; }
.tglink { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; padding: 6px 2px; transition: color .2s var(--ease-ui); }
.tgbtn { display: grid; place-items: center; color: var(--field); transition: color .2s var(--ease-ui), translate .2s var(--ease-ui), scale .12s var(--ease-ui); }
.tgbtn svg { width: 26px; height: 26px; }
.tglink:hover { color: var(--field); } .tglink:hover .tgbtn { translate: 2px -2px; } .tglink:active .tgbtn { scale: .9; }
.tglink:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 999px; }
@media (max-width: 560px) { .qline { flex-direction: column; border-radius: 24px; } .qline .btn { width: 100%; } }
/* вкладки продуктов в ценах */
.ptabs { display: flex; gap: 4px; max-width: 100%; width: max-content; margin: 0 0 20px; padding: 5px; border-radius: 999px; background: var(--card); overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui); }
.ptabs button:hover { background: var(--well); }
.ptabs button[aria-selected="true"] { background: var(--field); color: rgb(var(--on)); }
.ptabs button:focus-visible { outline: 2px solid var(--field); outline-offset: 2px; }
.plan .tag { align-self: flex-start; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--well); font-size: 13px; font-weight: 600; color: var(--muted); }
.plan--main .tag { background: rgb(var(--on) / .16); color: rgb(var(--on)); }
.plan .pay { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.plan--main .pay { color: rgb(var(--on)); }
@media (prefers-reduced-motion: no-preference) { .plans.is-swap .plan { animation: pswap .35s cubic-bezier(.2,0,.4,.9) both; } .plans.is-swap .plan:nth-child(2) { animation-delay: .04s; } .plans.is-swap .plan:nth-child(3) { animation-delay: .08s; } }
@keyframes pswap { from { opacity: 0; translate: 0 10px; } }
@media (max-width: 760px) { .ptabs { width: auto; margin-inline: -16px; border-radius: 0; padding: 5px 16px; background: transparent; } .ptabs button { background: var(--card); } }
/* тарифы карточками — как в первом шаблоне «Витрина», в наших цветах */
.plans { display: grid; gap: 16px; grid-template-columns: 1fr 1.18fr 1fr; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-tile); background: var(--card); }
.plan--main { background: var(--field); color: rgb(var(--on)); }
.plan h3 { margin: 0; font: 600 22px/1.1 var(--display); letter-spacing: -.02em; }
.plan .cost { margin: 20px 0 0; font: 600 clamp(34px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.plan .term { margin: 8px 0 0; color: var(--muted); }
.plan--main .term { color: rgb(var(--on) / .75); }
.plan ul { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; align-content: start; gap: 14px; }
.plan li { padding-top: 14px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.plan--main li { border-color: rgb(var(--on) / .18); }
.plan li b { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.plan--main li b { color: rgb(var(--on) / .6); }
.plan .btn { margin-top: auto; width: 100%; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.ptable th, .ptable td { padding: 18px 24px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.ptable thead th { border-top: 0; padding-top: 28px; }
.ptable th[scope="row"] { width: 16%; font-weight: 600; color: var(--muted); font-size: 15px; }
.ptable thead th { font: 600 22px/1.1 var(--display); letter-spacing: -.02em; }
.ptable .cost { font: 600 clamp(28px, 2.8vw, 40px)/1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.ptable .hi { background: var(--field); color: rgb(var(--on)); border-top-color: rgb(var(--on) / .18); }
.ptable thead .hi { border-radius: 28px 28px 0 0; }
.ptable tfoot .hi { border-radius: 0 0 28px 28px; }
.ptable tfoot td { padding-bottom: 28px; }
.ptable .tag { display: block; margin-top: 6px; font: 600 13px/1.2 var(--body); letter-spacing: 0; color: var(--muted); }
.ptable .hi .tag { color: rgb(var(--on) / .75); }
.ptable .no { color: var(--muted); }
.pcards { display: none; }
.pcard { padding: 28px; border-radius: var(--r-tile); background: var(--card); display: grid; gap: 10px; }
.pcard--hi { background: var(--field); color: rgb(var(--on)); }
.pcard h3 { margin: 0; font: 600 22px/1.1 var(--display); }
.pcard .cost { font: 600 36px/1 var(--display); letter-spacing: -.045em; }
.pcard ul { margin: 6px 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; }
.pcard li { padding-top: 10px; border-top: 1px solid var(--line); }
.pcard--hi li { border-color: rgb(var(--on) / .2); }
.pcard li b { display: block; font-size: 13px; color: var(--muted); }
.pcard--hi li b { color: rgb(var(--on) / .7); }
.pcard .btn { justify-self: start; }
.price-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; color: var(--muted); }
.price-foot p { margin: 0; max-width: 62ch; }
.pwrap { border-radius: var(--r-tile); background: var(--card); padding: 0 12px; }
@media (max-width: 860px) { .pwrap { display: none; } .pcards { display: grid; gap: 12px; } }

/* ---------- доказательства ---------- */
.person { display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; background: var(--well); max-width: 100%; }
.person img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: #000; }
.person i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--field); color: rgb(var(--on)); font: 700 14px/1 var(--display); font-style: normal; }
.person span { display: grid; font-size: 14px; line-height: 1.35; min-width: 0; }
.person b { font-size: 15px; }
.person q { quotes: "«" "»"; font-weight: 600; color: var(--ink); }
.person em { font-style: normal; color: var(--muted); }
.proof { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.own { border-radius: var(--r-tile); padding: clamp(28px, 3vw, 40px); background: var(--well); }
.own h3, .guar h3 { margin: 0 0 12px; font: 600 clamp(20px, 1.8vw, 26px)/1.15 var(--display); letter-spacing: -.03em; }
.own ul { margin: 0; padding: 0; list-style: none; }
.own li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.own li span { display: grid; }
.own li b { font-weight: 700; }
.own li small { color: var(--muted); font-size: 15px; }
.own li em { font-style: normal; flex: none; padding: 4px 12px; border-radius: 999px; background: var(--card); color: var(--btn-ink, var(--field-2)); font-size: 13px; font-weight: 700; }
.own .fine { margin: 18px 0 0; font-weight: 600; }
.side { display: grid; gap: 16px; align-content: start; }
.guar { position: relative; overflow: clip; isolation: isolate; border-radius: var(--r-tile); padding: clamp(28px, 3vw, 40px); background: var(--field); color: rgb(var(--on)); min-height: 360px; }
.guar ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 30ch; }
.guar li { padding-top: 14px; border-top: 1px solid rgb(var(--on) / .2); font-size: 16px; }
.guar .obj { z-index: -1; }
.ph { border-radius: var(--r-tile); padding: 24px 28px; box-shadow: inset 0 0 0 1.5px var(--line); }
.ph b { display: block; font-size: 16px; }
.ph p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.ph .tag { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: #8a5a0f; }
@media (max-width: 960px) { .proof { grid-template-columns: 1fr; } }

/* ---------- вопросы в две колонки ---------- */
.faq { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.faq details { border-radius: 24px; background: var(--card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 16px 26px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--field); border-bottom: 2px solid var(--field); rotate: 45deg; translate: 0 -3px;
                      transition: rotate .25s var(--ease-ui), translate .25s var(--ease-ui); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq details p { margin: 0; padding: 0 26px 24px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- форма в большом листе с 3D ---------- */
.bigform { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; border-radius: var(--r-sheet); background: var(--well); padding: clamp(28px, 5vw, 72px); overflow: clip; isolation: isolate; }
.bigform .h2 { max-width: 16ch; }
.bigform__lead { max-width: 44ch; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 12px; font-weight: 600; font-size: 15px; color: var(--muted); }
.chips label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; background: var(--card); font-size: 15px;
               transition: background-color .15s var(--ease-ui), color .15s var(--ease-ui), scale .12s; }
.chips label:active { scale: .97; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:has(:checked) { background: var(--field); color: rgb(var(--on)); }
.chips label:has(:focus-visible) { outline: 3px solid var(--field); outline-offset: 2px; }
.oneline { display: flex; gap: 6px; max-width: 620px; margin-top: 24px; padding: 6px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1.5px var(--line); }
.oneline input { flex: 1; min-width: 0; height: 56px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; font: 500 16px var(--body); color: var(--ink); }
.oneline input:focus { outline: none; background: var(--well); }
.consent { display: flex; gap: 10px; align-items: flex-start; max-width: 620px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--field); flex: none; }
.form-msg { min-height: 1.5em; margin: 12px 0 0; font-size: 14px; color: var(--field-2); font-weight: 600; }
.big__art { position: relative; min-height: 360px; }
.big__art .disc { position: absolute; inset: 6% 0 6% 6%; border-radius: 50%; background: radial-gradient(circle at 50% 60%, var(--glow) 0%, var(--field) 45%, var(--field-deep) 100%); }
@media (max-width: 900px) { .bigform { grid-template-columns: 1fr; } .big__art { min-height: 260px; order: -1; margin: -8px 0 0; } }
@media (max-width: 560px) { .oneline { flex-direction: column; border-radius: 24px; } .oneline input { border-radius: 18px; background: var(--well); } }

/* ---------- тёмный подвал как у Realweb ---------- */
.foot { position: relative; z-index: 3; background: var(--night); color: rgb(255 255 255 / .7); padding: clamp(64px, 7vw, 96px) 0 120px; margin-top: calc(var(--r-sheet) * -1); border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
.foot__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ftile { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-tile); background: var(--night-2); color: #fff; text-decoration: none;
         transition: background-color .2s var(--ease-ui); }
.ftile:hover { background: var(--night-3); }
.ftile small { font-size: 15px; color: rgb(255 255 255 / .65); }
.ftile b { margin-top: auto; font: 600 clamp(24px, 3vw, 44px)/1.05 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.ftile--brand { background: var(--field); }
.ftile--brand:hover { background: var(--field-2); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: 48px; font-size: 14px; }
.smap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.smap__col b { display: block; margin-bottom: 16px; color: #fff; font-size: 16px; font-weight: 700; }
.smap__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.smap__col a { color: rgb(255 255 255 / .62); text-decoration: none; font-size: 15px; line-height: 1.35; transition: color .2s var(--ease-ui); }
.smap__col a:hover { color: #fff; }
.foot__row { padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .1); align-items: center; display: grid !important; grid-template-columns: 1fr auto 1fr; }
.foot__row > :first-child { justify-self: start; } .foot__row .logo { justify-self: center; } .foot__row > :last-child { justify-self: end; }
@media (max-width: 600px) { .foot__row { grid-template-columns: 1fr; justify-items: center; text-align: center; } .foot__row > * { justify-self: center !important; } .foot__row .logo { order: -1; } }
.foot__row a:not(.logo) { color: rgb(255 255 255 / .62); text-decoration: none; } .foot__row a:not(.logo):hover { color: #fff; }
@media (max-width: 1000px) { .smap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .smap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }
.foot .logo { color: #fff; }
@media (max-width: 760px) { .foot__tiles { grid-template-columns: 1fr; } .ftile { min-height: 160px; } }

/* ---------- липкая кнопка на телефоне ---------- */
.stick { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; display: none; }
.stick .btn { width: 100%; box-shadow: 0 16px 40px -12px rgb(var(--sh) / .6); }
@media (max-width: 760px) { .stick { display: block; translate: 0 140%; transition: translate .3s var(--ease-ui); } .stick.is-on { translate: 0 0; } }
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .stick { transition: none; } }



/* знак рубля: в Unbounded/Manrope/Onest нет ₽ — рисуем буквой «Р» того же шрифта и чертой (для .by не нужно) */
.rub { position: relative; display: inline-block; }
.rub::after { content: ""; position: absolute; left: var(--rl, -.1em); width: var(--rw, .56em); bottom: var(--rb, .33em); height: var(--rh, .075em); background: currentColor; }
.rub--d { --rl: -.12em; --rw: .62em; --rb: .2em; --rh: .1em; }
.rub--b { --rh: .095em; }
/* ---------- чат на сайте: ИИ-ассистент (в стиле карточек героя: Onest, графит, цвет палитры) ---------- */
.aic-fab { position: fixed; z-index: 55; right: 24px; bottom: 24px; display: grid; place-items: center; width: 62px; height: 62px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--field); color: rgb(var(--on)); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--field) 75%, transparent), 0 4px 10px -4px rgb(0 0 0 / .25);
  transition: scale .15s var(--ease-ui), background-color .2s var(--ease-ui), opacity .2s var(--ease-ui), translate .25s var(--ease-ui); }
.aic-fab:hover { background: var(--field-2); translate: 0 -2px; } .aic-fab:active { scale: .94; }
.aic-fab svg { position: relative; width: 30px; height: 30px; }
.aic-fab__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--field); animation: aic-ring 2.8s var(--ease-ui) infinite; pointer-events: none; }
@keyframes aic-ring { 0% { opacity: .55; scale: 1; } 70%, 100% { opacity: 0; scale: 1.45; } }
@media (prefers-reduced-motion: reduce) { .aic-fab__ring { animation: none; opacity: 0; } }
.aic-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; scale: .8; }
.aic-fab:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; }
.aic { position: fixed; z-index: 60; right: 24px; bottom: 24px; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100svh - 48px)); display: flex; flex-direction: column;
  border-radius: 28px; overflow: clip; background: #f4f5f7; color: #121620; font-family: 'Onest', system-ui, sans-serif;
  box-shadow: 0 40px 100px -30px rgb(8 10 16 / .55), 0 0 0 1px rgb(8 10 16 / .06); transform-origin: 100% 100%; }
.aic[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .aic:not([hidden]) { animation: aic-in .26s cubic-bezier(.2,0,.4,.9) both; } }
@keyframes aic-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.aic__head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px 20px; color: #fff;
  background: radial-gradient(90% 140% at 100% 0%, color-mix(in oklab, var(--field) 55%, transparent) 0%, transparent 60%), #1b1f27; }
.aic__ava { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.aic__ava img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #2c3340; }
.aic__ava::after { content: ""; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2.5px #1b1f27; }
.aic__head b { display: block; font-size: 16px; font-weight: 700; }
.aic__co { font-style: normal; font-weight: 500; color: rgb(255 255 255 / .6); }
.aic__head small { font-size: 13px; color: rgb(255 255 255 / .65); }
.aic__x { margin-left: auto; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; }
.aic__x:hover { background: rgb(255 255 255 / .2); }
.aic__x::before, .aic__x::after { content: ""; position: absolute; width: 14px; height: 2px; border-radius: 2px; background: currentColor; rotate: 45deg; }
.aic__x::after { rotate: -45deg; }
.aic__x { position: relative; }
.aic__body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; scrollbar-width: thin; }
.amsg { max-width: 86%; margin: 0; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.42; }
.amsg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.amsg--me { align-self: flex-end; background: var(--field); color: rgb(var(--on)); border-bottom-right-radius: 6px; }
.amsg a { color: var(--field-2); font-weight: 700; text-decoration: none; }
.amsg a:hover { text-decoration: underline; }
.amsg .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.amsg .acts a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--field); color: rgb(var(--on)); font-size: 14px; }
.amsg .acts a:hover { background: var(--field-2); text-decoration: none; }
.amsg--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.amsg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #a3a9b5; }
@media (prefers-reduced-motion: no-preference) { .amsg--typing i { animation: aic-dot 1s ease-in-out infinite; } .amsg--typing i:nth-child(2) { animation-delay: .15s; } .amsg--typing i:nth-child(3) { animation-delay: .3s; } }
@keyframes aic-dot { 0%, 60%, 100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -4px; opacity: 1; } }
.aic__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.aic__chips button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font: 600 14px/1 'Onest', system-ui, sans-serif;
  background: #fff; color: var(--field-2); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--field) 40%, transparent); transition: background-color .15s, box-shadow .15s; }
.aic__chips button:hover { background: color-mix(in oklab, var(--field) 10%, #fff); box-shadow: inset 0 0 0 1.5px var(--field); }
.aic__foot { margin: 0; padding: 12px 16px 14px; background: #fff; border-top: 1px solid #eceef1; }
.aic__input { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 16px; border-radius: 999px; background: #f2f3f5; }
.aic__input:focus-within { box-shadow: inset 0 0 0 1.5px var(--field); background: #fff; }
.aic__input { align-items: flex-end; border-radius: 22px; }
.aic__input textarea { flex: 1; min-width: 0; min-height: 40px; max-height: 120px; padding: 10px 0; border: 0; resize: none; background: transparent; font: 400 15px/20px 'Onest', system-ui, sans-serif; color: #121620; overflow-y: auto; }
.aic__input textarea:focus { outline: none; }
.aic__input button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--field); color: rgb(var(--on)); cursor: pointer; }
.aic__input button svg { width: 18px; height: 18px; }
.aic__note { margin: 8px 4px 0; font-size: 12px; color: #8b93a1; }
@media (max-width: 760px) {
  .aic { inset: auto 8px 8px 8px; width: auto; height: min(640px, calc(100svh - 16px)); border-radius: 24px; }
  .aic-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  body.stick-on .aic-fab { opacity: 0; pointer-events: none; translate: 0 20px; }
  .stick { display: none; gap: 8px; }
  .stick.is-on { display: flex; }
  .stick .btn { flex: 1; }
  .stick__chat { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: #1b1f27; color: #fff; box-shadow: 0 16px 40px -12px rgb(var(--sh) / .6); }
  .stick__chat svg { width: 28px; height: 28px; }
}
.stick__chat { display: none; }
@media (max-width: 760px) { .stick__chat { display: grid; } }

/* ---------- проявление плиток лесенкой, один раз (базовое CSS = видно) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .rv.is-in { opacity: 1; translate: none; }
}
@media (prefers-reduced-motion: reduce) { .fan__item, .case, .btn, .pill, .filter button { transition: none !important; } }


/* ===== Правки Дмитрия к «основе» на живом сайте (21.11) — дописываются к osnova.css генератором ===== */

/* 1. ₽: настоящий знак из Onest (в нём есть U+20BD) вместо «Р» с нарисованной чертой — черта уезжала */
.rub { font-family: 'Onest', system-ui, sans-serif; font-weight: inherit; }
.rub::after { content: none !important; }

/* 2. Узкий экран: в шапке лого и бургер, тема и кабинет — в низу меню (.mnav__bar, index.html) */
@media (max-width: 600px) {
  .top__act .cab { display: none !important; }
}

/* 3. Ярлык «демо» не наезжает на подпись под героем */
@media (max-width: 760px) { .hero__note { padding-bottom: 72px; } }

/* 4. Ярлыки разделов: плавные внутренние скругления, не на углу листа (на телефоне угол давал «шип») */
.sheet__tab { left: max(clamp(32px, 6vw, 96px), calc(var(--r-sheet) + 28px)); border-radius: 20px 20px 0 0; }
.sheet__tab::before, .sheet__tab::after { width: 20px; height: 20px; }
.sheet__tab::before { left: -20px; background: radial-gradient(circle at 0 0, transparent 19.5px, var(--sheet) 20px); }
.sheet__tab::after { right: -20px; background: radial-gradient(circle at 100% 0, transparent 19.5px, var(--sheet) 20px); }

/* 6. «Потрогайте за минуту» на телефоне: подсказка свайпа и точки */
.swipe { display: none; }
@media (max-width: 900px) {
  .swipe { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted); font-size: 14px; }
  .swipe__dots { display: flex; gap: 6px; }
  .swipe__dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: width .2s var(--ease-ui), background-color .2s var(--ease-ui); }
  .swipe__dots i.on { width: 22px; background: var(--field); }
}

/* 7. Калькулятор: заливка ползунков зелёная и на десктопе */
.range input { accent-color: var(--field); }

/* 8. Заявка: на телефоне поле на всю ширину с рамкой, под ним кнопка; согласие — одним текстом с галочкой слева */
@media (max-width: 560px) {
  .qline { flex-direction: column; gap: 10px; padding: 0; border-radius: 0; background: transparent; }
  .qline input { flex: none; width: 100%; height: 56px; min-height: 56px; padding: 0 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px #cfd4dc; }
  .qline input:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--field); }
  .qline .btn { width: 100%; }
}
.qconsent { align-items: flex-start; }
.qconsent > span { flex: 1; min-width: 0; line-height: 1.45; padding-top: 2px; }
.qconsent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 9. Липкой «Открыть демо» нет — кнопка чата остаётся на месте */
.stick { display: none !important; }
body.stick-on .aic-fab { opacity: 1 !important; pointer-events: auto !important; translate: none !important; }

/* 10. Подвал: боковые отступы на телефоне шире */
@media (max-width: 760px) { .foot .wrap { width: calc(100% - 48px); } }

/* 11. Подвал без лишнего запаса снизу (был под липкую кнопку) */
.foot { padding-bottom: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .foot { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* 12. Квиз из 4 шагов в блоке заявки (контакт → ниша → что важнее → комментарий) и экран результата */
.qz__prog { display: flex; gap: 6px; list-style: none; margin: 22px 0 0; padding: 0; max-width: 640px; }
.qz__prog li { flex: 1; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .16); transition: background-color .3s var(--ease-ui); }
.qz__prog li.on { background: var(--field); }
.qz__q { display: block; margin: 22px 0 0; color: #fff; font-weight: 600; font-size: 16px; }
.qz__q span { color: rgb(255 255 255 / .6); font-weight: 400; }
.qz .qz__step[data-step="1"] .qline { margin-top: 12px; }
.qz .qchips.qz__step { margin-top: 22px; }
.qz__other { display: block; width: 100%; max-width: 640px; height: 52px; margin-top: 12px; padding: 0 18px; border: 0; border-radius: 16px; background: #fff; color: #121620; font: 500 16px var(--body); }
.qz textarea { display: block; width: 100%; max-width: 640px; margin-top: 12px; padding: 14px 18px; border: 0; border-radius: 16px; background: #fff; color: #121620; font: 500 16px/1.45 var(--body); resize: vertical; }
.qz__other:focus, .qz textarea:focus { outline: 2px solid var(--field); outline-offset: 0; }
.qz__nav { display: flex; align-items: center; gap: 12px; max-width: 640px; margin-top: 22px; }
.qz__nav .btn { flex: 1; }
.qz__back { min-height: 56px; padding: 0 22px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .1); color: #fff; font: 600 16px var(--body); cursor: pointer; }
.qz__back:hover { background: rgb(255 255 255 / .18); }
.qz__res h3 { margin: 26px 0 0; color: #fff; font: 600 clamp(22px, 2.4vw, 28px)/1.15 var(--display); letter-spacing: -.02em; }
.qz__sum { display: grid; gap: 12px; max-width: 640px; margin: 18px 0 0; }
.qz__sum > div { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgb(255 255 255 / .07); }
.qz__sum dt { color: rgb(255 255 255 / .6); font-size: 14px; }
.qz__sum dd { margin: 0; color: #fff; font-weight: 600; }
.qz__sum .btn { min-height: 48px; }
.qz__ok { margin: 16px 0 0; color: rgb(255 255 255 / .75); }
/* Флоу v2: главная кнопка экрана успеха — бот с меткой заявки */
.qz__tg { margin-top: 22px; min-height: 56px; gap: 10px; }
@media (max-width: 560px) { .qz__tg { width: 100%; } }
.is-sent .qbanner__foot { display: none; } /* после квиза Telegram — в главной кнопке, строка снизу дублирует */
@media (max-width: 560px) { .qz__sum > div { grid-template-columns: 1fr; gap: 6px; } .qz__nav .btn { flex: 1 1 auto; } }
/* поле «Ваш вариант» внутри чипов: правило прототипа прячет все input в .qchips — этому вернуть вид */
.qchips .qz__other { position: static; opacity: 1; pointer-events: auto; flex: 1 1 100%; }
.qchips .qz__other[hidden] { display: none !important; }

/* ₽: в наших подмножествах Manrope, Onest и Unbounded знака нет — браузер брал его из системного шрифта,
   и на iPhone он «взлетал». Отдельные файлы только с ₽ (Google Fonts, ?text=₽, ~1 КБ) — знак в начертании своего шрифта */
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/packs/igoshev-sales/osnova/fonts/manrope-rub.woff2?v=42392a6a) format('woff2'); unicode-range: U+20BD; }
/* у Onest ₽ мельче заглавных — в мелких ценах казался приподнятым; для Onest берём ₽ из Manrope (ровный, в рост цифр) */
@font-face { font-family: 'Onest'; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/packs/igoshev-sales/osnova/fonts/manrope-rub.woff2?v=42392a6a) format('woff2'); unicode-range: U+20BD; } /* 200 800 = ось файла Manrope; с 100 900 жирность не применялась и ₽ выходил тонким (21.11) */
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900; src: url(/packs/igoshev-sales/osnova/fonts/unbounded-rub.woff2?v=28e324cf) format('woff2'); unicode-range: U+20BD; }

/* ₽-«спан» наследует размер и цвет числа: правила вида «.row span { font-size: .8em; color: серый }» в макетах
   задевали и его — знак выходил мельче и бледнее цифр («4 500 ᴾ» в первом экране) */
.um span.rub.rub { display: inline; margin: 0; padding: 0; border-radius: 0; background: none; font-size: inherit; color: inherit;
  opacity: 1; overflow: visible; white-space: inherit; grid-column: auto; grid-row: auto; }
.um span.rub.rub::before { content: none; } /* «.chips span::before» — цветная точка плашки */

/* Продукт с одним тарифом (21.11, «Бот» 15 000 ₽): одна карточка по центру */
.plans.plans--one { grid-template-columns: minmax(0, 560px); justify-content: center; }

/* ₽ в крупных ценах (цифры Unbounded, .rub--d): свой знак Unbounded — тяжёлый и широкий, как цифры.
   Знак Manrope рядом с ними выглядел тонким и узким («значок рубля в этом шрифте ужас», Дмитрий 21.11) */
.um span.rub.rub--d { font-family: inherit; }

/* Кнопки, вкладки и чипы — в одну строку («не нужны корявые переносы текста на вторую строку в кнопках», Дмитрий 21.11).
   Длинную подпись сокращаем в тексте; если всё же не влезла — многоточие, а не вторая строка */
.um .btn, .um .ptabs button, .um .filter button, .um .chips span, .um .qchips label, .um .tglink { white-space: nowrap; }
.um .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* 13. Главная на телефоне (<768): воздух и порядок как у страниц услуг (шапка → заголовок 40, → подзаголовок 16, → кнопка 32,
   → цена 16, → карточка 40), одна тёмная кнопка «Открыть демо», цена строкой. Заголовок сменяется сам, как на компьютере
   (Дмитрий 22.11: «в мобильной версии не меняются заголовки и блоки»): те же три фразы, блок заголовка ровно в 2 строки —
   высота не прыгает; под ним одна карточка, которая меняется вместе с заголовком (чат ИИ → сводка → аналитика), плавным
   переходом в рамке постоянной высоты. ≥768 — без изменений: веер из трёх экранов */
.hero__m, .hero__lead, .hero__price { display: none; }
@media (max-width: 767px) {
  .hero:has(.hero__m) :is(.hero__micro, .hero__btns .btn--ghost) { display: none; }
  .hero:has(.hero__m) .hero__copy { padding-top: 40px; }
  .hero:has(.hero__m) .ladder { order: -1; min-height: 0; height: 2.16em; font-size: clamp(20px, 6vw, 30px); line-height: 1.08; letter-spacing: -.035em; }
  .hero:has(.hero__m) .ladder span { white-space: nowrap; }
  .hero__lead { display: block; margin: 16px auto 0; max-width: 30ch; font-size: 16px; line-height: 1.45; color: rgb(var(--on) / .88); text-wrap: balance; }
  .hero:has(.hero__m) .hero__btns { width: 100%; margin-top: 32px; }
  .hero:has(.hero__m) .hero__btns .btn--light { flex: 0 1 340px; }
  .hero__price { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 8px; margin: 16px 0 0; }
  .hero__price b { font: 600 17px/1.2 var(--display); letter-spacing: -.02em; color: rgb(var(--on)); white-space: nowrap; }
  .hero__price span { font-size: 14px; color: rgb(var(--on) / .8); white-space: nowrap; }
  .um .hero__price b .rub { font-family: inherit; }
  /* рамка карточек: три карточки в одной ячейке сетки — высота по самой высокой, без прыжков; видна только текущая.
     Смена спокойная и последовательная: уходящая гаснет за 0.25 с, затем новая проявляется с 0.98 до 1 за 0.5 с (ease-out) —
     двух полупрозрачных карточек одновременно не бывает (Дмитрий 22.11: «переходы между карточками…») */
  .hero:has(.hero__m) .fan { display: grid; width: calc(100% - 32px); height: auto; margin: 40px auto 0; }
  .hero:has(.hero__m) .fan__item { position: relative; grid-area: 1 / 1; align-self: center; left: auto; top: auto; width: 100%; translate: none; rotate: none;
    opacity: 0; scale: .98; visibility: hidden;
    transition: opacity .25s ease-in, scale .25s ease-in, visibility 0s linear .25s; }
  .hero:has(.hero__m) .fan__item.is-hot { opacity: 1; scale: 1; visibility: visible; z-index: 3;
    transition: opacity .5s cubic-bezier(.22, .61, .36, 1) .25s, scale .55s cubic-bezier(.22, .61, .36, 1) .25s, visibility 0s; }
  .hero:has(.hero__m) .fan__item .ui { rotate: -1.5deg; }
  /* чат «Администратор Чёлка» на телефоне — свёрстан под 390: шрифт 14 px, пузыри по содержимому, без обрезки и поля ввода;
     видна сама запись: окна мастера, «спасибо», «Записала вас на завтра» */
  .hero:has(.hero__m) .ui--phone { aspect-ratio: auto; border-radius: 22px; }
  .hero:has(.hero__m) .ui--phone .ui__in { font-size: 14px; height: auto; }
  .hero:has(.hero__m) .ui--phone .chat__head { padding: 12px 16px; gap: 12px; }
  .hero:has(.hero__m) .ui--phone .chat__head b { font-size: 16px; }
  .hero:has(.hero__m) .ui--phone .chat__head small { font-size: 12.5px; }
  .hero:has(.hero__m) .ui--phone .chat__ava { width: 40px; height: 40px; }
  .hero:has(.hero__m) .ui--phone .chat__body { gap: 8px; padding: 12px 14px 14px; }
  .hero:has(.hero__m) .ui--phone .chat__body > :nth-child(-n+2) { display: none; } /* приветствие и вопрос — на компьютере; здесь окна, «спасибо», «Записала» */
  .hero:has(.hero__m) .ui--phone .msg { max-width: 80%; padding: 8px 12px; font-size: 14px; line-height: 1.35; }
  .hero:has(.hero__m) .ui--phone .chat__foot { display: none; }
  .hero:has(.hero__m) .dots { margin-top: 20px; }
  .hero:has(.hero__m) .hero__note { margin-top: 16px; }
}
/* 14. «Решения» — это живые демо, видно до клика (Дмитрий 21.11: «как будто на другой сайт выкидывает из меню»):
   шапка панели «Живые демо по нишам… откроются в новой вкладке» и метка «Демо» у каждой ниши */
.menu__head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 6px 12px 10px; }
.menu__head b { font: 700 17px/1.2 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.menu__head span { font-size: 13px; line-height: 1.4; color: #5f5f6e; text-align: right; }
.menu__sol { position: relative; }
.menu__tag { font-style: normal; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: #16a34a; color: #fff; }
.menu__sol .menu__tag { position: absolute; left: 18px; top: 18px; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .45); }
.mnav .menu__link:has(.menu__tag) { grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.mnav .menu__link:has(.menu__tag) span { grid-column: 1 / -1; }
.mnav .menu__link .menu__tag { justify-self: start; padding: 5px 9px; font-size: 11px; }
.mnav__note { margin: -6px 18px 6px; font-size: 13px; line-height: 1.4; color: #5f5f6e; }
.um[data-theme="dark"] :is(.menu__head span, .mnav__note) { color: var(--muted); }

/* 15. Своё имя анимации подъёма веера: у паков салона (katemagic, salon-studio) есть глобальная @keyframes rise
   с opacity 0 → 1 — при другом порядке стилей карточки героя оставались прозрачными (стенд 21.11) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .fan__item, .hero .obj { animation-name: osn-rise; }
    @keyframes osn-rise { to { transform: translateY(calc(var(--dp, 10) * -1vh)); } }
  }
}

/* 16. Главная на телефоне: рамка с карточкой парит (подъём и покачивание — на рамке, разворот в глубину — на карточке,
   разные периоды 7 / 11 / 13 с), наклон от пальца с инерцией (fixes.js) — Дмитрий 22.11. Без движения — просто висит */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .hero:has(.hero__m) .fan { will-change: transform, translate, rotate;
    animation: osn-bob 7s ease-in-out infinite alternate, osn-sway 11s ease-in-out infinite alternate;
    transform: perspective(900px) rotateX(var(--tilty, 0deg)) rotateY(var(--tiltx, 0deg)); }
  .hero:has(.hero__m) .fan__item .ui { rotate: none; will-change: transform; animation: osn-turn 13s ease-in-out infinite alternate; }
  @keyframes osn-bob { from { translate: 0 -6px; } to { translate: 0 7px; } }
  @keyframes osn-sway { from { rotate: -2deg; } to { rotate: .6deg; } }
  @keyframes osn-turn { from { transform: perspective(1000px) rotateX(2.5deg) rotateY(-6deg); } to { transform: perspective(1000px) rotateX(-2deg) rotateY(5deg); } }
}

/* 18. Белая кнопка при наведении остаётся светлой и в тёмной теме. Было: .btn--light:hover брал --well-2, а в тёмной теме это
   графит #222833 — тёмная кнопка с зелёным текстом (прод /support, Дмитрий 22.11: «текст в кнопке тёмной должен быть белым»).
   Правило: на тёмной/графитовой кнопке текст белый во всех состояниях, на светлой — зелёный */
.um[data-theme="dark"] .btn--light:is(:hover, :focus-visible) { background: #e5e8ee; color: var(--btn-ink, var(--field-2)); }
/* плашка «Открыть демо» в карточках «Шести живых демо»: в тёмной теме она тёмная — текст белый, а не серый */
.um[data-theme="dark"] .pill { color: #fff; }
/* тёмная тема (аудит dark-buttons 22.11): цена «от …» в карточках демо была серой #6b7280 на графите (3.5:1) — общее .row span героя;
   кнопка .btn--soft («Заказать» в ценах) — тёмная, текст белый, а не #f2f1f6 */
.um[data-theme="dark"] .case__txt .price { color: #fff; }
.um[data-theme="dark"] .btn--soft { color: #fff; }

/* 19. Главная кнопка первого экрана везде тёмная: графит #1B2029, белый текст; при наведении курсора — белая, текст тёмный.
   Главная и все страницы услуг, .ru и .by, телефон и компьютер, светлая и тёмная тема (Дмитрий 22.11).
   Наведение — только где есть курсор (hover: hover): на телефоне после касания кнопка не «залипает» белой */
.um .hero :is(.hero__btns, .hs-btns) .btn--light { background: #1b2029; color: #fff; box-shadow: 0 14px 28px -14px rgb(9 20 12 / .55);
  transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui); }
.um .hero :is(.hero__btns, .hs-btns) .btn--light:focus-visible { background: #fff; color: #1b2029; }
@media (hover: hover) { .um .hero :is(.hero__btns, .hs-btns) .btn--light:hover { background: #fff; color: #1b2029; } }

/* 20. Чаты (Дмитрий 22.11): исходящие сообщения — наш зелёный T #22C55E с белым текстом, а не «болотный»; аватар
   администратора — фото (avatars/ksenia.webp, Unsplash License, см. avatars/CREDITS.md) вместо буквы. Главная и сайт-чат */
.msg--me { background: #22c55e; color: #fff; }
.chat__body .msg--me time { color: rgb(255 255 255 / .85); opacity: 1; }
.chat__ava { overflow: clip; background: #e5e7eb; }
.chat__ava img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 21. Восемь демо (22.11): «Крой» — две колонки, как «Чёлка», но сцена справа (ряд зеркалит первый), «Сезон» — одна.
   Сетка 3 колонки: Чёлка(2)+Штрих / Кардан, Улыбка, Смета / Сезон+Крой(2) / Литейный двор(3) */
@media (min-width: 761px) {
  .case--store { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .case--store .case__scene { order: 2; }
}
.case--store .shot { left: var(--l, 6%); top: var(--t, 10%); width: var(--w, 118%); rotate: 3deg; }
/* меню «Демо»: 8 ниш — 4 колонки по 2 ряда */
.menu__panel--sol { width: min(1000px, calc(100vw - 48px)); grid-template-columns: repeat(4, 1fr); }
/* панель шире пункта меню — центрируем её по шапке (.top), чтобы на 1000–1280 px не уходила за правый край */
.menu__item:has(> .menu__panel--sol) { position: static; }
.menu__panel--sol { left: 50%; margin-left: calc(min(1000px, 100vw - 48px) / -2); }
/* 22. Мобильное меню «Демо» (Дмитрий 22.11: «блоки слабоваты… ярлык демо можно убрать, плитки поинтереснее»):
   сетка 2×4, в плитке — миниатюра демо (тот же снимок, что на компьютере, обрезка сверху) и название, без ярлыка «Демо».
   Шахматка — в порядке самих демо (тёмные и светлые сайты через один, порядок в разметке), а не в фоне плиток.
   Вариант «лента» (1.5 плитки, листается пальцем) — класс .mnav__grid--strip */
.mnav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 2px 12px 14px; }
.mnav .mnav__grid .menu__link { display: flex; flex-direction: column; gap: 9px; padding: 7px 7px 12px; border-radius: 18px; background: var(--card, #fff);
  transition: background-color .15s var(--ease-ui), translate .15s var(--ease-ui); }
.mnav .mnav__grid .menu__link:active { translate: 0 1px; }
.mnav .mnav__grid .menu__link img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 12px;
  box-shadow: 0 8px 18px -10px rgb(0 0 0 / .4); }
.mnav .mnav__grid .menu__link b { padding: 0 5px; font-size: 15px; line-height: 1.2; text-align: left; align-self: stretch; }
.mnav .mnav__grid .menu__link span, .mnav .mnav__grid .menu__tag { display: none; }
.um[data-theme="dark"] .mnav .mnav__grid .menu__link { background: rgb(255 255 255 / .06); }
.mnav__grid.mnav__grid--strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; }
.mnav__grid--strip > .menu__link { scroll-snap-align: start; }
/* строка cookie не закрывает низ открытого меню */
body.nav-open :is(.ckb, .cookie-bar) { display: none !important; }
/* ярлык «Демо» на плитках убран и на компьютере: меню и так называется «Демо» (Дмитрий 22.11: «ярлык демо можно уже убрать») */
.menu__sol .menu__tag { display: none; }

/* ===== legal.css — подвал с реквизитами продавца и строка о cookie (сессия osnova-legal, 22.11). Разметку ставят build_osnova.py: legal_footer() и legal.js ===== */
.foot__row.foot__row--legal { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.foot__req { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 32px; margin-top: 20px; font-size: 12px; line-height: 1.55; color: rgb(255 255 255 / .42); }
.foot__req p { margin: 0; }
.foot__req a { color: inherit; text-decoration: none; transition: color .2s var(--ease-ui); }
.foot__req a:hover { color: rgb(255 255 255 / .85); }
.foot__docs { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 760px) {
  .foot__row.foot__row--legal { flex-direction: column; text-align: center; gap: 12px; }
  .foot__req { flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-top: 18px; }
  .foot__docs { justify-content: center; gap: 4px 16px; }
}

/* строка о cookie: тонкая, слева внизу; кнопка чата справа не перекрывается */
.ckb { position: fixed; z-index: 54; left: 24px; bottom: 24px; max-width: min(460px, calc(100vw - 128px)); display: flex; align-items: center; gap: 14px;
       padding: 8px 8px 8px 16px; border-radius: 999px; background: rgb(12 18 14 / .88); color: rgb(255 255 255 / .82); font: 500 13px/1.35 Manrope, system-ui, sans-serif;
       box-shadow: 0 8px 24px rgb(0 0 0 / .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .25s, translate .25s; }
.ckb p { margin: 0; }
.ckb a { color: #fff; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgb(255 255 255 / .4); }
.ckb__ok { flex: none; border: 0; border-radius: 999px; padding: 7px 16px; background: #fff; color: #0b2214; font: 700 13px/1 Manrope, system-ui, sans-serif; cursor: pointer; }
.ckb__ok:hover { background: rgb(255 255 255 / .85); }
.ckb--out { opacity: 0; translate: 0 8px; }
@media (max-width: 760px) {
  .ckb { left: 12px; right: 84px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); max-width: none; gap: 10px; padding: 6px 6px 6px 14px; font-size: 12px; }
  .ckb__ok { padding: 7px 14px; font-size: 12px; }
}
@media print { .ckb { display: none; } }

/* текстовые страницы основы на телефоне — одно правило (штаб 22.11, Дмитрий: «ушко» наезжает на заголовок, длинные слова не влезают):
   • первый экран без веера и сцены (документы /privacy /consent /requisites, /checklist и подобные): отступ до листа 40 + 80 px,
     «ушко» не касается заголовка;
   • заголовок первого экрана на любой странице: перенос по слогам (lang=ru ставит legal.js) и по символам, если слово всё же не влезет;
   • заголовок документа: кегль от ширины — «конфиденциальности» (≈13,8 кегля) влезает с полями ≥32 px на 320–430 */
@media (max-width: 760px) {
  .igs-osn .hero.hero--svc:not(.hero--stage):not(:has([data-fan])) { padding-bottom: calc(var(--r-sheet) + 80px) !important; }
  .igs-osn .hero .svc-h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
  .igs-osn .hero.hero--doc .svc-h1 { max-width: none; font-size: clamp(16px, 5.6vw, 26px); line-height: 1.1; }
}

/* ===== немецкий контур (de-contour, 22.11): переключатель языка DE · EN · RU в шапке и мобильном меню ===== */
.lng { display: inline-flex; align-items: center; gap: 2px; height: 44px; padding: 0 4px; border-radius: 22px; background: rgb(var(--on) / .14); }
.lng a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 18px; color: inherit; text-decoration: none; font: 700 12px/1 var(--body); letter-spacing: .04em; opacity: .72; transition: background-color .2s var(--ease-ui), opacity .2s var(--ease-ui); }
.lng a:hover { opacity: 1; background: rgb(var(--on) / .16); }
.lng a.on { opacity: 1; background: rgb(var(--on) / .28); }
.lng a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) { .top__act .lng { display: none; } }
.mnav__bar .lng { height: 48px; }
/* баннер согласия DE (osnova/de.js): две равные кнопки на первом уровне (DSK) */
.ckb--de { align-items: center; gap: 12px; }
.ckb--de .ckb__btns { display: flex; gap: 8px; flex: none; }
.ckb--de .ckb__no, .ckb--de .ckb__ok { min-width: 110px; }
@media (max-width: 600px) { .ckb--de { flex-direction: column; align-items: stretch; } .ckb--de .ckb__btns > * { flex: 1; } }
.ckb--de .ckb__no { flex: none; border: 0; border-radius: 999px; padding: 7px 16px; background: #fff; color: #0b2214; font: 700 13px/1 Manrope, system-ui, sans-serif; cursor: pointer; }
.ckb--de .ckb__no:hover { background: rgb(255 255 255 / .85); }
