/* Сайт салона — светлая тема (ноябрь 2026).
   Палитра общая для всех салонов; салон меняет только акцент (--brick) — точки, маркер под словом, мелкие детали.
   --mark (светлый тон акцента) сервер считает сам и кладёт в :root. */
:root {
  --ink: #26242E; --ink-2: #4A4752; --muted: #6B6872; --faint: #8E8A94;
  --bg: #FAF8F5; --bg-2: #F4F1EE; --bg-3: #F7F0EE; --card: #FFFFFF; --line: #ECE8E2; --line-2: #E2DDD6;
  --brick: #D2553F; --mark: #F6D2C8;
  --p1: #FBE3DD; --p1i: #A9452D; --p2: #ECE7FB; --p2i: #5A48B0; --p3: #E3EFE6; --p3i: #2E6645;
  --p4: #F8EADB; --p4i: #8A5A2B; --p5: #E3EEF8; --p5i: #2F6697; --p6: #F7E3E9; --p6i: #A3415E;
  --r: 22px; --r-sm: 14px;
  --shadow: 0 30px 60px -36px rgba(38, 36, 46, .35);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden], .hidden { display: none !important; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }

/* ── Типографика ── */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 84px); letter-spacing: -0.055em; line-height: 1; }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; }
h1 em, h2 em { font-style: normal; background: linear-gradient(transparent 64%, var(--mark) 64%, var(--mark) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brick); flex: none; }

/* ── Кнопки ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 14px 28px -16px rgba(38, 36, 46, .7); }
.btn-dark:hover { background: #3A3744; }
.btn-dark:disabled { background: #CFCBD3; box-shadow: none; cursor: not-allowed; }
.btn-line { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; }
.btn-xs { min-height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13px; border-color: var(--line-2); background: var(--card); }
.ico-arr { flex: none; }
.tlink { font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* ── Пастельные плашки и иконки ── */
.ico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); }
.ico svg { width: 22px; height: 22px; }
.t1 { --pc: var(--p1); --pi: var(--p1i); } .t2 { --pc: var(--p2); --pi: var(--p2i); } .t3 { --pc: var(--p3); --pi: var(--p3i); }
.t4 { --pc: var(--p4); --pi: var(--p4i); } .t5 { --pc: var(--p5); --pi: var(--p5i); } .t6 { --pc: var(--p6); --pi: var(--p6i); }
.ico.t1, .ico.t2, .ico.t3, .ico.t4, .ico.t5, .ico.t6 { background: var(--pc); }

/* ── Полоса сверху и шапка ── */
.topbar { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 9px 16px; line-height: 1.4; }
.topbar b { color: var(--mark); }
.topbar a { color: #fff; text-underline-offset: 3px; }
header.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 245, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--p1); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 19px; letter-spacing: -0.04em; }
.brand img { flex: none; height: 40px; width: auto; max-width: 120px; object-fit: contain; }
.brand > span { display: flex; flex-direction: column; min-width: 0; }
.brand b { font-weight: 800; font-size: 18px; letter-spacing: -0.04em; line-height: 1.1; }
.brand small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.top-right { display: flex; gap: 10px; margin-left: 12px; }

/* ── Первый экран ── */
.hero { background: radial-gradient(900px 500px at 75% 30%, #FBEFEC 0%, transparent 70%), linear-gradient(180deg, #FBF8F6 0%, var(--bg) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 96px 88px; }
.hero-text { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-text .lead { max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta b { color: var(--ink); }
.hero-vis { position: relative; padding: 20px 26px 92px; min-width: 0; }
.mock { background: var(--card); border-radius: 22px; box-shadow: 0 50px 90px -40px rgba(38, 36, 46, .4); border: 1px solid var(--line); overflow: hidden; transform: rotate(-2deg); }
.mock-bar { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 14px 20px; font-size: 13px; }
.mock-bar i { display: flex; gap: 5px; } .mock-bar i::before, .mock-bar i::after, .mock-bar i span { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #8E8A94; }
.mock-bar b { font-weight: 800; letter-spacing: -0.02em; }
.mock-bar small { color: #B9B6C2; }
.mock-bar svg { margin-left: auto; }
.mock-body { padding: 24px 26px 18px; display: flex; flex-direction: column; gap: 12px; }
.pill { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--p2); color: var(--p2i); border-radius: 999px; padding: 6px 12px; }
.mock-body h3 { font-size: 26px; }
.mock-body > p { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 6px; }
.progress i { height: 4px; border-radius: 4px; background: var(--line); }
.progress i.on { background: #A08BDB; }
.m-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, background .15s; }
.m-row:first-of-type { border-color: #C9BDF2; background: #FBFAFF; }
.m-row:hover { border-color: var(--ink); }
.m-row .ico { width: 40px; height: 40px; border-radius: 11px; }
.m-row .ico svg { width: 18px; height: 18px; }
.m-row > span:not(.ico) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-row b { font-size: 15px; letter-spacing: -0.01em; }
.m-row small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-row em { font-style: normal; font-weight: 700; font-size: 13px; white-space: nowrap; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; font-size: 13px; color: var(--muted); }
.mock-foot a { color: #6A55C8; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mock-foot b { color: var(--ink); }
.float { position: absolute; width: min(230px, 46%); background: var(--card); border-radius: 18px; padding: 16px; box-shadow: 0 24px 50px -24px rgba(38, 36, 46, .45); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.float b { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: -0.01em; }
.float b i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float span { font-size: 12px; color: var(--muted); line-height: 1.45; padding-left: 38px; }
.float.f1 { left: -6px; bottom: 6px; transform: rotate(2deg); }
.float.f2 { right: -8px; bottom: 30px; transform: rotate(3deg); }

/* ── Полоса фактов ── */
.facts { background: var(--card); border-block: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fact { display: flex; align-items: center; gap: 16px; padding: 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .ico { width: 48px; height: 48px; }
.fact b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; }
.fact small { font-size: 12px; color: var(--muted); }

/* ── Секции ── */
.sec { padding-block: 104px; }
.sec-alt { background: var(--bg-2); }
.sec-rose { background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 100%); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head > div { display: flex; flex-direction: column; gap: 18px; min-width: 0; max-width: 820px; }
.sec-head > .lead { flex: 0 1 340px; font-size: 16px; color: var(--muted); }

/* ── Услуги ── */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.svc { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 280px; isolation: isolate; }
.svc::after { content: ''; position: absolute; z-index: -1; right: -8px; top: -8px; width: 52%; aspect-ratio: 1.15; background: var(--pc); opacity: .75; border-radius: 0 0 0 46%; }
.svc .ico { margin-bottom: 40px; }
.svc p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.svc-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc-foot b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.svc details { border-top: 1px solid var(--line); margin-top: 6px; }
.svc summary { list-style: none; cursor: pointer; padding: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; justify-content: space-between; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary::after { content: '+'; font-size: 18px; line-height: 1; color: var(--muted); }
.svc details[open] summary::after { content: '−'; }
.svc ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; }
.svc li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.svc li:first-child { border-top: 0; }
.svc li b { white-space: nowrap; font-weight: 700; }

/* ── Три шага ── */
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.step3 { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.step3 > small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.step3 .ico { width: 46px; height: 46px; }
.step3 h3 { font-size: 19px; }
.step3 p { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.bonus { margin-top: 16px; background: #EBE6E3; border-radius: 16px; padding: 16px 22px; font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; }
.bonus b { color: var(--ink); }

/* ── Онлайн-запись ── */
.book-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.book-text { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.checks li::before { content: ''; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--p3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232E6645' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center no-repeat; }
.bk { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 40px 80px -50px rgba(38, 36, 46, .45); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 96px; }
.bk-head { padding: 26px 30px 22px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.bk-head small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bk-head h3 { font-size: 26px; }
.bk-head p { margin: 0; font-size: 14px; color: var(--muted); }
.bk-head .progress { margin: 10px 0 0; }
.bk-body { padding: 24px 30px; display: flex; flex-direction: column; gap: 16px; min-height: 320px; }
.bk-pane { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ink); }
.field input { height: 50px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; font-weight: 400; background: var(--card); color: var(--ink); width: 100%; }
.field input::placeholder { color: #A9A5AE; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(38, 36, 46, .08); }
.field .opt { font-weight: 500; color: var(--muted); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--p2); border-color: var(--p2); color: var(--p2i); }
.svc-list { display: flex; flex-direction: column; gap: 8px; max-height: 420px; overflow-y: auto; margin-right: -10px; padding-right: 10px; overscroll-behavior: contain; }
.svc-row { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.svc-row:hover { border-color: var(--ink-2); }
.svc-row[aria-pressed="true"] { border-color: #A08BDB; background: #FBFAFF; box-shadow: 0 0 0 1px #A08BDB inset; }
.svc-row .ico { width: 38px; height: 38px; border-radius: 10px; }
.svc-row .ico svg { width: 17px; height: 17px; }
.svc-row > span:not(.ico) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.svc-row b { font-size: 14px; letter-spacing: -0.01em; }
.svc-row small { font-size: 12px; color: var(--muted); }
.svc-row em { font-style: normal; font-weight: 800; font-size: 14px; white-space: nowrap; }
.hint { font-size: 14px; color: var(--muted); }
.masters-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 8px; }
.mp { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; text-align: left; }
.mp:hover { border-color: var(--ink-2); }
.mp[aria-pressed="true"] { border-color: #A08BDB; background: #FBFAFF; box-shadow: 0 0 0 1px #A08BDB inset; }
.mp i { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--pc, var(--p2)); color: var(--pi, var(--p2i)); overflow: hidden; }
.mp i img { width: 100%; height: 100%; object-fit: cover; }
.mp span { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.mp b { letter-spacing: -0.01em; }
.mp small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: none; width: 58px; padding: 9px 0; border-radius: 13px; border: 1px solid var(--line-2); background: var(--card); display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
.day span { font-size: 11px; color: var(--muted); }
.day b { font-size: 18px; letter-spacing: -0.03em; }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-pressed="true"] span { color: #C9C6D1; }
.day:disabled { opacity: .4; cursor: default; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.time { min-height: 44px; border-radius: 12px; border: 1px solid #CFE3D4; background: #F6FBF7; color: #2E6645; font-weight: 700; font-size: 14px; cursor: pointer; }
.time:hover { border-color: #2E6645; }
.time[aria-pressed="true"] { background: #2E6645; border-color: #2E6645; color: #fff; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.err { background: #FDECEA; color: #A3291D; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.bk-foot { background: #F8F6FA; border-top: 1px solid var(--line); padding: 20px 30px 24px; display: flex; flex-direction: column; gap: 14px; }
.bk-sum { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.bk-sum > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-sum small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bk-sum b { font-size: 15px; letter-spacing: -0.01em; }
.bk-sum .sum-line { font-size: 13px; color: var(--muted); }
.bk-sum em { font-style: normal; font-weight: 800; font-size: 16px; white-space: nowrap; }
.bk-btns { display: flex; gap: 10px; }
.bk-btns .btn-dark { flex: 1; }
.bk-note { margin: 0; font-size: 12px; color: var(--faint); text-align: center; line-height: 1.45; }
.done { padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.done-ico { width: 60px; height: 60px; border-radius: 18px; background: var(--p3); color: var(--p3i); display: grid; place-items: center; }
.done h3 { font-size: 28px; }
.done p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ── О салоне ── */
.space { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.space-vis { position: relative; display: grid; gap: 14px; height: 440px; }
.space-vis.n2 { grid-template-columns: 1.25fr 1fr; }
.space-vis.n3 { grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; }
.space-vis.n3 .ph:first-child { grid-row: 1 / span 2; }
.space-vis .ph { border-radius: 26px; overflow: hidden; background: var(--p1); display: grid; place-items: center; min-height: 0; }
.space-vis .ph:nth-child(2) { background: var(--p3); }
.space-vis .ph img { width: 100%; height: 100%; object-fit: cover; }
.space-vis .ph b { font-size: 120px; font-weight: 800; letter-spacing: -0.06em; color: rgba(169, 69, 45, .22); }
.space-vis .ph svg { width: 64px; height: 64px; color: rgba(46, 102, 69, .28); }
.space-note { position: absolute; left: 24px; bottom: -20px; background: var(--card); border-radius: 16px; padding: 16px 22px; box-shadow: 0 24px 50px -24px rgba(38, 36, 46, .45); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; z-index: 2; }
.space-note svg { color: #D97F78; flex: none; }
.space-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.space-text .lead { font-size: 16px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; font-weight: 700; }
.tags span::before { content: '✦'; font-size: 11px; color: var(--brick); }
.gallery { position: relative; margin-top: 64px; }
.gal-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track img { flex: 0 0 auto; width: 300px; height: 360px; object-fit: cover; border-radius: 22px; scroll-snap-align: start; background: var(--bg-2); }
.gal-track img:nth-child(3n+2) { width: 420px; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .92); box-shadow: 0 12px 30px -14px rgba(38, 36, 46, .5); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.gal-btn.prev { left: -18px; } .gal-btn.next { right: -18px; }
.gal-btn:disabled { opacity: 0; pointer-events: none; }

/* ── Мастера ── */
.masters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 16px; }
.master { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; gap: 22px; align-items: center; }
.master-photo { flex: none; width: 110px; height: 124px; border-radius: 18px; overflow: hidden; background: var(--pc, var(--p1)); display: grid; place-items: center; }
.master-photo img { width: 100%; height: 100%; object-fit: cover; }
.master-photo span { font-size: 44px; font-weight: 800; color: var(--pi, var(--p1i)); opacity: .55; letter-spacing: -0.05em; }
.master > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.master h3 { font-size: 22px; }
.master p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.master-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }

/* ── Приложение ── */
.app-card { background: #EDEAF8; border-radius: 30px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; overflow: hidden; position: relative; }
.app-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; position: relative; z-index: 1; }
.app-text h2 em { background: linear-gradient(transparent 64%, #D8CFF6 64%, #D8CFF6 94%, transparent 94%); }
.app-text .lead { font-size: 16px; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.perks div { background: rgba(255, 255, 255, .7); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.perks b { font-size: 15px; letter-spacing: -0.01em; }
.perks span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.app-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.qr { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.qr img { width: 88px; height: 88px; background: #fff; border-radius: 12px; padding: 6px; }
.app-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.app-steps li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.app-steps i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; }
.app-steps b { display: block; color: var(--ink); }
.host { word-break: break-all; }
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::before { content: ''; position: absolute; width: 420px; max-width: 120%; aspect-ratio: 1; border-radius: 50%; background: #DCD5F5; top: 12%; left: 50%; transform: translateX(-50%); }
.phone { position: relative; width: 270px; max-width: 100%; background: #26242E; border-radius: 42px; padding: 10px; box-shadow: 0 40px 70px -30px rgba(38, 36, 46, .6); }
.phone-screen { background: #fff; border-radius: 33px; overflow: hidden; padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 10px; min-height: 470px; }
.phone-screen .notch { width: 84px; height: 22px; border-radius: 12px; background: #26242E; margin: 0 auto 8px; }
.phone-screen > b { text-align: center; font-size: 20px; letter-spacing: -0.04em; }
.phone-screen > small { text-align: center; font-size: 12px; color: var(--muted); margin-top: -8px; margin-bottom: 6px; }
.ph-tile { border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; background: var(--pc); }
.ph-tile b { font-size: 13px; }
.ph-tile span { font-size: 11px; color: var(--muted); }
.ph-btn { margin-top: auto; background: var(--ink); color: #fff; border-radius: 12px; text-align: center; padding: 12px; font-size: 13px; font-weight: 700; }
.app-tag { position: absolute; right: 6%; top: 8%; background: #fff; border-radius: 14px; padding: 10px 16px; font-size: 13px; font-weight: 700; box-shadow: 0 20px 40px -20px rgba(38, 36, 46, .5); transform: rotate(6deg); z-index: 2; }

/* ── Отзывы ── */
.rv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; }
.rv-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; display: flex; align-items: center; gap: 26px; }
.stars { color: #D6A54B; font-size: 26px; letter-spacing: 3px; white-space: nowrap; }
.rv-card .big { font-size: 46px; font-weight: 800; letter-spacing: -0.06em; color: #B98585; line-height: 1; }
.rv-card .big.img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.rv-card div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rv-card b { font-size: 16px; }
.rv-card span { font-size: 13px; color: var(--muted); }
.rv-card .stars { font-size: 26px; color: #D6A54B; flex: none; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; margin-top: 16px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review header { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted); }
.review header .stars { font-size: 16px; letter-spacing: 1px; }
.review blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 13px; color: var(--muted); }
.review figcaption img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.review figcaption b { display: block; color: var(--ink); font-size: 14px; }
.ywidget { margin-top: 16px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.ywidget iframe { display: block; width: 100%; height: 640px; border: 0; }

/* ── Контакты ── */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.contacts > div:first-child { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.c-rows { margin: 10px 0 0; border-top: 1px solid var(--line-2); }
.c-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.c-row dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex: none; }
.c-row dd { margin: 0; text-align: right; font-weight: 700; font-size: 15px; min-width: 0; }
.c-row dd small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.c-row a { text-decoration: none; }
.c-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.c-map { position: relative; border-radius: 26px; overflow: hidden; min-height: 380px; background: linear-gradient(135deg, #F1E6E4 0%, #E7ECE6 100%); border: 1px solid var(--line); }
.c-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-map > svg { position: absolute; inset: 0; margin: auto; color: rgba(38, 36, 46, .35); }
.c-map .c-tag { position: absolute; left: 22px; right: 22px; bottom: 22px; background: var(--card); border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 40px -24px rgba(38, 36, 46, .5); text-decoration: none; }
.c-tag span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.c-tag b { font-size: 14px; }
.c-tag small { font-size: 12px; color: var(--muted); }
.c-tag i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--p6); display: grid; place-items: center; }
.entrance { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.entrance img { width: 84px; height: 64px; border-radius: 12px; object-fit: cover; }

/* ── Подвал ── */
.foot { background: var(--ink); color: #C9C6D1; font-size: 13px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; padding-block: 28px; }
.foot .wrap > span { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.foot img { height: 26px; width: auto; }
.foot a { color: #E7E5EC; text-underline-offset: 3px; }

/* ── Планшет и телефон ── */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top-right { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero .wrap, .book-wrap, .space, .contacts, .app-card { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-block: 56px 64px; gap: 36px; }
  .hero-vis { padding-inline: 8px; }
  .book-text { position: static; }
  .book-wrap, .space, .contacts { gap: 40px; }
  .sec { padding-block: 72px; }
  .fact { padding: 20px 16px; }
  .fact:first-child { padding-left: 16px; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
  .fact:nth-child(2n+1) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .space-vis { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  header.top .wrap { min-height: 64px; gap: 12px; }
  .brand small { display: none; }
  .top-right .btn-line { display: none; }
  .top-right .btn { min-height: 44px; padding: 0 16px; }
  .hero .wrap { padding-block: 40px 48px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mock { transform: none; }
  .mock-body { padding: 18px; }
  .mock-body h3 { font-size: 22px; }
  .hero-vis { padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
  .hero-vis .mock { flex: 0 0 100%; }
  .float { position: relative; left: auto !important; right: auto !important; bottom: auto !important; width: auto; flex: 1 1 calc(50% - 5px); min-width: 0; transform: none !important; margin-top: -18px; }
  .float span { padding-left: 0; }
  .fact { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fact b { font-size: 17px; }
  .sec { padding-block: 60px; }
  .sec-head { margin-bottom: 28px; }
  .svc { min-height: 0; padding: 22px; }
  .svc .ico { margin-bottom: 18px; }
  .bk-head, .bk-body { padding-inline: 18px; }
  .bk-foot { padding: 18px; }
  .svc-list { max-height: 440px; margin-right: -6px; padding-right: 6px; }
  .space-vis { height: 340px; gap: 10px; }
  .space-vis .ph { border-radius: 20px; }
  .space-vis .ph b { font-size: 84px; }
  .gallery { margin-top: 48px; }
  .gal-track { margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .gal-track img, .gal-track img:nth-child(3n+2) { width: 74vw; height: 300px; }
  .gal-btn { display: none; }
  .space-note { left: 12px; right: 12px; justify-content: center; bottom: -18px; }
  .master { gap: 16px; padding: 16px; align-items: flex-start; }
  .master-photo { width: 84px; height: 100px; border-radius: 14px; }
  .master-photo span { font-size: 34px; }
  .master h3 { font-size: 19px; }
  .master-links { flex-direction: column; gap: 8px; }
  .rv-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
  .c-row { flex-direction: column; gap: 4px; }
  .c-row dd { text-align: left; }
  .c-map { min-height: 300px; }
  .app-card { border-radius: 24px; }
  .phone-screen { min-height: 400px; }
  .app-tag { display: none; }
}

/* ── Фото: категории, первый экран, телефон ── */
.svc-ph { position: absolute; right: 0; top: 0; width: 62%; height: 188px; border-radius: 0 0 0 76px; overflow: hidden; z-index: -1; }
.svc-ph img { width: 100%; height: 100%; object-fit: cover; }
.svc.has-photo::after { display: none; }
.svc.has-photo .ico { margin-bottom: 110px; box-shadow: 0 0 0 4px var(--card); }
/* первый экран с фото: композиция из фото, без карточки записи */
.hero-vis.with-ph { padding: 0; min-height: 600px; margin-right: -24px; }
.hero-ph { position: absolute; right: 0; top: 0; width: 94%; height: 100%; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.hero-ph2 { position: absolute; left: -28px; top: 44px; width: 170px; height: 200px; object-fit: cover; border-radius: 26px; border: 6px solid var(--card); box-shadow: var(--shadow); transform: rotate(-5deg); z-index: 2; }
.slot-chip { position: absolute; left: -24px; bottom: 48px; z-index: 3; display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 18px; padding: 14px 18px 14px 14px; box-shadow: 0 24px 50px -24px rgba(38, 36, 46, .5); text-decoration: none; border: 1px solid var(--line); }
.slot-chip i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--p2); color: var(--p2i); display: grid; place-items: center; }
.slot-chip span { display: flex; flex-direction: column; }
.slot-chip small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.slot-chip b { font-size: 17px; letter-spacing: -0.02em; }
.slot-chip em { font-style: normal; font-weight: 700; font-size: 13px; color: #6A55C8; margin-left: 10px; white-space: nowrap; }
.hero-vis.with-ph .float { z-index: 3; }
.hero-vis.with-ph .float.f2 { right: -18px; top: 46px; bottom: auto; }
.hero-vis.with-ph .float.f1 { right: 24px; bottom: -22px; left: auto; }
.hero-ph3 { position: absolute; right: -22px; bottom: 96px; width: 150px; height: 176px; object-fit: cover; border-radius: 24px; border: 6px solid var(--card); box-shadow: var(--shadow); transform: rotate(5deg); z-index: 2; }
.ph-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
/* окно записи: компактнее */
.bk-head { padding: 22px 28px 18px; }
.bk-head h3 { font-size: 24px; }
.bk-body { padding: 20px 28px; gap: 14px; min-height: 0; }
.svc-list { max-height: 296px; }
.bk-foot { padding: 16px 28px 20px; gap: 12px; }
.book-wrap { align-items: center; }
.book-text { position: static; }
@media (max-width: 1279px) {
  .hero-vis.with-ph { margin-right: 0; }
  .hero-ph2 { left: 0; }
  .slot-chip { left: 0; }
  .hero-ph3 { right: 0; }
}
@media (max-width: 960px) {
  .hero-vis.with-ph { min-height: 480px; }
}
@media (max-width: 560px) {
  .hero-vis.with-ph { min-height: 0; display: flex; flex-wrap: wrap; gap: 10px; }
  .hero-ph { position: relative; width: 100%; height: 300px; flex: 0 0 100%; border-radius: 24px; }
  .hero-vis.with-ph { margin-right: 0; }
  .hero-ph2 { width: 96px; height: 116px; top: -16px; left: auto; right: 12px; border-width: 4px; }
  .hero-ph3 { width: 84px; height: 100px; right: auto; left: 12px; top: -14px; bottom: auto; border-width: 4px; transform: rotate(-5deg); }
  .slot-chip { position: relative; left: auto !important; bottom: auto; flex: 0 0 100%; margin-top: -54px; margin-inline: 12px; flex-basis: calc(100% - 24px); }
  .slot-chip em { display: none; }
  .hero-vis.with-ph .float { position: relative; top: auto !important; right: auto !important; bottom: auto !important; margin-top: 0; }
  .svc-ph { height: 150px; width: 58%; }
  .svc.has-photo .ico { margin-bottom: 76px; }
  .svc-list { max-height: 360px; }
  .bk-head, .bk-body { padding-inline: 18px; }
  .bk-foot { padding: 16px 18px 18px; }
}
/* отзывы: картинка награды, ссылка на все отзывы */
.rv-card .big.img { flex: none; width: 76px; height: 76px; border-radius: 16px; object-fit: cover; object-position: center; display: block; }
.review blockquote { color: var(--ink-2); }
.rv-more { margin-top: 24px; display: flex; justify-content: center; }

/* ── Тёмные кнопки и нежное салатовое свободное время ── */
:root { --coral: #26242E; --coral-h: #3A3744; --free-bg: #F2F9E4; --free-bd: #D5EBA9; --free-ink: #4B6A16; --free-sel: #C8E58A; --free-sel-bd: #A8D05A; --free-sel-ink: #2E4210; }
.btn-dark { background: var(--coral); color: #fff; box-shadow: 0 14px 28px -16px rgba(38, 36, 46, .7); }
.btn-dark:hover { background: var(--coral-h); }
.btn-dark:disabled { background: #CFCBD3; color: #fff; box-shadow: none; }
.ph-btn { background: var(--coral); }
.day[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: #fff; }
.day[aria-pressed="true"] span { color: #C9C6D1; }
.time { border-color: var(--free-bd); background: var(--free-bg); color: var(--free-ink); }
.time:hover { border-color: var(--free-sel-bd); }
.time[aria-pressed="true"] { background: var(--free-sel); border-color: var(--free-sel-bd); color: var(--free-sel-ink); }
.review blockquote { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
