/**
 * 21Rehab Theme — Основные стили
 * Палитра 1:1 с 21rehab.ru (DLE). Bootstrap Grid + CSS Grid. Google Fonts Inter.
 * @package RehabTheme
 */





:root {
  /* ── Brand Colors ── */
  --brand-color: #1F3A5F;
  --brand-deep: #262273;
  --brand-purple: #2E2751;
  --primary-light: #2B5C8F;

  /* ── Accents ── */
  --accent: #DC3646;
  --accent-red: #DC3646;
  --accent-hover: #b22231;
  --accent-red-hover: #b22231;
  --accent-orange: #FF821B;
  --accent-orange-hover: #EB6E08;
  --accent-blue: #5FA8D3;
  --accent-green: #22C55E;
  --link-purple: #5744B8;

  /* Aliases для компонентов с --color-* именованием */
  --color-primary: #1F3A5F;
  --color-primary-dark: #152A43;
  --color-secondary: #5FA8D3;
  --color-accent: #DC3646;
  --color-accent-hover: #b22231;
  --color-white: #FFFFFF;

  /* ── Backgrounds ── */
  --bg-body: #F4F7FB;
  --bg-white: #FFFFFF;
  --bg-section: #EDF3F8;
  --bg-dark: #1F3A5F;
  --bg-dark-soft: #27496D;
  --bg-alt: #f2f2f2;
  --bg-light-blue: #eef3fb;
  --bg-card: #FFFFFF;
  --bg-table-stripe: #F7F7F7;
  --bg-table-hover: #D3E5FD;

  /* ── Text ── */
  --dark-color: #32354B;
  --middle-color: #4E5064;
  --light-color: #C3C5D7;
  --text-main: #1F2937;
  --text-secondary: #4E5064;
  --text-light: #8A99A8;
  --text-muted: #828282;
  --text-dark: #333;
  --text-white: #FFFFFF;

  /* ── Borders ── */
  --border: #D9E3EC;
  --border-strong: #C5D3E0;
  --border-light: #E5E7EB;
  --border-subtle: #f0f3f5;

  /* ── Status & Messengers ── */
  --error: #DC3646;
  --warning: #FF821B;
  --success: #22C55E;
  --whatsapp: #25D366;
  --telegram: #2AABEE;

  /* ── Typography ── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 26px;
  --fs-4xl: 36px;
  --fs-5xl: 45px;
  --fs-hero: 70px;
  --lh: 1.6;
  --lh-tight: 1.25;

  /* ── Spacing (8px base grid) ── */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 30px;
  --sp-2xl: 45px;
  --sp-3xl: 60px;
  --sp-4xl: 90px;

  /* ── Border Radius ── */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  /* Legacy aliases */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 12px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .07);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, .10);
  --shadow-lg: 0 8px 40px rgba(15, 23, 42, .14);
  --shadow-header: 0 1px 3px rgba(0, 0, 0, .05);

  /* ── Transitions ── */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* ── Layout ── */
  --container-max: 1200px;
  --container-pad: 16px;
  --header-height: 72px;
  --section-space: 80px;
}


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

/* Убираем outline только при клике мышью; сохраняем для клавиатуры */
:focus:not(:focus-visible) {
  outline: none
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: var(--radius-xs)
}

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--font-family);
  color: var(--dark-color);
  background: var(--bg-body);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition)
}

a:hover {
  color: var(--brand-color)
}

ul,
ol {
  list-style: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--brand-color);
  line-height: var(--lh-tight)
}

h1 {
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15
}

h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2
}

h3 {
  font-weight: 700;
  line-height: 1.3
}

h4 {
  font-weight: 600;
  line-height: 1.35
}


.container {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad)
}

.section {
  padding: var(--section-space) 0
}

.section--white {
  background: var(--bg-white)
}

.section--alt {
  background: var(--bg-alt)
}

.section__title {
  font-size: clamp(22px, 3.5vw, 32px);
  color: var(--brand-color);
  margin-bottom: var(--sp-xl);
  text-align: center;
  font-weight: 700;
  line-height: var(--lh-tight)
}

.section__actions {
  text-align: center;
  margin-top: var(--sp-xl)
}


.top-bar {
  background-color: var(--brand-color);
  padding: 8px 0
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.top-bar__schedule {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--color-accent);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 24px
}

.top-bar__schedule svg {
  flex-shrink: 0;
  width: 28px;
  height: auto
}

.top-bar__phone {
  color: var(--brand-color);
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 24px
}

.top-bar__phone:hover {
  color: var(--brand-deep);
}


.header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-header);
  transition: all .6s ease
}

header.archive-head {
  margin-bottom: var(--sp-xl);
}

.header--sticky {
  position: sticky !important;
  box-shadow: var(--shadow-header)
}

.header--hidden {
  transform: translateY(-100%)
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg)
}

.header__logo img,
.header__logo svg {
  max-width: 230px;
  width: 100%;
  height: auto
}

.header__nav {
  display: none
}

.nav-area {
  background-color: var(--brand-color)
}

.nav-menu {
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  padding: 0;
  align-items: flex-start
}

.nav-menu li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center
}

.nav-menu li>ul>li {
  padding: 0;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-memu li>ul>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background var(--transition);
  white-space: normal;
}

.nav-menu li>ul>li:hover>a {
  background: rgba(255, 255, 255, .1);
}

.nav-menu li a {
  color: #FFF;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 24px;
  letter-spacing: .16px;
  text-transform: uppercase;
  transition: color var(--transition)
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  color: #E8E8E8
}

.header__contacts {
  display: none;
  align-items: center;
  gap: var(--sp-md)
}

.header__phone {
  color: var(--brand-color);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap
}

.header__schedule {
  color: var(--color-accent);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 24px
}

.header__call-link {
  color: var(--link-purple);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 24px;
  text-decoration: underline
}

.header__messengers {
  display: flex;
  gap: var(--sp-sm)
}

.header__messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  transition: opacity var(--transition)
}

.header__messenger span {
  display: inline-block;
  color: var(--bg-white);
  margin-right: 7px;
}

.header__messenger svg {
  width: 28px;
  height: auto
}

.header__messenger #icon__whatsapp {
  fill: #25D366;
}

.header__messenger #icon__tg {
  fill: var(--accent-blue);
}

.header__messenger:hover {
  opacity: .8
}

.single-map a {
  color: var(--brand-color);
  font-size: var(--fs-2xl);
}

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark-color);
  border-radius: 2px;
  transition: var(--transition)
}


.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-white);
  z-index: 200;
  overflow-y: auto;
  transition: right var(--transition-slow);
  box-shadow: 0 0 6px rgba(0, 0, 0, .05);
  border-left: 3px solid var(--color-accent)
}

.mobile-menu--open {
  right: 0
}

.mobile-menu__inner {
  padding: var(--sp-xl) 25px
}

.mobile-menu__close {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  line-height: 37px;
  padding: 0;
  margin: 0;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
  border-radius: 100%;
  background: var(--brand-color);
  border: none;
  text-align: center
}

.mobile-menu__close:hover {
  background: var(--color-accent)
}

.mobile-nav {
  margin-top: var(--sp-2xl)
}

.mobile-nav li {
  border-bottom: 1px solid #eee
}

.mobile-nav li a {
  display: block;
  padding: var(--sp-md) 0;
  color: var(--dark-color);
  font-weight: 500;
  font-size: var(--fs-lg);
  line-height: 35px
}

.mobile-nav li a:hover {
  color: var(--brand-color)
}

.mobile-menu__contacts {
  margin-top: var(--sp-2xl)
}

.mobile-menu__phone {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--brand-color);
  margin-bottom: var(--sp-md)
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow)
}

.mobile-menu__overlay--visible {
  opacity: 1;
  pointer-events: auto
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  min-height: 44px;
  padding: 12px 28px;
  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.5
}

/* Основной CTA — красный */
.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff
}

/* Вторичный — синий */
.btn--secondary,
.btn--brand {
  background: var(--brand-color);
  color: #fff
}

.btn--secondary:hover,
.btn--brand:hover {
  background: var(--brand-deep);
  color: #fff
}

/* Контурный */
.btn--outline {
  background: transparent;
  color: var(--dark-color);
  border-color: var(--border-light);
}

.btn--outline:hover {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: #fff
}

/* Мессенджеры */
.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff
}

.btn--whatsapp:hover {
  background: #1da855;
  color: #fff
}

.btn--telegram {
  background: var(--telegram);
  color: #fff
}

.btn--telegram:hover {
  background: #0077b3;
  color: #fff
}

/* Оранжевый submit — для форм */
.btn--submit {
  background: var(--accent-orange);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-2xl);
  border-radius: var(--radius-md);
  padding: 22px 48px;
  border: none
}

.btn--submit:hover {
  background: var(--accent-orange-hover);
  color: #fff
}

/* Крупный телефонный CTA */
.btn--phone-banner {
  padding: 22px 40px;
  font-size: var(--fs-4xl);
  font-weight: 700;
}

/* Размеры */
.btn--lg {
  padding: 16px 36px;
  font-size: var(--fs-lg)
}

.btn--sm {
  min-height: 36px;
  padding: 6px 16px;
  font-size: var(--fs-sm)
}

.btn--block {
  display: flex;
  justify-content: center;
  width: 100%
}


.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: var(--r-full);
  background: var(--bg-alt);
  color: var(--dark-color)
}

.badge--accent {
  background: var(--color-accent);
  color: #fff
}

.badge--brand {
  background: var(--brand-color);
  color: #fff
}


.breadcrumbs {
  padding: var(--sp-md) 0
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  font-size: var(--fs-sm)
}

.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  margin-left: var(--sp-xs);
  color: var(--text-muted)
}

.breadcrumbs__link {
  color: var(--middle-color)
}

.breadcrumbs__link:hover {
  color: var(--brand-color)
}

.breadcrumbs__current {
  color: var(--dark-color);
  font-weight: 500
}


.hero {
  /* padding: var(--sp-3xl) 0; */
  position: relative;
  overflow: hidden
}

.hero--home {
  position: relative;
  overflow: visible;
  background:
    linear-gradient(135deg, #6f95c8 0%, #3e6599 38%, #1f3a5f 100%);
}

.hero--home .hero__bg-shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('../img/hero-21rehab-shape.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 45%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(90deg, rgba(20, 45, 76, 0.10) 0%, rgba(20, 45, 76, 0.22) 100%);
}

.hero--home .hero__inner {
  position: relative;
  z-index: 1;
}

.hero--home .hero__image,
.hero--home .hero__content {
  position: relative;
  z-index: 2;
}

.hero--home .hero__content {
  padding: var(--sp-3xl) 0;
}

/* .hero--home .hero__content {
  max-width: 560px;
  padding: 24px 0;
}

.hero--home .hero__content::before {
  content: "";
  position: absolute;
  inset: -24px -20px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 43, 74, 0.18) 0%, rgba(18, 43, 74, 0.28) 100%);
  backdrop-filter: blur(2px);
} */
.hero-feature {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(16, 35, 61, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.hero-feature img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero--home .hero__inner {
  display: grid;
  grid-template-columns: minmax(320px, 560px) minmax(320px, 1fr);
  align-items: center;
  gap: 48px;
  min-height: 260px;
  padding-top: 6px;
  padding-bottom: 0px;
}

@media (max-width: 1140px) {
  .hero--home .hero__inner {
    grid-template-columns: minmax(320px, 390px) minmax(320px, 1fr);
  }
}

@media (max-width: 991px) {
  .hero--home .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .hero--home .hero__bg-shape {
    background-position: 62% center;
    background-size: cover;
    opacity: 0.8;
  }

  .hero--home .hero__content::before {
    inset: -16px;
    border-radius: 20px;
  }

  .header--sticky {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }
}

@media (max-width: 767px) {
  .hero--home {
    background:
      linear-gradient(180deg, #6f95c8 0%, #3e6599 35%, #1f3a5f 100%);
  }

  .hero--home .hero__inner {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero--home .hero__content {
    max-width: 100%;
    padding: 8px 0 0;
  }

  .hero--home .hero__title {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero--home .hero__subtitle {
    font-size: 18px;
    line-height: 1.45;
  }
}

.hero--service {
  background: var(--bg-white)
}

.hero--archive,
.hero--promo,
.hero--page {
  background: var(--bg-white);
  padding: var(--sp-2xl) 0
}


.hero--h-small {
  min-height: 200px;
  display: flex;
  align-items: center
}

.hero--h-medium {
  min-height: 350px;
  display: flex;
  align-items: center
}

.hero--h-large {
  min-height: 500px;
  display: flex;
  align-items: center
}

.hero--h-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center
}


.hero__btn {
  box-shadow: 0 1px 4px rgba(39, 174, 96, .08);
  transition: all var(--transition)
}


.hero__col-left .hero__actions {
  margin-top: var(--sp-lg)
}

.hero__btn:hover {
  box-shadow: 0 1px 5px rgba(39, 174, 96, .1);
  transform: translateY(-2px)
}

.hero--has-overlay .hero__btn {
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06)
}

.hero--has-overlay .hero__btn:hover {
  box-shadow: 0 1px 5px rgba(0, 0, 0, .07)
}


.hero--has-overlay,
.section-bg-wrap.hero--has-overlay {
  background: var(--hero-bg) center/cover no-repeat;
  position: relative;
  z-index: 0
}

.hero--has-overlay::before,
.section-bg-wrap.hero--has-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--overlay-opacity, .5));
  z-index: 0;
  pointer-events: none
}

.hero--has-overlay>*,
.section-bg-wrap.hero--has-overlay>* {
  position: relative;
  z-index: 1
}

.hero--has-overlay .hero__title,
.hero--has-overlay .hero__subtitle,
.hero--has-overlay .hero__intro,
.section-bg-wrap.hero--has-overlay .section__title,
.section-bg-wrap.hero--has-overlay h2,
.section-bg-wrap.hero--has-overlay p {
  color: inherit
}

.hero--has-overlay .breadcrumbs,
.hero--has-overlay .breadcrumbs__link,
.hero--has-overlay .breadcrumbs__current {
  color: rgba(255, 255, 255, .7)
}

.hero--has-overlay .breadcrumbs__link:hover {
  color: #fff
}

.hero__inner {
  display: grid;
  gap: var(--sp-xl);
  align-items: center
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md)
}

.hero__title {
  font-weight: 900;
  font-size: clamp(26px, 5vw, 46px);
  line-height: 1.15;
  margin-bottom: var(--sp-md);
  color: var(--brand-color)
}

.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--middle-color);
  line-height: var(--lh);
  margin-bottom: var(--sp-lg);
  max-width: 600px
}

.hero__price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl)
}

.hero__price-label {
  font-size: var(--fs-base);
  color: var(--middle-color)
}

.hero__price-value {
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--color-accent)
}

.hero__price-badge {
  background: var(--brand-color);
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1;
  color: #FFF;
  padding: 20px 30px;
  display: inline-block
}

.hero__price-note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex-basis: 100%
}


.hero__row {
  display: block
}

.hero__col-left {
  min-width: 0
}


.hero__row--btn-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl)
}

.hero__row--btn-right .hero__col-left {
  flex: 1
}

.hero__row--btn-right .hero__col-right {
  flex-shrink: 0
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md)
}

@media (max-width: 768px) {
  .hero__row--btn-right {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-md)
  }
}

.hero__image {
  position: relative;
  display: none
}

.hero__img {
  border-radius: var(--r-sm);
  object-fit: cover;
  width: 100%;
  max-height: 500px
}


.content-block {
  max-width: 100%;
}

.content-block h2 {
  color: var(--brand-color);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 120%;
  margin: var(--sp-xl) 0 var(--sp-md)
}

.content-block h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: var(--sp-lg) 0 var(--sp-md)
}

.content-block p {
  margin-bottom: var(--sp-md);
  font-size: var(--fs-base);
  color: var(--dark-color);
  line-height: var(--lh)
}

.content-block ul,
.content-block ol {
  margin: var(--sp-md) 0;
  padding-left: var(--sp-xl)
}

.content-block ul {
  list-style: disc
}

.content-block ol {
  list-style: decimal
}

.content-block li {
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
  color: var(--text-dark);
  font-size: var(--fs-base);
  font-weight: 300;
  padding-left: var(--sp-xl)
}

.content-block img {
  border-radius: var(--r-md);
  margin: var(--sp-lg) 0
}

.content-block blockquote {
  border-left: 4px solid var(--brand-color);
  padding: var(--sp-md) var(--sp-lg);
  margin: var(--sp-lg) 0;
  background: var(--bg-alt);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic
}


.section--about-intro {
  background: var(--bg-white);
  padding: var(--sp-3xl) 0
}


.about-intro--has-media {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-2xl);
  align-items: start
}

.about-intro__media {
  position: relative
}

.about-intro__image-wrap {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md)
}

.about-intro__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover
}

.about-intro__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transition: transform .2s;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.about-intro__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.about-intro__play svg {
  display: block;
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .05))
}

.about-intro__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--brand-color);
  margin-bottom: var(--sp-md);
  line-height: 1.2
}

.about-intro__text {
  max-width: 900px;
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--dark-color)
}

.about-intro__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-top: var(--sp-lg)
}

@media (max-width: 768px) {
  .about-intro--has-media {
    grid-template-columns: 1fr;
    gap: var(--sp-lg)
  }

  .about-intro__title {
    font-size: var(--fs-xl)
  }
}

/* ── Преимущества — новый дизайн (белые карточки с иконками) ── */
.section--about-advantages {
  background: #f4f6fb;
  padding: var(--sp-3xl) 0
}

.about-advantages__intro {
  max-width: 750px;
  font-size: var(--fs-lg);
  color: var(--middle-color);
  margin-bottom: 40px;
  line-height: 1.6
}

.about-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

@media (max-width: 991px) {
  .about-advantages__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 560px) {
  .about-advantages__grid {
    grid-template-columns: 1fr
  }
}

.about-adv-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 28px;
  border-top: 4px solid var(--color-primary, #6d28d9);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
  transition: transform .25s ease, box-shadow .25s ease
}

.about-adv-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at top right, rgba(109, 40, 217, .07), transparent 70%);
  pointer-events: none
}

.about-adv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(109, 40, 217, .13)
}

.about-adv-card__watermark {
  position: absolute;
  top: 0;
  right: 14px;
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary, #6d28d9);
  opacity: .08;
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px
}

.about-adv-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(109, 40, 217, .12), rgba(109, 40, 217, .06));
  color: var(--color-primary, #6d28d9);
  margin-bottom: 18px;
  flex-shrink: 0
}

.about-adv-card__icon svg {
  display: block
}

.about-adv-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.35
}

.about-adv-card__text {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
  flex: 1
}

.about-adv-card__text i,
.about-adv-card__text em {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 600
}

.section--about-cta {
  /* background: var(--brand-color); */
  padding: var(--sp-2xl) 0
}

.about-cta-box {
  text-align: center
}

.about-cta-box__text {
  color: rgba(255, 255, 255, .9);
  font-size: var(--fs-xl);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto var(--sp-xl)
}

.about-cta-box .btn {
  font-size: var(--fs-lg)
}

@media (min-width: 768px) {
  .about-advantages__grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (min-width: 1200px) {
  .about-advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-lg)
  }
}


.section--about-gallery {
  background: var(--bg-body);
  padding: var(--sp-3xl) 0
}

.about-gallery-slider {
  position: relative;
  overflow: hidden;
  padding: 0 48px
}

.about-gallery__item {
  display: block;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in
}

.about-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease
}

.about-gallery__item:hover img {
  transform: scale(1.05)
}

.section--about-gallery .about-gallery-slider .swiper-button-prev,
.section--about-gallery .about-gallery-slider .swiper-button-next {
  color: #fff;
  background: var(--accent, #D53646);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: opacity .2s
}

.section--about-gallery .about-gallery-slider .swiper-button-prev:after,
.section--about-gallery .about-gallery-slider .swiper-button-next:after {
  font-size: 18px;
  font-weight: 700
}

.section--about-gallery .about-gallery-slider .swiper-button-prev:hover,
.section--about-gallery .about-gallery-slider .swiper-button-next:hover {
  opacity: .85
}

@media (max-width: 768px) {
  .about-gallery-slider {
    padding: 0 36px
  }

  .section--about-gallery .about-gallery-slider .swiper-button-prev,
  .section--about-gallery .about-gallery-slider .swiper-button-next {
    width: 32px;
    height: 32px
  }

  .section--about-gallery .about-gallery-slider .swiper-button-prev:after,
  .section--about-gallery .about-gallery-slider .swiper-button-next:after {
    font-size: 14px
  }
}


.section--about-licenses {
  background: var(--bg-white);
  padding: var(--sp-3xl) 0
}

.about-licenses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--sp-lg);
  align-items: start
}

.about-license-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: var(--bg-body);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: zoom-in
}

.about-license-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px)
}

.about-license-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain
}

.about-license-card__title {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  font-size: var(--fs-sm);
  color: var(--dark-color);
  text-align: center;
  font-weight: 500
}


.about-license-card--small {
  max-width: 160px
}

.about-license-card--medium {
  max-width: 240px
}

.about-license-card--large {
  max-width: 340px
}

@media (max-width: 576px) {
  .about-licenses__grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .about-license-card--small,
  .about-license-card--medium,
  .about-license-card--large {
    max-width: none
  }
}


.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s
}

.lightbox-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .07);
  user-select: none
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  opacity: .7;
  transition: opacity .2s
}

.lightbox__close:hover {
  opacity: 1
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center
}

.lightbox__prev {
  left: 16px
}

.lightbox__next {
  right: 16px
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, .3)
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: var(--fs-sm);
  font-weight: 500
}

@media (max-width: 576px) {

  .lightbox__prev,
  .lightbox__next {
    width: 36px;
    height: 36px;
    font-size: 20px
  }

  .lightbox__close {
    font-size: 32px;
    top: 10px;
    right: 12px
  }
}

/* ── Подпись в лайтбоксе ──────────────────────────────────────────── */
.lightbox__caption {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  text-align: center;
  max-width: 80vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Галерея-карусель [gallery] ───────────────────────────────────── */
.gallery-carousel {
  position: relative;
  margin: var(--sp-lg) 0 var(--sp-xl);
  padding: 0 48px 36px;
  /* боковые отступы под стрелки, низ под пагинацию */
}

/* Слайд */
.gallery-carousel__slide a {
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  cursor: zoom-in;
  background: #f0f2f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
  transition: box-shadow .25s, transform .25s;
}

.gallery-carousel__slide a:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transform: translateY(-3px);
}

.gallery-carousel__slide img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r-lg);
  transition: transform .35s ease, opacity .2s;
}

.gallery-carousel__slide a:hover img {
  transform: scale(1.05);
  opacity: .9;
}

/* Кнопки навигации — внутри padding-зоны по бокам */
.gallery-carousel .swiper-button-prev,
.gallery-carousel .swiper-button-next {
  width: 40px;
  height: 40px;
  background: var(--brand-color);
  border-radius: 50%;
  color: #fff;
  top: 50%;
  margin-top: -38px;
  /* сдвиг вверх — центр по высоте фото, без пагинации */
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}

.gallery-carousel .swiper-button-prev {
  left: 0;
}

.gallery-carousel .swiper-button-next {
  right: 0;
}

.gallery-carousel .swiper-button-prev:hover,
.gallery-carousel .swiper-button-next:hover {
  background: var(--color-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}

.gallery-carousel .swiper-button-prev::after,
.gallery-carousel .swiper-button-next::after {
  font-size: 13px;
  font-weight: 700;
}

.gallery-carousel .swiper-button-disabled {
  opacity: .3;
  pointer-events: none;
}

/* Пагинация — dynamic bullets (показывает ~5 точек) */
.gallery-carousel .swiper-pagination {
  bottom: 6px;
}

.gallery-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #c5cdd8;
  opacity: 1;
  transition: background .2s, transform .2s;
}

.gallery-carousel .swiper-pagination-bullet-active {
  background: var(--brand-color);
  transform: scale(1.35);
}

@media (max-width: 640px) {
  .gallery-carousel {
    padding: 0 36px 32px;
  }

  .gallery-carousel__slide img {
    height: 150px;
  }

  .gallery-carousel .swiper-button-prev,
  .gallery-carousel .swiper-button-next {
    width: 32px;
    height: 32px;
  }

  .gallery-carousel .swiper-button-prev::after,
  .gallery-carousel .swiper-button-next::after {
    font-size: 11px;
  }
}


/* ── Обёртка категории ────────────────────────────────── */
.price-category {
  margin-bottom: var(--sp-2xl)
}

/* Заголовок категории — синяя полоса на всю ширину */
.price-category__title {
  background: var(--brand-color);
  color: #fff;
  padding: .75rem var(--sp-lg);
  margin: 0;
  font-size: var(--fs-lg);
  font-weight: 700;
  border-radius: var(--r-md) var(--r-md) 0 0
}

/* Описание под заголовком — над таблицей */
.price-category__desc {
  background: var(--bg-light-blue);
  color: var(--middle-color);
  font-size: var(--fs-sm);
  padding: var(--sp-sm) var(--sp-lg);
  margin: 0;
  border-left: 3px solid var(--accent-blue)
}

/* ── Таблица цен ──────────────────────────────────────── */
.price-table {
  background: var(--bg-white);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow-md);
  overflow: hidden
}

/* Когда нет описания — таблица сразу под заголовком */
.price-category__title+.price-table {
  border-radius: 0 0 var(--r-md) var(--r-md)
}

.price-table__header {
  display: none
}

.price-table__row {
  display: flex;
  flex-direction: column;
  padding: var(--sp-sm) var(--sp-md);
  gap: var(--sp-xs);
  border-bottom: 1px solid var(--border-subtle)
}

.price-table__row:last-child {
  border-bottom: none
}

.price-table__row:nth-child(odd) {
  background: var(--bg-white)
}

.price-table__row:nth-child(even) {
  background: var(--bg-table-stripe)
}

.price-table__row:hover {
  background: var(--bg-table-hover)
}

/* Строки с акцией */
.price-table__row--promo {
  background: #fff8f8
}

.price-table__row--promo:hover {
  background: #fdecea
}

.price-table__row--promo .price-table__name {
  color: var(--accent, #D53646)
}

.price-table__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  display: block;
  line-height: 1.4
}

.price-table__name--link {
  color: var(--accent-blue);
  text-decoration: none
}

.price-table__name--link:hover {
  text-decoration: underline
}

.price-table__note {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px
}

.price-table__col--price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-xs)
}

.price-table__price-value {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--brand-color)
}

.price-table__badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: var(--r-sm);
  background: var(--accent, #D53646);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap
}

/* Бейдж: красный — АКЦИЯ!, СУПЕР-ЦЕНА! */
.price-table__badge--акция,
.price-table__badge--super {
  background: var(--accent, #D53646)
}

/* Бейдж: синий — Новинка! */
.price-table__badge--new {
  background: var(--brand-color, #1F3A5F)
}

/* Бейдж: зелёный — Лучшая цена */
.price-table__badge--best {
  background: #22a55b
}

.price-table__btn {
  white-space: nowrap;
  font-size: var(--fs-xs) !important;
  padding: 5px 12px !important
}

.price-table__col--action {
  padding-top: var(--sp-xs)
}

.price-table__footer {
  text-align: center;
  padding: var(--sp-lg)
}

.price-table__disclaimer {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-md)
}

/* Intro на странице цен */
.section--price-intro {
  padding-bottom: 0
}

/* Секция price-table — компактнее чем обычные секции */
.section--price-table {
  padding-top: var(--sp-xl);
  padding-bottom: 0
}

.section--price-table+.section--price-table {
  padding-top: var(--sp-2xl)
}


.steps-block {
  background: var(--brand-color);
  box-shadow: 0 2px 6px rgba(0, 49, 203, .06);
  border-radius: var(--r-sm);
  padding: var(--sp-2xl);
  max-width: 970px;
  margin: 0 auto
}

.steps-block .section__title {
  color: #FFF;
  margin-bottom: var(--sp-xl)
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl)
}

.steps__item {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start
}

.steps__number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  font-weight: 700
}

.steps__title {
  font-size: var(--fs-xl);
  color: #FFF;
  margin-bottom: 5px;
  line-height: 1
}

.steps__text {
  color: #FFF;
  font-size: var(--fs-lg);
  line-height: 150%;
  opacity: .9
}


.faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px
}

.faq__item {
  border-bottom: 1px solid var(--border-light)
}

.faq__item:first-child {
  border-top: 1px solid var(--border-light)
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-color);
  gap: var(--sp-md);
  transition: color var(--transition)
}

.faq__question:hover {
  color: var(--brand-deep)
}

.faq__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-color);
  background: transparent;
  color: var(--brand-color);
  transition: all .3s ease
}

.faq__item--open .faq__icon {
  background: var(--brand-color);
  color: #fff;
  transform: rotateX(-180deg)
}

.faq__answer-inner {
  padding: 0 0 14px;
  margin: 0;
  color: var(--middle-color);
  font-size: var(--fs-sm);
  line-height: var(--lh);
  min-height: 96px
}


.services-grid,
.doctors-grid,
.promos-grid,
.articles-grid,
.reviews-grid,
.benefits-grid,
.trust-grid {
  display: grid;
  gap: var(--sp-lg)
}


.service-card {
  background: var(--bg-white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition)
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px)
}

.service-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit
}

.service-card__image {
  aspect-ratio: 4/3;
  overflow: hidden
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow)
}

.service-card:hover .service-card__img {
  transform: scale(1.05)
}

.service-card__body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1
}

.service-card__tags {
  display: flex;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-sm)
}

.service-card__tag {
  font-size: var(--fs-xs);
  color: var(--brand-color);
  background: rgba(46, 39, 81, .08);
  padding: 2px 10px;
  border-radius: var(--r-full)
}

.service-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
  color: var(--brand-color)
}

.service-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--middle-color);
  margin-bottom: var(--sp-md);
  flex-grow: 1
}

.service-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(0, 0, 0, .06)
}

.service-card__price {
  font-weight: 700;
  color: var(--color-accent)
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-color, #2E2751);
  border: 2px solid var(--brand-color, #2E2751);
  border-radius: 6px;
  transition: all .25s ease
}

.service-card__more svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform .25s ease
}

.service-card:hover .service-card__more {
  background: var(--brand-color, #2E2751);
  color: #fff
}

.service-card:hover .service-card__more svg {
  transform: translateX(3px)
}

.service-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8ecf1 0%, #d1d9e6 100%)
}


.doctor-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition)
}

.doctor-card:hover {
  box-shadow: var(--shadow-lg)
}

.doctor-card__link {
  display: block;
  color: inherit
}

.doctor-card__photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt)
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .04))
}

.doctor-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt)
}

.doctor-card__info {
  padding: 0;
}

.doctor-card__action {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  margin-bottom: 19px;
}

.doctor-card__name {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-xs);
  color: var(--brand-color)
}

.doctor-card__position {
  font-size: var(--fs-sm);
  color: var(--middle-color);
  margin-bottom: var(--sp-xs)
}

.doctor-card__experience {
  font-size: var(--fs-sm);
  color: var(--text-muted)
}


.doctors-slider {
  position: relative;
  padding: 0 50px
}

.section--doctors .doctors-slider .swiper-button-prev,
.section--doctors .doctors-slider .swiper-button-next {
  color: #fff;
  background: var(--accent, #D53646);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: opacity .2s
}

.section--doctors .doctors-slider .swiper-button-prev:after,
.section--doctors .doctors-slider .swiper-button-next:after {
  font-size: 18px;
  font-weight: 700
}

.section--doctors .doctors-slider .swiper-button-prev:hover,
.section--doctors .doctors-slider .swiper-button-next:hover {
  opacity: .85
}

@media (max-width: 768px) {
  .doctors-slider {
    padding: 0 35px
  }

  .section--doctors .doctors-slider .swiper-button-prev,
  .section--doctors .doctors-slider .swiper-button-next {
    width: 32px;
    height: 32px
  }

  .section--doctors .doctors-slider .swiper-button-prev:after,
  .section--doctors .doctors-slider .swiper-button-next:after {
    font-size: 14px
  }
}


.promo-card,
.article-card {
  background: var(--bg-white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition)
}

.promo-card:hover,
.article-card:hover {
  box-shadow: var(--shadow-lg)
}

.promo-card__link,
.article-card__link {
  display: block;
  color: inherit
}

.promo-card__image,
.article-card__image {
  aspect-ratio: 16/9;
  overflow: hidden
}

.promo-card__img,
.article-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.promo-card__content,
.article-card__body {
  padding: var(--sp-lg)
}

.promo-card__title,
.article-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
  color: var(--brand-color)
}

.promo-card__excerpt,
.article-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--middle-color);
  margin-bottom: var(--sp-md)
}

.promo-card__footer,
.article-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  padding-top: var(--sp-md);
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.promo-card__more,
.article-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-color, #2E2751);
  gap: 8px;
  padding: 10px 24px;
  border: 2px solid var(--brand-color, #2E2751);
  border-radius: 6px;
  transition: 0.25s;
}

.promo-card:hover .promo-card__more,
.article-card:hover .article-card__more {
  background: var(--brand-color, #2E2751);
  color: #fff;
}

.article-card__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--sp-sm)
}


.review-card {
  background: var(--bg-white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto;
  border: 1px solid rgba(0, 0, 0, .05);
  transition: transform .3s ease, box-shadow .3s ease
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(74, 81, 138, .06)
}

.review-card__quote {
  color: var(--accent, #DC3646);
  opacity: .15;
  margin-bottom: 8px
}

.review-card__rating {
  display: flex;
  gap: 3px;
  color: var(--accent-orange);
  margin-bottom: 16px
}

.review-card__star--filled {
  fill: currentColor
}

.review-card__text {
  font-size: var(--fs-base);
  color: var(--middle-color);
  line-height: var(--lh);
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .06)
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  letter-spacing: .5px
}

.review-card__info {
  display: flex;
  flex-direction: column;
  min-width: 0
}

.review-card__name {
  font-weight: 600;
  color: var(--brand-color);
  font-size: var(--fs-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.review-card__meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.review-card__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, .03);
  border-radius: 7px;
  width: fit-content
}

.review-card__source svg {
  flex-shrink: 0;
  opacity: .6
}


.benefit-card {
  text-align: center;
  padding: var(--sp-xl);
  background: var(--bg-white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition)
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px)
}

.benefit-card__icon {
  margin: 0 auto var(--sp-md);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light-blue);
  border-radius: var(--r-full)
}

.benefit-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
  color: var(--brand-color)
}

.benefit-card__text {
  font-size: var(--fs-sm);
  color: var(--middle-color)
}


.section--advantages {
  background: var(--brand-color);
  color: #fff
}

.section--advantages .section__title {
  color: #fff
}

.advantages-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
  text-align: center
}

.advantage-item__number {
  display: block;
  font-size: var(--fs-4xl);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--sp-sm)
}

.advantage-item__label {
  font-size: var(--fs-sm);
  opacity: .85
}


.text-image-grid {
  display: grid;
  gap: var(--sp-xl);
  align-items: center
}

.text-image-grid__image img {
  border-radius: var(--r-md);
  width: 100%;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .04))
}


/* ═══════════════════════════════════════════════════════════
   LICENSE BLOCK
   ═══════════════════════════════════════════════════════════ */
.section--license-block {
  padding: 0;
}

.license-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  align-items: center;
  overflow: hidden;
  border-radius: var(--r-lg, 8px);
  padding: var(--sp-xl) 0 var(--sp-xl) var(--sp-xl);
  background: var(--lic-bg, #EEF1F8);
}

@media (min-width: 768px) {
  .license-block__grid {
    grid-template-columns: 1fr auto;
    gap: var(--sp-2xl);
    padding: var(--sp-xl) 0 var(--sp-xl) var(--sp-xl);
  }
}

.license-block__title {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--brand-color);
  margin: 0 0 14px;
}

.license-block__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
}

.license-block__text p {
  margin: 0;
}

.license-block__text a {
  color: var(--brand-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Правая часть — круг с изображением */
.license-block__image-wrap {
  position: relative;
  width: 260px;
  height: 220px;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.license-block__circle {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--lic-accent, #DC3646);
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-block__img {
  width: 140px;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-sm);
  transform: rotate(0deg) translate(-19%, 15%);
  position: relative;
  z-index: 1;
}

/* Мобильный */
@media (max-width: 767px) {
  .license-block__image-wrap {
    width: 100%;
    height: 160px;
    justify-content: flex-end;
  }

  .license-block__circle {
    right: -30px;
    width: 190px;
    height: 190px;
  }

  .license-block__img {
    width: 100px;
  }
}

.section--trust {
  background: var(--bg-white)
}

.trust-item {
  text-align: center;
  padding: var(--sp-lg)
}

.trust-item__icon {
  margin: 0 auto var(--sp-md);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-color)
}

.trust-item__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
  color: var(--brand-color)
}

.trust-item__text {
  font-size: var(--fs-sm);
  color: var(--middle-color)
}

.trust-license {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--border-light)
}


.section--cta {
  background: var(--brand-color);
  color: #fff
}

.cta-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto
}

.cta-block__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-md);
  color: #fff
}

.cta-block__text {
  font-size: var(--fs-lg);
  opacity: .9;
  margin-bottom: var(--sp-xl)
}

.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md)
}


.callback-form {
  padding: 50px 60px 60px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--r-sm);
  max-width: 570px;
  overflow: auto;
  background: var(--bg-white);
  margin: 0 auto
}

.callback-form h3,
.callback-form p {
  text-align: center
}

.callback-form h3 {
  font-size: var(--fs-3xl);
  line-height: 1;
  color: var(--dark-color)
}

.callback-form__input {
  margin: 0 auto var(--sp-xl);
  background: var(--bg-white);
  border: 2px solid var(--light-color);
  border-radius: var(--r-lg);
  padding: 20px 30px;
  cursor: pointer;
  transition: .3s ease-out;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 370px;
  font-size: var(--fs-2xl);
  line-height: 1;
  text-align: center;
  color: var(--middle-color);
  font-family: var(--font-family);
  outline: none
}

.callback-form__input:focus {
  border-color: var(--accent-blue)
}


.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md)
}

.filter-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark-color);
  transition: all var(--transition)
}

.filter-tabs__item:hover,
.filter-tabs__item--active {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color)
}

.filter-tabs__count {
  font-size: var(--fs-xs);
  opacity: .7
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs)
}

.filter-tags__item {
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  background: var(--bg-alt);
  color: var(--middle-color);
  transition: all var(--transition)
}

.filter-tags__item:hover,
.filter-tags__item--active {
  background: var(--color-accent);
  color: #fff
}


/* ══════════════════════════════════════════════════════
   ARTICLE SINGLE
   ══════════════════════════════════════════════════════ */
.article-single {
  padding: var(--sp-2xl) 0
}

.article-single__grid {
  display: grid;
  gap: var(--sp-2xl)
}

/* ── Контент ──────────────────────────────────────────── */
.article-single__header {
  margin-bottom: var(--sp-xl)
}

.article-single__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--sp-md);
  color: var(--brand-color)
}

.article-single__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

.article-single__meta::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%
}

.article-single__date::after {
  content: '·';
  margin-left: var(--sp-md)
}

.article-single__featured {
  margin-bottom: var(--sp-xl);
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 16/9
}

.article-single__featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

/* ── Сайдбар ──────────────────────────────────────────── */
.article-single__sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md)
}

.sidebar-cta {
  text-align: center
}

.sidebar-cta__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-sm);
  color: var(--brand-color)
}

.sidebar-cta__text {
  font-size: var(--fs-sm);
  color: var(--middle-color);
  margin-bottom: var(--sp-md)
}

.sidebar-cta .btn {
  margin-bottom: var(--sp-sm)
}

/* ── Виджеты сайдбара (WordPress sidebar) ─────────────── */
.widget+.widget {
  margin-top: 0
}

/* Поиск */
.widget_search .search-form {
  display: flex;
  gap: var(--sp-sm)
}

.widget_search .search-field {
  flex: 1;
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--dark-color);
  background: var(--bg-body)
}

.widget_search .search-field:focus {
  outline: none;
  border-color: var(--brand-color)
}

.widget_search .search-submit {
  padding: var(--sp-sm) var(--sp-md);
  background: var(--brand-color);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap
}

.widget_search .search-submit:hover {
  background: var(--brand-hover)
}

/* Свежие записи / комментарии / рубрики */
.widget_recent_entries ul,
.widget_recent_comments ul,
.widget_categories ul,
.widget_archive ul,
.widget_pages ul,
.widget_nav_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.widget_recent_entries li a,
.widget_recent_comments li a,
.widget_categories li a,
.widget_archive li a,
.widget_pages li a,
.widget_nav_menu li a {
  display: block;
  padding: var(--sp-sm) var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--dark-color);
  border-radius: var(--r-sm);
  transition: color var(--transition), background var(--transition)
}

.widget_recent_entries li a:hover,
.widget_recent_comments li a:hover,
.widget_categories li a:hover,
.widget_archive li a:hover,
.widget_pages li a:hover,
.widget_nav_menu li a:hover {
  color: var(--brand-color);
  background: var(--bg-section)
}

.widget_recent_comments .recentcomments {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: var(--sp-sm)
}

.widget_categories li {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.widget_categories .count {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: var(--bg-section);
  border-radius: 6px;
  padding: 2px 8px
}


.doctor-profile__grid {
  display: grid;
  gap: var(--sp-2xl)
}

.doctor-profile {
  position: relative;
  overflow: hidden;
  padding: 40px 0 70px;
  background: linear-gradient(180deg, #f7faff 0%, #f1f6fc 100%);
}

.doctor-profile__grid {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.doctor-profile__photo-col {
  position: relative;
  min-width: 0;
}

.doctor-profile__photo-decor {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: url('../img/doctor-section-shape.svg') center / cover no-repeat;
  opacity: 1;
}

.doctor-profile__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 405px;
  height: auto;
  object-fit: cover;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(31, 58, 95, 0.12);
}

.doctor-profile__info-col {
  min-width: 0;
  padding-top: 10px;
}

.doctor-profile__name {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #143d73;
}

.doctor-profile__position {
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.45;
  color: #2e3f5c;
}

.doctor-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.doctor-profile__meta:empty {
  display: none;
}

.doctor-profile__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe5f0;
  color: #24476f;
  font-size: 15px;
  font-weight: 600;
}

.doctor-profile__bio {
  margin-bottom: 28px;
  color: #344767;
}

.doctor-profile__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.doctor-profile__expertise-tag {
  display: inline-flex !important;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf2fb;
  color: #1f4d7e;
  font-size: 14px;
  font-weight: 600;
}

.doctor-profile__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.doctor-profile__social-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dbe5f0;
  color: #143d73;
  text-decoration: none;
  font-weight: 600;
  transition: .2s ease;
}

.doctor-profile__social-link:hover {
  background: #f8fbff;
  border-color: #bfd3e8;
}

.doctor-profile__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.doctor-profile__cta .btn--primary {
  min-width: 280px;
  min-height: 72px;
  border-radius: var(--r-sm);
}

.doctor-profile__cta .btn--outline,
.doctor-profile__cta .btn--phone {
  min-width: 280px;
  min-height: 72px;
  border-radius: var(--r-sm);
}

@media (max-width: 1199px) {
  .doctor-profile__grid {
    gap: 36px;
  }

  .doctor-profile__photo-decor {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .doctor-profile__position {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .doctor-profile {
    padding: 28px 0 48px;
  }

  .doctor-profile__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .doctor-profile__photo-col {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .doctor-profile__photo-decor {
    left: 50%;
    top: -20px;
    width: min(92vw, 520px);
    height: 560px;
    transform: translateX(-50%);
  }

  .doctor-profile__photo {
    max-width: min(100%, 420px);
  }

  .doctor-profile__info-col {
    padding-top: 0;
  }

  .doctor-profile__position {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .doctor-profile {
    padding: 20px 0 36px;
  }

  .doctor-profile__name {
    font-size: 32px;
    line-height: 1.08;
  }

  .doctor-profile__position {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.5;
  }

  .doctor-profile__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .doctor-profile__cta .btn--primary,
  .doctor-profile__cta .btn--outline,
  .doctor-profile__cta .btn--phone {
    width: 100%;
    min-width: 0;
    min-height: 60px;
  }

  .doctor-profile__photo-decor {
    width: 110%;
    height: 440px;
    top: -10px;
    opacity: .95;
  }

  .doctor-profile__photo {
    border-radius: 20px;
  }

  .doctor-profile__meta {
    gap: 10px;
  }

  .doctor-profile__meta-item {
    font-size: 14px;
  }
}

@media (max-width: 413px) {
  .header__contacts {
    margin: 0 0 0 auto;
  }

  .header__messenger--wa span,
  .header__messenger--tg span {
    display: none;
  }
}

.doctor-profile__photo {
  border-radius: var(--r-sm);
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .04))
}

.doctor-profile__name {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-sm);
  color: var(--brand-color)
}

.doctor-profile__position {
  font-size: var(--fs-xl);
  color: var(--middle-color);
  margin-bottom: var(--sp-md)
}

.doctor-profile__experience {
  margin-bottom: var(--sp-lg);
  color: var(--middle-color)
}

.doctor-profile__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-top: var(--sp-xl)
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md)
}

.certificate-item img {
  border-radius: var(--r-sm);
  border: 1px solid var(--border-light)
}


/* ═══ CONTACTS PAGE ═══ */
.section--contacts {
  padding: var(--sp-3xl) 0
}

.contacts-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--sp-2xl);
  align-items: start
}

.contacts-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md)
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--bg-white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition)
}

.contact-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px)
}

.contact-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--bg-section);
  color: var(--brand-color)
}

.contact-card__body {
  min-width: 0
}

.contact-card__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
  font-weight: 600
}

.contact-card__value {
  font-size: var(--fs-lg);
  color: var(--dark-color);
  text-decoration: none;
  display: block;
  font-style: normal;
  line-height: 1.4
}

.contact-card__value:hover {
  color: var(--brand-color)
}

.contact-card__value--phone {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--brand-color);
  line-height: 1.3
}

.contact-card__value--phone:hover {
  color: var(--brand-deep)
}

.contact-card__value--phone-secondary {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  margin-top: 4px;
  display: block;
  text-decoration: none
}

.contact-card__value--phone-secondary:hover {
  color: var(--brand-color)
}

.contacts-messengers {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-top: var(--sp-sm)
}

.contacts-messengers .btn {
  gap: var(--sp-sm);
  justify-content: center
}

.contacts-map-wrap {
  position: sticky;
  top: calc(var(--header-height) + var(--sp-lg))
}

.contacts-map {
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3
}

.contacts-map iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
  display: block
}

.contacts-map--placeholder {
  display: flex;
  align-items: center;
  justify-content: center
}

.contacts-map__placeholder {
  text-align: center;
  color: var(--text-muted);
  padding: var(--sp-2xl)
}

.contacts-map__placeholder svg {
  opacity: .3;
  margin-bottom: var(--sp-md)
}

.contacts-map__placeholder p {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--sp-xs)
}

.contacts-map__placeholder small {
  font-size: var(--fs-sm);
  opacity: .7
}

/* Contacts — tablet */
@media (max-width: 991px) {
  .contacts-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl)
  }

  .contacts-map {
    aspect-ratio: 1 / 1
  }
}

/* Contacts — mobile */
@media (max-width: 767px) {
  .section--contacts {
    padding: var(--sp-2xl) 0
  }

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-xl)
  }

  .contacts-cards {
    gap: var(--sp-sm)
  }

  .contact-card {
    padding: var(--sp-md);
    gap: var(--sp-sm)
  }

  .contact-card__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md)
  }

  .contact-card__icon svg {
    width: 20px;
    height: 20px
  }

  .contact-card__value--phone {
    font-size: var(--fs-xl)
  }

  .contacts-map {
    aspect-ratio: 16 / 9;
    border-radius: var(--r-sm)
  }

  .contacts-map-wrap {
    position: static
  }
}

/* Contacts — small mobile */
@media (max-width: 480px) {
  .contact-card__value--phone {
    font-size: var(--fs-lg)
  }

  .contacts-map {
    aspect-ratio: 4 / 3
  }
}


.error-404 {
  text-align: center;
  padding: var(--sp-4xl) 0
}

.error-404__code {
  font-size: 120px;
  font-weight: 900;
  color: var(--border-light);
  line-height: 1
}

.error-404__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-md);
  color: var(--brand-color)
}

.error-404__text {
  color: var(--middle-color);
  max-width: 500px;
  margin: 0 auto var(--sp-xl)
}

.error-404__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl)
}

.error-404__phone {
  color: var(--text-muted)
}

.error-404__phone a {
  font-weight: 700;
  color: var(--brand-color)
}


.pagination {
  margin-top: var(--sp-2xl);
  text-align: center
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: var(--sp-xs)
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-sm);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark-color);
  transition: all var(--transition)
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color)
}


.sticky-cta {
  position: fixed;
  bottom: -3px;
  left: 0;
  right: 0;
  display: flex;
  gap: 1px;
  background: var(--border-light);
  z-index: 90;
  transform: translateY(100%);
  transition: transform var(--transition)
}

.sticky-cta--visible {
  transform: translateY(0)
}

.sticky-cta__btn {
  border-radius: 0;
  padding: var(--sp-md);
  font-size: var(--fs-sm)
}

/* ===== Sticky CTA mobile only ===== */
.sticky-cta {
  position: fixed;
  margin: auto;
  bottom: 0;
  transform: translateX(0);
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 10px 24px;
  background: rgb(255, 255, 255);

  border: 1px solid rgba(31, 58, 95, 0.08);
  border-radius: 999px;
  box-shadow:
    0 10px 30px rgba(31, 58, 95, 0.14),
    0 2px 10px rgba(31, 58, 95, 0.08);
}

.sticky-cta__btn {
  position: relative;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  border: none;
  outline: none;
  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

/* скрываем текст, если он есть внутри ссылки */
.sticky-cta__btn {
  font-size: 0;
  line-height: 0;
  color: transparent;
}

/* svg-иконка */
.sticky-cta__btn::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

/* Телефон */
.sticky-cta__btn--phone {
  background: linear-gradient(135deg, #1F3A5F 0%, #2B4D7B 100%);
}

.sticky-cta__btn--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M21 16.92v3a2 2 0 0 1-2.18 2A19.86 19.86 0 0 1 3.08 5.18 2 2 0 0 1 5.06 3h3a2 2 0 0 1 2 1.72c.12.9.32 1.78.59 2.62a2 2 0 0 1-.45 2.11L9.09 10.91a16 16 0 0 0 4 4l1.46-1.11a2 2 0 0 1 2.11-.45c.84.27 1.72.47 2.62.59A2 2 0 0 1 21 16.92Z' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* WhatsApp */
.sticky-cta__btn--wa {
  background: linear-gradient(135deg, #25D366 0%, #18B956 100%);
}

.sticky-cta__btn--wa::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M16 4C9.38 4 4 9.2 4 15.62c0 2.2.63 4.25 1.72 6L4 28l6.58-1.68A12.2 12.2 0 0 0 16 27.25c6.62 0 12-5.2 12-11.63C28 9.2 22.62 4 16 4Z' fill='white'/%3E%3Cpath d='M12.53 10.93c-.25-.55-.52-.56-.76-.57h-.65c-.23 0-.6.09-.91.43-.31.34-1.18 1.15-1.18 2.8s1.21 3.24 1.38 3.46c.17.21 2.37 3.73 5.86 5.08 2.9 1.12 3.5.9 4.13.84.63-.06 2.03-.81 2.32-1.6.29-.79.29-1.47.21-1.6-.08-.13-.29-.21-.61-.38-.31-.17-1.84-.93-2.13-1.03-.29-.11-.5-.17-.71.17-.21.34-.82 1.03-1 1.24-.19.21-.38.23-.69.08-.31-.17-1.33-.48-2.53-1.52-.93-.81-1.56-1.81-1.74-2.12-.19-.34-.02-.52.14-.68.14-.14.31-.38.46-.57.15-.19.21-.34.31-.57.1-.23.04-.42-.02-.59-.06-.17-.56-1.42-.78-1.9Z' fill='%2325D366'/%3E%3C/svg%3E");
}

/* Заявка */
.sticky-cta__btn--accent {
  background: linear-gradient(135deg, #FF821B 0%, #EB6E08 100%);
}

.sticky-cta__btn--accent::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h9l5 5v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V5Z' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M13 3v5h5' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 13h8M8 17h5' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.sticky-cta__btn:active {
  transform: scale(0.93);
}

.sticky-cta__btn:hover {
  transform: translateY(-2px);
}

/* только мобилка */
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* очень маленькие экраны */
@media (max-width: 360px) {
  .sticky-cta {
    gap: 10px;
    padding: 8px 10px;
  }

  .sticky-cta__btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }
}

/* ── Кнопка «Наверх» ─────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 95;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--brand-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.back-to-top:hover {
  background: var(--accent, #D53646)
}

/* На мобильных поднимаем над sticky-cta (~56px) */
@media (max-width: 1023px) {
  .back-to-top {
    bottom: 4.5rem
  }
}

.footer {
  background: var(--brand-color);
  color: #fff;
  padding: var(--sp-3xl) 0 var(--sp-xl)
}

.footer__grid {
  display: grid;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl)
}

.footer__logo img {
  margin-bottom: var(--sp-md)
}

.footer__about {
  font-size: var(--fs-sm);
  opacity: .7;
  line-height: var(--lh)
}

.footer__heading {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .6;
  color: #fff
}

.footer__nav li {
  margin-bottom: var(--sp-sm)
}

.footer__nav a {
  color: rgba(255, 255, 255, .8);
  font-size: var(--fs-sm)
}

.footer__nav a:hover {
  color: #fff
}

.footer__phone {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-md)
}

.footer__address {
  font-style: normal;
  opacity: .8;
  margin-bottom: var(--sp-sm)
}

.footer__email {
  color: rgba(255, 255, 255, .8);
  display: block;
  margin-bottom: var(--sp-sm)
}

.footer__schedule {
  opacity: .7;
  font-size: var(--fs-sm)
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  opacity: .6
}

.footer__dev a {
  color: rgba(255, 255, 255, .8)
}

/* ── Юридические реквизиты ───────────────────────────── */
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: var(--sp-lg);
  margin-bottom: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm)
}

.footer__legal-info {
  font-size: 12px;
  opacity: .5;
  line-height: 1.5
}

.footer__policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-lg)
}

.footer__policy-links a {
  font-size: var(--fs-xs, 12px);
  color: rgba(255, 255, 255, .6);
  text-decoration: underline;
  text-underline-offset: 2px
}

.footer__policy-links a:hover {
  color: #fff
}

/* ── Cookie-уведомление ──────────────────────────────── */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: var(--sp-md) var(--sp-lg)
}

.cookie-notice__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: wrap
}

.cookie-notice__text {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--text-main);
  line-height: var(--lh);
  min-width: 200px
}

.cookie-notice__btn {
  flex-shrink: 0;
  white-space: nowrap
}

/* когда sticky-cta видна, поднимаем куки-баннер чуть выше */
@media (max-width: 1023px) {
  .cookie-notice {
    bottom: 56px
  }
}


.red {
  color: var(--color-accent)
}

/* ── Страница цен: двухколоночный layout ──────────────── */
.price-page-layout {
  display: block
}

.price-page-layout__main {
  min-width: 0
}

/* ── Сайдбар ──────────────────────────────────────────── */
.price-sidebar {
  display: none
}

.price-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md)
}

/* ── Универсальный виджет ─────────────────────────────── */
.sb-widget {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-sm)
}

/* первый виджет — без верхнего отступа (gap у inner достаточно) */
.sb-widget--first {
  margin-top: 0
}

.sb-widget--cta {
  background: var(--brand-color);
  color: #fff
}

.sb-widget__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand-color);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--bg-section)
}

.sb-widget--cta .sb-widget__title {
  color: rgba(255, 255, 255, .7);
  border-bottom-color: rgba(255, 255, 255, .15)
}

.sb-widget__text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .85);
  margin-bottom: var(--sp-md);
  line-height: var(--lh)
}

.sb-widget__phone {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: var(--sp-md);
  word-break: break-all
}

.sb-widget__phone:hover {
  color: rgba(255, 255, 255, .85)
}

.sb-widget__btn {
  display: flex;
  justify-content: center;
  width: 100%
}

/* ── Навигационное меню в сайдбаре ───────────────────── */
.price-sidebar__menu {
  list-style: none;
  padding: 0;
  margin: 0
}

.price-sidebar__menu li {
  border-bottom: 1px solid var(--bg-section)
}

.price-sidebar__menu li:last-child {
  border-bottom: none
}

.price-sidebar__menu,
.price-sidebar__menu li,
.price-sidebar__menu ul {
  height: auto
}

/* строка меню — flex чтобы текст + стрелка */
.price-sidebar__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: .6rem .4rem;
  height: auto;
  line-height: 1.4;
  font-size: var(--fs-sm);
  color: var(--dark-color);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: color var(--transition), background var(--transition)
}

.price-sidebar__menu a:hover {
  color: var(--brand-color);
  background: var(--bg-section)
}

.price-sidebar__menu .current-menu-item>a {
  color: var(--brand-color);
  font-weight: 600
}

.price-sidebar__menu .current-menu-ancestor>a {
  color: var(--brand-color)
}

/* листья верхнего уровня — без стрелки */
.price-sidebar__menu li:not(.menu-item-has-children)>a::after {
  display: none
}

/* стрелка шеврон для пунктов с подменю — CSS border (надёжно во всех браузерах) */
.price-sidebar__menu .menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--light-color);
  border-bottom: 1.5px solid var(--light-color);
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--transition), border-color var(--transition)
}

.price-sidebar__menu .menu-item-has-children:hover>a::after,
.price-sidebar__menu .menu-item-has-children.is-open>a::after {
  border-color: var(--brand-color)
}

/* открытый пункт — шеврон смотрит вверх */
.price-sidebar__menu .menu-item-has-children.is-open>a::after {
  transform: rotate(-135deg) translateY(-1px)
}

/* подменю — скрыто по умолчанию, раскрывается через max-height */
.price-sidebar__menu .sub-menu {
  /* сброс позиционирующих стилей от .nav-menu */
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  min-width: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  z-index: auto !important;
  /* по умолчанию скрыто */
  display: none !important;
  list-style: none;
  padding: 0;
  margin: 0
}

/* hover не должен открывать подменю */
.price-sidebar__menu li:hover>.sub-menu {
  display: none !important
}

/* открывается только через JS-класс */
.price-sidebar__menu .menu-item-has-children.is-open>.sub-menu {
  display: block !important;
  height: auto !important;
  overflow: visible !important
}

/* подменю — уровень 1 */
.price-sidebar__menu .sub-menu li {
  border-bottom: none
}

.price-sidebar__menu .sub-menu>li>a {
  padding: .45rem .4rem .45rem 1rem;
  font-size: var(--fs-xs);
  color: var(--middle-color)
}

/* стрелка только у родительских пунктов, у листьев — скрыть */
.price-sidebar__menu .sub-menu>li:not(.menu-item-has-children)>a::after {
  display: none
}

.price-sidebar__menu .sub-menu>li>a:hover {
  color: var(--brand-color);
  background: var(--bg-section)
}

/* шеврон уровня 1 — чуть меньше */
.price-sidebar__menu .sub-menu .menu-item-has-children>a::after {
  width: 5px;
  height: 5px
}

/* уровень 2 — открытие через .is-open (наследует общее правило выше) */

.price-sidebar__menu .sub-menu .sub-menu li {
  border-bottom: none
}

.price-sidebar__menu .sub-menu .sub-menu>li>a {
  padding-left: 1.75rem;
  font-size: var(--fs-xs)
}

.price-sidebar__menu .sub-menu .sub-menu>li:not(.menu-item-has-children)>a::after {
  display: none
}

/* шеврон уровня 2 */
.price-sidebar__menu .sub-menu .sub-menu .menu-item-has-children>a::after {
  width: 4px;
  height: 4px
}

/* подменю — уровень 3 */
/* уровень 3 — открытие через .is-open (наследует общее правило выше) */

.price-sidebar__menu .sub-menu .sub-menu .sub-menu>li>a {
  padding-left: 2.5rem;
  font-size: var(--fs-xs);
  color: var(--text-muted)
}

.price-sidebar__menu .sub-menu .sub-menu .sub-menu>li>a::after {
  display: none
}

/* ── Список постов (услуги / статьи) ──────────────────── */
.sb-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md)
}

.sb-posts__link {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  text-decoration: none;
  color: var(--dark-color);
  transition: color var(--transition)
}

.sb-posts__link:hover {
  color: var(--brand-color)
}

.sb-posts__img {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  object-fit: cover;
  flex-shrink: 0
}

/* плейсхолдер когда нет миниатюры */
.sb-posts__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
  color: var(--light-color)
}

.sb-posts__img--placeholder::after {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E") center/contain no-repeat
}

.sb-posts__name {
  font-size: var(--fs-sm);
  line-height: 1.35
}

/* ── Price nav slider ──────────────────────────────── */
.price-nav-slider {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.price-nav-slider__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: #fff;
  color: var(--dark-color);
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  opacity: 1
}

.price-nav-slider__arrow:hover {
  background: var(--brand-color);
  border-color: var(--brand-color);
  color: #fff
}

.price-nav-slider__arrow--hidden {
  opacity: .25;
  pointer-events: none
}

.price-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--sp-sm);
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none
}

.price-nav::-webkit-scrollbar {
  display: none
}

.price-nav__item {
  flex-shrink: 0;
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark-color);
  white-space: nowrap
}

.price-nav__item:hover {
  background: var(--brand-color);
  color: #fff;
  border-color: var(--brand-color)
}



@media(min-width:768px) {
  :root {
    --container-pad: 16px
  }

  .hero__title {
    font-size: var(--fs-5xl)
  }

  .services-grid,
  .promos-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .doctors-grid,
  .reviews-grid,
  .benefits-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .advantages-row {
    grid-template-columns: repeat(4, 1fr)
  }

  .certificates-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .text-image-grid {
    grid-template-columns: 1fr 1fr
  }

  .section--img-left .text-image-grid__image {
    order: -1
  }


  .article-single__grid {
    grid-template-columns: 1fr 280px;
    align-items: start
  }

  .article-single__sidebar-inner {
    position: sticky;
    top: calc(var(--header-height) + var(--sp-lg))
  }

  .doctor-profile__grid {
    grid-template-columns: 350px 1fr
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .price-table__header {
    display: grid;
    grid-template-columns: 1fr 160px 130px;
    padding: var(--sp-sm) var(--sp-lg);
    background: #2e5187;
    color: #fff;
    font-weight: 700;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .05em
  }

  .price-table__row {
    display: grid;
    grid-template-columns: 1fr 160px 130px;
    align-items: center;
    padding: var(--sp-sm) var(--sp-lg);
    gap: 0;
    flex-direction: row
  }

  .price-table__col--action {
    padding-top: 0;
    text-align: center
  }

  .faq__question {
    font-size: var(--fs-2xl)
  }

  .faq__icon {
    width: 50px;
    height: 50px;
    padding: 4px
  }

  .faq__answer-inner {
    font-size: var(--fs-base);
    min-height: 88px
  }

  .steps {
    flex-direction: row;
    flex-wrap: wrap
  }

  .steps__item {
    width: 33%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 5px
  }
}


@media(min-width:1024px) {
  .price-page-layout {
    display: grid;
    grid-template-columns: 1fr 478px;
    gap: 0;
    align-items: start;
    max-width: var(--container-max);
    margin: auto;
  }

  .price-sidebar {
    display: block;
    padding: var(--sp-xl) var(--container-pad) var(--sp-xl) var(--sp-xl)
  }

  /* .hero__title font-size теперь fluid через clamp() */

  .header__nav {
    display: block
  }

  .header__contacts {
    display: flex
  }

  .header__burger {
    display: none
  }

  .hero--home .hero__inner,
  .hero--two-col .hero__inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero--home .hero__image,
  .hero--two-col .hero__image {
    display: block
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .doctors-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between
  }

  .sticky-cta {
    display: none
  }

  .section--faq .section__title {
    font-size: var(--fs-4xl)
  }

  .faq {
    gap: 20px
  }
}


@media(max-width:767px) {

  .header__logo img,
  .header__logo svg {
    max-width: 111px;
    height: 100%
  }

  .callback-form {
    padding: 10px 15px 15px
  }

  .callback-form__input {
    font-size: var(--fs-lg);
    padding: 15px 20px
  }
}


@media print {

  .header,
  .footer,
  .sticky-cta,
  .mobile-menu,
  .section--cta,
  .top-bar,
  .nav-area {
    display: none
  }

  .hero {
    background: none;
    padding: var(--sp-md) 0
  }

  .section {
    padding: var(--sp-md) 0
  }

  body {
    color: #000;
    font-size: 12pt;
    background: #fff
  }
}

/* ── Доступность: уважаем настройки анимации пользователя ── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ══════════════════════════════════════════════════
 * UX PATCH — 404, поиск, мобильная навигация
 * ══════════════════════════════════════════════════ */


.section--404 {
  padding: var(--sp-3xl) 0;
}

.error-404 {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.error-404__code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  color: var(--brand-color);
  line-height: 1;
  opacity: .12;
  margin-bottom: -30px;
  user-select: none;
}

.error-404__title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-md);
}

.error-404__text {
  color: var(--middle-color);
  margin-bottom: var(--sp-xl);
  font-size: var(--fs-lg);
}

.error-404__search {
  margin-bottom: var(--sp-xl);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
  margin-bottom: var(--sp-xl);
}

.error-404__phone {
  color: var(--middle-color);
  font-size: var(--fs-lg);
}

.error-404__phone a {
  font-weight: 700;
  color: var(--brand-color);
  font-size: var(--fs-xl);
}



.search-form--404,
.search-form--inline {
  display: flex;
  gap: var(--sp-sm);
  max-width: 560px;
  margin: 0 auto;
}

.search-form__input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--light-color);
  border-radius: var(--r-sm);
  font-family: var(--font-family);
  font-size: var(--fs-base);
  color: var(--dark-color);
  transition: border-color var(--transition);
}

.search-form__input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(62, 99, 214, .1);
  outline: none;
}

.search-form__btn {
  white-space: nowrap;
}

.section--search-form {
  padding: var(--sp-lg) 0 0;
}

.section--search-results {
  padding: var(--sp-xl) 0 var(--sp-3xl);
}

.search-results {
  display: grid;
  gap: var(--sp-lg);
}

.search-result {
  background: var(--bg-white);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.search-result:hover {
  box-shadow: var(--shadow-lg);
}

.search-result__type {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent-blue);
  background: var(--bg-light-blue);
  padding: 2px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-sm);
}

.search-result__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-xs);
}

.search-result__title a {
  color: var(--brand-color);
}

.search-result__title a:hover {
  color: var(--accent-blue);
}

.search-result__excerpt {
  color: var(--middle-color);
  font-size: var(--fs-sm);
  line-height: var(--lh);
}

.no-results {
  text-align: center;
  padding: var(--sp-3xl) 0;
}

.no-results h2 {
  margin-bottom: var(--sp-md);
}

.no-results p {
  color: var(--middle-color);
  margin-bottom: var(--sp-sm);
}





.mobile-nav .menu-item-has-children>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav .menu-item-has-children>a::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s ease;
  flex-shrink: 0;
  margin-left: var(--sp-sm);
}

.mobile-nav .menu-item-has-children.is-open>a::after {
  transform: rotate(-135deg);
}

.mobile-nav .sub-menu {
  display: none;
  padding-left: var(--sp-md);
}

.mobile-nav .menu-item-has-children.is-open>.sub-menu {
  display: block;
}


.mobile-menu {
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.mobile-menu--open {
  transform: translateX(0);
}


.mobile-menu__overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.mobile-menu__overlay--visible {
  opacity: 1;
  pointer-events: auto;
}


.mobile-menu__search {
  padding: 0 var(--sp-md) var(--sp-md);
}

.mobile-menu__search .search-form__input {
  width: 100%;
  border-color: var(--border-light);
}


.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 768px) {

  .search-form--404,
  .search-form--inline {
    flex-direction: column;
  }

  .search-form__btn {
    width: 100%;
  }

  .error-404__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/*
 * fix-patch.css — Патч для темы 21rehab
 * Исправляет: меню, логотип, добавляет стили для новых секций
 * Загрузить в: /wp-content/themes/rehab-theme/assets/css/fix-patch.css
 */

/* ═══════════════════════════════════════════════
   FIX: Навигационное меню — отображение пунктов
   ═══════════════════════════════════════════════ */
.nav-menu {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  align-items: center !important;
}

.nav-menu li {
  display: block !important;
  position: relative;
}


.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
  color: var(--accent-red, #DC3646);
}


.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--brand-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
  border-radius: var(--r-md, 10px);
  padding: 8px 0;
  min-width: 321px;
  z-index: 1000;
  list-style: none;
}

.nav-menu li:hover>.sub-menu {
  display: block;
}

.nav-menu .sub-menu li a {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════
   FIX: Логотип
   ═══════════════════════════════════════════════ */
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img {
  display: block !important;
  width: auto !important;
  height: 60px !important;
  max-width: 230px !important;
  object-fit: contain;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ═══════════════════════════════════════════════
   FIX: Header layout
   ═══════════════════════════════════════════════ */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.header__nav {
  flex: 1;
  display: flex;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   СЕКЦИЯ: О клинике (front-page)
   ═══════════════════════════════════════════════ */
.section--about {
  padding: 60px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-grid__text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--brand-color, #2E2751);
}

.about-grid__text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-color, #32354B);
  margin-bottom: 12px;
}

.about-grid__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-grid__images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r-md, 10px);
}

/* ═══════════════════════════════════════════════
   СЕКЦИЯ: Акции
   ═══════════════════════════════════════════════ */
.section--promos {
  padding: 60px 0;
  background: var(--bg-body, #F1F5F9);
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ── Карточки акций ── */
.promos-grid--archive {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.promo-card {
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

.promo-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.promo-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.promo-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.promo-card:hover .promo-card__img {
  transform: scale(1.05);
}

.promo-card__content {
  padding: 20px;
}

.promo-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--brand-color, #2E2751);
  line-height: 1.4;
}

.promo-card__price {
  display: inline;
  color: var(--accent, #D53646);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .promos-grid--archive {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 575px) {
  .promos-grid--archive {
    grid-template-columns: 1fr !important;
  }
}

.promo-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--accent, #D53646);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}

.promo-card__price {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent, #D53646);
  font-size: 15px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   СЕКЦИЯ: CTA промежуточный (Telegram/WhatsApp)
   ═══════════════════════════════════════════════ */
.section--cta-messengers {
  padding: 40px 0;
  background: var(--brand-color, #2E2751);
  text-align: center;
  color: #fff;
}

.section--cta-messengers h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.section--cta-messengers .cta-phone-big {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
}

.cta-messengers-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-messengers-btns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
}

.cta-messengers-btns a:hover {
  transform: scale(1.05);
}

.btn--telegram {
  background: #2AABEE;
  color: #fff;
}

.btn--whatsapp {
  background: #25D366;
  color: #fff;
}

/* ═══════════════════════════════════════════════
   СЕКЦИЯ: Статистика (счётчики)
   ═══════════════════════════════════════════════ */
.section--stats {
  padding: 50px 0;
  background: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item__number {
  font-size: 42px;
  font-weight: 900;
  color: var(--accent-blue, #3E63D6);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════
   СЕКЦИЯ: Полезные статьи
   ═══════════════════════════════════════════════ */
.section--articles {
  padding: 60px 0;
  background: var(--bg-body, #F1F5F9);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.article-card {
  background: #fff;
  border-radius: var(--r-lg, 15px);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  transition: transform .2s;
}

.article-card:hover {
  transform: translateY(-3px);
}

.article-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e0e5ec;
}

.article-card__body {
  padding: 20px;
}

.article-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--brand-color, #2E2751);
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--accent-blue, #3E63D6);
}

.article-card__excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   СЕКЦИЯ: Форма «Остались вопросы?»
   ═══════════════════════════════════════════════ */
.section--callback-form {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--brand-color, #2E2751) 0%, var(--brand-deep, #262273) 100%);
  color: #fff;
}

.callback-form-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.callback-form-inner h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}

.callback-form-inner p {
  opacity: .85;
  margin-bottom: 30px;
  font-size: 15px;
}

.callback-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.callback-form input[type="text"],
.callback-form input[type="tel"] {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: 2px solid var(--border-light);
  background: rgba(255, 255, 255, .1);
  border-radius: var(--r-md, 10px);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}

.callback-form input::placeholder {
  color: rgba(255, 255, 255, .6);
}

.callback-form input:focus {
  border-color: var(--accent-red, #DC3646);
}

.callback-form button {
  padding: 14px 32px;
  background: var(--accent-red, #DC3646);
  color: #fff;
  border: none;
  border-radius: var(--r-md, 10px);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.callback-form button:hover {
  background: #c82333;
  transform: scale(1.03);
}

/* ═══════════════════════════════════════════════
   СЕКЦИЯ: Преимущества (расширенная)
   ═══════════════════════════════════════════════ */
.section--advantages-full {
  padding: 60px 0;
  background: #fff;
}

.advantages-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-body, #F1F5F9);
  border-radius: var(--r-lg, 15px);
}

.advantage-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--brand-color, #2E2751);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-card__icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.advantage-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--brand-color, #2E2751);
}

.advantage-card__text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   FIX: Header — адаптация средней колонки
   ═══════════════════════════════════════════════ */
.top-map {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.top-map .single-map {
  font-size: var(--fs-xl);
  font-weight: 600;
}

.single-map a {
  color: var(--brand-color);
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}

.single-map a:hover {
  color: var(--brand-deep);
}

.single-call {
  display: flex;
  align-items: center;
  gap: 6px;
}

.callback-price {
  color: var(--color-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}

.callback-price:hover {
  text-decoration: underline;
}

.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex-shrink: 0;
}

.header__cta {
  flex-shrink: 0;
}

/* Бейдж рейтинга в шапке */
.header__trust-badge {
  display: none;
  /* скрыт по умолчанию, показывается на широких экранах */
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  text-decoration: none;
  transition: background var(--transition)
}

.header__trust-badge:hover {
  background: rgba(255, 255, 255, .18)
}

.header__trust-score {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: #fff;
  line-height: 1
}

.header__trust-star {
  color: #f59e0b;
  font-size: 18px;
  line-height: 1
}

.header__trust-count {
  font-size: 11px;
  color: rgba(255, 255, 255, .7);
  white-space: nowrap
}

@media (min-width: 1200px) {
  .header__trust-badge {
    display: flex
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* Планшет: скрываем адрес, оставляем телефон и кнопку */
@media (max-width: 991px) {
  .header__nav {
    display: none;
  }

  .top-map {
    display: none;
  }

  .header__phone {
    flex: 1;
    align-items: flex-start;
  }

  .header__cta {
    padding: 10px 16px;
    font-size: var(--fs-sm);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid-full {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {

  /* Мобильный: только логотип + телефон-ссылка + бургер */
  .header__phone .top-bar__schedule {
    display: none;
  }

  .header__phone .top-bar__phone {
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--brand-color);
  }

  .header__cta {
    display: none;
  }

  .header__inner {
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-item__number {
    font-size: 32px;
  }

  .callback-form {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════
   FIX: Мобильное меню — slide-panel дизайн
   ═══════════════════════════════════════════════ */

/* Контейнер */
.mobile-menu {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 100% !important;
  max-width: 420px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #fff !important;
  z-index: 10000 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transform: none !important;
  transition: right .3s cubic-bezier(.4, 0, .2, 1) !important;
  box-shadow: -1px 0 6px rgba(0, 0, 0, .04) !important;
  border-left: none !important;
}

.mobile-menu--open {
  right: 0 !important;
  transform: none !important;
}

/* Шапка меню */
.mobile-menu__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.mobile-menu__logo img {
  height: 36px;
  width: auto;
}

.mobile-menu__tagline {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
  flex: 1;
}

.mobile-menu__close {
  width: 32px !important;
  height: 32px !important;
  border: none !important;
  background: none !important;
  font-size: 24px !important;
  color: #333 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  flex-shrink: 0;
  position: static !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.mobile-menu__close:hover {
  background: #f5f5f5 !important;
}

/* Панели (слайд навигация) */
.mobile-menu__panel {
  flex: 1;
  overflow-y: auto;
  display: none;
}

.mobile-menu__panel.is-active {
  display: block;
}

/* Анимация переходов панелей */
.mobile-menu__panel--main {
  animation: mmSlideIn .25s ease;
}

.mobile-menu__panel--sub.is-active {
  animation: mmSlideInRight .25s ease;
}

@keyframes mmSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes mmSlideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Заголовок подпанели */
.mobile-menu__panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu__back {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  padding: 0;
  border-radius: 50%;
}

.mobile-menu__back:hover {
  background: #f5f5f5;
}

.mobile-menu__panel-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Навигация */
.mobile-nav {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mobile-nav li {
  border-bottom: 1px solid #f0f0f0 !important;
}

.mobile-nav li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  color: #333 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
}

.mobile-nav li a:hover {
  background: #f9f9f9 !important;
  color: var(--brand-color) !important;
}

/* Стрелка для пунктов с подменю */
.mobile-nav .menu-item-has-children>a::after {
  content: '' !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid #999 !important;
  border-bottom: 2px solid #999 !important;
  transform: rotate(-45deg) !important;
  flex-shrink: 0 !important;
  margin-left: 12px !important;
  transition: none !important;
}

/* Скрываем вложенные sub-menu в основной панели — они показываются в panel--sub */
.mobile-menu__panel--main .mobile-nav .sub-menu {
  display: none !important;
}

/* Подменю в панели sub */
.mobile-nav--sub {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav--sub li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav--sub li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  color: #333;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.3;
}

.mobile-nav--sub li a:hover {
  background: #f9f9f9;
  color: var(--brand-color);
}

.mobile-nav--sub .menu-item-has-children>a::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(-45deg);
  flex-shrink: 0;
  margin-left: 12px;
}

/* Нижняя секция */
.mobile-menu__footer {
  flex-shrink: 0;
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}

.mobile-menu__cta.btn--primary {
  background: var(--brand-color);
  color: #fff;
  border: 2px solid var(--brand-color);
}

.mobile-menu__cta.btn--outline-danger {
  background: transparent;
  color: #dc3545;
  border: 2px solid #dc3545;
}

.mobile-menu__contacts {
  margin-top: 8px !important;
}

.mobile-menu__contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-menu__phone {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #333 !important;
  text-decoration: none;
  display: block !important;
  margin-bottom: 2px !important;
}

.mobile-menu__address {
  font-size: 13px;
  color: #666;
  display: block;
}

.mobile-menu__social-icons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-menu__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mobile-menu__social--tg {
  background: #2AABEE;
  color: #fff;
}

.mobile-menu__social--wa {
  background: #25D366;
  color: #fff;
}

.mobile-menu__social svg {
  width: 22px;
  height: 22px;
}

/* Очень маленькие экраны: скрываем телефон в шапке */
@media (max-width: 480px) {
  .header__phone {
    display: none;
  }
}


/* FIX: Мегаменю — позиционирование относительно top-bar */
.top-bar {
  position: relative;
  z-index: 1001;
  overflow: visible !important;
}

.top-bar__inner {
  overflow: visible !important;
}

.nav-menu>li.has-megamenu {
  position: static !important;
}

.nav-menu>li.has-megamenu>.sub-menu {
  display: none !important;
  position: absolute !important;
  top: 80% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  background: #2E2751 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: unset !important;
  z-index: 99999 !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
}

.nav-menu>li.has-megamenu:hover>.sub-menu {
  display: flex !important;
  max-width: 381px !important;
}

.nav-menu>li.has-megamenu>.sub-menu>li>.sub-menu {
  background: #1e1a3a !important;
  border-radius: 0 !important;
  padding: 12px 0 !important;
  min-width: unset !important;
  box-shadow: 2px 0 6px rgba(0, 0, 0, .05) !important;
}

.nav-menu>li.has-megamenu>.sub-menu>li>.sub-menu>li>a {
  color: rgba(255, 255, 255, .75) !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
  text-transform: none !important;
}

.nav-menu>li.has-megamenu>.sub-menu>li>.sub-menu>li>a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, .07) !important;
}

/* ═══════════════════════════════════════════════
   FIX: Responsive iframe для карт
   ═══════════════════════════════════════════════ */
.responsive-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-sm);
}

.responsive-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* ═══════════════════════════════════════════════
   FIX: Увеличение кнопок слайдеров для тач-устройств
   Минимальный размер тач-цели — 44x44px (WCAG 2.5.5)
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {

  .section--about-gallery .about-gallery-slider .swiper-button-prev,
  .section--about-gallery .about-gallery-slider .swiper-button-next,
  .section--doctors .doctors-slider .swiper-button-prev,
  .section--doctors .doctors-slider .swiper-button-next,
  .home-promos-slider .swiper-button-prev,
  .home-promos-slider .swiper-button-next {
    width: 44px;
    height: 44px;
  }

  .section--about-gallery .about-gallery-slider .swiper-button-prev:after,
  .section--about-gallery .about-gallery-slider .swiper-button-next:after,
  .section--doctors .doctors-slider .swiper-button-prev:after,
  .section--doctors .doctors-slider .swiper-button-next:after,
  .home-promos-slider .swiper-button-prev:after,
  .home-promos-slider .swiper-button-next:after {
    font-size: 16px;
  }

  /* Больше пространства для кнопок */
  .about-gallery-slider,
  .doctors-slider {
    padding: 0 48px;
  }
}

.gallery {
  display: grid;
}

.gallery.gallery-columns-1 {
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
}

.gallery.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.gallery.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery img {
  border-radius: var(--r-md);
  margin: var(--sp-lg) 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* ═══════════════════════════════════════════════
   FIX: Форма обратного звонка — паддинги на планшетах
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .callback-form {
    padding: 30px 24px;
  }
}

/* ═══════════════════════════════════════════════
   FOOTER — Редизайн по макету
   ═══════════════════════════════════════════════ */

.footer {
  background-color: #2E2751 !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  color: #fff;
  padding: 0 0 0 !important;
  position: relative;
}

.footer__accent-line {
  height: 4px;
  background: linear-gradient(90deg, #00c9a7, #00b894);
  width: 100%;
}

.footer>.container {
  padding-top: 50px;
  padding-bottom: 30px;
}

.footer__grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr !important;
  gap: 40px !important;
  margin-bottom: 40px !important;
}

/* Колонка 1: Лого + описание */
.footer__col--about .footer__logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer__col--about .footer__logo img {
  width: 200px;
  height: auto;
}

.footer__about {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, .75) !important;
  opacity: 1 !important;
  margin-bottom: 20px;
}

.footer__license-line {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 24px;
  line-height: 1.5;
}

.footer__license-link {
  color: #DC3646 !important;
  text-decoration: underline;
  font-weight: 500;
}

.footer__license-link:hover {
  color: #ff4d5e !important;
}

.footer__cta-btn {
  display: inline-block !important;
  background: #DC3646 !important;
  color: #fff !important;
  padding: 14px 32px !important;
  border-radius: 5px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: background .2s !important;
  border: none !important;
}

.footer__cta-btn:hover {
  background: #c0303e !important;
  color: #fff !important;
}

/* Заголовки колонок */
.footer__heading {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  opacity: 1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 20px !important;
}

/* Навигация */
.footer__nav {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer__nav li {
  margin-bottom: 12px !important;
}

.footer__nav a {
  color: rgba(255, 255, 255, .8) !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: color .2s !important;
}

.footer__nav a:hover {
  color: #fff !important;
}

/* Колонка контактов */
.footer__contacts-intro {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: color .2s;
}

a.footer__contact-item:hover {
  color: rgba(255, 255, 255, .8);
}

.footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}

.footer__contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer__contact-item>span:last-child {
  padding-top: 6px;
}

/* Нижняя полоса */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1) !important;
  padding-top: 20px !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: 16px !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, .5) !important;
  opacity: 1 !important;
}

.footer__dev a {
  color: rgba(255, 255, 255, .6) !important;
}

.footer__dev a:hover {
  color: #fff !important;
}

/* ── Footer responsive ── */
@media (max-width: 991px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 575px) {
  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .footer__bottom {
    flex-direction: column !important;
    text-align: center !important;
  }
}

/* ═══════════════════════════════════════════════
   Блок «Нам доверяют» — рейтинги площадок
   ═══════════════════════════════════════════════ */

.section.section--trust-ratings {
  background: #e8eaf0 !important;
  padding: 50px 0 60px !important;
}

.trust-ratings {
  background: rgba(255, 255, 255, .45) !important;
  border-radius: 6px !important;
  padding: 40px 40px 48px !important;
}

.trust-ratings__title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: var(--brand-color, #2E2751) !important;
  margin-bottom: 28px !important;
}

.trust-ratings__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

.trust-ratings__card {
  background: #fff !important;
  border-radius: 7px !important;
  padding: 16px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04) !important;
  transition: box-shadow .2s, transform .2s !important;
  text-decoration: none !important;
}

.trust-ratings__card:hover {
  box-shadow: 0 1px 5px rgba(0, 0, 0, .05) !important;
  transform: translateY(-2px) !important;
}

.trust-ratings__card img {
  max-width: 100% !important;
  height: auto !important;
  max-height: 80px !important;
  object-fit: contain !important;
}

.trust-ratings__empty {
  color: rgba(0, 0, 0, .4);
  font-size: 14px;
  font-style: italic;
}

@media (max-width: 767px) {
  .trust-ratings {
    padding: 24px 20px 32px !important;
  }

  .trust-ratings__title {
    font-size: 22px !important;
  }

  .trust-ratings__grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ═══════════════════════════════════════════════
   Callback-блок — фоновая картинка + overlay
   ═══════════════════════════════════════════════ */

.section--callback {
  position: relative;
  overflow: hidden;
}

.section--callback-has-bg {
  background-size: cover !important;
  background-position: center !important;
}

.section--callback__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
  pointer-events: none;
}

.section--callback-has-bg .container {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   Блог — архив статей
   ═══════════════════════════════════════════════ */

.articles-grid--archive {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  margin-bottom: 40px !important;
}

.article-card {
  background: #fff !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

.article-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05) !important;
}

.article-card__link {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  text-decoration: none !important;
  color: inherit !important;
}

.article-card__image {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.article-card__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.article-card__body {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.article-card__date {
  display: block !important;
  font-size: 13px !important;
  color: #888 !important;
  margin-bottom: 8px !important;
}

.article-card__title {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
  color: #222 !important;
}

.article-card__excerpt {
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
  flex: 1 !important;
}

.article-card__footer {
  margin-top: auto !important;
  padding-top: 0 !important;
  border-top: none !important;
}

.article-card__more {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 11px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2E2751 !important;
  border: 2px solid #2E2751 !important;
  border-radius: 6px !important;
  transition: background .22s ease, color .22s ease !important;
  box-sizing: border-box !important;
}

.article-card__more svg {
  flex-shrink: 0 !important;
  transition: transform .22s ease !important;
}

.article-card__link:hover .article-card__more {
  background: #2E2751 !important;
  color: #fff !important;
}

.article-card__link:hover .article-card__more svg {
  transform: translateX(3px) !important;
}

@media (max-width: 991px) {
  .articles-grid--archive {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 575px) {
  .articles-grid--archive {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .article-card__title {
    font-size: 16px !important;
  }
}

/* ─── Phone CTA Strip ─────────────────────────────────── */
.section--phone-cta {
  background: #EEF1F7;
  padding: 56px 0;
}

.phone-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.phone-cta__text {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  color: var(--color-heading, #2E2751);
  margin: 0 0 10px;
  line-height: 1.25;
}

.phone-cta__subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 24px;
}

.phone-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent, #D53646);
  color: #fff;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  padding: 18px 48px;
  border-radius: 6px;
  margin-bottom: 20px;
  transition: background 0.2s, transform 0.15s;
}

.phone-cta__phone:hover {
  background: #b82d3a;
  color: #fff;
  transform: translateY(-2px);
}

.phone-cta__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.phone-cta__messenger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #2E2751;
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}

.phone-cta__messenger:hover {
  background: #3d3468;
  color: #fff;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .phone-cta {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    text-align: left;
  }

  .phone-cta__text {
    flex: 1 1;
  }

  .phone-cta__phone {
    font-size: 48px;
  }

  .phone-cta__messengers {
    flex-basis: 100%;
    justify-content: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════
   CITIES — section--cities (глобально: услуги, акции, страницы)
   ═══════════════════════════════════════════════════════════ */

.section--cities {
  background: var(--bg-white);
}

.cities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm) var(--sp-xl);
}

.cities-list__item {
  font-size: var(--fs-base);
  color: var(--dark-color);
  padding: var(--sp-xs) 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-left: 16px;
}

.cities-list__item::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: 700;
}

@media (min-width: 768px) {
  .cities-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .cities-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cities-map-wrap {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: var(--sp-xl);
  box-shadow: 0 1px 5px rgba(0, 0, 0, .05);
}

.cities-map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

@media (max-width: 767px) {
  .cities-map-wrap iframe {
    height: 260px;
  }
}

fieldset.hidden-fields-container {
  border: none;
}

/* --------------------------------------------- */
/* ===== Блок "Содержание" ===== */
.contents {
  background: #F8F9FA;
  border: 1px solid #A2A9B1;
  padding: 15px 20px 10px 5px;
  display: table;
  border-radius: 2px;
  margin-top: 15px;
}

.contents>h2 {
  margin: 0;
  padding: 0 0 15px;
  font: bold 17px 'Trebuchet MS';
  text-align: center;
}

.contents ul {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: none;
}

.contents ul li {
  margin: 0;
  padding: 1px 0;
}

.contents ul li span {
  color: #444;
  font-size: 0.9em;
}

/* ===== Общие заголовки / контент ===== */
.blog-space h2 {
  scroll-margin-top: 100px;
}

.blog-space h2 a[title="К меню"] {
  text-decoration: none;
  margin-right: 8px;
}

/* ===== CTA / баннер ===== */
.vi-price-wrapper {
  background: #f7fbff;
  border: 1px solid #d9ebf7;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

.vi-price-wrapper-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.vi-price-wrapper-subtitle {
  font-size: 16px;
  line-height: 1.5;
}

.vi-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.vi-phone-link svg {
  width: 16px;
  height: 24px;
  flex: 0 0 auto;
}

.button-round,
.callback-price,
.cta-btn,
.bizwheel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  transition: 0.25s ease;
  cursor: pointer;
}

/* ===== Таблицы цен ===== */
.price-table,
.price-table-2 {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
}

.price-table th,
.price-table td,
.price-table-2 td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  vertical-align: top;
}

.price-table thead th {
  font-weight: 700;
}

.price-table a,
.price-table-2 a {
  white-space: nowrap;
}

/* ===== Команда ===== */
.section-team .title {
  text-align: center;
  margin-bottom: 30px;
}

.team-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.team-img>div {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.team-content {
  padding: 18px;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-name a {
  color: inherit;
  text-decoration: none;
}

.team-position {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.team-experience {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

.team-btn {
  padding: 0 18px 18px;
}

/* ===== Блок доверия ===== */
.section-rating {
  padding: 40px 0;
}

.section-rating .elementor-heading-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.section-rating img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== Акции ===== */
.section-akcii h2 {
  margin-bottom: 24px;
}

.single-news.custom-2,
.single-news {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.news-head {
  position: relative;
}

.news-head .news-img,
.news-head span[style*="background-image"] {
  display: block;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.bizwheel-btn.theme-2.akcii {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  text-align: center;
}

.desc {
  line-height: 1.4;
}

/* ===== Карта + города ===== */
.goroda_static {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}

.price-table-2 td {
  width: 33.333%;
}

/* ===== Финальный CTA ===== */
.ndg-cta.ndg-cta-2 {
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  margin: 40px 0;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-subtitle {
  font-size: 16px;
  margin-bottom: 18px;
}

.cta-phone {
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

/* ===== Преимущества / карточки ===== */
.single-feature {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.single-feature .icon-head {
  margin-bottom: 16px;
}

.single-feature span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.single-feature span a {
  color: inherit;
  text-decoration: none;
}

.single-feature p {
  color: #4b5563;
  line-height: 1.6;
}

/* ===== Отзывы ===== */
.testimonials {
  padding: 60px 0;
  background-size: cover;
  background-position: center;
}

.section-title .section-top h2 {
  margin-bottom: 24px;
}

.testimonial-inner .single-slider {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.star-list {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.t-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.t-left p {
  margin: 0;
  font-weight: 700;
}

.t-left span {
  font-weight: 400;
  color: #6b7280;
  margin-left: 6px;
}

/* ===== Рекомендуем ===== */
.zgdh-title {
  font-size: 26px;
  font-weight: 700;
  margin: 30px 0 20px;
}

.ozn .single-news img {
  width: 100%;
  height: auto;
  display: block;
}

.news-body {
  padding: 10px 15px;
}

.news-title a {
  font-size: 14px;
  text-decoration: none;
}

/* ===== FAQ ===== */
.vi-questions-list__item p {
  cursor: pointer;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
}

/* ===== Адаптив ===== */
@media (max-width: 991px) {

  .vi-price-wrapper,
  .ndg-cta.ndg-cta-2,
  .testimonial-inner .single-slider,
  .single-feature,
  .team-item {
    border-radius: 14px;
  }

  .cta-title,
  .vi-price-wrapper-title,
  .goroda_static,
  .zgdh-title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .contents {
    display: block;
    padding: 14px 14px 10px;
  }

  .contents>h2 {
    font-size: 16px;
  }

  .price-table,
  .price-table-2 {
    display: block;
    overflow-x: auto;
  }

  .news-head .news-img,
  .news-head span[style*="background-image"] {
    min-height: 200px;
  }

  .cta-phone {
    font-size: 18px;
  }
}

/* -------------------------------------   */
.rehab-cta {
  position: relative;
  overflow: hidden;
  padding: 42px 48px 36px;
  margin: 30px 0;
  background-color: #6d6d6d;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 250px;
}

.rehab-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(88, 88, 88, 0.66);
  z-index: 1;
}

.rehab-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 1600px;
}

.rehab-cta .rehab-cta__title {
  margin: 0 0 22px;
  color: #fff !important;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
}

.rehab-cta__title span {
  color: #ff3b4a;
  font-weight: 800;
}

.rehab-cta__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 10px 34px;
  margin: 0 auto 28px;
  max-width: 700px;
}

.rehab-cta__item {
  position: relative;
  padding-left: 18px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

.rehab-cta__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff3347;
  font-weight: 800;
}

.rehab-cta__action {
  display: flex;
  justify-content: center;
}

.rehab-cta a.rehab-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 225px;
  height: 48px;
  padding: 0 28px;
  background: #ef3340;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 700;
  border-radius: 3px;
  box-shadow: none;
  transition: .2s ease;
}

.rehab-cta__btn:hover {
  background: #d92b37;
  color: #fff !important;
  text-decoration: none;
}

.rehab-cta__btn:focus {
  color: #fff !important;
  text-decoration: none;
  outline: none;
}

/* tablet */
@media (max-width: 991px) {
  .rehab-cta {
    padding: 34px 28px 30px;
    background-position: center right;
  }

  .rehab-cta__title {
    font-size: 24px;
  }

  .rehab-cta__list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }
}

/* mobile */
@media (max-width: 767px) {
  .rehab-cta {
    padding: 26px 20px 24px;
    min-height: auto;
    background-position: center;
  }

  .rehab-cta__title {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .rehab-cta__list {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 22px;
  }

  .rehab-cta__item {
    font-size: 14px;
  }

  .rehab-cta__btn {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }
}

/* ── Страница политики / правового документа ─────────── */
.section--policy {
  padding: var(--sp-3xl) 0 var(--sp-4xl)
}

.policy-layout {
  max-width: 860px;
  margin: 0 auto
}

.policy-content__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin: var(--sp-lg) 0 var(--sp-sm)
}

.policy-content__updated {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-xl)
}

.policy-content__body {
  line-height: var(--lh);
  color: var(--text-main)
}

.policy-content__body h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin: var(--sp-2xl) 0 var(--sp-md)
}

.policy-content__body h3 {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin: var(--sp-xl) 0 var(--sp-sm)
}

.policy-content__body p,
.policy-content__body li {
  margin-bottom: var(--sp-md)
}

.policy-content__body ul,
.policy-content__body ol {
  padding-left: 1.5em;
  margin-bottom: var(--sp-lg)
}

.policy-content__body a {
  color: var(--brand-color);
  text-decoration: underline
}

.policy-content__body a:hover {
  text-decoration: none
}


/* ════════════════════════════════════════════════════════
   ОБЩИЕ СТИЛИ ФОРМ
   ════════════════════════════════════════════════════════ */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-main)
}

.form-input,
.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  color: var(--text-main);
  background: var(--bg-white);
  transition: border-color .2s
}

.form-input:focus,
.form-control:focus {
  outline: none;
  border-color: var(--brand-color)
}

.form-input--textarea {
  resize: vertical;
  min-height: 100px
}

.form-input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

.form-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0
}

.form-consent a {
  color: var(--brand-color)
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted)
}

/* form-checkbox — Bootstrap-style checkbox wrapper */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

.form-checkbox input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer
}

.form-checkbox__label a {
  color: var(--brand-color)
}

/* Inline validation error */
.form-error {
  display: block;
  font-size: var(--fs-xs, 0.75rem);
  color: var(--color-danger, #D53646);
  margin-top: 4px;
  min-height: 1em
}

/* form-group--checkbox */
.form-group--checkbox .form-error {
  margin-top: 2px
}

.form-status {
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm)
}

.form-status--success {
  background: #e8f5e9;
  color: #2e7d32
}

.form-status--error {
  background: #fdecea;
  color: #c62828
}

.required {
  color: var(--color-accent, #D53646)
}

/* Спиннер кнопки */
.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

button[disabled] .btn__spinner {
  display: inline-block
}

button[disabled] .btn__text {
  opacity: .7
}


/* ════════════════════════════════════════════════════════
   ЭКСПРЕСС-ФОРМА
   ════════════════════════════════════════════════════════ */

.express-form-wrap {
  display: inline-flex;
  flex-direction: column;
  gap: var(--sp-sm)
}

.express-form__title {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-main)
}

.express-form__row {
  display: flex;
  gap: 8px
}

.express-form__input {
  flex: 1;
  min-width: 0
}

.express-form__btn {
  white-space: nowrap;
  flex-shrink: 0
}

.express-form__consent small {
  font-size: 11px;
  color: var(--text-muted)
}

.express-form__consent a {
  color: var(--brand-color)
}

.express-form__status {
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm)
}


/* ════════════════════════════════════════════════════════
   ФОРМА КОНСУЛЬТАЦИИ ПО УСЛУГЕ
   ════════════════════════════════════════════════════════ */

.section--service-consult {
  background: var(--bg-section);
  padding: var(--sp-3xl) 0
}

.service-consult-form-wrap {
  max-width: 780px;
  margin: 0 auto
}

.service-consult-form__header {
  text-align: center;
  margin-bottom: var(--sp-2xl)
}

.service-consult-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg)
}

.form-group--full {
  grid-column: 1 / -1
}

.service-consult-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-top: var(--sp-lg)
}

@media (max-width: 575px) {
  .service-consult-form__fields {
    grid-template-columns: 1fr
  }

  .service-consult-form__footer {
    flex-direction: column;
    align-items: stretch
  }
}


/* ════════════════════════════════════════════════════════
   ФОРМА СООБЩИТЬ ОБ ОШИБКЕ
   ════════════════════════════════════════════════════════ */

.error-report-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
  padding: var(--sp-2xl);
  background: var(--bg-section);
  border-radius: var(--r-lg)
}

.error-report-form__textarea {
  width: 100%;
  min-height: 90px
}

.error-report-form__footer {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-top: var(--sp-md)
}

@media (max-width: 767px) {
  .error-report-box {
    grid-template-columns: 1fr
  }
}


/* ════════════════════════════════════════════════════════
   ФОРМА ОТЗЫВА
   ════════════════════════════════════════════════════════ */

.section--review-form {
  padding: var(--sp-3xl) 0
}

.review-form-wrap {
  max-width: 700px;
  margin: 0 auto
}

.review-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin: var(--sp-xl) 0
}

.review-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md)
}

/* Звёзды рейтинга */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
  justify-content: flex-end
}

.star-rating input[type="radio"] {
  display: none
}

.star-rating label {
  cursor: pointer;
  color: #d1d5db;
  transition: color .15s
}

.star-rating input:checked~label,
.star-rating label:hover,
.star-rating label:hover~label {
  color: #f59e0b
}

@media (max-width: 575px) {
  .review-form__fields {
    grid-template-columns: 1fr
  }

  .review-form__footer {
    flex-direction: column;
    align-items: stretch
  }
}


/* ════════════════════════════════════════════════════════
   ЦИТАТА ЭКСПЕРТА
   ════════════════════════════════════════════════════════ */

.section--expert-quote {
  padding: var(--sp-3xl) 0
}

.expert-quote {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-white);
  border-left: 4px solid var(--brand-color);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--sp-2xl) var(--sp-2xl) var(--sp-xl);
  box-shadow: var(--shadow-sm)
}

.expert-quote__mark {
  color: var(--brand-color);
  opacity: .25;
  margin-bottom: var(--sp-md)
}

.expert-quote__text {
  font-size: var(--fs-lg);
  line-height: 1.7;
  font-style: italic;
  color: var(--text-main);
  margin: 0 0 var(--sp-xl)
}

.expert-quote__caption {
  display: flex;
  align-items: center;
  gap: var(--sp-md)
}

.expert-quote__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0
}

.expert-quote__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.expert-quote__author-name {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--brand-color)
}

.expert-quote__author-pos {
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

.expert-quote__source {
  font-size: 12px;
  color: var(--text-muted);
  font-style: normal
}


/* ════════════════════════════════════════════════════════
   TIMELINE — ЭТАПЫ ЛЕЧЕНИЯ
   ════════════════════════════════════════════════════════ */

.section--timeline {
  padding: var(--sp-3xl) 0
}

.treatment-timeline {
  list-style: none;
  padding: 0;
  margin: var(--sp-2xl) 0 0;
  position: relative
}

.treatment-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand-color);
  opacity: .2
}

.treatment-timeline__item {
  display: flex;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-2xl);
  position: relative
}

.treatment-timeline__item:last-child {
  padding-bottom: 0
}

.treatment-timeline__marker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--brand-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  position: relative;
  z-index: 1
}

.treatment-timeline__icon {
  font-size: 18px;
  line-height: 1
}

.treatment-timeline__body {
  padding-top: 8px
}

.treatment-timeline__date {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand-color);
  margin-bottom: 4px
}

.treatment-timeline__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin: 0 0 var(--sp-sm)
}

.treatment-timeline__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh)
}

@media (min-width: 768px) {
  .treatment-timeline::before {
    left: 24px
  }

  .treatment-timeline__marker {
    width: 48px;
    height: 48px;
    font-size: var(--fs-base)
  }
}


/* ════════════════════════════════════════════════════════
   КЛИНИЧЕСКИЕ СЛУЧАИ (archive + single)
   ════════════════════════════════════════════════════════ */

.section--cases-hero {
  background: var(--bg-section);
  padding: var(--sp-3xl) 0 var(--sp-2xl)
}

.page-hero--simple .page-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin: var(--sp-md) 0 var(--sp-sm)
}

.page-hero--simple .page-hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 680px
}

.section--cases-grid {
  padding: var(--sp-3xl) 0
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-xl)
}

.case-card {
  background: var(--bg-white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition)
}

.case-card:hover {
  box-shadow: var(--shadow-md)
}

.case-card__thumb-link {
  display: block
}

.case-card__thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block
}

.case-card__body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  flex: 1
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-sm)
}

.case-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-section);
  color: var(--text-muted)
}

.case-card__badge--secondary {
  background: var(--brand-color);
  color: #fff;
  opacity: .85
}

.case-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin: 0 0 var(--sp-sm);
  line-height: 1.4
}

.case-card__title a {
  color: inherit
}

.case-card__title a:hover {
  color: var(--brand-color)
}

.case-card__diagnosis {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-sm)
}

.case-card__result {
  font-size: var(--fs-sm);
  color: var(--text-main);
  flex: 1;
  margin-bottom: var(--sp-lg)
}

.cases-empty {
  text-align: center;
  color: var(--text-muted);
  padding: var(--sp-4xl) 0
}

/* Single case */
.section--case-hero {
  background: var(--bg-section);
  padding: var(--sp-3xl) 0 var(--sp-2xl)
}

.case-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-md)
}

.case-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
  background: rgba(255, 255, 255, .9);
  color: var(--text-muted);
  border: 1px solid var(--border-light)
}

.case-hero__badge--duration {
  color: var(--brand-color);
  border-color: var(--brand-color)
}

.case-hero__badge--service {
  color: #fff;
  background: var(--brand-color);
  border-color: transparent
}

.case-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  margin: 0 0 var(--sp-md)
}

.case-hero__diagnosis {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-bottom: var(--sp-xl)
}

.case-hero__doctor {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-top: var(--sp-xl)
}

.case-hero__doctor-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover
}

.case-hero__doctor-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted)
}

.case-hero__doctor-name {
  font-weight: 700;
  color: var(--brand-color)
}

.case-hero__doctor-pos {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

/* Результат */
.section--case-result {
  padding: var(--sp-2xl) 0
}

.case-result-box {
  display: flex;
  gap: var(--sp-xl);
  align-items: flex-start;
  background: #e8f5e9;
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  color: #1b5e20
}

.case-result-box__icon {
  flex-shrink: 0;
  color: #2e7d32
}

.case-result-box__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin: 0 0 var(--sp-sm)
}

.case-result-box__text {
  font-size: var(--fs-base);
  line-height: var(--lh);
  margin: 0
}

.section--case-content {
  padding: var(--sp-3xl) 0
}

.case-content {
  max-width: 780px;
  margin: 0 auto
}


/* ════════════════════════════════════════════════════════
   РЕЙТИНГИ КЛИНИКИ
   ════════════════════════════════════════════════════════ */

.clinic-ratings {
  margin: var(--sp-2xl) 0
}

.clinic-ratings__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--sp-xl)
}

/* Сводная оценка */
.clinic-ratings__summary {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  justify-content: center;
  margin-bottom: var(--sp-xl)
}

.clinic-ratings__agg-score {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--brand-color)
}

.clinic-ratings__stars {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 4px
}

.star--full {
  color: #f59e0b
}

.star--half {
  color: #f59e0b;
  opacity: .6
}

.star--empty {
  color: #d1d5db
}

.clinic-ratings__rev-count {
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

/* Сетка карточек */
.clinic-ratings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-md)
}

.clinic-ratings--horizontal .clinic-ratings__grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr))
}

.clinic-ratings--compact .clinic-ratings__grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--sp-sm)
}

/* Карточка одного рейтинга */
.clinic-rating-card {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  transition: border-color var(--transition), box-shadow var(--transition)
}

.clinic-rating-card:hover {
  border-color: var(--brand-color);
  box-shadow: var(--shadow-sm)
}

.clinic-rating-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center
}

.clinic-rating-card__body {
  flex: 1;
  min-width: 0
}

.clinic-rating-card__name {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

a.clinic-rating-card__name:hover {
  color: var(--brand-color)
}

.clinic-rating-card__score {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2
}

.clinic-rating-card__score strong {
  color: var(--brand-color)
}

.clinic-rating-card__star {
  color: #f59e0b;
  font-size: var(--fs-base)
}

.clinic-rating-card__count {
  font-size: 11px;
  color: var(--text-muted)
}

.clinic-rating-card__link {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--transition)
}

.clinic-rating-card__link:hover {
  color: var(--brand-color)
}

@media (max-width: 575px) {
  .clinic-ratings__agg-score {
    font-size: 40px
  }

  .clinic-ratings__grid {
    grid-template-columns: 1fr 1fr
  }
}


/* ════════════════════════════════════════════════════════
   НАУЧНЫЕ ДОКАЗАТЕЛЬСТВА
   ════════════════════════════════════════════════════════ */

.section--scientific-evidence {
  padding: var(--sp-3xl) 0;
  background: var(--bg-section)
}

/* Легенда */
.evidence-legend {
  margin: var(--sp-xl) 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md)
}

.evidence-legend__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: var(--sp-md) var(--sp-lg);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-color);
  list-style: none;
  user-select: none
}

.evidence-legend__toggle::-webkit-details-marker {
  display: none
}

.evidence-legend__body {
  padding: var(--sp-md) var(--sp-lg) var(--sp-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-xl)
}

.evidence-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

/* Бейдж уровня */
.evidence-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  background: color-mix(in srgb, var(--ev-color, #666) 15%, transparent);
  color: var(--ev-color, #666);
  border: 1px solid color-mix(in srgb, var(--ev-color, #666) 40%, transparent);
  white-space: nowrap
}

/* Список утверждений */
.scientific-evidence-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md)
}

.evidence-item {
  display: flex;
  gap: var(--sp-lg);
  background: var(--bg-white);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  align-items: flex-start;
  box-shadow: var(--shadow-sm)
}

.evidence-item__level {
  flex-shrink: 0;
  padding-top: 2px
}

.evidence-item__body {
  flex: 1
}

.evidence-item__claim {
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 var(--sp-sm)
}

.evidence-item__source {
  font-size: var(--fs-sm)
}

.evidence-item__study-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-color);
  text-decoration: underline;
  text-underline-offset: 2px
}

.evidence-item__study-link:hover {
  text-decoration: none
}

.evidence-item__study-name {
  color: var(--text-muted)
}

.evidence-item__year {
  color: var(--text-muted);
  font-style: italic
}

.evidence-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: var(--sp-xl);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  border-left: 3px solid var(--border-light);
  padding-left: var(--sp-md)
}

/* Fallback для браузеров без color-mix */
.evidence-badge {
  background: rgba(0, 0, 0, .08);
  border-color: rgba(0, 0, 0, .2)
}


/* ═══ DOCTOR PROFILE — extended ═══ */
.doctor-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-lg);
  margin-bottom: var(--sp-lg)
}

.doctor-profile__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

.doctor-profile__bio {
  margin-bottom: var(--sp-lg)
}

.doctor-profile__expertise {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-lg)
}

.doctor-profile__expertise-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  white-space: nowrap
}

@media (max-width: 498px) {
  span.doctor-profile__expertise-tag {
    white-space: normal;
    padding-left: 19px;
    padding-right: 19px;
  }
}

.doctor-profile__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg)
}

.doctor-profile__social-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--brand-color);
  text-decoration: none;
  border: 1px solid var(--brand-color-light, #c7dff7);
  border-radius: var(--r-md);
  padding: 4px 10px;
  transition: background var(--transition), color var(--transition)
}

.doctor-profile__social-link:hover {
  background: var(--brand-color);
  color: #fff
}

/* External ratings under photo */
.doctor-ratings {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  margin-top: var(--sp-md)
}

.doctor-rating-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 8px 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  font-size: var(--fs-sm);
  transition: box-shadow var(--transition)
}

.doctor-rating-badge:hover {
  box-shadow: var(--shadow-md)
}

.doctor-rating-badge__icon {
  font-size: 1.1em
}

.doctor-rating-badge__platform {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary)
}

.doctor-rating-badge__score {
  color: var(--accent-color, #f5a623);
  font-weight: 700
}

.doctor-rating-badge__count {
  color: var(--text-muted);
  font-size: var(--fs-xs, 0.75rem)
}

/* Doctor facts section */
.section--doctor-facts {
  background: var(--bg-section);
  padding: var(--sp-3xl) 0
}

.doctor-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-xl)
}

.doctor-facts-card {
  background: var(--bg-white);
  border-radius: var(--r-sm);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-sm)
}

.doctor-facts-card__title {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-lg);
  color: var(--brand-color)
}

.doctor-facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm)
}

.doctor-facts-list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm)
}

.doctor-facts-list__year {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 600;
  min-width: 36px
}

.doctor-facts-list__text {
  color: var(--text-secondary)
}

/* Certificates section */
.section--certificates {
  padding: var(--sp-3xl) 0
}

/* Publications section */
.section--publications {
  padding: var(--sp-3xl) 0
}

.publications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg)
}

.publications-list__item {
  display: flex;
  gap: var(--sp-sm);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--border-light)
}

.publications-list__item:last-child {
  border-bottom: none
}

.publications-list__num {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  min-width: 28px;
  padding-top: 2px
}

.publications-list__body {
  min-width: 0
}

.publications-list__title {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: var(--sp-xs)
}

a.publications-list__title {
  color: var(--brand-color)
}

a.publications-list__title:hover {
  text-decoration: underline
}

.publications-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--text-muted)
}

.publications-list__year {
  font-weight: 600
}

/* Doctor appointment form section */
.section--doctor-appoint,
.section--doctor-appointment {
  background: linear-gradient(135deg, #1a2f4e 0%, #2E2751 100%);
  padding: var(--sp-3xl, 56px) 0;
}

.doctor-appoint {
  display: grid;
  gap: 48px;
  align-items: center;
}

/* Левая колонка — текст на тёмном фоне */
.doctor-appoint__text {
  color: #fff;
}

.doctor-appoint__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.25;
}

.doctor-appoint__subtitle {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.6;
}

.doctor-appoint__guarantees {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-appoint__guarantees li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .9);
  font-size: .95rem;
}

.doctor-appoint__guarantees li::before {
  content: '';
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 165, 91, .2);
  border: 1.5px solid #22a55b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322a55b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
  flex-shrink: 0;
}

/* Правая колонка — карточка формы */
.doctor-appoint-form {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor-appoint-form .form-label {
  font-weight: 600;
  font-size: .85rem;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

.doctor-appoint-form .form-label span[aria-hidden] {
  color: #D53646;
}

.doctor-appoint-form .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  color: #111827;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
}

.doctor-appoint-form .form-control:focus {
  border-color: #2B7094;
  box-shadow: 0 0 0 3px rgba(43, 112, 148, .12);
}

.doctor-appoint-form .form-control::placeholder {
  color: #9ca3af;
}

.doctor-appoint-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.doctor-appoint-form .form-error {
  font-size: .78rem;
  color: #D53646;
  margin-top: 4px;
  min-height: 1em;
}

.doctor-appoint-form .form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.doctor-appoint-form .form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: #2B7094;
  cursor: pointer;
}

.doctor-appoint-form .form-checkbox__label {
  font-size: .85rem;
  color: #6b7280;
  line-height: 1.5;
}

.doctor-appoint-form .form-checkbox__label a {
  color: #2B7094;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doctor-appoint-form__submit {
  margin-top: 4px;
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: 8px;
}

.doctor-appoint-form__success {
  text-align: center;
  padding: 24px 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* показывается только когда hidden убран через JS */
.doctor-appoint-form__success:not([hidden]) {
  display: flex;
}

.doctor-appoint-form__success p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

@media (min-width: 768px) {
  .doctor-appoint {
    grid-template-columns: 1fr 420px;
  }
}

@media (max-width: 767px) {
  .doctor-appoint-form {
    padding: 24px 20px;
  }
}


@media (min-width:768px) {
  .doctor-profile__grid {
    grid-template-columns: 340px 1fr
  }

  .certificates-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (min-width:1200px) {
  .certificates-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}


/* ═══════════════════════════════════════════════════════
   POLICY PAGES
   ═══════════════════════════════════════════════════════ */
.policy-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-lg);
  align-items: start
}

@media (max-width: 991px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }
}

.policy-sidebar__card {
  background: var(--color-bg-light, #f8f9fa);
  border-radius: var(--radius-md, 12px);
  padding: var(--sp-md);
  margin-bottom: var(--sp-sm)
}

.policy-sidebar__card h3 {
  margin: 0 0 .75rem;
  font-size: 1rem
}

.policy-sidebar__links {
  list-style: none;
  margin: 0;
  padding: 0
}

.policy-sidebar__links li {
  margin-bottom: .5rem
}

.policy-sidebar__links a {
  color: var(--color-primary);
  text-decoration: none
}

.policy-sidebar__links a:hover {
  text-decoration: underline
}


/* ═══════════════════════════════════════════════════════
   FOOTER — Legal & Policies
   ═══════════════════════════════════════════════════════ */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding: var(--sp-sm) 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .85rem;
  opacity: .8
}

.footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding: var(--sp-xs) 0 var(--sp-sm);
  font-size: .85rem
}

.footer__policies a {
  color: inherit;
  opacity: .7;
  text-decoration: none
}

.footer__policies a:hover {
  opacity: 1;
  text-decoration: underline
}


/* ═══════════════════════════════════════════════════════
   HEADER — License Badge
   ═══════════════════════════════════════════════════════ */
.header__license-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 100px;
  color: var(--color-primary);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, color .2s
}

.header__license-badge svg {
  width: 27px;
  height: auto;
  flex-shrink: 0
}

@media (max-width: 991px) {
  .header__license-badge {
    display: none
  }
}


/* ═══════════════════════════════════════════════════════
   DRUG WARNING
   ═══════════════════════════════════════════════════════ */
.drug-warning {
  margin-bottom: var(--sp-md)
}

.drug-warning__box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid #dc3232;
  background: #fff5f5;
  border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0
}

.drug-warning__icon {
  flex-shrink: 0;
  color: #dc3232;
  margin-top: 2px
}

.drug-warning__title {
  margin: 0 0 .5rem;
  font-size: .95rem
}

.drug-warning__text {
  margin: 0 0 .5rem;
  font-size: .9rem;
  color: #555
}

.drug-warning__hotline {
  margin: 0;
  font-size: .9rem
}

.drug-warning__hotline a {
  color: var(--color-primary);
  font-weight: 700
}


/* ═══════════════════════════════════════════════════════
   TABLE OF CONTENTS (TOC)
   ═══════════════════════════════════════════════════════ */
.toc {
  margin-bottom: var(--sp-md)
}

.toc__box {
  background: var(--color-bg-light, #f8f9fa);
  border-radius: var(--radius-md, 12px);
  padding: 1.5rem 2rem
}

.toc__title {
  margin: 0 0 1rem;
  font-size: 1.15rem
}

.toc__list {
  margin: 0;
  padding-left: 1.25rem
}

.toc__item {
  margin-bottom: .5rem;
  font-size: .95rem
}

.toc__item--h3 {
  margin-left: 1.25rem;
  font-size: .9rem
}

.toc__link {
  color: var(--color-text, #333);
  text-decoration: none;
  border-bottom: 1px dashed transparent
}

.toc__link:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary)
}


/* ═══════════════════════════════════════════════════════
   EDITORIAL POLICY LINK
   ═══════════════════════════════════════════════════════ */
.editorial-policy-link {
  padding: var(--sp-sm) 0
}

.editorial-policy-link__text {
  margin: 0;
  font-size: .9rem;
  color: #666
}

.editorial-policy-link__text a {
  color: var(--color-primary);
  text-decoration: underline
}


/* ═══════════════════════════════════════════════════════
   EVIDENCE LEVEL
   ═══════════════════════════════════════════════════════ */
.evidence-box {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border: 1px solid #d0e3f7;
  border-radius: var(--radius-md, 12px);
  padding: 1.5rem 2rem
}

.evidence-box__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem
}

.evidence-box__icon {
  color: #3b82f6;
  flex-shrink: 0
}

.evidence-box__title {
  margin: 0;
  font-size: 1.15rem
}

.evidence-box__level {
  margin-bottom: 1rem
}

.evidence-box__label {
  font-size: .9rem;
  color: #555
}

.evidence-box__value {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  margin-left: .5rem;
  background: #e0f0e0;
  color: #1e7a1e
}

.evidence-box__value--b-umerennyj-kogortnye-issledovaniya {
  background: #fff3cd;
  color: #856404
}

.evidence-box__value--c-nizkij-opisaniya-sluchaev-ekspertnoe-mnenie {
  background: #fde2e2;
  color: #b91c1c
}

.evidence-box__subtitle {
  margin: 1rem 0 .5rem;
  font-size: 1rem
}

.evidence-box__list {
  margin: 0;
  padding-left: 1.25rem
}

.evidence-box__list li {
  margin-bottom: .5rem;
  font-size: .9rem
}

.evidence-box__list a {
  color: var(--color-primary)
}


/* ═══════════════════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding: 1rem 0
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-primary, #d53646);
  transform: translateX(-50%)
}

.timeline__item {
  position: relative;
  display: flex;
  margin-bottom: 2rem;
  width: 50%
}

.timeline__item--left {
  justify-content: flex-end;
  padding-right: 2.5rem
}

.timeline__item--right {
  margin-left: 50%;
  padding-left: 2.5rem
}

.timeline__marker {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary, #d53646);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-primary, #d53646);
  z-index: 1
}

.timeline__item--left .timeline__marker {
  right: -7px
}

.timeline__item--right .timeline__marker {
  left: -7px
}

.timeline__content {
  background: var(--color-bg-light, #f8f9fa);
  border-radius: var(--radius-md, 12px);
  padding: 1.25rem 1.5rem;
  max-width: 400px
}

.timeline__year {
  display: inline-block;
  padding: .2rem .6rem;
  background: var(--color-primary, #d53646);
  color: #fff;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .5rem
}

.timeline__title {
  margin: 0 0 .5rem;
  font-size: 1rem
}

.timeline__text {
  margin: 0;
  font-size: .9rem;
  color: #555
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem
  }

  .timeline__item,
  .timeline__item--left,
  .timeline__item--right {
    width: 100%;
    margin-left: 0;
    padding-left: 3rem;
    padding-right: 0;
    justify-content: flex-start
  }

  .timeline__item--left .timeline__marker,
  .timeline__item--right .timeline__marker {
    left: calc(1rem - 7px);
    right: auto
  }

  .timeline__content {
    max-width: 100%
  }
}


/* ═══════════════════════════════════════════════════════
   CALCULATOR
   ═══════════════════════════════════════════════════════ */

/* Wrapper */
.calc-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 var(--sp-lg)
}

/* Progress bar */
.calc-progress {
  margin-bottom: 2rem
}

.calc-progress__bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: .75rem
}

.calc-progress__fill {
  height: 100%;
  background: var(--color-primary, #d53646);
  border-radius: 3px;
  transition: width .4s ease
}

.calc-progress__steps {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-bottom: .5rem
}

.calc-progress__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #999;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s
}

.calc-progress__dot.is-active {
  background: var(--color-primary, #d53646);
  color: #fff
}

.calc-progress__dot.is-done {
  background: #10b981;
  color: #fff
}

.calc-progress__label {
  text-align: center;
  font-size: .9rem;
  color: #666;
  margin: 0
}

/* Step */
.calc-step {
  display: none;
  animation: calcFadeIn .3s ease
}

.calc-step.is-active {
  display: block
}

@keyframes calcFadeIn {
  from {
    opacity: 0;
    transform: translateX(20px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.calc-step__title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem
}

/* Cards grid */
.calc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem
}

/* Card */
.calc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  font-family: inherit;
  font-size: .95rem;
  color: var(--color-text, #333);
  line-height: 1.35
}

.calc-card:hover {
  border-color: var(--color-primary, #d53646);
  box-shadow: 0 4px 16px rgba(213, 54, 70, .15);
  transform: translateY(-2px)
}

.calc-card.is-selected {
  border-color: var(--brand-color);
  box-shadow: 0 16px 40px rgba(31, 58, 95, 0.12);
}

.calc-card.is-selected::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(220, 54, 70, 0.12);
}

.calc-card__icon {
  font-size: 2rem;
  line-height: 1
}

.calc-card__label {
  font-weight: 600
}

.calc-card__label small {
  display: block;
  font-weight: 400;
  color: #888;
  font-size: .8rem;
  margin-top: .2rem
}

/* Nav */
.calc-nav {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem
}

/* Result */
.calc-result {
  animation: calcFadeIn .4s ease
}

.calc-result__inner {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 60%);
  border: 2px solid var(--color-primary, #d53646);
  border-radius: var(--radius-lg, 16px);
  padding: 2.5rem 2rem;
  text-align: center
}

.calc-result__icon {
  font-size: 3rem;
  margin-bottom: .75rem
}

.calc-result__title {
  margin: 0 0 1.25rem;
  font-size: 1.4rem
}

.calc-result__price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .4rem;
  margin-bottom: .75rem
}

.calc-result__price-from {
  font-size: 1.1rem;
  color: #888
}

.calc-result__price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-primary, #d53646)
}

.calc-result__price-sep {
  font-size: 1.5rem;
  color: #888
}

.calc-result__price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #555
}

.calc-result__note {
  color: #555;
  font-size: .95rem;
  margin-bottom: 1.5rem
}

.calc-result__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(180deg, rgba(220, 54, 70, .12), rgba(220, 54, 70, .04));
  color: var(--accent);

  box-shadow: 0 10px 30px rgba(220, 54, 70, .12);
}

.calc-result__icon svg {
  width: 32px;
  height: 32px;
}

.calc-result__trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 18px;
}

.calc-result__trust-chip {
  background: #eef3fb;
  border: 1px solid rgba(31, 58, 95, 0.12);
  color: var(--brand-color);

  font-weight: 600;
  font-size: 14px;

  padding: 8px 14px;
  border-radius: 999px;

  transition: .2s;
}

.calc-result__trust-chip:hover {
  background: rgba(95, 168, 211, 0.2);
}

@media (max-width: 767px) {
  .calc-result__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .calc-result__icon svg {
    width: 28px;
    height: 28px;
  }

  .calc-result__trust-chips {
    gap: 8px;
    margin: 14px 0 16px;
  }

  .calc-result__trust-chip {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 13px;
  }
}

.calc-result__pretitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.calc-result__summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 24px;
}

.calc-result__summary span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef3fb;
  border: 1px solid rgba(31, 58, 95, 0.08);
  color: var(--brand-color);
  font-size: 14px;
  font-weight: 600;
}

.calc-result__price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.calc-result__price-wrap {
  margin: 10px 0 10px;
}

.calc-result__trust-chip {
  background: rgba(95, 168, 211, 0.12);
  border: 1px solid rgba(95, 168, 211, 0.25);
  color: var(--brand-color);

  font-weight: 600;
  font-size: 14px;

  padding: 8px 14px;
  border-radius: 999px;

  transition: .2s;
}

.calc-result__trust-chip:hover {
  background: rgba(95, 168, 211, 0.2);
}

.calc-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem
}

.calc-result__btn-call {
  box-shadow: 0 10px 25px rgba(220, 54, 70, 0.25);
  transition: all .25s ease;
}

.calc-result__btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(220, 54, 70, 0.35);
}

/* Form inside result */
.calc-result__form {
  background: #f8f9fa;
  border-radius: var(--radius-md, 12px);
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
  text-align: left
}

.calc-result__form-title {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  text-align: center
}

.calc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem
}

.calc-form__group {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.calc-form__group label {
  font-size: .9rem;
  font-weight: 600;
  color: #444
}

.calc-form__group input {
  padding: .65rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius-sm, 8px);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s
}

.calc-form__group input:focus {
  outline: none;
  border-color: var(--color-primary, #d53646)
}

.calc-form__consent {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  color: #555
}

.calc-form__consent a {
  color: var(--color-primary);
  text-decoration: underline
}

.calc-form__submit {
  width: 100%
}

.calc-form__status {
  margin-top: .75rem;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm, 8px);
  font-size: .9rem
}

.calc-form__status--success {
  background: #d1fae5;
  color: #065f46
}

.calc-form__status--error {
  background: #fee2e2;
  color: #991b1b
}

.calc-form__anon {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: .75rem 0 0;
  font-size: .8rem;
  color: #888;
  justify-content: center
}

/* Restart */
.calc-result__restart {
  background: none;
  border: none;
  color: #888;
  font-size: .85rem;
  cursor: pointer;
  padding: 0;
  margin-top: 1rem;
  text-decoration: underline
}

.calc-result__restart:hover {
  color: var(--color-primary)
}

/* Trust strip */
.calc-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb
}

.calc-trust__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 600;
  color: #444
}

.calc-trust__item svg {
  color: var(--color-primary, #d53646);
  flex-shrink: 0
}

/* Mobile */
@media (max-width: 600px) {
  .calc-cards {
    grid-template-columns: 1fr 1fr
  }

  .calc-step__title {
    font-size: 1.15rem
  }

  .calc-form__row {
    grid-template-columns: 1fr
  }

  .calc-result__price {
    font-size: 1.9rem
  }

  .calc-result__inner {
    padding: 1.5rem 1rem
  }

  .calc-result__form {
    padding: 1rem
  }
}

.calc-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--bg-light-blue);
  color: var(--brand-color);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .25s ease, color .25s ease, background-color .25s ease;
}

.calc-card__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.calc-card:hover .calc-card__icon,
.calc-card.is-selected .calc-card__icon {
  color: var(--accent);
  background: rgba(220, 54, 70, 0.08);
  transform: scale(1.06);
}

.hero--audit {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1f3a5f 0%, #262273 100%);
  color: #fff;
  padding: 56px 0 72px;
}

.hero--audit .hero_bg_shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/wp-content/themes/rehab-theme/assets/img/hero-21rehab-shape.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: .9;
}

.section--page-hero.hero--audit .section__title {
  color: #fff;
}

.hero--audit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(31, 58, 95, .94) 0%,
      rgba(31, 58, 95, .72) 48%,
      rgba(31, 58, 95, .30) 100%);
  z-index: 0;
}

.hero--audit .container {
  position: relative;
  z-index: 1;
}

.hero-audit {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.hero-audit__content {
  max-width: 640px;
}

.hero--audit .section__title {
  max-width: 620px;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
}

.hero--audit .section__text {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .88);
}

.hero-audit__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-audit__badges span {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hero-audit__trust {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}

.hero-audit__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  max-width: 360px;
  height: 60px;
  margin-top: 24px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(220, 54, 70, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-audit__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(220, 54, 70, .35);
}

.hero-audit__microcopy {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .78);
}

.hero-audit__doctor {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
}

.hero-audit__doctor::before {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%);
  z-index: 1;
}

.hero-audit__doctor::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 240px;
  height: 38px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .32), transparent 70%);
  filter: blur(10px);
  z-index: 1;
}

.hero-audit__doctor img {
  position: relative;
  z-index: 2;
  max-height: 470px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .25));
}

.hero-audit__doctor-info {
  position: absolute;
  left: -28px;
  bottom: 54px;
  z-index: 3;
  max-width: 320px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(10, 21, 45, .72);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  color: #fff;
}

.hero-audit__doctor-info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-audit__doctor-info span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  opacity: .95;
}

.hero-audit__doctor-info small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: .8;
}

.hero--audit .breadcrumbs,
.hero--audit .breadcrumbs a,
.hero--audit .breadcrumbs span {
  color: rgba(255, 255, 255, .72);
}

.hero--audit .breadcrumbs a:hover {
  color: #fff;
}

@media (max-width: 1199px) {
  .hero-audit {
    grid-template-columns: 1fr .9fr;
    gap: 24px;
  }

  .hero-audit__doctor-info {
    left: -10px;
  }
}

@media (max-width: 991px) {
  .hero--audit {
    padding: 44px 0 56px;
  }

  .hero-audit {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .hero-audit__content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero--audit .section__title,
  .hero--audit .section__text {
    max-width: 100%;
  }

  .hero-audit__badges,
  .hero-audit__trust {
    justify-content: center;
  }

  .hero-audit__cta {
    min-width: 0;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-audit__doctor {
    order: -1;
  }

  .hero-audit__doctor img {
    max-height: 360px;
  }

  .hero-audit__doctor-info {
    left: 50%;
    transform: translateX(-50%);
    bottom: 28px;
    width: calc(100% - 32px);
    max-width: 320px;
  }
}

@media (max-width: 575px) {
  .hero--audit {
    padding: 36px 0 48px;
  }

  .hero--audit .section__title {
    font-size: 34px;
  }

  .hero--audit .section__text {
    font-size: 16px;
  }

  .hero-audit__badges {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-audit__badges span {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-audit__trust,
  .hero-audit__microcopy {
    font-size: 13px;
  }

  .hero-audit__doctor img {
    max-height: 300px;
  }

  .hero-audit__doctor-info {
    padding: 14px 16px;
  }

  .hero-audit__doctor-info strong {
    font-size: 15px;
  }

  .hero-audit__doctor-info span {
    font-size: 13px;
  }

  .hero-audit__doctor-info small {
    font-size: 12px;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero--has-bg {
  color: var(--page-hero-text, #fff);
}

.page-hero--has-bg .container {
  position: relative;
  z-index: 1;
}

.page-hero--height-auto {
  padding: 42px 0 48px;
}

.page-hero--height-small {
  min-height: 200px;
  padding: 36px 0;
  display: flex;
  align-items: center;
}

.page-hero--height-medium {
  min-height: 350px;
  padding: 56px 0;
  display: flex;
  align-items: center;
}

.page-hero--height-large {
  min-height: 500px;
  padding: 72px 0;
  display: flex;
  align-items: center;
}

.page-hero--height-fullscreen {
  min-height: 100vh;
  padding: 72px 0;
  display: flex;
  align-items: center;
}

/* DEFAULT HERO */
.page-hero__inner--default {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.page-hero__content {
  max-width: 760px;
}

.page-hero__actions,
.page-hero__side {
  margin-top: 20px;
}

.page-hero__inner--default.has-right-button .page-hero__actions {
  display: none;
}

/* DOCTOR HERO */
.page-hero--doctor {
  background: linear-gradient(135deg, #1f3a5f 0%, #262273 100%);
  color: #fff;
  padding: 56px 0 72px;
}

.page-hero--doctor .hero_bg_shape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/wp-content/themes/rehab-theme/assets/img/hero-21rehab-shape.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: .9;
}

.page-hero--doctor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(31, 58, 95, .94) 0%,
      rgba(31, 58, 95, .72) 48%,
      rgba(31, 58, 95, .30) 100%);
  z-index: 0;
}

.hero-calc__cta {
  width: 100%;
  max-width: 285px;
}

.page-hero--doctor .container {
  position: relative;
  z-index: 1;
}

.page-hero--doctor .section__title,
.page-hero--doctor h1 {
  color: #fff !important;
}

.page-hero--doctor .section__text {
  color: rgba(255, 255, 255, .88);
}

.hero-page-doctor {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.hero-page-doctor__content {
  max-width: 640px;
}

.page-hero--doctor .section__title {
  max-width: 620px;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 18px;
}

.page-hero--doctor .section__text {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.hero-page-doctor__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-page-doctor__badges span {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hero-page-doctor__trust {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}

.hero-page-doctor__actions {
  margin-top: 24px;
}

.hero-page-doctor__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  max-width: 360px;
  height: 60px;
  padding: 0 28px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(220, 54, 70, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-page-doctor__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(220, 54, 70, .35);
}

.hero-page-doctor__microcopy {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .78);
}

.hero-page-doctor__doctor {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
}

.hero-page-doctor__doctor::before {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%);
  z-index: 1;
}

.hero-page-doctor__doctor::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 240px;
  height: 38px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .32), transparent 70%);
  filter: blur(10px);
  z-index: 1;
}

.hero-page-doctor__doctor img {
  position: relative;
  z-index: 2;
  max-height: 470px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .25));
}

.hero-page-doctor__doctor-info {
  position: absolute;
  left: -28px;
  bottom: 54px;
  z-index: 3;
  max-width: 320px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(10, 21, 45, .72);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  color: #fff;
}

.hero-page-doctor__doctor-info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.hero-page-doctor__doctor-info span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  opacity: .95;
}

.hero-page-doctor__doctor-info small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: .8;
}

.page-hero--doctor .breadcrumbs,
.page-hero--doctor .breadcrumbs a,
.page-hero--doctor .breadcrumbs span {
  color: rgba(255, 255, 255, .72);
}

.page-hero--doctor .breadcrumbs a:hover {
  color: #fff;
}

/* BG TYPE: COLOR */
.page-hero[style*="--page-hero-bg"] {
  background-color: var(--page-hero-bg, #1f3a5f);
  color: var(--page-hero-text, #fff);
}

.page-hero[style*="--page-hero-bg"] .section__title,
.page-hero[style*="--page-hero-bg"] .section__text,
.page-hero[style*="--page-hero-bg"] .breadcrumbs,
.page-hero[style*="--page-hero-bg"] .breadcrumbs a,
.page-hero[style*="--page-hero-bg"] .breadcrumbs span {
  color: var(--page-hero-text, #fff);
}

/* BG TYPE: IMAGE */
.page-hero[style*="background-image"] {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--page-hero-text, #fff);
}

.page-hero[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--page-hero-overlay, .5));
  z-index: 0;
}

.page-hero[style*="background-image"] .section__title,
.page-hero[style*="background-image"] .section__text,
.page-hero[style*="background-image"] .breadcrumbs,
.page-hero[style*="background-image"] .breadcrumbs a,
.page-hero[style*="background-image"] .breadcrumbs span {
  color: var(--page-hero-text, #fff);
}

@media (max-width: 1199px) {
  .hero-page-doctor {
    grid-template-columns: 1fr .9fr;
    gap: 24px;
  }

  .hero-page-doctor__doctor-info {
    left: -10px;
  }
}

@media (max-width: 991px) {
  .page-hero__inner--default {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero__side {
    width: 100%;
  }

  .page-hero__side .btn,
  .page-hero__actions .btn {
    width: 100%;
  }

  .page-hero--doctor {
    padding: 44px 0 56px;
  }

  .hero-page-doctor {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .hero-page-doctor__content {
    max-width: 100%;
    margin: 0 auto;
  }

  .page-hero--doctor .section__title,
  .page-hero--doctor .section__text {
    max-width: 100%;
  }

  .hero-page-doctor__badges {
    justify-content: center;
  }

  .hero-page-doctor__cta {
    min-width: 0;
    width: 100%;
    max-width: 360px;
  }

  .hero-page-doctor__doctor {
    order: -1;
  }

  .hero-page-doctor__doctor img {
    max-height: 360px;
  }

  .hero-page-doctor__doctor-info {
    left: 50%;
    transform: translateX(-50%);
    bottom: 28px;
    width: calc(100% - 32px);
    max-width: 320px;
  }
}

@media (max-width: 575px) {
  .page-hero--doctor {
    padding: 36px 0 48px;
  }

  .page-hero--doctor .section__title {
    font-size: 34px;
  }

  .page-hero--doctor .section__text {
    font-size: 16px;
  }

  .hero-page-doctor__badges {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-page-doctor__badges span {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .hero-page-doctor__trust,
  .hero-page-doctor__microcopy {
    font-size: 13px;
  }

  .hero-page-doctor__doctor img {
    max-height: 300px;
  }

  .hero-page-doctor__doctor-info {
    padding: 14px 16px;
  }

  .hero-page-doctor__doctor-info strong {
    font-size: 15px;
  }

  .hero-page-doctor__doctor-info span {
    font-size: 13px;
  }

  .hero-page-doctor__doctor-info small {
    font-size: 12px;
  }
}

#audit-test.is-result .audit-question,
#audit-test.is-result .audit-progress {
  display: none !important;
}

#audit-test .audit-result[hidden] {
  display: none !important;
}

#audit-test.is-result .audit-result {
  display: block !important;
}

/* ── Doctor Profile Hero: admin-configurable bg & height ── */
.doctor-profile--h-medium {
  min-height: 450px;
}

.doctor-profile--h-large {
  min-height: 600px;
}

.doctor-profile.hero--has-overlay {
  background: var(--hero-bg) center/cover no-repeat;
}

.doctor-profile__intro {
  font-size: 1.05rem;
  color: inherit;
  margin: 8px 0 16px;
  opacity: .9;
}

.hero__svg-layer {
  position: absolute;
  inset: 0;
  background: var(--hero-svg) center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero--has-svg .hero__svg-layer {
  z-index: 0;
}

.hero--has-svg>*:not(.hero__svg-layer) {
  position: relative;
  z-index: 2;
}

.hero--page+.section {
  padding-top: var(--sp-2xl);
}