/* HOLI — кинематографичный тизер.
 * Палитра и правила — из дизайн-системы приложения (docs/design/DESIGN_v2.md):
 * бумага, песок, графит, морской зелёный; без золота, без фиолетового, без эмодзи.
 * Структура: сначала обычная лента (без JS и при «уменьшить движение»),
 * затем под html.cinema — один закреплённый кадр и сцены, управляемые прокруткой. */

@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --paper: #FBFAF7;
  --sand: #F3EDE3;
  --ink: #1B2A3A;
  --ink70: rgba(27, 42, 58, .72);
  --brand: #0E7C7B;
  --brand-text: #0A6564;
  --hint: #D7EFEC;
  --deep: #12343B;
  --deep-accent: #8FD8D5;
  --night-paper: #EEEBE4;
  --urgent: #E8553E;
  --urgent-text: #C23E29;
  --peach: #FFD9B8;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(20px, 5vw, 96px);
  --ph: min(80svh, 720px);
  --pw: calc(var(--ph) * .5283);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  font-family: "Onest", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ———————————————— Небо ———————————————— */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--paper); }
.sky > div { position: absolute; inset: 0; }
.sky__day {
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(255, 214, 170, .85), rgba(255, 214, 170, 0) 70%),
    linear-gradient(180deg, #FBE0C6 0%, #FCEBDB 38%, #FBF6EE 70%, #FBFAF7 100%);
}
.sky__night {
  opacity: 0;
  background:
    radial-gradient(90% 60% at 50% 108%, #1F5E60 0%, rgba(31, 94, 96, 0) 70%),
    radial-gradient(70% 50% at 18% 0%, #1A4A52 0%, rgba(26, 74, 82, 0) 70%),
    linear-gradient(180deg, #0C2227 0%, #0F2A30 55%, #12343B 100%);
}
.sky__dawn {
  opacity: 0;
  background: radial-gradient(70% 55% at 50% 112%, rgba(255, 190, 130, .9) 0%, rgba(255, 170, 110, .38) 38%, rgba(255, 170, 110, 0) 72%);
}
.sky__grain {
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ———————————————— Верхняя полоса ———————————————— */
.bar {
  position: fixed; z-index: 50; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) var(--pad) 14px;
  color: var(--bar-fg, var(--ink));
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Unbounded", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .02em; opacity: var(--logo-o, 1); }
.bar__logo svg { width: 26px; height: 26px; color: var(--brand); }
.bar__clock { position: absolute; left: 50%; transform: translateX(-50%); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; letter-spacing: .12em; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(27, 42, 58, .08); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(27, 42, 58, .08); }
.lang button { border: 0; background: transparent; min-width: 44px; min-height: 32px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: inherit; opacity: .6; transition: opacity .2s, background .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); opacity: 1; }
.is-night .bar { --bar-fg: var(--night-paper); }
.is-night .bar__clock, .is-night .lang { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.is-night .lang button[aria-pressed="true"] { background: var(--night-paper); color: var(--deep); }

.dots { position: fixed; z-index: 50; right: max(14px, calc(var(--pad) / 2)); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 2px; }
.cinema .dots { display: flex; }
.dots button { width: 28px; height: 28px; border: 0; background: transparent; display: grid; place-items: center; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; transition: transform .3s var(--ease), opacity .3s; color: var(--bar-fg, var(--ink)); }
.dots button.is-on i { opacity: 1; transform: scale(1.7); }
.is-night .dots i { color: var(--night-paper); }

/* ———————————————— Знак и надпись HOLI ———————————————— */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-text); }
.eyebrow--night { color: var(--deep-accent); }

.wm {
  font-family: "Unbounded", sans-serif; font-weight: 800;
  font-size: clamp(60px, 19vw, 320px);
  line-height: 1; letter-spacing: -.02em;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  user-select: none;
}
.wm__o {
  width: .8em; height: .8em; margin: 0 .035em; border-radius: 50%;
  display: grid; place-items: center; color: var(--brand);
  background: radial-gradient(circle at 34% 28%, #FFF4E6 0%, #FFDDB8 52%, #F8BE8C 100%);
  box-shadow: 0 0 .35em rgba(255, 190, 130, .55), 0 0 1.4em rgba(255, 200, 150, .4);
}
.wm__o svg { width: 66%; height: 66%; }
.wm__l { display: block; transform-origin: 50% 60%; }
/* «Солнце» во вступлении: крупный слой, уменьшенный до размера буквы О.
   При приближении он только растёт до своего настоящего размера, поэтому знак остаётся чётким. */
.wm__o--hero { position: relative; display: block; background: none; }
.wm__sun {
  --k: 10;
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--k) * 100%); height: calc(var(--k) * 100%);
  margin: calc(var(--k) * -50%) 0 0 calc(var(--k) * -50%);
  border-radius: 50%; color: var(--brand);
  display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #FFF4E6 0%, #FFDDB8 52%, #F8BE8C 100%);
  transform: scale(calc(1 / var(--k)));
}
.wm__sun svg { width: 66%; height: 66%; }

/* ———————————————— Лента (без кино-режима) ———————————————— */
.stage__pin { display: block; padding: 120px var(--pad) 40px; }
.stage .wm { margin: 0 auto 20px; }
.hero-copy { text-align: center; margin: 0 auto 80px; max-width: 24ch; }
.hero-copy__title { font-size: clamp(26px, 5vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-top: 12px; }
.cue { display: none; }
.cap { max-width: 26ch; margin: 0 auto 36px; }
.cap__title { font-size: clamp(30px, 5vw, 56px); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.cap__text { margin-top: 14px; font-size: 18px; color: var(--ink70); max-width: 34ch; }
.cap__chips { margin-top: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); }
.cap__list { margin-top: 18px; display: grid; gap: 10px; max-width: 36ch; }
.cap__list li { position: relative; padding-left: 28px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.35; font-weight: 500; }
.cap__list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 18px; height: 18px; border-radius: 50%; background: var(--hint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m6 12.5 4 4 8-9' fill='none' stroke='%230A6564' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat; }

.phone { --pw: calc(var(--ph) * .5283); width: var(--pw); height: var(--ph); margin: 40px auto; font-size: calc(var(--ph) / 43); }

/* ———————————————— Кино-режим: закреплённый кадр ———————————————— */
.cinema .stage__pin { position: relative; height: 100vh; height: 100svh; height: 100lvh; padding: 0; overflow: hidden; }
.cinema .stage__pin > * { position: absolute; }

.cinema .wm { left: 0; right: 0; top: 0; bottom: 0; margin: 0; padding-bottom: 8svh; }
.cinema .hero-copy { left: 0; right: 0; top: 66%; max-width: none; margin: 0; padding: 0 var(--pad); text-align: center; }
.hero-copy__title .hl, .cap__title .hl { color: var(--brand-text); }
.cinema .cue { display: flex; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); flex-direction: column; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink70); }
.cue i { width: 1px; height: 38px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.cinema .cap { left: max(var(--pad), 19vw); top: 0; bottom: 0; margin: 0; opacity: 0; max-width: min(24ch, 33vw); display: flex; flex-direction: column; justify-content: center; }
.cinema .cap__title { font-size: clamp(30px, 4.6vw, 76px); }
.cinema .cap__text { font-size: clamp(16px, 1.35vw, 21px); }

.cinema .phone {
  left: calc(65% - var(--pw) / 2); top: calc(50% - var(--ph) / 2); margin: 0;
  opacity: 0;
}
.phone__frame {
  width: 100%; height: 100%; padding: .55em; border-radius: 3.3em;
  background: linear-gradient(145deg, #2a3338, #0d1417);
  box-shadow: 0 0 0 .12em #3a464c inset, 0 4em 7em -2.5em rgba(18, 52, 59, .55), 0 1.2em 2.5em -1em rgba(18, 52, 59, .4);
}
.phone__screen {
  position: relative; width: 100%; height: 100%; border-radius: 2.8em; overflow: hidden;
  background: #FBFAF7; color: var(--ink);
}
.ui__status { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 3em; padding: .95em 1.5em 0; display: flex; align-items: flex-start; justify-content: space-between; font-size: .72em; font-weight: 700; }
.ui__island { width: 5.6em; height: 1.6em; border-radius: 1em; background: #0a0f12; margin-top: -.2em; }
.ui__sig { display: inline-flex; gap: .2em; align-items: flex-end; height: .9em; }
.ui__sig b { width: .22em; background: var(--ink); border-radius: 1px; }
.ui__sig b:nth-child(1) { height: 40%; } .ui__sig b:nth-child(2) { height: 70%; } .ui__sig b:nth-child(3) { height: 100%; }

.ui { position: absolute; inset: 0; padding: 3.2em 1.15em 1em; display: flex; flex-direction: column; gap: .62em; }
.ui--b { opacity: 0; }
.ui__eyebrow { font-size: .62em; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink70); margin-top: .35em; }
.ui__hello { font-size: 1.5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin-bottom: .2em; }
.ui__hello--b { margin-top: .5em; }
.card { display: flex; gap: .7em; align-items: flex-start; border-radius: 1.1em; padding: .75em .85em; font-size: .86em; line-height: 1.25; }
.card b { display: block; font-size: .82em; letter-spacing: .02em; }
.card p { font-weight: 600; margin-top: .1em; }
.card__ic { width: 1.5em; height: 1.5em; flex: none; margin-top: .15em; }
.card--urgent { background: rgba(232, 85, 62, .1); color: var(--ink); }
.card--urgent b { color: var(--urgent-text); }
.card--urgent .card__ic { color: var(--urgent); }
.card--hint { background: var(--hint); }
.card--hint .card__ic { color: var(--brand-text); }
.card--hint b { color: var(--brand-text); }
.ui__label { font-size: .62em; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink70); margin-top: .6em; }
.plan { background: #fff; border-radius: 1.1em; padding: .35em .85em; border: 1px solid rgba(27, 42, 58, .08); font-size: .88em; }
.plan li { display: grid; grid-template-columns: 3em 1em 1fr; align-items: center; padding: .55em 0; font-weight: 600; }
.plan li + li { border-top: 1px solid rgba(27, 42, 58, .06); }
.plan time { font-variant-numeric: tabular-nums; font-weight: 700; }
.plan i { width: .55em; height: .55em; border-radius: 50%; background: var(--brand); }
.force { margin-top: auto; display: flex; align-items: center; gap: .7em; background: var(--urgent); color: #fff; border-radius: 99em; padding: .65em .8em; font-size: .84em; box-shadow: 0 .8em 1.4em -.8em rgba(232, 85, 62, .8); transform-origin: 50% 50%; }
.force svg { width: 2.1em; height: 2.1em; padding: .5em; border-radius: 50%; background: rgba(255, 255, 255, .22); flex: none; }
.force b { display: block; font-size: 1.05em; }
.force span { font-size: .82em; opacity: .92; line-height: 1.2; display: block; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: .68em; font-weight: 700; color: var(--ink70); background: rgba(255, 255, 255, .85); border: 1px solid rgba(27, 42, 58, .08); border-radius: 99em; padding: .45em .3em; margin-bottom: .1em; }
.tabs .is-on { color: var(--brand-text); background: var(--hint); border-radius: 99em; padding: .45em 0; }
.tabs span { padding: .45em 0; }

.msgs { display: flex; flex-direction: column; gap: .5em; margin-top: .6em; }
.msgs li { background: #fff; border: 1px solid rgba(27, 42, 58, .08); border-radius: 1em; padding: .6em .8em; font-size: .82em; line-height: 1.3; }
.msgs b { display: block; font-size: .78em; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); margin-bottom: .15em; }
.send { margin-top: auto; text-align: center; background: var(--brand); color: #fff; border-radius: 99em; padding: .8em; font-weight: 700; font-size: .95em; }
.confirm { display: flex; align-items: center; justify-content: center; gap: .45em; font-size: .78em; font-weight: 700; color: var(--brand-text); padding-bottom: .5em; }
.confirm svg { width: 1.3em; height: 1.3em; }

/* ———————————————— Сцена 3: экраны приложения по прокрутке ———————————————— */
.shots { position: absolute; inset: 0; z-index: 4; }
.shots--s { z-index: 3; }
.phone__screen.shots { position: relative; inset: auto; z-index: auto; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }

.reel { pointer-events: none; }
.cinema .reel { inset: 0; }
.reel__glow { position: absolute; left: 50%; top: 50%; width: min(90vw, 1100px); aspect-ratio: 1; margin: calc(min(90vw, 1100px) / -2) 0 0 calc(min(90vw, 1100px) / -2); border-radius: 50%; background: radial-gradient(circle, rgba(77, 182, 179, .34) 0%, rgba(77, 182, 179, .1) 42%, rgba(77, 182, 179, 0) 70%); opacity: 0; }
.reel__side { --sw: calc(var(--pw) * .74); width: var(--sw); height: calc(var(--ph) * .74); font-size: calc(var(--ph) / 43); }
.reel__side .phone__frame { width: 100%; height: 100%; }
.cinema .reel__side { position: absolute; left: calc(50% - var(--sw) / 2); top: calc(50% - var(--ph) * .37); opacity: 0; }

.rcard {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 18px; min-width: 190px;
  background: rgba(255, 255, 255, .93); color: var(--ink);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset;
}
.rcard span { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.rcard b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.rcard em { font-style: normal; font-size: 13px; color: var(--ink70); }
.rcard--1 span { color: var(--urgent-text); }
.rcard--4 { border-left: 4px solid var(--urgent); }
.cinema .rcard { position: absolute; opacity: 0; }
.cinema .rcard--1 { left: 4%;  top: 15%; }
.cinema .rcard--2 { right: 4%; top: 19%; }
.cinema .rcard--3 { left: 5%; bottom: 13%; }
.cinema .rcard--4 { right: 4%; bottom: 11%; }
html:not(.cinema) .reel { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px auto; }
html:not(.cinema) .reel__side, html:not(.cinema) .reel__glow { display: none; }

/* ———————————————— Сцена 4 ———————————————— */
.essence { position: relative; color: var(--night-paper); }
.essence__pin { position: relative; min-height: 100svh; overflow: hidden; padding: 120px var(--pad) 80px; display: flex; align-items: center; }
.cinema .essence__pin { height: 100vh; height: 100svh; height: 100lvh; min-height: 0; padding: 0 var(--pad); }
.essence__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(48% 62% at 78% 52%, rgba(77, 182, 179, .26), rgba(77, 182, 179, 0) 70%); }

.avatar { position: absolute; right: clamp(0px, 4vw, 90px); bottom: 0; height: min(92svh, 1000px); aspect-ratio: 4 / 5; display: grid; place-items: end center; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse 49% 52% at 50% 48%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 49% 52% at 50% 48%, #000 50%, transparent 100%); }
.avatar__ring { position: absolute; left: 50%; top: 44%; width: 72%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(143, 216, 213, .4); box-shadow: 0 0 6em rgba(77, 182, 179, .35), 0 0 0 .6em rgba(143, 216, 213, .06); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.97); opacity: .7; } 50% { transform: scale(1.04); opacity: 1; } }

.stmts { position: relative; width: min(60%, 1000px); min-height: 40svh; }
.stmt { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; display: flex; flex-direction: column; justify-content: center; }
.stmt__t { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; color: var(--deep-accent); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.stmt__p { font-size: clamp(32px, 5.3vw, 92px); font-weight: 600; line-height: 1.02; letter-spacing: -.035em; }
.stmt__p .w { display: inline-block; margin-right: .22em; will-change: transform, opacity; }
.stmt__p .w.is-accent { color: var(--deep-accent); }
html:not(.cinema) .stmt { position: relative; top: auto; bottom: auto; margin-bottom: 56px; }
html:not(.cinema) .stmts { min-height: 0; }

/* ———————————————— Сцена 5 ———————————————— */
.final { position: relative; min-height: 100vh; min-height: 100svh; color: var(--night-paper); display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) 22px; overflow: hidden; }
.final__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(14px, 2.4vh, 26px); margin: auto 0; }
.final .wm { color: var(--night-paper); font-size: clamp(56px, 16vw, 270px); }
.final .wm__o { box-shadow: 0 0 .5em rgba(255, 190, 130, .7), 0 0 2.2em rgba(255, 170, 110, .55); }
.final__title { font-size: clamp(24px, 3.4vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; max-width: 20ch; }
.final__status { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--deep); background: var(--deep-accent); padding: 7px 14px; border-radius: 999px; }
.lead { width: min(560px, 100%); display: flex; flex-direction: column; gap: 14px; }
.lead__text { font-size: 16px; opacity: .8; }
.lead__row { display: flex; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px; transition: border-color .2s, background .2s; }
.lead__row:focus-within { border-color: var(--deep-accent); background: rgba(255, 255, 255, .12); }
.lead__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: 16px; color: var(--night-paper); outline: none; }
.lead__input::placeholder { color: rgba(238, 235, 228, .55); }
.lead__btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 6px 6px 6px 20px; min-height: 48px; background: var(--paper); color: var(--deep); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .25s var(--ease), background .2s; }
.lead__btn i { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.lead__btn i svg { width: 18px; height: 18px; }
.lead__btn:hover i { transform: translateX(3px); }
.lead__btn:active { transform: scale(.98); }
.lead__btn[disabled] { opacity: .6; cursor: progress; }
.lead__msg { min-height: 1.4em; font-size: 14.5px; }
.lead__msg.is-ok { color: var(--deep-accent); }
.lead__msg.is-err { color: #F2866F; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: .7; padding-top: 24px; }
.foot__links { display: inline-flex; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot a[hidden] { display: none; }

/* ———————————————— Вертикальные экраны ———————————————— */
@media (max-aspect-ratio: 4/5) {
  :root { --ph: min(56svh, 600px); }
  .bar__clock { display: none; }
  .cinema .wm { bottom: 14svh; font-size: clamp(60px, 23vw, 200px); padding-bottom: 0; }
  .cinema .hero-copy { top: 58%; }
  .cinema .cap { left: var(--pad); right: var(--pad); top: max(70px, 9svh); bottom: auto; justify-content: flex-start; max-width: none; }
  .cinema .cap__title { font-size: clamp(28px, 8.4vw, 52px); }
  .cinema .cap__text { font-size: 16px; max-width: 30ch; }
  .cinema .phone { left: calc(50% - var(--pw) / 2); top: calc(70% - var(--ph) / 2); }
  .cap--today .cap__text, .cap--sick .cap__text, .cap--emails .cap__text { display: none; }
  .cinema .cap__title { font-size: clamp(26px, 7.4vw, 44px); }
  .cinema .dots { display: none; }
  .avatar { --ah: min(58svh, 640px); height: var(--ah); right: auto; left: 50%; margin-left: calc(var(--ah) * -0.4); opacity: .92; }
  .stmts { width: 100%; align-self: flex-start; margin-top: 11svh; }
  .essence__pin { align-items: flex-start; }
  .stmt__p { font-size: clamp(30px, 9vw, 60px); }
  .cinema .stmt { bottom: auto; justify-content: flex-start; }
  .final { padding-top: 90px; }
  .lead__row { flex-direction: column; border-radius: 28px; }
  .lead__input { min-height: 48px; padding: 0 14px; }
  .lead__btn { justify-content: space-between; width: 100%; }
}
@media (max-width: 520px) { .bar__logo span { display: none; } }
@media (max-aspect-ratio: 4/5) {
  .cinema .rcard { min-width: 0; padding: 7px 10px; border-radius: 14px; }
  .rcard span { font-size: 9.5px; }
  .rcard b { font-size: 12.5px; }
  .rcard em { font-size: 11px; }
  .cap__list li { font-size: 14.5px; }
  .cap__list { gap: 7px; margin-top: 12px; }
  .cap__chips { margin-top: 10px; font-size: 11px; }
  .cinema .rcard--1 { left: 5%;  top: 15%; }
  .cinema .rcard--2 { right: 5%; top: 21%; }
  .cinema .rcard--3 { left: 5%; bottom: 13%; }
  .cinema .rcard--4 { right: 5%; bottom: 8%; }
  .reel__side { --sw: calc(var(--pw) * .62); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Без кино-режима небо не меняется, поэтому тёмные сцены получают свой фон */
html:not(.cinema) .essence,
html:not(.cinema) .final {
  background:
    radial-gradient(90% 60% at 50% 100%, #1F5E60 0%, rgba(31, 94, 96, 0) 70%),
    linear-gradient(180deg, #0C2227 0%, #12343B 100%);
}
html:not(.cinema) .final { background:
  radial-gradient(70% 55% at 50% 112%, rgba(255, 190, 130, .55) 0%, rgba(255, 170, 110, 0) 70%),
  linear-gradient(180deg, #0C2227 0%, #12343B 100%); }
html:not(.cinema) .bar { position: absolute; }
html:not(.cinema) .bar__clock { display: none; }
