﻿/* ============================================================
   CHRONOS CLINIC — дизайн-система
   Один общий файл стилей для всех страниц.
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  /* Цвет */
  --bg:         #0D0C0A;
  --bg-card:    #161412;
  --bg-elevate: #1C1916;
  --border:     #2A2622;
  --gold:       #C9A24B;
  --gold-light: #E3C57A;
  --grad-gold:  linear-gradient(135deg, #C9A24B 0%, #E3C57A 100%);
  --text:       #F2EEE8;
  --text-muted: #9B948A;

  /* Шрифты */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', Arial, sans-serif;

  /* Типографическая шкала */
  --h1: clamp(36px, 5.5vw, 68px);
  --h2: clamp(28px, 3.5vw, 40px);
  --h3: clamp(21px, 2.2vw, 26px);
  --body-size: 17px;

  /* Геометрия */
  --radius: 14px;
  --container: 1200px;
  --section-pad: clamp(64px, 9vw, 120px);
  --transition: 0.3s ease;
  --header-h: 80px;
  --dock-progress: 0;
  --burger-line-color: var(--text);
}

/* ---------- Reset / база ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* Страховка от горизонтального скролла на мобильных:
     overflow-x на одном body браузеры телефонов игнорируют */
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
/* Длинные слова и названия не должны распирать колонки и карточки */
h1, h2, h3, h4, p, li, th, td, a, span { overflow-wrap: break-word; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

/* Видимый фокус — золотая обводка */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(201, 162, 75, 0.35); color: var(--text); }

/* ---------- Типографика ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

.lead { font-size: 19px; color: var(--text-muted); max-width: 640px; }

/* Мелкие метки: uppercase-гротеск */
.label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.label--muted { color: var(--text-muted); }

.text-muted { color: var(--text-muted); }

/* ---------- Каркас ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: calc(var(--section-pad) * 0.6); }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .label { display: block; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--text-muted); margin-top: 12px; }

/* ---------- Сигнатура: золотая линия ---------- */
.gold-line {
  height: 1px;
  width: 120px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 75, 0));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.revealed .gold-line, .gold-line.revealed { transform: scaleX(1); }

/* Полноширинный разделитель между секциями */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* ---------- Сигнатура: дуга из точек (мотив логотипа) ---------- */
.dots-arc { color: var(--gold); flex: none; }

/* ---------- Появление при скролле ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

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

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
  max-width: 100%;
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), border-color var(--transition),
              color var(--transition);
}

.btn--gold {
  background: var(--grad-gold);
  color: #14110B;
  border: 1px solid transparent;
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 75, 0.28);
}

.btn--ghost {
  border: 1px solid rgba(242, 238, 232, 0.28);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.btn--sm { padding: 11px 22px; font-size: 12px; }

/* Текстовая ссылка со стрелкой */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
  transition: gap var(--transition), color var(--transition);
}
.arrow-link:hover { gap: 14px; color: var(--gold-light); }
.arrow-link svg { flex: none; }

/* ---------- Карточки ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 75, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.card .icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 22px;
}

/* ============================================================
   ШАПКА
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color var(--transition), border-color var(--transition),
              backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(13, 12, 10, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
body.menu-locked .header {
  z-index: 140;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

/* Логотип */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo svg { color: var(--gold); }
.logo img { height: 46px; width: auto; display: block; }
.footer .logo img { height: 40px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.1;
  color: var(--text);
}
.logo__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Навигация */
.nav { margin-inline: auto; }
.nav__list { display: flex; gap: 6px; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link svg { transition: transform var(--transition); }

/* ============================================================
   МЕГАМЕНЮ УСЛУГ
   ============================================================ */
.nav__item { position: relative; }

/* Обёртка мегаменю */
.megamenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 660px;
  padding: 10px;
  background: rgba(22, 20, 18, 0.98);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(201, 162, 75, 0.06);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s ease;
  z-index: 200;
}
.nav__item:hover .megamenu,
.nav__item:focus-within .megamenu,
.nav__item.open .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__item:hover > .nav__link svg,
.nav__item.open > .nav__link svg { transform: rotate(180deg); }

/* Заголовок и сетка мегаменю */
.megamenu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.megamenu__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.megamenu__all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color var(--transition), gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.megamenu__all:hover { color: var(--gold-light); gap: 10px; }
.megamenu__all svg { flex: none; }

.megamenu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

/* Пункт мегаменю */
.megamenu__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-muted);
  transition: background-color 0.22s ease, color 0.22s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.megamenu__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201, 162, 75, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.megamenu__item:hover {
  background: rgba(201, 162, 75, 0.06);
  color: var(--text);
}
.megamenu__item:hover::before { opacity: 1; }

.megamenu__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(28, 25, 22, 0.8);
  display: grid;
  place-content: center;
  color: var(--gold);
  transition: border-color 0.22s ease, background-color 0.22s ease;
}
.megamenu__item:hover .megamenu__icon {
  border-color: rgba(201, 162, 75, 0.4);
  background: rgba(201, 162, 75, 0.1);
}
.megamenu__icon svg { width: 18px; height: 18px; }

.megamenu__text {
  min-width: 0;
}
.megamenu__name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.megamenu__desc {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Старый простой дропдаун (запасной) */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  padding: 10px;
  background: var(--bg-elevate);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: background-color var(--transition), color var(--transition);
}
.dropdown a:hover { background: rgba(201, 162, 75, 0.08); color: var(--text); }
.dropdown a span { display: block; font-size: 12px; color: var(--text-muted); }

/* Правая часть шапки */
.header__actions { display: flex; align-items: center; gap: 22px; flex: none; }
.header__phone {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.header__phone:hover { color: var(--gold-light); }

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 130;
  position: relative;
  border-radius: 50%;
  isolation: isolate;
  transform: translateY(calc(var(--dock-progress) * 7px))
             rotate(calc(var(--dock-progress) * -45deg))
             scale(calc(1 - var(--dock-progress) * 0.08));
}
.burger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50% 50% 50% 0;
  background: var(--grad-gold);
  box-shadow: 0 10px 28px rgba(201, 162, 75, 0.32);
  opacity: var(--dock-progress);
  transform: scale(calc(0.72 + var(--dock-progress) * 0.28));
}
.burger::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  z-index: -1;
  width: 12px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 244, 205, 0.38);
  filter: blur(1.5px);
  opacity: var(--dock-progress);
}
.burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--burger-line-color);
  transition: transform var(--transition), opacity var(--transition);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
body.menu-locked .burger {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
body.menu-locked .burger::before {
  opacity: 1;
  transform: scale(1);
}
body.menu-locked .burger::after {
  opacity: 1;
}
body.menu-locked .burger span {
  background: #14110B;
}

/* Полноэкранное мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 88px 0 60px;
  background: #0D0C0A;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }

/* Внутренний nav */
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 24px;
}

/* ---- Пункты верхнего уровня ---- */

/* Строка с аккордеоном (для «Услуги») */
.mobile-menu__row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__row > a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.mobile-menu__row > a:hover { color: var(--gold-light); }
.mobile-menu__row > a .mob-main-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: grid;
  place-content: center;
  color: var(--gold);
  transition: border-color var(--transition), background var(--transition);
}
.mobile-menu__row.open > a .mob-main-icon,
.mobile-menu__row > a:hover .mob-main-icon {
  border-color: rgba(201,162,75,0.5);
  background: rgba(201,162,75,0.1);
}

/* Кнопка разворачивания */
.mobile-menu__toggle {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  margin-left: 8px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.mobile-menu__row.open .mobile-menu__toggle {
  border-color: var(--gold);
  background: rgba(201,162,75,0.12);
  transform: rotate(45deg);
}

/* Аккордеон подменю */
.mobile-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__row.open + .mobile-submenu { grid-template-rows: 1fr; }
.mobile-submenu > div { overflow: hidden; }
.mobile-submenu__inner {
  display: grid;
  gap: 2px;
  padding: 8px 0 16px 0;
}
.mobile-submenu__inner a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease;
  border: none;
}
.mobile-submenu__inner a:hover, .mobile-submenu__inner a:active {
  background: rgba(201,162,75,0.08);
  color: var(--text);
}
.mobile-submenu__inner a .mob-sub-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: grid;
  place-content: center;
  color: var(--gold);
}
.mobile-submenu__inner a .mob-sub-icon svg { width: 15px; height: 15px; }

/* Стрелка-индикатор в подменю */
.mobile-submenu__inner a::after {
  content: "";
  flex: none;
  margin-left: auto;
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--text-muted);
  border-right: 1.5px solid var(--text-muted);
  transform: rotate(45deg);
  opacity: 0.5;
}

/* Простые пункты меню без аккордеона (nav > a) */
.mobile-menu nav > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
  position: relative;
}
.mobile-menu nav > a:hover { color: var(--gold-light); }
/* Стрелка у каждого пункта */
.mobile-menu nav > a::after {
  content: "";
  position: absolute;
  right: 4px;
  width: 7px; height: 7px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: rotate(45deg);
  transition: border-color var(--transition), transform var(--transition);
}
.mobile-menu nav > a:hover::after { border-color: var(--gold); transform: rotate(45deg) translate(2px,-2px); }

/* Иконка у пунктов nav */
.mobile-menu nav > a .mob-main-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: grid;
  place-content: center;
  color: var(--gold);
}

/* Телефон */
.mobile-menu__phone {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 0 !important;
  font-family: var(--font-body) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  border-bottom: none !important;
  border-top: 1px solid var(--border);
}
.mobile-menu__phone::after { display: none !important; }

/* Кнопка «На главную» */
.mobile-menu__home {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 16px 24px !important;
  border-radius: 999px;
  background: var(--grad-gold);
  color: #14110B !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(201, 162, 75, 0.28);
  border: none !important;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mobile-menu__home:hover {
  color: #14110B !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(201,162,75,0.38);
}
.mobile-menu__home::after { display: none !important; }

body.menu-locked { overflow: hidden; }

/* ---------- Мобильный док + капля (появляются при скролле) ----------
   Сценарий «вау»: бургер в шапке ныряет вниз, золотая капля падает
   из шапки в правый нижний угол (с лёгким отскоком), и уже из капли
   влево выезжает док с быстрыми пунктами. */
.mobile-dock {
  position: fixed;
  left: 12px; right: 78px; bottom: 12px;
  z-index: 95;
  display: none;
  gap: 6px;
  padding: 7px;
  background: rgba(22, 20, 18, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  /* Спрятан «внутри» капли: сжат к правому краю */
  transform-origin: calc(100% + 40px) 50%;
  transform: scaleX(0.12);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}
.mobile-dock a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
}
.mobile-dock a svg { flex: none; }
.mobile-dock__cta { background: var(--grad-gold); color: #14110B !important; }

/* Капля: круг с острым уголком вниз (мотив логотипа — точки внутри) */
.fab-drop {
  position: fixed;
  right: 12px; bottom: 12px;
  z-index: 130; /* выше полноэкранного меню — работает и как кнопка закрытия */
  width: 56px; height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--grad-gold);
  color: #14110B;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 10px 28px rgba(201, 162, 75, 0.38);
  transform: translateY(96px) rotate(-45deg);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.06s, opacity 0.3s ease 0.06s;
}
.fab-drop::before,
.fab-drop::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.fab-drop::before {
  inset: 10px auto auto 13px;
  width: 16px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 244, 205, 0.42);
  filter: blur(2px);
  opacity: 0.72;
  transform: rotate(8deg);
}
.fab-drop::after {
  left: 15px;
  top: -18px;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold-light);
  box-shadow: 0 5px 14px rgba(201, 162, 75, 0.28);
  opacity: 0;
  transform: rotate(-45deg) scale(0.45);
}
.fab-drop__icon {
  display: grid;
  place-content: center;
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
}
.fab-drop__burger,
.fab-drop__close {
  grid-area: 1 / 1;
  display: grid;
  place-content: center;
  width: 24px;
  height: 24px;
  transition: opacity var(--transition), transform var(--transition);
}
.fab-drop__burger { gap: 5px; }
.fab-drop__burger span,
.fab-drop__close span {
  display: block;
  width: 20px;
  height: 1.8px;
  border-radius: 999px;
  background: currentColor;
}
.fab-drop__close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.82);
}
.fab-drop__close span { grid-area: 1 / 1; }
.fab-drop__close span:first-child { transform: rotate(45deg); }
.fab-drop__close span:last-child { transform: rotate(-45deg); }
body.menu-locked .fab-drop__burger { opacity: 0; transform: rotate(90deg) scale(0.82); }
body.menu-locked .fab-drop__close { opacity: 1; transform: none; }
/* Когда меню открыто из дока — сам док прячем, капля остаётся кнопкой закрытия */
body.menu-locked .mobile-dock { transform: scaleX(0.12); opacity: 0; pointer-events: none; }
/* Меню открыто без дока (с верха страницы) — капля не нужна.
   Если док был виден, правило body.dock-visible ниже по файлу вернёт
   ей видимость и клики: капля остаётся кнопкой закрытия. */
body.menu-locked .fab-drop {
  opacity: 0;
  pointer-events: none;
}
body.menu-locked .fab-drop::after { opacity: 0; }

@keyframes fabSatelliteDrop {
  0%, 38% { opacity: 0; transform: translate(-2px, -44px) rotate(-45deg) scale(0.38); }
  50%     { opacity: 0.72; transform: translate(-1px, -30px) rotate(-45deg) scale(0.62); }
  70%     { opacity: 0.5; transform: translate(1px, -8px) rotate(-45deg) scale(0.76); }
  82%, 100% { opacity: 0; transform: translate(0, 0) rotate(-45deg) scale(0.3); }
}
/* Бургер «ныряет» вниз, передавая эстафету капле */
.burger { transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1); }

@media (prefers-reduced-motion: reduce) {
  .mobile-dock, .fab-drop, .fab-drop::before, .fab-drop::after, .burger { transition: none; animation: none !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(201, 162, 75, 0.10), transparent 65%),
    linear-gradient(160deg, #17140F 0%, var(--bg) 70%);
}
.hero__media video,
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 12, 10, 0.92) 0%, rgba(13, 12, 10, 0.62) 55%, rgba(13, 12, 10, 0.25) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__content { max-width: 680px; padding-block: 140px 100px; }
.hero__content .label { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero__content h1 { margin-bottom: 24px; font-weight: 400; }
.hero__content h1 em { font-style: italic; color: var(--gold-light); }
.hero__sub { font-size: 18px; color: var(--text-muted); max-width: 540px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Внутренний hero (подстраницы) */
.page-hero { padding: calc(var(--header-h) + 64px) 0 0; }
.page-hero h1 {
  max-width: min(100%, 920px);
  margin: 10px 0 16px;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.page-hero .lead { max-width: min(100%, 760px); }

/* Хлебные крошки */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.breadcrumbs a { transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs li:not(:last-child)::after { content: "·"; margin-left: 8px; color: var(--border); }
.breadcrumbs [aria-current="page"] { color: var(--gold); }

/* ============================================================
   СЕКЦИИ ГЛАВНОЙ
   ============================================================ */

/* Бренды */
.brands { border-block: 1px solid var(--border); padding-block: 36px; }
.brands__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.brands__note { font-size: 14px; color: var(--text-muted); max-width: 260px; }
.brands__list { display: flex; gap: clamp(32px, 6vw, 72px); flex-wrap: wrap; }
.brands__list span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: default;
}
.brands__list span:hover { color: var(--gold-light); }

/* Сетки карточек */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Карточка услуги */
.service-card { display: flex; flex-direction: column; min-height: 240px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--text-muted); flex: 1; }
.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.service-card__price { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* О клинике */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 25%, rgba(201, 162, 75, 0.12), transparent 55%),
    var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Фото внутри разделов (услуги, контакты) */
.section-photo { margin: 0 0 36px; }
.section-photo img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.section-photo--logo-focus {
  height: clamp(300px, 34vw, 430px);
  border: 1px solid rgba(201, 162, 75, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.section-photo--logo-focus img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 72%;
  border: 0;
  border-radius: 0;
}
.about__points { display: grid; gap: 18px; margin-top: 36px; }
.about__reviews {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.point { display: flex; gap: 18px; align-items: flex-start; }
.point svg { flex: none; width: 26px; height: 26px; color: var(--gold); margin-top: 3px; }
.point strong { display: block; font-weight: 600; margin-bottom: 2px; }
.point span { font-size: 14.5px; color: var(--text-muted); }

/* Карточка специалиста */
.team-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.team-card[data-href] { cursor: pointer; }
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201, 162, 75, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity var(--transition);
}
.team-card:hover::before { opacity: 1; }
.team-card__photo {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(145deg, rgba(201, 162, 75, 0.16), transparent 45%),
    linear-gradient(180deg, var(--bg-elevate), #11100E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.team-card__photo::before {
  content: attr(data-initials);
  position: absolute;
  inset: auto 22px 22px auto;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-radius: 50%;
  background: rgba(13, 12, 10, 0.72);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.team-card__photo:has(img)::before { display: none; }
.team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.team-card__body h3 { font-size: 24px; margin-bottom: 6px; }
.team-card__role { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.team-card__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(201, 162, 75, 0.38);
  border-radius: 999px;
  background: rgba(13, 12, 10, 0.78);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.team-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.team-card__actions .btn {
  padding: 9px 16px;
  font-size: 11px;
}

/* Акции */
.promo-offers {
  position: relative;
}
.promo-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: 520px;
  padding: clamp(36px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.38);
  border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(circle at 84% 16%, rgba(227, 197, 122, 0.16), transparent 34%),
    linear-gradient(135deg, #1c1916 0%, #12100e 58%, #18130d 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}
.promo-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 360px;
  height: 360px;
  right: -150px;
  bottom: -200px;
  border: 1px solid rgba(201, 162, 75, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(201, 162, 75, 0.035),
    0 0 0 92px rgba(201, 162, 75, 0.025);
}
.promo-feature__content {
  max-width: 650px;
}
.promo-feature__flag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 34px;
  padding: 6px 14px;
  border: 1px solid rgba(227, 197, 122, 0.42);
  border-radius: 999px;
  background: rgba(201, 162, 75, 0.08);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.promo-feature__eyebrow {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 27px);
  font-style: italic;
}
.promo-feature h2 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(36px, 4.4vw, 58px);
}
.promo-feature__lead {
  max-width: 600px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 21px);
}
.promo-feature__text {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--text-muted);
  font-size: 15px;
}
.promo-feature__visual {
  position: relative;
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}
.promo-feature__procedure {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 25px 28px 27px;
  border: 1px solid rgba(242, 238, 232, 0.13);
  border-radius: var(--radius);
  background: rgba(13, 12, 10, 0.54);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.promo-feature__procedure span {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.promo-feature__procedure strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.1;
}
.promo-feature__procedure small {
  color: var(--text-muted);
  font-size: 12px;
}
.promo-feature__procedure--gift {
  border-color: rgba(201, 162, 75, 0.52);
  background: linear-gradient(135deg, rgba(201, 162, 75, 0.16), rgba(13, 12, 10, 0.58));
}
.promo-feature__procedure--gift span,
.promo-feature__procedure--gift strong {
  color: var(--gold-light);
}
.promo-feature__plus {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 162, 75, 0.55);
  border-radius: 50%;
  background: var(--bg);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  transform: translate(-50%, -50%);
}
.promo-feature__limited {
  justify-self: end;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.promo-offers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
  overflow: hidden;
}
.promo-card::after {
  content: "";
  position: absolute;
  right: -72px;
  top: -72px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(201, 162, 75, 0.13);
  border-radius: 50%;
  pointer-events: none;
}
.promo-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.promo-card .promo-card__top .label {
  margin-bottom: 0;
}
.promo-card__discount {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 6px 11px;
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.promo-card .label { margin-bottom: 16px; }
.promo-card h3 { margin-bottom: 10px; }
.promo-card p { font-size: 15px; color: var(--text-muted); flex: 1; }
.promo-card__prices { display: flex; align-items: baseline; gap: 14px; margin: 24px 0 6px; flex-wrap: wrap; }
.promo-card__old { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.promo-card__new { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--text); }
.promo-card__benefit {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.promo-card .btn {
  align-self: flex-start;
}
.promo-offers__note {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}
.promo-offers .cta-band {
  margin-top: clamp(56px, 8vw, 96px);
}
.promo-offers .cta-band .label {
  display: block;
  margin-bottom: 12px;
}

/* Анонс акций на главной */
.home-promo {
  padding-top: 0;
}
.home-promo__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 75, 0.36);
  border-radius: calc(var(--radius) * 1.4);
  background:
    radial-gradient(circle at 90% 10%, rgba(227, 197, 122, 0.14), transparent 30%),
    linear-gradient(135deg, var(--bg-elevate), #12100e);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.home-promo__card:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 197, 122, 0.68);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}
.home-promo__card::after {
  content: "+";
  position: absolute;
  right: clamp(26px, 8vw, 100px);
  top: -42px;
  color: rgba(201, 162, 75, 0.07);
  font-family: var(--font-display);
  font-size: 190px;
  line-height: 1;
}
.home-promo__copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.home-promo__copy h2 {
  margin: 12px 0;
  font-size: clamp(29px, 4vw, 46px);
}
.home-promo__copy p {
  max-width: 660px;
  color: var(--text-muted);
}
.home-promo__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-promo__card:hover .home-promo__link {
  gap: 15px;
}

/* Шаги первого визита */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 75, 0.6);
  margin-bottom: 18px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-muted); }

/* Отзывы */
.reviews {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.reviews .dots-arc { margin: 0 auto 26px; }
.reviews h2 { margin-bottom: 14px; }
.reviews p { color: var(--text-muted); margin-bottom: 36px; }
.reviews__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ФОРМА ЗАПИСИ
   ============================================================ */
.booking { background: var(--bg-card); border-block: 1px solid var(--border); }
.booking__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.booking__info h2 { margin: 14px 0 16px; }
.booking__info p { color: var(--text-muted); max-width: 440px; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: grid; gap: 8px; }
.form__field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  transition: border-color var(--transition);
}
.form__field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%239B948A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.form__field textarea { min-height: 96px; resize: vertical; }
.form__field input:hover, .form__field select:hover, .form__field textarea:hover { border-color: #3A342E; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form__field input::placeholder, .form__field textarea::placeholder { color: #6B655C; }
.form__field.invalid input, .form__field.invalid select { border-color: #B5563E; }
.form__error { font-size: 12.5px; color: #D4785F; display: none; }
.form__field.invalid .form__error { display: block; }

/* Чекбокс согласия */
.form__consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-muted); }
.form__consent input {
  appearance: none;
  flex: none;
  width: 20px; height: 20px;
  margin-top: 1px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: border-color var(--transition), background-color var(--transition);
}
.form__consent input:checked { background: var(--gold); border-color: var(--gold); }
.form__consent input:checked::before {
  content: "";
  width: 10px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='none'%3E%3Cpath d='M1.5 5.5 4 8l4.5-6' stroke='%230D0C0A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.form__consent a { color: var(--gold); border-bottom: 1px solid rgba(201, 162, 75, 0.4); }
.form__consent.invalid { color: #D4785F; }

/* Сообщение об успехе */
.form__success {
  display: none;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: var(--radius);
  background: rgba(201, 162, 75, 0.06);
}
.form__success svg { margin: 0 auto 18px; color: var(--gold); }
.form__success h3 { margin-bottom: 8px; }
.form__success p { color: var(--text-muted); font-size: 15px; }
.form.sent { display: none; }
.form.sent + .form__success { display: block; }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contacts-list { display: grid; gap: 26px; }
.contact-item { display: flex; gap: 18px; }
.contact-item svg { flex: none; width: 24px; height: 24px; color: var(--gold); margin-top: 4px; }
.contact-item .label--muted { display: block; margin-bottom: 4px; }
.contact-item a:hover { color: var(--gold-light); }

/* Юридические тексты (политика конфиденциальности и т.п.) */
.legal-text .lead { margin-bottom: 8px; }
.legal-text h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin: 44px 0 16px;
  color: var(--gold-light);
}
.legal-text p { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.legal-text ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal-text li { color: var(--text-muted); font-size: 15px; margin-bottom: 8px; }
.legal-text strong { color: var(--text); font-weight: 600; }

/* Живая карта (конструктор Яндекс.Карт) — резиновая по ширине */
.map-embed {
  align-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.map-embed iframe { display: block; width: 100% !important; }

.map-placeholder {
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 60% 40%, rgba(201, 162, 75, 0.07), transparent 60%),
    var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

/* ============================================================
   СТРАНИЦЫ УСЛУГ / ПРАЙС / FAQ
   ============================================================ */

/* Список с золотыми маркерами */
.gold-list { display: grid; gap: 14px; }
.gold-list li { position: relative; padding-left: 30px; color: var(--text-muted); }
.gold-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 1.5px;
  background: var(--gold);
}
.gold-list li strong { color: var(--text); }
.gold-list--columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

/* Таблица цен */
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  padding-bottom: 18px;
}
.price-table th, .price-table td {
  padding: 18px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 15.5px;
  vertical-align: top;
}
.price-table th { font-weight: 500; color: var(--text); }
.price-table td:last-child, .price-table th:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: var(--gold-light);
}
.price-table .price-old { display: block; font-size: 13px; color: var(--text-muted); text-decoration: line-through; font-weight: 400; }
.price-table tr { transition: background-color var(--transition); }
.price-table tbody tr:hover { background: rgba(201, 162, 75, 0.04); }

/* Якорное меню категорий */
.anchor-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 56px; }
.anchor-nav a {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}
.anchor-nav a:hover { border-color: var(--gold); color: var(--gold-light); }

/* Плавающая навигация по разделам услуг */
.service-float-nav {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 92;
  width: min(calc(100vw - 48px), 920px);
  padding: 7px;
  border: 1px solid rgba(201, 162, 75, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 245, 218, 0.055), rgba(255, 245, 218, 0)),
    rgba(13, 12, 10, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translate(-50%, 26px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-float-nav.is-visible {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
body.menu-locked .service-float-nav {
  transform: translate(-50%, 26px) scale(0.96);
  opacity: 0;
  pointer-events: none;
}
.service-float-nav__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.service-float-nav a {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 19px;
  border: 1px solid rgba(242, 238, 232, 0.1);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition), transform var(--transition);
}
.service-float-nav a::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 235, 172, 0.85) 46%, transparent 72%);
  opacity: 0;
  transform: translateX(-115%);
  pointer-events: none;
}
.service-float-nav a:hover {
  color: var(--gold-light);
  border-color: rgba(201, 162, 75, 0.45);
  background: rgba(201, 162, 75, 0.06);
  transform: translateY(-1px);
}
.service-float-nav a.is-active {
  color: #17120A;
  border-color: rgba(227, 197, 122, 0.9);
  background: var(--grad-gold);
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.28), inset 0 1px 0 rgba(255,255,255,0.24);
}
.service-float-nav a.is-active::before {
  opacity: 0.55;
  animation: serviceNavSheen 2.8s ease-in-out infinite;
}

@keyframes serviceNavSheen {
  0%, 32% { transform: translateX(-115%); }
  58%, 100% { transform: translateX(115%); }
}

@media (prefers-reduced-motion: reduce) {
  .service-float-nav,
  .service-float-nav a,
  .service-float-nav a::before {
    transition: none;
    animation: none !important;
  }
}

/* FAQ-аккордеон */
.faq { display: grid; gap: 14px; max-width: 800px; }
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.faq__item.open { border-color: rgba(201, 162, 75, 0.5); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
}
.faq__question svg { flex: none; color: var(--gold); transition: transform var(--transition); }
.faq__item.open .faq__question svg { transform: rotate(45deg); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq__item.open .faq__answer { grid-template-rows: 1fr; }
.faq__answer > div { overflow: hidden; }
.faq__answer p { padding: 0 26px 24px; font-size: 15px; color: var(--text-muted); }

/* Карточка врача внутри услуги */
.doctor-inline {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.doctor-inline__photo {
  flex: none;
  width: 120px; height: 150px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevate);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  position: relative;
}
.doctor-inline__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doctor-inline__body { flex: 1; min-width: 240px; }
.doctor-inline__body h3 { margin-bottom: 4px; }
.doctor-inline__body p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }

/* CTA-блок */
.cta-band {
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 32px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(201, 162, 75, 0.08), transparent 70%),
    var(--bg-card);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); max-width: 480px; margin: 0 auto 32px; }

/* ============================================================
   СТРАНИЦА СПЕЦИАЛИСТА
   ============================================================ */
.specialist-hero {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.specialist-hero__photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(201, 162, 75, 0.16), transparent 48%),
    linear-gradient(180deg, var(--bg-card), #100F0D);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  position: relative;
}
.specialist-hero__photo::before {
  content: attr(data-initials);
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(201, 162, 75, 0.52);
  border-radius: 50%;
  background: rgba(13, 12, 10, 0.72);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.specialist-hero__photo:has(img)::before { display: none; }
.specialist-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.specialist-hero__body {
  min-width: 0;
}
.specialist-hero__body h1 { font-size: clamp(34px, 4vw, 56px); margin: 12px 0 8px; }
.specialist-hero__role { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; max-width: 680px; }
.specialist-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.specialist-meta__item {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(22, 20, 18, 0.64);
}
.specialist-meta__item span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.specialist-meta__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}
.specialist-block {
  margin-bottom: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28, 25, 22, 0.72), rgba(22, 20, 18, 0.78));
}
.specialist-block h2 { font-size: 24px; margin-bottom: 14px; }
.specialist-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Инфо-карточки документов */
.doc-card { display: flex; flex-direction: column; gap: 0; min-height: 200px; }
.doc-card h3 { font-size: 20px; flex: 1; }
.doc-card .arrow-link { margin-top: 20px; }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-top: 72px; background: #0B0A08; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__about p { font-size: 14px; color: var(--text-muted); margin-top: 18px; max-width: 280px; }
.footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: 14.5px; color: var(--text-muted); transition: color var(--transition); }
.footer__col a:hover { color: var(--gold-light); }
.footer__contacts { display: grid; gap: 12px; font-size: 14.5px; color: var(--text-muted); }
.footer__contacts a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  display: grid;
  place-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
/* Логотип MAX (белый PNG): затемняем на золотой кнопке, приглушаем в подвале */
.icon-max { display: block; object-fit: contain; }
.btn--gold .icon-max { filter: brightness(0.1); }
.footer__social .icon-max { opacity: 0.72; transition: opacity var(--transition); }
.footer__social a:hover .icon-max { opacity: 1; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.footer__bottom a { border-bottom: 1px solid transparent; transition: color var(--transition); }
.footer__bottom a:hover { color: var(--gold-light); }
/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__phone { display: none; }
  /* Без .nav (margin auto) правую группу нужно прижать к краю самим */
  .header__actions { margin-left: auto; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .booking__grid, .contacts-grid { grid-template-columns: 1fr; }
  .specialist-hero { grid-template-columns: 300px 1fr; }
  .specialist-meta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .promo-feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .promo-feature__visual {
    max-width: none;
    justify-self: stretch;
  }

  /* Док и капля — везде, где вместо полного меню бургер */
  .mobile-dock, .fab-drop { display: flex; }
  /* Капля «живёт» в кнопке меню в шапке: появляется из неё
     и возвращается в неё же. Transition в каждом состоянии задаёт
     свою сторону пути — без перезапусков keyframe-анимаций. */
  .fab-drop {
    transform: translateY(calc(-100vh + 118px)) rotate(-45deg) scale(0.5);
    opacity: 0;
    pointer-events: none;
    /* Путь назад: летит вверх непрозрачной и растворяется уже у кнопки */
    transition: transform 0.8s cubic-bezier(0.55, 0, 0.6, 1), opacity 0.25s ease 0.5s;
  }
  body.dock-visible .fab-drop {
    transform: translateY(0) rotate(-45deg) scale(1);
    opacity: 1;
    pointer-events: auto;
    /* Путь вниз: проявляется у кнопки и падает с отскоком */
    transition: transform 0.9s cubic-bezier(0.3, 1.45, 0.4, 1), opacity 0.2s ease;
  }
  body.dock-visible .fab-drop::after {
    animation: fabSatelliteDrop 1.08s cubic-bezier(0.22, 0.95, 0.18, 1) both;
  }
  /* Док раскрывается из капли влево — после её приземления */
  body.dock-visible:not(.menu-locked) .mobile-dock {
    transform: scaleX(1);
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.8s, 0.8s;
  }
  /* Бургер ныряет вниз, когда управление переехало в каплю */
  body.dock-visible:not(.menu-locked) .burger {
    opacity: 0;
    transform: translateY(18px) rotate(-45deg) scale(0.64);
    pointer-events: none;
  }
  body { padding-bottom: 84px; }

  .service-float-nav {
    bottom: 88px;
    width: calc(100vw - 20px);
    padding: 6px;
    border-radius: 28px;
    z-index: 91;
  }
  .service-float-nav__track {
    justify-content: flex-start;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 8px;
  }
  .service-float-nav__track::-webkit-scrollbar { display: none; }
  .service-float-nav a {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 12.5px;
  }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .page-hero h1 {
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1.05;
  }
  .page-hero .lead {
    font-size: 17px;
    overflow-wrap: anywhere;
  }
  .section-head p,
  .doc-card p,
  .doc-card h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .header__actions .btn { display: none; }
  /* Кнопки не шире экрана: длинный текст переносится, а не вылезает */
  .btn { white-space: normal; text-align: center; }
  .cta-band { padding-inline: 20px; }
  .promo-feature {
    gap: 40px;
    padding: 30px 24px 34px;
  }
  .promo-feature__flag {
    margin-bottom: 26px;
  }
  .promo-feature__content .btn {
    width: 100%;
  }
  .promo-offers__grid {
    grid-template-columns: 1fr;
  }
  .promo-card {
    min-height: 0;
  }
  .home-promo__card {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .home-promo__link {
    justify-self: start;
  }
  .team-card__role { hyphens: auto; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .team-grid .team-card__photo { aspect-ratio: 4 / 5; }
  .team-grid .team-card__badge {
    left: 10px;
    bottom: 10px;
    padding: 6px 8px;
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }
  .team-grid .team-card__body { padding: 14px 12px 16px; }
  .team-grid .team-card__body h3 {
    font-size: 18px;
    line-height: 1.12;
    margin-bottom: 5px;
  }
  .team-grid .team-card__role {
    font-size: 11.5px;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .team-grid .team-card__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
  }
  .team-grid .arrow-link {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .team-grid .team-card__actions .btn {
    width: 100%;
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }
  .about { grid-template-columns: 1fr; }
  .about__photo { order: -1; aspect-ratio: 4 / 3; }
  .specialist-hero { grid-template-columns: 1fr; }
  .specialist-hero__photo { max-width: 340px; }
  .specialist-block { padding: 22px; }
  .specialist-actions .btn { width: 100%; }
  .gold-list--columns { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td {
    display: block;
    width: 100%;
  }
  .price-table tr {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
  }
  .price-table th,
  .price-table td {
    padding: 0;
    border-bottom: 0;
  }
  .price-table th {
    font-size: 14.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .price-table td:last-child,
  .price-table th:last-child {
    margin-top: 8px;
    text-align: left;
    white-space: normal;
    font-size: 15px;
  }
  .brands__inner { justify-content: flex-start; }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .mobile-dock a { font-size: 10.5px; gap: 5px; padding: 12px 4px; }
  .service-float-nav {
    bottom: 82px;
    width: calc(100vw - 16px);
    border-radius: 24px;
  }
  .service-float-nav a {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 12px;
  }
  .grid--4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .team-grid .team-card__photo { aspect-ratio: 3 / 4; }
  .team-grid .team-card__badge { font-size: 9px; left: 6px; bottom: 6px; padding: 2px 8px; }
  .team-grid .team-card__body { padding: 10px 8px 12px; }
  .team-grid .team-card__body h3 { font-size: 14px; margin-bottom: 3px; }
  .team-grid .team-card__role { font-size: 10px; margin-bottom: 6px; }
  .team-grid .team-card__actions .arrow-link { font-size: 10px; }
  .team-grid .team-card__actions .btn { font-size: 10px; padding: 6px 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .card { padding: 26px 22px; }
  .team-card { padding: 0; }
  .team-card__actions { align-items: flex-start; flex-direction: column; }
  .team-card__actions .btn { width: 100%; }
  .logo__text { font-size: 17px; }
  .logo img { height: 38px; }
  .price-table th, .price-table td { font-size: 14px; }
  .promo-card__new { font-size: 28px; }
  .promo-card__top {
    align-items: flex-start;
  }
  .promo-feature__procedure {
    padding: 21px 20px 23px;
  }
  .promo-feature__limited {
    justify-self: start;
  }
}

/* ===== Главная: специалисты всегда в один ряд (3 колонки) ===== */
.team-grid--home { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .team-grid--home { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 640px) {
  .team-grid--home { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .team-grid--home .team-card__photo { aspect-ratio: 3 / 4; }
  .team-grid--home .team-card__badge { font-size: 8px; left: 5px; bottom: 5px; padding: 2px 6px; letter-spacing: 0.03em; }
  .team-grid--home .team-card__body { padding: 9px 7px 11px; }
  .team-grid--home .team-card__body h3 { font-size: 12.5px; line-height: 1.15; margin-bottom: 3px; }
  .team-grid--home .team-card__role { font-size: 9px; line-height: 1.3; margin-bottom: 6px; }
  .team-grid--home .team-card__actions { gap: 6px; padding-top: 8px; }
  .team-grid--home .team-card__actions .arrow-link { font-size: 9px; letter-spacing: 0.05em; }
  .team-grid--home .team-card__actions .btn { display: none; }
}
