/* ==========================================================
   НДЦ — main.css  (rebuilt from prototypes 2026-03-31)
   Hub: ndc-hub-main.html  |  Branch: ndc-branch-full-v2.html
   ========================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-900: #064E32;
  --green-800: #0A6847;
  --green-700: #0C7E56;
  --green-100: #E8F5EE;
  --green-50:  #F0FAF4;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --red-600:   #DC2626;
  --red-50:    #FEF2F2;
  --text-primary:   #1A1A1A;
  --text-secondary: #5A5A5A;
  --text-muted:     #8A8A8A;
  --border:    #E5E5E5;
  --bg-white:  #FFFFFF;
  --bg-tint:   #F6FAF8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --radius:      12px;
  --radius-sm:    8px;
  --radius-pill: 100px;
  --transition: 0.2s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, sans-serif;
  --max-w: 1100px;
  --px: clamp(16px, 3vw, 48px);
  /* Shorthand aliases for inline page styles */
  --max: 1100px;
  --ff:  'DM Sans', -apple-system, sans-serif;
  --fd:  'Playfair Display', Georgia, serif;
  --g05: #F0FAF4;
  --g1:  #E8F5EE;
  --g8:  #0A6847;
  --g7:  #0C7E56;
  --g9:  #064E32;
  --a5:  #F59E0B;
  --a6:  #D97706;
  --r6:  #DC2626;
  --ts:  #5A5A5A;
  --tm:  #8A8A8A;
  --tp:  #1A1A1A;
  --bd:  #E5E5E5;
  --bg:  #FFFFFF;
  --tint: #F6FAF8;
  --tr:  0.2s ease;
  --rad: 12px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-tint);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
p, li { font-size: 15px; line-height: 1.7; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
.card__title, .doc-card__name { font-weight: 600; }

/* ===== UTILITY ===== */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--px);
}
.section__header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: clamp(24px, 3vw, 36px);
  flex-wrap: wrap; gap: 8px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
}
.section__link {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--green-800); text-decoration: none; font-weight: 500; white-space: nowrap;
}
.section__link:hover { text-decoration: underline; }
.section--alt { background: var(--bg-white); }
.section--alt-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--px);
}
.site-main { min-height: 50vh; }

/* ===== TOP BAR ===== */
/* Hub header (simplified — no navbar, no CTA) */
.hub-header {
  background: var(--green-800);
  padding: 0 var(--px);
  height: clamp(60px, 7vw, 76px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; position: relative;
}
.hub-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1400px; gap: clamp(16px, 2vw, 32px);
}
/* Center nav links */
.hub-header__nav {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); flex: 1; justify-content: center;
}
.hub-header__nav-link {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.72);
  text-decoration: none; white-space: nowrap; padding-bottom: 2px;
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.hub-header__nav-link:hover { color: #FFF; border-bottom-color: rgba(255,255,255,0.4); }
.hub-header__nav-link.active { color: #FFF; border-bottom-color: var(--amber-500, #F59E0B); }
/* Phone right */
.hub-header__phone { display: flex; flex-direction: column; align-items: flex-end; }
.hub-header__phone-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 1px; }
.hub-header__phone-number {
  font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; color: #FFF;
  text-decoration: none; letter-spacing: 0.02em; white-space: nowrap;
}
.hub-header__phone-number:hover { color: var(--amber-400, #FBBF24); }
/* Hub right group: phone + lk icon */
.hub-header__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.btn-lk--hub { width: 40px; height: 40px; flex-shrink: 0; }

/* Geo-detection banner */
.geo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: var(--green-800);
  border-bottom: 2px solid rgba(255,255,255,0.12);
  padding: clamp(10px, 1.5vw, 14px) var(--px);
  animation: slideDown 0.3s ease;
}
.geo-banner__inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.geo-banner__text {
  display: flex; align-items: center; gap: 10px;
  font-size: clamp(14px, 1.3vw, 16px); color: #FFF; font-weight: 500;
}
.geo-banner__pin { font-size: 20px; flex-shrink: 0; }
.geo-banner__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.geo-banner__btn {
  display: inline-flex; align-items: center; height: 38px; padding: 0 20px;
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: clamp(13px, 1.1vw, 15px); font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all var(--transition); border: none;
}
.geo-banner__btn--yes {
  background: var(--amber-500); color: #FFF;
}
.geo-banner__btn--yes:hover { background: var(--amber-600, #D97706); color: #FFF; }
.geo-banner__btn--alt {
  background: rgba(255,255,255,0.12); color: #FFF;
}
.geo-banner__btn--alt:hover { background: rgba(255,255,255,0.22); }
.geo-banner__close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none; cursor: pointer;
  color: rgba(255,255,255,0.6); font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
}
.geo-banner__close:hover { background: rgba(255,255,255,0.25); color: #FFF; }
.geo-banner__inner--pick { align-items: center; gap: 12px; }
.geo-banner__cities { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.geo-banner__city-btn {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.12); color: #FFF;
  font-family: var(--font-body); font-size: clamp(12px, 1vw, 14px); font-weight: 600;
  text-decoration: none; transition: background var(--transition); white-space: nowrap;
}
.geo-banner__city-btn:hover { background: var(--amber-500); color: #FFF; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.top-bar {
  background: var(--green-800);
  padding: 0 var(--px);
  height: clamp(64px, 8vw, 84px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; position: relative;
}
.top-bar__inner {
  display: flex; align-items: center;
  width: 100%; max-width: 1400px;
}
.top-bar__logo {
  display: flex; align-items: center; gap: clamp(8px, 1vw, 14px);
  text-decoration: none; flex-shrink: 0;
  margin-right: clamp(12px, 2vw, 24px);
}
.top-bar__logo-img { width: clamp(36px, 4.5vw, 52px); height: clamp(36px, 4.5vw, 52px); border-radius: 50%; }
.top-bar__logo-text {
  font-weight: 700; font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: 2px; color: #FFF; white-space: nowrap;
  display: flex; flex-direction: column; line-height: 1.1;
}
.top-bar__logo-sub {
  font-size: clamp(7px, 0.8vw, 9px); font-weight: 600;
  letter-spacing: clamp(0.8px, 0.15vw, 1.2px); text-transform: uppercase;
  opacity: 0.65; margin-top: 2px; text-align: center; display: block; width: 100%;
}

/* City selector (branch only) */
.top-bar__city {
  position: relative; flex-shrink: 0;
  margin-right: clamp(12px, 2.5vw, 36px);
}
.city-btn {
  display: flex; align-items: center; gap: clamp(4px, 0.5vw, 8px);
  height: clamp(40px, 4.5vw, 50px); padding: 0 clamp(10px, 1.2vw, 18px);
  border: 1.5px solid rgba(255,255,255,0.3); border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1); cursor: pointer;
  font-size: clamp(13px, 1.3vw, 16px); font-weight: 500;
  color: #FFF; font-family: var(--font-body); transition: all var(--transition); white-space: nowrap;
}
.city-btn:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.18); }
.city-btn__arrow { font-size: 10px; opacity: 0.7; }
.city-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 260px; z-index: 200;
}
.city-dropdown[hidden] { display: none !important; }
.city-dropdown.open { animation: dropIn 0.2s ease; }
.city-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: var(--radius-sm);
  cursor: pointer; transition: background var(--transition);
  font-size: 15px; color: var(--text-primary);
  text-decoration: none;
}
.city-option:hover { background: var(--green-50); }
.city-option__name { font-weight: 500; }
.city-option__star { color: var(--amber-500); }
.city-option--active { background: var(--green-50); }
.city-option--active .city-option__name { color: var(--green-800); }

.top-bar__info-group {
  display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px);
  flex: 1; justify-content: flex-end; margin-right: clamp(12px, 2vw, 36px);
}
.info-block { display: flex; align-items: center; gap: clamp(6px, 0.8vw, 12px); white-space: nowrap; }
.info-block__icon {
  width: clamp(40px, 4.5vw, 50px); height: clamp(40px, 4.5vw, 50px);
  border-radius: 50%; background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #FFF; flex-shrink: 0;
}
.info-block__icon svg { width: clamp(14px, 1.5vw, 18px); height: clamp(14px, 1.5vw, 18px); }
.info-block__text { display: flex; flex-direction: column; line-height: 1.25; }
.info-block__label { font-size: clamp(9px, 0.9vw, 11px); font-weight: 500; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.8px; }
.info-block__value { font-size: clamp(13px, 1.4vw, 17px); font-weight: 600; color: #FFF; }
.info-block__value a { color: #FFF; text-decoration: none; }
.info-block__value a:hover { opacity: 0.85; }

.top-bar__actions { display: flex; align-items: center; gap: clamp(8px, 0.8vw, 12px); flex-shrink: 0; }
.top-bar__mobile-phone {
  display: none;
  width: clamp(40px, 4.5vw, 50px); height: clamp(40px, 4.5vw, 50px);
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  align-items: center; justify-content: center;
  cursor: pointer; color: #FFF; text-decoration: none; flex-shrink: 0;
}

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: clamp(40px, 4.5vw, 50px); padding: 0 clamp(18px, 2.2vw, 32px);
  background: #FFF; color: var(--green-800);
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 700; cursor: pointer; transition: all var(--transition);
  white-space: nowrap; position: relative; text-decoration: none;
}
/* "онлайн" badge removed per design */
.btn-cta::after { display: none; }
.btn-cta:hover { background: var(--green-50); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-cta:active { transform: translateY(0); }
.btn-cta--green { background: var(--green-800); color: #FFF; }
.btn-cta--green:hover { background: var(--green-700); }
.btn-cta--nav { height: 38px; padding: 0 20px; font-size: 14px; background: var(--green-800); color: #FFF; }
.btn-cta--nav::after { display: none; }
.btn-cta--nav:hover { background: var(--green-700); box-shadow: none; }
.btn-lk {
  width: clamp(40px, 4.5vw, 50px); height: clamp(40px, 4.5vw, 50px);
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #FFF; flex-shrink: 0; transition: all var(--transition);
  text-decoration: none;
}
.btn-lk:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.18); }
.btn-lk svg { width: clamp(16px, 1.8vw, 22px); height: clamp(16px, 1.8vw, 22px); }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--bg-white);
  border-bottom: 2px solid var(--green-800);
  border-left: 2px solid var(--green-800);
  border-right: 2px solid var(--green-800);
  height: 54px;
  display: flex; align-items: center; justify-content: center;
  position: sticky; top: 0; z-index: 99;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  border-left-color: transparent; border-right-color: transparent; border-bottom-color: var(--border);
}
.navbar__inner { display: flex; align-items: center; width: 100%; max-width: 1400px; padding: 0 var(--px); }
.navbar__mini-logo {
  display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0;
  opacity: 0; max-width: 0; overflow: hidden; transition: all 0.35s ease; pointer-events: none;
}
.navbar.scrolled .navbar__mini-logo {
  opacity: 1; max-width: 120px; margin-right: clamp(8px, 1.5vw, 20px); pointer-events: auto;
}
.navbar__mini-logo-img { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; }
.navbar__mini-logo-text { font-weight: 700; font-size: 17px; letter-spacing: 1px; color: var(--green-800); white-space: nowrap; }
.navbar__list { display: flex; align-items: center; justify-content: center; list-style: none; flex: 1; }
.navbar__item { flex: 1; display: flex; justify-content: center; }
.navbar__link {
  display: flex; align-items: center; justify-content: center; height: 38px;
  padding: 0 clamp(6px, 1.2vw, 16px); font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 500; color: var(--text-secondary); text-decoration: none;
  transition: all var(--transition), transform 0.15s ease;
  white-space: nowrap; border-radius: var(--radius-pill); transform-origin: center;
}
.navbar__link:hover { color: var(--green-800); background: var(--green-50); }
@media (hover: hover) { .navbar__link:hover { transform: scale(1.08); } }
.navbar__link.is-current {
  color: var(--green-800); background: var(--green-50);
  font-weight: 700; box-shadow: inset 0 -2px 0 var(--green-800);
}
.navbar__link--accent { color: var(--red-600); font-weight: 600; }
.navbar__link--accent:hover { color: var(--red-600); background: var(--red-50); }
.navbar__badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--red-600); color: white;
  border-radius: 10px; font-size: 11px; font-weight: 700; margin-left: 5px;
}
.navbar__cta {
  flex-shrink: 0; opacity: 0; max-width: 0; overflow: hidden; transition: all 0.35s ease; pointer-events: none;
}
.navbar.scrolled .navbar__cta {
  opacity: 1; max-width: 160px; margin-left: clamp(8px, 1.5vw, 20px); pointer-events: auto;
}

/* ===== MEGA MENU ===== */
.mega-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.15); z-index: 98;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.mega-overlay.open { opacity: 1; pointer-events: auto; }

.mega-wrap { position: relative; }

.mega-menu {
  position: fixed;
  left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--bg-white); border: 1px solid var(--bd);
  border-radius: 0 0 var(--rad) var(--rad);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: clamp(20px,2.5vw,32px);
  z-index: 100; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  min-width: 420px; max-width: 860px;
}
.mega-menu.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }

.mega-menu--full {
  left: 0; right: 0; width: 100%;
  transform: translateY(8px);
  min-width: auto; max-width: none;
}
.mega-menu--full.open { transform: translateY(0); }

.mega-menu__inner { max-width: 1100px; margin: 0 auto; }

.mega-menu__title {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--tm);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--bd);
}

.mega-menu__grid { display: grid; gap: 0; }
.mega-menu__grid--2col { grid-template-columns: 1fr 1fr; }
.mega-menu__grid--3col { grid-template-columns: 1fr 1fr 1fr; }
.mega-menu__grid--4col { grid-template-columns: 1fr 1fr 1fr 1fr; }

.mega-menu__col { padding: 0 clamp(12px,1.5vw,20px); border-right: 1px solid var(--bd); }
.mega-menu__col:first-child { padding-left: 0; }
.mega-menu__col:last-child { padding-right: 0; border-right: none; }

.mega-menu__col-title {
  font-size: 11px; font-weight: 700; color: var(--g8);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px;
}

.mega-link {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; margin: 0 -10px;
  border-radius: var(--rad); text-decoration: none;
  color: var(--tp); font-size: 14px; font-weight: 500;
  transition: all var(--tr); line-height: 1.3;
}
.mega-link:hover { background: var(--g05); color: var(--g8); }
.mega-link__icon {
  width: 30px; height: 30px; border-radius: var(--rad);
  background: var(--g05); display: flex; align-items: center;
  justify-content: center; font-size: 14px; flex-shrink: 0;
  transition: background var(--tr);
}
.mega-link:hover .mega-link__icon { background: var(--g1); }
.mega-link__text { display: flex; flex-direction: column; }
.mega-link__name { font-weight: 500; }
.mega-link__sub { font-size: 12px; color: var(--tm); font-weight: 400; margin-top: 1px; }
.mega-link--price { justify-content: space-between; }
.mega-link__price { font-size: 13px; color: var(--g8); font-weight: 600; white-space: nowrap; }

.mega-links-simple { display: flex; flex-direction: column; gap: 2px; }

.mega-doc {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; margin: 0 -10px;
  border-radius: var(--rad); text-decoration: none; color: var(--tp);
  transition: all var(--tr);
}
.mega-doc:hover { background: var(--g05); }
.mega-doc__photo {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--g05); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; overflow: hidden;
}
.mega-doc__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mega-doc__info { display: flex; flex-direction: column; }
.mega-doc__name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.mega-doc__spec { font-size: 12px; color: var(--tm); }

.mega-promo {
  background: linear-gradient(135deg, var(--g8), var(--g9));
  border-radius: var(--rad); padding: 14px 16px; color: #FFF;
  text-decoration: none; display: block; margin-top: 14px;
  transition: opacity var(--tr);
}
.mega-promo:hover { opacity: 0.9; }
.mega-promo__title { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.mega-promo__desc { font-size: 12px; opacity: 0.8; }

.navbar__link--open { color: var(--g8) !important; background: var(--g05) !important; }
.navbar__link--accent.navbar__link--open { color: var(--r6) !important; background: var(--red-50,#FEF2F2) !important; }

@media(max-width:767px) { .mega-wrap, .mega-overlay { display: none; } }

/* ===== MOBILE BURGER + DRAWER ===== */
.burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; flex-shrink: 0; padding: 0;
  order: -1;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: #FFF; border-radius: 2px; transition: all 0.25s ease;
}

.drawer-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 9998;
  opacity: 0; transition: opacity 0.3s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  display: none; position: fixed; top: 0; right: -100%;
  width: 85vw; max-width: 320px; height: 100%;
  background: #FFF; z-index: 9999;
  flex-direction: column; overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transition: right 0.3s ease;
  scrollbar-width: none; -ms-overflow-style: none;
}
.drawer::-webkit-scrollbar { display: none; }
.drawer.open { right: 0; }

.drawer__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: var(--g05); border: none; border-radius: var(--rad);
  font-size: 16px; color: var(--tp); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.drawer__close:hover { background: var(--bd); }

.drawer__nav { padding: 60px 0 16px; flex: 1; }
.drawer__list { list-style: none; padding: 0; margin: 0; }
.drawer__item { border-bottom: 1px solid var(--bd); }

.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 20px;
  font-family: var(--ff); font-size: 15px; font-weight: 500;
  color: var(--tp); text-decoration: none;
  background: none; border: none; cursor: pointer; text-align: left;
  transition: background var(--tr), color var(--tr);
}
.drawer__link:hover { background: var(--g05); color: var(--g8); }
.drawer__link--accent { color: var(--r6); }
.drawer__link--accent:hover { background: #FEF2F2; color: var(--r6); }
.drawer__link--toggle.open { color: var(--g8); background: var(--g05); }

.drawer__arrow {
  font-size: 18px; color: var(--tm); display: inline-block;
  transition: transform 0.2s ease;
}
.drawer__link--toggle.open .drawer__arrow { transform: rotate(90deg); }

.drawer__sub {
  list-style: none; padding: 0; margin: 0;
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease; background: var(--g05);
}
.drawer__sub.open { max-height: 600px; }
.drawer__sub li a {
  display: block; padding: 10px 20px 10px 32px;
  font-size: 14px; color: var(--ts); text-decoration: none;
  border-top: 1px solid var(--bd); transition: color var(--tr);
}
.drawer__sub li a:hover { color: var(--g8); }

.drawer__footer {
  padding: 16px 20px 24px; border-top: 1px solid var(--bd);
  display: flex; flex-direction: column; gap: 12px;
}
.drawer__cta {
  display: block; margin: 0; width: 100%; height: 48px;
  background: var(--g8); color: #FFF; border: none;
  border-radius: var(--rad); font-family: var(--ff);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background var(--tr);
}
.drawer__cta:hover { background: var(--g7); }
.drawer__phone {
  text-align: center; font-size: 16px; font-weight: 600;
  color: var(--tp); text-decoration: none;
}
.drawer__phone:hover { color: var(--g8); }

/* Drawer section label (статичный заголовок вместо кнопки-тогглера) */
.drawer__section-label {
  display: block; padding: 14px 20px;
  font-size: 15px; font-weight: 600;
  color: #0A6847; border-bottom: 1px solid #f0f0f0;
  pointer-events: none;
}
.drawer__item--section { list-style: none; }

/* Drawer tiles grid (первый уровень — отделения) */
/* max-height:none не работает с transition — используем большое число */
.drawer__sub--tiles {
  max-height: 9999px !important; overflow: visible !important;
  transition: none !important;
  background: transparent; padding: 0;
}
.drawer__tiles-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 12px 16px 16px; background: #f0faf4; width: 100%;
  box-sizing: border-box;
}
.drawer__tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 8px; background: #fff;
  border: 1.5px solid #b8dfc9; border-radius: 4px;
  font-size: 13px; font-weight: 500; line-height: 1.3;
  color: #0A6847; text-align: center; cursor: pointer;
  text-decoration: none; transition: border-color var(--tr), background var(--tr); font-family: var(--ff);
  min-height: 80px; width: 100%; height: auto; box-sizing: border-box;
}
.drawer__tile:hover, .drawer__tile:active { border-color: #0A6847; background: #e8f5ee; }
.drawer__tile--all {
  grid-column: 1 / -1; background: #0A6847; color: #fff;
  border-color: #0A6847; min-height: 48px; padding: 12px;
  justify-content: center; flex-direction: row;
}
.drawer__tile--all:hover, .drawer__tile--all:active { background: #064E32; border-color: #064E32; color: #fff; }

/* Drawer panel (второй уровень) */
.drawer-panel {
  position: absolute; inset: 0;
  background: #FFF; z-index: 10;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.25s ease;
}
.drawer-panel[hidden] { display: none; }
.drawer-panel--open { transform: translateX(0); display: flex; }
.drawer-panel__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--bd); flex-shrink: 0;
}
.drawer-panel__back {
  background: none; border: none; font-size: 14px; font-weight: 600;
  color: var(--g8); cursor: pointer; padding: 4px 0; font-family: var(--ff);
}
.drawer-panel__back:hover { text-decoration: underline; }
.drawer-panel__title { font-size: 15px; font-weight: 700; color: var(--tp); }
.drawer-panel__list { list-style: none; overflow-y: auto; flex: 1; padding: 8px 0; }
.drawer-panel__list li a {
  display: block; padding: 12px 20px; font-size: 15px; font-weight: 500;
  color: var(--tp); text-decoration: none; border-bottom: 1px solid var(--bd);
  transition: background var(--tr);
}
.drawer-panel__list li:last-child a { border-bottom: none; font-weight: 600; color: var(--g8); }
.drawer-panel__list li a:hover { background: var(--g05); color: var(--g8); }

/* btn--outline-white (для CTA на зелёном фоне) */
.btn--outline-white {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #FFF;
  border: 2px solid rgba(255,255,255,0.7); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.15); border-color: #FFF; }

/* cta-band two-button layout */
.cta-band__btns { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin: 0 auto; }

/* Success screen actions */
.ndc-bm__success-sub { font-size: 13px; color: #5A5A5A; margin-top: 8px; line-height: 1.5; }
.ndc-bm__success-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* btn--outline */
.btn--outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--green-800);
  border: 2px solid var(--green-800); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; cursor: pointer; height: 44px;
  padding: 0 24px; font-size: 15px; transition: all var(--transition);
}
.btn--outline:hover { background: var(--green-50); }

/* Drawer panel needs position:relative on .drawer */
.drawer { position: relative; }

@media(max-width:767px) {
  .burger { display: flex; }
  .drawer-overlay.open { display: flex; }
  .drawer.open { display: flex; }
  .navbar { display: none; }
}

/* ===== NDC DRAWER (новый, чистый) ===== */
.ndc-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.45); z-index: 9998;
}
.ndc-overlay.open { display: block; }

.ndc-drawer {
  display: none; position: fixed; top: 0; right: 0;
  width: 80vw; max-width: 300px; height: 100%;
  background: #fff; z-index: 9999;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.18);
  scrollbar-width: none; -ms-overflow-style: none;
  transform: translateX(100%); transition: transform 0.28s ease;
}
.ndc-drawer::-webkit-scrollbar { display: none; }
.ndc-drawer.open { display: flex; transform: translateX(0); }

.ndc-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px 16px 20px;
  border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
}
.ndc-drawer__logo { font-size: 15px; font-weight: 700; color: #0A6847; }
.ndc-drawer__close {
  width: 36px; height: 36px; border: none; background: #f5f5f5;
  border-radius: 4px; font-size: 16px; color: #555; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.ndc-drawer__close:hover { background: #e8e8e8; }

.ndc-drawer__body { flex: 1; overflow-y: auto; scrollbar-width: none; }
.ndc-drawer__body::-webkit-scrollbar { display: none; }

.ndc-drawer__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; font-size: 15px; font-weight: 500; color: #1a1a1a;
  text-decoration: none; border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
.ndc-drawer__item:hover { background: #f0faf4; color: #0A6847; }
.ndc-drawer__item--has-arrow::after { content: '›'; font-size: 18px; color: #aaa; }
.ndc-drawer__item--accent { color: #DC2626; font-weight: 600; }
.ndc-drawer__item--accent:hover { background: #fef2f2; color: #DC2626; }

.ndc-drawer__section { border-bottom: 1px solid #f0f0f0; }
.ndc-drawer__section-title {
  padding: 14px 20px 0; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #888;
}

.ndc-drawer__tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 16px 14px; background: #f0faf4;
}
.ndc-drawer__tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 8px; background: #fff;
  border: 1.5px solid #b8dfc9; border-radius: 4px;
  font-size: 12px; font-weight: 500; color: #0A6847; text-align: center;
  cursor: pointer; text-decoration: none; font-family: var(--ff);
  min-height: 76px; width: 100%; transition: border-color 0.15s, background 0.15s;
}
.ndc-drawer__tile:hover, .ndc-drawer__tile:active { border-color: #0A6847; background: #e8f5ee; }
.ndc-drawer__tile--all {
  grid-column: 1 / -1; min-height: 44px; padding: 10px;
  background: #0A6847; color: #fff; border-color: #0A6847;
  font-size: 13px; font-weight: 600; flex-direction: row;
}
.ndc-drawer__tile--all:hover { background: #064E32; border-color: #064E32; color: #fff; }
.ndc-drawer__tile-name { font-size: 12px; font-weight: 600; color: #0A6847; line-height: 1.3; }
.ndc-drawer__tile-sub  { font-size: 10px; font-weight: 400; color: #5a5a5a; line-height: 1.3; }

.ndc-drawer__footer {
  padding: 16px; border-top: 1px solid #f0f0f0; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ndc-drawer__phone {
  display: block; text-align: center; font-size: 16px; font-weight: 600;
  color: #1a1a1a; text-decoration: none;
}
.ndc-drawer__phone:hover { color: #0A6847; }
.ndc-drawer__cta {
  width: 100%; height: 48px; background: #0A6847; color: #fff;
  border: none; border-radius: 4px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: var(--ff); transition: background 0.15s;
}
.ndc-drawer__cta:hover { background: #064E32; }

/* ── ndc-drawer: пункт со стрелкой ── */
.ndc-drawer__item--arrow {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--ff); text-align: left;
}
.ndc-drawer__item--arrow span { font-size: 18px; color: #aaa; }

/* ── ndc-dpanel: панели 2-го и 3-го уровня ── */
.ndc-dpanel {
  position: absolute; inset: 0;
  background: #fff; z-index: 20;
  display: flex; flex-direction: column;
  overflow-y: auto; scrollbar-width: none;
}
.ndc-dpanel::-webkit-scrollbar { display: none; }
.ndc-dpanel[hidden] { display: none; }

.ndc-dpanel__head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.ndc-dpanel__back {
  background: none; border: none; font-size: 14px; font-weight: 600;
  color: #0A6847; cursor: pointer; padding: 4px 0; font-family: var(--ff);
  white-space: nowrap;
}
.ndc-dpanel__back:hover { text-decoration: underline; }
.ndc-dpanel__head span { font-size: 15px; font-weight: 700; color: #1a1a1a; }

.ndc-dpanel__tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 12px 16px 16px; background: #f0faf4;
}
.ndc-dpanel__tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 8px; background: #fff;
  border: 1.5px solid #b8dfc9; border-radius: 4px;
  font-size: 12px; font-weight: 500; color: #0A6847; text-align: center;
  cursor: pointer; text-decoration: none; font-family: var(--ff);
  min-height: 76px; width: 100%; transition: border-color 0.15s, background 0.15s;
}
.ndc-dpanel__tile:hover, .ndc-dpanel__tile:active { border-color: #0A6847; background: #e8f5ee; }
.ndc-dpanel__tile--all {
  grid-column: 1 / -1; min-height: 44px; padding: 10px;
  background: #0A6847; color: #fff; border-color: #0A6847;
  font-size: 13px; font-weight: 600; flex-direction: row;
  display: flex; align-items: center; justify-content: center;
}
.ndc-dpanel__tile--all:hover { background: #064E32; border-color: #064E32; color: #fff; }

.ndc-dpanel__list { list-style: none; padding: 8px 0; flex: 1; }
.ndc-dpanel__list li a {
  display: block; padding: 13px 20px; font-size: 15px; font-weight: 500;
  color: #1a1a1a; text-decoration: none; border-bottom: 1px solid #f5f5f5;
  transition: background 0.12s;
}
.ndc-dpanel__list li:last-child a { color: #0A6847; font-weight: 600; border-bottom: none; }
.ndc-dpanel__list li a:hover { background: #f0faf4; color: #0A6847; }

/* ===== HERO: HUB (branch selector) ===== */
.hero-hub {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--green-50) 100%);
  padding: clamp(48px, 6vw, 72px) var(--px) clamp(40px, 5vw, 64px);
  text-align: center;
}
.hero-hub__badge {
  display: inline-block; font-size: clamp(11px, 1.1vw, 13px); font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-800);
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-hub__title {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; line-height: 1.15; margin-bottom: 16px;
  opacity: 0; animation: fadeUp 0.6s ease 0.35s forwards;
}
.hero-hub__title span { color: var(--green-800); }
.hero-hub__subtitle {
  font-size: clamp(16px, 2vw, 21px); color: var(--text-secondary);
  margin-bottom: clamp(32px, 4vw, 48px);
  opacity: 0; animation: fadeUp 0.6s ease 0.5s forwards;
}

/* Branch cards grid */
.branch-group { margin-bottom: clamp(28px, 4vw, 44px); max-width: 960px; margin-left: auto; margin-right: auto; }
.branch-group__label {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 16px; padding-left: 2px;
}
.branch-group--regions .branch-grid { grid-template-columns: repeat(3, 1fr); max-width: 100%; }
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 22vw, 260px), 1fr));
  gap: clamp(14px, 1.8vw, 20px); max-width: 100%; margin: 0 auto;
  opacity: 0; animation: fadeUp 0.6s ease 0.65s forwards;
}
.branch-card {
  background: var(--bg-white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  text-align: left; transition: all var(--transition); cursor: default;
  color: var(--text-primary); display: flex; flex-direction: column; position: relative;
  overflow: hidden;
}
.branch-card__photo {
  margin: -20px -20px 16px; height: 160px; overflow: hidden; flex-shrink: 0;
}
.branch-card__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.branch-card:hover .branch-card__photo img { transform: scale(1.04); }
.branch-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.branch-card--coming { opacity: 0.65; }
.branch-card--coming:hover { opacity: 0.8; }
.branch-card__emblem {
  position: absolute; top: 130px; right: 14px;
  width: clamp(36px, 4vw, 44px); height: clamp(36px, 4vw, 44px);
  background: rgba(255,255,255,0.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(18px, 2vw, 22px); box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: opacity var(--transition);
}
.branch-card:hover .branch-card__emblem { opacity: 0.9; }
/* Cards without photo: move emblem back to top right */
.branch-card:not(:has(.branch-card__photo)) .branch-card__emblem { top: 14px; }
.branch-card__city { font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; margin-bottom: 6px; }
.branch-card__address { font-size: clamp(14px, 1.3vw, 16px); color: var(--text-secondary); margin-bottom: 14px; line-height: 1.4; }
.branch-card__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.branch-card__rating { display: flex; align-items: center; gap: 6px; font-size: clamp(14px, 1.3vw, 16px); font-weight: 600; color: var(--amber-600); }
.branch-card__rating-stars { color: var(--amber-500); letter-spacing: 1px; }
.branch-card__reviews { font-size: clamp(12px, 1.1vw, 14px); color: var(--text-muted); }
.branch-card__btn {
  width: 100%; height: clamp(42px, 4vw, 48px); background: var(--green-50); color: var(--green-800);
  border: none; border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 16px); font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.branch-card:hover .branch-card__btn { background: var(--green-800); color: #FFF; }

/* Card footer: two actions (перейти + записаться) */
.branch-card__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.branch-card__footer {
  display: flex; gap: 8px; margin-top: auto; padding-top: 14px;
}
.branch-card__link {
  flex: 1; display: flex; align-items: center; justify-content: center;
  height: clamp(38px, 3.8vw, 44px);
  background: var(--green-50); color: var(--green-800);
  border-radius: var(--radius-sm); font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600; text-decoration: none; transition: all var(--transition);
}
.branch-card__link:hover { background: var(--green-100, #DCFCE7); color: var(--green-900); }
.branch-card__cta {
  flex: 1; display: flex; align-items: center; justify-content: center;
  height: clamp(38px, 3.8vw, 44px);
  background: var(--green-800); color: #FFF;
  border-radius: var(--radius-sm); font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600; text-decoration: none; transition: all var(--transition);
}
.branch-card__cta:hover { background: var(--green-900); color: #FFF; }
.branch-card--coming .branch-card__cta { display: none; }
.branch-card__badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill);
}
.branch-card__badge--new    { background: var(--amber-500); color: #FFF; }
.branch-card__badge--coming { background: var(--border); color: var(--text-muted); }

/* Trust: hub version */
.trust-hub {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 900px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-white);
  opacity: 0; animation: fadeUp 0.6s ease 0.8s forwards;
}
.trust-hub__item {
  padding: clamp(20px, 2.5vw, 32px) clamp(10px, 1.5vw, 20px);
  text-align: center; border-right: 1px solid var(--border);
}
.trust-hub__item:last-child { border-right: none; }
.trust-hub__number { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--green-800); line-height: 1.1; margin-bottom: 6px; white-space: nowrap; }
.trust-hub__label { font-size: clamp(12px, 1.1vw, 14px); color: var(--text-muted); line-height: 1.4; }

/* ===== HERO: BRANCH (search + trust) ===== */
.hero {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--green-50) 100%);
  padding: clamp(36px, 5vw, 56px) var(--px) 0;
  text-align: center;
}
.hero__badge {
  display: inline-block; font-size: clamp(11px, 1.1vw, 13px); font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--green-800);
  margin-bottom: 20px; opacity: 0; animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero__title {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 54px);
  font-weight: 800; line-height: 1.15; margin-bottom: 16px;
  opacity: 0; animation: fadeUp 0.6s ease 0.35s forwards;
}
.hero__title span { color: var(--green-800); }
.hero__subtitle {
  font-size: clamp(16px, 2vw, 21px); color: var(--text-secondary);
  margin-bottom: clamp(28px, 3.5vw, 40px);
  opacity: 0; animation: fadeUp 0.6s ease 0.5s forwards;
}
.search-container {
  max-width: 640px; margin: 0 auto clamp(16px, 2vw, 24px);
  opacity: 0; animation: fadeUp 0.6s ease 0.65s forwards;
  position: relative; z-index: 1000;
}
.search-box {
  display: flex; align-items: center; background: var(--bg-white);
  border: 2px solid var(--border); border-radius: var(--radius);
  height: clamp(52px, 5.5vw, 62px); transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box:focus-within { border-color: var(--green-800); box-shadow: 0 0 0 4px rgba(10,104,71,0.08); }
.search-box__icon { padding: 0 0 0 clamp(14px, 1.5vw, 20px); color: var(--text-muted); display: flex; flex-shrink: 0; }
.search-box__input {
  flex: 1; height: 100%; border: none; outline: none;
  font-size: clamp(15px, 1.4vw, 17px); font-family: var(--font-body);
  color: var(--text-primary); padding: 0 12px; background: transparent;
}
.search-box__input::placeholder { color: var(--text-muted); }
.search-box__btn {
  height: calc(100% - 12px); padding: 0 clamp(18px, 2.5vw, 30px); margin: 6px;
  background: var(--green-800); color: white; border: none;
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.search-box__btn:hover { background: var(--green-700); }
.tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(6px, 0.8vw, 10px); max-width: 700px; margin: 0 auto;
  opacity: 0; animation: fadeUp 0.6s ease 0.8s forwards;
}
.tag {
  display: inline-flex; align-items: center;
  height: clamp(36px, 3.8vw, 42px); padding: 0 clamp(12px, 1.5vw, 20px);
  background: var(--bg-white); border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  font-size: clamp(13px, 1.2vw, 15px); font-weight: 500; color: var(--text-secondary);
  cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.tag:hover { border-color: var(--green-800); color: var(--green-800); background: var(--green-50); transform: translateY(-1px); }

/* Trust: branch version */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 960px; margin: clamp(32px, 4.5vw, 56px) auto 0;
  border-top: 1px solid var(--border); background: var(--bg-white);
  opacity: 0; animation: fadeUp 0.6s ease 0.95s forwards;
}
.trust__item {
  padding: clamp(20px, 3vw, 36px) clamp(10px, 1.5vw, 20px);
  text-align: center; border-right: 1px solid var(--border); transition: background var(--transition);
}
.trust__item:last-child { border-right: none; }
.trust__item:hover { background: var(--green-50); }
.trust__number { font-size: clamp(22px, 3vw, 36px); font-weight: 700; color: var(--green-800); line-height: 1.1; margin-bottom: 8px; white-space: nowrap; }
.trust__number--amber { color: var(--amber-600); }
.trust__label { font-size: clamp(12px, 1.1vw, 14px); color: var(--text-muted); line-height: 1.4; }
.trust__link { font-size: clamp(12px, 1.1vw, 14px); color: var(--green-800); text-decoration: none; margin-top: 4px; font-weight: 500; display: inline-flex; }
.trust__link:hover { text-decoration: underline; }

/* ===== CTA BANNER ===== */
.cta-banner { background: var(--green-900); color: #FFF; }
.cta-banner__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px);
  display: grid; grid-template-columns: clamp(200px, 30vw, 360px) 1fr;
  align-items: center; min-height: clamp(180px, 20vw, 240px);
}
.cta-banner__photo {
  font-size: 80px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); height: 100%;
}
.cta-banner__content { padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.cta-banner__title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: clamp(8px, 1.2vw, 14px); }
.cta-banner__desc { font-size: clamp(14px, 1.3vw, 16px); opacity: 0.8; line-height: 1.6; margin-bottom: clamp(18px, 2.5vw, 28px); max-width: 520px; }
.cta-banner__buttons { display: flex; gap: clamp(10px, 1.2vw, 16px); flex-wrap: wrap; }
.cta-banner__btn {
  height: clamp(48px, 5vw, 56px); padding: 0 clamp(24px, 3vw, 40px);
  min-width: clamp(180px, 20vw, 240px); text-align: center; justify-content: center;
  border-radius: var(--radius-pill); font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 16px); font-weight: 700; cursor: pointer; transition: all var(--transition); white-space: nowrap;
  display: inline-flex; align-items: center; text-decoration: none;
}
.cta-banner__btn--primary { background: var(--amber-500); color: #FFF; border: none; }
.cta-banner__btn--primary:hover { background: var(--amber-600); transform: translateY(-1px); }
.cta-banner__btn--outline { background: transparent; color: #FFF; border: 1.5px solid rgba(255,255,255,0.4); }
.cta-banner__btn--outline:hover { border-color: #FFF; background: rgba(255,255,255,0.08); }

/* ===== PROMO COMPLEXES (scrollable) ===== */
.promo-complexes {
  display: flex; gap: clamp(12px, 1.5vw, 20px);
  overflow-x: scroll; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; touch-action: pan-x;
  padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.promo-complexes::-webkit-scrollbar { height: 6px; }
.promo-complexes::-webkit-scrollbar-track { background: transparent; }
.promo-complexes::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.promo-complex {
  flex: 0 0 clamp(260px, 30vw, 340px); scroll-snap-align: start;
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  color: #FFF; position: relative; overflow: hidden; transition: transform var(--transition);
  cursor: pointer; text-decoration: none; display: block;
}
.promo-complex:hover { transform: translateY(-4px); }
.promo-complex--green { background: linear-gradient(135deg, #0A6847, #064E32); }
.promo-complex--dark  { background: linear-gradient(135deg, #064E32, #032E1C); }
.promo-complex--amber { background: linear-gradient(135deg, #92400E, #78350F); }
.promo-complex__icon { font-size: clamp(28px, 3vw, 36px); margin-bottom: 12px; display: block; }
.promo-complex__title { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.promo-complex__desc { font-size: clamp(13px, 1.1vw, 14px); opacity: 0.8; line-height: 1.5; margin-bottom: 16px; }
.promo-complex__link { font-size: clamp(13px, 1.2vw, 15px); font-weight: 600; color: #FFF; opacity: 0.9; }

/* ===== WHY NDC (scrollable) ===== */
.why-scroll {
  display: flex; gap: clamp(12px, 1.5vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.why-scroll::-webkit-scrollbar { height: 6px; }
.why-scroll::-webkit-scrollbar-track { background: transparent; }
.why-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.why-card {
  flex: 0 0 clamp(200px, 22vw, 240px); scroll-snap-align: start;
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 32px) clamp(16px, 2vw, 24px);
  text-align: center; transition: all var(--transition);
}
.why-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-md); }
.why-card__icon {
  width: clamp(52px, 5.5vw, 64px); height: clamp(52px, 5.5vw, 64px);
  margin: 0 auto clamp(12px, 1.5vw, 18px);
  background: var(--green-50); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(26px, 2.8vw, 32px);
}
.why-card__title { font-size: clamp(15px, 1.4vw, 17px); font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.why-card__desc { font-size: clamp(13px, 1.1vw, 14px); color: var(--text-muted); line-height: 1.5; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { text-align: center; padding: clamp(24px, 3vw, 36px) clamp(16px, 2vw, 28px); position: relative; }
.step__number {
  width: clamp(44px, 5vw, 56px); height: clamp(44px, 5vw, 56px);
  margin: 0 auto clamp(12px, 1.5vw, 18px);
  background: var(--green-800); color: #FFF; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(18px, 2vw, 22px); font-weight: 700; position: relative; z-index: 1;
}
.step__title { font-size: clamp(15px, 1.4vw, 17px); font-weight: 600; margin-bottom: 6px; }
.step__desc { font-size: clamp(13px, 1.1vw, 14px); color: var(--text-muted); line-height: 1.5; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: clamp(44px, 5.5vw, 64px); right: 0;
  width: 50%; height: 2px; background: var(--green-100); z-index: 0;
}
.step:not(:first-child)::before {
  content: ''; position: absolute; top: clamp(44px, 5.5vw, 64px); left: 0;
  width: 50%; height: 2px; background: var(--green-100); z-index: 0;
}

/* ===== DIRECTIONS GRID ===== */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 18vw, 200px), 1fr));
  gap: clamp(12px, 1.5vw, 16px);
}
/* Compact 4-col variant for homepage */
.dir-grid--home {
  grid-template-columns: repeat(4, 1fr);
  justify-content: start;
}
.dir-card {
  background: var(--bg-white); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 28px) clamp(14px, 1.5vw, 20px);
  text-align: center; transition: all var(--transition); cursor: pointer;
  text-decoration: none; color: var(--text-primary); display: block;
}
.dir-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dir-card__icon {
  width: clamp(48px, 5vw, 60px); height: clamp(48px, 5vw, 60px);
  margin: 0 auto clamp(10px, 1.2vw, 16px); background: var(--green-50); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(24px, 2.5vw, 30px); transition: background var(--transition);
}
.dir-card:hover .dir-card__icon { background: var(--green-100); }
.dir-card__name  { font-size: clamp(15px, 1.4vw, 17px); font-weight: 600; margin-bottom: 4px; }
.dir-card__price { font-size: clamp(13px, 1.2vw, 15px); color: var(--text-muted); }
/* Compact dir-card for homepage (half size) */
.dir-card--compact {
  padding: clamp(12px, 1.5vw, 16px) clamp(8px, 1vw, 14px);
  height: 110px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.dir-card--compact .dir-card__icon {
  width: 36px; height: 36px; font-size: 18px; margin: 0; border-radius: 10px; flex-shrink: 0;
}
.dir-card--compact .dir-card__name  { font-size: 13px; margin-bottom: 0; line-height: 1.3; }
.dir-card--compact .dir-card__price { font-size: 12px; }
@media (max-width: 768px) { .dir-grid--home { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .dir-grid--home { grid-template-columns: repeat(2, 1fr); } }

/* ===== DOCTORS CAROUSEL ===== */
.docs-scroll {
  display: flex; gap: clamp(12px, 1.5vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.docs-scroll::-webkit-scrollbar { height: 6px; }
.docs-scroll::-webkit-scrollbar-track { background: transparent; }
.docs-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== CLINIC PHOTOS ===== */
.photos-scroll {
  display: flex; gap: clamp(12px, 1.5vw, 16px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.photo-card {
  flex: 0 0 clamp(260px, 30vw, 340px); scroll-snap-align: start;
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--green-800); position: relative;
  cursor: pointer; transition: transform var(--transition);
}
.photo-card:hover { transform: scale(1.02); }
.photo-card__label {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.6); color: #FFF; font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: var(--radius-pill);
}

/* ===== PROMOS ===== */
.promo-scroll {
  display: flex; gap: clamp(12px, 1.5vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.promo-card {
  flex: 0 0 clamp(280px, 35vw, 380px); scroll-snap-align: start;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 32px);
  color: #FFF; position: relative; overflow: hidden; transition: transform var(--transition);
}
.promo-card:hover { transform: translateY(-3px); }
.promo-card--amber { background: linear-gradient(135deg, #92400E 0%, #78350F 100%); }
.promo-card--red   { background: linear-gradient(135deg, #991B1B 0%, #7F1D1D 100%); }
.promo-card__badge {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; padding: 4px 12px; background: rgba(255,255,255,0.15);
  border-radius: var(--radius-pill); margin-bottom: 16px;
}
.promo-card__title  { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.promo-card__desc   { font-size: clamp(13px, 1.2vw, 15px); opacity: 0.8; margin-bottom: 20px; line-height: 1.5; }
.promo-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.promo-card__price  { font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; }
.promo-card__old    { font-size: clamp(14px, 1.3vw, 16px); opacity: 0.5; text-decoration: line-through; margin-left: 8px; font-weight: 400; }
.promo-card__btn {
  height: 40px; padding: 0 20px; background: #FFF; color: var(--green-800);
  border: none; border-radius: var(--radius-pill); font-family: var(--font-body);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.promo-card__btn:hover { transform: scale(1.03); }

/* ===== REVIEWS ===== */
.reviews-grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.review-card-v2 {
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: clamp(20px, 2.5vw, 28px); transition: border-color var(--transition);
}
.review-card-v2:hover { border-color: var(--green-800); }
.review-card-v2__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(10px, 1.2vw, 14px); }
.review-card-v2__name   { font-size: clamp(16px, 1.5vw, 18px); font-weight: 700; color: var(--text-primary); }
.review-card-v2__stars  { font-size: clamp(16px, 1.5vw, 18px); color: var(--amber-500); letter-spacing: 1px; }
.review-card-v2__text {
  font-size: clamp(14px, 1.3vw, 16px); color: var(--text-secondary); line-height: 1.6;
  margin-bottom: clamp(12px, 1.5vw, 18px);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card-v2__bottom { display: flex; align-items: center; justify-content: space-between; }
.review-card-v2__date   { font-size: clamp(12px, 1.1vw, 14px); color: var(--text-muted); }
.review-card-v2__source { font-size: clamp(12px, 1.1vw, 14px); color: var(--green-800); text-decoration: none; font-weight: 500; }
.review-card-v2__source:hover { text-decoration: underline; }

/* ===== AGGREGATORS ===== */
.agg-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.agg-card {
  background: var(--bg-white); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px) clamp(10px, 1.2vw, 16px); text-align: center;
  transition: all var(--transition); cursor: pointer; text-decoration: none; display: block;
}
.agg-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.agg-card__logo  { font-size: clamp(12px, 1.3vw, 15px); font-weight: 700; color: var(--text-primary); margin-bottom: 6px; line-height: 1.3; }
.agg-card__label { font-size: clamp(11px, 1vw, 12px); color: var(--text-muted); margin-bottom: 4px; }
.agg-card__stars { font-size: clamp(13px, 1.2vw, 15px); color: var(--amber-500); letter-spacing: 1px; }
.agg-card__score { font-size: clamp(11px, 1vw, 12px); color: var(--text-muted); margin-top: 2px; }

/* ===== ARTICLES ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(250px, 28vw, 320px), 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}
.article-card {
  background: var(--bg-white); border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all var(--transition); cursor: pointer;
  text-decoration: none; color: var(--text-primary); display: block;
}
.article-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card__img  { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--green-50), #e0f2e9); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.article-card__body { padding: clamp(16px, 2vw, 24px); }
.article-card__tag  { display: inline-block; font-size: 12px; font-weight: 600; color: var(--green-800); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.article-card__title   { font-size: clamp(16px, 1.5vw, 18px); font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.article-card__excerpt { font-size: clamp(13px, 1.2vw, 15px); color: var(--text-muted); line-height: 1.5; }

/* ===== NEWS LIST ===== */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex; align-items: baseline; gap: clamp(12px, 2vw, 24px);
  padding: clamp(14px, 2vw, 20px) 0; border-bottom: 1px solid var(--border);
  transition: background var(--transition); cursor: pointer;
  text-decoration: none; color: var(--text-primary);
}
.news-item:hover { background: var(--green-50); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: var(--radius-sm); }
.news-item:last-child { border-bottom: none; }
.news-item__date  { font-size: clamp(13px, 1.1vw, 14px); color: var(--text-muted); white-space: nowrap; flex-shrink: 0; min-width: 90px; }
.news-item__title { font-size: clamp(15px, 1.4vw, 17px); font-weight: 500; }

/* ===== NEWS CARDS (homepage) ===== */
.news-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
.news-card {
  background: var(--bg-white); border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all var(--transition); text-decoration: none; color: var(--text-primary); display: flex; flex-direction: column;
}
.news-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card__img {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: rgba(255,255,255,0.6); flex-shrink: 0; overflow: hidden;
}
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: clamp(14px, 1.8vw, 20px); flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card__date { font-size: 12px; color: var(--text-muted); }
.news-card__title { font-size: clamp(14px, 1.3vw, 16px); font-weight: 600; line-height: 1.4; flex: 1; }
.news-card__excerpt { font-size: clamp(12px, 1.1vw, 14px); color: var(--text-muted); line-height: 1.5; }
@media (max-width: 768px) { .news-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .news-cards-grid { grid-template-columns: 1fr; } }

/* ===== MAP WITH ROUTES ===== */
.map-routes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.map-route-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all var(--transition); border: 1.5px solid var(--border);
  background: var(--bg-white); color: var(--text-secondary); white-space: nowrap;
}
.map-route-btn:hover { border-color: var(--green-800); color: var(--green-800); background: var(--green-50); }
.map-building-placeholder {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #0C7E56 0%, #064E32 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; color: rgba(255,255,255,0.7);
  font-size: 14px; font-weight: 500;
}
.map-building-placeholder__icon { font-size: 48px; }
.yndx-map-iframe { width: 100%; border-radius: var(--radius); border: none; display: block; height: clamp(340px, 40vw, 480px); }

/* ===== MAP ===== */
.map-placeholder {
  width: 100%; background: var(--green-50); border-radius: var(--radius);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--green-800);
}
.map-placeholder--hub    { aspect-ratio: 2.5/1; }
.map-placeholder--branch { aspect-ratio: 4/3; }
.map-section  { background: var(--bg-white); }
.map-inner    { max-width: var(--max-w); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--px); }
.map-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.map-grid--equal { align-items: stretch; }
.map-grid__left  { display: flex; flex-direction: column; min-height: 420px; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map-grid__left iframe { flex: 1; min-height: 0; border-radius: 0; }
.map-grid__left .map-routes { padding: 16px; border-top: 1px solid var(--border); background: var(--bg-white); }
.map-grid__right { display: flex; flex-direction: column; gap: 20px; min-height: 420px; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg-white); }
.map-building-photo { width: 100%; flex: 1; min-height: 120px; border-radius: calc(var(--radius) - 2px); object-fit: cover; display: block; }
.map-info     { display: flex; flex-direction: column; gap: 20px; }
.map-info__block { display: flex; gap: 14px; }
.map-info__icon  { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); display: flex; align-items: center; justify-content: center; color: var(--green-800); flex-shrink: 0; }
.map-info__text h4 { font-size: clamp(14px, 1.3vw, 16px); font-weight: 600; margin-bottom: 4px; }
.map-info__text p  { font-size: clamp(14px, 1.2vw, 16px); color: var(--text-secondary); line-height: 1.5; }
.map-info__text a  { color: var(--green-800); text-decoration: none; font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); }
.map-info__text a:hover { text-decoration: underline; }

/* ===== EQUIPMENT ===== */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.equip-card { background: var(--bg-white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.equip-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-md); }
.equip-card__img   { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--green-50), var(--green-100)); display: flex; align-items: center; justify-content: center; font-size: 42px; }
.equip-card__body  { padding: clamp(16px, 2vw, 24px); }
.equip-card__name  { font-size: clamp(16px, 1.5vw, 18px); font-weight: 600; margin-bottom: 4px; }
.equip-card__brand { font-size: clamp(13px, 1.2vw, 15px); color: var(--green-800); font-weight: 500; margin-bottom: 6px; }
.equip-card__desc  { font-size: clamp(13px, 1.1vw, 14px); color: var(--text-muted); line-height: 1.5; }

/* ===== FOOTER ===== */
.footer { background: var(--green-900); color: rgba(255,255,255,0.8); }
.footer__inner { max-width: var(--max-w); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--px) clamp(24px, 3vw, 32px); }
/* City dropdown group label & coming badge */
.city-dropdown__group {
  padding: 8px 16px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); pointer-events: none;
}
.city-option__addr { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; margin-top: 1px; }
.city-option--coming { opacity: 0.6; }
.city-option__badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--amber-500, #F59E0B); color: #1a1a1a; border-radius: 3px; padding: 1px 5px;
  white-space: nowrap; flex-shrink: 0;
}

/* Yandex Map block */
.yndx-map-section { background: var(--bg-alt, #F0FAF4); padding: clamp(32px, 4vw, 56px) var(--px); }
.yndx-map-section__inner { max-width: 1400px; margin: 0 auto; }
.yndx-map-iframe {
  width: 100%; border-radius: var(--radius); border: none; display: block;
  height: clamp(360px, 45vw, 520px);
}

/* ===== FOOTER (grid layout) ===== */
.footer__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__grid--branch { grid-template-columns: repeat(4, 1fr); }
.footer__hub-contacts { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.footer__hub-phone { font-size: 15px; font-weight: 600; color: #FFF; text-decoration: none; }
.footer__hub-phone:hover { text-decoration: underline; }
.footer__hub-email { font-size: 13px; color: rgba(255,255,255,0.75); text-decoration: none; }
.footer__hub-email:hover { color: #FFF; text-decoration: underline; }
.footer__logo { font-weight: 700; font-size: 28px; color: #FFF; letter-spacing: 2px; margin-bottom: 8px; }
.footer__tagline { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.footer__org-name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 10px; }
.footer__license { font-size: 11px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 16px; }
.footer__nap { font-style: normal; display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.footer__nap-addr { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.footer__nap-phone { font-size: 14px; font-weight: 600; color: #FFF; text-decoration: none; }
.footer__nap-phone:hover { text-decoration: underline; }
.footer__socials { display: flex; gap: 8px; }
.footer__social {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #FFF; text-decoration: none; transition: all var(--transition);
}
.footer__social:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.15); }
.footer__col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer__links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: clamp(13px, 1.1vw, 14px); transition: color var(--transition); }
.footer__links a:hover { color: #FFF; }
.footer__branch-item a { display: flex; flex-direction: column; gap: 2px; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 13px; transition: color var(--transition); padding: 3px 0; }
.footer__branch-item a:hover { color: #FFF; }
.footer__branch-item--coming a { opacity: 0.55; }
.footer__branch-city { font-weight: 600; font-size: 12px; }
.footer__branch-city--dup { font-weight: 400; color: rgba(255,255,255,0.6); }
.footer__branch-addr { font-size: 11px; color: rgba(255,255,255,0.7); }
.footer__branch-tag { display: inline-block; font-size: 10px; padding: 1px 5px; background: rgba(255,255,255,0.15); border-radius: 3px; vertical-align: middle; }
.footer__quality { display: none; }
/* Нижняя полоса: дисклеймер (3/4) + НОК (1/4) */
.footer__bottom-bar {
  display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 2.5vw, 32px) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__bottom-bar__left { flex: 3; min-width: 0; }
.footer__bottom-bar__left p { font-size: clamp(10px, 0.9vw, 12px); line-height: 1.6; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.footer__bottom-bar__left p:last-child { margin-bottom: 0; }
.footer__bottom-bar__left a { color: rgba(255,255,255,0.9); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); }
.footer__bottom-bar__left a:hover { color: #fff; }
.footer__bottom-bar__right {
  flex: 0 0 22%; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
  padding-left: clamp(16px, 2vw, 32px);
  border-left: 1px solid rgba(255,255,255,0.12);
}
.footer__bottom-bar__nok-text { font-size: 10px; line-height: 1.5; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.3px; }
.footer__bottom-bar__nok-link { font-size: 11px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.footer__bottom-bar__nok-link:hover { color: #fff; text-decoration: underline; }
.footer__disclaimers { display: flex; align-items: flex-start; gap: clamp(16px, 3vw, 40px); padding: clamp(20px, 2.5vw, 32px) 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__disclaimers__inner { flex: 3; min-width: 0; }
.footer__disclaimers p { font-size: clamp(10px, 0.9vw, 12px); line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: clamp(8px, 1vw, 12px); }
.footer__disclaimers p:last-child { margin-bottom: 0; }
.footer__disclaimers a { color: #FFF; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.footer__disclaimers a:hover { color: #FFF; text-decoration-color: rgba(255,255,255,0.8); }
.footer__nok-compact { flex: 0 0 22%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid rgba(255,255,255,0.12); }
.footer__nok-compact__text { font-size: 10px; line-height: 1.5; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.3px; }
.footer__nok-compact__link { font-size: 11px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.footer__nok-compact__link:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  padding-top: clamp(16px, 2vw, 24px); display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: clamp(8px, 1.2vw, 16px);
  font-size: clamp(11px, 0.9vw, 12px); color: rgba(255,255,255,0.8);
}
.footer__bottom-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer__bottom-links a { color: #FFF; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.footer__bottom-links a:hover { color: #FFF; text-decoration-color: rgba(255,255,255,0.8); }
.footer__bottom-links span[aria-hidden] { color: rgba(255,255,255,0.4); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-white); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.12); padding: clamp(16px, 2.5vw, 24px) var(--px);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 2vw, 32px); flex-wrap: wrap; animation: slideUp 0.4s ease;
}
.cookie-banner.hidden { display: none; }
.cookie-banner__text { font-size: clamp(13px, 1.2vw, 15px); color: var(--text-secondary); line-height: 1.5; max-width: 600px; }
.cookie-banner__text a { color: var(--green-800); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cookie-banner__accept {
  height: 42px; padding: 0 28px; background: var(--green-800); color: #FFF; border: none;
  border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.cookie-banner__accept:hover { background: var(--green-700); }
.cookie-banner__reject {
  height: 42px; padding: 0 24px; background: transparent; color: var(--text-muted);
  border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.cookie-banner__reject:hover { border-color: var(--text-secondary); color: var(--text-secondary); }

/* ===== MOBILE STICKY CTA ===== */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg-white); border-top: 1px solid var(--border);
  padding: 12px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-cta__inner { display: flex; gap: 12px; }
.mobile-cta .btn-cta { flex: 1; height: 52px; font-size: 17px; background: var(--green-800); color: #FFF; }
.mobile-cta .btn-cta::after { display: none; }
.mobile-cta__phone {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--green-800); color: var(--green-800);
  text-decoration: none; flex-shrink: 0; transition: all var(--transition);
}
.mobile-cta__phone:hover { background: var(--green-800); color: #FFF; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes dropIn  { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .agg-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid--branch { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 740px) {
  /* ПРОБЛЕМА 1: Шапка на мобильном */
  .top-bar { height: auto; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
  .top-bar__inner { flex-wrap: nowrap; }
  .top-bar__info-group { display: none; }
  .top-bar__mobile-phone { display: flex; }
  /* Скрываем кнопку «Записаться» в шапке — она дублируется в drawer */
  .top-bar__actions .btn-cta { display: none; }
  /* Логотип — сжимаем подпись */
  .top-bar__logo-sub { display: none; }

  .navbar__mini-logo, .navbar__cta { display: none !important; }
  .navbar { overflow-x: auto; justify-content: flex-start; border-left: none; border-right: none; }
  .navbar__inner { flex-wrap: nowrap; }
  .navbar__list { justify-content: flex-start; flex: none; }
  .navbar__item { flex: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: none; }
  .trust__item:nth-child(3), .trust__item:nth-child(4) { border-top: 1px solid var(--border); }
  .trust__item:nth-child(4) { border-right: none; }
  .trust-hub { grid-template-columns: repeat(2, 1fr); }
  .trust-hub__item:nth-child(2) { border-right: none; }
  .trust-hub__item:nth-child(3), .trust-hub__item:nth-child(4) { border-top: 1px solid var(--border); }
  .trust-hub__item:nth-child(4) { border-right: none; }
  .cta-banner__inner { grid-template-columns: 1fr; }
  .cta-banner__photo { display: none; }
  .reviews-grid-2col { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .footer__grid, .footer__grid--branch { grid-template-columns: 1fr; }
  .footer__quality { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .footer__bottom-bar { flex-direction: column; gap: 20px; }
  .footer__bottom-bar__right { flex: none; width: 100%; border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; }
  .footer__disclaimers { flex-direction: column; gap: 20px; }
  .footer__nok-compact { flex: none; width: 100%; border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom-links { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 80px; }

  /* ПРОБЛЕМА 2: Горизонтальные скролл-контейнеры */
  .promo-complexes,
  .why-scroll,
  .docs-scroll,
  .photos-scroll,
  .promo-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 16px 16px;
    margin: 0 -16px;
    width: calc(100% + 32px);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .promo-complexes::-webkit-scrollbar,
  .why-scroll::-webkit-scrollbar,
  .docs-scroll::-webkit-scrollbar,
  .photos-scroll::-webkit-scrollbar,
  .promo-scroll::-webkit-scrollbar { display: none; }

  /* Карточки: 85vw, одна+пик на экране */
  .promo-complex,
  .why-card {
    flex: 0 0 85vw;
    max-width: 85vw;
    min-width: 0;
    scroll-snap-align: start;
  }

  /* ПРОБЛЕМА 3: Блок «4 шага» → горизонтальный скролл */
  .steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 16px 16px;
    margin: 0 -16px;
    width: calc(100% + 32px);
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Сброс grid-свойств */
    grid-template-columns: unset;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step:not(:last-child)::after, .step:not(:first-child)::before { display: none; }
  .step {
    flex: 0 0 72vw;
    min-width: 0;
    scroll-snap-align: start;
    text-align: center;
    padding: 20px 16px;
  }
}
@media (max-width: 520px) {
  .agg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 740px) {
  body { font-size: 15px; }
  h1 { font-size: clamp(26px, 6vw, 36px); }
  h2 { font-size: clamp(20px, 5vw, 28px); }
}

/* ===== CTA BAND ===== */
.cta-band,
.section--green {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  padding: clamp(40px, 6vw, 64px) var(--px);
  text-align: center;
}
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section--green .container { max-width: 640px; padding: 0; }
.btn--white {
  display: inline-flex; align-items: center; justify-content: center;
  background: #FFF; color: var(--green-800);
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.btn--white:hover { background: var(--green-50); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { height: 52px; padding: 0 40px; font-size: 17px; }
/* Legacy aliases */
.cta-band__inner { max-width: 600px; margin: 0 auto; }
.cta-band__title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #FFF; margin-bottom: 12px; }
.cta-band__desc { font-size: clamp(14px, 1.3vw, 16px); color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.cta-band__btn { background: #FFF; color: var(--green-800); border: none; height: 52px; padding: 0 36px; font-size: 17px; font-weight: 700; border-radius: var(--radius-pill); cursor: pointer; transition: all var(--transition); }
.cta-band__btn:hover { background: var(--green-50); transform: translateY(-2px); }

/* ===== PLATFORM CARDS ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: clamp(10px, 1.5vw, 16px);
}
.platform-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: clamp(16px, 2vw, 20px) clamp(12px, 1.5vw, 16px);
  border: 2px solid var(--green-100); border-radius: 4px;
  background: var(--bg-white); text-decoration: none; color: var(--text-primary);
  transition: all var(--transition); text-align: center;
}
.platform-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.platform-card__logo { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.platform-card__name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.platform-card__stars { font-size: 14px; color: var(--amber-500); letter-spacing: 1px; }
.platform-card__rating { font-size: 20px; font-weight: 700; color: var(--text-primary); }

/* ===== MAP SECTION REWORK ===== */
.map-section { background: var(--bg-white); }
.map-inner { max-width: var(--max-w); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--px); }
.map-building-photo--top {
  width: 100%; max-height: 320px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 28px;
}
.map-contacts {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 24px;
}
.map-contacts .map-info__block { flex: 1 1 200px; display: flex; align-items: flex-start; gap: 12px; }
.map-info__icon { flex-shrink: 0; color: var(--green-800); margin-top: 2px; }
.map-info__text h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 2px; }
.map-info__text p, .map-info__text a { font-size: 15px; font-weight: 500; color: var(--text-primary); text-decoration: none; }
.map-info__text a:hover { color: var(--green-800); }

/* Маршруты аккордеон */
.map-routes-acc { margin-bottom: 20px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map-route-item { border-bottom: 1px solid var(--border); }
.map-route-item:last-child { border-bottom: none; }
.map-route-item__head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; cursor: pointer;
  font-size: 15px; font-weight: 600; list-style: none;
  transition: background var(--transition);
}
.map-route-item__head::-webkit-details-marker { display: none; }
.map-route-item__head:hover { background: var(--green-50); }
.map-route-item[open] .map-route-item__head { color: var(--green-800); background: var(--green-50); }
.map-route-item__body { padding: 0 16px 14px 42px; font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== GLOBAL BOOKING MODAL ===== */
.ndc-bm { display: none; position: fixed; inset: 0; z-index: 9000; align-items: flex-end; justify-content: center; }
.ndc-bm--open { display: flex; }
.ndc-bm__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); animation: bmFadeIn .2s ease; }
@keyframes bmFadeIn { from { opacity:0 } to { opacity:1 } }
.ndc-bm__panel {
  position: relative; z-index: 1;
  width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
  font-family: 'DM Sans', -apple-system, sans-serif;
  animation: bmSlideUp .25s ease;
}
@keyframes bmSlideUp { from { transform:translateY(40px); opacity:0 } to { transform:translateY(0); opacity:1 } }
@media (min-width: 600px) {
  .ndc-bm { align-items: center; }
  .ndc-bm__panel { border-radius: 12px; margin: 16px; }
}
.ndc-bm__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px 0;
  border-bottom: 1px solid #E8F5EE;
  padding-bottom: 16px;
}
.ndc-bm__title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(18px,2vw,22px); font-weight: 700; color: #1A1A1A; }
.ndc-bm__close {
  width: 36px; height: 36px; border: 1.5px solid #E5E5E5; border-radius: 8px;
  background: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #8A8A8A; transition: all .2s ease; flex-shrink: 0;
}
.ndc-bm__close:hover { border-color: #0A6847; color: #0A6847; }
.ndc-bm__screen { padding: 20px 28px 28px; }
.ndc-bm__screen--hidden { display: none; }
.ndc-bm__subtitle { font-size: 14px; color: #5A5A5A; margin-bottom: 18px; }
/* Entry grid */
.ndc-bm__entry-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.ndc-bm__entry-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 18px 10px; border: 1.5px solid #E5E5E5; border-radius: 8px;
  cursor: pointer; transition: all .2s ease; text-decoration: none; color: #1A1A1A;
  background: #fff;
}
.ndc-bm__entry-card:hover { border-color: #0A6847; background: #F0FAF4; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10,104,71,.1); }
.ndc-bm__entry-card--accent { border-color: #C6E6D6; background: #F0FAF4; }
.ndc-bm__entry-card--accent:hover { border-color: #0A6847; background: #E8F5EE; }
.ndc-bm__entry-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #F0FAF4; display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.ndc-bm__entry-card:hover .ndc-bm__entry-icon { background: #E8F5EE; }
.ndc-bm__entry-name { font-size: 13px; font-weight: 600; line-height: 1.3; color: #1A1A1A; }
.ndc-bm__entry-desc { font-size: 11px; color: #8A8A8A; line-height: 1.3; }
.ndc-bm__phone-link {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: 17px; color: #0A6847; text-decoration: none;
  border: 1.5px solid #E5E5E5; border-radius: 8px; padding: 13px;
  transition: all .2s ease;
}
.ndc-bm__phone-link:hover { border-color: #0A6847; background: #F0FAF4; }
/* Quick form */
.ndc-bm__back {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: #0A6847; background: none; border: none; cursor: pointer; padding: 0 0 16px;
  font-family: inherit;
}
.ndc-bm__back:hover { text-decoration: underline; }
.ndc-bm__field { margin-bottom: 14px; }
.ndc-bm__label { display: block; font-size: 13px; font-weight: 600; color: #5A5A5A; margin-bottom: 6px; }
.ndc-bm__label span { color: #DC2626; }
.ndc-bm__input {
  width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #E5E5E5;
  border-radius: 8px; font-family: 'DM Sans', -apple-system, sans-serif; font-size: 15px;
  outline: none; transition: border-color .2s ease; background: #fff; color: #1A1A1A;
}
.ndc-bm__input::placeholder { color: #8A8A8A; }
.ndc-bm__input:focus { border-color: #0A6847; }
.ndc-bm__input.is-error { border-color: #DC2626; }
.ndc-bm__consent-wrap { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.ndc-bm__checkbox { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: #0A6847; cursor: pointer; }
.ndc-bm__consent { font-size: 12px; color: #5A5A5A; line-height: 1.5; cursor: pointer; }
.ndc-bm__consent a { color: #0A6847; }
.ndc-bm__submit { width: 100%; height: 50px; font-size: 16px; font-weight: 700; font-family: 'DM Sans', -apple-system, sans-serif; }
.ndc-bm__submit:disabled { opacity: .45; cursor: not-allowed; }
.ndc-bm__fz38 { font-size: 11px; color: #8A8A8A; margin-top: 10px; text-align: center; line-height: 1.5; }
.ndc-bm__fee-note { font-size: 12px; color: #0A6847; background: #f0faf4; border-radius: 4px; padding: 8px 12px; margin-bottom: 10px; line-height: 1.5; }
/* Success */
.ndc-bm__success { text-align: center; padding: 24px 0; }
.ndc-bm__success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #F0FAF4; border: 2px solid #E8F5EE;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.ndc-bm__success-title { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 700; color: #0A6847; margin-bottom: 8px; }
.ndc-bm__success-text { color: #5A5A5A; margin-bottom: 28px; font-size: 15px; line-height: 1.6; }
/* Для пациентов — pt-grid / pt-card */
.pt-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.pt-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px 16px; border: 2px solid var(--bd,#E5E5E5); border-radius: 4px;
  text-align: center; text-decoration: none; color: var(--text-primary,#1A1A1A);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.pt-card:hover { border-color: var(--g8,#0A6847); box-shadow: 0 2px 12px rgba(10,104,71,.08); }
.pt-card__icon { font-size: 28px; line-height: 1; }
.pt-card__title { font-size: 13px; font-weight: 600; line-height: 1.35; }
@media(max-width:768px) { .pt-grid { grid-template-columns: repeat(3,1fr); } }
@media(max-width:480px) {
  .pt-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .pt-card { padding: 16px 8px 12px; }
  .pt-card__icon { font-size: 24px; }
  .pt-card__title { font-size: 12px; }
}
/* patients-docs */
.patients-docs__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.patients-docs__item { border-bottom: 1px solid var(--bd,#E5E5E5); }
.patients-docs__item:first-child { border-top: 1px solid var(--bd,#E5E5E5); }
.patients-docs__link { display: flex; align-items: center; gap: 12px; padding: 14px 0; text-decoration: none; color: var(--text-primary,#1A1A1A); transition: color .2s; }
.patients-docs__link:hover { color: var(--g8,#0A6847); }
.patients-docs__file-icon { flex-shrink: 0; color: var(--g8,#0A6847); }
.patients-docs__doc-info { flex: 1; min-width: 0; }
.patients-docs__doc-title { display: block; font-size: 15px; font-weight: 500; }
.patients-docs__doc-meta { display: flex; gap: 8px; margin-top: 2px; }
.patients-docs__doc-type { font-size: 12px; font-weight: 700; color: var(--g8,#0A6847); background: #F0FAF4; padding: 2px 6px; border-radius: 3px; }
.patients-docs__doc-size { font-size: 12px; color: var(--text-muted,#8A8A8A); }
.patients-docs__download-icon { flex-shrink: 0; color: var(--text-muted,#8A8A8A); }
/* cta-block */
.cta-block {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--bd,#E5E5E5); border-radius: 4px;
  padding: clamp(20px,3vw,32px) clamp(20px,3vw,40px);
}
.cta-block__title { font-family: 'Playfair Display',Georgia,serif; font-size: clamp(20px,2.5vw,26px); font-weight: 700; color: var(--g8,#0A6847); margin-bottom: 6px; }
.cta-block__sub { font-size: clamp(14px,1.5vw,16px); color: var(--text-muted,#8A8A8A); }
.cta-block__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--outline { border: 2px solid var(--g8,#0A6847); color: var(--g8,#0A6847); background: none; height: 50px; padding: 0 24px; border-radius: 4px; font-weight: 700; font-size: 15px; font-family: 'DM Sans',-apple-system,sans-serif; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; transition: all .2s; }
.btn--outline:hover { background: #F0FAF4; }
@media(max-width:768px) {
  .cta-block { flex-direction: column; align-items: flex-start; }
  .cta-block__actions { width: 100%; }
  .cta-block__actions .btn, .cta-block__actions .btn--outline { flex: 1 1 140px; justify-content: center; }
}
/* btn helpers */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border-radius: 8px; font-family: 'DM Sans', -apple-system, sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: all .2s ease; text-decoration: none; }
.btn--primary { background: #0A6847; color: #fff; }
.btn--primary:hover { background: #064E32; }
.btn--full { width: 100%; }

/* ════════════════════════════════════════════
   Страница анализа — /analizy/{id}/
════════════════════════════════════════════ */
.ndc-analiz-detail { padding-bottom: 60px; }
.an-detail__breadcrumb { background: #f8faf9; padding: 10px 0; font-size: 13px; color: #666; border-bottom: 1px solid #e5e5e5; }
.an-detail__breadcrumb a { color: #0A6847; text-decoration: none; }
.an-detail__breadcrumb a:hover { text-decoration: underline; }
.an-detail__layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; margin-top: 32px; }
.an-detail__h1 { font-family: 'Playfair Display',Georgia,serif; font-size: clamp(20px,2.5vw,28px); font-weight: 700; color: #1a1a1a; line-height: 1.3; margin-bottom: 14px; }
.an-detail__meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.an-detail__tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; background: #f0faf4; color: #0A6847; }
.an-detail__tag--period { background: #e8f0fe; color: #1565c0; }
.an-detail__tag--fasting { background: #fff8e1; color: #f59e0b; }
.an-detail__tag--popular { background: #fdf2f8; color: #9c27b0; }
.an-detail__intro { font-size: 16px; line-height: 1.7; color: #444; margin-bottom: 24px; }
.an-detail__tabs { display: flex; gap: 0; border-bottom: 2px solid #e5e5e5; margin-bottom: 24px; }
.an-detail__tab { background: none; border: none; padding: 10px 20px; font-size: 15px; font-family: 'DM Sans',-apple-system,sans-serif; font-weight: 600; color: #666; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all .15s; }
.an-detail__tab.active { color: #0A6847; border-bottom-color: #0A6847; }
.an-detail__h2 { font-family: 'Playfair Display',Georgia,serif; font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 24px 0 10px; }
.an-detail__list { padding-left: 20px; color: #444; line-height: 1.8; font-size: 15px; }
.an-detail__list li { margin-bottom: 4px; }
.an-detail__norm-box { background: #f0faf4; border: 1px solid #c8e6d6; border-radius: 4px; padding: 16px 20px; margin-bottom: 16px; }
.an-detail__norm-text { font-size: 15px; color: #1a1a1a; margin-bottom: 8px; font-weight: 500; }
.an-detail__norm-note { font-size: 12px; color: #666; margin: 8px 0 0; }
.an-detail__norm-table-wrap { overflow-x: auto; margin-bottom: 6px; }
.an-detail__norm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.an-detail__norm-table th { background: #e6f7ef; color: #064E32; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; padding: 8px 12px; text-align: left; border-bottom: 1px solid #c8e6d0; }
.an-detail__norm-table td { padding: 9px 12px; border-bottom: 1px solid #e8f0eb; color: #333; }
.an-detail__norm-table tr:last-child td { border-bottom: none; }
.an-detail__dev-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 14px 0 6px; }
.an-detail__dev-label--high { color: #dc2626; }
.an-detail__dev-label--low  { color: #1565c0; }
.an-detail__dev-list { margin-bottom: 8px; }
.an-detail__doctors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.an-detail__doc-link { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #c8e6d0; border-radius: 4px; padding: 8px 14px; font-size: 14px; font-weight: 500; color: #0A6847; text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.an-detail__doc-link:hover { border-color: #0A6847; box-shadow: 0 1px 4px rgba(10,104,71,.1); }
.an-detail__fasting-alert { display: flex; align-items: flex-start; gap: 10px; background: #fff8e1; border: 1px solid #fde68a; border-radius: 4px; padding: 12px 16px; font-size: 14px; color: #78350f; margin-top: 16px; }
.an-detail__faq { margin: 32px 0; }
.an-detail__faq-item { border-bottom: 1px solid #e5e5e5; }
.an-detail__faq-q { width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 15px; font-family: 'DM Sans',-apple-system,sans-serif; font-weight: 600; color: #1a1a1a; cursor: pointer; text-align: left; }
.an-detail__faq-q:hover { color: #0A6847; }
.an-detail__faq-arrow { flex-shrink: 0; transition: transform .2s; }
.an-detail__faq-q[aria-expanded="true"] .an-detail__faq-arrow { transform: rotate(180deg); }
.an-detail__faq-a { padding: 0 0 14px; font-size: 14px; color: #555; line-height: 1.7; }
.an-detail__disclaimer { display: flex; align-items: flex-start; gap: 10px; background: #fff5f5; border: 1px solid #fca5a5; border-radius: 4px; padding: 12px 16px; font-size: 13px; color: #7f1d1d; margin-top: 32px; line-height: 1.6; }
/* Sidebar */
.an-detail__sidebar { position: sticky; top: 80px; }
.an-detail__price-card { background: #fff; border: 2px solid #0A6847; border-radius: 4px; padding: 24px 20px; margin-bottom: 16px; }
.an-detail__price-label { font-size: 12px; font-weight: 700; color: #0A6847; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.an-detail__price-val { font-size: 32px; font-weight: 800; color: #0A6847; font-family: 'DM Sans',-apple-system,sans-serif; margin-bottom: 4px; }
.an-detail__price-meta { font-size: 13px; color: #888; margin-bottom: 16px; }
.an-detail__book-btn { width: 100%; margin-bottom: 12px; }
.an-detail__phone-link { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; color: #0A6847; text-decoration: none; margin-bottom: 12px; }
.an-detail__phone-link:hover { color: #064E32; }
.an-detail__fz152 { font-size: 11px; color: #999; line-height: 1.5; margin: 0; }
.an-detail__fz152 a { color: #0A6847; }
.an-detail__params-card { background: #f8faf9; border: 1px solid #e5e5e5; border-radius: 4px; padding: 16px 20px; }
.an-detail__params-title { font-size: 13px; font-weight: 700; color: #0A6847; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.an-detail__param { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #e5e5e5; font-size: 13px; }
.an-detail__param:last-child { border-bottom: none; }
.an-detail__param-label { color: #888; }
.an-detail__param-val { color: #1a1a1a; font-weight: 500; text-align: right; max-width: 60%; }
/* Sticky bottom bar (mobile) */
.an-detail__sticky-bar { display: none; }
/* Related */
.an-detail__related { margin-top: 48px; }
.an-detail__related-title { font-family: 'Playfair Display',Georgia,serif; font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; }
.an-detail__related-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; }
.an-detail__related-card { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid #e5e5e5; border-radius: 4px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.an-detail__related-card:hover { border-color: #0A6847; box-shadow: 0 2px 8px rgba(10,104,71,.1); }
.an-detail__related-name { font-size: 13px; color: #1a1a1a; line-height: 1.4; }
.an-detail__related-price { font-size: 14px; font-weight: 700; color: #0A6847; white-space: nowrap; }
/* CTA */
.an-detail__cta { background: linear-gradient(135deg,#0A6847,#064E32); border-radius: 4px; padding: clamp(24px,4vw,40px); margin-top: 48px; }
.an-detail__cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.an-detail__cta h2 { font-family: 'Playfair Display',Georgia,serif; font-size: clamp(18px,2vw,24px); font-weight: 700; color: #fff; margin-bottom: 6px; }
.an-detail__cta p { font-size: 14px; color: rgba(255,255,255,.8); margin: 0; }
.an-detail__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.an-detail__cta .btn--primary { background: #fff; color: #0A6847; }
.an-detail__cta .btn--primary:hover { background: #f0faf4; }
.an-detail__cta .btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }
.an-detail__cta .btn--outline:hover { background: rgba(255,255,255,.1); }
@media(max-width:768px) {
  .an-detail__layout { grid-template-columns: 1fr; }
  .an-detail__sidebar { position: static; display: none; }
  .an-detail__sticky-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 2px solid #0A6847; padding: 12px 16px; gap: 12px; align-items: center; justify-content: space-between; z-index: 200; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .an-detail__sticky-price { font-size: 22px; font-weight: 800; color: #0A6847; }
  .an-detail__sticky-bar .btn { flex: 1; }
  .ndc-analiz-detail { padding-bottom: 80px; }
  .an-detail__cta-inner { flex-direction: column; align-items: flex-start; }
  .an-detail__cta-actions { width: 100%; }
  .an-detail__cta-actions .btn { flex: 1; justify-content: center; }
}

/* ═══ Services catalog — портировано с mrt-balashiha.ru ═══ */
.services__header {
    text-align: center;
    margin-bottom: 16px;
}

.services__header .section__title {
    margin-bottom: 6px;
}

.services__subtitle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── Services filters centered ─────────────────────────────── */
.services__filters {
    justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES — Search
   ══════════════════════════════════════════════════════════════ */
.services__search {
    position: relative;
    max-width: 540px;
    margin: 0 auto 24px;
}

.services__search::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23546178' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

.services__search-input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    font-size: 16px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.services__search-input::placeholder {
    color: var(--text-muted);
}
.services__search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}

.services__autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--white);
    border: 2px solid var(--primary);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 24px rgba(21,101,192,0.15);
    max-height: 320px;
    overflow-y: auto;
}

.services__ac-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    border: none;
    background: none;
    font-size: 0.9375rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}

.services__ac-item:hover,
.services__ac-item:focus {
    background: var(--primary-light);
    color: var(--primary);
    outline: none;
}

.services__ac-item strong {
    color: var(--primary);
    font-weight: 700;
}

.services__ac-item + .services__ac-item {
    border-top: 1px solid var(--border);
}

.services__ac-empty {
    padding: 14px 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES — Filter Tabs
   ══════════════════════════════════════════════════════════════ */
.services__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.services__filter-tab {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(21,101,192,0.3);
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--heading);
    cursor: pointer;
    transition: all var(--transition);
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
    white-space: nowrap;
    line-height: 1.2;
}
.services__filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(21,101,192,0.04);
}
.services__filter-tab.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   SERVICES — Card Grid
   ══════════════════════════════════════════════════════════════ */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* ── Service Card (new) ───────────────────────────────────────── */
.service-card {
    border: 2px solid #A0AEC0;
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    position: relative;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.service-card:hover {
    border-color: #1565C0;
    box-shadow: 0 4px 20px rgba(21,101,192,0.15);
}

/* Badge «Популярное» */
.service-card__badge-popular {
    position: absolute;
    top: -9px;
    right: 14px;
    background: #FF6F00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 6px rgba(255,111,0,0.3);
}
.service-card:not(.is-popular) .service-card__badge-popular {
    display: none;
}

/* Header: icon + info + price + meta */
.service-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #E3F2FD;
    border: 1.5px solid #A0AEC0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.service-card__icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.service-card__icon--emoji {
    font-size: 28px;
    line-height: 1;
}

.service-card__info {
    flex: 1;
    min-width: 0;
}

.service-card__name {
    font-weight: 700;
    font-size: 18px;
    color: #111827;
    margin-bottom: 3px;
    line-height: 1.2;
    text-decoration: none;
    display: block;
}
.service-card__name:hover {
    color: #1565C0;
    text-decoration: none;
}

.service-card__meta {
    font-size: 12px;
    color: #7C8BA0;
    display: flex;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.service-card__meta-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Price */
.service-card__price {
    text-align: right;
    flex-shrink: 0;
}
.service-card__price-old {
    font-size: 13px;
    color: #7C8BA0;
    text-decoration: line-through;
}
.service-card:not(.has-sale) .service-card__price-old {
    display: none;
}
.service-card__price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}
.service-card__price-current {
    font-size: 21px;
    font-weight: 700;
    color: #1565C0;
}
.service-card.has-sale .service-card__price-current {
    color: #D32F2F;
}
.service-card__price-badge {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #D32F2F;
    border-radius: 4px;
    padding: 3px 8px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Alerts */
.service-card__alerts {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}
.service-card__alert {
    background: #FFF0F0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #D32F2F;
    border: 1.5px solid rgba(211,47,47,0.2);
    line-height: 1.4;
}
.service-card__alert--contrast {
    font-weight: 700;
    border-color: rgba(211,47,47,0.3);
}

.service-card__alert--prep {
    background: #FFF8E1;
    color: #E65100;
    border-color: rgba(230,81,0,0.2);
}

.service-card__alert--tests {
    background: #E8F5E9;
    color: #2E7D32;
    border-color: rgba(46,125,50,0.2);
}

.service-card__alert--referral {
    background: #E3F2FD;
    color: #1565C0;
    border-color: rgba(21,101,192,0.2);
}

/* Buttons */
.service-card__buttons {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.service-card__btn-rec,
.service-card__btn-q {
    flex: 1;
    padding: 11px 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    transition: opacity 0.15s;
}
.service-card__btn-rec {
    background: #1565C0;
    color: #fff;
    border: none;
    text-decoration: none;
    display: block;
}
.service-card__btn-q {
    background: #fff;
    color: #1565C0;
    border: 2px solid #1565C0;
}
.service-card__btn-rec:hover,
.service-card__btn-q:hover {
    opacity: 0.9;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 640px) {
    .service-card__name {
        font-size: 15px;
    }
    .service-card__icon {
        width: 42px;
        height: 42px;
    }
    .service-card__icon img {
        width: 26px;
        height: 26px;
    }
    .service-card__price-current {
        font-size: 18px;
    }
    .service-card__header {
        gap: 10px;
    }
}

/* ══════════════════════════════════════════════════════════════
   SERVICES — Pagination
   ══════════════════════════════════════════════════════════════ */
.services__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 8px;
}

.services__pagination-pages {
    display: flex;
    gap: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.services__page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.services__page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.services__page-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.services__page-btn.is-disabled,
.services__page-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.services__page-btn--arrow {
    font-size: 1.1rem;
    font-weight: 700;
}

.services__pagination-counter {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   SYMPTOMS
   ══════════════════════════════════════════════════════════════ */
.symptoms__header {
    text-align: center;
    margin-bottom: 20px;
}

.symptoms__header .section__title {
    margin-bottom: 6px;
}

.symptoms__subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.symptoms__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}
.symptoms__grid > * {
    flex: 0 0 calc(50% - 5px);
    max-width: calc(50% - 5px);
}
@media (min-width: 768px) {
    .symptoms__grid { gap: 12px; }
    .symptoms__grid > * { flex: 0 0 calc(33.333% - 8px); max-width: calc(33.333% - 8px); }
}
@media (min-width: 1200px) {
    .symptoms__grid > * { flex: 0 0 calc(20% - 10px); max-width: calc(20% - 10px); }
}

.symptoms__card {
    border: 2px solid rgba(21,101,192,0.25);
    border-radius: var(--radius-lg);
    padding: 12px;
    text-align: center;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(21,101,192,0.1);
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.symptoms__card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: var(--primary);
}

@media (min-width: 768px) {
    .symptoms__card {
        padding: 16px;
    }
}

.symptoms__card--hidden {
    display: none;
}

.symptoms__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-light);
    border: 1.5px solid var(--border);
    color: #1565C0;
}
.symptoms__icon img,
.symptoms__icon svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .symptoms__icon {
        width: 56px;
        height: 56px;
    }
    .symptoms__icon img,
    .symptoms__icon svg {
        width: 36px;
        height: 36px;
    }
}

.symptoms__label {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading);
}

.symptoms__toggle {
    display: block;
    margin: 0 auto;
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 10px 24px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    background: none;
    cursor: pointer;
}

/* ══════════════════════════════════════════════════════════════
   PROCESS STEPS
   ══════════════════════════════════════════════════════════════ */
.process__steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .process__steps {
        grid-template-columns: repeat(6, 1fr);
        gap: 8px;
    }
}

.process__step {
    border: 2px solid #1565C0;
    border-radius: 10px;
    padding: 10px 8px 8px;
    background: var(--white);
    text-align: center;
    box-shadow: 0 2px 6px rgba(21,101,192,0.12);
    transition: all var(--transition);
}
.process__step:hover {
    border-color: #0D47A1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21,101,192,0.2);
}

.process__step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D47A1, #1976D2);
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
}

.process__step-title {
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 3px;
    color: #1A1A2E;
}

.process__step-text {
    font-size: 0.7rem;
    color: #4A5568;
    line-height: 1.35;
}

.process__motivation {
    margin-top: 12px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #E3F2FD, #FFF3E0);
    border-radius: 14px;
    border: 2px solid rgba(21,101,192,0.2);
    display: flex;
    align-items: center;
    gap: 14px;
}

@media (max-width: 479px) {
    .process__motivation {
        padding: 16px 14px;
    }
}

.process__motivation-icon {
    font-size: 36px;
    flex-shrink: 0;
    line-height: 1;
}

.process__motivation-body {
    flex: 1;
    min-width: 0;
}

.process__motivation-title {
    font-weight: 700;
    font-size: 18px;
    color: #111827;
    margin-bottom: 4px;
}

@media (max-width: 479px) {
    .process__motivation-title {
        font-size: 15px;
    }
}

.process__motivation-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
}

@media (max-width: 479px) {
    .process__motivation-desc {
        font-size: 13px;
    }
}

/* Legacy class for backwards compatibility */
.process__motivation-text {
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION (v18: photo left, text+stats right)
   ══════════════════════════════════════════════════════════════ */
.about__layout {
    display: block;
}

@media (min-width: 768px) {
    .about__layout {
        display: flex;
        gap: 36px;
        align-items: center;
    }
}

.about__photo {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    background: linear-gradient(135deg, #BBDEFB, #E3F2FD);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 16px;
    border: 2px solid var(--border);
    overflow: hidden;
}

@media (min-width: 768px) {
    .about__photo {
        width: 380px;
        height: 260px;
        margin-bottom: 0;
    }
}

.about__photo img,
.about__photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about__photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.about__body {
    flex: 1;
    min-width: 0;
}

.about__body .section__title {
    margin-bottom: 10px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 768px) {
    .about__stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

.about__stat {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    text-align: center;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.about__stat:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.about__stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 2px;
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 768px) {
    .about__stat-value {
        font-size: 1.5rem;
    }
}

.about__stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.about__text {
    max-width: 800px;
    margin-bottom: 16px;
}
.about__text p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}
.about__text p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════
   EQUIPMENT
   ══════════════════════════════════════════════════════════════ */
.equipment__summary {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 800px;
}

.equipment__card {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 768px) {
    .equipment__card {
        flex-direction: row;
    }
}

.equipment__image {
    flex-shrink: 0;
    overflow: hidden;
    line-height: 0;
}
.equipment__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 768px) {
    .equipment__image {
        width: 50%;
        min-height: 320px;
    }
}

.equipment__info {
    padding: 24px;
    flex: 1;
}
@media (min-width: 768px) {
    .equipment__info {
        padding: 32px;
    }
}

.equipment__name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.equipment__desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.equipment__specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (min-width: 480px) {
    .equipment__specs {
        grid-template-columns: 1fr 1fr;
    }
}

.equipment__spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fb;
    border-radius: 8px;
    font-size: 0.875rem;
    gap: 8px;
}

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

.equipment__spec-value {
    font-weight: 600;
    color: var(--text);
}

/* ══════════════════════════════════════════════════════════════
   STAFF / DOCTORS
   ══════════════════════════════════════════════════════════════ */
.staff__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 480px) {
    .staff__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .staff__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}
.staff__grid--4col {
    grid-template-columns: 1fr;
}
@media (min-width: 480px) {
    .staff__grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .staff__grid--4col {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.staff__card {
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all var(--transition);
}
.staff__card:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.staff__card-photo {
    height: 160px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
@media (min-width: 768px) {
    .staff__card-photo {
        height: 180px;
    }
}
.staff__card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.staff__card-photo--464 img { object-position: center top; }
.staff__card-photo--458 img { object-fit: contain; object-position: center center; background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }

.staff__card-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.5;
}

.staff__card-video-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(21,101,192,0.9);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.staff__card-video-badge:hover {
    background: #0D47A1;
}

.staff__card-info {
    padding: 10px 12px 12px;
}

.staff__card-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}
.staff__card-name a {
    color: inherit;
    text-decoration: none;
}
.staff__card-name a:hover {
    color: var(--primary);
}
a.staff__card-photo {
    display: flex;
    text-decoration: none;
}

.staff__card-position {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
    line-height: 1.35;
}

.staff__card-experience {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.staff__card-experience span {
    font-weight: 600;
    color: var(--primary);
}

.staff__card-video-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1565C0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}
.staff__card-video-link:hover {
    text-decoration: underline;
}

/* Видео-модалка */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-modal[hidden] {
    display: none;
}
.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
    cursor: pointer;
}
.video-modal__content {
    position: relative;
    width: 90vw;
    max-width: 800px;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}
.video-modal__close {
    position: absolute;
    top: -36px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    z-index: 1;
}
.video-modal__player {
    width: 100%;
    height: 100%;
}

/* ══════════════════════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════════════════════ */
.reviews-section {
    padding: 48px 0;
}
@media (max-width: 640px) {
    .reviews-section {
        padding: 28px 0;
    }
}

/* Заголовок */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}
.reviews-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #475569;
}
.reviews-rating__stars {
    display: flex;
    gap: 2px;
}
.reviews-rating__value {
    color: #111827;
    font-size: 18px;
    margin-left: 4px;
}
.reviews-rating__count {
    color: #7C8BA0;
}
.reviews-header__link {
    font-size: 14px;
    color: #1565C0;
    font-weight: 600;
    text-decoration: none;
}
.reviews-header__link:hover {
    text-decoration: underline;
}

/* Сетка отзывов */
.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.reviews-grid > * {
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
}
@media (max-width: 1024px) {
    .reviews-grid > * { flex: 0 0 calc(50% - 7px); max-width: calc(50% - 7px); }
}
@media (max-width: 640px) {
    .reviews-grid { gap: 12px; }
    .reviews-grid > * { flex: 0 0 100%; max-width: 100%; }
}

/* Карточка отзыва */
.review-card {
    border: 2px solid #A0AEC0;
    border-radius: 14px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.review-card__author {
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}
.review-card__stars {
    display: flex;
    gap: 2px;
}
.review-card__text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.review-card__date {
    font-size: 12px;
    color: #7C8BA0;
}
.review-card__source {
    font-size: 12px;
    color: #1565C0;
    text-decoration: none;
    font-weight: 600;
}
.review-card__source:hover {
    text-decoration: underline;
}

/* Атрибуция */
.reviews-attribution {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: #7C8BA0;
}

/* ══════════════════════════════════════════════════════════════
   TAX RETURN (v18: gradient background, icon + text + button)
   ══════════════════════════════════════════════════════════════ */
.tax-return.section {
    padding: 0;
}

.tax-return__card {
    background: linear-gradient(135deg, var(--primary-light), #FFF3E0);
    border-radius: 0;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media (min-width: 768px) {
    .tax-return__card {
        padding: 40px 20px;
    }
    .tax-return__card .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.tax-return__content {
    flex: 1;
}

.tax-return__icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .tax-return__icon {
        font-size: 3rem;
    }
}

.tax-return__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    font-family: 'Montserrat', sans-serif;
}

@media (min-width: 768px) {
    .tax-return__title {
        font-size: 1.625rem;
    }
}

.tax-return__text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.tax-return__btn {
    white-space: nowrap;
    margin-top: 14px;
}

@media (min-width: 768px) {
    .tax-return__btn {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .tax-return__card {
        flex-direction: column;
        text-align: left;
    }
}

/* ══════════════════════════════════════════════════════════════
   ROUTE / HOW TO GET
   ══════════════════════════════════════════════════════════════ */
.route__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .route__layout {
        grid-template-columns: 1fr 1fr;
    }
}

.route__map-iframe {
    display: block;
    height: 350px;
    border-radius: 14px;
    border: 2px solid #A0AEC0;
    overflow: hidden;
}
@media (max-width: 640px) {
    .route__map-iframe {
        height: 220px;
    }
}

.route__address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
    color: var(--text);
}
.route__address svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}
.route__address address {
    font-style: normal;
    line-height: 1.5;
}

.route__directions {
    margin-bottom: 24px;
}

.route__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.route__input {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    width: 100%;
    font-size: 16px;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    margin-bottom: 12px;
}
.route__input::placeholder {
    color: var(--text-muted);
}
.route__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}

.route__build-btn {
    width: 100%;
}

.route__card {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.route__card-name {
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: 6px;
}

.route__details {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 2;
    margin-bottom: 10px;
}

.route__detail-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.route__detail-row svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.route__hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 6px;
}

.route__entrance {
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}

.route__entrance-placeholder {
    margin-top: 10px;
    border-radius: 10px;
    height: 100px;
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8125rem;
    border: 2px solid var(--border);
}

.route__entrance-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.route__entrance-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

/* ══════════════════════════════════════════════════════════════
   PATIENT INFO
   ══════════════════════════════════════════════════════════════ */
.patient-info__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .patient-info__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .patient-info__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.patient-info__card {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    background: var(--white);
    text-align: center;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.patient-info__card:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
}

.patient-info__card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.patient-info__card-title {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════
   FAQ ACCORDION (unified for all accordions)
   ══════════════════════════════════════════════════════════════ */
.faq-list {
    max-width: 800px;
}

.faq-item {
    border: 2px solid #A0AEC0;
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: border-color 0.2s;
}
.faq-item.is-open {
    border-color: #1565C0;
}

.faq-item__toggle {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
}

.faq-item__question {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    text-align: left;
    line-height: 1.4;
}

.faq-item__arrow {
    font-size: 14px;
    color: #7C8BA0;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-item.is-open .faq-item__arrow {
    transform: rotate(180deg);
    color: #1565C0;
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}
.faq-item.is-open .faq-item__answer {
    max-height: 500px;
    padding: 0 20px 16px;
}

.faq-item__answer p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}
.faq-item__answer p + p {
    margin-top: 8px;
}
.faq-item__answer a {
    color: var(--primary);
    text-decoration: underline;
}
.faq-item.open .faq-answer { display: block !important; }

/* Legacy alias */
.fears__list {
    max-width: 800px;
}

/* ══════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════ */
.cta {
    background: linear-gradient(135deg, #0D47A1, #1565C0, #42A5F5);
    color: #fff;
    text-align: center;
}

.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__title {
    color: #fff;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.cta__subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .cta__title {
        font-size: 1.75rem;
    }
}

.cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta__actions .btn {
    flex: 1;
    max-width: 200px;
}

/* CTA buttons on gradient bg */
.cta .btn--primary {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.cta .btn--primary:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
}

.cta .btn--question {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}
.cta .btn--question:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
    background: #0C1929;
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Footer Columns ───────────────────────────────────────────── */
.site-footer__columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .site-footer__columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .site-footer__columns {
        grid-template-columns: repeat(4, 1fr);
    }
}

.site-footer__col {
    min-width: 0;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-decoration: none;
}
.site-footer__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.site-footer__brand:hover {
    color: #fff;
    text-decoration: none;
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer__phone {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}
.site-footer__phone:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__address,
.site-footer__hours {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.site-footer__heading {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer__nav a {
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
    text-decoration: none;
    transition: color var(--transition);
    line-height: 1.5;
}
.site-footer__nav a:hover {
    color: #fff;
    text-decoration: none;
}

.site-footer__all-link {
    font-weight: 600;
    color: rgba(255,255,255,0.85) !important;
    margin-top: 4px;
}

/* ── Footer Legal ─────────────────────────────────────────────── */
.site-footer__legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__disclaimer-full {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.site-footer__disclaimer-headline {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 8px;
}
.site-footer__disclaimer-body {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin: 0;
}

.site-footer__disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.site-footer__disclaimer--medical {
    border: 1px solid rgba(211,47,47,0.5);
    border-radius: 8px;
    padding: 12px;
    background: rgba(211,47,47,0.08);
    color: rgba(255,255,255,0.9);
    font-size: 0.8125rem;
    font-weight: 500;
}

.site-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.site-footer__legal-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    text-decoration: none;
    transition: color var(--transition);
}
.site-footer__legal-links a:hover {
    color: #fff;
}

.site-footer__sep {
    color: rgba(255,255,255,0.2);
    font-size: 0.75rem;
}

.site-footer__copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.site-footer__requisites {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.site-footer__pd-operator {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.site-footer__developer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}
.site-footer__developer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}
.site-footer__developer a:hover {
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   STICKY BAR (Mobile)
   ══════════════════════════════════════════════════════════════ */
.sticky-bar {
    display: none;
}

@media (max-width: 639px) {
    .sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 64px;
        background: var(--white);
        border-top: 2px solid var(--border);
        box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
    }

    .sticky-bar__inner {
        display: flex;
        gap: 8px;
        padding: 8px 16px;
        align-items: center;
        width: 100%;
    }

    .sticky-bar__btn {
        border: none;
        font-family: 'Montserrat', sans-serif;
        cursor: pointer;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all var(--transition);
    }

    .sticky-bar__btn--booking {
        flex: 1;
        height: 48px;
        background: var(--primary);
        color: #fff;
        border-radius: 10px;
        font-weight: 700;
        font-size: 1rem;
    }
    .sticky-bar__btn--booking:hover {
        background: var(--primary-dark);
    }

    .sticky-bar__btn--phone {
        width: 48px;
        height: 48px;
        background: #FFF0F0;
        border: 2.5px solid var(--red);
        border-radius: 10px;
        flex-shrink: 0;
    }
    .sticky-bar__btn--phone:hover {
        background: #FFEBEE;
    }
    .sticky-bar__btn--phone svg {
        stroke: var(--red);
    }
}

/* ══════════════════════════════════════════════════════════════
   BOOKING WIDGET (Modal)
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   SEARCH RESULTS DROPDOWN (homepage + header)
   ══════════════════════════════════════════════════════════════ */
.search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 200;
    max-height: 420px;
    overflow-y: auto;
}
.search-results:not(.is-open) { display: none; }
.search-results__group { padding: 8px 0; }
.search-results__label {
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 16px 2px;
}
.search-results__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    font-size: 15px;
    color: #1E293B;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.12s;
}
.search-results__item:hover { background: #F0FAF4; color: #0A6847; }
.search-results__price {
    margin-left: auto;
    font-size: 13px;
    color: #0A6847;
    font-weight: 600;
    white-space: nowrap;
}
.search-results__empty {
    padding: 16px;
    color: #94A3B8;
    font-size: 14px;
    text-align: center;
}
.search-container { position: relative; }

/* ── Мобильный sticky поиск (клавиатура не перекрывает результаты) ── */
@media (max-width: 768px) {
    .search-container:focus-within,
    .search-wrapper:focus-within,
    .mrt-search:focus-within,
    .services__search:focus-within {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
        padding: 8px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .services__grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 16px;
    }
    .service-card__price {
        font-size: 18px;
    }
}

/* ══════════════════════════════════════════════════════════════
   SEARCH OVERLAY (полноэкранный поиск)
   ══════════════════════════════════════════════════════════════ */
.search-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: flex-start;
    justify-content: center;
    padding-top: clamp(48px, 8vh, 100px);
}
.search-overlay.is-open {
    display: flex;
}
.search-overlay__box {
    width: 100%;
    max-width: 660px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    overflow: hidden;
    margin: 0 16px;
}
.search-overlay__input-row {
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1.5px solid #E5E7EB;
}
.search-overlay__icon {
    color: #9CA3AF;
    flex-shrink: 0;
    display: flex;
}
.search-overlay__input {
    flex: 1;
    height: 56px;
    border: none;
    outline: none;
    font-size: 18px;
    font-family: var(--font-body, inherit);
    color: #111827;
    padding: 0 12px;
    background: transparent;
}
.search-overlay__input::placeholder { color: #9CA3AF; }
.search-overlay__close {
    width: 36px; height: 36px;
    border: none; background: none;
    cursor: pointer; color: #9CA3AF;
    font-size: 20px; display: flex;
    align-items: center; justify-content: center;
    border-radius: 4px; transition: all 0.15s;
    flex-shrink: 0;
}
.search-overlay__close:hover { background: #F3F4F6; color: #374151; }
.search-overlay__results {
    max-height: min(420px, 60vh);
    overflow-y: auto;
}
.search-overlay__group-label {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #F9FAFB;
    border-bottom: 1px solid #F3F4F6;
}
.search-overlay__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-decoration: none;
    color: #111827;
    border-bottom: 1px solid #F3F4F6;
    font-size: 15px;
    transition: background 0.1s;
    gap: 8px;
}
.search-overlay__item:hover { background: #F0FAF4; color: #0A6847; }
.search-overlay__item:last-child { border-bottom: none; }
.search-overlay__price {
    font-size: 13px;
    font-weight: 700;
    color: #0A6847;
    white-space: nowrap;
    flex-shrink: 0;
}
.search-overlay__empty {
    padding: 24px 16px;
    text-align: center;
    color: #9CA3AF;
    font-size: 15px;
}
.search-overlay__hint {
    padding: 10px 16px;
    font-size: 12px;
    color: #9CA3AF;
    text-align: center;
    border-top: 1px solid #F3F4F6;
}

/* ── Дополнения к search-overlay: врачи, история, loading ── */
.search-overlay__item-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-overlay__item--history { color: #6B7280; }
.search-overlay__item--popular { font-weight: 500; }
.search-overlay__hist-ico,
.search-overlay__pop-ico { margin-right: 8px; flex-shrink: 0; }

/* Врач в результатах */
.search-overlay__item--doctor { align-items: center; gap: 10px; }
.search-overlay__doc-avatar { flex-shrink: 0; }
.search-overlay__doc-photo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.search-overlay__doc-initials {
    width: 32px; height: 32px; border-radius: 50%;
    background: #D1FAE5; color: #065F46;
    font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.search-overlay__doc-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.search-overlay__doc-name { font-size: 14px; font-weight: 600; color: #111827; }
.search-overlay__doc-spec { font-size: 12px; color: #6B7280; }

/* Loading */
.search-overlay__loading {
    padding: 20px 16px; text-align: center;
    color: #9CA3AF; font-size: 14px;
}
.search-overlay__loading::after {
    content: ''; display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid #E5E7EB;
    border-top-color: #0A6847;
    border-radius: 50%;
    animation: ndc-spin 0.7s linear infinite;
    margin-left: 8px; vertical-align: middle;
}
@keyframes ndc-spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════
   NDC Booking Modal v2 — multi-path screens
   ═══════════════════════════════════════════ */

/* ── Router ────────────────────────────────── */
.ndc-bm__router-head { padding: 4px 0 12px; }
.ndc-bm__router-title { font-family: 'Playfair Display',Georgia,serif; font-size: 18px; font-weight: 700; color: #1A1A1A; margin-bottom: 4px; }
.ndc-bm__router-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 16px;
}
.ndc-bm__route-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; padding: 16px 10px; border: 1.5px solid #E5E5E5; border-radius: 10px;
  cursor: pointer; background: #fff; transition: all .2s ease; font-family: inherit;
  color: #1A1A1A;
}
.ndc-bm__route-tile:hover { border-color: #0A6847; background: #F0FAF4; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10,104,71,.1); }
.ndc-bm__route-tile--symptom { grid-column: 1 / -1; flex-direction: row; text-align: left; gap: 12px; padding: 14px 16px; }
.ndc-bm__route-tile--symptom .ndc-bm__route-desc { margin-left: 0; }
.ndc-bm__route-icon { font-size: 26px; line-height: 1; }
.ndc-bm__route-name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.ndc-bm__route-desc { font-size: 11px; color: #8A8A8A; line-height: 1.3; }
.ndc-bm__router-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 8px; }
.ndc-bm__router-or { font-size: 12px; color: #aaa; position: relative; }
.ndc-bm__router-or::before,.ndc-bm__router-or::after { content:''; position:absolute; top:50%; width:60px; height:1px; background:#e5e5e5; }
.ndc-bm__router-or::before { right:100%; margin-right:8px; }
.ndc-bm__router-or::after  { left:100%;  margin-left:8px; }
.ndc-bm__ask-link { background: none; border: none; color: #0A6847; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; text-decoration: underline; padding: 0; }
.ndc-bm__ask-link:hover { color: #064E32; }

/* ── Screen common ─────────────────────────── */
.ndc-bm__screen-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ndc-bm__screen-title { font-size: 15px; font-weight: 700; color: #1A1A1A; }
.ndc-bm__loader { font-size: 13px; color: #888; text-align: center; padding: 24px 0; }
.ndc-bm__err, .ndc-bm__empty { font-size: 13px; color: #888; text-align: center; padding: 16px 0; }
.ndc-bm__err { color: #DC2626; }
.ndc-bm__error { font-size: 13px; color: #DC2626; background: #FEF2F2; border-radius: 6px; padding: 8px 12px; margin-bottom: 12px; }

/* ── Search ────────────────────────────────── */
.ndc-bm__search-wrap { margin-bottom: 12px; }
.ndc-bm__search-input-wrap {
  position: relative;
  width: 100%;
}
.ndc-bm__search-input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 40px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  font-family: var(--ff);
  font-size: 14px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.ndc-bm__search-input:focus { border-color: var(--g8); }
.ndc-bm__search-input::-webkit-search-decoration,
.ndc-bm__search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.ndc-bm__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tm);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.ndc-bm__search-mic {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--g05);
  color: var(--g8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 2;
  transition: all 0.15s;
}
.ndc-bm__search-mic:hover { background: var(--g1); }
.ndc-bm__search-mic.is-recording {
  background: #DC2626;
  color: #fff;
  animation: micPulse 1.2s ease-in-out infinite;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(220,38,38,0); }
}

/* ── Chips ─────────────────────────────────── */
.ndc-bm__chips { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; padding-bottom: 2px; }
.ndc-bm__chips::-webkit-scrollbar { display: none; }
.ndc-bm__chips--wrap { flex-wrap: wrap; overflow-x: visible; }
.ndc-bm__chip {
  flex-shrink: 0; padding: 6px 12px; border: 1.5px solid #E5E5E5; border-radius: 20px;
  font-size: 13px; font-weight: 500; background: #fff; color: #555; cursor: pointer;
  font-family: inherit; white-space: nowrap; transition: all .15s;
}
.ndc-bm__chip:hover { border-color: #0A6847; color: #0A6847; }
.ndc-bm__chip--active { border-color: #0A6847; background: #0A6847; color: #fff; }
.ndc-bm__chip--active:hover { background: #064E32; }

/* ── Doctor cards ──────────────────────────── */
.ndc-bm__doctor-list { display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b8dfc9 transparent; }
.ndc-bm__doctor-list::-webkit-scrollbar { width: 4px; }
.ndc-bm__doctor-list::-webkit-scrollbar-thumb { background: #b8dfc9; border-radius: 2px; }
.ndc-bm__doc-card { display: flex; gap: 12px; padding: 12px; border: 1.5px solid #E5E5E5; border-radius: 10px; cursor: pointer; transition: all .15s; background: #fff; }
.ndc-bm__doc-card:hover { border-color: #0A6847; background: #F0FAF4; }
.ndc-bm__doc-photo { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #E8F5EE; display: flex; align-items: center; justify-content: center; }
.ndc-bm__doc-photo-img { width: 100%; height: 100%; object-fit: cover; }
.ndc-bm__doc-initials { font-size: 18px; font-weight: 700; color: #0A6847; }
.ndc-bm__doc-info { flex: 1; min-width: 0; }
.ndc-bm__doc-fio { font-size: 14px; font-weight: 700; color: #0A6847; line-height: 1.3; margin-bottom: 2px; }
.ndc-bm__doc-pos { font-size: 12px; color: #555; line-height: 1.4; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ndc-bm__doc-exp { font-size: 11px; color: #888; margin-right: 6px; }
.ndc-bm__doc-badge { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; }
.ndc-bm__doc-badge--avail { background: #E8F5EE; color: #0A6847; }
.ndc-bm__doc-badge--call  { background: #FEF3C7; color: #92400E; }

/* ── Specialty tiles ───────────────────────── */
.ndc-bm__spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 400px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b8dfc9 transparent; }
.ndc-bm__spec-grid::-webkit-scrollbar { width: 4px; }
.ndc-bm__spec-grid::-webkit-scrollbar-thumb { background: #b8dfc9; border-radius: 2px; }
.ndc-bm__spec-tile { padding: 10px 12px; border: 1.5px solid #E5E5E5; border-radius: 8px; font-size: 13px; font-weight: 600; background: #fff; color: #1A1A1A; cursor: pointer; text-align: left; transition: all .15s; font-family: inherit; }
.ndc-bm__spec-tile:hover { border-color: #0A6847; background: #F0FAF4; color: #0A6847; }

/* ── Research ──────────────────────────────── */
.ndc-bm__research-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ndc-bm__research-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 12px; border: 1.5px solid #E5E5E5; border-radius: 10px; cursor: pointer; background: #fff; transition: all .2s; font-family: inherit; color: #1A1A1A; }
.ndc-bm__research-tile:hover { border-color: #0A6847; background: #F0FAF4; transform: translateY(-2px); }
.ndc-bm__research-icon { font-size: 28px; }
.ndc-bm__research-name { font-size: 14px; font-weight: 700; }
.ndc-bm__research-desc { font-size: 11px; color: #888; }
.ndc-bm__research-noslots { text-align: center; padding: 20px 0; }
.ndc-bm__research-noslots p { font-size: 14px; color: #555; margin-bottom: 8px; line-height: 1.6; }
.ndc-bm__item-list { display: flex; flex-direction: column; gap: 4px; max-height: 380px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b8dfc9 transparent; }
.ndc-bm__item-list::-webkit-scrollbar { width: 4px; }
.ndc-bm__item-list::-webkit-scrollbar-thumb { background: #b8dfc9; border-radius: 2px; }
.ndc-bm__item-group-label { font-size: 11px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .05em; padding: 10px 0 4px; border-top: 1px solid #F0F0F0; margin-top: 4px; }
.ndc-bm__item-group-label:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.ndc-bm__item-btn { width: 100%; padding: 10px 12px; border: none; border-bottom: 1px solid #F0F0F0; background: none; text-align: left; font-size: 14px; font-family: inherit; color: #1A1A1A; cursor: pointer; transition: background .12s; border-radius: 0; }
.ndc-bm__item-btn:last-child { border-bottom: none; }
.ndc-bm__item-btn:hover { background: #F0FAF4; color: #0A6847; }

/* ── Analysis cards ────────────────────────── */
.ndc-bm__analysis-list { display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b8dfc9 transparent; margin-bottom: 8px; }
.ndc-bm__analysis-list::-webkit-scrollbar { width: 4px; }
.ndc-bm__analysis-list::-webkit-scrollbar-thumb { background: #b8dfc9; border-radius: 2px; }
.ndc-bm__an-card { border: 1.5px solid #E5E5E5; border-radius: 8px; padding: 10px 12px; background: #fff; }
.ndc-bm__an-name { font-size: 13px; font-weight: 600; color: #1A1A1A; margin-bottom: 5px; line-height: 1.4; }
.ndc-bm__an-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ndc-bm__an-price { font-size: 13px; font-weight: 700; color: #0A6847; }
.ndc-bm__an-period { font-size: 11px; color: #888; }
.ndc-bm__an-fasting { font-size: 11px; color: #F59E0B; }
.ndc-bm__an-actions { display: flex; gap: 8px; }
.ndc-bm__an-btn { flex: 1; height: 34px; border-radius: 6px; font-size: 12px; font-weight: 600; font-family: inherit; cursor: pointer; border: 1.5px solid; transition: all .15s; }
.ndc-bm__an-btn--defer { border-color: #E5E5E5; background: #fff; color: #555; }
.ndc-bm__an-btn--defer:hover { border-color: #0A6847; color: #0A6847; }
.ndc-bm__an-btn--defer.is-active { border-color: #0A6847; background: #0A6847; color: #fff; }
.ndc-bm__an-btn--book { border-color: #0A6847; background: #0A6847; color: #fff; }
.ndc-bm__an-btn--book:hover { background: #064E32; border-color: #064E32; }
.ndc-bm__analysis-cart { background: #F0FAF4; border: 1.5px solid #B8DFC9; border-radius: 8px; padding: 12px 14px; margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ndc-bm__cart-summary { font-size: 13px; font-weight: 600; color: #0A6847; }
.ndc-bm__cart-btn { flex-shrink: 0; height: 38px; padding: 0 16px; font-size: 13px; }
.ndc-bm__load-more { width: 100%; padding: 10px; border: 1.5px dashed #E5E5E5; border-radius: 8px; background: none; font-size: 13px; color: #0A6847; cursor: pointer; font-family: inherit; margin-top: 4px; }
.ndc-bm__load-more:hover { border-color: #0A6847; background: #F0FAF4; }

/* ── Analysis "how" screen ─────────────────── */
.ndc-bm__cart-preview { background: #F8FDFB; border: 1px solid #D4EDD9; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; max-height: 140px; overflow-y: auto; }
.ndc-bm__cart-list { display: flex; flex-direction: column; gap: 4px; }
.ndc-bm__cart-item { display: flex; justify-content: space-between; font-size: 12px; color: #555; gap: 8px; }
.ndc-bm__cart-total { font-size: 13px; font-weight: 700; color: #0A6847; margin-top: 8px; padding-top: 8px; border-top: 1px solid #D4EDD9; }
.ndc-bm__how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ndc-bm__how-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 12px; border: 1.5px solid #E5E5E5; border-radius: 10px; cursor: pointer; background: #fff; transition: all .2s; font-family: inherit; color: #1A1A1A; }
.ndc-bm__how-card:hover { border-color: #0A6847; background: #F0FAF4; transform: translateY(-2px); }
.ndc-bm__how-icon { font-size: 28px; }
.ndc-bm__how-name { font-size: 13px; font-weight: 700; line-height: 1.3; }
.ndc-bm__how-desc { font-size: 11px; color: #8A8A8A; line-height: 1.4; }

/* ── Symptom stub ──────────────────────────── */
.ndc-bm__symptom-stub { text-align: center; padding: 20px 0; }
.ndc-bm__symptom-emoji { font-size: 48px; margin-bottom: 14px; }
.ndc-bm__symptom-title { font-family: 'Playfair Display',Georgia,serif; font-size: 20px; font-weight: 700; color: #1A1A1A; margin-bottom: 10px; }
.ndc-bm__symptom-text { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 20px; }
.ndc-bm__symptom-actions { display: flex; flex-direction: column; gap: 10px; }

/* ── Schedule ──────────────────────────────── */
.ndc-bm__schedule-ctx { font-size: 13px; color: #0A6847; font-weight: 600; margin-bottom: 10px; min-height: 18px; }
.ndc-bm__date-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 14px; }
.ndc-bm__date-row::-webkit-scrollbar { display: none; }
.ndc-bm__date-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 52px; min-width: 52px; padding: 7px 4px;
  border: 1.5px solid #E5E5E5; border-radius: 8px;
  background: #fff; color: #555; cursor: pointer; font-family: inherit;
  transition: all .15s; flex-shrink: 0;
}
.ndc-bm__date-btn:hover { border-color: #0A6847; background: #F0FAF4; }
/* П7: date-btn states — workday green bg, weekend red border */
.ndc-bm__date-btn.has-slots { background: #F0FAF4; border: 1.5px solid var(--g8,#0A6847); color: var(--tp,#1a1a1a); font-weight: 600; }
.ndc-bm__date-btn.no-slots { background: #f5f5f5; border: 1px solid #e0e0e0; color: #b0b0b0; opacity: .5; }
.ndc-bm__date-btn.is-active { background: var(--g8,#0A6847); color: #fff; border: 2px solid var(--g8,#0A6847); }
.ndc-bm__date-btn.is-today { border-width: 2.5px; border-color: #0A6847; }
.ndc-bm__date-btn.is-weekend { border-color: #E57373; }
.ndc-bm__date-btn.is-weekend.has-slots { background: #F0FAF4; color: var(--tp,#1a1a1a); }
.ndc-bm__date-dow  { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.ndc-bm__date-dow--today { font-size: 8px !important; text-transform: none !important; letter-spacing: 0; }
.ndc-bm__date-num  { font-size: 14px; font-weight: 700; line-height: 1.2; }
.ndc-bm__date-mon  { font-size: 10px; opacity: .7; }
.ndc-bm__slots-wrap { min-height: 80px; }
.ndc-bm__slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ndc-bm__slot { padding: 9px 4px; border: none; border-radius: 7px; background: #0A6847; color: #fff; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; transition: background .15s; }
.ndc-bm__slot:hover { background: #064E32; }
.ndc-bm__no-slots { text-align: center; padding: 20px 0; }
.ndc-bm__no-slots p { font-size: 13px; color: #555; margin-bottom: 12px; line-height: 1.6; }

/* ── Patient form ──────────────────────────── */
.ndc-bm__appt-summary { font-size: 13px; color: #0A6847; font-weight: 600; background: #E8F5EE; border-radius: 6px; padding: 8px 12px; margin-bottom: 14px; line-height: 1.5; }

/* ── SMS screen ────────────────────────────── */
.ndc-bm__sms-wrap { padding: 8px 0; }
.ndc-bm__sms-info { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 18px; }
.ndc-bm__code-wrap { margin-bottom: 16px; }
.ndc-bm__code-input {
  width: 100%; height: 60px; font-size: 28px; font-weight: 700; letter-spacing: 12px;
  text-align: center; border: 2px solid #E5E5E5; border-radius: 10px;
  outline: none; font-family: monospace; background: #FAFAFA;
}
.ndc-bm__code-input:focus { border-color: #0A6847; background: #fff; }
.ndc-bm__sms-resend { font-size: 13px; color: #888; text-align: center; margin-top: 12px; }
.ndc-bm__text-btn { background: none; border: none; color: #0A6847; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; font-family: inherit; padding: 0; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 479px) {
  .ndc-bm__router-grid { grid-template-columns: 1fr 1fr; }
  .ndc-bm__route-tile--symptom { grid-column: 1 / -1; }
  .ndc-bm__research-grid { grid-template-columns: 1fr 1fr; }
  .ndc-bm__spec-grid { grid-template-columns: 1fr; }
  .ndc-bm__how-grid { grid-template-columns: 1fr; }
  .ndc-bm__slots-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 480px) and (max-width: 767px) {
  .ndc-bm__router-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ndc-bm__route-tile--symptom { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════════════════════
   NDC Booking Modal v3 — overrides & new components
   ═══════════════════════════════════════════════════════════ */

/* ── Router: 4 tiles 2×2 ──────────────────────────────────── */
.ndc-bm__router-grid--4 {
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 640px) {
  .ndc-bm__router-grid--4 { grid-template-columns: 1fr 1fr; }
}

/* ── Doctor screen: spec strip (desktop) ───────────────────── */
.ndc-bm__spec-strip-wrap {
  display: none; /* hidden on mobile */
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  position: relative;
}
@media (min-width: 768px) {
  .ndc-bm__spec-strip-wrap { display: flex; }
}
.ndc-bm__spec-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1.5px solid #E5E5E5; border-radius: 50%;
  background: #fff; color: #555;
  font-size: 18px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .15s; padding: 0;
  font-family: inherit;
}
.ndc-bm__spec-arrow:hover { border-color: #0A6847; color: #0A6847; background: #F0FAF4; }
.ndc-bm__spec-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 2px 0 4px;
  scroll-snap-type: x proximity;
}
.ndc-bm__spec-strip::-webkit-scrollbar { display: none; }
.ndc-bm__spec-strip .ndc-bm__chip {
  height: 32px;
  padding: 0 14px;
  line-height: 32px;
  font-size: 13px;
  scroll-snap-align: start;
}

/* ── Doctor screen: alpha spec list (mobile) ───────────────── */
.bm-alpha { display: none; margin: 8px 0 12px; }
@media (max-width: 639px) {
  .bm-alpha { display: block; }
  .ndc-bm__spec-strip-wrap { display: none !important; }
}
.bm-alpha__viewport {
  position: relative;
  height: 320px;
  border: 0.5px solid var(--g1);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.bm-alpha__list {
  position: relative;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 28px 12px 16px;
  scrollbar-width: none;
}
.bm-alpha__list::-webkit-scrollbar { display: none; }
.bm-alpha__head {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 8px 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--g8);
  letter-spacing: 1px;
  z-index: 1;
}
.bm-alpha__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 4px;
  font-size: 14px;
  font-family: var(--ff);
  color: var(--tp);
  background: none;
  border: none;
  border-bottom: 0.5px solid var(--g1);
  cursor: pointer;
  text-align: left;
}
.bm-alpha__item:hover, .bm-alpha__item:focus-visible {
  color: var(--g8);
  background: var(--g05);
  outline: none;
}
.bm-alpha__chev {
  color: var(--tm);
  font-size: 11px;
  margin-left: 8px;
  flex-shrink: 0;
}
.bm-alpha__empty {
  padding: 24px 16px;
  font-size: 13px;
  color: var(--tm);
  text-align: center;
}
.bm-alpha__bar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 4px 0;
  background: rgba(255,255,255,0.92);
  border-left: 0.5px solid var(--g1);
  border-radius: 0 12px 12px 0;
  z-index: 5;
}
.bm-alpha__bar span {
  font-size: 9px;
  font-weight: 700;
  color: var(--tm);
  cursor: pointer;
  padding: 1px 3px;
  line-height: 1;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.bm-alpha__bar span:hover { color: var(--g8); }
.bm-alpha__bar span.is-active {
  background: var(--g8);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  transform: scale(1.15);
  transition: all 0.15s ease;
}

/* ── Doctor cards grid ──────────────────────────────────────── */
.ndc-bm__doctor-list {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: visible !important;
  max-height: none !important;
}
@media (min-width: 640px) {
  .ndc-bm__doctor-list { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* "Показать всех" tile */
.ndc-bm__doc-show-all {
  background: var(--g05, #F0FAF4);
  border: 2px dashed var(--g8);
  color: var(--g8);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  min-height: 180px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: var(--ff);
  transition: all .2s ease;
  width: 100%;
}
.ndc-bm__doc-show-all:hover {
  background: var(--g1);
  border-style: solid;
}

/* Doctor card */
.ndc-bm__doc-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 180px;
  padding: 16px !important;
  gap: 0 !important;
  border: 2px solid var(--g1) !important;
  border-radius: 12px !important;
  transition: all .2s ease !important;
  background: var(--g05) !important;
}
.ndc-bm__doc-card:hover,
.ndc-bm__doc-card:focus-visible {
  border-color: var(--g8) !important;
  box-shadow: 0 4px 14px rgba(8,122,67,0.12);
  transform: translateY(-1px);
}
.ndc-bm__doc-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
  margin-bottom: 10px;
}
/* Photo: 72×72 circle, no empty space */
.ndc-bm__doc-photo {
  width: 72px !important;
  height: 72px !important;
  min-height: 72px !important;
  border-radius: 50% !important;
  overflow: hidden;
  flex-shrink: 0;
  background: #E8F5EE;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ndc-bm__doc-photo-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ndc-bm__doc-initials {
  font-size: 22px !important;
  font-weight: 700;
  color: #0A6847;
  line-height: 1;
}
.ndc-bm__doc-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.ndc-bm__doc-fio {
  font-size: 13px !important;
  font-weight: 700;
  color: #1A1A1A !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3;
}
.ndc-bm__doc-pos {
  font-size: 11px !important;
  color: #555;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal !important;
}
.ndc-bm__doc-exp {
  font-size: 11px;
  color: #888;
  margin: 0 !important;
}
.ndc-bm__doc-btn {
  width: 100%;
  height: 32px;
  background: #0A6847;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
  margin-top: auto;
}
.ndc-bm__doc-btn:hover { background: #064E32; }

/* ── Diagnostika items list ─────────────────────────────────── */
.ndc-bm__item-btn {
  font-size: 13px !important;
  text-align: left;
}

/* ═══ Мобильная модалка (П1–П5) — max-width: 639px ════════════ */
@media (max-width: 639px) {
  /* П3: модалка на весь экран */
  .ndc-bm { align-items: flex-start; }
  .ndc-bm__panel {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  /* П4: компактная шапка */
  .ndc-bm__head {
    padding: 12px 16px;
    min-height: 48px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--g1);
  }
  .ndc-bm__title {
    font-size: 16px;
    line-height: 1.2;
  }
  .ndc-bm__close {
    width: 36px;
    height: 36px;
  }

  /* П3 cont: скролл внутри экрана */
  .ndc-bm__screen {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 80px;
  }

  /* П5: шапка экрана (back + title) */
  .ndc-bm__screen-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0 12px;
    border-bottom: 1px solid var(--g1);
    margin-bottom: 12px;
  }
  .ndc-bm__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: var(--g05, #F0FAF4);
    color: var(--g8);
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    flex-shrink: 0;
    border: none;
    font-family: var(--ff);
  }
  .ndc-bm__back:hover { background: var(--g1); text-decoration: none; }
  .ndc-bm__screen-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tp);
    margin: 0;
  }

  /* П1: sticky поиск и барабан */
  .ndc-bm__screen[data-screen="doctor"] .ndc-bm__search-wrap {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    padding-bottom: 6px;
    margin-bottom: 0;
  }
}

/* ── Specialty booking tabs ─────────────────────────────────────────────── */
.ndc-bm__tab-bar{display:flex;gap:4px;padding:10px 16px 0;border-bottom:2px solid #eee;margin-bottom:8px}
.ndc-bm__tab{flex:1;padding:8px 0;background:none;border:none;border-bottom:3px solid transparent;margin-bottom:-2px;font-size:14px;font-weight:600;color:#999;cursor:pointer;transition:.15s;font-family:inherit}
.ndc-bm__tab--active{color:#0A6847;border-bottom-color:#0A6847}
.ndc-bm__tab:hover{color:#0A6847}

/* ── By-date doctor+slot view ────────────────────────────────────────────── */
.ndc-bm__bydate-slots{padding:8px 0}
.ndc-bm__bydate-doc{padding:10px 16px;border-bottom:1px solid #f0f0f0}
.ndc-bm__bydate-doc:last-child{border-bottom:none}
.ndc-bm__bydate-doc-name{font-size:13px;font-weight:600;color:#333;margin-bottom:6px}
.ndc-bm__bydate-times{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ndc-bm__slot-more{font-size:12px;color:#999;padding:2px 6px}
.ndc-bm__slot--hidden{display:none!important}
.ndc-bm__slot--more{background:var(--primary,#1565C0)!important;color:#fff!important;cursor:pointer;font-size:14px;font-weight:700;border:none;border-radius:7px;padding:9px 4px;font-family:inherit;transition:background .15s}
.ndc-bm__slot--more:hover{filter:brightness(1.1)}
.ndc-bm__slot--more::after{content:" →"}

.ndc-bm__no-slots { text-align:center; padding:32px 16px; }
.ndc-bm__no-slots-title { font-size:16px; font-weight:600; color:#1a1a1a; margin:0 0 8px; }
.ndc-bm__no-slots-hint { font-size:14px; color:#6b7280; margin:0 0 24px; }
.ndc-bm__no-slots-actions { display:flex; flex-direction:column; gap:12px; align-items:center; }
.ndc-bm__no-slots-phone { display:inline-flex; align-items:center; gap:8px; padding:12px 24px; background:var(--g8); color:#fff; border-radius:8px; font-size:15px; font-weight:600; text-decoration:none; }
.ndc-bm__no-slots-other-doctors { display:flex; flex-direction:column; align-items:center; gap:4px; padding:12px 24px; background:var(--g05); color:var(--g8); border:2px solid var(--g8); border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; }
.ndc-bm__no-slots-other-hint { font-size:12px; font-weight:400; color:#6b7280; }

/* Full doctor card — specialty mode (ШАГ 2-5) */
.ndc-bm__doc-card--full{cursor:default;padding-bottom:6px}
.ndc-bm__doc-badges{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 2px}
.ndc-bm__doc-badge{display:inline-block;font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px}
.ndc-bm__doc-badge--exp{background:#EEF9F5;color:var(--g8)}
.ndc-bm__doc-badge--age{background:#FFF3CD;color:#856404}
.ndc-bm__doc-rating{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--ts);margin:3px 0 2px}
.ndc-bm__stars{color:#FFB800;letter-spacing:1px;font-size:12px}
.ndc-bm__rating-val{font-weight:700;color:var(--tp)}
.ndc-bm__rating-cnt{color:var(--ts)}
.ndc-bm__doc-price{font-size:13px;color:var(--ts);margin:2px 0}
.ndc-bm__doc-price b{font-size:15px;color:var(--g8);font-weight:700}
/* Date strip */
.ndc-bm__doc-dates{display:flex;gap:4px;overflow-x:auto;padding:10px 0 6px;border-top:1px solid var(--g1);margin-top:10px;scrollbar-width:none}
.ndc-bm__doc-dates::-webkit-scrollbar{display:none}
.dc-day{flex-shrink:0;width:42px;min-height:54px;padding:5px 2px;border-radius:8px;border:1px solid var(--g1);background:#f8f9fa;text-align:center;cursor:pointer;transition:all .15s;display:flex;flex-direction:column;align-items:center;justify-content:center}
.dc-day--loading{opacity:.45}
.dc-day--has-slots{background:#fff;border-color:var(--g1)}
.dc-day.is-active{background:var(--g8)!important;border-color:var(--g8)!important}
.dc-day.is-active .dc-dow,.dc-day.is-active .dc-d,.dc-day.is-active .dc-mon{color:#fff!important}
.dc-day--empty{opacity:.25;cursor:default;pointer-events:none}
.dc-dow{display:block;font-size:10px;color:#9ca3af;text-transform:uppercase;line-height:1.2}
.dc-d{display:block;font-size:16px;font-weight:700;color:var(--tp);line-height:1.3}
.dc-mon{display:block;font-size:10px;color:#9ca3af;line-height:1.2}
.dc-day--picker{font-size:18px;padding:10px 4px;min-height:54px;background:#fff;color:var(--g8)}
.dc-day--picker:hover{background:var(--g05)}
/* Doctor slots in card */
.ndc-bm__doc-slots{padding:8px 0 4px;min-height:32px}
.ndc-bm__doc-clinic-label{font-size:11px;font-weight:700;color:var(--ts);text-transform:uppercase;letter-spacing:.4px;margin:8px 0 6px}
.ndc-bm__doc-times{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:4px}
.ndc-bm__doc-slot{padding:6px 12px;border-radius:6px;background:var(--g05);border:1px solid var(--g1);font-size:13px;font-weight:600;color:var(--g8);cursor:pointer;transition:.12s}
.ndc-bm__doc-slot:hover{background:var(--g8);border-color:var(--g8);color:#fff}
.ndc-bm__loader--sm{font-size:12px;color:var(--ts);padding:8px 0}
.ndc-bm__empty--sm{font-size:12px;color:var(--ts);padding:8px 0;margin:0}
.ndc-bm__err--sm{font-size:12px;color:#dc2626;padding:8px 0;margin:0}
/* Calendar overlay */
.ndc-bm__cal-wrap{margin-top:8px}
.ndc-bm__cal{background:#fff;border:1px solid var(--g1);border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.1);padding:14px}
.ndc-bm__cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.ndc-bm__cal-title{font-size:14px;font-weight:700;color:var(--tp)}
.ndc-bm__cal-nav{background:none;border:none;font-size:16px;cursor:pointer;padding:4px 8px;color:var(--g8);border-radius:4px}
.ndc-bm__cal-nav:hover{background:var(--g05)}
.ndc-bm__cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.ndc-bm__cal-dow{text-align:center;font-size:10px;font-weight:600;color:var(--ts);padding:3px 0 6px}
.ndc-bm__cal-day{text-align:center;padding:5px 2px;font-size:12px;border-radius:4px;cursor:pointer;background:none;border:none;color:var(--tp)}
.ndc-bm__cal-day:hover:not(:disabled){background:var(--g05)}
.ndc-bm__cal-today{font-weight:700;color:var(--g8)}
.ndc-bm__cal-day--past{opacity:.3;cursor:default}

/* Modal width + П5 height fix — wide screens */
@media (min-width: 1024px) {
  .ndc-bm__panel {
    width: min(900px, 92vw); max-width: 900px;
    height: 80vh; max-height: 800px; min-height: 600px;
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column;
  }
  .ndc-bm__panel-header { flex-shrink: 0; }
  .ndc-bm__tabs { flex-shrink: 0; }
  .ndc-bm__panel-body { flex: 1; overflow-y: auto; overflow-x: hidden; }
}
@media (min-width: 1280px) {
  .ndc-bm__panel { width: min(1000px, 90vw); max-width: 1000px; }
}

/* ===== Doc-card in booking modal (врачи redesign) ===== */
.ndc-bm .doc-card{cursor:default;border:2px solid #b8dfc9;border-radius:12px;overflow:hidden;box-shadow:0 4px 16px rgba(10,104,71,.06);display:flex;flex-direction:column;background:#fff;margin-bottom:12px}
.ndc-bm .doc-card:hover{border-color:#b8dfc9;box-shadow:0 4px 16px rgba(10,104,71,.06)}
.ndc-bm .doc-card__photo{display:flex;justify-content:center;padding:14px 14px 0;background:#fff;flex-shrink:0}
.ndc-bm .doc-card__photo-inner{position:relative;width:30%;aspect-ratio:3/4;overflow:hidden;border-radius:8px 8px 0 0;flex-shrink:0}
.ndc-bm .doc-card__photo-inner::after{content:'';position:absolute;bottom:0;left:0;right:0;height:60px;background:linear-gradient(to top,#fff 20%,transparent);pointer-events:none;z-index:1}
.ndc-bm .doc-card__photo-inner img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.ndc-bm .doc-card__initials{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:700;color:#0A6847;background:linear-gradient(160deg,#e8f5ee,#c8e6d0)}
.ndc-bm .doc-card__rating-block{display:flex;flex-direction:column;align-items:center;border-bottom:1px solid #f0f0f0;padding:8px 0;min-height:50px;justify-content:center}
.ndc-bm .doc-card__stars-wrap{display:flex;justify-content:center;padding:4px 0 0}
.ndc-bm .doc-card__stars-inner{width:100px;display:flex;justify-content:space-between}
.ndc-bm .doc-card__star{font-size:18px;color:#F59E0B}
.ndc-bm .doc-card__star.e{color:#e0e0e0}
.ndc-bm .doc-card__rating-text{display:flex;align-items:center;justify-content:center;gap:6px;padding:3px 16px 0;font-size:12px;color:#555}
.ndc-bm .doc-card__rating-dot{color:#ccc}
.ndc-bm .doc-card__name-wrap{text-align:center;padding:10px 14px;border-bottom:1px solid #f0f0f0;display:flex;flex-direction:column;align-items:center}
.ndc-bm .doc-card__name{font-size:15px;font-weight:700;color:#0A6847;line-height:1.3;margin-bottom:6px}
.ndc-bm .doc-card__spec{font-size:13px;color:#555}
.ndc-bm .doc-card__stazh{padding:8px 14px;border-bottom:1px solid #f0f0f0;background:#f8fdfb;display:flex;align-items:center;justify-content:space-between;min-height:48px;gap:8px}
.ndc-bm .doc-card__stazh-val{font-size:14px;font-weight:700;color:#1a1a1a}
.ndc-bm .doc-card__stazh-sub{font-size:11px;color:#0A6847;margin-top:2px}
.ndc-bm .doc-card__stazh-right{flex-shrink:0}
.ndc-bm .doc-card__stazh-age{display:block;font-size:12px;font-weight:600;color:#0A6847;background:#e8f5ee;border:1.5px solid #b8dfc9;border-radius:8px;padding:5px 8px;white-space:nowrap}
.ndc-bm .dc-schedule{padding:10px 14px;border-bottom:1px solid #f0f0f0;background:#fafffe}
.ndc-bm .doc-card__location{padding:8px 14px;background:#fafffe;font-size:12px}
.ndc-bm .doc-card__loc-label{font-size:10px;color:#888;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.ndc-bm .doc-card__loc-addr{font-size:12px;color:#555;line-height:1.5;display:flex;align-items:flex-start;gap:4px}
.ndc-bm .doc-card__loc-addr+.doc-card__loc-addr{margin-top:2px}

/* dc-day vrachi styles scoped to modal */
.ndc-bm .dc-dates{display:flex;gap:4px;overflow-x:auto;padding:0 0 6px;margin-bottom:8px;scrollbar-width:none;flex-wrap:nowrap}
.ndc-bm .dc-dates::-webkit-scrollbar{display:none}
.ndc-bm .dc-day{display:flex;flex-direction:column;align-items:center;padding:5px 4px;border:1.5px solid #e0e0e0;border-radius:8px;cursor:pointer;transition:all .15s;flex-shrink:0;width:50px;min-width:50px;max-width:50px;box-sizing:border-box;background:#fff;color:#555}
.ndc-bm .dc-day.has-slots{background:#e8f5ee;border-color:#9fd4b3;color:#0A6847}
.ndc-bm .dc-day.has-slots:hover{background:#c8e6d0;border-color:#0A6847}
.ndc-bm .dc-day.has-slots.active{background:#0A6847!important;border-color:#0A6847!important;color:#fff!important}
.ndc-bm .dc-day.no-slots{background:#f5f5f5;border-color:#e8e8e8;color:#bbb;cursor:default;opacity:.5}
.ndc-bm .dc-day.today{background:#e8f5ee!important;border:3px solid #0A6847!important;color:#0A6847!important}
.ndc-bm .dc-day.is-weekend{border-color:#ff4444!important}
.ndc-bm .dc-day.is-weekend.has-slots{background:#e8f5ee;color:#0A6847}
.ndc-bm .dc-day__label{font-size:8px;font-weight:600;min-height:10px;line-height:1;overflow:hidden;white-space:nowrap;text-transform:uppercase;letter-spacing:.3px}
.ndc-bm .dc-day__num{font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}
.ndc-bm .dc-day__dow{font-size:9px;line-height:1.2;opacity:.65}

/* dc-slots/dc-slot vrachi styles in modal */
.ndc-bm .dc-slots{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.ndc-bm .dc-slot{padding:6px 8px;border:none;border-radius:6px;font-size:12px;font-weight:600;color:#fff!important;background:#0A6847!important;cursor:pointer;transition:all .15s;text-align:center;line-height:1.3;min-width:52px}
.ndc-bm .dc-slot:hover{background:#064E32!important}
.ndc-bm .dc-no-slots{font-size:12px;color:#888;text-align:center;padding:6px 0}

/* ===== врачи bagfix 1-4 ===== */
/* БАГ 2: force 1-column layout (override @media 640px grid) */
@media (min-width: 640px) {
  .ndc-bm__doctor-list { display: flex !important; flex-direction: column !important; grid-template-columns: none !important; gap: 16px !important; }
}

/* БАГ 3 + П6: compact photo — 64x64 square */
.ndc-bm .doc-card__photo { padding: 10px 12px 0; }
.ndc-bm .doc-card__photo-inner { width: 64px !important; height: 64px !important; aspect-ratio: 1 !important; border-radius: 8px !important; }
.ndc-bm .doc-card__photo-inner::after { display: none !important; }
.ndc-bm .doc-card__initials { font-size: 24px; }

/* БАГ 4 + П7: dc-day states — workday green bg, weekend red border */
.ndc-bm .dc-day { background: #f8f9fa; border-color: #e0e0e0; color: #555; }
.ndc-bm .dc-day.has-slots { background: #F0FAF4; border-color: #c8e0d0; color: #333; cursor: pointer; }
.ndc-bm .dc-day.has-slots:hover { border-color: var(--g8, #0A6847); }
.ndc-bm .dc-day.has-slots.active { background: var(--g8, #0A6847) !important; border-color: var(--g8, #0A6847) !important; color: #fff !important; }
.ndc-bm .dc-day.no-slots { background: #f5f5f5; border-color: #e8e8e8; color: #ccc; opacity: .45; cursor: default; pointer-events: none; }
.ndc-bm .dc-day.is-weekend { border-color: #E57373 !important; }
.ndc-bm .dc-day.is-weekend.has-slots { background: #F0FAF4; color: #333; }
.ndc-bm .dc-day.today { border-color: var(--g8, #0A6847); border-width: 2px !important; background: #fff; color: #333; }
.ndc-bm .dc-day.today .dc-day__label { color: var(--g8, #0A6847); font-weight: 700; }
.ndc-bm .dc-day.today.no-slots { border-color: #c8c8c8 !important; border-width: 1px !important; opacity: .45; }
.ndc-bm .dc-day.today.has-slots.active { background: var(--g8, #0A6847) !important; border-color: var(--g8, #0A6847) !important; color: #fff !important; }
/* ШАГ 3: calendar tile in by-date strip */
.ndc-bm .ndc-bm__date-btn--cal { border: 1.5px solid var(--g8,#0A6847) !important; opacity: 1; font-size: 1.1em; }
.ndc-bm .ndc-bm__date-btn--cal:hover { opacity: 1; background: var(--g1,#E8F5EE); }
.ndc-bm .ndc-bm__date-btn--cal .ndc-bm__date-num { font-size: 1.3em; line-height: 1; }
/* П7: by-date date-btn availability overrides — workday green bg, weekend red border */
.ndc-bm [data-action="bydate-day"].has-slots { background:#F0FAF4; border:1.5px solid var(--g8,#0A6847); color:var(--tp,#1a1a1a); font-weight:600; cursor:pointer; }
.ndc-bm [data-action="bydate-day"].no-slots { background:#f5f5f5; border:1px solid #e0e0e0; color:#b0b0b0; opacity:.5; cursor:default; pointer-events:none; }
.ndc-bm [data-action="bydate-day"].is-active { background:var(--g8,#0A6847)!important; border:2px solid var(--g8,#0A6847)!important; color:#fff!important; }
.ndc-bm [data-action="bydate-day"].is-weekend { border-color:#E57373!important; }
.ndc-bm [data-action="bydate-day"].is-weekend.has-slots { background:#F0FAF4; }
.ndc-bm [data-action="bydate-day"].is-weekend.no-slots { background:#f5f5f5; }
/* П3: calendar popup — fixed overlay over page */
.ndc-bm__bydatecal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 999998;
}
.ndc-bm__bydatecal-wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 999999;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 64px rgba(0,0,0,.25);
  padding: 20px;
  width: 360px;
  max-width: 90vw;
}
/* П4: calendar day availability indicators */
.ndc-bm__cal-day.has-slots { background:#e8f5ee; color:var(--g8,#0A6847); font-weight:600; }
.ndc-bm__cal-day.no-slots { opacity:.4; }
.ndc-bm .ndc-bm__cal-day--past { opacity: 0; pointer-events: none; }
/* nearest-hint */
.ndc-bm .ndc-bm__nearest-hint { font-size: 13px; color: #5A5A5A; margin-top: 10px; text-align: center; }
.ndc-bm .ndc-bm__nearest-link { background: none; border: none; color: var(--g8,#0A6847); font-weight: 600; cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; }
.ndc-bm .ndc-bm__nearest-link:hover { text-decoration: none; }
/* modal height stability */
.ndc-bm__panel { min-height: 400px; }
.ndc-bm__screen[data-screen="doctor"] { min-height: 360px; }
#bmDoctorList { min-height: 180px; }
#bmByDateSlots { min-height: 80px; }
/* П5+П6: compact doctor card — photo+name+rating in one header row, 64×64 photo */
.ndc-bm .doc-card__head { display:flex; align-items:flex-start; gap:10px; padding:10px 12px 8px; }
.ndc-bm .doc-card__head .doc-card__photo { display:block; padding:0; flex-shrink:0; }
.ndc-bm .doc-card__head .doc-card__photo-inner { width:64px!important; height:64px!important; aspect-ratio:1!important; border-radius:8px!important; }
.ndc-bm .doc-card__head .doc-card__photo-inner::after { display:none!important; }
.ndc-bm .doc-card__head-info { flex:1; min-width:0; }
.ndc-bm .doc-card__head .doc-card__name { font-size:14px; font-weight:700; color:#0A6847; line-height:1.3; margin-bottom:2px; text-align:left; }
.ndc-bm .doc-card__head .doc-card__spec { font-size:12px; color:#555; margin-bottom:4px; text-align:left; }
.ndc-bm .doc-card__head .doc-card__rating-block { flex-direction:row; align-items:center; justify-content:flex-start; border:none; padding:0; min-height:0; gap:4px; }
.ndc-bm .doc-card__head .doc-card__stars-wrap { padding:0; }
.ndc-bm .doc-card__head .doc-card__stars-inner { width:auto; gap:1px; }
.ndc-bm .doc-card__head .doc-card__star { font-size:11px; }
.ndc-bm .doc-card__head .doc-card__rating-text { padding:0; font-size:11px; }
/* П6: stazh one-line separator */
.ndc-bm .doc-card__stazh { padding:4px 12px 6px; min-height:auto; background:transparent; border-bottom:none; }
.ndc-bm .doc-card__stazh-sep { color:#ccc; margin:0 2px; }
/* П3: 30-day flat calendar popup */
.ndc-bm__cal30-head { font-size:14px; font-weight:700; color:#1a1a1a; margin-bottom:12px; text-align:center; }
.ndc-bm__cal30-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:6px; }
@media (min-width:480px) { .ndc-bm__cal30-grid { grid-template-columns:repeat(7,1fr); } }
.ndc-bm__cal30-day {
  display:flex; flex-direction:column; align-items:center; gap:1px;
  padding:6px 3px; border-radius:8px; border:1.5px solid #e0e0e0;
  background:#fff; color:#555; cursor:pointer; font-family:inherit;
  transition:all .15s; font-size:11px;
}
.ndc-bm__cal30-day:hover { border-color:var(--g8,#0A6847); background:#F0FAF4; }
.ndc-bm__cal30-num { font-size:14px; font-weight:700; line-height:1.2; }
.ndc-bm__cal30-mon { font-size:9px; opacity:.7; }
.ndc-bm__cal30-dow { font-size:9px; opacity:.65; }
.ndc-bm__cal30-day.ndc-bm__cal-today { border-color:var(--g8,#0A6847); border-width:2px; font-weight:700; }
.ndc-bm__cal30-day.is-weekend { border-color:#E57373!important; }
.ndc-bm__cal30-day.has-slots { background:#F0FAF4; border-color:var(--g8,#0A6847); color:var(--tp,#1a1a1a); font-weight:600; }
.ndc-bm__cal30-day.is-weekend.has-slots { background:#F0FAF4; border-color:#E57373; }
.ndc-bm__cal30-day.no-slots { background:#f5f5f5; border-color:#e0e0e0; color:#b0b0b0; opacity:.5; }
.ndc-bm__cal30-day.is-active { background:var(--g8,#0A6847)!important; border-color:var(--g8,#0A6847)!important; color:#fff!important; }

.breadcrumbs__list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;align-items:center}
.breadcrumbs__item{display:inline}
.breadcrumbs__item:not(:first-child)::before{content:"\2192";margin:0 8px;color:var(--text-muted,#999)}

/* ── Блоки анализов/диагностики/смежных специалистов (4 ряд десктоп, 2 мобайл) ── */
.spc-links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.spc-link-card{border:1px solid #e8f0ec;border-radius:4px;padding:13px 14px;background:#fff;text-decoration:none;font-size:13px;color:var(--ts,#444);transition:.15s;display:flex;align-items:center;justify-content:space-between;gap:8px;line-height:1.35}
.spc-link-card::after{content:'→';color:#ccc;flex-shrink:0}
.spc-link-card:hover{border-color:#b2d8c5;color:var(--g8,#0A6847)}
@media(max-width:1023px){.spc-links-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:479px){.spc-links-grid{grid-template-columns:1fr}}
