/* ============================================================
   IPL в Одинцове — дизайн-система
   Светлая «журнальная» эстетика: крупная типографика,
   монохромные фото в органических масках, один золотистый акцент.
   ============================================================ */

:root {
  /* Палитра взята из лейбла кабинета (файл «фон»):
     #888B48 — фирменный оливковый, #464827 — тёмный, #F5F5F3 — белый, #A2A478 — светлый */
  --bg: #f5f5f3;
  --bg-2: #edefe4;
  --card: #ffffff;
  --ink: #262a1b;
  --ink-2: #4a4f38;
  --muted: #686d51;          /* затемнён: контраст 4.6:1 на светлом фоне (WCAG AA) */
  --olive: #464827;
  --olive-2: #565c36;
  --gold: #888b48;          /* акцент бренда */
  --gold-2: #a2a478;        /* светлый акцент на тёмном фоне — для крупного текста */
  --gold-ink: #6b6f31;      /* тёмный оттенок акцента: мелкий текст на светлом (4.9:1) */
  --gold-soft: #b9bcaf;     /* светлый оттенок акцента: мелкий текст на оливке (4.9:1) */
  --line: rgba(70, 72, 39, .16);
  --label: url("assets/img/label.webp");   /* круглый лейбл кабинета */
  --texture: url("assets/img/fon.webp");   /* фактура фона студии */

  /* Типографика — единая система:
     Playfair Display — заголовки, цифры и цены (высокий контраст, премиум)
     Inter — основной текст, кнопки, капс-подписи с разрядкой
     Pinyon Script — каллиграфия бренда (только латинские акценты) */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-script: "Pinyon Script", cursive;
  --track-label: .18em;   /* разрядка для капс-подписей */
  --track-wide: .32em;

  /* Ритм */
  --wrap: 1240px;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 24px 50px rgba(43, 45, 38, .10);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.06; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(38px, 5.6vw, 74px); }
h2 { font-size: clamp(28px, 3.8vw, 48px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
s { text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--olive); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Раскладка ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: 92px 0; scroll-margin-top: 110px; }

.kicker {
  font: 600 12px/1 var(--font-body);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.section__title { margin: 0 0 42px; }

/* ---------- Кнопки ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  background: var(--olive); color: #fff;
  font: 600 15px/1 var(--font-body);
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
/* Кнопки связи в блоке записи */
.pill--outline { background: transparent; color: var(--olive); border-color: var(--olive); }
.pill--outline:hover { background: var(--olive); color: #f4f1ea; }
.pill:hover { background: var(--olive-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.pill--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.pill--ghost:hover { background: var(--card); color: var(--ink); }
.pill--gold { background: var(--gold); color: #241f14; }
.pill--gold:hover { background: var(--gold-2); }
.pill--sm { padding: 12px 22px; font-size: 14.5px; }
.pill--block { width: 100%; }

/* ---------- Бегущая строка ---------- */
.marquee {
  background: var(--olive); color: #e8e4d8; overflow: hidden; padding: 11px 0;
  font: 600 12px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 44px; animation: slide 34s linear infinite; padding-left: 12px; }
.marquee span:nth-child(even) { color: var(--gold-soft); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Шапка ---------- */
.head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(233, 231, 226, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head__in { display: flex; align-items: center; gap: 26px; min-height: 92px; }
.brand { flex: 0 0 auto; }
.nav {
  display: flex; gap: 26px; margin: 0 auto;
  font-size: 14.5px; color: var(--ink-2);
}
.nav a { transition: color .18s ease; white-space: nowrap; }
.nav a:hover { color: var(--gold); }
.head__phones { margin-left: auto; }

.brand { display: flex; align-items: center; gap: 12px; }
/* ---------- Лейбл кабинета как графический элемент ---------- */
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--olive) var(--label) center/cover no-repeat;
  border: 1px solid rgba(70, 72, 39, .3);
  display: grid; place-items: center; font-size: 15px; color: var(--gold-2);
  overflow: hidden; position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background: var(--olive); opacity: .55; mix-blend-mode: multiply;
}


.footer__label {
  position: absolute; right: -40px; bottom: -30px; width: 320px; height: 190px;
  background: var(--label) center/cover no-repeat;
  opacity: .09; mix-blend-mode: screen; pointer-events: none; z-index: 0;
  border-radius: 50%;
}
.brand__name { display: block; font-family: var(--font-display); font-size: 30px; letter-spacing: .14em; line-height: 1; }
.brand__latin {
  display: block; font-family: var(--font-script); font-size: 18px; line-height: 1.1;
  color: var(--gold-ink); letter-spacing: .03em; margin: 1px 0 3px;
}
.brand__sub { display: block; font: 600 10px/1.4 var(--font-body); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 26px; margin: 0 auto; font-size: 14.5px; color: var(--ink-2); }
.nav a { transition: color .18s ease; white-space: nowrap; }
.nav a:hover { color: var(--gold); }
.head__phones { display: flex; flex-direction: column; gap: 3px; text-align: right; margin-left: auto; }
.head__phones a { font: 600 15px/1.25 var(--font-body); white-space: nowrap; }
.head__phones a + a { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.head__phones a:hover { color: var(--gold); }

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); cursor: pointer; place-items: center; flex-shrink: 0;
}
.burger span { position: relative; display: block; width: 18px; height: 1.5px; background: var(--ink); transition: background-color .2s ease; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .22s ease, top .22s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-toggle:checked + .wrap .burger span { background: transparent; }
.nav-toggle:checked + .wrap .burger span::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked + .wrap .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Плавающие кнопки ---------- */
.fab { position: fixed; right: 22px; bottom: 26px; z-index: 50; display: flex; flex-direction: column; gap: 12px; }
.fab__btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 10px 26px rgba(43, 45, 38, .22); transition: transform .2s ease;
}
.fab__btn:hover { transform: scale(1.08); }
.fab__btn svg { width: 24px; height: 24px; }
.fab__btn--tg { background: #2aabee; }
.fab__btn--wa { background: #25d366; }
.fab__btn--call { background: var(--olive); }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 96px; position: relative; overflow: hidden; background: var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin: 16px 0 22px; }
.hero h1 em { font-style: normal; color: var(--olive); }
.hero .lead { font-size: 17.5px; color: var(--ink-2); max-width: 48ch; margin: 0 0 30px; }
.hero__acts { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }



/* «Живая» кнопка на скидку */

.hero__pic { position: relative; padding: 0 0 64px 56px; }
.hero__pic-main {
  aspect-ratio: 4 / 5;
  border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%;
  overflow: hidden; background: var(--bg-2);
  box-shadow: var(--shadow);
}
.hero__pic-main img { width: 100%; height: 100%; object-fit: cover; }
.hero__pic-side {
  position: absolute; right: 0; bottom: 0; width: 46%;
  aspect-ratio: 3 / 4;
  border-radius: 46% 54% 58% 42% / 56% 44% 56% 44%;
  overflow: hidden; background: var(--bg-2);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}
.hero__pic-side img { width: 100%; height: 100%; object-fit: cover; }

/* Рейтинг — над фотографией */
.hero__rating {
  position: absolute; top: 14px; left: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hero__rating:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.hero__rating-score { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.hero__rating-stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.hero__rating-text { font-size: 13px; color: var(--muted); white-space: nowrap; }
.hero__badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--gold); color: #241f14; font: 700 12px/1 var(--font-body);
  padding: 11px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(43, 45, 38, .2);
}

/* ---------- Акция ---------- */
/* ---------- Блок скидок ---------- */
.promo { background: var(--olive); color: #f1efe8; padding: 58px 0 44px; scroll-margin-top: 110px; }
/* Стык полосы скидок со следующей секцией: 92px здесь превращались в пустоту */
.promo + .section { padding-top: 68px; }
.promo__head { margin-bottom: 30px; }
.promo .kicker { color: var(--gold-soft); }   /* подпись на оливке — светлая */
.promo__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); margin: 0; }

.promo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo__card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(241, 239, 232, .14);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.promo__card:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(217, 180, 95, .45);
  transform: translateY(-3px);
}
.promo__card-badge {
  display: inline-block; font-family: var(--font-display); font-size: 32px;
  line-height: 1; color: var(--gold-2); margin-bottom: 14px;
}
.promo__card-title { font-family: var(--font-display); font-size: 19px; color: #f1efe8; margin: 0 0 10px; }
.promo__card-text { font-size: 14.5px; line-height: 1.6; color: #b9bcaf; margin: 0; }


.promo__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.promo__note { flex: 1 1 320px; font-size: 14px; color: #c3c6ba; max-width: 76ch; margin: 0; min-height: 0; }
.promo__note b { color: #f1efe8; }
.promo .pill { flex-shrink: 0; }

/* Зачёркнутая цена в карточках «часто выбирают» */
.zone-card__price s { color: var(--muted); font-size: .72em; margin-left: 6px; }
.zone-card--accent .zone-card__price s { color: rgba(244, 241, 234, .55); }

/* Сноска под ценами */
.tech-prices__fine { grid-column: 1 / -1; margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
/* ---------- Комплексы ---------- */
/* Комплексы — часть блока 1S PRO: без отдельного фона и заголовка секции */
.plans { margin-top: 56px; scroll-margin-top: 110px; }
.plans__kicker {
  font: 600 12px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.plans__title {
  font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500; color: var(--ink); margin: 0 0 34px;
}
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
/* Лейбл кабинета ненавязчиво на оливковой карточке «Тотал Плюс» */
.plan--top::before {
  content: ""; position: absolute; right: -14px; top: -26px;
  width: 150px; height: 150px; pointer-events: none; z-index: 0;
  background: url("assets/img/logo-white.webp") center/contain no-repeat;
  opacity: .12;
}
.plan > * { position: relative; z-index: 1; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--top { background: var(--olive); color: #f3f1ea; border-color: var(--olive); }
.plan__tag { font: 600 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.plan--top .plan__tag { color: var(--gold-soft); }
.plan__name { font-size: 27px; margin-bottom: 6px; }
.plan__note { font-size: 14px; color: var(--muted); min-height: 44px; margin: 0; }
.plan--top .plan__note { color: #b9bcaf; }
.plan__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 20px 0 6px; }
.plan__now { font-family: var(--font-display); font-size: 40px; }
.plan__old { color: var(--muted); font-size: 17px; }
.plan__save {
  align-self: flex-start;
  font: 600 12px/1.4 var(--font-body); color: var(--olive-2); background: rgba(176, 141, 79, .18);
  padding: 8px 13px; border-radius: 999px; margin: 0 0 20px;
}
.plan__save b { color: var(--olive); font-weight: 700; }
.plan--top .plan__save { color: #241f14; background: var(--gold-2); }
.plan--top .plan__save b { color: #241f14; }
.plan__list { display: grid; gap: 10px; margin: 0 0 26px; flex: 1; }
.plan__list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-2); }
.plan--top .plan__list li { color: #d6d8cd; }
.plan__list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.plan--top .pill { background: var(--gold); color: #241f14; }
.plan--top .pill:hover { background: var(--gold-2); }
.plan .pill { width: 100%; }

/* ---------- Прайс: популярные зоны + полный прайс ---------- */
.zones__top { display: grid; gap: 26px; padding-right: 84px; }
.zone-fav__label {
  font: 600 12px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
.zone-fav__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.zone-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.zone-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.zone-card__name { font-size: 14.5px; color: var(--ink-2); }
.zone-card__price { font-family: var(--font-display); font-size: 28px; color: var(--ink); }
.zone-card__price small { font-size: 15px; color: var(--muted); }
.zone-card__note { font-size: 12.5px; color: var(--muted); }
.zone-card--accent { background: var(--olive); border-color: var(--olive); }
.zone-card--accent .zone-card__name { color: #c8cbbd; }
.zone-card--accent .zone-card__price { color: var(--gold-2); }
.zone-card--accent .zone-card__price small { color: #b9bcaf; }
.zone-card--accent .zone-card__note { color: var(--gold-soft); }
.zone-card--accent:hover { border-color: var(--gold-2); }

.zones__all {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s ease;
}
.zones__all[open] { border-color: var(--olive-300, #9aa88a); }
.zones__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 18px 24px;
  font-family: var(--font-display); font-size: 19px; color: var(--ink);
  transition: background-color .2s ease;
}
.zones__summary::-webkit-details-marker { display: none; }
.zones__summary:hover { background: var(--bg-2); }
.zones__count {
  font: 600 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-2); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 999px;
  transition: opacity .3s ease, transform .3s ease;
}
/* Плашка плавно исчезает при раскрытии — без «крестика» */
.zones__all[open] .zones__count { opacity: 0; transform: translateY(-6px); }

/* Плавное раскрытие полного прайса */
.zones__grid-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.22, .61, .36, 1);
}
.zones__all[open] .zones__grid-wrap { grid-template-rows: 1fr; }
.zones__grid-wrap > .zones__grid { overflow: hidden; }
.zones__all[open] .zones__grid-wrap > .zones__grid { animation: fadeUp .4s ease .05s backwards; }

.zones__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 30px;
  margin: 0; padding: 4px 24px 24px;
}
.zone {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.zone b { font-family: var(--font-display); font-size: 18px; font-weight: 500; white-space: nowrap; }
.zone--accent b { color: var(--olive-2); }
.zones__note { margin-top: 30px; font-size: 14px; color: var(--muted); max-width: 78ch; }

/* ---------- Промо под прайсом ---------- */
.zones__promo {
  margin-top: 34px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
}
.zones__promo-badge {
  flex-shrink: 0; width: 92px; height: 92px; border-radius: 50%;
  background: var(--olive); color: var(--gold-2);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 30px;
  box-shadow: 0 10px 26px rgba(38, 42, 27, .18);
}
.zones__promo-text { flex: 1 1 340px; }
.zones__promo-title { font-family: var(--font-display); font-size: 21px; margin: 0 0 6px; }
.zones__promo-note { font-size: 14.5px; color: var(--ink-2); margin: 0; max-width: 68ch; }
.zones__promo .pill { flex-shrink: 0; }

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

/* ---------- INDIBA: bento-сетка ---------- */
.indiba { background: var(--bg); }
.microterm { background: var(--bg-2); }
.indiba .section__title { margin-bottom: 18px; }
.tech__lead { font-size: 16.5px; color: var(--ink-2); max-width: 74ch; margin: 0 0 34px; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento__card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento__card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: rgba(136, 139, 72, .45);
}
.bento__card--pic {
  grid-column: span 2; grid-row: span 2; padding: 0; background: none; border: none;
  position: relative;
}
/* Подпись на фото (например, «Стерильные иглы Pro-Tec®») */
.bento__pic-caption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(251, 250, 247, .93); color: var(--ink);
  font: 600 11.5px/1 var(--font-body); letter-spacing: var(--track-label); text-transform: uppercase;
  padding: 9px 13px; border-radius: 999px;
}
.bento__card--pic .blob-2 {
  height: 100%; min-height: 340px; border-radius: var(--radius);
  overflow: hidden; background: var(--card);
}
.bento__card--pic img { width: 100%; height: 100%; object-fit: cover; }

.bento__num {
  font: 600 12px/1 var(--font-body); letter-spacing: .18em;
  color: var(--gold); margin-bottom: 12px;
}
.bento__title { font-size: 20px; margin: 0 0 8px; }
.bento__title--lg { font-size: 26px; }
.bento__text { font-size: 15px; color: var(--ink-2); margin: 0; }
.bento__text--sm { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }

/* CTA-карточка: спокойная, с тонкой линией акцента вместо заливки */
.bento__card--cta {
  grid-column: span 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  align-items: flex-start;
}
.bento__card--cta:hover { background: var(--bg); }
.bento__card--cta .bento__text { margin-bottom: 20px; max-width: 46ch; }
.bento__card--cta .pill { align-self: flex-start; }
.bento__card--cta .pill:hover {
  background: var(--olive-2); color: var(--card);
}

/* Прайс INDIBA */
.bento__card--wide { grid-column: span 2; }
.bento__card--prices { grid-column: span 2; justify-content: flex-start; }
.indiba__prices { display: grid; gap: 0; margin-top: 4px; }
.indiba__prices li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2);
}
.indiba__prices li:last-child { border-bottom: none; }
.indiba__prices b { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.indiba__prices b s { color: var(--muted); font-size: 13.5px; margin-left: 6px; }

/* ---------- Мастера ---------- */
.team { background: var(--bg-2); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.member {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__pic { background: var(--bg); }
.member__pic img {
  width: 100%; height: auto; aspect-ratio: 3 / 4;
  object-fit: cover; object-position: center 10%;
}
/* У Валерии в кадре логотип другой студии — смещаем кадр, чтобы его не было видно */
.member:nth-child(2) .member__pic img { object-position: 64% 20%; }
.member__body { padding: 28px 26px 30px; }
.member__name { font-size: 25px; margin-bottom: 4px; }
.member__role { font: 600 12px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.member__text { font-size: 14.5px; line-height: 1.72; color: var(--ink-2); margin: 0; }

/* ---------- Галерея: раскрытие по клику ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  grid-auto-flow: dense;   /* не оставляем пустот при раскрытии фото */
  transition: gap .4s ease;
}
.gallery__item {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--bg-2);
  border-radius: 18px; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: grid-column .5s cubic-bezier(.22, .61, .36, 1),
              grid-row .5s cubic-bezier(.22, .61, .36, 1),
              aspect-ratio .5s cubic-bezier(.22, .61, .36, 1),
              border-radius .45s ease, box-shadow .45s ease, transform .35s ease;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1), filter .5s ease;
}
.gallery__item::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(26, 29, 19, .68) 0%, rgba(26, 29, 19, .2) 40%, transparent 65%);
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

.gallery__cap {
  position: absolute; left: 18px; right: 18px; bottom: 15px; z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
  color: #f4f1ea; pointer-events: none;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.22, .61, .36, 1);
}
.gallery__item:hover .gallery__cap,
.gallery__item.open .gallery__cap { opacity: 1; transform: translateY(0); }
.gallery__cap-title { font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.gallery__cap-note { font-size: 12.5px; color: #d6d8cd; }

/* Раскрытое фото занимает две колонки и два ряда */
.gallery__item.open {
  grid-column: span 2; grid-row: span 2; aspect-ratio: auto;
  border-radius: 26px; z-index: 3; box-shadow: var(--shadow);
}
.gallery__item.open img { transform: scale(1.02); }
.gallery__item.open::after { opacity: 1; }

.gallery__hint {
  margin-top: 18px; font-size: 13.5px; color: var(--muted);
}

/* Каскадное появление при прокрутке */
.js .gallery .gallery__item {
  opacity: 0; transform: translateY(22px) scale(.97);
  transition: opacity .65s ease, transform .75s cubic-bezier(.22, .61, .36, 1),
              grid-column .5s cubic-bezier(.22, .61, .36, 1),
              grid-row .5s cubic-bezier(.22, .61, .36, 1),
              aspect-ratio .5s cubic-bezier(.22, .61, .36, 1),
              border-radius .45s ease, box-shadow .45s ease;
}
.js .gallery.is-visible .gallery__item { opacity: 1; transform: none; }
.js .gallery.is-visible .gallery__item:nth-child(1) { transition-delay: .00s; }
.js .gallery.is-visible .gallery__item:nth-child(2) { transition-delay: .07s; }
.js .gallery.is-visible .gallery__item:nth-child(3) { transition-delay: .14s; }
.js .gallery.is-visible .gallery__item:nth-child(4) { transition-delay: .21s; }
.js .gallery.is-visible .gallery__item:nth-child(5) { transition-delay: .28s; }
.js .gallery.is-visible .gallery__item:nth-child(6) { transition-delay: .35s; }
.js .gallery.is-visible .gallery__item:nth-child(7) { transition-delay: .42s; }

/* ---------- Отзывы ---------- */
.reviews { background: var(--olive); color: #f1efe8; }
.reviews .kicker { color: #b3b6a8; }
.reviews .section__title { color: #f1efe8; }
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review {
  margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px; padding: 26px 24px; font-size: 15px; color: #dcded3;
}
.stars {
  color: #d9b45f; letter-spacing: 2px; margin: 0 0 12px; font-size: 15px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}
.review__text { margin: 0; }
.review__author { display: block; margin-top: 16px; font: 600 13px/1 var(--font-body); font-style: normal; color: var(--gold-2); }

/* Приглашение оставить отзыв + действия */
.reviews__invite {
  border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; margin-bottom: 22px;
}
.reviews__invite-title { font-family: var(--font-display); font-size: 19px; color: #f1efe8; margin: 0 0 4px; }
.reviews__invite-note { font-size: 14px; color: var(--gold-soft); margin: 0; max-width: 56ch; }
.reviews__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.reviews__actions .pill--ghost-light {
  background: transparent; color: #f1efe8; border-color: rgba(241, 239, 232, .3);
}
.reviews__actions .pill--ghost-light:hover {
  background: rgba(241, 239, 232, .12); border-color: rgba(241, 239, 232, .55); color: #fff;
}
.reviews__more { margin-top: 34px; }
.reviews__more .pill {
  background: transparent; color: #f1efe8; border-color: rgba(217, 180, 95, .45);
  padding: 14px 28px;
}
.reviews__more .pill::after {
  content: "→"; margin-left: 8px; font-family: var(--font-body); color: #d9b45f;
  transition: transform .25s ease;
}
.reviews__more .pill:hover {
  background: #d9b45f; border-color: #d9b45f; color: #23281a;
  box-shadow: 0 10px 30px rgba(217, 180, 95, .22);
}
.reviews__more .pill:hover::after { color: #23281a; transform: translateX(4px); }

/* ---------- FAQ: выпадающий список с анимацией ---------- */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 10px; }
.faq__item { position: relative; }
.faq__check { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.faq__q {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  cursor: pointer; list-style: none; text-align: center;
  padding: 20px 26px; border-radius: var(--radius-sm);
  background: var(--card); border: 1px solid var(--line);
  font-family: var(--font-display); font-size: 19px; color: var(--ink);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--bg-2); border-color: var(--olive-300, #9aa88a); transform: translateX(3px); }
.faq__check:checked + .faq__q {
  background: var(--olive); border-color: var(--olive); color: #f1efe8;
  box-shadow: var(--shadow);
}

.faq__icon {
  position: relative; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: background-color .25s ease, border-color .25s ease, transform .3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px; background: var(--gold);
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background-color .25s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__check:checked + .faq__q .faq__icon { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.faq__check:checked + .faq__q .faq__icon::before,
.faq__check:checked + .faq__q .faq__icon::after { background: #241f14; }
.faq__check:checked + .faq__q .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height .38s cubic-bezier(.22, .61, .36, 1);
}
.faq__check:checked ~ .faq__a { max-height: 420px; }
.faq__a-inner {
  padding: 4px 24px 22px; color: var(--ink-2); font-size: 15.5px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s ease .08s, transform .3s ease .08s;
}
.faq__check:checked ~ .faq__a .faq__a-inner { opacity: 1; transform: translateY(0); }
.faq__a-inner p { margin: 0; }

/* ---------- Запись ---------- */
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.booking .section__title { margin-bottom: 16px; }
.booking__lead { color: var(--ink-2); margin-bottom: 18px; }
.booking__phones { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 22px; }
.booking__phones a { font-family: var(--font-display); font-size: 25px; color: var(--ink); }
.booking__phones a:hover { color: var(--gold); }
.booking__acts { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.booking__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.booking__list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-2); }
.booking__list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 13.5px/1 var(--font-body); color: var(--ink-2); margin-bottom: 7px; }
.field__optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--olive-300, #9aa88a); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--card); border-color: var(--olive-2);
  box-shadow: 0 0 0 3px rgba(82, 95, 69, .14);
}
.form__note { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* Согласие под формой: обязательная отметка */
.check {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 2px 0 18px; font-size: 12.5px; line-height: 1.55;
  color: var(--muted); text-align: left;
}
.check input { flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--gold-ink); cursor: pointer; }
.check a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { color: var(--olive-2); }

/* Статус отправки заявки (Telegram) */
.form__status {
  display: none; margin: 0 0 16px; padding: 12px 15px;
  border-radius: var(--radius-sm); font-size: 14px; line-height: 1.5;
}
.form__status--ok { display: block; background: #eef5ec; color: #37603a; border: 1px solid #cfe0cb; }
.form__status--error { display: block; background: #fbeeec; color: #9c3427; border: 1px solid #eecfc9; }
.form__status--wait { display: block; background: var(--bg-2); color: var(--muted); border: 1px solid var(--line); }

/* Ссылка «Уточнить детали в Telegram» — появляется после отправки заявки */
.form__next { margin: 4px 0 0; text-align: center; }
.form__next[hidden] { display: none; }

/* ---------- Карта «Как добраться» ---------- */
.map {
  margin-top: 60px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.map__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 26px 28px 22px;
}
.map__title { font-family: var(--font-display); font-size: 24px; margin: 0 0 6px; }
.map__note { font-size: 14.5px; color: var(--muted); margin: 0; }
.map__frame { border-top: 1px solid var(--line); }
.map__frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Появление блоков при прокрутке ----------
   Современные браузеры: анимация привязана к прокрутке (CSS scroll-driven),
   контент не зависит от JS и не может остаться «пустым».
   Старые браузеры: мягкий фолбэк на JS (класс .is-visible). */
@supports (animation-timeline: view()) {
  .js .reveal {
    animation: revealUp both;
    animation-timeline: view();
    animation-range: entry 2% entry 32%;
  }
}
@supports not (animation-timeline: view()) {
  .js .reveal { opacity: 0; transform: translateY(28px); }
  .js .reveal.is-visible {
    opacity: 1; transform: none;
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Правовые документы ---------- */
.legal { padding: 64px 0 90px; }
.legal__wrap { max-width: 840px; }
.legal__title { font-size: clamp(30px, 4vw, 48px); margin-bottom: 10px; }
.legal__meta { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.legal__note {
  background: rgba(136, 139, 72, .1); border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0; padding: 18px 22px; margin-bottom: 36px;
}
.legal__note p { font-size: 15px; color: var(--ink-2); margin: 0; }
.legal__block { margin-bottom: 36px; }
.legal__block h2 { font-size: 22px; margin-bottom: 14px; }
.legal__block p { font-size: 16px; color: var(--ink-2); margin-bottom: 12px; }
.legal__block a { color: var(--olive-2); text-decoration: underline; text-underline-offset: 3px; }
.legal__list { list-style: disc; padding-left: 24px; margin: 0 0 14px; }
.legal__list li { font-size: 16px; color: var(--ink-2); margin-bottom: 8px; }
.legal__back { margin-top: 44px; }

/* Анкета для кабинета (заполняется на месте, пригодна для печати) */
.anketa { margin-top: 8px; }
.anketa__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.anketa label { display: block; font: 600 12.5px/1.3 var(--font-body); color: var(--muted); }
.anketa input {
  display: block; width: 100%; margin-top: 6px; padding: 9px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--ink);
}
.anketa__title { font-size: 20px; margin: 30px 0 10px; }
.anketa__hint { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.anketa__list { list-style: none; padding: 0; margin: 0 0 14px; }
.anketa__list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2);
}
.anketa__list i { flex: 0 0 auto; font-style: normal; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.anketa__sign { display: grid; grid-template-columns: 1.4fr .8fr 1.4fr; gap: 14px; margin-top: 26px; }

@media (max-width: 680px) {
  .anketa__row, .anketa__sign { grid-template-columns: 1fr; }
}

@media print {
  .head, .footer, .legal__back, .skip { display: none !important; }
  .anketa input { border: 0; border-bottom: 1px solid #000; border-radius: 0; padding-left: 0; }
}


/* Статичный режим: ?static=1 — всё видно сразу, без анимаций (скриншоты, PDF) */
.static .reveal,
.static .reveal.is-visible {
  opacity: 1 !important; transform: none !important; animation: none !important;
}
.static .fab__btn, .static .zones__promo-badge,
.static .footer__mark-img { animation: none !important; }
.static .gallery .gallery__item,
.static .indiba .bento__card {
  opacity: 1 !important; transform: none !important; animation: none !important;
}

/* ---------- Водяной знак — часть фона, а не отдельный элемент ---------- */
.footer__label {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  line-height: 0; mix-blend-mode: multiply;
}
.footer__label {
  right: 0; bottom: 0;
  width: clamp(150px, 19vw, 300px); height: auto; line-height: 0;
}
.footer__label img {
  width: 100%; height: auto; opacity: .07;
  mix-blend-mode: screen;
}
.hero__grid, .footer__grid, .footer__bottom { position: relative; z-index: 1; }

/* ---------- Бейдж «−10%» у фото — единый стиль с блоком скидок ---------- */

/* Круглый лейбл кабинета — в шапке и в подвале, без изменений */
.brand__mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--olive) var(--label) center/cover no-repeat;
  border: 1px solid rgba(70, 72, 39, .3);
  display: grid; place-items: center; font-size: 15px; color: var(--gold-2);
  overflow: hidden; position: relative; flex-shrink: 0;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background: var(--olive); opacity: .55; mix-blend-mode: multiply;
}
.footer__mark-img {
  width: 62px; height: 62px; flex-shrink: 0; border-radius: 50%;
  background: var(--label) center/cover no-repeat;
  border: 1px solid rgba(241, 239, 232, .2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}

/* ---------- Анимации: акценты и микро-движение ---------- */

/* Бейдж скидки — мягкое «дыхание» */
.zones__promo-badge { animation: breathe 5.5s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

/* Стрелка в «живой» кнопке скидки — подсказка действия */
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* Плавающие кнопки связи — появление + призывающая анимация */
.fab { position: fixed; right: 22px; bottom: 26px; z-index: 50; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab__btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 10px 26px rgba(43, 45, 38, .22);
  transition: transform .2s ease;
  animation: fabIn .6s cubic-bezier(.22, .61, .36, 1) backwards,
             fabPulse 3.2s ease-in-out infinite;
}
.fab__btn:nth-of-type(1) { animation-delay: .15s, 1.4s; }
.fab__btn:nth-of-type(2) { animation-delay: .28s, 1.9s; }
.fab__btn:nth-of-type(3) { animation-delay: .41s, 2.4s; }
.fab__btn:hover { transform: scale(1.1); animation-play-state: paused; }
.fab__btn svg { width: 24px; height: 24px; }
@keyframes fabIn {
  from { opacity: 0; transform: translateY(14px) scale(.9); }
  to { opacity: 1; transform: none; }
}
@keyframes fabPulse {
  0%, 78%, 100% { transform: scale(1); }
  85% { transform: scale(1.11); }
  92% { transform: scale(.97); }
}

/* Призывающая подсказка рядом с кнопками */
.fab__hint {
  order: -1;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink-2); font-size: 13px; line-height: 1.45;
  padding: 11px 15px; border-radius: 14px; max-width: 240px;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(8px);
  animation: hintIn .6s ease 3s forwards, hintOut .5s ease 13s forwards;
  pointer-events: none;
}
@keyframes hintIn { to { opacity: 1; transform: none; } }
@keyframes hintOut { to { opacity: 0; transform: translateY(-6px); } }

/* Каскадное появление карточек INDIBA */
.js .indiba .bento__card { animation: cardIn .7s cubic-bezier(.22, .61, .36, 1) backwards; }
.js .indiba.is-visible .bento__card:nth-child(1) { animation-delay: .05s; }
.js .indiba.is-visible .bento__card:nth-child(2) { animation-delay: .12s; }
.js .indiba.is-visible .bento__card:nth-child(3) { animation-delay: .19s; }
.js .indiba.is-visible .bento__card:nth-child(4) { animation-delay: .26s; }
.js .indiba.is-visible .bento__card:nth-child(5) { animation-delay: .33s; }
.js .indiba.is-visible .bento__card:nth-child(6) { animation-delay: .40s; }
.js .indiba.is-visible .bento__card:nth-child(7) { animation-delay: .47s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Лейбл-марка в футере — очень медленное «дыхание» */
.footer__mark-img { animation: markFloat 14s ease-in-out infinite; }
@keyframes markFloat {
  0%, 100% { transform: rotate(-1.5deg) scale(1); }
  50% { transform: rotate(1.5deg) scale(1.03); }
}

/* Звёзды в отзывах — деликатное подсвечивание */
.review .stars { transition: text-shadow .3s ease, color .3s ease; }
.review:hover .stars { text-shadow: 0 0 14px rgba(217, 180, 95, .55); }


/* Ритм фонов секций (после перестановки блоков) */
.laser { background: var(--bg); }
.zones { background: var(--bg); }
.gallery { background: var(--bg); }
.faq { background: var(--bg); }
.booking { background: var(--bg-2); }

/* ---------- Полоса цен под блоком технологии ---------- */
.tech-prices {
  margin-top: 24px;
  background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 28px;
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start;
}
.tech-prices__title { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; }
.tech-prices__note {
  font: 600 12px/1.4 var(--font-body); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--gold-ink); margin: 0;
}
.tech-prices__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 0;
}
.tech-prices__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2); flex-wrap: wrap;
}
.tech-prices__list li > span:first-child { min-width: 0; }
.tech-prices__list b {
  font-family: var(--font-display); font-size: 17px; font-weight: 500;
  color: var(--ink); white-space: normal; text-align: right;
  overflow-wrap: break-word;
}
.tech-prices__list b s { color: var(--muted); font-size: 13px; margin-left: 6px; }


/* Три режима INDIBA — внутри карточки 05 */
.bento__modes { display: grid; gap: 0; margin: 4px 0 0; }
.bento__modes li {
  display: grid; grid-template-columns: 150px 130px minmax(0, 1fr);
  gap: 14px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.bento__modes li:last-child { border-bottom: none; padding-bottom: 0; }
.bento__modes b { font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.bento__mode-temp {
  font: 600 12px/1.4 var(--font-body); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--gold-ink);
}
.bento__mode-text { font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; }

/* На узких экранах режимы идут в столбик */
@media (max-width: 1000px) {
  .bento__modes li { grid-template-columns: 1fr; gap: 3px; }
  .bento__modes b { font-size: 16px; }
}

/* ---------- Подвал ---------- */
.footer { background: var(--olive); color: #cdd0c2; padding: 72px 0 30px; position: relative; overflow: hidden; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px;
  padding-bottom: 48px; position: relative; z-index: 1;
}

.footer__mark { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.footer__mark-img {
  width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0;
  background: var(--label) center/cover no-repeat;
  border: 1px solid rgba(241, 239, 232, .22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.footer__name {
  display: block; font-family: var(--font-display); font-size: 34px; font-weight: 500;
  letter-spacing: .16em; line-height: 1; color: #f4f1ea; margin-bottom: 4px;
}
/* Латинская подпись бренда — каллиграфия с лейбла */
.footer__latin {
  display: block; font-family: var(--font-script); font-size: 22px; line-height: 1.2;
  color: var(--gold-soft); letter-spacing: .04em; margin-bottom: 10px;
}
.footer__tagline { font-size: 13px; color: var(--gold-soft); line-height: 1.55; }
.footer__lead { font-size: 15px; color: #b9bcaf; max-width: 42ch; margin: 0 0 26px; }

.footer__social { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__social-note { font-size: 13.5px; color: var(--gold-soft); margin-left: 4px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #f4f1ea;
  background: rgba(241, 239, 232, .08);
  border: 1px solid rgba(241, 239, 232, .18);
  transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}
.footer__social a:hover {
  background: var(--gold); border-color: var(--gold); color: #23281a; transform: translateY(-3px);
}
.footer__social svg { width: 20px; height: 20px; }

.footer__title {
  font: 600 12px/1 var(--font-body); letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 18px;
}
.footer__phone {
  display: block; font-family: var(--font-display); font-size: 23px; color: #f4f1ea;
  margin-bottom: 6px; transition: color .2s ease, transform .2s ease; width: fit-content;
}
.footer__phone:hover { color: var(--gold-2); transform: translateX(3px); }
.footer__hours { font-size: 14px; color: var(--gold-soft); margin: 12px 0 16px; }
.footer__address { font-size: 15px; color: #d6d8cd; line-height: 1.7; margin: 0 0 12px; }
.footer__address b { color: #f4f1ea; font-weight: 600; }
.footer__hint { font-size: 13.5px; color: var(--gold-soft); margin: 0 0 16px; }
.footer__link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 14px/1 var(--font-body); color: var(--gold-soft);
  border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.footer__link:hover { color: #f4f1ea; border-color: rgba(241, 239, 232, .4); gap: 12px; }

.footer__bottom {
  border-top: 1px solid rgba(241, 239, 232, .14); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--gold-soft); position: relative; z-index: 1;
}
.footer__bottom a { color: #c9ccbe; transition: color .2s ease; }
.footer__bottom a:hover { color: var(--gold-2); }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1180px) {
  .tech-prices { grid-template-columns: 1fr; gap: 16px; }
  .zones__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .zone-fav__grid { grid-template-columns: repeat(2, 1fr); }
  /* телефоны в шапке уступают место навигации */
  .head__phones { display: none; }
  .head__in > .pill--sm { margin-left: auto; }
  /* на двух колонках фото занимает одну, широкие карточки — обе */
  .bento__card--pic { grid-column: span 1; grid-row: span 2; }
  .bento__card--pic .blob-2 { min-height: 0; aspect-ratio: 4 / 5; }
  .bento__card--wide, .bento__card--cta, .bento__card--prices { grid-column: span 2; }
}

/* В одну колонку широкие карточки тоже должны быть в одну */
@media (max-width: 680px) {
  .bento__card--wide, .bento__card--cta, .bento__card--prices { grid-column: span 1; }
}

@media (max-width: 1000px) {
  .hero__grid, .booking__grid { grid-template-columns: 1fr; gap: 44px; }
  .plans__grid, .reviews__grid, .team__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .zones__top { padding-right: 0; }
  .member__pic img { min-height: 0; max-height: none; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .promo__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .promo__foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  /* в колонке flex-basis задаёт высоту — сбрасываем, иначе под текстом дыра в 320px */
  .promo__note { flex: 0 0 auto; width: 100%; max-width: none; }
  .tech-prices { grid-template-columns: 1fr; gap: 18px; }
  .tech-prices__list { grid-template-columns: 1fr; }
  .map__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  /* bento на 2 колонках: фото в одну колонку, широкие карточки — на две */
  .bento__card--pic { grid-column: span 1; grid-row: auto; }
  .bento__card--pic .blob-2 { min-height: 0; aspect-ratio: 4 / 5; }
  .bento__card--wide, .bento__card--cta, .bento__card--prices { grid-column: span 2; }
}

/* Три карточки скидок остаются в один ряд до 820px — иначе они «разъезжаются» */
@media (max-width: 820px) {
  .promo__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* Шапка: навигация уступает бургеру */
@media (max-width: 1180px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 10px 20px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav a { padding: 13px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle:checked + .wrap .nav { display: flex; }
  .burger { display: grid; }
  .head__in > .pill--sm { margin-left: auto; }
}

/* Совсем узкие экраны: упрощаем шапку, чтобы ничего не вылезало */
@media (max-width: 480px) {
  .brand__latin, .brand__sub { display: none; }
  .brand__name { font-size: 22px; }
  .brand { gap: 9px; }
  .head__in { gap: 10px; }
  .head__in .pill--sm { padding: 9px 15px; font-size: 13.5px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; scroll-margin-top: 90px; }
  .section__title { margin-bottom: 30px; }

  .head__in { min-height: 68px; gap: 12px; }
  .brand__name { font-size: 24px; }
  .brand__latin { font-size: 16px; }
  .brand__sub { font-size: 9px; }
  .brand__mark { width: 34px; height: 34px; }
  .burger { display: grid; }
  .head__in .pill--sm { margin-left: auto; padding: 10px 16px; font-size: 14px; }

  .hero { padding: 44px 0 60px; }
  .hero .lead { font-size: 16.5px; }
  .hero__acts { margin-bottom: 30px; }
  .hero__acts .pill { width: 100%; }
  .hero__pic .blob { aspect-ratio: 1 / 1; }
  .promo { padding: 44px 0; }
  .promo + .section { padding-top: 56px; }

  .plans__grid, .reviews__grid, .team__grid, .zones__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide, .bento__card--cta, .bento__card--pic, .bento__card--prices { grid-column: span 1; grid-row: auto; }
  .bento__card--pic .blob-2 { min-height: 0; aspect-ratio: 4 / 5; }
  .zone-fav__grid { grid-template-columns: 1fr; }
  .plan, .member, .form { padding: 26px 22px; }
  .plan__note { min-height: 0; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item { border-radius: 14px; }
  .gallery__cap { opacity: 1; transform: none; left: 12px; right: 12px; bottom: 10px; }
  .gallery__cap-title { font-size: 15px; }
  .gallery__cap-note { display: none; }
  .gallery__item::after { opacity: .5; }
  .booking__list { grid-template-columns: 1fr; }
  .faq__q { font-size: 17.5px; padding: 18px 20px; }
  .faq__a-inner { padding: 4px 20px 20px; font-size: 15.5px; }
  .map__frame iframe { height: 320px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .fab { right: 14px; bottom: 14px; }
  .fab__btn { width: 48px; height: 48px; }
  .marquee__track { gap: 28px; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .plan__now { font-size: 34px; }
  .hero__badge { font-size: 11px; padding: 9px 13px; }
}

/* Уважение к настройкам уменьшения анимации */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .fab, .head, .marquee, .form { display: none !important; }
  body { background: #fff; }
  /* печать и сохранение в PDF не должны зависеть от анимации появления */
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .gallery .gallery__item { opacity: 1 !important; transform: none !important; }
  .faq__a { max-height: none !important; }
  .faq__a-inner { opacity: 1 !important; transform: none !important; }
}
