/* ================================================================
   НАРКОЛОГ РОСТОВ — vector-rehab.ru
   NSPT-CMS / Тема: digas
   Medical Design System — Mobile First
   ================================================================ */

/* ── CUSTOM PROPERTIES ──────────────────────────────────────── */
:root {
  /* Palette */
  --c-primary:       #1a3a6b;
  --c-primary-dark:  #102246;
  --c-primary-light: #2a5298;
  --c-accent:        #e63946;
  --c-accent-dark:   #c0272d;
  --c-green:         #16a34a;
  --c-green-light:   #dcfce7;

  --c-bg:        #ffffff;
  --c-bg-2:      #f0f4f8;
  --c-bg-3:      #e8edf5;
  --c-surface:   #ffffff;
  --c-border:    #d1dae8;

  --c-text:      #1a1a2e;
  --c-text-2:    #4a5568;
  --c-text-3:    #718096;
  --c-text-inv:  #ffffff;

  /* Typography */
  --f-sans: 'Montserrat', 'Arial', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(26,58,107,.1);
  --shadow-md:  0 4px 20px rgba(26,58,107,.12);
  --shadow-lg:  0 12px 40px rgba(26,58,107,.16);
  --shadow-red: 0 4px 20px rgba(230,57,70,.35);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 300ms ease;

  /* Layout */
  --max-w:    1200px;
  --header-h: 70px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--f-sans);
  font-weight: 400;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-accent); }
button { font-family: var(--f-sans); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--f-sans); }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }

/* ── UTILITIES ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}
.section         { padding: var(--space-2xl) 0; }
.section--light  { background: var(--c-bg-2); }
.section--blue   { background: var(--c-primary); color: var(--c-text-inv); }
.section--dark   { background: var(--c-primary-dark); color: var(--c-text-inv); }
.text-center     { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--c-text); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem,  3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem,  2vw, 1.4rem); }
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: var(--space-lg);
}
.section-title--inv { color: #fff; }
.section-sub {
  font-size: 1.05rem;
  color: var(--c-text-2);
  margin-bottom: var(--space-xl);
  max-width: 640px;
}
.lead { font-size: 1.1rem; line-height: 1.7; color: var(--c-text-2); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  min-height: 44px;
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn--red {
  background: var(--c-accent);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn--red:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-1px); }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--c-primary-light); color: #fff; transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
}
.btn--outline:hover { background: var(--c-primary); color: #fff; }

.btn--outline-inv {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
}
.btn--outline-inv:hover { background: rgba(255,255,255,.15); color: #fff; }

.btn--green {
  background: var(--c-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22,163,74,.35);
}
.btn--green:hover { background: #15803d; color: #fff; transform: translateY(-1px); }

.btn--maks {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,58,107,.35);
}
.btn--maks:hover { background: #254e9a; color: #fff; transform: translateY(-1px); }

.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-bg);
  box-shadow: 0 2px 12px rgba(26,58,107,.1);
}
.header-top {
  background: var(--c-primary-dark);
  padding: 6px 0;
}
.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.header-top__contacts { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.header-top__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}
.header-top__phone:hover { color: #ffd166; }
.header-top__phone--free { font-size: .82rem; font-weight: 400; }
.free-label {
  background: var(--c-green);
  color: #fff;
  font-size: .7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.header-top__meta { display: flex; align-items: center; gap: var(--space-lg); }
.header-top__hours { color: rgba(255,255,255,.75); font-size: .82rem; display: flex; align-items: center; gap: 5px; }
.header-top__badge {
  background: var(--c-accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 4px;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge { 0%,100%{opacity:1} 50%{opacity:.8} }

.header-main { padding: 12px 0; }
.header-main__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__icon {
  width: 42px;
  height: 42px;
  background: var(--c-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-size: 1.15rem; font-weight: 800; color: var(--c-primary); }
.logo__tagline { font-size: .72rem; color: var(--c-text-3); font-weight: 500; }

.main-nav { flex: 1; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.main-nav__item { position: relative; }
.main-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--c-text);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.main-nav__link:hover { color: var(--c-primary); background: var(--c-bg-2); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--t-base);
  z-index: 100;
}
.main-nav__item--has-drop:hover .nav-dropdown,
.main-nav__item--has-drop:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: .88rem;
  color: var(--c-text-2);
  transition: all var(--t-fast);
}
.nav-dropdown a:hover { color: var(--c-primary); background: var(--c-bg-2); }

.header-cta { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--t-base);
}
.burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
}
.mobile-overlay.is-active { display: block; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 50%, #2a5298 100%);
  color: #fff;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.hero__content {}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero__title em { color: #ffd166; font-style: normal; }
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}
.hero__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.hero__trust {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
}
.hero__trust-item svg { color: #ffd166; flex-shrink: 0; }

.hero__form {
  background: #fff;
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  color: var(--c-text);
}
.hero__form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--c-primary);
}
.hero__form-sub { font-size: .85rem; color: var(--c-text-3); margin-bottom: var(--space-lg); }

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar { background: var(--c-primary); padding: var(--space-lg) 0; }
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 600px)  { .trust-bar__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px)  { .trust-bar__grid { grid-template-columns: repeat(6, 1fr); } }
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: var(--space-sm);
}
.trust-item__icon { font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.trust-item__val { font-size: 1.2rem; font-weight: 800; color: #ffd166; }
.trust-item__lbl { font-size: .75rem; color: rgba(255,255,255,.8); line-height: 1.3; }

/* ── SERVICES SECTION ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}
.service-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: all var(--t-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--c-text);
}
.service-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--c-text);
}
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--c-bg-3);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  transition: all var(--t-base);
}
.service-card:hover .service-card__icon { background: var(--c-primary); }
.service-card__title { font-size: 1.05rem; font-weight: 700; color: var(--c-primary); }
.service-card__desc { font-size: .88rem; color: var(--c-text-2); line-height: 1.6; flex: 1; }
.service-card__price { font-size: .82rem; font-weight: 600; color: var(--c-accent); }
.service-card__link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.service-card:hover .service-card__link { color: var(--c-accent); }

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
  counter-reset: steps;
}
.how-step {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  counter-increment: steps;
}
.how-step::before {
  content: counter(steps);
  position: absolute;
  top: -14px;
  left: var(--space-lg);
  width: 30px; height: 30px;
  background: var(--c-accent);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 30px;
  text-align: center;
}
.how-step__icon { font-size: 2rem; margin-bottom: var(--space-sm); display: flex; align-items: center; justify-content: center; }
.how-step__title { font-size: 1rem; font-weight: 700; color: var(--c-primary); margin-bottom: 6px; }
.how-step p { font-size: .88rem; color: var(--c-text-2); }

/* ── DOCTOR BLOCK ───────────────────────────────────────────── */
.doctor-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 700px) {
  .doctor-block { grid-template-columns: 240px 1fr; }
}
.doctor-photo {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.doctor-name { font-size: 1.5rem; font-weight: 800; color: var(--c-primary); margin-bottom: 4px; }
.doctor-title { font-size: .95rem; color: var(--c-text-3); margin-bottom: var(--space-md); }
.doctor-stats { display: flex; gap: var(--space-xl); flex-wrap: wrap; margin: var(--space-lg) 0; }
.doctor-stat__val { font-size: 1.6rem; font-weight: 800; color: var(--c-accent); }
.doctor-stat__lbl { font-size: .8rem; color: var(--c-text-3); }
.doctor-quote {
  border-left: 4px solid var(--c-primary);
  padding-left: var(--space-md);
  color: var(--c-text-2);
  font-style: italic;
  font-size: .95rem;
}

/* ── REVIEWS ────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.review-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
}
.review-stars { color: #fbbf24; font-size: 1rem; margin-bottom: var(--space-sm); letter-spacing: 2px; }
.review-text { font-size: .9rem; color: var(--c-text-2); line-height: 1.65; margin-bottom: var(--space-md); }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 40px; height: 40px;
  background: var(--c-bg-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-primary);
  flex-shrink: 0;
}
.review-author__name { font-weight: 700; font-size: .9rem; }
.review-author__meta { font-size: .78rem; color: var(--c-text-3); }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq-item.open { border-color: var(--c-primary); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  cursor: pointer;
  background: #fff;
  text-align: left;
  transition: background var(--t-fast);
  width: 100%;
}
.faq-question:hover { background: var(--c-bg-2); }
.faq-item.open .faq-question { background: var(--c-bg-2); }
.faq-question__text { font-weight: 600; font-size: .95rem; color: var(--c-text); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  transition: transform var(--t-base);
}
.faq-item.open .faq-icon { transform: rotate(180deg); background: var(--c-primary); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}
.faq-answer__inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: .9rem;
  color: var(--c-text-2);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 2400px; }

/* ── CTA BAND ───────────────────────────────────────────────── */
.cta-band { background: var(--c-primary); padding: var(--space-2xl) 0; }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 700px) { .cta-band__inner { grid-template-columns: 1fr 1fr; } }
.cta-band__title { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-band__desc { color: rgba(255,255,255,.8); font-size: .95rem; }
.inline-form { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.inline-form__input {
  flex: 1;
  min-width: 180px;
  padding: 14px 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--t-fast);
}
.inline-form__input::placeholder { color: rgba(255,255,255,.6); }
.inline-form__input:focus { border-color: rgba(255,255,255,.8); }
.inline-form__note { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ── PRICE TABLE ────────────────────────────────────────────── */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  background: var(--c-primary);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: .9rem;
}
.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
  font-size: .9rem;
}
.price-table tr:nth-child(even) td { background: var(--c-bg-2); }
.price-table tr:hover td { background: var(--c-bg-3); }
.price-td--name { font-weight: 600; color: var(--c-text); }
.price-td--price { color: var(--c-accent); font-weight: 700; }
.price-td--note { color: var(--c-text-3); font-size: .82rem; }

/* ── PAGE HERO (service/cms pages) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  color: #fff;
  padding: var(--space-xl) 0 var(--space-lg);
}
.page-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-top: var(--space-md);
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: .82rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: rgba(255,255,255,.9); }
.breadcrumb__sep { color: rgba(255,255,255,.4); }

/* ── SERVICE PAGE BODY ──────────────────────────────────────── */
.service-body { padding: var(--space-2xl) 0; }
/* service-detail-wrap — полноширинная обёртка детальной страницы услуги */
.service-detail-wrap { display: block; width: 100%; }
.service-body .rich-text h2 { color: var(--c-primary); margin: var(--space-xl) 0 var(--space-md); font-size: 1.4rem; }
.service-body .rich-text h3 { color: var(--c-primary-dark); margin: var(--space-lg) 0 var(--space-sm); }
.service-body .rich-text p  { margin-bottom: var(--space-md); color: var(--c-text-2); line-height: 1.75; }
.service-body .rich-text ul { list-style: disc inside; margin-bottom: var(--space-md); }
.service-body .rich-text li { margin-bottom: 6px; font-size: .95rem; color: var(--c-text-2); }

/* ── THREE-COL LAYOUT (left-nav + content + right-sidebar) ───── */
.three-col {
  display: grid;
  grid-template-columns: 200px 1fr 260px;
  gap: var(--space-xl);
  align-items: start;
}

.service-main { min-width: 0; overflow-wrap: break-word; word-break: break-word; }

/* ── Левый навигационный сайдбар ─────────────────────────────── */
.service-nav {
  position: sticky;
  top: 90px;
}

.service-nav .btn--red {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .86rem;
}

.service-nav__badge {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--r-md);
  padding: 9px var(--space-md);
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  margin: var(--space-md) 0;
}

.service-nav__links {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.service-nav__title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-text-3);
  margin-bottom: var(--space-sm);
}

.service-nav__links a {
  display: block;
  padding: 5px 0;
  font-size: .84rem;
  color: var(--c-text-2);
  border-bottom: 1px solid var(--c-border);
  text-decoration: none;
  transition: color .15s;
}
.service-nav__links a:last-child { border-bottom: none; }
.service-nav__links a:hover { color: var(--c-primary); }

.service-nav__trust {
  font-size: .74rem;
  color: var(--c-text-3);
  line-height: 2.2;
  text-align: center;
}

/* ── Правый CTA сайдбар ──────────────────────────────────────── */
.service-sidebar {
  position: sticky;
  top: 90px;
}

.service-cta-box {
  background: var(--c-bg-2);
  border: 2px solid var(--c-primary);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  word-break: break-word;
  overflow-wrap: break-word;
}
.service-cta-box h3 { color: var(--c-primary); margin-bottom: var(--space-sm); }
.service-links { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--space-lg); margin-top: var(--space-md); }
.service-links h4 { font-size: .9rem; color: var(--c-text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: var(--space-sm); }
.service-links a { display: block; padding: 6px 0; font-size: .88rem; border-bottom: 1px solid var(--c-border); color: var(--c-text-2); white-space: normal; word-break: break-word; }
.service-links a:last-child { border: none; }
.service-links a:hover { color: var(--c-primary); }

/* ── CMS PAGE (generic) ─────────────────────────────────────── */
.cms-page { padding: var(--space-2xl) 0; }
.cms-block { margin-bottom: var(--space-xl); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.feature-card {
  background: var(--c-bg-2);
  border-radius: var(--r-md);
  padding: var(--space-lg);
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
}
.feature-card__icon { font-size: 1.8rem; margin-bottom: var(--space-sm); }
.feature-card__title { font-weight: 700; font-size: .95rem; color: var(--c-primary); margin-bottom: 6px; }
.feature-card p { font-size: .85rem; color: var(--c-text-2); }

/* ── FORMS ──────────────────────────────────────────────────── */
.form-field { margin-bottom: var(--space-md); }
.form-field__label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text-2);
  margin-bottom: 6px;
}
.req { color: var(--c-accent); }
.form-field__input,
.form-field__textarea,
.form-field__select {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: .95rem;
  color: var(--c-text);
  background: #fff;
  outline: none;
  transition: border-color var(--t-fast);
}
.form-field__input:focus,
.form-field__textarea:focus { border-color: var(--c-primary); }
.form-field__textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: .78rem; color: var(--c-text-3); margin-top: 4px; }

/* ── MODAL ──────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
}
.modal__box {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: var(--space-2xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.96);
  transition: transform var(--t-base);
}
.modal.is-open .modal__box { transform: scale(1); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.modal__close:hover { background: var(--c-border); }
.modal__title { font-size: 1.3rem; font-weight: 800; color: var(--c-primary); margin-bottom: 4px; }
.popup-title { font-size: 1.2rem; font-weight: 700; color: var(--c-primary); margin: 0 0 8px; }
.modal__desc { font-size: .88rem; color: var(--c-text-3); margin-bottom: var(--space-lg); }
.modal__anon {
  background: var(--c-green-light);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: .8rem;
  color: var(--c-green);
  font-weight: 600;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-form__note { font-size: .75rem; color: var(--c-text-3); margin-top: 8px; text-align: center; }
.modal-form__note a { color: var(--c-primary); }
.modal-form__success {
  text-align: center;
  padding: var(--space-xl) 0;
}
.success-icon {
  width: 60px; height: 60px;
  background: var(--c-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--c-green);
  margin: 0 auto var(--space-md);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,.8);
  padding: var(--space-2xl) 0 var(--space-lg);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 700px)  { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); } }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__tagline { color: rgba(255,255,255,.5); }
.footer__about { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.65; margin-top: var(--space-md); }
.footer__social { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  transition: all var(--t-fast);
}
.social-link:hover { background: rgba(255,255,255,.25); color: #fff; }
.footer__heading { font-size: .8rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: var(--space-sm); }
.footer__links a { display: block; font-size: .9rem; color: rgba(255,255,255,.7); padding: 6px 0; transition: color var(--t-fast); }
.footer__links a:hover { color: #fff; }
.footer__contacts a { display: flex; align-items: center; gap: 6px; font-size: .93rem; color: rgba(255,255,255,.8); padding: 6px 0; font-weight: 600; }
.footer__contacts a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__legal { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.footer__legal a { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__legal a:hover { color: rgba(255,255,255,.8); }
.footer__license { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: 6px; }
.footer__devlink { font-size: .75rem; color: rgba(255,255,255,.3); margin-top: 4px; }
.footer__devlink a { color: rgba(255,255,255,.45); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,.25); transition: color .2s; }
.footer__devlink a:hover { color: rgba(255,255,255,.75); }

/* ── FIXED MOBILE CALL BUTTON ───────────────────────────────── */
.mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: 12px var(--space-md);
  background: var(--c-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 -4px 20px rgba(230,57,70,.4);
  transition: background var(--t-fast);
}
.mobile-call-btn:hover { background: var(--c-accent-dark); color: #fff; }
@media (max-width: 767px) {
  .mobile-call-btn { display: flex; }
  body { padding-bottom: 60px; }
}

/* ── PAGE LOADER (progress bar) ─────────────────────────────── */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-primary, #1a3a6b) 0%, #4a7fd4 60%, var(--c-accent, #e63946) 100%);
  z-index: 10000;
  transition: width .4s ease, opacity .4s ease;
  pointer-events: none;
}
#page-loader.is-done { width: 100%; opacity: 0; }

/* ── МАКС FLOATING BUTTON ───────────────────────────────────── */
.maks-float {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 10px 16px;
  border-radius: 28px;
  background: var(--c-primary, #1a3a6b);
  color: #fff;
  z-index: 700;
  box-shadow: 0 4px 18px rgba(26,58,107,.4);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  min-width: 120px;
  text-align: center;
}
.maks-float:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,58,107,.5); color: #fff; }
.maks-float__text { font-size: .82rem; font-weight: 700; line-height: 1.2; }
.maks-float__sub   { font-size: .68rem; opacity: .75; letter-spacing: .04em; }
@media (min-width: 768px) { .maks-float { bottom: 30px; } }

/* ── МАКС INLINE LINK (шапка/футер) ────────────────────────── */
.maks-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--c-primary, #1a3a6b);
  color: #fff !important;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-fast);
}
.maks-link:hover { background: #254e9a; color: #fff !important; }

/* ── RELATED SERVICES BLOCK ──────────────────────────────────── */
.related-svc { background: var(--c-bg-2); }
.related-svc__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--space-lg);
}
.related-svc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}
.related-svc__card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  transition: box-shadow var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.related-svc__card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
  transform: translateY(-2px);
}
.related-svc__name { font-weight: 700; font-size: .95rem; color: var(--c-primary); line-height: 1.3; }
.related-svc__desc { font-size: .82rem; color: var(--c-text-2); line-height: 1.5; flex-grow: 1; }
.related-svc__price { font-size: .88rem; font-weight: 600; color: var(--c-text); }
.related-svc__arrow { font-size: .82rem; color: var(--c-primary); margin-top: 4px; }

/* ── CONSENT CHECKBOX ────────────────────────────────────────── */
.form-field--consent { margin: var(--space-sm) 0; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .82rem;
  color: var(--c-text-2);
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-primary);
  cursor: pointer;
}
.consent-label a { color: var(--c-primary); text-decoration: underline; }
.consent-label a:hover { color: var(--c-primary-dark); }
.form-field--consent.is-error .consent-label { color: #e74c3c; }
.form-field--consent.is-error .consent-label input { outline: 2px solid #e74c3c; border-radius: 2px; }

/* ── SCROLL TOP ─────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 140px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 600;
  box-shadow: var(--shadow-md);
  transition: all var(--t-fast);
  opacity: 0;
  pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--c-accent); }
@media (min-width: 768px) { .scroll-top { bottom: 100px; } }

/* ── ANIMATE ON SCROLL ──────────────────────────────────────── */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].is-visible { opacity: 1; transform: none; }

/* ── CONTACT PAGE ───────────────────────────────────────────── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
@media (min-width: 900px) { .contacts-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-text strong { font-size: .95rem; font-weight: 700; color: var(--c-text); }
.contact-info-text p { font-size: .88rem; color: var(--c-text-2); }
.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { display: block; width: 100%; border: none; }

/* ── BLOG ───────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.blog-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); transition: all var(--t-base); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card__img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.blog-card__body { padding: var(--space-lg); }
.blog-card__cat { font-size: .75rem; color: var(--c-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.blog-card__title { font-size: 1rem; font-weight: 700; color: var(--c-text); margin-bottom: var(--space-sm); }
.blog-card__excerpt { font-size: .85rem; color: var(--c-text-2); line-height: 1.6; }
.blog-card__meta { font-size: .78rem; color: var(--c-text-3); margin-top: var(--space-sm); }

/* ── ABOUT PAGE ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-lg);
}
.about-stat {
  background: var(--c-bg-2);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  text-align: center;
}
.about-stat__val { font-size: 2.5rem; font-weight: 800; color: var(--c-primary); line-height: 1; }
.about-stat__lbl { font-size: .9rem; color: var(--c-text-2); margin-top: 6px; }

/* ── RICH TEXT ──────────────────────────────────────────────── */
.rich-text h2 { margin: var(--space-xl) 0 var(--space-md); font-size: 1.4rem; color: var(--c-primary); }
.rich-text h3 { margin: var(--space-lg) 0 var(--space-sm); font-size: 1.1rem; color: var(--c-primary-dark); }
.rich-text p  { margin-bottom: var(--space-md); color: var(--c-text-2); line-height: 1.75; }
.rich-text ul { list-style: none; margin-bottom: var(--space-md); }
.rich-text ul li { padding-left: 20px; position: relative; margin-bottom: 6px; font-size: .95rem; color: var(--c-text-2); }
.rich-text ul li::before { content: '✓'; position: absolute; left: 0; color: var(--c-green); font-weight: 700; }
.rich-text ol { counter-reset: ol; margin-bottom: var(--space-md); }
.rich-text ol li { counter-increment: ol; padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--c-text-2); }
.rich-text ol li::before { content: counter(ol); position: absolute; left: 0; width: 18px; height: 18px; background: var(--c-primary); color: #fff; border-radius: 50%; font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; top: 2px; }
.rich-text a { color: var(--c-primary); text-decoration: underline; }
.rich-text strong { color: var(--c-text); }
.rich-text table { width: 100%; border-collapse: collapse; margin: var(--space-lg) 0; }
.rich-text th { background: var(--c-primary); color: #fff; padding: 10px 16px; text-align: left; font-size: .88rem; }
.rich-text td { padding: 10px 16px; border-bottom: 1px solid var(--c-border); font-size: .88rem; color: var(--c-text-2); }

/* ── INLINE CTA (in cms pages) ──────────────────────────────── */
.page-cta-box {
  background: var(--c-bg-3);
  border-left: 4px solid var(--c-accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
}
.page-cta-box h3 { color: var(--c-primary); margin-bottom: 6px; }
.page-cta-box p { font-size: .9rem; color: var(--c-text-2); margin-bottom: var(--space-md); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-cta .btn--primary,
  .header-cta .btn--red { display: none; }

  /* Mobile slide-in nav */
  .main-nav.is-mobile-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    padding: 70px 0 30px;
    box-shadow: var(--shadow-lg);
    animation: slideIn .3s ease;
  }
  @keyframes slideIn { from{transform:translateX(-100%)} to{transform:translateX(0)} }
  .main-nav.is-mobile-open .main-nav__list { flex-direction: column; gap: 0; }
  .main-nav.is-mobile-open .main-nav__link { padding: 14px 24px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--c-border); }
  /* Показываем подменю инлайн в мобильном меню */
  .main-nav.is-mobile-open .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    padding: 0;
    background: var(--c-bg-2);
    animation: none;
  }
  .main-nav.is-mobile-open .main-nav__item--has-drop.is-open .nav-dropdown { display: block; }
  .main-nav.is-mobile-open .nav-dropdown a { padding: 11px 24px 11px 40px; font-size: .95rem; border-bottom: 1px solid var(--c-border); }
  /* Стрелка у пункта с дропдауном */
  .main-nav.is-mobile-open .main-nav__item--has-drop > .main-nav__link svg {
    transition: transform var(--t-base);
  }
  .main-nav.is-mobile-open .main-nav__item--has-drop.is-open > .main-nav__link svg {
    transform: rotate(180deg);
  }
}
@media (max-width: 600px) {
  .header-top__meta { display: none; }
  .hero__trust { gap: var(--space-md); }
  .footer__grid { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
}
@media (max-width: 400px) {
  .header-top__phone--free { display: none; }
}

/* ================================================================
   EXTENDED COMPONENTS — Medical Service Pages
   ================================================================ */

/* ── SERVICE INTRO BAR (stats inside partial) ───────────────── */
.service-intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  background: var(--c-bg-2);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--c-border);
}
@media (min-width: 600px) { .service-intro { grid-template-columns: repeat(4, 1fr); } }
.service-intro__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.service-intro__val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}
.service-intro__lbl {
  font-size: .75rem;
  color: var(--c-text-3);
  line-height: 1.3;
}
.service-intro__icon {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

/* ── URGENCY BLOCK (when to call immediately) ───────────────── */
.urgency-block {
  background: #fff5f5;
  border: 2px solid var(--c-accent);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}
.urgency-block__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.urgency-block__icon {
  width: 48px; height: 48px;
  background: var(--c-accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: #fff;
}
.urgency-block__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-accent);
}
.urgency-block__subtitle {
  font-size: .85rem;
  color: var(--c-text-3);
  margin-top: 2px;
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
@media (min-width: 600px)  { .symptom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .symptom-grid { grid-template-columns: repeat(4, 1fr); } }
.symptom-card {
  background: #fff;
  border: 1px solid rgba(230,57,70,.25);
  border-radius: var(--r-md);
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.symptom-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-top: 6px;
  flex-shrink: 0;
}
.symptom-card__text {
  font-size: .85rem;
  color: var(--c-text-2);
  line-height: 1.5;
  font-weight: 600;
}

/* ── TREATMENT STEPS ────────────────────────────────────────── */
.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: var(--space-lg) 0;
}
.step-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-lg);
}
.step-row:last-child { padding-bottom: 0; }
.step-row__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.step-row__num {
  width: 40px; height: 40px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-row__line {
  width: 2px;
  flex: 1;
  background: var(--c-border);
  margin-top: 4px;
  min-height: 32px;
}
.step-row:last-child .step-row__line { display: none; }
.step-row__body { padding-top: 8px; padding-bottom: var(--space-md); }
.step-row__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 4px;
}
.step-row__time {
  display: inline-block;
  background: var(--c-bg-3);
  color: var(--c-text-3);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.step-row p {
  font-size: .88rem;
  color: var(--c-text-2);
  line-height: 1.65;
  margin: 0;
}

/* ── INGREDIENTS GRID (drip composition) ───────────────────── */
.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
@media (min-width: 600px) { .ingredients-grid { grid-template-columns: repeat(2, 1fr); } }
.ingredient-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.ingredient-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.ingredient-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--c-bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.ingredient-card__name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 3px;
}
.ingredient-card__desc {
  font-size: .8rem;
  color: var(--c-text-3);
  line-height: 1.5;
}

/* ── PRICE CARDS (3-tier pricing) ───────────────────────────── */
.price-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
@media (min-width: 600px) { .price-cards { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background: #fff;
  transition: all var(--t-base);
}
.price-card--featured {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  position: relative;
}
.price-card--featured::before {
  content: 'Популярный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.price-card:hover { border-color: var(--c-primary); transform: translateY(-3px); }
.price-card--featured:hover { border-color: var(--c-accent); }
.price-card__name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.price-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
}
.price-card__price span {
  font-size: .9rem;
  font-weight: 400;
  color: var(--c-text-3);
}
.price-card__desc {
  font-size: .85rem;
  color: var(--c-text-2);
  line-height: 1.55;
  flex: 1;
}
.price-card__features {
  list-style: none;
  margin: var(--space-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.price-card__features li {
  font-size: .82rem;
  color: var(--c-text-2);
  padding-left: 18px;
  position: relative;
}
.price-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 700;
}

/* ── INFO BOX ────────────────────────────────────────────────── */
.info-box {
  background: #eff6ff;
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}
.info-box p {
  font-size: .9rem;
  color: var(--c-text-2);
  line-height: 1.7;
  margin: 0;
}
.info-box strong { color: var(--c-primary); }

/* ── ANON-BADGE inline ───────────────────────────────────────── */
.anon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-green-light);
  color: var(--c-green);
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin: var(--space-sm) 0;
}

/* ── PAGE HERO subtitle ──────────────────────────────────────── */
.page-hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  margin-top: var(--space-sm);
  line-height: 1.6;
}
.page-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}
.page-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.page-hero__meta-item svg { color: #ffd166; }

/* ── SECTION DIVIDER ─────────────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 2px solid var(--c-border);
  margin: var(--space-xl) 0;
}

/* ── RESPONSIVE: планшет (≤1100px) — скрываем левый сайдбар ──── */
@media (max-width: 1100px) {
  .three-col {
    grid-template-columns: 1fr 260px;
  }
  .service-nav { display: none; }
}

/* ── RESPONSIVE: мобильный (≤767px) — одна колонка ──────────── */
@media (max-width: 767px) {
  .three-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .service-sidebar { position: static; }
}

/* ── RESPONSIVE mobile fixes ─────────────────────────────────── */
@media (max-width: 767px) {
  .service-body .rich-text h2 { font-size: 1.2rem; }
  .price-card__price { font-size: 1.6rem; }
  .step-row__num { width: 32px; height: 32px; font-size: .85rem; }
  .faq-question { padding: var(--space-md); }
  .faq-question__text { font-size: .9rem; }
  .btn--full-mobile { width: 100%; justify-content: center; }

  /* Детальная страница услуги — мобильные фиксы */
  .service-detail-wrap .section { padding-top: var(--space-lg); padding-bottom: var(--space-xl); }
  .svc-detail { gap: var(--space-lg); }
  .svc-detail__main { padding: 0; }
  .svc-price-block { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .page-hero { padding: var(--space-lg) 0; }
  .page-hero__title { font-size: clamp(1.3rem, 5vw, 2rem); margin-top: var(--space-sm); }
}

/* ================================================================
   КАТАЛОГ УСЛУГ — /uslugi/
   ================================================================ */

/* ── Фильтр категорий ───────────────────────────────────────── */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-xl);
}
.cat-filter__btn {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-text-2);
  background: var(--c-bg);
  text-decoration: none;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.cat-filter__btn:hover,
.cat-filter__btn.is-active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/* ── Группа категории ───────────────────────────────────────── */
.catalog-group { margin-bottom: var(--space-2xl); }
.catalog-group__title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--c-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--c-primary);
}

/* ── Сетка карточек ─────────────────────────────────────────── */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 500px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Карточка услуги ────────────────────────────────────────── */
.catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--space-md);
  text-decoration: none;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
  /* Минимальная высота для тача */
  min-height: 110px;
}
.catalog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--c-primary-light);
}
.catalog-card__body { flex: 1; }
.catalog-card__name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.35;
  margin-bottom: 6px;
}
.catalog-card:hover .catalog-card__name { color: var(--c-primary); }
.catalog-card__desc {
  font-size: .78rem;
  color: var(--c-text-3);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}
.catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--c-border);
}
.catalog-card__price {
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-accent);
}
.catalog-card__arrow {
  font-size: .9rem;
  color: var(--c-primary-light);
  transition: transform var(--t-fast);
}
.catalog-card:hover .catalog-card__arrow { transform: translateX(4px); }

/* ── Детальная страница услуги ──────────────────────────────── */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .svc-detail { grid-template-columns: 1fr 300px; align-items: start; }
}
.svc-detail__sidebar .service-cta-box { position: sticky; top: calc(var(--header-h) + var(--space-md)); }

/* ── Mobile: catalog ────────────────────────────────────────── */
@media (max-width: 499px) {
  .cat-filter { gap: 6px; }
  .cat-filter__btn { font-size: .75rem; padding: 6px 12px; }
  .catalog-card { min-height: 90px; }
  .catalog-card__name { font-size: .9rem; }
}

/* ════════════════════════════════════════════════════════════════
   ЛЕНДИНГ-СТРАНИЦЫ: SVC-HERO + КОМПОНЕНТЫ
   (narkolog-na-dom, kapelnica-ot-zapoya, kodirovanie, и др.)
   ════════════════════════════════════════════════════════════════ */

/* ── Hero-секция ─────────────────────────────────────────────── */
.svc-hero {
  position: relative;
  background: linear-gradient(135deg, #0a1940 0%, #1a3a6b 100%);
  background-size: cover;
  background-position: center top;
  color: #fff;
  overflow: hidden;
}
.svc-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-hero__bg,
.svc-hero__overlay {
  position: absolute;
  inset: 0;
  opacity: .88;
}
.svc-hero__body {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 8vw, 80px) 0 clamp(32px, 6vw, 60px);
}
/* Контент hero: max-width только для вложенного content-блока */
.svc-hero__content { max-width: 680px; }
/* svc-hero__inner — просто позиционирующий враппер, без ограничения ширины */
.svc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(39,174,96,.18);
  border: 1px solid rgba(39,174,96,.45);
  color: #5de096;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--space-md);
}
.svc-hero h1,
.svc-hero__title {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: var(--space-sm) 0 var(--space-md);
}
.svc-hero__lead {
  font-size: clamp(.92rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 580px;
}
.svc-hero__price,
.svc-hero__price-row {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  padding: 10px 18px;
  margin-bottom: var(--space-lg);
}
.svc-hero__price-label,
.svc-hero__price > span:first-child {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.svc-hero__price-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffd166;
}
.svc-hero__btns,
.svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.svc-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,.15);
}
.svc-hero__stat-num { font-size: 1.4rem; font-weight: 800; color: #ffd166; }
.svc-hero__stat-label { font-size: .72rem; color: rgba(255,255,255,.65); margin-top: 2px; }

/* ── Trust bar (горизонтальная полоса доверия) ───────────────── */
.trust-bar { background: var(--c-primary); padding: var(--space-md) 0; }
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  justify-content: center;
  align-items: center;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

/* ── Заголовок секции ────────────────────────────────────────── */
.svc-section-hd {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.svc-section-hd h2 {
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}
.svc-section-hd p {
  font-size: .95rem;
  color: var(--c-text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Symptom-grid (иконка + текст) ───────────────────────────── */
.symptom-card__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.symptom-card__text { font-size: .88rem; color: var(--c-text); font-weight: 700; }

/* ── Feature-card text ───────────────────────────────────────── */
.feature-card__text { font-size: .82rem; color: var(--c-text-2); line-height: 1.5; margin-top: 4px; }

/* ── Tabs ────────────────────────────────────────────────────── */
.svc-tabs { margin-top: var(--space-lg); }
.svc-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--c-border);
  padding-bottom: var(--space-sm);
}
.svc-tab-btn {
  background: none;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text-2);
  cursor: pointer;
  transition: all var(--t-fast);
}
.svc-tab-btn:hover,
.svc-tab-btn.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.svc-tab-panel { display: none; }
.svc-tab-panel:first-of-type,
.svc-tab-panel.is-active { display: block; }

/* ── Timeline ────────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: var(--space-md); }
.timeline-step { display: flex; gap: var(--space-md); align-items: flex-start; }
.timeline-step__num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .9rem;
  flex-shrink: 0;
}
.timeline-step__body { flex: 1; }
.timeline-step__title { font-weight: 700; color: var(--c-primary); margin-bottom: 6px; }
.timeline-step__text { font-size: .88rem; color: var(--c-text-2); line-height: 1.65; }
.timeline-step__time { font-size: .75rem; color: var(--c-text-3); margin-top: 4px; }

/* ── Doctor grid ─────────────────────────────────────────────── */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
@media (min-width: 900px) { .doctor-grid { grid-template-columns: repeat(4, 1fr); } }
.doctor-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--t-base);
}
.doctor-card:hover { box-shadow: var(--shadow-md); }
.doctor-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.doctor-card__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--c-bg-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--c-text-3);
  font-size: .78rem;
}
.doctor-card__body { padding: var(--space-md); }
.doctor-card__name { font-weight: 700; font-size: .95rem; color: var(--c-primary); margin-bottom: 4px; }
.doctor-card__spec { font-size: .8rem; color: var(--c-accent); font-weight: 600; margin-bottom: 6px; }
.doctor-card__exp { font-size: .78rem; color: var(--c-text-3); line-height: 1.4; }

/* ── License grid ────────────────────────────────────────────── */
.license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
@media (max-width: 499px) { .license-grid { grid-template-columns: repeat(2, 1fr); } }
.license-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: box-shadow var(--t-base);
}
.license-card:hover { box-shadow: var(--shadow-md); }
.license-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.license-card__placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--c-bg-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--c-text-3);
  font-size: .75rem;
}
.license-card__label { padding: 10px; font-size: .8rem; font-weight: 600; color: var(--c-text-2); }

/* ── Service CTA block ───────────────────────────────────────── */
.svc-cta {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  border-radius: var(--r-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  color: #fff;
}
.svc-cta__title { font-size: clamp(1.25rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: var(--space-sm); }
.svc-cta__sub { font-size: .95rem; color: rgba(255,255,255,.8); margin-bottom: var(--space-xl); }
.svc-cta__btns {
  display: flex; flex-wrap: wrap;
  gap: var(--space-sm); justify-content: center;
  margin-bottom: var(--space-md);
}
.svc-cta__anon { font-size: .8rem; color: rgba(255,255,255,.55); }

/* ── Service price table ─────────────────────────────────────── */
.svc-price-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.svc-price-table th {
  background: var(--c-primary); color: #fff;
  font-weight: 700; padding: 12px 16px; text-align: left;
}
.svc-price-table td { padding: 12px 16px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.svc-price-table tr:nth-child(even) td { background: var(--c-bg-2); }
.svc-price-table tr.featured td { background: rgba(26,58,107,.07); font-weight: 600; }
.svc-price-table .price-val { font-weight: 800; color: var(--c-accent); white-space: nowrap; }
.svc-price-table .price-note { color: var(--c-text-3); font-size: .82rem; }

/* ── Info strip ──────────────────────────────────────────────── */
.info-strip {
  display: flex; gap: var(--space-md); align-items: flex-start;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  border-left: 4px solid var(--c-accent);
}
.info-strip--warn { border-left-color: #f97316; background: rgba(249,115,22,.06); }
.info-strip__icon { flex-shrink: 0; margin-top: 2px; }
.info-strip__body { font-size: .88rem; color: var(--c-text-2); line-height: 1.65; }

/* ── svc-hero__stat (вариант из lechenie-spajsa) ─────────────── */
.svc-hero__stat { display: flex; flex-direction: column; gap: 2px; }
.svc-hero__stat strong { font-size: 1.1rem; font-weight: 800; color: #ffd166; }
.svc-hero__stat span   { font-size: .72rem; color: rgba(255,255,255,.65); }

/* ── btn--outline-white ──────────────────────────────────────── */
.btn--outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
}
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ── svc-section (альтернатива .section для лендингов) ───────── */
.svc-section { padding: var(--space-2xl) 0; }
.svc-section--gray { background: var(--c-bg-2); }
.svc-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.svc-section__header h2 {
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--space-sm);
}
.svc-section__header p {
  font-size: .95rem;
  color: var(--c-text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── info-strip--danger ──────────────────────────────────────── */
.info-strip--danger { border-left-color: #dc2626; background: rgba(220,38,38,.05); }

/* ── symptom-card__title (в lechenie-spajsa используется h3) ──── */
.symptom-card__title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 4px;
}

/* ── Symptom-grid mobile tweaks ─────────────────────────────── */
@media (max-width: 499px) {
  .svc-hero h1,
  .svc-hero__title { font-size: 1.55rem; }
  .svc-hero__stats { gap: var(--space-lg); }
  .svc-hero__stat-num { font-size: 1.2rem; }
  .doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-cta { padding: var(--space-xl) var(--space-md); }
  .svc-tabs__nav { gap: 6px; }
  .svc-tab-btn { padding: 6px 12px; font-size: .78rem; }
}