/* ========== Figma variables (цвета из макета) ========== */
:root {
  /* Цвета */
  --primary-50: #E3EBF3;
  --primary-100: #B6C5D5;
  --primary-200: #577492;
  --primary-800: #1D3248;
  --main-white: #FFFFFF;
  --main-black: #272729;
  --states-green: #5AD56C;
  --hero-bg: #172036;
  --card-bg: #1E2A3D;
  --btn-demo-bg: #2D3A4F;
  --tab-inactive-bg: #253246;
  --tab-inactive-text: #8B9AAF;
  --gradient-title-start: #8B7CF0;
  --gradient-title-end: #6BA3E8;
  /* Градиент Galenos логотипа */
  --gradient-logo-start: #B171E9;
  --gradient-logo-end: #077DDE;
  --icon-purple-bg: #6B5BCC;

  /* Типографика из макета */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-10: 10px;
  --font-size-11: 11px;
  --font-size-13: 13px;
  --font-size-14: 14px;
  --font-size-15: 15px;
  --font-size-16: 16px;
  --font-size-18: 18px;
  --font-size-20: 20px;
  --font-size-22: 22px;
  --font-size-64: 64px;
  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.45;
  --letter-spacing-tight: -0.03em;
  --letter-spacing-normal: -0.02em;
  --font-weight-medium: 400;
  --font-weight-semibold: 500;
  --font-weight-bold: 700;

  /* Отступы и радиусы из макета */
  --radius-8: 8px;
  --radius-10: 10px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-28: 28px;
  --radius-36: 36px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-28: 28px;

  /* Максимальная ширина контента блоков. Для исключений задайте у секции свой max-width или класс .section--full { max-width: none; } */
  --content-max-width: 1240px;

  /* Мобильная версия: отступы от краёв при ширине 375px и меньше */
  --mobile-padding: 12px;

  /* Отступы: внутри блока — 20px, между блоками — 40px */
  --block-gap: 40px;
  --section-gap: 20px;
}

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

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  line-height: var(--line-height-normal);
  color: var(--main-black);
  background: var(--main-white);
  -webkit-font-smoothing: antialiased;
}

/* Дефолтный масштаб 85% для десктопной версии */
@media (min-width: 1024px) {
  html {
    zoom: 0.85;
  }

  /* На /thanks/ zoom ломает сочетание 100dvh и сетки — под футером остаётся пустое место */
  html:has(body.thanks-page_figma) {
    zoom: 1;
  }
}

h2 {
  font-weight: 500;
}

/* Компенсация высоты фиксированного хедера */
main {
  padding-top: 98px;
}

/* Объединённый блок лендинга: hero + cards + features */
.landing-block {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* Header — на белом фоне, закреплён сверху при скролле */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: var(--space-20) var(--space-40);
  background: var(--main-white);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header_scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-32);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__icon {
  width: 210px;
  height: 51px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.nav-tabs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 600px;
  background: #E8ECF2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-tabs__item {
  flex: 1;
  padding: 20px var(--space-24);
  border: none;
  font-family: var(--font-family);
  font-size: var(--font-size-15);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Неактивный левый — скругление только слева */
.nav-tabs__item:first-child:not(.nav-tabs__item_active) {
  border-radius: 10px 0 0 10px;
}

/* Неактивный правый — скругление только справа */
.nav-tabs__item:last-child:not(.nav-tabs__item_active) {
  border-radius: 0 10px 10px 0;
}

/* Активный таб: скруглён со всех сторон (и слева, и справа) */
.nav-tabs__item_active {
  background: var(--primary-800);
  color: var(--main-white);
  border-radius: 10px;
}

/* Неактивный: светлый фон, приглушённый синевато-серый текст */
.nav-tabs__item:not(.nav-tabs__item_active) {
  background: #E8ECF2;
  color: var(--primary-200);
}

.nav-tabs__item:not(.nav-tabs__item_active):hover {
  background: #DDE2E9;
  color: var(--primary-800);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-12);
  display: flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--main-white);
  transition: transform 0.2s ease;
}

.icon-btn:hover {
  transform: scale(1.1);
}

.icon-btn img {
  display: block;
}

/* Max: градиентный скруглённый квадрат из SVG, без фона кнопки */
.icon-btn_max {
  background: transparent;
  padding: 0;
}

.icon-btn_max img {
  width: 36px;
  height: 36px;
}

/* Конверт: тёмно-синий круг и белая иконка уже в SVG */
.icon-btn_envelope {
  background: transparent;
  padding: 0;
}

.icon-btn_envelope img {
  width: 36px;
  height: 36px;
}

/* Hero */
.hero {
  background: #1D3248;
  margin: 20px auto 0;
  padding: 40px 40px 20px;
  max-width: var(--content-max-width);
  border-radius: 12px;
}

.hero__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-64);
  align-items: center;
}

.hero__content {
  width: 750px;
  max-width: 100%;
}

.hero__title {
  margin: 0 0 var(--space-24);
  line-height: 0;
}

.hero__title-logo {
  display: block;
  width: 622px;
  max-width: 100%;
  height: auto;
}

.hero__desc {
  margin: 0 0 var(--space-32);
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: var(--line-height-normal);
  color: var(--main-white);
  opacity: 0.95;
}

.hero__list {
  margin: 0 0 var(--space-40);
  padding: 0;
  list-style: none;
}

.hero__list-item {
  position: relative;
  padding-left: var(--space-32);
  margin-bottom: var(--space-16);
  font-family: var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: #B6C5D5;
}

.hero__list-item:last-child {
  margin-bottom: 0;
}

.hero__check {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

/* Общий стиль кнопок «Получить демо» */
.hero__cta,
.challenges__cta,
.assistant__cta {
  display: inline-block;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  padding: var(--space-16) var(--space-32);
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 300;
  border-radius: var(--radius-12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.hero__cta {
  color: var(--main-black);
  background: var(--main-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero__cta:hover,
.assistant__cta:hover {
  background: var(--primary-50);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Картинка смартфона в hero */
.hero__phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__phone-img {
  max-width: 100%;
  width: 320px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Cards section — на белом фоне страницы */
.cards {
  padding: 20px 0 20px;
  background: var(--main-white);
}

.cards__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  padding: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-16);
  overflow: hidden;
}

.card_patients {
  background-image: url('assets/png/card-patients.png');
}

.card_doctors {
  background-image: url('assets/png/card-doctors.png');
}

.card_clinic {
  background-image: url('assets/png/card-clinic.png');
}

.card__title {
  margin: 0 0 10px;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--main-white);
  position: relative;
  z-index: 1;
}

.card__desc {
  margin: 0;
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: var(--main-white);
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Features block — сетка 2×2 с разделителями */
.features {
  position: relative;
  padding: 0 0 0;
  background: var(--main-white);
}

.features__inner {
  position: relative;
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.features__inner::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 34px;
  background: var(--main-white);
  z-index: 1;
  pointer-events: none;
}

.features__item {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  padding: var(--space-24) var(--space-32);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.features__item:nth-child(2n) {
  border-right: none;
}

.features__item:nth-child(3),
.features__item:nth-child(4) {
  border-bottom: none;
}

.features__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features__icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.features__text {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: var(--main-black);
  opacity: 0.9;
}

/* Challenges block — типичные проблемы онкопациентов */
.challenges {
  margin-top: var(--block-gap);
  padding: 0;
  background: var(--main-white);
}

.challenges__title {
  margin: 0 auto 20px;
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: #1D3248;
  text-align: center;
  max-width: 800px;
  display: block;
}

.challenges__grid {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.challenge-card {
  padding: 20px;
  background: #F6F7F9;
  border-radius: var(--radius-16);
}

.challenge-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  margin-bottom: 10px;
}

.challenge-card__num {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #E3EBF3;
  color: #293F56;
  font-family: var(--font-family);
  font-size: 26px;
  font-weight: var(--font-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.challenge-card__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
  line-height: var(--line-height-snug);
  color: #293F56;
}

.challenge-card__text {
  margin: 0;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: #577492;
}

.challenges__cta-wrap {
  max-width: var(--content-max-width);
  margin: 0 auto;
  text-align: center;
}

.challenges__cta {
  color: var(--main-white);
  background: var(--primary-800);
  border: 1px solid transparent;
}

.challenges__cta:hover {
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Assistant block — Galenos.AI цифровой ассистент (тёмный фон) */
.assistant {
  position: relative;
  margin-top: 20px;
  padding: 20px 0;
  background: var(--primary-800);
  overflow: hidden;
}

.assistant__chip {
  position: absolute;
  width: 520px;
  height: 520px;
  background-image: url('assets/png/chip-icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.assistant__chip_tl {
  left: 40px;
  top: 100px;
  transform: translate(-25%, -25%);
}

.assistant__chip_br {
  right: 40px;
  bottom: 100px;
  transform: translate(25%, 25%);
  background-position: right bottom;
}

@media (max-width: 1280px) {
  .step-card__left {
    flex: 0 0 300px;
    width: 300px;
  }

  .step-card__text {
    flex: 0 0 380px;
    width: 380px;
  }


  .assistant__chip_tl {
    left: 0;
  }

  .assistant__chip_br {
    right: 0;
  }
}

@media (min-width: 1200px) {
  .assistant__chip {
    width: 640px;
    height: 640px;
  }

  .assistant__chip_tl {
    left: 80px;
  }

  .assistant__chip_br {
    right: 80px;
  }
}

@media (min-width: 1600px) {
  .assistant__chip {
    width: 780px;
    height: 780px;
  }

  .assistant__chip_tl {
    left: 120px;
  }

  .assistant__chip_br {
    right: 120px;
  }
}

.assistant > .assistant__title,
.assistant > .assistant__tagline,
.assistant > .assistant__steps,
.assistant > .assistant__cta-wrap {
  position: relative;
  z-index: 1;
}

.assistant__title {
  margin: 0 auto 20px;
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--main-white);
  text-align: center;
  max-width: var(--content-max-width);
  display: block;
}


.assistant__tagline {
  margin: 0 auto 20px;
  padding: 16px 20px;
  width: fit-content;
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: var(--font-weight-semibold);
  color: var(--main-white);
  text-align: center;
  background: linear-gradient(90deg, var(--gradient-logo-start), var(--gradient-logo-end));
  border-radius: var(--radius-12);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.assistant__steps {
  max-width: var(--content-max-width);
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  padding: 20px;
  background: var(--btn-demo-bg);
  border-radius: 12px;
}

.step-card__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card__icon img {
  width: 72px;
  height: 72px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.step-card__left {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  flex: 0 0 360px;
  width: 360px;
}

.step-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  flex-shrink: 0;
  margin-bottom: 0;
}

.step-card__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #E3EBF3;
  color: #293F56;
  font-family: var(--font-family);
  font-size: 26px;
  font-weight: var(--font-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card__title {
  margin: 0;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  color: var(--main-white);
}

.step-card__text {
  margin: 0 0 0 auto;
  flex: 0 0 480px;
  width: 480px;
  text-align: left;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: var(--primary-100);
}

.assistant__cta-wrap {
  max-width: var(--content-max-width);
  margin: 0 auto;
  text-align: center;
}

.assistant__cta {
  color: var(--main-black);
  background: var(--main-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Showcase block — «Внедрение проактивного подхода» из Figma Onkoalertnes */
.showcase {
  margin-top: var(--block-gap);
  padding: 0;
  background: var(--main-white);
}

.showcase__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.showcase__title {
  margin: 0 auto 20px;
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: #1D3248;
  text-align: center;
  max-width: 900px;
  display: block;
}

.showcase__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.showcase-card {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 32px 40px;
  border-radius: var(--radius-16);
  overflow: hidden;
  min-height: 220px;
}

.showcase-card_doctor {
  background: #3498FB;
}

.showcase-card_marketer {
  background: #3D79E1;
}

.showcase-card_manager {
  background: #5E77E3;
}

.showcase-card_doctor .showcase-card__img-wrap,
.showcase-card_manager .showcase-card__img-wrap {
  right: 10px;
}

.showcase-card__content {
  flex: 1;
  max-width: 92%;
  padding-right: 240px;
}

.showcase-card__role {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.showcase-card__heading {
  margin: 0 0 16px;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
  line-height: var(--line-height-snug);
  color: #fff;
}

.showcase-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.showcase-card__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}

.showcase-card__list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #fff;
  line-height: 1;
}

.showcase-card__list li:last-child {
  margin-bottom: 0;
}

.showcase-card__img-wrap {
  position: absolute;
  right: 40px;
  bottom: 0;
  width: 220px;
  min-height: 180px;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.showcase-card__img-wrap:empty::after {
  content: '';
  width: 120px;
  height: 120px;
  background: var(--primary-100);
  border-radius: 50%;
  opacity: 0.4;
}

.showcase-card__img-wrap img {
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  object-position: bottom center;
  vertical-align: bottom;
}

.showcase__cta-wrap {
  text-align: center;
}

.showcase__cta {
  display: inline-block;
  width: 300px;
  min-width: 300px;
  max-width: 300px;
  padding: var(--space-16) var(--space-32);
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 300;
  color: var(--main-white);
  background: var(--primary-800);
  border: 1px solid transparent;
  border-radius: var(--radius-12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.showcase__cta:hover {
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Flow Slider — «Развитие клиники через заботу о пациентах» */
.flow-slider {
  margin-top: var(--block-gap);
  padding: 0;
}

.flow-slider__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.flow-slider__title {
  margin: 0 0 20px;
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: #1D3248;
  text-align: center;
  width: 100%;
  display: block;
}

.flow-slider__infographic {
  text-align: center;
  margin-bottom: 20px;
  background: #fff;
  padding: 0;
  border-radius: var(--radius-16);
}

.flow-slider__infographic img {
  max-width: 640px;
  width: 75%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.flow-slider__content-wrap {
  position: relative;
  border-radius: var(--radius-16);
  overflow: hidden;
}

.flow-slider__track {
  display: flex;
  transition: transform 0.4s ease;
  --slide-gap: 40px;
}

.flow-slider__content {
  flex: 0 0 100%;
  min-width: 100%;
  margin-right: var(--slide-gap);
}

.flow-slider__content:last-child {
  margin-right: 0;
}

.flow-slider__slide-img {
  display: block;
  width: 100%;
  height: auto;
}

.flow-slider__content-area {
  position: relative;
  min-height: 240px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  z-index: 1;
}

.flow-slider__text-col {
  position: relative;
  text-align: left;
  max-width: 45%;
  padding-right: 40px;
}

.flow-slider__preview {
  position: absolute;
  right: -40px;
  bottom: -160px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 72%;
  max-width: 680px;
}

.flow-slider__preview-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.flow-slider__headline {
  margin: 0 0 20px;
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 600;
  line-height: var(--line-height-snug);
  color: #fff;
}

.flow-slider__text {
  margin: 0;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.flow-slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  width: 100%;
  margin: 2px 0 0;
  background: var(--main-white);
}

.flow-slider__nav-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-white);
  border: 1px solid #d1d5db;
  border-radius: 10px;
  color: #9ca3af;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
}

.flow-slider__nav-btn:not(.flow-slider__nav-btn_disabled) {
  border-color: #6b7280;
  color: #374151;
}

.flow-slider__nav-btn:hover:not(.flow-slider__nav-btn_disabled) {
  border-color: #4b5563;
  color: #1f2937;
  transform: scale(1.08);
}

.flow-slider__nav-btn_disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.flow-slider__dots {
  display: flex;
  gap: 8px;
}

.flow-slider__dot {
  width: 24px;
  height: 6px;
  padding: 0;
  background: #e5e7eb;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.flow-slider__dot:hover {
  background: #d1d5db;
}

.flow-slider__dot_active {
  background: #6b7280;
  width: 32px;
}

/* Corporate Slider — «Корпоративная медицина» */
.corporate-slider {
  margin-top: var(--block-gap);
  margin-bottom: 20px;
  padding: 0;
}

.corporate-slider__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.corporate-slider__title {
  margin: 0 0 20px;
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: #1D3248;
  text-align: center;
  width: 100%;
}

.corporate-slider__content-wrap {
  position: relative;
  border-radius: var(--radius-16);
  overflow: hidden;
  background: #f3f4f6;
}

.corporate-slider__track {
  display: flex;
  transition: transform 0.4s ease;
  --slide-gap: 40px;
}

.corporate-slider__content {
  flex: 0 0 100%;
  min-width: 100%;
  margin-right: var(--slide-gap);
}

.corporate-slider__content:last-child {
  margin-right: 0;
}

.corporate-slider__slide-img {
  display: block;
  width: 100%;
  height: auto;
}

.corporate-slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  width: 100%;
  margin: 20px 0 0;
  background: var(--main-white);
}

.corporate-slider__nav-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-white);
  border: 1px solid #d1d5db;
  border-radius: 10px;
  color: #9ca3af;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
}

.corporate-slider__nav-btn:not(.corporate-slider__nav-btn_disabled) {
  border-color: #6b7280;
  color: #374151;
}

.corporate-slider__nav-btn:hover:not(.corporate-slider__nav-btn_disabled) {
  border-color: #4b5563;
  color: #1f2937;
  transform: scale(1.08);
}

.corporate-slider__nav-btn_disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.corporate-slider__dots {
  display: flex;
  gap: 8px;
}

.corporate-slider__dot {
  width: 24px;
  height: 6px;
  padding: 0;
  background: #e5e7eb;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.corporate-slider__dot:hover {
  background: #d1d5db;
}

.corporate-slider__dot_active {
  background: #6b7280;
  width: 32px;
}

.corporate-slider__cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  margin-top: 20px;
  background: #172036;
  border-radius: var(--radius-16);
}

.corporate-slider__cta-content {
  flex: 1;
  min-width: 0;
}

.corporate-slider__cta-brand {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 0 40px;
  object-fit: contain;
}

.corporate-slider__cta-desc {
  margin: 0;
  font-family: var(--font-family);
  font-size: 26px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.corporate-slider__cta-btn {
  flex-shrink: 0;
  width: 300px;
  min-width: 200px;
  max-width: 300px;
  padding: var(--space-16) var(--space-32);
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 300;
  color: var(--main-black);
  background: var(--main-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.corporate-slider__cta-btn:hover {
  background: var(--primary-50);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Funnel block — «Фокус на ранней диагностике» */
.funnel-block {
  margin-top: 20px;
  padding: 20px 0;
  background: #f0f4f8;
}

.funnel-block__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.funnel-block__title {
  margin: 0 0 20px;
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: #1D3248;
  text-align: center;
}

.funnel-block__intro {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 20px 32px;
  background: var(--main-white);
  border-radius: var(--radius-12);
  text-align: center;
}

.funnel-block__intro p {
  margin: 0;
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.5;
  color: #1D3248;
}

.funnel-block__viz {
  margin: 0 auto 20px;
  text-align: center;
}

.funnel-block__img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
}

.funnel-block__summary {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 20px 32px;
  background: var(--main-white);
  border-radius: var(--radius-12);
  text-align: center;
}

.funnel-block__summary-head {
  margin: 0;
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #1D3248;
}

.funnel-block__summary-text {
  margin: 0;
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.5;
  color: #1D3248;
}

.funnel-block__cta-wrap {
  text-align: center;
}

.funnel-block__cta {
  display: inline-block;
  width: 300px;
  min-width: 200px;
  max-width: 300px;
  padding: var(--space-16) var(--space-32);
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 300;
  color: var(--main-white);
  background: var(--primary-800);
  border: 1px solid transparent;
  border-radius: var(--radius-12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.funnel-block__cta:hover {
  background: var(--card-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ========== Блок «Работаем в ваших процессах» + «ТехЛАБ» ========== */
.processes-block {
  margin-top: var(--block-gap);
}

.processes-block__top {
  padding: 0 var(--space-20);
}

.processes-block__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.processes-block__title {
  margin: 0 0 20px;
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: #1D3248;
  text-align: center;
  width: 100%;
}

.processes-block__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: stretch;
}

.processes-card {
  background: var(--main-white);
  border-radius: var(--radius-16);
  padding: var(--space-32);
}

.processes-card_features {
  background: #F6F7F9;
  padding: 0 var(--space-40);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.processes-card_features .processes-card__item {
  display: flex;
  gap: var(--space-20);
  align-items: center;
  max-width: 100%;
}

.processes-card_features .processes-card__item:not(:last-child) {
  margin-bottom: var(--space-20);
}

.processes-card__icon {
  flex-shrink: 0;
}

.processes-card__icon img {
  display: block;
  width: 64px;
  height: 64px;
}

.processes-card__text {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-18);
  line-height: var(--line-height-normal);
  color: var(--main-black);
}

.processes-card_img {
  padding: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.processes-card__img-wrap {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.processes-card__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

/* ТехЛАБ подблок */
.techlab-block {
  max-width: var(--content-max-width);
  margin: var(--space-20) auto 0;
  background: linear-gradient(rgba(29, 50, 72, 0.4), rgba(29, 50, 72, 0.4)), #E8EFF5 url('assets/png/techlab-bg.png') center / cover no-repeat;
  padding: var(--space-40);
  border-radius: var(--radius-16);
}

.techlab-block__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.techlab-block__title {
  margin: 0 0 var(--space-20);
  font-family: var(--font-family);
  font-size: 36px;
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: var(--main-white);
  text-align: center;
  width: 100%;
}

.techlab-block__badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.techlab-badge {
  display: flex;
  gap: var(--space-20);
  align-items: center;
  background: var(--main-white);
  border-radius: var(--radius-12);
  padding: var(--space-20) var(--space-40);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.techlab-badge__icon {
  flex-shrink: 0;
}

.techlab-badge__text {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-18);
  line-height: var(--line-height-normal);
  color: var(--main-black);
}

/* ========== Блок «Сделайте проактивную онконастороженность» + контакты менеджеров ========== */
.cta-managers-block {
  margin-top: var(--block-gap);
  padding: 0 var(--space-20);
  background: var(--main-white);
}

.cta-managers-block__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.cta-managers-block__title {
  margin: 0 0 20px;
  font-family: var(--font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: #1D3248;
  text-align: center;
}

.cta-managers-block__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-40);
  padding: 40px;
  margin-bottom: 20px;
  background: #1d3248;
  border-radius: var(--radius-16);
}

.cta-managers-block__text {
  margin: 0;
  flex: 1;
  font-family: var(--font-family);
  font-size: var(--font-size-18);
  line-height: var(--line-height-normal);
  color: var(--main-white);
}

.cta-managers-block__btn-wrap {
  flex-shrink: 0;
}

.cta-managers-block__btn {
  display: inline-block;
  min-width: 300px;
  padding: var(--space-16) var(--space-32);
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 300;
  color: var(--main-black);
  background: var(--main-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.cta-managers-block__btn:hover {
  background: var(--primary-50);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cta-managers-block__subtitle {
  margin: 0 0 20px;
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 500;
  line-height: var(--line-height-snug);
  color: #1D3248;
  text-align: center;
}

.manager-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
}

.manager-card {
  min-width: 0;
  background: #F6F7F9;
  border-radius: var(--radius-16);
  padding: var(--space-20) var(--space-24);
}

.manager-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.manager-card__photo-placeholder {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #F6F7F9;
  overflow: hidden;
}

.manager-card__photo-placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.manager-card__name {
  margin: 0 0 var(--space-4);
  font-family: var(--font-family);
  font-size: var(--font-size-18);
  font-weight: 600;
  line-height: var(--line-height-snug);
  color: var(--main-black);
}

.manager-card__role {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  line-height: var(--line-height-normal);
  color: rgba(29, 50, 72, 0.4);
}

.manager-card__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.manager-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-12);
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  color: #3366FF;
  text-decoration: none;
  border-radius: var(--radius-12);
  transition: color 0.2s, background 0.2s;
}

.manager-contact:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(51, 102, 255, 0.25);
}

.manager-contact:hover {
  color: #2952CC;
  background: rgba(51, 102, 255, 0.08);
}

.manager-contact__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #F6F7F9;
  border-radius: 50%;
  transition: background 0.2s;
}

.manager-contact:hover .manager-contact__icon {
  background: transparent;
}

.manager-contact__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========== Footer ========== */
.footer {
  margin-top: var(--block-gap);
  padding: var(--space-40) var(--space-20);
  background: var(--primary-800);
}

.footer__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-40);
  align-items: flex-start;
}

.footer__brand {
  flex-shrink: 0;
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--space-20);
}

.footer__logo img {
  display: block;
  height: 40px;
  width: auto;
}

.footer__desc {
  margin: 0 0 var(--space-16);
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: var(--primary-100);
  max-width: 400px;
}

.footer__address {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.6);
}

.footer__contacts {
  display: flex;
  gap: var(--space-64);
  align-items: flex-start;
  flex-shrink: 0;
}

.footer__contact-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.footer__contact-item_mt {
  margin-top: var(--space-24);
}

.footer__contact-label {
  font-family: var(--font-family);
  font-size: var(--font-size-16);
  font-weight: 500;
  color: var(--main-white);
}

.footer__contact-value {
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

a.footer__contact-value:hover {
  color: var(--main-white);
}

.footer__divider {
  height: 1px;
  margin: var(--space-32) 0;
  background: rgba(255, 255, 255, 0.2);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-16);
}

.footer__copyright {
  margin: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  align-items: center;
}

.footer__link {
  font-family: var(--font-family);
  font-size: var(--font-size-14);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--main-white);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__list-item {
    text-align: left;
  }

  .cards__inner {
    grid-template-columns: 1fr;
  }

  .features__inner {
    grid-template-columns: 1fr;
  }

  .features__item:nth-child(2n) {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
  }

  .features__item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .challenges__grid {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .showcase-card__content {
    max-width: 100%;
    padding-right: 0;
  }

  .showcase-card__img-wrap {
    position: static;
  }

  .showcase-card__list {
    text-align: left;
  }

  .flow-slider__content-area {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .flow-slider__text-col {
    text-align: center;
    max-width: 100%;
    padding-right: 0;
    order: 1;
  }

  .flow-slider__preview {
    position: static;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    order: 2;
  }

  .flow-slider__headline {
    font-size: 22px;
  }

  .flow-slider__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .flow-slider__infographic {
    margin-bottom: 16px;
  }

  .corporate-slider__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .funnel-block__title {
    font-size: 28px;
  }

  .funnel-block__intro,
  .funnel-block__summary {
    padding: 20px 24px;
    margin-bottom: 20px;
  }

  .processes-block__cards {
    grid-template-columns: 1fr;
  }

  .processes-block__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .techlab-block__title {
    font-size: 26px;
  }

  .cta-managers-block__panel {
    flex-direction: column;
    text-align: center;
  }

  .manager-cards {
    grid-template-columns: 1fr;
  }

  .cta-managers-block__title {
    font-size: 28px;
  }
}

/* Мобильная версия: от 375px, отступы 12px по бокам */
@media (max-width: 768px) {
  /* Высота хедера ~120px; 20px между табами и hero — через padding, чтобы не схлопывалось */
  main {
    padding-top: 120px;
  }

  .landing-block {
    padding-top: 20px;
  }

  .header {
    padding: var(--space-12) var(--mobile-padding);
  }

  .header__inner {
    flex-wrap: wrap;
    gap: var(--space-12);
  }

  .logo__icon {
    width: auto;
    height: 32px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .icon-btn_max img,
  .icon-btn_envelope img {
    width: 28px;
    height: 28px;
  }

  .header__actions {
    gap: var(--space-8);
  }

  /* 20px между лого+иконки и табами: gap даёт 12px, margin-top добавляет 8px */
  .nav-tabs {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    margin-top: 8px;
  }

  /* При скролле табы скрываются — остаются только в начале страницы */
  .header_scrolled .nav-tabs {
    display: none;
  }

  .nav-tabs__item {
    flex: 1 1 0;
    padding: 10px var(--space-12);
    font-size: var(--font-size-14);
  }

  /* 12px паддинги со всех сторон; 20px сверху (landing-block) + 8px (hero margin) */
  .hero {
    padding: var(--mobile-padding);
    margin: 8px var(--mobile-padding) 0;
    border-radius: var(--radius-12);
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .hero__content {
    order: 1;
  }

  .hero__title {
    text-align: left;
  }

  .hero__title-logo {
    width: auto;
    max-width: 280px;
    height: 56px;
    object-fit: contain;
    display: block;
  }

  .hero__desc {
    font-size: 20px;
    margin-bottom: var(--space-24);
    text-align: left;
  }

  .hero__list-item {
    font-size: 16px;
    padding-left: var(--space-24);
    margin-bottom: var(--space-12);
  }

  .hero__list {
    margin-bottom: var(--space-24);
  }

  .hero__cta {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: var(--space-16) var(--space-24);
  }

  .hero__phone {
    display: none;
  }

  .cards {
    padding: 12px var(--mobile-padding) 0;
  }

  .cards__inner {
    gap: 12px;
    grid-auto-rows: 1fr;
  }

  .card {
    padding: 20px;
  }

  .card__title {
    font-size: 20px;
  }

  .card__desc {
    font-size: 16px;
  }

  .features {
    padding: 0 var(--mobile-padding);
  }

  .features__inner {
    border: none;
  }

  .features__inner::after {
    display: none;
  }

  .features__item,
  .features__item:nth-child(2n),
  .features__item:nth-child(3),
  .features__item:nth-child(4) {
    border: none !important;
    border-right: none !important;
    border-bottom: none !important;
    box-shadow: none;
    outline: none;
  }

  .features__item {
    padding: 12px var(--space-24);
    gap: 12px;
  }

  .features__icon {
    width: 42px;
    height: 42px;
  }

  .features__icon img {
    width: 42px;
    height: 42px;
  }

  .features__text {
    font-size: var(--font-size-14);
  }

  .challenges {
    margin-top: 24px;
    padding: 0 var(--mobile-padding);
  }

  .challenges__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .challenges__grid {
    margin-bottom: 12px;
    gap: 12px;
    max-width: none;
    width: 100%;
  }

  .challenge-card {
    padding: 12px;
    width: 100%;
  }

  .challenge-card__header {
    display: block;
    overflow: hidden;
  }

  .challenge-card__num {
    float: left;
    margin-right: 12px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .challenge-card__title {
    font-size: 19px;
    display: block;
  }

  .challenge-card__text {
    font-size: 16px;
  }

  .challenges__cta-wrap {
    max-width: none;
    width: 100%;
  }

  .challenges__cta {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .assistant {
    padding: 20px var(--mobile-padding);
  }

  .assistant__chip {
    width: 420px;
    height: 420px;
  }

  .assistant__chip_tl {
    left: 0;
  }

  .assistant__chip_br {
    right: 0;
  }

  .assistant__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .assistant__tagline {
    font-size: 19px;
    padding: 12px 16px;
    margin-bottom: 12px;
  }

  .assistant__steps {
    margin-bottom: 12px;
    gap: 12px;
  }

  .step-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 12px;
    padding: 20px;
  }

  .step-card__left {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    gap: 12px;
  }

  .step-card__header {
    min-width: 0;
    flex: 1;
    gap: 12px;
  }

  .step-card__num {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .step-card__title {
    font-size: 19px;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
  }

  .step-card:nth-child(3) .step-card__title,
  .step-card:nth-child(5) .step-card__title {
    white-space: normal;
  }

  .step-card__text {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    text-align: left;
    font-size: 16px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .step-card__icon {
    width: 40px;
    height: 40px;
  }

  .step-card__icon img {
    width: 40px;
    height: 40px;
  }

  .assistant__cta-wrap {
    max-width: none;
    width: 100%;
  }

  .assistant__cta {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .showcase {
    margin-top: 12px;
    padding: 0 var(--mobile-padding);
  }

  .showcase__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .showcase__cards {
    margin-bottom: 12px;
    gap: 12px;
  }

  .showcase__cta-wrap {
    max-width: none;
    width: 100%;
  }

  .showcase__cta {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .showcase-card {
    padding: 24px 20px;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .showcase-card__content {
    max-width: 100%;
    padding-right: 0;
    text-align: left;
  }

  .showcase-card__role {
    font-size: 12px;
  }

  .showcase-card__heading {
    font-size: 19px;
  }

  .showcase-card__list li {
    font-size: 16px;
    text-align: left;
  }

  .showcase-card__img-wrap {
    display: none;
  }

  .showcase-card_doctor {
    background-image: url('assets/png/showcase-doctor-mobile.png');
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
  }

  .showcase-card_marketer {
    background-image: url('assets/png/showcase-marketer-mobile.png');
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
  }

  .showcase-card_manager {
    background-image: url('assets/png/showcase-manager-mobile.png');
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
  }

  .flow-slider {
    margin-top: 24px;
    padding: 0 var(--mobile-padding);
  }

  .flow-slider__infographic {
    padding: 0;
    margin-bottom: 12px;
  }

  .flow-slider__infographic img {
    width: 100%;
    max-width: none;
  }

  .flow-slider__slide-img {
    width: 100%;
    max-width: none;
  }

  .flow-slider__title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .flow-slider__headline {
    font-size: 20px;
  }

  .flow-slider__preview {
    max-width: 340px;
  }

  .flow-slider__text {
    font-size: 16px;
  }

  .flow-slider__content-wrap {
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
  }

  .flow-slider__track {
    --slide-gap: 0;
  }

  .flow-slider__content {
    margin-right: 0;
  }

  .flow-slider__content picture {
    display: block;
    width: 351px;
    max-width: 100%;
    margin: 0 auto;
  }

  .flow-slider__slide-img {
    display: block;
    width: 351px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 351 / 507;
    object-fit: cover;
    object-position: center;
  }

  .flow-slider__nav {
    display: flex;
    margin-top: 12px;
    padding: 0;
    justify-content: space-between;
    align-items: center;
  }

  .flow-slider__nav-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .flow-slider__dots {
    gap: 10px;
  }

  .flow-slider__dot {
    width: 28px;
    height: 6px;
  }

  .flow-slider__dot_active {
    width: 36px;
  }

  .corporate-slider {
    margin-top: 24px;
    padding: 0 var(--mobile-padding);
  }

  .corporate-slider__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .corporate-slider__content-wrap {
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
  }

  .corporate-slider__track {
    --slide-gap: 0;
  }

  .corporate-slider__content {
    margin-right: 0;
  }

  .corporate-slider__content picture {
    display: block;
    width: 351px;
    max-width: 100%;
    margin: 0 auto;
  }

  .corporate-slider__slide-img {
    display: block;
    width: 351px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 351 / 539;
    object-fit: cover;
    object-position: center;
  }

  .corporate-slider__nav {
    margin-top: 12px;
    padding: 0;
    justify-content: space-between;
  }

  .corporate-slider__dots {
    gap: 10px;
  }

  .corporate-slider__dot {
    width: 28px;
    height: 6px;
  }

  .corporate-slider__dot_active {
    width: 36px;
  }

  .corporate-slider__cta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px var(--mobile-padding);
    margin-top: 12px;
    gap: 12px;
  }

  .corporate-slider__cta-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .corporate-slider__cta-brand {
    height: 32px;
    margin: 0 auto 0;
  }

  .corporate-slider__cta-desc {
    font-size: 16px;
  }

  .corporate-slider__cta-btn {
    width: 100%;
    max-width: 100%;
  }

  .corporate-slider__nav-btn {
    width: 44px;
    height: 44px;
  }

  .funnel-block {
    padding: 20px var(--mobile-padding);
  }

  .funnel-block__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .funnel-block__inner {
    padding: 0;
  }

  .funnel-block__intro,
  .funnel-block__summary {
    padding: 12px;
    margin-bottom: 12px;
  }

  .funnel-block__intro p,
  .funnel-block__summary-head,
  .funnel-block__summary-text {
    font-size: 15px;
  }

  .funnel-block__viz {
    margin: 0 calc(-1 * var(--mobile-padding)) 12px;
    width: calc(100% + 2 * var(--mobile-padding));
    max-width: none;
  }

  .funnel-block__viz picture {
    display: block;
    width: 100%;
  }

  .funnel-block__viz .funnel-block__img {
    width: 100%;
    max-width: none;
  }

  .funnel-block__cta {
    width: 100%;
    max-width: none;
    min-width: 0;
    display: block;
    box-sizing: border-box;
  }

  .processes-block {
    margin-top: 20px;
  }

  .processes-block__top {
    padding: 0 var(--mobile-padding);
  }

  .processes-block__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .processes-block__cards {
    gap: 12px;
  }

  .processes-card {
    padding: 12px;
  }

  .processes-card_features .processes-card__item {
    gap: 12px;
  }

  .processes-card_features .processes-card__item:not(:last-child) {
    margin-bottom: 12px;
  }

  .processes-card_img {
    padding: 0;
  }

  .processes-card__icon img {
    width: 48px;
    height: 48px;
  }

  .processes-card__text {
    font-size: 16px;
  }

  .processes-card_img .processes-card__img {
    min-height: 180px;
  }

  .techlab-block {
    margin: 12px var(--mobile-padding) 0;
    padding: 12px;
  }

  .techlab-block__title {
    font-size: 20px;
    margin-bottom: 12px;
    text-align: left;
  }

  .techlab-block__badges {
    gap: 12px;
  }

  .techlab-badge {
    padding: 12px;
    gap: 12px;
  }

  .cta-managers-block {
    margin-top: 24px;
    padding: 0 var(--mobile-padding);
  }

  .cta-managers-block__inner {
    max-width: none;
  }

  .cta-managers-block__title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .cta-managers-block__panel {
    padding: 12px var(--mobile-padding);
    margin-bottom: 12px;
    gap: 12px;
  }

  .cta-managers-block__btn-wrap {
    width: 100%;
  }

  .cta-managers-block__btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .cta-managers-block__text {
    font-size: 16px;
  }

  .cta-managers-block__subtitle {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .manager-cards {
    gap: 12px;
  }

  .manager-card {
    padding: 12px;
    background: #F6F7F9;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  .manager-card__top {
    gap: 12px;
    margin-bottom: 12px;
  }

  .manager-card__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    align-items: start;
  }

  .manager-card__contacts .manager-contact::after {
    display: none;
  }

  .manager-card__contacts .manager-contact {
    padding: 0;
    color: #3366FF;
  }

  .manager-card__contacts .manager-contact__icon {
    width: 20px;
    height: 20px;
    background: transparent;
  }

  .techlab-badge__text {
    font-size: 14px;
  }

  .footer {
    margin-top: 24px;
    padding: var(--space-24) var(--mobile-padding);
  }

  .footer__top {
    flex-direction: column;
    gap: 20px;
  }

  .footer__logo {
    margin-bottom: 20px;
  }

  .footer__desc {
    margin-bottom: 20px;
  }

  .footer__contacts {
    flex-direction: column;
    gap: 20px;
  }

  .footer__contact-column {
    gap: 20px;
  }

  .footer__contact-item_mt {
    margin-top: 20px;
  }

  .footer__divider {
    margin: 20px 0;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ========== Модальное окно формы обратной связи ========== */
.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feedback-modal_visible {
  opacity: 1;
  visibility: visible;
}

.feedback-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 50, 72, 0.6);
  cursor: pointer;
}

.feedback-modal__content {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--main-white);
  border-radius: var(--radius-16);
  padding: var(--space-40);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.feedback-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-8);
}

.feedback-modal__title {
  margin: 0;
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-800);
  line-height: 1.2;
}

.feedback-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary-200);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-8);
  transition: color 0.2s, background 0.2s;
}

.feedback-modal__close:hover {
  color: var(--primary-800);
  background: var(--primary-50);
}

.feedback-modal__desc {
  margin: 0 0 var(--space-24);
  font-size: 18px;
  color: #1C3147;
  line-height: var(--line-height-normal);
  opacity: 0.9;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feedback-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feedback-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.feedback-form__label {
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-800);
}

.feedback-form__input {
  width: 100%;
  padding: 20px;
  font-family: var(--font-family);
  font-size: 16px;
  border: none;
  border-radius: var(--radius-10);
  background: #F2F1F1;
  color: #1D3248;
  transition: border-color 0.2s;
}

.feedback-form__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.feedback-form__input:focus {
  outline: none;
  border-color: var(--primary-200);
}

.feedback-form__textarea {
  min-height: 100px;
  resize: vertical;
}

.feedback-form__submit {
  margin-top: var(--space-8);
  padding: 20px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  color: var(--main-white);
  background: var(--primary-800);
  border: none;
  border-radius: var(--radius-12);
  cursor: pointer;
  transition: background 0.2s;
}

.feedback-form__submit:hover {
  background: var(--primary-200);
}

.feedback-form__disclaimer {
  margin: 0;
  font-size: 14px;
  text-align: center;
  line-height: var(--line-height-normal);
}

.feedback-form__policy-link {
  color: var(--primary-200);
  text-decoration: underline;
  transition: color 0.2s;
}

.feedback-form__policy-link:hover {
  color: var(--primary-800);
}

@media (max-width: 768px) {
  .feedback-modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .feedback-modal__content {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 20px;
  }

  .feedback-modal__title {
    font-size: 22px;
  }

  .feedback-form__row {
    grid-template-columns: 1fr;
  }
}

/* ========== Модальные окна политик ========== */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-20);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.policy-modal_visible {
  opacity: 1;
  visibility: visible;
}

.policy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 50, 72, 0.6);
  cursor: pointer;
}

.policy-modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 40px);
  min-height: 0;
  overflow: hidden;
  background: var(--main-white);
  border-radius: var(--radius-16) 32px 32px var(--radius-16);
  padding: var(--space-40);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.policy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}

.policy-modal__title {
  margin: 0;
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-800);
  line-height: 1.2;
}

.policy-modal__close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary-200);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-8);
  transition: color 0.2s, background 0.2s;
}

.policy-modal__close:hover {
  color: var(--primary-800);
  background: var(--primary-50);
}

.policy-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin-right: calc(-1 * var(--space-40) + 12px);
  padding-right: calc(var(--space-40) - 12px);
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary-800);
  /* Стилизация скроллбара */
  scrollbar-width: auto;
  scrollbar-color: var(--primary-200) transparent;
}
.policy-modal__body::-webkit-scrollbar {
  width: 12px;
}
.policy-modal__body::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 6px;
  margin: 4px 0;
}
.policy-modal__body::-webkit-scrollbar-thumb {
  background: var(--primary-200);
  border-radius: 6px;
}
.policy-modal__body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-800);
}

.policy-modal__body p {
  margin: 0 0 1em;
}

.policy-modal__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .policy-modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .policy-modal__content {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 20px;
  }

  .policy-modal__title {
    font-size: 22px;
  }

  .policy-modal__body {
    margin-right: 0;
    padding-right: 0;
  }
}

/* Страница благодарности (/thanks/) — только после успешной отправки формы */
.header_thanks-figma {
  backdrop-filter: blur(15.85px);
  -webkit-backdrop-filter: blur(15.85px);
}

/* Табы как на главной: те же размеры и скругления; без активного таба (оба «неактивные») */
.nav-tabs_thanks {
  background: #e8ecf2;
  border-radius: 10px;
  width: 600px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.nav-tabs_thanks .nav-tabs__item {
  flex: 1;
  padding: 20px var(--space-24);
  font-family: var(--font-family);
  font-size: var(--font-size-15);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  background: #e8ecf2 !important;
  color: var(--primary-200) !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.nav-tabs_thanks .nav-tabs__item:first-child:not(.nav-tabs__item_active) {
  border-radius: 10px 0 0 10px;
}

.nav-tabs_thanks .nav-tabs__item:last-child:not(.nav-tabs__item_active) {
  border-radius: 0 10px 10px 0;
}

.nav-tabs_thanks .nav-tabs__item:hover {
  background: #dde2e9 !important;
  color: var(--primary-800) !important;
}

.thanks-page_figma .icon-btn_envelope {
  text-decoration: none;
}

/* Под футером не должен проступать белый фон html (типично при zoom + min-height: 100vh) */
html:has(body.thanks-page_figma) {
  background-color: var(--primary-800);
  min-height: 100%;
  min-height: 100dvh;
}

/*
 * Страница «Спасибо»: колонка хедер | main | футер. main не схлопывается (есть min-height),
 * при нехватке места (зум, маленький экран) блок и страница просто выше вьюпорта — скролл окна.
 */
.thanks-page_figma {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--main-white);
}

.thanks-page_figma .thanks-layout {
  --thanks-main-min-height: clamp(260px, 38dvh, 420px);
  flex: 1 1 auto;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.thanks-page_figma .thanks-layout > header.header {
  flex-shrink: 0;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
}

.thanks-page_figma .thanks-layout > main.thanks-main_figma {
  flex: 1 1 auto;
  margin: 0;
  padding: var(--space-20) var(--space-40) var(--block-gap);
  min-height: var(--thanks-main-min-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  background: var(--main-white);
}

.thanks-page_figma .thanks-layout > footer.footer {
  flex-shrink: 0;
  width: 100%;
}

.thanks-main_figma .thanks-panel {
  /* Карточка фиксированной пропорции макета (1240×436), по центру по вертикали в растянутом main */
  flex: 0 0 auto;
  display: block;
  width: 100%;
  max-width: 1240px;
  aspect-ratio: 1240 / 436;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: var(--main-white);
  box-shadow: none;
}

/* SVG-баннер из макета на всю область панели */
.thanks-panel_svg-banner .thanks-panel__banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Текст поверх баннера — внутри баннера: 40px слева, 40px сверху и снизу */
.thanks-panel_svg-banner .thanks-panel__overlay {
  position: absolute;
  z-index: 1;
  left: var(--space-40);
  top: var(--space-40);
  bottom: var(--space-40);
  right: auto;
  width: min(520px, calc(50% - var(--space-40)));
  max-width: calc(100% - var(--space-40));
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.thanks-panel_svg-banner .thanks-panel__title {
  margin: 0;
  max-width: 491px;
  font-family: 'Golos Text', var(--font-family);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-tight);
  color: var(--main-white);
}

.thanks-panel_svg-banner .thanks-panel__subtitle {
  margin: 0;
  font-family: 'Golos Text', var(--font-family);
  font-size: clamp(18px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--main-white);
}

.thanks-panel_svg-banner .thanks-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 400px;
  max-width: 100%;
  padding: 20px 40px;
  font-family: 'Golos Text', var(--font-family);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--primary-800);
  background: var(--main-white);
  border-radius: 20px;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s, color 0.2s;
}

.thanks-panel_svg-banner .thanks-panel__cta:hover {
  background: var(--primary-50);
  color: var(--primary-800);
}

.thanks-footer-figma {
  margin-top: 0;
  margin-bottom: 0;
}

.thanks-footer-figma .footer__link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 768px) {
  .thanks-page_figma .thanks-layout {
    --thanks-main-min-height: clamp(200px, 42dvh, 300px);
  }

  header.header_thanks-figma.header .header__inner {
    justify-content: center;
    gap: var(--space-12);
  }

  header.header_thanks-figma.header .logo {
    order: 1;
  }

  header.header_thanks-figma.header .header__actions {
    order: 2;
    margin-left: auto;
  }

  .nav-tabs_thanks {
    order: 3;
  }

  .nav-tabs_thanks .nav-tabs__item {
    flex: 1 1 0;
    padding: 10px var(--space-12);
    font-size: var(--font-size-14);
  }

  .thanks-page_figma .thanks-layout > main.thanks-main_figma {
    padding: var(--space-16) var(--mobile-padding) 32px;
  }

  .thanks-main_figma .thanks-panel {
    flex: 0 0 auto;
    min-height: 200px;
    border-radius: var(--radius-12);
  }

  .thanks-panel_svg-banner .thanks-panel__banner {
    object-fit: contain;
    object-position: center center;
  }

  .thanks-panel_svg-banner .thanks-panel__overlay {
    left: var(--space-40);
    right: var(--space-40);
    width: auto;
    top: var(--space-40);
    bottom: var(--space-40);
    transform: none;
    padding: 0;
  }

  .thanks-panel_svg-banner .thanks-panel__title {
    max-width: none;
  }

  .thanks-panel_svg-banner .thanks-panel__cta {
    width: 100%;
  }
}
