/* ============================================================
   СПА-салон «Шунгит» — Петрозаводск
   Палитра: молочный #F5F2ED · графит #2F3132 · зелёный #51614D
            шунгит #454545 · древесный #88745F
   ============================================================ */

:root {
  --milk: #F5F2ED;
  --milk-deep: #EDE8DF;
  --ink: #2F3132;
  --green: #51614D;
  --green-deep: #3E4B3B;
  --green-dark: #333E30;
  --stone: #454545;
  --wood: #88745F;
  --wood-soft: #A8988A;
  --blush: #ECDFD7;
  --line: rgba(47, 49, 50, 0.12);
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 18px 50px -18px rgba(47, 49, 50, 0.22);
  --radius: 22px;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  font-family: var(--font-body);
  background: var(--milk);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }

::selection { background: var(--green); color: var(--milk); }

/* ---------- Анимации появления ---------- */
.anim { opacity: 0; will-change: opacity, transform; }
.anim[data-anim="fade-up"]   { transform: translateY(36px); }
.anim[data-anim="fade-left"] { transform: translateX(44px); }
.anim[data-anim="fade-right"]{ transform: translateX(-44px); }
.anim[data-anim="zoom"]      { transform: scale(0.94) translateY(20px); }
.anim.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.anim[data-delay="1"].is-visible { transition-delay: 0.12s; }
.anim[data-delay="2"].is-visible { transition-delay: 0.24s; }
.anim[data-delay="3"].is-visible { transition-delay: 0.36s; }
.anim[data-delay="4"].is-visible { transition-delay: 0.48s; }
.anim[data-delay="5"].is-visible { transition-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim, .anim.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation: none !important; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600; font-size: 15.5px;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn--solid::before, .btn--light::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-110%);
}
.btn--solid:hover::before, .btn--light:hover::before {
  transform: translateX(110%);
  transition: transform 0.8s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--green); color: var(--milk); box-shadow: 0 10px 28px -10px rgba(81, 97, 77, 0.55); }
.btn--solid:hover { background: var(--green-deep); box-shadow: 0 16px 34px -10px rgba(81, 97, 77, 0.6); }

.btn--light { background: var(--milk); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45); }
.btn--light:hover { background: #fff; }

.btn--outline { border: 1.5px solid var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }

.btn--outline-light { border: 1.5px solid rgba(245, 242, 237, 0.55); color: var(--milk); backdrop-filter: blur(4px); }
.btn--outline-light:hover { border-color: var(--milk); background: rgba(245, 242, 237, 0.12); }

.btn--small { padding: 11px 24px; font-size: 14.5px; }
.btn--wide { width: 100%; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.45s var(--ease);
  color: var(--milk);
}
.header.is-scrolled {
  background: rgba(245, 242, 237, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
body.menu-open .header { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header__inner {
  width: min(1320px, 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 14px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark { width: 44px; height: 44px; flex: none; object-fit: contain; transition: transform 0.6s var(--ease), filter 0.45s var(--ease); filter: brightness(0) invert(1); }
.header.is-scrolled .logo__mark,
body.menu-open .logo__mark { filter: none; }
.logo:hover .logo__mark { transform: rotate(30deg); }
.logo__text { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: 0.02em; line-height: 1.05; display: flex; flex-direction: column; }
.logo__text em { font-style: normal; font-weight: 500; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.65; }

.nav { display: flex; gap: 2px; }
.nav__link {
  position: relative; padding: 8px 9px; font-size: 13.5px; font-weight: 500;
  opacity: 0.85; transition: opacity 0.3s;
  white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-family: var(--font-head); font-weight: 700; font-size: 15px; opacity: 0.95; white-space: nowrap; }
.header__phone:hover { opacity: 1; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.burger span { width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Мобильное меню ---------- */
.mobmenu {
  position: fixed; inset: 0; z-index: 85;
  background: var(--milk);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 96px 28px 36px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}
.mobmenu.is-open { transform: translateX(0); visibility: visible; }
.mobmenu__nav { display: flex; flex-direction: column; }
.mobmenu__link {
  font-family: var(--font-head); font-size: 26px; font-weight: 700;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobmenu.is-open .mobmenu__link { opacity: 1; transform: none; }
.mobmenu.is-open .mobmenu__link:nth-child(1) { transition-delay: 0.08s; }
.mobmenu.is-open .mobmenu__link:nth-child(2) { transition-delay: 0.13s; }
.mobmenu.is-open .mobmenu__link:nth-child(3) { transition-delay: 0.18s; }
.mobmenu.is-open .mobmenu__link:nth-child(4) { transition-delay: 0.23s; }
.mobmenu.is-open .mobmenu__link:nth-child(5) { transition-delay: 0.28s; }
.mobmenu.is-open .mobmenu__link:nth-child(6) { transition-delay: 0.33s; }
.mobmenu.is-open .mobmenu__link:nth-child(7) { transition-delay: 0.38s; }
.mobmenu.is-open .mobmenu__link:nth-child(8) { transition-delay: 0.43s; }
.mobmenu__footer { display: flex; flex-direction: column; gap: 10px; }
.mobmenu__phone { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.mobmenu__hours { font-size: 14px; opacity: 0.6; margin-bottom: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--milk);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 26, 25, 0.55) 0%, rgba(24, 26, 25, 0.25) 40%, rgba(24, 26, 25, 0.65) 100%),
    radial-gradient(90% 70% at 30% 60%, rgba(24, 26, 25, 0.35), transparent 70%);
}
.hero__content { position: relative; z-index: 2; padding-block: 140px 120px; max-width: 900px; }
.hero__eyebrow {
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.9; margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.hero__eyebrow::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F2ED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20C4 11 10 4 20 4c0 10-7 16-16 16z'/%3E%3Cpath d='M4 20C8 14 13 9 20 4'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.9;
}
.hero__title {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 800;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 640px; opacity: 0.92; margin-bottom: 42px;
  text-wrap: pretty;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; width: 28px; height: 52px;
  display: flex; justify-content: center;
  opacity: 0.75; transition: opacity 0.3s;
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll-line {
  width: 1.5px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--milk));
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.55); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Секции ---------- */
.section { padding-block: clamp(80px, 10vw, 130px); }
.section__eyebrow {
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--wood); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.section__eyebrow::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2388745F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20C4 11 10 4 20 4c0 10-7 16-16 16z'/%3E%3Cpath d='M4 20C8 14 13 9 20 4'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.85;
}
.section__eyebrow--light { color: var(--wood-soft); }
.section__eyebrow--light::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8988A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20C4 11 10 4 20 4c0 10-7 16-16 16z'/%3E%3Cpath d='M4 20C8 14 13 9 20 4'/%3E%3C/svg%3E");
}
.section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
  text-wrap: balance;
}
.section__lead { max-width: 560px; margin-top: -26px; margin-bottom: 44px; opacity: 0.75; }

/* ---------- Почему «Шунгит» ---------- */
.why { background: var(--milk); }
.why__grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.why__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.why__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.why__icon {
  width: 52px; height: 52px; margin-bottom: 22px;
  color: var(--green);
  background: rgba(81, 97, 77, 0.09);
  border-radius: 14px;
  display: grid; place-items: center;
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.why__card:hover .why__icon { background: var(--green); color: var(--milk); transform: scale(1.06) rotate(-3deg); }
.why__icon svg { width: 28px; height: 28px; }
.why__card h3 { font-size: 19px; margin-bottom: 10px; }
.why__card p { font-size: 15px; opacity: 0.72; }
.why__card--photo { padding: 0; overflow: hidden; position: relative; min-height: 220px; }
.why__card--photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.why__card--photo:hover img { transform: scale(1.05); }

/* ---------- Симптомы ---------- */
.symptoms {
  background: linear-gradient(175deg, var(--milk-deep) 30%, var(--blush) 100%);
  position: relative;
}
.symptoms__wrap {
  display: grid; gap: 22px;
  grid-template-columns: 1fr minmax(280px, 340px);
  align-items: stretch;
}
.symptoms__grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
.symptoms__photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 100%;
}
.symptoms__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% center;
}
.symptoms__photo figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 70px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(24, 26, 25, 0.75));
  color: var(--milk);
  font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1.4;
}
.symptom {
  position: relative;
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px 22px;
  text-align: left;
  font-family: var(--font-head);
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s;
}
.symptom::after {
  content: "→"; position: absolute; right: 22px; bottom: 18px;
  font-size: 20px; opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.symptom:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: transparent; }
.symptom:hover::after { opacity: 0.6; transform: none; }
.symptom.is-active { background: var(--green); border-color: var(--green); color: var(--milk); }
.symptom.is-active::after { content: "✓"; opacity: 1; transform: none; }
.symptom__icon {
  width: 54px; height: 54px; flex: none;
  border-radius: 16px;
  background: rgba(81, 97, 77, 0.10);
  color: var(--green);
  display: grid; place-items: center;
  transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.symptom__icon svg { width: 30px; height: 30px; }
.symptom:hover .symptom__icon { background: var(--green); color: var(--milk); transform: scale(1.07) rotate(-4deg); }
.symptom.is-active .symptom__icon { background: rgba(245, 242, 237, 0.16); color: var(--milk); }
.symptom__label { font-size: 18.5px; font-weight: 700; line-height: 1.3; }
.symptom__hint {
  font-size: 13px; font-weight: 600;
  color: var(--wood);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.symptom:hover .symptom__hint { opacity: 1; transform: none; }
.symptom.is-active .symptom__hint { opacity: 0.85; transform: none; color: var(--milk); }

.symptoms__result { overflow: hidden; }
.symptoms__result-inner { padding-top: 40px; }
.symptoms__result-title {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--green);
  margin-bottom: 18px;
}
.symptoms__result-cards { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.mini-card {
  background: #fff; border-radius: 14px; padding: 20px 22px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(16px);
  animation: miniIn 0.55s var(--ease) forwards;
}
.mini-card:nth-child(2) { animation-delay: 0.1s; }
.mini-card:nth-child(3) { animation-delay: 0.2s; }
@keyframes miniIn { to { opacity: 1; transform: none; } }
.mini-card__tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wood); }
.mini-card__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.mini-card__go { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--green); align-self: flex-start; }
.mini-card__go:hover { text-decoration: underline; }

/* ---------- Форматы ---------- */
.formats { background: var(--milk); }
.formats__tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.formats__tab {
  padding: 12px 24px; border-radius: 999px;
  border: 1.5px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.formats__tab:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.formats__tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--milk); }

.formats__panel { display: none; }
.formats__panel.is-active { display: block; animation: panelIn 0.6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.formats__grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.formats__grid--wide { grid-template-columns: repeat(3, 1fr); }
.pcard {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.pcard--wide { grid-column: span 3; flex-direction: row; }
.pcard--wide .pcard__media { width: 52%; flex: none; }
.pcard--wide .pcard__media img { height: 100%; }
.pcard__media { overflow: hidden; aspect-ratio: 3 / 2; }
.pcard--wide .pcard__media { aspect-ratio: auto; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wood);
}
.pcard__body h3 { font-size: 20px; }
.pcard__body p { font-size: 15px; opacity: 0.72; flex: 1; }
.pcard__link {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--green);
  padding: 4px 0;
  transition: letter-spacing 0.35s var(--ease);
}
.pcard__link:hover { letter-spacing: 0.03em; }
.pcard.is-highlight { border-color: var(--green); box-shadow: 0 0 0 2px var(--green), var(--shadow-soft); }

/* ---------- Сертификаты ---------- */
.certs {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--milk);
  padding-block: clamp(80px, 9vw, 120px);
  position: relative; overflow: hidden;
}
.certs::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 223, 215, 0.16), transparent 70%);
}
.certs__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.certs__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin-bottom: 20px; text-wrap: balance; }
.certs__lead { opacity: 0.85; margin-bottom: 20px; max-width: 460px; }
.certs__terms { list-style: none; margin: 0 0 30px; padding: 0; max-width: 460px; display: grid; gap: 9px; }
.certs__terms li { position: relative; padding-left: 24px; font-size: 15px; opacity: 0.9; line-height: 1.4; }
.certs__terms li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.certs__visual { display: flex; justify-content: center; perspective: 1200px; }
.cert-stack { position: relative; width: min(400px, 100%); }
.cert-stack img {
  display: block; width: 100%; height: auto;
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  transition: transform 0.7s var(--ease);
}
.cert-stack__back { position: absolute; inset: 0; }
.cert-stack__back--left  { transform: rotate(-13deg) translate(-27%, 9%) scale(0.96); }
.cert-stack__back--right { transform: rotate(11deg) translate(27%, -9%) scale(0.96); }
.cert-stack__front { position: relative; transform: rotate(-2deg); }
.certs__visual:hover .cert-stack__front { transform: rotate(0deg) translateY(-8px); }
.certs__visual:hover .cert-stack__back--left  { transform: rotate(-15deg) translate(-32%, 11%) scale(0.96); }
.certs__visual:hover .cert-stack__back--right { transform: rotate(13deg) translate(32%, -11%) scale(0.96); }
@media (max-width: 720px) {
  .cert-stack { width: min(340px, 88%); }
  .cert-stack__back--left  { transform: rotate(-11deg) translate(-18%, 7%) scale(0.96); }
  .cert-stack__back--right { transform: rotate(9deg) translate(18%, -7%) scale(0.96); }
}

/* ---------- Миофлекс ---------- */
.mioflex { background: var(--milk); }
.mioflex__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.mioflex__media { position: relative; }
.mioflex__main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.mioflex__main img { width: 100%; height: 100%; object-fit: cover; }
.mioflex__text .section__title { margin-bottom: 24px; }
.mioflex__list { margin: 26px 0 34px; display: flex; flex-direction: column; gap: 14px; }
.mioflex__list li {
  padding-left: 34px; position: relative; font-size: 16px;
}
.mioflex__list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(81, 97, 77, 0.12);
}
.mioflex__list li::after {
  content: ""; position: absolute; left: 6px; top: 10px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- Шунгитовая комната ---------- */
.room {
  position: relative; color: var(--milk);
  padding-block: clamp(110px, 14vw, 190px);
  overflow: hidden;
}
.room__bg { position: absolute; inset: -60px 0; }
.room__bg img { width: 100%; height: 100%; object-fit: cover; }
.room__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 20, 19, 0.78) 0%, rgba(18, 20, 19, 0.45) 55%, rgba(18, 20, 19, 0.25) 100%);
}
.room__content { position: relative; z-index: 2; max-width: 680px; }
.room__title { font-size: clamp(30px, 4vw, 50px); font-weight: 800; margin-bottom: 30px; }
.room__text { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.room__text p { font-size: clamp(16px, 1.5vw, 18.5px); opacity: 0.92; max-width: 560px; }

/* ---------- История ---------- */
.history { background: linear-gradient(175deg, var(--blush) 0%, var(--milk-deep) 55%); }
.history__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.history__text p { margin-bottom: 20px; opacity: 0.85; }
.history__quote {
  margin-top: 34px;
  padding: 30px 34px;
  background: var(--milk);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.history__quote p { font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.5; opacity: 1; margin-bottom: 14px; }
.history__quote cite { font-style: normal; font-size: 14px; color: var(--wood); font-weight: 600; }

.history__photos { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.history__photo img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.history__photo figcaption { font-size: 13px; opacity: 0.6; padding-top: 10px; line-height: 1.45; }
.history__portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.history__portrait img { aspect-ratio: 4 / 5; height: auto; }

/* ---------- Пространство (галерея) ---------- */
.space { background: var(--milk); }
.space__grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 205px;
  grid-auto-flow: dense;
}
.space__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in;
}
.space__item--big { grid-column: span 2; grid-row: span 2; }
.space__item--wide { grid-column: span 2; }
.space__item img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.2s var(--ease);
}
.space__item.is-visible img { transform: scale(1); }
.space__item:hover img { transform: scale(1.06); }
.space__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(24, 26, 25, 0.72));
  color: var(--milk);
  font-size: 14px; font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.space__item:hover figcaption { opacity: 1; transform: none; }

/* ---------- Отзывы ---------- */
.reviews { background: linear-gradient(175deg, var(--milk-deep) 20%, var(--blush) 100%); overflow: hidden; }
.reviews__track {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, 100% - 48px); margin-inline: auto;
}
.review.review--photo {
  padding: 0; overflow: hidden; position: relative; min-height: 240px;
}
.review.review--photo::before { content: none; }
.review--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.review--photo:hover img { transform: scale(1.05); }
.review.review--brand {
  background: linear-gradient(150deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--milk);
  border-color: transparent;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.review.review--brand::before { content: none; }
.review__leaf { width: 26px; height: 26px; opacity: 0.8; }
.review .review__brand-line { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 0; }
.review__brand-sub { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.65; }
.review__rating { font-family: var(--font-head); font-size: 52px; font-weight: 800; line-height: 1; }
.review__stars { color: #E7C98A; font-size: 18px; letter-spacing: 0.2em; }
.review__more {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--milk); opacity: 0.85;
  border-bottom: 1px solid rgba(245, 242, 237, 0.4);
  align-self: flex-start; padding-bottom: 2px;
  transition: opacity 0.3s, border-color 0.3s;
}
.review__more:hover { opacity: 1; border-color: var(--milk); }
.review {
  background: var(--milk);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 28px;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.review::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 70px; line-height: 1;
  color: var(--wood); opacity: 0.35;
  display: block; height: 40px;
}
.review p { font-family: var(--font-head); font-size: 18px; font-weight: 600; line-height: 1.45; margin-bottom: 18px; }
.review cite { font-style: normal; font-size: 13.5px; opacity: 0.55; }

/* ---------- Контакты ---------- */
.contacts {
  background:
    radial-gradient(110% 90% at 85% 10%, rgba(136, 116, 95, 0.16), transparent 55%),
    linear-gradient(165deg, #2A2C2B 0%, var(--ink) 55%, #263024 100%);
  color: var(--milk);
  padding-top: clamp(80px, 10vw, 130px);
}
.contacts__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding-bottom: clamp(70px, 9vw, 110px);
}
.contacts__title { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-bottom: 40px; text-wrap: balance; }
.contacts__list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 44px; }
.contacts__list li { display: flex; flex-direction: column; gap: 3px; font-size: 17px; }
.contacts__label { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wood-soft); }
.contacts__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contacts__phone { font-family: var(--font-head); font-size: 26px; font-weight: 800; }
.contacts__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contacts__photo img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.contacts__photo figcaption { font-size: 13px; opacity: 0.55; padding-top: 10px; }

.footer { border-top: 1px solid rgba(245, 242, 237, 0.14); }
.footer__inner {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-block: 26px;
  font-size: 13.5px; opacity: 0.6;
}
.footer__legal {
  flex-basis: 100%; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(245, 242, 237, 0.12);
  font-size: 12.5px; line-height: 1.7;
}
.footer__legal p { margin: 0; }
.footer__links { margin-top: 6px !important; display: flex; gap: 8px; flex-wrap: wrap; }
.footer__links a { color: inherit; text-decoration: underline; }
.footer__disclaimer { margin-top: 6px !important; opacity: 0.8; }

/* ---------- Плавающая кнопка ---------- */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  background: var(--green); color: var(--milk);
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: 999px;
  box-shadow: 0 14px 34px -10px rgba(81, 97, 77, 0.65);
  opacity: 0; transform: translateY(70px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background-color 0.3s;
  display: none;
}
.fab.is-visible { opacity: 1; transform: none; }
.fab:hover { background: var(--green-deep); }

/* ---------- Модалка ---------- */
.modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: 20px;
  visibility: hidden;
}
.modal.is-open { visibility: visible; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(24, 26, 25, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__card {
  position: relative;
  background: var(--milk);
  border-radius: 24px;
  padding: 44px 40px 36px;
  width: min(440px, 100%);
  min-width: 0; max-width: 100%;
  text-align: center;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(30px) scale(0.97);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__card .btn { white-space: normal; padding-inline: 20px; }
.nowrap { white-space: nowrap; }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; opacity: 0.5;
  transition: opacity 0.3s, background-color 0.3s;
}
.modal__close:hover { opacity: 1; background: rgba(47, 49, 50, 0.07); }
.modal__mark { width: 46px; height: 46px; color: var(--green); margin: 0 auto 4px; }
.modal__title { font-size: 24px; font-weight: 800; }
.modal__program { font-size: 14px; font-weight: 600; color: var(--green); }
.modal__text { font-size: 15px; opacity: 0.7; margin-bottom: 12px; }
.modal__hours { font-size: 13px; opacity: 0.55; margin-top: 10px; }

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(18, 20, 19, 0.94);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(1100px, 92vw); max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
}
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  color: var(--milk); font-size: 22px; opacity: 0.7;
  width: 46px; height: 46px;
  transition: opacity 0.3s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--milk); font-size: 46px; line-height: 1;
  width: 60px; height: 80px;
  opacity: 0.65; transition: opacity 0.3s;
}
.lightbox__arrow:hover { opacity: 1; }
.lightbox__arrow--prev { left: 12px; }
.lightbox__arrow--next { right: 12px; }
.lightbox__caption {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--milk); font-size: 14.5px; opacity: 0.8;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1420px) {
  .header__phone { display: none; }
}

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

@media (max-width: 900px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__track { grid-template-columns: repeat(2, 1fr); }
  .symptoms__wrap { grid-template-columns: 1fr; }
  .symptoms__photo { display: none; }
  .symptoms__result-cards { grid-template-columns: 1fr; }
  .formats__grid, .formats__grid--wide { grid-template-columns: repeat(2, 1fr); }
  .pcard--wide { grid-column: span 2; flex-direction: column; }
  .pcard--wide .pcard__media { width: 100%; aspect-ratio: 3 / 2; }
  .certs__inner { grid-template-columns: 1fr; gap: 44px; }
  .mioflex__inner { grid-template-columns: 1fr; }
  .history__grid { grid-template-columns: 1fr; }
  .history__photos { position: static; }
  .space__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; }
  .contacts__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .container { width: min(1180px, 100% - 36px); }
  .header__actions .btn { display: none; }
  .hero__content { padding-block: 120px 100px; }
  .hero__actions .btn { width: 100%; }
  .why__grid { grid-template-columns: 1fr; }
  .symptoms__grid { grid-template-columns: 1fr; gap: 12px; }
  .symptom { flex-direction: row; align-items: center; gap: 16px; padding: 16px 20px; }
  .symptom__label { font-size: 16.5px; }
  .symptom__icon { width: 46px; height: 46px; border-radius: 13px; }
  .symptom__icon svg { width: 26px; height: 26px; }
  .symptom__hint { display: none; }
  .formats__grid, .formats__grid--wide { grid-template-columns: 1fr; }
  .pcard--wide { grid-column: span 1; }
  .formats__tabs { gap: 6px; }
  .formats__tab { padding: 10px 18px; font-size: 14px; flex: 1 1 auto; text-align: center; }
  .space__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .space__item--big, .space__item--wide { grid-column: span 1; grid-row: span 1; }
  .space__item { aspect-ratio: 4 / 3; }
  .space__item figcaption { opacity: 1; transform: none; }
  .reviews__track { grid-template-columns: 1fr; }
  .history__portraits { grid-template-columns: 1fr 1fr; }
  .fab { display: block; }
  .footer__inner { flex-direction: column; gap: 4px; }
  .contacts__actions .btn { width: 100%; }
}

/* ======== ЦЕНЫ ======== */
.prices { background: var(--milk-deep); }
.prices__note { opacity: 0.82; margin-top: 12px; max-width: 640px; }
.prices__grid { columns: 3 300px; column-gap: 28px; margin-top: 42px; }
.price-group {
  break-inside: avoid; -webkit-column-break-inside: avoid;
  margin: 0 0 28px; padding: 26px 28px 22px;
  background: var(--milk); border: 1px solid var(--line); border-radius: var(--radius);
}
.price-group h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.price-group__sub { display: block; font-size: 13px; font-weight: 500; opacity: 0.6; margin-top: 3px; }
.price-group__rows { margin-top: 14px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); }
.price-row__det { display: block; font-size: 13px; line-height: 1.5; opacity: 0.62; margin-top: 3px; }
.price-row:first-child { border-top: none; }
.price-row__name { opacity: 0.9; }
.price-row__val { font-family: var(--font-head); font-weight: 700; white-space: nowrap; color: var(--green-deep); }
.prices__foot { margin-top: 8px; opacity: 0.72; font-size: 14.5px; max-width: 740px; }
.prices__cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 767px) { .prices__grid { columns: 1; } }

/* ======== ОТЗЫВЫ — карточки ======== */
.reviews__summary { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 24px; }
.reviews__summary .rs-rating { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--green-deep); }
.reviews__summary .rs-stars { color: #C8A24E; font-size: 20px; letter-spacing: 0.15em; }
.reviews__summary .rs-line { opacity: 0.8; font-size: 15px; }
.reviews__summary .rs-more { font-family: var(--font-head); font-weight: 600; color: var(--green-deep); border-bottom: 1px solid rgba(62,75,59,0.35); padding-bottom: 2px; }
.reviews__summary .rs-more:hover { border-color: var(--green-deep); }
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin-top: 42px; }
.rcard { background: var(--milk); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.rcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.rcard__media { aspect-ratio: 16 / 10; overflow: hidden; }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rcard:hover .rcard__media img { transform: scale(1.05); }
.rcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.rcard__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; color: var(--green-deep); text-transform: uppercase; }
.rcard__stars { color: #C8A24E; font-size: 15px; letter-spacing: 0.15em; }
.rcard__text { opacity: 0.86; font-size: 15px; line-height: 1.6; }
.rcard__source { margin-top: auto; padding-top: 6px; font-size: 12.5px; letter-spacing: 0.04em; opacity: 0.6; }

/* ======== ФОРМА ЗАЯВКИ В МОДАЛКЕ ======== */
.modal__or { display: flex; align-items: center; gap: 14px; margin: 20px 0 4px; color: rgba(47,49,50,0.55); font-size: 13.5px; }
.modal__or::before, .modal__or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.lead { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.lead__input { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--milk); font: inherit; font-size: 15.5px; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.lead__input::placeholder { color: rgba(47,49,50,0.45); }
.lead__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(81,97,77,0.14); }
.lead__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; opacity: 0.78; text-align: left; cursor: pointer; }
.lead__consent input { margin-top: 2px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--green); cursor: pointer; }
.lead__consent a { color: var(--green-deep); text-decoration: underline; }
.lead__note { font-size: 12.5px; opacity: 0.6; text-align: center; margin-top: 2px; }
.lead__msg { font-size: 14px; text-align: center; padding: 10px 12px; border-radius: 12px; margin-top: 2px; }
.lead__msg--ok { background: rgba(81,97,77,0.12); color: var(--green-deep); }
.lead__msg--err { background: rgba(180,70,60,0.10); color: #9c4238; }

/* ---------- Блок-переход «Уникальные СПА-программы» ---------- */
.promo-band { background: var(--green-dark); color: var(--milk); }
.promo-band__link {
  display: flex; align-items: baseline; justify-content: center; gap: 14px 22px; flex-wrap: wrap;
  padding: 22px 0; text-align: center;
  transition: opacity 0.35s var(--ease);
}
.promo-band__link:hover { opacity: 0.85; }
.promo-band__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(19px, 2.4vw, 24px); letter-spacing: 0.01em; }
.promo-band__sub { font-size: 15px; opacity: 0.8; }

/* ---------- Первый визит и вопросы ---------- */
.visit { background: var(--milk-deep); }
.visit__steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 38px 0 46px;
}
.visit__step {
  background: var(--milk); border-radius: var(--radius); padding: 26px 24px 24px;
  box-shadow: var(--shadow-soft);
}
.visit__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: var(--milk);
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  margin-bottom: 14px;
}
.visit__step h3 { font-size: 17.5px; margin-bottom: 8px; }
.visit__step p { font-size: 14.5px; line-height: 1.6; opacity: 0.85; }
.visit__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.visit__subtitle { font-size: 21px; margin-bottom: 14px; }
.visit__note { font-size: 14px; opacity: 0.75; margin-bottom: 14px; line-height: 1.6; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 13px 34px 13px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 400; opacity: 0.55; transition: transform 0.3s var(--ease);
}
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 8px 16px 0; font-size: 14.5px; line-height: 1.65; opacity: 0.85; }
.faq p a { color: var(--green-deep); text-decoration: underline; }
.visit__disclaimer { font-size: 12.5px; opacity: 0.55; margin-top: 16px; }
@media (max-width: 900px) {
  .visit__steps { grid-template-columns: repeat(2, 1fr); }
  .visit__cols { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 520px) {
  .visit__steps { grid-template-columns: 1fr; }
}

/* ---------- Популярные программы ---------- */
.pop { background: var(--milk-deep); }
.pop .section__lead a { color: var(--green-deep); text-decoration: underline; }
.pop__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.pop__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pop__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.pop__card h3 { font-size: 18.5px; margin-bottom: 6px; }
.pop__meta {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--green-deep); margin-bottom: 10px;
}
.pop__desc { font-size: 14px; line-height: 1.6; opacity: 0.78; margin-bottom: 16px; }
.pop__card .pcard__link { margin-top: auto; align-self: flex-start; }
.pop__card--all { background: var(--green-deep); border-color: transparent; color: var(--milk); }
.pop__card--all .pop__desc { opacity: 0.85; }
.pop__card--all .pcard__link { color: var(--milk); }
@media (max-width: 1024px) { .pop__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pop__grid { grid-template-columns: 1fr; } }

/* ---------- Программы для двоих ---------- */
.fortwo__feats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px;
  margin: -14px 0 38px;
}
.fortwo__feats li {
  font-size: 15px; line-height: 1.6; opacity: 0.88;
  padding-left: 26px; position: relative;
}
.fortwo__feats li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--green); opacity: 0.85;
}
.fortwo__feats b { font-family: var(--font-head); }
.fortwo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fortwo__notes {
  margin-top: 30px; padding: 22px 26px;
  background: var(--milk-deep); border-radius: var(--radius);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 36px;
}
.fortwo__notes p { font-size: 14px; line-height: 1.6; opacity: 0.88; }
.fortwo__notes b { font-family: var(--font-head); }
.fortwo__notes a { color: var(--green-deep); text-decoration: underline; }
@media (max-width: 900px) {
  .fortwo__feats { grid-template-columns: 1fr; }
  .fortwo__grid { grid-template-columns: 1fr; }
  .fortwo__notes { grid-template-columns: 1fr; }
}

/* ---------- Шунгитовая комната: формат ---------- */
.room__meta {
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  letter-spacing: 0.02em; margin: 18px 0 22px;
}

/* ---------- Фото в карточках программ (правки Ольги 23.07) ---------- */
.pop__media {
  margin: -26px -24px 18px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.pop__media img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.pop__card:hover .pop__media img { transform: scale(1.04); }

.fortwo__media {
  margin: -26px -24px 18px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.fortwo__media img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.fortwo__card:hover .fortwo__media img { transform: scale(1.03); }

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

/* ---------- Фирменный прайс-лист (фото, правка Ольги 23.07) ---------- */
.pricebook__head { margin-top: 46px; }
.pricebook__head h3 { font-size: 22px; margin-bottom: 6px; }
.pricebook__head p { font-size: 14px; opacity: 0.7; }
.pricebook {
  display: flex; gap: 14px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.pricebook__item {
  flex: 0 0 220px;
  aspect-ratio: 1080 / 1438;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: #fff;
}
.pricebook__item figcaption { display: none; }
.pricebook__item img { transform: none; }
.pricebook__item:hover img { transform: scale(1.03); }
.pricebook::-webkit-scrollbar { height: 8px; }
.pricebook::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
@media (max-width: 560px) {
  .pricebook__item { flex-basis: 175px; }
}

/* Ссылки на акции (ВК / Яндекс Карты) в подвале прайса */
.prices__foot a { border-bottom: 1px solid rgba(62,75,59,0.35); padding-bottom: 1px; transition: border-color 0.2s; }
.prices__foot a:hover { border-color: var(--green-deep); }

/* Cookie-баннер */
.cookiebar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 115;
  display: flex; align-items: center; gap: 18px;
  max-width: 860px; margin-inline: auto;
  background: rgba(47, 49, 50, 0.96); color: var(--milk);
  border-radius: 18px; padding: 15px 20px;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.5);
}
.cookiebar[hidden] { display: none; }
.cookiebar p { font-size: 13.5px; line-height: 1.5; opacity: 0.92; }
.cookiebar a { text-decoration: underline; }
.cookiebar .btn { flex: 0 0 auto; }
@media (max-width: 640px) {
  .cookiebar { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; bottom: 84px; }
}

/* Акцепт пользовательского соглашения и оферты под формой заявки (09.08.2026) */
.lead__terms { font-size: 12px; line-height: 1.45; opacity: 0.62; text-align: center; margin-top: 2px; }
.lead__terms a { color: var(--green-deep); text-decoration: underline; }
