/* «Лепка» · Studio Noga. Раскладка: одна сцена-сетка из стеклянных плит над живым светом;
   внизу — док с вопросом. Палитра «известняк и бугенвиллея» из demo-salon. */
:root {
  --paper: #F1F1EE; --paper-2: #E4E2DC; --ink: #2A1B25; --ink-soft: #62545D;
  --accent: #A3155F; --accent-hover: #85104C; --on-accent: #FFF6FA; --accent-soft: #E77BB0; --olive: #55613A;
  --line: rgba(42, 27, 37, .14);
  --glass: rgba(255, 255, 255, .46); --glass-hi: rgba(255, 255, 255, .82); --glass-edge: rgba(255, 255, 255, .92);
  --shadow: 42 27 37;
  --deep: #2A1B25; --on-deep: #F4EEF1; --on-deep-soft: rgba(244, 238, 241, .72);
  --blob-a: rgba(231, 123, 176, .55); --blob-b: rgba(190, 200, 150, .55); --blob-c: rgba(246, 214, 170, .7);
  --font-display: "Bona Nova", "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --font-body: "Rubik", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --r-slab: 28px; --r-card: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dock-h: 126px;
  --pop: #E77BB0; --on-pop: #2A1020; --pop-edge: #C85F95; --warn: #FFC2B5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #160E14; --paper-2: #21151E; --ink: #F3ECEF; --ink-soft: #BBADB6;
    --accent: #E77BB0; --accent-hover: #F094C1; --on-accent: #2A1020; --accent-soft: #A3155F; --olive: #B5C191;
    --line: rgba(243, 236, 239, .16);
    --glass: rgba(255, 255, 255, .05); --glass-hi: rgba(255, 255, 255, .12); --glass-edge: rgba(255, 255, 255, .2);
    --shadow: 0 0 0;
    --deep: #3B1530; --on-deep: #FBF2F6; --on-deep-soft: rgba(251, 242, 246, .74);
    --blob-a: rgba(163, 21, 95, .5); --blob-b: rgba(85, 97, 58, .45); --blob-c: rgba(120, 70, 40, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #160E14; --paper-2: #21151E; --ink: #F3ECEF; --ink-soft: #BBADB6;
  --accent: #E77BB0; --accent-hover: #F094C1; --on-accent: #2A1020; --accent-soft: #A3155F; --olive: #B5C191;
  --line: rgba(243, 236, 239, .16);
  --glass: rgba(255, 255, 255, .05); --glass-hi: rgba(255, 255, 255, .12); --glass-edge: rgba(255, 255, 255, .2);
  --shadow: 0 0 0;
  --deep: #3B1530; --on-deep: #FBF2F6; --on-deep-soft: rgba(251, 242, 246, .74);
  --blob-a: rgba(163, 21, 95, .5); --blob-b: rgba(85, 97, 58, .45); --blob-c: rgba(120, 70, 40, .4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  overflow-x: clip; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Живой свет под стеклом */
.atmo { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.atmo i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.atmo i:nth-child(1) { width: 46vmax; height: 46vmax; background: var(--blob-a); top: -14vmax; inset-inline-end: -10vmax; animation: drift1 26s ease-in-out infinite alternate; }
.atmo i:nth-child(2) { width: 40vmax; height: 40vmax; background: var(--blob-b); bottom: -12vmax; inset-inline-start: -12vmax; animation: drift2 32s ease-in-out infinite alternate; }
.atmo i:nth-child(3) { width: 30vmax; height: 30vmax; background: var(--blob-c); top: 38%; left: 34%; animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-9vmax, 12vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(12vmax, -8vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vmax, -10vmax) scale(1.2); } }

.shell { position: relative; z-index: 1; max-width: 1180px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 18px calc(var(--dock-h) + 40px); }

/* Шапка */
.top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block-end: clamp(20px, 5vw, 48px); }
.brand { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; color: inherit; text-decoration: none; }
#ghosts { position: fixed; inset: 0; z-index: 2; pointer-events: none; perspective: 1400px; overflow: hidden; }
/* Ссылка на обычный сайт того же салона: в шапке — на широком экране, внизу страницы — всегда */
.full-link { font-size: .85rem; color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.full-link:hover, .full-link:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
.full-top { display: none; }
@media (min-width: 760px) { .full-top { display: inline; } }
.foot { margin-block: 36px 0; text-align: center; }
.foot + .hood { margin-block-start: 14px; }
.demo-badge { font-size: .75rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-soft); background: var(--glass); }
.top-gap { flex: 1; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 3px; background: var(--glass); }
.lang button { border: 0; background: none; padding: 5px 13px; border-radius: 99px; cursor: pointer; font-size: .85rem; color: var(--ink-soft); min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* Сцена */
.stage { overflow-anchor: none; align-content: start; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 34px); align-items: start; perspective: 1800px; }
.b { grid-column: 1 / -1; min-width: 0; transform-origin: 50% 0; position: relative; }
@media (min-width: 900px) {
  .b.span-a { grid-column: span 7; }
  .b.span-b { grid-column: span 5; }
}
/* Стеклянная плита 2.5D: блик сверху, толщина снизу, мягкая тень */
.slab { position: relative; border-radius: var(--r-slab); padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(150deg, var(--glass-hi), var(--glass));
  -webkit-backdrop-filter: blur(22px) saturate(1.35); backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 -14px 26px -20px rgb(var(--shadow) / .22),
    0 5px 0 -1px var(--glass), 0 6px 0 0 rgb(var(--shadow) / .09),
    0 34px 54px -30px rgb(var(--shadow) / .5), 0 10px 18px -12px rgb(var(--shadow) / .22); }

.b-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.15; text-wrap: balance; margin-block-end: 14px; }
.b-text { color: var(--ink-soft); max-width: 62ch; }
.label { display: block; font-size: .78rem; color: var(--ink-soft); }
.fine { font-size: .8rem; color: var(--ink-soft); margin-block-start: 12px; }
.demo-chip { display: inline-block; font-size: .72rem; padding: 2px 9px; border-radius: 99px; border: 1px dashed var(--line); color: var(--ink-soft); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 99px; border: 1px solid transparent; cursor: pointer;
  font-weight: 500; text-decoration: none; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: 0 14px 24px -14px rgb(var(--shadow) / .7); }
.btn-primary:hover { background: var(--accent); color: var(--on-accent); }
.btn-accent { background: #E77BB0; color: #2A1020; box-shadow: 0 14px 30px -12px rgba(231, 123, 176, .7); }
.btn-accent:hover { background: #F29AC6; }
.btn-ghost-deep { background: transparent; border-color: rgba(244, 238, 241, .3); color: var(--on-deep); min-height: 36px; padding: 6px 14px; font-size: .85rem; }
.btn-ghost-deep:hover { background: rgba(244, 238, 241, .12); }
[dir="rtl"] .arrow { transform: scaleX(-1); }

/* HERO */
.b-hero { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; padding-block: clamp(4px, 2vw, 24px); }
@media (min-width: 900px) { .b-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); min-height: 420px; } }
.hero-ask { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; color: var(--ink-soft); font-size: .95rem; margin-block-end: 16px; }
.hero-ask-label { font-size: .8rem; }
.hero-ask q { color: var(--accent); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; quotes: "«" "»"; }
[dir="rtl"] .hero-ask q { font-style: normal; quotes: "״" "״"; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 6.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
[dir="rtl"] .hero-title { letter-spacing: 0; line-height: 1.12; }
.hero-title .word { display: inline-block; }
.is-in .hero-title .word { animation: word .7s var(--ease) both; animation-delay: calc(var(--d, 0ms) + var(--i) * 55ms + 300ms); }
@keyframes word { from { opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(6px); } }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; margin-block-start: 18px; }
.hero-actions { margin-block-start: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; min-height: 300px; display: grid; place-items: center; transform-style: preserve-3d; }

/* Карточка работы: рисунок под стеклом + подпись-пластина */
.work { position: relative; width: 100%; max-width: 300px; transition: transform .5s var(--ease); }
.work-pane { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 6px 0 -1px rgba(255, 255, 255, .28), 0 40px 60px -30px rgb(var(--shadow) / .6), 0 14px 22px -14px rgb(var(--shadow) / .35); }
.work-pane::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .14) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.work-art { display: block; width: 100%; height: 100%; }
.work-tag { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; z-index: 1; font-size: .68rem; padding: 2px 8px; border-radius: 99px;
  background: rgba(20, 12, 18, .5); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.work-cap { position: relative; z-index: 2; margin: -26px 12px 0; padding: 12px 14px; border-radius: 16px; display: grid; gap: 2px;
  background: linear-gradient(150deg, var(--glass-hi), var(--glass)); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 16px 26px -18px rgb(var(--shadow) / .55); }
.work-cap strong { font-weight: 500; font-size: .95rem; line-height: 1.3; }
.work-cap span { font-size: .8rem; color: var(--ink-soft); }
.work-front { transform: rotate(-3deg); z-index: 2; }
.work-back { position: absolute; max-width: 240px; inset-inline-end: 0; inset-block-start: 0; transform: rotate(7deg) translate(8%, -4%); opacity: .82; filter: saturate(.85); }
[dir="rtl"] .work-front { transform: rotate(3deg); }
[dir="rtl"] .work-back { transform: rotate(-7deg) translate(-8%, -4%); }
.fan { position: relative; width: min(100%, 380px); aspect-ratio: 1 / 1; }
.fan .work { position: absolute; width: 54%; }
.fan-0 { inset-inline-start: 0; inset-block-start: 8%; transform: rotate(-8deg); }
.fan-1 { inset-inline-start: 24%; inset-block-start: 0; transform: rotate(2deg); z-index: 2; }
.fan-2 { inset-inline-start: 46%; inset-block-start: 16%; transform: rotate(10deg); z-index: 1; }
@media (hover: hover) { .works-row .work:hover, .work-front:hover { transform: translateY(-8px) rotate(0deg) scale(1.02); } }

/* Hero: цена */
.plaque-sun { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--accent-soft), var(--accent) 70%); filter: blur(2px); opacity: .9;
  box-shadow: 0 40px 70px -30px var(--accent); }
.plaque { display: grid; gap: 6px; text-align: center; min-width: min(280px, 100%); transform: rotate(-2deg) translateY(10%); }
.plaque-name { font-weight: 500; }
.plaque-price { display: flex; align-items: baseline; justify-content: center; gap: 8px; font-family: var(--font-display); line-height: 1; }
.plaque-price b { font-size: clamp(4rem, 9vw, 5.6rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.plaque-price small { font-family: var(--font-body); font-size: .9rem; color: var(--ink-soft); }
.plaque-price i { font-style: normal; font-size: 1.8rem; color: var(--accent); }
.plaque-meta { color: var(--ink-soft); font-size: .92rem; }
.plaque-note { font-size: .74rem; color: var(--ink-soft); }

/* Монограммы мастеров (фото людей в демо нет) */
.mono { --s: 72px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--tone) 55%, #fff), var(--tone) 62%, color-mix(in srgb, var(--tone) 70%, #000));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -10px 18px -8px rgba(0, 0, 0, .35), 0 18px 28px -16px var(--tone), 0 0 0 5px var(--glass), 0 0 0 6px var(--glass-edge); }
.mono span { font-family: var(--font-display); font-weight: 700; font-size: calc(var(--s) * .46); line-height: 1; }
.mono-l { --s: 96px; } .mono-xl { --s: clamp(150px, 22vw, 210px); }
.hero-master { display: grid; justify-items: center; }
.hero-master-plate { margin-block-start: -34px; display: grid; gap: 2px; text-align: center; padding: 14px 22px; border-radius: 18px; }
.hero-master-plate span { font-size: .85rem; color: var(--ink-soft); }

/* Работы */
.works-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: clamp(16px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 14px 6px 34px; margin-inline: -6px; scrollbar-width: none; }
.works-row::-webkit-scrollbar { display: none; }
.works-row .work { scroll-snap-align: center; max-width: none; }
.tilt-0 { transform: rotate(-2deg); } .tilt-1 { transform: rotate(1.4deg) translateY(14px); } .tilt-2 { transform: rotate(-1deg); }
@media (max-width: 640px) { .works-row { grid-auto-columns: 66%; } }

/* Услуги */
.svc-list { display: grid; gap: 4px; }
.svc { display: flex; align-items: baseline; gap: 10px; padding-block: 9px; }
.svc-main { display: grid; gap: 1px; min-width: 0; }
.svc-name { font-weight: 500; }
.svc-meta { font-size: .8rem; color: var(--ink-soft); }
.svc-dots { flex: 1; min-width: 14px; border-block-end: 1px dotted var(--line); transform: translateY(-4px); }
.svc-price { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-cat { font-size: .78rem; color: var(--olive); padding-block-start: 12px; font-weight: 500; }
.svc-cat:first-child { padding-block-start: 0; }

/* Бюджет */
.budget-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-block-end: 16px; }
.budget-head .b-title { margin: 2px 0 0; }
.budget-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.budget-list { display: grid; gap: 16px; }
.budget-item { display: grid; gap: 6px; }
.budget-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.meter { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; box-shadow: inset 0 1px 2px rgb(var(--shadow) / .18); }
.meter span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transform-origin: 0 50%; animation: grow 1s var(--ease) .35s both; }
[dir="rtl"] .meter span { transform-origin: 100% 50%; background: linear-gradient(270deg, var(--accent), var(--accent-soft)); }
.meter-olive span { background: var(--olive) !important; }
@keyframes grow { from { transform: scaleX(0); } }

/* Пакет */
.pack { display: grid; gap: 10px; margin-block: 16px; }
.pack-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: 0 10px 16px -14px rgb(var(--shadow) / .5); }
.pack-item:nth-child(even) { margin-inline-start: 14px; }
.pack-total { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 12px 16px 0; border-block-start: 1px solid var(--line); }
.pack-total strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); white-space: nowrap; }

/* Сравнение */
.cmp-pair { display: grid; gap: 14px; align-items: stretch; margin-block-end: 16px; }
@media (min-width: 700px) { .cmp-pair { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; } }
.cmp { display: grid; gap: 10px; }
.cmp h3 { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; margin-block-end: 4px; }
.cmp-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cmp-row .label { min-width: 52px; }
.cmp-row strong { font-family: var(--font-display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.badge { font-style: normal; font-size: .72rem; padding: 2px 9px; border-radius: 99px; background: var(--olive); color: var(--paper); }
.cmp-vs { justify-self: center; font-family: var(--font-display); font-style: italic; color: var(--ink-soft); }

/* Отзывы — типографикой, без карточки */
.b-reviews { display: grid; gap: 28px; padding-block: 6px; }
.quote { display: grid; gap: 14px; padding-inline-start: 22px; border-inline-start: 2px solid var(--accent); }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.35; text-wrap: pretty; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9rem; }
.quote figcaption strong { font-weight: 500; }

/* Мастер, команда */
.b-master { display: flex; gap: 20px; align-items: flex-start; }
.master-body { min-width: 0; }
.master-body .b-title { margin-block-end: 2px; }
.master-role { color: var(--accent); font-size: .92rem; margin-block-end: 10px; }
.team-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 22px 16px; }
.team-one { display: grid; justify-items: center; text-align: center; gap: 4px; }
.team-one strong { margin-block-start: 12px; font-weight: 500; }
.team-one > span { font-size: .8rem; color: var(--ink-soft); }

/* Шаги — настоящая последовательность, поэтому с номерами */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 22px; } }
.step { display: flex; gap: 14px; align-items: flex-start; padding-block-start: 14px; border-block-start: 1px solid var(--line); }
.step-n { font-family: var(--font-display); font-size: 2rem; line-height: .9; color: var(--accent); font-weight: 700; min-width: 1.1ch; }

/* Календарь подготовки */
.tl { display: grid; gap: 0; }
.tl-pt { display: grid; grid-template-columns: minmax(84px, 26%) 18px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 9px; position: relative; }
.tl-when { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); margin-block-start: 6px; justify-self: center; box-shadow: 0 0 0 4px var(--glass-hi); position: relative; z-index: 1; }
.tl-pt:not(:last-child)::after { content: ""; position: absolute; inset-block: 22px -10px; inset-inline-start: calc(max(84px, 26%) + 12px + 8px); width: 1px; background: var(--line); }

/* Уход, о студии, заметка, акция */
.care-list { display: grid; gap: 10px; }
.care-list li { padding-inline-start: 26px; position: relative; }
.care-list li::before { content: ""; position: absolute; inset-inline-start: 2px; inset-block-start: .5em; width: 12px; height: 6px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg); }
.about-text { font-size: 1.1rem; max-width: 54ch; }
.about-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 16px; }
.about-facts li { font-size: .85rem; padding: 6px 14px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-edge); }
.b-note { padding: 20px 24px; border-radius: var(--r-slab); border: 1px dashed var(--ink-soft); }
.b-note .b-title { font-size: 1.3rem; margin-block-end: 8px; }
.b-promo { position: relative; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-slab); overflow: hidden; color: var(--on-accent);
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--deep)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 0 -1px color-mix(in srgb, var(--accent) 60%, #000), 0 34px 50px -28px var(--accent); }
.b-promo .b-title { margin-block: 10px 8px; }
.b-promo .b-text { color: inherit; opacity: .92; }
.b-promo .demo-chip { color: inherit; border-color: currentColor; opacity: .85; }

/* FAQ */
.faq-one { border-block-start: 1px solid var(--line); }
.faq-one summary { cursor: pointer; padding-block: 14px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-one summary::-webkit-details-marker { display: none; }
.faq-one summary::after { content: "+"; font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--accent); transition: transform .3s var(--ease); }
.faq-one[open] summary::after { transform: rotate(45deg); }
.faq-one p { color: var(--ink-soft); padding-block-end: 16px; max-width: 60ch; }

/* Визит */
.b-visit { display: grid; gap: 24px; }
@media (min-width: 900px) { .b-visit.solo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } .b-services.solo .svc-list { display: block; columns: 2; column-gap: 48px; } .b-services.solo .svc { break-inside: avoid; } .b-services.solo .svc-cat { break-after: avoid; break-inside: avoid; } .b-faq.solo, .b-timeline.solo, .b-budget.solo, .b-package.solo, .b-master.solo { width: 100%; max-width: 860px; margin-inline: auto; } }
.b-visit .b-title { font-size: 1.3rem; margin-block: 10px 0; }
.open-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; padding: 3px 11px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-soft); }
.open-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.open-chip.is-open { color: var(--olive); border-color: currentColor; }
.open-chip.is-open::before { background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.hours { display: grid; gap: 4px; margin-block: 14px; }
.hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 10px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.hours .is-today { background: var(--glass-hi); font-weight: 500; }
.phone { font-variant-numeric: tabular-nums; user-select: all; unicode-bidi: isolate; direction: ltr; }
.visit-phone { display: grid; gap: 2px; }
.visit-phone .phone { font-family: var(--font-display); font-size: 1.3rem; }
.visit-map { border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--glass-edge), 0 14px 24px -18px rgb(var(--shadow) / .5); direction: ltr; }
.map { display: block; width: 100%; height: auto; }
.map-land { fill: var(--paper-2); } .map-sea { fill: color-mix(in srgb, var(--paper) 45%, #7FA9B8); }
.map-beach { stroke: color-mix(in srgb, var(--paper) 30%, #E6C98F); stroke-width: 7; }
.map-road { stroke: var(--paper); stroke-width: 4; stroke-linecap: round; } .map-road-main { stroke-width: 7; }
.map-ridge { stroke: var(--olive); stroke-width: 1.5; opacity: .6; }
.map-dot { fill: var(--accent); stroke: var(--paper); stroke-width: 2.5; }
.map-pulse { fill: var(--accent); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: .5; } to { transform: scale(1.9); opacity: 0; } }
.map-label { font: 500 11px var(--font-body); fill: var(--ink-soft); } .map-label-strong { font: 700 14px var(--font-display); fill: var(--ink); }

/* Запись — единственная тёмная плита на странице */
.b-booking { display: grid; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--r-slab) + 6px); background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 7px 0 -1px color-mix(in srgb, var(--deep) 70%, #000), 0 44px 60px -34px rgb(var(--shadow) / .8); }
.b-booking::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; inset-inline-end: -18%; inset-block-start: -60%; background: radial-gradient(circle, rgba(231, 123, 176, .5), transparent 65%); pointer-events: none; }
@media (min-width: 860px) { .b-booking { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.b-booking > :not(.plate) { position: relative; }
.b-booking .b-title { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
.b-booking .b-text, .b-booking .fine { color: var(--on-deep-soft); }
.booking-svc { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; margin-block-start: 16px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; }
.booking-svc span:first-child { font-weight: 500; }
.booking-act { display: grid; gap: 14px; justify-items: start; }
.booking-phone { display: grid; gap: 2px; margin-block-start: 18px; font-size: 1.15rem; }
.booking-phone .label { color: var(--on-deep-soft); }

/* «Что решил режиссёр» */
.hood { margin-block-start: 36px; font-size: .85rem; color: var(--ink-soft); }
.hood summary { cursor: pointer; padding: 8px 0; }
.hood-meta { margin-block: 6px 10px; }
.hood pre { margin: 0; padding: 14px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); overflow-x: auto; font: 12px/1.5 ui-monospace, Consolas, monospace; direction: ltr; text-align: left; max-height: 360px; }

/* Док с вопросом */
.dock { position: fixed; z-index: 20; inset-inline: 0; bottom: 0; padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px));
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.dock-in { pointer-events: auto; max-width: 760px; margin-inline: auto; display: grid; gap: 8px; position: relative; }
/* Подложка дока (30.11, по скриншоту Томера): вся зона дока — одна панель толстого матового шершавого стекла во всю ширину:
   сильное размытие + насыщенность + плотная заливка + зерно, чтобы снизу угадывались только цветные пятна, но не текст.
   Верхний край — линия и мягкая тень, над ним страница плавно «уходит под стекло» (размытие с маской). Высоту дока JS пишет в --dock-h. */
.dock { padding-top: 12px; }
.dock::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .48 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(180deg, color-mix(in srgb, var(--paper) 80%, transparent), color-mix(in srgb, var(--paper) 90%, transparent) 70%);
  background-size: 180px 180px, auto;
  -webkit-backdrop-filter: blur(36px) saturate(1.6); backdrop-filter: blur(36px) saturate(1.6);
  border-block-start: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 -1px 0 var(--line), 0 -22px 40px -24px rgb(var(--shadow) / .5); }
.dock::after { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 76px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--paper) 55%, transparent) 55%, color-mix(in srgb, var(--paper) 82%, transparent));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 24px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--glass-edge); background: linear-gradient(150deg, var(--glass-hi), var(--glass)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: 8px 14px; border-radius: 99px; font-size: .86rem; cursor: pointer; min-height: 38px; box-shadow: 0 8px 14px -10px rgb(var(--shadow) / .5); transition: transform .2s var(--ease); white-space: nowrap; }
.chip:hover { transform: translateY(-2px); }
.chip:disabled { opacity: .5; cursor: default; transform: none; }
.ask { display: flex; align-items: center; gap: 8px; padding: 7px; padding-inline-start: 20px; border-radius: 99px;
  background: linear-gradient(150deg, var(--glass-hi), color-mix(in srgb, var(--paper) 80%, transparent)); border: 1px solid var(--glass-edge);
  -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5);
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 5px 0 -1px var(--glass), 0 30px 46px -22px rgb(var(--shadow) / .65), 0 10px 18px -12px rgb(var(--shadow) / .3); }
.ask input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1rem; min-height: 44px; }
.ask input::placeholder { color: var(--ink-soft); }
.ask:focus-within { border-color: var(--accent); }
.ask button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease), background-color .2s; }
.ask button:hover { background: var(--accent-hover); }
.ask button:active { transform: scale(.94); }
.ask button:disabled { opacity: .55; cursor: default; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.status { position: absolute; inset-inline-start: 0; bottom: calc(100% + 8px); margin: 0; max-width: 100%; text-align: start; animation: pop .3s var(--ease) both;
  box-shadow: 0 10px 18px -12px rgb(var(--shadow) / .5); font-size: .8rem; color: var(--ink-soft); text-align: center; padding: 4px 14px; border-radius: 99px;
  background: color-mix(in srgb, var(--paper) 96%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.status:empty { display: none; }
.status.is-busy::after { content: ""; display: inline-block; width: 1.2em; text-align: start; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* Цепочка реплик — одна строка: «заново», счётчик и последняя реплика; по нажатию раскрывается списком над доком. */
.has-thread { --dock-h: 166px; }
.thread { position: relative; display: flex; align-items: center; gap: 4px; min-width: 0; padding: 3px; border-radius: 99px;
  background: color-mix(in srgb, var(--paper) 86%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.thread[hidden] { display: none; }
.thread-reset { flex: none; display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 99px; background: var(--ink); color: var(--paper);
  padding: 0 12px; min-height: 28px; font-size: .78rem; cursor: pointer; transition: transform .2s var(--ease); }
.thread-reset:active { transform: scale(.95); }
.thread-ico { font-size: 1rem; line-height: 1; }
.thread-line { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; border: 0; background: none; border-radius: 99px; min-height: 28px; padding: 0 8px; font-size: .8rem; color: var(--ink); cursor: pointer; text-align: start; }
.thread-line:disabled { cursor: default; }
.thread-last { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-caret { flex: none; color: var(--ink-soft); transition: transform .25s var(--ease); }
.thread.is-open .thread-caret { transform: rotate(180deg); }
.thread-list { display: none; position: absolute; inset-inline: 0; bottom: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; border-radius: 20px; gap: 2px; max-height: 46vh; overflow-y: auto;
  background: color-mix(in srgb, var(--paper) 94%, transparent); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 5px 0 -1px var(--glass), 0 30px 46px -22px rgb(var(--shadow) / .65); }
.thread.is-open .thread-list { display: grid; animation: pop .28s var(--ease) both; }
.turn { display: flex; width: 100%; align-items: center; gap: 10px; border: 0; background: none; border-radius: 12px; padding: 0 10px; min-height: 40px; font-size: .86rem; color: var(--ink-soft); cursor: pointer; text-align: start; }
.turn:hover { color: var(--ink); background: var(--glass-hi); }
.turn-n { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-variant-numeric: lining-nums; border: 1px solid var(--line); }
.thread-line .turn-n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.turn-q { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.turn[aria-current] { color: var(--ink); cursor: default; background: none; font-weight: 500; }
.turn[aria-current] .turn-n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.thread-reset:focus-visible, .turn:focus-visible, .thread-line:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Уточнение: что изменилось на странице. Новый блок — кольцо акцентом, обновлённый — кольцо мягче. */
.b.is-new, .b.is-changed { position: relative; }
.b.is-new::after, .b.is-changed::after { content: ""; position: absolute; inset: -7px; border-radius: calc(var(--r-slab) + 7px); pointer-events: none;
  border: 2px solid var(--accent); animation: ring 2.4s var(--ease) both; }
.b.is-changed::after { border-color: var(--accent-soft); border-style: dashed; animation-duration: 2s; }
@keyframes ring { 0% { opacity: 0; transform: scale(1.03); } 18% { opacity: .95; transform: none; } 70% { opacity: .7; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Цифры — гротеском: у Bona Nova минускульные цифры, цены в них читаются плохо */
.svc-price, .budget-amount, .plaque-price b, .plaque-price i, .cmp-row strong, .pack-total strong, .phone, .visit-phone .phone, .booking-phone, .hours dd, .tl-when, .step-n {
  font-family: var(--font-body); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.budget-amount, .plaque-price b { font-weight: 500; letter-spacing: -.02em; }
.hero-ask q { font-variant-numeric: lining-nums; }

@media (max-width: 640px) {
  .fan { width: min(78%, 280px); }
  .hero-visual { min-height: 0; padding-block: 8px 20px; }
  .work-back { max-width: 46%; }
  .work-front { max-width: 62%; }
}

.hero-master-plate { max-width: 320px; }
.hero-master-plate em { font-style: normal; font-size: .8rem; color: var(--ink-soft); margin-block-start: 6px; }

.num { font-family: var(--font-body); font-weight: 500; font-style: normal; font-variant-numeric: lining-nums; letter-spacing: -.01em; }

.works-row.n1, .works-row.n2 { grid-auto-columns: minmax(210px, 300px); justify-content: start; }

/* ── Сборка сцены. У каждого блока есть стеклянная заготовка (.plate) — скелет будущего блока.
   Пока мозг думает (.is-building), страница размягчается в заготовки; новые блоки встают заготовками (.is-armed)
   и проявляются (.is-in), когда попадают на экран. Анимируются только transform и opacity. */
.b > .plate { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; overflow: hidden; border-radius: var(--r-slab);
  display: grid; align-content: start; justify-items: start; gap: 12px; padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(150deg, var(--glass-hi), var(--glass)); border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 5px 0 -1px var(--glass), 0 6px 0 0 rgb(var(--shadow) / .09), 0 30px 46px -30px rgb(var(--shadow) / .45);
  transition: opacity .4s ease; }
.plate b { display: block; height: 11px; width: 74%; max-width: 420px; border-radius: 99px; background: var(--line); }
.plate b:first-child { height: 22px; width: 52%; max-width: 300px; }
.plate b:last-child { width: 60%; }
.plate::after { content: ""; position: absolute; inset: 0 -30%; transform: translateX(-110%);
  background: linear-gradient(105deg, transparent 38%, var(--glass-edge) 50%, transparent 62%); opacity: .7; }
[dir="rtl"] .plate::after { transform: translateX(110%); }
.stage .b > :not(.plate) { transition: opacity .35s ease; }

.stage.is-building .b { transform: scale(.985); transition: transform .5s var(--ease); }
.stage.is-building .b > :not(.plate), .b.is-ghost > :not(.plate) { opacity: .3; }
.stage.is-building .b > .plate, .b.is-ghost > .plate { opacity: 1; }
.stage.is-building .plate b { animation: breathe 1.3s ease-in-out infinite; animation-delay: calc(var(--n, 0) * 130ms); }
.stage.is-building .plate::after { animation: sheen 1.5s ease-in-out infinite; animation-delay: calc(var(--n, 0) * 130ms); }
@keyframes breathe { 50% { opacity: .35; } }
@keyframes sheen { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@keyframes sheen-rtl { from { transform: translateX(110%); } to { transform: translateX(-110%); } }
[dir="rtl"] .stage.is-building .plate::after, [dir="rtl"] .b.is-in > .plate::after { animation-name: sheen-rtl; }

 /* Прилёт (30.11): блок поднимается из глубины снизу, слегка перелетает и садится с пружиной; содержимое проявляется из стекла. */
.b.is-armed { opacity: 0; transform: translateY(110px) rotateX(-20deg) scale(.86); pointer-events: none; }
.b.is-armed > :not(.plate) { opacity: 0; transition: none; }
.b.is-armed > .plate { opacity: 1; transition: none; }
.b.is-in { animation: rise .66s both; animation-delay: var(--d, 0ms); will-change: transform, opacity; }
.b.is-in > :not(.plate) { animation: ink .42s ease-out both; animation-delay: calc(var(--d, 0ms) + 200ms); }
.b.is-in > .plate { animation: plate-out .4s ease-in both; animation-delay: calc(var(--d, 0ms) + 220ms); transition: none; }
.b.is-in > .plate::after { animation: sheen .7s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise {
  0% { opacity: 0; transform: translateY(110px) rotateX(-20deg) scale(.86); animation-timing-function: cubic-bezier(.16, .84, .3, 1); }
  30% { opacity: 1; }
  62% { opacity: 1; transform: translateY(-9px) rotateX(2.5deg) scale(1.012); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  82% { opacity: 1; transform: translateY(3px) rotateX(-.6deg) scale(.998); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { opacity: 1; transform: none; } }
@keyframes ink { from { opacity: 0; transform: translateY(10px); } }
@keyframes plate-out { from { opacity: 1; } to { opacity: 0; } }
@media (max-width: 640px) { .slab, .b > .plate { -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); } }

/* ── Вход: приветствие и большие кнопки-направления */
.b-welcome { min-height: 0; }
.welcome-tail { grid-column: 1 / -1; display: grid; gap: 16px; }
.dirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; perspective: 1200px; }
.dir { display: grid; gap: 3px; align-content: end; justify-items: start; text-align: start; min-height: 126px; padding: 14px; border-radius: 22px; cursor: pointer; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dir:active { transform: scale(.97); }
@media (hover: hover) { .dir:hover { transform: translateY(-7px) rotateX(5deg); box-shadow: inset 0 1px 0 var(--glass-edge), 0 5px 0 -1px var(--glass), 0 6px 0 0 rgb(var(--shadow) / .09), 0 44px 60px -30px rgb(var(--shadow) / .6); } }
.dir-lens { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; margin-block-end: 8px;
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 14px 20px -10px rgb(var(--shadow) / .55), 0 0 0 4px var(--glass); }
.dir-lens canvas { display: block; width: 100%; height: 100%; }
.dir-lens-sign { background: radial-gradient(circle at 30% 25%, var(--accent-soft), var(--accent) 70%); color: var(--on-accent); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.dir-label { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.15; text-wrap: balance; }
.dir-sub { font-size: .8rem; line-height: 1.35; color: var(--ink-soft); }
.welcome-hint { color: var(--ink-soft); font-size: .92rem; max-width: 60ch; }
@media (min-width: 900px) { .dirs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .dir { min-height: 176px; padding: 20px; } .dir-lens { width: 58px; height: 58px; } }
@media (max-width: 899px) { .b-welcome .hero-visual { display: none; } .b-welcome .hero-title { font-size: clamp(2rem, 8.6vw, 2.9rem); } .b-welcome .hero-lead { margin-block-start: 12px; } }

/* ── Запись на странице: форма живёт на тёмной плите (блок записи и лист) */
.bk { min-width: 0; }
.bk-form { display: grid; gap: 16px; }
.bk-field { display: grid; gap: 7px; min-width: 0; }
.bk-label { font-size: .78rem; color: var(--on-deep-soft); letter-spacing: .02em; }
.bk-select, .bk-input { width: 100%; min-width: 0; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: var(--on-deep); font: inherit; font-size: 1rem; color-scheme: dark; }
.bk-input::placeholder { color: var(--on-deep-soft); opacity: .75; }
.bk-select:focus-visible, .bk-input:focus-visible, .bk-opt:focus-visible { outline: 2px solid var(--pop); outline-offset: 2px; }
.bk-input.is-bad { border-color: var(--warn); }
.bk-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-days { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 3px 4px; }
.bk-days::-webkit-scrollbar { display: none; }
.bk-opt { flex: none; min-height: 44px; padding: 8px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: var(--on-deep); font: inherit; font-size: .9rem; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s, border-color .18s; }
.bk-opt:active { transform: scale(.95); }
.bk-opt[aria-pressed="true"] { background: var(--pop); color: var(--on-pop); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 3px 0 -1px var(--pop-edge), 0 12px 20px -12px var(--pop); }
.bk-day { display: grid; gap: 1px; justify-items: center; min-width: 66px; padding: 7px 10px; }
.bk-day strong { font-weight: 500; font-size: .84rem; white-space: nowrap; }
.bk-day span { font-size: .78rem; opacity: .8; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; border-radius: 16px; }
.bk-slots.is-bad { outline: 1px dashed var(--warn); outline-offset: 6px; }
.bk-slot { padding: 8px 2px; min-height: 42px; text-align: center; }
.bk-slot.is-busy { opacity: .36; text-decoration: line-through; cursor: default; }
.bk-legend, .bk-none { font-size: .76rem; color: var(--on-deep-soft); margin-block-start: 8px; }
.bk-none { font-size: .9rem; margin: 0; grid-column: 1 / -1; }
.bk-two { display: grid; gap: 12px; }
@media (min-width: 520px) { .bk-two { grid-template-columns: 1fr 1fr; } }
.bk-err { color: var(--warn); font-size: .9rem; }
.bk-err:empty { display: none; }
.bk-submit { width: 100%; justify-content: center; text-align: center; }
.bk-submit.is-waiting { opacity: .72; }
.btn-accent { background: var(--pop); color: var(--on-pop); }
.bk .fine, .sheet .fine { color: var(--on-deep-soft); margin: 0; }
.bk-done { display: grid; gap: 14px; justify-items: start; outline: none; animation: pop .5s var(--ease) both; }
.bk-check circle { fill: none; stroke: var(--pop); stroke-width: 3; stroke-dasharray: 183; stroke-dashoffset: 183; animation: draw .6s ease-out .1s forwards; }
.bk-check path { fill: none; stroke: var(--pop); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s ease-out .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk-done-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.3rem); line-height: 1.1; }
.bk-done-text { color: var(--on-deep-soft); max-width: 46ch; }
.bk-sum { display: grid; gap: 8px; width: 100%; margin: 0; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); }
.bk-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.bk-sum-row dt { flex: none; font-size: .78rem; color: var(--on-deep-soft); }
.bk-sum-row dd { min-width: 0; text-align: end; font-weight: 500; }
.bk-done-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Плавающая кнопка записи и лист */
.dock-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dock-row .chips { flex: 1; min-width: 0; }
.fab { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 99px; cursor: pointer; font-weight: 500; font-size: .9rem; white-space: nowrap;
  background: var(--pop); color: var(--on-pop);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 3px 0 -1px var(--pop-edge), 0 14px 22px -12px rgb(var(--shadow) / .6);
  transition: transform .3s var(--ease), opacity .25s ease; }
.fab:active { transform: scale(.95); }
.fab.is-away { display: none; }
@media (min-width: 1100px) { /* на большом экране кнопка уходит из дока в угол */
  .fab { position: fixed; z-index: 19; right: 28px; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); min-height: 50px; padding: 0 22px; font-size: 1rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 4px 0 -1px var(--pop-edge), 0 22px 34px -14px rgb(var(--shadow) / .65); }
  [dir="rtl"] .fab { right: auto; left: 28px; }
  .fab.is-away, .sheet-open .fab { display: inline-flex; opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; }
}
.sheet { position: fixed; inset: 0; z-index: 40; display: grid; align-items: end; justify-items: center; perspective: 1400px; }
.sheet-back { position: absolute; inset: 0; background: rgb(var(--shadow) / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-panel { position: relative; width: min(560px, 100%); max-height: 92%; overflow-y: auto; overscroll-behavior: contain; background: var(--deep); color: var(--on-deep);
  border-radius: 28px 28px 0 0; padding-block: 16px calc(22px + env(safe-area-inset-bottom, 0px));
  padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 -30px 60px -30px rgb(var(--shadow) / .8); }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet-panel { border-radius: 28px; padding: 26px; max-height: 90%; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 7px 0 -1px color-mix(in srgb, var(--deep) 70%, #000), 0 50px 80px -34px rgb(var(--shadow) / .85); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
.sheet-head h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.sheet-close { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: inherit; }
.sheet-open { overflow: hidden; }
@media (min-width: 900px) { .b-welcome { gap: 28px 48px; padding-block: 0; } .b-welcome .hero-visual { min-height: 230px; } .b-welcome .fan { width: min(100%, 270px); } .b-welcome .hero-title { font-size: clamp(2.3rem, 4.6vw, 3.6rem); } }
