/* =========================================================================
   Компоненты: фоновые линии, прелоадер, шапка, меню, кнопки, вкладки, поля, окно заявки,
   плейсхолдеры, «барабанные» цифры, раскрытие полосами, курсор, подсказка.
   Все размеры шрифтов и отступы привязаны к модульной шкале из base.css.
   ========================================================================= */

/* ---------- Фоновые линии (canvas) — диагонали под углом слэша, видны на графите ---------- */
.bglines { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Прелоадер: слэш растёт, «НОВОЕ» и «ВРЕМЯ» выезжают из-под него, полосы паттерна уносят экран ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden; }
.preloader__bg { position: absolute; inset: 0; background: var(--bg); }
.preloader__logo { position: relative; width: min(64vw, 620px); color: var(--fg); }
.preloader__logo .logo { width: 100%; height: auto; overflow: visible; }
.preloader__count { position: absolute; left: var(--gutter); bottom: var(--sp-6); font-size: var(--fs-xs); letter-spacing: 0.14em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
html.no-preloader .preloader { display: none; }

/* Полосы паттерна (прелоадер, меню): лента под углом 15°, ширины полос — как в паттерне */
.stripes { position: absolute; inset: -40%; display: flex; flex-direction: column; transform: rotate(-15deg); pointer-events: none; }
.stripes > i { display: block; flex: var(--w, 1) 1 0; background: var(--c); transform: translateX(-102%); will-change: transform; }

/* ---------- Шапка ---------- */
.header { position: fixed; left: 0; right: 0; top: 0; z-index: 800; height: var(--header-h); transition: height 0.4s var(--ease), transform 0.5s var(--ease), background-color 0.4s; }
.header::before { content: ''; position: absolute; inset: 0; background: rgba(40, 40, 40, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 0.4s; }
.header.is-scrolled { height: var(--header-h-compact); }
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }
html.menu-open .header { transform: none; }
html.menu-open .header::before { opacity: 0; }
.header__in { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--sp-5); max-width: none; }
.header__left, .header__right { display: flex; align-items: center; gap: var(--sp-5); }
.header__right { justify-content: flex-end; }
.header__logo { display: block; width: clamp(136px, 12vw, 176px); color: var(--fg); }
.header__logo .logo { width: 100%; height: auto; }
.header__phone { font-size: var(--fs-base); font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; transition: color 0.25s; }
.header__phone:hover { color: var(--p-sand); }
.header__link { position: relative; font-size: var(--fs-sm); font-weight: 500; color: var(--fg-2); transition: color 0.25s; white-space: nowrap; }
.header__link:hover { color: var(--fg); }
.header__call { display: none; width: 44px; height: 44px; place-items: center; }
.header__call .i { width: 22px; height: 22px; }
@media (max-width: 1180px) { .header__link { display: none; } }
@media (max-width: 1023px) {
  .header__cta { display: none !important; }
}
@media (max-width: 767px) {
  .header__in { grid-template-columns: auto 1fr auto; }
  .header__logo { justify-self: center; }
  .header__phone { display: none; }
  .header__call { display: grid; }
}

/* Бургер: две линии; при открытии — крест */
.burger { display: inline-flex; align-items: center; gap: var(--sp-3); height: 44px; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.burger__lines { position: relative; width: 34px; height: 14px; }
.burger__lines i { position: absolute; left: 0; height: 2px; background: currentColor; transition: transform 0.45s var(--ease), width 0.45s var(--ease), top 0.45s var(--ease); }
.burger__lines i:nth-child(1) { top: 0; width: 100%; }
.burger__lines i:nth-child(2) { top: 12px; width: 62%; }
.burger:hover .burger__lines i:nth-child(2) { width: 100%; }
html.menu-open .burger__lines i:nth-child(1) { top: 6px; transform: rotate(-45deg); }
html.menu-open .burger__lines i:nth-child(2) { top: 6px; width: 100%; transform: rotate(45deg); }
@media (max-width: 767px) { .burger__label { display: none; } }

/* ---------- Меню на весь экран ---------- */
.menu { position: fixed; inset: 0; z-index: 790; overflow: hidden; visibility: hidden; }
.menu.is-open { visibility: visible; }
.menu__panel { position: absolute; inset: 0; background: var(--bg); opacity: 0; overflow-y: auto; overscroll-behavior: contain; }
.menu__in { min-height: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-6); align-content: center; padding-top: calc(var(--header-h) + var(--sp-5)); padding-bottom: var(--sp-7); }
.menu__nav { grid-column: 1 / span 7; display: grid; gap: var(--sp-1); counter-reset: m; }
.menu__link { position: relative; display: flex; align-items: baseline; gap: var(--sp-4); padding: var(--sp-2) 0; font-size: var(--fs-2xl); line-height: 1.08; font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; }
.menu__num { flex: 0 0 auto; width: 2.2em; font-size: var(--fs-xs); letter-spacing: 0.14em; color: var(--fg-3); font-weight: 600; transform: translateY(-0.9em); transition: color 0.3s; }
.menu__text { position: relative; display: inline-block; transition: transform 0.5s var(--ease); }
.menu__text::before { content: ''; position: absolute; left: -0.62em; top: 0.08em; width: 0.32em; height: 0.84em; background: var(--c, var(--teal)); clip-path: polygon(100% 0, 50.6% 100%, 0 100%, 49.4% 0); transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease); }
.menu__link:hover .menu__text, .menu__link:focus-visible .menu__text { transform: translateX(0.7em); }
.menu__link:hover .menu__text::before, .menu__link:focus-visible .menu__text::before { transform: none; }
.menu__link:hover .menu__num { color: var(--fg); }
.menu__side { grid-column: 8 / -1; display: grid; gap: var(--sp-5); align-content: start; }
.menu__phone { font-size: var(--fs-lg); line-height: var(--lh-tight); font-weight: 500; }
.menu__meta { display: grid; gap: var(--sp-2); color: var(--fg-2); font-size: var(--fs-base); line-height: var(--lh-body); }
.menu__social { display: flex; gap: var(--sp-3); }
@media (max-width: 1023px) {
  .menu__in { align-content: start; row-gap: var(--sp-7); }
  .menu__nav, .menu__side { grid-column: 1 / -1; }
}

.social { position: relative; display: grid; place-items: center; width: 48px; height: 48px; isolation: isolate; transition: color 0.3s; }
.social::before { content: ''; position: absolute; inset: 0 7px; z-index: -1; transform: skewX(var(--skew)); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color 0.3s, box-shadow 0.3s; }
.social:hover::before { background: var(--teal); box-shadow: none; }
.social .i { width: 20px; height: 20px; }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: var(--fg); --btn-line: transparent;
  --btn-fill: var(--paper); --btn-fg-h: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  min-height: 56px; padding: var(--sp-3) var(--sp-6); isolation: isolate;
  font-size: var(--fs-base); line-height: 1.2; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  color: var(--btn-fg); transition: color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn__bg { position: absolute; inset: 0 9px; z-index: -1; overflow: hidden; transform: skewX(var(--skew)); background: var(--btn-bg); box-shadow: inset 0 0 0 1.5px var(--btn-line); }
.btn__bg > i { position: absolute; inset: 0 -2px; transform: translateX(-102%); }
.btn__bg > i:nth-child(1) { background: var(--p-pink); }
.btn__bg > i:nth-child(2) { background: var(--p-sand); }
.btn__bg > i:nth-child(3) { background: var(--p-rust); }
.btn__bg > .btn__fill { background: var(--btn-fill); }
.btn.is-hover { color: var(--btn-fg-h); }
.btn__label { position: relative; }
.btn__icon { position: relative; display: block; width: 20px; height: 20px; flex: 0 0 auto; overflow: hidden; }
.btn__icon .i { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.btn.is-hover .btn__icon .i { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--teal); --btn-fg: var(--fg); --btn-fill: var(--paper); --btn-fg-h: var(--ink); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-fill: var(--p-night); --btn-fg-h: var(--fg); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--fg); --btn-line: rgba(255, 248, 239, 0.42); --btn-fill: var(--teal); --btn-fg-h: var(--fg); }
.btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--ink); --btn-line: rgba(40, 40, 40, 0.34); --btn-fill: var(--ink); --btn-fg-h: var(--fg); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--fg); --btn-line: rgba(255, 248, 239, 0.6); --btn-fill: var(--paper); --btn-fg-h: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--fg); --btn-fill: var(--teal); --btn-fg-h: var(--fg); }
.btn--sm { min-height: 44px; padding: var(--sp-2) var(--sp-5); font-size: var(--fs-sm); }
.btn--sm .btn__bg { inset: 0 7px; }
.btn--block { width: 100%; padding-left: var(--sp-5); padding-right: var(--sp-5); }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: 0.7; }
html.is-touch .btn:active .btn__fill, html:not(.is-ready) .btn:hover .btn__fill { transform: none; }
/* На телефоне длинная подпись («Подобрать программу и рассчитать», «Узнать о готовности планировок»)
   переносится внутри плашки, а не вылезает за её край и за край экрана */
@media (max-width: 560px) {
  .btn { max-width: 100%; white-space: normal; text-align: center; padding-left: var(--sp-5); padding-right: var(--sp-5); }
}

/* Квадратная кнопка-стрелка */
.abtn { position: relative; display: grid; place-items: center; width: 56px; height: 56px; isolation: isolate; color: inherit; transition: color 0.3s; }
.abtn__bg { position: absolute; inset: 0 9px; z-index: -1; transform: skewX(var(--skew)); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color 0.3s, box-shadow 0.3s; }
.panel .abtn__bg { box-shadow: inset 0 0 0 1.5px var(--line-ink-2); }
.abtn .i { width: 22px; height: 22px; transition: transform 0.4s var(--ease); }
.abtn:hover .abtn__bg { background: var(--teal); box-shadow: none; }
.abtn:hover { color: var(--fg); }
.abtn:hover .i { transform: translateX(3px); }
.abtn[data-dir="-1"]:hover .i { transform: translateX(-3px); }
.abtn:disabled { opacity: 0.35; pointer-events: none; }

/* Текстовая ссылка со стрелкой */
.alink { display: inline-flex; align-items: center; gap: var(--sp-3); font-size: var(--fs-base); line-height: 1.25; font-weight: 600; }
.alink__text { position: relative; }
.alink__text::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: currentColor; transform-origin: right; transition: transform 0.5s var(--ease); }
.alink:hover .alink__text::after { transform: scaleX(0); }
.alink .i { width: 20px; height: 20px; color: var(--teal); transition: transform 0.4s var(--ease); }
.alink:hover .i { transform: translateX(4px); }

/* ---------- Вкладки (наклонные) ---------- */
.tabs { display: flex; flex-wrap: wrap; row-gap: var(--sp-3); column-gap: var(--sp-2); }
.tab { position: relative; display: inline-flex; align-items: center; gap: var(--sp-2); height: 44px; padding: 0 var(--sp-5); isolation: isolate; font-size: var(--fs-sm); line-height: 1; font-weight: 600; white-space: nowrap; color: var(--fg-2); transition: color 0.3s; }
.tab::before { content: ''; position: absolute; inset: 0 7px; z-index: -1; transform: skewX(var(--skew)); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color 0.35s, box-shadow 0.35s; }
.tab:hover { color: var(--fg); }
.tab:hover::before { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.tab.is-active { color: var(--fg); }
.tab.is-active::before { background: var(--teal); box-shadow: none; }
.tab__count { font-size: var(--fs-xs); opacity: 0.72; font-weight: 500; font-variant-numeric: tabular-nums; }
.panel .tab { color: var(--ink-2); }
.panel .tab::before { box-shadow: inset 0 0 0 1.5px var(--line-ink); }
.panel .tab:hover { color: var(--ink); }
.panel .tab:hover::before { box-shadow: inset 0 0 0 1.5px var(--line-ink-2); }
.panel .tab.is-active { color: var(--fg); }
.panel .tab.is-active::before { background: var(--ink); }

/* Метки-«чипы» */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip { position: relative; display: inline-flex; align-items: center; gap: var(--sp-2); height: 34px; padding: 0 var(--sp-4); isolation: isolate; font-size: var(--fs-xs); line-height: 1; font-weight: 600; white-space: nowrap; }
.chip::before { content: ''; position: absolute; inset: 0 5px; z-index: -1; transform: skewX(var(--skew)); background: var(--chip-bg, var(--bg-2)); }
.panel .chip { --chip-bg: var(--paper-2); }
.chip .i { width: 18px; height: 18px; }

/* ---------- Поля формы (по правилу близости: без слипания по вертикали!) ----------
   1. Группа текстовых инпутов (.form__fields): расстояние между «Ваше имя» и «Телефон» — --sp-5 (24px).
   2. Между крупными смысловыми блоками формы (.form__fields → .choices → .check → .form__submit): --sp-6 (32px).
   3. Внутри блока .choices: подпись «Когда удобно связаться...» отделена от кнопок выбора на --sp-3 (14px),
      а ряды самих кнопок (.choices__list) имеют вертикальный зазор row-gap: 12px (чтобы верхний и нижний ряд не слипались). */
.form {
  display: grid;
  gap: clamp(28px, 2.6vw, 36px);
}
.form__fields {
  display: grid;
  gap: clamp(24px, 2.2vw, 30px);
}
.field { position: relative; display: block; }
.field__input {
  display: block; width: 100%; height: 58px; padding: 20px 0 8px;
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0;
  font-size: var(--fs-md); line-height: 1.2; outline: none; transition: border-color 0.3s;
}
.field__input:focus { border-color: var(--fg); }
.field__label {
  position: absolute; left: 0; top: 18px;
  font-size: var(--fs-base); line-height: 1.2; color: var(--fg-2);
  pointer-events: none; transform-origin: left top; transition: transform 0.3s var(--ease), color 0.3s;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label { transform: translateY(-18px) scale(0.8); }
.field__err { display: block; font-size: var(--fs-xs); line-height: 1.3; color: var(--p-sand); margin-top: var(--sp-2); }
.field__err:empty { display: none; margin-top: 0; }
.field.is-error .field__input { border-color: var(--p-sand); }
.panel--teal .field__input { border-color: rgba(255, 248, 239, 0.5); }
.panel--teal .field__input:focus { border-color: var(--fg); }
.panel--teal .field__label { color: rgba(255, 248, 239, 0.86); }
.panel--teal .field__err { color: var(--p-night); font-weight: 600; }
.panel--teal .field.is-error .field__input { border-color: var(--p-night); }

.choices {
  display: grid;
  gap: 16px;
}
.choices__label {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--fg-2);
}
.panel--teal .choices__label { color: rgba(255, 248, 239, 0.9); }
.choices__list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 14px;
  column-gap: 8px;
}
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  position: relative; display: inline-flex; align-items: center;
  height: 44px; padding: 0 22px; isolation: isolate;
  font-size: var(--fs-sm); line-height: 1; font-weight: 600; white-space: nowrap;
  cursor: pointer; transition: color 0.3s;
}
.choice span::before {
  content: ''; position: absolute; inset: 0 7px; z-index: -1;
  transform: skewX(var(--skew)); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.panel--teal .choice span::before { box-shadow: inset 0 0 0 1.5px rgba(255, 248, 239, 0.5); }
.choice input:checked + span { color: var(--ink); }
.choice input:checked + span::before { background: var(--paper); box-shadow: none; }
.choice input:focus-visible + span::before { outline: 2px solid var(--p-sand); outline-offset: 2px; }

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--fg-2);
  cursor: pointer;
}
.panel--teal .check { color: rgba(255, 248, 239, 0.92); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { position: relative; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; display: grid; place-items: center; }
.check__box::before { content: ''; position: absolute; inset: 0 3px; transform: skewX(var(--skew)); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color 0.25s; }
.panel--teal .check__box::before { box-shadow: inset 0 0 0 1.5px rgba(255, 248, 239, 0.7); }
.check__box .i { position: relative; width: 16px; height: 16px; color: var(--ink); opacity: 0; transform: scale(0.5); transition: opacity 0.25s, transform 0.35s var(--ease); }
.check input:checked + .check__box::before { background: var(--paper); box-shadow: none; }
.check input:checked + .check__box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check__box::before { outline: 2px solid var(--p-sand); outline-offset: 2px; }
.check a { text-decoration: underline; text-underline-offset: 4px; }
.check.is-error { color: var(--p-sand); }
.panel--teal .check.is-error { color: var(--p-night); }

.form__error[hidden] { display: none; }
.form__ok { display: none; }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: grid; gap: var(--sp-3); }
.form__ok-title { font-size: var(--fs-xl); font-weight: 500; text-transform: uppercase; line-height: var(--lh-display); }
.form__error { font-size: var(--fs-sm); color: var(--p-sand); }
.panel--teal .form__error { color: var(--p-night); font-weight: 600; }

/* ---------- Окно заявки ---------- */
.modal { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: var(--sp-4); visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(19, 22, 35, 0.78); opacity: 0; }
.modal__box {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--sp-7); background: var(--bg-2); color: var(--fg);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 60px, 100% 100%, 18px 100%, 0 calc(100% - 60px));
}
.modal__close { position: absolute; right: var(--sp-4); top: var(--sp-4); width: 48px; height: 48px; display: grid; place-items: center; transition: transform 0.4s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close .i { width: 26px; height: 26px; }
.modal__title { font-size: var(--fs-xl); line-height: var(--lh-display); font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: var(--sp-3); padding-right: 40px; }
.modal__stripes { display: flex; gap: 0; height: 6px; margin: 0 0 var(--sp-4); }
.modal__stripes i { flex: 1; background: var(--c); }
.modal__ctx { display: inline-flex; margin-bottom: var(--sp-3); }
.modal__text { font-size: var(--fs-base); line-height: var(--lh-body); color: var(--fg-2); margin-bottom: var(--sp-6); }

/* ---------- Плейсхолдер картинки ---------- */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 200px; overflow: hidden;
  background-color: var(--bg-2);
  background-image: repeating-linear-gradient(106.82deg, transparent 0 27px, rgba(255, 248, 239, 0.07) 27px 28px);
}
.panel .ph { background-color: var(--paper-2); background-image: repeating-linear-gradient(106.82deg, transparent 0 27px, rgba(40, 40, 40, 0.08) 27px 28px); }
.ph__label { position: absolute; left: var(--sp-5); bottom: var(--sp-4); right: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); align-items: baseline; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--fg-3); }
.panel .ph__label { color: var(--ink-3); }
.ph__label em { font-style: normal; color: var(--p-sand); }
.panel .ph__label em { color: var(--p-rust); }

/* ---------- «Барабанные» цифры ---------- */
.roll { display: inline-flex; font-variant-numeric: tabular-nums; white-space: nowrap; }
.roll__d { position: relative; display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: top; }
.roll__s { display: flex; flex-direction: column; will-change: transform; }
.roll__s > span { display: block; height: 1em; line-height: 1; }
.roll__c { display: inline-block; line-height: 1; height: 1em; }

/* ---------- Раскрытие картинки полосами паттерна ---------- */
.sreveal { position: relative; overflow: hidden; }
.sreveal__bars { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.sreveal__bars > i { position: absolute; top: -2%; bottom: -2%; transform-origin: left center; transform: skewX(var(--skew)) scaleX(0); }

/* Срез угла картинки под углом слэша */
.cut-tr { clip-path: polygon(0 0, calc(100% - var(--cutx)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.cut-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--cutx) 100%, 0 calc(100% - var(--cut))); }

/* ---------- Курсор над листалками ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; }
.cursor__in { position: absolute; left: -46px; top: -30px; width: 92px; height: 60px; display: grid; place-items: center; color: var(--fg); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transform: scale(0); transition: transform 0.4s var(--ease); }
.cursor__in::before { content: ''; position: absolute; inset: 0 9px; z-index: -1; background: var(--teal); transform: skewX(var(--skew)); }
.cursor.is-on .cursor__in { transform: scale(1); }
.cursor__in span { display: flex; align-items: center; gap: var(--sp-1); }
.cursor__in .i { width: 16px; height: 16px; }

/* ---------- Подсказка ---------- */
.toast { position: fixed; left: 50%; bottom: var(--sp-6); z-index: 1001; padding: var(--sp-3) var(--sp-5); background: var(--paper); color: var(--ink); font-size: var(--fs-sm); font-weight: 500; transform: translate(-50%, 140%); transition: transform 0.5s var(--ease); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); }
