/* Свободные люди — мелкие переопределения родной шапки свободы. */

/* Логотип-картинка. */
.people-logo-img-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.people-logo-img {
  display: block;
  height: 50px;
  width: auto;
  max-width: 240px;
}
@media (max-width: 900px) {
  .people-logo-img { height: 40px; }
}

/* Прячем элементы, которых нет в свободные-людях: соцсети в шапке. */
.header .header-row-right .social-block { display: none !important; }

/* Кнопка телефон в шапке: не сжимать номер. */
.header .btn-call .btn-txt {
  white-space: nowrap;
}

/* Футер. */
.people-footer { padding: 60px 0 28px; }
.people-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.people-footer-brand { color: #339190; margin: 0 0 8px; }
.people-footer-sub { color: #676767; line-height: 1.45; margin: 0; }
.people-footer-col-title { margin: 0 0 14px; color: #151516; }
.people-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.people-footer-list a { color: #151516; text-decoration: none; transition: color .2s; }
.people-footer-list a:hover { color: #339190; }
.people-footer-copy { color: #676767; font-size: 13px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e1ebf2; }

@media (max-width: 1024px) {
  .people-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .people-footer-grid { grid-template-columns: 1fr; }
}

/* Статья (SEO-блок «от врача»). */
.svb-article-section { padding: 60px 0; background: #f2f6f9; }
.svb-article {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 48px 56px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}
.svb-article__intro {
  font-size: 1.125rem;
  color: #151516;
  border-left: 4px solid #339190;
  padding-left: 20px;
  margin: 0 0 36px;
  font-weight: 500;
}
.svb-article__section { margin-bottom: 32px; }
.svb-article__section:last-of-type { margin-bottom: 0; }
.svb-article__h2 {
  color: #339190;
  margin: 0 0 14px;
  line-height: 1.2;
}
.svb-article__p { margin: 0 0 14px; line-height: 1.55; color: #151516; }
.svb-article__p:last-child { margin-bottom: 0; }
.svb-article__list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svb-article__list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}
.svb-article__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #339190;
  opacity: .25;
}
.svb-article__list li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: calc(.6em + 4px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #339190;
}
.svb-article__callout {
  margin-top: 36px;
  background: linear-gradient(180deg, #2a8586 0%, #1f6868 100%);
  color: #fff;
  padding: 28px 32px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.svb-article__callout p { margin: 0; color: #fff; }
.svb-article__callout .btn-primary { flex-shrink: 0; }

@media (max-width: 720px) {
  .svb-article { padding: 32px 24px; border-radius: 20px; }
  .svb-article__intro { padding-left: 16px; font-size: 1rem; }
  .svb-article__callout { flex-direction: column; align-items: stretch; text-align: center; }
}

/* Уникальная intro-врезка на проксированных страницах. */
/* Intro-hero дизайн-системы — teal-остров как hero главной. Один на все системные/прокси страницы. */
.svb-people-intro-section { padding: 12px 0 0; }
.svb-people-intro {
  max-width: none;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3d9b9c 0%, #51bcb2 50%, #2a8586 100%);
  border-radius: 2.1875rem;
  padding: 60px 64px;
  color: #fff;
}
.svb-people-intro::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 22%; max-width: 19.5rem;
  aspect-ratio: 313 / 463;
  background: url("/img/hero-decor.svg") no-repeat right bottom / contain;
  pointer-events: none; opacity: .5; z-index: 0;
}
.svb-people-intro > * { position: relative; z-index: 1; }
.svb-people-intro__kicker {
  display: inline-block;
  font-family: 'Inter Display', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .15);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.svb-people-intro__title { margin: 0 0 18px; color: #fff; line-height: 1.1; max-width: 56rem; }
.svb-people-intro__lead { color: rgba(255, 255, 255, .92); line-height: 1.55; margin: 0; max-width: 60ch; font-weight: 500; }
@media (max-width: 640px) {
  .svb-people-intro { padding: 40px 28px; border-radius: 1.5rem; }
}

/* ============ ГЛАВНАЯ (HomePage) ============ */

/* HERO */
.svp-hero {
  position: relative;
  background: linear-gradient(120deg, #0d2b3e 0%, #173d5a 55%, #2a7575 100%);
  padding: 60px 0 70px;
  overflow: hidden;
}
.svp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(51, 145, 144, .18) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(164, 224, 210, .15) 0%, transparent 50%);
  pointer-events: none;
}
.svp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.svp-hero__text { display: flex; flex-direction: column; gap: 22px; color: #fff; max-width: 38rem; }
.svp-hero__kicker {
  display: inline-block;
  width: max-content;
  font-family: 'Inter Display', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a4e0d2;
  background: rgba(255, 255, 255, .12);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0;
  backdrop-filter: blur(4px);
}
.svp-hero__title { margin: 0; color: #fff; line-height: 1.05; }
.svp-hero__title-accent { color: #a4e0d2; display: inline; }
.svp-hero__lead { color: rgba(255, 255, 255, .85); line-height: 1.5; margin: 0; font-weight: 500; }
.svp-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svp-hero__bullets li {
  position: relative;
  padding-left: 32px;
  color: #fff;
  line-height: 1.45;
  font-weight: 500;
}
.svp-hero__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #339190;
}
.svp-hero__bullets li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: calc(.6em + 5px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.svp-hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.svp-hero__btn { padding: 0 22px; height: 3.5rem; padding-left: 4.5rem !important; }
.svp-hero__btn .btn-circle { width: 3.5rem; }
.svp-hero__btn.btn-outline { background: rgba(255, 255, 255, .92); }
.svp-hero__badges { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.svp-hero__badge {
  background: rgba(255, 255, 255, .1);
  border-left: 3px solid #a4e0d2;
  padding: 12px 16px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  min-width: 130px;
}
.svp-hero__badge-num { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: 1.05rem; color: #a4e0d2; margin: 0 0 2px; line-height: 1; }
.svp-hero__badge-lbl { font-size: 13px; color: rgba(255, 255, 255, .85); margin: 0; }

.svp-hero__photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
}
.svp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.svp-hero__photo-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(13, 43, 62, .85);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
}
.svp-hero__photo-name { margin: 0 0 2px; font-weight: 700; font-size: 15px; color: #fff; line-height: 1.2; }
.svp-hero__photo-role { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .75); }

@media (max-width: 980px) {
  .svp-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .svp-hero__photo { max-width: 380px; margin: 0 auto; aspect-ratio: 3 / 4; }
}
@media (max-width: 520px) {
  .svp-hero { padding: 40px 0 50px; }
  .svp-hero__badges { gap: 10px; }
  .svp-hero__badge { min-width: 0; flex: 1 1 calc(50% - 6px); padding: 10px 12px; }
}

/* Общие свойства секций главной */
.svp-home-section { padding: 64px 0; }
.svp-home-section--alt { background: #f2f6f9; }
.svp-home-head { max-width: 720px; margin-bottom: 36px; }
.svp-home-head h2 { color: #151516; margin: 0 0 12px; line-height: 1.15; }
.svp-home-head .medi-20 { color: #676767; margin: 0; line-height: 1.5; }

/* Направления */
.svp-home-dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.svp-home-dir {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.svp-home-dir:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15, 23, 42, .1); }
.svp-home-dir__img { aspect-ratio: 4 / 3; overflow: hidden; }
.svp-home-dir__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svp-home-dir__body { padding: 22px 22px 24px; position: relative; }
.svp-home-dir__title { margin: 0 0 8px; color: #151516; line-height: 1.2; font-size: 1.1rem; }
.svp-home-dir__desc { color: #676767; line-height: 1.4; margin: 0; padding-right: 24px; }
.svp-home-dir__arrow { position: absolute; right: 20px; bottom: 22px; color: #339190; font-size: 22px; font-weight: 700; }

/* Шаги */
.svp-home-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.svp-home-step {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.svp-home-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #339190, #2a7575);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.svp-home-step__title { margin: 0 0 4px; color: #151516; line-height: 1.2; }
.svp-home-step__desc { color: #676767; line-height: 1.45; margin: 0; }

/* Преимущества */
.svp-home-adv { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.svp-home-adv__card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  border-top: 3px solid #339190;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.svp-home-adv__kicker {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #339190;
  margin: 0 0 8px;
  line-height: 1;
}
.svp-home-adv__title { margin: 0 0 6px; color: #151516; line-height: 1.25; }
.svp-home-adv__desc { color: #676767; line-height: 1.45; margin: 0; }

/* Цены */
.svp-home-prices {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}
.svp-home-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid #e1ebf2;
}
.svp-home-price:last-child { border-bottom: 0; }
.svp-home-price__title { margin: 0 0 2px; color: #151516; line-height: 1.2; }
.svp-home-price__note { color: #676767; margin: 0; font-size: 13px; }
.svp-home-price__amount { font-family: 'Comfortaa', sans-serif; font-weight: 700; color: #339190; font-size: 1.15rem; margin: 0; white-space: nowrap; }
.svp-home-prices-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border-radius: 22px;
  padding: 24px 28px;
  margin-top: 20px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.svp-home-prices-cta p { margin: 0; color: #151516; line-height: 1.5; max-width: 40rem; }

/* Врачи */
.svp-home-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.svp-home-doc {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.svp-home-doc__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.svp-home-doc__name { margin: 0 0 4px; color: #151516; line-height: 1.2; }
.svp-home-doc__role { color: #676767; margin: 0 0 6px; line-height: 1.3; }
.svp-home-doc__years {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #339190;
  background: rgba(51, 145, 144, .1);
  padding: 3px 10px;
  border-radius: 999px;
}
.svp-home-docs-cta { text-align: center; margin-top: 28px; }

/* Отзывы */
.svp-home-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.svp-home-review {
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.svp-home-review__text { margin: 0; color: #151516; line-height: 1.55; font-size: 15px; flex-grow: 1; }
.svp-home-review__footer { padding-top: 14px; border-top: 1px solid #e1ebf2; }
.svp-home-review__name { margin: 0 0 2px; color: #151516; line-height: 1.2; }
.svp-home-review__role { color: #676767; margin: 0; }

/* FAQ */
.svp-home-faq { max-width: 880px; }
.svp-home-faq__item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.svp-home-faq__item[open] { box-shadow: 0 12px 24px rgba(15, 23, 42, .08); }
.svp-home-faq__q {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  color: #151516;
  list-style: none;
  position: relative;
  padding-right: 50px;
  line-height: 1.35;
}
.svp-home-faq__q::-webkit-details-marker { display: none; }
.svp-home-faq__q::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #339190;
  font-size: 22px;
  font-weight: 600;
  transition: transform .2s;
}
.svp-home-faq__item[open] .svp-home-faq__q::after { content: '−'; }
.svp-home-faq__a { padding: 0 24px 22px; color: #676767; margin: 0; line-height: 1.55; }

/* FINAL */
.svp-home-final { background: linear-gradient(135deg, #0d2b3e 0%, #2a7575 100%); padding: 70px 0; color: #fff; }
.svp-home-final__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
}
.svp-home-final__kicker {
  display: inline-block;
  width: max-content;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a4e0d2;
  background: rgba(255, 255, 255, .12);
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.svp-home-final__lead { color: rgba(255, 255, 255, .85); margin: 14px 0 0; line-height: 1.5; }
.svp-home-final__buttons { display: flex; flex-direction: column; gap: 12px; }
.svp-home-final__buttons .btn-outline { background: rgba(255, 255, 255, .95); }
.svp-home-final__buttons a, .svp-home-final__buttons button { width: 100%; justify-content: center; padding: 0 24px !important; height: 3.25rem; padding-left: 4.5rem !important; }

@media (max-width: 720px) {
  .svp-home-section { padding: 44px 0; }
  .svp-home-prices-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .svp-home-final__inner { grid-template-columns: 1fr; }
  .svp-home-doc { flex-direction: column; text-align: center; padding: 22px 18px; }
}

/* ============ /design — дизайн-система ============ */
.svp-ds-section { padding: 56px 0; background: #fff; }
.svp-ds-section--alt { background: #f2f6f9; }
.svp-ds-h2 { color: #151516; margin: 0 0 14px; line-height: 1.15; }
.svp-ds-lead { color: #676767; margin: 0 0 28px; max-width: 760px; line-height: 1.5; }
.svp-ds-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

/* Палитра */
.svp-ds-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.svp-ds-color {
  border-radius: 14px;
  padding: 20px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}
.svp-ds-color__name { font-weight: 700; font-size: 14px; margin: 0; }
.svp-ds-color__hex { font-family: 'Inter Display', monospace; font-size: 13px; margin: 0; opacity: .9; }
.svp-ds-color__use { font-size: 12px; margin: 4px 0 0; opacity: .8; line-height: 1.3; }

/* Типографика */
.svp-ds-typo { display: flex; flex-direction: column; gap: 18px; }
.svp-ds-typo__row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.svp-ds-typo__name { font-weight: 700; color: #339190; margin: 0 0 4px; }
.svp-ds-typo__specs { font-size: 12px; color: #676767; margin: 0 0 6px; line-height: 1.4; }
.svp-ds-typo__cls { font-size: 12px; background: #f2f6f9; padding: 2px 6px; border-radius: 4px; color: #2a7575; }
.svp-ds-typo__sample { color: #151516; line-height: 1.3; }

/* Кнопки */
.svp-ds-buttons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.svp-ds-btn-cell {
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  align-items: flex-start;
}
.svp-ds-btn-cell code { font-size: 12px; background: #f2f6f9; padding: 2px 6px; border-radius: 4px; color: #2a7575; }
.svp-ds-btn-cell .medi-14 { color: #676767; margin: 0; }

/* Фоны */
.svp-ds-bgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.svp-ds-bg {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
}
.svp-ds-bg__swatch {
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  position: relative;
}
.svp-ds-bg__label {
  background: rgba(255, 255, 255, .85);
  color: #151516;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.svp-ds-bg__use { padding: 14px 16px 6px; margin: 0; color: #151516; line-height: 1.4; }
.svp-ds-bg__css {
  display: block;
  padding: 0 16px 14px;
  margin: 0;
  font-size: 11px;
  color: #676767;
  font-family: 'Inter Display', monospace;
  word-break: break-all;
}

/* Иллюстрации */
.svp-ds-illus-group { margin-bottom: 38px; }
.svp-ds-illus-group__h { color: #339190; margin: 0 0 14px; }
.svp-ds-illus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.svp-ds-illus {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.svp-ds-illus__img {
  aspect-ratio: 4 / 3;
  background: #f2f6f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.svp-ds-illus__img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.svp-ds-illus figcaption { padding: 10px 12px 14px; }
.svp-ds-illus figcaption code { font-size: 11px; background: #f2f6f9; padding: 2px 6px; border-radius: 4px; color: #2a7575; display: inline-block; margin-bottom: 4px; }
.svp-ds-illus figcaption .medi-14 { margin: 0; color: #676767; line-height: 1.4; font-size: 12px; }

/* Макеты */
.svp-ds-layouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.svp-ds-layout {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.svp-ds-layout__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.svp-ds-layout__head .bold-20 { margin: 0; color: #151516; }
.svp-ds-layout__head code { font-size: 11px; color: #2a7575; background: #f2f6f9; padding: 2px 6px; border-radius: 4px; width: max-content; }
.svp-ds-layout .medi-14 { margin: 6px 0 0; color: #676767; line-height: 1.4; }
.svp-ds-layout code { font-family: 'Inter Display', monospace; font-size: 11px; }

/* Плашки */
.svp-ds-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Карточки демо */
.svp-ds-cards-demo { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.svp-ds-card-demo { padding: 22px 24px; border-radius: 18px; box-shadow: 0 6px 18px rgba(15, 23, 42, .05); }
.svp-ds-card-demo--basic { background: #fff; }
.svp-ds-card-demo--accent { background: #fff; border-left: 4px solid #339190; }
.svp-ds-card-demo--top { background: #fff; border-top: 4px solid #339190; }
.svp-ds-card-demo--dark { background: linear-gradient(135deg, #0d2b3e 0%, #2a7575 100%); color: #fff; }
.svp-ds-card-demo .bold-20 { margin: 0 0 8px; }
.svp-ds-card-demo .medi-14 { margin: 0; color: #676767; line-height: 1.45; }

/* Правила */
.svp-ds-rules__h3 { margin: 0 0 14px; }
.svp-ds-rules__h3--good { color: #339190; }
.svp-ds-rules__h3--bad { color: #cc4444; }

@media (max-width: 720px) {
  .svp-ds-2col { grid-template-columns: 1fr; }
  .svp-ds-typo__row { grid-template-columns: 1fr; }
}

/* SVG-декор */
.svp-ds-svgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 32px; }
.svp-ds-svg { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(15, 23, 42, .05); display: flex; flex-direction: column; }
.svp-ds-svg__preview {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}
.svp-ds-svg__preview--teal { background: linear-gradient(135deg, rgba(51,145,144,.08), rgba(51,145,144,.18)); }
.svp-ds-svg__preview--beige { background: linear-gradient(135deg, rgba(170,137,124,.1), rgba(170,137,124,.22)); }
.svp-ds-svg__preview--dark { background: linear-gradient(135deg, #0d2b3e, #2a7575); }
.svp-ds-svg__preview--gray { background: #f2f6f9; }
.svp-ds-svg__preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.svp-ds-svg__body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.svp-ds-svg__body code { font-size: 11px; background: #f2f6f9; padding: 2px 6px; border-radius: 4px; color: #2a7575; width: max-content; }
.svp-ds-svg__body .bold-20 { margin: 4px 0 0; color: #151516; line-height: 1.25; }
.svp-ds-svg__body .medi-14 { margin: 4px 0 0; color: #676767; line-height: 1.45; font-size: 13px; }

.svp-ds-svg-rules {
  background: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  border-left: 4px solid #339190;
}

/* Блоки — превью */
.svp-ds-block {
  background: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.svp-ds-block__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e1ebf2;
}
.svp-ds-block__head .bold-20 { margin: 4px 0 6px; color: #151516; line-height: 1.25; }
.svp-ds-block__head .medi-14 { margin: 0; color: #676767; line-height: 1.45; max-width: 60ch; }
.svp-ds-block__head code { font-size: 11px; background: #f2f6f9; padding: 4px 8px; border-radius: 6px; color: #2a7575; align-self: flex-start; white-space: nowrap; }
.svp-ds-block__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: #339190;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0;
  width: max-content;
}
.svp-ds-block__demo { padding: 24px; background: #fff; border-radius: 12px; border: 1px dashed #e1ebf2; }
.svp-ds-block__demo--gray { background: #f2f6f9; border-color: transparent; }
.svp-ds-block__demo--dark { background: linear-gradient(135deg, #0d2b3e, #2a7575); border-color: transparent; }
.svp-ds-block__demo--photo { background: url(/img/hero-bg.webp) center / cover; min-height: 80px; color: #fff; display: flex; align-items: center; justify-content: center; }
.svp-ds-block__demo--photo p { background: rgba(0,0,0,.65); padding: 10px 16px; border-radius: 8px; margin: 0; }

/* Мини-hero превью */
.svp-ds-mini-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: center; }
.svp-ds-mini-hero__kick {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a4e0d2;
  background: rgba(255, 255, 255, .12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.svp-ds-mini-hero__title { color: #fff; font-family: 'Comfortaa', sans-serif; font-weight: 700; margin: 0 0 14px; line-height: 1.1; font-size: 1.15rem; }
.svp-ds-mini-hero__title span { color: #a4e0d2; }
.svp-ds-mini-hero__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.svp-ds-mini-btn { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.svp-ds-mini-btn--primary { background: #fff; color: #0d2b3e; }
.svp-ds-mini-btn--outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.svp-ds-mini-hero__photo { aspect-ratio: 1 / 1.2; border-radius: 12px; overflow: hidden; max-width: 130px; }
.svp-ds-mini-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.svp-ds-direction-preview { padding: 12px; }

/* ============ Главная — steps в стиле свободы ============ */
.svp-steps { padding: 64px 0; background: #f2f6f9; }
.svp-steps .section-title { max-width: 720px; margin-bottom: 36px; }
.svp-steps .section-title h2 { color: #151516; margin: 0 0 12px; line-height: 1.15; }
.svp-steps .section-title .medi-20 { color: #676767; margin: 0; }
.svp-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.svp-steps .step-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
  overflow: hidden;
  border-top: 4px solid #339190;
}
.svp-steps .step-card .label-second {
  background: linear-gradient(135deg, #339190, #2a7575);
  color: #fff;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom-right-radius: 14px;
}
.svp-steps .step-card .label-second span { color: #fff; }
.svp-steps .step-card .card-info { padding: 56px 24px 24px; display: flex; flex-direction: column; gap: 18px; min-height: 100%; }
.svp-steps .step-card .card-txt { display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.svp-steps .step-card .flex-align-top { display: flex; align-items: flex-start; gap: 14px; justify-content: space-between; }
.svp-steps .step-card .bold-28 { font-size: 1.05rem; line-height: 1.25; color: #151516; }
.svp-steps .step-card .medi-20 { color: #676767; line-height: 1.5; font-size: 15px; }
.svp-steps .step-card img { width: 56px; height: 56px; flex-shrink: 0; }
.svp-steps .step-card .card-info-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #e1ebf2;
  margin-top: auto;
}
.svp-steps .step-card .card-info-row a { color: #339190; text-decoration: none; }
.svp-steps .step-card .card-info-row .btn-primary { width: 100%; justify-content: center; }

/* ============ /ceny — расширенный прайс ============ */
.svp-ceny-mode { padding: 40px 0 20px; background: #fff; }
.svp-ceny-mode__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.svp-ceny-mode__grid article {
  background: #f2f6f9;
  border-radius: 18px;
  padding: 24px 26px;
}
.svp-ceny-mode__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.svp-ceny-mode__tag--in { color: #339190; background: rgba(51, 145, 144, .15); }
.svp-ceny-mode__tag--out { color: #aa897c; background: rgba(170, 137, 124, .18); }

.svp-ceny-section { padding: 40px 0; }
.svp-ceny-section:nth-of-type(even) { background: #f2f6f9; }
.svp-ceny-header { max-width: 720px; margin-bottom: 24px; }
.svp-ceny-h2 { color: #339190; margin: 0 0 10px; line-height: 1.2; }
.svp-ceny-intro { color: #676767; margin: 0; line-height: 1.5; }
.svp-ceny-list {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.svp-ceny-row {
  display: grid;
  grid-template-columns: 1fr auto 140px;
  gap: 18px;
  padding: 18px 24px;
  align-items: center;
  border-bottom: 1px solid #e1ebf2;
}
.svp-ceny-row:last-child { border-bottom: 0; }
.svp-ceny-row__title { margin: 0 0 2px; color: #151516; line-height: 1.25; }
.svp-ceny-row__note { color: #676767; margin: 0; font-size: 13px; }
.svp-ceny-row__amount {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  color: #339190;
  font-size: 1.05rem;
  margin: 0;
  white-space: nowrap;
}
.svp-ceny-row__btn { padding: 8px 18px; height: auto; min-height: 38px; }
.svp-ceny-callout {
  background: #fff;
  border-radius: 22px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  border-left: 4px solid #339190;
}
.svp-ceny-callout__buttons { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 720px) {
  .svp-ceny-mode__grid { grid-template-columns: 1fr; }
  .svp-ceny-row { grid-template-columns: 1fr; gap: 8px; }
  .svp-ceny-row__btn { width: 100%; }
  .svp-ceny-callout { grid-template-columns: 1fr; }
}

/* ============ /kontakty — расширенные контакты ============ */
.svp-kontakty-quick { padding: 40px 0 20px; }
.svp-kontakty-quick__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.svp-kontakty-quick__card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  transition: all .2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-family: inherit;
}
.svp-kontakty-quick__card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15, 23, 42, .1); }
.svp-kontakty-quick__card--primary { background: linear-gradient(135deg, #339190, #2a7575); color: #fff; }
.svp-kontakty-quick__icon { color: #339190; margin-bottom: 6px; }
.svp-kontakty-quick__card--primary .svp-kontakty-quick__icon { color: #fff; }
.svp-kontakty-quick__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #676767;
  margin: 0;
}
.svp-kontakty-quick__card--primary .svp-kontakty-quick__label { color: rgba(255, 255, 255, .7); }
.svp-kontakty-quick__main {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  color: #151516;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.2;
}
.svp-kontakty-quick__card--primary .svp-kontakty-quick__main { color: #fff; }
.svp-kontakty-quick__sub { color: #676767; font-size: 13px; margin: 4px 0 0; line-height: 1.4; }
.svp-kontakty-quick__card--primary .svp-kontakty-quick__sub { color: rgba(255, 255, 255, .8); }

.svp-kontakty-section { padding: 50px 0; }
.svp-kontakty-section--alt { background: #f2f6f9; }
.svp-kontakty-cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.svp-kontakty-cases article {
  background: #fff;
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}
.svp-kontakty-cases__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  width: max-content;
  margin: 0;
}
.svp-kontakty-cases__tag--urgent { color: #c44; background: rgba(204, 68, 68, .12); }
.svp-kontakty-cases__tag--info { color: #339190; background: rgba(51, 145, 144, .12); }
.svp-kontakty-cases__tag--anon { color: #aa897c; background: rgba(170, 137, 124, .15); }
.svp-kontakty-cases__tag--visit { color: #2a7575; background: rgba(42, 117, 117, .12); }
.svp-kontakty-cases article .bold-20 { margin: 4px 0; color: #151516; line-height: 1.3; }
.svp-kontakty-cases article .medi-14 { color: #676767; margin: 0; line-height: 1.45; }
.svp-kontakty-cases__cta { margin-top: auto; }

.svp-kontakty-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.svp-kontakty-dl { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; }
.svp-kontakty-dl > div { padding-bottom: 14px; border-bottom: 1px solid #e1ebf2; }
.svp-kontakty-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.svp-kontakty-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #676767; margin: 0 0 4px; }
.svp-kontakty-dl dd { margin: 0; color: #151516; line-height: 1.5; }
@media (max-width: 720px) {
  .svp-kontakty-info-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ /otzuvi — карточки отзывов ============ */
.svp-otzuvi-section { padding: 50px 0; }
.svp-otzuvi-section--alt { background: #f2f6f9; }
.svp-otzuvi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.svp-otzuvi-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.svp-otzuvi-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.svp-otzuvi-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.svp-tag--alko { color: #aa897c; background: rgba(170, 137, 124, .15); }
.svp-tag--narko { color: #c44; background: rgba(204, 68, 68, .12); }
.svp-tag--reab { color: #339190; background: rgba(51, 145, 144, .12); }
.svp-tag--detox { color: #2a7575; background: rgba(42, 117, 117, .15); }
.svp-tag--family { color: #676767; background: rgba(90, 103, 118, .12); }
.svp-otzuvi-card__date { color: #676767; font-size: 13px; }
.svp-otzuvi-card__text { color: #151516; line-height: 1.55; margin: 0; flex-grow: 1; font-size: 15px; }
.svp-otzuvi-card__footer { padding-top: 14px; border-top: 1px solid #e1ebf2; }
.svp-otzuvi-card__name { margin: 0 0 2px; color: #151516; line-height: 1.2; }
.svp-otzuvi-card__role { color: #676767; margin: 0; }
.svp-otzuvi-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 22px;
  padding: 28px 32px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  border-left: 4px solid #339190;
  flex-wrap: wrap;
}

/* ============ /vrachi — карточки врачей ============ */
.svp-vrachi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}
.svp-vrach-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.svp-vrach-card__head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}
.svp-vrach-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.svp-vrach-card__name { margin: 0 0 4px; color: #151516; line-height: 1.2; }
.svp-vrach-card__role { color: #676767; margin: 0 0 6px; line-height: 1.3; }
.svp-vrach-card__years {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #339190;
  background: rgba(51, 145, 144, .1);
  padding: 4px 10px;
  border-radius: 999px;
}
.svp-vrach-card__bio { color: #151516; line-height: 1.5; margin: 0; }
.svp-vrach-card__row { padding-top: 12px; border-top: 1px solid #e1ebf2; }
.svp-vrach-card__row-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #676767;
  margin: 0 0 8px;
}
.svp-vrach-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.svp-vrach-card__list li { position: relative; padding-left: 16px; color: #151516; line-height: 1.4; }
.svp-vrach-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #339190;
}
.svp-vrach-card__cta { margin-top: 4px; }
.svp-vrach-card__btn { width: 100%; justify-content: center; }
.svp-vrachi-note {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}
@media (max-width: 520px) {
  .svp-vrach-card__head { grid-template-columns: 1fr; text-align: center; }
  .svp-vrach-card__photo { margin: 0 auto; }
  .svp-vrach-card__years { margin-top: 4px; }
}

/* ============ /klinika ============ */
.svp-about-section { padding: 60px 0; }
.svp-about-section--alt { background: #f2f6f9; }
.svp-about-h2 { color: #339190; margin: 0 0 18px; line-height: 1.2; }
.svp-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.svp-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.svp-about-stat {
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
  border-left: 3px solid #339190;
}
.svp-about-stat__num {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #339190;
  margin: 0 0 4px;
  line-height: 1.1;
}
.svp-about-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: step;
}
.svp-about-steps li {
  position: relative;
  padding: 18px 22px 18px 64px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
  counter-increment: step;
}
.svp-about-steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #339190;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svp-about-steps strong { display: block; color: #151516; margin-bottom: 4px; }
.svp-about-steps span { color: #676767; line-height: 1.5; }
.svp-about-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.svp-about-bullets li { position: relative; padding-left: 24px; color: #151516; line-height: 1.5; }
.svp-about-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #339190;
  opacity: .25;
}
.svp-about-bullets li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: calc(.55em + 3px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #339190;
}
.svp-about-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}
@media (max-width: 720px) {
  .svp-about-grid { grid-template-columns: 1fr; }
  .svp-about-stats { grid-template-columns: 1fr 1fr; }
  .svp-about-cta { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ============ /licenziya ============ */
.svp-license-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  max-width: 880px;
  margin: 0 auto;
}
.svp-license-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}
.svp-license-dl > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e1ebf2;
}
.svp-license-dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.svp-license-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #676767; margin: 0; }
.svp-license-dl dd { margin: 0; color: #151516; line-height: 1.5; }
.svp-license-laws {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.svp-license-laws article {
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.svp-license-laws__tag {
  display: inline-block;
  font-family: 'Inter Display', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: #339190;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0 0 10px;
}
.svp-license-laws .bold-20 { margin: 0 0 8px; color: #151516; line-height: 1.25; }
.svp-license-laws .medi-14 { color: #676767; margin: 0; line-height: 1.45; }
@media (max-width: 600px) {
  .svp-license-dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ============ /ceny, /kontakty, /otzuvi — extra-блоки сверху ============ */
.svp-extra-section { padding: 50px 0; background: #fff; }
.svp-extra__h2 { color: #339190; margin: 0 0 24px; line-height: 1.2; }
.svp-extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.svp-extra-grid article {
  background: #f2f6f9;
  border-radius: 18px;
  padding: 24px 26px;
}
.svp-extra__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 14px;
}
.svp-extra__tag--in { color: #339190; background: rgba(51, 145, 144, .15); }
.svp-extra__tag--out { color: #aa897c; background: rgba(170, 137, 124, .18); }
.svp-extra-callout {
  background: linear-gradient(180deg, #2a8586 0%, #1f6868 100%);
  color: #fff;
  padding: 24px 28px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.svp-extra-callout p { margin: 0; color: #fff; }
.svp-contacts-card .bold-20 { margin: 0 0 6px; color: #151516; }
.svp-qa-card .bold-20 { margin: 0 0 10px; color: #151516; line-height: 1.3; }
.svp-qa-card .medi-14 { color: #676767; line-height: 1.5; margin: 0; }
@media (max-width: 600px) {
  .svp-extra-callout { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ============ МОДАЛКИ ============ */
.svb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 43, 62, .65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}
.svb-modal.active { display: flex; animation: svbModalFade .2s ease-out; }
@keyframes svbModalFade { from { opacity: 0; } to { opacity: 1; } }

.svb-modal__inner {
  background: #fff;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 32px 64px rgba(0, 0, 0, .25);
  animation: svbModalUp .25s cubic-bezier(.2, .8, .2, 1);
}
@keyframes svbModalUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

.svb-modal__inner--success { text-align: center; max-width: 420px; }

.svb-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f6f9;
  border: 0;
  font-size: 22px;
  line-height: 28px;
  color: #676767;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.svb-modal__close:hover { background: #339190; color: #fff; }

.svb-modal__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #339190;
  margin: 0 0 10px;
  padding: 4px 10px;
  background: rgba(51, 145, 144, .1);
  border-radius: 999px;
}
.svb-modal__title { margin: 0 0 8px; color: #151516; line-height: 1.2; }
.svb-modal__lead { color: #676767; line-height: 1.45; margin: 0 0 22px; }

.svb-modal__success-icon { display: flex; justify-content: center; margin-bottom: 16px; }

.svb-form { display: flex; flex-direction: column; gap: 12px; }
.svb-form__row { display: flex; flex-direction: column; }
.svb-form__label { display: flex; flex-direction: column; gap: 6px; }
.svb-form__label > span { font-size: 13px; color: #676767; font-weight: 500; }
.svb-form input[type="text"],
.svb-form input[type="tel"],
.svb-form select,
.svb-form textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  background: #f2f6f9;
  border: 2px solid transparent;
  border-radius: 10px;
  outline: none;
  transition: border-color .15s;
  color: #151516;
  font-family: inherit;
}
.svb-form input:focus,
.svb-form select:focus,
.svb-form textarea:focus { border-color: #339190; background: #fff; }
.svb-form__honeypot { display: none !important; }

.svb-form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.4; color: #676767; cursor: pointer; }
.svb-form__check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.svb-form__check a { color: #339190; }

.svb-form__submit { margin-top: 4px; align-self: stretch; justify-content: center; }
.svb-form__submit[disabled] { opacity: .55; cursor: wait; }

.svb-form__or { margin: 8px 0 0; text-align: center; color: #676767; font-size: 13px; }
.svb-form__or a { color: #339190; }

body.svb-modal-lock { overflow: hidden; }

@media (max-width: 520px) {
  .svb-modal { padding: 12px; align-items: flex-start; padding-top: 60px; }
  .svb-modal__inner { padding: 28px 22px; border-radius: 18px; }
}

/* Бейдж автора над интро статьи. */
.svb-article__author-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding: 12px 14px;
  background: rgba(51, 145, 144, .06);
  border-radius: 14px;
  border-left: 3px solid #339190;
}
.svb-article__author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.svb-article__author-top-name {
  font-weight: 700;
  font-size: 1rem;
  color: #151516;
  margin: 0;
  line-height: 1.2;
}
.svb-article__author-top-role {
  font-size: 13px;
  color: #676767;
  margin: 2px 0 0;
  line-height: 1.2;
}

/* Карточка автора в конце статьи (EEAT). */
.svb-article-author {
  max-width: 880px;
  margin: 24px auto 0;
  background: #fff;
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
}
.svb-article-author__photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.svb-article-author__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #339190;
  margin: 0 0 6px;
  padding: 4px 10px;
  background: rgba(51, 145, 144, .1);
  border-radius: 999px;
}
.svb-article-author__name { margin: 0 0 4px; color: #151516; line-height: 1.2; }
.svb-article-author__role { color: #676767; margin: 0 0 12px; }
.svb-article-author__bio { color: #151516; line-height: 1.5; margin: 0 0 18px; }
.svb-article-author__meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid #e1ebf2;
}
.svb-article-author__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #676767;
  margin: 0 0 8px;
}
.svb-article-author__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svb-article-author__list li {
  position: relative;
  padding-left: 14px;
  color: #151516;
  line-height: 1.4;
}
.svb-article-author__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #339190;
}

@media (max-width: 720px) {
  .svb-article-author {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }
  .svb-article-author__photo img { margin: 0 auto; width: 110px; height: 110px; }
  .svb-article-author__meta { grid-template-columns: 1fr; text-align: left; }
}

/* Полноценный hero на главной. */
.svb-home-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 43, 62, .82) 0%, rgba(38, 113, 113, .65) 60%, rgba(38, 113, 113, .35) 100%);
  pointer-events: none;
}
.svb-home-hero .hero-bg { position: relative; }
.svb-home-hero__kicker {
  display: inline-block;
  font-family: 'Inter Display', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a4e0d2;
  margin: 0;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  width: max-content;
  backdrop-filter: blur(4px);
}
@media (max-width: 900px) {
  .svb-home-hero .hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  .svb-home-hero .benefits-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* Иконки */
.svp-ds-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.svp-ds-icon {
  background: #fff;
  border-radius: 12px;
  padding: 16px 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}
.svp-ds-icon__demo {
  width: 56px;
  height: 56px;
  background: rgba(51, 145, 144, .1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svp-ds-icon code { font-size: 11px; background: #f2f6f9; padding: 2px 6px; border-radius: 4px; color: #2a7575; }
.svp-ds-icon .medi-14 { margin: 0; color: #676767; font-size: 12px; line-height: 1.4; }

.svp-ds-block-head {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 0;
  margin-top: 28px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 4px solid #339190;
}
.svp-ds-block-head .bold-20 { margin: 0; color: #151516; }
.svp-ds-block-head .medi-14 { margin: 0; color: #676767; line-height: 1.45; }
.svp-ds-block-head code { font-size: 11px; background: #f2f6f9; padding: 4px 8px; border-radius: 6px; color: #2a7575; width: max-content; margin-top: 4px; }

/* Спейсинг */
.svp-ds-spacings { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.svp-ds-spacing {
  background: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.svp-ds-spacing__bar { height: 12px; background: linear-gradient(90deg, #339190, #a4e0d2); border-radius: 6px; max-width: 100%; min-width: 4px; }
.svp-ds-spacing p.bold-20 { margin: 0; color: #151516; line-height: 1.2; }
.svp-ds-spacing p.bold-20 code { font-size: 11px; color: #2a7575; background: #f2f6f9; padding: 2px 6px; border-radius: 4px; margin-left: 6px; font-weight: normal; }
.svp-ds-spacing p.medi-14 { margin: 4px 0 0; color: #676767; line-height: 1.4; font-size: 12px; }

/* Vertical rhythm */
.svp-ds-rhythm { display: flex; flex-direction: column; gap: 10px; }
.svp-ds-rhythm__row {
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
}
.svp-ds-rhythm__row p.bold-20 { margin: 0 0 2px; color: #151516; line-height: 1.2; }
.svp-ds-rhythm__row p.medi-14 { margin: 0; color: #676767; line-height: 1.4; font-size: 12px; }
.svp-ds-rhythm__token { font-size: 12px; color: #339190; background: rgba(51,145,144,.1); padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-family: 'Inter Display', monospace; }

/* Закругления */
.svp-ds-radii { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.svp-ds-radius {
  background: #fff;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .04);
  border-radius: 14px;
}
.svp-ds-radius__demo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #339190, #2a7575);
}
.svp-ds-radius p.bold-20 { margin: 0; color: #151516; line-height: 1.2; }
.svp-ds-radius p.bold-20 code { font-size: 11px; color: #2a7575; background: #f2f6f9; padding: 2px 6px; border-radius: 4px; margin-left: 6px; font-weight: normal; }
.svp-ds-radius p.medi-14 { margin: 4px 0 0; color: #676767; line-height: 1.4; font-size: 12px; }

/* Чередование фонов */
.svp-ds-flows { display: flex; flex-direction: column; gap: 28px; }
.svp-ds-flow { background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: 0 6px 18px rgba(15, 23, 42, .05); }
.svp-ds-flow__h { margin: 0 0 14px; color: #339190; }
.svp-ds-flow__strip { display: flex; flex-direction: column; gap: 0; border-radius: 12px; overflow: hidden; border: 1px solid #e1ebf2; }
.svp-ds-flow__band {
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #151516;
  border-bottom: 1px solid rgba(225, 235, 242, .5);
}
.svp-ds-flow__band:last-child { border-bottom: 0; }
.svp-ds-flow__band--white { background: #fff; color: #151516; }
.svp-ds-flow__band--alt   { background: #f2f6f9; color: #151516; }
.svp-ds-flow__band--dark  { background: linear-gradient(135deg, #0d2b3e, #2a7575); color: #fff; }
.svp-ds-flow__band--photo { background: linear-gradient(135deg, rgba(13,43,62,.85), rgba(42,117,117,.7)), url(/img/hero-bg.webp) center / cover; color: #fff; }

/* ===== Дизайн-система v2 — новые секции ===== */
.svp-ds-title { color: #151516; margin: 0 0 16px; }
.svp-ds-subh { color: #339190; margin: 36px 0 16px; }

/* Градиенты */
.svp-ds-grads { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.svp-ds-grad { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(15,23,42,.05); }
.svp-ds-grad__swatch { height: 90px; }
.svp-ds-grad__body { padding: 14px 18px 16px; }
.svp-ds-grad__body .bold-20 { margin: 0 0 6px; color: #151516; }
.svp-ds-grad__body code { display: block; font-size: 11px; color: #2a7575; background: #f2f6f9; padding: 6px 8px; border-radius: 6px; margin-bottom: 6px; word-break: break-all; font-family: 'Inter Display', monospace; }
.svp-ds-grad__body .medi-14 { margin: 0; color: #676767; line-height: 1.4; font-size: 13px; }

/* Декор-лист */
.svp-ds-decor-list { display: flex; flex-direction: column; gap: 10px; }
.svp-ds-decor-row { background: #fff; border-radius: 12px; padding: 16px 20px; display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; box-shadow: 0 4px 12px rgba(15,23,42,.04); }
.svp-ds-decor-row__file { font-size: 12px; color: #2a7575; background: #f2f6f9; padding: 6px 10px; border-radius: 6px; align-self: start; word-break: break-all; }
.svp-ds-decor-row .bold-20 { margin: 0 0 6px; color: #151516; line-height: 1.25; }
.svp-ds-decor-row .medi-14 { margin: 2px 0 0; color: #676767; line-height: 1.45; }
.svp-ds-decor-row code { font-size: 11px; color: #2a7575; }

/* Слайдеры */
.svp-ds-sliders { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.svp-ds-slider { background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 4px 12px rgba(15,23,42,.05); }
.svp-ds-slider__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.svp-ds-slider__head code { font-size: 12px; color: #2a7575; background: #f2f6f9; padding: 4px 8px; border-radius: 6px; }
.svp-ds-chip-teal { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #339190; padding: 3px 8px; border-radius: 999px; }
.svp-ds-slider .bold-20 { margin: 0 0 8px; color: #151516; }
.svp-ds-slider .medi-14 { margin: 4px 0 0; color: #676767; line-height: 1.4; }

/* Block sizes */
.svp-ds-blocksizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.svp-ds-blocksize { background: #fff; border-radius: 14px; padding: 18px 22px; box-shadow: 0 4px 12px rgba(15,23,42,.05); border-left: 4px solid #339190; }
.svp-ds-blocksize .bold-20 { margin: 0 0 8px; color: #151516; }
.svp-ds-blocksize .medi-14 { margin: 4px 0 0; color: #676767; line-height: 1.45; }
.svp-ds-blocksize code { font-size: 11px; color: #2a7575; }
.svp-ds-blocksize__note { color: #339190 !important; font-weight: 600; }

/* Grid demo */
.svp-ds-griddemo { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; margin-bottom: 18px; }
.svp-ds-griddemo__cell {
  background: linear-gradient(135deg, #3d9b9c, #51bcb2);
  color: #fff;
  border-radius: 10px;
  padding: 20px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

/* Icon sources */
.svp-ds-icon-sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 8px; }
.svp-ds-icon-source { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 4px 12px rgba(15,23,42,.04); }
.svp-ds-icon-source code { font-size: 12px; color: #2a7575; background: #f2f6f9; padding: 4px 8px; border-radius: 6px; display: inline-block; margin-bottom: 8px; }
.svp-ds-icon-source .medi-14 { margin: 0; color: #676767; line-height: 1.45; }

/* Вариации */
.svp-ds-var-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.svp-ds-comp-rules { margin: 16px 0 0; padding-left: 0; list-style: none; counter-reset: cr; display: flex; flex-direction: column; gap: 12px; }
.svp-ds-comp-rules li {
  counter-increment: cr;
  position: relative;
  padding: 16px 20px 16px 56px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(15,23,42,.04);
  color: #151516;
  line-height: 1.5;
}
.svp-ds-comp-rules li::before {
  content: counter(cr);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3d9b9c, #51bcb2);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Декор-сетка с превью */
.svp-ds-decor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.svp-ds-decor-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(15,23,42,.06); display: flex; flex-direction: column; }
.svp-ds-decor-card__preview {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.svp-ds-decor-card__preview--teal { background: linear-gradient(135deg, #3d9b9c 0%, #51bcb2 50%, #2a8586 100%); }
.svp-ds-decor-card__preview--beige { background: linear-gradient(135deg, #c49e90 0%, #d2c0b4 50%, #b78b7b 100%); }
.svp-ds-decor-card__preview--white { background: #fff; border-bottom: 1px solid #e1ebf2; }
.svp-ds-decor-card__preview--gray { background: #f2f6f9; }
.svp-ds-decor-card__preview--dark { background: #151516; }
.svp-ds-decor-card__preview img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.svp-ds-decor-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.svp-ds-decor-card__file { font-size: 11px; color: #2a7575; background: #f2f6f9; padding: 4px 8px; border-radius: 6px; width: max-content; word-break: break-all; }
.svp-ds-decor-card__body .bold-20 { margin: 4px 0 0; color: #151516; line-height: 1.25; }
.svp-ds-decor-card__body .medi-14 { margin: 2px 0 0; color: #676767; line-height: 1.45; font-size: 13px; }
.svp-ds-decor-card__body code { font-size: 11px; color: #2a7575; }

/* Предупреждающая плашка в ДС */
.svp-ds-warn {
  background: linear-gradient(135deg, rgba(170,137,124,.12), rgba(196,158,144,.18));
  border-left: 4px solid #aa897c;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 18px;
  color: #151516;
  line-height: 1.5;
  font-weight: 500;
}

/* ===== Статья v2 — 2 колонки (статья + автор-сайдбар), декор ===== */
.svb-art2-section {
  padding: 64px 0;
  background: #f2f6f9;
  position: relative;
  overflow: hidden;
}
.svb-art2-section::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 38%; max-width: 40rem;
  aspect-ratio: 651 / 314;
  background: url("/img/steps-decor.svg") no-repeat top right / contain;
  pointer-events: none; z-index: 0; opacity: .5;
}
.svb-art2-section > .container { position: relative; z-index: 1; }
.svb-art2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.svb-art2 {
  background: #fff;
  border-radius: 2.1875rem;
  padding: 48px 56px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}
.svb-art2__intro {
  font-size: 1.35rem;
  line-height: 1.5;
  color: #151516;
  font-weight: 500;
  border-left: 4px solid #339190;
  padding-left: 22px;
  margin: 0 0 36px;
}
.svb-art2__section { margin-bottom: 34px; }
.svb-art2__section:last-of-type { margin-bottom: 0; }
.svb-art2__h2 { color: #339190; margin: 0 0 16px; line-height: 1.2; font-size: 1.6rem; }
.svb-art2__p { margin: 0 0 14px; line-height: 1.6; color: #151516; }
.svb-art2__p:last-child { margin-bottom: 0; }
.svb-art2__list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 11px; }
.svb-art2__list li { position: relative; padding-left: 30px; line-height: 1.55; color: #151516; }
.svb-art2__list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #3d9b9c, #51bcb2);
}
.svb-art2__list li::after {
  content: ""; position: absolute; left: 5px; top: calc(.5em + 5px);
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
}
.svb-art2__inline-callout {
  display: flex; align-items: center; gap: 14px;
  margin-top: 20px; padding: 18px 22px;
  background: rgba(51, 145, 144, .08);
  border-radius: 16px; border-left: 3px solid #339190;
}
.svb-art2__inline-callout svg { width: 28px; height: 28px; color: #339190; fill: #339190; flex-shrink: 0; }
.svb-art2__inline-callout p { margin: 0; color: #151516; font-weight: 500; }
.svb-art2__callout {
  margin-top: 36px; padding: 28px 32px;
  background: linear-gradient(135deg, #3d9b9c 0%, #51bcb2 50%, #2a8586 100%);
  border-radius: 24px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.svb-art2__callout p { margin: 0; color: #fff; }
.svb-art2__sources {
  margin-top: 36px; padding-top: 28px; border-top: 1px solid #e1ebf2;
}
.svb-art2__sources-list { margin: 16px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: #676767; }
.svb-art2__sources-list li { line-height: 1.5; }

/* Сайдбар */
.svb-art2-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; }
.svb-art2-author {
  background: #fff; border-radius: 24px; padding: 28px 26px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06); text-align: center;
}
.svb-art2-author__photo {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; object-position: center top; margin: 0 auto 14px; display: block;
}
.svb-art2-author__label {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #339190; background: rgba(51,145,144,.1);
  padding: 4px 12px; border-radius: 999px; margin: 0 0 10px;
}
.svb-art2-author__name { margin: 0 0 4px; color: #151516; line-height: 1.2; }
.svb-art2-author__role { color: #676767; margin: 0 0 14px; }
.svb-art2-author__bio { color: #151516; line-height: 1.5; margin: 0 0 16px; text-align: left; }
.svb-art2-author__col-title {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #838588; margin: 14px 0 6px; text-align: left;
}
.svb-art2-author__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.svb-art2-author__list li { position: relative; padding-left: 16px; color: #151516; line-height: 1.4; }
.svb-art2-author__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #339190; }
.svb-art2-cta { gap: 12px !important; padding: 28px 26px !important; align-items: stretch !important; }
.svb-art2-cta p { margin: 0; }
.svb-art2-cta .bold-28 { color: #fff; }
.svb-art2-cta .medi-14 { color: rgba(255,255,255,.9); }
.svb-art2-cta__btn { width: 100%; justify-content: center; margin-top: 4px; }

@media (max-width: 980px) {
  .svb-art2-layout { grid-template-columns: 1fr; }
  .svb-art2-aside { position: static; }
  .svb-art2 { padding: 32px 28px; }
}
@media (max-width: 600px) {
  .svb-art2 { padding: 28px 20px; }
  .svb-art2__intro { font-size: 1.15rem; padding-left: 16px; }
  .svb-art2__callout { flex-direction: column; align-items: stretch; text-align: center; }
}

/* ===== Шапка: лицензия вместо дубля телефона ===== */
.header-license {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.2;
  margin-right: 4px;
}
.header-license__label { font-size: 11px; color: #676767; }
.header-license__num { font-size: 14px; font-weight: 700; color: #339190; font-family: 'Comfortaa', sans-serif; }
@media (max-width: 1100px) { .header-license { display: none; } }

/* ===== Квиз: 2 колонки (квиз + фото/факты) ===== */
.svb-quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.svb-quiz-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.svb-quiz-side__photo {
  border-radius: 24px;
  overflow: hidden;
  flex: 1;
  min-height: 220px;
  background: linear-gradient(135deg, #3d9b9c, #51bcb2);
}
.svb-quiz-side__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.svb-quiz-side__facts {
  background: linear-gradient(135deg, #3d9b9c 0%, #51bcb2 50%, #2a8586 100%);
  border-radius: 24px;
  padding: 26px 28px;
  color: #fff;
}
.svb-quiz-side__title {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.8); margin: 0 0 14px;
}
.svb-quiz-side__list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.svb-quiz-side__list li { position: relative; padding-left: 26px; line-height: 1.4; color: rgba(255,255,255,.95); }
.svb-quiz-side__list li strong { color: #fff; }
.svb-quiz-side__list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.svb-quiz-side__list li::after {
  content: ""; position: absolute; left: 5px; top: calc(.35em + 4px);
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
}
.svb-quiz-side__btn { width: 100%; justify-content: center; background: rgba(255,255,255,.95) !important; }
.svb-quiz-side__btn .btn-txt { color: #0d2b3e; }

@media (max-width: 900px) {
  .svb-quiz-layout { grid-template-columns: 1fr; }
  .svb-quiz-side__photo { min-height: 200px; max-height: 280px; }
}

/* ===== Pricing «Сколько стоит» v2 — price-focused, отличается от danger ===== */
.svb-price2 { display: flex; flex-direction: column; gap: 18px; }
.svb-price2-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, #3d9b9c 0%, #51bcb2 50%, #2a8586 100%);
  border-radius: 2.1875rem; padding: 36px 44px; color: #fff;
  position: relative; overflow: hidden;
}
.svb-price2-hero::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 16rem; height: 100%;
  background: url("/img/direction-decor-rings.svg") no-repeat right bottom / contain;
  opacity: .25; pointer-events: none;
}
.svb-price2-hero__left { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.svb-price2-badge {
  display: inline-block; width: max-content;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.2); padding: 4px 12px; border-radius: 999px;
}
.svb-price2-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.svb-price2-from { font-size: 1.1rem; opacity: .85; }
.svb-price2-amount { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: 3rem; line-height: 1; color: #fff; }
.svb-price2-amount--ask { font-size: 2rem; }
.svb-price2-unit { font-size: 1.1rem; opacity: .85; }
.svb-price2-result { margin: 4px 0 0; color: rgba(255,255,255,.92); line-height: 1.45; max-width: 36rem; }
.svb-price2-hero__btn { position: relative; z-index: 1; flex-shrink: 0; background: #fff !important; }
.svb-price2-hero__btn .btn-txt { color: #0d2b3e; }

.svb-price2-incl {
  background: #fff; border-radius: 2.1875rem; padding: 36px 44px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
}
.svb-price2-incl__title { font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: 1.5rem; color: #151516; margin: 0 0 22px; }
.svb-price2-incl__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px;
}
.svb-price2-incl__item { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; color: #151516; }
.svb-price2-incl__check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(51,145,144,.12); color: #339190;
  display: flex; align-items: center; justify-content: center;
}
.svb-price2-incl__check svg { width: 16px; height: 16px; }
.svb-price2-incl__note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #e1ebf2; color: #676767; font-size: 14px; }

@media (max-width: 720px) {
  .svb-price2-hero, .svb-price2-incl { padding: 28px 24px; }
  .svb-price2-hero { flex-direction: column; align-items: stretch; }
  .svb-price2-hero__btn { width: 100%; justify-content: center; }
  .svb-price2-incl__list { grid-template-columns: 1fr; }
  .svb-price2-amount { font-size: 2.4rem; }
}

/* ===== Фикс: direction карточки 5-6 (без фото) — видимые, полноширокие ===== */
.direction-cards .direction-card:nth-child(5),
.direction-cards .direction-card:nth-child(6) {
  grid-column: span 6;
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.direction-cards .direction-card:nth-child(6) .card-txt > * { color: #fff !important; }
@media (max-width: 1023px) {
  .direction-cards .direction-card:nth-child(5),
  .direction-cards .direction-card:nth-child(6) { grid-column: span 12; min-height: 12rem; }
}

/* ===== Direction v2 — своя сетка, все 6 карточек видны (не зависит от nth-child) ===== */
.svp-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svp-dir-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 2.1875rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
  transition: transform .2s, box-shadow .2s;
  min-height: 18rem;
}
.svp-dir-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, .1); }
.svp-dir-card__img { aspect-ratio: 16 / 11; overflow: hidden; background: #f2f6f9; }
.svp-dir-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.svp-dir-card:hover .svp-dir-card__img img { transform: scale(1.05); }
.svp-dir-card__body { padding: 24px 28px 28px; position: relative; flex: 1; display: flex; flex-direction: column; }
.svp-dir-card__title { margin: 0 0 8px; color: #151516; line-height: 1.2; }
.svp-dir-card__desc { margin: 0; color: #676767; line-height: 1.45; padding-right: 28px; }
.svp-dir-card__arrow {
  position: absolute; right: 24px; bottom: 26px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(51,145,144,.1); color: #339190;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; transition: all .2s;
}
.svp-dir-card:hover .svp-dir-card__arrow { background: #339190; color: #fff; }
/* Акцентная карточка наркомании — teal-градиент, без фото, надёжно видна */
.svp-dir-card--accent {
  background: linear-gradient(135deg, #3d9b9c 0%, #51bcb2 50%, #2a8586 100%);
  justify-content: flex-end;
}
.svp-dir-card--accent .svp-dir-card__body { justify-content: flex-end; }
.svp-dir-card--accent .svp-dir-card__title,
.svp-dir-card--accent .svp-dir-card__desc { color: #fff; }
.svp-dir-card--accent .svp-dir-card__arrow { background: rgba(255,255,255,.2); color: #fff; }
.svp-dir-card--accent:hover .svp-dir-card__arrow { background: #fff; color: #339190; }
@media (max-width: 980px) { .svp-dir-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svp-dir-grid { grid-template-columns: 1fr; } }

/* fix: card-info-small + card-primary — тиловый акцент карточки этапа (специфичность поверх белого фона .card-info-small) */
.card-info-small.card-primary{background:linear-gradient(135deg,#3d9b9c 0%,#51bcb2 50%,#2a8586 100%);color:#fff;}
.card-info-small.card-primary p,.card-info-small.card-primary .bold-28,.card-info-small.card-primary .medi-20{color:#fff;}
/* === Отзывы на /otzuvi — статичная masonry-сетка (без слайдера) === */
.svp-reviews-grid { columns: 2; column-gap: 1.875rem; }
.svp-reviews-grid > .review-card { break-inside: avoid; margin: 0 0 1.875rem; width: 100%; }
@media (max-width: 900px) { .svp-reviews-grid { columns: 1; } }

/* === Иконочные карточки направлений (лечение алкоголизма/наркомании) === */
.svp-dir-card__img--icon { background: #fff; display: flex; align-items: center; justify-content: center; }
.svp-dir-card__img--icon img { object-fit: contain; padding: clamp(1.25rem, 3vw, 2.25rem); }
.svp-dir-card:hover .svp-dir-card__img--icon img { transform: none; }
.svp-dir-card--accent { justify-content: flex-start; }
.svp-dir-card--accent .svp-dir-card__body { justify-content: flex-start; }


/* «Чем мы отличаемся» — акцентная карточка «Без учёта»: гарантируем белый текст на тиле */
.advantage-card.card-primary,
.advantage-card.card-primary p { color: #fff; }
/* === Иконки в цветных кнопках — принудительно белые (у svg-medal градиент, у svg-users фикс. #B1CADD, у carret серый) === */
.btn-primary .btn-circle svg path,
.btn-secondary .btn-circle svg path { fill: #fff !important; }
.btn-primary .btn-circle .svg-carret-right,
.btn-secondary .btn-circle .svg-carret-right { color: #fff !important; stroke: #fff !important; }

/* === Иконки направлений крупнее (меньше внутренний отступ) === */
.svp-dir-card__img--icon { aspect-ratio: 16 / 12; }
.svp-dir-card__img--icon img { padding: clamp(0.5rem, 1.2vw, 0.9rem); }
/* === Мобилка: d-grid карточки в столбик (span-4/6 не жмём в ряд на телефонах) === */
@media (max-width: 600px) {
  .d-grid { grid-template-columns: 1fr; }
  .d-grid > * { grid-column: 1 / -1 !important; }
}
