/* «Тишина» — massage & spa, Sochi. Own design system: slow breathing.
   Sand, sea-glass green, soft white. Forum (display) + Raleway (text), self-hosted. */

/* ---------- fonts ---------- */
@font-face { font-family: "Forum"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/forum-normal-400-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Forum"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/forum-normal-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/raleway-300-700-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/raleway-300-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */
:root {
  --sand-50: #fbf9f4;
  --sand-100: #f5f0e6;
  --sand-200: #ebe3d3;
  --sand-300: #dccfb6;
  --glass-100: #e8f1ed;
  --glass-200: #d3e5de;
  --glass-300: #aecbc0;
  --glass-500: #6f9d8e;
  --glass-700: #3b6559;
  --glass-800: #2d4f45;
  --ink: #25322e;
  --ink-soft: #56655f;
  --line: rgba(37, 50, 46, .13);
  --line-strong: rgba(37, 50, 46, .28);
  --err: #a5483d;
  --f-display: "Forum", "Times New Roman", Georgia, serif;
  --f-text: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --breath: 9s;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; background: var(--sand-50); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  padding-bottom: 82px;
  overflow-x: clip;
  background: var(--sand-50);
  color: var(--ink);
  font: 400 1rem/1.75 var(--f-text);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.1; letter-spacing: .005em; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--glass-700); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 12px 20px; border-radius: 2px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.i path, .i circle, .i rect { stroke-width: 1.4; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--glass-700); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 300; line-height: 1.75; color: var(--ink-soft); max-width: 36rem; }

.section { padding-block: clamp(80px, 11vw, 168px); }
.section__head { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 96px); text-align: center; }
.section__head h2 { margin-top: 20px; }
.section__head .lead { margin: 22px auto 0; }
.section__head--xl h2 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); line-height: 1.04; }
.section__more { margin-top: clamp(40px, 6vw, 72px); text-align: center; }
.section--svc .section__more, .section--masters .section__more, .section--reviews .section__more { text-align: left; }

/* ---------- demo ribbon ---------- */
.demo-ribbon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 22px; padding: 4px var(--gutter); background: var(--sand-200); color: var(--ink); font-size: .78rem; line-height: 1.4; text-align: center; }
.demo-ribbon a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }
.demo-ribbon a:hover { text-decoration: underline; }
.demo-ribbon p { margin: 0; }
.demo-ribbon .i { width: 16px; height: 16px; }
.demo-ribbon__pkg b { font-weight: 700; }

/* ---------- buttons ---------- */
.btn { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 30px; border: 1px solid var(--bd); border-radius: 2px; background: var(--bg); color: var(--fg); font: 600 .72rem/1.2 var(--f-text); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease); }
.btn .i { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--primary, .btn--accent { --bg: var(--glass-700); --fg: #fff; --bd: var(--glass-700); }
.btn--primary:hover, .btn--accent:hover { --bg: var(--glass-800); --bd: var(--glass-800); }
.btn--ghost:hover { --bg: var(--glass-100); --bd: var(--glass-500); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: .68rem; }
.link-btn { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--glass-700); font: 600 .72rem/1.2 var(--f-text); letter-spacing: .16em; text-transform: uppercase; text-align: left; cursor: pointer; }
.link-btn .i { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.link-btn:hover .i { transform: translateX(5px); }
.link-btn:hover { color: var(--glass-800); }

.text-link { display: inline-flex; align-items: center; min-height: 44px; font: 600 .72rem/1.2 var(--f-text); letter-spacing: .16em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--glass-500); text-underline-offset: 9px; text-decoration-thickness: 1px; transition: color .5s var(--ease), text-decoration-color .5s var(--ease); }
.text-link:hover { color: var(--glass-700); text-decoration-color: var(--glass-700); }
.section__head--left { max-width: none; margin-left: 0; text-align: left; }
.section__head--left .lead { margin-left: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 249, 244, .84); border-bottom: 1px solid transparent; -webkit-backdrop-filter: saturate(1.2) blur(16px); backdrop-filter: saturate(1.2) blur(16px); transition: border-color .6s var(--ease); }
.site-header.is-scrolled::before { border-color: var(--line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1440px; min-height: 68px; margin-inline: auto; padding-inline: var(--gutter); }
.logo { position: relative; z-index: 62; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.logo__mark { position: relative; flex: none; width: 24px; height: 24px; border: 1px solid var(--glass-500); border-radius: 50%; }
.logo__mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--glass-300); animation: breathe-dot var(--breath) ease-in-out infinite; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--f-display); font-size: 1.55rem; letter-spacing: .06em; }
.logo__kind { margin-top: 3px; font-size: .58rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.site-header__cta { position: relative; z-index: 62; display: flex; align-items: center; gap: 14px; }
.site-header__cta .btn, .header-phone { display: none; }
.header-phone { align-items: center; min-height: 44px; font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); transition: background .5s var(--ease); }
.nav-toggle:hover { background: var(--glass-100); }
.nav-toggle { position: relative; }
.nav-toggle::before, .nav-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.4px; border-radius: 1px; background: currentColor; opacity: 0; translate: -50% -50%; transition: opacity .5s var(--ease), rotate .6s var(--ease); }
.nav-toggle[aria-expanded="true"] .i { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { opacity: 1; rotate: 45deg; }
.nav-toggle[aria-expanded="true"]::after { opacity: 1; rotate: -45deg; }

.nav { position: fixed; inset: 0; z-index: 61; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 100px var(--gutter) 48px; background: var(--sand-50); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.nav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.nav a { display: inline-flex; align-items: center; min-height: 52px; padding: 6px 14px; font-family: var(--f-display); font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1.15; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--glass-700); }
@media (min-width: 700px) { .site-header__cta .btn { display: inline-flex; } }
@media (min-width: 1000px) {
  .site-header__in { min-height: 78px; }
  .nav-toggle { display: none; }
  .nav { position: static; z-index: auto; flex-direction: row; gap: 2px; padding: 0; background: none; opacity: 1; visibility: visible; transition: none; }
  .nav a { position: relative; min-height: 44px; padding: 6px 14px; font: 600 .7rem/1.2 var(--f-text); letter-spacing: .18em; text-transform: uppercase; }
  .nav a::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 0; height: 1px; background: var(--glass-700); translate: -50% 0; transition: width .6s var(--ease); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { width: calc(100% - 28px); }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(760px, 100svh, 1040px); overflow: clip; padding-bottom: clamp(28px, 4vw, 56px); }
.hero__media { position: absolute; inset: 0; z-index: -3; background: var(--sand-200); }
.hero__plx { position: absolute; inset: -6% 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; animation: drift 40s ease-in-out infinite alternate; }
.hero__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(251, 249, 244, 0) 0%, rgba(251, 249, 244, 0) 24%, rgba(251, 249, 244, .55) 38%, rgba(251, 249, 244, .9) 48%, var(--sand-50) 64%); }
.hero__body { padding-top: clamp(300px, 42vh, 460px); text-align: left; }


.hero__title { font-size: clamp(2.6rem, 6.2vw, 5.8rem); line-height: 1; }
.hero__title em { display: block; font-style: normal; color: var(--glass-700); }
.hero__lead { max-width: 34rem; margin-top: clamp(22px, 3vw, 34px); font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 400; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 34px; margin-top: clamp(26px, 3.4vw, 40px); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0 20px; margin: clamp(26px, 4vw, 52px) 0 0; padding: 0; list-style: none; font-size: .84rem; color: var(--ink-soft); }
.hero__facts li { display: flex; align-items: center; min-height: 44px; }
.hero__facts b { margin-right: .4em; font-weight: 600; color: var(--ink); }
.hero__facts a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.hero__facts a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) {
  .hero__facts { gap: 0 clamp(24px, 3vw, 44px); }
  .hero__facts li + li::before { content: ""; width: 1px; height: 14px; margin-right: clamp(24px, 3vw, 44px); background: var(--line-strong); }
}






.breath { position: absolute; top: clamp(28px, 6vh, 64px); right: var(--gutter); z-index: 1; width: clamp(104px, 26vw, 128px); aspect-ratio: 1; pointer-events: none; }
@media (min-width: 900px) { .breath { top: clamp(64px, 14vh, 150px); right: calc(max(var(--gutter), (100vw - 1200px) / 2) + 11vw); width: clamp(160px, 15vw, 220px); } }
.breath__ring { position: absolute; inset: 0; border: 1.5px solid rgba(255, 255, 255, .92); border-radius: 50%; background: rgba(37, 50, 46, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(37, 50, 46, .08), 0 0 44px rgba(255, 255, 255, .3), inset 0 0 44px rgba(255, 255, 255, .16); animation: breathe var(--breath) ease-in-out infinite; }
.breath__ring:nth-child(2) { inset: 14%; border-color: rgba(255, 255, 255, .6); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; animation-delay: -.9s; }
.breath__label, .orb__breath { display: grid; place-items: center; font-size: .6rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.breath__label { font-size: .6rem; letter-spacing: .22em; }
.breath__label { position: absolute; inset: 0; color: #fff; text-shadow: 0 1px 12px rgba(37, 50, 46, .55); }
@media (max-width: 899px) { .breath__label { font-size: .54rem; letter-spacing: .18em; } }
@media (min-width: 900px) { .breath__label { font-size: .68rem; } }
.breath__label i, .orb__breath i { grid-area: 1 / 1; font-style: normal; opacity: 0; }
.breath__label i:nth-child(1), .orb__breath i:nth-child(1) { animation: inhale var(--breath) ease-in-out infinite; }
.breath__label i:nth-child(2), .orb__breath i:nth-child(2) { animation: exhale var(--breath) ease-in-out infinite; }

/* ---------- pause: benefits ---------- */
.pause { display: grid; gap: clamp(40px, 6vw, 72px); }
.pause .section__head { max-width: none; margin: 0; text-align: left; }
.pause .section__head--xl h2 { font-size: clamp(2.5rem, 5.4vw, 4.8rem); }
.benefits { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line-strong); }
.benefit { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; padding: clamp(24px, 3.4vw, 40px) 0; border-top: 1px solid var(--line-strong); }
.benefit__no { grid-row: 1 / span 2; padding-top: 9px; font-family: var(--f-display); font-size: 1rem; letter-spacing: .22em; color: var(--glass-500); }
.benefit h3 { margin: 0 0 8px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.benefit p { max-width: 40ch; font-size: .98rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .pause { grid-template-columns: 5fr 6fr; gap: clamp(48px, 9vw, 150px); align-items: start; }
  .pause .section__head { position: sticky; top: 130px; }
}

/* ---------- full-bleed photography ---------- */
.pano { position: relative; height: clamp(300px, 70vh, 780px); margin: 0; overflow: hidden; background: var(--sand-200); }
.pano__plx { position: absolute; inset: -9% 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.pano__plx img { width: 100%; height: 100%; object-fit: cover; }
.pano .pos-40 { object-position: 50% 40%; }
.pano .pos-50 { object-position: 50% 50%; }
.pano .pos-55 { object-position: 50% 55%; }
.pano .pos-62 { object-position: 50% 62%; }
.pano--page { height: clamp(240px, 46vh, 520px); }
.pano--calm { height: clamp(280px, 58vh, 640px); }
.pano--calm img { filter: brightness(1.14) saturate(.82) contrast(.94); }
.pano--calm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 240, 230, .34), rgba(245, 240, 230, .12) 60%, rgba(245, 240, 230, .3)); pointer-events: none; }

/* ---------- ritual builder ---------- */
.ritual { padding-block: clamp(80px, 11vw, 168px); background: var(--sand-100); }
.ritual__head { max-width: 760px; margin: 0 0 clamp(48px, 7vw, 96px); text-align: left; }
.ritual__head h2 { margin: 20px 0 22px; font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.ritual__head .lead { margin-inline: 0; }
.ritual__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.ritual__orb { order: -1; }
@media (min-width: 960px) {
  .ritual__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(48px, 7vw, 120px); }
  .ritual__form { order: 1; }
  .ritual__grid .ritual__orb { order: 2; position: sticky; top: 118px; }
}
.orb { --dur-scale: .9; position: relative; display: grid; place-items: center; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; }
.orb__rings { position: absolute; inset: 0; transform: scale(var(--dur-scale)); transition: transform 1.4s var(--ease); }
.orb__ring { position: absolute; border: 1px solid rgba(111, 157, 142, .75); border-radius: 50%; background: rgba(211, 229, 222, .22); opacity: .22; animation: breathe-scale var(--breath) ease-in-out infinite; animation-delay: calc(var(--k) * -.55s); transition: opacity 1.2s var(--ease); }
.orb__ring:nth-child(1) { --k: 0; inset: 19%; background: radial-gradient(circle at 50% 36%, rgba(255, 255, 255, .9), rgba(211, 229, 222, .75)); }
.orb__ring:nth-child(2) { --k: 1; inset: 13.5%; }
.orb__ring:nth-child(3) { --k: 2; inset: 8%; }
.orb__ring:nth-child(4) { --k: 3; inset: 3%; }
.orb__ring:nth-child(5) { --k: 4; inset: -2%; }
.orb[data-rings="1"] .orb__ring:nth-child(-n+1),
.orb[data-rings="2"] .orb__ring:nth-child(-n+2),
.orb[data-rings="3"] .orb__ring:nth-child(-n+3),
.orb[data-rings="4"] .orb__ring:nth-child(-n+4),
.orb[data-rings="5"] .orb__ring:nth-child(-n+5) { opacity: 1; }
.orb__core { position: relative; z-index: 1; width: min(56%, 260px); text-align: center; }
.orb__label { font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--glass-700); }
.orb__price { margin-top: 8px; font: 400 clamp(1.45rem, 3.4vw, 2.5rem)/1.05 var(--f-display); white-space: nowrap; }
.orb__price span { font-size: .5em; letter-spacing: .1em; color: var(--ink-soft); }
.orb__meta { margin-top: 10px; font-size: .74rem; line-height: 1.45; color: var(--ink-soft); }
.orb__breath { position: absolute; left: 0; right: 0; bottom: -4px; color: var(--glass-700); }
.rfs { min-width: 0; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; border: 0; }
.rfs legend { display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 12px; padding: 0; font: 400 1.55rem/1.2 var(--f-display); }
.rfs legend small { font: 500 .66rem/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.step { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1px solid var(--glass-500); border-radius: 50%; font: 500 .8rem/1 var(--f-text); color: var(--glass-700); }
.opts, .addons { display: grid; border-top: 1px solid var(--line-strong); }
.opt, .addon { position: relative; display: flex; align-items: center; gap: 16px; min-height: 62px; padding: 12px 6px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .5s var(--ease); }
.opt:hover, .addon:hover { background: rgba(255, 255, 255, .55); }
.opt input, .addon input, .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt__mark { position: relative; flex: none; width: 22px; height: 22px; border: 1.2px solid var(--glass-500); border-radius: 50%; transition: border-color .5s var(--ease); }
.opt__mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--glass-700); transform: scale(0); transition: transform .6s var(--ease); }
.opt input:checked + .opt__mark { border-color: var(--glass-700); }
.opt input:checked + .opt__mark::after { transform: scale(1); }
.addon__mark { position: relative; flex: none; width: 22px; height: 22px; border: 1.2px solid var(--glass-500); border-radius: 8px; transition: background .5s var(--ease), border-color .5s var(--ease); }
.addon__mark::after { content: ""; position: absolute; left: 5px; top: 5px; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) scale(0); transition: transform .5s var(--ease); }
.addon input:checked + .addon__mark { background: var(--glass-700); border-color: var(--glass-700); }
.addon input:checked + .addon__mark::after { transform: rotate(-45deg) scale(1); }
.opt input:focus-visible + .opt__mark, .addon input:focus-visible + .addon__mark { outline: 2px solid var(--glass-700); outline-offset: 4px; }
.opt__body, .addon__body { display: flex; flex-direction: column; min-width: 0; }
.opt__name, .addon__name { font: 400 1.3rem/1.25 var(--f-display); transition: color .5s var(--ease); }
.addon__name { font-size: 1.15rem; }
.opt input:checked ~ .opt__body .opt__name, .addon input:checked ~ .addon__body .addon__name { color: var(--glass-700); }
.opt small, .addon small { margin-top: 3px; font-size: .8rem; color: var(--ink-soft); }
.addon input:disabled ~ .addon__body { opacity: .4; }
.addon:has(input:disabled), .addon input:disabled { cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; border: 1px solid var(--line-strong); }
.chip { position: relative; display: block; flex: 1 1 auto; }
.chip + .chip { border-left: 1px solid var(--line); }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 clamp(14px, 3.4vw, 28px); font-size: .92rem; font-weight: 500; white-space: nowrap; transition: background .5s var(--ease), color .5s var(--ease); }
.chip:hover span { background: rgba(255, 255, 255, .6); }
.chip input:checked + span { background: var(--glass-700); color: #fff; }
.chip input:disabled, .chip input:disabled + span { cursor: not-allowed; }
.chip input:disabled + span { opacity: .32; text-decoration: line-through; }
.chip input:focus-visible + span { outline: 2px solid var(--glass-700); outline-offset: -5px; }
.chip input:checked:focus-visible + span { outline-color: #fff; }
.ritual__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding-top: 6px; }
.ritual__total { font-size: .92rem; color: var(--ink-soft); }
.ritual__total b { font: 400 1.7rem/1 var(--f-display); color: var(--ink); }
.ritual__note { max-width: 640px; margin: clamp(40px, 5vw, 64px) 0 0; font-size: .88rem; color: var(--ink-soft); }
.ritual__more { margin-top: 8px; }

/* ---------- popular services (typographic list) ---------- */
.svc-list { border-top: 1px solid var(--line-strong); }
.svc { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "cat cat" "name name" "meta link"; gap: 8px 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .8s var(--ease), padding .8s var(--ease); }
.svc:hover { padding-inline: 14px; background: var(--sand-100); }
.svc__cat { grid-area: cat; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--glass-700); }
.svc h3 { grid-area: name; font-size: clamp(1.5rem, 3vw, 2.3rem); }
.svc__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; }
.svc__meta span { font-size: .88rem; color: var(--ink-soft); }
.svc__meta b { font: 400 1.5rem/1 var(--f-display); }
.svc .link-btn { grid-area: link; justify-self: end; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 170px 1fr 280px 210px; grid-template-areas: "cat name meta link"; gap: 0 28px; padding: 34px 0; }
  .svc__meta { justify-content: flex-end; gap: 32px; }
}

/* ---------- offer + cta band ---------- */
.offer, .cta-band { position: relative; overflow: hidden; background: var(--glass-200); text-align: center; }
.cta-band { background: var(--sand-200); }
.offer { padding-block: clamp(88px, 13vw, 190px); }
.cta-band { padding-block: clamp(72px, 11vw, 150px); }
.offer::before, .offer::after, .cta-band::before, .cta-band::after { content: ""; position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; translate: -50% -50%; pointer-events: none; animation: breathe var(--breath) ease-in-out infinite; }
.offer::before, .cta-band::before { width: min(92vw, 680px); }
.offer::after, .cta-band::after { width: min(130vw, 1040px); border-color: rgba(255, 255, 255, .45); animation-delay: -1.6s; }
.offer__in, .cta-band__in { position: relative; z-index: 1; }
.offer h2 { font-size: clamp(2.5rem, 7vw, 5.6rem); }
.offer p { max-width: 30rem; margin: 22px auto 34px; }
.cta-band__in { display: grid; justify-items: center; gap: 30px; }
.cta-band h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.cta-band p { margin-top: 14px; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- masters ---------- */
.masters { display: grid; grid-template-columns: 1fr; gap: clamp(56px, 8vw, 72px); }
.master { width: 100%; max-width: 440px; }
.master__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand-200); }
.master__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(.98); transition: transform 1.8s var(--ease); }
.master:hover .master__photo img { transform: scale(1.04); }
.master h3 { margin: 26px 0 8px; font-size: 1.85rem; }
.master__role { margin-bottom: 14px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; color: var(--glass-700); }
.master__about { margin-bottom: 14px; font-size: .95rem; color: var(--ink-soft); }
.master__skills { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; padding: 0; list-style: none; }
.master__skills li { padding: 0 0 3px; border-bottom: 1px solid var(--glass-300); font-size: .82rem; }
@media (min-width: 900px) {
  .masters { grid-template-columns: repeat(3, 1fr); align-items: start; gap: clamp(32px, 5vw, 72px); }
  .master { max-width: none; }
  .master:nth-child(2) { margin-top: clamp(56px, 9vw, 130px); }
  .master:nth-child(3) { margin-top: clamp(24px, 4vw, 60px); }
}
.masters--detailed { grid-template-columns: 1fr; gap: clamp(72px, 10vw, 140px); }
.master--detailed { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: none; }
.master--detailed .master__photo { width: min(100%, 440px); }
.master--detailed h3 { margin-top: 0; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.master--detailed .master__about { font-size: 1.05rem; max-width: 34rem; }
@media (min-width: 900px) {
  .masters--detailed { grid-template-columns: 1fr; align-items: stretch; }
  .master--detailed:nth-child(n) { margin-top: 0; }
  .master--detailed { grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(40px, 8vw, 120px); }
  .master--detailed:nth-child(even) .master__photo { order: 2; justify-self: end; }
}
.section--masters-detailed { padding-top: clamp(24px, 4vw, 60px); }

/* ---------- works gallery ---------- */
.section--works { background: var(--sand-100); }
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 3vw, 40px); }
.work { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; aspect-ratio: 9 / 11; background: var(--sand-200); cursor: zoom-in; }
.work:nth-child(even) { margin-top: clamp(28px, 6vw, 90px); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.2s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; border: 1px solid #fff; border-radius: 50%; translate: -50% -50%; opacity: 0; transform: scale(.6); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.work:hover::after, .work:focus-visible::after { opacity: 1; transform: scale(1); }
@media (min-width: 900px) {
  .works { grid-template-columns: repeat(3, 1fr); }
  .work:nth-child(even) { margin-top: 0; }
  .work:nth-child(3n+2) { margin-top: clamp(40px, 7vw, 110px); }
  .work:nth-child(3n) { margin-top: clamp(20px, 3.5vw, 56px); }
}

/* ---------- reviews ---------- */
.score { display: inline-flex; align-items: center; gap: 16px; margin-top: 28px; text-align: left; }
.score b { font: 400 3.2rem/1 var(--f-display); color: var(--glass-700); }
.score div { display: flex; flex-direction: column; gap: 2px; font-size: .82rem; color: var(--ink-soft); }
.stars { display: inline-flex; gap: 3px; color: var(--glass-500); }
.stars span { display: inline-flex; }
.stars span:not(.on) { opacity: .28; }
.stars .i { width: 16px; height: 16px; }
.reviews { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 56px); }
.review { display: flex; flex-direction: column; gap: 20px; margin: 0; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.review blockquote { margin: 0; font: 400 clamp(1.2rem, 1.9vw, 1.4rem)/1.5 var(--f-display); }
.review__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--glass-200); color: var(--glass-800); font: 400 1.1rem/1 var(--f-display); }
.review figcaption { font-size: .92rem; font-weight: 600; }
.review__meta { display: block; font-size: .8rem; color: var(--ink-soft); }
.review__service { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--glass-700); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 72px); } }

/* ---------- certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 2vw, 24px); }
.cert { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 230px; padding: clamp(18px, 2.4vw, 26px); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 0; background: var(--sand-100); color: var(--ink); text-align: left; cursor: pointer; transition: background .7s var(--ease), border-color .7s var(--ease), transform .7s var(--ease); }
.cert::before, .cert::after { content: ""; position: absolute; z-index: -1; border: 1px solid var(--glass-500); border-radius: 50%; opacity: .55; animation: breathe var(--breath) ease-in-out infinite; }
.cert::before { right: -46px; top: -46px; width: 180px; height: 180px; }
.cert::after { right: -12px; top: -12px; width: 112px; height: 112px; animation-delay: -1.2s; }
.cert:hover { transform: translateY(-5px); border-color: var(--glass-300); background: var(--glass-100); }
.cert--any { background: var(--glass-200); }
.cert__brand { font: 400 1.25rem/1 var(--f-display); letter-spacing: .08em; }
.cert__label { margin-top: 6px; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.cert__value { margin: 18px 0 14px; font: 400 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--f-display); }
.cert__cta { display: inline-flex; align-items: center; gap: 8px; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--glass-700); }
.cert__cta .i { width: 16px; height: 16px; transition: transform .6s var(--ease); }
.cert:hover .cert__cta .i { transform: translateX(5px); }
@media (min-width: 1000px) { .certs { grid-template-columns: repeat(4, 1fr); } .cert { min-height: 280px; } }

/* ---------- promos + loyalty ---------- */
.section--promos { background: var(--sand-100); }
.promos { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); }
.promo { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.promo__no { font-family: var(--f-display); letter-spacing: .22em; color: var(--glass-500); }
.promo h3 { margin: 14px 0 12px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.promo p { color: var(--ink-soft); }
.loyalty { display: flex; align-items: center; gap: 28px; margin-top: clamp(56px, 8vw, 96px); padding: clamp(26px, 4vw, 48px); border-radius: 0; background: var(--glass-100); }
.loyalty__ring { flex: none; width: 64px; height: 64px; border: 1px solid var(--glass-500); border-radius: 50%; box-shadow: inset 0 0 0 10px var(--glass-100), inset 0 0 0 11px var(--glass-500); animation: breathe var(--breath) ease-in-out infinite; }
.loyalty h3 { margin-bottom: 8px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.loyalty p { max-width: 48ch; color: var(--ink-soft); }
@media (min-width: 900px) { .promos { grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 72px); } }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; }
.faq__head { max-width: none; margin: 0; text-align: left; }
.faq__head .lead { margin-left: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 14px 0; list-style: none; cursor: pointer; font: 400 clamp(1.2rem, 2vw, 1.5rem)/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border: 1px solid var(--glass-500); border-radius: 50%; background: linear-gradient(var(--glass-700), var(--glass-700)) center / 12px 1px no-repeat, linear-gradient(var(--glass-700), var(--glass-700)) center / 1px 12px no-repeat; transition: transform .6s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 54ch; margin: 0 0 26px; color: var(--ink-soft); }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.msg { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: .84rem; font-weight: 600; text-decoration: none; transition: background .5s var(--ease), border-color .5s var(--ease); }
.msg:hover { background: var(--glass-100); border-color: var(--glass-500); }
.msg .i { width: 18px; height: 18px; stroke: none; }
@media (min-width: 960px) {
  .faq-wrap { grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 120px); }
  .faq__head { position: sticky; top: 118px; align-self: start; }
}

/* ---------- contacts ---------- */
.section--contacts { background: var(--sand-100); }
.contacts__in { display: grid; grid-template-columns: 1fr; gap: 48px; }
.contacts__info h2 { margin-top: 20px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.contact-list { display: grid; gap: 0; margin: 32px 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.contact-list li { display: flex; align-items: flex-start; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--glass-500); border-radius: 50%; color: var(--glass-700); }
.contact-list b { display: block; font-weight: 600; }
.contact-list div > span { display: block; font-size: .9rem; color: var(--ink-soft); }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.hours { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.hours span { color: var(--ink-soft); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.map { min-height: 440px; overflow: hidden; background: var(--sand-200); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }
@media (min-width: 960px) { .contacts__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 8vw, 110px); } .map { min-height: 580px; } .map iframe { min-height: 580px; } }

/* ---------- footer ---------- */
.site-footer { padding: clamp(56px, 9vw, 104px) 0 calc(36px + env(safe-area-inset-bottom)); background: var(--sand-200); }
.site-footer__in { display: grid; justify-items: start; gap: 18px; text-align: left; }
.site-footer__logo { grid-area: logo; display: inline-flex; align-items: center; gap: 16px; }
.site-footer .logo__name { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.site-footer .logo__mark { width: clamp(28px, 4vw, 40px); height: clamp(28px, 4vw, 40px); }
.site-footer .logo__mark::after { inset: 28%; }
.site-footer__legal { grid-area: legal; font-size: .9rem; color: var(--ink-soft); }
.site-footer__docs { grid-area: docs; display: flex; flex-wrap: wrap; gap: 0 28px; }
.site-footer__docs a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; text-decoration: underline; text-decoration-color: var(--glass-500); text-underline-offset: 5px; }
.site-footer__small { grid-area: small; max-width: 52ch; font-size: .74rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .site-footer__in { grid-template-columns: 1fr auto; grid-template-areas: "logo docs" "legal docs" "small small"; column-gap: 64px; row-gap: 14px; }
  .site-footer__docs { flex-direction: column; align-items: flex-end; }
  .site-footer__small { width: 100%; max-width: none; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-strong); }
}

/* ---------- inner pages ---------- */
.page-head { padding: clamp(48px, 9vw, 120px) 0 clamp(48px, 7vw, 88px); }
.page-head__in { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.page-head__ring { display: block; width: 56px; height: 56px; margin-bottom: 22px; border: 1px solid var(--glass-500); border-radius: 50%; animation: breathe var(--breath) ease-in-out infinite; }
.page-head__ring::after { content: ""; display: block; width: 12px; height: 12px; margin: 21px auto 0; border-radius: 50%; background: var(--glass-300); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumbs a:hover { color: var(--glass-700); text-decoration: underline; }
.page-head h1 { margin: 6px 0 20px; font-size: clamp(2.8rem, 8vw, 6.2rem); line-height: 1.02; }
.page-head .lead { margin-inline: 0; }
@media (min-width: 900px) {
  .page-head h1 { max-width: calc(100% - clamp(130px, 15vw, 200px)); }
  .page-head__ring { position: absolute; top: 0; right: 0; width: clamp(100px, 11vw, 150px); height: auto; aspect-ratio: 1; margin: 0; }
  .page-head__ring::after { width: 22%; height: 22%; margin: 39% auto 0; }
}
.section--prices { padding-top: clamp(64px, 9vw, 130px); }
.price-groups { display: grid; gap: clamp(64px, 9vw, 120px); }
.price-group { display: grid; grid-template-columns: 1fr; gap: 20px; }
.price-group__head { display: flex; align-items: baseline; gap: 16px; }
.price-group__no { font-family: var(--f-display); letter-spacing: .22em; color: var(--glass-500); }
.price-group h3 { font-size: clamp(2rem, 4vw, 3rem); }
.price-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.price-row { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "name name book" "time price book"; align-items: center; gap: 6px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .7s var(--ease), padding .7s var(--ease); }
.price-row:hover { padding-inline: 12px; background: var(--sand-100); }
.price-row__name { grid-area: name; display: flex; flex-direction: column; }
.price-row__name span { font-size: 1.05rem; font-weight: 500; line-height: 1.4; }
.price-row__name small { margin-top: 2px; font-size: .85rem; color: var(--ink-soft); }
.price-row__time { grid-area: time; font-size: .9rem; color: var(--ink-soft); }
.price-row__price { grid-area: price; font: 400 1.5rem/1 var(--f-display); text-align: right; white-space: nowrap; }
.price-row__book { grid-area: book; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--glass-700); transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.price-row__book:hover { background: var(--glass-700); border-color: var(--glass-700); color: #fff; }
@media (min-width: 900px) {
  .price-group { grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
  .price-group__head { position: sticky; top: 118px; flex-direction: column; gap: 10px; }
  .price-row { grid-template-columns: 1fr 110px 176px 46px; grid-template-areas: "name time price book"; gap: 0 20px; }
}

/* ---------- legal ---------- */
.legal-bar { display: flex; justify-content: center; padding: 22px var(--gutter) 0; }
.legal { width: min(100% - 2 * var(--gutter), 760px); padding: clamp(40px, 8vw, 88px) 0 clamp(72px, 10vw, 140px); }
.legal h1 { margin-bottom: 14px; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.08; }
.legal h2 { margin: 2.2em 0 .6em; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.legal p, .legal li { line-height: 1.8; }
.legal p + p { margin-top: 1em; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--glass-700); text-underline-offset: 3px; }
.legal p > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
.legal__meta { font-size: .9rem; color: var(--ink-soft); }
.legal__box { margin: 28px 0; padding: 28px 30px; border-radius: 0; background: var(--sand-100); }

/* ---------- dialogs ---------- */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(37, 50, 46, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.booking { width: min(580px, 100%); max-width: 100%; max-height: min(92svh, 780px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: var(--sand-50); box-shadow: 0 40px 120px rgba(37, 50, 46, .3); }
.booking[open] { display: flex; animation: sheet .7s var(--ease); }
.booking__form { display: flex; flex-direction: column; width: 100%; max-height: min(92svh, 780px); min-height: 0; }
/* a definite height lets the long service list scroll inside the sheet (flex + max-height alone does not) */
.booking__form:has([data-step="1"]:not([hidden])) { height: min(92svh, 780px); }
.booking__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 16px; }
.booking__step-label { margin-bottom: 6px; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--glass-700); }
.booking__head h2 { font-size: 1.9rem; }
.icon-btn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; color: var(--ink); transition: background .5s var(--ease); }
.icon-btn:hover { background: var(--glass-100); }
.icon-btn .i { width: 20px; height: 20px; }
.booking__progress { height: 2px; margin: 0 28px; background: var(--line); }
.booking__progress span { display: block; width: 0; height: 100%; background: var(--glass-700); transition: width .9s var(--ease); }
.booking__step { flex: 1 1 auto; min-width: 0; min-height: 0; margin: 0; padding: 18px 28px 14px; overflow-y: auto; border: 0; }
.booking__step legend { float: left; width: 100%; margin-bottom: 14px; padding: 0; font: 400 1.5rem/1.2 var(--f-display); }
.booking__step legend + * { clear: both; }
.booking__group { margin: 22px 0 6px; font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.choice { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; min-height: 60px; padding: 10px 8px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .5s var(--ease); }
.choice:hover, .choice:has(input:checked) { background: var(--glass-100); }
.choice input { -webkit-appearance: none; appearance: none; display: grid; place-content: center; flex: none; width: 22px; height: 22px; margin: 0; border: 1.2px solid var(--glass-500); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .4s var(--ease); }
.choice input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--glass-700); transform: scale(0); transition: transform .5s var(--ease); }
.choice input:checked { border-color: var(--glass-700); }
.choice input:checked::before { transform: scale(1); }
.choice input:focus-visible { outline: 2px solid var(--glass-700); outline-offset: 3px; }
.choice__main { display: flex; flex-direction: column; min-width: 0; }
.choice__main b { font-size: .95rem; font-weight: 600; line-height: 1.4; }
.choice__main small { font-size: .8rem; color: var(--ink-soft); }
.choice__price { font: 400 1.2rem/1 var(--f-display); white-space: nowrap; }
.choice--master { grid-template-columns: auto 56px 1fr; }
.choice--master img, .choice--master .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.choice--amount { grid-template-columns: auto 1fr; border: 1px solid var(--line-strong); border-radius: 0; }
.cert-amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cert-dialog__sub { display: block; float: none; width: auto; margin: 28px 0 12px; font: 600 .66rem/1 var(--f-text); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.cert-designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.design { position: relative; display: grid; place-items: end start; min-height: 96px; padding: 12px 14px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 0; font-size: .82rem; font-weight: 600; cursor: pointer; }
.design input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.design--1 { background: var(--sand-100); }
.design--2 { background: var(--glass-200); }
.design--3 { background: #fff; }
.design:has(input:checked) { outline: 2px solid var(--glass-700); outline-offset: -2px; }
.design:has(input:focus-visible) { outline: 3px solid var(--glass-700); outline-offset: 2px; }
.days { display: flex; gap: 10px; padding: 4px 2px 14px; overflow-x: auto; scroll-snap-type: x proximity; }
.day { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 68px; min-height: 84px; padding: 0; border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; scroll-snap-align: start; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.day small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.day b { font: 400 1.6rem/1 var(--f-display); }
.day[aria-checked="true"], .slot[aria-checked="true"] { border-color: var(--glass-700); background: var(--glass-700); color: #fff; }
.day[aria-checked="true"] small { color: rgba(255, 255, 255, .85); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 6px; }
.slot { min-height: 46px; padding: 0; border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; font-size: .9rem; font-weight: 600; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.slot:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.booking__hint { margin-top: 16px; font-size: .88rem; color: var(--ink-soft); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field label span { font-weight: 400; letter-spacing: 0; text-transform: none; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; color: var(--ink); font: inherit; transition: border-color .4s var(--ease); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--glass-700); outline: 2px solid var(--glass-500); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field__err { margin-top: 6px; font-size: .82rem; color: var(--err); }
.field__err:empty { display: none; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin-top: 8px; font-size: .88rem; cursor: pointer; }
.consent input { -webkit-appearance: none; appearance: none; display: grid; place-content: center; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.2px solid var(--glass-500); border-radius: 2px; cursor: pointer; transition: background .4s var(--ease); }
.consent input::before { content: ""; width: 11px; height: 6px; margin-top: -2px; border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg) scale(0); transition: transform .4s var(--ease); }
.consent input:checked { border-color: var(--glass-700); background: var(--glass-700); }
.consent input:checked::before { transform: rotate(-45deg) scale(1); }
.consent a, .consent-note a { color: var(--glass-700); }
.consent-note { margin: 8px 0; font-size: .8rem; color: var(--ink-soft); }
.booking__done { padding-top: 32px; text-align: center; }
.done__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--glass-500); border-radius: 50%; color: var(--glass-700); box-shadow: 0 0 0 10px var(--glass-100); }
.done__icon .i { width: 28px; height: 28px; }
.booking__done h3 { margin: 22px 0 12px; font-size: 2rem; }
.done__summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; max-width: 420px; margin: 22px auto; padding: 20px 24px; border-radius: 0; background: var(--sand-100); text-align: left; }
.done__summary dt { font-size: .82rem; color: var(--ink-soft); }
.done__summary dd { margin: 0; font-weight: 600; }
.booking__done p { margin-top: 10px; }
.demo-note { font-size: .8rem; color: var(--ink-soft); }
.booking__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 28px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--sand-50); }
.booking__summary { flex: 1 1 200px; min-width: 0; font-size: .82rem; color: var(--ink-soft); }
.booking__summary:empty { display: none; }
.booking__nav { display: flex; gap: 10px; margin-left: auto; }
@media (max-width: 600px) {
  .booking { width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 6px 6px 0 0; }
  .booking__form { max-height: 92svh; }
  .booking:not(.cert-dialog) .booking__form { height: min(92svh, 780px); }
  .booking__head, .booking__step, .booking__foot { padding-inline: 20px; }
  .booking__progress { margin-inline: 20px; }
}
.lightbox { max-width: min(94vw, 1000px); max-height: 92svh; padding: 0; overflow: visible; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(245, 240, 230, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: 86svh; margin-inline: auto; border-radius: 6px; box-shadow: 0 30px 90px rgba(37, 50, 46, .25); }
.lightbox__close { position: fixed; top: 16px; right: 16px; background: var(--sand-50); }

/* ---------- chat, toast, mobile bar ---------- */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 54px; min-height: 54px; padding: 0 16px; border: 1px solid var(--glass-300); border-radius: 2px; background: #fff; color: var(--glass-800); font: 600 .7rem/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 14px 40px rgba(37, 50, 46, .16); transition: background .5s var(--ease), transform .5s var(--ease); }
.chat-fab:hover { background: var(--glass-100); transform: translateY(-2px); }
.chat-fab .i { width: 22px; height: 22px; color: var(--glass-700); }
.chat-fab.is-hidden { display: none; }
.chat-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 640px) {
  .chat-fab span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .chat-fab { padding: 0 22px 0 18px; }
}
@media (min-width: 768px) { .chat-fab { right: 24px; bottom: 24px; } }
.chat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-direction: column; max-height: min(86svh, 640px); overflow: hidden; border-radius: 6px 6px 0 0; background: var(--sand-50); box-shadow: 0 -20px 80px rgba(37, 50, 46, .22); }
@media (min-width: 768px) { .chat { left: auto; right: 24px; bottom: 24px; width: 390px; border-radius: 4px; box-shadow: 0 30px 90px rgba(37, 50, 46, .25); } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.chat__head > div { flex: 1; min-width: 0; line-height: 1.3; }
.chat__head b { display: block; font: 400 1.15rem/1.2 var(--f-display); }
.chat__head > div span { font-size: .78rem; color: var(--ink-soft); }
.chat__avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--glass-200); color: var(--glass-800); }
.chat__log { display: flex; flex: 1; flex-direction: column; gap: 10px; min-height: 160px; padding: 16px 18px; overflow-y: auto; }
.chat__msg { max-width: 90%; padding: 12px 16px; border-radius: 10px; font-size: .9rem; line-height: 1.5; }
.chat__msg--bot { align-self: flex-start; border-bottom-left-radius: 2px; background: var(--sand-100); }
.chat__msg--me { align-self: flex-end; border-bottom-right-radius: 2px; background: var(--glass-700); color: #fff; }
.chat__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat__action { min-height: 44px; padding: 0 16px; border: 1px solid var(--glass-500); border-radius: 2px; background: #fff; color: var(--glass-800); font-size: .8rem; font-weight: 600; transition: background .4s var(--ease); }
.chat__action:hover { background: var(--glass-100); }
.chat__typing { display: flex; align-items: center; gap: 5px; padding: 15px 16px; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--glass-500); animation: dot 1.2s ease-in-out infinite; }
.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .3s; }
.chat__chips { display: flex; gap: 8px; padding: 4px 18px 12px; overflow-x: auto; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips button { flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; font-size: .8rem; white-space: nowrap; transition: background .4s var(--ease); }
.chat__chips button:hover { background: var(--glass-100); }
.chat__form { display: flex; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; color: var(--ink); font: inherit; }
.chat__form input:focus { border-color: var(--glass-700); outline: 2px solid var(--glass-500); outline-offset: 1px; }
.chat__send { width: 48px; height: 48px; border-color: var(--glass-700); background: var(--glass-700); color: #fff; }
.chat__send:hover { background: var(--glass-800); }
.chat__note { padding: 0 18px 14px; font-size: .7rem; line-height: 1.5; color: var(--ink-soft); }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 100; max-width: min(92vw, 460px); padding: 14px 24px; border-radius: 3px; background: var(--ink); color: #fff; font-size: .88rem; line-height: 1.45; text-align: center; box-shadow: 0 16px 50px rgba(37, 50, 46, .3); translate: -50% 0; }
@media (min-width: 768px) { .toast { bottom: 32px; } }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(251, 249, 244, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.mobile-bar__call { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.mobile-bar .btn { padding: 0 12px; font-size: .7rem; letter-spacing: .06em; white-space: nowrap; }
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- motion ---------- */
@keyframes breathe { 0%, 100% { transform: scale(.84); opacity: .7; } 50% { transform: scale(1); opacity: 1; } }
@keyframes breathe-scale { 0%, 100% { transform: scale(.86); } 50% { transform: scale(1); } }
@keyframes breathe-fade { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes breathe-dot { 0%, 100% { transform: scale(.55); opacity: .7; } 50% { transform: scale(1); opacity: 1; } }
@keyframes inhale { 0%, 3% { opacity: 0; } 14%, 40% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes exhale { 0%, 53% { opacity: 0; } 64%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.13) translate3d(-1.2%, -1%, 0); } }
@keyframes dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes sheet { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.5s var(--ease), transform 1.5s var(--ease); }
  [data-reveal].is-in { opacity: 1; transform: none; }
  .benefits > :nth-child(2), .reviews > :nth-child(2), .certs > :nth-child(2), .promos > :nth-child(2), .masters > :nth-child(2) { transition-delay: .14s; }
  .benefits > :nth-child(3), .reviews > :nth-child(3), .certs > :nth-child(3), .promos > :nth-child(3), .masters > :nth-child(3) { transition-delay: .28s; }
  .benefits > :nth-child(4), .certs > :nth-child(4) { transition-delay: .42s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero__plx, .pano__plx { transform: none; }
  /* the breathing circle stays alive without any movement: a slow opacity glow only */
  .breath__ring, .orb__ring:nth-child(1) { animation: breathe-fade var(--breath) ease-in-out infinite !important; }
  .breath__label, .orb__breath { display: flex; justify-content: center; gap: .7em; }
  .breath__label { flex-direction: column; align-items: center; gap: .5em; }
  .breath__label i + i::before { content: none !important; }
  .breath__label i, .orb__breath i { opacity: 1; }
  .breath__label i + i::before, .orb__breath i + i::before { content: "·"; margin-right: .7em; }
}

/* --- лента демо: плашка «ДЕМО» и кнопка «Хочу такой» (ночь 2026-10-17) --- */
.demo-ribbon{display:flex;flex-wrap:wrap;align-items:center}
.demo-ribbon>a{grid-row:auto}
.demo-ribbon .demo-ribbon__pill{flex:none;display:inline-flex;align-items:center;margin:2px 0;padding:2px 9px;border-radius:999px;background:rgba(255,255,255,.16);background:color-mix(in srgb,currentColor 14%,transparent);font:600 11.5px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.03em;white-space:nowrap;opacity:1}
.demo-ribbon .demo-ribbon__note{margin-left:0}
.demo-ribbon .demo-ribbon__cta{flex:none;margin:4px 0 4px auto;min-height:34px;padding:0 14px;border:1.5px solid currentColor;border-radius:999px;background:rgba(255,255,255,.12);background:color-mix(in srgb,currentColor 12%,transparent);font-weight:700;letter-spacing:0;text-transform:none}
.demo-ribbon .demo-ribbon__cta-short{display:none}
@media (max-width:1099px){.demo-ribbon .demo-ribbon__note{display:none}}
@media (min-width:781px) and (max-width:1099px){
.demo-ribbon>a:first-child{order:1}
.demo-ribbon .demo-ribbon__pill{order:2}
.demo-ribbon .demo-ribbon__cta{order:3}
.demo-ribbon .demo-ribbon__pkg{order:4;flex:1 1 100%;white-space:normal;overflow:visible;text-overflow:clip}
}
@media (max-width:780px){
.demo-ribbon{gap:2px 10px;padding-top:4px;padding-bottom:6px}
.demo-ribbon>a:first-child{order:1}
.demo-ribbon .demo-ribbon__cta{order:2}
.demo-ribbon .demo-ribbon__pill{order:3}
.demo-ribbon .demo-ribbon__pkg{order:4;flex:1 1 190px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;padding:0}
}
@media (max-width:420px){
.demo-ribbon .demo-ribbon__cta-long{display:none}
.demo-ribbon .demo-ribbon__cta-short{display:inline}
.demo-ribbon .demo-ribbon__cta{padding:0 12px}
}
.site-footer__small a,.foot__small a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.demo-ribbon .demo-ribbon__cta{margin-left:0}
@media (max-width:780px){.demo-ribbon{justify-content:center}}
.demo-want{display:inline-block;padding:10px 0 4px;font-weight:600}

/* подвал на телефоне: названия областей сетки заданы только от 900 px, ниже они склеивали все строки в одну ячейку */
@media (max-width:899px){
.site-footer__logo,.site-footer__legal,.site-footer__docs,.site-footer__small{grid-area:auto}
}

/* --- лента демо: вторая ссылка «О студии» (раунд 2, 2026-10-17) --- */
.demo-ribbon .demo-ribbon__studio{flex:none;min-height:30px;margin:0;font-size:12px;font-weight:600;opacity:.9;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.demo-ribbon .demo-ribbon__studio:hover,.demo-ribbon .demo-ribbon__studio:focus-visible{opacity:1}
@media (min-width:781px) and (max-width:1099px){.demo-ribbon>p:not([class]){order:1}.demo-ribbon .demo-ribbon__studio{order:2}}
@media (max-width:780px){.demo-ribbon .demo-ribbon__studio{order:3}}
