/* Reception24 — стили сайта. Визуал главной — по утверждённой концепции (Документ №3, кадры concept/),
   токены и типографика — по «Документу №2. ТЗ по стилю». Анимируются только transform, opacity и mask-position. */

/* ---------- Шрифты (локально) ---------- */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/manrope-cyrillic-400.woff2?v=3da51e6209) 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-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-400.woff2?v=e9e0f39310) 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+2190-2193,U+2212,U+2215,U+2248,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/manrope-cyrillic-500.woff2?v=be680487e0) 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-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-500.woff2?v=985ef67ea2) 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+2190-2193,U+2212,U+2215,U+2248,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/manrope-cyrillic-600.woff2?v=8d762aed5c) 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-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-600.woff2?v=89445e91e8) 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+2190-2193,U+2212,U+2215,U+2248,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/manrope-cyrillic-700.woff2?v=38be201e30) 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-weight: 700; font-display: swap; src: url(../fonts/manrope-latin-700.woff2?v=6949b649e6) 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+2190-2193,U+2212,U+2215,U+2248,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/manrope-cyrillic-800.woff2?v=554b76d1f3) 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-weight: 800; font-display: swap; src: url(../fonts/manrope-latin-800.woff2?v=a28e52c55b) 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+2190-2193,U+2212,U+2215,U+2248,U+FEFF,U+FFFD; }
/* Рукописный шрифт для заметок — Caveat 500 (Google Fonts, OFL), кириллица + базовая латиница, один файл */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/caveat-500.woff2?v=313e573325) format('woff2'); }

/* ---------- Токены ---------- */
:root {
  --forest: #132B24;
  --forest-deep: #0E231C; /* плашка «Просьба передана команде» — чуть глубже фона, как на концепции */
  --pine: #1E3B32;
  --cream: #F4F0E7;
  --sand: #EFEADF;
  --sage: #D1D8C4;
  --orange: #E77F40;
  --orange-hover: #D96F31;
  --orange-ink: #AF501C; /* мелкий оранжевый текст на светлом (надзаголовки): ≥ 4.5:1 на --cream */
  --text-2: #5E6862;
  --line: #DED7C8;
  --white: #FFFFFF;
  --peach: #F2A27A;   /* фокус */
  --spark: #F2C28A;   /* тёплые огоньки */
  --night: 10, 22, 18; /* затемнение поверх фото */
  --chat-bg: #F1EDE3;
  --bubble-guest: #DDE5CE;
  --ok-ink: #2E6A45;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-soft: 0 12px 32px rgba(19, 43, 36, .08);
  --shadow-card: 0 10px 30px rgba(19, 43, 36, .07);

  --h1: clamp(32px, 9vw, 38px); --h1-lh: 1.08;
  --h2: 32px; --h2-lh: 1.15;
  --h3: 20px; --h3-lh: 1.3;
  --lead: 17px;
  --body: 16px; --body-lh: 1.55;
  --eyebrow: 12px;
  --small: 13px;
  --btn: 16px; --btn-h: 52px;
  --gutter: 20px;
  --sec: 72px;
  --header-h: 64px;
  --logo-h: 26px;
  --hand: 20px;
}
@media (min-width: 481px) {
  :root { --h1: clamp(38px, 6vw, 52px); --h2: 40px; --h3: 22px; --lead: 18px; --body: 17px; --eyebrow: 13px; --small: 14px; --btn: 17px; --hand: 22px; }
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --sec: 96px; --btn-h: 56px; --header-h: 76px; --logo-h: 30px; }
}
@media (min-width: 1024px) {
  :root { --h1: clamp(40px, 4.1vw, 72px); --h1-lh: 1.05; --h2: 48px; --h2-lh: 1.1; --h3: 24px; --h3-lh: 1.25; --lead: 20px; --body: 18px; --body-lh: 1.6; --eyebrow: 13px; --sec: 112px;
    --header-h: clamp(80px, 7vw, 112px); --logo-h: clamp(30px, 2.9vw, 52px); --hand: clamp(20px, 1.6vw, 30px); }
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--cream); color: var(--forest);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: var(--body); line-height: var(--body-lh); font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
picture { display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--forest); border-radius: 10px; font-weight: 700; transform: translateY(-150%); }
.skip:focus { transform: none; }
.br-d { display: none; }
@media (min-width: 1024px) { .br-d { display: inline; } .br-m { display: none; } }
.c-orange { color: var(--orange); }

h1, h2, h3 { letter-spacing: -.02em; }
h2, .h2 { font-size: var(--h2); line-height: var(--h2-lh); font-weight: 800; }
h3, .h3 { font-size: var(--h3); line-height: var(--h3-lh); font-weight: 700; }
.lead { font-size: var(--lead); line-height: 1.5; font-weight: 500; }
.small { font-size: var(--small); line-height: 1.45; font-weight: 500; }
.muted { color: var(--text-2); }
.measure { max-width: 68ch; }

.container { position: relative; z-index: 1; width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); position: relative; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-forest { background: var(--forest); color: var(--cream); }
.bg-pine { background: var(--pine); color: var(--cream); }
.bg-forest .muted, .bg-pine .muted { color: var(--sage); }

/* Заголовок секции: надзаголовок с короткой линией слева + H2 */
.sec-head { max-width: 820px; margin-bottom: 40px; }
.sec-head .lead { margin-top: 16px; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-size: var(--eyebrow); line-height: 1.4; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 1px; background: var(--orange); flex: none; }
.bg-forest .eyebrow { color: var(--orange); }
.sec-head--split { max-width: none; display: grid; gap: 16px; }
.sec-head__aside { font-size: var(--small); line-height: 1.5; font-weight: 500; color: var(--text-2); max-width: 460px; }
.bg-forest .sec-head__aside { color: var(--sage); }
@media (min-width: 1024px) {
  .sec-head--split { grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
  .sec-head__aside { font-size: 16px; padding-bottom: 6px; max-width: clamp(300px, 30vw, 460px); }
}

/* Иконки (Lucide-спрайт: каждая иконка — отдельный <symbol>, легко заменить) */
.ico { width: 24px; height: 24px; flex: none; }

/* Рукописные заметки (Caveat): --cream на тёмном, --forest на светлом, поворот −4…−8°, рядом тонкая стрелка и сердечко */
.hand { position: absolute; z-index: 3; font-family: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive; font-weight: 500; font-size: var(--hand); line-height: 1.05;
  color: var(--cream); pointer-events: none; transform: rotate(-6deg); text-shadow: 0 1px 10px rgba(10, 22, 18, .55); }
.hand p { margin: 0; }
/* Мягкая «тень-ореол» под заметкой: локальное затемнение фото, чтобы рукописный текст читался (контраст ≥ 4.5:1) */
.hand::before { content: ''; position: absolute; inset: -.9em -1.1em; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--night), .74) 0%, rgba(var(--night), .6) 60%, rgba(var(--night), 0) 100%); }
.hand__arrow { width: 2.4em; height: 2.4em; }
.hand__heart { width: .9em; height: .9em; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 28px; border-radius: 14px;
  font-size: var(--btn); font-weight: 700; line-height: 1.2; text-align: center;
  isolation: isolate; -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease);
}
.btn--pill { border-radius: 999px; }
.btn > * { position: relative; z-index: 2; }
.btn .ico { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn--primary { background: var(--orange); color: var(--forest); box-shadow: 0 6px 16px rgba(19, 43, 36, .16); }
.btn--primary::before { /* цвет ховера (--orange-hover на 85%: так текст --forest держит контраст ≥ 4.5:1) */
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--orange-hover);
  opacity: 0; transition: opacity .2s ease; z-index: 0;
}
.btn--primary::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 16px 36px rgba(19, 43, 36, .22), 0 4px 10px rgba(231, 127, 64, .22); opacity: 0; transition: opacity .25s ease; }
.btn__fx { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 1; }
.btn__shine { position: absolute; top: -20%; bottom: -20%; left: 0; width: 46%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-130%) skewX(-20deg); opacity: 0; }
.btn__glow { position: absolute; left: 0; top: 0; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 214, .55) 0%, rgba(255, 236, 214, 0) 65%); opacity: 0; transition: opacity .25s ease; }
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); }
  .btn--primary:hover::before { opacity: .85; }
  .btn--primary:hover::after { opacity: 1; }
  .btn--primary:hover .btn__glow { opacity: 1; }
  .btn:hover .ico--arrow { transform: translateX(4px); }
  .btn--primary:active { transform: translateY(-2px) scale(.97); }
}
.btn.is-shining .btn__shine { animation: shine .9s var(--ease-io); }
@keyframes shine { 0% { transform: translateX(-130%) skewX(-20deg); opacity: 1; } 100% { transform: translateX(330%) skewX(-20deg); opacity: 1; } }
.btn--ghost-dark { color: var(--cream); }
.btn--ghost-light { color: var(--forest); }
.btn--ghost-dark::before, .btn--ghost-light::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  transform: scaleX(0); transform-origin: left center; transition: transform .2s var(--ease); }
.btn--ghost-dark::before { background: rgba(244, 240, 231, .12); }
.btn--ghost-light::before { background: rgba(19, 43, 36, .07); }
.btn--ghost-dark::after, .btn--ghost-light::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; pointer-events: none; }
.btn--ghost-dark::after { border: 1.5px solid rgba(244, 240, 231, .7); }
.btn--ghost-light::after { border: 1.5px solid var(--forest); }
.btn__ring { position: absolute; inset: -1px; border-radius: inherit; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.btn--ghost-dark .btn__ring { border: 1.5px solid var(--cream); box-shadow: 0 0 14px rgba(244, 240, 231, .25); }
.btn--ghost-light .btn__ring { box-shadow: 0 0 0 3px rgba(19, 43, 36, .12); }
@media (hover: hover) {
  .btn--ghost-dark:hover::before, .btn--ghost-light:hover::before { transform: scaleX(1); }
  .btn--ghost-dark:hover .btn__ring, .btn--ghost-light:hover .btn__ring { opacity: 1; }
}
.btn.is-disabled { opacity: .45; cursor: default; box-shadow: none; pointer-events: none; }
/* SITE-16: «Подключить …» и кнопка окна покупки — по _ref/ref_molniya.jpg. Покой: оранжевая капсула с мягким светом сверху (глянец),
   тёплая тень-свечение снизу, светлый значок. Наведение (на телефоне — касание; класс .is-bolt ставит main.js, boltBtn, ~0,9 с, один раз):
   кнопка приподнимается, свечение под ней сильнее → значок вспыхивает бело-жёлтым с ореолом → 4 искры отлетают и тают (~0,5 с)
   → по кнопке пробегает тонкая полоса света. Нажатие — кнопка вдавливается, свечение сжимается.
   «Уменьшение движения» — без подъёма, искр и полосы, только ярче при наведении. Текст — тёмный, как у остальных кнопок (контраст ≥ 4.5:1) */
.btn--bolt { background: linear-gradient(180deg, #F3965C 0%, #EA8244 50%, #E1733A 100%);
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, .8), inset 0 -3px 8px rgba(170, 70, 18, .2), 0 10px 22px -9px rgba(226, 106, 42, .75), 0 2px 6px rgba(19, 43, 36, .1);
  transition: transform .25s var(--ease), box-shadow .25s ease, filter .25s ease; }
.btn.btn--bolt::before { opacity: 1; background: radial-gradient(90% 70% at 50% 0%, rgba(255, 248, 238, .42) 0%, rgba(255, 248, 238, .12) 55%, rgba(255, 248, 238, 0) 100%); } /* глянец сверху */
.btn.btn--bolt::after { display: none; } /* свечение — собственной тенью кнопки (тень не ложится внутрь кнопки) */
.btn--bolt > .ico { color: #FFFBF4; fill: rgba(255, 250, 240, .38); filter: drop-shadow(0 1px 1px rgba(150, 56, 8, .35)) drop-shadow(0 0 3px rgba(255, 240, 214, .6)); }
.btn--bolt .btn__shine { width: 24%; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 252, 240, .78) 50%, rgba(255, 255, 255, 0) 100%); }
.btn__sparks { position: absolute; z-index: 3; left: 28px; top: 50%; width: 0; height: 0; pointer-events: none; }
.btn__sparks i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; opacity: 0;
  background: #FFFFF4; box-shadow: 0 0 4px 2px rgba(255, 244, 190, 1), 0 0 10px 4px rgba(255, 196, 90, .8); }
.btn__sparks i:nth-child(1) { --sx: -15px; --sy: -24px; }
.btn__sparks i:nth-child(2) { --sx: 14px; --sy: -27px; width: 5px; height: 5px; }
.btn__sparks i:nth-child(3) { --sx: 27px; --sy: -8px; }
.btn__sparks i:nth-child(4) { --sx: -10px; --sy: 22px; width: 5px; height: 5px; }
@media (hover: hover) {
  .btn--bolt:hover { transform: translateY(-2px); }
  .btn.btn--bolt:hover::before { opacity: 1; }
  .btn--bolt:hover { box-shadow: inset 0 1px 0 rgba(255, 238, 220, .85), inset 0 -3px 8px rgba(170, 70, 18, .2),
    0 16px 30px -8px rgba(240, 116, 44, .85), 0 6px 20px rgba(250, 150, 80, .45), 0 2px 6px rgba(19, 43, 36, .1); }
}
.btn--bolt.is-bolt { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 238, 220, .85), inset 0 -3px 8px rgba(170, 70, 18, .2),
  0 16px 30px -8px rgba(240, 116, 44, .85), 0 6px 20px rgba(250, 150, 80, .45), 0 2px 6px rgba(19, 43, 36, .1); }
.btn--bolt.is-bolt > .ico { animation: bolt-flash .62s ease-out .1s both; }
.btn--bolt.is-bolt .btn__sparks i { animation: bolt-spark .5s cubic-bezier(.2, .7, .3, 1) .22s both; }
.btn--bolt.is-bolt .btn__sparks i:nth-child(2) { animation-delay: .26s; }
.btn--bolt.is-bolt .btn__sparks i:nth-child(3) { animation-delay: .24s; }
.btn--bolt.is-bolt .btn__sparks i:nth-child(4) { animation-delay: .29s; }
.btn--bolt.is-bolt .btn__shine { animation: bolt-shine .55s var(--ease-io) .34s both; }
.btn.btn--bolt:active, .btn.btn--bolt.is-bolt:active { transform: translateY(1px) scale(.975); transition-duration: .1s;
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, .6), inset 0 2px 6px rgba(170, 70, 18, .28), 0 4px 10px -6px rgba(226, 106, 42, .7), 0 1px 3px rgba(19, 43, 36, .1); }
@keyframes bolt-flash {
  0% { color: #FFFBF4; fill: rgba(255, 250, 240, .38); filter: drop-shadow(0 1px 1px rgba(150, 56, 8, .35)) drop-shadow(0 0 3px rgba(255, 240, 214, .6)); transform: scale(1); }
  28% { color: #FFFFF6; fill: rgba(255, 240, 170, 1); filter: drop-shadow(0 0 3px rgba(255, 252, 226, 1)) drop-shadow(0 0 8px rgba(255, 214, 110, 1)) drop-shadow(0 0 16px rgba(255, 180, 70, .9)); transform: scale(1.22); }
  60% { color: #FFFBEA; fill: rgba(255, 240, 190, .7); filter: drop-shadow(0 0 2px rgba(255, 246, 214, .9)) drop-shadow(0 0 6px rgba(255, 196, 96, .6)); transform: scale(1.06); }
  100% { color: #FFFBF4; fill: rgba(255, 250, 240, .38); filter: drop-shadow(0 1px 1px rgba(150, 56, 8, .35)) drop-shadow(0 0 3px rgba(255, 240, 214, .6)); transform: scale(1); }
}
@keyframes bolt-shine { /* как shine, но уходит за правый край и гаснет — не остаётся на кнопке */
  0% { transform: translateX(-130%) skewX(-20deg); opacity: 0; }
  12%, 80% { opacity: 1; }
  100% { transform: translateX(440%) skewX(-20deg); opacity: 0; }
}
@keyframes bolt-spark {
  0% { opacity: 0; transform: translate(0, 0) scale(1); }
  12% { opacity: 1; transform: translate(calc(var(--sx) * .2), calc(var(--sy) * .2)) scale(1.1); }
  55% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.35); }
}
@media (prefers-reduced-motion: reduce) {
  .btn.btn--bolt, .btn.btn--bolt:hover, .btn.btn--bolt:active, .btn.btn--bolt.is-bolt { transform: none; transition: filter .2s ease, box-shadow .2s ease; }
  .btn__sparks { display: none; }
  .btn--bolt:hover { filter: brightness(1.06); }
  .btn--bolt:hover > .ico { color: #FFFDF0; fill: rgba(255, 246, 196, .9); filter: drop-shadow(0 0 3px rgba(255, 250, 220, 1)) drop-shadow(0 0 7px rgba(255, 200, 90, .85)); }
  .btn--bolt:active { filter: brightness(.96); }
}

/* ---------- Ссылки ---------- */
.link-u { position: relative; display: inline-block; }
.link-u::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left center; transition: transform .2s var(--ease); }
.link-u:hover::after, .link-u.is-active::after { transform: scaleX(1); }
.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Значки мессенджеров (PNG/WebP, наборы 3d и flat — см. config.js iconStyle) ---------- */
.msgrs { display: flex; flex-wrap: wrap; gap: 12px; }
.msgr { position: relative; display: block; }
.msgr__link { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  transition: transform .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.msgr__link img { width: 100%; height: 100%; position: relative; z-index: 1; }
.msgr__link::before { content: ''; position: absolute; inset: 2px; border-radius: 30%;
  box-shadow: 0 6px 18px var(--brand, rgba(0,0,0,.3)), 0 0 0 4px color-mix(in srgb, var(--brand, #000) 22%, transparent);
  opacity: 0; transition: opacity .2s ease; }
a.msgr__link:hover::before, a.msgr__link:focus-visible::before, button.msgr__link:hover::before, button.msgr__link:focus-visible::before { opacity: 1; }
.msgr__tip { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5;
  padding: 6px 10px; border-radius: 8px; background: var(--white); color: var(--forest);
  font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; pointer-events: none;
  box-shadow: 0 6px 18px rgba(19, 43, 36, .18); opacity: 0; transform: translate(-50%, 4px); transition: opacity .2s ease, transform .2s var(--ease); }
a.msgr__link:hover + .msgr__tip, a.msgr__link:focus-visible + .msgr__tip, button.msgr__link:hover + .msgr__tip, button.msgr__link:focus-visible + .msgr__tip { opacity: 1; transform: translate(-50%, 0); }
@media (hover: hover) { a.msgr__link:hover, button.msgr__link:hover { transform: translateY(-2px); } }
a.msgr__link:active, button.msgr__link:active { transform: scale(.92); transition-duration: .1s; }
span.msgr__link { cursor: default; }
[data-m="telegram"] { --brand: rgba(38, 165, 228, .55); }
[data-m="whatsapp"] { --brand: rgba(37, 211, 102, .55); }
[data-m="max"] { --brand: rgba(79, 91, 255, .55); }
/* Значок веб-приложения — последним в строке: светлый объёмный круг 48 px в стиле набора 3d (кремовый #F4F0E7 с мягким градиентом,
   бликом сверху и тенью), знак r24: «r» тёмно-зелёная, «24» оранжевые (brand/mark-r24-for-light.svg) */
[data-app] { --brand: rgba(231, 127, 64, .55); }
.msgr__link--app { border-radius: 50%;
  background: radial-gradient(circle at 36% 26%, #FFFFFF 0%, #F4F0E7 42%, #E4DCCB 82%, #D6CCB8 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -3px 6px rgba(19, 43, 36, .16), 0 3px 8px rgba(5, 14, 11, .3), 0 1px 2px rgba(5, 14, 11, .2); }
.msgr__link--app::after { content: ''; position: absolute; left: 18%; right: 18%; top: 7%; height: 34%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); }
.msgr__link.msgr__link--app img { width: 62%; height: auto; }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--cream); transition: transform .35s var(--ease); }
.header::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 240, 231, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); box-shadow: 0 4px 20px rgba(19, 43, 36, .06); opacity: 0; transition: opacity .3s ease; }
.header.is-solid { color: var(--forest); }
.header.is-solid::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo { position: relative; display: block; height: var(--logo-h); flex: none; margin-right: auto; }
.header__logo img { height: var(--logo-h); width: auto; transition: opacity .3s ease; }
.header__logo .logo-light { position: absolute; left: 0; top: 0; opacity: 0; }
.header.is-solid .logo-dark { opacity: 0; }
.header.is-solid .logo-light { opacity: 1; }
.nav { display: none; }
.nav ul { display: flex; gap: clamp(24px, 2.6vw, 48px); }
.nav a { font-size: clamp(16px, 1.15vw, 19px); font-weight: 600; padding-block: 10px; }
.header__cta { position: relative; min-height: 46px; padding: 0 22px; font-size: 16px; border-radius: 999px; }
.header__cta::after { box-shadow: 0 10px 24px rgba(19, 43, 36, .2); }
.header__pulse { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--orange); opacity: 0; pointer-events: none; z-index: 0; }
/* Круглая кнопка меню (frame4) */
.burger { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; margin-right: -4px;
  background: rgba(14, 35, 28, .72); border: 1.5px solid rgba(244, 240, 231, .45); color: var(--cream); }
.header.is-solid .burger, .menu-open .burger { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s ease; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: rotate(45deg); background: var(--cream); }
.menu-open .burger span::after { transform: rotate(-45deg); background: var(--cream); }
.mnav { position: fixed; inset: 0 0 auto 0; z-index: 49; padding: calc(var(--header-h) + 12px) var(--gutter) 24px;
  background: var(--cream); color: var(--forest); box-shadow: 0 20px 40px rgba(19, 43, 36, .12);
  transform: translateY(-104%); transition: transform .35s var(--ease); visibility: hidden; }
.menu-open .mnav { transform: none; visibility: visible; }
.menu-open .header { color: var(--forest); }
.menu-open .header::before { opacity: 1; }
.menu-open .header .logo-dark { opacity: 0; }
.menu-open .header .logo-light { opacity: 1; }
.mnav .btn { width: 100%; margin-bottom: 8px; }
.mnav a:not(.btn) { display: block; padding: 14px 0; font-size: 20px; font-weight: 700; border-bottom: 1px solid var(--line); }
.header__cta--top { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .burger, .mnav { display: none; }
  .header__in { gap: clamp(32px, 4vw, 72px); }
  .header--home .header__in { padding-inline: clamp(24px, 5.1vw, 120px); max-width: none; }
  .header__cta--top { display: inline-flex; min-height: clamp(46px, 3.4vw, 60px); padding: 0 clamp(22px, 2vw, 36px); font-size: clamp(16px, 1.15vw, 19px); }
}
.header--solid-always { color: var(--forest); }
.header--solid-always::before { opacity: 1; }
.header--solid-always .logo-dark { opacity: 0; }
.header--solid-always .logo-light { opacity: 1; }
.header--solid-always .burger { background: var(--forest); border-color: var(--forest); }

/* =========================================================
   Блок 1. Первый экран
   ========================================================= */
/* Телефон/планшет (frame4): фото = первый экран; внизу экрана начинается телефон с чатом */
.hero { --peek: 130px; position: relative; z-index: 3; color: var(--cream); background: rgb(var(--night)); }
/* SITE-10: рукописная пометка первого экрана на телефоне выступала за правый край на 5–8 px — документ становился шире экрана
   (горизонтальная прокрутка, шапка и плавающая кнопка сдвигались вправо). Обрезаем только по горизонтали; по вертикали — как было */
@supports (overflow: clip) { .hero { overflow-x: clip; } }
.hero__clip { position: absolute; left: 0; right: 0; top: 0; height: 100vh; height: max(640px, 100svh); overflow: hidden; background: rgb(var(--night)); }
.hero__media { position: absolute; inset: -14px; will-change: transform; }
.hero__zoom { position: absolute; inset: 0; transform-origin: 50% 55%; }
.hero__img, .hero__img img, .hero__off, .hero__off img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img img, .hero__off img { object-fit: cover; object-position: 72% 50%; max-width: none; }
.hero__off { pointer-events: none; display: none; }
.hero.is-away .hero__zoom, .hero.is-away .spark, .hero.is-away .status::after { animation-play-state: paused !important; }
.hero__sparks { position: absolute; left: 0; top: 0; pointer-events: none; display: none; }
/* Затемнение (телефон): сверху — под текст, снизу — под кнопки и значки; яркие блики листвы внизу кадра уходят в тень.
   Слева «хвост» затемнения за подзаголовком — он заходит на стену дома. */
.hero__scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 72% 15% at 22% 45%, rgba(var(--night), .55) 0%, rgba(var(--night), 0) 100%),
    linear-gradient(180deg, rgba(var(--night), .78) 0%, rgba(var(--night), .62) 30%, rgba(var(--night), .30) 46%, rgba(var(--night), 0) 56%),
    linear-gradient(90deg, rgba(var(--night), .55) 0%, rgba(var(--night), .35) 55%, rgba(var(--night), 0) 85%),
    linear-gradient(180deg, rgba(var(--night), 0) 52%, rgba(var(--night), .80) 68%, rgba(var(--night), .94) 86%, rgb(var(--night)) 100%);
}
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px; }
@supports (height: 1svh) { .hero { --peek: clamp(96px, 17svh, 170px); } }
.hero__inner { position: relative; z-index: 2; min-height: calc(max(640px, 100vh) - var(--peek)); min-height: calc(max(640px, 100svh) - var(--peek));
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: calc(var(--header-h) + 18px) var(--gutter) 28px; will-change: transform, opacity; }
.hero__top { position: relative; }
.hero__eyebrow { color: var(--orange); font-size: var(--eyebrow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
  text-shadow: 0 1px 10px rgba(10, 22, 18, .6); }
.hero__title { margin-top: 14px; max-width: 8.1em; font-size: var(--h1); line-height: var(--h1-lh); font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero__line { display: block; }
.hero__line--accent { color: var(--orange); }
.w { display: inline-block; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.intro-full:not(.post-intro) .w { overflow: hidden; } /* маска для слов только на время вступления */
.w > span { display: inline-block; }
.hero__sub { margin-top: 16px; max-width: 300px; font-size: 16px; line-height: 1.55; font-weight: 400; color: rgba(244, 240, 231, .92); text-shadow: 0 1px 14px rgba(10, 22, 18, .6); }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; }
.hero__ctas > div, .hero__ctas .magnet, .hero__ctas .btn { width: 100%; }
.magnet { display: inline-block; will-change: transform; }
.hero__try { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__try-label { font-size: 14px; font-weight: 500; color: var(--cream); text-shadow: 0 1px 10px rgba(10, 22, 18, .6); }
.hero .btn--ghost-dark { text-shadow: 0 1px 10px rgba(10, 22, 18, .4); }
.hero .btn--ghost-dark::after { border-color: rgba(244, 240, 231, .85); }
.scroll-hint { display: none; }
@media (max-height: 700px) and (max-width: 767px) { .hero__inner { gap: 16px; padding-bottom: 18px; } .hero__try { margin-top: 12px; } }
/* Заметка «Больше времени для главного» — справа сверху, стрелка к дому */
.hand--hero-m { right: -4px; top: calc(var(--eyebrow) * 3 + 16px); width: 4.4em; text-align: center; font-size: 19px; }
@media (max-width: 389px) { .hand--hero-m { font-size: 17px; } }
/* До 359 px заметке не хватает места справа от заголовка — она наезжает на «отдыха»; заголовок не уменьшаем, заметку скрываем (SITE-5.1) */
@media (max-width: 359px) { .hand--hero-m { display: none; } }
.hand--hero-m .hand__heart { margin: 2px 0 0 auto; }
.hand--hero-m .hand__arrow { width: 2.2em; height: 2.2em; margin: -4px 0 0 .2em; transform: rotate(8deg); }
@media (min-width: 600px) and (max-width: 1023px), (min-width: 600px) and (orientation: portrait) {
  .hero__top { max-width: 600px; }
  .hero__bottom { width: 100%; max-width: 440px; margin-inline: auto; }
  .hand--hero-m { right: -120px; }
}

/* ---------- Сценарий: телефон + плашка ----------
   Все размеры внутри — в em: 1em = высота телефона / 50, поэтому «скриншот» масштабируется целиком. */
.scenario-wrap { position: relative; z-index: 4; padding: 0 var(--gutter) 40px; margin-top: -2px; }
.scenario { --pw: min(280px, 68vw); --ph: calc(var(--pw) * 2); position: relative; font-size: calc(var(--ph) / 50);
  width: var(--pw); margin-inline: auto; padding-bottom: 7.3em; }
.hand--hero { display: none; }

.phone { --bezel: .55em; --screen-r: 3.1em; position: relative; width: var(--pw); height: var(--ph); border-radius: 3.6em;
  color: var(--forest); transform-style: preserve-3d; will-change: transform; }
.phone::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  box-shadow: 0 3.2em 5em -1.6em rgba(5, 14, 11, .62), 0 1.2em 2.4em -.8em rgba(5, 14, 11, .42), 0 .25em .6em rgba(5, 14, 11, .3); }
/* Рамка — тонкая тёмная, с бликом по грани (frame1). Отдельный слой: можно заменить на PNG-рамку */
.phone__frame { position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, #8a8f92 0%, #3a3e40 14%, #222527 48%, #34383a 86%, #7c8184 100%);
  box-shadow: inset 0 0 0 .05em rgba(255, 255, 255, .25); }
.phone__frame::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: .09em;
  background: linear-gradient(118deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 70%, rgba(255,255,255,.3) 88%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.phone__frame::after { content: ''; position: absolute; inset: .18em; border-radius: 3.42em; background: #060808; }
.phone__btn { position: absolute; width: .22em; border-radius: .12em 0 0 .12em; background: linear-gradient(90deg, #7a7f82, #2a2e30); }
.phone__btn--a { left: -.18em; top: 8.6em; height: 2.2em; }
.phone__btn--v1 { left: -.18em; top: 12.4em; height: 3.8em; }
.phone__btn--v2 { left: -.18em; top: 16.9em; height: 3.8em; }
.phone__btn--p { right: -.18em; top: 13.8em; height: 5.8em; border-radius: 0 .12em .12em 0; background: linear-gradient(270deg, #7a7f82, #2a2e30); }
.phone__screen { position: absolute; inset: var(--bezel); z-index: 1; border-radius: var(--screen-r); overflow: hidden;
  display: flex; flex-direction: column; background: var(--chat-bg); isolation: isolate; }
.phone__island { position: absolute; z-index: 3; left: 50%; top: 1.2em; width: 7em; height: 2em; margin-left: -3.5em; border-radius: 1em; background: #000; }
.phone__island::after { content: ''; position: absolute; right: .6em; top: .55em; width: .9em; height: .9em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a4a 0, #0b0f14 60%); }
.phone__glare { position: absolute; inset: var(--bezel); z-index: 2; border-radius: var(--screen-r); pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 30%); }

/* Экран: чат мессенджера */
.ps-status { flex: none; height: 3.3em; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 1.8em .25em 2.4em; font-size: .98em; font-weight: 700; }
.ps-status__icons { display: flex; gap: .35em; align-items: center; }
.ps-status__icons svg { height: .95em; width: auto; }
.ps-head { flex: none; display: flex; align-items: center; gap: .6em; padding: .55em 1em .7em .7em; border-bottom: .06em solid rgba(19, 43, 36, .1); position: relative; z-index: 1; background: var(--chat-bg); }
.ps-head__back { width: 1.5em; height: 1.5em; color: var(--forest); }
.ps-head__txt { min-width: 0; }
.ps-head__name { display: block; font-size: 1.12em; font-weight: 700; line-height: 1.2; }
.ps-head__sub { display: block; font-size: .85em; font-weight: 500; color: var(--text-2); line-height: 1.3; }
.ps-head__sub.is-typing { color: #2A6E4F; }
.ps-head__more { width: 1.6em; height: 1.6em; margin-left: auto; color: var(--forest); }
.ava { flex: none; width: 2.9em; height: 2.9em; border-radius: 50%; display: grid; place-items: center; }
.ava--bot { background: var(--forest); }
.ava--bot img { width: 66%; height: auto; }
.ava--guest { background: #E9DDC9; color: var(--forest); font-weight: 700; font-size: 1.1em; }
.ps-chat { position: relative; flex: 1; overflow: hidden; }
.ps-list { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: .55em; padding: .9em .8em; will-change: transform; }
.ps-input { flex: none; display: flex; align-items: center; gap: .55em; padding: .55em .75em 4.5em; background: #F7F4EE; border-top: .06em solid rgba(19, 43, 36, .08); position: relative; }
.ps-input__btn { width: 2.5em; height: 2.5em; flex: none; border-radius: 50%; background: var(--white); border: .06em solid rgba(19, 43, 36, .12); display: grid; place-items: center; color: var(--forest); }
.ps-input__btn svg { width: 1.3em; height: 1.3em; }
.ps-input__field { flex: 1; height: 2.5em; border-radius: 1.25em; background: var(--white); border: .06em solid rgba(19, 43, 36, .12); display: flex; align-items: center; padding-left: 1em; font-size: .95em; color: var(--text-2); }
.ps-home { position: absolute; left: 50%; bottom: .7em; width: 8.4em; height: .33em; margin-left: -4.2em; border-radius: .2em; background: rgba(19, 43, 36, .85); }

/* Сообщения */
.pm { position: relative; max-width: 84%; padding: .55em .8em .45em; border-radius: 1.05em; font-size: 1.02em; line-height: 1.32; font-weight: 500; color: var(--forest);
  box-shadow: 0 .07em .14em rgba(19, 43, 36, .1); }
.pm--in { align-self: flex-start; background: var(--white); border-bottom-left-radius: .35em; }
.pm--out { align-self: flex-end; background: var(--bubble-guest); border-bottom-right-radius: .35em; }
.pm__m { float: right; display: inline-flex; align-items: center; gap: .25em; margin: .5em 0 -.2em .8em; font-size: .7em; font-weight: 600; color: rgba(19, 43, 36, .7); line-height: 1; }
.pm__chk { width: 1.45em; height: .85em; color: rgba(19, 43, 36, .45); }
.pm__chk .c2 { opacity: 0; }
.pm.is-read .pm__chk { color: #3E8A58; }
.pm.is-read .pm__chk .c2 { opacity: 1; }
.pm--typing { display: inline-flex; gap: .3em; padding: .85em .95em; }
.pm--typing i { width: .45em; height: .45em; border-radius: 50%; background: rgba(19, 43, 36, .5); }
.pm-card { align-self: flex-start; width: 90%; }
.pm-card__box { background: var(--white); border-radius: 1.05em; overflow: hidden; box-shadow: 0 .07em .14em rgba(19, 43, 36, .1); }
.pm-card picture, .pm-card img { display: block; width: 100%; aspect-ratio: 1.76; object-fit: cover; object-position: 50% 50%; height: auto; }
.pm-card__body { position: relative; display: block; padding: .7em 2.6em .75em .95em; }
.pm-card__body b { display: block; font-size: 1.15em; font-weight: 700; line-height: 1.25; }
.pm-card__body span { display: block; margin-top: .15em; font-size: .9em; color: var(--text-2); font-weight: 500; }
.pm-card__body svg { position: absolute; right: .8em; top: 50%; width: 1.35em; height: 1.35em; margin-top: -.68em; color: var(--forest); }
.pm-card__time { display: block; text-align: right; margin-top: .35em; padding-right: .3em; font-size: .72em; font-weight: 600; color: rgba(19, 43, 36, .7); }

/* Плашка «Просьба передана команде» — заходит на нижний край телефона */
.req-badge { position: absolute; z-index: 5; left: 50%; top: 45.2em; width: min(39em, calc(100vw - 2 * var(--gutter))); transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.1em; min-height: 7.05em; padding: .9em 1.3em .9em 1.4em;
  background: var(--forest-deep); color: var(--cream); border-radius: 1.4em; border: .08em solid rgba(209, 216, 196, .28);
  box-shadow: 0 1.8em 3.4em -1em rgba(5, 14, 11, .6), 0 .4em 1em rgba(5, 14, 11, .32); }
.req-badge__ico { width: 3.3em; height: 3.3em; flex: none; color: var(--orange); stroke-width: 1.5; }
.req-badge__txt { min-width: 0; }
.req-badge__txt b { display: block; font-size: 1.42em; font-weight: 700; line-height: 1.25; }
.req-badge__txt span { display: block; margin-top: .15em; font-size: 1.22em; color: var(--sage); font-weight: 500; line-height: 1.3; }
.req-badge .status { margin-left: auto; font-size: 1.22em; padding: .5em 1.15em; }

/* Статус-плашки */
.status { position: relative; display: inline-flex; align-items: center; flex: none; padding: 4px 11px; border-radius: 999px; overflow: hidden;
  font-size: 12.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.status--ok { background: var(--sage); color: var(--forest); }
.status--new { background: #FBE2D1; color: #A3481A; }
.status--work { background: #F8EAD9; color: #95511F; }
.status--done { background: #E1EBDD; color: var(--ok-ink); }
.req-badge .status--new { background: var(--orange); color: var(--forest); }
.status::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.7), rgba(255,255,255,0)); transform: translateX(-160%) skewX(-20deg); }
.status:not(.status--ok)::after { display: none; }

/* --- Первый экран: компьютер (альбомная ориентация, ≥1024) — frame1 ---
   Пропорции сняты с кадра: поля 5,1% ширины; телефон шириной 0,336 высоты экрана (но не шире 20,5vw), соотношение 1:2;
   плашка начинается на 0,904 высоты телефона; заметка справа от телефона; всё целиком внутри первого экрана. */
@media (min-width: 1024px) and (orientation: landscape) {
  .hero {
    --hh: clamp(600px, 100svh, 1080px);
    --side: clamp(24px, 5.1vw, 120px);
    --pw: min(calc(var(--hh) * .336), 20.5vw);
    --ph: calc(var(--pw) * 2);
    --tmax: calc(100vw - 2 * var(--side) - 1.37 * var(--pw) - 32px);
    height: 100vh; height: var(--hh);
  }
  .hero__clip { bottom: 0; height: auto; }
  .hero__img img, .hero__off img { object-position: 0% 50%; }
  .hero__sparks { display: block; }
  /* Затемнение мягкое слева под текстом, без резкой границы; снизу лёгкое, без растворения в светлый */
  .hero__scrim {
    background:
      radial-gradient(ellipse 60% 70% at 18% 52%, rgba(var(--night), .42) 0%, rgba(var(--night), 0) 100%),
      linear-gradient(90deg, rgba(var(--night), .74) 0%, rgba(var(--night), .56) 26%, rgba(var(--night), .22) 46%, rgba(var(--night), 0) 62%),
      linear-gradient(180deg, rgba(var(--night), .55) 0, rgba(var(--night), 0) 180px),
      linear-gradient(0deg, rgba(var(--night), .40) 0%, rgba(var(--night), 0) 22%);
  }
  .hero__inner { min-height: 0; height: 100%; justify-content: center; gap: 0; padding: calc(var(--header-h) + 8px) 24px 24px var(--side); }
  .hero__top, .hero__bottom { max-width: min(760px, var(--tmax)); }
  .hero__eyebrow { font-size: clamp(12px, .95vw, 17px); text-shadow: none; }
  .hero__title { max-width: none; font-size: min(var(--h1), calc(var(--tmax) / 12.3)); margin-top: .3em; }
  .hero__line { white-space: nowrap; }
  .hero__sub { max-width: min(640px, var(--tmax)); margin-top: .9em; font-size: clamp(18px, 1.45vw, 26px); line-height: 1.45; text-shadow: none; }
  .hero__bottom { margin-top: clamp(28px, 3.6vh, 44px); }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; gap: clamp(14px, 1.2vw, 22px); }
  .hero__ctas > div, .hero__ctas .magnet, .hero__ctas .btn { width: auto; }
  .hero__ctas .btn { min-height: clamp(52px, 3.9vw, 70px); padding-inline: clamp(28px, 2.6vw, 44px); font-size: clamp(16px, 1.2vw, 21px); }
  .hero__try { margin-top: clamp(22px, 3vh, 36px); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px clamp(16px, 2vw, 40px); }
  .hero__try-label { font-size: clamp(14px, 1.05vw, 18px); text-shadow: none; }
  .hero .btn--ghost-dark { text-shadow: none; }
  .hand--hero-m { display: none; }
  .scroll-hint { display: block; position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 2px; height: 40px; margin-left: -1px; pointer-events: none; transition: opacity .4s ease; }
  .scroll-hint::before { content: ''; position: absolute; inset: 0; border-radius: 1px; background: rgba(244, 240, 231, .3); }
  .scroll-hint::after { content: ''; position: absolute; left: -2px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--cream); }
  .scroll-hint.is-gone { opacity: 0; }

  .scenario-wrap { position: absolute; z-index: 4; padding: 0; margin: 0; right: calc(var(--side) + .37 * var(--pw));
    top: max(calc(var(--header-h) + 10px), calc((var(--hh) - var(--ph) * 1.045) / 2 + var(--hh) * .02)); }
  .scenario { --pw: inherit; --ph: inherit; width: var(--pw); margin: 0; padding: 0; height: calc(var(--ph) * 1.045); }
  .req-badge { left: -5.6em; width: 39em; transform: none; }
  .hand--hero { display: block; left: calc(100% + .9em); top: 4.2em; width: 4.4em; font-size: 1.9em; text-align: left; transform: rotate(-8deg); }
  .hand--hero .hand__arrow { width: 2.3em; height: 2.3em; margin: .3em 0 0 .3em; transform: rotate(10deg); }
}
@supports not (height: 1svh) {
  @media (min-width: 1024px) and (orientation: landscape) { .hero { --hh: clamp(600px, 100vh, 1080px); } }
}

/* Огоньки */
.spark { position: absolute; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%;
  background: var(--spark); box-shadow: 0 0 6px 2px rgba(242, 194, 138, .55); opacity: 0; will-change: transform, opacity; }

/* ---------- Появление при прокрутке ---------- */
@keyframes rv-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Карточки ---------- */
.card { position: relative; background: var(--white); border: 1px solid rgba(222, 215, 200, .7); border-radius: 20px; padding: 28px;
  box-shadow: var(--shadow-card); transition: transform .3s var(--ease); }
.card::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 16px 40px rgba(19, 43, 36, .12); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
@media (hover: hover) {
  .card--hover:hover { transform: translateY(-4px); }
  .card--hover:hover::after { opacity: 1; }
  .card--hover:hover .role__ico, .card--hover:hover .sq, .own-card:hover .ico, .pain:hover .ico { transform: scale(1.06) rotate(3deg); }
}

/* ---------- Папоротники по краям секций (frame2/frame3): заходят за край экрана, слегка размыты (только blur, без цветокоррекции),
   лежат под содержимым и не перекрывают текст и кнопки: рядом с текстом видимая часть не шире свободного поля
   (--free = поле до контента − 12px), остальные стоят за непрозрачными карточками. На телефоне — меньше и только два. ---------- */
.ferns { --free: calc(max(var(--gutter), (100vw - 1240px) / 2) - 12px); --fade: 44px; position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%); }
@media (min-width: 1024px) { .ferns { --fade: 96px; } }
.fern { position: absolute; display: none; filter: blur(1.5px); }
.fern img { width: 100%; height: auto; }
.bg-forest .fern { filter: blur(3px); opacity: .5; }
/* Телефон: два папоротника — под карточкой калькулятора и под последней карточкой блока 7 */
.fern--calc-a { display: block; width: 130px; left: -46px; bottom: -36px; transform: rotate(18deg); }
.fern--scope-b { display: block; width: 120px; right: -40px; bottom: -40px; transform: rotate(-22deg); }
@media (min-width: 1024px) {
  .fern { display: block; }
  .fern--how-a { width: 320px; right: -110px; top: 60px; }
  .fern--how-b { width: 300px; right: -70px; bottom: -150px; transform: rotate(160deg); }
  .fern--feat { width: 220px; right: -80px; bottom: -50px; transform: rotate(-30deg); }
  .fern--types-a { width: 300px; right: -110px; bottom: -40px; transform: rotate(-12deg); }
  .fern--types-b { width: 150px; left: -40px; bottom: -80px; transform: rotate(18deg); }
  .fern--calc-a { width: 190px; left: calc(var(--free) - 190px); bottom: -40px; transform: rotate(14deg); }
  .fern--calc-b { width: 250px; right: -90px; bottom: -80px; transform: rotate(-24deg); }
  .fern--scope-a { width: 300px; left: -130px; top: 230px; transform: rotate(16deg); }
  .fern--scope-b { width: 230px; right: -90px; bottom: -50px; transform: rotate(-20deg); }
  .fern--launch { width: 220px; left: -90px; top: -215px; transform: rotate(40deg); }
  .fern--other { width: 170px; left: calc(var(--free) - 170px); top: -30px; transform: rotate(20deg); }
}

/* ---------- Блок 2. Знакомая картина (frame2) ---------- */
.pains-sec { overflow: hidden; padding-bottom: 0; display: flex; flex-direction: column; }
.pains-sec > .pains-photo { order: 2; }
.pains-photo { position: relative; height: 62vw; max-height: 420px; margin-top: 32px; }
.pains-photo picture, .pains-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.pains-photo picture { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
.pains-in { position: relative; }
.pains { display: grid; gap: 14px; }
.pain { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 26px rgba(19, 43, 36, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .3s var(--ease); }
.pain .ico { width: 30px; height: 30px; color: var(--orange); transition: transform .3s var(--ease); }
.pain p { font-size: 16px; line-height: 1.5; }
@media (hover: hover) { .pain:hover { transform: translateY(-3px); } }
.pains-total { margin-top: 28px; font-size: 22px; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; max-width: 620px; }
.hand--pains { right: 6vw; bottom: 64px; width: 7em; text-align: center; transform: rotate(-7deg); }
.hand--pains .hand__heart { margin: .25em auto 0; }
@media (min-width: 768px) { .pains { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) {
  .pains-sec { padding-bottom: var(--sec); display: block; }
  /* фото справа начинается за итоговой фразой (она целиком на светлом), карточки заходят на растворённый край фото */
  .pains-photo { position: absolute; top: 0; right: 0; bottom: 0; left: calc(max(var(--gutter), (100vw - 1240px) / 2) + 600px); width: auto; height: auto; max-height: none; margin: 0; }
  .pains-photo picture { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 34%); }
  .pains-photo img { object-position: 60% 50%; }
  .pains-in > * { max-width: 760px; }
  .pains-in .sec-head { margin-bottom: 28px; }
  .pain { min-height: 112px; align-items: center; }
  .pains-total { font-size: 26px; margin-top: 32px; max-width: 580px; }
  .hand--pains { right: clamp(32px, 6vw, 120px); top: 26%; bottom: auto; width: 6.5em; }
}

/* ---------- Блок 3. Одна просьба — понятный путь (frame2, тёмный) ----------
   Телефон (<1024): шаги, под каждым — его реплика или карточка. Компьютер без закрепления (низкое окно, «уменьшение движения»):
   шаги слева, справа телефон с полным сценарием. Компьютер с закреплением (.is-pinned, включает main.js): см. ниже. */
.how-sec { overflow: visible; }
.how-sticky { position: relative; }
.how { display: grid; gap: 40px; }
.how__main .sec-head { margin-bottom: 28px; }
.steps-wrap { position: relative; }
.steps__bar { display: none; }
.steps { display: grid; gap: 6px; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 10px 0; }
.step__go { position: absolute; inset: 0; z-index: 2; border-radius: 14px; cursor: pointer; }
.step__num { width: 52px; height: 52px; border-radius: 50%; background: rgba(209, 216, 196, .12); color: var(--cream); display: grid; place-items: center;
  font-weight: 700; font-size: 17px; letter-spacing: .02em; transition: transform .35s var(--ease), background-color .35s ease, color .35s ease; }
.step.is-active .step__num { transform: scale(1.08); background: rgba(209, 216, 196, .24); }
.step__t { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--cream); }
/* только описание шага: пузыри и карточка в .step__mini — тоже <p>, им нужен свой (тёмный) цвет, SITE-5.1 */
.step__t + p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--sage); }
.step__mini { display: none; }
.how__foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.how-after:empty { display: none; }
.how__stage { display: none; position: relative; }
.phone--how { --pw: min(300px, 74vw); --ph: calc(var(--pw) * 2); font-size: calc(var(--ph) / 50); }
.phone--how .ps-list { gap: .9em; padding: 1em .8em; }
.phone--how .ps-input { padding-bottom: 2.4em; }
.hm { display: flex; align-items: flex-end; gap: .55em; }
.hm .ava { width: 2.6em; height: 2.6em; }
.hm .pm { max-width: 80%; font-size: .98em; }
.pm--white { background: var(--white); border-bottom-left-radius: .35em; }
.pm--green { background: var(--bubble-guest); border-bottom-left-radius: .35em; }
.pm__slots { margin: .35em 0 .35em .2em; }
.pm__slots li { position: relative; padding-left: .95em; }
.pm__slots li::before { content: ''; position: absolute; left: .15em; top: .58em; width: .32em; height: .32em; border-radius: 50%; background: currentColor; }
.staff-card { width: min(290px, 100%); padding: 18px; border-radius: 18px; background: var(--white); color: var(--forest); box-shadow: 0 24px 48px rgba(0, 0, 0, .28); }
.staff-card__title { font-size: 15px; font-weight: 700; }
.staff-card__row { display: flex; gap: 12px; align-items: flex-start; margin-top: 8px; }
.staff-card__ico { width: 40px; height: 40px; flex: none; color: var(--orange); stroke-width: 1.4; }
.staff-card__row b { display: block; font-size: 17px; font-weight: 700; }
.staff-card__row span { display: block; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.staff-card__btn { display: grid; place-items: center; margin-top: 14px; min-height: 42px; border-radius: 999px; background: var(--orange); color: var(--forest); font-weight: 700; font-size: 15px; }
.staff-card__ok { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #E3ECDF; font-size: 13px; line-height: 1.4; color: var(--ok-ink); }
.staff-card__ok svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.staff-card__ok b { font-weight: 700; }
.hand--how { display: none; }
.hand--how .hand__arrow { transform: rotate(135deg); margin: 0 0 .1em 1.6em; }
/* Телефон и планшет: компактная реплика/карточка под каждым шагом */
@media (max-width: 1023px) {
  .step__mini { display: grid; gap: 10px; justify-items: start; margin-top: 12px; font-size: 13px; }
  .step__mini .hm { width: 100%; }
  .step__mini .hm .pm { max-width: 88%; }
  .step__mini .ava { width: 2.4em; height: 2.4em; }
  .staff-card--mini { width: 100%; max-width: 300px; padding: 14px 16px; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
  .staff-card--mini .staff-card__ico { width: 32px; height: 32px; }
  .staff-card--mini .staff-card__btn { min-height: 36px; margin-top: 10px; }
}
/* Компьютер без закрепления: телефон с полным сценарием справа */
@media (min-width: 1024px) {
  .how { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 4vw, 64px); align-items: start; }
  .how__stage { display: flex; align-items: flex-start; gap: clamp(16px, 1.6vw, 28px); }
  .phone--how { --pw: clamp(250px, 25vw, 372px); }
  .how__side { display: flex; flex-direction: column; align-items: center; gap: 18px; width: clamp(220px, 18.5vw, 290px); margin-top: clamp(80px, 9vw, 140px); }
  .how__side .staff-card { width: 100%; }
  .hand--how { display: block; position: relative; text-shadow: none; }
}

/* ---- Закрепление (≥1024 × ≥640, без «уменьшения движения»; класс .is-pinned ставит main.js) ----
   Обёртка .how-pin: 100svh + 5 шагов × 30vh + 15vh запаса. Внутри .how-sticky: sticky, top 0, высота 100svh.
   Сверху отступ на высоту шапки (она появляется при прокрутке вверх), снизу 24px. */
.how-sec.is-pinned { padding-top: 0; }
.is-pinned .how-pin { height: calc(265vh); height: calc(100svh + 165vh); } /* 100svh + 5 шагов × 30vh + 15vh запаса */
.is-pinned .how-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 16px) 0 24px; }
.is-pinned .how { align-items: center; width: 100%; }
.is-pinned .how__main .sec-head { margin-bottom: 18px; }
.is-pinned .how__main h2 { font-size: clamp(34px, 3.2vw, 48px); }
.is-pinned .how__main .lead { margin-top: 10px; font-size: 18px; }
.is-pinned .steps-wrap { padding-left: 24px; }
.is-pinned .steps__bar { display: block; position: absolute; left: 0; top: var(--bar-top, 20px); height: var(--bar-h, 80%); width: 3px; border-radius: 2px; background: rgba(209, 216, 196, .2); }
.steps__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--orange); transform-origin: 50% 0; transform: scaleY(0); }
.is-pinned .steps { gap: 2px; }
.is-pinned .step { grid-template-columns: 42px 1fr; gap: 14px; padding: 6px 0; }
.is-pinned .step__num { width: 42px; height: 42px; font-size: 15px; }
.is-pinned .step.is-active .step__num { background: var(--orange); color: var(--forest); }
.is-pinned .step__t { font-size: 18px; line-height: 1.25; }
.is-pinned .step:not(.is-active) .step__t { color: var(--sage); }
.is-pinned .step__t + p { margin-top: 2px; font-size: 14px; line-height: 1.4; }
.is-pinned .step:not(.is-active) .step__t + p { color: rgba(209, 216, 196, .78); }
.is-pinned .how__foot { margin-top: 16px; }
.is-pinned .how-after { padding-top: 32px; }
.is-pinned .how-after .lead { margin-bottom: 16px; }
.is-pinned .how-after .how__foot { margin-top: 0; }
.is-pinned .how__stage { align-items: center; }
.is-pinned .phone--how { --ph: min(calc(100vh - var(--header-h) - 48px), 78vh, 640px); --pw: calc(var(--ph) / 2); }
@supports (height: 1svh) { .is-pinned .phone--how { --ph: min(calc(100svh - var(--header-h) - 48px), 78svh, 640px); } }
.is-pinned .how__side { margin-top: 0; }
#how.is-pinned { scroll-margin-top: calc(-1 * (var(--header-h) + 16px)); }
@media (hover: hover) { .is-pinned .step:hover .step__num { transform: scale(1.08); } }

/* ---- Вид 'photos' (?how=photos или howStyle: 'photos'; класс .how-sec--photos ставит main.js) — только с закреплением ----
   В закреплённом слое — 5 фото шагов во весь блок, активное проявляется
   за 0,7 с с медленным приближением 1,06 → 1; поверх — вуаль цвета фона блока (82 %), виньетка и затемнение под колонкой текста
   (контраст проверен по пикселям каждого фото, REPORT_SITE-4A.md). Края фото растворяются в фон секции сверху и снизу.
   Без закрепления (телефон, низкое окно, «уменьшение движения») — классический вид. */
.how-photos, .how-num, .how-hint, .how-skip { display: none; }
.how-sec--photos.is-pinned .ferns { display: none; }
.how-sec--photos.is-pinned .how-sticky { overflow: hidden; }
.how-sec--photos.is-pinned .how-photos { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.how-photo, .how-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.how-photo img { object-fit: cover; object-position: 50% 50%; max-width: none; }
.how-photo { opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 2.6s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.how-photo.is-on { opacity: 1; transform: none; }
.how-veil { position: absolute; inset: 0;
  background: radial-gradient(70% 80% at 62% 50%, rgba(19, 43, 36, 0) 40%, rgba(19, 43, 36, .55) 100%),
              linear-gradient(90deg, rgba(19, 43, 36, .45) 0%, rgba(19, 43, 36, .45) 30%, rgba(19, 43, 36, 0) 58%),
              rgba(19, 43, 36, .82); }
.how-sec--photos.is-pinned .how { position: relative; z-index: 1; }
.how-sec--photos.is-pinned .eyebrow { color: var(--peach); } /* оранжевый мелкий текст поверх фото не держит 4,5:1 — персиковый держит */
/* ---- Оба вида с закреплением: крупная цифра шага, подсказка «Листайте», «Пропустить сценарий» ---- */
/* Крупная полупрозрачная цифра шага — слева внизу, меняется плавно */
.how-sec.is-pinned .how-num { display: block; position: absolute; z-index: 0; left: max(var(--gutter), calc((100vw - 1240px) / 2));
  bottom: 6px; width: 2.2em; height: .82em; font-size: clamp(110px, 11vw, 210px); font-weight: 800; line-height: .82; letter-spacing: -.05em;
  color: rgba(244, 240, 231, .08); pointer-events: none; font-variant-numeric: tabular-nums; }
.how-num span { position: absolute; left: 0; bottom: 0; opacity: 0; transform: translateY(.08em); transition: opacity .6s ease, transform .6s var(--ease); }
.how-num span.is-on { opacity: 1; transform: none; }
/* Подсказка на шагах 1–2: «Листайте — сценарий по шагам» + мышка; один раз за сессию */
.how-sec.is-pinned .how-hint { display: flex; position: absolute; z-index: 2; left: 50%; bottom: 10px; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(14, 35, 28, .66); border: 1px solid rgba(244, 240, 231, .18);
  color: var(--cream); font-size: 14px; font-weight: 600; line-height: 1.3; white-space: nowrap; pointer-events: none;
  transform: translateX(-50%); transition: opacity .45s ease, transform .45s var(--ease); }
.how-hint.is-gone { opacity: 0; transform: translate(-50%, 8px); }
.how-hint__mouse { position: relative; width: 16px; height: 24px; flex: none; border: 1.5px solid currentColor; border-radius: 8px; }
.how-hint__mouse::after { content: ''; position: absolute; left: 50%; top: 4px; width: 2px; height: 5px; margin-left: -1px; border-radius: 1px; background: currentColor; }
/* «Пропустить сценарий ↓» — справа вверху */
.how-sec.is-pinned .how-skip:not([hidden]) { display: inline-flex; position: absolute; z-index: 3; top: calc(var(--header-h) + 12px);
  right: max(var(--gutter), calc((100vw - 1240px) / 2)); align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; background: rgba(14, 35, 28, .6); border: 1px solid rgba(244, 240, 231, .3); color: var(--cream);
  font-size: 14px; font-weight: 600; transition: background-color .2s ease, transform .2s var(--ease); }
.how-skip span { font-size: 16px; line-height: 1; }
@media (hover: hover) { .how-skip:hover { background-color: rgba(30, 59, 50, .9); transform: translateY(-1px); } }

/* ---------- Блок 4. Три роли (frame2) ---------- */
.feat-sec { overflow: hidden; }
.h2-one { font-size: clamp(28px, 7.4vw, 32px); }
@media (min-width: 481px) { .h2-one { font-size: 36px; } }
@media (min-width: 1024px) { .feat-sec .sec-head { max-width: none; } .h2-one { font-size: clamp(32px, 3.2vw, 46px); } }
.roles { display: grid; gap: 20px; }
.role { display: flex; flex-direction: column; gap: 20px; padding: 24px; background: #FBFAF6; }
.role__head { display: flex; gap: 14px; align-items: flex-start; }
.role__ico { width: 34px; height: 34px; color: var(--forest); transition: transform .3s var(--ease); }
.role__head h3 { font-size: 22px; }
.role__head p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.role__ill { margin-top: auto; background: var(--white); border-radius: 14px; padding: 14px; box-shadow: 0 6px 20px rgba(19, 43, 36, .06); }
.menu-list { display: grid; gap: 8px; }
.menu-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--cream); font-size: 15px; font-weight: 600; }
.menu-list .ico { width: 22px; height: 22px; color: var(--orange); }
.menu-list .menu-list__chev { margin-left: auto; width: 18px; height: 18px; color: var(--forest); }
.req-list li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.req-list li:last-child { border-bottom: 0; }
.req-list .ico { width: 22px; height: 22px; color: var(--orange); }
.req-list b { font-weight: 700; }
.req-list .sep { color: var(--text-2); }
.req-list__sub { color: var(--text-2); }
.req-list .status { margin-left: auto; }
.stats__title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.stats__title .ico { width: 18px; height: 18px; }
.bar { display: grid; grid-template-columns: 112px 1fr 38px; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; }
.bar > span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: 600; }
.bar__track { height: 10px; border-radius: 5px; background: var(--sand); overflow: hidden; }
.bar__fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--orange); transform-origin: left center; transform: scaleX(calc(var(--v) / .42 * .85)); }
.stats__cap { margin-top: 10px; font-size: 13px; color: var(--text-2); font-weight: 500; }
@media (min-width: 768px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .roles { grid-template-columns: repeat(3, 1fr); gap: 24px; } .role { padding: 28px; } }

/* ---------- Фото-полосы ---------- */
.strip { position: relative; overflow: hidden; height: clamp(170px, 46vw, 320px); background: var(--forest); color: var(--cream); }
.strip picture, .strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip--tents img { object-position: 50% 58%; }
/* Затемнение слева — под фразой (контраст ≥ 4.5:1 посчитан по пикселям фото, REPORT_SITE-4C.md) */
.strip::before { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(var(--night), .86) 0%, rgba(var(--night), .72) 50%, rgba(var(--night), 0) 80%),
              linear-gradient(0deg, rgba(var(--night), .35) 0%, rgba(var(--night), 0) 40%); }
@media (min-width: 1024px) {
  .strip::before { background: linear-gradient(90deg, rgba(var(--night), .82) 0%, rgba(var(--night), .6) 30%, rgba(var(--night), .25) 45%, rgba(var(--night), 0) 60%),
                                linear-gradient(0deg, rgba(var(--night), .35) 0%, rgba(var(--night), 0) 40%); }
}
/* Полоса с шатрами: слева «БОЛЬШЕ ВРЕМЕНИ НА ГОСТЕЙ —» разрядкой (компьютер — по вертикальному центру, телефон — сверху слева),
   справа отдельно рукописное «Счастливые гости / возвращаются ♡» на тёмной воде под настилом (компьютер: центр 57 % × 80 %;
   телефон: 70 % × 79 % + мягкое затемнение в правом нижнем углу). Под подписью — ореол, как под заметками.
   Контраст ≥ 4.5:1 посчитан по пикселям фото (REPORT_SITE-4D.md). */
.strip__in { position: relative; z-index: 2; height: 100%; }
.strip__cap { position: absolute; left: var(--gutter); top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; line-height: 1.7; text-shadow: 0 1px 10px rgba(10, 22, 18, .6); }
.strip__cap::before { content: ''; position: absolute; inset: -14px -18px; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--night), .74) 0%, rgba(var(--night), .6) 60%, rgba(var(--night), 0) 100%); }
.strip::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 90% at 100% 100%, rgba(var(--night), .72) 0%, rgba(var(--night), .5) 55%, rgba(var(--night), 0) 100%); }
.hand--strip { left: 70%; top: 79%; font-size: 20px; text-align: center; white-space: nowrap; transform: translate(-50%, -50%) rotate(-6deg); }
.hand--strip .hand__heart { display: inline-block; vertical-align: -.1em; margin-left: .15em; }
@media (min-width: 481px) { .hand--strip { font-size: 22px; } }
@media (min-width: 1024px) {
  .strip { height: clamp(190px, 13.3vw, 300px); }
  .strip::after { display: none; }
  .strip__cap { top: 50%; transform: translateY(-50%); max-width: 12em; font-size: 15px; } /* 3 строки: БОЛЬШЕ / ВРЕМЕНИ НА / ГОСТЕЙ — */
  .hand--strip { left: 57%; top: 80%; font-size: var(--hand); }
}

/* ---------- Блок 5. Под ваш объект (frame2, тёмный) ---------- */
.types-sec { overflow: hidden; }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.tab { position: relative; z-index: 1; min-height: 46px; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.25;
  color: var(--cream); border: 1.5px solid rgba(244, 240, 231, .3); background: transparent; transition: color .2s ease, border-color .2s ease; }
.tab[aria-selected="true"] { color: var(--forest); border-color: transparent; font-weight: 700; }
.tabs__ind { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--orange); transform-origin: left center; pointer-events: none; }
html:not(.js) .tab[aria-selected="true"] { background: var(--orange); }
.tabpanel { display: grid; gap: 22px; padding: 12px; border-radius: 20px; background: var(--cream); color: var(--forest); box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.tabpanel.is-entering .tabpanel__txt { animation: tab-in .3s var(--ease) backwards; }
@keyframes tab-in { from { opacity: 0; transform: translateY(8px); } }
.tabpanel__ph { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; }
.tabpanel__ph picture, .tabpanel__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tabpanel__ph .ph-ghost { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.checks--sm { margin-top: 16px; }
.checks--sm li { font-size: 15px; line-height: 1.4; font-weight: 600; padding-left: 32px; }
.checks--sm li + li { margin-top: 9px; }
.checks--sm li::before { top: -1px; }
.tabpanel__txt { padding: 4px 10px 14px; }
.tabpanel__txt h3 { font-size: 22px; }
.tabpanel__txt p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--text-2); font-weight: 500; }
.tabpanel .btn { margin-top: 24px; }
@media (min-width: 768px) { .tabs { grid-template-columns: repeat(4, 1fr); } .tab { font-size: 15px; } }
@media (min-width: 1024px) {
  .tabpanel { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: 36px; padding: 16px; }
  .tabpanel__ph { aspect-ratio: 16 / 8.6; }
  .tabpanel__txt { padding: 8px 28px 8px 0; }
  .tabpanel__txt h3 { font-size: 26px; }
  .tabpanel__txt p { font-size: 17px; }
}

/* ---------- Блок 6. Калькулятор (frame2, светлый фон, белая карточка) ---------- */
.calc-sec { overflow: hidden; }
.calc-grid { display: grid; gap: 28px; }
.calc { position: relative; display: grid; gap: 28px; background: var(--white); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-card); border: 1px solid rgba(222, 215, 200, .7); }
.calc__fields { display: grid; gap: 20px; }
.rng label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.rng__row { display: flex; align-items: center; gap: 16px; }
.num { width: 78px; height: 40px; flex: none; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--cream); color: var(--forest); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.num-wrap { position: relative; flex: none; }
.num-wrap--pct .num { padding-right: 26px; }
.num-wrap--pct::after { content: '%'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-weight: 700; pointer-events: none; }
.num:focus { border-color: var(--orange); outline: none; }
.num:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.rng input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 28px; background: transparent; margin: 0; cursor: pointer; }
.rng input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--orange) 0 var(--p, 50%), var(--sand) var(--p, 50%) 100%); }
.rng input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--sand); }
.rng input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--orange); }
.rng input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--orange); border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(19, 43, 36, .3); transition: transform .15s var(--ease); }
.rng input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(19, 43, 36, .3); transition: transform .15s var(--ease); }
.rng input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.3); }
.rng input[type="range"]:active::-moz-range-thumb { transform: scale(1.3); }
.seg { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 15px; position: relative; isolation: isolate; }
.seg span::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--forest); opacity: 0; transform: scale(.94); transition: opacity .2s ease, transform .2s var(--ease); z-index: -1; }
.seg input:checked + span { color: var(--cream); }
.seg input:checked + span::before { opacity: 1; transform: none; }
.seg input:focus-visible + span { outline: 3px solid var(--peach); outline-offset: 2px; }
.calc__legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; display: block; padding: 0; }
.fgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__out { border-top: 1px solid var(--line); padding-top: 24px; }
.calc__label { font-size: 15px; font-weight: 600; }
.calc__big { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 0 .28em; align-items: baseline; }
.calc__num { font-size: clamp(32px, 9vw, 44px); line-height: 1.12; font-weight: 800; color: var(--orange-hover); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__line { margin-top: 12px; font-size: 15px; line-height: 1.55; font-weight: 600; }
.calc__note { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
@media (min-width: 640px) { .calc { padding: 32px; } }
@media (min-width: 1024px) {
  .calc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7.6fr); gap: 48px; align-items: center; }
  .calc-grid .sec-head { margin: 0; }
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: 0; padding: 32px 0; }
  .calc__fields { padding: 0 32px; }
  .calc__out { border-top: 0; border-left: 1px solid var(--line); padding: 4px 32px; align-self: stretch; }
}

/* ---------- Блок 7. Что работает сразу (frame3) ---------- */
.scope-sec { overflow: hidden; padding-top: 24px; }
.scope { display: grid; gap: 18px; }
.scope-card { padding: 24px; border-radius: 20px; border: 1px solid rgba(222, 215, 200, .6); transition: transform .3s var(--ease); }
.scope-card--sage { background: #E8EBDF; }
.scope-card--peach { background: #F8E6D8; }
.scope-card--sand { background: #EEE9DF; }
@media (hover: hover) { .scope-card:hover { transform: translateY(-4px); } }
.scope-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.scope-card__head h3 { font-size: 20px; }
.sq { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; transition: transform .3s var(--ease); }
.sq .ico { width: 26px; height: 26px; }
.sq--forest { background: var(--forest); color: var(--cream); }
.sq--orange { background: var(--orange); color: var(--forest); }
.checks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.45; }
.checks li + li { margin-top: 12px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--forest)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F0E7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks--orange li::before { background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23132B24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.msgr-inline { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 600; vertical-align: middle; }
.msgr-inline img { width: 22px; height: 22px; flex: none; transition: transform .2s var(--ease); }
a.msgr-inline::after { left: 28px; bottom: 3px; }
@media (hover: hover) { a.msgr-inline:hover img { transform: translateY(-2px); } }
/* Пункт «Веб-приложение + Telegram или MAX» (SITE-17) — обычная высота строки, значки — в строке текста: на телефоне фраза
   переносится, и межстрочный интервал 2 (как было у короткого «Telegram и MAX») дал бы большой зазор */
.checks li[data-msgr-list] .msgr-inline { min-height: 24px; vertical-align: -6px; }
@media (min-width: 640px) { .scope { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .scope { grid-template-columns: repeat(3, 1fr); } }
/* SITE-17: в «Остаётся за командой» пункты длиннее — от 1280 px третья колонка шире, списки трёх колонок почти одной высоты
   (1440: 224 / 210 / 198 px; равные колонки дали бы 224 / 187 / 245) */
@media (min-width: 1280px) { .scope { grid-template-columns: 1fr 1fr 1.2fr; } }
@media (min-width: 1024px) {
  .scope-card { padding: 28px; }
  .scope-card__head h3 { font-size: 21px; }
}

/* ---------- Блок 8. Сервис остаётся у вас (frame3, тёмный, фото справа) ---------- */
.own-sec { overflow: hidden; }
.own-photo { position: relative; height: 58vw; max-height: 380px; margin: 0 0 -60px; }
.own-photo picture, .own-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.own-photo picture { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%); mask-image: linear-gradient(0deg, transparent 0%, #000 45%); }
.own-sec .own-photo { margin-top: calc(-1 * var(--sec)); margin-bottom: 0; }
.own { display: grid; gap: 12px; }
.own-card { padding: 20px; border-radius: 16px; background: rgba(30, 59, 50, .72); border: 1px solid rgba(209, 216, 196, .16); transition: transform .3s var(--ease); }
@media (hover: hover) { .own-card:hover { transform: translateY(-4px); } }
.own-card .ico { width: 34px; height: 34px; color: var(--orange); stroke-width: 1.5; transition: transform .3s var(--ease); }
.own-card h3 { margin-top: 16px; font-size: 17px; line-height: 1.3; }
.own-card p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--sage); }
/* SITE-15: рукописная пометка на фото возвращена (как до SITE-11): телефон — справа вверху на фото, компьютер — справа внизу */
.hand--own { right: var(--gutter); top: 28px; width: 5.6em; text-align: center; }
.hand--own .hand__heart { margin: 2px auto 0; }
@media (min-width: 560px) { .own { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .own-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 34%; height: auto; max-height: none; margin: 0 !important; }
  .own-photo picture { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 22%, #000 48%); }
  .own-in .sec-head, .own { max-width: 78%; }
  .own-in .sec-head__aside { max-width: 400px; }
  .own { grid-template-columns: repeat(3, 1fr); }
  .own-card { padding: 22px 18px; }
  .own-card h3 { font-size: 16px; }
  .own-card p { font-size: 13.5px; }
  .hand--own { right: clamp(32px, 4vw, 80px); top: auto; bottom: 40px; transform: rotate(-12deg); }
}
@media (min-width: 1280px) { .own { grid-template-columns: repeat(5, 1fr); } .own-card h3 { font-size: 17px; } }
/* SITE-17: надзаголовок «Сервис под ключ» и пояснение справа от заголовка (телефон — под ним) — цвет текста карточек (--sage).
   SITE-19: цвет надзаголовка — общий для тёмного фона (.bg-forest .eyebrow: --orange, как черта и «Быстрый старт» в «Запуске») */
/* заголовок — в одну строку, как был; пояснение — справа, сколько осталось до правого края карточек. На 1024–1279 справа
   места нет (заголовок перенёсся бы) — пояснение под заголовком, как на телефоне */
@media (min-width: 1024px) and (max-width: 1279px) { .own-head { grid-template-columns: none; gap: 16px; } .own-head .sec-head__aside { padding-bottom: 0; } }
@media (min-width: 1280px) { .own-head { grid-template-columns: auto minmax(0, 1fr); } .own-head .sec-head__aside { justify-self: end; max-width: 400px; } }
/* SITE-11: «Подключение, обновления и ИИ» — три карточки: на телефоне столбиком, от 768 px — в ряд */
.own--3 { grid-template-columns: none; }
@media (min-width: 768px) { .own--3, .own.own--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .own--3 .own-card { padding: 24px 22px; } .own--3 .own-card p { font-size: 14px; } }
/* SITE-16: декор слева — размытые еловые ветки с огоньками (_ref/bg_podpiska_eli.png, левые 3/4 кадра). По всей высоте секции, прижат
   к левому краю, приглушён (opacity .65); правый край растворяется в фон маской (88 px) и гаснет к левому краю карточек
   и заголовка — под текст не заходит. До 1024 px — убран: сверху там фото на всю ширину, полосе нет места */
.own-sec { isolation: isolate; }
.own-decor { display: none; }
@media (min-width: 1024px) {
  .own-decor { --free: max(var(--gutter), (100vw - 1240px) / 2); display: block; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0;
    width: calc(var(--free) + 22px); overflow: hidden; opacity: .65; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 110px), transparent calc(100% - 22px)); mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 110px), transparent calc(100% - 22px)); }
  .own-decor picture, .own-decor img { display: block; height: 100%; }
  .own-decor img { width: auto; max-width: none; }
}

/* ---------- Блок 9. Стоимость (frame3) ---------- */
.price-sec { overflow: hidden; }
/* SITE-16: фон секции — _ref/bg_tarify.png (ель слева, валуны справа, в центре светлая дымка), без ленивой загрузки.
   Картинка на всю ширину по верху секции (секция выше картинки: при cover по высоте ель и камни ушли бы за края); верхний и нижний
   край растворены в цвет страницы маской, ниже — ровный --cream. Поверх — мягкий светлый радиальный градиент по центру, чтобы под
   заголовком и карточками не было пёстрых деталей. Картинка начинается в 300 px от верха секции — ниже заголовка и подзаголовка
   (на 1024 подзаголовок в две строки кончается на 271 px): ель не заходит под текст, обрамляет карточки по краям;
   до 399 px — только светлая дымка (кадр из центра картинки, приглушён до .5, тоже ниже заголовка — с 260 px) */
.price-sec { isolation: isolate; }
/* SITE-23: переход по #pricing (меню «Стоимость», «Выбрать тариф» на /demo/, /#pricing с других страниц) — надзаголовок
   «Прозрачные условия» на 20 px ниже шапки. Место под шапку оставлено всегда (у html scroll-padding-top: шапка + 16 px) — и когда
   шапка спрятана прокруткой вниз: она появляется при прокрутке вверх. Верхний отступ секции (--sec) не в счёт: 16 + 4 − --sec. */
#pricing { scroll-margin-top: calc(4px - var(--sec)); }
.price-bg { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.price-bg picture { position: absolute; left: 0; right: 0; top: 300px; }
.price-bg img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 62%, transparent 100%); }
.price-bg::after { content: ''; position: absolute; inset: 0;
  background: radial-gradient(52% 34% at 50% 26%, rgba(250, 246, 238, .82) 0%, rgba(250, 246, 238, .55) 55%, rgba(250, 246, 238, 0) 100%); }
@media (max-width: 399px) {
  .price-bg picture { top: 260px; height: 640px; }
  .price-bg img { height: 100%; object-fit: cover; opacity: .5; }
}
@media (min-width: 1024px) {
  .price-bg::after { background: radial-gradient(40% 40% at 50% 34%, rgba(250, 246, 238, .78) 0%, rgba(250, 246, 238, .5) 60%, rgba(250, 246, 238, 0) 100%); }
}
.prices { display: grid; gap: 20px; }
.price { display: flex; flex-direction: column; padding: 28px; }
.price__name { font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.price__name span { white-space: nowrap; }
.price__sub { margin-top: 8px; font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--text-2); } /* SITE-13: одна строка под названием */
/* Пункты: первые 6 видны, остальные — под «Ещё N пунктов ▾» (main.js); кнопки «Обсудить запуск» — внизу карточек на одном уровне */
.price ul { margin: 22px 0 26px; }
.price .btn { margin-top: auto; }
.js .price__list { margin-bottom: 0; }
.js .price__more { margin-top: 10px; margin-bottom: 0; }
.price__toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 8px 0 22px; padding: 0;
  font-size: 15px; font-weight: 700; color: var(--orange-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(175, 80, 28, .4); }
.price__toggle:hover { text-decoration-color: currentColor; }
.price__chev { font-size: 13px; text-decoration: none; display: inline-block; }
.price .checks li { font-size: 15.5px; }
.price .checks li + li { margin-top: 10px; }
/* «Чаще всего выбирают» — аккуратная плашка на верхней грани карточки «Сервис» */
.price__badge { position: absolute; z-index: 2; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 5px 14px; border-radius: 999px;
  background: var(--forest); color: var(--cream); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(19, 43, 36, .18); }
.price--main { margin-top: 12px; }
/* Индивидуальное внедрение — широкая тёмная карточка под тремя */
.price-wide { position: relative; display: grid; gap: 22px; padding: 28px; border-radius: 20px; background: var(--forest); color: var(--cream);
  box-shadow: 0 18px 44px rgba(19, 43, 36, .2); transition: transform .3s var(--ease); }
@media (hover: hover) { .price-wide:hover { transform: translateY(-4px); } }
.price-wide .price__name { white-space: normal; }
.price-wide__cost { margin-top: 8px; font-size: 16px; font-weight: 600; color: var(--sage); }
.price-wide__list li { font-size: 15.5px; }
.price-wide .btn { justify-self: start; }
@media (max-width: 639px) { .price-wide .btn { width: 100%; } }
/* SITE-16: фон карточки — медный план здания со светящимися линиями (_ref/bg_vnedrenie_plan.png), прижат к правому краю и покрывает
   высоту карточки; левый край растворён маской в цвет карточки. Под текстом — мягкое затемнение: общий градиент (.price-wide__bg::after)
   и размытая подложка цвета --forest-deep точно под столбцом текста (.price-wide__txt::before) — линии не мешают читать, контраст текста
   не ниже прежнего. До 1024 px — план в нижней части карточки (под кнопкой — свободная полоса для плана) */
.price-wide { overflow: hidden; isolation: isolate; }
.price-wide__bg { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 64%; pointer-events: none; }
.price-wide__bg picture, .price-wide__bg img { display: block; width: 100%; height: 100%; }
.price-wide__bg img { object-fit: cover; object-position: 78% 60%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); mask-image: linear-gradient(180deg, transparent 0%, #000 55%); }
.price-wide__bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 35, 28, .92) 0%, rgba(14, 35, 28, .86) 30%, rgba(14, 35, 28, 0) 62%); }
@media (max-width: 1023px) { .price-wide { padding-bottom: 118px; } }
.price-wide__txt { position: relative; }
.price-wide__txt::before { content: ''; position: absolute; z-index: -1; inset: -40px -52px; border-radius: 40px; background: var(--forest-deep); filter: blur(18px); pointer-events: none; }
@media (min-width: 1024px) {
  .price-wide__bg { left: auto; top: 0; height: auto; width: 64%; }
  .price-wide__bg img { object-position: 100% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
  .price-wide__bg::after { background: linear-gradient(90deg, rgba(14, 35, 28, 0) 0%, rgba(14, 35, 28, .7) 24%, rgba(14, 35, 28, .7) 52%, rgba(14, 35, 28, 0) 68%); }
}
/* «Обсудить задачу»: мягкое тёплое свечение под кнопкой (сильнее при наведении) и блик при наведении (Shine), стрелка — как была;
   при «уменьшении движения» — без подъёма и блика */
.price-wide .btn { box-shadow: 0 10px 26px -8px rgba(240, 128, 58, .7), 0 0 22px rgba(240, 150, 80, .22); }
.price-wide .btn::after { box-shadow: 0 16px 36px -6px rgba(244, 132, 60, .8), 0 0 30px rgba(244, 160, 90, .35); }
@media (prefers-reduced-motion: reduce) { .price-wide .btn, .price-wide .btn:hover, .price-wide .btn:active { transform: none; } .price-wide .btn .ico--arrow { transform: none; } }
@media (min-width: 768px) { .price-wide__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; } .price-wide__list li + li { margin-top: 0; } }
.price .btn { width: 100%; }
.price--main { border: 2px solid var(--orange); background: linear-gradient(180deg, #FDF3EB 0%, #FFFFFF 70%); }
.price__glint { position: absolute; inset: -2px; border-radius: 20px; padding: 2px; pointer-events: none; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.price__glint i { position: absolute; left: 50%; top: 50%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; opacity: 0;
  background: conic-gradient(from 0deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,0) 318deg, rgba(255, 240, 225, .95) 342deg, rgba(255,255,255,0) 360deg); }
.prices__small { margin: 24px auto 0; text-align: center; max-width: 860px; }
/* SITE-11: заголовок «Тарифы» — подзаголовок и переключатель периода (справа на компьютере) */
.prices-head .lead { margin-top: 14px; }
.period { border: 0; margin: 0; padding: 0; min-width: 0; }
html:not(.js) .period { display: none; }
.period__seg { background: var(--white); }
.period__seg span { display: flex; align-items: center; justify-content: center; padding: 0 16px; white-space: nowrap; } /* скидка — в той же строке */
.period__seg b { margin-left: 5px; font-weight: 800; }
@media (max-width: 399px) {
  .period__seg { gap: 4px; padding: 4px; }
  .period__seg span { flex-direction: column; padding: 4px 8px; font-size: 14px; line-height: 1.2; text-align: center; white-space: normal; }
  .period__seg b { display: block; margin: 1px 0 0; font-size: 12px; }
}
@media (min-width: 1024px) { .period { padding-bottom: 6px; } .period__seg span { min-width: 112px; } }
/* SITE-13: переключатель выразительнее, размер прежний (1440: 401×56, 375: 335×54 — бейдж скидки на 5 px шире прежнего текста,
   поэтому у пунктов со скидкой поле по бокам 13,5 px вместо 16): чёткая рамка, мягкая тень, подсветка при наведении,
   выбранный — тёмная заливка с плавным переходом, скидки — оранжевые бейджи. Подпись «Период оплаты» — слева (до 1024 px — сверху) */
.period { display: grid; gap: 8px; }
.period__cap { font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--text-2); }
.period__seg { border-color: rgba(19, 43, 36, .26); box-shadow: 0 8px 22px rgba(19, 43, 36, .09), 0 1px 3px rgba(19, 43, 36, .07); }
.period__seg span { transition: color .3s ease; }
/* SITE-19: подложка невыбранного пункта — постоянного цвета (тот, что задан в SITE-13), без масштаба; видна ровно, пока курсор над пунктом:
   появление — 0,1 с, исчезание — сразу (так при переводе курсора подсвечен не больше одного пункта). Раньше на наведении менялись
   и непрозрачность, и цвет (общий .seg — тёмно-зелёный, SITE-15 — белый 60 %) за 0,3 с: в середине перехода подложка серая,
   к концу — почти белая и на светлом стекле не видна («гаснет сама»), при уходе курсора — то же в обратную сторону */
.period__seg input:not(:checked) + span::before { background-color: rgba(19, 43, 36, .08); transform: none; }
.period__seg span::before { transition: none; }
.period__seg b { padding: 1px 6px; border-radius: 999px; background: var(--orange); color: var(--forest); font-size: 12.5px; line-height: 1.3; }
.period__seg label:has(b) span { padding-inline: 13.5px; }
@media (hover: hover) {
  .period__seg label:hover input:not(:checked) + span::before { opacity: 1; transition: opacity .1s ease-out; }
}
@media (max-width: 399px) {
  .period__seg b { padding: 0 5px; font-size: 11.5px; line-height: 1.35; }
  .period__seg label:has(b) span { padding-inline: 8px; }
}
@media (min-width: 1024px) { .period { grid-auto-flow: column; align-items: center; gap: 14px; } .period__cap { font-size: 15px; } }
/* SITE-15: переключатель «Жидкое стекло» (_ref/ref_steklo.jpg), размер прежний. Дорожка — светлое матовое стекло: размытие фона под ней,
   тонкая светлая обводка, блик сверху, мягкая тень снизу, тёплое свечение по краю. Выбранный — тёмно-зелёная объёмная капсула
   .period__thumb с глянцевым бликом и тёплым ореолом; она переезжает между пунктами за 0,35 с (место и размер — main.js, initPeriodThumb:
   --tx/--ty/--tw/--th; при «уменьшении движения» — без анимации). Скидки — оранжевые капсулы (белый текст; оранжевый темнее образца,
   чтобы цифры читались), между «6 месяцев» и «Год» — тонкий разделитель (прячется, когда рядом капсула) */
.period__seg { position: relative; isolation: isolate; border: 1px solid rgba(255, 255, 255, .92);
  background: linear-gradient(180deg, rgba(255, 255, 255, .74) 0%, rgba(255, 255, 255, .44) 52%, rgba(255, 249, 238, .6) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 0 0 1px rgba(19, 43, 36, .1), inset 0 1.5px 0 #fff, inset 0 -1px 0 rgba(19, 43, 36, .06), inset 0 -10px 18px -12px rgba(214, 160, 96, .45),
    0 16px 28px -14px rgba(19, 43, 36, .34), 0 3px 8px rgba(19, 43, 36, .06), 0 0 24px rgba(240, 186, 116, .3); }
.period__seg::after { content: ''; position: absolute; z-index: 0; left: 14px; right: 14px; top: 1px; height: 46%; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); }
.period__seg label { z-index: 2; }
.period__thumb { position: absolute; z-index: 1; left: 0; top: 0; width: var(--tw, 0); height: var(--th, 0); transform: translate(var(--tx, 0), var(--ty, 0));
  border-radius: 999px; pointer-events: none; opacity: 0;
  background: radial-gradient(130% 100% at 50% 0%, #2F5749 0%, #1A3D32 44%, #0E261F 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 8px rgba(0, 0, 0, .38), 0 0 0 1.5px rgba(246, 208, 152, .8),
    0 0 12px 1px rgba(242, 176, 98, .55), 0 7px 14px -5px rgba(19, 43, 36, .55); }
.period__thumb::before { content: ''; position: absolute; left: 9%; right: 9%; top: 1.5px; height: 52%; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24) 0%, rgba(255, 255, 255, .07) 55%, rgba(255, 255, 255, 0) 100%); }
.period__seg.is-ready .period__thumb { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .period__seg.is-anim .period__thumb { transition: transform .35s cubic-bezier(.3, .7, .2, 1), width .35s cubic-bezier(.3, .7, .2, 1); }
}
.period__seg.is-ready input:checked + span::before { opacity: 0; } /* заливку выбранного рисует капсула */
.period__seg input:checked + span { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.period__seg b { background: linear-gradient(180deg, #DA6C31 0%, #B9561F 100%); color: #fff; text-shadow: 0 1px 0 rgba(90, 36, 8, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 5px rgba(185, 86, 31, .3); }
.period__seg label:nth-of-type(3)::before { content: ''; position: absolute; left: -3.5px; top: 26%; bottom: 26%; width: 1px; border-radius: 1px;
  background: rgba(19, 43, 36, .2); transition: opacity .2s ease; }
.period__seg label:has(input:checked)::before, .period__seg label:has(input:checked) + label::before { opacity: 0; }
@media (max-width: 399px) { .period__seg label:nth-of-type(3)::before { left: -2.5px; } }
/* SITE-15: рукописная пометка «экономия / до 35 760 ₽» (_ref/ref_strelka.jpg). Сумма — main.js (наибольшая экономия по config.js:
   tariffs × periodDiscount). Стрелка прорисовывается один раз, когда блок появился на экране; при «уменьшении движения» — сразу целиком.
   SITE-17 — как в образце: .hand--save — точка без размера в правом верхнем углу переключателя (right: 0, bottom — высота
   переключателя + нижний отступ .period). От неё — надпись (выше и левее, наклон −12°) и рисунок: стрелка дугой справа от надписи
   вниз, кончик — у правого верхнего угла переключателя, три штриха веером из угла наружу. Рисунок — в координатах образца
   (viewBox, 0 0 — угол переключателя), --s — px на единицу образца. Телефон и планшет — так же (место над переключателем —
   padding-top у .period, подпись «Период оплаты» слева не задевает). Сам переключатель не менялся */
.period { position: relative; --seg-h: 56px; }
.hand--save { --s: .45; left: auto; right: 0; bottom: var(--seg-h); width: 0; height: 0; font-size: 25px; line-height: .98;
  color: #B9561F; text-shadow: none; white-space: nowrap; transform: none; }
.hand--save[hidden] { display: none; }
.hand--save::before { display: none; }
.hand--save p { position: absolute; right: calc(var(--s) * 4px); bottom: calc(var(--s) * 128px); transform: rotate(-12deg); transform-origin: 100% 100%; }
.hand--save__art { position: absolute; right: calc(var(--s) * -70px); bottom: calc(var(--s) * -35px); width: calc(var(--s) * 110px); height: calc(var(--s) * 200px); max-width: none;
  overflow: visible; fill: none; stroke: #D2652C; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.hand--save__ray { stroke: #EA8A48; stroke-width: 6; }
@media (max-width: 1023px) { .period { padding-top: 76px; } .hand--save { --s: .4; font-size: 22px; } }
@media (max-width: 399px) { .period { --seg-h: 54px; } .hand--save { --s: .38; font-size: 20px; } }
@media (max-width: 339px) { .period { padding-top: 70px; } .hand--save { --s: .34; font-size: 18px; } }
@media (min-width: 1024px) { .hand--save { bottom: calc(var(--seg-h) + 6px); } }
/* телефон: справа поле 20 px — дуга образца вышла бы за край экрана; рисунок повёрнут на −20° вокруг угла переключателя
   (кончик и штрихи — у того же угла), надпись — левее, к началу стрелки */
@media (max-width: 639px) {
  .hand--save__art { transform: rotate(-20deg); transform-origin: calc(var(--s) * 40px) calc(var(--s) * 165px); }
  .hand--save p { right: calc(var(--s) * 54px); bottom: calc(var(--s) * 132px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hand--save.is-pre p { opacity: 0; }
  .hand--save.is-pre path { stroke-dasharray: 1 2; stroke-dashoffset: 1.05; }
  .hand--save.is-pre.is-drawn p { opacity: 1; transition: opacity .4s ease; }
  .hand--save.is-pre.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.45, .1, .3, 1) .25s; }
  .hand--save.is-pre.is-drawn .hand--save__head { transition-duration: .2s; transition-delay: .9s; }
  .hand--save.is-pre.is-drawn .hand--save__ray { transition-duration: .16s; transition-delay: 1.1s; }
  .hand--save.is-pre.is-drawn .hand--save__ray + .hand--save__ray { transition-delay: 1.2s; }
  .hand--save.is-pre.is-drawn .hand--save__ray + .hand--save__ray + .hand--save__ray { transition-delay: 1.3s; }
}
.price__cost { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.price__now { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.price__val { font-size: clamp(30px, 2.6vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.price__old { font-size: 17px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.price__unit { font-size: 15px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.price__per { margin-top: 6px; font-size: 14.5px; line-height: 1.45; font-weight: 600; }
.price__per b { font-weight: 800; color: var(--ok-ink); white-space: nowrap; }
.price__setup, .price__first { margin-top: 4px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--text-2); }
.price__inc { margin-top: 22px; font-size: 15px; font-weight: 700; }
.price .price__inc + ul { margin-top: 10px; }
@media (max-width: 359px) { .price .btn { padding-inline: 18px; } }
.price-wide__txt { font-size: 15.5px; line-height: 1.55; color: var(--sage); }
/* SITE-13: «Подключить …» — значок слева (config.js tariffButtonIcon: 'bolt' / 'card' / 'none'), без стрелки.
   SITE-16: пульсация тени у «Сервиса» убрана; вид и анимация — .btn--bolt (раздел «Кнопки») */
.btn--tariff .ico--card, .btn--tariff .ico--bolt { width: 22px; height: 22px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .price__cost.is-swap .price__now, .price__cost.is-swap .price__per { animation: price-swap .35s var(--ease) backwards; }
}
@keyframes price-swap { from { opacity: .2; transform: translateY(5px); } }
@media (min-width: 1024px) {
  .prices { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
  .price { padding: 32px 30px; }
  .price--main { margin-top: 0; }
  .price-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; align-items: center; gap: 32px; padding: 32px 36px; }
  .price-wide .btn { justify-self: end; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .price__name { white-space: normal; } }
@media (min-width: 1024px) { .price__sub { min-height: 2.9em; } } /* SITE-13: цены трёх карточек на одной высоте (строка под названием — до 2 строк) */

/* ---------- Блок 10. Запуск (frame3, тёмный, фото справа) ---------- */
.launch-sec { overflow: hidden; }
.launch-photo { position: relative; height: 56vw; max-height: 360px; margin: calc(-1 * var(--sec)) 0 -40px; }
.launch-photo picture, .launch-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.launch-photo picture { -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 40%); mask-image: linear-gradient(0deg, transparent 0%, #000 40%); }
.stages { display: grid; gap: 0; position: relative; }
.stage { position: relative; padding: 0 0 26px 64px; }
.stage::before { content: ''; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 1.5px; background: rgba(209, 216, 196, .35); }
.stage:last-child::before { display: none; }
.stage__dot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #DCE2D2; color: var(--forest); font-size: 15px; font-weight: 800; display: grid; place-items: center; isolation: isolate; }
/* кружок светлый с тёмной цифрой; «зажжён» — оранжевое кольцо-ореол вокруг (финальный вид), ::after — пробегающее кольцо */
.stage__dot::before, .stage__dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
  border: 2px solid var(--orange); box-shadow: 0 0 16px rgba(231, 127, 64, .5), inset 0 0 8px rgba(231, 127, 64, .25); }
.stage__dot::after { opacity: 0; }
.stage h3 { font-size: 20px; padding-top: 8px; color: var(--orange); }
.stage::before { transform-origin: 50% 0; }
.stage p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--sage); }
.stages__cap { margin-top: 18px; max-width: 760px; }
.hand--launch { right: var(--gutter); top: 40px; width: 6.4em; text-align: center; }
.hand--launch .hand__heart { margin: 2px auto 0; }
@media (min-width: 1024px) {
  .launch-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; height: auto; max-height: none; margin: 0; }
  .launch-photo picture { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 26%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 26%, #000 55%); }
  /* затемнение под строкой этапов: этапы 3–4 лежат на фото с освещённой дорожкой; плотнее с SITE-4A — названия этапов
     стали оранжевыми (крупный текст ≥ 3:1), подписи ≥ 4.5:1 по пикселям фото, см. REPORT_SITE-4A.md */
  .launch-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19, 43, 36, .92) 0%, rgba(19, 43, 36, .9) 45%, rgba(19, 43, 36, .6) 70%, rgba(19, 43, 36, 0) 88%),
    linear-gradient(0deg, rgba(19, 43, 36, .6) 0%, rgba(19, 43, 36, .35) 34%, rgba(19, 43, 36, 0) 55%); }
  .stages { grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 86%; }
  .stage { padding: 66px 0 0; }
  .stage::before { left: 58px; right: 8px; top: 21px; bottom: auto; width: auto; height: 1.5px; display: block; transform-origin: 0 50%; }
  .stage::after { content: ''; position: absolute; right: 7px; top: 17px; width: 8px; height: 8px; border-top: 1.5px solid rgba(209, 216, 196, .6); border-right: 1.5px solid rgba(209, 216, 196, .6); transform: rotate(45deg); }
  .stage:last-child::before, .stage:last-child::after { display: none; }
  .stage h3 { padding-top: 0; font-size: 22px; }
  /* SITE-17: подпись под этапами — место на две строки, как до SITE-13 (тогда текст был длиннее и занимал две строки): высота блока
     и кадр фото справа (cover по высоте секции) — как в _ref/ref_zapusk_staryi.jpg; новый текст — в одну строку */
  .stages__cap { margin-top: 32px; min-height: calc(2em * 1.45); }
  .hand--launch { right: clamp(32px, 6vw, 120px); top: 28%; width: 6em; transform: rotate(-12deg); }
}

/* ---------- Блок 11. Вопросы (frame3: слева заголовок, справа аккордеон) ---------- */
.faq-grid { display: grid; gap: 28px; }
.faq-grid .sec-head { margin: 0; }
.faq__note { margin-top: 16px; max-width: 340px; color: var(--text-2); font-size: 16px; line-height: 1.55; }
/* «Не нашли ответ? Напишите нам ♡» — между абзацем и рисунком, на светлом фоне тёмным, без ореола (13,2:1).
   Абзац над заметкой — в 3 строки: «напишите нам.» в начале 3-й строки, справа от неё свободно (так стрелка помещается и в колонке 280 px).
   Стрелка h-arrow-hook (эскиз владельца): хвост справа от 1-й строки → вправо → дугой вверх → разворот влево, кончик справа от точки
   после ссылки, на середине строчных букв её строки. Привязана к 1-й строке (inline-block), поворачивается с текстом на −3°; размеры в em.
   Отступы 20px сверху и 76px слева дают (расчёт по метрикам шрифтов, REPORT_SITE-4H.md): кончик ≥ 9 px от ссылки и точки,
   стрелка ≥ 12 px от текста заметки и ≥ 16 px от сердечка, внутри колонки от 280 px, выше рисунка. */
.hand--faq { position: relative; display: block; width: max-content; margin: 20px 0 24px 76px; color: var(--forest); text-shadow: none;
  font-size: 22px; line-height: 1.05; transform: none; }
.hand--faq::before { display: none; }
.hand--faq p { transform: rotate(-3deg); transform-origin: 0 0; }
.hand--faq__l1 { position: relative; display: inline-block; }
.hand--faq .hand__arrow { position: absolute; left: calc(100% - 3.905em); top: -1.545em; width: 5.36em; height: 2.14em; }
.hand--faq .hand__heart { display: inline-block; vertical-align: -.1em; margin-left: .15em; color: var(--orange-ink); }
@media (min-width: 1024px) { .hand--faq { font-size: 23px; } }
/* Рисунок слева под заметкой (администратор у стойки, прозрачный фон вокруг овала): на компьютере — внизу колонки, на телефоне скрыт */
.faq-photo { display: none; }
.faq { position: relative; z-index: 0; background: var(--white); border-radius: 20px; padding: 6px 22px; box-shadow: var(--shadow-card); border: 1px solid rgba(222, 215, 200, .7); }
.qa { position: relative; z-index: 1; background: var(--white); border-top: 1px solid var(--line); }
.qa:first-child { border-top: 0; }
.qa h3 { font-size: inherit; line-height: inherit; letter-spacing: 0; }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; text-align: left; font-size: 16px; line-height: 1.4; font-weight: 600; min-height: 44px; }
.qa__plus { position: relative; width: 22px; height: 22px; flex: none; transition: transform .25s var(--ease); }
.qa__plus::before, .qa__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 1px; background: var(--forest); }
.qa__plus::after { transform: rotate(90deg); }
.qa__q[aria-expanded="true"] .qa__plus { transform: rotate(45deg); }
.qa__a { position: relative; z-index: 0; padding: 0 40px 18px 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.qa__a.is-opening { animation: qa-in .25s var(--ease) backwards; }
.qa__a.is-closing { position: absolute; left: 0; right: 0; animation: qa-out .25s ease forwards; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes qa-out { to { opacity: 0; transform: translateY(-8px); } }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  /* левая колонка растянута на высоту ряда (= высота блока вопросов), фото занимает остаток — его низ совпадает с низом вопросов */
  .faq-grid .sec-head { align-self: stretch; display: flex; flex-direction: column; }
  /* рисунок с прозрачным фоном вокруг овала: на всю ширину колонки, целиком, пропорции свои (height: auto);
     прижат к низу колонки — низ овала примерно вровень с низом блока вопросов; без рамок, скруглений, теней и смешивания */
  .faq-photo { display: block; margin-top: auto; width: 100%; }
  .faq-photo picture, .faq-photo img { display: block; width: 100%; height: auto; }
  .faq { padding: 8px 32px; }
  .qa__q { font-size: 17px; padding: 17px 0; }
}

/* ---------- Блок 12. Заявка (frame3, тёмный, белая карточка формы, фото справа) ---------- */
.form-sec { overflow: hidden; }
.form-in { display: grid; gap: 32px; }
.form-intro__txt { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--sage); max-width: 440px; }
.marks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; }
.marks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.marks .ico { width: 22px; height: 22px; color: var(--orange); }
.contacts { margin-top: 22px; display: grid; gap: 6px; }
.contacts a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; min-height: 44px; justify-self: start; }
.contacts .ico { width: 20px; height: 20px; color: var(--orange); }
.form-photo { display: none; }
.form-card { position: relative; background: var(--white); color: var(--forest); border-radius: 22px; padding: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; align-items: start; }
/* Поля в ряду выровнены по верху, подписи — одной высоты (subgrid: строка подписей, строка полей, строка подсказок/ошибок),
   поэтому подсказка «примерно (необязательно)» или ошибка под одним полем не сдвигает соседнее. */
@supports (grid-template-rows: subgrid) {
  .form__row > .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
}
.field { position: relative; min-width: 0; }
/* Поле-ловушка для ботов (website): за пределами экрана, не display:none — его должны «видеть» только боты */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; transform-origin: left bottom; transition: transform .2s var(--ease), color .2s ease; }
.field:focus-within label { transform: translateY(-1px) scale(.97); color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: #FAF8F3;
  padding: 0 14px; font-size: 16px; font-weight: 500; color: var(--forest); outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-2); opacity: 1; }
.field textarea { height: 76px; resize: vertical; padding: 12px 14px; line-height: 1.4; display: block; }
.field select { padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23132B24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field select:invalid, .field select.is-empty { color: var(--text-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
.req-mark { color: #B4521F; }
.field__hint { margin-top: 5px; font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.field__err { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--forest); display: flex; gap: 6px; align-items: center; }
.field__err::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.field.has-err input, .field.has-err textarea { border-color: var(--orange-hover); }
.shake { animation: shake .3s ease; }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; font-weight: 500; position: relative; }
.check input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; opacity: 0; margin: 0; cursor: pointer; }
.check__box { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; background: var(--white); transition: background-color .15s ease, border-color .15s ease; }
.check__box svg { width: 16px; height: 16px; color: var(--forest); opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .2s var(--spring); }
.check input:checked + .check__box { border-color: var(--orange); background: var(--orange); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--peach); outline-offset: 3px; }
.check.has-err .check__box { border-color: var(--orange-hover); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
#f-consent-err { margin-left: 36px; }
.form__submit { width: 100%; margin-top: 4px; }
.form__submit .spin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2.5px solid rgba(19, 43, 36, .25); border-top-color: var(--forest); opacity: 0; }
.form__submit .done { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; opacity: 0; color: var(--forest); }
.form__submit .done path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form__submit.is-busy .btn__label, .form__submit.is-busy .ico--arrow, .form__submit.is-done .btn__label, .form__submit.is-done .ico--arrow,
.form__submit.is-busy .ico--pay, .form__submit.is-done .ico--pay { opacity: 0; } /* .ico--pay — значок карты / счёта в окне покупки (SITE-13) */
.form__submit.is-busy .spin { opacity: 1; animation: spin .8s linear infinite; }
/* оплата картой (SITE-14): во время перехода в ЮKassa — крутилка слева и текст «Переходим к оплате…» */
.form__submit.is-going .btn__label { opacity: 1; }
.form__submit.is-going .ico--pay { display: none; }
.form__submit.is-going .spin { position: static; flex: none; order: -1; margin: 0; }
.form__submit.is-done .done { opacity: 1; -webkit-mask: linear-gradient(90deg, #000 40%, transparent 60%) 100% 0 / 250% 100% no-repeat; mask: linear-gradient(90deg, #000 40%, transparent 60%) 100% 0 / 250% 100% no-repeat; animation: wipe-r .4s var(--ease) forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wipe-r { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.form__msg { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.45; }
.form__msg--err { background: var(--sand); border-left: 3px solid var(--orange); }
.form-ok { text-align: left; padding: 12px 6px; }
.form-ok.is-in { animation: rv-in .4s var(--ease) backwards; }
.form-ok__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin-bottom: 18px; }
.form-ok__mark .ico { width: 28px; height: 28px; }
.form-ok p { font-size: var(--lead); font-weight: 600; line-height: 1.5; }
.form-ok a { text-decoration: underline; text-underline-offset: 3px; }
.hand--form { display: none; }
@media (min-width: 640px) {
  .form-card { padding: 28px; }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .form-in { grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: 40px; align-items: center; max-width: none; padding-right: calc(23vw + 8px); }
  .form-photo { display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 25vw; }
  .form-photo picture, .form-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
  .form-photo picture { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
  .form-intro .marks { margin-top: 28px; }
  .form-intro h2 { font-size: clamp(32px, 3vw, 48px); }
  .hand--form { display: block; right: clamp(24px, 3vw, 60px); top: 56px; width: 6em; text-align: center; transform: rotate(-8deg); }
  .hand--form .hand__heart { display: none; }
  .hand--form .hand__arrow { margin: .1em auto 0; }
}
@media (min-width: 1440px) { .form-in { padding-right: calc(25vw - (100vw - 1240px) / 2 + 24px); } }

/* ---------- Блок 13. Нужна другая автоматизация? (полоса на фото 09: дом справа, текст и кнопка слева) ---------- */
.other-sec { position: relative; overflow: hidden; background: var(--cream); }
.other-photo { position: relative; height: 48vw; max-height: 340px; }
.other-photo picture, .other-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.other-photo picture { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.other-in { padding-block: 40px 48px; }
.other-in h2 { font-size: clamp(28px, 2.8vw, 40px); }
.other-in__txt { margin-top: 10px; max-width: 560px; font-size: 16px; line-height: 1.55; color: var(--forest); }
.other-in .btn { margin-top: 22px; }
@media (min-width: 1024px) {
  .other-sec { min-height: clamp(260px, 22vw, 380px); display: flex; align-items: center; }
  /* фото начинается сразу за колонкой текста: весь текст лежит на светлом фоне */
  .other-photo { position: absolute; top: 0; right: 0; bottom: 0; left: calc(max(var(--gutter), (100vw - 1240px) / 2) + 540px); width: auto; height: auto; max-height: none; }
  .other-photo picture { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 14%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 14%, #000 34%); }
  .other-in { padding-block: 44px; }
  .other-in > * { max-width: 520px; }
}

/* ---------- Подвал (frame3) ---------- */
.footer { background: var(--forest); color: var(--cream); padding: 48px 0 32px; }
.footer { padding-bottom: calc(32px + var(--cookie-h, 0px)); } /* пока видна плашка cookie, подвал длиннее на её высоту (SITE-7) */
.footer__top { display: grid; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(244, 240, 231, .14); }
/* Как до SITE-4A: логотип | линия | подпись — меню — «Написать нам» (кнопка открывает окно «Контакты») */
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.footer__logo img { height: 30px; width: auto; }
.footer__tag { font-size: 14px; line-height: 1.4; color: var(--sage); max-width: 240px; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer nav a { font-weight: 600; font-size: 15px; display: inline-block; padding-block: 10px; }
.footer__cta { justify-self: start; min-height: 50px; padding-inline: 26px; font-size: 16px; }
.footer__cta .ico { width: 20px; height: 20px; }
.footer__bot { padding-top: 22px; display: grid; gap: 10px; font-size: 13px; color: var(--sage); }
.footer__bot a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer__bot .link-u::after { display: none; }
.footer__bot .link-btn { font: inherit; color: var(--cream); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer__bot .link-btn:hover { text-decoration-thickness: 2px; }
/* SITE-9: строка документов «Политика · Согласие · Настройки cookie» — от 481 px переносится только между пунктами (уже — как обычный текст) */
@media (min-width: 481px) { .footer__docs a, .footer__docs .link-btn { white-space: nowrap; } }
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
  .footer__brand { flex-wrap: nowrap; }
  .footer__tag { padding-left: 18px; border-left: 1px solid rgba(244, 240, 231, .2); }
  .footer nav ul { justify-content: flex-end; }
  /* SITE-9: строка документов длиннее прежней и в один ряд с © и реквизитами не помещается: © | реквизиты справа, ниже — документы */
  .footer__bot { grid-template-columns: auto 1fr; gap: 10px 24px; }
  .footer__bot p:nth-child(2) { text-align: right; }
  .footer__docs { grid-column: 1 / -1; }
}

/* ---------- Внутренние страницы ---------- */
.page-top { padding-top: calc(var(--header-h) + 64px); }
.page-h1 { font-size: var(--h1); line-height: var(--h1-lh); font-weight: 800; letter-spacing: -.02em; max-width: 900px; }
/* /demo: под заголовком и подзаголовком — строка «Это один и тот же сервис…», ниже четыре одинаковые карточки в один ряд, порядок как на
   первом экране: Telegram, MAX, WhatsApp, Приложение. Компьютер (≥ 1180 px) — 4 в ряд, планшет (≥ 640 px) — 2×2, телефон — столбиком.
   Карточки ряда одной высоты (растягиваются), содержимое по центру; шапки одинаковой высоты, кнопка сразу под шапкой — кнопки на одном уровне;
   под кнопкой — QR (у WhatsApp без ссылки на этом месте пояснение). Под рядом мелко — как добавить приложение на экран «Домой». */
/* сверху на 24 px меньше, чем у других внутренних страниц: ряд карточек целиком на первом экране 1440×900 (расчёт — REPORT_SITE-4H.md) */
.page-top.demo-top { padding-top: calc(var(--header-h) + 40px); }
.demo-intro { text-align: center; }
.demo-intro .page-h1, .demo-intro .lead { margin-inline: auto; }
.demo-intro .lead { margin-top: 16px; }
.demo-pick { margin: 16px auto 0; max-width: 34em; font-size: 17px; line-height: 1.5; font-weight: 700; }
.demo-cards { display: grid; gap: 20px; margin: 28px auto 0; grid-template-columns: minmax(0, 380px); justify-content: center; align-items: stretch; }
.demo-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px; text-align: center; background: #FBFAF6; }
.demo-card__head { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.demo-card__head img { width: 72px; height: 72px; flex: none; }
.demo-card__sub { margin-top: -6px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--text-2); } /* подпись под названием (SITE-21 — «Приложение», SITE-23 — у всех карточек) */
/* кнопки во всю ширину карточки (до 300 px), 16 px; если подпись не помещается (WhatsApp при 1180–1279 px и на телефоне 320 px) —
   две строки внутри той же высоты кнопки, уровень кнопок не меняется */
.demo-card .btn { width: 100%; max-width: 300px; padding: 0 12px; gap: 8px; font-size: 16px; text-wrap: balance; }
.demo-card__txt { max-width: 280px; font-size: 15px; line-height: 1.5; color: var(--text-2); font-weight: 500; }
/* Значок приложения — как на первом экране (светлый объёмный круг, знак r24), размер как у значков мессенджеров: 72 px,
   круг 69 px — как круг на картинках мессенджеров (184 из 192 px) */
.app-ico { position: relative; display: grid; place-items: center; width: 69px; height: 69px; margin: 1.5px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 36% 26%, #FFFFFF 0%, #F4F0E7 42%, #E4DCCB 82%, #D6CCB8 100%);
  box-shadow: inset 0 1.5px 1.5px rgba(255, 255, 255, .95), inset 0 -4px 9px rgba(19, 43, 36, .16), 0 4px 12px rgba(5, 14, 11, .26), 0 1.5px 3px rgba(5, 14, 11, .18); }
.app-ico::after { content: ''; position: absolute; left: 18%; right: 18%; top: 7%; height: 34%; border-radius: 50%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); }
.demo-card__head .app-ico img { position: relative; width: 62%; height: auto; }
.demo-home { margin: 24px auto 0; max-width: 62em; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--text-2); }
@media (min-width: 640px) { .demo-cards { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (min-width: 1180px) {
  .demo-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .demo-cards--4 .demo-card { padding: 20px 16px; }
  .demo-cards--3 { grid-template-columns: repeat(3, minmax(0, 340px)); }
}
/* SITE-23: карточки в ряд (от 640 px: 2×2 и 4 в ряд) — у всех карточек ряда общие строки (subgrid): шапка, кнопка, плашка.
   Шапки по самой высокой (подпись в две строки не сдвигает кнопки), кнопки на одной высоте, белые плашки QR и плашка WhatsApp
   начинаются и кончаются на одной высоте — по самой высокой; содержимое плашки по центру. Без subgrid — как до SITE-23. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .demo-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 16px; justify-items: center; align-items: stretch; }
    .demo-card .qr-card { display: flex; flex-direction: column; justify-content: center; }
    .demo-card .qr-card--note { display: grid; }
  }
}
/* QR — в белой скруглённой карточке (до 228 px), картинка только масштабируется; при 4 в ряд на 1180 px QR 198 px (расчёт — REPORT_SITE-4H.md) */
.qr-card { margin: 0; width: min(228px, 100%); padding: 14px 14px 12px; border-radius: 20px; background: var(--white); border: 1px solid rgba(222, 215, 200, .7);
  box-shadow: 0 10px 26px rgba(19, 43, 36, .08); }
a.qr-card__img { display: block; } /* QR приложения на /demo — ссылка на приложение (SITE-7, цель app_open) */
.qr-card__img img, .qr-card__img svg { display: block; width: 100%; height: auto; }
.qr-card__cap { margin-top: 10px; font-size: 13px; color: var(--text-2); font-weight: 600; line-height: 1.4; }
/* У WhatsApp без ссылки — пояснение на месте QR: та же белая карточка до низа, текст по центру */
.qr-card--note { flex: 1 1 auto; display: grid; place-items: center; padding: 18px 16px; }
/* SITE-9: документы /privacy/ и /consent/ — одна колонка читаемой ширины (~70 знаков), разделы с отступами, маркеры списков оранжевые.
   Раздел 7 политики — якорь #cookie (на него ведёт плашка cookie); при переходе по якорю заголовок раздела подсвечивается. */
.legal { max-width: 46em; }
.legal-top { min-height: 60vh; }
.legal .page-h1 { max-width: none; font-size: min(var(--h1), 56px); }
.legal__ed { margin-top: 14px; font-size: var(--small); line-height: 1.45; font-weight: 600; color: var(--text-2); }
.legal__body { margin-top: 36px; line-height: 1.65; }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 14px; }
.legal__sec + .legal__sec { margin-top: 40px; }
.legal__sec h2 { font-size: var(--h3); line-height: var(--h3-lh); font-weight: 800; margin-bottom: 14px; }
.legal__sec:target h2 { color: var(--orange-ink); }
.legal__body ul { padding-left: 1.25em; list-style: disc; }
.legal__body li + li { margin-top: 8px; }
.legal__body li::marker { color: var(--orange); }
.legal__body strong { font-weight: 700; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.legal__body a:hover { text-decoration-thickness: 2px; }

/* ---------- Всплывающие окна (формы, «WhatsApp — по запросу») ---------- */
.modal-open, .modal-open body { overflow: hidden; }
.modal-open body { padding-right: var(--sb, 0); }
.modal-open .header { right: var(--sb, 0); }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
.modal__bg { position: fixed; inset: 0; background: rgba(8, 19, 15, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(680px, 100%); margin: auto; max-height: none; border-radius: 24px; background: var(--white); color: var(--forest);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.modal--md .modal__box { width: min(600px, 100%); }
.modal--sm .modal__box { width: min(460px, 100%); }
.modal__body { padding: 32px 28px 28px; }
.modal__title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; padding-right: 36px; }
.modal__body .eyebrow { margin-bottom: 10px; }
.modal__ctx { display: inline-flex; margin-top: 12px; padding: 5px 12px; border-radius: 999px; background: #F8E6D8; color: #8E3F14; font-size: 14px; font-weight: 700; }
.modal__body .form { margin-top: 22px; }
.modal__x { position: absolute; z-index: 2; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--forest); transition: background-color .2s ease, transform .2s var(--ease); }
.modal__x span, .modal__x span::before { display: block; width: 18px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.modal__x span::before { content: ''; transform: rotate(90deg); }
@media (hover: hover) { .modal__x:hover { background: var(--sand); transform: rotate(90deg); } }
.modal .form-ok { padding: 18px 0 4px; }
.form-ok__close { margin-top: 22px; min-height: 48px; }
.fgroup__legend { display: block; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
/* выбор канала связи — крупные «таблетки» под палец */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chips span { display: grid; place-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #FAF8F3;
  font-size: 15px; font-weight: 600; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.chips input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.chips input:focus-visible + span { outline: 3px solid var(--peach); outline-offset: 2px; }
/* «Контакты» — кнопка «Написать нам» в подвале: телефон, Telegram, почта (если задана), «Оставить заявку» */
.contacts { display: grid; gap: 8px; margin-top: 18px; }
.contacts__row { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 14px; border-radius: 14px; background: var(--cream); transition: background-color .2s ease; }
@media (hover: hover) { .contacts__row:hover { background: var(--sand); } }
.contacts__ico { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--orange); }
.contacts__ico .ico { width: 20px; height: 20px; }
.contacts__label { display: block; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--text-2); }
.contacts__val { display: block; font-size: 17px; line-height: 1.35; font-weight: 700; color: var(--forest); }
.contacts__cta { width: 100%; margin-top: 20px; }
/* «WhatsApp — по запросу» */
.wa-pop { text-align: center; }
.wa-pop__ico { display: block; width: 64px; margin: 0 auto 14px; }
.wa-pop .modal__title { padding: 0 24px; }
.wa-pop__txt { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--text-2); font-weight: 500; }
.wa-pop__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.wa-pop__msgr img { width: 26px; height: 26px; }
.wa-pop__msgr { padding: 0 18px; }
.wa-pop__talk { grid-column: 1 / -1; }
/* «Настройки cookie» (RELAY-2): строки на светлом фоне — текст слева, переключатель справа; вся строка нажимается.
   Переключатель: выключен — серо-зелёный, включён — оранжевый; «Необходимые» — включён и приглушён (недоступен). */
.prefs__list { display: grid; gap: 10px; margin-top: 20px; }
.prefs__row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; background: var(--cream); cursor: pointer; }
.prefs__row:has(input:disabled) { cursor: default; }
.prefs__txt { flex: 1; min-width: 0; }
.prefs__name { display: block; font-size: 16px; line-height: 1.3; font-weight: 700; }
.prefs__hint { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--text-2); }
.switch { position: relative; flex: none; width: 52px; height: 32px; }
.switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch input:disabled { cursor: default; }
.switch__ui { position: absolute; inset: 0; border-radius: 999px; background: var(--text-2); transition: background-color .2s ease; }
.switch__ui::after { content: ''; position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch input:checked + .switch__ui { background: var(--orange); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .5; }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--peach); outline-offset: 3px; }
.prefs__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.prefs__btn { min-height: 48px; padding: 0 18px; }
.prefs__more { margin-top: 16px; text-align: center; font-size: 14px; line-height: 1.45; font-weight: 500; }
/* Возврат из ЮKassa (SITE-14): «Проверяем оплату…» с крутилкой → результат. Значок 64 px: успех — зелёная галочка,
   не прошла — оранжевый крестик, ждём банк — часы; кнопки — в одну строку текста: две не помещаются в ряд — столбиком во всю ширину */
.paychk { text-align: center; }
.paychk .modal__title { padding: 0 24px; }
.paychk__ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; }
.paychk__ico .ico { width: 30px; height: 30px; stroke-width: 2.25; }
.paychk__ico--ok { background: var(--ok-ink); color: var(--white); }
.paychk__ico--fail { background: #FBE3D4; color: #B5521A; }
.paychk__spin { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(19, 43, 36, .18); border-top-color: var(--forest); animation: spin .8s linear infinite; }
.paychk__txt { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--text-2); font-weight: 500; overflow-wrap: anywhere; }
.paychk__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.paychk__btn { flex: 1 1 auto; min-height: 48px; padding: 0 18px; white-space: nowrap; }
.prefs__more a { display: inline-block; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prefs__more a:hover { text-decoration-thickness: 2px; }
@media (max-width: 639px) {
  /* телефон: окно на весь экран, крупные поля и кнопки */
  .modal { padding: 0; align-items: stretch; }
  .modal__box, .modal--md .modal__box, .modal--sm .modal__box { width: 100%; min-height: 100%; border-radius: 0; }
  .modal--sm .modal__box { display: flex; flex-direction: column; justify-content: center; }
  .modal__body { padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
  .modal__x { right: 10px; top: 10px; }
  .wa-pop__btns { grid-template-columns: 1fr; }
  .modal .form__submit, .form-ok__close { width: 100%; }
  .prefs__btns { grid-template-columns: 1fr; }
}

/* =========================================================
   ДВИЖЕНИЕ — только при prefers-reduced-motion: no-preference
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .rv:not(.in) { opacity: 0; }
  .js .rv.in { animation: rv-in .4s ease-out var(--rv-d, 0ms) backwards; }

  /* Постоянное «дыхание» фона */
  .hero__zoom { animation: hero-breathe 20s ease-in-out infinite alternate; }

  /* --- Полное вступление «свет загорается» --- */
  .intro-full .hero__media { animation: fade-in .45s ease-out 0s backwards; }
  .intro-full .hero__zoom { animation: hero-zoom 2.6s cubic-bezier(.22, .61, .36, 1) .2s both, hero-breathe 20s ease-in-out 2.8s infinite alternate; }
  .intro-full .hero__off { display: block; animation: lights-flicker .3s linear .5s backwards; }
  .intro-full .hero__off img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 44.44%, transparent 55.56%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 44.44%, transparent 55.56%, transparent 100%);
    -webkit-mask-size: 100% 225%; mask-size: 100% 225%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: 0 0; mask-position: 0 0;
    animation: lights-on 2.2s var(--ease-io) .4s forwards;
  }
  .intro-full .header { animation: fade-in .6s ease-out .9s backwards; }
  .intro-full .hero__eyebrow { animation: up8 .5s ease-out 1s backwards; }
  .intro-full .w > span { animation: word-up .7s var(--ease) calc(var(--ld, 1.15s) + var(--i) * 70ms) backwards; }
  .intro-full .hero__line--accent { --ld: 1.5s; }
  .intro-full .hero__sub { animation: up12 .6s ease-out 1.9s backwards; }
  .intro-full .hero__cta-item { animation: up24 .6s var(--ease) calc(2.1s + var(--i) * 80ms) backwards; }
  .intro-full .hero__cta-item .btn--primary { animation: breath .7s ease-in-out 2.75s; }
  .intro-full .hero__try-label { animation: fade-in .5s ease-out 2.3s backwards; }
  .intro-full .hero .msgr { animation: pop .55s var(--spring) calc(2.3s + var(--i) * 80ms) backwards; }
  .intro-full .scenario { animation: slide-in .9s var(--spring) 2.6s backwards; }
  .intro-full .phone::after { animation: fade-in .9s ease-out 2.8s backwards; }
  .intro-full .hand--hero, .intro-full .hand--hero-m { animation: fade-in .6s ease-out 3s backwards; }
  .intro-full .scroll-hint { animation: fade-in .6s ease-out 3.2s backwards; }
  .intro-full .hero__sparks { animation: fade-in 1.5s ease-out 2.8s backwards; }

  /* Пауза до готовности фона и слоя «свет выключен» */
  .intro-wait .hero *, .intro-wait .hero, .intro-wait .header, .intro-wait .header * { animation-play-state: paused !important; }
  /* SITE-21: медленная сеть — фоны через 2 с ещё не скачаны (intro-text ставит встроенный скрипт в <head>): шапка, текст и кнопки
     первого экрана играют своё появление, не дожидаясь фонов; фон, «свет выключен», телефон и заметки ждут, как раньше.
     Обычная сеть (фоны скачаны к 2 с) — класса нет, вступление то же, что до SITE-21 */
  .intro-wait.intro-text .header, .intro-wait.intro-text .hero .hero__eyebrow, .intro-wait.intro-text .hero .w > span,
  .intro-wait.intro-text .hero .hero__sub, .intro-wait.intro-text .hero .hero__cta-item, .intro-wait.intro-text .hero .hero__cta-item .btn--primary,
  .intro-wait.intro-text .hero .hero__try-label, .intro-wait.intro-text .hero .msgr { animation-play-state: running !important; }

  /* После вступления */
  .post-intro .header__cta .header__pulse { animation: ring 1.2s ease-out; }
  .post-intro .hero a.msgr__link { animation: hop .45s ease-in-out calc(.25s + var(--i, 0) * 120ms); }

  /* Чат первого экрана и чат блока 3 */
  .pm.is-new, .pm-card.is-new, .hm.is-new { animation: msg-in .35s var(--ease) backwards; }
  .pm-card.is-new { animation: card-up .5s var(--spring) backwards; }
  .pm--typing i { animation: dot 1s ease-in-out infinite; }
  .pm--typing i:nth-child(2) { animation-delay: .15s; }
  .pm--typing i:nth-child(3) { animation-delay: .3s; }
  .chat-anim .req-badge:not(.is-on) { opacity: 0; transform: translate(-50%, 1.2em); }
  .chat-anim .req-badge.is-on { animation: badge-in .55s var(--spring) backwards; }
  .status.is-flip { animation: pulse-once .6s ease-in-out; }
  .status.is-flip::after { display: block; animation: badge-glint-once .9s ease-in-out .1s; }
  .chat-anim.is-resetting .ps-list, .chat-anim.is-resetting .req-badge { opacity: 0 !important; transition: opacity .35s ease; }
  .pm__chk .c2 { transition: opacity .2s ease; }
  .status--ok::after { animation: badge-glint 5s ease-in-out 1.5s infinite; }
  .how-anim .hm:not(.is-on), .how-anim .staff-card:not(.is-on) { opacity: 0; }
  .how-anim .staff-card.is-on { animation: card-in .5s var(--spring) backwards; }
  .how-anim .staff-card:not(.is-done) .staff-card__ok { opacity: 0; transform: translateY(6px); }
  .how-anim .staff-card__ok { transition: opacity .35s ease, transform .35s var(--ease); }
  .staff-card__btn.is-pressed { animation: press .5s ease-in-out; }

  /* Карточка цены «Сервис»: блик по рамке раз в 6 секунд */
  .price__glint i { animation: glint-run 6s linear 1s infinite; }
  /* Огоньки */
  .spark { animation: spark var(--d, 9s) ease-in-out var(--dl, 0s) infinite; }
  /* Полоски сводки владельца */
  .js .role .bar__fill { transform: scaleX(.05); transition: transform .9s var(--ease) var(--bd, 0s); }
  .js .role.in .bar__fill { transform: scaleX(calc(var(--v) / .42 * .85)); }
  .scroll-hint::after { animation: hint-dot 1.8s ease-in-out infinite; }

  /* Блок 3 (вид 'photos'): колёсико мышки в подсказке */
  .how-hint__mouse::after { animation: wheel 1.6s ease-in-out infinite; }
  /* Блок 5: прежнее фото растворяется поверх нового, новое слегка приближается */
  .tabpanel__ph .ph-ghost { animation: fade-out .5s ease forwards; }
  .tabpanel.is-entering .tabpanel__ph picture:not(.ph-ghost) { animation: ph-zoom 1s cubic-bezier(.2, .7, .2, 1) backwards; }
  /* Блок 10: кружки по очереди загораются, линии и стрелки прорисовываются слева направо; потом раз в 6 с — пробегающий свет */
  .stages--anim .stage__dot::before { opacity: 0; transform: scale(.7); transition: opacity .45s ease calc(var(--i, 0) * .45s), transform .55s var(--spring) calc(var(--i, 0) * .45s); }
  .stages--anim .stage::before { transform: scaleY(0); transition: transform .45s var(--ease) calc(var(--i, 0) * .45s + .3s); }
  .stages--anim .stage::after { opacity: 0; transition: opacity .25s ease calc(var(--i, 0) * .45s + .65s); }
  .stages--anim.is-lit .stage__dot::before { opacity: 1; transform: none; }
  .stages--anim.is-lit .stage::before { transform: none; }
  .stages--anim.is-lit .stage::after { opacity: 1; }
  .stages--anim.is-lit .stage__dot::after { animation: dot-run 6s ease-out calc(2.4s + var(--i, 0) * .3s) infinite; }
  /* Пакеты: раскрытые пункты появляются по очереди сверху вниз */
  .price__more.is-opening li { animation: more-in .35s var(--ease) calc(var(--j, 0) * 45ms) backwards; }
  /* Окна */
  .modal.is-open .modal__bg { animation: fade-in .25s ease-out backwards; }
  .modal.is-open .modal__box { animation: modal-in .35s var(--ease) backwards; }
  .modal.is-closing .modal__bg { animation: fade-out .2s ease forwards; }
  .modal.is-closing .modal__box { animation: modal-out .2s ease forwards; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  .stages--anim .stage::before { transform: scaleX(0); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) and (orientation: landscape) {
  .chat-anim .req-badge:not(.is-on) { transform: translateY(1.2em); }
  .chat-anim .req-badge.is-on { animation-name: badge-in-d; }
}

@keyframes fade-in { from { opacity: 0; } }
@keyframes up8 { from { opacity: 0; transform: translateY(8px); } }
@keyframes up12 { from { opacity: 0; transform: translateY(12px); } }
@keyframes up24 { from { opacity: 0; transform: translateY(24px); } }
@keyframes word-up { from { transform: translateY(105%); } }
@keyframes breath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-6px); } 70% { transform: translateY(1px); } }
@keyframes slide-in { from { opacity: 0; transform: translate(40px, 40px); } }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.03); } }
@keyframes lights-on { to { -webkit-mask-position: 0 100%; mask-position: 0 100%; } }
@keyframes lights-fade { to { opacity: 0; } }
@keyframes lights-flicker { 0% { opacity: 1; } 30% { opacity: .85; } 60% { opacity: 1; } 100% { opacity: .9; } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35, 1.6); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes card-up { from { opacity: 0; transform: translateY(1.6em); } }
@keyframes card-in { from { opacity: 0; transform: translate(-14px, 18px); } }
@keyframes badge-in { from { opacity: 0; transform: translate(-50%, 1.2em); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes badge-in-d { from { opacity: 0; transform: translateY(1.2em); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes pulse-once { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.1); } }
@keyframes badge-glint { 0%, 70% { transform: translateX(-160%) skewX(-20deg); } 90%, 100% { transform: translateX(320%) skewX(-20deg); } }
@keyframes badge-glint-once { from { transform: translateX(-160%) skewX(-20deg); } to { transform: translateX(320%) skewX(-20deg); } }
@keyframes glint-run { 0% { opacity: 0; transform: rotate(0deg); } 4% { opacity: 1; } 36% { opacity: 1; } 40% { opacity: 0; transform: rotate(360deg); } 100% { opacity: 0; transform: rotate(360deg); } }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0); } 45% { opacity: .55; } 100% { opacity: 0; transform: translate(var(--dx, 8px), var(--dy, -90px)); } }
@keyframes hint-dot { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(34px); opacity: 0; } }
@keyframes press { 0%, 100% { transform: scale(1); } 50% { transform: scale(.94); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes more-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes ph-zoom { from { transform: scale(1.05); } to { transform: none; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(7px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes dot-run { 0% { opacity: 0; transform: scale(1); } 3% { opacity: .95; } 12% { opacity: 0; transform: scale(1.4); } 100% { opacity: 0; transform: scale(1.4); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Без поддержки CSS mask — слой «свет выключен» просто растворяется за 1,6 с */
@supports not ((mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000))) {
  @media (prefers-reduced-motion: no-preference) {
    .intro-full .hero__off img { animation: lights-fade 1.6s ease-in-out .4s forwards; }
  }
}
.lights-on .hero__off { display: none; }

/* Полное отключение движения */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__off, .hero__sparks, .scroll-hint { display: none !important; }
}

/* ---------- Плашка cookie (SITE-7) ----------
   Внизу экрана поверх страницы (z-index 90: выше шапки, ниже окон форм — 100). Телефон: текст, под ним две кнопки поровну и «Настроить»;
   от 768 px — текст слева, кнопки и «Настроить» справа в одну строку. Выезжает снизу; при «уменьшении движения» — без анимации. */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 0 var(--gutter) max(12px, env(safe-area-inset-bottom)); pointer-events: none; }
.cookie__in { pointer-events: auto; max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px;
  border-radius: 18px; background: var(--forest-deep); color: var(--cream); border: 1px solid rgba(209, 216, 196, .22);
  box-shadow: 0 18px 40px rgba(5, 14, 11, .35); animation: cookie-in .35s var(--ease) backwards; }
.cookie.is-out .cookie__in { transform: translateY(calc(100% + 16px)); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.cookie__txt { font-size: 14px; line-height: 1.45; }
.cookie__txt a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie__btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
/* «Настроить» (RELAY-2) — ссылка под кнопками (телефон) или справа от них (от 768 px); открывает окно «Настройки cookie» */
.cookie__more { grid-column: 1 / -1; justify-self: center; min-height: 40px; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--cream);
  background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cookie__more:hover { text-decoration-thickness: 2px; }
@media (min-width: 768px) {
  .cookie__in { flex-direction: row; align-items: center; gap: 24px; padding: 14px 16px 14px 24px; }
  .cookie__txt { flex: 1; font-size: 15px; }
  .cookie__btns { display: flex; }
  .cookie__btn { padding: 0 26px; }
  .cookie__btns { align-items: center; }
  .cookie__more { min-height: 44px; padding: 0 8px; font-size: 15px; white-space: nowrap; }
}
@keyframes cookie-in { from { transform: translateY(calc(100% + 16px)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cookie__in { animation: none; } .cookie.is-out .cookie__in { transition: none; } }

/* ---------- Кнопка «Обратный звонок» (SITE-10) ----------
   Круглая оранжевая с трубкой, справа внизу (z-index 80: ниже плашки cookie и окон). Появляется, когда прокручен первый экран (.is-on);
   пока видна плашка cookie — поднята над ней на её высоту (--cookie-h, только transform). На телефоне на время прокрутки вниз уходит
   за край (.is-tucked). Скрытая — невидима и не в порядке Tab (visibility). На компьютере при наведении — подпись слева. */
.cb-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
  background: var(--orange); color: var(--forest); box-shadow: 0 10px 26px rgba(19, 43, 36, .28), 0 0 0 3px rgba(255, 255, 255, .55);
  opacity: 0; visibility: hidden; transform: translate3d(0, calc(16px - var(--cookie-h, 0px)), 0) scale(.85);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s; }
.cb-fab .ico { width: 24px; height: 24px; }
.cb-fab.is-on { opacity: 1; visibility: visible; transform: translate3d(0, calc(0px - var(--cookie-h, 0px)), 0); transition: opacity .25s ease, transform .3s var(--ease), visibility 0s; }
.cb-fab.is-on.is-tucked { opacity: 0; transform: translate3d(0, calc(88px - var(--cookie-h, 0px)), 0); }
.menu-open .cb-fab, .modal-open .cb-fab, .cbx-on .cb-fab { opacity: 0; visibility: hidden; }
.cb-fab__tip { position: absolute; right: calc(100% + 12px); top: 50%; padding: 7px 12px; border-radius: 10px; background: var(--forest); color: var(--cream);
  font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(19, 43, 36, .2);
  opacity: 0; transform: translate(6px, -50%); transition: opacity .2s ease, transform .2s var(--ease); }
@media (hover: hover) {
  .cb-fab:hover { background: var(--orange-hover); }
  .cb-fab:hover .cb-fab__tip { opacity: 1; transform: translate(0, -50%); }
}
.cb-fab:focus-visible .cb-fab__tip { opacity: 1; transform: translate(0, -50%); }
@media (max-width: 767px) { .cb-fab { width: 52px; height: 52px; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); } .cb-fab__tip { display: none; } }

/* ---------- «Обратный звонок» — карточка в углу (SITE-10.1; одна форма и «Заявка принята» — SITE-10.2) ----------
   Не окно: без затемнения и блокировки страницы. z-index 85 — над кнопкой с трубкой (80), под плашкой cookie (90) и окнами (100);
   стоит над плашкой cookie (--cookie-h). Одна форма, без свёрнутого вида. Компьютер: 340 px справа внизу, выплывает снизу-справа.
   Телефон (до 639 px): у нижнего края во всю ширину с отступами 8 px, не выше 60 % экрана (длиннее — прокрутка внутри), компактнее:
   заголовок 18 px, поля 44 px, «Когда удобно» в одну строку от 360 px. После отправки (.is-done) — уведомление «Заявка принята»
   в том же углу: компьютер ~260 px, телефон — узкая полоса снизу; сжатие — .is-shrink (ширина и высота из main.js).
   Прокручивается внутри только .cbx__main, крестик остаётся на месте.
   Сама появившаяся, пока её не трогали, уходит (.is-away), когда на экране форма внизу главной или подвал. При «уменьшении движения» — без анимации. */
.cbx { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + var(--cookie-h, 0px)); z-index: 85;
  width: 340px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px - var(--cookie-h, 0px)); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 20px; background: var(--white); color: var(--forest); border: 1px solid rgba(19, 43, 36, .06);
  box-shadow: 0 22px 50px rgba(19, 43, 36, .24), 0 3px 10px rgba(19, 43, 36, .08);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s; }
.cbx:focus { outline: none; }
.cbx:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
.cbx.is-out, .cbx.is-away { opacity: 0; visibility: hidden; transform: translate3d(12px, 24px, 0); transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s; }
.cbx.is-shrink { transition: width .42s var(--ease), height .42s var(--ease); }
/* прокручивается только содержимое — крестик всегда на месте */
.cbx__main { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px; }
.cbx__x { position: absolute; z-index: 2; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer; background: var(--cream); color: var(--forest); transition: background-color .2s ease; }
.cbx__x span, .cbx__x span::before { display: block; width: 14px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.cbx__x span::before { content: ''; transform: rotate(90deg); }
@media (hover: hover) { .cbx__x:hover { background: var(--sand); } }
.cbx__head { display: flex; align-items: center; gap: 12px; padding-right: 34px; }
.cbx__ava { flex: none; display: block; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--cream); }
.cbx__ava img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cbx__title { font-size: 19px; line-height: 1.2; font-weight: 800; }
.cbx__txt { margin-top: 3px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--text-2); }
.cbx__form { margin-top: 14px; gap: 12px; }
.cbx .chips { gap: 6px; }
.cbx .chips span { min-height: 40px; padding: 0 12px; font-size: 14px; }
.cbx .form__submit { width: 100%; }
/* «Заявка принята»: зелёная галочка и текст, крестик справа */
.cbx__ok { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 52px 10px 14px; }
.cbx__ok:focus { outline: none; }
.cbx__ok[hidden] { display: none; }
.cbx__okmark { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-ink); color: var(--white); }
.cbx__okmark .ico { width: 18px; height: 18px; }
.cbx__ok p { font-size: 16px; line-height: 1.25; font-weight: 800; }
.cbx.is-done { width: 260px; justify-content: center; } /* во время сжатия галочка и текст — по центру, как и крестик */
.cbx.is-done .cbx__main { display: none; }
.cbx.is-done .cbx__x { top: 50%; right: 10px; width: 36px; height: 36px; margin-top: -18px; }
@media (max-width: 639px) {
  .cbx { left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right)); bottom: calc(max(8px, env(safe-area-inset-bottom)) + var(--cookie-h, 0px));
    width: auto; max-width: none; border-radius: 16px;
    max-height: min(60vh, calc(100vh - 24px - var(--cookie-h, 0px)));
    max-height: min(60dvh, calc(100dvh - 24px - var(--cookie-h, 0px)));
    box-shadow: 0 -6px 30px rgba(19, 43, 36, .22), 0 2px 8px rgba(19, 43, 36, .1); }
  .cbx.is-out, .cbx.is-away { transform: translate3d(0, calc(100% + 16px), 0); }
  .cbx.is-done { width: auto; }
  .cbx__main { padding: 12px 14px 14px; }
  .cbx__x { right: 6px; top: 6px; width: 36px; height: 36px; }
  .cbx__head { gap: 10px; padding-right: 30px; }
  .cbx__title { font-size: 18px; }
  .cbx__txt { margin-top: 1px; font-size: 13px; line-height: 1.35; }
  .cbx__form { margin-top: 10px; gap: 9px; }
  .cbx .field label, .cbx .fgroup__legend { margin-bottom: 4px; font-size: 13px; }
  .cbx .field input { height: 44px; font-size: 16px; }
  .cbx .field__err { margin-top: 4px; font-size: 12.5px; }
  .cbx .chips span { min-height: 36px; padding: 0 10px; font-size: 13px; }
  .cbx .check { gap: 10px; font-size: 13px; line-height: 1.4; }
  .cbx .form__submit { min-height: 46px; margin-top: 2px; }
  .cbx__ok { min-height: 52px; padding: 8px 48px 8px 12px; }
  .cbx__okmark { width: 28px; height: 28px; }
  .cbx__okmark .ico { width: 16px; height: 16px; }
  .cbx__ok p { font-size: 15px; }
}
@media (min-width: 360px) and (max-width: 639px) {
  .cbx .chips { flex-wrap: nowrap; }
  .cbx .chips label { flex: 1 1 auto; min-width: 0; }
  .cbx .chips span { white-space: nowrap; }
}
@media (prefers-reduced-motion: no-preference) {
  .cbx.is-in { animation: cbx-in .45s var(--ease) backwards; }
  .cbx__ok.is-in { animation: fade-in .3s ease-out .12s backwards; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 639px) { .cbx.is-in { animation-name: cbx-up; } }
@keyframes cbx-in { from { opacity: 0; transform: translate3d(24px, 32px, 0) scale(.97); } }
@keyframes cbx-up { from { transform: translate3d(0, calc(100% + 16px), 0); } }

/* ---------- Окно покупки (SITE-11): тариф и период, расчёт, способ оплаты и поля; уведомление «Заказ принят» ----------
   Окно — как «Контакты» (.modal--md, на телефоне на весь экран). После ответа сервера окно исчезает (.is-shrunk), затемнение
   гаснет, а уведомление .otoast плавно сжимается из размеров окна в угол (left/top/width/height из main.js, .is-shrink).
   Пока уведомление на экране, кнопка с трубкой и карточка «Обратный звонок» в том же углу скрыты (.otoast-on). */
.order .modal__body .form { margin-top: 18px; gap: 16px; }
.order__chips span { display: flex; align-items: center; }
.order__chips b { margin-left: 5px; font-weight: 800; color: var(--orange-ink); }
.order__chips input:checked + span b { color: var(--peach); }
.order__sum { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--cream); }
.order__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; line-height: 1.35; font-weight: 600; }
.order__line b { font-weight: 800; white-space: nowrap; }
.order__hint { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.order__line--total { margin-top: 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 800; }
.order__line--total b { font-size: 21px; }
.paym { display: grid; gap: 8px; }
.paym__opt { position: relative; display: block; }
.paym__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.paym__ui { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #FAF8F3;
  font-size: 14.5px; line-height: 1.35; font-weight: 500; transition: border-color .15s ease, background-color .15s ease; }
.paym__t b { font-weight: 800; }
.paym__dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B9B2A3; background: var(--white); transition: border-color .15s ease, box-shadow .15s ease; }
.paym__opt input:checked + .paym__ui { border-color: var(--forest); background: var(--white); }
.paym__opt input:checked + .paym__ui .paym__dot { border-color: var(--forest); box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 10px var(--forest); }
.paym__opt input:focus-visible + .paym__ui { outline: 3px solid var(--peach); outline-offset: 2px; }
.order__fields { display: grid; gap: 14px; }
.order__fields[hidden] { display: none; }
@media (min-width: 560px) { .paym { grid-template-columns: 1fr 1fr; } }
/* Оплата по счёту (SITE-12): ИНН и «Ввести реквизиты вручную», «Ищем организацию…», блок «Реквизиты для счёта» */
.inv-top { display: grid; gap: 4px; align-items: start; }
.inv-manual__btn { padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--forest); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-align: left; }
.inv-manual__btn:hover { text-decoration-thickness: 2px; color: var(--orange-ink); }
.inv-manual__btn:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; border-radius: 4px; }
@media (min-width: 640px) {
  .inv-top { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .inv-manual { display: flex; align-items: center; min-height: 48px; margin-top: 26px; }
}
.inv-st { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.inv-st::before { content: ''; flex: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(19, 43, 36, .2); border-top-color: var(--orange); animation: spin .8s linear infinite; }
.inv-req { display: grid; gap: 14px; padding: 16px; border-radius: 14px; background: var(--cream); }
.inv-req__t { font-size: 15px; font-weight: 800; line-height: 1.3; }
.inv-req__note { margin-top: -10px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--text-2); }
.inv-req .field input, .inv-req .field textarea { background: var(--white); }
@media (prefers-reduced-motion: no-preference) { .inv-req:not([hidden]) { animation: rv-in .35s var(--ease) backwards; } }
@media (prefers-reduced-motion: reduce) { .inv-st::before { animation: none; } }
@media (max-width: 639px) { .order .chips { gap: 6px; } .order .chips span { padding: 0 12px; font-size: 14px; } }
.modal.is-shrunk .modal__box { visibility: hidden; animation: none !important; }

.otoast { position: fixed; z-index: 95; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + var(--cookie-h, 0px));
  width: 360px; max-width: calc(100vw - 32px); min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 12px 54px 12px 14px; overflow: hidden;
  border-radius: 20px; background: var(--white); color: var(--forest); border: 1px solid rgba(19, 43, 36, .06);
  box-shadow: 0 22px 50px rgba(19, 43, 36, .24), 0 3px 10px rgba(19, 43, 36, .08); transition: opacity .2s ease, transform .25s ease; }
.otoast[hidden] { display: none; }
.otoast:focus { outline: none; }
.otoast.is-shrink { transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease); }
.otoast__mark, .otoast p { transition: opacity .25s ease .05s; }
.otoast.is-shrink .otoast__mark, .otoast.is-shrink p { opacity: 0; }
.otoast.is-out { opacity: 0; transform: translate3d(12px, 24px, 0); }
.otoast__mark { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-ink); color: var(--white); }
.otoast__mark .ico { width: 18px; height: 18px; }
.otoast p { font-size: 15px; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.otoast__x { position: absolute; right: 10px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer; background: var(--cream); color: var(--forest); transition: background-color .2s ease; }
.otoast__x span, .otoast__x span::before { display: block; width: 14px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.otoast__x span::before { content: ''; transform: rotate(90deg); }
@media (hover: hover) { .otoast__x:hover { background: var(--sand); } }
.otoast-on .cb-fab, .otoast-on .cbx, .ptoast-on .cb-fab, .ptoast-on .cbx { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }
/* SITE-17: плашка возврата с оплаты (#pay-toast, main.js payToast) — «Проверяем оплату…» с крутилкой; «Оплата не завершена» — строка,
   «Вернуться к оплате» / «Другой способ» и крестик. Без затемнения: страница под ней листается и нажимается */
.ptoast { align-items: flex-start; }
.ptoast:not(.is-pending) { align-items: center; padding-right: 18px; }
.ptoast.is-pending { width: 400px; padding: 14px 54px 16px 14px; }
.ptoast__mark { background: var(--sage); color: var(--forest); }
.ptoast__spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(19, 43, 36, .2); border-top-color: var(--forest); animation: spin .8s linear infinite; }
.ptoast__body { min-width: 0; }
.ptoast .ptoast__t { font-size: 15px; line-height: 1.35; font-weight: 700; }
.ptoast.is-pending .ptoast__t { padding-top: 5px; }
.ptoast .ptoast__txt { margin-top: 4px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--text-2); }
.ptoast__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ptoast__btns[hidden] { display: none; }
.ptoast__btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
.ptoast.is-pending .otoast__x { top: 10px; margin-top: 0; }
@media (prefers-reduced-motion: no-preference) { .ptoast.is-in { animation: ptoast-in .35s var(--ease) backwards; } }
@keyframes ptoast-in { from { opacity: 0; transform: translate3d(12px, 24px, 0); } }
@media (prefers-reduced-motion: reduce) { .ptoast__spin { animation-duration: 2.4s; } }
@media (max-width: 639px) {
  .otoast { left: max(8px, env(safe-area-inset-left)); right: max(8px, env(safe-area-inset-right)); bottom: calc(max(8px, env(safe-area-inset-bottom)) + var(--cookie-h, 0px));
    width: auto; max-width: none; min-height: 56px; padding: 10px 50px 10px 12px; border-radius: 16px; }
  .otoast__mark { width: 28px; height: 28px; }
  .otoast__mark .ico { width: 16px; height: 16px; }
  .otoast p { font-size: 14px; }
  .otoast.is-out { transform: translate3d(0, calc(100% + 16px), 0); }
  .ptoast.is-pending { width: auto; padding: 12px 50px 14px 12px; }
  .ptoast__btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 639px) { .ptoast.is-in { animation-name: ptoast-up; } }
@keyframes ptoast-up { from { transform: translate3d(0, calc(100% + 16px), 0); } }
