/* ============================================================
   Level Up — Пирсинг бутик
   Direction: dark editorial + antique gold + Fraunces serif
   ============================================================ */

:root {
  /* ==== Палитра Level_Up Piercing: тёмный камень + медь ==== */
  --bg: #171311;            /* основной фон секций */
  --bg-alt: #251D19;        /* чередование секций (+18% светлее) */
  --bg-2: #201A17;          /* альтернативный фон */
  --surface: #2E2520;       /* карточки (+20% светлее) */
  --surface-2: #3A2F28;     /* карточки: hover / вложенные */
  --btn: #B58A62;           /* основные кнопки */
  --btn-text: #171311;      /* текст на кнопке */
  --btn-hover: #A2764F;     /* кнопка: наведение */
  --hover: #3A2E28;         /* наведение на интерактив */
  --head: #E7D6C2;          /* заголовки */
  --text: #E7D6C2;          /* основной текст */
  --text-2: #AFA39A;        /* описания и подписи */
  --muted: #AFA39A;
  --muted-2: #8F8378;       /* приглушённый текст */
  --line: #B58A62;          /* разделители и контуры */
  --line-2: rgba(58, 46, 40, 0.9);
  --accent: #B58A62;        /* медь — акцент */
  --accent-2: #E7D6C2;      /* светлый акцент для текста */
  --accent-soft: #C9A583;   /* мягкий акцент */
  --accent-glow: rgba(181, 138, 98, 0.22);
  --danger: #D89A7A;
  --plum: #171311;
  --plum-soft: #B58A62;
  --plum-light: #E7D6C2;

  --r: 18px;
  --r-sm: 10px;
  --r-lg: 28px;

  --pad-y: clamp(72px, 10vw, 128px);
  --pad-x: clamp(20px, 4vw, 36px);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(181, 138, 98, 0.18);
}

html {
  scroll-behavior: smooth;
}

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

#name,
.contact,
.order-form,
#areas,
#catalog {
  scroll-margin-top: 96px;
}

@media (max-width: 700px) {
  #name,
  .contact,
  .order-form,
  #areas,
  #catalog {
    scroll-margin-top: 76px;
  }
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--accent); }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ----- selection ----- */
::selection { background: var(--accent); color: var(--bg); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 14px var(--pad-x);
  background: rgba(14, 10, 7, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}

.brand {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand:hover { color: var(--accent); }

.mark {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
}

.nav-links {
  grid-column: 2;
  justify-self: center;
  display: none;
  gap: 26px;
  font-size: 14px;
  white-space: nowrap;
}

.nav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
  transition: color 160ms ease;
}

/* Подчёркивание активной вкладки: оранжевая метка закреплена на своём месте
   и не переезжает при наведении на другие пункты */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

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

.nav-links a:hover::after {
  opacity: .55;
  transform: scaleX(1);
  background: rgba(231, 214, 194, .45);
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
  background: var(--accent);
}

.nav-links a.nav-cta::after { display: none; }

.nav-burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: 8px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 160ms ease;
}

.nav-burger:hover { border-color: var(--accent); }

.nav-burger span {
  display: block;
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 220ms ease, opacity 180ms ease;
}
.nav-burger span:nth-child(1) { top: 14px; }
.nav-burger span:nth-child(2) { top: 50%; transform: translateX(-50%) translateY(-50%); }
.nav-burger span:nth-child(3) { bottom: 14px; }

.nav-burger.is-open { border-color: var(--accent); }
.nav-burger.is-open span:nth-child(1) { top: 50%; transform: translateX(-50%) translateY(-50%) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { bottom: auto; top: 50%; transform: translateX(-50%) translateY(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 6, 23, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  padding: 84px 28px 32px;
  gap: 6px;
  overflow-y: auto;
  animation: menuIn 220ms ease;
}

.mobile-menu[hidden] { display: none; }

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

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover { border-color: var(--accent); color: var(--accent); }

.mobile-menu a:not(.btn) {
  display: block;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
}

.mobile-menu a:not(.btn):hover { color: var(--text); }

.mobile-menu a[aria-current="page"] {
  color: var(--accent);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 28px;
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  transition: border-color 160ms ease, color 160ms ease;
}

.cart-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-count[data-count]:not([data-count="0"]) {
  transform: scale(1);
}

.cart-count.pop { animation: pop 280ms ease; }

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@media (min-width: 880px) {
  .nav-links { display: inline-flex; }
  .nav-burger { display: none; }
  .mobile-menu { display: none !important; }
}

@media (max-width: 879px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; margin-left: auto; margin-right: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(34px, 5vw, 68px) var(--pad-x) clamp(64px, 8vw, 96px);
  max-width: 1240px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero-left {
  max-width: 680px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum-light);
  margin: 0 0 18px;
}

/* Единый заголовок секций: одинаковый размер подписи, трекинг и отступ
   до заголовка во всех блоках. Эталон — «Услуги и цены». */
.section-head > .kicker,
.gift-text > .kicker,
.final-cta-inner > .kicker {
  font-size: clamp(14px, 1.3vw, 16px);
  letter-spacing: 0.2em;
  margin: 0 0 26px;
}

/* Секция «Услуги и цены»: воздух от стыка двух фонов и «Популярные услуги»
   ниже. Только главная (id="services" есть лишь там). */
#services { padding-top: clamp(26px, 3.5vw, 46px); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
  color: var(--text);
}

.hero-title-row { display: block; }
.hero-title-row.italic {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  max-width: 580px;
  margin: 0 0 32px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-2);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* На телефоне: «Записаться» во всю ширину, две второстепенные кнопки — симметрично в ряд */
@media (max-width: 700px) {
  .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-cta .btn {
    width: 100%;
    padding: 0 12px;
    font-size: 14px;
    white-space: nowrap;
  }
  .hero-cta .btn-gold {
    grid-column: 1 / -1;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.btn.full { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, #A2764F 0%, #B58A62 50%, #C29C74 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  color: #171311;
  border-color: rgba(231, 214, 194, .4);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, background-position 600ms ease, border-color 180ms ease, box-shadow 220ms ease, color 180ms ease;
}
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(231, 214, 194, .22) 45%, transparent 70%);
  transform: translateX(-105%);
  transition: transform 800ms ease;
  pointer-events: none;
}
.btn-gold:hover {
  background-position: 100% 0%;
  border-color: var(--plum-light);
  color: #171311;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(150, 110, 78, 0.7), 0 0 0 1px rgba(231, 214, 194, .25);
}
.btn-gold:hover::before {
  transform: translateX(105%);
  transition: transform 900ms ease;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--accent-soft);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(181, 138, 98, 0.08);
  transform: translateY(-1px);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--btn-text);
  background: linear-gradient(135deg, var(--btn-hover), var(--btn));
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 220ms ease;
}

.link-btn::after {
  content: "→";
  transition: transform 200ms ease;
}

.link-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(181,138,98,.32);
}
.link-btn:hover::after {
  transform: translateX(3px);
}

.link-btn-muted {
  padding: 9px 4px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .02em;
  border-bottom: 1px solid transparent;
  border-radius: 0;
}
.link-btn-muted::after { content: ""; display: none; }
.link-btn-muted:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: none;
  transform: none;
  box-shadow: none;
}

/* Master card */
.hero-right {
  position: relative;
  min-width: 0;
}

.master-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 26px;
  position: relative;
}

.master-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* Master carousel */
.master-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 18px;
  background: #171311;
  box-shadow:
    0 0 0 1px rgba(181, 138, 98, 0.55),
    0 0 0 4px rgba(23, 19, 17, 1),
    0 0 0 5px rgba(181, 138, 98, 0.32),
    0 24px 60px -18px rgba(0, 0, 0, 0.85);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.master-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.master-track::-webkit-scrollbar { display: none; }
.master-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.master-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.master-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  height: 100%;
  scroll-snap-align: center;
  overflow: hidden;
}

.master-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  filter: saturate(1.06) contrast(1.04);
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Подпись под фото в карусели: только номер. Текстовых названий нет —
   Андрей попросил убрать их (были в основном неверные), 22.10.2026. */
.master-slide figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 30px 16px 12px 16px;
  background: linear-gradient(180deg, rgba(32, 26, 23, 0) 0%, rgba(32, 26, 23, 0.8) 72%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
  display: flex;
  align-items: baseline;
  gap: 10px;
  pointer-events: none;
}
.master-slide figcaption b { color: var(--accent-2); font-weight: 600; }

.master-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(181,138,98,.45);
  background: rgba(23,19,17,.62);
  backdrop-filter: blur(6px);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s, border-color .2s, transform .2s;
  z-index: 3;
}
.master-nav:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.master-nav-prev { left: 10px; }
.master-nav-next { right: 10px; }
.master-carousel:hover .master-nav,
.master-carousel:focus-within .master-nav { opacity: 1; }

.master-dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}
.master-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(231, 214, 194, .35);
  cursor: pointer;
  pointer-events: auto;
  transition: background .2s, transform .2s;
}
.master-dots button.is-active { background: var(--accent); transform: scale(1.35); }

.master-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(11, 6, 23, .55);
  z-index: 4;
  pointer-events: none;
  display: none;
}
.master-progress i {
  display: block;
  height: 100%;
  width: 5%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .28s ease;
}
.master-carousel.is-many .master-progress { display: block; }
.master-carousel.is-many .master-dots { display: none; }

.master-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(11, 6, 23, .68);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted);
}
.master-counter b { color: var(--accent-2); font-weight: 600; }

.master-studio {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.master-studio-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.master-studio-addr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-soft);
  transition: color .2s, border-color .2s;
}
.master-studio-addr:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }
.master-studio-addr span { color: var(--accent); }

.master-cta {
  width: 100%;
  margin-top: 18px;
  justify-content: center;
}

.master-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--text);
}

.master-role {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
}

/* Блок «Авито» в карточке мастера */
.master-avito {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(150, 110, 78, .22);
  color: var(--text);
  text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.master-avito:hover {
  border-color: var(--accent);
  background: rgba(181, 138, 98, .30);
}
.master-avito-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B58A62;
}
.master-avito-rate {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  color: var(--plum-light);
}
.master-avito-stars {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent-2);
}
.master-avito-count {
  font-size: 13px;
  color: var(--text);
}
.master-avito-more {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px dashed var(--accent-soft);
}
.master-avito-more span { color: var(--accent); }

/* Блок «Авито» в разделе «Мастер и студия» */
.avito-block {
  margin: 0 0 30px;
  padding: 24px 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(41, 34, 30, .55), rgba(41, 34, 30, .32));
}
.avito-block-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.avito-block-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B58A62;
  padding: 5px 12px;
  border: 1px solid rgba(181, 138, 98, .45);
  border-radius: 999px;
}
.avito-block-title {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0;
  color: var(--text);
}
.avito-block-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.avito-block-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.avito-block-badges li {
  font-size: 12px;
  color: var(--text);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(150, 110, 78, .20);
}
.avito-block-text {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
}
.avito-block-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-soft);
  transition: color .2s, border-color .2s;
}
.avito-block-link:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }
.avito-block-link span { color: var(--accent); }


/* Hero scroll indicator (only desktop, decorative) */
.hero-scroll {
  display: none;
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  }
  .hero-scroll { display: flex; }
}

/* ============================================================
   TRUST
   ============================================================ */
.trust {
  padding: 28px var(--pad-x);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--surface);
}

.trust-row {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 24px;
  font-size: 13px;
  color: var(--text-2);
}

.trust-item b {
  color: var(--accent);
  font-weight: 500;
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-soft);
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head {
  max-width: 760px;
  margin: 0 0 clamp(40px, 5vw, 60px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--text);
  position: relative;
  padding-bottom: 18px;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(181,138,98,0) 100%);
  opacity: 0.55;
}

.section-sub {
  margin: 0;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
}

main {
  padding: var(--pad-y) 0;
}

section + section { margin-top: clamp(60px, 7vw, 90px); }

.services, .catalog, .edu, .about, .contact {
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SERVICES — карточка-постер: крупный заголовок, огромная иллюстрация,
   цена и кнопки.
   ============================================================ */
.services-grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
}

.service {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 26px 22px 22px;
  border: 1px solid rgba(181, 138, 98, .22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(46, 37, 32, .55) 0%, rgba(37, 29, 25, 0) 100%),
    var(--surface);
  position: relative;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
  overflow: hidden;
}

.service::after {
  /* медная hairline под шапкой карточки */
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  top: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 240ms ease;
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 138, 98, .45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.service:hover::after { opacity: .55; }

.service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(181, 138, 98, .12);
}

.service-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
}

.service-price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1;
  color: var(--accent);
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-align: right;
  flex-shrink: 0;
}

.service-art {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 14px;
  width: 100%;
  height: clamp(200px, 26vw, 300px);
}

.service-illus {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .5));
  opacity: .96;
  transition: transform 320ms ease, opacity 240ms ease;
}

.service:hover .service-illus {
  transform: translateY(-3px) scale(1.02);
  opacity: 1;
}

.service-meta {
  display: none;
}

.service-note {
  margin: 0 0 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: .01em;
}

.service-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(181, 138, 98, .08);
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(28px, 3.4vw, 44px);
    row-gap: clamp(22px, 2.6vw, 32px);
  }
}

@media (min-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-name {
    font-size: clamp(30px, 2.6vw, 40px);
  }
  .service-price {
    font-size: clamp(32px, 2.8vw, 42px);
  }
}

/* ============================================================
   CATALOG
   ============================================================ */
.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 28px);
  padding: 18px 20px;
  margin-bottom: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: clamp(15px, 1.3vw, 16px);
  line-height: 1.5;
  color: var(--text-2);
}

.catalog-status p { margin: 0; max-width: 62ch; }

.catalog-status .link-btn { flex: 0 0 auto; font-size: 15px; }

@media (max-width: 620px) {
  .catalog-status { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.catalog-status p { margin: 0; }

.catalog-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 40px);
}

/* Сводка вверху каталога */
.catalog-summary {
  display: grid;
  gap: 6px;
  padding: 14px 18px;
  margin-bottom: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  font-size: 14px;
  color: var(--text-2);
}

.catalog-summary p { margin: 0; }
.catalog-summary b {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 18px;
}

.catalog-summary-sub {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* Навигация-чипсы по разделам */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(24px, 3.5vw, 36px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.cat-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-2);
  background: rgba(41, 34, 30, .45);
  border: 1px solid rgba(150, 110, 78, 0.5);
  border-radius: 999px;
  text-decoration: none;
  transition: all 160ms ease;
}

.cat-nav-chip:hover {
  border-color: var(--plum-light);
  color: var(--plum-light);
  background: rgba(150, 110, 78, 0.28);
}

.cat-nav-chip-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
}

.cat-nav-chip-count {
  font-size: 11px;
  color: var(--muted);
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line-2);
}

.cat-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  scroll-margin-top: 80px;
}

.cat-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: linear-gradient(180deg, rgba(41, 34, 30, .85), rgba(41, 34, 30, .35));
}

.cat-section-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 44px);
  margin: 0;
  color: var(--head);
  letter-spacing: -0.01em;
}

.cat-section-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.cat-section-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
}

.cat-show-more {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 11px 22px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: transparent;
  transition: all 180ms ease;
  cursor: pointer;
}

.cat-show-more:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.cat-all-vk {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 2px;
}

.cat-all-vk:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Витрина месяца — крупный баннер */
.cat-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(181, 138, 98, .42) 0%, rgba(181, 138, 98, 0) 60%),
    var(--surface);
  border: 1px solid var(--line-2);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cat-feature:hover {
  border-color: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.cat-feature-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.1;
  color: var(--head);
}
.cat-feature-sub {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-2);
}
.cat-feature-cta {
  margin-top: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}
.cat-feature:hover .cat-feature-cta {
  background: var(--accent);
  color: var(--bg);
}

/* Пустые секции (только VK) */
.cat-empty {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line-2);
}

.cat-empty-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--text-2);
  margin: 0 0 18px;
}

.cat-empty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.cat-empty-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 96px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: all 180ms ease;
}

.cat-empty-card:hover {
  border-color: var(--accent-soft);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.cat-empty-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--text);
}

.cat-empty-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cat-empty-card:hover .cat-empty-cta { color: var(--accent); }

/* Loading state */
.catalog-loading {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Карточка украшения с фото */
.gem {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 12px;
  display: grid;
  gap: 10px;
  position: relative;
  transition: border-color 200ms ease, transform 200ms ease, background 200ms ease;
}

.gem:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  background: var(--surface-2);
}

.gem.is-pulse { animation: pulse 480ms ease; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  100% { box-shadow: 0 0 0 14px transparent; }
}

.gem.is-hidden { display: none; }

.gem-photo-link {
  display: block;
  border-radius: calc(var(--r) - 4px);
  overflow: hidden;
  background: var(--surface-2);
  text-decoration: none;
}

.gem-illu {
  position: relative;
  aspect-ratio: 5 / 6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: linear-gradient(180deg, #29221E 0%, #201A17 100%);
}

.gem-illu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.06) saturate(0.95) brightness(1.03);
  transition: transform 320ms ease, filter 320ms ease;
}

.gem-photo-link:hover .gem-illu img {
  transform: scale(1.04);
  filter: contrast(1.10) saturate(1.05) brightness(1.06);
}

.gem-illu svg {
  width: 88px;
  height: 60px;
}

.gem-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gem-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  min-height: 32px;
}

.gem-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
}

.gem-price {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-2);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.gem-add {
  font-size: 11px;
  color: var(--text);
  border: 1px solid var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 160ms ease;
  white-space: nowrap;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  background: transparent;
}

.gem-add:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.gem.is-added {
  border-color: var(--accent);
}

@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gem { padding: 10px; }
  .gem-name { font-size: 16px; }
  .gem-add { padding: 5px 9px; font-size: 10px; }
  .gem-price { font-size: 15px; }
  .cat-nav { gap: 6px; }
  .cat-nav-chip { padding: 6px 10px; font-size: 12px; }
}

/* ============================================================
   EDUCATION
   ============================================================ */
.edu-grid {
  display: grid;
  gap: 16px;
}

.edu-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 28px;
  display: grid;
  gap: 12px;
  position: relative;
  transition: transform 220ms ease, border-color 220ms ease;
}

.edu-card:hover { transform: translateY(-3px); }

.edu-card.highlight {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(181, 138, 98,0.04), transparent);
}

.edu-card.highlight::after {
  content: "популярный";
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
}

.edu-level {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

.edu-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}

.edu-desc {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
}

.edu-price {
  font-family: var(--font-mono);
  font-size: 32px;
  color: var(--accent);
  margin: 8px 0 4px;
  letter-spacing: -0.01em;
}

.edu-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 36px 0 0;
}

@media (min-width: 880px) {
  .edu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  border-top: 1px solid var(--line-2);
  padding-top: var(--pad-y);
}

.about-grid {
  max-width: 720px;
  display: grid;
  gap: 16px;
}

.about-text {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
  letter-spacing: -0.005em;
}

.about-text strong {
  color: var(--accent);
  font-weight: 500;
  font-style: italic;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line-2);
}

.contact-list li:last-child { border-bottom: 1px solid var(--line-2); }

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-size: 17px;
  color: var(--text);
  line-height: 1.5;
}

.contact-value a {
  border-bottom: 1px solid var(--line-2);
  transition: border-color 160ms ease, color 160ms ease;
}

.contact-value a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Form */
.order-form {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.two {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.form-row label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  appearance: none;
  -webkit-appearance: none;
}

/* Все однострочные поля одной высоты — «Дата» и «Время» встают ровно */
.form-row input,
.form-row select {
  height: 56px;
  line-height: 1.35;
}

/* Одинаковые иконки справа: стрелка выбора и календарь — 18×18, по центру */
.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A583' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px 15px;
  padding-right: 48px;
  cursor: pointer;
}

.form-row input[type="date"] {
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A583' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px 15px;
  padding-right: 48px;
  cursor: pointer;
}

/* Иконка трубки в поле телефона — в той же медной гамме и того же размера,
   что календарь и стрелка выбора */
.has-icon input[type="tel"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A583' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.2a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px 15px;
  padding-right: 48px;
}

/* Нативный индикатор невидим, но растянут на всё поле: тап по иконке открывает календарь */
.form-row input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181, 138, 98, 0.12);
}

.form-row select option {
  background: var(--surface);
  color: var(--text);
  padding: 8px;
}

.form-row select option[data-popular]::after {
  content: " ★";
  color: var(--accent-2);
}

.form-row textarea { resize: vertical; min-height: 64px; line-height: 1.5; }

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--muted-2);
}

.form-row textarea[readonly] {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.6;
  background: rgba(181, 138, 98, 0.04);
}

.form-row textarea[readonly]::placeholder {
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 14px;
}

.form-hint {
  margin: -2px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.form-consent .checkbox, .form-minor .checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: rgba(181, 138, 98, 0.15);
}

.form-consent input[type="checkbox"], .form-minor input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
  border: 1.5px solid var(--accent-soft);
  border-radius: 4px;
  background-color: var(--surface);
  background-image: none;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px 16px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.form-consent input[type="checkbox"]:hover, .form-minor input[type="checkbox"]:hover {
  border-color: var(--accent);
  background-color: var(--surface-2);
}

.form-consent input[type="checkbox"]:checked, .form-minor input[type="checkbox"]:checked {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5 L10.2 17.8 L19 7' fill='none' stroke='%230B0617' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 15px 15px;
  border-color: var(--accent);
}

.form-consent input[type="checkbox"]:focus-visible, .form-minor input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(181, 138, 98, 0.30);
}

.form-consent a {
  color: var(--accent);
  border-bottom: 1px solid var(--line-2);
}

.form-status {
  margin: 0;
  font-size: 14px;
  text-align: center;
}

.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"] { color: var(--danger); }

/* Экран успешной отправки заявки */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-margin-top: 96px;
  padding: 40px 30px 34px;
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(181, 138, 98, .34), rgba(41, 34, 30, .55));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.form-success[hidden] { display: none; }
.form-success-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #171311;
  background: linear-gradient(150deg, #C9A583, var(--accent));
  margin-bottom: 20px;
  animation: success-pop .45s cubic-bezier(.2, .9, .3, 1.4);
}
@keyframes success-pop {
  from { transform: scale(.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.form-success-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 10px;
}
.form-success-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--text);
}
.form-success-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft, var(--muted));
  margin: 0 0 22px;
  max-width: 46ch;
}
.form-success-list {
  width: 100%;
  max-width: 420px;
  margin: 0 0 20px;
  padding: 16px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md, 14px);
  background: rgba(18, 15, 13, .35);
  text-align: left;
}
.form-success-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 14px;
}
.form-success-row:last-child { border-bottom: 0; }
.form-success-row dt {
  color: var(--muted);
  flex: 0 0 auto;
}
.form-success-row dd {
  margin: 0;
  color: var(--text);
  text-align: right;
}
.form-success-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 46ch;
}
.form-success-note a { color: var(--accent-2); }

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--line-2);
  padding: 48px var(--pad-x) 36px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  margin-top: clamp(60px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 220px at 12% -10%, rgba(181, 138, 98,0.16), transparent 70%),
    radial-gradient(360px 200px at 92% 110%, rgba(181, 138, 98,0.12), transparent 70%);
}

.foot > * { position: relative; z-index: 1; }

@media (min-width: 720px) {
  .foot {
    grid-template-columns: 1.05fr 1.15fr 1fr;
    grid-template-areas: "brand links pages" "legal legal legal";
    gap: 56px 64px;
    padding: 64px var(--pad-x) 40px;
  }
  .foot-col-brand  { grid-area: brand; }
  .foot-col-links  { grid-area: links; }
  .foot-col-pages  { grid-area: pages; }
  .foot-legal      { grid-area: legal; }
}

.foot-col-brand { text-align: left; }

.foot-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.foot-logo .mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.foot-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.015em;
}

.foot-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 4px 0 0;
}

.foot-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 22px;
  max-width: 44ch;
}

.foot-cta {
  max-width: 340px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 10px 26px rgba(181, 138, 98, .28);
}
.foot-cta:hover { transform: translateY(-1px); }

.foot-col-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 540px) {
  .foot-col-links {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.foot-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.foot-h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

.foot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.foot-list-link {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px dashed var(--line-2);
  padding-bottom: 8px;
}

.foot-list-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.foot-list-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.foot-channels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 540px) {
  .foot-channels { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1181px) {
  .foot-col-links { grid-template-columns: 1fr; gap: 30px; }
  .foot-channels { grid-template-columns: 1fr; }
}

.foot-channels li { margin: 0; }

.foot-channels a {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  transition: border-color .2s, background .2s, transform .2s;
}

.foot-channels a:hover {
  border-color: var(--accent);
  background: var(--surface-2);
  transform: translateX(2px);
}
@media (max-width: 1180px) {
  .foot-channels { grid-template-columns: 1fr; gap: 10px; }
  .foot-channels .foot-tag-sm { display: none; }
  .foot-channels a { grid-template-columns: 86px minmax(0, 1fr); }
  .foot-col-links { grid-template-columns: 1fr; gap: 28px; }
}

.foot-channels a b {
  font-weight: 500;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.foot-channels a span {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.foot-tag-sm {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid rgba(181,138,98,.28);
  border-radius: 999px;
  background: rgba(23,19,17,.6);
}
@media (max-width: 640px) {
  .foot-channels .foot-tag-sm { display: none; }
  .foot-channels a {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 15px;
  }
  .foot-channels a b { font-size: 10px; }
  .foot-channels a span {
    font-size: 15px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }
}

.foot-channels a:hover b { color: var(--accent-2); }

.foot-legal {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: grid;
  gap: 6px;
}

.foot-legal a {
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
}

.foot-legal a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.drawer[hidden] { display: none; }

.drawer.open {
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 26, 23, .75);
  opacity: 0;
  transition: opacity 220ms ease;
}

.drawer.open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg);
  border-left: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-2);
}

.drawer-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}

.drawer-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease;
}

.drawer-close:hover {
  background: var(--surface);
  color: var(--text);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px;
}

.drawer-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}

.drawer-item-info { display: grid; gap: 4px; }

.drawer-item-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.drawer-item-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
}

.drawer-item-remove {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: all 160ms ease;
}

.drawer-item-remove:hover {
  color: var(--danger);
  border-color: var(--danger);
}

.drawer-foot {
  border-top: 1px solid var(--line-2);
  padding: 20px 22px 28px;
  background: var(--surface);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer-total strong {
  font-size: 22px;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   SERVICES — closer CTA under grid
   ============================================================ */
.services-closer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.4;
  color: var(--text);
  margin: 40px auto 0;
  font-family: var(--font-display);
  font-style: italic;
}
/* Вся плашка «Больно?» кликабельна: и заголовок, и подпись.
   Андрей попросил 22.10.2026 — раньше подпись «нажми» была надписью,
   хотя выглядела кнопкой, и клик по ней ничего не делал. */
.services-closer-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--head);
  cursor: pointer;
  transition: color 200ms ease, transform 200ms ease;
}
.services-closer-link:hover { transform: translateY(-1px); }
.services-closer-link em {
  position: relative;
  font-style: italic;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  padding-bottom: 2px;
  border-bottom: 2px dashed var(--accent-soft);
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
  background-image: linear-gradient(var(--accent-soft), var(--accent-soft));
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
}
.services-closer-link em::after {
  content: "\2193";
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .5em;
  color: var(--accent-soft);
  transform: translateY(-.15em);
  transition: transform 200ms ease;
}
.services-closer-link:hover,
.services-closer-link:focus-visible {
  color: #FFFFFF;
}
.services-closer-link:hover em,
.services-closer-link:focus-visible em {
  border-bottom-color: var(--accent);
}
.services-closer-link:hover em::after,
.services-closer-link:focus-visible em::after {
  transform: translateY(.25em);
}
.services-closer-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  padding: 7px 16px;
  border: 1px solid rgba(181, 138, 98, .5);
  border-radius: 999px;
  background: rgba(181, 138, 98, .1);
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
.services-closer-link:hover .services-closer-hint,
.services-closer-link:focus-visible .services-closer-hint {
  color: var(--btn-text);
  background: var(--btn);
  border-color: var(--btn);
}
@keyframes closerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 138, 98, .35); }
  50% { box-shadow: 0 0 0 8px rgba(181, 138, 98, 0); }
}
@media (max-width: 700px) {
  .services-closer { font-size: 19px; gap: 12px; }
  .services-closer-link em { font-size: 30px; }
  .services-closer-link { gap: 10px; }
  .services-closer-hint { font-size: 11px; padding: 5px 12px; }
}


/* ============================================================
   STERILNOST — протокол стерильности
   ============================================================ */
/* ===== AREAS ===== */
#process { scroll-margin-top: 90px; }
@media (max-width: 700px) { #process { scroll-margin-top: 76px; } }

.areas {
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg-2);
  border-top: 1px solid var(--line-1);
  margin-top: 0;
}

/* вводный текст раздела — как в остальных блоках */
#areas .section-sub {
  max-width: 640px;
}

/* широкая плитка «Дополнительно» — на две колонки */
.area-tab--wide { grid-column: span 2; }
@media (min-width: 880px) {
  .area-tab--wide { grid-column: span 2; }
}

.areas-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

@media (min-width: 640px)  { .areas-tabs { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (min-width: 880px)  { .areas-tabs { grid-template-columns: repeat(8, minmax(0,1fr)); } }

.area-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
  position: relative;
  text-align: center;
}
.area-tab:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.area-tab.is-active {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(181, 138, 98,.10), rgba(181, 138, 98,.02));
}
.area-tab.is-active::after {
  content: "";
  position: absolute;
  left: 22%; right: 22%; bottom: -7px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.area-tab-svg { display: block; width: 44px; height: 44px; }
.area-tab-svg svg { width: 100%; height: 100%; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
.area-tab.is-active .area-tab-svg svg { stroke: var(--accent-2); }
.area-tab-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.area-tab-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}

.areas-panel {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 32px;
  position: relative;
}
.areas-panel-headtext { min-width: 0; }

.areas-zone-illus {
  width: 124px;
  height: 124px;
  object-fit: contain;
  opacity: .92;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .5));
}

.area-illus {
  width: 128px;
  height: 100px;
  object-fit: contain;
  object-position: left center;
  opacity: .88;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45));
  margin: -2px 0 4px;
  transition: opacity 200ms ease, transform 200ms ease;
}

.area-item:hover .area-illus { opacity: 1; transform: translateX(3px); }

.areas-panel-head {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}
.areas-panel-head h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0;
  color: var(--text);
}
.areas-panel-head::after {
  content: "";
  flex: 1 1 40px;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}
.areas-panel-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.areas-panel-intro {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 64ch;
  line-height: 1.55;
}

.areas-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.area-item {
  background: var(--bg);
  border: 1px solid rgba(181, 138, 98, .22);
  border-radius: var(--r-lg);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.area-item:hover {
  border-color: rgba(181, 138, 98, .55);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .38);
}
.area-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.area-item-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  margin: 0;
  color: var(--head);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.area-item-price {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 500;
  color: var(--accent);
  margin: 0;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* Иллюстрация — по центру и во всю ширину, как в карточках популярных услуг */
.area-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(230px, 30vw, 330px);
  margin: 18px 0 14px;
}
.area-illus {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .5));
  opacity: .96;
  transition: transform 320ms ease, opacity 240ms ease;
}
.area-item:hover .area-illus { transform: scale(1.04); opacity: 1; }
.area-item-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.area-item-pair {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.area-item-pair span {
  color: var(--muted-2);
  margin-right: 6px;
}
.area-item-add {
  align-self: flex-start;
  margin-top: 4px;
  font-family: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--btn-hover), var(--btn));
  border: 1px solid transparent;
  color: var(--btn-text);
  font-weight: 600;
}
.area-item-add:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(181, 138, 98, .28); }

@media (max-width: 700px) {
  .areas-tabs { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
  .area-tab { padding: 12px 4px 8px; }
  .area-tab-name { font-size: 13px; }
  .areas-panel { padding: 20px 16px; }
  .areas-items { grid-template-columns: 1fr; gap: 14px; }
  .area-item { padding: 22px 18px 18px; }
  .area-art { height: clamp(210px, 56vw, 280px); }
}

.sterilnost {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
  background: linear-gradient(180deg, transparent 0%, rgba(32, 26, 23, .55) 100%);
  position: relative;
}

.steril-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

.steril-card {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
}

.steril-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.steril-card::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto auto;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at top right, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.steril-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin: 0;
}

.steril-h {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.005em;
}

.steril-card p:not(.steril-num):not(.steril-h) {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

.steril-quote {
  margin: clamp(36px, 5vw, 60px) auto 0;
  padding: 32px 28px;
  max-width: 760px;
  border-left: 2px solid var(--accent);
  background: rgba(181, 138, 98, 0.04);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.steril-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 12px;
  font-weight: 400;
}

.steril-quote-author {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.05em;
}

/* ============================================================
   PROCESS — 6 шагов timeline
   ============================================================ */
.process {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: clamp(28px, 4vw, 44px) 0 0;
  display: grid;
  gap: 0;
  counter-reset: tl;
}

.tl-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.tl-item:last-child { border-bottom: 1px solid var(--line); }

.tl-marker {
  width: 56px;
  height: 56px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  position: relative;
  flex-shrink: 0;
}

.tl-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 500;
}

.tl-body { padding-top: 4px; }

.tl-step {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--text);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.tl-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

.tl-body p:not(.tl-step) {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 60ch;
}

.tl-body a {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent-soft);
  text-decoration: none;
}

.tl-body a:hover { border-bottom-style: solid; }

.process-foot {
  margin: 36px auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--accent);
}

.process-foot em {
  font-style: italic;
  color: var(--text);
  font-weight: 400;
}

.process-foot em + em,
.process-foot em + em::before,
.process-foot em + em::after {
  /* spacing for emotive finale */
}

/* ============================================================
   HEALING — таблица по зонам + правила
   ============================================================ */
.healing {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
  background: linear-gradient(180deg, rgba(32, 26, 23, .55) 0%, transparent 100%);
}

.healing-table-wrap {
  margin: clamp(28px, 4vw, 44px) 0 0;
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
}

.healing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.healing-table th,
.healing-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.healing-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--surface-2);
}

.healing-table td {
  color: var(--text-2);
  font-family: var(--font-body);
  line-height: 1.4;
}

.healing-table tbody tr:last-child td {
  border-bottom: none;
}

.healing-table tbody tr:hover {
  background: rgba(181, 138, 98, 0.04);
}

.healing-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.rules-card {
  padding: 24px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
}

.rules-do { border-left: 3px solid var(--accent); }
.rules-dont { border-left: 3px solid var(--danger); }

.rules-head {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text);
}

.rules-head span {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 8px;
}

.rules-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.rules-card li {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.rules-do li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

.rules-dont li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 500;
}

.healing-pdf {
  margin: 24px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.healing-pdf a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-soft);
}

/* ============================================================
   ABOUT — added certificate strip + master quote
   ============================================================ */
.cert-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.cert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  border-right: 1px solid var(--line-2);
  color: var(--accent);
}

.cert:last-child { border-right: none; }

.cert svg { flex-shrink: 0; }

.cert-name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.02em;
}

.cert-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin: 2px 0 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.master-quote {
  margin: clamp(36px, 4vw, 48px) auto 0;
  max-width: 760px;
  padding: 28px 32px;
  border-left: 2px solid var(--accent);
  background: rgba(181, 138, 98, 0.04);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
}

.master-quote::before {
  content: '«';
  font-size: 38px;
  color: var(--accent);
  margin-right: 4px;
  vertical-align: middle;
}

.master-quote::after {
  content: '»';
  font-size: 38px;
  color: var(--accent);
  margin-left: 4px;
  vertical-align: middle;
}

/* ============================================================
   FAQ — accordion
   ============================================================ */
.faq {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
}

.faq-blocks {
  display: grid;
  gap: 36px;
  margin-top: clamp(28px, 4vw, 44px);
}

.faq-block-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--accent);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.faq details[open] { border-bottom-color: var(--line-2); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text);
  position: relative;
  font-weight: 500;
  transition: color 160ms ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::marker { content: ''; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 200ms ease;
  width: 24px;
  text-align: center;
}

.faq details[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(0);
}

.faq summary:hover { color: var(--accent); }

.faq details > p {
  margin: -4px 0 18px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  padding-right: 36px;
  max-width: 60ch;
}

.faq details > p strong { color: var(--text); }

.faq details > p a {
  color: var(--accent);
  border-bottom: 1px dashed var(--accent-soft);
  text-decoration: none;
}

.faq details > p a:hover { border-bottom-style: solid; }

/* ============================================================
   MOBILE TIGHTENING
   ============================================================ */
@media (max-width: 540px) {
  .brand-name { font-size: 22px; }
  .nav-links { display: none; }
  .hero-title { font-size: clamp(34px, 9.5vw, 52px); }
  .form-row.two { grid-template-columns: 1fr; }
  .edu-card.highlight::after { font-size: 9px; padding: 3px 8px; }
  .master-card { padding: 20px; }
  .avito-block { padding: 20px 18px; }
  .avito-block-title { font-size: 21px; }
  .master-avito { padding: 8px 12px; gap: 7px; }
  .master-avito-count { font-size: 12px; }
  .steril-grid,
  .healing-rules { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 48px 1fr; gap: 14px; }
  .tl-marker { width: 40px; height: 40px; }
  .tl-step { font-size: 18px; }
  .cert-strip { grid-template-columns: 1fr; }
  .cert { border-right: none; border-bottom: 1px solid var(--line-2); }
  .cert:last-child { border-bottom: none; }
  .master-quote { padding: 20px 18px; font-size: 17px; }
  .healing-table { font-size: 13px; }
  .healing-table th, .healing-table td { padding: 10px 12px; }
}

@media (max-width: 1439px) and (min-width: 1101px) {
  .nav-links { gap: 18px; font-size: 13px; }
  .nav-links .nav-opt-b { display: none; }
}

@media (max-width: 1100px) and (min-width: 881px) {
  .nav-links { gap: 14px; font-size: 13px; }
  .nav-links .nav-opt-a,
  .nav-links .nav-opt-b { display: none; }
}

@media (max-width: 880px) {
  .nav-links { gap: 8px; }
  .nav-links .nav-opt-a,
  .nav-links .nav-opt-b { display: none; }
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) var(--pad-x) clamp(60px, 8vw, 100px);
}

.privacy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.015em;
  margin: 0 0 32px;
}

.privacy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}

.privacy p, .privacy ul {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 16px;
}

.privacy ul { padding-left: 20px; }
.privacy a { color: var(--accent); border-bottom: 1px solid var(--line-2); }
.privacy .back { display: inline-block; margin-bottom: 24px; font-size: 13px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(32, 26, 23, .95);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 28px 16px 64px;
  animation: lb-in .18s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 760px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, .9);
  display: block;
}
.lightbox-figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(32, 26, 23, .85);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.lightbox-nav:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(32, 26, 23, .85);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lightbox-close:hover { background: var(--accent); color: var(--bg); }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(32, 26, 23, .9);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}
.lightbox-counter b { color: var(--accent-2); font-weight: 600; }

@media (max-width: 700px) {
  .master-nav { opacity: 1; width: 30px; height: 30px; font-size: 20px; }
  .lightbox-nav { width: 38px; height: 38px; font-size: 24px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

/* ============================================================
   SLOTS — календарь свободных окон
   ============================================================ */
.slots { padding: var(--pad-y) var(--pad-x); }
.slots .section-head { max-width: 760px; }

.slots-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 34px 0 24px;
}
.slots { scroll-margin-top: 90px; }
.slots-free {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(58, 46, 40, .45), rgba(41, 34, 30, .55));
}
.slots-free b {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--plum-light);
}
.slots-free span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.5;
}
.slots-note { font-size: 14px; color: var(--muted); }
.slots-note.is-error { color: var(--danger); }
.slots-cta {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.slot-day {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms, transform 160ms, background 160ms;
  font-family: var(--font-body);
}
.slot-day:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.slot-day.is-sel {
  border-color: var(--accent);
  background: linear-gradient(150deg, rgba(181, 138, 98, .5), rgba(41, 34, 30, .45));
}
.slot-day.is-full { opacity: .45; cursor: default; }
.slot-day.is-full:hover { transform: none; border-color: var(--line); }
.slot-day.is-off {
  opacity: .5; cursor: default;
  border-style: dashed;
  background: repeating-linear-gradient(135deg, rgba(41, 34, 30, .25) 0 8px, transparent 8px 16px);
}
.slot-day.is-off:hover { transform: none; border-color: var(--line); }
.slot-day.is-off .slot-day-f { color: var(--muted-2); letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.slot-day-w {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.slot-day-n {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.05;
  color: var(--text);
}
.slot-day-m {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.slot-day-f {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
}
.slot-day.is-full .slot-day-f { color: var(--muted-2); }

.slots-panel {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.slots-panel-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.slots-times { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-time {
  padding: 9px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 150ms, color 150ms, transform 150ms;
}
.slot-time:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.slot-time.is-late { opacity: .35; cursor: not-allowed; }
.slot-time.is-late:hover { transform: none; border-color: var(--line-2); color: var(--text); }
.slots-panel-hint { margin-top: 16px; font-size: 13px; color: var(--muted-2); }

.hero-free {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  margin-top: 22px;
  padding: 9px 18px 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(150, 110, 78, .26);
  color: inherit;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}
.hero-free:hover {
  border-color: var(--accent);
  background: rgba(181, 138, 98, .32);
  transform: translateY(-1px);
}
.hero-free:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(181, 138, 98, .30); }

.hero-free b {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--plum-light);
}
.hero-free span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.45;
  text-align: center;
}

/* Плашка свободных окон: содержимое строго по центру */
.hero-free {
  justify-content: center;
}

/* На телефоне — во всю ширину, как кнопка «Записаться», текст в одну строку по центру */
@media (max-width: 700px) {
  .hero-free {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    margin-top: 10px;
    padding: 9px 14px;
  }
  .hero-free b {
    font-size: 24px;
  }
  .hero-free span {
    font-size: 9.5px;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .hero-free span br {
    display: none;
  }
}

@media (max-width: 900px) {
  .slots-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .slot-day { padding: 11px 10px 10px; }
  .slot-day-n { font-size: 22px; }
  .slots-panel { padding: 18px; }
}

/* ============================================================
   HEALING — подготовка, памятки, тревожные сигналы
   ============================================================ */
.prep-card {
  margin-top: 34px;
  padding: 26px 28px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--plum-soft);
  border-radius: var(--r);
  background: linear-gradient(120deg, rgba(41, 34, 30, .55), rgba(41, 34, 30, .35));
}
.prep-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--plum-light);
  margin-bottom: 16px;
}
.prep-list { list-style: none; display: grid; gap: 10px; }
.prep-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.6;
}
.prep-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.memo { margin-top: 42px; }
.memo-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 8px;
}
.memo-title-sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 18px;
}
.memo-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 22px;
}
.memo-tab {
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color 160ms, color 160ms, background 160ms;
}
.memo-tab:hover { border-color: var(--accent-soft); color: var(--text-2); }
.memo-tab.is-active {
  border-color: var(--accent);
  background: linear-gradient(120deg, rgba(58, 46, 40, .6), rgba(41, 34, 30, .55));
  color: var(--text);
}
.memo-panel {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.memo-h {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 18px;
}
.memo-lead { color: var(--muted); margin-bottom: 12px; }
.memo-list {
  list-style: none;
  counter-reset: memo;
  display: grid;
  gap: 14px;
}
.memo-list li {
  counter-increment: memo;
  position: relative;
  padding-left: 40px;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--text-2);
}
.memo-list li::before {
  content: counter(memo, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent);
}
.memo-list b { color: var(--text); font-weight: 600; }
.memo-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: rgba(150, 110, 78, .22);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}
.memo-forbid {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(216, 154, 122, .07);
}
.memo-forbid-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--danger);
  margin-bottom: 10px;
}
.memo-forbid p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.memo-forbid p + p { margin-top: 6px; }
.memo-forbid b { color: var(--text); }

.healing-alert { margin-top: 42px; }
.healing-alert-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.healing-alert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.alert-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.alert-h {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 14px;
}
.alert-ok .alert-h { color: var(--accent-2); }
.alert-bad { border-color: rgba(216, 154, 122, .38); }
.alert-bad .alert-h { color: var(--danger); }
.alert-card ul { list-style: none; display: grid; gap: 9px; }
.alert-card li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.alert-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
  opacity: .55;
}
.alert-note {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ============================================================
   GIFT — подарочный сертификат
   ============================================================ */
.gift { padding: var(--pad-y) var(--pad-x); }
.gift-card {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(181, 138, 98, .5), transparent 60%),
    linear-gradient(140deg, rgba(41, 34, 30, .7), rgba(23, 19, 17, .9));
}
.gift-text h2 { margin: 6px 0 14px; }
.gift-list { list-style: none; display: grid; gap: 11px; margin: 24px 0 28px; }
.gift-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.gift-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.gift-list b { color: var(--text); }
.gift-visual { display: grid; place-items: center; }
.gift-card-mock {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid rgba(181, 138, 98, .22);
  background: linear-gradient(135deg, #342B26, #201A17 70%);
  box-shadow: 0 30px 60px rgba(10, 5, 20, .55);
  transform: rotate(-3deg);
}
.gift-mock-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(231, 214, 194, .75);
}
.gift-mock-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: #E7D6C2;
}
.gift-mock-amount {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--plum-light);
}
.gift-mock-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(231, 214, 194, .6);
}

@media (max-width: 900px) {
  .gift-card { grid-template-columns: 1fr; gap: 28px; }
  .healing-alert-grid { grid-template-columns: 1fr; }
  .memo-panel { padding: 24px 20px; }
  .prep-card { padding: 22px 20px; }
}

/* ============================================================
   EXTRA — другие услуги
   ============================================================ */
.extra-serv { margin-top: 44px; }
.extra-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.extra-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.extra-card {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 160ms, transform 160ms;
}
.extra-card:hover { border-color: var(--accent-soft); transform: translateY(-3px); }
.extra-t {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 10px;
}
.extra-card p:last-child { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1000px) { .extra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .extra-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ТЗ: элементы v2 — меню, hero, форма, сводка
   ============================================================ */

/* --- Кнопка «Записаться» в меню --- */
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  border: 1px solid var(--btn);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.nav-cta:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  color: var(--btn-text);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(181, 138, 98, .8);
}

/* --- Hero: строка с адресом --- */
.hero-loc {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.01em;
}
.hero-loc::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--btn);
  vertical-align: 1px;
}

/* --- Форма: блок для несовершеннолетних --- */
.form-minor[hidden] { display: none; }
.form-minor {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(216, 154, 122, .45);
  border-radius: var(--r-sm);
  background: rgba(181, 138, 98, .16);
}
.form-minor-note {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.form-minor-stop {
  margin-bottom: 0;
  padding: 12px 14px;
  border: 1px solid rgba(216, 154, 122, .45);
  border-radius: var(--r-sm);
  background: rgba(181, 138, 98, .18);
  color: var(--text);
  font-size: 15px;
}

/* --- Сводка заявки --- */
.summary-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32, 26, 23, .72);
  backdrop-filter: blur(3px);
}
.summary-backdrop[hidden] { display: none; }
.summary-modal {
  width: min(520px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
}
.summary-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.summary-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--head);
}
.summary-list { margin: 0 0 18px; display: grid; gap: 10px; }
.summary-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.summary-row dt { margin: 0; font-size: 13px; color: var(--muted-2); }
.summary-row dd { margin: 0; font-size: 15px; color: var(--head); font-weight: 500; }
.summary-rules {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}
.summary-actions { display: flex; gap: 12px; }
.summary-actions .btn { flex: 1; }
body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .summary-row { grid-template-columns: 1fr; gap: 2px; }
  .summary-modal { padding: 22px 18px; }
}


/* ============================================================
   ТЗ: чередование фонов секций (#171311 / #201A17)
   ============================================================ */
.slots,
.services,
.catalog,
.sterilnost,
.edu,
.process {
  background: var(--bg-alt);
}

/* Секции с ограниченной шириной — растягиваем фон на всю страницу */
.about,
.healing,
.faq {
  box-shadow: 0 0 0 100vmax var(--bg-alt);
  clip-path: inset(0 -100vmax);
  background: var(--bg-alt);
}
.sterilnost,
.edu,
.process {
  box-shadow: 0 0 0 100vmax var(--bg-alt);
  clip-path: inset(0 -100vmax);
}

.foot-col-pages .foot-list-link { font-size: 14px; }
@media (max-width: 900px) {
  .foot { grid-template-columns: 1fr 1fr; grid-template-areas: "brand brand" "links pages" "legal legal"; }
}
@media (max-width: 700px) {
  .foot { grid-template-columns: 1fr; grid-template-areas: "brand" "links" "pages" "legal"; gap: 30px; }
  .foot-col-links { grid-template-columns: 1fr; gap: 26px; }
}

/* ============================================================
   Финальный блок (призыв к записи)
   ============================================================ */
.final-cta {
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg);
  border-top: 1px solid var(--line-2);
}
.final-cta-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.final-cta h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  color: var(--head);
}
.final-sub {
  margin: 0 auto 28px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.final-channels {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
}
.final-channels a { color: var(--muted-2); }
.final-channels a:hover { color: var(--accent); }

/* Контурная иллюстрация губ — декор первого экрана */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-lips {
  display: block;
  width: 190px;
  height: auto;
  margin: 26px 0 0;
  opacity: .85;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-lips { width: 130px; margin-top: 18px; opacity: .42; }
}

/* Общие ограничения + подсказка прокрутки таблицы */
.healing-all-rules {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--btn);
  border-radius: var(--r-sm);
  background: var(--surface);
}
.healing-all-rules-h {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.healing-all-rules ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.healing-all-rules li { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.healing-table-hint {
  display: none;
  margin: 0;
  padding: 10px 16px 12px;
  font-size: 12px;
  color: var(--muted-2);
  text-align: right;
}
@media (max-width: 700px) {
  .healing-table-hint { display: block; }
}

.slots-skeleton {
  grid-column: 1 / -1;
  padding: 40px 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
}
#slotsStatus .link-btn { font-size: 13px; }


/* ============================================================
   Секция «Запись» (форма вынесена из контактов)
   ============================================================ */
.booking {
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg);
}
.booking .section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 60px); }
.booking-grid {
  max-width: 720px;
  margin: 0 auto;
}
.booking-grid .order-form { width: 100%; }

/* ============================================================
   Компактные карточки услуг на мобильном
   ============================================================ */
/* На узких экранах карточки становятся плотнее, но иллюстрация остаётся центральной. */
@media (max-width: 700px) {
  .service {
    padding: 22px 18px 18px;
    border-radius: 14px;
  }
  .service-name { font-size: 24px; }
  .service-price { font-size: 26px; }
  .service-illus {
    max-width: 320px;
    margin: 16px auto 10px;
  }
  .service-actions { padding-top: 14px; }
}

/* ===== Памятки: вкладки в одну строку на мобильных ===== */
@media (max-width: 700px) {
  .memo-tabs { gap: 6px; flex-wrap: nowrap; }
  .memo-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 8px;
    font-size: 11.5px;
    letter-spacing: .01em;
    text-align: center;
    white-space: nowrap;
  }
  .memo-title-sub { font-size: 14px; margin-bottom: 14px; }
}

/* Подсказка «добавлено в корзину» — без принудительного открытия панели */
.cart-toast {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
  color: var(--text);
  font-size: 14px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}
.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Тост не должен перехватывать клики по кнопкам под ним —
   перехватываем только саму ссылку «открыть». */
.cart-toast-link {
  position: relative;
  pointer-events: auto;
}
.cart-toast-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* ===== Условия визита: что взять с собой и как подготовиться ===== */
.visit-rules {
  margin: 0 0 28px;
  padding: 22px 24px;
  border: 1px solid rgba(175, 163, 154, .35);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(175, 163, 154, .10), rgba(175, 163, 154, .04));
  text-align: left;
}
.visit-rules--page { margin: 0 0 32px; }
.visit-rules-title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .01em;
}
.visit-rules-h {
  margin: 16px 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-2);
}
.visit-rules-h:first-child { margin-top: 0; }
.visit-rules-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.visit-rules-list {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
}
.visit-rules-list li { margin: 0 0 6px; }
.visit-rules-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.visit-rules-actions .btn { min-height: 44px; }
@media (max-width: 640px) {
  .visit-rules { padding: 18px 16px; border-radius: 16px; }
  .visit-rules-title { font-size: 18px; }
  .visit-rules-text, .visit-rules-list { font-size: 14.5px; }
  .visit-rules-actions .btn { width: 100%; }
}

/* Свёрнутый блок условий в секции записи */
details.visit-rules > summary {
  list-style: none;
  cursor: pointer;
  margin: 0 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
details.visit-rules > summary::-webkit-details-marker { display: none; }
details.visit-rules > summary::after {
  content: "▾";
  margin-left: auto;
  font-size: 15px;
  opacity: .7;
  transition: transform .2s ease;
}
details.visit-rules[open] > summary::after { transform: rotate(180deg); }
details.visit-rules > summary:hover { opacity: .9; }
details.visit-rules[open] > summary { margin-bottom: 14px; }

/* ============================================================
   Уведомление о cookie и персональных данных
   ============================================================ */

.cookie-lock { overflow: hidden; }

.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px;
  pointer-events: none;
  font-family: var(--font-body);
}

.cookie-banner__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 13, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: auto;
}

.cookie-banner.is-open .cookie-banner__backdrop { opacity: 1; }

.cookie-banner__panel {
  position: relative;
  width: 340px;
  max-width: 100%;
  padding: 14px 16px 15px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  color: var(--text);
  pointer-events: auto;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.cookie-banner.is-open .cookie-banner__panel { transform: translateY(0); opacity: 1; }
.cookie-banner.is-hiding .cookie-banner__panel { transform: translateY(8px); opacity: 0; }
.cookie-banner.is-hiding .cookie-banner__backdrop { opacity: 0; }

.cookie-banner__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--head);
}

.cookie-banner__text {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-2);
}

.cookie-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 11px;
}

.cookie-banner__links a {
  color: var(--accent-soft);
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__links a:hover { color: var(--head); }

.cookie-banner__ok {
  display: block;
  width: 100%;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 999px;
}

@media (max-width: 560px) {
  .cookie-banner { padding: 10px; }
  .cookie-banner__panel { width: 100%; padding: 12px 14px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner__panel,
  .cookie-banner__backdrop { transition: none; }
}

/* Кнопка «Настройки cookie» в подвале — выглядит как ссылка */
.foot-btn-plain,
button[data-cookie-open] {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

button[data-cookie-open]:hover { color: var(--head); }

.hero-tags {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.005em;
  margin: -8px 0 22px;
  line-height: 1.4;
}
.hero-tags span { color: var(--text-2); }

/* Сводка заявки после успеха: свёрнута в <details>, чтобы условия визита были сразу видны */
.form-success-details {
  margin: 18px 0 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.form-success-details > summary {
  list-style: none;
  cursor: pointer;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 8px 0;
  font-weight: 500;
  user-select: none;
}
.form-success-details > summary::-webkit-details-marker { display: none; }
.form-success-details > summary::after {
  content: " →";
  display: inline-block;
  transition: transform .2s;
}
.form-success-details[open] > summary::after { content: " ↓"; }
.form-success-details > summary:hover { color: var(--accent-2); }

/* ===== Несколько процедур за один визит ===== */
.services-multi {
  margin: 22px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.services-multi span {
  display: block;
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 17px;
  margin-bottom: 3px;
}

/* Шторка корзины: подсказка про несколько проколов и спокойная кнопка оформления */
.drawer-hint {
  margin: -4px 0 16px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
}
.drawer-hint strong { color: var(--text); font-weight: 500; }

/* Плашка «Made with Spru» в углу страницы.
   Сервер Spru дописывает скрипт badge.js ко всем страницам сайта.
   Андрей попросил убрать её: клиенты не должны видеть, через что сделан сайт. */
#spru-pages-badge-host { display: none !important; }

/* --- 23.10: тост не перекрывает кнопку шторки на мобильном --- */
@media (max-width: 700px) {
  .cart-toast {
    bottom: 108px;
    right: 12px;
    left: 12px;
    justify-content: center;
  }
  .drawer.open ~ .cart-toast, body:has(.drawer.open) .cart-toast { bottom: 120px; }
}


/* ============================================================
   MEMO PAGE — conditions.html
   ============================================================ */
.memo {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 120px) var(--pad-x) clamp(60px, 8vw, 100px);
}
.memo .back { display: inline-block; margin-bottom: 24px; font-size: 13px; }
.memo .back,
.memo .back:hover { color: var(--accent); border-bottom: 1px solid var(--line-2); }
.memo .kicker { margin: 0 0 14px; }
.memo h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  line-height: 1.08;
}
.memo-lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 30px;
}
.memo .visit-rules { margin-bottom: 28px; }
.memo-foot {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}
.memo-foot a { color: var(--accent); border-bottom: 1px solid var(--line-2); }
.memo .btn { margin-bottom: 12px; }

/* Шапка страницы памятки */
.memo-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad-x);
  background: rgba(23, 19, 17, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.memo-top-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
}
.memo-top-brand span { color: var(--accent); }
.memo-top-cta { padding: 9px 18px; font-size: 13px; }


/* ===== Компактный подвал служебных страниц (privacy / consent / terms) ===== */
.doc-foot {
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  padding: 26px var(--pad-x) 34px;
}
.doc-foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin: 0 0 16px;
}
.doc-foot-nav a,
.doc-foot-nav button {
  color: var(--accent);
  font-size: 13px;
  border-bottom: 1px solid var(--line-2);
  transition: color 180ms ease, border-color 180ms ease;
}
.doc-foot-nav a:hover,
.doc-foot-nav button:hover {
  color: var(--head);
  border-bottom-color: var(--head);
}
.doc-foot-legal {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
