:root {

  --navy: #00346a;           /* заголовки, футер, тёмные блоки */
  --teal: #0395ae;           /* главный акцент: кнопки, цифры */
  --teal-dark: #027a8f;      /* hover у кнопок */
  --red: #dc4354;            /* красный из логотипа — только точечно */

  --paper: #f4f8fb;          /* основной фон */
  --paper-soft: #ffffff;     /* фон карточек */
  --pine: #00346a;           /* тёмный (прежнее имя переменной сохранено) */
  --pine-deep: #012850;      /* самый тёмный (футер) */
  --leaf: #027a8f;           /* тёмный бирюзовый */
  --vivid: #1ab9d2;          /* светлый бирюзовый для акцентов */
  --mint: #d3ecf2;           /* светло-бирюзовый */
  --mint-soft: #eaf5f8;      /* совсем светлый */
  --ink: #13202e;            /* основной текст */
  --sand: #9db4cc;           /* серо-голубой (фоновые пятна) */
  --line: rgba(0, 52, 106, 0.12);

  --font-sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 28px;
  --shadow-card: 0 24px 60px -20px rgba(0, 52, 106, 0.35);
}

/* ── 2. БАЗА ──────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--vivid); color: var(--pine-deep); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: rgba(0, 52, 106, 0.7);
  border-radius: 999px;
  border: 2px solid var(--paper);
}

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

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 880px) {
  .container { padding-inline: 32px; }
}

.sprite { display: none; }
.icon { width: 18px; height: 18px; flex: none; }
.i-sm { width: 15px; height: 15px; }
.i-lg { width: 24px; height: 24px; }
.i-xl { width: 32px; height: 32px; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-dots {
  background-image: radial-gradient(rgba(0, 52, 106, 0.16) 1px, transparent 1.5px);
  background-size: 24px 24px;
}
.bg-dots-light {
  background-image: radial-gradient(rgba(244, 248, 251, 0.14) 1px, transparent 1.5px);
  background-size: 24px 24px;
}

/* появление при скролле */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--rd, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ── 3. КНОПКИ И МЕЛКИЕ ЭЛЕМЕНТЫ ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 800;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 50%;
  background:#ffffff;
  color: var(--pine-deep);
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn-circle { transform: rotate(45deg); }

.btn-primary {
  background: var(--navy);
  color: var(--paper);
  padding: 10px 10px 10px 28px;
  font-size: 16px;
  box-shadow: 0 20px 50px -18px rgba(0, 52, 106, 0.6);
}
.btn-primary .btn-circle { width: 40px; height: 40px; }
.btn-primary:hover { transform: translateY(-2px); background: var(--leaf); }

.btn-ghost {
  border: 1px solid rgba(0, 52, 106, 0.15);
  color: var(--navy);
  padding: 15px 28px;
  font-size: 16px;
}
.btn-ghost:hover { border-color: var(--vivid); background: var(--mint-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 52, 106, 0.15);
  padding: 12px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow::before {

}
.eyebrow--dark { border-color: rgba(255, 255, 255, 0.15); color: var(--mint); }

.section-title {
  margin-top: 24px;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.section-title--dark { color: var(--paper); }
.section-title--dark em { color: var(--vivid); }

.section-desc {
  margin-top: 20px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(0, 52, 106, 0.6);
}
.section-desc--dark { color: rgba(244, 248, 251, 0.6); }

.link-underline { position: relative; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  border-radius: 999px;
  background: var(--vivid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── 4. ШАПКА ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 20px 16px 0;
  animation: header-in 0.9s var(--ease) both;
}
@keyframes header-in {
  from { transform: translateY(-90px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.header-inner {
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 999px;
  padding: 10px 14px 10px 20px;
  transition: all 0.5s var(--ease);
}
.site-header.scrolled .header-inner {
  background: rgba(244, 248, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 50px -18px rgba(0, 52, 106, 0.35);
  outline: 1px solid rgba(0, 52, 106, 0.1);
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img{
  width: 250px;
}
.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px; height: 40px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--mint);
}
.logo-badge .icon { width: 20px; height: 20px; }
.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.logo-text span {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--vivid);
}
.logo--dark .logo-badge { background: var(--mint); color: var(--navy); }
.logo--dark .logo-text { color: var(--paper); }

.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-desktop a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(0, 52, 106, 0.75);
  transition: color 0.3s;
}
.nav-desktop a:hover { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  transition: background 0.3s;
}
.header-phone:hover { background: var(--mint-soft); }
.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  padding: 8px 12px 8px 20px;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.3s;
}
.header-cta:hover { background: var(--leaf); }
.header-cta .btn-circle { width: 26px; height: 26px; }
.header-cta .btn-circle .icon { width: 14px; height: 14px; }

.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0, 52, 106, 0.06);
  color: var(--navy);
  transition: background 0.3s;
}
.burger:hover { background: var(--mint); }

@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .burger { display: none; }
}
@media (min-width: 1280px) { .header-phone { display: inline-flex; } }

/* мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
}
.mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
}
.mobile-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open .mobile-nav a { opacity: 1; transform: none; }
.mobile-nav a .num {
  margin-right: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--vivid);
}
.mobile-nav a .icon { color: rgba(244, 248, 251, 0.3); }
.mobile-menu-foot { padding: 0 24px 40px; }
.mobile-menu-foot p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 248, 251, 0.4);
}
.mobile-menu-foot a {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--mint);
}
body.menu-open { overflow: hidden; }

/* ── 5. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}
@media (min-width: 880px) { .hero { padding-top: 170px; } }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero-glow--mint {
  width: 44rem; height: 44rem;
  right: 0rem; top: -10rem;
  background: var(--mint);
  opacity: 0.55;
}
.hero-glow--sand {
  width: 30rem; height: 30rem;
  left: -13rem; top: 33%;
  background: var(--sand);
  opacity: 0.35;
}
.hero-dots {
  position: absolute;
  inset: 0 0 auto 0;
  height: 280px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
  opacity: 0.6;
}

.hero-grid { position: relative; }
@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
  }
}

.hero .eyebrow { background: var(--paper-soft); animation: fade-up 0.8s 0.15s var(--ease) both; }
.hero-title {
  font-size: 42px;
  margin-top: -70px;
  font-weight: 800;
  line-height: 50px;
  letter-spacing: -0.035em;
  color: var(--navy);
  animation: fade-up 1s 0.28s var(--ease) both;
}
.hero-hl { position: relative; display: inline-block; }
.hero-hl em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}
.hero-hl svg {
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%;
  color: var(--navy);
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
  color: #000;
  animation: fade-up 0.9s 0.45s var(--ease) both;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fade-up 0.9s 0.58s var(--ease) both;
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  animation: fade-up 0.9s 0.72s var(--ease) both;
}
.trust-avatars { display: flex; }
.trust-avatars img,
.trust-avatars .more {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  object-fit: cover;
  object-position: top;
  margin-left: -12px;
}
.trust-avatars img:first-child { margin-left: 0; }
.trust-avatars .more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
}
.trust-stars { display: flex; align-items: center; gap: 4px; color: var(--vivid); }
.trust-stars b { margin-left: 6px; color: var(--navy); font-size: 14px; }
.trust-note { margin-top: 2px; font-size: 12px; font-weight: 600; color: rgba(0, 52, 106, 0.55); }

/* правая колонка — фото-арка */
.hero-visual {
  position: relative;
  margin-top: 56px;
  max-width: 520px;
  margin-inline: auto;
  animation: hero-visual-in 1.1s 0.35s var(--ease) both;
}
@media (min-width: 1024px) { .hero-visual { margin-top: 0; } }
@keyframes hero-visual-in {
  from { opacity: 0; transform: scale(0.95) translateY(50px); }
  to { opacity: 1; transform: none; }
}
.hero-arch {
  display: none;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 40px 40px;
  overflow: hidden;
  border: 1px solid rgba(0, 52, 106, 0.1);
  background: var(--mint-soft);
  box-shadow: 0 50px 120px -45px rgba(0, 52, 106, 0.55);
}
.hero-arch img {
  position: absolute;
  inset: 0;
  width: 100%; height: 112%;
  object-fit: cover;
  transform: scale(1.05);
  will-change: transform;
}
.hero-arch::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 33%;
  background: linear-gradient(to top, rgba(0, 52, 106, 0.35), transparent);
}

.float-card {
  position: absolute;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  padding: 16px;
}
.float-card--rating {
  left: -50px; top: -40px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
@media (min-width: 560px) { .float-card--rating { left: -40px; } }
.float-card--rating .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--mint);
}
.float-card--rating b { font-size: 18px; color: var(--navy); line-height: 1; }
.float-card--rating small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 52, 106, 0.55);
}

.float-card--slot {
  right: -12px; bottom: 24px;
  max-width: 230px;
  animation: floaty 6s ease-in-out 0.6s infinite;
}
@media (min-width: 560px) { .float-card--slot { right: -32px; } }
.float-card--slot .label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
}
.float-card--slot b { display: block; margin-top: 8px; font-size: 14px; color: var(--navy); }
.slot-chips { display: flex; gap: 6px; margin-top: 10px; }
.slot-chips span {
  border-radius: 8px;
  background: var(--mint);
  color: var(--navy);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-badge {
  position: absolute;
  top: -28px; right: -16px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  box-shadow: 0 20px 40px -12px rgba(0, 52, 106, 0.5);
  outline: 4px solid var(--paper);
}
.hero-badge svg.ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: spin-slower 18s linear infinite;
}
.hero-badge svg.ring text {
  fill: var(--mint);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.hero-badge > .icon { color: var(--vivid); width: 32px; height: 32px; }
@media (min-width: 560px) { .hero-badge { display: flex; } }
@keyframes spin-slower { to { transform: rotate(360deg); } }

/* статистика */
.hero-stats {
  margin-top: 64px;
  padding: 40px 0 64px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
}
@media (min-width: 880px) {
  .hero-stats { margin-top: 96px; padding-bottom: 80px; grid-template-columns: repeat(4, 1fr); }
}
.stat { position: relative; }
.stat-ghost {
  display: none;
  position: absolute;
  top: -48px; left: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 48px;
  color: rgba(0, 52, 106, 0.1);
}
@media (min-width: 880px) { .stat-ghost { display: block; } }
.stat-num-wrap { display: flex; align-items: baseline; }
.stat-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1;
}
@media (min-width: 880px) { .stat-num { font-size: 54px; } }
.stat-label {
  margin-top: 10px;
  max-width: 200px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(0, 52, 106, 0.55);
}

.scroll-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  display: none;
  transform: translateX(-50%);
}
.scroll-cue span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 52, 106, 0.15);
  color: rgba(0, 52, 106, 0.5);
  animation: cue-bob 1.8s ease-in-out infinite;
}
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (min-width: 1280px) { .scroll-cue { display: block; } }

/* ── 6. БЕГУЩАЯ СТРОКА ────────────────────────────────────── */
.marquee-section { position: relative; z-index: 10; padding: 32px 0; }
.marquee-strip {
  width: 104%;
  margin-left: -2%;
  overflow: hidden;
  user-select: none;
}
.marquee-strip--dark {
  background: var(--navy);
  box-shadow: 0 24px 60px -24px rgba(0, 52, 106, 0.6);
  transform: rotate(-1.4deg);
}
.marquee-strip--mint {
  margin-top: -14px;
  background: var(--mint);
  border-block: 1px solid var(--line);
  transform: rotate(1.1deg);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 32s linear infinite;
}
.marquee-strip--mint .marquee-track {
  animation: marquee 24s linear infinite reverse;
}
.marquee-item { display: flex; align-items: center; white-space: nowrap; }
.marquee-item .word {
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
}
.marquee-strip--mint .word {
  padding: 12px 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(0, 52, 106, 0.7);
}
.marquee-item .icon { color: var(--vivid); width: 22px; height: 22px; }
.marquee-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0, 52, 106, 0.35);
}
@media (min-width: 880px) {
  .marquee-item .word { padding: 20px 36px; font-size: 24px; }
  .marquee-strip--mint .word { padding: 14px 28px; font-size: 20px; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ── 7. НАПРАВЛЕНИЯ ───────────────────────────────────────── */
.services { position: relative; padding: 80px 0; }
@media (min-width: 880px) { .services { padding: 112px 0; } }
.section-head {
  display: grid;
  gap: 32px;
}
@media (min-width: 880px) {
  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.section-head-side { max-width: 380px; }
.section-head-side p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0, 52, 106, 0.55);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 800;
  color: var(--leaf);
}
.text-link .icon { transition: transform 0.3s; }
.text-link:hover .icon { transform: translateX(6px); }

.services-list { position: relative; margin-top: 48px; display:flex; justify-content:space-between; flex-wrap:wrap; }
@media (min-width: 880px) { .services-list { margin-top: 64px; } }

.service-row {
    width: 31%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 28px 20px;
    border-radius: 16px;
    transition: background 0.3s;
    flex-wrap: wrap;
    background: var(--navy)17;
    margin-top: 30px;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row:hover { background: var(--paper-soft); }
@media (min-width: 880px) {
  .service-row { gap: 40px; padding: 36px 32px; }
}
.service-num {
  display: none !important;
  width: 40px;
  flex: none;
  font-size: 14px;
  font-weight: 800;
  color: rgba(0, 52, 106, 0.3);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 560px) { .service-num { display: block; } }
.service-icon {
  display: block !important;
  width: 100%; height: 140px;
  flex: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--mint-soft);
  color: var(--leaf);
  transition: all 0.5s var(--ease);
}
.service-icon .icon { width: 24px; height: 24px; }
.service-row:hover .service-icon { background: var(--navy); color: var(--mint); }
@media (min-width: 880px) { .service-icon { display: flex; } }

.service-body { min-width: 100%; }
.service-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  transition: transform 0.5s var(--ease);
}
.service-row:hover .service-name { transform: translateX(10px); }
@media (min-width: 880px) { .service-name { font-size: 20px; line-height: 1.15; } }
.service-desc {
  margin-top: 8px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 52, 106, 0.55);
}
.service-tags {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}
.service-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 52, 106, 0.55);
}
@media (min-width: 880px) { .service-tags { display: none; } }

.service-price {
  width: 100%;
  flex: none;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  margin-top: -30px;
}
@media (min-width: 880px) { .service-price { display: block; } }

.service-arrow {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 52, 106, 0.15);
  color: var(--navy);
  transition: all 0.5s var(--ease);
}
.service-arrow .icon { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.service-row:hover .service-arrow { background: var(--navy); border-color: var(--navy); color: var(--mint); }
.service-row:hover .service-arrow .icon { transform: rotate(45deg); }
@media (min-width: 880px) { .service-arrow { width: 56px; height: 56px; } .service-arrow .icon { width: 24px; height: 24px; } }

/* плавающее превью при наведении */
.service-preview {
  position: absolute;
  left: 0; top: 0;
  z-index: 20;
  display: none;
  pointer-events: none;
  will-change: transform;
}
@media (min-width: 1024px) { .service-preview { display: block; } }
.service-preview-inner {
  width: 256px; height: 320px;
  border-radius: 28px;
  border: 4px solid var(--paper-soft);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 52, 106, 0.55);
  transform: translate(-50%, -50%) scale(0.7) rotate(6deg);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.3s;
}
.service-preview.on .service-preview-inner {
  transform: translate(-50%, -50%) scale(1) rotate(-4deg);
  opacity: 1;
}
.service-preview img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.35s;
}

/* ── 8. О КЛИНИКЕ ─────────────────────────────────────────── */
.about { position: relative; overflow: hidden; padding: 0px 0; }
@media (min-width: 880px) { .about { padding: 128px 0; } }
.about-glow {
  position: absolute;
  left: -10rem; bottom: 0;
  width: 28rem; height: 28rem;
  border-radius: 50%;
  background: var(--mint);
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}
.about-grid { position: relative; display: grid; gap: 64px; }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 0.95fr 1.05fr; gap: 80px; align-items: center; }
}

.about-visual { position: relative; max-width: 520px; }
.about-dots-deco {
  position: absolute;
  left: -32px; top: -32px;
  width: 176px; height: 176px;
  opacity: 0.7;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(0, 52, 106, 0.1);
  box-shadow: 0 40px 100px -40px rgba(0, 52, 106, 0.45);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}
.about-photo:hover img { transform: scale(1.05); }

.about-years {
  position: absolute;
  right: -12px; top: 40px;
  width: 160px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--paper);
  padding: 20px;
  transform: rotate(3deg);
  box-shadow: 0 30px 60px -20px rgba(1, 40, 80, 0.6);
  animation: floaty 5.5s ease-in-out infinite;
}
@media (min-width: 560px) { .about-years { right: -32px; width: 190px; } }
.about-years b {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.about-years b span { font-family: var(--font-serif); font-style: italic; color: var(--vivid); }
.about-years small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(244, 248, 251, 0.65);
}
.about-license {
  position: absolute;
  left: -12px; bottom: 48px;
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 14px 16px;
  box-shadow: 0 20px 50px -20px rgba(0, 52, 106, 0.4);
  animation: floaty 6.5s ease-in-out 0.5s infinite;
}
@media (min-width: 560px) { .about-license { left: -40px; } }
.about-license .tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--navy);
}
.about-license b { font-size: 14px; color: var(--navy); line-height: 1.2; }
.about-license small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(0, 52, 106, 0.55);
}

.features {
  margin-top: 40px;
  display: grid;
  gap: 16px;
}
@media (min-width: 560px) { .features { grid-template-columns: 1fr 1fr; } }
.feature {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-soft);
  padding: 20px;
  transition: all 0.4s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 185, 210, 0.4);
  box-shadow: 0 20px 50px -20px rgba(0, 52, 106, 0.25);
}
.feature .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--navy);
  transition: all 0.4s;
}
.feature:hover .tile { background: var(--navy); color: var(--mint); }
.feature b { display: block; margin-top: 16px; font-size: 16px; color: var(--navy); }
.feature p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: rgba(0, 52, 106, 0.55); }

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}
.about-cta .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  transition: background 0.3s;
}
.about-cta:hover .tile { background: var(--leaf); }
.about-cta .tile .icon { transition: transform 0.3s; }
.about-cta:hover .tile .icon { transform: translateX(2px); }

/* ── 9. ВРАЧИ ─────────────────────────────────────────────── */
.doctors { padding: 80px 0; }
@media (min-width: 880px) { .doctors { padding: 112px 0; } }
.doctors-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}
@media (min-width: 560px) { .doctors-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .doctors-grid { grid-template-columns: repeat(4, 1fr); } }

.doctor-card {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper-soft);
  padding: 10px;
  transition: all 0.5s var(--ease);
}
.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 80px -28px rgba(0, 52, 106, 0.4);
}
.doctor-photo {
  position: relative;
  height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--mint-soft);
  padding-top: 30px;
}
.doctor-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s ease-out;
}
.doctor-card:hover .doctor-photo img { transform: scale(1.06); }
.doctor-status {
  display: none;
  position: absolute;
  left: 12px; top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}
.doctor-status .dot {
  display: none;
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--vivid);
}
.doctor-status .dot::after {
  display: none;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--vivid);
  animation: ping-soft 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping-soft {
  0% { transform: scale(1); opacity: 0.9; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}
.doctor-cta {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  transform: translateY(64px);
  opacity: 0;
  transition: all 0.5s var(--ease);
}
.doctor-card:hover .doctor-cta { transform: none; opacity: 1; }
.doctor-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border-radius: 12px;
  background: var(--navy);
  color: var(--paper);
  padding: 12px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 30px -10px rgba(1, 40, 80, 0.55);
  transition: background 0.3s;
}
.doctor-cta a:hover { background: var(--leaf); }

.doctor-info { padding: 16px 12px 12px; }
.doctor-info h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.doctor-info .role { margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(0, 52, 106, 0.55); }
.doctor-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: rgba(0, 52, 106, 0.55);
}
.doctor-meta span { display: flex; align-items: center; gap: 6px; }
.doctor-meta .rating { color: var(--navy); font-weight: 800; }
.doctor-meta .rating .icon { color: var(--vivid); }

/* ── 10. ЧЕК-АПЫ ──────────────────────────────────────────── */
.packages { padding: 24px 12px; }
@media (min-width: 880px) { .packages { padding: 40px 24px; } }
.packages-panel {
  position: relative;
  max-width: 1280px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 40px;
  background: var(--navy);
  padding: 64px 20px;
}
@media (min-width: 880px) { .packages-panel { border-radius: 48px; padding: 96px 48px; } }
.packages-deco-dots {
  position: absolute;
  inset: 0 0 auto 0;
  height: 224px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
.packages-deco-glow {
  position: absolute;
  right: -8rem; top: -8rem;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  background: rgba(26, 185, 210, 0.2);
  filter: blur(60px);
  pointer-events: none;
}
.packages-deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.packages-deco-ring--1 { width: 26rem; height: 26rem; left: -6rem; bottom: -10rem; }
.packages-deco-ring--2 { width: 16rem; height: 16rem; left: -2rem; bottom: -6rem; }

.packages-head { position: relative; display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .packages-head { grid-template-columns: 1fr auto; align-items: end; }
}
.installment {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 16px;
}
.installment .tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--pine-deep);
}
.installment .tile img{
  width: 32px;
}
.installment p { font-size: 12px; font-weight: 600; line-height: 1.5; color: rgba(244, 248, 251, 0.7); }

.packages-grid {
  position: relative;
  margin-top: 56px;
  display: grid;
  gap: 20px;
}
@media (min-width: 880px) {
  .packages-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.pkg {
  position: relative;
  height: 100%;
  border-radius: 28px;
  padding: 28px;
}
.pkg--plain {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  color: var(--paper);
  transition: border-color 0.5s;
}
.pkg--plain:hover { border-color: rgba(255, 255, 255, 0.25); }
.pkg--popular {
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5);
}
@media (min-width: 1024px) { .pkg--popular { transform: translateY(-16px); } }
.pkg-badge {
  position: absolute;
  top: -14px; left: 28px;
  border-radius: 999px;
  background: var(--vivid);
  color: var(--pine-deep);
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -8px rgba(26, 185, 210, 0.6);
}
.pkg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pkg-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.pkg-time {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.pkg--plain .pkg-time { background: rgba(255, 255, 255, 0.1); color: rgba(244, 248, 251, 0.8); }
.pkg--popular .pkg-time { background: var(--mint-soft); color: var(--navy); }

.pkg-price {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.pkg-price b { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pkg-price small {
  padding-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}
.pkg--plain .pkg-price small { color: rgba(244, 248, 251, 0.4); }
.pkg--popular .pkg-price small { color: rgba(0, 52, 106, 0.45); }
.pkg-desc { margin-top: 12px; font-size: 14px; line-height: 1.6; }
.pkg--plain .pkg-desc { color: rgba(244, 248, 251, 0.55); }
.pkg--popular .pkg-desc { color: rgba(0, 52, 106, 0.6); }

.pkg-list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid;
  display: grid;
  gap: 12px;
}
.pkg--plain .pkg-list { border-color: rgba(255, 255, 255, 0.1); }
.pkg--popular .pkg-list { border-color: var(--line); }
.pkg-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 600; }
.pkg-list .tick {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
}
.pkg--plain .tick { background: rgba(26, 185, 210, 0.2); color: var(--vivid); }
.pkg--popular .tick { background: var(--navy); color: var(--mint); }
.pkg-list .tick .icon { width: 11px; height: 11px; }

.pkg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 32px;
  border-radius: 999px;
  padding: 16px;
  font-size: 14px;
  font-weight: 800;
  transition: all 0.3s;
}
.pkg--plain .pkg-btn {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--paper);
}
.pkg--plain .pkg-btn:hover { background: rgba(255, 255, 255, 0.1); }
.pkg--popular .pkg-btn { background: var(--navy); color: var(--paper); }
.pkg--popular .pkg-btn:hover { background: var(--leaf); }
.pkg-btn .icon { transition: transform 0.3s; }
.pkg-btn:hover .icon { transform: rotate(45deg); }

.packages-note {
  position: relative;
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(244, 248, 251, 0.45);
}

/* ── 11. ОТЗЫВЫ ───────────────────────────────────────────── */
.reviews { position: relative; overflow: hidden; padding: 80px 0; }
@media (min-width: 880px) { .reviews { padding: 112px 0; } }
.reviews-quote-bg {
  position: absolute;
  top: -40px; left: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 240px;
  line-height: 1;
  color: rgba(0, 52, 106, 0.05);
  pointer-events: none;
  user-select: none;
}
.reviews-inner { position: relative; }
.reviews-center { text-align: center; }
.reviews-center .section-desc { margin-inline: auto; }

.review-box {
  max-width: 768px;
  margin: 56px auto 0;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper-soft);
  box-shadow: 0 30px 80px -35px rgba(0, 52, 106, 0.3);
  padding: 28px;
  text-align: left;
}
@media (min-width: 880px) { .review-card { padding: 44px; } }
.review-card > .icon { width: 36px; height: 36px; color: var(--vivid); }

.review-window {
  position: relative;
  margin-top: 16px;
  min-height: 21rem;   /* место под самый длинный отзыв */
}
@media (min-width: 560px) { .review-window { min-height: 15rem; } }
@media (min-width: 880px) { .review-window { min-height: 13rem; } }
.review-slide {
  position: absolute;
  inset: 0 0 auto 0;
  opacity: 0;
  transform: translateX(60px);
  filter: blur(4px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), filter 0.5s var(--ease);
  pointer-events: none;
}
.review-slide.is-active {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}
.review-slide.exit-next { transform: translateX(-70px); }
.review-slide.exit-prev { transform: translateX(70px); }
.review-slide.enter-next { transform: translateX(70px); }
.review-slide.enter-prev { transform: translateX(-70px); }
.review-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--navy);
}
@media (min-width: 880px) { .review-text { font-size: 24px; line-height: 1.5; } }

.review-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
}
.review-author b { display: block; color: var(--navy); }
.review-author small { font-size: 12px; font-weight: 600; color: rgba(0, 52, 106, 0.5); }
.review-stars { display: none; align-items: center; gap: 2px; margin-left: 8px; color: var(--vivid); }
@media (min-width: 560px) { .review-stars { display: flex; } }

.review-controls { display: flex; align-items: center; gap: 12px; }
.review-counter {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(0, 52, 106, 0.45);
}
.review-counter span { color: rgba(0, 52, 106, 0.25); }
.review-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 52, 106, 0.15);
  color: var(--navy);
  transition: all 0.3s;
}
.review-btn:hover { background: var(--navy); color: var(--mint); border-color: var(--navy); }

.review-platforms {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.review-platforms .caption {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 52, 106, 0.4);
}
.platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
}
.platform-chip .icon { width: 14px; height: 14px; color: var(--vivid); }

/* ── 12. ЗАПИСЬ ───────────────────────────────────────────── */
.booking {
  position: relative;
  overflow: hidden;
  background: var(--mint-soft);
  padding: 80px 0;
}
@media (min-width: 880px) { .booking { padding: 112px 0; } }
.booking-dots {
  position: absolute;
  inset: 0 0 auto 0;
  height: 256px;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
.booking-glow {
  position: absolute;
  right: -6rem; bottom: -8rem;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  background: var(--mint);
  filter: blur(70px);
  pointer-events: none;
}
.booking-grid { position: relative; display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .booking-grid { grid-template-columns: 0.95fr 1.05fr; gap: 64px; }
}

.steps { margin-top: 40px; }
.step {
  position: relative;
  border-left: 2px solid var(--line);
  padding: 0 0 32px 56px;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  position: absolute;
  left: -17px; top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
}
.step b { font-size: 18px; color: var(--navy); }
.step p { margin-top: 4px; max-width: 380px; font-size: 14px; line-height: 1.6; color: rgba(0, 52, 106, 0.55); }

.booking-contacts {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  padding: 10px 24px 10px 12px;
  transition: background 0.3s;
}
.phone-pill:hover { background: var(--leaf); }
.phone-pill .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.phone-pill small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 248, 251, 0.5);
}
.phone-pill b { font-size: 14px; }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 52, 106, 0.15);
  background: var(--paper-soft);
  color: var(--navy);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  transition: border-color 0.3s;
}
.whatsapp-btn:hover { border-color: var(--vivid); }
.whatsapp-btn .icon { color: var(--leaf); }

.booking-address { margin-top: 32px; display: grid; gap: 10px; }
.booking-address span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 52, 106, 0.6);
}
.booking-address .icon { color: var(--leaf); }

/* форма */
.booking-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper-soft);
  box-shadow: 0 45px 110px -40px rgba(0, 52, 106, 0.4);
  padding: 24px;
}
@media (min-width: 880px) { .booking-card { padding: 36px; } }
.booking-form { display: grid; gap: 16px; }
@media (min-width: 560px) { .booking-form { grid-template-columns: 1fr 1fr; } }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 52, 106, 0.45);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(0, 52, 106, 0.15);
  border-radius: 12px;
  background: var(--paper);
  padding: 14px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(0, 52, 106, 0.35); font-weight: 500; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--vivid);
  box-shadow: 0 0 0 4px rgba(26, 185, 210, 0.15);
}
.field select {
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230e3b32' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(0, 52, 106, 0.55);
  cursor: pointer;
}
.consent input {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--navy);
}
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  grid-column: 1 / -1;
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper);
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  transition: all 0.3s;
}
.submit-btn:hover { transform: translateY(-2px); background: var(--leaf); }
.submit-btn .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--vivid);
  color: var(--pine-deep);
  transition: transform 0.4s;
}
.submit-btn:hover .tile { transform: translateX(4px); }
.submit-btn .tile .icon { width: 14px; height: 14px; }
.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0, 52, 106, 0.4);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 0;
  text-align: center;
}
.form-success[hidden] { display: none; }
.form-success .ok {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--vivid);
  color: var(--pine-deep);
  box-shadow: 0 20px 50px -15px rgba(26, 185, 210, 0.6);
  animation: pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes pop {
  from { transform: scale(0) rotate(-30deg); }
  to { transform: scale(1) rotate(0); }
}
.form-success h3 { margin-top: 28px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.form-success p {
  margin-top: 12px;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 52, 106, 0.6);
}
.form-success button { margin-top: 32px; }

/* ── 13. FAQ ──────────────────────────────────────────────── */
.faq { padding: 80px 0; }
@media (min-width: 880px) { .faq { padding: 112px 0; } }
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }

.faq-contact {
  margin-top: 36px;
  border-radius: 28px;
  background: var(--navy);
  color: var(--paper);
  padding: 28px;
}
@media (min-width: 880px) { .faq-contact { padding: 32px; } }
.faq-contact .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(211, 236, 242, 0.6);
}
.faq-contact .phone {
  display: block;
  margin-top: 12px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.faq-contact .phone:hover { color: var(--mint); }
.faq-contact .hours {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(244, 248, 251, 0.5);
}
.faq-contact .whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--vivid);
  color: var(--pine-deep);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.3s;
}
.faq-contact .whatsapp:hover { transform: translateY(-2px); }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: transparent;
  transition: border-color 0.4s, background 0.4s;
}
.faq-item.open { border-color: rgba(26, 185, 210, 0.5); background: var(--paper-soft); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 20px;
  text-align: left;
}
@media (min-width: 880px) { .faq-q { padding: 24px; gap: 24px; } }
.faq-q .num {
  display: none;
  width: 32px;
  flex: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(0, 52, 106, 0.25);
}
@media (min-width: 560px) { .faq-q .num { display: block; } }
.faq-q .text { flex: 1; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
@media (min-width: 880px) { .faq-q .text { font-size: 18px; } }
.faq-q .plus {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 52, 106, 0.15);
  color: var(--navy);
  transition: all 0.4s var(--ease);
}
.faq-item.open .plus {
  transform: rotate(45deg);
  background: var(--navy);
  border-color: var(--navy);
  color: var(--mint);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p {
  padding: 0 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0, 52, 106, 0.6);
}
@media (min-width: 560px) { .faq-a p { padding-left: 76px; } }
@media (min-width: 880px) { .faq-a p { padding: 0 24px 24px 76px; font-size: 15px; } }

/* ── 14. ФУТЕР ────────────────────────────────────────────── */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
}
.footer-dots {
  position: absolute;
  inset: 0 0 auto 0;
  height: 256px;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
.footer-inner { position: relative; padding-bottom: 40px; }

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 880px) { .footer-cta { padding-top: 96px; } }
.footer-cta h3 {
  max-width: 576px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
@media (min-width: 880px) { .footer-cta h3 { font-size: 40px; } }
.footer-cta h3 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--vivid); }
.footer-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-cta .btn-light {
  background: var(--mint);
  color: var(--navy);
  padding: 10px 10px 10px 24px;
  font-size: 14px;
}
.footer-cta .btn-light .btn-circle { width: 36px; height: 36px; background: var(--navy); color: var(--mint); }
.footer-cta .btn-light:hover { background: var(--paper); transform: translateY(-2px); }
.footer-phone-big {
  font-size: 20px;
  font-weight: 800;
  transition: color 0.3s;
}
.footer-phone-big:hover { color: var(--mint); }

.footer-cols {
  display: grid;
  gap: 48px;
  padding: 56px 0;
}
@media (min-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-about { margin-top: 20px; max-width: 320px; font-size: 14px; line-height: 1.7; color: rgba(244, 248, 251, 0.5); }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(244, 248, 251, 0.7);
  transition: all 0.3s;
}
.footer-socials a:hover { background: var(--mint); border-color: var(--mint); color: var(--navy); }

.footer-col-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(211, 236, 242, 0.5);
}
.footer-col ul { margin-top: 20px; display: grid; gap: 12px; }
.footer-col ul a {
  font-size: 14px;
  font-weight: 700;
  color: rgba(244, 248, 251, 0.7);
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--paper); }
.footer-contact { margin-top: 20px; display: grid; gap: 16px; }
.footer-contact span,
.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(244, 248, 251, 0.7);
}
.footer-contact a:hover { color: var(--paper); }
.footer-contact .icon { margin-top: 2px; color: var(--vivid); }

.footer-wordmark {
  padding: 40px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  user-select: none;
}
.footer-wordmark p {
  font-size: clamp(3rem, 13.5vw, 10.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  background: linear-gradient(to bottom, var(--paper), rgba(244, 248, 251, 0.15));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-wordmark span {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0;
  color: var(--vivid);
  -webkit-text-fill-color: var(--vivid);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: rgba(244, 248, 251, 0.35);
}
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--paper); }

/* ── 15. ОСТАЛЬНОЕ ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── 16. РЕДИЗАЙН: HERO, ВРАЧИ (по референсам заказчика) ─────
   Этот блок стоит в конце файла и переопределяет разделы 3, 5 и 9.
   ============================================================ */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* кнопки: бирюзовая «пилюля» + контурная, как на референсе */
.btn-primary,
.header-cta { background: var(--teal); color: #fff; }
.btn-primary { box-shadow: 0 18px 40px -16px rgba(3, 149, 174, 0.75); }
.btn-primary:hover,
.header-cta:hover { background: var(--teal-dark); }
.btn-circle { color: var(--navy); }
.btn-ghost {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--navy);
  padding: 13px 28px;
}
.btn-ghost:hover { background: var(--mint-soft); border-color: var(--teal-dark); }

/* звёзды рейтинга — тёплые, чтобы читались как рейтинг */
.hero-rating .stars,
.doctor-rating .icon,
.review-stars { color: #f5a623; }

/* ── HERO ── */
.hero { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); padding-top: 40px}
@media (min-width: 880px) { .hero { padding-top: 120px; } }
@media (max-width: 879px) { .hero { padding-top: 104px; } }

.hero-glow--mint { background: #7fcad6; opacity: 0.5; right: -10rem; top: -8rem; }
.hero-glow--sand { background: #8fa5bd; opacity: 0.45; left: -18rem; top: 30%; }
.hero-dots { display: none; }

.hero .hero-grid { align-items: end; }
@media (min-width: 1024px) {
  .hero .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 24px; }
}
.hero-copy { padding-bottom: 40px; }
@media (min-width: 1024px) { .hero-copy { padding-bottom: 72px; } }

.hero .hero-title {
  margin-top: 0;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy);
  text-wrap: balance;
}
.hero .hero-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 18px;
  color: var(--ink);
}
.hero .hero-cta { margin-top: 32px; }

/* плашка аккредитации */
.hero-accred {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  max-width: 470px;
  padding: 14px 24px 14px 16px;
  border: 2px solid var(--teal);
  border-radius: 28px;
  background: #fff;
  animation: fade-up 0.9s 0.72s var(--ease) both;
}
.hero-accred-seal {
  position: relative;
  flex: none;
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
  color: #fff;
}
.hero-accred-seal svg.burst { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-accred-seal .icon { position: relative; width: 28px; height: 28px; }
.hero-accred p { font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--navy); }

/* правая колонка: врач без «арки» */
.hero .hero-visual {
  max-width: 560px;
  margin: 24px auto 0;
  z-index: 2;
}
@media (min-width: 1024px) {
  .hero .hero-visual { margin: 0 0 140px; max-width: none; }
}
.hero .hero-visual .banner-img {
  position: relative;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}
.hero .hero-visual .banner-img img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  object-position: bottom center;
}
.hero-rating {
  position: absolute;
  left: 0; bottom: 34%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  animation: floaty 5s ease-in-out infinite;
}
.hero-rating b { display: block; font-size: 22px; line-height: 1; color: var(--navy); }
.hero-rating .stars { display: flex; gap: 2px; margin-top: 5px; }
.hero-rating small { display: block; margin-top: 5px; font-size: 11px; font-weight: 700; color: rgba(0, 52, 106, 0.6); }
@media (max-width: 640px) {
  .hero-rating { position: relative; left: auto; bottom: auto; top: auto; width: fit-content; margin: 0 auto 8px; animation: none; }
}

/* статистика: три цифры на скруглённой плашке */
.hero .hero-stats {
  position: relative;
  z-index: 1;
  margin: 0 0 48px;
  padding: 32px 16px;
  border: 0;
  border-radius: 36px;
  background: #f0f5f9;
  box-shadow: 0 30px 70px -40px rgba(0, 52, 106, 0.35);
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 720px) {
  .hero .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 40px 24px 36px;
  }
  .hero .stat + .stat { border-left: 1px solid rgba(0, 52, 106, 0.14); }
}
@media (min-width: 1024px) { .hero .hero-stats { padding: 56px 24px 30px; } }
.hero .stat { text-align: center; padding-inline: 16px; }
.hero .stat-ghost { display: none; }
.hero .stat-num-wrap { justify-content: center; }
.hero .stat-num {
  color: var(--teal);
  font-size: clamp(44px, 5.2vw, 68px);
  letter-spacing: -0.04em;
}
.hero .stat-label {
  max-width: 230px;
  margin: 12px auto 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.scroll-cue { display: none !important; }

/* ── ВРАЧИ: карточка как на референсе (фото → панель с данными → запись) ── */
.doctors { background: var(--paper); }
.doctors-grid { gap: 22px; }

.doctors .doctor-card {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border: 0;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 70px -44px rgba(0, 52, 106, 0.5);
}
.doctors .doctor-card:hover { transform: none; box-shadow: 0 36px 80px -40px rgba(0, 52, 106, 0.55); }

.doctors .doctor-photo {
  height: 290px;
  padding-top: 0;
  border-radius: 26px 26px 20px 20px;
  background: linear-gradient(180deg, #a9cdd9 0%, #dbeaf0 100%);
}
.doctors .doctor-photo img { object-position: top center; }
.doctors .doctor-card:hover .doctor-photo img { transform: none; }

.doctors .doctor-status {
  display: none;
  left: 12px; top: 12px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  background: rgba(255, 255, 255, 0.9);
}
.doctor-rating {
  position: absolute;
  right: 12px; top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}
.doctor-rating .icon { width: 14px; height: 14px; }

.doctor-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: -34px 6px 4px;
  padding: 18px 16px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -26px rgba(0, 52, 106, 0.5);
}
.doctor-panel h3 { font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--navy); }
.doctor-panel .role { margin-top: 4px; font-size: 13px; font-weight: 600; color: rgba(0, 52, 106, 0.6); }

.doctor-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--mint-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.doctor-fact .icon { color: var(--teal); }
.doctor-fact b { font-weight: 800; }

.doctor-pick-label { margin-top: 16px; font-size: 12px; font-weight: 700; color: rgba(0, 52, 106, 0.6); }
.doctor-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.doctor-days .day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0;
  border-radius: 14px;
  background: var(--paper);
  color: var(--navy);
  transition: background 0.25s, color 0.25s;
}
.doctor-days .day small { font-size: 11px; font-weight: 700; opacity: 0.6; }
.doctor-days .day b { font-size: 15px; font-weight: 800; line-height: 1; }
.doctor-days .day:hover { background: var(--mint); }
.doctor-days .day.is-on { background: var(--mint); box-shadow: inset 0 0 0 2px var(--teal); }

.doctor-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 16px; }
.doctor-times .time {
  padding: 9px 0;
  border-radius: 12px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.25s, color 0.25s;
}
.doctor-times .time:hover { background: var(--mint); }
.doctor-times .time.is-on { background: var(--navy); color: #fff; }

.doctor-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 15px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: background 0.3s;
}
.doctor-book:hover { background: var(--teal); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-rating, .hero-accred, .hero .hero-title, .hero .hero-sub, .hero .hero-cta { animation: none; }
}

/* прежние элементы hero оставлены скрытыми ради скриптов — на экране их нет */
.hero-legacy, .hero .stat-legacy, .hero .hero-badge { display: none !important; }

/* ── СЛАЙДЕР ГЛАВНОГО БЛОКА ─────────────────────────────────── */
.hero-slider { position: relative; z-index: 2; }   /* выше плашки статистики */
.hero-slides {
  display: grid;                                   /* слайды друг на друге: высота = самый высокий */
  touch-action: pan-y;
  animation: fade-up 1s 0.15s var(--ease) both;
}
.hero-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0s 0.7s;
}
.hero-slide .hero-grid { flex: 1; margin-top: 40px;}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s var(--ease), visibility 0s;
}

/* появление содержимого активного слайда (на первом кадре страницы анимации нет) */
.hero-slide .hero-title,
.hero-slide .hero-sub,
.hero-slide .hero-cta,
.hero-slide .hero-accred,
.hero-slide .hero-visual { animation: none; }
.hero-slide .hero-copy > *,
.hero-slide .hero-visual {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.hero-slide .hero-visual { transform: translateX(28px); }
.hero-slide.is-active .hero-copy > *,
.hero-slide.is-active .hero-visual { opacity: 1; transform: none; }
.hero-slide.is-active .hero-copy > :nth-child(2) { transition-delay: 0.06s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: 0.12s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { transition-delay: 0.18s; }
.hero-slide.is-active .hero-copy > :nth-child(5) { transition-delay: 0.24s; }
.hero-slide.is-active .hero-visual { transition-delay: 0.1s; }

/* слайды 2 и 3: фото в скруглённой рамке */
.hero-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  margin-inline: auto;
  border-radius: 36px;
  overflow: hidden;
  background: var(--mint);
  box-shadow: 0 40px 90px -50px rgba(0, 52, 106, 0.6);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .hero-photo { width: 88%; margin-right: 0; }
}
.hero-slide:not(:first-child) .hero-rating { top: 14%; bottom: auto; left: 0; }
@media (max-width: 640px) { .hero-slide:not(:first-child) .hero-rating { top: auto; } }

/* управление */
.hero-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  justify-content: center;
}
.hero-controls[hidden] { display: none; }
@media (min-width: 1024px) {
  .hero-controls {
    position: absolute;
    left: 32px; bottom: 22px;
    margin: 0;
    justify-content: flex-start;
  }
}
.hero-arrow {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(0, 52, 106, 0.16);
  background: #fff;
  color: var(--navy);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.hero-arrow:hover { border-color: var(--teal); background: var(--mint-soft); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-pause .i-play { display: none; }
.hero-slider.is-paused .hero-pause .i-play { display: block; }
.hero-slider.is-paused .hero-pause .i-pause { display: none; }

.hero-pager { display: flex; align-items: center; gap: 2px; margin-inline: 4px; }
.hero-dot {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 4px;
}
.hero-dot i {
  position: relative;
  display: block;
  width: 12px; height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 52, 106, 0.2);
  transition: width 0.45s var(--ease), background 0.25s;
}
.hero-dot:hover i { background: rgba(0, 52, 106, 0.35); }
.hero-dot.is-active i { width: 52px; }
.hero-dot i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.is-active i::after { animation: hero-progress 7s linear forwards; }
@keyframes hero-progress { to { transform: scaleX(1); } }

/* пауза: наведение, фокус внутри слайдера или кнопка «стоп» */
.hero-slider:hover .hero-dot.is-active i::after,
.hero-slider:focus-within .hero-dot.is-active i::after,
.hero-slider.is-paused .hero-dot.is-active i::after { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .hero-slides { animation: none; }
  .hero-slide, .hero-slide.is-active { transition: none; }
  .hero-slide .hero-copy > *, .hero-slide .hero-visual { transition: none; transform: none; }
  .hero-dot.is-active i::after { animation: none; transform: scaleX(1); }   /* без автопрокрутки */
}

/* текст слайдов прижат к верху, чтобы заголовок не «прыгал» между слайдами разной длины */
@media (min-width: 1024px) {
  .hero-slide .hero-copy { align-self: start; }
}
@media (min-width: 1024px) {
  .hero-slide .hero-copy { padding-bottom: 96px; }   /* место под точки и стрелки */
}

/* ── 17. СТРАНИЦА ВРАЧА (doctor.php) ─────────────────────────── */
.dp-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 40px;
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
@media (min-width: 880px) { .dp-hero { padding-top: 120px; } }
.dp-hero-inner { position: relative; }

.dp-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; font-weight: 600; color: rgba(0, 52, 106, 0.6); }
.dp-crumbs li + li::before { content: "/"; margin: 0 10px; opacity: 0.4; }
.dp-crumbs a:hover { color: var(--teal); }
.dp-crumbs [aria-current] { color: var(--navy); }

.dp-hero-grid { display: grid; gap: 28px; margin-top: 24px; align-items: center; }
@media (min-width: 880px) {
  .dp-hero-grid { grid-template-columns: minmax(280px, 400px) 1fr; gap: 56px; }
}

.dp-photo {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 4.6;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #a9cdd9 0%, #dbeaf0 100%);
  box-shadow: 0 40px 90px -50px rgba(0, 52, 106, 0.6);
}
.dp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dp-photo .doctor-status { font-size: 12px; text-transform: none; letter-spacing: 0; padding: 7px 14px; display: none; }
.dp-photo .doctor-rating { font-size: 14px; padding: 7px 13px; }

.dp-name {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
.dp-role { margin-top: 10px; font-size: 19px; font-weight: 700; color: var(--teal-dark); }

.dp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dp-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.dp-chips .icon { width: 15px; height: 15px; color: var(--teal); }
.dp-chip-rating .icon { color: #f5a623; }

.dp-lead { margin-top: 22px; max-width: 62ch; font-size: 17px; line-height: 1.75; color: var(--ink); }
.dp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.dp-facts {
  display: grid;
  grid-auto-flow: row;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 20px;
  border-radius: 32px;
  background: #f0f5f9;
  box-shadow: 0 30px 70px -44px rgba(0, 52, 106, 0.35);
}
@media (min-width: 720px) {
  .dp-facts { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; padding: 32px 24px; }
  .dp-fact-item + .dp-fact-item { border-left: 1px solid rgba(0, 52, 106, 0.14); }
}
.dp-fact-item { text-align: center; padding-inline: 16px; }
.dp-fact-item b { display: block; font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--teal); }
.dp-fact-item span { display: block; margin: 10px auto 0; max-width: 220px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--navy); }

/* основной контент */
.dp-body { padding: 24px 0 80px; }
.dp-layout { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .dp-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }

.dp-block + .dp-block { margin-top: 64px; }
.dp-h2 {
  margin-bottom: 24px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.dp-about li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dp-about li:first-child { padding-top: 0; }
.dp-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
}
.dp-tick .icon { width: 15px; height: 15px; }
.dp-about b { display: block; font-size: 17px; line-height: 1.35; color: var(--navy); }
.dp-about p { margin-top: 4px; font-size: 15px; line-height: 1.65; color: rgba(0, 52, 106, 0.7); }

.dp-services { display: grid; gap: 14px; }
.dp-service {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s;
}
.dp-service:hover { border-color: rgba(3, 149, 174, 0.4); box-shadow: 0 24px 60px -36px rgba(0, 52, 106, 0.45); }
@media (min-width: 720px) {
  .dp-service { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
}
.dp-service h3 { font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; color: var(--navy); }
.dp-service p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: rgba(0, 52, 106, 0.7); }
.dp-service-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dp-service-meta li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--mint-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
}
.dp-service-side { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 720px) { .dp-service-side { align-items: flex-end; text-align: right; min-width: 170px; } }
.dp-price { font-size: 20px; font-weight: 800; color: var(--navy); }
.dp-price.is-ask { max-width: 170px; font-size: 13px; font-weight: 600; line-height: 1.4; color: rgba(0, 52, 106, 0.6); }
.dp-service-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 2px solid var(--teal);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  transition: background 0.25s, color 0.25s;
}
.dp-service-book:hover { background: var(--teal); color: #fff; }

.dp-steps { display: grid; gap: 22px; }
.dp-steps li { position: relative; display: flex; gap: 16px; }
.dp-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px; top: 42px; bottom: -20px;
  width: 2px;
  background: var(--mint);
}
.dp-step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.dp-steps b { display: block; padding-top: 6px; font-size: 17px; color: var(--navy); }
.dp-steps p { margin-top: 4px; font-size: 15px; line-height: 1.65; color: rgba(0, 52, 106, 0.7); }

/* карточка записи */
.dp-aside { min-width: 0; }
@media (min-width: 1024px) { .dp-aside { position: sticky; top: 104px; } }
.dp-book {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 70px -44px rgba(0, 52, 106, 0.5);
}
.dp-book-head { display: flex; align-items: center; gap: 14px; }
.dp-book-head img {
  width: 58px; height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: linear-gradient(180deg, #a9cdd9, #dbeaf0);
}
.dp-book-head b { display: block; font-size: 16px; line-height: 1.25; color: var(--navy); }
.dp-book-head span { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(0, 52, 106, 0.6); }
.dp-book .doctor-pick-label { margin-top: 20px; }
.dp-book-info { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.dp-book-info li { display: flex; gap: 10px; font-size: 13px; font-weight: 600; line-height: 1.5; color: rgba(0, 52, 106, 0.75); }
.dp-book-info .icon { margin-top: 2px; color: var(--teal); }

/* другие врачи */
.dp-more { padding: 0 0 96px; }
.dp-more-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .dp-more-grid { grid-template-columns: repeat(3, 1fr); } }
.dp-more-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s;
}
.dp-more-card:hover { border-color: rgba(3, 149, 174, 0.4); box-shadow: 0 24px 60px -36px rgba(0, 52, 106, 0.45); }
.dp-more-photo {
  flex: none;
  width: 84px; height: 84px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #a9cdd9, #dbeaf0);
}
.dp-more-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dp-more-text { display: block; min-width: 0; }
.dp-more-text b { display: block; font-size: 15px; line-height: 1.3; color: var(--navy); }
.dp-more-text > span { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(0, 52, 106, 0.6); }
.dp-more-text small { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--teal-dark); }

.dp-notfound { position: relative; padding-block: 40px 80px; }

/* ссылка с карточки врача на главной → страница врача */
.doctor-photo-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.doctor-photo-link:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.doctor-panel h3 a { transition: color 0.25s; }
.doctor-panel h3 a:hover { color: var(--teal-dark); }

.dp-crumbs ol, .dp-steps { list-style: none; }
.dp-note { margin: -8px 0 20px; font-size: 15px; font-weight: 600; color: rgba(0, 52, 106, 0.65); }
.dp-service-side { justify-content: center; }

/* ── 18. ИИ-ЧАТ (chatbot.php) ────────────────────────────────── */
.bdc [hidden] { display: none !important; }
.bdc { position: fixed; right: 20px; bottom: 20px; z-index: 85; font-family: var(--font-sans); }

.bdc-launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 18px 44px -14px rgba(3, 149, 174, 0.8), 0 4px 14px rgba(0, 52, 106, 0.18);
  transition: background 0.25s, transform 0.35s var(--ease);
}
.bdc-launcher:hover { background: var(--teal-dark); transform: translateY(-2px); }
.bdc-launcher svg { width: 26px; height: 26px; flex: none; }
.bdc.is-open .bdc-launcher { display: none; }
@media (max-width: 719px) {
  .bdc { right: 14px; bottom: 14px; }
  .bdc-launcher { width: 58px; padding: 0; justify-content: center; }
  .bdc-launcher-text { display: none; }
}

.bdc-panel {
  display: flex;
  flex-direction: column;
  width: 390px;
  max-width: calc(100vw - 32px);
  height: min(640px, calc(100dvh - 40px));
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0, 52, 106, 0.55), 0 8px 24px rgba(0, 52, 106, 0.12);
  animation: bdc-in 0.35s var(--ease);
}
@keyframes bdc-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 719px) {
  .bdc { inset: 0; pointer-events: none; }
  .bdc > * { pointer-events: auto; }
  .bdc:not(.is-open) { inset: auto 14px 14px auto; }
  .bdc-panel { position: fixed; inset: 0; width: auto; max-width: none; height: 100dvh; border: 0; border-radius: 0; }
}

.bdc-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--navy); color: #fff; }
.bdc-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; }
.bdc-avatar svg { width: 20px; height: 20px; }
.bdc-head-text { flex: 1; min-width: 0; }
.bdc-head-text b { display: block; font-size: 16px; line-height: 1.2; }
.bdc-head-text span { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.bdc-icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background 0.25s; }
.bdc-icon-btn:hover { background: rgba(255, 255, 255, 0.22); }
.bdc-icon-btn svg { width: 17px; height: 17px; }

.bdc-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--paper); overscroll-behavior: contain; }
.bdc-msg { display: flex; max-width: 88%; }
.bdc-bot { align-self: flex-start; }
.bdc-user { align-self: flex-end; }
.bdc-bubble { padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.bdc-bot .bdc-bubble { border: 1px solid var(--line); border-bottom-left-radius: 6px; background: #fff; color: var(--ink); }
.bdc-user .bdc-bubble { border-bottom-right-radius: 6px; background: var(--teal); color: #fff; }
.bdc-bubble p + p, .bdc-bubble p + ul, .bdc-bubble ul + p { margin-top: 8px; }
.bdc-bubble ul { padding-left: 18px; list-style: disc; }
.bdc-bubble li + li { margin-top: 3px; }
.bdc-error .bdc-bubble { border-color: rgba(220, 67, 84, 0.35); background: #fff5f6; color: #8a2432; }

.bdc-typing .bdc-bubble { display: flex; gap: 5px; padding: 15px 16px; }
.bdc-typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0, 52, 106, 0.35); animation: bdc-dot 1.2s ease-in-out infinite; }
.bdc-typing i:nth-child(2) { animation-delay: 0.15s; }
.bdc-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bdc-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }

.bdc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 12px; background: var(--paper); }
.bdc-chip { padding: 8px 14px; border: 1.5px solid rgba(3, 149, 174, 0.5); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--navy); transition: background 0.2s, border-color 0.2s; text-align: left; }
.bdc-chip:hover { background: var(--mint-soft); border-color: var(--teal); }

.bdc-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
.bdc-book { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 800; color: var(--teal-dark); }
.bdc-book:hover { text-decoration: underline; }
.bdc-form { display: flex; align-items: flex-end; gap: 8px; }
.bdc-form textarea {
  flex: 1;
  min-height: 44px;
  max-height: 110px;
  padding: 11px 15px;
  border: 1.5px solid rgba(0, 52, 106, 0.16);
  border-radius: 22px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}
.bdc-form textarea:focus { border-color: var(--teal); }
@media (max-width: 719px) { .bdc-form textarea { font-size: 16px; } }   /* без автозума на iOS */
.bdc-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; transition: background 0.25s, opacity 0.25s; }
.bdc-send:hover { background: var(--teal); }
.bdc-send:disabled { opacity: 0.45; cursor: default; }
.bdc-send svg { width: 19px; height: 19px; }
.bdc-note { margin-top: 9px; font-size: 11.5px; line-height: 1.45; color: rgba(0, 52, 106, 0.55); }

@media (prefers-reduced-motion: reduce) {
  .bdc-panel { animation: none; }
  .bdc-typing i { animation: none; }
  .bdc-launcher { transition: none; }
}

/* ── 19. РАЗДЕЛ ВРАЧЕЙ: фильтр и «показать всех» ─────────────── */
.doctor-card[hidden] { display: none; }
.doctors-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 28px; }
.doctors-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid rgba(0, 52, 106, 0.16);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.doctors-chip small { font-size: 12px; font-weight: 800; color: var(--teal-dark); transition: color 0.25s; }
.doctors-chip:hover { border-color: var(--teal); background: var(--mint-soft); }
.doctors-chip.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.doctors-chip.is-on small { color: var(--vivid); }
.doctors-more { display: flex; justify-content: center; margin-top: 36px; }
.doctors-more[hidden], .doctors-more button[hidden] { display: none; }

/* ── 20. СТРАНИЦА УСЛУГ (services.php) ───────────────────────── */
.dp-see-also { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
.dp-see-also a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--teal-dark); }
.dp-see-also a:hover { text-decoration: underline; }

.sv-hero { padding-bottom: 28px; }
.sv-title { margin-top: 24px; }
.sv-hero .dp-lead { margin-top: 16px; }
.sv-search {
  position: relative;
  max-width: 640px;
  margin-top: 28px;
}
.sv-search .icon { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--teal); pointer-events: none; }
.sv-search input {
  width: 100%;
  height: 58px;
  padding: 0 22px 0 52px;
  border: 1.5px solid rgba(0, 52, 106, 0.16);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  box-shadow: 0 20px 50px -34px rgba(0, 52, 106, 0.5);
  transition: border-color 0.2s;
}
.sv-search input:focus { border-color: var(--teal); }
.sv-search input::placeholder { color: rgba(0, 52, 106, 0.45); }
.sv-chips { margin: 24px 0 0; }

.sv-body { padding: 8px 0 88px; }
.sv-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--navy); }
.sv-note { font-weight: 600; color: rgba(0, 52, 106, 0.6); }

.sv-cat { padding-top: 40px; scroll-margin-top: 90px; }
.sv-cat[hidden], .sv-item[hidden], .sv-empty[hidden] { display: none; }
.sv-h2 { margin-bottom: 18px; }
.sv-h2 small { margin-left: 8px; font-size: 15px; font-weight: 800; color: var(--teal-dark); vertical-align: middle; }

.sv-list { display: grid; gap: 10px; }
@media (min-width: 1100px) { .sv-list { grid-template-columns: 1fr 1fr; gap: 12px; } }
.sv-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 16px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s var(--ease);
}
.sv-item:hover { border-color: rgba(3, 149, 174, 0.4); box-shadow: 0 20px 50px -34px rgba(0, 52, 106, 0.45); }
.sv-main { min-width: 0; }
.sv-name { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--navy); }
.sv-docs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sv-doc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 12px 3px 3px;
  border-radius: 999px;
  background: var(--mint-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.2s;
}
.sv-doc:hover { background: var(--mint); }
.sv-doc img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--mint); }
.sv-side { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 8px; }
.sv-side .dp-price { font-size: 17px; }
@media (max-width: 560px) {
  .sv-item { flex-direction: column; align-items: stretch; padding: 16px; }
  .sv-side { flex-direction: row; align-items: center; justify-content: space-between; }
}

.sv-empty { max-width: 520px; margin: 48px auto 0; padding: 32px 28px; border: 1px dashed rgba(0, 52, 106, 0.25); border-radius: 28px; background: #fff; text-align: center; }
.sv-empty b { display: block; font-size: 20px; color: var(--navy); }
.sv-empty p { margin: 8px 0 20px; font-size: 15px; line-height: 1.6; color: rgba(0, 52, 106, 0.7); }

/* слайдер: метка темы над заголовком и чуть компактнее заголовок (длинные заголовки) */
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero .hero-title { font-size: clamp(30px, 3.6vw, 46px); }

/* ── 21. ЛЕНДИНГ УСЛУГИ (service.php) ────────────────────────── */
.sl-hero { padding-bottom: 48px; }
.sl-hero-grid { display: grid; gap: 32px; margin-top: 24px; align-items: start; }
@media (min-width: 1024px) { .sl-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(400px, 500px); gap: 56px; align-items: center; } }
.sl-intro .eyebrow { margin-bottom: 16px; }
.sl-h1 { font-size: clamp(30px, 4vw, 48px); }
.sl-lead { margin-top: 18px; font-size: 18px; }
.sl-intro .dp-chips { margin-top: 22px; }

.sl-chat-label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px 6px; font-size: 14px; font-weight: 800; color: var(--navy); }
.sl-chat-label .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(3, 149, 174, 0.18); }

/* встроенный чат (вместо плавающей кнопки) */
.bdc--inline { position: static; inset: auto; z-index: auto; }
.bdc--inline .bdc-panel { width: 100%; max-width: none; height: 540px; animation: none; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 40px 90px -40px rgba(0, 52, 106, 0.55), 0 8px 24px rgba(0, 52, 106, 0.1); }
@media (max-width: 719px) { .bdc--inline .bdc-panel { position: static; height: 500px; border: 1px solid var(--line); border-radius: 24px; } }

.sl-body { padding: 56px 0 24px; }
.sl-body-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .sl-body-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.sl-text { font-size: 17px; line-height: 1.75; color: var(--ink); max-width: 62ch; }
.sl-h3 { margin: 28px 0 14px; font-size: 18px; font-weight: 800; color: var(--navy); }
.sl-text + .sl-h3 { margin-top: 28px; }
.sl-body .dp-block .dp-about li:first-child { padding-top: 0; }
.sl-disclaimer { margin-top: 24px; padding: 14px 18px; border-radius: 16px; background: var(--mint-soft); font-size: 13px; line-height: 1.6; color: rgba(0, 52, 106, 0.7); }

.sl-docs { padding: 56px 0 8px; }
.sl-sub { margin: -10px 0 22px; font-size: 15px; font-weight: 600; color: rgba(0, 52, 106, 0.65); }
.sl-docs-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .sl-docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sl-docs-grid { grid-template-columns: repeat(3, 1fr); } }
.sl-doc { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; transition: box-shadow 0.35s var(--ease), border-color 0.35s; }
.sl-doc:hover { border-color: rgba(3, 149, 174, 0.4); box-shadow: 0 24px 60px -36px rgba(0, 52, 106, 0.45); }
.sl-doc-photo { display: block; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #a9cdd9, #dbeaf0); }
.sl-doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sl-doc-body { padding: 18px 20px 20px; }
.sl-doc-body h3 { font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.sl-doc-body h3 a:hover { color: var(--teal-dark); }
.sl-doc-body p { margin-top: 4px; font-size: 14px; font-weight: 600; color: rgba(0, 52, 106, 0.6); }
.sl-doc-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.sl-doc-link { font-size: 14px; font-weight: 800; color: var(--teal-dark); }
.sl-doc-link:hover { text-decoration: underline; }

.sl-cta-wrap { padding: 56px 0 8px; }
.sl-cta { display: grid; gap: 22px; align-items: center; padding: 32px; border-radius: 36px; background: var(--navy); color: #fff; box-shadow: 0 40px 90px -50px rgba(0, 52, 106, 0.8); }
@media (min-width: 800px) { .sl-cta { grid-template-columns: 1fr auto; padding: 40px 44px; } }
.sl-cta h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.sl-cta p { margin-top: 8px; max-width: 60ch; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }

.sl-rel { padding: 56px 0 88px; }
.sl-rel-list { display: grid; gap: 10px; }
@media (min-width: 720px) { .sl-rel-list { grid-template-columns: repeat(2, 1fr); } }
.sl-rel-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: 15px; font-weight: 700; color: var(--navy); transition: border-color 0.25s, background 0.25s; }
.sl-rel-list a:hover { border-color: rgba(3, 149, 174, 0.5); background: var(--mint-soft); }
.sl-rel-list .icon { flex: none; color: var(--teal); }
.sl-rel .dp-see-also { margin-top: 22px; }

.dp-service-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 800; color: var(--teal-dark); }
.dp-service-more:hover { text-decoration: underline; }
.sv-name a { transition: color 0.2s; }
.sv-name a:hover { color: var(--teal-dark); }

/* ── 22. ВЕРХНЯЯ СТРОКА (topbar.php) ─────────────────────────── */
.site-header { top: var(--tb-offset, 0px); }   /* шапка едет под верхней строкой */
.topbar { height: var(--tb-h, 40px); background: var(--navy); color: rgba(255, 255, 255, 0.86); font-size: 13px; font-weight: 600; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.topbar ul { display: flex; align-items: center; }
.topbar-info { gap: 8px 24px; min-width: 0; }
.topbar-info li { min-width: 0; }
.topbar a, .topbar-plain { display: inline-flex; align-items: center; gap: 8px; min-width: 0; transition: color 0.2s; }
.topbar-info a:hover { color: #fff; }
.topbar-info span:not(.topbar-plain) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-info svg { flex: none; width: 15px; height: 15px; color: var(--vivid); }
.topbar-social { gap: 6px; flex: none; }
.topbar-social a { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 2px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #fff; transition: background 0.25s; }
.topbar-social a:hover { background: var(--teal); }
.topbar-social svg { width: 15px; height: 15px; }
.topbar-social b { padding: 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.02em; }
@media (max-width: 1023px) { .topbar-email { display: none; } }
@media (max-width: 719px) {
  .topbar { font-size: 12px; }
  .topbar-hours, .topbar-email { display: none; }
}

/* ── 23. СТРАНИЦА «ЧЕК-АПЫ» (packages.php) ───────────────────── */
.pk-hero { padding-bottom: 40px; }
.pk-hero-grid { display: grid; gap: 32px; margin-top: 24px; align-items: center; }
@media (min-width: 1024px) { .pk-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); gap: 64px; } }
.pk-intro .eyebrow { margin-bottom: 16px; }

.pk-mini-list { display: grid; gap: 12px; }
.pk-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -40px rgba(0, 52, 106, 0.5);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.3s;
}
.pk-mini:hover { border-color: rgba(3, 149, 174, 0.5); transform: translateY(-2px); box-shadow: 0 30px 70px -38px rgba(0, 52, 106, 0.55); }
.pk-mini-ico, .pk-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--mint); color: var(--teal-dark); }
.pk-mini-ico .icon, .pk-ico .icon { width: 24px; height: 24px; }
.pk-mini-text { flex: 1; min-width: 0; }
.pk-mini-text b { display: block; font-size: 16px; line-height: 1.3; color: var(--navy); }
.pk-mini-text small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(0, 52, 106, 0.6); }
.pk-mini-price { flex: none; font-size: 17px; font-weight: 800; color: var(--teal-dark); white-space: nowrap; }
.pk-mini-price.is-ask { font-size: 12px; font-weight: 700; color: rgba(0, 52, 106, 0.55); text-align: right; max-width: 80px; white-space: normal; line-height: 1.3; }

.pk-section { padding: 64px 0; scroll-margin-top: 90px; }
.pk-section--alt { background: #fff; }
.pk-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .pk-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.pk-ico { margin-bottom: 18px; }
.pk-info .eyebrow { margin-bottom: 14px; }
.pk-h2 { margin-bottom: 14px; font-size: clamp(28px, 3.4vw, 42px); }
.pk-lead { max-width: 52ch; font-size: 17px; line-height: 1.75; color: var(--ink); }

.pk-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pk-benefits li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--navy); }
.pk-section--alt .pk-benefits li { background: var(--paper); }
.pk-benefits .dp-tick { width: 24px; height: 24px; }
.pk-benefits .dp-tick .icon { width: 12px; height: 12px; }

.pk-price-box { display: inline-flex; flex-direction: column; gap: 4px; margin-top: 26px; padding: 16px 24px; border-radius: 22px; background: var(--mint-soft); }
.pk-price-label { font-size: 13px; font-weight: 700; color: rgba(0, 52, 106, 0.6); }
.pk-price { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--teal); }
.pk-price.is-ask { font-size: 20px; letter-spacing: -0.01em; color: var(--navy); }
.pk-info .dp-cta { margin-top: 24px; }

.pk-list { padding: 28px 26px; border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: 0 30px 70px -48px rgba(0, 52, 106, 0.5); }
.pk-section--alt .pk-list { background: var(--paper); box-shadow: none; }
.pk-group { margin: 0 0 6px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); }
.pk-group small { margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--mint); font-size: 12px; letter-spacing: 0; color: var(--navy); }
.pk-group:not(:first-child) { margin-top: 26px; }
.pk-items li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pk-items li:last-child { border-bottom: 0; padding-bottom: 4px; }
.pk-item-text { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--navy); }
.pk-item-link { display: inline-flex; align-items: center; gap: 4px; flex: none; font-size: 13px; font-weight: 800; color: var(--teal-dark); }
.pk-item-link:hover { text-decoration: underline; }
.pk-outro { margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: var(--mint-soft); font-size: 15px; line-height: 1.65; color: rgba(0, 52, 106, 0.8); }
@media (max-width: 560px) { .pk-item-link { display: none; } .pk-list { padding: 22px 18px; } }

.pk-how { padding: 64px 0 8px; }
.pk-steps { display: grid; gap: 22px; margin-bottom: 8px; }
@media (min-width: 900px) { .pk-steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.pk-steps li { display: flex; gap: 16px; }
.pk-steps b { display: block; padding-top: 6px; font-size: 17px; color: var(--navy); }
.pk-steps p { margin-top: 4px; font-size: 15px; line-height: 1.65; color: rgba(0, 52, 106, 0.7); }
.pk-how .sl-disclaimer { margin-top: 32px; max-width: 760px; }
.pk-see { margin-top: 22px; }
.pk-steps { list-style: none; }

/* карточки чек-апов на главной */
.pkg-price.is-ask b { font-size: 22px; letter-spacing: -0.01em; }
.pkg-more { display: block; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 800; opacity: 0.85; transition: opacity 0.2s; }
.pkg-more:hover { opacity: 1; text-decoration: underline; }

/* ── 24. НАПРАВЛЕНИЯ НА ГЛАВНОЙ: карточки с иллюстрациями ────── */
.dir-grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 720px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .dir-grid { margin-top: 64px; } }
@media (min-width: 1100px) { .dir-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.dir-card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 30px 70px -52px rgba(0, 52, 106, 0.5);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.dir-card:hover { transform: translateY(-6px); border-color: rgba(3, 149, 174, 0.45); box-shadow: 0 40px 80px -44px rgba(0, 52, 106, 0.6); }

.dir-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; background: var(--mint); }
.dir-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.dir-card:hover .dir-media img { transform: scale(1.06); }
.dir-price {
  position: absolute;
  right: 12px; bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 8px 24px -10px rgba(0, 52, 106, 0.4);
}

.dir-body { display: flex; flex: 1; flex-direction: column; padding: 20px 14px 4px; }
.dir-name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--navy); }
.dir-desc { margin-top: 10px; font-size: 15px; line-height: 1.65; color: rgba(0, 52, 106, 0.7); }
.dir-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.dir-tags span { padding: 5px 12px; border-radius: 999px; background: var(--mint-soft); font-size: 12px; font-weight: 700; color: var(--teal-dark); }

.dir-foot { display: flex; align-items: center; justify-content: space-between; padding: 16px 8px 8px 14px; }
.dir-cta { font-size: 14px; font-weight: 800; color: var(--teal-dark); }
.dir-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.dir-arrow .icon { width: 20px; height: 20px; transition: transform 0.5s var(--ease); }
.dir-card:hover .dir-arrow { background: var(--teal); border-color: var(--teal); color: #fff; }
.dir-card:hover .dir-arrow .icon { transform: rotate(45deg); }

@media (prefers-reduced-motion: reduce) {
  .dir-card, .dir-media img, .dir-arrow, .dir-arrow .icon { transition: none; }
  .dir-card:hover, .dir-card:hover .dir-media img, .dir-card:hover .dir-arrow .icon { transform: none; }
}

/* ── 25. ФОКУС: ХИРУРГИЯ · УЗИ · ЧЕК-АПЫ (сразу после слайдера) ── */
.focus { position: relative; padding: 24px 0 40px; }
.focus .section-head .eyebrow { margin-bottom: 18px; }
.focus-grid { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 760px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-card--checkups { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .focus-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
  .focus-card--checkups { grid-column: auto; }
}

.focus-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 34px 30px 0;
  overflow: hidden;
  border-radius: 36px;
  color: #fff;
  box-shadow: 0 40px 80px -52px rgba(0, 52, 106, 0.7);
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
@media (min-width: 880px) { .focus-card { padding: 40px 36px 0; } }
.focus-card:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -50px rgba(0, 52, 106, 0.8); }

.focus-card--surgery { background: linear-gradient(150deg, #00346a 0%, #0a4d8e 58%, #0a7fa8 130%); }
.focus-card--uzi { background: linear-gradient(150deg, #0395ae 0%, #0a86a8 46%, #0a5f8f 115%); }
.focus-card--checkups { color: var(--navy); background: linear-gradient(180deg, #e3f2f6 0%, #ffffff 48%); border: 1px solid var(--line); box-shadow: 0 40px 80px -56px rgba(0, 52, 106, 0.5); }

/* декор: кольца и точки */
.focus-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.focus-deco i { position: absolute; border-radius: 50%; }
.focus-deco i:nth-child(1) { right: -170px; top: -190px; width: 480px; height: 480px; border: 1px solid rgba(255, 255, 255, 0.16); }
.focus-deco i:nth-child(2) { right: -90px; top: -110px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%); }
.focus-card--surgery::before, .focus-card--uzi::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(160deg, #000 0%, transparent 62%);
  mask-image: linear-gradient(160deg, #000 0%, transparent 62%);
}
.focus-card--checkups .focus-deco i:nth-child(1) { right: -140px; top: -160px; width: 420px; height: 420px; border: 1px solid rgba(3, 149, 174, 0.22); }

.focus-body { position: relative; z-index: 2; display: flex; flex-direction: column; }
.focus-tag {
  align-self: flex-start;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.focus-card--checkups .focus-tag { border-color: transparent; background: var(--mint); color: var(--teal-dark); }
.focus-title { margin-top: 18px; font-size: clamp(26px, 2.5vw, 33px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.focus-text { margin-top: 14px; max-width: 44ch; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); }

.focus-list { display: grid; gap: 10px; margin-top: 20px; }
.focus-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, 0.94); }
.focus-card .dp-tick { width: 26px; height: 26px; background: rgba(255, 255, 255, 0.16); color: #9be8f4; }

.focus-stats { display: flex; gap: 0; margin-top: 22px; }
.focus-stats > div + div { margin-left: 26px; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, 0.25); }
.focus-stats dt { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.focus-stats dd { max-width: 14ch; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, 0.78); }

.focus-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.focus-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 800;
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
}
.focus-btn:hover { transform: translateY(-2px); }
.focus-btn .btn-circle { width: 42px; height: 42px; transform: none; }
.focus-btn .btn-circle .icon { width: 18px; height: 18px; }
.focus-btn:hover .btn-circle { transform: rotate(45deg); }
.focus-btn--light { background: #fff; color: var(--navy); box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.5); }
.focus-btn--light .btn-circle { background: var(--teal); color: #fff; }
.focus-btn--white { background: #fff; color: var(--navy); box-shadow: 0 16px 36px -16px rgba(0, 38, 77, 0.6); }
.focus-btn--white .btn-circle { background: var(--navy); color: #fff; }
.focus-btn--navy { background: var(--navy); color: #fff; box-shadow: 0 16px 36px -16px rgba(0, 52, 106, 0.6); }
.focus-btn--navy .btn-circle { background: var(--teal); color: #fff; }
.focus-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 800; color: #fff; opacity: 0.92; }
.focus-link:hover { opacity: 1; text-decoration: underline; }

/* хирург: вырез врача, прижатый к низу карточки */
.focus-doctor { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; height: 290px; margin: auto -36px 0; padding-top: 18px; }
.focus-doctor img { position: relative; z-index: 1; max-width: 62%; height: 100%; object-fit: contain; object-position: bottom center; }
.focus-doctor::before { content: ""; position: absolute; left: 50%; bottom: -60px; z-index: 0; width: 300px; height: 300px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(127, 219, 234, 0.45), transparent 68%); }
.focus-doctor figcaption {
  position: absolute; left: 34px; bottom: 26px; z-index: 2;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.focus-doctor figcaption b { display: block; font-size: 14px; }
.focus-doctor figcaption span { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; opacity: 0.8; }
@media (min-width: 1100px) { .focus-doctor { margin-inline: -36px; } }

/* УЗИ: иллюстрация аппарата */
.focus-uzi-img { position: relative; z-index: 1; display: block; width: calc(100% + 16px); max-width: none; height: auto; margin: auto -8px -26px; }
.focus-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.focus-chips li { padding: 6px 13px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 12.5px; font-weight: 700; }

/* чек-апы: три программы строками */
.focus-card--checkups .focus-body { flex: 1; padding-bottom: 36px; }
.focus-card--checkups .focus-cta { margin-top: auto; padding-top: 26px; }
.focus-rows { display: grid; gap: 10px; margin-top: 24px; }
.focus-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 16px 36px -30px rgba(0, 52, 106, 0.5);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.focus-row:hover { border-color: rgba(3, 149, 174, 0.55); background: var(--mint-soft); transform: translateX(4px); }
.focus-row-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 16px; background: var(--mint); color: var(--teal-dark); }
.focus-row-ico .icon { width: 22px; height: 22px; }
.focus-row-text { flex: 1; min-width: 0; }
.focus-row-text b { display: block; font-size: 16px; line-height: 1.25; }
.focus-row-text small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(0, 52, 106, 0.6); }
.focus-row-price { flex: none; font-size: 16px; font-weight: 800; color: var(--teal-dark); white-space: nowrap; }
.focus-row-price.is-ask { max-width: 74px; font-size: 11.5px; font-weight: 700; line-height: 1.25; text-align: right; white-space: normal; color: rgba(0, 52, 106, 0.55); }
.focus-row-arrow { flex: none; width: 18px; height: 18px; color: var(--teal); transition: transform 0.4s var(--ease); }
.focus-row:hover .focus-row-arrow { transform: translateX(4px); }
@media (min-width: 760px) and (max-width: 1099px) { .focus-card--checkups .focus-rows { grid-template-columns: repeat(3, 1fr); } .focus-card--checkups .focus-row { flex-wrap: wrap; } .focus-card--checkups .focus-row-price { margin-left: auto; } }

@media (max-width: 759px) {
  .focus-card { min-height: 0; }
  .focus-doctor { height: 300px; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .focus-card, .focus-row, .focus-btn, .focus-row-arrow, .focus-btn .btn-circle { transition: none; }
  .focus-card:hover, .focus-row:hover, .focus-btn:hover, .focus-row:hover .focus-row-arrow { transform: none; }
}

/* правки секции «Фокус» */
.focus-doctor figcaption { left: 50%; right: auto; bottom: 22px; width: max-content; max-width: calc(100% - 40px); transform: translateX(-50%); background: rgba(0, 30, 66, 0.62); border-color: rgba(255, 255, 255, 0.22); text-align: center; }
.focus-doctor-chips { position: absolute; inset: 14px 30px auto; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.focus-doctor-chips span { padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 18px; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.focus-doctor-chips span:last-child { margin-top: 34px; }
.focus-doctor-chips b { display: block; font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.focus-doctor-chips small { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 600; line-height: 1.3; opacity: 0.85; max-width: 12ch; }
.focus-doctor { height: 320px; }
.focus-row { gap: 12px; padding: 13px 14px; }
.focus-row-ico { width: 42px; height: 42px; border-radius: 14px; }
.focus-row-text b { font-size: 15.5px; white-space: nowrap; }
.focus-row-arrow { display: none; }
.focus-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--mint-soft); font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.focus-note .icon { flex: none; width: 20px; height: 20px; color: var(--teal-dark); }
@media (min-width: 760px) and (max-width: 1099px) { .focus-row-arrow { display: block; } }
@media (min-width: 1100px) {
  .focus-card--checkups .focus-rows { flex: 1; grid-auto-rows: minmax(0, 1fr); margin-bottom: 0; }
  .focus-card--checkups .focus-row { padding-block: 10px; width: 300px !important;}
}
@media (min-width: 760px) and (max-width: 1099px) {
  .focus-card--checkups { min-height: 0; }
  .focus-card--checkups .focus-rows { grid-template-columns: 1fr; }
  .focus-card--checkups .focus-row { flex-wrap: nowrap; }
  .focus-card--checkups .focus-row-price { margin-left: 0; }
  .focus-card--checkups .focus-row-text small { white-space: nowrap; }
}

/* ── 26. КНОПКИ БЫСТРОЙ СВЯЗИ (dock.php): телефон и WhatsApp ─── */
.dock {
  position: fixed;
  right: 20px;
  bottom: var(--dock-bottom, 20px);
  z-index: 84;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
@media (max-width: 719px) { .dock { right: 14px; gap: 12px; } }
html.chat-open .dock { opacity: 0; transform: translateY(14px); pointer-events: none; }

.dock-btn {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(0, 52, 106, 0.55), 0 4px 12px rgba(0, 52, 106, 0.18);
  animation: dock-bob 3.6s ease-in-out infinite;
  transition: box-shadow 0.3s;
}
@media (max-width: 719px) { .dock-btn { width: 52px; height: 52px; } }
.dock-btn svg { width: 26px; height: 26px; }
.dock-btn--phone { background: var(--navy); }
.dock-btn--wa { background: #25d366; animation-delay: -1.5s; }
.dock-btn:hover { animation-play-state: paused; }

/* расходящееся кольцо-«пульс» */
.dock-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: inherit;
  animation: dock-ring 2.4s ease-out infinite;
}
.dock-btn--wa::before { animation-delay: 0.9s; }

.dock-btn--phone svg { animation: dock-ring-phone 4.2s ease-in-out infinite; transform-origin: 50% 50%; }
.dock-btn--wa svg { animation: dock-pop 4.2s ease-in-out infinite 1.4s; }

@keyframes dock-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes dock-ring { 0% { transform: scale(1); opacity: 0.55; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes dock-ring-phone {
  0%, 62%, 100% { transform: rotate(0); }
  65% { transform: rotate(-18deg); } 69% { transform: rotate(16deg); } 73% { transform: rotate(-13deg); } 77% { transform: rotate(10deg); } 81% { transform: rotate(0); }
}
@keyframes dock-pop { 0%, 62%, 100% { transform: scale(1); } 70% { transform: scale(1.22); } 78% { transform: scale(1); } }

/* подпись слева при наведении (на телефонах наведения нет — подпись скрыта) */
.dock-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  display: block;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 0.25s, transform 0.3s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(0, 52, 106, 0.45);
}
.dock-label b { display: block; margin-top: 1px; font-size: 14px; font-weight: 800; color: var(--teal-dark); }
.dock-btn:hover .dock-label, .dock-btn:focus-visible .dock-label { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) { .dock-label { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .dock-btn, .dock-btn::before, .dock-btn svg { animation: none; }
  .dock-btn::before { display: none; }
}

/* ── 27. ШАПКА: вкладка «Документы» и красная плашка службы поддержки ── */
.topbar-info { margin-right: auto; }
.topbar-support {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 8px;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 8px 22px -10px rgba(220, 67, 84, 0.95);
  transition: background 0.2s, transform 0.3s var(--ease);
}
.topbar-support:hover { background: #c2364a; transform: translateY(-1px); }
.topbar-support svg { flex: none; width: 15px; height: 15px; }
.topbar-support b { padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, 0.45); font-weight: 800; white-space: nowrap; }
.tbs-mid, .tbs-short { display: none; }
@media (max-width: 1279px) { .topbar-hours { display: none; } }
@media (max-width: 1199px) { .tbs-full { display: none; } .tbs-mid { display: inline; } }
@media (max-width: 719px) { .tbs-mid { display: none; } .tbs-short { display: inline; } }
@media (max-width: 560px) { .topbar-address { display: none; } .topbar-support { padding-right: 10px; } }

.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav-chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-drop:hover .nav-chev, .nav-drop:focus-within .nav-chev { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 60;
  width: 350px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(0, 52, 106, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.25s;
}
.nav-drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }   /* «мост», чтобы меню не закрывалось */
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-desktop .nav-drop-panel a { display: block; padding: 11px 14px; border-radius: 14px; font-size: 14px; font-weight: 700; letter-spacing: 0; line-height: 1.35; color: var(--navy); }
.nav-desktop .nav-drop-panel a:hover { background: var(--mint-soft); color: var(--teal-dark); }
.nav-desktop .nav-drop-panel .nav-drop-head { padding-bottom: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); }
.mobile-menu-foot .mm-support-title { margin-top: 26px; color: #ff8f9d; }
.mobile-menu-foot a.mm-support-tel { display: inline-block; margin-top: 10px; padding: 10px 20px; border-radius: 999px; background: #fff; font-size: 20px; color: #fff; }

/* ── 28. ДОКУМЕНТЫ: список и страница документа ───────────────── */
.doc-hero { padding-bottom: 32px; }
.doc-eyebrow { margin: 24px 0 14px; }
.doc-h1 { font-size: clamp(28px, 3.6vw, 46px); }
.doc-hero .sl-lead { margin-top: 14px; }
.doc-meta { margin-top: 12px; font-size: 14px; font-weight: 600; color: rgba(0, 52, 106, 0.6); }
.doc-section { padding: 8px 0 88px; }
.doc-hub, .doc-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .doc-hub { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; } .doc-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; } }

.doc-list { display: grid; gap: 12px; }
.doc-item { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border: 1px solid var(--line); border-radius: 26px; background: #fff; transition: border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.doc-item:hover { border-color: rgba(3, 149, 174, 0.5); box-shadow: 0 24px 60px -36px rgba(0, 52, 106, 0.5); transform: translateY(-2px); }
.doc-item-num { flex: none; width: 28px; font-family: var(--font-serif); font-size: 18px; font-style: italic; color: var(--teal); }
.doc-item-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 16px; background: var(--mint); color: var(--teal-dark); }
.doc-item-ico .icon { width: 22px; height: 22px; }
.doc-item-title { flex: 1; min-width: 0; font-size: 17px; font-weight: 800; line-height: 1.35; color: var(--navy); }
.doc-item-arrow { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.doc-item-arrow .icon { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.doc-item:hover .doc-item-arrow { background: var(--teal); border-color: var(--teal); color: #fff; }
.doc-item:hover .doc-item-arrow .icon { transform: rotate(45deg); }
@media (max-width: 560px) { .doc-item { padding: 18px; gap: 12px; } .doc-item-num { display: none; } }

.doc-support { display: block; padding: 22px 24px; border-radius: 28px; background: linear-gradient(140deg, #e8586b, #c2364a); color: #fff; box-shadow: 0 30px 60px -36px rgba(194, 54, 74, 0.9); }
.doc-support span { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.4; opacity: 0.92; }
.doc-support b, .doc-support a { display: block; margin-top: 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.doc-support--big { padding: 30px; }
.doc-support small { display: block; margin-top: 12px; font-size: 13.5px; line-height: 1.55; opacity: 0.9; }

.doc-card { padding: 34px 30px; border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: 0 30px 70px -52px rgba(0, 52, 106, 0.5); }
@media (min-width: 760px) { .doc-card { padding: 44px 48px; } }
.doc-body { max-width: 78ch; font-size: 16px; line-height: 1.8; color: var(--ink); }
.doc-body h1, .doc-body h2 { margin: 36px 0 12px; font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--navy); }
.doc-body h3, .doc-body h4 { margin: 26px 0 10px; font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.doc-body > :first-child { margin-top: 0; }
.doc-body p { margin: 0 0 14px; }
.doc-body ul, .doc-body ol { margin: 0 0 16px; padding-left: 24px; }
.doc-body ul { list-style: disc; } .doc-body ol { list-style: decimal; }
.doc-body li { margin-bottom: 6px; padding-left: 4px; }
.doc-body a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.doc-body blockquote { margin: 0 0 16px; padding: 14px 18px; border-left: 4px solid var(--teal); border-radius: 0 16px 16px 0; background: var(--mint-soft); }
.doc-body hr { margin: 28px 0; border: 0; border-top: 1px solid var(--line); }
.doc-body table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: 15px; }
.doc-body th, .doc-body td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc-body th { background: var(--mint-soft); font-weight: 800; color: var(--navy); }
.doc-actions { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

.doc-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0; }
.doc-empty-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: var(--mint); color: var(--teal-dark); }
.doc-empty-ico .icon { width: 28px; height: 28px; }
.doc-empty h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--navy); }
.doc-empty p { max-width: 56ch; font-size: 16px; line-height: 1.7; color: rgba(0, 52, 106, 0.72); }

.doc-aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .doc-aside { position: sticky; top: 130px; } }
.doc-nav { padding: 22px; border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.doc-nav h2 { margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); }
.doc-nav li a { display: block; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.doc-nav li a:hover { background: var(--mint-soft); }
.doc-nav li a.is-on { background: var(--mint); color: var(--teal-dark); }

@media print {
  .topbar, .site-header, .mobile-menu, .dock, .bdc, .noise, .doc-aside, .doc-actions, .dp-crumbs, .hero-glow, [class*="booking"], footer { display: none !important; }
  .dp-hero, .doc-section { padding: 0; } .doc-card { border: 0; box-shadow: none; padding: 0; }
}

/* ── 29. МИССИЯ, ВИДЕНИЕ, ЦЕННОСТИ + АККРЕДИТАЦИЯ ────────────── */
.mission { padding: 72px 0 24px; }
.mission-head { margin-bottom: 40px; }
.mission-head .eyebrow { margin-bottom: 18px; }
.mission-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .mission-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.mission-card { position: relative; overflow: hidden; padding: 34px 32px 38px; border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: 0 30px 70px -52px rgba(0, 52, 106, 0.5); }
.mission-card--mission { border: 0; background: linear-gradient(150deg, #00346a, #0a4d8e); color: #fff; }
.mission-card--vision { border: 0; background: linear-gradient(150deg, #0395ae, #0a86a8 55%, #0a5f8f); color: #fff; }
.mission-card::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%); pointer-events: none; }
.mission-card--values::after { background: radial-gradient(circle, rgba(3, 149, 174, 0.12), transparent 70%); }
.mission-num { font-family: var(--font-serif); font-size: 18px; font-style: italic; opacity: 0.7; }
.mission-card h3 { margin-top: 14px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.1; }
.mission-card--values h3 { color: var(--navy); }
.mission-line { display: block; width: 64px; height: 5px; margin: 16px 0 20px; border-radius: 999px; background: var(--vivid); }
.mission-card p { position: relative; z-index: 1; font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, 0.9); }
.mission-values { position: relative; z-index: 1; display: grid; gap: 10px; counter-reset: mv; }
.mission-values li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--navy); counter-increment: mv; }
.mission-values li::before { content: counter(mv); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); font-size: 13px; font-weight: 800; color: var(--teal-dark); }

.accred { display: grid; gap: 28px; align-items: center; margin-top: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 36px; background: linear-gradient(120deg, #fff 30%, #e8f4f7); }
@media (min-width: 800px) { .accred { grid-template-columns: auto 1fr; gap: 56px; padding: 36px 52px; } }
.accred-img img { display: block; width: min(300px, 100%); height: auto; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 52, 106, 0.55); }
.accred-text .eyebrow { margin-bottom: 14px; }
.accred-text h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: 0.01em; text-transform: uppercase; color: var(--navy); }
.accred-text p { max-width: 58ch; font-size: 16px; line-height: 1.75; color: rgba(0, 52, 106, 0.75); }

/* ── 30. Ссылки на документы для футера (docs-links.php) ─────── */
.docs-links { font-size: 14px; }
.docs-links-title { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); }
.docs-links ul { display: grid; gap: 8px; }
.docs-links li a { font-weight: 600; opacity: 0.85; transition: opacity 0.2s; }
.docs-links li a:hover { opacity: 1; text-decoration: underline; }
.docs-links-support { display: inline-block; margin-top: 16px; padding: 12px 16px; border-radius: 16px; background: var(--red); color: #fff; }
.docs-links-support span { display: block; max-width: 30ch; font-size: 12px; font-weight: 700; line-height: 1.35; opacity: 0.92; }
.docs-links-support b { display: block; margin-top: 4px; font-size: 18px; font-weight: 800; }
.docs-links--dark { color: rgba(255, 255, 255, 0.85); }
.docs-links--dark .docs-links-title { color: var(--vivid); }

/* шапка: с вкладкой «Документы» пунктов стало 7 — не даём тексту переноситься */
.nav-desktop a, .nav-drop-toggle, .header-phone, .header-cta { white-space: nowrap; }
.nav-desktop { gap: 20px; }
@media (min-width: 1200px) { .nav-desktop { gap: 24px; } }
@media (min-width: 1500px) { .nav-desktop { gap: 28px; } }
@media (min-width: 1280px) and (max-width: 1439px) { .header-phone { display: none; } }   /* телефон есть в кнопке связи и в верхней строке */

/* ── 33. Анатомические иллюстрации услуг (img/services/*.svg) ── */
.sl-illust { border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #eaf6f8, #bfe3ea); box-shadow: 0 24px 60px -40px rgba(0, 52, 106, 0.45); }
.sl-illust img { display: block; width: 100%; height: auto; }

.sv-thumb { flex: none; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: var(--mint-soft); }
.sv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sv-item { align-items: center; }
@media (max-width: 560px) { .sv-thumb { width: 52px; height: 52px; } }

/* ── 31. СТРАНИЦА «КОНТАКТЫ» (contacts.php) ──────────────────── */
.ct-hero { padding-bottom: 36px; }
.ct-eyebrow { margin: 24px 0 14px; }
.ct-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ct-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 16px 36px -18px rgba(0, 52, 106, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.3s, background 0.2s;
}
.ct-quick-btn:hover { transform: translateY(-2px); }
.ct-quick-btn svg { width: 20px; height: 20px; flex: none; }
.ct-quick-btn--phone { background: var(--navy); }
.ct-quick-btn--wa { background: #25d366; }
.ct-quick-btn--route { background: var(--teal); }
.ct-quick-btn--book { border: 2px solid var(--teal); background: #fff; color: var(--navy); box-shadow: none; }

.ct-section { padding: 8px 0 24px; }
.ct-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .ct-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; } }

.ct-cards { display: grid; gap: 12px; align-content: start; }
.ct-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 24px 60px -48px rgba(0, 52, 106, 0.5); transition: border-color 0.3s, box-shadow 0.35s var(--ease); }
.ct-card:hover { border-color: rgba(3, 149, 174, 0.4); box-shadow: 0 28px 64px -42px rgba(0, 52, 106, 0.55); }
.ct-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--mint); color: var(--teal-dark); }
.ct-ico svg { width: 24px; height: 24px; }
.ct-ico--wa { background: #25d366; color: #fff; }
.ct-card-body { min-width: 0; flex: 1; }
.ct-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dark); }
.ct-value { display: block; margin-top: 6px; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; color: var(--navy); }
.ct-value--link:hover { color: var(--teal-dark); }
.ct-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ct-actions a { padding: 7px 14px; border: 1.5px solid rgba(3, 149, 174, 0.45); border-radius: 999px; font-size: 13px; font-weight: 800; color: var(--navy); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.ct-actions a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

.ct-hours { display: grid; gap: 6px; margin-top: 8px; }
.ct-hours li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; border-bottom: 1px dashed var(--line); font-size: 16px; font-weight: 700; color: rgba(0, 52, 106, 0.75); }
.ct-hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.ct-hours b { color: var(--navy); font-weight: 800; }
.ct-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.ct-status[hidden] { display: none; }
.ct-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ct-status.is-open { background: #e2f7ea; color: #18894a; }
.ct-status.is-closed { background: #fdeceb; color: #c2364a; }

.ct-card--support { align-items: center; border: 0; background: linear-gradient(140deg, #e8586b, #c2364a); color: #fff; box-shadow: 0 30px 60px -36px rgba(194, 54, 74, 0.9); }
.ct-card--support:hover { box-shadow: 0 34px 64px -34px rgba(194, 54, 74, 1); }
.ct-ico--support { background: rgba(255, 255, 255, 0.2); color: #fff; }
.ct-card--support .ct-label { text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 700; line-height: 1.35; color: rgba(255, 255, 255, 0.92); }
.ct-card--support .ct-value { font-size: 24px; color: #fff; }

.ct-card--social { align-items: center; justify-content: space-between; }
.ct-social { display: flex; gap: 8px; }
.ct-social a { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 4px; border-radius: 50%; background: var(--mint); color: var(--teal-dark); transition: background 0.25s, color 0.25s; }
.ct-social a:hover { background: var(--teal); color: #fff; }
.ct-social svg { width: 21px; height: 21px; }
.ct-social b { padding: 0 8px; font-size: 12px; font-weight: 800; }

.ct-map { position: relative; min-height: 420px; overflow: hidden; border: 1px solid var(--line); border-radius: 36px; background: linear-gradient(150deg, #dcedf2, #bcdde6); box-shadow: 0 40px 90px -56px rgba(0, 52, 106, 0.6); }
@media (min-width: 1024px) { .ct-map { min-height: 560px; } }
.ct-map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ct-map-links { position: absolute; left: 16px; top: 16px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 32px); }
.ct-map-links a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 800; color: var(--navy); box-shadow: 0 12px 30px -14px rgba(0, 52, 106, 0.5); transition: background 0.2s, color 0.2s; }
.ct-map-links a:hover { background: var(--teal); color: #fff; }
.ct-map-links svg { width: 16px; height: 16px; }
.ct-map-pin { position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: calc(100% - 32px); padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 18px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 36px -18px rgba(0, 52, 106, 0.55); }
.ct-map-pin b { display: block; font-size: 15px; color: var(--navy); }
.ct-map-pin span { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: rgba(0, 52, 106, 0.7); }
.ct-map-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.ct-cta-wrap { padding-bottom: 96px; }
.ct-map::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-6-5.6-6-10a6 6 0 1 1 12 0c0 4.4-6 10-6 10z' fill='%230395ae' fill-opacity='.35'/%3E%3Ccircle cx='12' cy='11' r='2.4' fill='%23fff'/%3E%3C/svg%3E") center / 72px no-repeat; }

@media (prefers-reduced-motion: reduce) { .ct-quick-btn, .ct-card { transition: none; } .ct-quick-btn:hover { transform: none; } }

/* ── 32. СТРАНИЦА «О КЛИНИКЕ» (about.php) ────────────────────── */
.ab-hero { padding: 104px 0 8px; }
@media (min-width: 880px) { .ab-hero { padding-top: 124px; } }

.ab-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 40px 90px -56px rgba(0, 52, 106, 0.6);
}
.ab-banner-pic { display: block; height: 250px; }
.ab-banner-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 25%; }
.ab-banner-text { padding: 26px 24px 30px; }
.ab-banner .eyebrow { margin-bottom: 14px; }
.ab-h1 { font-size: clamp(28px, 4.4vw, 50px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; color: var(--navy); text-wrap: balance; }
.ab-lead { margin-top: 14px; max-width: 46ch; font-size: 17px; line-height: 1.7; color: var(--ink); }
.ab-banner .dp-cta { margin-top: 24px; }

@media (min-width: 760px) {
  .ab-banner { display: block; min-height: 440px; }
  .ab-banner-pic { position: absolute; inset: 0; height: auto; }
  .ab-banner-pic img { object-position: 70% 50%; }
  .ab-banner-text { position: relative; z-index: 1; max-width: 47%; padding: 56px 0 56px 52px; }
}
@media (min-width: 1100px) { .ab-banner { min-height: 470px; } .ab-banner-text { padding-left: 64px; } }

.ab-who { padding: 72px 0 24px; }
.ab-who-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .ab-who-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.ab-who-text .eyebrow { margin-bottom: 18px; }
.ab-who-text p { margin-top: 20px; max-width: 54ch; font-size: 17px; line-height: 1.75; color: var(--ink); }
.ab-badges { display: grid; gap: 10px; margin-top: 22px; }
.ab-badges li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 700; color: var(--navy); }
.ab-feats { display: grid; gap: 14px; }
@media (min-width: 560px) { .ab-feats { grid-template-columns: repeat(2, 1fr); } }
.ab-feat { padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 24px 60px -48px rgba(0, 52, 106, 0.5); transition: border-color 0.3s, transform 0.4s var(--ease); }
.ab-feat:hover { border-color: rgba(3, 149, 174, 0.45); transform: translateY(-3px); }
.ab-feat-ico, .ab-focus-ico, .ab-link-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--mint); color: var(--teal-dark); }
.ab-feat-ico .icon, .ab-focus-ico .icon, .ab-link-ico .icon { width: 24px; height: 24px; }
.ab-feat h3 { margin-top: 16px; font-size: 18px; font-weight: 800; color: var(--navy); }
.ab-feat p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: rgba(0, 52, 106, 0.72); }

.ab-focus { padding: 64px 0 8px; }
.ab-focus .mission-head { margin-bottom: 32px; }
.ab-focus-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .ab-focus-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.ab-focus-card { display: flex; flex-direction: column; padding: 28px; border-radius: 32px; background: linear-gradient(160deg, #eaf5f8, #fff 70%); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.5s var(--ease), box-shadow 0.4s; }
.ab-focus-card:hover { border-color: rgba(3, 149, 174, 0.5); transform: translateY(-5px); box-shadow: 0 34px 70px -46px rgba(0, 52, 106, 0.6); }
.ab-focus-card h3 { margin-top: 18px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.ab-focus-card p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: rgba(0, 52, 106, 0.72); }
.ab-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 800; color: var(--teal-dark); }

.ab-team { padding: 64px 0 8px; }
.ab-team-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 8px; }
.ab-team-head .dp-h2 { margin-bottom: 16px; }
@media (min-width: 720px) { .ab-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ab-team-grid { grid-template-columns: repeat(4, 1fr); } .ab-team .dp-more-card { flex-direction: column; align-items: flex-start; } .ab-team .dp-more-photo { width: 100%; height: 150px; } }

.ab-links { padding: 56px 0 8px; }
.ab-links-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .ab-links-grid { grid-template-columns: repeat(3, 1fr); } }
.ab-link { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: #fff; transition: border-color 0.3s, transform 0.4s var(--ease); }
.ab-link:hover { border-color: rgba(3, 149, 174, 0.5); transform: translateY(-3px); }
.ab-link-ico { margin-bottom: 8px; }
.ab-link b { font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--navy); }
.ab-link small { font-size: 14px; line-height: 1.55; color: rgba(0, 52, 106, 0.7); }
.ab-link--support { border: 0; background: linear-gradient(140deg, #e8586b, #c2364a); box-shadow: 0 30px 60px -36px rgba(194, 54, 74, 0.9); }
.ab-link--support .ab-link-ico { background: rgba(255, 255, 255, 0.2); color: #fff; }
.ab-link--support b { font-size: 24px; color: #fff; }
.ab-link--support small { color: rgba(255, 255, 255, 0.9); }
.ab-cta-wrap { padding-bottom: 96px; }
@media (prefers-reduced-motion: reduce) { .ab-feat, .ab-focus-card, .ab-link { transition: none; } .ab-feat:hover, .ab-focus-card:hover, .ab-link:hover { transform: none; } }
