/* ==========================================================================
   ВетИум — дизайн-система. Тёмная зелень + золото.
   Структура: 01 токены · 02 база · 03 шапка/подвал · 04 кнопки · 05 карточки
   06 секции · 07 формы · 08 запись · 09 кабинет/чат · 10 админка · 11 прочее
   ========================================================================== */

/* 01 ─ ТОКЕНЫ ------------------------------------------------------------- */
:root {
  --green-950: #04110d;
  --green-900: #071c16;
  --green-850: #09231b;
  --green-800: #0b2a20;
  --green-750: #0e3327;
  --green-700: #123d2e;
  --green-600: #174d39;
  --green-500: #1e6147;

  --gold-100: #f6e9c4;
  --gold-200: #eeda9f;
  --gold-300: #e2c477;
  --gold-400: #d4ad55;
  --gold-500: #c39a3c;
  --gold-600: #a67c24;
  --gold-700: #7d5c17;

  --cream: #f4f1e6;
  --text: #e7efe9;
  --text-soft: #b9cbc0;
  --text-muted: #8ba295;

  --line: rgba(212, 173, 85, .18);
  --line-soft: rgba(212, 173, 85, .10);
  --line-strong: rgba(212, 173, 85, .34);

  --card: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  --card-solid: #0c2a21;
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, .28);
  --shadow: 0 18px 48px rgba(0, 0, 0, .38);
  --shadow-gold: 0 14px 40px rgba(196, 154, 60, .22);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-h: 84px;
  --container: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 02 ─ БАЗА --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* элемент, скрытый атрибутом hidden, не должен «просвечивать» из-за display в классах */
[hidden] { display: none !important; }

/* базовая иконка: без явного размера inline-SVG растягивается на всю ширину */
.ico {
  width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle;
  display: inline-block;
  /* контурные иконки: работает и для SVG из icons.js, и для рукописных в разметке */
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  -webkit-tap-highlight-color: rgba(212, 173, 85, .16);
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--green-950);
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: .01em;
  color: #fff;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1em; color: var(--text-soft); }
a { color: var(--gold-300); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-200); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 600; color: #fff; }

::selection { background: rgba(212, 173, 85, .32); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--green-950); }
::-webkit-scrollbar-thumb { background: #1c4b3a; border-radius: 8px; border: 2px solid var(--green-950); }
::-webkit-scrollbar-thumb:hover { background: #27604a; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.page { display: block; }
.page--home { position: relative; }
.hero__text { min-width: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold-400); color: #08201a; padding: 10px 16px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.view { min-height: 62vh; padding-top: var(--header-h); }
.view--bare { padding-top: 0; }
body.admin-mode { background: var(--green-950); }
body.admin-mode .view { padding-top: 0; min-height: 100vh; }
body.admin-mode .bg-decor { opacity: .5; }

/* фоновая графика */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-decor__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 78vh;
  background:
    radial-gradient(48% 60% at 22% 12%, rgba(31, 96, 71, .55), transparent 70%),
    radial-gradient(40% 52% at 78% 4%, rgba(196, 154, 60, .18), transparent 72%),
    radial-gradient(70% 60% at 50% 100%, rgba(9, 40, 31, .8), transparent 70%);
  filter: blur(6px);
}
.bg-decor__noise {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: soft-light;
  background-image: url('/img/noise.png'); background-size: 160px 160px;
}
.bg-decor__paws { position: absolute; inset: 0; opacity: .045; }
.bg-decor__paws svg { position: absolute; color: var(--gold-300); }

/* 03 ─ ШАПКА -------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  background: rgba(6, 24, 19, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(5, 19, 15, .9); border-bottom-color: var(--line); }
.header-progress {
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-200));
  transition: width .12s linear;
}
.site-header__inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); min-width: 0; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__mark {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(212, 173, 85, .22), rgba(212, 173, 85, .04) 60%, transparent);
  border: 1px solid var(--line); flex-shrink: 0;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.brand:hover .brand__mark { box-shadow: 0 0 26px rgba(212, 173, 85, .3); transform: translateY(-1px); }
.brand__mark img { width: 40px; height: 40px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--serif); font-size: 1.62rem; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: transparent;
  background: linear-gradient(100deg, var(--gold-200), var(--gold-500) 52%, var(--gold-100));
  -webkit-background-clip: text; background-clip: text;
}
.brand__tag { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; min-width: 0; }
.main-nav a {
  position: relative; padding: 10px 10px; font-size: .9rem; font-weight: 500;
  color: var(--text-soft); border-radius: var(--radius-full); white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.main-nav a.is-active { color: var(--gold-200); }
.main-nav a.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px; background: var(--gold-400);
}

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.main-nav + .header-actions { margin-left: 8px; }
.header-phone {
  display: flex; align-items: center; gap: 9px; color: var(--text);
  padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .02); transition: .25s var(--ease); white-space: nowrap;
}
.header-phone:hover { border-color: var(--line-strong); background: rgba(212, 173, 85, .08); }
.header-phone .ico { width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; }
.header-phone span { display: flex; flex-direction: column; line-height: 1.16; }
.header-phone b { font-size: .92rem; letter-spacing: .01em; white-space: nowrap; }
.header-phone i { font-size: .68rem; font-style: normal; color: var(--gold-400); letter-spacing: .1em; }
.header-phone:hover b { color: var(--gold-200); }

.header-user {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong); color: var(--gold-100);
  background: rgba(212, 173, 85, .1); box-shadow: 0 0 0 1px rgba(212, 173, 85, .06);
  transition: .25s var(--ease);
}
.header-user:hover { border-color: var(--gold-400); background: rgba(212, 173, 85, .2); color: #fff; }
.header-user .ico { width: 21px; height: 21px; }
.header-user__badge {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: var(--radius-full); background: var(--gold-400); color: #08201a;
  font-size: .68rem; font-weight: 700; display: grid; place-items: center;
}

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 1.6px; background: var(--gold-200); border-radius: 2px; transition: .3s var(--ease); }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* подвал */
.site-footer {
  position: relative; margin-top: 90px; padding: 68px 0 26px;
  background: linear-gradient(180deg, rgba(4, 17, 13, .2), rgba(4, 17, 13, .92) 40%);
  border-top: 1px solid var(--line-soft);
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 42px; }
.site-footer__logo { width: 210px; margin-bottom: 18px; opacity: .92; }
.site-footer__brand p { font-size: .92rem; max-width: 340px; }
.site-footer__col h4 {
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 16px;
}
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: .92rem; }
.site-footer__col a, .site-footer__col span { color: var(--text-soft); }
.site-footer__col a:hover { color: var(--gold-200); }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  font-size: .78rem; color: var(--text-muted);
}
.site-footer__note { max-width: 520px; }

.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold-200); background: rgba(255, 255, 255, .03);
}
.socials a:hover { background: rgba(212, 173, 85, .12); border-color: var(--line-strong); transform: translateY(-2px); }
.socials .ico { width: 19px; height: 19px; }

/* 04 ─ КНОПКИ ------------------------------------------------------------- */
.btn, a, button, .quick-dock__btn, .lang-switch button, .burger { touch-action: manipulation; }

.btn {
  --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-full);
  border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font-size: .94rem; font-weight: 600; letter-spacing: .01em; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .ico { width: 19px; height: 19px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold {
  --btn-bg: linear-gradient(120deg, var(--gold-200), var(--gold-400) 46%, var(--gold-600));
  --btn-fg: #06180f; --btn-bd: transparent;
  box-shadow: 0 10px 26px rgba(196, 154, 60, .22);
}
.btn--gold:hover { box-shadow: var(--shadow-gold); color: #04120c; }
.btn--ghost { --btn-bg: rgba(255, 255, 255, .04); }
.btn--ghost:hover { --btn-bg: rgba(212, 173, 85, .12); }
.btn--dark { --btn-bg: rgba(6, 24, 19, .6); }
.btn--sm { padding: 11px 20px; font-size: .87rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--wide { width: 100%; }
.btn--icon { padding: 11px; border-radius: 50%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn--text { border: 0; background: none; padding: 6px 0; color: var(--gold-300); }
.btn--text:hover { color: var(--gold-100); transform: none; }
.btn--danger { --btn-bd: rgba(220, 90, 90, .4); --btn-fg: #ffc9c9; }
.btn--danger:hover { --btn-bg: rgba(220, 90, 90, .14); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.link-arrow .ico { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* 05 ─ КАРТОЧКИ, БЕЙДЖИ, ЧИПЫ -------------------------------------------- */
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  backdrop-filter: blur(6px);
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(212, 173, 85, .12), transparent 42%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.card--flat:hover { transform: none; }
.card--pad-lg { padding: 34px; }

.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px;
  border-radius: var(--radius-full); border: 1px solid var(--line);
  background: rgba(212, 173, 85, .08); color: var(--gold-200);
  font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.badge .ico { width: 14px; height: 14px; }
.badge--green { background: rgba(30, 97, 71, .28); border-color: rgba(120, 200, 160, .22); color: #9fe0c0; }
.badge--muted { background: rgba(255, 255, 255, .04); color: var(--text-muted); }
.badge--warn { background: rgba(212, 173, 85, .16); color: var(--gold-200); }
.badge--danger { background: rgba(220, 90, 90, .14); border-color: rgba(220, 90, 90, .3); color: #ffb3b3; }
.badge--ok { background: rgba(80, 200, 140, .14); border-color: rgba(80, 200, 140, .3); color: #9ff0c4; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px;
  border-radius: var(--radius-full); border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .035); color: var(--text-soft); font-size: .8rem;
}
.chip--gold { color: var(--gold-200); border-color: var(--line); }

.stars { display: inline-flex; gap: 3px; color: var(--gold-400); }
.stars .ico { width: 16px; height: 16px; }
.stars--lg .ico { width: 22px; height: 22px; }
.star-off { color: rgba(212, 173, 85, .25); }

.pill-rate {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px;
  border-radius: var(--radius-full); background: rgba(212, 173, 85, .1);
  border: 1px solid var(--line); color: var(--gold-200); font-weight: 600;
}
.pill-rate .ico { width: 18px; height: 18px; color: var(--gold-300); }

.breadcrumbs .ico { width: 14px; height: 14px; color: var(--gold-500); }

/* фото-слот: аккуратная заглушка, пока не загружена реальная фотография */
.photo-slot {
  position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-sm);
  overflow: hidden; display: grid; place-items: center; text-align: center; padding: 18px;
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(31, 96, 71, .55), transparent 70%),
    linear-gradient(150deg, #0d3527, #08211a 60%, #061c15);
  border: 1px solid var(--line-soft);
}
.photo-slot::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212, 173, 85, .07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(212, 173, 85, .07) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.photo-slot__inner { position: relative; display: grid; gap: 10px; justify-items: center; }
.photo-slot .ico { width: 40px; height: 40px; color: rgba(212, 173, 85, .55); }
.photo-slot__label { font-family: var(--serif); font-size: 1.06rem; color: var(--gold-200); letter-spacing: .04em; }
.photo-slot__hint { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot--tall { aspect-ratio: 3 / 4; }
.photo-slot--wide { aspect-ratio: 16 / 9; }
.photo-slot--square { aspect-ratio: 1; }
.photo-slot--person {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background:
    radial-gradient(58% 48% at 50% 30%, rgba(212, 173, 85, .22), transparent 72%),
    linear-gradient(160deg, #0e3a2b, #08211a 62%, #061c15);
}
.photo-slot--person .avatar--xl {
  width: 116px; height: 116px; font-size: 2.6rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 8px rgba(212, 173, 85, .07);
}
.photo-slot--broken { background: linear-gradient(150deg, #0d3527, #08211a); }
.photo-slot--broken::after {
  content: 'Фотография недоступна'; font-size: .78rem; color: var(--text-muted); letter-spacing: .08em;
}

.avatar {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 2.1rem; color: #06180f; letter-spacing: .04em;
  background: linear-gradient(140deg, var(--gold-200), var(--gold-500));
  border: 2px solid rgba(255, 255, 255, .12); flex-shrink: 0; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 46px; height: 46px; font-size: 1.1rem; }

/* 06 ─ СЕКЦИИ ------------------------------------------------------------- */
.section { padding: 92px 0; position: relative; }
.section--tight { padding: 58px 0; }
.section--dark { background: linear-gradient(180deg, rgba(4, 17, 13, .55), transparent); }
.section + .section { padding-top: 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head__text { max-width: 720px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__text { margin: 0 auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-400);
}
.kicker::before { content: ''; width: 26px; height: 1px; background: var(--gold-500); }
.section-head--center .kicker::after { content: ''; width: 26px; height: 1px; background: var(--gold-500); }
.section-title { margin-bottom: 14px; }
.section-title em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--gold-200), var(--gold-500)); -webkit-background-clip: text; background-clip: text; }
.section-lead { font-size: 1.02rem; max-width: 640px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); margin: 0; border: 0; }

/* герой */
.hero { position: relative; padding: 74px 0 84px; }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.15rem); margin-bottom: 22px; }
.hero__title span { display: block; }
.hero__title em {
  font-style: normal; color: transparent;
  background: linear-gradient(100deg, var(--gold-100), var(--gold-400) 55%, var(--gold-600));
  -webkit-background-clip: text; background-clip: text;
}
.hero__lead { font-size: 1.08rem; max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__trust { display: flex; gap: 30px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-family: var(--serif); font-size: 1.75rem; color: var(--gold-200); }
.hero__trust span { font-size: .78rem; letter-spacing: .08em; color: var(--text-muted); text-transform: uppercase; }

.hero__art { position: relative; display: grid; place-items: center; min-height: 430px; }
.hero__ring {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  border: 1px dashed rgba(212, 173, 85, .28); animation: spin 46s linear infinite;
}
.hero__ring::before, .hero__ring::after {
  content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(212, 173, 85, .12);
}
.hero__ring::before { inset: 30px; }
.hero__ring::after { inset: -30px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__glow {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 173, 85, .22), transparent 66%); filter: blur(12px);
}
.hero__mark { position: relative; width: min(340px, 74%); filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .5)); }
.hero__float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 17px;
  border-radius: var(--radius-sm); background: rgba(8, 32, 25, .86); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); font-size: .84rem; color: var(--text);
  animation: float 6s ease-in-out infinite;
}
.hero__float .ico { width: 20px; height: 20px; color: var(--gold-300); }
.hero__float--1 { top: 8%; left: -6%; }
.hero__float--2 { bottom: 16%; right: -4%; animation-delay: -2.4s; }
.hero__float--3 { bottom: 2%; left: 4%; animation-delay: -4.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* бегущая строка преимуществ */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
}
.feature-strip__item { display: flex; gap: 15px; align-items: flex-start; padding: 26px 24px; background: rgba(7, 28, 22, .72); }
.feature-strip__item .ico { width: 26px; height: 26px; color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }
.feature-strip__item b { display: block; font-family: var(--serif); font-size: 1.14rem; color: #fff; }
.feature-strip__item span { font-size: .87rem; color: var(--text-muted); line-height: 1.5; }

/* услуги */
.service-card { display: flex; flex-direction: column; gap: 12px; }
.service-card__head { display: flex; gap: 14px; align-items: flex-start; }
.service-card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(212, 173, 85, .1); border: 1px solid var(--line); color: var(--gold-300);
}
.service-card__icon .ico { width: 23px; height: 23px; }
.service-card h3 { font-size: 1.16rem; margin: 0; }
.service-card p { font-size: .89rem; margin: 0; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.price { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-200); white-space: nowrap; }
.price small { font-family: var(--sans); font-size: .72rem; color: var(--text-muted); display: block; letter-spacing: .04em; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  padding: 10px 18px; border-radius: var(--radius-full); border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .03); color: var(--text-soft); cursor: pointer; font-size: .87rem;
  transition: .25s var(--ease);
}
.filter-btn:hover { border-color: var(--line-strong); color: #fff; }
.filter-btn.is-active { background: linear-gradient(120deg, var(--gold-200), var(--gold-500)); color: #06180f; border-color: transparent; font-weight: 600; }

.search-input { position: relative; flex: 1; min-width: 220px; }
.search-input .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); }
.search-input input { padding-left: 46px; }

/* врачи */
.doctor-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.doctor-card__photo { position: relative; }
.doctor-card__photo .photo-slot { border-radius: 0; border: 0; border-bottom: 1px solid var(--line-soft); aspect-ratio: 1 / 1; }
.doctor-card__exp {
  position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: var(--radius-full);
  background: rgba(6, 24, 19, .82); border: 1px solid var(--line); color: var(--gold-200);
  font-size: .76rem; font-weight: 600; backdrop-filter: blur(6px);
}
.doctor-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.doctor-card__name { font-family: var(--serif); font-size: 1.34rem; color: #fff; margin: 0; }
.doctor-card__pos { font-size: .84rem; color: var(--gold-300); letter-spacing: .04em; }
.doctor-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.doctor-card__foot { display: flex; gap: 9px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.doctor-card__foot .btn, a, button, .quick-dock__btn, .lang-switch button, .burger { touch-action: manipulation; }

.btn { flex: 1 1 118px; padding-left: 14px; padding-right: 14px; }

/* оборудование */
.equipment-card { display: flex; flex-direction: column; gap: 16px; }
.equipment-card h3 { font-size: 1.14rem; margin: 0; }
.spec-list { display: flex; flex-wrap: wrap; gap: 7px; }
.spec-list li { font-size: .76rem; padding: 5px 11px; border-radius: var(--radius-full); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-soft); color: var(--text-soft); }

/* история */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent); }
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item::before {
  content: ''; position: absolute; left: -33px; top: 8px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--green-900); border: 1px solid var(--gold-400);
  box-shadow: 0 0 0 5px rgba(212, 173, 85, .08);
}
.timeline__year { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-200); letter-spacing: .06em; }
.timeline__item h3 { font-size: 1.12rem; margin: 4px 0 6px; }
.timeline__item p { font-size: .91rem; margin: 0; }

/* достижения */
.ach-card { display: flex; flex-direction: column; gap: 10px; }
.ach-card .ico { width: 28px; height: 28px; color: var(--gold-400); }
.ach-card__value { font-family: var(--serif); font-size: 2.1rem; color: transparent; background: linear-gradient(100deg, var(--gold-100), var(--gold-500)); -webkit-background-clip: text; background-clip: text; line-height: 1; }
.ach-card__title { font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.ach-card p { font-size: .87rem; margin: 0; }

/* галерея */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-item { position: relative; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-soft); transition: transform .35s var(--ease), border-color .35s var(--ease); }
.gallery-item:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.gallery-item .photo-slot { border: 0; border-radius: 0; }
.gallery-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 15px;
  background: linear-gradient(180deg, transparent, rgba(4, 17, 13, .92));
}
.gallery-item__cap b { display: block; font-family: var(--serif); font-size: 1.06rem; color: #fff; }
.gallery-item__cap span { font-size: .78rem; color: var(--text-muted); }

/* отзывы */
.review-card { display: flex; flex-direction: column; gap: 14px; }
.review-card__head { display: flex; align-items: center; gap: 13px; }
.review-card__who b { display: block; color: #fff; font-size: .96rem; }
.review-card__who span { font-size: .78rem; color: var(--text-muted); }
.review-card p { font-size: .92rem; margin: 0; }
.review-card__reply { padding: 13px 15px; border-radius: var(--radius-xs); background: rgba(212, 173, 85, .07); border-left: 2px solid var(--gold-500); font-size: .85rem; color: var(--text-soft); }
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; }
.rating-summary__score { font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: transparent; background: linear-gradient(100deg, var(--gold-100), var(--gold-500)); -webkit-background-clip: text; background-clip: text; text-align: center; }
.rating-bar { display: grid; grid-template-columns: 52px 1fr 42px; align-items: center; gap: 12px; font-size: .82rem; color: var(--text-muted); }
.rating-bar .ico { width: 13px; height: 13px; color: var(--gold-400); vertical-align: -2px; }
.rating-bar__track { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.rating-bar__fill { height: 100%; background: linear-gradient(90deg, var(--gold-600), var(--gold-200)); }

/* CTA-полоса */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 52px;
  background:
    radial-gradient(60% 120% at 12% 10%, rgba(31, 96, 71, .55), transparent 66%),
    linear-gradient(130deg, rgba(212, 173, 85, .16), rgba(212, 173, 85, .02) 46%),
    var(--green-850);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.4fr auto; gap: 34px; align-items: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; min-width: 250px; }

/* аккордеон / FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .028); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-size: 1rem; font-weight: 600; color: #fff; }
.faq__q .ico { width: 20px; height: 20px; color: var(--gold-400); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq__item.is-open .faq__q .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a > div { padding: 0 24px 22px; color: var(--text-soft); font-size: .93rem; }
.faq__item.is-open .faq__a { max-height: 420px; }

/* 07 ─ ФОРМЫ -------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.field > label .req { color: var(--gold-400); }
input, select, textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-xs);
  border: 1px solid var(--line-soft); background: rgba(4, 17, 13, .6); color: var(--text);
  font-family: inherit; font-size: .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: rgba(139, 162, 149, .7); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold-500); background: rgba(4, 17, 13, .85);
  box-shadow: 0 0 0 3px rgba(212, 173, 85, .12);
}
textarea { resize: vertical; min-height: 104px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ad55' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 44px; }
select option { background: #0a241c; color: var(--text); }
.field--error input, .field--error select, .field--error textarea { border-color: #d97a7a; }
.field__error { font-size: .78rem; color: #ff9d9d; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.checkbox { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--text-soft); cursor: pointer; }
.checkbox input { width: 19px; height: 19px; flex-shrink: 0; accent-color: var(--gold-500); margin-top: 2px; }
.form-note { font-size: .8rem; color: var(--text-muted); }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.auth-wrap { max-width: 470px; margin: 60px auto 40px; }

/* 08 ─ ЗАПИСЬ (мастер) ---------------------------------------------------- */
.wizard { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.wizard__steps { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 20px); }
.wizard__step {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; color: var(--text-muted); cursor: default; transition: .25s var(--ease);
}
.wizard__step b { display: block; font-size: .95rem; color: var(--text-soft); font-weight: 600; }
.wizard__step span { font-size: .8rem; }
.wizard__num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--gold-300);
}
.wizard__step.is-active { background: rgba(212, 173, 85, .08); border-color: var(--line-strong); }
.wizard__step.is-active b { color: #fff; }
.wizard__step.is-active .wizard__num { background: linear-gradient(120deg, var(--gold-200), var(--gold-500)); color: #06180f; border-color: transparent; }
.wizard__step.is-done .wizard__num { background: rgba(80, 200, 140, .16); border-color: rgba(80, 200, 140, .4); color: #9ff0c4; }
.wizard__panel { min-height: 380px; }
.wizard__foot { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pick {
  text-align: left; padding: 16px 18px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .028); transition: .25s var(--ease); width: 100%;
}
.pick:hover { border-color: var(--line-strong); background: rgba(212, 173, 85, .06); }
.pick.is-selected { border-color: var(--gold-400); background: rgba(212, 173, 85, .12); box-shadow: 0 0 0 1px rgba(212, 173, 85, .3); }
.pick b { display: block; color: #fff; font-size: .95rem; font-weight: 600; }
.pick span { font-size: .8rem; color: var(--text-muted); }
.pick__price { float: right; color: var(--gold-200); font-family: var(--serif); font-size: 1.06rem; }

.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.calendar__dow { text-align: center; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); padding-bottom: 6px; }
.cal-day {
  aspect-ratio: 1; border-radius: var(--radius-xs); border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .025); cursor: pointer; display: grid; place-items: center; gap: 0;
  font-size: .88rem; color: var(--text); transition: .2s var(--ease); position: relative; padding: 0;
}
.cal-day small { position: absolute; bottom: 5px; font-size: .6rem; color: var(--text-muted); }
.cal-day:hover:not(:disabled) { border-color: var(--line-strong); background: rgba(212, 173, 85, .08); }
.cal-day.is-selected { background: linear-gradient(130deg, var(--gold-200), var(--gold-500)); color: #06180f; border-color: transparent; font-weight: 700; }
.cal-day.is-selected small { color: rgba(6, 24, 15, .7); }
.cal-day:disabled { opacity: .3; cursor: not-allowed; }
.cal-day--empty { border: 0; background: none; cursor: default; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; margin-top: 22px; }
.slot {
  padding: 12px 6px; border-radius: var(--radius-xs); border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .03); cursor: pointer; font-size: .9rem; text-align: center; transition: .2s var(--ease);
}
.slot:hover:not(:disabled) { border-color: var(--gold-400); background: rgba(212, 173, 85, .12); }
.slot.is-selected { background: linear-gradient(130deg, var(--gold-200), var(--gold-500)); color: #06180f; border-color: transparent; font-weight: 700; }
.slot:disabled { opacity: .32; cursor: not-allowed; text-decoration: line-through; }

.summary { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius-sm); background: rgba(212, 173, 85, .06); border: 1px solid var(--line); }
.summary__row { display: flex; justify-content: space-between; gap: 16px; font-size: .91rem; }
.summary__row span { color: var(--text-muted); }
.summary__row b { color: #fff; text-align: right; }

.booking-done { text-align: center; padding: 46px 24px; }
.booking-done__code {
  display: inline-block; margin: 18px 0; padding: 14px 30px; border-radius: var(--radius-sm);
  background: rgba(212, 173, 85, .12); border: 1px dashed var(--gold-500);
  font-family: var(--serif); font-size: 1.9rem; letter-spacing: .16em; color: var(--gold-200);
}
.booking-done__check {
  width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(80, 200, 140, .12); border: 1px solid rgba(80, 200, 140, .35); color: #9ff0c4;
}
.booking-done__check .ico { width: 36px; height: 36px; }

/* 09 ─ КАБИНЕТ И ЧАТ ------------------------------------------------------ */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line-soft); margin-bottom: 30px; overflow-x: auto; }
.tab {
  padding: 13px 20px; border: 0; background: none; cursor: pointer; color: var(--text-muted);
  font-size: .93rem; font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap;
}
.tab:hover { color: #fff; }
.tab .ico { width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; }
.tab.is-active { color: var(--gold-200); border-bottom-color: var(--gold-400); }
.tab__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; border-radius: var(--radius-full); background: rgba(212, 173, 85, .18); color: var(--gold-200); font-size: .72rem; }

.appt-card { display: grid; gap: 16px; }
.appt-card__top { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.appt-card__date { display: flex; align-items: center; gap: 14px; }
.appt-card__when { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-200); line-height: 1.1; }
.appt-card__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; font-size: .88rem; }
.appt-card__meta div span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.appt-card__actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-soft); }

.chat { display: grid; gap: 16px; }
.chat__thread { display: flex; flex-direction: column; gap: 12px; max-height: 460px; overflow-y: auto; padding: 4px 6px 4px 0; }
.bubble { max-width: min(620px, 84%); padding: 13px 17px; border-radius: 16px; font-size: .92rem; line-height: 1.55; position: relative; }
.bubble b { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; opacity: .8; font-weight: 600; }
.bubble time { display: block; margin-top: 6px; font-size: .7rem; opacity: .6; }
.bubble--user { align-self: flex-end; background: rgba(212, 173, 85, .14); border: 1px solid var(--line); border-bottom-right-radius: 5px; }
.bubble--admin { align-self: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-soft); border-bottom-left-radius: 5px; }
.bubble--system {
  align-self: center; text-align: center; background: transparent; border: 1px dashed var(--line-soft);
  color: var(--text-muted); font-size: .82rem; max-width: 90%;
}
.chat__form { display: flex; gap: 10px; align-items: flex-end; }
.chat__form textarea { min-height: 52px; max-height: 140px; }

.conv-list { display: grid; gap: 10px; max-height: 640px; overflow-y: auto; }
.conv {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 15px 17px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .028);
  cursor: pointer; transition: .2s var(--ease); text-align: left; width: 100%;
}
.conv:hover { border-color: var(--line-strong); background: rgba(212, 173, 85, .06); }
.conv.is-active { border-color: var(--gold-400); background: rgba(212, 173, 85, .1); }
.conv b { display: block; color: #fff; font-size: .93rem; }
.conv p { margin: 3px 0 0; font-size: .82rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
.conv__unread { min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--radius-full); background: var(--gold-400); color: #06180f; font-size: .74rem; font-weight: 700; display: grid; place-items: center; }

/* 10 ─ АДМИНКА ------------------------------------------------------------ */
.admin-shell { display: grid; grid-template-columns: 262px 1fr; min-height: 100vh; }
.admin-side {
  position: sticky; top: 0; align-self: start; height: 100vh; padding: 26px 18px; overflow-y: auto;
  background: linear-gradient(180deg, rgba(5, 19, 15, .96), rgba(7, 28, 22, .92));
  border-right: 1px solid var(--line-soft);
}
.admin-side__brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 22px; border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; }
.admin-side__brand img { width: 40px; }
.admin-side__brand b { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-200); display: block; }
.admin-side__brand span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.admin-nav { display: grid; gap: 4px; }
.admin-nav button {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-xs);
  border: 0; background: none; cursor: pointer; color: var(--text-soft); font-size: .9rem; text-align: left; width: 100%;
  transition: .2s var(--ease);
}
.admin-nav button .ico { width: 19px; height: 19px; color: var(--gold-400); flex-shrink: 0; }
.admin-nav button:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.admin-nav button.is-active { background: rgba(212, 173, 85, .12); color: #fff; box-shadow: inset 2px 0 0 var(--gold-400); }
.admin-nav__count { margin-left: auto; min-width: 21px; height: 21px; padding: 0 6px; border-radius: var(--radius-full); background: var(--gold-400); color: #06180f; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.admin-side__foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.admin-main { padding: 30px 34px 70px; min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.admin-head h1 { font-size: 2.1rem; margin-bottom: 6px; }
.admin-head p { margin: 0; font-size: .9rem; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 26px; }
.stat-card { padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: var(--card); }
.stat-card span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.stat-card b { font-family: var(--serif); font-size: 2rem; color: var(--gold-200); line-height: 1; }
.stat-card small { display: block; margin-top: 6px; font-size: .78rem; color: var(--text-muted); }
.stat-card--accent { background: linear-gradient(140deg, rgba(212, 173, 85, .16), rgba(212, 173, 85, .03)); border-color: var(--line); }

.chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .02); }
.chart__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; height: 100%; }
.chart__bar { background: linear-gradient(180deg, var(--gold-300), var(--gold-600)); border-radius: 4px 4px 0 0; min-height: 3px; transition: height .4s var(--ease); }
.chart__bar--done { background: linear-gradient(180deg, #6fd6a8, #1e6147); }
.chart__label { text-align: center; font-size: .62rem; color: var(--text-muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .015); }
table.data { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 720px; }
table.data th {
  text-align: left; padding: 14px 16px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-400); border-bottom: 1px solid var(--line); background: rgba(4, 17, 13, .5); white-space: nowrap;
}
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .2s var(--ease); }
table.data tbody tr:hover { background: rgba(212, 173, 85, .05); }
table.data .cell-actions { display: flex; gap: 7px; justify-content: flex-end; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .03); color: var(--text-soft); cursor: pointer;
  transition: .2s var(--ease);
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--gold-200); background: rgba(212, 173, 85, .1); }
.icon-btn--danger:hover { color: #ffb3b3; border-color: rgba(220, 90, 90, .4); background: rgba(220, 90, 90, .12); }
.icon-btn .ico { width: 17px; height: 17px; }
.admin-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.admin-toolbar .search-input { max-width: 340px; }
.admin-toolbar select, .admin-toolbar input { padding: 11px 14px; font-size: .88rem; }
.admin-section-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0 16px; }
.admin-section-title h2 { font-size: 1.5rem; margin: 0; }
.admin-tile { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .026); }
.admin-tile b { color: #fff; }
.admin-tile p { margin: 4px 0 0; font-size: .84rem; }

/* 11 ─ ПРОЧЕЕ ------------------------------------------------------------- */
.quick-dock {
  position: fixed; right: 22px; bottom: 24px; z-index: 140; display: flex; flex-direction: column; gap: 10px;
}
.quick-dock__btn {
  display: flex; align-items: center; gap: 11px; padding: 13px 18px; border-radius: var(--radius-full);
  background: rgba(7, 28, 22, .92); border: 1px solid var(--line); color: var(--text);
  font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.quick-dock__btn .ico { width: 19px; height: 19px; color: var(--gold-300); }
.quick-dock__btn:hover { transform: translateX(-3px); border-color: var(--line-strong); color: #fff; }
.quick-dock__btn--gold { background: linear-gradient(120deg, var(--gold-200), var(--gold-500)); color: #06180f; border-color: transparent; box-shadow: var(--shadow-gold); }
.quick-dock__btn--gold .ico { color: #06180f; }
.quick-dock__btn--gold:hover { color: #04120c; }
.quick-dock__top {
  align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7, 28, 22, .92); border: 1px solid var(--line); color: var(--gold-300); cursor: pointer;
  opacity: 0; pointer-events: none; transition: .3s var(--ease);
}
.quick-dock__top.is-visible { opacity: 1; pointer-events: auto; }
.quick-dock__top .ico { width: 19px; height: 19px; }

.toasts { position: fixed; top: calc(var(--header-h) + 14px); right: 22px; z-index: 300; display: grid; gap: 10px; max-width: 380px; pointer-events: none; }
.toast { pointer-events: auto;
  display: flex; gap: 12px; align-items: flex-start; padding: 15px 17px; border-radius: var(--radius-sm);
  background: rgba(8, 32, 25, .96); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: toast-in .3s var(--ease); font-size: .89rem;
}
.toast .ico { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.toast--ok { border-color: rgba(80, 200, 140, .35); }
.toast--ok .ico { color: #9ff0c4; }
.toast--err { border-color: rgba(220, 90, 90, .4); }
.toast--err .ico { color: #ff9d9d; }
.toast--info .ico { color: var(--gold-300); }
.toast b { display: block; color: #fff; margin-bottom: 2px; }
@keyframes toast-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }

.modal-root { position: fixed; inset: 0; z-index: 250; display: none; }
.modal-root.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 12, 9, .72); backdrop-filter: blur(6px); animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  position: relative; z-index: 1; width: min(680px, calc(100% - 36px)); max-height: 88vh; overflow-y: auto;
  margin: 7vh auto; padding: 32px; border-radius: var(--radius); background: linear-gradient(160deg, #0d3026, #08201a);
  border: 1px solid var(--line); box-shadow: var(--shadow); animation: modal-in .3s var(--ease);
}
.modal-card--wide { width: min(1020px, calc(100% - 36px)); }
.modal-card--sm { width: min(460px, calc(100% - 36px)); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .03); color: var(--text-soft); cursor: pointer; }
.modal-close:hover { color: #fff; border-color: var(--line-strong); }
.modal-head { margin-bottom: 22px; padding-right: 46px; }
.modal-head h3 { margin-bottom: 6px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }

.lightbox {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 40px;
  background: rgba(3, 12, 9, .92); backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.lightbox figcaption { margin-top: 14px; color: var(--text-soft); }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: #fff; font-size: 1.5rem; cursor: pointer; }

.skeleton { border-radius: var(--radius-sm); background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skeleton--line { height: 14px; margin-bottom: 10px; }
.skeleton--card { height: 240px; }

.empty { text-align: center; padding: 52px 22px; border: 1px dashed var(--line-soft); border-radius: var(--radius); }
.empty .ico { width: 42px; height: 42px; color: rgba(212, 173, 85, .5); margin-bottom: 14px; }
.empty b { display: block; font-family: var(--serif); font-size: 1.3rem; color: #fff; margin-bottom: 6px; }

.breadcrumbs { display: flex; gap: 9px; align-items: center; font-size: .82rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold-200); }

.page-head { padding-top: 54px; padding-bottom: 10px; }
.page-head h1 { margin-bottom: 14px; }
.page-head p { max-width: 720px; }

.info-list { display: grid; gap: 16px; }
.info-list__row { display: flex; gap: 14px; align-items: flex-start; }
.info-list__row .ico { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }
.info-list__row b { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.info-list__row span, .info-list__row a { font-size: .98rem; color: var(--text); }

.map-slot {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--line-soft);
  background:
    radial-gradient(50% 60% at 30% 30%, rgba(31, 96, 71, .5), transparent 70%),
    repeating-linear-gradient(0deg, rgba(212, 173, 85, .07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(212, 173, 85, .07) 0 1px, transparent 1px 44px),
    #08201a;
  display: grid; place-items: center; text-align: center; padding: 30px;
}
.map-pin { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(212, 173, 85, .3), transparent 70%); animation: pulse 2.6s infinite; }
.map-pin .ico { width: 34px; height: 34px; color: var(--gold-200); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th { text-align: left; padding: 12px 14px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); border-bottom: 1px solid var(--line); }
.price-table td { padding: 13px 14px; border-bottom: 1px solid var(--line-soft); font-size: .91rem; }
.price-table td:last-child { text-align: right; color: var(--gold-200); font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }

.muted { color: var(--text-muted); }
.small { font-size: .84rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mb-2 { margin-bottom: 18px; }
.mb-3 { margin-bottom: 28px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.flex-gap { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1; }
.hidden { display: none !important; }

/* 12 ─ ЗОЛОТЫЕ ЛИНИИ И РАМКИ ---------------------------------------------- */
/* Мотив логотипа: тонкая золотая линия, ромб, парные линии. */

/* фоновая «шлифовка» — как на золоте логотипа */
.bg-decor__lines {
  position: absolute; inset: 0; opacity: .55;
  background-image:
    repeating-linear-gradient(118deg, rgba(212, 173, 85, .05) 0 1px, transparent 1px 118px),
    repeating-linear-gradient(28deg, rgba(212, 173, 85, .03) 0 1px, transparent 1px 190px);
}

/* орнамент: ——— ◆ ——— */
.gold-rule {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 0 auto 26px; max-width: 560px;
}
.gold-rule::before, .gold-rule::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 30%, var(--gold-line) 70%, transparent);
}
.gold-rule--left { margin-left: 0; max-width: 320px; justify-content: flex-start; }
.gold-rule--left::before { display: none; }
.gold-rule--wide { max-width: 820px; }
.gold-rule__diamond {
  width: 7px; height: 7px; flex-shrink: 0; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-200), var(--gold-600));
  box-shadow: 0 0 12px rgba(212, 173, 85, .55);
}
.gold-rule__diamond--sm { width: 5px; height: 5px; }

/* короткая линия под заголовком — как под надписью «ВЕТИУМ» */
.section-title, .page-head h1 { position: relative; padding-bottom: 18px; }
.section-title::after, .page-head h1::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 78px; height: 2px;
  background: linear-gradient(90deg, var(--gold-400), rgba(212, 173, 85, 0));
}
.section-head--center .section-title::after {
  left: 50%; transform: translateX(-50%); width: 132px;
  background: linear-gradient(90deg, transparent, var(--gold-400) 50%, transparent);
}
.modal-head h3 { position: relative; padding-bottom: 14px; }
.modal-head h3::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 54px; height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

/* разделитель между крупными секциями */
.section-sep { display: flex; align-items: center; gap: 20px; padding: 8px 0 0; }
.section-sep::before, .section-sep::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line-soft) 25%, var(--gold-line-soft) 75%, transparent);
}

/* парная линия под шапкой — двойное правило логотипа */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line-soft) 18%, var(--gold-line-soft) 82%, transparent);
}
.brand__tag { position: relative; padding-bottom: 7px; }
.brand__tag::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 68%; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

/* угловые скобки: рамка вокруг блока */
.card--framed::before, .cta-band::after, .gallery-item::after, .map-slot::after {
  content: ''; position: absolute; inset: 9px; pointer-events: none; border-radius: 14px;
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left top / 22px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left top / 1px 22px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right top / 22px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right top / 1px 22px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left bottom / 22px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left bottom / 1px 22px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right bottom / 22px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right bottom / 1px 22px no-repeat;
}
.card--framed::before { inset: 10px; }
.cta-band::after { inset: 14px; border-radius: 18px; }
.gallery-item::after { border-radius: 0; }
.map-slot::after { border-radius: var(--radius); }

/* акцентная линия сверху карточки */
.stat-card, .feature-strip, .summary, .form-card { position: relative; }
.stat-card::before, .form-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 35%, var(--gold-line) 65%, transparent);
}
.stat-card::before { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }

/* ромбы вместо кружков в истории */
.timeline__item::before {
  border-radius: 2px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-200), var(--gold-600));
  border: 0; box-shadow: 0 0 0 5px rgba(212, 173, 85, .07), 0 0 16px rgba(212, 173, 85, .3);
}
.timeline::before { opacity: .55; }

/* цитата в отзывах */
.review-card::before {
  content: '“'; position: absolute; top: 2px; right: 20px;
  font-family: var(--serif); font-size: 5.4rem; line-height: 1; color: rgba(212, 173, 85, .14);
  pointer-events: none;
}
.review-card__reply { position: relative; }
.review-card__reply::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-600));
}

/* вертикальные линии между колонками подвала */
.site-footer__col { position: relative; }
.site-footer__col::before {
  content: ''; position: absolute; left: -21px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-line-soft) 20%, var(--gold-line-soft) 80%, transparent);
}
.site-footer__bottom { position: relative; }
.site-footer__bottom::before {
  content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 168px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

/* золотая линия у вкладок */
.tabs { border-bottom: 0; }
.tabs::after {
  content: ''; display: block; height: 1px; margin-top: -1px;
  background: linear-gradient(90deg, var(--gold-line), transparent 70%);
}

/* переключатель языка */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid var(--line); border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .03);
}
.lang-switch button {
  padding: 6px 9px; border: 0; border-radius: var(--radius-full); background: none; cursor: pointer;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--text-muted);
  transition: .2s var(--ease); white-space: nowrap;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.is-active {
  background: linear-gradient(120deg, var(--gold-200), var(--gold-500)); color: #06180f;
}
.lang-switch--footer { border-color: var(--line-soft); }

.quick-dock__btn { position: relative; }
.quick-dock__btn--gold::after {
  content: ''; position: absolute; inset: 3px; border-radius: var(--radius-full);
  border: 1px solid rgba(6, 24, 15, .2); pointer-events: none;
}

/* 13 ─ ЗОЛОТАЯ РАМКА ВОКРУГ САЙТА ---------------------------------------- */
/* Линии идут по краям экрана и замыкаются внизу — рамка вокруг всего сайта. */
.viewport-frame {
  position: fixed; left: 12px; right: 12px; bottom: 12px; top: 0;
  pointer-events: none; z-index: 200;
  border-left: 1px solid rgba(212, 173, 85, .2);
  border-right: 1px solid rgba(212, 173, 85, .2);
  border-bottom: 1px solid rgba(212, 173, 85, .2);
  border-radius: 0 0 16px 16px;
}
.viewport-frame::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 173, 85, .28) 22%, rgba(212, 173, 85, .28) 78%, transparent);
}
.viewport-frame__corner { position: absolute; width: 30px; height: 30px; }
.viewport-frame__corner::before, .viewport-frame__corner::after {
  content: ''; position: absolute; background: var(--gold-400); opacity: .7;
}
.viewport-frame__corner::before { width: 100%; height: 1px; }
.viewport-frame__corner::after { width: 1px; height: 100%; }
.viewport-frame__corner--bl { left: -1px; bottom: -1px; }
.viewport-frame__corner--br { right: -1px; bottom: -1px; }
.viewport-frame__corner--br::before { right: 0; }
.viewport-frame__corner--br::after { right: 0; }
.viewport-frame__gem {
  position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 7px; height: 7px; background: linear-gradient(135deg, var(--gold-200), var(--gold-600));
  box-shadow: 0 0 12px rgba(212, 173, 85, .5);
}

/* 14 ─ ФОТОГРАФИИ КЛИНИКИ ------------------------------------------------- */
.hero { overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-image); background-size: cover; background-position: center 28%;
  opacity: .34;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 17, 13, .34) 0%, rgba(4, 17, 13, .74) 46%, var(--green-950) 96%),
    radial-gradient(72% 60% at 78% 22%, rgba(212, 173, 85, .16), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; }

/* полоса с золотой росписью на стене */
.mural-band {
  position: relative; overflow: hidden; min-height: 460px; display: flex; align-items: center;
  background-image: var(--band-image); background-size: cover; background-position: center 42%;
}
.mural-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 17, 13, .95) 0%, rgba(5, 22, 17, .84) 42%,
              rgba(5, 22, 17, .3) 74%, rgba(5, 22, 17, .5) 100%);
}
.mural-band__inner { position: relative; z-index: 1; padding: 76px 24px; max-width: 620px; }
.mural-band h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.mural-band p { max-width: 500px; }
.mural-band::after {
  content: ''; position: absolute; inset: 20px; pointer-events: none; border-radius: 18px;
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left top / 30px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left top / 1px 30px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right top / 30px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right top / 1px 30px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left bottom / 30px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left bottom / 1px 30px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right bottom / 30px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right bottom / 1px 30px no-repeat;
}

/* фотографии в золотой рамке */
.gallery-item { position: relative; }
.gallery-item::before {
  content: ''; position: absolute; inset: 9px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(212, 173, 85, .3); border-radius: 4px;
}
.gallery-item .photo-slot { aspect-ratio: 4 / 3; }
.gallery-item:hover::before { border-color: rgba(212, 173, 85, .62); }
.photo-frame { position: relative; }
.photo-frame::before {
  content: ''; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(212, 173, 85, .32); border-radius: 6px;
}
.photo-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }

/* 15 ─ МЕЛКИЕ ЗОЛОТЫЕ АКЦЕНТЫ -------------------------------------------- */
.card h3::after, .service-card h3::after {
  content: ''; display: block; width: 34px; height: 1px; margin-top: 9px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.doctor-card h3::after, .ach-card h3::after, .mural-band h2::after { display: none; }
.feature-strip__item b { position: relative; padding-bottom: 8px; display: inline-block; }
.feature-strip__item b::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.summary__row { padding: 7px 0; }
.summary__row + .summary__row { border-top: 1px dashed rgba(212, 173, 85, .14); }
.empty { position: relative; }
.empty::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 120px; height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}
.info-list__row + .info-list__row { border-top: 1px solid var(--line-soft); padding-top: 16px; }

/* 16 ─ БЛОКИ РЕАЛЬНОЙ КЛИНИКИ --------------------------------------------- */
.feature-strip--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nav-call { display: none; }
.nav-lang { display: none; margin-top: 10px; }

/* акция в первом экране */
.promo-badge {
  display: inline-grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 14px;
  margin: 0 0 26px; padding: 14px 20px 14px 18px; max-width: 460px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: linear-gradient(120deg, rgba(212, 173, 85, .16), rgba(212, 173, 85, .03));
  color: var(--text); transition: .25s var(--ease);
}
.promo-badge:hover { border-color: var(--gold-400); transform: translateY(-2px); color: var(--text); }
.promo-badge__tag {
  grid-column: 1 / -1; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-300); font-weight: 700;
}
.promo-badge b { font-family: var(--serif); font-size: 1.5rem; color: #fff; line-height: 1; }
.promo-badge span { font-size: .84rem; color: var(--text-soft); }
.promo-badge__cta {
  grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 600; color: var(--gold-200);
}
.promo-badge__cta .ico { width: 16px; height: 16px; }

/* экстренная помощь */
.emergency {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 34px 38px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background:
    radial-gradient(60% 120% at 8% 0%, rgba(212, 173, 85, .18), transparent 62%),
    linear-gradient(120deg, rgba(220, 90, 90, .1), transparent 46%),
    var(--green-850);
  border: 1px solid rgba(212, 173, 85, .34);
}
.emergency::after {
  content: ''; position: absolute; inset: 12px; pointer-events: none; border-radius: 20px;
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left top / 26px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left top / 1px 26px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right bottom / 26px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right bottom / 1px 26px no-repeat;
}
.emergency__icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(212, 173, 85, .14); border: 1px solid var(--line-strong); color: var(--gold-200);
}
.emergency__icon .ico { width: 30px; height: 30px; }
.emergency h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.emergency p { margin: 0 0 14px; max-width: 620px; }
.emergency__body .kicker { margin-bottom: 10px; }
.emergency__phones { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.emergency__phones a {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; color: #fff;
}
.emergency__phones a .ico { width: 17px; height: 17px; color: var(--gold-300); }
.emergency__phones a:hover { color: var(--gold-200); }
.emergency__aside { display: grid; gap: 12px; justify-items: end; text-align: right; }
.emergency__note { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--text-muted); }
.emergency__note .ico { width: 15px; height: 15px; }

/* стационар */
.stationary__item {
  display: grid; gap: 6px; padding: 18px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-soft);
}
.stationary__item .ico { width: 22px; height: 22px; color: var(--gold-400); }
.stationary__item b { font-family: var(--serif); font-size: 1.06rem; color: #fff; }
.stationary__item span { font-size: .84rem; color: var(--text-muted); line-height: 1.5; }
.stationary__price {
  display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 14px 18px;
  border-radius: var(--radius-sm); border: 1px dashed var(--line-strong);
  background: rgba(212, 173, 85, .07); font-size: .9rem; color: var(--gold-200);
}
.stationary__price .ico { width: 20px; height: 20px; flex-shrink: 0; }
.stationary .photo-frame .photo-slot { aspect-ratio: 4 / 3; }

/* пустое состояние отзывов */
.reviews-empty { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 28px 30px; }
.reviews-empty > .ico { width: 34px; height: 34px; color: rgba(212, 173, 85, .6); flex-shrink: 0; }
.reviews-empty b { display: block; font-family: var(--serif); font-size: 1.24rem; color: #fff; margin-bottom: 4px; }
.reviews-empty > div { flex: 1; min-width: 240px; }

/* адрес и статус в шапке */
.header-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--radius-full);
  border: 1px solid rgba(80, 200, 140, .3); background: rgba(80, 200, 140, .1);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: #9ff0c4; white-space: nowrap;
}
.header-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6fe0a8;
  box-shadow: 0 0 8px rgba(111, 224, 168, .8);
}

/* подвал: реквизиты и документы */
.site-footer__legal {
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  font-size: .78rem; color: var(--text-muted);
}
.site-footer__legal a { color: var(--text-muted); border-bottom: 1px dotted rgba(212, 173, 85, .4); }
.site-footer__legal a:hover { color: var(--gold-200); }
.site-footer__docs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: .78rem; }
.site-footer__docs a { color: var(--text-soft); }
.site-footer__docs a:hover { color: var(--gold-200); }

/* страница юридической информации */
.legal-grid { display: grid; gap: 20px; }
.legal-card { padding: 26px 30px; }
.legal-card h3 { font-size: 1.2rem; }
.legal-card p { font-size: .9rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal-table td { padding: 11px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.legal-table td:first-child { color: var(--text-muted); width: 42%; padding-right: 18px; }
.legal-table tr:last-child td { border-bottom: 0; }

/* 17 ─ ЗОЛОТЫЕ ЛИНИИ: обрамление блоков и карточек ------------------------- */
/* нить в самом верху страницы */
.site-header::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold-line) 24%, var(--gold-400) 50%,
              var(--gold-line) 76%, transparent);
}
.site-header { position: relative; }

/* вертикальная линия у заголовков секций */
.section-head:not(.section-head--center) .section-head__text { position: relative; padding-left: 22px; }
.section-head:not(.section-head--center) .section-head__text::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 2px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-500) 18%, var(--gold-line) 82%, transparent);
}
.section-head--center .section-head__text::before { display: none; }

/* золотой кант слева у карточек */
.service-card, .equipment-card, .doctor-card { position: relative; }
.service-card::before, .equipment-card::before, .doctor-card::before {
  content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-line), transparent);
  transition: background .3s var(--ease), width .3s var(--ease);
}
.service-card:hover::before, .equipment-card:hover::before, .doctor-card:hover::before {
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-400) 30%, var(--gold-500) 70%, transparent);
}
.doctor-card::before { top: 0; bottom: 0; }

/* линейка над прайс-таблицей и золотые разделители строк */
.price-table { border-top: 1px solid var(--line); }
.price-table th + th, .price-table td + td { border-left: 1px solid var(--line-soft); }
.price-table tbody tr:hover td { background: rgba(212, 173, 85, .045); }

/* FAQ: золотая полоска у открытого вопроса */
.faq__item { position: relative; }
.faq__item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
  opacity: 0; transition: opacity .25s var(--ease);
}
.faq__item.is-open::before { opacity: 1; }

/* шапка страницы: широкая линия под заголовком */
.page-head { position: relative; }
.page-head::after {
  content: ''; position: absolute; left: 24px; right: 24px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold-line), transparent 70%);
}
.breadcrumbs { padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }

/* первый экран: золотая нить под героем */
.hero { position: relative; }
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 30%, var(--gold-400) 50%,
              var(--gold-line) 70%, transparent);
}

/* таблица реквизитов: вертикальный разделитель колонок */
.legal-table td:first-child { border-right: 1px solid var(--line-soft); padding-right: 18px; }

/* компактные кнопки в таблицах админки */
.btn--xs { padding: 6px 11px; font-size: .78rem; gap: 6px; border-radius: var(--radius-xs); }
.btn--xs .ico { width: 15px; height: 15px; }
.btn--gold-ghost { border-color: rgba(212, 173, 85, .42); color: var(--gold-200); }
.btn--gold-ghost:hover { background: rgba(212, 173, 85, .14); border-color: var(--gold-400); color: #fff; }
.cell-actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }

/* ==========================================================================
   АДАПТИВ
   Приоритет — телефон: сначала мобильная вёрстка, десктопные правила выше.
   ========================================================================== */

/* ≥1281: страховка от переполнения шапки — меню сжимается, иконки остаются */
@media (min-width: 1281px) {
  /* компактная шапка: меню и телефон занимают меньше места, ничего не обрезается */
  .main-nav { overflow: hidden; flex: 0 1 auto; }
  .main-nav a { padding: 9px 9px; font-size: .86rem; }
  .header-actions { gap: 10px; }
  .header-phone { padding: 6px 13px 6px 11px; }
  .header-phone b { font-size: .88rem; }
  .header-phone i { display: none; }
  .site-header__inner { gap: 16px; }
}

/* 1281–1440: в тесной десктопной шапке переключатель языка уезжает в меню */
@media (min-width: 1281px) and (max-width: 1440px) {
  #header-lang { display: none; }
  .main-nav a { padding: 10px 8px; font-size: .86rem; }
  .header-phone b { font-size: .86rem; }
}

/* ── планшет ──────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .viewport-frame { display: none; }

  /* шапка: бургер и выпадающее меню */
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 20px;
    background: rgba(5, 19, 15, .985); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px); box-shadow: 0 26px 46px rgba(0, 0, 0, .5);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.is-open a { padding: 15px 12px; font-size: 1.02rem; border-radius: var(--radius-xs); }
  .main-nav.is-open a.is-active::after { display: none; }
  .main-nav.is-open a.is-active { background: rgba(212, 173, 85, .12); color: var(--gold-200); }
  .nav-call {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
    padding: 14px 12px; border-radius: var(--radius-xs); background: rgba(212, 173, 85, .1);
  }
  .nav-call .ico { width: 19px; height: 19px; color: var(--gold-300); }
  .nav-lang { display: block; margin-top: 12px; }
  .burger { display: block; }
  .header-actions .btn--gold { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .hero__art { order: -1; min-height: 300px; }
  .hero__ring { width: 300px; height: 300px; }

  .emergency { grid-template-columns: auto 1fr; gap: 22px; }
  .emergency__aside { grid-column: 1 / -1; justify-items: start; text-align: left; }

  .wizard { grid-template-columns: 1fr; }
  .wizard__steps {
    position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .wizard__steps::-webkit-scrollbar { display: none; }
  .wizard__step { min-width: 210px; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

/* ── телефон ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  :root { --header-h: 64px; }

  body { font-size: 15.5px; line-height: 1.58; padding-bottom: 78px; }
  .container { padding: 0 18px; }
  h1 { font-size: clamp(1.85rem, 7.2vw, 2.3rem); }
  h2 { font-size: clamp(1.45rem, 5.4vw, 1.85rem); }
  h3 { font-size: 1.14rem; }
  p { margin-bottom: .85em; }

  .section { padding: 44px 0; }
  .section--tight { padding: 28px 0; }
  .section-head { gap: 12px; margin-bottom: 20px; }
  .section-head__text { padding-left: 0 !important; }
  .section-head:not(.section-head--center) .section-head__text::before { display: none; }
  .section-lead { font-size: .95rem; }
  .page-head { padding-top: 26px; padding-bottom: 6px; }
  .page-head::after { left: 18px; right: 18px; }
  .breadcrumbs { margin-bottom: 14px; padding-bottom: 10px; }

  /* шапка */
  .site-header__inner { gap: 8px; }
  .brand { gap: 10px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__mark img { width: 32px; height: 32px; }
  .brand__name { font-size: 1.16rem; letter-spacing: .2em; }
  .brand__tag { display: none; }
  .header-actions { gap: 7px; margin-left: auto; }
  .header-phone {
    width: 40px; height: 40px; padding: 0; justify-content: center;
    border-radius: 50%; background: rgba(212, 173, 85, .1); border-color: var(--line-strong);
  }
  .header-phone span { display: none; }
  .header-phone .ico { width: 19px; height: 19px; }
  .header-user, .burger { width: 40px; height: 40px; }
  .burger { padding: 11px 9px; }
  #header-lang { display: block; }
  #header-lang .lang-switch { padding: 2px; gap: 0; }
  #header-lang .lang-switch button { padding: 6px 7px; font-size: .68rem; }

  /* первый экран: фото + текст, без «пустого» блока с логотипом */
  .hero { padding: 28px 0 38px; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__art { display: none; }
  .hero__title { font-size: clamp(1.9rem, 8.4vw, 2.5rem); letter-spacing: 0; }
  .hero__title span { display: block; }
  .hero__lead { font-size: .95rem; margin-bottom: 18px; }
  .hero__cta { flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .hero__cta .btn, a, button, .quick-dock__btn, .lang-switch button, .burger { touch-action: manipulation; }

.btn { width: 100%; justify-content: center; }
  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 20px; }
  .hero__trust b { font-size: 1.35rem; }
  .kicker { font-size: .66rem; letter-spacing: .16em; }

  .promo-badge { max-width: none; width: 100%; padding: 14px 16px; margin-bottom: 18px; }
  .promo-badge b { font-size: 1.26rem; }

  /* блоки */
  .grid { gap: 16px; }
  .grid--2, .grid--3, .grid--4, .grid--auto { grid-template-columns: 1fr; }
  .photo-pair { grid-template-columns: 1fr; gap: 14px; }
  .feature-strip, .feature-strip--5 { grid-template-columns: 1fr; gap: 0; }
  .feature-strip__item {
    padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: flex-start;
  }
  .feature-strip__item:last-child { border-bottom: 0; }
  .feature-strip__item .ico { width: 24px; height: 24px; }
  .mural-band { min-height: 330px; }
  .mural-band__inner { padding: 38px 18px; }
  .emergency { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; }
  .emergency__icon { width: 46px; height: 46px; }
  .emergency__icon .ico { width: 24px; height: 24px; }
  .emergency__phones { flex-direction: column; gap: 8px; }
  .emergency__aside { justify-items: stretch; }
  .emergency__aside .btn, a, button, .quick-dock__btn, .lang-switch button, .burger { touch-action: manipulation; }

.btn { width: 100%; justify-content: center; }
  .stationary__item { padding: 14px; }
  .stationary__price { font-size: .84rem; padding: 12px 14px; }
  .reviews-empty { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .cta-band { grid-template-columns: 1fr; padding: 26px 20px; }
  .rating-summary { grid-template-columns: 1fr; gap: 18px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item__cap { padding: 10px 12px; }
  .gallery-item__cap b { font-size: .94rem; }
  .gallery-item__cap span { font-size: .72rem; }
  .card, .form-card { padding: 18px; }
  .card--framed::before { display: none; }
  .doctor-card__body { padding: 16px 18px 18px; gap: 10px; }
  .doctor-card__foot { flex-direction: column; }
  .doctor-card__foot .btn, a, button, .quick-dock__btn, .lang-switch button, .burger { touch-action: manipulation; }

.btn { width: 100%; flex: 1 1 auto; }
  .doctor-card::before, .service-card::before, .equipment-card::before { display: none; }
  .info-list__row { gap: 12px; }
  .info-list__row span, .info-list__row a { font-size: .95rem; }
  .map-slot { min-height: 250px; padding: 22px 18px; }
  .faq__q { padding: 16px 16px; font-size: .95rem; }
  .faq__a > div { padding: 0 16px 16px; font-size: .9rem; }

  /* прайс */
  .price-table th, .price-table td { padding: 10px 8px; font-size: .87rem; }
  .price-table td .small { font-size: .74rem; }

  /* длинные слова и адреса не должны разваливать вёрстку */
  h1, h2, h3, h4, p, td, .card, .service-card h3, .doctor-card__name, .gallery-item__cap b {
    overflow-wrap: break-word; word-break: break-word;
  }
  .hero__lead, .section-lead { max-width: 100%; }
  /* формы: 16px — иначе iOS зумит при фокусе */
  input, select, textarea { font-size: 16px !important; }
  .field-row { grid-template-columns: 1fr; }
  .field { margin-bottom: 14px; }
  .btn, a, button, .quick-dock__btn, .lang-switch button, .burger { touch-action: manipulation; }

.btn { min-height: 46px; }
  .btn--lg { min-height: 52px; font-size: .95rem; }
  .btn--sm { min-height: 40px; }
  .modal-card { margin: 3vh auto; padding: 20px; max-height: 93vh; overflow-y: auto; }
  .checkbox { align-items: flex-start; gap: 10px; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
  .slot { padding: 10px 6px; font-size: .84rem; }

  /* таблицы админки — горизонтальная прокрутка */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-main { padding: 16px 14px 40px; }
  .admin-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .admin-head h1 { font-size: 1.5rem; }
  .admin-toolbar { flex-wrap: wrap; }
  .admin-toolbar > * { flex: 1 1 160px; min-width: 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card b { font-size: 1.5rem; }
  .admin-section-title { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* нижняя панель быстрых действий */
  .quick-dock {
    left: 10px; right: 10px; bottom: 10px; flex-direction: row; gap: 6px;
    padding: 7px; border-radius: 16px; background: rgba(5, 19, 15, .95);
    border: 1px solid var(--line); box-shadow: 0 -6px 30px rgba(0, 0, 0, .5);
    backdrop-filter: blur(14px);
  }
  .quick-dock__btn {
    flex: 1; justify-content: center; padding: 10px 6px; border: 0; background: transparent;
    box-shadow: none; font-size: .72rem; flex-direction: column; gap: 3px; border-radius: 12px;
  }
  .quick-dock__btn .ico { width: 19px; height: 19px; }
  .quick-dock__btn--gold { background: linear-gradient(120deg, var(--gold-200), var(--gold-500)); color: #06180f; }
  .quick-dock__btn--gold .ico { color: #06180f; }
  .quick-dock__btn:hover { transform: none; }
  .quick-dock__top { display: none; }
  .toasts { top: auto; bottom: 84px; left: 10px; right: 10px; max-width: none; pointer-events: none; }
}

/* ── узкий телефон ────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  body { font-size: 15px; }

  /* в шапке остаются логотип, язык, кабинет и меню: звонок — в нижней панели */
  .header-phone { display: none; }
  .brand__name { font-size: 1.06rem; letter-spacing: .16em; }
  .header-actions { gap: 6px; }
  .header-user, .burger { width: 38px; height: 38px; }
  #header-lang .lang-switch button { padding: 5px 6px; font-size: .64rem; }

  .hero { padding: 22px 0 32px; }
  .hero__title { font-size: clamp(1.7rem, 9vw, 2.1rem); }
  .hero__trust b { font-size: 1.2rem; }
  .hero__trust span { font-size: .74rem; }
  .hero__float { display: none; }

  .section { padding: 38px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__legal { gap: 6px 16px; font-size: .74rem; }
  .site-footer__docs { flex-direction: column; gap: 6px; }
  .modal-card { padding: 18px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tabs a { white-space: nowrap; }
}

/* ── совсем узкий экран ───────────────────────────────────────────────── */
@media (max-width: 400px) {
  .brand__text { display: none; }
  .container { padding: 0 13px; }
  .hero__title { font-size: 1.6rem; }
  .btn, a, button, .quick-dock__btn, .lang-switch button, .burger { touch-action: manipulation; }

.btn { font-size: .88rem; padding-left: 16px; padding-right: 16px; }
  .quick-dock__btn { font-size: .66rem; }
  .quick-dock__btn .ico { width: 17px; height: 17px; }
  .hero__trust { grid-template-columns: 1fr; gap: 8px; }
}

/* ── ландшафт на телефоне ─────────────────────────────────────────────── */
@media (max-height: 480px) and (max-width: 900px) {
  .main-nav.is-open { max-height: calc(100dvh - var(--header-h)); }
  .hero { padding: 18px 0 26px; }
  .hero__cta { flex-direction: row; }
  .hero__cta .btn, a, button, .quick-dock__btn, .lang-switch button, .burger { touch-action: manipulation; }

.btn { width: auto; flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .quick-dock, .site-footer, .toasts { display: none; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   МОБИЛЬНАЯ ДОРАБОТКА (перекрывает блоки адаптива выше)
   ========================================================================== */
@media (max-width: 860px) {
  /* ── герой: фото на весь экран, поверх — знак, текст и кнопки ───────── */
  .hero {
    padding: 0; min-height: min(80svh, 720px);
    display: flex; align-items: flex-end;
  }
  .hero__bg {
    opacity: 1;
    background-image:
      linear-gradient(180deg,
        rgba(4, 17, 13, .62) 0%,
        rgba(4, 17, 13, .18) 26%,
        rgba(4, 17, 13, .72) 62%,
        rgba(4, 17, 13, .97) 88%,
        var(--green-950) 100%),
      var(--hero-image);
    background-size: cover, cover;
    background-position: center, center 42%;
  }
  .hero__inner { display: flex; flex-direction: column; padding-bottom: 94px; }
  .hero__text { display: flex; flex-direction: column; }
  .hero__art { display: flex; align-items: center; order: -1; min-height: 0; margin: 0 0 14px; }
  .hero__ring, .hero__glow, .hero__float { display: none; }
  .hero__mark { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .65)); }
  .hero .kicker { margin-bottom: 8px; }
  .hero__title { font-size: clamp(1.85rem, 8.2vw, 2.4rem); line-height: 1.06; margin-bottom: 10px; }
  .hero__lead { font-size: .92rem; line-height: 1.5; margin-bottom: 16px; opacity: .92; }
  .hero__cta { gap: 9px; margin-bottom: 16px; }
  .hero__cta .btn { min-height: 50px; }

  /* ── акция: в столбик, без наложений ────────────────────────────────── */
  .promo-badge { display: block; width: 100%; max-width: none; padding: 15px 17px; margin-bottom: 16px; }
  .promo-badge__tag { display: block; margin-bottom: 7px; font-size: .62rem; }
  .promo-badge b { display: block; font-size: 1.42rem; line-height: 1.05; margin-bottom: 6px; }
  .promo-badge > span { display: block; font-size: .85rem; line-height: 1.42; margin-bottom: 11px; }
  .promo-badge__cta { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; }

  /* ── цифры в герое: сетка 2×2, компактно ────────────────────────────── */
  .hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 18px; }
  .hero__trust b { display: block; font-size: 1.32rem; line-height: 1; margin-bottom: 3px; }
  .hero__trust span { display: block; font-size: .64rem; letter-spacing: .07em; line-height: 1.3; }

  /* ── преимущества: заголовок и текст в столбик ──────────────────────── */
  .feature-strip__item { padding: 15px 0; gap: 13px; }
  .feature-strip__item > div { min-width: 0; }
  .feature-strip__item b { display: block; font-size: 1rem; margin-bottom: 3px; }
  .feature-strip__item span { display: block; font-size: .83rem; line-height: 1.45; color: var(--text-muted); }

  /* ── карточки услуг: плотнее ────────────────────────────────────────── */
  .service-card { gap: 10px; padding: 16px; }
  .service-card__head { gap: 11px; }
  .service-card__icon { width: 40px; height: 40px; border-radius: 12px; }
  .service-card__icon .ico { width: 20px; height: 20px; }
  .service-card h3 { font-size: 1.02rem; line-height: 1.25; }
  .service-card p { font-size: .84rem; line-height: 1.45; }
  .service-card__foot { padding-top: 12px; gap: 10px; flex-wrap: wrap; }
  .service-card__foot .btn { flex: 1 1 118px; }
  .price { font-size: 1.14rem; }

  /* ── прочие карточки ────────────────────────────────────────────────── */
  .card { padding: 16px; }
  .equipment-card, .review-card { gap: 12px; }
  .ach-card { padding: 14px 16px; }
  .gallery-item__cap { padding: 9px 11px; }
  .map-slot { min-height: 210px; }
  .cta-band { padding: 22px 18px; }
  .mural-band { min-height: 300px; }
  .mural-band__inner { padding: 32px 18px; }
  .mural-band h2 { font-size: 1.5rem; }
}

@media (max-width: 400px) {
  .hero__trust { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .hero__trust b { font-size: 1.15rem; }
  .hero__trust span { font-size: .58rem; }
  .promo-badge b { font-size: 1.28rem; }
}

/* ── мобильная доработка №3 ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  /* шаги записи: одна колонка, компактно */
  .wizard__steps {
    position: static; display: flex; flex-direction: column;
    gap: 6px; overflow: visible; padding: 0; margin-bottom: 8px; width: 100%;
  }
  .wizard__steps .wizard__step {
    min-width: 0; width: 100%; max-width: 100%; padding: 10px 12px;
    border-radius: var(--radius-xs); flex-direction: row; align-items: center; gap: 10px;
  }
  .wizard__step > div { min-width: 0; }
  .wizard__step > div span { display: none; }
  .wizard__step b { font-size: .84rem; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
  .wizard__num { width: 27px; height: 27px; font-size: .8rem; flex-shrink: 0; }

  /* фильтры услуг — одна строка с горизонтальной прокруткой */
  .filter-bar {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    padding: 2px 0 8px; margin: 0 0 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; padding: 9px 14px; font-size: .82rem; }

  /* подзаголовки страниц короче и мельче */
  .page-head p, .section-lead { font-size: .92rem; line-height: 1.5; }
  .page-head p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
  .page-head { padding-top: 18px; padding-bottom: 4px; }
  .page-head h1 { margin-bottom: 10px; }
}

/* ── мобильная доработка №4: ничего не выходит за контейнер ─────────────── */
@media (max-width: 860px) {
  .wizard, .wizard > *, .wizard__steps, .wizard__panel,
  .filter-bar, .card, .form-card, .grid, .grid > * {
    min-width: 0; max-width: 100%;
  }
  .filter-bar { min-width: 0; overflow-x: auto; }
  .wizard__step, .wizard__step > div { min-width: 0; max-width: 100%; }
}

/* ── мобильная доработка №5: центрирование и компактные услуги ─────────── */
@media (max-width: 860px) {
  /* ── шапка в две строки, всё по центру ─────────────────────────────── */
  :root { --header-h: 104px; }
  .site-header__inner {
    flex-wrap: wrap; justify-content: center; align-content: center;
    height: var(--header-h); gap: 4px 10px; padding: 8px 0 6px;
  }
  .brand { order: 1; width: 100%; justify-content: center; }
  .brand__name { font-size: 1.3rem; letter-spacing: .26em; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__mark img { width: 35px; height: 35px; }
  .header-actions {
    order: 2; width: 100%; justify-content: center; gap: 10px;
    border-top: 1px solid var(--line-soft); padding-top: 7px;
  }
  .header-phone { display: none; }
  .header-user, .burger { width: 36px; height: 36px; }
  #header-lang .lang-switch { padding: 3px; }
  #header-lang .lang-switch button { padding: 5px 9px; font-size: .7rem; }

  /* меню выпадает из-под шапки */
  .main-nav.is-open { top: var(--header-h); }

  /* ── заголовки и лид по центру ─────────────────────────────────────── */
  .hero__text, .hero__cta, .hero__trust { align-items: center; text-align: center; }
  .hero__cta { flex-direction: column; }
  .hero__art { justify-content: center; }
  .page-head { text-align: center; }
  .page-head p { margin-left: auto; margin-right: auto; }
  .page-head::after { left: 18%; right: 18%; }
  .breadcrumbs { justify-content: center; }
  .section-head { flex-direction: column; align-items: center; text-align: center; }
  .section-head__text { padding-left: 0; }
  .section-head .link-arrow, .section-head > .btn { margin-top: 4px; }
  .section-lead { margin-left: auto; margin-right: auto; }
  .cta-band { text-align: center; }
  .site-footer__bottom, .site-footer__docs { text-align: center; justify-content: center; }
  .site-footer__grid { text-align: center; }
  .site-footer__col ul { display: inline-block; text-align: left; }
  .promo-badge { text-align: center; }
  .promo-badge__cta { justify-content: center; }

  /* ── услуги: две колонки, только нужное ────────────────────────────── */
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card {
    padding: 12px 11px; gap: 7px; border-radius: var(--radius-sm);
    border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .03);
  }
  .service-card__head { flex-direction: column; align-items: flex-start; gap: 7px; }
  .service-card__icon { width: 30px; height: 30px; border-radius: 9px; }
  .service-card__icon .ico { width: 17px; height: 17px; }
  .service-card h3 { font-size: .84rem; line-height: 1.24; min-height: 2.5em; }
  .service-card p { display: none; }
  .service-card .small.muted { font-size: .62rem; letter-spacing: .04em; }
  .service-card__foot {
    padding-top: 7px; margin-top: auto; flex-direction: column;
    align-items: flex-start; gap: 7px;
  }
  .service-card .price { font-size: 1rem; }
  .service-card .price small { font-size: .62rem; }
  .service-card__foot .btn {
    width: 100%; min-height: 30px; padding: 5px 8px; font-size: .7rem;
    justify-content: center; border-radius: 8px;
  }
  .service-card__foot .btn .ico { display: none; }
  .service-card:hover::before { display: none; }

  /* карточки врачей и оборудования тоже по две */
  .doctor-card__name { font-size: 1rem; }
  .doctor-card__body { padding: 12px 12px 14px; gap: 7px; }
  .doctor-card__pos { font-size: .74rem; }
  .doctor-card__foot .btn { font-size: .74rem; min-height: 36px; }
  .equipment-card h3 { font-size: .9rem; }
  .equipment-card p { font-size: .78rem; }
}

@media (max-width: 560px) {
  .site-footer__col { text-align: center; }
}
