/* ==========================================================
   НДЦ — 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: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-tint);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

/* ===== 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;
}
.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 {
  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); }

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

/* ===== 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;
}
.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: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; 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; }
.doc-card {
  flex: 0 0 clamp(220px, 22vw, 260px); scroll-snap-align: start;
  background: var(--bg-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all var(--transition); cursor: pointer;
}
.doc-card:hover { border-color: var(--green-800); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.doc-card__photo {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--green-800); position: relative;
}
.doc-card__video-btn {
  position: absolute; bottom: 12px; right: 12px;
  width: 40px; height: 40px; background: rgba(0,0,0,0.55); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FFF; font-size: 16px; cursor: pointer; transition: all var(--transition);
  border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(4px);
}
.doc-card__video-btn:hover { background: var(--green-800); border-color: #FFF; transform: scale(1.1); }
.doc-card__body { padding: clamp(14px, 1.5vw, 20px); }
.doc-card__name   { font-size: clamp(15px, 1.3vw, 17px); font-weight: 600; margin-bottom: 6px; }
.doc-card__titles { font-size: clamp(11px, 1vw, 13px); color: var(--green-800); font-weight: 500; margin-bottom: 8px; line-height: 1.4; min-height: 36px; display: flex; align-items: flex-start; }
.doc-card__divider { height: 1px; background: var(--border); margin-bottom: 8px; }
.doc-card__spec   { font-size: clamp(13px, 1.1vw, 14px); color: var(--text-muted); margin-bottom: 12px; line-height: 1.4; min-height: 40px; }
.doc-card__meta   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.doc-card__rating { display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--amber-600); font-weight: 600; }
.doc-card__stazh  { font-size: clamp(11px, 1vw, 13px); color: var(--text-muted); font-weight: 500; }
.doc-card__btn {
  width: 100%; height: clamp(38px, 3.8vw, 44px); background: var(--green-50); color: var(--green-800);
  border: none; border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: clamp(13px, 1.2vw, 15px); font-weight: 600; cursor: pointer; transition: all var(--transition);
}
.doc-card__btn:hover { background: var(--green-800); color: #FFF; }

/* ===== 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) {
  .top-bar__info-group { display: none; }
  .top-bar__mobile-phone { display: flex; }
  .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; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .step:not(:last-child)::after, .step:not(:first-child)::before { display: 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; }

  /* Scrollable containers: hide scrollbar, bleed to edge */
  .promo-complexes,
  .why-scroll,
  .docs-scroll,
  .photos-scroll,
  .promo-scroll {
    margin-left: calc(-1 * var(--px));
    margin-right: calc(-1 * var(--px));
    padding: 0 var(--px) 12px;
    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; }

  /* Card sizing on mobile */
  .promo-complex { flex: 0 0 280px; }
  .why-card      { flex: 0 0 240px; min-width: 0; }
  .doc-card      { flex: 0 0 260px; min-width: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .agg-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 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; 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; }
/* 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; }
/* 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%; }
