/* =========================================================
   «Код Души» — общественная баня в Орске
   Публичная страница. Тёмная тёплая тема: дерево, пар, янтарь.
   ========================================================= */

:root {
  --bg: #0b0704;
  --bg-deep: #080503;
  --bg-soft: #110b07;
  --panel: #171009;
  --panel-2: #1d140c;
  --text: #f2e7d7;
  --text-soft: #d9c9b5;
  --muted: #b3a08b;
  --muted-dim: #97836d;
  --amber: #e6b276;
  --amber-bright: #f5d6a6;
  --amber-deep: #bc8248;
  --line: rgba(230, 178, 118, 0.16);
  --line-strong: rgba(230, 178, 118, 0.34);
  --line-soft: rgba(230, 178, 118, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #4a3521 var(--bg);
}

html.is-locked,
html.is-locked body,
html.is-menu-open,
html.is-menu-open body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(230, 178, 118, 0.3);
  color: #fff7ec;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #1a1006;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Общие элементы ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
    border-color 0.35s var(--ease), color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, #f3d3a2 0%, #e0ab6c 48%, #c98a4d 100%);
  color: #1d1105;
  box-shadow: 0 14px 34px -16px rgba(230, 178, 118, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -16px rgba(230, 178, 118, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--amber);
  background: rgba(230, 178, 118, 0.07);
  color: var(--amber-bright);
  transform: translateY(-2px);
}

.btn--small {
  min-height: 42px;
  padding: 0 22px;
  font-size: 10.5px;
}

.btn--large {
  min-height: 56px;
  padding: 0 34px;
  font-size: 12px;
}

.icon-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.icon-phone {
  display: none;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--amber);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.kicker__line {
  width: 40px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--amber), rgba(230, 178, 118, 0));
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 138px) 0;
}

.section[id] {
  scroll-margin-top: 96px;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 66px);
}

.section__kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section__kicker span {
  color: var(--muted-dim);
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.section__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--text);
  text-wrap: balance;
}

.section__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}

.section__head-aside {
  padding-bottom: 8px;
}

.section__head-aside p {
  max-width: 40ch;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.section__head-aside p + p {
  margin-top: 14px;
}

/* ---------- Шапка ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.topbar.is-scrolled {
  background: rgba(9, 6, 3, 0.985);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
  transition: min-height 0.35s var(--ease);
}

.topbar.is-scrolled .topbar__inner {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
  transition: transform 0.8s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(12deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.015em;
}

.brand__place {
  color: var(--muted-dim);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  margin-left: auto;
}

.nav__link {
  position: relative;
  color: var(--text-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover {
  color: var(--amber-bright);
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--line-strong);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--text);
  transition: transform 0.35s var(--ease);
}

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

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

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: calc(100svh - var(--header-h));
  max-height: calc(100svh - var(--header-h));
  padding: 16px var(--gutter) max(26px, calc(env(safe-area-inset-bottom, 0px) + 18px));
  overflow-y: auto;
  background: #0a0603;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  animation: menuIn 0.3s var(--ease);
}

.mobile-nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: 21px;
  text-decoration: none;
}

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

.mobile-nav__cta {
  margin-top: auto;
  margin-bottom: 0;
  border-bottom: 0 !important;
  color: #1d1105 !important;
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(720px, 100svh);
  padding-top: calc(var(--header-h) + clamp(40px, 9vh, 110px));
  padding-bottom: clamp(26px, 4vh, 52px);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #1a1109;
}

.hero__photo {
  position: absolute;
  inset: -2%;
  background-color: #22160c;
  background-position: center 38%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.07);
  filter: saturate(0.82) brightness(0.8) contrast(1.03);
  transition: opacity 1.6s var(--ease), transform 3s var(--ease);
}

.hero__photo.is-ready {
  opacity: 1;
  transform: scale(1);
}

.hero__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(9, 6, 3, 0.74) 0%,
      rgba(9, 6, 3, 0.3) 34%,
      rgba(9, 6, 3, 0.78) 76%,
      var(--bg) 100%
    ),
    linear-gradient(
      92deg,
      rgba(9, 6, 3, 0.9) 0%,
      rgba(9, 6, 3, 0.42) 52%,
      rgba(9, 6, 3, 0.34) 100%
    );
}

.hero__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    58% 60% at 72% 22%,
    rgba(230, 178, 118, 0.18),
    rgba(230, 178, 118, 0) 68%
  );
}

.hero__steam {
  position: absolute;
  inset: 0;
  overflow: hidden;
  filter: blur(42px);
  opacity: 0.5;
  pointer-events: none;
}

.hero__steam span {
  position: absolute;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 238, 214, 0.17) 0%,
    rgba(255, 238, 214, 0.05) 40%,
    rgba(255, 238, 214, 0) 68%
  );
  animation: steamDrift 26s ease-in-out infinite alternate;
}

.hero__steam span:nth-child(1) {
  left: -14%;
  bottom: -22%;
  animation-duration: 30s;
}

.hero__steam span:nth-child(2) {
  right: -8%;
  top: 4%;
  width: 42vw;
  height: 42vw;
  animation-duration: 24s;
  animation-delay: -8s;
}

.hero__steam span:nth-child(3) {
  left: 34%;
  top: 30%;
  width: 34vw;
  height: 34vw;
  opacity: 0.7;
  animation-duration: 34s;
  animation-delay: -16s;
}

@keyframes steamDrift {
  from {
    transform: translate3d(-3%, 2%, 0) scale(0.95);
  }
  to {
    transform: translate3d(5%, -4%, 0) scale(1.12);
  }
}

.hero__rail {
  position: absolute;
  top: 50%;
  right: clamp(18px, 2.4vw, 34px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(230, 178, 118, 0.55);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero__rail::before {
  content: "";
  width: 1px;
  height: 70px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kicker--hero {
  margin-bottom: clamp(18px, 2.4vh, 28px);
  animation: heroIn 1s var(--ease) both;
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(60px, 11.4vw, 168px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: #f7eddf;
  text-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  animation: heroIn 1.1s 0.08s var(--ease) both;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  padding-right: 0.06em;
  background: linear-gradient(112deg, #f7dcb3 6%, #e4ae70 54%, #c18347 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 560px;
  margin: clamp(20px, 3vh, 30px) 0 0;
  color: rgba(242, 231, 215, 0.76);
  font-size: clamp(14.5px, 1.25vw, 17px);
  line-height: 1.75;
  animation: heroIn 1.1s 0.16s var(--ease) both;
}

.hero__lead br {
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.6vh, 38px);
  animation: heroIn 1.1s 0.24s var(--ease) both;
}

.hero__facts {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
  margin: clamp(46px, 8vh, 96px) 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(230, 178, 118, 0.18);
  animation: heroIn 1.1s 0.34s var(--ease) both;
}

.hero__fact dt {
  margin-bottom: 7px;
  color: var(--muted-dim);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__fact dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.hero__fact a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

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

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Галерея ---------- */

.section--gallery {
  padding-top: clamp(64px, 8vw, 110px);
}

.gallery__count {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-dim);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery__count::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(230, 178, 118, 0.7);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
  align-items: start;
  padding-bottom: clamp(28px, 3vw, 44px);
}

.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--panel);
  cursor: zoom-in;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 0.6s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.6s var(--ease);
}

.gallery__item:nth-child(3n + 2) {
  transform: translateY(clamp(14px, 2.6vw, 34px));
}

.gallery__item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px -38px rgba(0, 0, 0, 0.9);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.9);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 6, 3, 0) 48%,
    rgba(9, 6, 3, 0.18) 66%,
    rgba(9, 6, 3, 0.74) 100%
  );
  pointer-events: none;
}

.gallery__num,
.gallery__open {
  position: absolute;
  bottom: 18px;
  z-index: 1;
  color: rgba(242, 231, 215, 0.78);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

.gallery__num {
  left: 18px;
  font-variant-numeric: tabular-nums;
}

.gallery__open {
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery__open::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--amber);
  border-right: 1px solid var(--amber);
  transform: rotate(45deg) translate(-2px, 2px);
}

.gallery__item:hover .gallery__open,
.gallery__item:focus-visible .gallery__open {
  opacity: 1;
  transform: translateY(0);
}

.gallery__skeleton {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(
      100deg,
      rgba(230, 178, 118, 0.035) 20%,
      rgba(230, 178, 118, 0.085) 40%,
      rgba(230, 178, 118, 0.035) 60%
    ),
    var(--panel);
  background-size: 240% 100%, 100% 100%;
  animation: shimmer 2s linear infinite;
}

.gallery__skeleton:nth-child(3n + 2) {
  transform: translateY(clamp(14px, 2.6vw, 34px));
}

@keyframes shimmer {
  from {
    background-position: 160% 0, 0 0;
  }
  to {
    background-position: -60% 0, 0 0;
  }
}

/* ---------- О бане ---------- */

.section--about {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #0d0805 0%, #110b07 52%, #0b0704 100%);
}

.section--about::before {
  content: "";
  position: absolute;
  top: -28%;
  right: -16%;
  width: min(62vw, 860px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    rgba(230, 178, 118, 0.055) 0 1px,
    transparent 1px 58px
  );
  opacity: 0.75;
  pointer-events: none;
  mask-image: radial-gradient(circle, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 72%);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.64fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.about--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.about--no-media .about__content {
  max-width: 780px;
}

.about__text {
  margin-top: clamp(24px, 3vw, 36px);
  font-family: var(--serif);
  font-size: clamp(16.5px, 1.25vw, 18.5px);
  line-height: 1.82;
  color: var(--muted);
}

.about__text p {
  margin: 0 0 1.15em;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__text p:first-child {
  color: var(--text-soft);
  font-size: clamp(19px, 1.65vw, 23px);
  line-height: 1.68;
}

.about__text .skeleton {
  height: 14px;
  margin-bottom: 16px;
}

.about__media {
  position: relative;
  margin: 0;
  padding: 10px;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: 14px -12px -12px 14px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 240px 240px 18px 18px;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: auto -20% -14% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 178, 118, 0.14), transparent 66%);
  filter: blur(30px);
  z-index: -1;
}

.about__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 230px 230px 12px 12px;
  border: 1px solid var(--line-soft);
  filter: saturate(0.88) brightness(0.9);
}

.about__media figcaption {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(230, 178, 118, 0.22);
  color: rgba(242, 231, 215, 0.72);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

/* ---------- Услуги ---------- */

.services {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.5fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.prices {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.prices__row {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(21px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}

.prices__num {
  width: 34px;
  flex: 0 0 auto;
  color: var(--muted-dim);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.prices__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.25vw, 29px);
  line-height: 1.25;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

.prices__dots {
  flex: 1 1 auto;
  min-width: 16px;
  margin-bottom: 5px;
  border-bottom: 1px dotted rgba(230, 178, 118, 0.28);
}

.prices__price {
  flex: 0 0 auto;
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  white-space: nowrap;
}

.prices__row:hover .prices__name {
  color: var(--amber-bright);
}

.prices__row--skeleton {
  display: block;
  padding: 30px 0;
}

.prices__row--skeleton .skeleton {
  width: 55%;
  height: 18px;
}

.services__note {
  max-width: 48ch;
  margin: 24px 0 0;
  color: var(--muted-dim);
  font-size: 12.5px;
  line-height: 1.75;
}

.booking {
  position: sticky;
  top: 108px;
  overflow: hidden;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: radial-gradient(
      130% 100% at 82% 0%,
      rgba(230, 178, 118, 0.13),
      transparent 58%
    ),
    linear-gradient(180deg, #18110a 0%, #100a06 100%);
}

.booking::before {
  content: "";
  position: absolute;
  top: -52px;
  right: -52px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(230, 178, 118, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(230, 178, 118, 0.035),
    0 0 0 54px rgba(230, 178, 118, 0.02);
  pointer-events: none;
}

.booking__kicker {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.booking__title {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.8vw, 37px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.booking__phone {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.booking__phone:hover {
  color: var(--amber-bright);
}

.booking__button {
  width: 100%;
}

.booking__hint {
  margin: 18px 0 0;
  color: var(--muted-dim);
  font-size: 12px;
  line-height: 1.65;
}

/* ---------- Режим работы ---------- */

.section--schedule {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(120deg, #0e0905 0%, #140d08 58%, #0c0704 100%);
}

.section--schedule::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 38%;
  width: 52vw;
  height: 38vw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(230, 178, 118, 0.075) 0%,
    rgba(230, 178, 118, 0) 66%
  );
  filter: blur(30px);
  pointer-events: none;
}

.schedule {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: start;
}

.schedule__head .section__title {
  margin-bottom: 24px;
}

.schedule__lead {
  max-width: 40ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.schedule__body {
  padding-top: 6px;
}

.schedule__list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.schedule__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(18px, 2.2vw, 25px) 0;
  border-bottom: 1px solid var(--line);
}

.schedule__day {
  color: var(--text-soft);
  font-size: clamp(14px, 1.2vw, 15.5px);
  line-height: 1.5;
}

.schedule__hours {
  flex: 0 0 auto;
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.3;
  white-space: nowrap;
}

.schedule__row--skeleton {
  display: block;
  padding: 26px 0;
}

.schedule__row--skeleton .skeleton {
  width: 42%;
  height: 16px;
}

.schedule__note {
  margin: 18px 0 0;
  color: var(--muted-dim);
  font-size: 12px;
  line-height: 1.7;
}

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

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: stretch;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
}

.contact-block {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.contact-block__label {
  margin: 0 0 10px;
  color: var(--muted-dim);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-block__value {
  display: inline-block;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.contact-block__value--address {
  max-width: 100%;
  font-size: clamp(27px, 3.3vw, 43px);
  text-wrap: balance;
}

.contact-block__value:hover {
  color: var(--amber);
}

.contact-block__hint {
  margin: 10px 0 0;
  color: var(--muted-dim);
  font-size: 12px;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--amber);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.text-link:hover {
  color: var(--amber-bright);
}

.text-link .icon-arrow {
  width: 13px;
  height: 13px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.socials a::after {
  content: "↗";
  font-size: 12px;
  color: var(--amber);
}

.socials a:hover {
  border-color: var(--line-strong);
  background: rgba(230, 178, 118, 0.05);
  color: var(--amber-bright);
}

.map-card {
  position: relative;
  display: block;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  isolation: isolate;
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.map-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}

.map-card__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease), opacity 0.5s var(--ease);
  opacity: 0.95;
}

.map-card:hover .map-card__art {
  transform: scale(1.035);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(10, 6, 3, 0.55) 0%,
      rgba(10, 6, 3, 0.06) 34%,
      rgba(10, 6, 3, 0.1) 62%,
      rgba(10, 6, 3, 0.68) 100%
    ),
    radial-gradient(
      48% 48% at 55% 47%,
      rgba(230, 178, 118, 0.12),
      transparent 70%
    );
}

.map-card__top,
.map-card__bottom {
  position: absolute;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(242, 231, 215, 0.72);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.map-card__top {
  top: 20px;
}

.map-card__bottom {
  bottom: 20px;
}

.map-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.map-card:hover .map-card__arrow {
  transform: translate(3px, -3px);
  background: rgba(230, 178, 118, 0.08);
}

.map-card__pin {
  position: absolute;
  top: 46%;
  left: 54%;
  z-index: 1;
  width: 52px;
  height: 52px;
  color: var(--amber-bright);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65));
  transition: transform 0.5s var(--ease);
}

.map-card:hover .map-card__pin {
  transform: translate(-50%, -56%);
}

.map-card__pin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(230, 178, 118, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pinPulse 3.4s ease-out infinite;
}

.map-card__pin svg {
  width: 100%;
  height: 100%;
}

.map-card__pin path {
  fill: currentColor;
}

@keyframes pinPulse {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.55);
  }
  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

/* ---------- Отзывы ---------- */

.section--reviews {
  padding-top: clamp(54px, 7vw, 96px);
  padding-bottom: clamp(54px, 7vw, 96px);
}

.reviews {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 6vw, 76px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(
    62% 120% at 50% 0%,
    rgba(230, 178, 118, 0.09),
    transparent 68%
  );
  text-align: center;
}

.reviews .section__kicker {
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.reviews__mark {
  display: block;
  height: 0.52em;
  color: var(--amber);
  font-family: var(--serif);
  font-size: clamp(100px, 13vw, 170px);
  line-height: 0.72;
  opacity: 0.22;
  user-select: none;
}

.reviews__note {
  max-width: 21ch;
  margin: clamp(20px, 3vw, 30px) auto clamp(26px, 3vw, 34px);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(25px, 3.4vw, 45px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.reviews__button {
  min-height: 48px;
}

.reviews__button[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
}

/* ---------- Футер ---------- */

.footer {
  padding: clamp(48px, 6vw, 78px) 0 26px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line-soft);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 24px);
}

.footer__nav a {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 22px;
  color: var(--muted-dim);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0.045em;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom p:last-child {
  color: rgba(230, 178, 118, 0.5);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- Лайтбокс ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  padding: clamp(16px, 3vw, 40px);
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 4, 2, 0.975);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.lightbox__stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78svh, 880px);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  animation: lightboxIn 0.4s var(--ease);
}

.lightbox__caption {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: min(100%, 880px);
  margin-top: 18px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.lightbox__caption span:first-child {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.975);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox__close {
  position: absolute;
  top: clamp(16px, 3vw, 30px);
  right: clamp(16px, 3vw, 30px);
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 14, 9, 0.6);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.lightbox__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--text);
}

.lightbox__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox__close:hover {
  border-color: var(--line-strong);
  background: rgba(230, 178, 118, 0.08);
}

.lightbox__nav {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 14, 9, 0.45);
  cursor: pointer;
  justify-self: center;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.lightbox__nav svg {
  width: 19px;
  height: 19px;
  margin: auto;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__nav:hover {
  border-color: var(--amber);
  background: rgba(230, 178, 118, 0.08);
  transform: scale(1.05);
}

/* ---------- Служебные состояния ---------- */

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 120;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(20, 13, 8, 0.96);
  color: var(--text-soft);
  font-size: 13px;
}

.noscript p {
  margin: 0;
}

.empty-state {
  grid-column: 1 / -1;
  padding: clamp(34px, 6vw, 60px);
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.skeleton {
  display: block;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    rgba(230, 178, 118, 0.06) 20%,
    rgba(230, 178, 118, 0.14) 40%,
    rgba(230, 178, 118, 0.06) 60%
  );
  background-size: 240% 100%;
  animation: shimmerText 1.8s linear infinite;
}

.skeleton--line {
  width: 100%;
  height: 13px;
  margin-bottom: 14px;
}

.skeleton--short {
  width: 62%;
}

@keyframes shimmerText {
  from {
    background-position: 160% 0;
  }
  to {
    background-position: -60% 0;
  }
}

/* ---------- Появление при скролле ---------- */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Адаптивность ---------- */

@media (max-width: 1180px) {
  .hero__rail {
    display: none;
  }

  .nav {
    gap: 18px;
  }

  .contacts {
    gap: 48px;
  }
}

@media (max-width: 1020px) {
  :root {
    --header-h: 78px;
  }

  /* Фиксируем высоту шапки, чтобы полноэкранное меню не оставляло щели. */
  .topbar.is-scrolled .topbar__inner {
    min-height: var(--header-h);
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }

  .section__head-aside {
    max-width: 620px;
  }

  .about {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
    gap: 44px;
  }

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

  .booking {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 30px;
    align-items: center;
  }

  .booking__kicker {
    grid-column: 1 / -1;
  }

  .booking__title {
    margin-bottom: 12px;
    grid-column: 1;
  }

  .booking__phone {
    margin: 0;
    grid-column: 1;
  }

  .booking__button {
    grid-column: 2;
    grid-row: 2 / span 2;
    width: auto;
    min-width: 190px;
  }

  .booking__hint {
    display: none;
  }

  .schedule {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .schedule__lead {
    max-width: 52ch;
  }

  .contacts {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    gap: 40px;
  }

  .map-card {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: max(660px, 96svh);
  }

  .hero__facts {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .hero__fact--rituals {
    display: none;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-bottom: 24px;
  }

  .gallery__item:nth-child(3n + 2),
  .gallery__skeleton:nth-child(3n + 2) {
    transform: none;
  }

  .gallery__item:nth-child(even),
  .gallery__skeleton:nth-child(even) {
    transform: translateY(18px);
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }

  .about__content {
    max-width: 680px;
  }

  .about__media {
    width: min(100%, 420px);
    margin-inline: auto;
  }

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

  .map-card {
    min-height: 340px;
  }

  .footer__top {
    align-items: flex-start;
  }

  .footer__nav {
    order: 3;
    width: 100%;
  }

  .footer__top > .btn {
    margin-left: auto;
  }

  .section__title {
    font-size: clamp(38px, 6.4vw, 62px);
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 70px;
    --gutter: 22px;
  }

  .brand__place-long {
    display: none;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__place {
    font-size: 7.5px;
    letter-spacing: 0.16em;
  }

  .topbar__cta {
    min-height: 40px;
    padding: 0 18px;
    font-size: 9.5px;
  }

  .hero {
    min-height: max(620px, 94svh);
    padding-top: calc(var(--header-h) + 48px);
  }

  .hero__title {
    font-size: clamp(55px, 17vw, 108px);
  }

  .hero__lead {
    max-width: 42ch;
    font-size: 14px;
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    min-height: 52px;
    padding: 0 20px;
    font-size: 10.5px;
  }

  .hero__facts {
    margin-top: clamp(38px, 7vh, 70px);
    gap: 20px;
  }

  .hero__fact dd {
    font-size: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .section__kicker {
    margin-bottom: 16px;
  }

  .section__title {
    font-size: clamp(35px, 9vw, 52px);
  }

  .section__head {
    margin-bottom: 32px;
  }

  .section__head-aside p {
    font-size: 13.5px;
  }

  .gallery__item,
  .gallery__skeleton {
    border-radius: 10px;
  }

  .gallery__num,
  .gallery__open {
    bottom: 12px;
  }

  .gallery__num {
    left: 13px;
  }

  .gallery__open {
    right: 13px;
    display: none;
  }

  .prices__row {
    gap: 12px;
    padding: 18px 0;
  }

  .prices__num {
    width: 24px;
    font-size: 8.5px;
  }

  .prices__name {
    font-size: clamp(19px, 5vw, 23px);
  }

  .prices__price {
    font-size: clamp(18px, 4.6vw, 22px);
  }

  .prices__dots {
    min-width: 8px;
    margin-bottom: 4px;
  }

  .booking {
    display: block;
  }

  .booking__button {
    width: 100%;
  }

  .booking__hint {
    display: block;
  }

  .booking__title {
    margin-bottom: 18px;
  }

  .booking__phone {
    margin-bottom: 22px;
  }

  .schedule__row {
    padding: 17px 0;
    gap: 14px;
  }

  .schedule__day {
    font-size: 13.5px;
  }

  .schedule__hours {
    font-size: 18px;
  }

  .contacts {
    gap: 34px;
  }

  .contact-block__value--address {
    font-size: clamp(27px, 8vw, 36px);
  }

  .map-card {
    min-height: 280px;
    border-radius: 14px;
  }

  .reviews__note {
    max-width: 16ch;
    font-size: clamp(25px, 7.4vw, 34px);
  }

  .reviews__mark {
    font-size: 96px;
  }

  .footer__top {
    gap: 26px;
  }

  .footer__top > .btn {
    margin-left: 0;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .lightbox {
    grid-template-columns: minmax(0, 1fr);
    padding: 64px 14px 92px;
  }

  .lightbox__stage img {
    max-height: 72svh;
  }

  .lightbox__nav {
    position: absolute;
    bottom: 22px;
  }

  .lightbox__nav--prev {
    left: 22px;
  }

  .lightbox__nav--next {
    right: 22px;
  }

  .lightbox__caption {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 460px) {
  :root {
    --gutter: 18px;
  }

  .topbar__actions {
    gap: 8px;
  }

  .topbar__cta {
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
  }

  .topbar__cta .icon-phone {
    display: block;
  }

  .topbar__cta .icon-arrow {
    display: none;
  }

  .topbar__cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .brand__place {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: max(590px, 92svh);
    padding-top: calc(var(--header-h) + 38px);
  }

  .hero__title {
    font-size: clamp(52px, 17.5vw, 76px);
    line-height: 0.9;
  }

  .hero__actions {
    flex-direction: column;
    gap: 9px;
  }

  .hero__actions .btn {
    width: 100%;
    flex: none;
  }

  .hero__facts {
    gap: 14px;
  }

  .hero__fact dd {
    font-size: 11.5px;
  }

  .hero__fact dt {
    font-size: 7.5px;
  }

  .section {
    padding: 62px 0;
  }

  .section__title {
    font-size: clamp(33px, 9.6vw, 44px);
  }

  .gallery__grid {
    gap: 8px;
  }

  .gallery__item:nth-child(even),
  .gallery__skeleton:nth-child(even) {
    transform: translateY(12px);
  }

  .services__note {
    font-size: 11.5px;
  }

  .booking {
    padding: 24px 20px;
  }

  .socials a {
    padding: 0 13px;
    font-size: 9.5px;
  }

  .reviews {
    padding: 36px 16px;
  }

  .footer__nav {
    gap: 10px 16px;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 50px;
  }

  .prices__num {
    display: none;
  }

  .topbar__inner {
    gap: 16px;
  }
}

/* ---------- Уважение к настройкам движения ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Объявления ---------- */

.section--announcements {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(55% 80% at 88% 0%, rgba(230, 178, 118, 0.075), transparent 70%),
    linear-gradient(180deg, #0d0906 0%, #0a0604 100%);
}

.section--announcements::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -12%;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(230, 178, 118, 0.07);
  box-shadow: 0 0 0 46px rgba(230, 178, 118, 0.018),
    0 0 0 92px rgba(230, 178, 118, 0.012);
  pointer-events: none;
}

.announcements {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.announcement-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(230, 178, 118, 0.055), transparent 55%),
    linear-gradient(120deg, #18110a 0%, #100b07 100%);
  box-shadow: 0 24px 65px -55px #000;
  animation: announcementIn 0.7s var(--ease) both;
}

.announcement-card:nth-child(2) {
  animation-delay: 0.08s;
}

.announcement-card:nth-child(3) {
  animation-delay: 0.16s;
}

.announcement-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: transparent;
  transition: background-color 0.4s var(--ease);
}

.announcement-card:hover {
  border-color: var(--line-strong);
}

.announcement-card--important {
  border-color: rgba(230, 178, 118, 0.38);
  background:
    radial-gradient(75% 130% at 100% 0%, rgba(230, 178, 118, 0.16), transparent 58%),
    linear-gradient(120deg, #1d140b 0%, #120c07 100%);
  box-shadow: 0 28px 75px -52px #000;
}

.announcement-card--important::before {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber-deep));
}

.announcement-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 11px;
}

.announcement-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 11px;
  border: 1px solid rgba(230, 178, 118, 0.38);
  border-radius: 999px;
  background: rgba(230, 178, 118, 0.09);
  color: var(--amber-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.announcement-card__badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(230, 178, 118, 0.8);
}

.announcement-card__title {
  max-width: 28ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.018em;
  color: var(--text);
}

.announcement-card__text {
  max-width: 78ch;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
}

.announcement-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(16px, 2.2vw, 22px);
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
}

.announcement-card__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted-dim);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.announcement-card__date::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(230, 178, 118, 0.65);
}

.announcement-card__button {
  min-height: 40px;
  padding: 0 18px;
  font-size: 9.5px;
}

@keyframes announcementIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 700px) {
  .announcement-card {
    padding: 20px 18px;
    border-radius: 12px;
  }

  .announcement-card__top {
    margin-bottom: 9px;
  }

  .announcement-card__title {
    font-size: clamp(22px, 6.4vw, 28px);
    max-width: 24ch;
  }

  .announcement-card__text {
    font-size: 13.5px;
    line-height: 1.75;
  }

  .announcement-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .announcement-card__button {
    width: 100%;
  }
}
