/* =========================================================
   Массаж и то4ка — визуальная система
   Палитра снята с фотографий кабинета: тёплый бистр,
   янтарный свет лампы, льняная бумага меню.
   Мотив бренда — точка (см. .dot).
   ========================================================= */

/* ---------- шрифты со своего сервера (без Google Fonts) ---------- */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-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 800;
  font-display: swap;
  src: url('assets/fonts/manrope-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-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 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/spectral-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/spectral-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/spectral-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: 'Spectral';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/spectral-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* цвет */
  --ink: #14100d;
  --ink-lift: #1e1814;
  --ink-hi: #2a221c;
  --rule: rgba(243, 238, 229, .13);
  --rule-strong: rgba(243, 238, 229, .26);
  --paper: #f3eee5;
  --paper-lift: #fbf8f2;
  --paper-rule: rgba(20, 16, 13, .14);
  --text: #f3eee5;
  --text-mute: #b7aca0;
  --text-ink: #1b1611;
  --text-ink-mute: #6b6055;
  --amber: #e9a84f;
  --amber-deep: #c98a34;
  --amber-ink: #8a5a1e; /* янтарь, читаемый на бумаге: 5,1:1 */
  --amber-veil: rgba(233, 168, 79, .12);

  /* шрифт */
  --f-display: "Spectral", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* ритм */
  --pad-x: clamp(20px, 5vw, 72px);
  --pad-y: clamp(64px, 9vw, 128px);
  --maxw: 1240px;
  --bar: 84px;
  --r: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 450;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* picture не должен создавать свой строчный бокс — иначе ломает
   max-width и aspect-ratio, заданные контейнерам фотографий */
picture { display: contents; }

a { color: inherit; }
ul { list-style: none; }

/* якоря не должны уезжать под фиксированную шапку */
[id] { scroll-margin-top: calc(var(--bar) + 18px); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: fixed;
  z-index: 90;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  border-radius: var(--r);
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}

.skip:focus-visible { transform: none; }

/* ---------- типографика ---------- */

h1, h2 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 6.4vw, 5.1rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.95rem, 4.2vw, 3.35rem);
  line-height: 1.08;
}

h3, h4 {
  margin: 0;
  font-family: var(--f-sans);
  letter-spacing: -.01em;
}

h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }

p { margin: 0; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--amber);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.lead {
  color: var(--text-mute);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.58;
}

/* ---------- точка: фирменный знак и индикатор ---------- */

.dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-mute);
  box-shadow: none;
}

.dot.is-open {
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(233, 168, 79, .5);
  animation: pulse 2.8s var(--ease) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(233, 168, 79, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(233, 168, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 168, 79, 0); }
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-mute);
}

.status-lg {
  margin-bottom: 22px;
  padding: 9px 16px 9px 13px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(30, 24, 20, .6);
  color: var(--text);
  backdrop-filter: blur(8px);
}

/* ---------- кнопки ---------- */

.btn {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn:active { transform: translateY(1px); }

/* излучина: блик пробегает по кнопкам записи */
.btn-amber::before,
.btn-ink::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 18%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-22deg) translateX(-160%);
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: button-shine 5s ease-in-out infinite;
  animation-delay: var(--shine-delay, 0s);
}

/* на тёмной кнопке overlay почти не виден — там нужен screen */
.btn-ink::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
}

@keyframes button-shine {
  0%   { transform: skewX(-22deg) translateX(-160%); }
  45%  { transform: skewX(-22deg) translateX(700%); }
  100% { transform: skewX(-22deg) translateX(700%); }
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
}

.btn-amber:hover {
  transform: translateY(-1px);
  background: #f2b862;
  box-shadow: 0 10px 24px rgba(233, 168, 79, .18);
}

.btn-line {
  border-color: var(--rule-strong);
  color: var(--text);
}

.btn-line:hover { border-color: var(--amber); color: var(--amber); }

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  transform: translateY(-1px);
  background: #2a221c;
  box-shadow: 0 10px 24px rgba(20, 16, 13, .22);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: .9375rem;
}

/* блики не должны вспыхивать в унисон, когда в кадре две кнопки */
.topbar-cta { --shine-delay: 1.2s; }
.mobile-menu .btn-amber { --shine-delay: .6s; }
.menu .btn-ink { --shine-delay: 2.1s; }
.contacts .btn-amber { --shine-delay: 3.2s; }
.dock .btn-amber { --shine-delay: 1.7s; }

.btn-block { width: 100%; }

.btn-wide {
  width: 100%;
  max-width: 380px;
}

/* ---------- шапка ---------- */

.topbar {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  height: var(--bar);
  padding-inline: var(--pad-x);
  background: linear-gradient(180deg, rgba(20, 16, 13, .96), rgba(20, 16, 13, .72));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

.topbar.is-scrolled {
  background: rgba(20, 16, 13, .96);
  border-bottom-color: var(--rule);
}

.brand {
  display: block;
  width: clamp(158px, 20vw, 226px);
  text-decoration: none;
}

.brand-logo { width: 100%; height: auto; }

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 38px);
}

.nav a {
  color: var(--text-mute);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s var(--ease);
}

.nav a:hover { color: var(--amber); }

.burger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r);
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}

.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- меню на мобильном ---------- */

.mobile-menu {
  position: fixed;
  z-index: 55;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--bar) + 24px) var(--pad-x) calc(28px + env(safe-area-inset-bottom));
  background: var(--ink);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}

.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu-nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  text-decoration: none;
}

.mobile-menu-foot {
  display: grid;
  gap: 18px;
  justify-items: start;
}

/* ---------- первый экран ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
  grid-template-areas:
    "copy  photo"
    "facts facts";
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  max-width: calc(var(--maxw) + 2 * var(--pad-x));
  margin-inline: auto;
  padding: calc(var(--bar) + clamp(28px, 5vw, 64px)) var(--pad-x) clamp(48px, 6vw, 88px);
}

.hero-copy { grid-area: copy; }
.hero-photo { grid-area: photo; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center 34%;
  border-radius: var(--r);
}

.hero .lead {
  max-width: 34em;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(16px, 3vw, 40px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.facts div { padding-right: 18px; }

.facts dt {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--amber);
}

.facts dd {
  margin: 6px 0 0;
  color: var(--text-mute);
  font-size: .875rem;
}

/* ---------- мастер / атмосфера ---------- */

.master,
.mood {
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  max-width: calc(var(--maxw) + 2 * var(--pad-x));
  margin-inline: auto;
  padding: var(--pad-y) var(--pad-x);
}

.master { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); }
.mood { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); }

.master-photo img,
.mood-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r);
}

.master-photo img { object-position: center 22%; }

.master .lead,
.mood .lead {
  margin-top: 20px;
  color: var(--text);
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.4;
}

.notes,
.line-list {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
}

.notes li,
.line-list li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text-mute);
  font-size: 1rem;
}

.notes li:first-child,
.line-list li:first-child { border-top: 1px solid var(--rule); }

.notes li::before,
.line-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  transform: translateY(-3px);
}

/* ---------- меню и цены (бумага) ---------- */

.menu {
  padding: var(--pad-y) var(--pad-x);
  background: var(--paper);
  color: var(--text-ink);
}

.menu > * {
  max-width: var(--maxw);
  margin-inline: auto;
}

.menu .eyebrow { color: var(--amber-ink); }

.menu-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.menu-note {
  color: var(--text-ink-mute);
  font-size: 1rem;
}

/* «что входит в сеанс» — объясняет, из чего складывается цена */
.included {
  margin-bottom: clamp(34px, 5vw, 60px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--paper-rule);
  border-radius: var(--r);
  background: rgba(233, 168, 79, .08);
}

.included h3 { margin-bottom: 20px; }

/* порядок записи — та же панель, но без янтарной заливки */
.booking-note {
  margin-top: clamp(38px, 5vw, 64px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--paper-rule);
  border-radius: var(--r);
  background: var(--paper-lift);
}

.booking-note h3 { margin-bottom: 20px; }

.included ul,
.booking-note ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px clamp(20px, 4vw, 56px);
  margin: 0;
  padding: 0;
}

/* не grid: <b> и текст рядом должны остаться одной строкой,
   в grid-контейнере они разъезжаются по разным ячейкам */
.included li,
.booking-note li {
  position: relative;
  padding-left: 21px;
  color: var(--text-ink-mute);
  font-size: .9375rem;
  line-height: 1.55;
}

.included li::before,
.booking-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-ink);
}

.included li b,
.booking-note li b {
  color: var(--text-ink);
  font-weight: 700;
}

.included-note {
  max-width: 68ch;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--paper-rule);
  color: var(--text-ink-mute);
  font-size: .9375rem;
}

.menu-group + .menu-group { margin-top: clamp(38px, 5vw, 64px); }

.menu-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--text-ink);
}

.menu-group h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-ink);
}

.group-note {
  max-width: 68ch;
  margin: 16px 0 4px;
  color: var(--text-ink-mute);
  font-size: .9375rem;
}

.items { margin: 0; padding: 0; }

/* «кому подойдёт» — отделяем от описания формата */
.item-text .who {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--paper-rule);
}

.item-text .who b {
  color: var(--amber-ink);
  font-weight: 700;
}

/* предостережения не должны выглядеть как ещё один плюс:
   маркер нейтральный, без янтаря */
.caution li::before { background: var(--text-ink-mute); }

.caution .group-note { margin: 0 0 20px; }

.item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 288px);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--paper-rule);
}

.item-lead h4 { font-size: clamp(1.125rem, 1.7vw, 1.3125rem); }

.item-text p {
  margin-top: 8px;
  max-width: 46em;
  color: var(--text-ink-mute);
  font-size: .9375rem;
  line-height: 1.55;
}

.rates {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rates li {
  display: grid;
  grid-template-columns: auto minmax(16px, 1fr) auto;
  align-items: end;
  gap: 8px;
  font-size: .9375rem;
}

/* точечная выноска от длительности к цене — как в бумажном меню.
   grid-row обязателен: без него псевдоэлемент занимает свою строку. */
.rates li::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  height: 0;
  margin-bottom: .34em;
  border-bottom: 1px dotted rgba(20, 16, 13, .34);
}

.rates span {
  grid-column: 1;
  grid-row: 1;
  color: var(--text-ink-mute);
  font-variant-numeric: tabular-nums;
}

.rates b {
  grid-column: 3;
  grid-row: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-cta { margin-top: clamp(34px, 5vw, 56px); }

/* ---------- отзывы ---------- */

.reviews {
  max-width: calc(var(--maxw) + 2 * var(--pad-x));
  margin-inline: auto;
  padding: var(--pad-y) var(--pad-x);
}

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.sources { display: flex; flex-wrap: wrap; gap: 10px; }

.ratings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 40px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ratings dt {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  color: var(--amber);
}

.ratings dd {
  margin: 8px 0 0;
  color: var(--text-mute);
  font-size: .875rem;
}

.review-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review {
  margin: 0;
  padding: 30px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--ink-lift);
}

.review blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

/* Имя человека — крупно и обычным регистром: это подпись живого автора,
   а не рубрика. Источник и дата — мелко, чтобы их можно было проверить. */
.review figcaption {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.review figcaption b {
  color: var(--text);
  font-size: .9375rem;
  font-weight: 700;
}

.review figcaption span {
  color: var(--text-mute);
  font-size: .8125rem;
  font-weight: 500;
}

/* ---------- контакты ---------- */

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
  max-width: calc(var(--maxw) + 2 * var(--pad-x));
  margin-inline: auto;
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid var(--rule);
}

.contacts .lead { margin-top: 20px; }
.contacts .btn-wide { margin-top: 32px; }

.contact-lines { margin: 0; display: grid; }

.contact-lines div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.contact-lines div:first-child { border-top: 1px solid var(--rule); }

.contact-lines dt {
  color: var(--amber);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-top: 4px;
}

.contact-lines dd { margin: 0; font-weight: 600; }

.contact-lines dd a {
  text-decoration: underline;
  text-decoration-color: var(--amber-deep);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.contact-lines dd a:hover { color: var(--amber); }

.contact-lines small {
  display: block;
  margin-top: 5px;
  color: var(--text-mute);
  font-size: .875rem;
  font-weight: 450;
}

/* ---------- документ (политика) ---------- */

.doc {
  max-width: calc(880px + 2 * var(--pad-x));
  margin-inline: auto;
  padding: calc(var(--bar) + clamp(36px, 6vw, 76px)) var(--pad-x) clamp(56px, 7vw, 96px);
}

.doc h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }

.doc-meta {
  margin-top: 16px;
  color: var(--text-mute);
  font-size: .9375rem;
}

.doc-body {
  margin-top: clamp(32px, 5vw, 52px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--rule);
}

.doc-body h2 {
  margin-top: clamp(32px, 4vw, 46px);
  font-family: var(--f-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.doc-body h2:first-child { margin-top: 0; }

.doc-body p,
.doc-body li {
  color: var(--text-mute);
  font-size: 1rem;
  line-height: 1.65;
}

.doc-body p { margin-top: 14px; }

.doc-body ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}

.doc-body li {
  position: relative;
  padding-left: 21px;
}

.doc-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.doc-body b { color: var(--text); }

.doc-body a {
  color: var(--amber);
  text-underline-offset: 4px;
}

/* незаполненные реквизиты видно сразу — страницу нельзя публиковать с ними */
.fill {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(233, 168, 79, .22);
  color: var(--amber) !important;
}

.doc-back { display: none; }

.doc-cta { margin-top: clamp(40px, 5vw, 60px); }

@media (max-width: 860px) {
  .doc-back { display: inline-flex; }
}

/* ---------- подвал ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--maxw) + 2 * var(--pad-x));
  margin-inline: auto;
  padding: 30px var(--pad-x) 34px;
  border-top: 1px solid var(--rule);
  color: var(--text-mute);
  font-size: .9375rem;
}

.footer p { margin: 0; }

/* подпись разработчика — тише остального подвала, но кликабельна */
.footer-credit {
  margin: 0;
  font-size: .875rem;
}

.footer-credit a {
  color: var(--text-mute);
  text-decoration: underline;
  text-decoration-color: rgba(243, 238, 229, .3);
  text-underline-offset: 4px;
}

.footer-credit a:hover {
  color: var(--amber);
  text-decoration-color: var(--amber);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(18px, 3vw, 32px);
}

.footer a {
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover { color: var(--amber); }

/* ---------- нижняя панель записи (мобильная) ---------- */

.dock {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px var(--pad-x) calc(12px + env(safe-area-inset-bottom));
  background: rgba(20, 16, 13, .94);
  border-top: 1px solid var(--rule);
  backdrop-filter: blur(16px);
  transform: translateY(110%);
  transition: transform .32s var(--ease);
}

.dock.is-up { transform: none; }

.dock-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text-mute);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- появление при прокрутке ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Адаптив
   ========================================================= */

@media (max-width: 1040px) {
  .menu-head { grid-template-columns: 1fr; align-items: start; }

  .item { grid-template-columns: minmax(0, 1fr) minmax(200px, 250px); }
}

@media (max-width: 900px) {
  .master,
  .mood,
  .contacts { grid-template-columns: 1fr; }

  .master-photo,
  .mood-photo { max-width: 420px; }

  .mood-photo { order: -1; }
}

@media (max-width: 860px) {
  /* первый экран складывается там же, где прячется навигация */
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "copy" "facts";
    align-items: start;
  }

  .hero-photo img { aspect-ratio: 16 / 9; object-position: center 30%; }

  .nav,
  .topbar-cta { display: none; }

  .burger { display: block; }

  .topbar { grid-template-columns: 1fr auto; }

  body { padding-bottom: 78px; }

  .dock { display: flex; }

  .facts,
  .ratings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }

  /* в двух колонках строки рвутся — ниже 860 читается только в одну */
  .included ul,
  .booking-note ul { grid-template-columns: 1fr; }

  .review-rail {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--pad-x));
    padding-inline: var(--pad-x);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .review-rail::-webkit-scrollbar { display: none; }

  .review {
    flex: 0 0 min(82%, 380px);
    scroll-snap-align: start;
  }
}

@media (max-width: 620px) {
  :root { --bar: 72px; }

  body { font-size: 16.5px; }

  .hero {
    padding-top: calc(var(--bar) + 18px);
    gap: 26px;
  }

  .hero-photo {
    margin-inline: calc(-1 * var(--pad-x));
  }

  .hero-photo img {
    aspect-ratio: 4 / 3.4;
    border-radius: 0;
  }

  .hero-actions { display: grid; gap: 10px; margin-top: 26px; }

  .facts { padding-top: 24px; }

  .master-photo,
  .mood-photo { max-width: none; }

  .master-photo img,
  .mood-photo img { aspect-ratio: 4 / 3.6; }

  /* при широком кадре портрет мастера иначе обрезается по подбородок */
  .master-photo img { object-position: center 3%; }

  .item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }


  .rates { gap: 10px; }

  .rates li { font-size: 1rem; }

  .contact-lines div { grid-template-columns: 1fr; gap: 6px; }

  .contact-lines dt { padding-top: 0; }

  .btn-wide { max-width: none; }
}

/* ---------- бережно к движению ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal { opacity: 1; transform: none; }

  .btn-amber::before,
  .btn-ink::before { display: none; }
}
