/* ============================================================
   ЦЕННОСТЬ ЖИЗНИ — PAGES.CSS
   Стили для конкретных секций и страниц
   ============================================================ */

/* ══════════════════════════════════════
   HERO — ГЛАВНАЯ
   ══════════════════════════════════════ */
.hero {
  position: relative;
  background: #eef5f3;
  color: var(--text);
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(246,249,247,.88) 0%, rgba(246,249,247,.7) 44%, rgba(246,249,247,.42) 100%),
    url('/images/hero-hospital-bg-1600.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(199,212,0,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--lime-dark);
  margin-bottom: 20px;
}
.hero__tag i { font-size: .9rem; }
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--text);
}
.hero__title span { color: #2D5A3D; }
.hero__sub {
  font-size: var(--text-md);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hero__consult-btn {
  background: rgba(199, 212, 0, .82);
  border-color: #2D5A3D;
  box-shadow: inset 0 0 0 .5px rgba(45, 90, 61, .24);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__consult-btn:hover {
  background: rgba(168, 178, 0, .88);
  border-color: #244a32;
}
.hero__services-btn {
  background: rgba(205, 239, 255, .78);
  border-color: #9edaf5;
  color: #124a6b;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__services-btn:hover {
  background: rgba(183, 231, 255, .9);
  border-color: #7fcdf1;
  color: #0f3f5d;
  box-shadow: 0 4px 16px rgba(68, 159, 205, .22);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-soft);
}
.hero__trust-item i { color: var(--lime-dark); }

/* Hero card */
.hero__card {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(226,229,216,.9);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 16px 48px rgba(20, 32, 26, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__card-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}
.hero__card-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero__card .form-input {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
  margin-bottom: 12px;
}
.hero__card .form-input:focus { border-color: var(--lime); }
.hero__card .form-input::placeholder { color: rgba(26,28,24,.42); }
.hero__card .form-disclaimer { color: var(--text-muted); }
.hero__card .form-disclaimer a { color: var(--lime-dark); }

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: calc(var(--header-h) + 24px) 0 60px; }
  .hero__title { font-size: 2rem; }
  .hero__bg {
    background:
      linear-gradient(110deg, rgba(246,249,247,.9) 0%, rgba(246,249,247,.72) 54%, rgba(246,249,247,.5) 100%),
      url('/images/hero-hospital-bg-900.jpg');
    background-size: cover;
    background-position: center center;
  }
}

/* ══════════════════════════════════════
   СЕКЦИЯ «КАК МЫ РАБОТАЕМ»
   ══════════════════════════════════════ */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.special-offer {
  background: linear-gradient(180deg, #f7fbe9 0%, #f3f8df 100%);
  border: 2px solid #b8d867;
  box-shadow: 0 10px 24px rgba(20, 36, 24, 0.08);
}
.special-offer:hover {
  border-color: #9ec445;
  box-shadow: 0 14px 28px rgba(20, 36, 24, 0.1);
}
.special-offer__label {
  margin: 0 0 10px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #d9ee97;
  border: 1px solid #b6d760;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f4f16;
  animation: specialOfferBadgePulse 1.8s ease-in-out infinite;
}
.special-offer__title {
  margin-bottom: 10px;
  line-height: 1.35;
}
.special-offer__line {
  display: block;
}
.special-offer__line--accent {
  margin-top: 4px;
}
.special-offer__discount {
  color: #124a6b;
  font-weight: 900;
  background: #cdefff;
  border: 1px solid #9fd9f4;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: inset 0 -1px 0 rgba(34, 105, 143, 0.24), 0 2px 10px rgba(56, 137, 180, 0.2);
}
.special-offer__text {
  margin-bottom: 16px;
}
.special-offer__spots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1f3f12;
  font-weight: 800;
  background: #e4f3b6;
  border-radius: 10px;
  padding: 7px 10px;
}
.special-offer__spots-num {
  font-weight: 900;
  color: #9f1111;
  background: #ffe5e5;
  border-radius: 999px;
  padding: 1px 9px;
  animation: specialOfferSpotsPulse 1.2s ease-in-out infinite;
}
.special-offer__spots::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5e8f1a;
  box-shadow: 0 0 0 4px rgba(94, 143, 26, 0.18);
}
@keyframes specialOfferBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(169, 207, 76, 0); }
  50% { box-shadow: 0 0 0 4px rgba(169, 207, 76, 0.28); }
}
@keyframes specialOfferSpotsPulse {
  0%, 100% { background: #ffe5e5; color: #9f1111; box-shadow: 0 0 0 0 rgba(203, 38, 38, 0); }
  50% { background: #ffd2d2; color: #b01212; box-shadow: 0 0 0 5px rgba(203, 38, 38, 0.2); }
}
.special-offer__actions {
  display: grid;
  gap: 10px;
}
.special-offer__phone {
  background: rgba(255,255,255,0.7);
  border-color: rgba(61, 81, 45, 0.2);
}
.special-offer__phone:hover {
  background: #fff;
}
.special-offer__note {
  margin: 12px 0 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #5d6d50;
}
/* На планшете немного сужаем боковую колонку */
@media (max-width: 1024px) {
  .steps-layout {
    grid-template-columns: 1fr 340px;
    gap: 32px;
  }
}
/* На мобильном — одна колонка, правая панель идёт второй */
@media (max-width: 767px) {
  .steps-layout {
    display: block;
    gap: 0;
  }
  .steps-layout__aside {
    display: block;
    padding-top: 0 !important;
    margin-top: 28px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .steps-layout__aside .card {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 20px 16px;
    overflow: hidden;
    word-break: break-word;
  }
  .steps-layout__aside .card .btn {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 0.9rem;
  }
  .special-offer {
    padding: 18px 14px;
  }
  .special-offer__label {
    font-size: 0.68rem;
  }
  .special-offer__note {
    font-size: 0.73rem;
  }
  /* Карточка с иконкой — иконка не должна сжиматься */
  .steps-layout__aside .card__icon {
    flex-shrink: 0;
  }
}

/* ══════════════════════════════════════
   СЕКЦИЯ «ПОЧЕМУ МЫ»
   ══════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.why__visual {
  position: relative;
}
.why__img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  aspect-ratio: 4/3;
  background: var(--surface-alt);
}
.why__badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.why__badge-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--lime-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.why__badge-title { font-size: var(--text-sm); font-weight: 800; }
.why__badge-sub   { font-size: var(--text-xs); color: var(--text-muted); }
.why__list { display: flex; flex-direction: column; gap: 18px; }
.why__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why__item-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--lime-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--lime-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.why__item-title { font-size: var(--text-base); font-weight: 800; margin-bottom: 2px; }
.why__item-text  { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; }

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .why__visual { order: -1; }
}

/* ══════════════════════════════════════
   СТРАНИЦА УСЛУГИ
   ══════════════════════════════════════ */
.service-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: flex-start;
}
.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.service-sidebar__card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
}
.service-sidebar__title { font-size: 1rem; font-weight: 800; margin-bottom: 16px; }
.service-links { display: flex; flex-direction: column; gap: 4px; }
.service-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-soft);
  transition: background var(--transition), color var(--transition);
}
.service-link:hover, .service-link.active {
  background: var(--lime-light);
  color: var(--lime-dark);
}
.service-link i { font-size: .875rem; color: var(--lime-dark); flex-shrink: 0; }
.service-inline-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-inline-actions .btn {
  min-height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 640px) {
  .service-inline-actions {
    gap: 8px;
  }
  .service-inline-actions .btn {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .service-content { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}

/* ══════════════════════════════════════
   СТРАНИЦА «О КЛИНИКЕ»
   ══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-clinic-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4/3;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-clinic-photo {
    border-radius: 18px;
    aspect-ratio: auto;
    object-fit: contain;
  }
}

.license-card {
  background: var(--lime-light);
  border: 2px solid var(--lime);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.license-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
  flex-shrink: 0;
}
.license-title { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.license-text  { font-size: var(--text-sm); color: var(--text-muted); }

/* ══════════════════════════════════════
   КОНТАКТЫ
   ══════════════════════════════════════ */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
.contacts-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 420px;
  background: var(--surface-alt);
}
.contacts-map iframe { width: 100%; height: 100%; border: none; }
.contacts-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--lime-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.contact-label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 3px; }
.contact-value { font-size: var(--text-md); font-weight: 700; }
.contact-value a { color: var(--text); }
.contact-value a:hover { color: var(--lime-dark); }
@media (max-width: 768px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-map { height: 280px; }
}

/* ══════════════════════════════════════
   HERO СТРАНИЦЫ ЦЕН
   ══════════════════════════════════════ */
.prices-hero { padding-bottom: 80px; }

.prices-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.prices-hero__content { flex: 1; max-width: 640px; }

.prices-hero__brand {
  color: var(--lime);
  display: inline;
}

.prices-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}

.prices-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: rgba(199,212,0,.12);
  border: 1px solid rgba(199,212,0,.3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.prices-hero__badge i {
  color: var(--lime);
  font-size: .75rem;
}

.prices-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  transition: background var(--transition), border-color var(--transition);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
}

/* Блок статистики справа */
.prices-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.prices-hero__stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  text-align: center;
  min-width: 180px;
  transition: background var(--transition), border-color var(--transition);
}
.prices-hero__stat:hover {
  background: rgba(199,212,0,.08);
  border-color: rgba(199,212,0,.25);
}

.prices-hero__stat-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1.1;
  margin-bottom: 6px;
}

.prices-hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 600;
}

/* Адаптив */
@media (max-width: 900px) {
  .prices-hero__inner { flex-direction: column; gap: 32px; }
  .prices-hero__stats { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .prices-hero__stat { min-width: 140px; padding: 16px 20px; flex: 1; }
  .prices-hero__stat-num { font-size: 1.75rem; }
}

@media (max-width: 480px) {
  .prices-hero { padding-bottom: 56px; }
  .prices-hero__badges { gap: 8px; }
  .prices-hero__badge { font-size: .75rem; padding: 6px 12px; }
  .prices-hero__actions { flex-direction: column; align-items: stretch; }
  .prices-hero__actions .btn { width: 100%; justify-content: center; }
  .prices-hero__stats { gap: 8px; }
  .prices-hero__stat { min-width: calc(50% - 4px); padding: 14px 12px; }
  .prices-hero__stat-num { font-size: 1.5rem; }
}

/* ══════════════════════════════════════
   СТРАНИЦА ЦЕН
   ══════════════════════════════════════ */
.price-category { margin-bottom: 48px; }
.price-category-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-category-title i { color: var(--lime-dark); }

/* ── Мобильная адаптация таблиц цен ── */
.price-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 640px) {
  .price-table { min-width: 500px; }
  .price-table th, .price-table td { padding: 10px 12px; font-size: 0.78rem; }
  .price-category { margin-bottom: 32px; }
  .price-category-title { font-size: 1.05rem; }
  /* Уведомление-карточка */
  .card--accent { flex-direction: column; gap: 10px; padding: 16px; }
}

/* ══════════════════════════════════════
   КАРТОЧКИ СПОСОБОВ ОПЛАТЫ
   ══════════════════════════════════════ */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.payment-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.payment-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
  border-color: var(--lime);
  transform: translateY(-3px);
}
.payment-card--accent {
  background: var(--lime-light);
  border-color: var(--lime);
}
.payment-card__icon {
  width: 52px;
  height: 52px;
  background: var(--lime-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.payment-card--accent .payment-card__icon {
  background: rgba(255,255,255,.7);
}
.payment-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.payment-card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.payment-card__badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  background: var(--lime-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  letter-spacing: .06em;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .payment-grid { grid-template-columns: 1fr; gap: 14px; }
  .payment-card { padding: 20px 16px; flex-direction: row; align-items: flex-start; gap: 14px; }
  .payment-card__icon { width: 44px; height: 44px; font-size: 1.15rem; flex-shrink: 0; }
  .payment-card--accent { flex-direction: column; }
}

/* ══════════════════════════════════════
   СТРАНИЦА ОТЗЫВОВ
   ══════════════════════════════════════ */
.reviews-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--lime-light);
  border-color: var(--lime);
  color: var(--lime-dark);
}

/* ══════════════════════════════════════
   404
   ══════════════════════════════════════ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}
.error-code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 8px;
  opacity: .4;
}
.error-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.error-text  { font-size: var(--text-md); color: var(--text-muted); margin-bottom: 32px; max-width: 400px; }

/* ══════════════════════════════════════
   PRIVACY POLICY
   ══════════════════════════════════════ */
.policy-body h2  { font-size: 1.25rem; font-weight: 800; margin: 2rem 0 .75rem; }
.policy-body h3  { font-size: 1.0625rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.policy-body p   { margin-bottom: 1rem; color: var(--text-soft); font-size: var(--text-md); line-height: 1.75; }
.policy-body ul  { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.policy-body li  { margin-bottom: .4rem; color: var(--text-soft); font-size: var(--text-md); line-height: 1.7; }
.policy-updated  { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 2rem; }

/* ══════════════════════════════════════
   STICKY DISCLAIMER
   ══════════════════════════════════════ */
.sticky-disclaimer {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--dark-bg);
  color: rgba(255,255,255,.45);
  font-size: var(--text-xs);
  text-align: center;
  padding: 8px var(--container-px);
  z-index: 700;
  border-top: 1px solid rgba(255,255,255,.07);
}

/* ══════════════════════════════════════
   CTA СЕКЦИЯ
   ══════════════════════════════════════ */
.cta-section {
  background: var(--lime);
  padding: var(--section-py) 0;
}
.cta-inner {
  text-align: center;
}
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.cta-sub {
  font-size: var(--text-md);
  color: var(--text-soft);
  margin-bottom: 32px;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ══════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════ */
.breadcrumbs-wrap {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: var(--text-sm);
}
.breadcrumbs__item {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.breadcrumbs__item:hover { color: var(--lime-dark); }
.breadcrumbs__item--active {
  color: var(--text);
  font-weight: 600;
  pointer-events: none;
}
.breadcrumbs__sep {
  color: var(--border);
  margin: 0 2px;
}

/* ══════════════════════════════════════
   PAGE HERO (для внутренних страниц)
   ══════════════════════════════════════ */
.page-hero {
  background: #1E3A2F;
  padding: 60px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1E3A2F 0%, #27482F 60%, #192E24 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(199,212,0,.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Точечный фон для страницы "Лечение алкоголизма" */
.page-hero--lechenie-alkogolizma::before {
  background:
    linear-gradient(118deg, rgba(18, 40, 30, 0.86) 0%, rgba(22, 44, 33, 0.76) 48%, rgba(24, 41, 31, 0.72) 100%),
    url('../images/lechenie-alkogolizma-hero-1600.jpg') center/cover no-repeat;
}
.page-hero--kodirovanie::before {
  background:
    linear-gradient(112deg, rgba(18, 40, 30, 0.88) 0%, rgba(22, 44, 33, 0.74) 48%, rgba(24, 41, 31, 0.66) 100%),
    url('../images/kodirovanie-hero-1600.jpg') center/cover no-repeat;
}
.page-hero--lechenie-narkomanii::before {
  background:
    linear-gradient(112deg, rgba(18, 40, 30, 0.88) 0%, rgba(22, 44, 33, 0.76) 48%, rgba(24, 41, 31, 0.68) 100%),
    url('../images/lechenie-narkomanii-hero-1600.jpg') center/cover no-repeat;
}
.page-hero--detoksikaciya::before {
  background:
    linear-gradient(112deg, rgba(18, 40, 30, 0.88) 0%, rgba(22, 44, 33, 0.76) 48%, rgba(24, 41, 31, 0.68) 100%),
    url('../images/detoksikaciya-hero-1600.jpg') center/cover no-repeat;
}
.page-hero--reabilitaciya::before {
  background:
    linear-gradient(112deg, rgba(18, 40, 30, 0.88) 0%, rgba(22, 44, 33, 0.76) 48%, rgba(24, 41, 31, 0.68) 100%),
    url('../images/reabilitaciya-hero-1600.jpg') center/cover no-repeat;
}
.page-hero--stacionar-alkogolizm::before {
  background:
    linear-gradient(112deg, rgba(18, 40, 30, 0.88) 0%, rgba(22, 44, 33, 0.76) 48%, rgba(24, 41, 31, 0.68) 100%),
    url('../images/stacionarnoe-lechenie-alkogolizma-hero-1600.jpg') center/cover no-repeat;
}
.page-hero--stacionar-narkomaniya::before {
  background:
    linear-gradient(112deg, rgba(18, 40, 30, 0.88) 0%, rgba(22, 44, 33, 0.76) 48%, rgba(24, 41, 31, 0.68) 100%),
    url('../images/stacionarnoe-lechenie-narkomanii-hero-1600.jpg') center/cover no-repeat;
}
.page-hero--sm { padding: 40px 0 48px; }
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero__sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 600px;
}
.page-hero .section-tag { color: var(--lime); margin-bottom: 12px; }
.page-hero__crumbs {
  margin-top: 16px;
  margin-bottom: 0;
  padding: 8px 0 0;
}

@media (max-width: 768px) {
  .page-hero--lechenie-alkogolizma::before {
    background:
      linear-gradient(120deg, rgba(18, 40, 30, 0.9) 0%, rgba(22, 44, 33, 0.8) 55%, rgba(24, 41, 31, 0.78) 100%),
      url('../images/lechenie-alkogolizma-hero-900.jpg') center/cover no-repeat;
  }
  .page-hero--kodirovanie::before {
    background:
      linear-gradient(120deg, rgba(18, 40, 30, 0.92) 0%, rgba(22, 44, 33, 0.82) 58%, rgba(24, 41, 31, 0.78) 100%),
      url('../images/kodirovanie-hero-900.jpg') center/cover no-repeat;
  }
  .page-hero--lechenie-narkomanii::before {
    background:
      linear-gradient(120deg, rgba(18, 40, 30, 0.92) 0%, rgba(22, 44, 33, 0.82) 58%, rgba(24, 41, 31, 0.78) 100%),
      url('../images/lechenie-narkomanii-hero-900.jpg') center/cover no-repeat;
  }
  .page-hero--detoksikaciya::before {
    background:
      linear-gradient(120deg, rgba(18, 40, 30, 0.92) 0%, rgba(22, 44, 33, 0.82) 58%, rgba(24, 41, 31, 0.78) 100%),
      url('../images/detoksikaciya-hero-900.jpg') center/cover no-repeat;
  }
  .page-hero--reabilitaciya::before {
    background:
      linear-gradient(120deg, rgba(18, 40, 30, 0.92) 0%, rgba(22, 44, 33, 0.82) 58%, rgba(24, 41, 31, 0.78) 100%),
      url('../images/reabilitaciya-hero-900.jpg') center/cover no-repeat;
  }
  .page-hero--stacionar-alkogolizm::before {
    background:
      linear-gradient(120deg, rgba(18, 40, 30, 0.92) 0%, rgba(22, 44, 33, 0.82) 58%, rgba(24, 41, 31, 0.78) 100%),
      url('../images/stacionarnoe-lechenie-alkogolizma-hero-900.jpg') center/cover no-repeat;
  }
  .page-hero--stacionar-narkomaniya::before {
    background:
      linear-gradient(120deg, rgba(18, 40, 30, 0.92) 0%, rgba(22, 44, 33, 0.82) 58%, rgba(24, 41, 31, 0.78) 100%),
      url('../images/stacionarnoe-lechenie-narkomanii-hero-900.jpg') center/cover no-repeat;
  }
}

/* ══════════════════════════════════════
   BLOG — СПИСОК СТАТЕЙ
   ══════════════════════════════════════ */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
}
.blog-featured__img {
  height: 340px;
  overflow: hidden;
}
.blog-featured__body {
  padding: 36px 36px 36px 0;
}
.blog-featured__title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin: 12px 0 14px;
  line-height: 1.3;
}
.blog-featured__title a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.blog-featured__title a:hover { color: var(--lime-dark); }
.blog-featured__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured__img { height: 220px; }
  .blog-featured__body { padding: 24px; }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.blog-card__img { height: 200px; overflow: hidden; }
.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__title {
  font-size: var(--text-md);
  font-weight: 800;
  margin: 12px 0 10px;
  line-height: 1.35;
}
.blog-card__title a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.blog-card__title a:hover { color: var(--lime-dark); }
.blog-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.blog-card__link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--lime-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.blog-card__link:hover { gap: 10px; }

/* Blog meta */
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--lime-light);
  color: var(--lime-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.blog-date, .blog-read {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Blog image placeholders */
.blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-alt) 0%, #e8ecda 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-img-placeholder--lg {
  background: linear-gradient(135deg, #e8ecda 0%, var(--lime-light) 100%);
}

/* Blog CTA strip */
.blog-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--dark-bg);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  flex-wrap: wrap;
}
.blog-cta__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
  flex-shrink: 0;
}
.blog-cta__title { font-size: var(--text-md); font-weight: 800; margin-bottom: 3px; }
.blog-cta__sub   { font-size: var(--text-sm); color: rgba(255,255,255,.5); }
.blog-cta > .btn { margin-left: auto; }
@media (max-width: 640px) {
  .blog-cta { flex-direction: column; align-items: flex-start; }
  .blog-cta > .btn { margin-left: 0; width: 100%; }
}

/* ══════════════════════════════════════
   ARTICLE — СТРАНИЦА СТАТЬИ
   ══════════════════════════════════════ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
  padding: 48px 0 64px;
}
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .article {
    order: 1; /* статья всегда первая */
  }
  .article-sidebar {
    order: 2;         /* сайдбар идёт ПОСЛЕ статьи */
    position: static; /* убираем sticky — чтобы не налезал */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .article-sidebar {
    grid-template-columns: 1fr; /* на телефоне — одна колонка */
  }
}

.article {
  min-width: 0;
}
.article__header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--border);
}
.article__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 16px 0 18px;
  color: var(--text);
}
.article__lead {
  font-size: var(--text-md);
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 20px;
}
.article__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.article__author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.article__disclaimer {
  background: var(--surface-alt);
  border-left: 4px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 16px;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

/* Article body typography */
.article__body h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 800;
  margin: 2rem 0 .875rem;
  color: var(--text);
  line-height: 1.3;
}
.article__body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 1.5rem 0 .625rem;
  color: var(--text);
}
.article__body p {
  font-size: var(--text-base);
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1.125rem;
}
.article__body ul,
.article__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.125rem;
}
.article__body li {
  font-size: var(--text-base);
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: .5rem;
}
.article__body strong { color: var(--text); }
.article__body a { color: var(--lime-dark); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { color: var(--lime); }

/* Warning / info boxes */
.article__warning-box {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0;
}
.article__warning-box h3 {
  font-size: var(--text-base) !important;
  margin: 0 0 12px !important;
  color: #dc2626;
}
.article__warning-box ul { margin: 0; }
.article__warning-box li { color: #374151; }

.article__info-box {
  background: var(--lime-light);
  border: 1px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.65;
}

/* Stage cards (стадии алкоголизма) */
.article__stage-card {
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 32px 0 16px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}
.article__stage-card--1 { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-left: 5px solid #16a34a; }
.article__stage-card--2 { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-left: 5px solid #d97706; }
.article__stage-card--3 { background: linear-gradient(135deg, #fff1f2, #ffe4e6); border-left: 5px solid #dc2626; }
.article__stage-num {
  font-size: 2.5rem;
  font-weight: 900;
  opacity: .25;
  line-height: 1;
  flex-shrink: 0;
}
.article__stage-card--1 .article__stage-num { color: #16a34a; }
.article__stage-card--2 .article__stage-num { color: #d97706; }
.article__stage-card--3 .article__stage-num { color: #dc2626; }
.article__stage-title {
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  margin: 0 0 4px !important;
}
.article__stage-duration {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

/* Table */
.article__table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.article__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.article__table th {
  background: var(--surface-alt);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.article__table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  vertical-align: top;
}
.article__table tr:last-child td { border-bottom: none; }
.article__table tr:nth-child(even) td { background: var(--surface-alt); }

/* Article CTA box */
.article__cta {
  background: var(--dark-bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.article__cta-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}
.article__cta-sub {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
}
.article__cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}
.article__cta .btn-outline {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.article__cta .btn-outline:hover {
  border-color: var(--lime);
  color: var(--lime);
}
@media (max-width: 640px) {
  .article__cta { flex-direction: column; }
  .article__cta-btns { margin-left: 0; width: 100%; }
  .article__cta-btns .btn { flex: 1; }
}

/* ══════════════════════════════════════
   ARTICLE SIDEBAR
   ══════════════════════════════════════ */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-start; /* важно для sticky в grid */
}
.sidebar-widget {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
}
.sidebar-widget__title {
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sidebar-cta-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--lime);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  font-weight: 800;
  font-size: var(--text-md);
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition);
}
.sidebar-cta-phone:hover { background: var(--lime-dark); }
.sidebar-cta-phone i { font-size: 1.1rem; flex-shrink: 0; }
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-links a {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-soft);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  line-height: 1.4;
}
.sidebar-links a:hover {
  background: var(--lime-light);
  color: var(--lime-dark);
}

/* ══════════════════════════════════════
   LEGAL DISCLAIMER BLOCK
   ══════════════════════════════════════ */
.legal-disclaimer {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.65;
}
.legal-disclaimer strong { color: var(--text-soft); }
.legal-disclaimer p { margin: 0; }

/* ══════════════════════════════════════
   ГАЛЕРЕЯ-СЛАЙДЕР (about.html)
   ══════════════════════════════════════ */
.gallery-slider {
  position: relative;
  user-select: none;
}

.gallery-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.gallery-slider__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Десктоп: показываем 3 слайда */
.gallery-slide {
  flex: 0 0 calc(33.333% - 11px);
  margin-right: 16px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-bg-2);
}
.gallery-slide:last-child { margin-right: 0; }

.gallery-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-slide:hover img {
  transform: scale(1.04);
}

.gallery-slide__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Стрелки */
.gallery-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text);
  transition: background var(--transition), transform var(--transition);
  z-index: 2;
}
.gallery-slider__arrow:hover {
  background: var(--lime);
  transform: translateY(-50%) scale(1.08);
}
.gallery-slider__arrow--prev { left: -16px; }
.gallery-slider__arrow--next { right: -16px; }
.gallery-slider__arrow:disabled {
  opacity: .35;
  pointer-events: none;
}

/* Точки */
.gallery-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.gallery-dot.active {
  background: var(--lime-dark);
  transform: scale(1.3);
}

/* ══════════════════════════════════════
   КАРТА САЙТА
   ══════════════════════════════════════ */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.sitemap-group {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.sitemap-group:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
  border-color: var(--lime);
}
.sitemap-group--accent {
  background: var(--dark-bg);
  border-color: rgba(255,255,255,.1);
  color: #fff;
}

.sitemap-group__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.sitemap-group--accent .sitemap-group__header {
  border-color: rgba(255,255,255,.12);
}

.sitemap-group__icon {
  width: 42px;
  height: 42px;
  background: var(--lime-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.sitemap-group--accent .sitemap-group__icon {
  background: rgba(199,212,0,.15);
  color: var(--lime);
}

.sitemap-group__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--text);
}
.sitemap-group--accent .sitemap-group__title { color: #fff; }

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sitemap-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.sitemap-links a i.fa-chevron-right {
  font-size: .65rem;
  color: var(--lime-dark);
  flex-shrink: 0;
}
.sitemap-links a:hover {
  background: var(--lime-light);
  color: var(--lime-dark);
}

/* Контакты внутри карты сайта */
.sitemap-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sitemap-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.sitemap-contact-item > .fa {
  width: 20px;
  color: var(--lime);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.sitemap-contact-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  margin-bottom: 2px;
}
.sitemap-contact-value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
}
a.sitemap-contact-item:hover .sitemap-contact-value {
  color: var(--lime);
}

@media (max-width: 1024px) {
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sitemap-grid { grid-template-columns: 1fr; gap: 16px; }
  .sitemap-group { padding: 20px 16px; }
}

/* Планшет: 2 слайда */
@media (max-width: 1024px) {
  .gallery-slide {
    flex: 0 0 calc(50% - 8px);
  }
  .gallery-slider__arrow--prev { left: -8px; }
  .gallery-slider__arrow--next { right: -8px; }
}

/* Мобильный: 1 слайд */
@media (max-width: 640px) {
  .gallery-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
  .gallery-slider__track {
    gap: 0;
  }
  .gallery-slide img {
    aspect-ratio: 4/3;
  }
  .gallery-slider__arrow--prev { left: 8px; }
  .gallery-slider__arrow--next { right: 8px; }
  .gallery-slider__arrow {
    width: 38px; height: 38px;
    font-size: .85rem;
  }
}

/* ══════════════════════════════════════
   СТРАНИЦА ВРАЧЕЙ — ВЕРТИКАЛЬНЫЕ ПРОФИЛИ
   ══════════════════════════════════════ */
.doctors-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.doc-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.doc-profile:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}

/* Чётные карточки — фото справа */
.doc-profile--reverse {
  grid-template-columns: 1fr 320px;
}
.doc-profile--reverse .doc-profile__photo-wrap {
  order: 2;
}
.doc-profile--reverse .doc-profile__content {
  order: 1;
}

/* Блок фото */
.doc-profile__photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.doc-profile__photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.doc-profile__exp-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--lime);
  color: var(--dark-bg);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  text-align: center;
}
.doc-profile--reverse .doc-profile__exp-badge {
  left: auto;
  right: 20px;
}
.doc-profile__exp-badge span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .75;
  margin-top: 2px;
}

/* Контентная часть */
.doc-profile__content {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.doc-profile--reverse .doc-profile__content {
  padding: 40px 0 40px 40px;
}

.doc-profile__spec-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--lime-dark);
  background: rgba(199,212,0,0.1);
  border: 1px solid rgba(199,212,0,0.3);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  margin-bottom: 14px;
  width: fit-content;
}

.doc-profile__name {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}

.doc-profile__bio {
  font-size: var(--text-md);
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

.doc-profile__skills {
  list-style: none;
  padding: 0;
  margin: 8px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.doc-profile__skills li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--text-soft);
  font-weight: 500;
}
.doc-profile__skills .fa {
  color: var(--lime-dark);
  font-size: .8rem;
  flex-shrink: 0;
}

.doc-profile__edu {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  background: var(--surface-alt);
  border-left: 3px solid var(--lime);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.doc-profile__edu .fa {
  color: var(--lime-dark);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Адаптив планшет ── */
@media (max-width: 900px) {
  .doc-profile,
  .doc-profile--reverse {
    grid-template-columns: 1fr;
  }
  .doc-profile--reverse .doc-profile__photo-wrap,
  .doc-profile--reverse .doc-profile__content {
    order: unset;
  }
  .doc-profile__photo {
    min-height: 320px;
    max-height: 380px;
  }
  .doc-profile__exp-badge,
  .doc-profile--reverse .doc-profile__exp-badge {
    left: 20px;
    right: auto;
  }
  .doc-profile__content,
  .doc-profile--reverse .doc-profile__content {
    padding: 28px 28px 32px;
  }
}

/* ── Адаптив мобильный ── */
@media (max-width: 560px) {
  .doctors-list { gap: 32px; }
  .doc-profile {
    border-radius: 14px;
  }
  .doc-profile__photo {
    min-height: 260px;
    max-height: 300px;
  }
  .doc-profile__content,
  .doc-profile--reverse .doc-profile__content {
    padding: 20px 20px 24px;
  }
  .doc-profile__name {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }
  .doc-profile__skills {
    grid-template-columns: 1fr;
  }
  .doc-profile__bio {
    font-size: var(--text-sm);
  }
}
