/*
 * Шаблон «Салон» — два сайта на одной разметке. Самодостаточный файл: ничего не берёт из остального сайта (ADR 0009).
 *   A — «USTARA Barbershop»: тёмный, бетон и латунь, жёсткие грани, плотный Oswald, нумерованные секции.
 *   B — «Nafis Beauty»: сливочный и винный, антиква Cormorant, мягкие формы, воздух.
 *
 * Скорость и движение: контент первого экрана никогда не прячется. Анимируются только transform и opacity
 * (без переходов цвета, фона, рамок и теней). Бесконечные анимации стартуют после первой отрисовки
 * (атрибут data-live на корне ставит MotionLayer), стоят на паузе вне экрана (data-off) и в фоновой
 * вкладке (data-paused). При prefers-reduced-motion анимаций нет. Canvas и WebGL не используются.
 *
 * Токены: --bg фон · --surface карточки · --surface2 второй тон · --ink текст · --dim приглушённый текст
 * --line линии · --acc акцент · --on-acc текст на акценте · --acc2 второй акцент · --soft тихая заливка · --r радиус
 */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/templates/fonts/oswald-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/templates/fonts/oswald-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/templates/fonts/cormorant-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(/templates/fonts/cormorant-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ——— токены ——— */
.sl {
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --edge: max(20px, calc((100vw - 1180px) / 2));
  --head-h: 64px;
  --demo-h: 52px;
  --tap: 48px;
  font-family: var(--body);
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 761px) { .sl { padding-bottom: 0; --demo-h: 60px; } }

/* A: частный клуб. Почти чёрный, латунь, углы без скруглений. */
.sl[data-style="a"] {
  --bg: #0c0b0a;
  --surface: #151311;
  --surface2: #1e1b18;
  --ink: #efe9de;
  --dim: #aaa194;
  --line: rgba(239, 233, 222, 0.18);
  --acc: #c9a35a;
  --acc2: #e3c07c;
  --on-acc: #15110a;
  --soft: rgba(201, 163, 90, 0.12);
  --r: 0px;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --head-bg: #0c0b0a;
}
/* B: светлый салон. Сливочный, песочный, глубокий винный. */
.sl[data-style="b"] {
  --bg: #f8f2ea;
  --surface: #fffaf4;
  --surface2: #efe3d6;
  --ink: #2c1d1f;
  --dim: #6c5857;
  --line: rgba(44, 29, 31, 0.15);
  --acc: #6e1f3a;
  --acc2: #8c2c4d;
  --on-acc: #fff8f2;
  --soft: #f2dcd4;
  --r: 22px;
  --display: "Cormorant", "Times New Roman", Georgia, serif;
  --head-bg: #f8f2ea;
}

/* ——— база ——— */
.sl *, .sl *::before, .sl *::after { box-sizing: border-box; }
.sl :is(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset, details) { margin: 0; padding: 0; }
.sl :is(ul, ol) { list-style: none; }
.sl a { color: inherit; text-decoration: none; }
.sl img { display: block; max-width: 100%; height: auto; }
.sl :is(button, input) { font: inherit; color: inherit; }
.sl button { cursor: pointer; }
.sl :focus-visible { outline: 3px solid var(--acc2); outline-offset: 2px; }
.sl[data-style="b"] :focus-visible { outline-color: var(--acc); }
.sl [id] { scroll-margin-top: calc(var(--head-h) + 12px); }
.sl .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sl .sl-note { color: var(--dim); font-size: 15px; }
.sl .sl-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--acc2); font-weight: 600; }
.sl[data-style="b"] .sl-link { color: var(--acc); }
.sl .sl-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.sl .sl-link.big { font-size: 22px; color: var(--ink); }
.sl .sl-err { color: #e0705f; font-size: 15px; font-weight: 600; }
.sl[data-style="b"] .sl-err { color: #a3261f; }

/* Бетонная фактура A: статичный шум, без анимации. */
.sl[data-style="a"]::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .8  0 0 0 0 .78  0 0 0 0 .72  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.sl > * { position: relative; z-index: 1; }

/* ——— кнопки ——— */
.sl .sl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--tap); padding: 0 26px;
  border: 0; border-radius: var(--r); background: var(--acc); color: var(--on-acc);
  font-weight: 700; font-size: 16px; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.sl[data-style="a"] .sl-btn { text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; }
.sl[data-style="b"] .sl-btn { border-radius: 999px; }
.sl .sl-btn:hover { transform: translateY(-2px); }
.sl .sl-btn:active { transform: scale(0.97); }
.sl .sl-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.sl .sl-btn-big { min-height: 56px; padding: 0 34px; font-size: 17px; }
.sl .sl-btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.sl[data-style="a"] .sl-btn-line { box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--acc2); }
.sl[data-style="b"] .sl-btn-line { box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--acc); }

/* ——— шапка ——— */
.sl .sl-head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--head-h); padding: 0 var(--edge); background: var(--head-bg); border-bottom: 1px solid var(--line); }
.sl .sl-logo { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; align-items: center; }
.sl .sl-logo-main { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.sl .sl-logo-sub { font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--acc2); }
.sl[data-style="b"] .sl-logo-main { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; text-transform: none; }
.sl[data-style="b"] .sl-logo-sub { font-size: 14px; letter-spacing: 0.2em; color: var(--acc); }
.sl .sl-nav { display: none; gap: 4px; }
@media (min-width: 1041px) { .sl .sl-nav { display: flex; } }
.sl .sl-nav a { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 14px; font-weight: 500; font-size: 15px; color: var(--dim); }
.sl .sl-nav a:hover { color: var(--ink); }
.sl .sl-head-r { display: flex; align-items: center; gap: 8px; }
.sl .sl-lang { display: flex; }
.sl .sl-lang a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--dim); }
.sl .sl-lang a[aria-current="true"] { color: var(--acc2); }
.sl[data-style="b"] .sl-lang a[aria-current="true"] { color: var(--acc); }
.sl .sl-head-book { min-height: 44px; padding: 0 22px; }
/* Одна «Записаться» на экран: пока видна кнопка hero или финальная, кнопка в шапке и нижняя панель спрятаны. */
.sl .sl-head-book, .sl .sl-bar { transition: opacity 0.2s ease, transform 0.2s ease; }
.sl[data-hero-cta] .sl-head-book { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 760px) { .sl .sl-head-book { display: none; } .sl .sl-logo-sub { display: none; } }

/* ——— hero ——— */
.sl .sl-hero { position: relative; isolation: isolate; display: grid; min-height: calc(100svh - var(--head-h) - var(--demo-h)); }
.sl .sl-hero-photo { margin: 0; }
.sl .sl-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.sl .sl-status { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.sl .sl-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.sl .sl-status[data-state="open"] i { background: #5fd68a; }
.sl[data-style="b"] .sl-status[data-state="open"] i { background: #2e8f56; }
.sl .sl-status[data-state="closed"] i { background: var(--acc2); }
.sl .sl-hero h1 { font-family: var(--display); font-weight: 700; }
.sl .sl-line { display: block; }
.sl .sl-hero-line { font-size: 18px; max-width: 30em; color: var(--ink); }
.sl .sl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.sl .sl-chip-slot { display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding: 6px 16px; border: 0; border-radius: var(--r); background: transparent; box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.sl[data-style="b"] .sl-chip-slot { border-radius: 999px; }
.sl .sl-chip-slot svg { color: var(--acc2); flex: none; }
.sl[data-style="b"] .sl-chip-slot svg { color: var(--acc); }
.sl .sl-chip-slot span { display: grid; line-height: 1.2; }
.sl .sl-chip-slot small { font-size: 12px; color: var(--dim); }
.sl .sl-chip-slot b { font-size: 15px; }
.sl .sl-perks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sl .sl-perks li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.sl .sl-perks svg { color: var(--acc2); }
.sl[data-style="b"] .sl-perks svg { color: var(--acc); }

/* A: фото на весь экран, плотная латунная типографика внизу слева */
.sl[data-style="a"] .sl-hero { align-items: end; padding: 0 var(--edge) 40px; overflow: clip; }
.sl[data-style="a"] .sl-hero-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #1b140d; }
.sl[data-style="a"] .sl-hero-photo img { object-position: 64% 30%; transform-origin: 62% 40%; }
.sl[data-style="a"] .sl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 11, 10, 0.5) 0%, rgba(12, 11, 10, 0.1) 30%, rgba(12, 11, 10, 0.86) 76%, #0c0b0a 100%); }
.sl[data-style="a"] .sl-hero-copy { display: grid; gap: 18px; justify-items: start; padding-top: 96px; max-width: 1180px; }
.sl[data-style="a"] .sl-hero h1 { font-size: clamp(56px, 10vw, 148px); line-height: 0.92; letter-spacing: 0.005em; text-transform: uppercase; }
.sl[data-style="a"] .sl-line.l2 { color: var(--acc); }
.sl[data-style="a"] .sl-hero-line { max-width: 24em; }
.sl[data-style="a"] .sl-status::after { content: ""; width: 56px; height: 1px; background: var(--acc); margin-left: 8px; }

/* B: две колонки, арка с фото и мягкие пятна */
.sl[data-style="b"] .sl-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; padding: 40px var(--edge) 56px; overflow: clip; }
.sl[data-style="b"] .sl-hero-copy { display: grid; gap: 22px; justify-items: start; grid-column: 1; grid-row: 1; }
.sl[data-style="b"] .sl-hero h1 { font-size: clamp(56px, 8vw, 116px); line-height: 0.95; letter-spacing: -0.02em; font-weight: 600; }
.sl[data-style="b"] .sl-line.l2 { font-style: italic; color: var(--acc); font-weight: 500; }
.sl[data-style="b"] .sl-hero-photo { position: relative; grid-column: 2; grid-row: 1; justify-self: center; width: 100%; max-width: 500px; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--soft); }
.sl[data-style="b"] .sl-hero::before { content: ""; position: absolute; z-index: -1; right: calc(var(--edge) - 70px); top: 4%; width: min(620px, 56vw); aspect-ratio: 1; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; background: var(--soft); opacity: 0.9; }
.sl[data-style="b"] .sl-hero::after { content: ""; position: absolute; z-index: -1; left: -90px; bottom: -80px; width: 320px; aspect-ratio: 1; border-radius: 44% 56% 60% 40% / 54% 40% 60% 46%; background: var(--surface2); opacity: 0.8; }

.sl .sl-promo { margin: 0; padding: 12px var(--edge); text-align: center; font-size: 15px; font-weight: 600; background: var(--acc); color: var(--on-acc); }

/* ——— секции ——— */
.sl .sl-sec { padding: 96px var(--edge) 0; }
.sl .sl-sec-wide { padding-inline: 0; }
.sl .sl-sec-head { display: grid; gap: 8px; margin-bottom: 32px; max-width: 760px; }
.sl .sl-sec-wide .sl-sec-head { padding-inline: var(--edge); }
.sl .sl-sec-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.2vw, 64px); line-height: 1; }
.sl .sl-sec-head p { color: var(--dim); font-size: 17px; max-width: 34em; }
.sl .sl-num { display: none; }
.sl[data-style="a"] .sl-sec-head h2 { text-transform: uppercase; letter-spacing: 0.01em; }
.sl[data-style="a"] .sl-num { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: 0.2em; color: var(--acc); }
.sl[data-style="a"] .sl-num::after { content: ""; flex: 0 1 120px; height: 1px; background: var(--acc); opacity: 0.7; }
.sl[data-style="b"] .sl-sec-head h2 { font-weight: 500; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.015em; }

/* ——— общие: чипы, снап-ленты, ярлыки ——— */
.sl .sl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sl .sl-chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -2px; padding: 2px; }
.sl .sl-chips-scroll::-webkit-scrollbar { display: none; }
.sl .sl-chip { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 0; border-radius: var(--r); background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; transition: transform 0.15s ease; }
.sl[data-style="b"] .sl-chip { border-radius: 999px; }
.sl .sl-chip:active { transform: scale(0.96); }
.sl .sl-chip[aria-pressed="true"], .sl .sl-chip[aria-selected="true"] { background: var(--acc); color: var(--on-acc); box-shadow: none; }
.sl .sl-chip svg { flex: none; }
.sl .sl-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: var(--bg); font-style: normal; font-size: 13px; }
.sl .sl-snap { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--acc) transparent; padding: 4px var(--edge) 16px; scroll-padding-inline: var(--edge); }
.sl .sl-snap > * { flex: none; scroll-snap-align: start; }
.sl .sl-sheet .sl-snap { padding-inline: 2px; scroll-padding-inline: 2px; margin-inline: -2px; }
.sl .sl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sl .sl-tags li { padding: 6px 14px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; }
.sl[data-style="b"] .sl-tags li { border-radius: 999px; }
.sl .sl-demo-note { margin-top: 18px; color: var(--dim); font-size: 14px; }

/* ——— лукбук ——— */
.sl .sl-look .sl-chips { padding-inline: var(--edge); margin-bottom: 20px; margin-inline: 0; }
.sl .sl-look-track { padding-top: 4px; }
.sl .sl-look-item { display: grid; gap: 10px; width: clamp(236px, 68vw, 320px); align-content: start; }
.sl .sl-look-item figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface2); border-radius: var(--r); }
.sl[data-style="b"] .sl-look-item figure { border-radius: 999px 999px var(--r) var(--r); }
.sl .sl-look-item img { width: 100%; height: 100%; object-fit: cover; }
.sl .sl-look-item figcaption { position: absolute; inset: auto 0 0 0; display: grid; gap: 2px; padding: 48px 16px 14px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10, 8, 7, 0.82)); }
.sl .sl-look-item figcaption b { font-family: var(--display); font-size: 24px; line-height: 1.05; font-weight: 600; }
.sl[data-style="a"] .sl-look-item figcaption b { text-transform: uppercase; letter-spacing: 0.02em; }
.sl .sl-look-item figcaption span { font-size: 15px; opacity: 0.92; }
.sl .sl-look-book { width: 100%; justify-content: space-between; min-height: 52px; }
@media (hover: hover) { .sl .sl-look-item img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); } .sl .sl-look-item:hover img { transform: scale(1.05); } }

/* ——— услуги ——— */
.sl .sl-services { display: grid; gap: 22px; }
.sl .sl-services > *, .sl .sl-step-body > *, .sl .sl-place > * { min-width: 0; }
.sl .sl-services .sl-packs { margin-inline: calc(-1 * var(--edge)); padding-inline: var(--edge); scroll-padding-inline: var(--edge); }
.sl .sl-sec:not(.sl-sec-wide) > .sl-snap { margin-inline: calc(-1 * var(--edge)); padding-inline: var(--edge); scroll-padding-inline: var(--edge); }
.sl .sl-packs > li { width: clamp(240px, 70vw, 290px); }
.sl .sl-pack { display: grid; gap: 6px; width: 100%; height: 100%; padding: 18px; border: 0; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: transform 0.18s ease; }
.sl[data-style="a"] .sl-pack { background: var(--surface2); box-shadow: inset 0 0 0 1px var(--acc); }
.sl .sl-pack:hover { transform: translateY(-3px); }
.sl .sl-pack[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); box-shadow: none; }
.sl .sl-pack-top { display: flex; align-items: center; justify-content: space-between; color: var(--acc2); }
.sl[data-style="b"] .sl-pack-top { color: var(--acc); }
.sl .sl-pack[aria-pressed="true"] .sl-pack-top { color: inherit; }
.sl .sl-pack-top em { font-style: normal; font-weight: 800; font-size: 15px; padding: 3px 10px; border-radius: var(--r); background: var(--acc); color: var(--on-acc); }
.sl[data-style="b"] .sl-pack-top em { border-radius: 999px; }
.sl .sl-pack[aria-pressed="true"] .sl-pack-top em { background: var(--on-acc); color: var(--acc); }
.sl .sl-pack-name { font-family: var(--display); font-size: 26px; line-height: 1.05; font-weight: 600; }
.sl[data-style="a"] .sl-pack-name { text-transform: uppercase; letter-spacing: 0.02em; }
.sl .sl-pack-svc { font-size: 15px; color: var(--dim); }
.sl .sl-pack[aria-pressed="true"] .sl-pack-svc { color: inherit; opacity: 0.85; }
.sl .sl-pack-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.sl .sl-pack-price b { font-size: 20px; }
.sl .sl-pack-price s { color: var(--dim); font-size: 15px; }
.sl .sl-pack-price small { font-size: 14px; color: var(--dim); }
.sl .sl-pack[aria-pressed="true"] .sl-pack-price :is(s, small) { color: inherit; opacity: 0.85; }

.sl .sl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.sl .sl-tile { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; width: 100%; height: 100%; min-height: 148px; padding: 16px; border: 0; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: transform 0.18s ease; }
.sl .sl-tile:hover { transform: translateY(-3px); }
.sl .sl-tile:active { transform: scale(0.98); }
.sl .sl-tile-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--soft); color: var(--acc2); }
.sl[data-style="b"] .sl-tile-ic { color: var(--acc); border-radius: 50%; }
.sl .sl-tile-name { font-weight: 700; font-size: 17px; line-height: 1.2; }
.sl .sl-tile-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.sl .sl-tile-meta b { font-size: 17px; }
.sl .sl-tile-meta span { font-size: 15px; color: var(--dim); }
.sl .sl-tile-note { position: absolute; top: 14px; right: 14px; font-size: 13px; font-weight: 600; color: var(--acc2); text-align: right; max-width: 55%; line-height: 1.2; }
.sl[data-style="b"] .sl-tile-note { color: var(--acc); }
.sl .sl-tile[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); box-shadow: none; }
.sl .sl-tile[aria-pressed="true"] :is(.sl-tile-ic, .sl-tile-meta span) { color: var(--on-acc); }
.sl .sl-tile[aria-pressed="true"] .sl-tile-ic { background: rgba(0, 0, 0, 0.16); }
.sl .sl-tile[data-dim] { opacity: 0.55; }

/* ——— подбор образа ——— */
.sl .sl-quiz-sec .sl-quiz { max-width: none; }
.sl .sl-quiz { display: grid; gap: 18px; padding: 28px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sl .sl-quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sl .sl-quiz-step { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--acc2); }
.sl[data-style="b"] .sl-quiz-step { color: var(--acc); }
.sl .sl-dots { display: flex; gap: 6px; }
.sl .sl-dots i { width: 36px; height: 4px; background: var(--line); border-radius: 4px; }
.sl .sl-dots i[data-on] { background: var(--acc); }
.sl .sl-quiz-q { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.05; outline: none; }
.sl[data-style="a"] .sl-quiz-q { text-transform: uppercase; }
.sl .sl-quiz-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sl .sl-quiz-opts[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sl .sl-quiz-opt { display: grid; gap: 10px; width: 100%; padding: 0 0 12px; border: 0; background: transparent; text-align: center; transition: transform 0.18s ease; }
.sl .sl-quiz-opt:hover { transform: translateY(-3px); }
.sl .sl-quiz-opt:active { transform: scale(0.97); }
.sl .sl-quiz-opt img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.sl[data-style="b"] .sl-quiz-opt img { border-radius: 999px 999px var(--r) var(--r); }
.sl .sl-quiz-ic { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--soft); color: var(--acc2); }
.sl[data-style="b"] .sl-quiz-ic { color: var(--acc); }
.sl .sl-quiz-opt b { font-size: 17px; line-height: 1.2; }
.sl .sl-quiz-result { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 28px; align-items: center; }
.sl .sl-quiz-result img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.sl[data-style="b"] .sl-quiz-result img { border-radius: 999px 999px var(--r) var(--r); }
.sl .sl-quiz-body { display: grid; gap: 14px; justify-items: start; }
.sl .sl-quiz-sum { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: 24px; }
.sl .sl-quiz-sum b { color: var(--acc2); }
.sl[data-style="b"] .sl-quiz-sum b { color: var(--acc); }
.sl .sl-quiz-sum s, .sl .sl-quiz-sum span { font-size: 16px; color: var(--dim); }
.sl .sl-quiz-master { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 16px; }
.sl .sl-quiz-master svg { color: var(--acc2); vertical-align: -3px; }
.sl[data-style="b"] .sl-quiz-master svg { color: var(--acc); }
.sl .sl-quiz-master > span { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); }
.sl .sl-quiz-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ——— мастера ——— */
.sl .sl-masters > li { width: clamp(236px, 66vw, 340px); }
.sl .sl-master { display: grid; align-content: start; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.sl .sl-master img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 22%; }
.sl[data-style="b"] .sl-master img { border-radius: 999px 999px 0 0; aspect-ratio: 4 / 4.6; }
.sl .sl-master-body { display: grid; gap: 4px; padding: 16px 18px 20px; }
.sl .sl-master-body h3 { font-family: var(--display); font-size: 26px; line-height: 1.05; font-weight: 600; }
.sl[data-style="a"] .sl-master-body h3 { text-transform: uppercase; letter-spacing: 0.02em; }
.sl .sl-master-role { color: var(--ink); font-size: 16px; }
.sl .sl-master-years { color: var(--dim); font-size: 15px; }
.sl .sl-master-next { display: flex; align-items: center; gap: 8px; margin: 10px 0 8px; padding: 10px 14px; border-radius: var(--r); background: var(--soft); font-size: 15px; }
.sl[data-style="b"] .sl-master-next { border-radius: 999px; }
.sl .sl-master-next svg { color: var(--acc2); flex: none; }
.sl[data-style="b"] .sl-master-next svg { color: var(--acc); }
.sl .sl-master[data-off] { opacity: 0.6; }

/* ——— место ——— */
.sl .sl-place { display: grid; gap: 22px; }
.sl .sl-place img { width: 100%; object-fit: cover; border-radius: var(--r); }
.sl .sl-place-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.sl .sl-place-chips li { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 17px; }
.sl[data-style="b"] .sl-place-chips li { border-radius: 999px; }
.sl .sl-place-chips svg { color: var(--acc2); }
.sl[data-style="b"] .sl-place-chips svg { color: var(--acc); }
.sl .sl-place[data-ratio="wide"] img { aspect-ratio: 16 / 8; object-position: 50% 40%; }
.sl .sl-place[data-ratio="square"] { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 40px; }
.sl .sl-place[data-ratio="square"] img { aspect-ratio: 1; border-radius: 999px 999px var(--r) var(--r); max-width: 480px; }
.sl .sl-place[data-ratio="square"] .sl-place-chips { flex-direction: column; align-items: flex-start; }

/* ——— отзывы ——— */
.sl .sl-review { display: grid; align-content: start; gap: 12px; width: clamp(260px, 78vw, 340px); padding: 22px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sl .sl-stars { color: var(--acc2); letter-spacing: 3px; font-size: 18px; }
.sl[data-style="b"] .sl-stars { color: var(--acc); }
.sl .sl-review blockquote { font-size: 18px; line-height: 1.4; }
.sl .sl-review-who { color: var(--dim); font-size: 15px; }
.sl .sl-review-who b { color: var(--ink); }

/* ——— FAQ ——— */
.sl .sl-faq-list { max-width: 760px; border-top: 1px solid var(--line); }
.sl .sl-faq details { border-bottom: 1px solid var(--line); }
.sl .sl-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; }
.sl .sl-faq summary::-webkit-details-marker { display: none; }
.sl .sl-faq summary::after { content: "+"; flex: none; font-size: 28px; font-weight: 400; color: var(--acc2); line-height: 1; transition: transform 0.2s ease; }
.sl[data-style="b"] .sl-faq summary::after { color: var(--acc); }
.sl .sl-faq details[open] summary::after { transform: rotate(45deg); }
.sl .sl-faq details p { padding: 0 0 18px; color: var(--dim); font-size: 17px; max-width: 36em; }

/* ——— финальный призыв ——— */
.sl .sl-final { display: grid; justify-items: start; gap: 14px; margin: 96px var(--edge) 0; padding: 48px; border-radius: var(--r); background: var(--surface2); }
.sl[data-style="a"] .sl-final { background: var(--surface); box-shadow: inset 0 0 0 1px var(--acc); }
.sl[data-style="b"] .sl-final { background: var(--soft); }
.sl .sl-final h2 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 60px); line-height: 1; }
.sl[data-style="a"] .sl-final h2 { text-transform: uppercase; }
.sl .sl-final p { color: var(--dim); font-size: 17px; margin-bottom: 8px; }

/* ——— контакты ——— */
.sl .sl-contacts-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; }
.sl .sl-contacts-list { display: grid; gap: 22px; align-content: start; }
.sl .sl-contacts-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; }
.sl .sl-contacts-list svg { flex: none; margin-top: 3px; color: var(--acc2); }
.sl[data-style="b"] .sl-contacts-list svg { color: var(--acc); }
.sl .sl-map { position: relative; min-height: 300px; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.sl .sl-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sl .sl-map small { position: absolute; left: 12px; bottom: 10px; padding: 3px 10px; background: var(--surface); color: var(--dim); font-size: 15px; }
.sl .m-bg { fill: var(--surface2); }
.sl .m-park { fill: color-mix(in srgb, var(--acc) 16%, var(--surface2)); }
.sl .m-river { fill: color-mix(in srgb, var(--ink) 10%, var(--surface2)); }
.sl .m-road path { stroke: color-mix(in srgb, var(--ink) 24%, var(--surface2)); stroke-width: 8; fill: none; }
.sl .m-minor path { stroke: color-mix(in srgb, var(--ink) 12%, var(--surface2)); stroke-width: 3; fill: none; }
.sl .sl-pin { position: absolute; left: 56%; top: 46%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--acc); border: 4px solid var(--surface); }
.sl .sl-pin i { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--acc); opacity: 0.5; }
.sl .sl-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 88px; padding: 24px var(--edge) 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; }

/* ——— нижняя панель большого пальца (телефон) ——— */
.sl .sl-bar { display: none; }
@media (max-width: 760px) {
  .sl .sl-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 52px 52px 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--head-bg); border-top: 1px solid var(--line); }
  .sl .sl-bar-ic { display: grid; place-items: center; min-height: 52px; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
  .sl[data-style="b"] .sl-bar-ic { border-radius: 50%; }
  .sl .sl-bar-book { min-height: 52px; }
  .sl[data-hero-cta] .sl-bar { opacity: 0; visibility: hidden; transform: translateY(100%); }
}
html[data-sheet] .sl .sl-bar { opacity: 0; visibility: hidden; }

/* ——— шторка записи ——— */
.sl .sl-sheet { margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--ink); max-width: none; max-height: none; overflow: hidden; }
.sl .sl-sheet::backdrop { background: rgba(8, 6, 4, 0.7); }
.sl .sl-sheet-box { display: flex; flex-direction: column; height: 100%; }
@media (max-width: 760px) {
  .sl .sl-sheet { position: fixed; inset: 0; width: 100%; height: 100dvh; }
  .sl .sl-sheet[open] { animation: sl-sheet-up 0.32s cubic-bezier(0.2, 0.8, 0.2, 1); }
}
@media (min-width: 761px) {
  .sl .sl-sheet { position: fixed; inset: 0; margin: auto; width: min(780px, calc(100vw - 48px)); height: min(820px, calc(100dvh - 48px)); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
  .sl .sl-sheet[open] { animation: sl-sheet-fade 0.24s ease; }
}
@keyframes sl-sheet-up { from { transform: translate3d(0, 100%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes sl-sheet-fade { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
.sl .sl-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.sl .sl-steps { display: flex; flex: 1; align-items: center; gap: 8px; }
.sl .sl-steps li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--dim); }
.sl .sl-steps li + li::before { content: ""; width: 18px; height: 1px; background: var(--line); margin-right: 2px; }
.sl .sl-steps i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); font-style: normal; font-size: 14px; }
.sl .sl-steps li[data-state="now"] { color: var(--ink); }
.sl .sl-steps li[data-state="now"] i { background: var(--acc); color: var(--on-acc); box-shadow: none; }
.sl .sl-steps li[data-state="done"] i { background: var(--soft); color: var(--acc2); box-shadow: inset 0 0 0 1.5px var(--acc); }
.sl[data-style="b"] .sl-steps li[data-state="done"] i { color: var(--acc); }
.sl .sl-steps li[data-state="todo"] span, .sl .sl-steps li[data-state="done"] span { display: none; }
@media (min-width: 761px) { .sl .sl-steps li[data-state="todo"] span, .sl .sl-steps li[data-state="done"] span { display: inline; } }
.sl .sl-sheet-x { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); flex: none; }
.sl .sl-sheet-form { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.sl .sl-sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px 28px; }
.sl .sl-sheet-title { font-family: var(--display); font-size: clamp(30px, 6vw, 40px); line-height: 1; font-weight: 700; margin-bottom: 18px; outline: none; }
.sl[data-style="a"] .sl-sheet-title { text-transform: uppercase; }
.sl .sl-step-body { display: grid; gap: 18px; }
.sl .sl-sub { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.sl .sl-hint { padding: 10px 14px; border-radius: var(--r); background: var(--soft); font-size: 15px; font-weight: 600; }
.sl .sl-sheet .sl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 761px) { .sl .sl-sheet-body { padding: 24px 28px 32px; } .sl .sl-sheet .sl-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sl .sl-sheet-head { padding-inline: 28px 20px; } }
.sl .sl-sheet .sl-tile { min-height: 132px; padding: 14px; }
.sl .sl-sheet .sl-packs > li { width: 252px; }
.sl .sl-mpick > li { width: 108px; }
.sl .sl-mopt { display: grid; justify-items: center; gap: 4px; width: 100%; min-height: 128px; padding: 12px 6px; border: 0; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.sl .sl-mopt[aria-checked="true"] { background: var(--acc); color: var(--on-acc); box-shadow: none; }
.sl .sl-mopt:disabled { opacity: 0.4; }
.sl .sl-mopt-av { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--soft); color: var(--acc2); }
.sl .sl-mopt-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.sl .sl-mopt b { font-size: 15px; line-height: 1.15; }
.sl .sl-mopt small { font-size: 13px; line-height: 1.15; color: var(--dim); }
.sl .sl-mopt[aria-checked="true"] small { color: inherit; opacity: 0.9; }
.sl .sl-days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px; margin: -2px; }
.sl .sl-days::-webkit-scrollbar { display: none; }
.sl .sl-days button { flex: 0 0 60px; display: grid; justify-items: center; align-content: center; min-height: 76px; border: 0; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); scroll-snap-align: start; }
.sl .sl-days small { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.sl .sl-days b { font-size: 22px; line-height: 1.15; }
.sl .sl-days em { min-height: 1em; font-style: normal; font-size: 12px; color: var(--acc2); }
.sl[data-style="b"] .sl-days em { color: var(--acc); }
.sl .sl-days button[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); box-shadow: none; }
.sl .sl-days button[aria-pressed="true"] :is(small, em) { color: var(--on-acc); }
.sl .sl-days button:disabled { opacity: 0.4; cursor: not-allowed; }
.sl .sl-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.sl .sl-slots button { min-height: 50px; border: 0; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.sl[data-style="b"] .sl-slots button { border-radius: 14px; }
.sl .sl-slots button[aria-pressed="true"] { background: var(--acc); color: var(--on-acc); box-shadow: none; }
.sl .sl-slots button:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.sl .sl-recap { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 16px; border-radius: var(--r); background: var(--soft); font-weight: 600; }
.sl .sl-recap span { display: inline-flex; align-items: center; gap: 8px; }
.sl .sl-recap svg { color: var(--acc2); }
.sl[data-style="b"] .sl-recap svg { color: var(--acc); }
.sl .sl-field { display: grid; gap: 6px; }
.sl .sl-field label, .sl .sl-label { font-size: 15px; font-weight: 600; color: var(--dim); }
.sl .sl-field input { min-height: 54px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 17px; }
.sl[data-style="b"] .sl-field input { border-radius: 16px; }
.sl .sl-field input:focus-visible { outline-offset: 0; }
.sl .sl-field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #e0705f; }
.sl .sl-sheet-foot { display: grid; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
@media (min-width: 761px) { .sl .sl-sheet-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-inline: 28px; } }
.sl .sl-sum { display: grid; gap: 2px; min-width: 0; }
.sl .sl-sum-names { font-size: 15px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl .sl-sum-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.sl .sl-sum-line b { font-size: 22px; }
.sl .sl-sum-line s, .sl .sl-sum-line span { font-size: 15px; color: var(--dim); }
.sl .sl-sum-line em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--acc2); }
.sl[data-style="b"] .sl-sum-line em { color: var(--acc); }
.sl .sl-sheet-act { display: flex; gap: 10px; }
.sl .sl-next { flex: 1; min-width: 160px; min-height: 54px; }
.sl .sl-back { flex: none; padding: 0; width: 54px; min-height: 54px; }
.sl .sl-flip { transform: scaleX(-1); }
.sl .sl-success { display: grid; align-content: start; justify-items: start; gap: 14px; overflow-y: auto; }
.sl .sl-success-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--acc); color: var(--on-acc); }
.sl .sl-success h2 { font-family: var(--display); font-size: 40px; line-height: 1; outline: none; }
.sl[data-style="a"] .sl-success h2 { text-transform: uppercase; }
.sl .sl-success-card { display: grid; gap: 12px; width: 100%; padding: 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sl .sl-success-card > div { display: flex; align-items: flex-start; gap: 12px; }
.sl .sl-success-card dt { flex: none; display: inline-flex; align-items: center; min-width: 20px; color: var(--acc2); font-weight: 700; }
.sl[data-style="b"] .sl-success-card dt { color: var(--acc); }
.sl .sl-success-card dd { font-weight: 600; }
.sl .sl-success-act { display: flex; flex-wrap: wrap; gap: 10px; }

/* Секции ниже первого экрана рисуются, когда к ним подъезжают: меньше работы и картинок при загрузке. */
.sl .sl-sec:not(#looks), .sl .sl-final, .sl .sl-foot { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* ——— планшет и телефон ——— */
@media (max-width: 860px) {
  .sl .sl-sec { padding-top: 64px; }
  .sl .sl-sec-head { margin-bottom: 22px; }
  .sl .sl-quiz-result, .sl .sl-contacts-grid, .sl .sl-place[data-ratio="square"] { grid-template-columns: minmax(0, 1fr); }
  .sl .sl-quiz-result img { max-width: 260px; }
  .sl .sl-place[data-ratio="square"] img { max-width: 100%; aspect-ratio: 4 / 3.4; }
  .sl .sl-place[data-ratio="wide"] img { aspect-ratio: 4 / 3; }
  .sl .sl-quiz { padding: 20px 16px; }
  .sl .sl-final { padding: 32px 24px; margin-top: 64px; }
  .sl .sl-foot { margin-top: 56px; }
}
@media (max-width: 760px) {
  .sl { --edge: 20px; --head-h: 60px; }
  .sl .sl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sl .sl-tile { min-height: 140px; padding: 14px; }
  .sl .sl-hero-line { font-size: 17px; }
  /* A на телефоне: фото на весь экран, текст внизу, «Записаться» в зоне большого пальца */
  .sl[data-style="a"] .sl-hero { height: calc(100svh - var(--head-h) - var(--demo-h)); min-height: 520px; padding-bottom: 28px; }
  .sl[data-style="a"] .sl-hero-copy { padding-top: 40px; gap: 14px; }
  .sl[data-style="a"] .sl-hero h1 { font-size: clamp(54px, 17vw, 84px); }
  .sl[data-style="a"] .sl-hero-photo img { object-position: 70% 24%; }
  .sl[data-style="a"] .sl-perks { display: none; }
  .sl[data-style="a"] .sl-status::after { display: none; }
  /* B на телефоне: заголовок, арка с фото, кнопка */
  .sl[data-style="b"] .sl-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 16px; height: calc(100svh - var(--head-h) - var(--demo-h)); min-height: 560px; padding: 18px var(--edge) 20px; }
  .sl[data-style="b"] .sl-hero-copy { display: contents; }
  .sl[data-style="b"] .sl-status { display: none; }
  .sl[data-style="b"] .sl-hero h1 { grid-row: 1; font-size: clamp(48px, 14.5vw, 68px); }
  .sl[data-style="b"] .sl-hero-line, .sl[data-style="b"] .sl-perks { display: none; }
  .sl[data-style="b"] .sl-hero-photo { grid-column: 1; grid-row: 2; max-width: none; aspect-ratio: auto; width: 100%; height: 100%; min-height: 0; border-radius: 999px 999px 28px 28px; }
  .sl[data-style="b"] .sl-hero-photo img { object-position: 50% 24%; }
  .sl[data-style="b"] .sl-cta { position: absolute; z-index: 2; left: var(--edge); right: var(--edge); bottom: 32px; flex-wrap: nowrap; gap: 10px; }
  .sl[data-style="b"] .sl-cta .sl-btn { flex: 1; }
  .sl[data-style="b"] .sl-chip-slot { background: color-mix(in srgb, var(--bg) 92%, transparent); }
  .sl[data-style="b"] .sl-hero::before { right: -120px; top: 28%; width: 360px; }
  .sl[data-style="a"] .sl-cta { width: 100%; flex-wrap: nowrap; gap: 10px; }
  .sl[data-style="a"] .sl-cta .sl-btn { flex: 1; padding: 0 16px; }
  .sl[data-style="a"] .sl-chip-slot { background: rgba(12, 11, 10, 0.7); }
  .sl .sl-chip-slot { padding-inline: 12px; }
  .sl .sl-chip-slot b { font-size: 14px; }
  .sl .sl-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (max-width: 400px) {
  .sl .sl-chip-slot small { display: none; }
  .sl .sl-steps { gap: 4px; }
  .sl .sl-cta .sl-btn { min-width: 0; padding: 0 12px; letter-spacing: 0.03em; }
  .sl .sl-cta .sl-chip-slot { flex: none; padding-inline: 10px; gap: 6px; }
  .sl .sl-chip-slot b { font-size: 14px; }
}

/* ——— движение ——— */
@keyframes sl-rise { from { transform: translate3d(0, 22px, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes sl-kb { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes sl-float-a { from { transform: translate3d(0, 0, 0) rotate(0); } to { transform: translate3d(18px, -22px, 0) rotate(14deg); } }
@keyframes sl-ping { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .sl .sl-hero-copy > * { animation: sl-rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .sl .sl-hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .sl .sl-hero-copy > :nth-child(3) { animation-delay: 140ms; }
  .sl .sl-hero-copy > :nth-child(4) { animation-delay: 210ms; }
  .sl .sl-hero-copy > :nth-child(5) { animation-delay: 280ms; }
  .sl[data-live] .sl-hero-photo img { animation: sl-kb 26s ease-in-out infinite alternate; }
  .sl[data-style="b"][data-live] .sl-hero::before { animation: sl-float-a 24s ease-in-out infinite alternate; }
  .sl[data-live] .sl-pin i { animation: sl-ping 2.2s ease-out infinite; }
  .sl[data-live] [data-off="1"] *, .sl[data-live] [data-off="1"] *::before, .sl[data-live] [data-off="1"] *::after,
  .sl[data-paused="1"] *, .sl[data-paused="1"] *::before, .sl[data-paused="1"] *::after { animation-play-state: paused; }
  .sl .rv { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
  .sl .rv.rv-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sl *, .sl *::before, .sl *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
