/* =====================================================================
   LUNA Nails & Beauty — стили
   ---------------------------------------------------------------------
   Основные цвета — CSS-переменные ниже. Их же можно переопределить
   в config.js (раздел colors) — так удобнее, править можно только там.
   ===================================================================== */

:root {
  /* --- Палитра --- */
  --bg: #FAF6F1;            /* основной фон, молочный */
  --bg-alt: #F3EBE3;        /* фон чередующихся секций */
  --surface: #FFFFFF;       /* карточки */
  --accent: #D9A5A0;        /* пудрово-розовый акцент */
  --accent-dark: #B97F79;   /* акцент при наведении */
  --accent-soft: #F4E1DD;   /* светлая розовая подложка */
  --gold: #C2A06B;          /* золотые детали */
  --text: #2E2B2A;          /* графитовый текст */
  --text-muted: #7A716C;    /* второстепенный текст */
  --line: rgba(46, 43, 42, .10);

  /* --- Шрифты --- */
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- Формы и тени --- */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(80, 55, 45, .06);
  --shadow: 0 14px 40px -12px rgba(80, 55, 45, .18);
  --shadow-lg: 0 30px 70px -20px rgba(80, 55, 45, .28);

  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Базовые стили ---------- */
*, *::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;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; color: var(--accent-dark); }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

.section { padding: 80px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 40px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head h2 { font-size: clamp(36px, 7vw, 54px); }
.section-head p { margin-top: 16px; color: var(--text-muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.btn--primary { background: var(--text); color: #fff; box-shadow: 0 10px 24px -10px rgba(46, 43, 42, .5); }
.btn--primary::after {
  /* мягкий блик при наведении */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(185, 127, 121, .7); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { border: 1px solid rgba(46, 43, 42, .25); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: var(--text); color: #fff; }
.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: var(--text); color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11px; }
.btn--lg { min-height: 56px; padding: 0 34px; }
.btn--block { width: 100%; }

.link-btn { color: var(--text-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--accent-dark); }

/* ---------- 1. Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 246, 241, .86);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
/* backdrop-filter «запирает» position:fixed внутри шапки — при открытом меню отключаем его */
.header.menu-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; position: relative; z-index: 2; }
.logo__mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-serif); font-size: 26px; font-weight: 600; letter-spacing: .28em; }
.logo__suffix { font-size: 8.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

.nav__list a {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: .04em;
  transition: color .3s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--accent-dark); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__list a:hover { color: var(--accent-dark); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__list a.is-active { color: var(--accent-dark); }

/* Бургер */
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; position: relative; z-index: 2; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.header__cta { display: none; }

/* Мобильное меню — полноэкранная панель */
@media (max-width: 1079px) {
  .nav {
    position: fixed; inset: 0; z-index: 1;
    background: var(--bg);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px;
    padding: calc(var(--header-h) + 20px) 24px 40px;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .nav__list li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav__list a { font-family: var(--font-serif); font-size: 32px; font-weight: 500; letter-spacing: 0; }
  .nav__cta { min-width: 240px; }
}
@media (min-width: 640px) and (max-width: 1079px) {
  .header__cta { display: inline-flex; }
}
@media (min-width: 1080px) {
  .burger, .header__cta { display: none; }
  .nav { display: flex; align-items: center; gap: 36px; }
  .nav__list { display: flex; gap: 30px; }
  .nav__cta { min-height: 42px; padding: 0 22px; font-size: 11px; }
}

/* ---------- 2. Главный экран ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 32px) 0 72px;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 20%, var(--accent-soft) 0%, transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(194, 160, 107, .12) 0%, transparent 70%),
    var(--bg);
}
.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(44px, 11vw, 84px); line-height: 1.02; margin-bottom: 22px; }
.hero__title em { display: inline-block; }
.hero__subtitle { font-size: 16px; color: var(--text-muted); max-width: 500px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__actions .btn { flex: 1 1 200px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 1px solid var(--line); padding-top: 26px; }
.stats li { position: relative; }
.stats li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.stats__value { display: block; font-family: var(--font-serif); font-size: clamp(30px, 8vw, 44px); line-height: 1; font-weight: 600; white-space: nowrap; }
.stats__value .stars-mini { color: var(--gold); font-size: .55em; vertical-align: middle; margin-left: 2px; }
.stats__label { display: block; font-size: 11.5px; line-height: 1.4; color: var(--text-muted); margin-top: 8px; }

.hero__visual { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.hero__arch {
  position: relative; z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--accent-soft);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero__visual:hover .hero__arch img { transform: scale(1.08); }
.hero__ring {
  position: absolute; z-index: 0; inset: -18px -18px 30px 18px;
  border: 1px solid var(--gold); opacity: .55;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.hero__dot { position: absolute; z-index: 2; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); top: 22%; right: -7px; box-shadow: 0 0 0 6px rgba(194, 160, 107, .18); }
.hero__badge {
  position: absolute; z-index: 2; left: -10px; bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px; box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.hero__badge-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.hero__badge-icon svg { width: 22px; height: 22px; }
.hero__badge strong { display: block; font-family: var(--font-serif); font-size: 22px; line-height: 1; font-weight: 600; }
.hero__badge span { font-size: 12px; color: var(--text-muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (min-width: 900px) {
  .hero { padding: calc(var(--header-h) + 56px) 0 100px; min-height: 100vh; display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__badge { left: -40px; }
}

/* ---------- Иконки (общие) ---------- */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Преимущества ---------- */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.feature__icon {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
  margin-bottom: 22px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature:hover .feature__icon { background: var(--accent); color: #fff; }
.feature h3 { font-size: 26px; margin-bottom: 10px; }
.feature p { color: var(--text-muted); font-size: 14px; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 4. Услуги и цены ---------- */
.tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -20px 28px; padding: 4px 20px;
  -webkit-overflow-scrolling: touch;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tab:hover { border-color: var(--accent); }
.tab[aria-selected="true"] { background: var(--text); color: #fff; border-color: var(--text); }
@media (min-width: 760px) { .tabs { justify-content: center; margin: 0 0 36px; padding: 4px; } }

.price-panel { display: grid; gap: 14px; }
.price-panel[hidden] { display: none; }
.price-panel.is-entering .service { animation: fadeUp .55s var(--ease) both; }
.price-panel.is-entering .service:nth-child(2) { animation-delay: .06s; }
.price-panel.is-entering .service:nth-child(3) { animation-delay: .12s; }
.price-panel.is-entering .service:nth-child(4) { animation-delay: .18s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.service {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start;
  background: var(--surface); border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service__name { font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1.15; }
.service__price { font-family: var(--font-serif); font-size: 24px; font-weight: 600; color: var(--accent-dark); white-space: nowrap; text-align: right; }
.service__desc { grid-column: 1 / -1; font-size: 13.5px; color: var(--text-muted); }
.service__footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.service__time { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
.service__time .icon { width: 16px; height: 16px; }
.service__book {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark);
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.service__book .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.service__book:hover { background: var(--accent-dark); color: #fff; }
.service__book:hover .icon { transform: translateX(3px); }
.price-note { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 28px; }
@media (min-width: 760px) { .price-panel { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* ---------- 5. Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; grid-auto-flow: dense; gap: 10px; }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  background: var(--accent-soft); cursor: zoom-in;
}
.gallery__item:nth-child(5n + 1) { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .6s; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(46, 43, 42, .45));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__zoom {
  position: absolute; z-index: 1; right: 12px; bottom: 12px;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--text);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery__zoom .icon { width: 18px; height: 18px; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after, .gallery__item:hover .gallery__zoom { opacity: 1; transform: none; }
.gallery-more { text-align: center; margin-top: 36px; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
  .gallery__item { border-radius: var(--radius); }
  .gallery__item:nth-child(5n + 1) { grid-row: auto; }
  .gallery__item:nth-child(4n + 1) { grid-row: span 2; }
}
@media (min-width: 1024px) { .gallery { grid-auto-rows: 260px; } }

/* Лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28, 24, 23, .94);
  padding: 60px 12px;
  opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-width: 1100px; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox__img {
  max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  touch-action: pan-y;
}
.lightbox__img.is-loading { opacity: 0; transform: scale(.98); }
.lightbox__caption { color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .04em; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
  transition: background-color .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
@media (max-width: 640px) {
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

/* ---------- 6. Мастера ---------- */
.masters { display: grid; gap: 22px; grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.master { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.master:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.master__photo { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--accent-soft); }
.master__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.master:hover .master__photo img { transform: scale(1.05); }
.master__exp {
  position: absolute; left: 16px; bottom: 16px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 6px;
}
.master__exp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.master__body { padding: 24px 26px 28px; }
.master__name { font-size: 28px; margin-bottom: 4px; }
.master__role { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px; }
.master__spec { font-size: 14px; color: var(--text-muted); }
@media (min-width: 760px) { .masters { grid-template-columns: repeat(3, 1fr); max-width: none; } }

/* ---------- 7. Отзывы ---------- */
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 20px 26px; margin: 0 -20px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-padding: 0 20px;
}
.slider__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; position: relative;
}
.review::before {
  content: "\201C"; position: absolute; top: 4px; right: 24px;
  font-family: var(--font-serif); font-size: 110px; line-height: 1; color: var(--accent-soft);
}
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 18px; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.stars .is-empty { color: rgba(194, 160, 107, .25); }
.review__text { font-family: var(--font-serif); font-size: 20px; line-height: 1.45; flex: 1; position: relative; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent)); color: #fff;
  font-family: var(--font-serif); font-size: 20px; font-weight: 600;
}
.review__name { font-weight: 600; font-size: 14px; }
.review__meta { font-size: 12px; color: var(--text-muted); }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 6px; }
.slider__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.slider__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slider__arrow:hover { background: var(--text); color: #fff; border-color: var(--text); }
.slider__arrow:disabled { opacity: .35; pointer-events: none; }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(46, 43, 42, .18); transition: width .35s var(--ease), background-color .35s var(--ease); }
.slider__dots button.is-active { width: 26px; background: var(--accent-dark); }
@media (min-width: 640px) { .slider__track { grid-auto-columns: calc((100% - 16px) / 2); margin: 0; padding: 6px 0 26px; scroll-padding: 0; } }
@media (min-width: 1024px) { .slider__track { grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; } }

/* ---------- 8. Акция ---------- */
.promo {
  position: relative; overflow: hidden;
  display: grid; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #E9B9B2 0%, var(--accent) 45%, var(--accent-dark) 100%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 70%, #fff) 0%, var(--accent) 45%, var(--accent-dark) 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.promo::before, .promo::after {
  /* декоративные круги */
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); pointer-events: none;
}
.promo::before { width: 340px; height: 340px; left: -120px; top: -160px; }
.promo::after { width: 220px; height: 220px; left: 40%; bottom: -150px; }
.promo__content { position: relative; z-index: 1; padding: 40px 28px; }
.promo__label {
  display: inline-block; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35);
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.promo__title { font-size: clamp(40px, 10vw, 64px); line-height: 1; margin-bottom: 18px; }
.promo__title em { color: #fff; font-size: 1.25em; }
.promo__text { opacity: .92; max-width: 440px; margin-bottom: 28px; }
.promo__note { font-size: 12px; opacity: .75; margin-top: 14px; }
.promo__media { position: relative; min-height: 240px; }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) {
  .promo { grid-template-columns: 1.2fr 1fr; }
  .promo__content { padding: 64px 56px; }
  .promo__media { min-height: 0; clip-path: ellipse(85% 100% at 100% 50%); }
}

/* ---------- 9. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease); }
.faq__item.is-open { box-shadow: var(--shadow); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 22px; text-align: left;
  font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.25;
}
.faq__icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); transition: background-color .3s var(--ease), transform .4s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--accent-dark);
  transform: translate(-50%, -50%); transition: transform .4s var(--ease), background-color .3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--accent-dark); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq__a p { padding: 0 22px 24px; color: var(--text-muted); }
@media (min-width: 760px) { .faq__q { padding: 24px 30px; font-size: 23px; } .faq__a p { padding: 0 30px 26px; } }

/* ---------- 10. Форма записи ---------- */
.booking { display: grid; gap: 36px; align-items: start; }
.booking__intro h2 { font-size: clamp(36px, 7vw, 54px); margin-bottom: 16px; }
.booking__intro > p { color: var(--text-muted); margin-bottom: 26px; }
.booking__perks { display: grid; gap: 12px; }
.booking__perks li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.booking__perks .icon { width: 20px; height: 20px; color: var(--accent-dark); flex: none; }
.booking__card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px 20px; box-shadow: var(--shadow); position: relative; }
@media (min-width: 900px) {
  .booking { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .booking__intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .booking__card { padding: 44px 40px; }
}

.form { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; gap: 18px; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; font-size: 16px; /* 16px — чтобы iPhone не увеличивал страницу */
  color: var(--text); background: var(--bg);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: #ADA49F; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field input[type="date"] { line-height: 1.5; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.select select { padding-right: 44px; cursor: pointer; }
.field.is-invalid input, .field.is-invalid select { border-color: #D2625A; background: #FDF3F2; }
.field__error { min-height: 0; font-size: 12px; color: #C24E46; display: none; }
.field.is-invalid .field__error { display: block; }
.field.is-highlight select { animation: pulse 1.2s var(--ease); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 165, 160, .7); } 100% { box-shadow: 0 0 0 14px rgba(217, 165, 160, 0); } }
.form__privacy { font-size: 11.5px; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* Сообщение «Дякуємо» */
.success { text-align: center; padding: 20px 4px; animation: fadeUp .6s var(--ease) both; }
.success[hidden] { display: none; }
.success__icon { width: 84px; height: 84px; margin: 0 auto 22px; }
.success__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--accent-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.success__icon circle { stroke: var(--accent); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.success__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success__title { font-size: 48px; margin-bottom: 12px; outline: none; }
.success__text { color: var(--text-muted); max-width: 420px; margin: 0 auto 26px; }
.success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.btn--tg { background: #2AABEE; color: #fff; }
.btn--tg:hover { background: #1E96D3; transform: translateY(-2px); }
.btn--viber { background: #7360F2; color: #fff; }
.btn--viber:hover { background: #5D4BD8; transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

/* ---------- 11. Контакты ---------- */
.contacts { display: grid; gap: 22px; }
.contacts__info { background: var(--surface); border-radius: var(--radius-lg); padding: 30px 24px; box-shadow: var(--shadow-sm); display: grid; gap: 26px; align-content: start; }
.contact-row { display: flex; gap: 16px; }
.contact-row__icon { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); }
.contact-row__icon .icon { width: 20px; height: 20px; }
.contact-row h3 { font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact-row p, .contact-row a { font-size: 16px; }
.contact-row a:hover { color: var(--accent-dark); }
.contact-row small { display: block; color: var(--text-muted); font-size: 13px; }
.contact-row .phone-link { font-family: var(--font-serif); font-size: 26px; font-weight: 600; }
.schedule { display: grid; gap: 2px; }
.schedule div { display: flex; justify-content: space-between; gap: 16px; max-width: 260px; }

.socials { display: flex; gap: 10px; }
.social {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-3px); }

.contacts__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; box-shadow: var(--shadow-sm); background: var(--bg-alt); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(.35) sepia(.12); }
@media (min-width: 900px) { .contacts { grid-template-columns: 1fr 1.3fr; gap: 28px; } .contacts__info { padding: 40px; } }

/* ---------- 12. Подвал ---------- */
.footer { background: var(--text); color: rgba(255,255,255,.7); padding: 60px 0 calc(100px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; gap: 32px; }
.footer .logo__name { color: #fff; }
.footer .logo__suffix { color: rgba(255,255,255,.55); }
.footer__text { margin-top: 16px; max-width: 320px; font-size: 14px; }
.footer h4 { font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer__list { display: grid; gap: 8px; font-size: 14px; }
.footer__list a:hover { color: #fff; }
.footer .social { border-color: rgba(255,255,255,.2); color: #fff; }
.footer__bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: 12.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (min-width: 760px) { .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer { padding-bottom: 40px; } }

/* ---------- Плавающая кнопка записи (только телефон) ---------- */
.sticky-cta {
  position: fixed; z-index: 40; left: 16px; right: 80px; bottom: calc(14px + env(safe-area-inset-bottom));
  min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; background: var(--text); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 14px 30px -10px rgba(46, 43, 42, .55);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.sticky-cta .icon { width: 18px; height: 18px; }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ---------- Кнопка «наверх» ---------- */
.to-top {
  position: fixed; z-index: 40; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background-color .3s, color .3s;
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-dark); color: #fff; }
@media (min-width: 760px) { .to-top { right: 28px; bottom: 28px; } }

/* ---------- Анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 110px 0; }
  .section--tight { padding: 50px 0; }
  .section-head { margin-bottom: 60px; }
  .container { padding: 0 32px; }
}
