/* ==========================================================================
   Аура · boutique-hotel concierge
   Warm ivory, espresso, champagne. Playfair Display + Manrope (self-hosted).
   Services are "floors", with a lift-style index and one visit planner.
   ========================================================================== */

/* ---------- fonts (files shared in /assets/fonts, OFL) ---------- */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../../assets/fonts/playfair-display-normal-500-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../../assets/fonts/playfair-display-normal-500-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; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../../assets/fonts/playfair-display-italic-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../../assets/fonts/playfair-display-italic-500-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: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../../assets/fonts/manrope-normal-400-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../../assets/fonts/manrope-normal-400-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 {
  --ivory: #f7f1e6;
  --ivory-2: #efe6d5;
  --paper: #fdfaf4;
  --espresso: #2b1e17;
  --espresso-2: #382920;
  --espresso-3: #4a382c;
  --cocoa: #66523f;
  --brass: #7a5c24;
  --champ: #c9a96e;
  --champ-hi: #e8d6a8;
  --champ-lo: #a8864b;
  --mute-dk: #d3c6b0;
  --line: #ddd0b8;
  --line-dk: rgb(201 169 110 / .32);
  --serif: 'Playfair Display', 'Times New Roman', Georgia, serif;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 32px);
  --hdr: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 24px); }
body {
  margin: 0; background: var(--ivory); color: var(--espresso);
  font: 400 16px/1.65 var(--sans); font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .demo-ribbon :focus-visible, .chat__head :focus-visible { outline-color: var(--champ-hi); }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 10px 16px; border: 1px solid var(--espresso); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 11.5px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.on-dark .eyebrow { color: var(--champ-hi); }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--cocoa); max-width: 40em; margin-top: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  border: 1px solid var(--espresso); border-radius: 2px; background: transparent; color: var(--espresso);
  font: 700 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--solid { background: var(--espresso); color: var(--ivory); }
.btn--solid:hover { background: var(--espresso-3); }
.btn--line:hover { background: var(--espresso); color: var(--ivory); }
.btn--gold { background: linear-gradient(135deg, var(--champ-hi), var(--champ) 55%, var(--champ-lo)); border-color: var(--champ); color: var(--espresso); }
.btn--gold:hover { filter: brightness(1.07); }
.btn--ghost-light { border-color: var(--champ); color: var(--champ-hi); }
.btn--ghost-light:hover { background: var(--champ); color: var(--espresso); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 11.5px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none;
  font: 700 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--espresso);
  border-bottom: 1px solid var(--champ); align-self: flex-start;
}
.link .i { width: 18px; height: 18px; color: var(--brass); transition: transform .3s var(--ease); }
.link:hover .i { transform: translateX(5px); }
.link:hover { border-bottom-color: var(--espresso); }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid transparent; border-radius: 50%; background: transparent; color: inherit;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { border-color: currentColor; }

/* ---------- ribbon (kept markup) ---------- */
.demo-ribbon {
  display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; padding: 0 var(--gutter); min-height: 44px;
  background: var(--espresso); color: #e9dfcf; font: 500 12.5px/1.4 var(--sans);
}
.demo-ribbon a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--champ-hi); font-weight: 700; text-decoration: none; white-space: nowrap; }
.demo-ribbon a:hover { text-decoration: underline; }
.demo-ribbon a .i { width: 18px; height: 18px; }
.demo-ribbon p { margin: 0; }
.demo-ribbon__pkg b { color: var(--champ-hi); }
.demo-ribbon__note { margin-left: auto !important; opacity: .8; }
@media (max-width: 700px) { .demo-ribbon__note { display: none; } .demo-ribbon { font-size: 11.5px; padding-block: 2px; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(247 241 230 / .94); backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 32px; min-height: var(--hdr); }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__name { font: 500 34px/1 var(--serif); font-variant-numeric: lining-nums; letter-spacing: .03em; }
.logo__kind { margin-top: 6px; font: 700 9.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font: 700 11.5px/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__cta { display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; min-height: 44px; font: 600 14px/1 var(--sans); letter-spacing: .02em; text-decoration: none; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--brass); }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 2px; background: transparent; }
@media (max-width: 1320px) { .header-phone { display: none; } }
@media (max-width: 1140px) {
  :root { --hdr: 64px; }
  .site-header__in { gap: 16px; }
  .logo { margin-right: auto; }
  .nav-toggle { display: inline-grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgb(43 30 23 / .35); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 52px; font-size: 13px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brass); }
}
@media (max-width: 540px) { .site-header__cta .btn { display: none; } .logo__name { font-size: 30px; } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(72px, 9vw, 136px); }
.sec--soft { background: var(--ivory-2); }
.sec--tight { padding-top: clamp(40px, 5vw, 72px); }
.shead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 68px); }
.shead > div { flex: 1 1 520px; }
.shead h2 { margin-top: 20px; }
.section__more { margin-top: 44px; text-align: center; }
.frame { position: relative; overflow: hidden; background: var(--ivory-2); }
.frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgb(255 255 255 / .55); pointer-events: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.plaque {
  position: absolute; left: 0; bottom: 0; z-index: 2; padding: 11px 20px 11px 18px;
  background: var(--espresso); color: var(--champ-hi); font: 700 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
}
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv-in { opacity: 1; transform: none; }

/* ---------- hero: lobby directory ---------- */
.hero { padding-block: clamp(16px, 3vw, 36px) clamp(48px, 6vw, 88px); }
.hero__plan { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 30px; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--champ); }
.hero__plan:hover { border-bottom-color: var(--espresso); }
.rating-badge { display: flex; align-items: center; gap: 16px; min-height: 52px; text-decoration: none; font-size: 14px; line-height: 1.35; color: var(--cocoa); }
.rating-badge__score { padding-right: 16px; border-right: 1px solid var(--champ); font: 500 38px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--espresso); }
.rating-badge small { display: block; margin-top: 2px; font: 700 10.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.rating-badge:hover span:last-child { color: var(--espresso); }
.stars { display: inline-flex; gap: 2px; color: var(--champ-lo); }
.stars .i { width: 16px; height: 16px; }
.stars span:not(.on) { opacity: .28; }

/* the board: head (headline + lift display), floor rows with a lift car, a narrow photo strip, a dark action band */
.dir {
  --row: 70px; --no: 52px; --pad: 16px; --nm: min(calc(var(--row) * .62), 11.4vw);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(72px, 22vw, 100px);
  grid-template-areas: "head head" "nav photo" "foot foot";
  background: var(--paper); border: 1px solid var(--espresso); box-shadow: 0 48px 64px -48px rgb(43 30 23 / .5);
}
.dir::after { content: ""; position: absolute; inset: 7px; z-index: 4; border: 1px solid rgb(201 169 110 / .55); pointer-events: none; }
.dir__head { grid-area: head; position: relative; padding: calc(var(--pad) - 2px) var(--pad) clamp(16px, 2.2vw, 24px); }
.dir__head .eyebrow { display: flex; margin-bottom: clamp(14px, 1.8vw, 20px); letter-spacing: .16em; }
.dir__title { font-size: clamp(28px, 7.8vw, 44px); line-height: 1.03; }
.dir__title em { display: block; color: var(--brass); }

/* lift display above the doors: arrow, floor number, floor name */
.dir__display { display: none; position: absolute; right: var(--pad); bottom: clamp(16px, 2.2vw, 24px); align-items: center; gap: 10px; margin: 0; padding: 5px 14px 5px 12px; background: var(--espresso); color: var(--champ-hi); border: 1px solid var(--champ); box-shadow: inset 0 0 0 3px var(--espresso), inset 0 0 0 4px rgb(201 169 110 / .4); white-space: nowrap; }
.dir__arrow { width: 10px; height: 12px; background: var(--champ); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .3; transition: opacity .3s, transform .4s var(--ease); }
.dir[data-move] .dir__arrow { opacity: 1; }
.dir[data-move="down"] .dir__arrow { transform: rotate(180deg); }
.dir__dl { font: 700 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--champ); }
.dir__dno { min-width: .7em; font: italic 500 26px/1 var(--serif); font-variant-numeric: lining-nums; text-align: center; }
.dir__dname { min-width: 6.4em; font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }

/* floor rows */
.dir__nav { grid-area: nav; position: relative; isolation: isolate; min-width: 0; padding-inline: var(--pad); border-top: 1px solid var(--espresso); }
.dir__list li { position: relative; height: var(--row); }
.dir__list li + li { border-top: 1px solid var(--line); }
.dir__list li::before, .dir__list li::after { content: ""; position: absolute; left: calc(var(--no) / 2); width: 1px; height: calc(var(--row) * .2); background: var(--champ); opacity: .75; }
.dir__list li::before { top: -1px; }
.dir__list li::after { bottom: 0; }
.dir__list li:first-child::before, .dir__list li:last-child::after { display: none; }
.dir__row {
  position: relative; display: grid; grid-template-columns: var(--no) minmax(0, 1fr); grid-template-areas: "no name" "no what";
  align-content: center; column-gap: clamp(12px, 2.4vw, 32px); height: 100%; text-decoration: none; color: var(--espresso);
}
.dir__row::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1);
  background: linear-gradient(90deg, rgb(232 214 168 / .55), rgb(232 214 168 / 0) 88%); opacity: 0; transition: opacity .35s;
}
.dir__row:hover::before, .dir__row:focus-visible::before, .dir__row.is-on::before { opacity: 1; }
.dir__row::after { content: ""; display: none; grid-area: lead; align-self: center; height: 0; margin: calc(var(--nm) * .56) -12px 0 -10px; border-top: 2px dotted rgb(168 134 75 / .55); transition: border-color .3s; }
.dir__row:hover::after, .dir__row:focus-visible::after, .dir__row.is-on::after { border-top-color: var(--brass); }
.dir__row:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.dir__no { grid-area: no; align-self: center; text-align: center; font: italic 500 calc(var(--row) * .5)/1 var(--serif); font-variant-numeric: lining-nums; color: var(--champ-lo); }
.dir__name { grid-area: name; align-self: end; font: 500 var(--nm)/1 var(--serif); font-variant-numeric: lining-nums; letter-spacing: -.015em; transition: transform .5s var(--ease), color .3s; }
.dir__what { grid-area: what; align-self: start; margin-top: 5px; font-size: 12.5px; line-height: 1.3; color: var(--cocoa); }
.dir__go { display: none; grid-area: go; align-self: center; justify-self: end; width: 26px; height: 26px; color: var(--brass); opacity: 0; transform: translateX(-12px); transition: opacity .3s, transform .45s var(--ease); }
.dir__row:hover .dir__name, .dir__row:focus-visible .dir__name, .dir__row.is-on .dir__name { transform: translateX(12px); color: var(--brass); }
.dir__row:hover .dir__go, .dir__row:focus-visible .dir__go, .dir__row.is-on .dir__go { opacity: 1; transform: none; }

/* the car: parked on a floor, rides to the one you point at */
.dir__car {
  position: absolute; z-index: 2; left: var(--pad); width: var(--no); top: calc(var(--i, 0) * var(--row) + 8px); height: calc(var(--row) - 16px);
  display: grid; place-items: center; background: var(--espresso); color: var(--champ-hi); border: 1px solid var(--champ);
  box-shadow: inset 0 0 0 3px var(--espresso), inset 0 0 0 4px rgb(201 169 110 / .4);
  font: italic 500 calc(var(--row) * .44)/1 var(--serif); font-variant-numeric: lining-nums; pointer-events: none;
  opacity: 0; transition: top .45s var(--ease), opacity .4s;
}
.dir__car::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 8px; background: var(--brass); }
.dir.is-ready .dir__car { opacity: 1; }

/* photo strip: opens like lift doors */
.dir__photo { grid-area: photo; position: relative; margin: 0; overflow: hidden; background: var(--ivory-2); border-top: 1px solid var(--espresso); border-left: 1px solid var(--espresso); }
.dir__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 37% 40%; }
@media (prefers-reduced-motion: no-preference) {
  .dir__photo::before, .dir__photo::after {
    content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: 50.5%;
    background: linear-gradient(90deg, var(--champ-lo), var(--champ-hi) 45%, var(--champ) 72%, var(--champ-lo));
    animation: door-l 1.5s var(--ease) .6s both;
  }
  .dir__photo::before { left: 0; border-right: 1px solid var(--espresso); }
  .dir__photo::after { right: 0; border-left: 1px solid var(--espresso); animation-name: door-r; }
  .dir__photo img { animation: settle 2.6s var(--ease) .55s both; }
  .dir__bars i { animation: grow 1s var(--ease) both; transform-origin: left; }
  .dir__bars i:nth-child(1) { animation-delay: 1.5s; } .dir__bars i:nth-child(2) { animation-delay: 1.62s; }
  .dir__bars i:nth-child(3) { animation-delay: 1.74s; } .dir__bars i:nth-child(4) { animation-delay: 1.86s; }
}
@keyframes door-l { to { transform: translateX(-101%); } }
@keyframes door-r { to { transform: translateX(101%); } }
@keyframes settle { from { transform: scale(1.1); } }

/* action band */
.dir__foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: 18px var(--pad); background: var(--espresso); color: var(--ivory); }
.dir__foot :focus-visible { outline-color: var(--champ-hi); }
.dir__lead { flex: 1 1 300px; max-width: 32em; font-size: 14.5px; line-height: 1.6; color: var(--mute-dk); }
.dir__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dir__plan { gap: 14px; min-height: 56px; padding-inline: 20px; text-align: left; }
.dir__plan-t { display: grid; gap: 3px; }
.dir__plan-t b { font: inherit; }
.dir__plan-t small { font: 500 12px/1.2 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--mute-dk); transition: color .3s; }
.dir__plan:hover small { color: var(--espresso); }
.dir__plan:hover > .i { transform: translateY(4px); }
.dir__bars { display: grid; gap: 3px; width: 34px; flex: none; }
.dir__bars i { display: block; height: 5px; border-radius: 1px; background: var(--champ-hi); transition: background-color .3s; }
.dir__bars i:nth-child(1) { width: 62%; }
.dir__bars i:nth-child(2) { width: 50%; margin-left: 30%; opacity: .78; }
.dir__bars i:nth-child(3) { width: 42%; margin-left: 18%; opacity: .58; }
.dir__bars i:nth-child(4) { width: 36%; margin-left: 56%; opacity: .4; }
.dir__plan:hover .dir__bars i { background: var(--espresso); }

/* below the board: rating, free slots, prices */
.dir__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 44px; margin-top: 14px; }
.dir__free { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; font-size: 14px; color: var(--cocoa); }
.dir__free b { font: 700 10.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.dir__dot { width: 8px; height: 8px; border-radius: 50%; background: #5f9a4f; box-shadow: 0 0 0 4px rgb(95 154 79 / .2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(95 154 79 / .06); } }

@media (max-width: 559px) {
  .dir__head .eyebrow::before { display: none; }
  .dir__actions { order: -1; }
  .dir__actions, .dir__actions .btn { width: 100%; }
  .dir__actions { gap: 10px; }
  .dir__plan { justify-content: space-between; gap: 12px; padding-inline: 16px; min-height: 52px; }
  .dir__bars { width: 28px; }
  .dir__plan-t small { font-size: 11.5px; }
  .dir__meta { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 700px) {
  .dir { --row: 88px; --no: 68px; --pad: 28px; --nm: min(calc(var(--row) * .7), 8vw); grid-template-columns: minmax(0, 1fr) 150px; }
  .dir__display { display: inline-flex; }
  .dir__title { font-size: clamp(38px, 5.2vw, 54px); }
  .dir__what { font-size: 13.5px; }
  .dir__row { grid-template-columns: var(--no) minmax(0, 1fr) 26px; grid-template-areas: "no name go" "no what go"; }
  .dir__go { display: block; }
}
@media (min-width: 960px) {
  .dir { --row: 92px; --no: clamp(72px, 7vw, 96px); --pad: clamp(28px, 3.2vw, 46px); --nm: min(calc(var(--row) * .76), 5.6vw); grid-template-columns: minmax(0, 1fr) clamp(190px, 18vw, 260px); grid-template-areas: "head photo" "nav photo" "foot foot"; }
  .dir__title { font-size: clamp(42px, 3.9vw, 54px); }
  .dir__photo { border-top: 0; }
  .dir__row { grid-template-columns: var(--no) auto minmax(24px, 1fr) minmax(0, 13em) 26px; grid-template-areas: "no name lead what go"; align-content: stretch; }
  .dir__row::after { display: block; }
  .dir__name, .dir__what { align-self: center; margin: 0; }
  .dir__what { font-size: 14px; }
}
@supports (height: 100svh) {
  @media (min-width: 960px) { .dir { --row: clamp(68px, calc((100svh - 560px) / 4), 100px); } }
}
@media (min-width: 1400px) {
  .dir__display { gap: 12px; padding: 8px 18px 8px 16px; }
  .dir__dno { font-size: 34px; }
}
@media (hover: none) { .dir__go { opacity: .6; transform: none; } }

/* ---------- stats ---------- */
.stats { background: var(--paper); color: var(--espresso); border-block: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 500 clamp(34px, 4.2vw, 60px)/1 var(--serif); font-variant-numeric: lining-nums; color: var(--espresso); margin-bottom: 10px; }
.stat b::first-letter { color: var(--brass); }
.stat span { font-size: 13px; letter-spacing: .06em; color: var(--cocoa); }
@media (max-width: 760px) {
  .stats__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 28px 16px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-bottom: 0; }
}

/* ---------- floors + lift index ---------- */
.floors { padding-top: clamp(72px, 9vw, 136px); }
.floors--prices { padding-top: clamp(56px, 7vw, 96px); }
.floors__grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.lift { position: sticky; top: calc(var(--hdr) + 36px); --item: 72px; }
.lift__title { margin-bottom: 18px; font: 700 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.lift__list { position: relative; }
.lift ol { position: relative; }
.lift ol::before { content: ""; position: absolute; left: 22px; top: calc(var(--item) / 2); bottom: calc(var(--item) / 2); width: 1px; background: var(--line); }
.lift li { display: flex; align-items: center; height: var(--item); }
.lift a { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; min-height: 44px; text-decoration: none; }
.lift__no { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--champ); border-radius: 50%; background: var(--ivory); font: 500 20px/1 var(--serif); font-variant-numeric: lining-nums; transition: background-color .4s, color .4s, border-color .4s; }
.lift__name { font: 700 11.5px/1.35 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--cocoa); transition: color .4s; }
.lift a:hover .lift__no { background: var(--ivory-2); }
.lift a[aria-current] .lift__no { background: var(--espresso); border-color: var(--espresso); color: var(--champ-hi); }
.lift a[aria-current] .lift__name { color: var(--espresso); }
.lift__car { display: none; position: absolute; left: -6px; top: calc(var(--i, 0) * var(--item) + (var(--item) - 56px) / 2); width: 56px; height: 56px; border: 1px solid var(--champ); border-radius: 50%; transition: top .7s var(--ease); pointer-events: none; }
.js .lift__car { display: block; }
@media (max-width: 1000px) {
  .floors__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lift { top: var(--hdr); z-index: 20; margin: 0 calc(var(--gutter) * -1) 36px; padding: 10px var(--gutter); background: rgb(247 241 230 / .96); border-block: 1px solid var(--line); backdrop-filter: blur(8px); }
  .lift__title, .lift__car, .js .lift__car { display: none; }
  .lift__list { overflow-x: auto; scrollbar-width: none; }
  .lift__list::-webkit-scrollbar { display: none; }
  .lift ol { display: flex; gap: 8px; width: max-content; }
  .lift ol::before { display: none; }
  .lift li { height: auto; }
  .lift a { gap: 10px; padding: 4px 16px 4px 4px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
  .lift__no { width: 36px; height: 36px; font-size: 17px; }
  .lift a[aria-current] { border-color: var(--espresso); }
}

.floor { padding-bottom: clamp(64px, 9vw, 128px); }
.floor:last-child { padding-bottom: clamp(72px, 9vw, 136px); }
.floor__top { display: flex; align-items: flex-end; gap: clamp(18px, 3vw, 36px); margin-bottom: 30px; }
.floor__no { font: italic 500 clamp(84px, 10vw, 150px)/.72 var(--serif); font-variant-numeric: lining-nums; color: var(--champ); }
.floor__top .eyebrow { margin-bottom: 14px; }
.floor__top h3 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1; }
.floor__media { margin-bottom: clamp(28px, 4vw, 44px); }
.floor__media img { aspect-ratio: 16 / 9; }
.floor-img--hair img { object-position: 50% 60%; }
.floor-img--nails img { object-position: 50% 34%; }
.floor-img--brows img { object-position: 50% 24%; }
.floor-img--face img { object-position: 50% 22%; }
/* portrait floors: the photo stands beside the menu instead of being stretched to a wide crop */
@media (min-width: 761px) {
  .floor--portrait { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
  .floor--portrait .floor__top { grid-column: 1 / -1; }
  .floor--portrait .floor__media { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .floor--portrait .floor__media img { aspect-ratio: 4 / 5; }
  .floor--portrait .floor__cols { grid-column: 2; grid-row: 2; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 4px; }
}
.floor__cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.floor__text { display: flex; flex-direction: column; gap: 18px; }
.floor__text > p:first-child { color: var(--cocoa); }
.floor__master { font-size: 14px; color: var(--cocoa); }
.floor__master a { color: var(--espresso); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--champ); }
.menu { border-top: 1px solid var(--espresso); }
.menu__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.menu__name { font: 600 18px/1.3 var(--sans); letter-spacing: 0; }
.menu__meta { font-size: 14px; color: var(--cocoa); }
.menu__price { grid-row: 1 / span 2; grid-column: 2; font: 500 24px/1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; text-align: right; }
.menu__row .link { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
@media (max-width: 760px) {
  .floor__cols { grid-template-columns: minmax(0, 1fr); }
  .floor__media img { aspect-ratio: 4 / 3; }
  .floor__top { align-items: center; }
  .menu__price { font-size: 21px; }
}

/* ---------- planner · «Один визит» ---------- */
.visit { position: relative; overflow: hidden; background: var(--ivory-2); color: var(--espresso); padding-block: clamp(72px, 9vw, 136px); border-block: 1px solid var(--line); }
.visit::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 92% 0%, rgb(232 214 168 / .55), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgb(232 214 168 / .35), transparent 70%); }
.visit > .wrap { position: relative; }
.visit__head { max-width: 54rem; margin-bottom: clamp(36px, 5vw, 64px); }
.visit h2 { margin-top: 20px; }
.visit__lead { margin-top: 22px; font-size: clamp(16px, 1.3vw, 19px); color: var(--cocoa); max-width: 40em; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.visit__live { display: none; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 30px; }
.presets__label { flex: 0 0 100%; font: 700 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.chipbtn { min-height: 44px; padding: 8px 16px; border: 1px solid var(--cocoa); border-radius: 2px; background: transparent; color: var(--espresso); font-size: 13.5px; font-weight: 600; line-height: 1.25; text-align: left; transition: background-color .25s, border-color .25s, color .25s; }
.chipbtn:hover { border-color: var(--espresso); background: rgb(255 253 248 / .8); }
.chipbtn[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.pick-floor { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.pick-floor legend { width: 100%; padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--espresso); font: 500 24px/1.2 var(--serif); font-variant-numeric: lining-nums; }
.pick-floor__no { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 14px; border: 1px solid var(--champ-lo); border-radius: 50%; font-size: 16px; color: var(--brass); vertical-align: 2px; }
.picks { display: grid; gap: 8px; }
.pick { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 60px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); cursor: pointer; transition: background-color .25s, border-color .25s; }
.pick:hover { border-color: var(--champ-lo); }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick__box { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--cocoa); border-radius: 2px; background: var(--paper); transition: background-color .25s, border-color .25s; }
.pick__box::after { content: ""; width: 11px; height: 6px; margin-top: -2px; border-left: 2px solid var(--ivory); border-bottom: 2px solid var(--ivory); transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease); }
.pick input:checked + .pick__box { background: var(--espresso); border-color: var(--espresso); }
.pick input:checked + .pick__box::after { transform: rotate(-45deg) scale(1); }
.pick:has(input:checked) { border-color: var(--brass); background: #f6ebd0; }
.pick:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.pick__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pick__name { font-weight: 600; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.pick__meta { font-size: 12.5px; color: var(--cocoa); }
.pick__price { font: 500 17px/1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; color: var(--espresso); }

.plan { position: sticky; top: calc(var(--hdr) + 28px); padding: clamp(22px, 3vw, 40px); background: #fffdf8; color: var(--espresso); border: 1px solid var(--champ-lo); box-shadow: 0 50px 70px -50px rgb(43 30 23 / .45); }
.plan::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgb(201 169 110 / .45); pointer-events: none; }
.plan__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.plan .eyebrow { color: var(--brass); }
.plan__head h3 { margin-top: 12px; font-size: clamp(28px, 3vw, 40px); }
.plan__start { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--cocoa); }
.plan__start select { min-height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--ivory); color: var(--espresso); font-weight: 600; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--espresso) 50%), linear-gradient(135deg, var(--espresso) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.plan__empty { padding: 28px 0 8px; font: italic 500 clamp(19px, 2vw, 24px)/1.45 var(--serif); font-variant-numeric: lining-nums; color: var(--cocoa); }
.totals { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, .8fr) minmax(0, 1.35fr); border-block: 1px solid var(--line); }
.totals > div { padding: 16px 16px; border-left: 1px solid var(--line); }
.totals > div:first-child { border-left: 0; padding-left: 0; }
.totals dt { font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.totals dd { font: 500 clamp(20px, 2vw, 28px)/1.1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; }
.totals__note { margin-top: 14px; font-size: 13.5px; color: var(--cocoa); }
.totals__note b { color: var(--espresso); }
.gantt { display: grid; gap: 12px; margin-top: 26px; --c0: #3b2a20; --c1: #b2863f; --c2: #8c6a54; --c3: #66714f; }
.lane { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 14px; }
.lane__who { font: 700 12.5px/1.3 var(--sans); }
.lane__who small { display: block; font-weight: 500; color: var(--cocoa); font-size: 11.5px; }
.lane__track { position: relative; height: 40px; background-color: var(--ivory-2); background-image: linear-gradient(90deg, rgb(43 30 23 / .1) 1px, transparent 1px); background-size: var(--tick, 25%) 100%; }
.bar { position: absolute; top: 5px; bottom: 5px; left: var(--x); width: var(--w); display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 2px; background: var(--c); color: #fff; font: 700 12px/1 var(--sans); transform-origin: left; animation: grow .7s var(--ease) both; animation-delay: var(--d, 0s); }
.bar--p { background: repeating-linear-gradient(135deg, transparent 0 5px, rgb(255 255 255 / .55) 5px 6px), color-mix(in srgb, var(--c) 16%, var(--paper)); border: 1px dashed var(--c); color: var(--c); }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } }
.lane.f0 { --c: var(--c0); } .lane.f1 { --c: var(--c1); } .lane.f2 { --c: var(--c2); } .lane.f3 { --c: var(--c3); }
.ruler { position: relative; height: 22px; margin: 6px 0 0 146px; font-size: 11.5px; color: var(--cocoa); font-variant-numeric: tabular-nums; }
.ruler span { position: absolute; top: 0; left: var(--x); transform: translateX(-50%); white-space: nowrap; }
.ruler span:first-child { transform: none; }
.ruler span:last-child { transform: translateX(-100%); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; font-size: 12px; color: var(--cocoa); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend li::before { content: ""; width: 22px; height: 12px; border-radius: 2px; background: var(--espresso-3); }
.legend__p::before { background: repeating-linear-gradient(135deg, transparent 0 4px, rgb(255 255 255 / .6) 4px 5px), #ebe0c9 !important; border: 1px dashed var(--espresso-3); }
.steps { margin-top: 22px; border-top: 1px solid var(--line); counter-reset: st; }
.steps li { display: grid; grid-template-columns: 30px 118px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; font: 700 12px/1 var(--sans); }
.steps li.f0 { --c: #3b2a20; } .steps li.f1 { --c: #b2863f; } .steps li.f2 { --c: #8c6a54; } .steps li.f3 { --c: #66714f; }
.steps .t { font: 700 13.5px/1.9 var(--sans); font-variant-numeric: tabular-nums; }
.steps .w b { display: block; font-size: 15px; line-height: 1.35; }
.steps .w span { display: block; font-size: 13px; color: var(--cocoa); }
.steps .w em { display: block; margin-top: 4px; font: italic 500 14px/1.4 var(--serif); font-variant-numeric: lining-nums; color: var(--brass); }
.plan__hint { margin-top: 14px; padding: 10px 14px; background: #f6e8c9; font-size: 13px; color: #5a4210; }
.plan__foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; padding-bottom: 6px; }
@media (max-width: 1000px) {
  .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .plan { position: relative; top: 0; }
  .visit__live {
    position: sticky; top: var(--hdr); z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin: 0 0 22px; padding: 8px 16px;
    background: var(--espresso); color: var(--champ-hi); border-radius: 2px; text-decoration: none; font: 700 12.5px/1.3 var(--sans); letter-spacing: .06em; box-shadow: 0 14px 24px -14px rgb(43 30 23 / .6);
  }
  .visit__live::after { content: "План ↓"; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
}
@media (max-width: 560px) {
  .lane { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ruler { margin-left: 0; }
  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .totals > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .steps li { grid-template-columns: 30px minmax(0, 1fr); }
  .steps .t { grid-column: 2; line-height: 1.4; }
  .steps .w { grid-column: 2; }
  .plan__foot .btn--solid { width: 100%; }
}

/* ---------- privilege (offer) ---------- */
.privilege { position: relative; padding-block: clamp(48px, 6vw, 88px); background: linear-gradient(112deg, #ecdcb6 0%, #f3e8cc 42%, #e4cf9f 100%); color: var(--espresso); }
.privilege__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 56px); }
.privilege__icon { display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--espresso); border-radius: 50%; }
.privilege__icon .i { width: 36px; height: 36px; }
.privilege h2 { margin: 14px 0 12px; font-size: clamp(36px, 4.8vw, 68px); }
.privilege .eyebrow { color: var(--espresso); }
.privilege p:not(.eyebrow) { max-width: 40em; color: #4a3a26; }
@media (max-width: 860px) { .privilege__in { grid-template-columns: minmax(0, 1fr); justify-items: start; } .privilege__icon { width: 64px; height: 64px; } .privilege .btn { width: 100%; } }

/* ---------- perks ---------- */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.perk { padding-top: 28px; border-top: 1px solid var(--espresso); }
.perk__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border: 1px solid var(--champ); border-radius: 50%; color: var(--brass); }
.perk__icon .i { width: 24px; height: 24px; }
.perk h3 { margin-bottom: 12px; font-size: 24px; }
.perk p { font-size: 15px; color: var(--cocoa); }
@media (max-width: 960px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .perks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- masters (home) ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.master { display: flex; flex-direction: column; }
.master__photo { aspect-ratio: 4 / 5; margin-bottom: 28px; }
.master__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.master__body h3 { font-size: clamp(26px, 2.3vw, 32px); }
.master__role { font: 700 11px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.master__about { color: var(--cocoa); font-size: 15px; margin-bottom: 8px; }
.master__body .link { margin-top: auto; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }

/* ---------- works gallery ---------- */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.work { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ivory-2); overflow: hidden; aspect-ratio: 4 / 5; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.work::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgb(255 255 255 / .0); transition: border-color .5s, inset .5s var(--ease); pointer-events: none; }
.work:hover img { transform: scale(1.05); }
.work:hover::after { inset: 18px; border-color: rgb(255 255 255 / .75); }
@media (max-width: 700px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- reviews ---------- */
.shead--score { align-items: center; }
.score { display: flex; align-items: center; gap: 22px; }
.score > b { font: 500 clamp(64px, 7vw, 96px)/.9 var(--serif); font-variant-numeric: lining-nums; }
.score > div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--cocoa); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.review { position: relative; display: flex; flex-direction: column; gap: 18px; margin: 0; padding: clamp(24px, 2.6vw, 38px); background: var(--paper); border: 1px solid var(--line); }
.review::before { content: "\201C"; position: absolute; top: 14px; right: 24px; font: 500 96px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--champ); opacity: .45; }
.review blockquote { margin: 0; font: italic 500 clamp(18px, 1.5vw, 21px)/1.5 var(--serif); font-variant-numeric: lining-nums; }
.review__service { align-self: flex-start; padding: 6px 12px; border: 1px solid var(--line); font: 700 10.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.review__who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--champ); border-radius: 50%; font: 500 18px/1 var(--serif); font-variant-numeric: lining-nums; }
.review figcaption { font-weight: 700; font-size: 15px; }
.review__meta { font-size: 13px; color: var(--cocoa); }
@media (max-width: 960px) { .reviews { grid-template-columns: minmax(0, 1fr); max-width: 640px; } }

/* ---------- certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.cert {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 250px; padding: 28px 26px; text-align: left; overflow: hidden;
  border: 1px solid var(--champ); border-radius: 2px; color: var(--ivory);
  background: radial-gradient(circle at 100% 0, rgb(201 169 110 / .28), transparent 55%), repeating-radial-gradient(circle at 0 100%, transparent 0 11px, rgb(201 169 110 / .09) 11px 12px), var(--espresso);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cert::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgb(201 169 110 / .45); pointer-events: none; }
.cert:hover { transform: translateY(-6px); box-shadow: 0 30px 40px -24px rgb(43 30 23 / .6); }
.cert__brand { font: italic 500 26px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--champ-hi); }
.cert__label { font: 700 10.5px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute-dk); }
.cert__value { margin-top: auto; font: 500 clamp(28px, 2.6vw, 40px)/1.05 var(--serif); font-variant-numeric: lining-nums; }
.cert__cta { display: inline-flex; align-items: center; gap: 10px; font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--champ-hi); }
.cert__cta .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.cert:hover .cert__cta .i { transform: translateX(5px); }
.cert--any { background: radial-gradient(circle at 100% 0, rgb(255 255 255 / .5), transparent 55%), linear-gradient(135deg, var(--champ-hi), var(--champ) 60%, var(--champ-lo)); color: var(--espresso); }
.cert--any .cert__brand, .cert--any .cert__cta { color: var(--espresso); }
.cert--any .cert__label { color: #4a3a26; }
.cert--any::before { border-color: rgb(43 30 23 / .35); }
@media (max-width: 1020px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .certs { grid-template-columns: minmax(0, 1fr); } .cert { min-height: 200px; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr) + 32px); }
.faq__head h2 { margin-top: 20px; }
.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 18px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: border-color .25s, background-color .25s; }
.msg:hover { border-color: var(--espresso); background: var(--ivory-2); }
.msg .i { width: 18px; height: 18px; color: var(--brass); }
.faq { border-top: 1px solid var(--espresso); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; min-height: 72px; padding: 14px 56px 14px 0; font: 500 clamp(19px, 1.7vw, 23px)/1.3 var(--serif); font-variant-numeric: lining-nums; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 1px; background: var(--espresso); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--brass); }
.faq details p { padding: 0 56px 26px 0; color: var(--cocoa); max-width: 42em; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } }

/* ---------- contacts ---------- */
.contacts__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: stretch; }
.contacts__info h2 { margin: 20px 0 34px; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--espresso); }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list > li > .i { width: 44px; height: 44px; padding: 11px; border: 1px solid var(--champ); border-radius: 50%; color: var(--brass); }
.contact-list b { display: block; font-weight: 600; font-size: 16px; line-height: 1.4; }
.contact-list span { color: var(--cocoa); font-size: 14px; }
.contact-list a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.contact-list a:hover b { color: var(--brass); }
.hours { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }
.hours span { color: var(--cocoa); }
.hours b { font-variant-numeric: tabular-nums; }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.map { position: relative; min-height: 460px; border: 1px solid var(--champ); padding: 10px; background: var(--paper); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; filter: sepia(.22) saturate(.85) contrast(.98); }
.contacts .messengers { margin-top: 24px; }
@media (max-width: 900px) { .contacts__in { grid-template-columns: minmax(0, 1fr); } .map { min-height: 360px; } .map iframe { min-height: 340px; } .contacts__actions .btn { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { background: var(--espresso); color: var(--mute-dk); padding-block: clamp(48px, 6vw, 80px); }
.site-footer__in { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 32px 48px; align-items: start; font-size: 14px; }
.site-footer .logo__name { margin-bottom: 8px; font: 500 40px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--ivory); letter-spacing: .03em; }
.site-footer nav { display: grid; gap: 4px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--champ); text-underline-offset: 4px; color: var(--ivory); }
.site-footer nav a:hover { color: var(--champ-hi); }
.site-footer__small { font-size: 12.5px; opacity: .75; }
@media (max-width: 800px) { .site-footer__in { grid-template-columns: minmax(0, 1fr); } body { padding-bottom: 76px; } }

/* ---------- mobile bar, toast ---------- */
.mobile-bar { display: none; }
@media (max-width: 800px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 42; display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--ivory); border-top: 1px solid var(--line); box-shadow: 0 -16px 30px -20px rgb(43 30 23 / .4); }
  .mobile-bar__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--espresso); border-radius: 2px; text-decoration: none; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
}
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 70; transform: translateX(-50%); max-width: min(92vw, 460px); padding: 16px 22px; background: var(--espresso); color: var(--ivory); border-left: 3px solid var(--champ); font-size: 14px; box-shadow: 0 24px 50px -20px rgb(0 0 0 / .6); }
@media (max-width: 800px) { .toast { bottom: 150px; } }

/* ---------- sub-pages ---------- */
.page-head { padding-block: clamp(36px, 5vw, 64px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(36px, 6vw, 84px); font-size: 12.5px; color: var(--cocoa); letter-spacing: .04em; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.page-head h1 { margin-top: 20px; font-size: clamp(48px, 7vw, 108px); line-height: .98; }
.page-head__side { padding-bottom: 8px; }
.page-head .lead { margin: 0; }
.hero__plan--head { margin: 18px 0 0; }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: minmax(0, 1fr); } }

.pf { padding-bottom: clamp(48px, 7vw, 96px); }
.pf__head { display: flex; align-items: flex-end; gap: clamp(18px, 3vw, 32px); padding-bottom: 20px; border-bottom: 1px solid var(--espresso); }
.pf__no { font: italic 500 clamp(64px, 8vw, 112px)/.72 var(--serif); font-variant-numeric: lining-nums; color: var(--champ); }
.pf__head h2 { margin-top: 12px; font-size: clamp(34px, 4vw, 56px); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 160px 44px; gap: 8px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background-color .3s, padding .3s var(--ease); }
.price-row:hover { background: rgb(201 169 110 / .09); padding-inline: 14px; }
.price-row__name span { font-weight: 600; font-size: 17px; line-height: 1.35; }
.price-row__name small { display: block; margin-top: 2px; font-size: 14px; color: var(--cocoa); }
.price-row__time { font-size: 14px; color: var(--cocoa); }
.price-row__price { font: 500 24px/1 var(--serif); font-variant-numeric: lining-nums; text-align: right; white-space: nowrap; }
.price-row__book { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--espresso); border-radius: 50%; background: transparent; transition: background-color .3s, color .3s; }
.price-row__book:hover { background: var(--espresso); color: var(--champ-hi); }
@media (max-width: 640px) {
  .price-row { grid-template-columns: minmax(0, 1fr) auto 44px; grid-template-areas: "name name name" "time price book"; gap: 10px 14px; }
  .price-row__name { grid-area: name; } .price-row__time { grid-area: time; } .price-row__price { grid-area: price; font-size: 21px; } .price-row__book { grid-area: book; }
  .price-row:hover { padding-inline: 0; background: none; }
}

.mcards { display: grid; gap: clamp(64px, 9vw, 128px); }
.mcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 104px); align-items: center; }
.mcard:nth-child(even) .mcard__photo { order: 2; }
.mcard__photo { aspect-ratio: 4 / 5; }
.mcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mcard__name { font-size: clamp(38px, 4.6vw, 68px); line-height: 1; }
.mcard__role { font: 700 11.5px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.mcard__about { font-size: clamp(16px, 1.3vw, 19px); color: var(--cocoa); max-width: 30em; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.skills li { padding: 8px 14px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; font-weight: 600; }
@media (max-width: 860px) { .mcard { grid-template-columns: minmax(0, 1fr); } .mcard:nth-child(even) .mcard__photo { order: 0; } .mcard__photo { max-width: 460px; } }

.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.promo { padding: 30px 28px 34px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--champ); }
.promo__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border: 1px solid var(--champ); border-radius: 50%; color: var(--brass); }
.promo h3 { margin-bottom: 12px; font-size: 25px; }
.promo p { font-size: 15px; color: var(--cocoa); }
.loyalty { display: flex; align-items: center; gap: 28px; margin-top: clamp(20px, 3vw, 36px); padding: clamp(26px, 3vw, 44px); background: linear-gradient(112deg, #ecdcb6 0%, #f3e8cc 50%, #e8d5a8 100%); color: var(--espresso); border: 1px solid var(--champ); }
.loyalty__icon { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border: 1px solid var(--espresso); border-radius: 50%; color: var(--espresso); }
.loyalty h3 { margin-bottom: 8px; }
.loyalty p { color: #4a3a26; max-width: 46em; }
@media (max-width: 900px) { .promos { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .loyalty { flex-direction: column; align-items: flex-start; } }

.cta-band { padding-block: clamp(56px, 7vw, 104px); background: linear-gradient(112deg, #ecdcb6 0%, #f3e8cc 42%, #e4cf9f 100%); color: var(--espresso); border-top: 1px solid var(--champ); }
.cta-band .eyebrow { color: var(--espresso); }
.cta-band__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px 56px; }
.cta-band h2 { margin: 18px 0 14px; font-size: clamp(34px, 4.4vw, 60px); }
.cta-band p:not(.eyebrow) { color: #4a3a26; max-width: 40em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .cta-band__actions, .cta-band__actions .btn { width: 100%; } }

/* ---------- legal ---------- */
.legal-bar { border-bottom: 1px solid var(--line); background: var(--ivory); }
.legal-bar .wrap { display: flex; align-items: center; min-height: 76px; }
.legal { max-width: 800px; padding-block: clamp(40px, 6vw, 80px) 120px; }
.legal h1 { margin-bottom: 12px; font-size: clamp(34px, 5vw, 60px); }
.legal h2 { margin: 44px 0 12px; font-size: clamp(22px, 2.4vw, 28px); }
.legal p, .legal li { margin-bottom: 12px; font-size: 16.5px; line-height: 1.75; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li::marker { color: var(--champ-lo); }
.legal a { text-underline-offset: 3px; text-decoration-color: var(--champ); }
.legal__meta { color: var(--cocoa); }
.legal__box { margin: 28px 0; padding: 8px 28px; background: var(--paper); border: 1px solid var(--champ); }

/* ---------- booking dialog (markup from the shared engine, restyled) ---------- */
.booking {
  width: min(620px, 100vw); max-width: 100vw; max-height: min(880px, 100dvh); margin: auto; padding: 0; overflow: hidden;
  background: var(--paper); color: var(--espresso); border: 1px solid var(--champ); border-radius: 0; box-shadow: 0 60px 120px -40px rgb(30 15 5 / .7);
}
.booking::backdrop { background: rgb(32 20 12 / .66); backdrop-filter: blur(5px); }
.booking__form { display: flex; flex-direction: column; max-height: min(880px, 100dvh); background: var(--paper); }
.booking__head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 28px 14px; background: var(--paper); }
.booking__head h2 { font-size: clamp(30px, 4vw, 40px); }
.booking__step-label { margin-bottom: 8px; font: 700 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.booking__progress { position: relative; z-index: 2; height: 2px; margin-inline: 28px; background: var(--line); }
.booking__progress span { display: block; width: 25%; height: 100%; background: var(--champ-lo); transition: width .5s var(--ease); }
.booking__step { flex: 1; min-height: 0; margin: 0; padding: 22px 28px 10px; border: 0; overflow-y: auto; overscroll-behavior: contain; }
.booking__step legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font: 500 24px/1.2 var(--serif); font-variant-numeric: lining-nums; }
.booking__step legend + * { clear: both; }
.booking__group { margin: 20px 0 8px; font: 700 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.choice { display: flex; align-items: center; gap: 14px; min-height: 60px; margin-bottom: -1px; padding: 12px 16px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color .2s, border-color .2s; }
.choice:hover { background: var(--ivory); }
.choice:has(input:checked) { position: relative; z-index: 1; background: #f4e9cf; border-color: var(--brass); }
.choice input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--espresso); }
.choice__main { display: flex; flex: 1; flex-direction: column; line-height: 1.3; }
.choice__main b { font-weight: 600; font-size: 15px; }
.choice__main small { font-size: 13px; color: var(--cocoa); }
.choice__price { font: 500 18px/1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; }
.choice--master img, .avatar--any { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; }
.avatar--any { display: grid; place-items: center; border: 1px solid var(--champ); }
.days { display: flex; gap: 8px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: thin; }
.day, .slot { flex: none; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font-variant-numeric: tabular-nums; transition: background-color .2s, border-color .2s, color .2s; }
.day { display: flex; flex-direction: column; align-items: center; width: 64px; min-height: 76px; padding: 10px 0; line-height: 1.25; }
.day small { font-size: 11.5px; color: var(--cocoa); }
.day b { font: 500 22px/1.2 var(--serif); font-variant-numeric: lining-nums; }
.day:hover:not([aria-checked="true"]), .slot:hover:not(:disabled):not([aria-checked="true"]) { border-color: var(--espresso); }
.day[aria-checked="true"], .slot[aria-checked="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.day[aria-checked="true"] small { color: var(--champ-hi); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 16px; }
.slot { min-height: 46px; font-weight: 700; font-size: 14px; }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.booking__hint { margin-top: 12px; font-size: 13px; color: var(--cocoa); }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.field label { font: 700 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.field label span { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--cocoa); }
.field input, .field textarea { padding: 12px 0; border: 0; border-bottom: 1px solid var(--espresso); border-radius: 0; background: transparent; font-size: 16px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
.field input[aria-invalid="true"] { border-bottom-color: #a5301f; }
.field__err { font-size: 13px; color: #a5301f; }
.field__err:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--cocoa); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--espresso); }
.consent a, .consent-note a { color: var(--espresso); text-underline-offset: 3px; }
.consent-note { margin-top: 8px; font-size: 12.5px; color: var(--cocoa); }
.booking__foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 28px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.booking__summary { font-size: 13px; line-height: 1.4; color: var(--cocoa); }
.booking__nav { display: flex; gap: 8px; margin-left: auto; }
.booking__done { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 30px; text-align: center; }
.done__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, var(--champ-hi), var(--champ-lo)); color: var(--espresso); }
.done__icon .i { width: 30px; height: 30px; }
.booking__done h3 { font-size: 34px; }
.done__summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; width: 100%; margin: 6px 0; padding: 18px 20px; background: var(--ivory-2); text-align: left; }
.done__summary dt { font-size: 13px; color: var(--cocoa); }
.done__summary dd { font-weight: 600; font-size: 14px; }
.booking__done p { font-size: 14px; color: var(--cocoa); }
.demo-note { padding: 10px 14px; background: #f6e8c9; color: #5a4210 !important; }
.cert-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cert-amounts .choice { margin: 0; justify-content: center; text-align: center; }
.choice--amount .choice__main { align-items: center; }
.choice--amount .choice__main b { font: 500 24px/1 var(--serif); font-variant-numeric: lining-nums; }
.cert-dialog__sub { margin: 26px 0 14px; font: 500 24px/1.2 var(--serif); font-variant-numeric: lining-nums; }
.cert-designs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.design { position: relative; display: flex; align-items: flex-end; aspect-ratio: 1.35; padding: 12px; border: 2px solid transparent; border-radius: 2px; color: var(--ivory); font: 700 12px/1.2 var(--sans); cursor: pointer; }
.design input { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; accent-color: var(--champ); }
.design:has(input:checked) { border-color: var(--brass); outline: 1px solid var(--brass); outline-offset: 2px; }
.design--1 { background: radial-gradient(circle at 100% 0, rgb(201 169 110 / .4), transparent 60%), var(--espresso); }
.design--2 { background: linear-gradient(135deg, #e8d6a8, #c9a96e 55%, #a8864b); color: var(--espresso); }
.design--3 { background: var(--paper); border-color: var(--line); color: var(--espresso); }
.design--3:has(input:checked) { border-color: var(--brass); }
@media (max-width: 600px) {
  .booking { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; }
  .booking__form { height: 100%; max-height: 100dvh; }
  .booking__head, .booking__step, .booking__foot { padding-inline: 18px; }
  .booking__progress { margin-inline: 18px; }
  .booking__foot { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- lightbox ---------- */
.lightbox { max-width: 96vw; max-height: 94dvh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgb(24 15 9 / .9); }
.lightbox img { max-width: 96vw; max-height: 88dvh; border: 1px solid var(--champ); }
.lightbox__close { position: absolute; top: -54px; right: 0; background: var(--ivory); color: var(--espresso); }

/* ---------- AI administrator chat ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px 0 18px; border: 1px solid var(--champ); border-radius: 2px; background: var(--espresso); color: var(--champ-hi); font: 700 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 20px 34px -16px rgb(43 30 23 / .7); transition: transform .3s var(--ease), background-color .3s; }
.chat-fab:hover { transform: translateY(-3px); background: var(--espresso-3); }
.chat-fab .i { width: 20px; height: 20px; }
.chat-fab.is-hidden { display: none; }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: flex; flex-direction: column; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 44px)); overflow: hidden; background: var(--paper); color: var(--espresso); border: 1px solid var(--champ); box-shadow: 0 40px 70px -28px rgb(30 15 5 / .6); }
.chat[hidden] { display: none !important; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 18px; background: var(--espresso); color: var(--ivory); }
.chat__head > div { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.3; }
.chat__head b { overflow: hidden; font: 500 18px/1.2 var(--serif); font-variant-numeric: lining-nums; text-overflow: ellipsis; white-space: nowrap; }
.chat__head > div span { font-size: 12px; color: var(--mute-dk); }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--champ); color: var(--espresso); }
.chat__avatar .i { width: 20px; height: 20px; }
.chat__log { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; background: var(--ivory); }
.chat__msg { display: flex; flex-direction: column; gap: 8px; max-width: 88%; }
.chat__msg p { padding: 11px 15px; font-size: 14px; line-height: 1.5; }
.chat__msg--bot { align-self: flex-start; }
.chat__msg--bot p { background: var(--paper); border: 1px solid var(--line); border-left: 2px solid var(--champ); }
.chat__msg--me { align-self: flex-end; }
.chat__msg--me p { background: var(--espresso); color: var(--ivory); }
.chat__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__action { min-height: 40px; padding: 8px 14px; border: 1px solid var(--espresso); border-radius: 2px; background: transparent; font: 700 11.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.chat__action:hover { background: var(--espresso); color: var(--ivory); }
.chat__typing { flex-direction: row; gap: 5px; align-self: flex-start; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--champ-lo); animation: dots 1s infinite ease-in-out; }
.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat__chips { display: flex; gap: 6px; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
.chat__chips button { flex: none; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); font-size: 13px; white-space: nowrap; }
.chat__chips button:hover { border-color: var(--espresso); }
.chat__form { display: flex; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--espresso); background: transparent; font-size: 16px; }
.chat__form input:focus { outline: 0; border-bottom-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
.chat__send { background: var(--espresso); color: var(--champ-hi); border-radius: 2px; }
.chat__note { padding: 0 16px 14px; font-size: 11.5px; line-height: 1.4; color: var(--cocoa); }
@media (max-width: 800px) {
  .chat-fab { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); min-height: 48px; padding: 0 16px 0 14px; }
  .chat { left: 10px; right: 10px; bottom: 10px; z-index: 55; width: auto; height: min(660px, calc(100dvh - 20px)); }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* --- лента демо: плашка «ДЕМО» и кнопка «Хочу такой» (ночь 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-want{display:inline-block;padding:10px 0 4px;font-weight:600}

/* --- лента демо: вторая ссылка «О студии» (раунд 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}}
