/* Черновик сайта заказчика (рисуется в iframe). Четыре темы-«характера», нарисованы руками; у каждой три тона: strict / warm / bold.
   Все отступы логические (RTL с первой строки). Уровни: simple — статика, effect — появление и микродвижения, wow — 3D-сцена в первом экране. */
:root {
  --bg: #F4F2EE; --surface: #FFFFFF; --ink: #1B1B1B; --muted: #6A665F; --line: rgba(0,0,0,.12);
  --acc: #333; --acc-ink: #fff; --acc2: var(--acc); --r: 8px; --fh: system-ui, sans-serif; --fb: system-ui, sans-serif;
  --fh-w: 700; --fh-case: none; --track: 0; --gap: 72px; --pad: 20px; --hero-ov: rgba(0,0,0,.45);
}
/* Мастерская — гараж и сервис: графит, сигнальный жёлтый, рубленый шрифт, жёсткие углы */
[data-theme="masterskaya"] { --bg: #141618; --surface: #1E2124; --ink: #F1EEE6; --muted: #A9A59B; --line: rgba(255,255,255,.12); --acc: #F2C230; --acc-ink: #141618; --r: 3px;
  --fh: 'Rubik', system-ui, sans-serif; --fb: 'Rubik', system-ui, sans-serif; --fh-w: 800; --track: -.01em; --gap: 64px; --hero-ov: linear-gradient(180deg, rgba(20,22,24,.35), rgba(20,22,24,.92)); }
[data-theme="masterskaya"][data-tone="strict"] { --acc: #D8D3C6; --acc-ink: #141618; --bg: #17191B; }
[data-theme="masterskaya"][data-tone="warm"] { --bg: #1B1714; --surface: #251F1A; --acc: #E8963A; --acc-ink: #1B1714; --ink: #F3EADF; }
[data-theme="masterskaya"][data-tone="bold"] { --acc: #F2C230; --bg: #101112; }
/* Студия — салон: тёплая пудра, тонкий гротеск, антиква в заголовках, мягкие формы */
[data-theme="studiya"] { --bg: #F6EEE9; --surface: #FFF9F6; --ink: #2B1D22; --muted: #7A6670; --line: rgba(43,29,34,.12); --acc: #8E3B5B; --acc-ink: #FFF9F6; --r: 22px;
  --fh: 'Bona Nova', Georgia, serif; --fb: 'Rubik', system-ui, sans-serif; --fh-w: 400; --gap: 84px; --hero-ov: linear-gradient(180deg, rgba(43,29,34,0), rgba(43,29,34,.55)); }
[data-theme="studiya"][data-tone="strict"] { --bg: #F3F1EE; --surface: #FFFFFF; --acc: #2B1D22; --r: 6px; }
[data-theme="studiya"][data-tone="bold"] { --bg: #261A1F; --surface: #33242A; --ink: #F6EEE9; --muted: #C9B3BC; --line: rgba(255,255,255,.14); --acc: #E9A3BA; --acc-ink: #261A1F; }
/* Карандаш — ремонт и кухни: бумага-бетон, терракота, плотный гротеск */
[data-theme="karandash"] { --bg: #ECE7DE; --surface: #F7F3EC; --ink: #22201C; --muted: #6C665C; --line: rgba(34,32,28,.14); --acc: #B5532F; --acc-ink: #FFF; --r: 8px;
  --fh: 'Arimo', system-ui, sans-serif; --fb: 'Arimo', system-ui, sans-serif; --fh-w: 700; --fh-case: none; --gap: 72px; --hero-ov: linear-gradient(90deg, rgba(34,32,28,.0), rgba(34,32,28,.0)); }
[data-theme="karandash"][data-tone="strict"] { --acc: #2F4A3E; --bg: #EAE8E2; }
[data-theme="karandash"][data-tone="bold"] { --bg: #22201C; --surface: #2D2A25; --ink: #ECE7DE; --muted: #B3AB9E; --line: rgba(255,255,255,.14); --acc: #E0763F; --acc-ink: #22201C; }
/* Кабинет — юрист: тёмно-синий, антиква, много воздуха, никаких «вау» */
[data-theme="kabinet"] { --bg: #F7F5F0; --surface: #FFFFFF; --ink: #13213A; --muted: #586174; --line: rgba(19,33,58,.13); --acc: #13213A; --acc-ink: #F7F5F0; --acc2: #A8834A; --r: 2px;
  --fh: 'Noto Serif Hebrew', 'Noto Serif', Georgia, serif; --fb: 'Arimo', system-ui, sans-serif; --fh-w: 500; --gap: 96px; }
[data-theme="kabinet"][data-tone="warm"] { --bg: #F4EEE4; --acc: #5E3426; --acc2: #A8834A; }
[data-theme="kabinet"][data-tone="bold"] { --bg: #13213A; --surface: #1B2C4A; --ink: #F4F1EA; --muted: #AEB7C7; --line: rgba(255,255,255,.15); --acc: #C9A464; --acc-ink: #13213A; --acc2: #C9A464; }

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scrollbar-width: thin; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--fb); overflow-x: clip; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
  transition: background-color .5s ease, color .5s ease; }
h1, h2, h3 { font-family: var(--fh); font-weight: var(--fh-w); letter-spacing: var(--track); line-height: 1.12; margin: 0; text-transform: var(--fh-case); text-wrap: balance; }
h2 { font-size: clamp(26px, 3.2vw, 40px); margin-block-end: 20px; }
h3 { font-size: 19px; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }
.mock { display: inline-block; font-size: 12px; letter-spacing: .02em; padding: 3px 9px; border: 1px dashed currentColor; border-radius: 99px; color: var(--muted); margin-block-end: 12px; }
.ph { border-bottom: 1px dashed currentColor; opacity: .75; }
.btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 48px; padding: 12px 22px; border-radius: var(--r); background: var(--acc); color: var(--acc-ink); font: 600 16px/1 var(--fb);
  text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn svg { width: 18px; height: 18px; flex: none; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* шапка черновика */
.draftbar { background: repeating-linear-gradient(-45deg, rgba(128,128,128,.10) 0 10px, transparent 10px 20px); color: var(--muted); font-size: 12px; text-align: center; padding: 5px 10px; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-block-end: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.logo { font: var(--fh-w) 20px/1 var(--fh); white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.nav { display: none; gap: 18px; font-size: 14px; color: var(--muted); }
.nav span:first-child { color: var(--ink); }
.top .sp { flex: 1; }
.langs { display: flex; gap: 2px; font-size: 13px; }
.langs button { background: none; border: 0; color: var(--muted); padding: 6px 7px; border-radius: 6px; cursor: pointer; font: inherit; }
.langs button[aria-pressed="true"] { color: var(--ink); background: var(--line); }
.top .btn { min-height: 38px; padding: 8px 14px; font-size: 14px; }
@media (max-width: 520px) { .top .btn .t { display: none; } .top .btn { padding: 8px 11px; } }
@media (min-width: 900px) { .nav { display: flex; } :root { --pad: 40px; } }

/* блоки */
.blk { padding-block: calc(var(--gap) / 2); position: relative; }
.blk + .blk { border-block-start: 1px solid var(--line); }
.blk.b-hero, .blk.b-urgent, .blk.b-floatwa { border: 0; }
.blk.b-hero + .blk, .blk.b-urgent + .blk { border: 0; }

/* hero */
.b-hero { padding: 0; }
.h-call { position: relative; min-height: 560px; display: grid; align-items: end; color: #fff; overflow: hidden; }
.h-call img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-call::after { content: ''; position: absolute; inset: 0; background: var(--hero-ov); }
.h-call .wrap { position: relative; z-index: 1; padding-block: 48px; width: 100%; }
.h-call h1 { font-size: clamp(34px, 6vw, 64px); max-width: 15ch; }
.h-call p { font-size: 18px; max-width: 46ch; margin-block: 14px 24px; opacity: .9; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .04em; margin-block-end: 14px; padding: 4px 10px; border-radius: var(--r); background: var(--acc); color: var(--acc-ink); font-weight: 600; }
.h-call .btn { min-height: 56px; font-size: 18px; }
[data-theme="masterskaya"][data-tone="bold"] .h-call::before { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 10px; z-index: 2; background: repeating-linear-gradient(-45deg, var(--acc) 0 14px, #111 14px 28px); }

.h-photo { display: grid; gap: 28px; padding-block: 36px 56px; }
.h-photo .pic { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4/5; max-height: 560px; }
[data-tone="strict"] .h-photo .pic { border-radius: var(--r); }
.h-photo .pic img { width: 100%; height: 100%; object-fit: cover; }
.h-photo h1 { font-size: clamp(38px, 5.6vw, 72px); }
.h-photo p { font-size: 18px; color: var(--muted); margin-block: 16px 26px; max-width: 40ch; }
.h-photo .eyebrow, .h-project .eyebrow, .h-split .eyebrow { background: none; color: var(--acc); padding: 0; }
@media (min-width: 900px) { .h-photo { grid-template-columns: 1.05fr .95fr; align-items: center; padding-block: 64px 80px; } }

.h-project { padding-block: 40px 60px; }
.h-project h1 { font-size: clamp(34px, 5vw, 62px); max-width: 18ch; }
.h-project p { color: var(--muted); font-size: 18px; margin-block: 14px 24px; max-width: 46ch; }
.h-project .duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-block-start: 34px; }
.h-project .duo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); aspect-ratio: 4/3; }
.h-project .duo img + img { aspect-ratio: 3/4; margin-block-start: 40px; }

.h-quiet { padding-block: 72px 80px; }
.h-quiet .rule { width: 56px; height: 2px; background: var(--acc2); margin-block-end: 28px; }
.h-quiet h1 { font-size: clamp(36px, 5.2vw, 66px); max-width: 16ch; }
.h-quiet p { font-size: 19px; color: var(--muted); margin-block: 20px 32px; max-width: 44ch; }
.h-quiet .eyebrow { background: none; color: var(--muted); padding: 0; letter-spacing: .02em; font-weight: 400; }
.h-quiet .side { display: none; }
@media (min-width: 900px) { .h-quiet .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; } .h-quiet .side { display: block; } .h-quiet .side img { border-radius: var(--r); filter: grayscale(.35); aspect-ratio: 4/5; max-height: 440px; object-fit: cover; width: 100%; } }

.h-split { display: grid; gap: 24px; padding-block: 40px 56px; }
.h-split h1 { font-size: clamp(32px, 5vw, 58px); }
.h-split p { color: var(--muted); margin-block: 14px 24px; font-size: 18px; }
.h-split img { border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .h-split { grid-template-columns: 1fr 1fr; align-items: center; } }

/* «вау»: сцены */
.h-scene { position: relative; overflow: hidden; }
.h-scene .copy { position: relative; z-index: 2; padding-block: 36px 20px; }
.h-scene h1 { font-size: clamp(34px, 5.6vw, 66px); max-width: 16ch; }
.h-scene p { margin-block: 12px 22px; max-width: 44ch; color: var(--muted); font-size: 18px; }
.scene-car { position: relative; height: 520px; border-block: 1px solid var(--line); background: #0d0e10; overflow: hidden; }
.scene-car iframe { position: absolute; inset-inline: 0; top: -72px; width: 100%; height: calc(100% + 72px); border: 0; } /* шапку демо-сайта прячем: в черновике видна только сцена */
.scene-car .tag, .scene-kitchen .tag, .scene-glass .tag { position: absolute; inset-inline-start: 12px; top: 12px; z-index: 3; font-size: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 4px 10px; border-radius: 99px; }
.scene-glass { position: relative; height: 520px; perspective: 1200px; display: grid; place-items: center; }
.scene-glass .stack { position: relative; width: min(64%, 360px); aspect-ratio: 3/4; transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-18deg); transition: transform .3s ease-out; }
.scene-glass .card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(43,29,34,.45); }
.scene-glass .card img { width: 100%; height: 100%; object-fit: cover; }
.scene-glass .card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.45), rgba(255,255,255,0) 40%); mix-blend-mode: soft-light; }
.scene-glass .card:nth-child(1) { transform: translateZ(-160px) translateX(-34%) rotateY(14deg); opacity: .8; }
.scene-glass .card:nth-child(2) { transform: translateZ(-80px) translateX(30%) rotateY(-10deg); opacity: .9; }
.scene-glass .card:nth-child(3) { transform: translateZ(0); }
.scene-glass .glass { position: absolute; inset: auto 8% 6% 8%; height: 88px; transform: translateZ(70px); border-radius: 20px; background: rgba(255,249,246,.55); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; font: 400 22px/1 var(--fh); color: #2B1D22; }
.scene-glass .stack { animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { transform: rotateX(10deg) rotateY(-22deg); } to { transform: rotateX(4deg) rotateY(-8deg); } }
@media (min-width: 900px) { .h-scene:has(.scene-glass) { display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1120px; margin-inline: auto; } .h-scene:has(.scene-glass) .copy { padding-block: 60px; } .scene-glass { height: 600px; } }
.scene-kitchen { position: relative; height: 460px; overflow: hidden; border-radius: var(--r); margin-inline: var(--pad); }
.scene-kitchen img { width: 100%; height: 100%; object-fit: cover; }
.scene-kitchen .open { position: absolute; inset-inline-end: 14px; bottom: 14px; }

/* полоса срочного */
.b-urgent { background: var(--acc); color: var(--acc-ink); padding-block: 18px; }
.b-urgent .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.b-urgent h3 { font-size: 22px; font-family: var(--fh); font-weight: var(--fh-w); }
.b-urgent p { flex: 1; min-width: 200px; }
.b-urgent .btn { background: var(--acc-ink); color: var(--acc); }

/* услуги */
.v-rows .list { display: grid; gap: 0; }
.v-rows .it { display: grid; grid-template-columns: 2.2em 1fr; gap: 4px 14px; padding-block: 16px; border-block-end: 1px solid var(--line); }
.v-rows .it b { font: var(--fh-w) 18px/1.3 var(--fh); }
.v-rows .it .n { grid-row: span 2; font: 500 14px/1.6 'IBM Plex Mono', ui-monospace, monospace; color: var(--acc); }
@media (min-width: 900px) { .v-rows .list { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.v-cards .list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.v-cards .it { background: var(--surface); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.v-cards .it b { display: block; font: var(--fh-w) 18px/1.3 var(--fh); margin-block-end: 6px; }

/* шаги */
.v-steps ol, .v-line ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.v-steps li, .v-line li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.v-steps li::before, .v-line li::before { content: counter(s); width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--acc); color: var(--acc-ink); font: 600 16px/1 'IBM Plex Mono', monospace; }
.v-line ol { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.v-line li { grid-template-columns: 1fr; }
.v-line li::before { background: none; color: var(--acc); box-shadow: inset 0 0 0 1.5px var(--acc); border-radius: 50%; }
.v-line li b { font: var(--fh-w) 18px/1.3 var(--fh); display: block; }
.b-photoquote .btn { margin-block-start: 20px; }

/* полоса-лента и заметка */
.v-band { background: var(--surface); }
.v-band .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
.chip { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; }
.v-note .wrap { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; }
.v-note .ic { width: 52px; height: 52px; border-radius: var(--r); background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; }
.v-note .ic svg { width: 26px; height: 26px; }
.v-note h2 { font-size: 24px; margin: 0 0 4px; }

/* галереи */
.v-strip .g, .v-grid .g { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.v-strip .g img, .v-grid .g img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) { .v-strip .g { grid-template-columns: repeat(4, 1fr); } }
.v-wish .g { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 6px; }
.v-wish figure { margin: 0; flex: 0 0 62%; max-width: 280px; scroll-snap-align: start; position: relative; }
.v-wish img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r); }
.v-wish figcaption { position: absolute; inset-inline-start: 10px; bottom: 10px; background: var(--surface); color: var(--ink); font-size: 13px; padding: 5px 12px; border-radius: 99px; }
.v-mosaic .g { display: grid; gap: 10px; grid-template-columns: repeat(6, 1fr); }
.v-mosaic .g img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); aspect-ratio: 1; }
.v-mosaic .g img:nth-child(1) { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.v-mosaic .g img:nth-child(2), .v-mosaic .g img:nth-child(3) { grid-column: span 2; }
.v-mosaic .g img:nth-child(4), .v-mosaic .g img:nth-child(5) { grid-column: span 3; aspect-ratio: 16/10; }

/* до/после */
.ba { position: relative; aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before { filter: grayscale(1) contrast(.8) brightness(.7) sepia(.3); clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
[dir="rtl"] .ba .before { clip-path: inset(0 0 0 calc(100% - var(--x, 50%))); }
.ba .knob { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--x, 50%); width: 3px; background: var(--acc); }
.ba .knob::after { content: '⟷'; position: absolute; top: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; }
[dir="rtl"] .ba .knob::after { transform: translate(50%, -50%); }
.ba .lab { position: absolute; top: 10px; font-size: 12px; background: rgba(0,0,0,.55); color: #fff; padding: 3px 10px; border-radius: 99px; }
.ba .lab.a { inset-inline-start: 10px; } .ba .lab.b { inset-inline-end: 10px; }
.ba input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: ew-resize; }

/* галочки */
.v-checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.v-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.v-checks li::before { content: ''; width: 22px; height: 22px; margin-block-start: 2px; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
[data-theme="masterskaya"] .v-checks li::before { background-color: var(--acc); filter: none; }

/* прайс */
.v-duration .list { display: grid; gap: 0; }
.v-duration .it { display: flex; align-items: baseline; gap: 10px; padding-block: 14px; border-block-end: 1px dashed var(--line); }
.v-duration .it b { font-weight: 500; }
.v-duration .it .dots { flex: 1; }
.v-duration .it .d { color: var(--muted); font-size: 14px; }
.v-duration .it .p { font: 500 15px/1 'IBM Plex Mono', monospace; color: var(--muted); min-width: 60px; text-align: end; }
@media (min-width: 900px) { .v-duration .list { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* команда */
.team { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.team .m { background: var(--surface); border-radius: var(--r); padding: 18px; text-align: center; border: 1px solid var(--line); }
.team .av { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px; background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--acc) 30%, var(--surface)) 0 22%, transparent 23%), radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--acc) 30%, var(--surface)) 0 45%, transparent 46%), var(--bg); }
.team .m b { display: block; } .team .m span { color: var(--muted); font-size: 14px; }

/* запись / консультация (макет) */
.book { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 16px; }
.days { display: flex; gap: 8px; overflow-x: auto; }
.days span { flex: 0 0 auto; min-width: 54px; text-align: center; padding: 8px 6px; border-radius: var(--r); border: 1px solid var(--line); font-size: 13px; }
.days span b { display: block; font: 600 18px/1.2 'IBM Plex Mono', monospace; }
.days span.on { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots span { padding: 8px 12px; border-radius: var(--r); border: 1px solid var(--line); font: 500 14px/1 'IBM Plex Mono', monospace; }
.slots span.off { opacity: .35; text-decoration: line-through; }
.slots span.on { box-shadow: inset 0 0 0 2px var(--acc); }
.wa-mock { max-width: 360px; background: #E7DED4; border-radius: 16px; padding: 14px; display: grid; gap: 8px; color: #1b1b1b; }
.wa-mock p { background: #fff; padding: 8px 12px; border-radius: 10px; font-size: 14px; max-width: 85%; }
.wa-mock p.me { background: #D8F6C8; justify-self: end; }

/* калькулятор */
.calc { display: grid; gap: 16px; background: var(--surface); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); max-width: 560px; }
.calc input[type=range] { width: 100%; accent-color: var(--acc); }
.calc .seg { display: flex; gap: 6px; flex-wrap: wrap; }
.calc .seg span { padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--line); font-size: 14px; }
.calc .seg span.on { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.calc .res { font: 600 26px/1 'IBM Plex Mono', monospace; }

/* форма-макет */
.form { display: grid; gap: 10px; max-width: 520px; }
.form span { display: block; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 15px; }

/* FAQ, области права, статьи, отзывы, уход */
.faq details { border-block-end: 1px solid var(--line); padding-block: 14px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--acc); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin-block-start: 8px; }
.areas { display: grid; gap: 0; }
.areas .a { display: grid; gap: 4px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.areas .a b { font: var(--fh-w) 22px/1.25 var(--fh); }
@media (min-width: 900px) { .areas { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.arts { display: grid; gap: 10px; }
.arts a { display: block; text-decoration: none; padding: 16px 0; border-block-end: 1px solid var(--line); font: var(--fh-w) 18px/1.35 var(--fh); }
.quotes { display: grid; gap: 14px; }
.quotes blockquote { margin: 0; padding: 20px; background: var(--surface); border-radius: var(--r); font: italic 400 18px/1.45 var(--fh); border: 1px solid var(--line); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.care { display: grid; gap: 10px; padding: 0; list-style: none; margin: 0; }
.care li { padding: 14px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }

/* чат-помощник (макет) */
.chat { max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.chat p { padding: 10px 14px; border-radius: 12px; font-size: 15px; max-width: 88%; }
.chat .q { background: var(--acc); color: var(--acc-ink); justify-self: end; }
.chat .a { background: var(--bg); }
.chat small { color: var(--muted); }

/* контакты */
.contact { display: grid; gap: 18px; }
.map { aspect-ratio: 16/9; border-radius: var(--r); background:
  linear-gradient(90deg, transparent 49.5%, var(--line) 49.5% 50.5%, transparent 50.5%) 0 0/60px 60px,
  linear-gradient(0deg, transparent 49.5%, var(--line) 49.5% 50.5%, transparent 50.5%) 0 0/60px 60px,
  linear-gradient(35deg, transparent 46%, color-mix(in srgb, var(--acc) 25%, transparent) 46% 54%, transparent 54%), var(--surface);
  position: relative; border: 1px solid var(--line); }
.map::after { content: ''; position: absolute; top: 46%; inset-inline-start: 48%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--acc); box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc) 25%, transparent); }
.contact dl { margin: 0; display: grid; gap: 10px; }
.contact .btn { white-space: nowrap; }
.contact dt { font-size: 13px; color: var(--muted); } .contact dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.3fr 1fr; align-items: center; } }

/* плавающий WhatsApp */
.fab { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.fab svg { width: 30px; height: 30px; fill: #fff; }

.foot { padding-block: 28px 90px; color: var(--muted); font-size: 13px; text-align: center; }
.stub { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 92%, transparent); padding: 30px; text-align: center; font: var(--fh-w) 22px/1.4 var(--fh); }

/* пролог: дышащие контуры */
.ghost { padding: 22px; display: grid; gap: 16px; }
.ghost i { display: block; border-radius: 14px; border: 1.5px dashed rgba(60,58,90,.28); animation: breathe 2.6s ease-in-out infinite; }
.ghost i:nth-child(1) { height: 26px; width: 40%; }
.ghost i:nth-child(2) { height: 300px; animation-delay: .2s; }
.ghost i:nth-child(3) { height: 110px; animation-delay: .4s; }
.ghost i:nth-child(4) { height: 160px; animation-delay: .6s; }
.ghost i:nth-child(5) { height: 90px; animation-delay: .8s; }
body.is-ghost { background: #F1EFEA; }
@keyframes breathe { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.01); } }

/* изменилось — кольцо и подпись */
.blk.is-new { animation: ring 2.4s ease-out 1; }
.blk.is-new::before { content: attr(data-note); position: absolute; top: 10px; inset-inline-end: 12px; z-index: 6; background: #EBCB3E; color: #2b2508; font: 600 12px/1 'IBM Plex Sans', 'IBM Plex Sans Hebrew', sans-serif; padding: 6px 10px; border-radius: 99px; animation: tagout 3.2s ease forwards; }
@keyframes ring { 0% { box-shadow: inset 0 0 0 3px #EBCB3E; } 70% { box-shadow: inset 0 0 0 3px #EBCB3E; } 100% { box-shadow: inset 0 0 0 0 transparent; } }
@keyframes tagout { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }

/* уровень «эффектно» и «вау»: появление при прокрутке, живой первый экран */
[data-level="effect"] .rv, [data-level="wow"] .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-level="effect"] .rv.in, [data-level="wow"] .rv.in { opacity: 1; transform: none; }
[data-level="effect"] .h-call img, [data-level="wow"] .h-call img { animation: ken 18s ease-out both; }
@keyframes ken { from { transform: scale(1.12); } to { transform: scale(1); } }
[data-level="effect"] h1 .w, [data-level="wow"] h1 .w { display: inline-block; opacity: 0; transform: translateY(.4em); animation: wordin .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes wordin { to { opacity: 1; transform: none; } }
[data-level="effect"] .btn:hover, [data-level="wow"] .btn:hover { transform: translateY(-2px); }
[data-level="effect"] .v-wish figure, [data-level="wow"] .v-wish figure { transition: transform .4s ease; }
[data-level="effect"] .v-wish figure:hover, [data-level="wow"] .v-wish figure:hover { transform: rotate(-1.5deg) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .rv { opacity: 1 !important; transform: none !important; } h1 .w { opacity: 1 !important; transform: none !important; } }
