/* ND.BODY — Relax & Massage
   Палитра взята из студии: тёплые белые стены, графитовая стена,
   серый мрамор, светлый дуб, бежевый текстиль + тёмно-синий лотос из логотипа. */

/* ---------- Шрифты (локально, без Google Fonts) ---------- */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-cyrillic-wght-normal.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: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext-wght-normal.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: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.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: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/lora-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/lora-latin-ext-wght-normal.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: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/lora-latin-wght-normal.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: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/lora-cyrillic-wght-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/lora-latin-ext-wght-italic.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: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("../fonts/lora-latin-wght-italic.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; }

/* ---------- Токены ---------- */
:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --sand: #efe9e0;
  --line: #e2dbd0;
  --ink: #2b2623;
  --muted: #6b645d;
  --graphite: #2c2e31;
  --graphite-2: #393b3f;
  --on-dark: #f1ede7;
  --on-dark-muted: #b8b2aa;
  --navy: #2f3d6b;
  --navy-hover: #25315a;
  --oak: #b98d5c;
  --oak-soft: #ead9c3;
  --green: #3e5a49;

  --font-serif: "Lora", "Georgia", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(43 38 35 / 4%), 0 12px 32px -12px rgb(43 38 35 / 14%);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: clamp(16px, 1.05vw + 12px, 17px); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Типографика ---------- */
.display {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(40px, 5.4vw, 70px); line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 24px; text-wrap: balance;
}
.display em { font-style: italic; color: var(--navy); }
.h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(30px, 3.3vw, 44px); line-height: 1.15; letter-spacing: -0.015em;
  margin-bottom: 18px; text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.3vw + 10px, 19px); color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--oak-soft); }

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 15px/1 var(--font-sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { font-size: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--navy); --btn-fg: #fff; box-shadow: 0 10px 24px -12px rgb(47 61 107 / 60%); }
.btn--primary:hover { --btn-bg: var(--navy-hover); transform: translateY(-1px); }
.btn--ghost { border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--soft { --btn-bg: var(--sand); }
.btn--soft:hover { --btn-bg: var(--oak-soft); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 44px; height: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-weight: 700; font-size: 19px; letter-spacing: .06em; color: #3d3330; }
.logo__tag { margin-top: 5px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(0 0 0 / 30%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav__list a { position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); padding: 6px 0; transition: color .2s; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__list a:hover, .nav__list a.is-active { color: var(--ink); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__lang { display: none; }
.header__actions { margin-left: 0; }

.lang-pill {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.lang-pill:hover { border-color: var(--ink); color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; position: relative; }
.burger__bar, .burger__bar::before, .burger__bar::after {
  position: absolute; left: 50%; width: 18px; height: 1.6px; margin-left: -9px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s;
}
.burger__bar { top: 50%; }
.burger__bar::before, .burger__bar::after { content: ""; left: 0; margin-left: 0; }
.burger__bar::before { transform: translateY(-6px); }
.burger__bar::after { transform: translateY(6px); }
.burger[aria-expanded="true"] .burger__bar { background: transparent; }
.burger[aria-expanded="true"] .burger__bar::before { transform: rotate(45deg); background: var(--ink); }
.burger[aria-expanded="true"] .burger__bar::after { transform: rotate(-45deg); background: var(--ink); }

@media (max-width: 960px) {
  .burger { display: inline-block; }
  .header__actions { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 28px var(--gutter) 40px;
    background: var(--bg); display: flex; flex-direction: column; gap: 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 16px 0; font-family: var(--font-serif); font-size: 24px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__lang { display: inline-block; color: var(--navy); font-weight: 600; text-decoration: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .header .btn--sm { display: none; }
  .logo img { width: 38px; }
  .logo__name { font-size: 17px; }
}

/* ---------- Секции ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand); }
.section--dark {
  color: var(--on-dark);
  background-color: var(--graphite);
  /* фактура микроцемента, как на акцентной стене студии */
  background-image:
    radial-gradient(1200px 500px at 15% 10%, rgb(255 255 255 / 6%), transparent 60%),
    radial-gradient(900px 600px at 90% 90%, rgb(0 0 0 / 22%), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark .lead, .section--dark p { color: var(--on-dark-muted); }
.section__head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .lead { margin-inline: auto; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

/* Арка — как узор на визитке */
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 44px; }
.hero__media { position: relative; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.hero__media::before {
  content: ""; position: absolute; z-index: -1; inset: auto -40px -40px auto; width: 70%; aspect-ratio: 1;
  border-radius: 50%; background: var(--oak-soft); opacity: .6;
}
.hero__media img { object-position: 30% 60%; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; }
.fact dt { font-family: var(--font-serif); font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; line-height: 1.1; color: var(--ink); }
.fact dd { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); max-width: 16ch; line-height: 1.4; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; width: 100%; justify-self: center; aspect-ratio: 5 / 5.6; }
  .hero__media::before { display: none; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px 14px; }
  .fact dt { font-size: 22px; white-space: nowrap; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- О студии ---------- */
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about .h2 { color: #fff; }
.about__p { font-size: 18px; max-width: 58ch; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pillar { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 16%); }
.pillar__n { display: block; font-size: 12px; letter-spacing: .14em; color: var(--oak); margin-bottom: 10px; }
.pillar h3 { font-family: var(--font-serif); font-size: 21px; color: #fff; margin-bottom: 6px; }
.pillar p { font-size: 15px; margin: 0; }
.about__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; aspect-ratio: 4 / 3.4; }
}
@media (max-width: 640px) { .pillars { grid-template-columns: 1fr; gap: 0; } .pillar { padding-block: 18px; } }

/* ---------- Кому подходит ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 960px; margin-inline: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 15.5px; font-weight: 500;
}
.chip svg { color: var(--green); font-size: 18px; }

/* ---------- Услуги ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.service {
  background: var(--surface); border-radius: var(--radius); padding: 28px 26px 26px;
  border: 1px solid transparent; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service:hover { border-color: var(--oak-soft); transform: translateY(-3px); box-shadow: var(--shadow); }
.service__n { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--oak); margin-bottom: 26px; }
.service__name { font-family: var(--font-serif); font-size: 21px; line-height: 1.15; margin-bottom: 10px; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Цены ---------- */
.paynote {
  display: flex; align-items: center; gap: 16px; margin: 28px auto 0; padding: 16px 18px 16px 16px;
  background: var(--sand); border-radius: var(--radius); text-align: left;
}
.paynote__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--navy); font-size: 22px; flex: none; }
.paynote__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.paynote__text strong { color: var(--ink); font-weight: 600; }
.paynote__link {
  display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 10px 16px; border-radius: 999px;
  background: var(--surface); color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s;
}
.paynote__link:hover { background: var(--navy); color: #fff; }
.paynote__link svg { font-size: 16px; }
@media (max-width: 640px) {
  .paynote { flex-wrap: wrap; align-items: flex-start; }
  .paynote__text { flex: 1 1 calc(100% - 60px); }
  .paynote__link { margin-left: 60px; }
}
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 24px;
}
.price--popular { border-color: var(--navy); box-shadow: 0 24px 48px -28px rgb(47 61 107 / 45%); }
.price__badge {
  position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .03em;
}
.price__time { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--muted); font-weight: 600; font-size: 15px; }
.price__eur { font-family: var(--font-serif); font-size: 54px; font-weight: 500; line-height: 1; margin: 0 0 14px; }
.price__eur span { font-size: 26px; margin-left: 4px; color: var(--muted); }
.price__hint { color: var(--muted); font-size: 14.5px; line-height: 1.5; flex: 1; margin-bottom: 22px; }
@media (max-width: 1000px) { .prices { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
@media (max-width: 520px) {
  .prices { grid-template-columns: 1fr; }
  .price { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; padding: 24px 20px 20px; }
  .price__time { grid-column: 1; }
  .price__eur { grid-column: 2; grid-row: 1 / span 2; font-size: 44px; margin: 0; align-self: center; }
  .price__hint { grid-column: 1; margin: 0; }
  .price .btn { grid-column: 1 / -1; margin-top: 14px; }
}

/* ---------- Мастер ---------- */
.master__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.master__media { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.master__media img { object-position: 20% 30%; }
.master__role { font-size: 18px; color: var(--navy); font-weight: 600; margin-top: -6px; }
.creds { display: grid; gap: 18px; margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.creds dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.creds dd { margin: 4px 0 0; font-family: var(--font-serif); font-size: 19px; line-height: 1.25; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { font-size: 20px; color: var(--green); margin-top: 3px; }
@media (max-width: 960px) {
  .master__grid { grid-template-columns: 1fr; }
  .master__media { max-width: 440px; width: 100%; justify-self: center; order: 2; }
}

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 16px; }
.gallery__item:nth-child(1) { grid-row: span 2; }
.gallery__item:nth-child(2) { grid-row: span 2; }
.gallery__item:nth-child(3) { grid-row: span 2; }
.gallery__item:nth-child(4), .gallery__item:nth-child(5) { grid-column: span 1; }
.gallery__item:nth-child(4) { grid-column: 1 / span 2; }
.gallery figure { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px;
  background: rgb(247 245 241 / 88%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 600;
}
@media (max-width: 960px) {
  .gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery__item { flex: 0 0 min(78vw, 360px); aspect-ratio: 3 / 4; scroll-snap-align: start; }
}

/* ---------- Правила ---------- */
.rules { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.rules .section__head { margin-bottom: 0; }
.rules__list { counter-reset: r; display: grid; gap: 0; }
.rules__list li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.rules__list li:first-child { padding-top: 0; }
.rules__list li::before { content: counter(r, decimal-leading-zero); font-family: var(--font-serif); font-size: 22px; line-height: 1.2; color: var(--oak); }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } .rules__list li { grid-template-columns: 44px 1fr; } }

/* ---------- Запись ---------- */
.booking__card {
  background: var(--surface); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: clamp(8px, 1.5vw, 16px); max-width: 1040px; margin-inline: auto;
}
.booking__embed { min-height: 620px; width: 100%; overflow: auto; border-radius: var(--radius); }
.booking__loading { min-height: 620px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); }
.booking__embed.is-ready .booking__loading,
.booking__embed:has(cal-inline) .booking__loading { display: none; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--navy); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking__fallback { text-align: center; color: var(--muted); font-size: 15px; margin-top: 22px; }
.booking__fallback a { color: var(--navy); font-weight: 600; }

/* ---------- Контакты ---------- */
.contacts { padding-block: clamp(56px, 8vw, 96px); }
.contacts .h2 { color: #fff; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.contacts__note { max-width: 42ch; }
.contacts__list { display: grid; gap: 12px; }
.contacts__list li {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%);
}
.contacts__list svg { font-size: 22px; color: var(--oak-soft); }
.contacts__list span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.contacts__list a, .contacts__list p { color: #fff; font-size: 18px; font-weight: 600; text-decoration: none; margin: 0; word-break: break-word; }
.contacts__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .contacts__grid { grid-template-columns: 1fr; } }

/* ---------- Подвал ---------- */
.footer { padding-block: 32px calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer a:not(.logo) { color: var(--navy); font-weight: 600; font-size: 14px; text-decoration: none; }

/* ---------- Плавающая кнопка на телефоне ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: inline-flex; position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .mobile-cta.is-visible { transform: none; }
  body.nav-open .mobile-cta { transform: translateY(140%); }
}

/* ---------- Корневая страница / 404 ---------- */
.splash { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(800px 500px at 50% 0%, var(--surface), transparent 70%), var(--bg); }
.splash__card { text-align: center; max-width: 440px; }
.splash__logo { width: 120px; margin: 0 auto 22px; }
.splash__name { font-family: var(--font-sans); font-weight: 700; letter-spacing: .08em; font-size: 40px; color: #3d3330; }
.splash__tag { letter-spacing: .24em; text-transform: uppercase; color: var(--navy); font-size: 13px; margin: 8px 0 34px; }
.splash__choices { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.splash__choices .btn { min-width: 160px; }

/* ---------- Анимация появления ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
