/* stylelint-disable property-no-deprecated */
:root {
  /* ===== Цвета (из макета) ===== */
  --clr-white: #fff;
  --clr-bg: #fff; /* основной фон */
  --clr-bg-2: #faf9f7; /* второй фон */
  --clr-line: #e5e5e5; /* светлые линии/ бордеры */
  --clr-dark-900: #393a34; /* заголовки/тёмный текст */
  --clr-dark-800: #515247; /* обычный текст/иконки */
  --clr-dark-700: #555252; /* вторичный текст */
  --clr-accent-olive: #999b84; /* мягкие акценты/пилюли */
  --clr-hover: #fbf6ef; /* hover меню / мягкая подсветка */
  --clr-cream: #e8ddd3; /* бэйджи/фоновые блоки (из меню) */

  /* ===== Контейнер ===== */
  --container-max: 1480px; /* макет 1480 */
  --container-pad: 20px;

  /* ===== Типографика ===== */
  --ff-base: "Manrope", system-ui, -apple-system, "Segoe UI", roboto, arial,
    sans-serif;
  --ff-h: "Poppins", var(--ff-base);

  /* H1 из макета: ~44/45; на мобиле 28 */
  --fs-h1: clamp(28px, 3.3vw, 40px);
  --lh-h1: 1.03;
  --ls-h1: 0;

  /* H2: 28 → 50 */
  --fs-h2: clamp(28px, 3.8vw, 50px);
  --lh-h2: 1.02;
  --ls-h2: 0;

  /* H3/крупные цифры — тем же Poppins (чуть меньше H2) */
  --fs-h3: clamp(22px, 2.5vw, 34px);
  --lh-h3: 1.15;

  /* Подзаголовки под H2: 15 → 20; line-height 21 → 28.3 */
  --fs-sub20: clamp(15px, 1.7vw, 20px);
  --fs-sub27: clamp(20px, 2vw, 27px);
  --fs-sub37: clamp(28px, 3.2vw, 37px);
  --lh-sub: 1.3;

  /* Базовый текст */
  --fs-base: clamp(15px, 1.2vw, 18px);
  --lh-base: 1.6;

  /* Мелкий */
  --fs-sm: clamp(12px, 1vw, 14px);

  /* ===== Радиусы ===== */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* ===== Тени (по Figma, сведены в переменные) ===== */

  /* Лёгкая карточка (Инстаграм/карта лояльности) */
  --shadow-soft: 0.92px 0.69px 1.31px rgb(0 0 0 / 10%),
    3.62px 2.77px 2.77px rgb(0 0 0 / 5%), 7.39px 5.39px 3.7px rgb(0 0 0 / 1%),
    10.02px 8.17px 3.39px rgb(0 0 0 / 0%);

  /* Каскадная глубина (команда/аватары) — аналог скрина с #3E3B37 0–3% */
  --shadow-deep: 2.52px 2.52px 6.72px rgb(62 59 55 / 3%),
    8.4px 9.24px 12.6px rgb(62 59 55 / 3%),
    19.32px 21px 17.64px rgb(62 59 55 / 2%),
    35.28px 37.8px 21px rgb(62 59 55 / 0%),
    54.6px 58.8px 22.68px rgb(62 59 55 / 0%);

  /* ===== Кнопки ===== */
  --btn-h: 48px;
  --btn-pad-x: 30px;
  --btn-pad-y: 10px;
  --btn-border: 1px solid #000;
  --btn-bg: transparent;
  --btn-color: #000;
  --btn-hover-bg: var(--clr-accent-olive);
  --btn-radius: var(--radius-pill);

  /* Переходы */
  --tr-fast: 160ms ease;
  --tr-base: 240ms ease;
  --header-h: 80px;
  --line: 1px solid #000;
}
@font-face {
    font-family: 'Poppins New';
    font-weight: 400;
    font-style: normal;
    src: url("../fonts/PoppinsReg.woff2") format('woff2');
}

body::before {
  left: 0;
}

body::after {
  right: 0;
}

/* Конец: Временный оверлей: красные линии по краям экрана от горизонтального скролла */

/* ===== Reset/Нормализация (короткая) ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  /*scrollbar-gutter: stable both-edges;*/
}

body.scroll-lock {
  overflow: hidden;
  touch-action: none;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;

  background: transparent;

  font: 400 var(--fs-base) / var(--lh-base) var(--ff-base);
  color: var(--clr-dark-800);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

img,
svg,
video {
  display: block;

  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ===== Контейнер ===== */
.container {
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

@media (width <= 768px) {
  :root {
    --container-pad: 16px;
  }
}

/* ===== Типографика ===== */
h1,
h3,
h4 {
  color: var(--clr-dark-900);
}

h1 {
  margin: 0 0 25px;

  font-family: var(--ff-h);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  color: var(--clr-dark-800);
}

h2 {
  font-family: var(--ff-h);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h2);
  color: #000;
}

@media (width <= 768px) {
  :root {
    --fs-h2: 32px;
    --lh-h2: 32px;
  }

  h2 {
    font-family: var(--ff-h);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: var(--lh-h2);
    letter-spacing: var(--ls-h2);
    color: #000;
  }
}

h3 {
  font-family: var(--ff-base);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}

.hero-title {
  font-size: clamp(30px, 8vw, 50px);
  color: #000;
}

.hero-text {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;
  padding: clamp(18px, 3vw, 28px) 0 clamp(18px, 3vw, 28px)
    clamp(18px, 4vw, 40px);
  margin-left: clamp(8px, 5vw, 100px);
  margin-top: clamp(8px, 3vw, 100px);
  padding-left: 27px;
}

.hero-text::before {
  position: absolute;
  top: clamp(18px, 3vw, 28px);
    bottom: 3px;
  left: 0;

  width: 2px;

  border-radius: 2px;
  background: color-mix(in srgb, #000 30%, transparent);

  content: "";
}

/* заголовок и подзаголовок */

@media (width <= 1100px) {
  .hero-text {
    max-width: 45vw;
  }

  .hero-title {
    font-size: clamp(30px, 8vw, 50px);
    color: #000;
  }

  .hero-subtitle {
    color: #000;
  }
}

@media (width <= 900px) {
  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    max-width: 90%;

    font-size: clamp(30px, 8vw, 40px);
  }

  .hero-subtitle {
    font-size: clamp(16px, 3.4vw, 18px);
    line-height: 23px;
  }
}

.subtitle {
  font-family: var(--ff-base);
  font-weight: 300;
  font-size: var(--fs-sub20);
  line-height: var(--lh-sub);
  color: var(--clr-dark-700);
}

.subtitle20 {
  font-family: var(--ff-base);
  font-weight: 300;
  font-size: var(--fs-sub20);
  line-height: var(--lh-sub);
  color: var(--clr-dark-700);
}

.subtitle27 {
  font-family: var(--ff-base);
  font-weight: 300;
  font-size: var(--fs-sub27);
  line-height: var(--lh-sub);
  color: var(--clr-dark-700);
}

.subtitle37 {
  font-family: var(--ff-base);
  font-weight: 300;
  font-size: var(--fs-sub37);
  line-height: var(--lh-sub);
  color: var(--clr-dark-700);
}
.hero-subtitle {
  width: 100%;
  max-width: 722px;
  margin: 0;

  font-weight: 200;
  line-height: 46px;
  color: #000;
  font-size: 31px;
}

/* Крупные цифры (блок «Почему выбирают нас») */
.stat {
  font-family: var(--ff-base);
  font-weight: 600;
  font-size: clamp(28px, 6vw, 64px);
  line-height: 1.05;
  color: var(--clr-dark-900);
}

/* ===== Кнопки (общий паттерн) ===== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  min-height: var(--btn-h);
  padding: var(--btn-pad-y) var(--btn-pad-x);

  border: var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);

  font-weight: 400;
  font-size: 20px;
  line-height: 27.2px;

  color: var(--btn-color);

  transition: background var(--tr-base), box-shadow var(--tr-base),
    transform var(--tr-fast);

  cursor: pointer;
}

.btn:hover {
  border: 1px solid var(--btn-hover-bg);
  background: var(--btn-hover-bg);

  color: #fff;
}

.btn:active {
  transform: translateY(1px);
}

.btn--filled {
  background: var(--clr-dark-800);

  color: var(--clr-white);
  border-color: var(--clr-dark-800);
}

.btn--filled:hover {
  background: var(--clr-dark-900);
}

/* ===== Карточки/фоновые блоки ===== */
.card {
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.card--deep {
  box-shadow: var(--shadow-deep);
}

.bg-cream {
  background: var(--clr-bg-2);
}

/* ===== Навигация (меню) ===== */
.nav {
  display: flex;
  gap: 8px;
}

.nav__link {
  display: inline-flex;
  align-items: center;

  height: 40px;
  padding: 0 14px;

  border-radius: var(--radius-sm);

  color: var(--clr-dark-800);
}

.nav__link:hover {
  background: var(--clr-hover);
}

.nav__link.is-active {
  background: var(--clr-cream);
}

/* ===== Утилиты ===== */
section {
  padding: clamp(48px, 8vw, 120px) 0;
}

.muted {
  color: var(--clr-dark-700);
}

.hr {
  height: 1px;

  border: 0;
  background: var(--clr-line);
}

.rounded {
  border-radius: var(--radius-md);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-deep {
  box-shadow: var(--shadow-deep);
}

/* СЕКЦИЯ МЕНЮ */

/* ===== Бар с меню под hero ===== */
.section-menu {
  position: sticky;
  top: 0;
  z-index: 5;

  padding: 0;

  background: var(--clr-cream);
}

.section-menu.is-stuck {
  box-shadow: 0 6px 24px rgb(0 0 0 / 8%);
}

.menu-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 4vw, 56px);

  min-height: 56px;
}

.site-nav {
  width: 100%;
}

/* Десктопное горизонтальное меню */
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(5px, 1vw, 10px);

  margin: 0;
  padding: 0;
  list-style: none;
}

.menu > li {
  position: relative;
}

.menu a {
  display: inline-flex;
  align-items: center;

  padding: 16px clamp(10px, 2vw, 20px);

  font-family: var(--ff-base, Manrope, sans-serif);
  line-height: 1.2;
  text-decoration: none;
  color: var(--clr-dark-800);

  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

@media (width <= 1050px) {
  .menu a {
    padding: 16px 5px;
  }
  .drawer-menu .menu a {
      padding: 8px 18px;
      font-size: 18px;
  }
}
@media screen and (max-width: 600px) {
   .drawer-menu .menu a {
      font-size: 14px;
  }
}

.menu a:hover {
  background-color: #fbf6ef;

  color: var(--clr-dark-900);
}

.menu .is-cta > a {
  padding: 8px 16px;

  border: 1px solid var(--clr-dark-800);
  border-radius: 999px;
}

.menu .is-cta > a:hover {
  background: var(--clr-hover);
}

/* Выпадашки (десктоп) */
.menu .menu-item-has-children > a::after {
  display: inline-block;

  width: 0.6em;
  height: 0.6em;

  transform: rotate(45deg) translateY(-10%);

  content: "";
  border-bottom: 1px solid currentcolor;
  border-right: 1px solid currentcolor;
  margin-left: 0.45em;
}

.menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;

  visibility: hidden;

  min-width: 220px;
  margin: 0;
  padding: 8px;

  border-radius: 0 0 12px 12px;
  background: var(--clr-hover);

  opacity: 0;
  transform: translate(-50%, 8px);

  transition: 0.18s ease;

  pointer-events: none;
  list-style: none;
}

.menu .sub-menu a {
  display: block;

  padding: 10px 12px;

  border-radius: 8px;

  white-space: nowrap;
}

.menu .sub-menu a:hover {
  background: var(--clr-hover);

  font-weight: 600;

  color: var(--clr-dark-900);
}

.menu > li:hover > .sub-menu,
.menu > li:focus-within > .sub-menu {
  visibility: visible;

  opacity: 1;
  transform: translate(-24%, 0);

  pointer-events: auto;
}

/* ===== Бургер ===== */
.burger {
  display: none;

  width: 44px;
  height: 44px;

  border: none;
  border-radius: 999px;
  background: var(--clr-cream);
  box-shadow: none;
}

.burger__bars {
  position: relative;
  top: 0;

  display: block;

  width: 20px;
  height: 2px;
  margin: 0 auto;

  background: var(--clr-dark-800);
}

.burger__bars::before,
.burger__bars::after {
  position: absolute;
  left: 0;

  width: 20px;
  height: 2px;

  background: inherit;

  content: "";
}

.burger__bars::before {
  top: -6px;
}

.burger__bars::after {
  top: 6px;
}

/* ===== Попап (мобилка) ===== */
.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;

  visibility: hidden;

  opacity: 0;

  pointer-events: none;
}

.menu-drawer.is-open {
  visibility: visible;

  opacity: 1;

  pointer-events: auto;
}

.menu-drawer__overlay {
  position: absolute;
  inset: 0;

  background: rgb(57 58 52 / 35%);

  backdrop-filter: blur(2px);
}

.menu-drawer__panel {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 20px;

  background: var(--clr-cream);
}

.menu-drawer.is-open .menu-drawer__panel {
  transform: translateY(0);
}

.drawer-close {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 1;

  width: 40px;
  height: 40px;

  border: none;

  background: transparent;
  box-shadow: none;

  color: var(--clr-dark-800);

  cursor: pointer;
}

.drawer-close__icon {
  display: inline-block;

  font-size: 28px;
  line-height: 1;

  transform: translateY(-2px);
}

.drawer-close svg,
.burger svg {
  width: 22px;
  height: 22px;
}

/* Вертикальное меню внутри попапа */
.drawer-menu {
  width: min(92vw, 600px);
  margin: 90px 0 0;
  padding: 0;
  list-style: none;
}

.drawer-menu > li + li {
  margin-top: 6px;
}

.drawer-menu a {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 14px 18px;

  border: 1px solid transparent;
  border-radius: 12px;

  font-size: clamp(16px, 2.6vw, 20px);
  text-decoration: none;
  color: var(--clr-dark-800);
}

.drawer-menu a:hover {
  background: var(--clr-hover);
}

.drawer-menu .is-cta > a {
  border: 1px solid var(--clr-dark-800);
  border-radius: 999px;
}

.drawer-menu .menu-item-has-children > a {
  justify-content: center;
}

/* Аккордеон подменю в попапе */
.drawer-menu .sub-menu {
  display: none;
  margin-top: 6px;
  padding-left: 0;
}

.drawer-menu .menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.drawer-menu .sub-menu li + li {
  margin-top: 6px;
}

.drawer-menu .sub-menu a {
  border: 1px solid var(--clr-line);
}

/* ===== Брэйкпоинты ===== */
@media (width <= 768px) {
  .burger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .site-nav {
    display: none;
  }

  .menu-bar {
    justify-content: right;
  }

  .drawer-menu a {
    margin: 0 auto;
    padding: 8px 18px;
  }

  .drawer-menu > li + li {
    margin-top: 5px;
  }
}

@media (width >= 769px) {
  .menu-drawer {
    display: none;
  }
}

/* Блокируем прокрутку страницы, когда попап открыт */
body.no-scroll {
  overflow: hidden;
}

/* ===== Мобильный топ-бар (только ≤768px) ===== */
.mobile-topbar {
  position: absolute;
  top: 57px;
  right: 0;
  left: 0;
  z-index: 1100;

  display: none;
  justify-content: space-between;
  align-items: center;

  height: 56px;
  padding: 0 clamp(12px, 4vw, 20px);

  background: transparent;
  padding-top: env(safe-area-inset-top);
}

@media (width <=768px) {
  .mobile-topbar {
    display: flex;
  }
}

.topbar__brand {
  visibility: hidden;

  font-weight: 600;
  text-decoration: none;
  color: var(--clr-dark-800);
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;

  border: 1px solid var(--clr-dark-800);
  border-radius: 999px;

  text-decoration: none;
  color: var(--clr-dark-800);
}

.topbar__cta:hover {
  background: var(--clr-hover);
}

/* Попап-меню (как делали ранее) — оставь прежние стили .menu-drawer/... */
@media (width <=768px) {
  .mobile-topbar {
    display: flex;
  }

  .section-menu {
    display: none;
  }
}

@media (width >=769px) {
  .menu-drawer {
    display: none;
  }
}

/* База для любого reveal */
[data-anim="reveal"] {
  --reveal-x: 0;
  --reveal-y: -24px;
  --reveal-dur: 0.7s;
  --reveal-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  will-change: transform, opacity;

  transition: transform var(--reveal-dur) var(--reveal-ease), opacity 0.35s ease;
}

[data-anim="reveal"].is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Уважение reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-anim="reveal"] {
    opacity: 1 !important;
    transform: none !important;

    transition: none !important;
  }
}

/* @media (width <=768px) {
  [data-anim="reveal"] {
    --reveal-dur: 0.55s;
  }
} */

/* ФУТЕР FOOTER */
.site-footer {
  position: relative;

  display: grid;
  place-items: center;

  padding-top: 85px;
  padding-bottom: 110px;

  background: #989898;
}

.site-footer__icon {
  line-height: 0;
}

.site-footer__svg,
.site-footer__icon img {
  display: block;

  width: clamp(36px, 6vw, 72px);
  height: auto;

  color: #fff;

  opacity: 1;
  filter: none;
}

.site-footer__unter {
  position: absolute;
  bottom: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  max-width: 1700px;
}

/* копирайт оставляем для screen-reader, визуально скрываем */
.site-footer__copy {
  padding: 6px 8px;

  border-radius: 8px;

  font: 500 12px/1.1 var(--ff-base, Manrope, sans-serif);
  text-decoration: none;
  color: rgb(255 255 255 / 45%);

  opacity: 0.7;
}

.site-footer__dev {
  padding: 6px 8px;

  border-radius: 8px;

  font: 500 12px/1.1 var(--ff-base, Manrope, sans-serif);
  text-decoration: none;
  color: rgb(255 255 255 / 45%);

  opacity: 0.7;

  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.site-footer__dev:hover,
.site-footer__dev:focus-visible {
  outline: 0;
  background: rgb(255 255 255 / 8%);

  opacity: 1;
  transform: translateY(-1px);
}

/* ===== Секция с картой (Contact) ===== */
.contact {
  position: relative;

  isolation: isolate;
  overflow-x: clip;
  padding-bottom: 0;
}

/* карта */
.contact__map {
  position: relative;
  z-index: 0;

  height: 650px;
  overflow: hidden;
}

.contact__cards {
  position: absolute;
  inset: 0;

  z-index: 2;

  display: grid;
  gap: 33px;

  width: 100%;
  max-width: 1204px;

  pointer-events: none;
  align-content: center;
  grid-auto-rows: max-content;
  justify-items: end;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.map-card__contacts {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* строка контакта: иконка + текст */
.map-card__contact {
  display: grid;
  align-items: center;
  column-gap: 8px;
  grid-template-columns: 30px 1fr; /* "ячейка" под иконку = 30px */
}

.map-card__contact a {
  font-weight: 300;
  font-size: 24px;
  line-height: 33px;
  color: var(--clr-dark-700);
}

/* сам svg не растягиваем */
.map-card__icon {
  flex: 0 0 auto; /* на случай, если где-то унаследуется flex */

  width: 18px; /* реальный размер иконки */
  height: 18px;
  justify-self: center; /* по желанию: центр в ячейке 30px */
}

.map-card {
  width: clamp(360px, 40vw, 460px);
  max-width: 100%;
  height: auto;
  padding: 40px;

  border-radius: 20px;
  background: #fff;
  box-shadow: 3px 4px 5px rgb(0 0 0 / 27%);

  pointer-events: auto;
}

.map-card__inner {
  padding-left: 26px;
}

.map-card__inner--title {
  margin: 0 0 6px;

  font-family: var(--ff-h);
  font-weight: 400;
  font-size: 47px;
  line-height: 51px;
  color: #000;
}

.map-card__inner p {
  margin: 0;

  font-family: var(--ff-base);
  font-weight: 400;
  font-size: 24.36px;
  line-height: 33.13px;
  color: var(--clr-dark-700);
}

@media (width <= 900px) {
  .contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact__cards {
    position: static;

    margin: 0;

    pointer-events: auto;
    align-content: start;
    justify-items: stretch;
    padding-inline: var(--container-pad);
  }

  .map-card {
    width: 100%;

    background-color: #f5f5f5;
  }

  .contact__map {
    order: 2;

    height: clamp(280px, 45vh, 520px);
  }
}

.contact__map .ymaps-2-1-79-ground-pane {
  filter: grayscale(0.75) sepia(0.14) hue-rotate(-8deg) saturate(0.58)
    brightness(0.9) contrast(1.18);
}

.contact__map .ymaps-2-1-79-copyrights-pane {
  filter: grayscale(1) opacity(0.05);
}

/* ===== Универсальные карточки ===== */
.cards-grid {
  display: grid;
  align-items: stretch;
  gap: 37px 29px;

  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

@media (width <= 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (width <= 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.cards-grid > li {
  display: grid;
}

.surface-card {
  --card-accent: var(--clr-accent-olive, #999b84);
  display: flex;
  flex-direction: column;
  gap: 12px;

  width: 100%;
  max-width: 400px;

  height: 100%;
  margin: 0 auto;
  padding: clamp(26px, 3vw, 30px);

  border: 1px solid var(--clr-line, #e5e5e5);
  border-radius: 20px;
  background: #f5f5f5;
  box-shadow: var(--shadow-soft, 0 8px 24px rgb(0 0 0 / 6%));
  align-content: start;
}

.surface-card .btn {
  margin-top: auto;
}

@supports (background: color-mix(in srgb, white, black)) {
  .surface-card {
    background: #f2f2f2;
  }
}

.surface-card.is-hoverable:is(:hover, :focus-visible) {
  outline: none;
  box-shadow: 0 18px 36px rgb(0 0 0 / 12%),
    0 0 0 0 color-mix(in srgb, var(--card-accent) 25%, transparent);

  transition: transform var(--tr-fast, 160ms) ease,
    box-shadow var(--tr-fast, 160ms) ease;
}

.surface-card h3 {
  margin: 0;

  font-family: var(--ff-base);
  font-weight: 400;
  font-size: clamp(31px, 3vw, 35px);
  line-height: 1.2;
  color: #000;
  margin-bottom: 28px;
}

.surface-card p {
  margin: 0;

  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 17px);
  line-height: 23px;
  color: var(--clr-dark-700);
}

/* Стили модалки планов */
.scroll-lock {
  overflow: hidden;
}

/* Контейнер модалки */
.plan-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
}

.plan-modal.is-open {
  display: grid;
  place-items: center;
}

/* Подложка */
.plan-modal__backdrop {
  position: absolute;
  inset: 0;

  background: rgb(0 0 0 / 70%);
}

/* Диалог */
.plan-modal__dialog {
  position: relative;
  z-index: 1;

  max-width: min(860px, 86vw);

  max-height: calc(100dvh - 6vh);
  margin: 1vh;
  padding: clamp(16px, 3vw, 28px);
  overflow: auto;

  border-radius: 16px;
  outline: none;
  background: var(--clr-white, #fff);
  box-shadow: var(--shadow-deep, 0 20px 60px rgb(0 0 0 / 20%));
}

/* Шапка */
.plan-modal__head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.plan-modal__badge {
  position: relative;
  z-index: 0;

  display: inline-flex;
  isolation: isolate;
  align-items: baseline;
  gap: 6px;

  padding: 10px 40px;

  background: transparent;

  font-weight: 400;
  font-size: 32px;
  line-height: 51px;
  text-transform: uppercase;
}

.plan-modal__badge::before {
  position: absolute;
  inset: -10px -12px 0;
  z-index: -1;

  background: var(--badge-img) center / 80% 80% no-repeat;

  pointer-events: none;
  content: "";
}

.plan-modal__badge > span {
  font-weight: 600;
}

.plan-modal__title {
  margin: 0 0 0 auto;

  font-size: clamp(18px, 2.4vw, 24px);
}

/* Кнопка закрытия */
.plan-modal__close,
.drip-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;

  display: grid;
  place-items: center;

  width: 40px;
  height: 40px;
  padding: 0;

  border: 1px solid var(--clr-line, #e5e5e5);
  border-radius: 50%;
  background: #fff;

  font-size: 0;
  line-height: 1;
  color: var(--clr-dark-800, #515247);

  cursor: pointer;
}

.plan-modal__close .icon,
.drip-modal__close .icon {
  display: block;

  width: 20px;
  height: 20px;

  pointer-events: none;
}

.plan-modal__close:hover,
.drip-modal__close:hover {
  background: var(--clr-hover, #fbf6ef);
}

/* Контент (вставляется клон .plan__body) */
.plan-modal__content .plan__body {
  margin: 0;
}

.plan-modal__content .plan__list {
  max-height: 60vh;
  overflow: auto;
  padding-right: 4px;
}

.plans .btn {
  position: relative;
  z-index: 1;

  pointer-events: auto;
}

.plan-modal__body {
  display: block;
}

.plan-modal .plan__body,
.plan-modal .plan__label {
  display: block;
}

.plan-modal .plan-modal__title {
  display: none;
}

.plan-modal .plan__list {
  max-height: 60vh;
  overflow: auto;
  padding-right: 4px;
}

/* Модалка для капельниц */

/* Общие */
/* stylelint-disable-next-line no-duplicate-selectors */
.scroll-lock {
  overflow: hidden;
}

/* Модалка */
.drip-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;

  display: none;
}

.drip-modal.is-open {
  display: block;
}

.drip-modal__backdrop {
  position: absolute;
  inset: 0;

  background: rgb(0 0 0 / 50%);
}

.drip-modal__dialog {
  position: relative;
  z-index: 1;

  max-width: min(980px, 94vw);
  margin: min(6vh, 64px) auto;
  padding: clamp(16px, 3.4vw, 28px);

  border-radius: 18px;
  outline: none;
  background: var(--clr-white, #fff);
  box-shadow: 0 24px 60px rgb(0 0 0 / 22%);
}

.drip-modal__header {
  margin: 4px 0 12px;
}

.drip-modal__title {
  margin: 0;

  font-size: clamp(22px, 3.2vw, 34px);
  text-align: center;
}

.drip-modal__grid {
  display: grid;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  grid-template-columns: 0.8fr 1.2fr;
}

.drip-modal__media {
  display: flex;
  justify-content: center;

  margin: 0;
}

.drip-modal__media img {
  display: block;

  max-width: min(100px, 50%);
  height: auto;

  filter: drop-shadow(0 18px 30px rgb(0 0 0 / 18%));
}

.drip-modal__benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.drip-modal__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;

  width: 100%;
  max-width: 215px;

  padding: 12px 14px;

  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 20px rgb(0 0 0 / 8%);
}

.drip-benefit__num {
  display: inline-grid;
  flex: 0 0 28px;
  place-items: center;

  width: 28px;
  height: 28px;

  border-radius: 50%;
  background: var(--clr-accent-olive, #999b84);

  font-weight: 600;
  color: #fff;
}

.drip-benefit__txt {
  line-height: 1.35;
}

.drip-modal__title,
.drip-modal__issues li {
  hyphens: auto;
  overflow-wrap: break-word;
}

.drip-modal__divider {
  height: 1px;
  margin: 20px 0;

  border: none;
  background: var(--clr-line, #e5e5e5);
}

.drip-modal__subtitle {
  margin: 0 0 12px;

  font-size: clamp(16px, 2.2vw, 20px);
}

.drip-modal__issues {
  display: grid;
  gap: 12px;

  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
.stats__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}
.bg__elem {
    position: sticky;
    top: 0;
    height: 1080px;
    z-index: -1;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: url(/wp-content/themes/gardenrecovery/assets/img/faq-bg.svg);
    background-repeat: no-repeat;
    background-position: left 0% top 0%;
    background-size: min(680px, 90vw) auto;
}

.drip-modal__issues li {
  --card-accent: var(--clr-accent-olive, #999b84);
  display: flex;
  flex-direction: column;
  gap: 12px;

  width: 100%;
  max-width: 400px;

  height: 100%;
  margin: 0 auto;
  padding: clamp(26px, 3vw, 30px);

  border: 1px solid var(--clr-line, #e5e5e5);
  border-radius: var(--radius-md, 16px);
  background: #f5f5f5;
  box-shadow: var(--shadow-soft, 0 8px 24px rgb(0 0 0 / 6%));
  align-content: start;
}

.drip-modal__actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* Адаптив */
@media (width <= 900px) {
  .drip-modal__grid {
    grid-template-columns: 1Fr 1fr;
  }

  .drip-modal__issues {
    grid-template-columns: 1fr;
  }
}
.drip-modal__subtitle br {
    display: none;
}
@media screen and (max-width: 768px) {
    .drip-modal__grid {
        display: block;
    }
    .drip-modal__media {
        position: absolute;
        width: 252px;
        left: -15px;
    }
    .drip-modal__media img {
        max-width: 100%;
        width: 100%;
    }
    .drip-modal__benefits {
        margin-top: 66px;
    }
    .drip-modal__grid .drip-modal__benefits li {
        max-width: 100%;
        padding: 14px 5px;
        box-shadow: 3.34px 2.51px 8.36px 0px #0000001A, 27.59px 20.9px 20.9px 0px #0000000D, 48.49px 37.62px 24.24px 0px #00000003, 76.07px 58.52px 26.75px 0px #00000000;

    }
    .drip-modal__benefits li:nth-child(1) {
        padding-left: 98px;
        margin-left: 70px;
        margin-right: 33px;
    }
    .drip-modal__benefits li:nth-child(2),
    .drip-modal__benefits li:nth-child(3) {
        padding-left: 98px;
        margin-left: 113px;
        margin-right: 33px;
    }
    .drip-modal__benefits li:nth-child(4) {
        padding-left: 98px;
        margin-left: 102px;
        margin-right: 33px;
    }
    .drip-benefit__num {
        display: none;
    }
    .drip-modal__benefits {
        gap: 17px;
    }
    .drip-modal__subtitle {
        font-size: 28px;
        line-height: 34px;
        color: #000000;
        text-align: center;
        margin-top: 47px;
    }
    .drip-modal__subtitle br {
        display: block;
    }
    .drip-modal__issues {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 46px;
    }
}

@media (width <= 600px) {
  .drip-modal__benefits li {
    display: flex;
    align-items: center;
    gap: 5px;

    width: 100%;
    max-width: 215px;

    padding: 5px;

    border-radius: 15px;
    background: #fff;
  }

  .drip-modal__issues li {
    --card-accent: var(--clr-accent-olive, #999b84);
    display: flex;
    flex-direction: column;
    gap: 5px;

    width: 100%;
    max-width: 400px;

    height: 100%;
    margin: 0;
    padding: 30px 20px;

    border: 1px solid #000;
    border-radius: 15px;
    background: #fff;

    text-align: center;
    align-content: center;
  }
  .drip-modal__close {
      top: 21px;
      right: 21px;
      border: none;
  }
  .drip-modal__close .icon {
      width: 26px;
      height: 26px;
  }
}

/* скрытый текст для скринридеров */
.sr-only {
  position: absolute !important;

  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);

  border: 0;

  white-space: nowrap;
}

/* кнопка наверх — та же .btn, но плавающая круглая */
.btn.to-top {
  position: fixed;
  z-index: 10005;

  display: grid;
  place-items: center;

  width: var(--btn-h);
  height: var(--btn-h);
  padding: 0;

  border: var(--btn-border);
  border-radius: 50%;
  background: var(--clr-white);
  box-shadow: var(--shadow-soft);

  color: var(--clr-dark-800);

  opacity: 0;
  transform: translateY(8px) scale(0.98);

  transition: opacity var(--tr-base), transform var(--tr-base),
    background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);

  pointer-events: none;
  inset-block-end: calc(clamp(16px, 3vw, 26px) + env(safe-area-inset-bottom));

  /* было: inset-inline-end + env(safe-area-inset-right) */
  inset-inline-start: calc(clamp(12px, 2vw, 20px) + env(safe-area-inset-left));
}

/* состояние «видима» */
.btn.to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);

  pointer-events: auto;
}

.btn.to-top:hover {
  background: var(--btn-hover-bg);
}

.btn.to-top:focus-visible {
  outline: 2px solid var(--clr-dark-800);
  outline-offset: 2px;
}

/* на совсем узких — чуть меньше */
@media (width <= 420px) {
  .btn.to-top {
    width: 44px;
    height: 44px;
  }
}

.amen__list br {
    display: none;
}
@media screen and (max-width: 480px) {
    .amen__list br {
        display: block;
    }
}
.modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s;
    z-index: 10000;
}
.modal__bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    cursor: pointer;
}
.modal__body {
    max-width: 680px;
    background-color: #f2f2f2;
    border-radius: 53px;
    box-shadow: 0.94px 0.71px 2.36px 0px #0000001A, 7.78px 5.89px 5.89px 0px #0000000D, 13.67px 10.61px 6.84px 0px #00000003, 21.45px 16.5px 7.54px 0px #00000000;
    padding: 43px;
    padding-bottom: 65px;
    position: relative;
    width: 100%;
}
.modal__close {
    position: absolute;
    top: 29px;
    right: 37px;
    cursor: pointer;
}
.modal__img {
    text-align: center;
    display: flex;
    margin: 0 auto;
    justify-content: center;
}
.modal__title {
    margin-top: 26px;
    text-align: center;
    font-size: 36px;
    color: #555252;
}
.modal__text {
    font-size: 25px;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
    margin-top: 11px;
    color: #555252;
    line-height: 34px;
}
.modal--active {
    opacity: 1;
    visibility: visible;
}
@media screen and (max-width: 700px) {
    .modal__text {
        padding: 0;
    }
}
@media screen and (max-width: 600px) {
    .modal__title {
        font-size: 26px;
    }
    .modal__text {
        font-size: 18px;
    }
}
@media screen and (max-width: 500px) {
    .modal__body {
        padding: 20px;
    }
    .modal {
        padding: 10px;
    }
    .modal__close {
        top: 24px;
        right: 24px;
    }
}


.hero .hero__mask::after {
    mask: none;
    mask-composite: unset;
}
.hero__logo {
    position: absolute;
    z-index: 3;
    width: 52.2%;
    height: 100%;
    right: 0;
    top: 0;
    overflow: hidden;
}
.hero__logo img {
    position: absolute;
    right: -13%;
    top: -17%;
}
.hero__adaptive-media {
    background-color: #f9f2ec;
}
@media screen and (max-width: 1000px) {
    .hero__logo {
        width: 61%;
    }
}
@media screen and (max-width: 768px) {
    .hero-adaptive .hero__adaptive-media {
        border-radius: 47px 314px 47px 47px;
    }
    img.hero__adaptive-img {
        top: -13%;
        width: 200%;
        max-width: 101%;
        left: -4%;
        height: auto;
    }
    .hero-adaptive .hero__adaptive-content {
        padding-top: 58px;
        padding-bottom: 47px;
    }
    .hero__adaptive-content .hero__brand,
    .hero__title,
    .hero__adaptive-content .hero__subtitle {
        width: 230px;
        margin-left: auto;
        margin-right: auto;
    }
    @media screen and (max-width: 530px) {
        .hero-adaptive .hero__adaptive-content {
            padding-top: 24px;
            padding-bottom: 24px;
        }
        .hero-adaptive .hero__adaptive-media {
            border-radius: 24px 163px 24px 24px;
        }
    }
}

.modal--checkups {
    align-items: flex-start;
    padding: 20px 0;
    max-height: 100dvh;
    overflow: auto;
}
.modal__name {
    font-size: 45px;
    color: #000000;
    line-height: 39px;
}
.checkups__analyz {
    margin-top: 51px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.checkups__item {
    border-radius: 20px;
    background-color: #ffffff;
    padding: 24px 40px;
    position: relative;
    padding-left: 66px;
    box-shadow: 1px 0px 1px 0px #7F766C1A, 2px 2px 3px 0px #7F766C17, 5px 4px 3px 0px #7F766C0D, 8px 6px 4px 0px #7F766C03, 13px 10px 4px 0px #7F766C00
}
.checkups__item::after {
    content: '';
    position: absolute;
    left: 37px;
    height: calc(100% - 48px);
    width: 1px;
    background-color: #999b84;
    top: 32px;
}
.modal__body--checkups {
    max-width: 727px;
    padding-left: 82px;
    padding-right: 120px;
}
.checkups__num {
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #999b84;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    left: 24px;
    top: 26px;
    z-index: 2;
}
.checkups__name {
    font-size: 25px;
    font-weight: 600;
    line-height: 29px;
    color: #4e4f43;
}
.checkups__desc {
    font-size: 21px;
    line-height: 29px;
    color: #4e4f43;
    margin-top: 14px;
}
.checkups__btn svg {
    position: relative;
    top: 2px;
}
.checkups__btn:hover svg {
    color: #ffffff;
    stroke: #fff;
    fill: #fff;
}
.checkups__btn {
    margin-top: 29px;
}
@media screen and (max-width: 700px) {
    .modal__body--checkups {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media screen and (max-width: 576px) {
    .modal__body--checkups {
        border-radius: 0;
    }
    .modal--checkups {
        padding: 0;
    }
    .modal__name {
        font-size: 32px;
    }
    .checkups__analyz {
        margin-top: 32px;
    }
    .checkups__item::after {
        display: none;
    }
    .checkups__num {
        display: none;
    }
    .checkups__item {
        padding: 20px;
    }
    .checkups__name {
        font-size: 18px;
        line-height: 24px;
    }
    .checkups__desc {
        font-size: 14px;
        line-height: 18px;
    }
    .checkups__btn {
        font-size: 16px;
    }
}
.doctor__row {
    display: inline-flex;
    position: relative;
    border: 1px solid #000000;
    border-radius: 100px;
    min-width: 100%;
}
.doctor__cat {
    padding: 17px 53px;
    font-size: 20px;
    line-height: 38px;
    color: #515247;
    cursor: pointer;
    white-space: nowrap;
}
.doctor__container {
    overflow: auto;
    margin-top: 36px;
}
.doctor__container::-webkit-scrollbar { display: none; }

.doctor__container .container {
    max-width: 1420px;
}
.drips__runner {
    position: absolute;
    left: 0;
    width: 100px;
    height: 100%;
    border-radius: 50px;
    background-color: #e8ddd2;
    z-index: -1;
    transition: all .5s;
}
.doctor__item {
    background-color: #f5f5f5;
    padding: 48px 53px;
    padding-top: 200px;
    padding-bottom: 29px;
    border-radius: 37px;
    box-shadow: 3px 3px 10px 0px #424B4D33, 13px 12px 18px 0px #424B4D00, 51px 49px 28px 0px #424B4D08, 79px 76px 31px 0px #424B4D00;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.doctor__image {
    position: absolute;
    width: 233px;
    height: 233px;
    border-radius: 50%;
    top: -64px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
.doctor__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.doctor__name {
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
    color: #1e1f1b;
    text-align: center;
}
.doctor__desc {
    font-size: 19px;
    line-height: 25px;
    color: #555252;
    text-align: center;
    margin-top: 21px;
    margin-bottom: 23px;
}
.doctor__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 146px 39px;
    max-width: 1210px;
    margin: 0 auto;
    margin-top: 231px;
    margin-bottom: 190px;
    position: relative;
}
.doctor__link {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.doctor__grid::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 0;

  width: 50%;

  background: var(--bg) left / contain no-repeat;

  pointer-events: none;
  content: "";
}
.doctor__bg {
    position: relative;
}
.container--inner {
    max-width: 1260px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 auto;
}
.doctor__top {
    margin-top: 86px;
    display: flex;
    gap: 76px;
}
.doctor__card {
    border-radius: 34px;
    overflow: hidden;
    background-color: #f5f5f5;
    width: 42%;
    box-shadow: 4.77px 3.58px 11.93px 0px #0000001A, 39.38px 29.83px 29.83px 0px #0000000D, 69.21px 53.7px 34.61px 0px #00000003, 108.6px 83.53px 38.19px 0px #00000000;
}
.doctor__img {
    display: flex;
}
.doctor__head {
    margin-top: 46px;
    font-size: 40px;
    line-height: 49px;
    text-align: center;
    color: #000000;
}
.doctor__char {
    font-weight: 300;
    font-size: 23px;
    line-height: 40px;
    color: #393a34;
}
.doctor__section {
    padding: 0 40px;
}
.doctor__char b {
    font-weight: 600;
}
.doctor__section {
    margin-top: 44px;
    padding-bottom: 47px;
}
.doctor__total {
    margin-top: 44px;
    margin-bottom: 38px;
    font-size: 29px;
    line-height: 45px;
    color: #000000;
}
.doctor__price {
    font-size: 34px;
    font-weight: 500;
    line-height: 36px;
    color: #000000;
}
.doctor__both {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.doc__btn {
    font-size: 24px;
    padding: 17px 35px;
}
.doctor__info {
    border-radius: 30px;
    background-color: #f5f5f5;
    box-shadow: 1.49px 0px 1.49px 0px #7F766C1A, 2.98px 2.98px 4.47px 0px #7F766C17, 7.44px 5.96px 4.47px 0px #7F766C0D, 11.91px 8.93px 5.96px 0px #7F766C03, 19.36px 14.89px 5.96px 0px #7F766C00;
    padding: 53px 42px;
    width: 52%;
    font-size: 23px;
    line-height: 42px;
}
.doctor__info h2 {
    font-size: 42px;
    line-height: 47px;
    margin-bottom: 31px;
    margin-top: 0;
}
.doctor__info p {
    margin: 0;
}
.doctor__info ul {
    padding-left: 25px;
    margin: 0;
}
.doctor__question.faq-q {
    padding: 41px 26px;
}
.doctor__question span {
    font-size: 40px;
    line-height: 27px;
    color: #000000;
    font-weight: 400;
}
.doctor__faq {
    margin-top: 105px;
    display: flex;
    flex-direction: column;
    gap: 29px;
}
.faq-a.doctor__answer {
    height: auto;
    transition: none;
    display: none;
}
.doctor__form {
    margin-bottom: 128px;
}
.doctor__form .consult-lead {
    padding-top: 161px;
}
.doctor__wrap {
    position: relative;
}
@media screen and (max-width: 1000px) {
    .doctor__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-doctors .container{
        padding: 0 42px;
    }
    .service-hero.container {
        padding-left: 0;
        padding-right: 0;
    }
    body .service-doctors .hero-text {
        margin-left: 59px;
        max-width: 472px;
    }
    .service-doctors .hero-title {
        font-size: 32px;
        line-height: 31px;
        line-height: 28px;
    }
    .service-doctors .hero-subtitle {
        font-size: 16px;
    }
    .doctor__container {
        margin-top: 53px;
    }
    .doctor__cat {
        font-size: 15px;
        line-height: 29px;
        padding: 13px 45px;
    }
    .doctor__grid {
        margin-top: 136px;
        padding: 0 17px;
        gap: 130px 80px;
    }
    .doctor__image {
        width: 195px;
        height: 195px;
        top: -57px;
    }
    .doctor__item {
        padding-top: 165px;
    }
    .doctor__name {
        font-size: 23px;
        line-height: 100%;
    }
    .doctor__desc {
        font-size: 16px;
        line-height: 21px;
        margin-top: 28px;
    }
    .doctor__link {
        font-size: 17px;
        padding: 5px 24px;
        min-height: auto;
    }
    .doctor__faq,
    .doctor__top,
    .doctor__form {
        width: 54%;
        margin-left: auto;
        min-width: 354px;
    }
    .doctor__form {
        margin-bottom: 93px;
    }
    .service-doctors .doctor__form .consult-lead__inner {
        padding: 0;
    }
    .doctor__form .consult-lead {
        padding-top: 61px;
    }
    .doctor__form .consult-lead__title {
        font-size: 26px;
    }
    .faq-q.doctor__question span {
        font-size: 20px;
        line-height: 22px;
    }
    .doctor__top {
        flex-wrap: wrap;
        margin-top: 58px;
        gap: 51px;
    }
    .doctor__info,
    .doctor__card {
        width: 100%;
    }
    .doctor__wrap {
        padding: 0 68px;
    }
    .doctor__card {
        border-radius: 24px;
    }
    .doctor__head {
        font-size: 28px;
        margin-top: 22px;
        line-height: 34px;
    }
    .doctor__char {
        font-size: 16px;
        line-height: 28px;
    }
    .doctor__section {
        padding: 0 30px;
        margin-top: 33px;
        padding-bottom: 32px;
    }
    .doctor__total {
        font-size: 20px;
        line-height: 32px;
        margin-top: 31px;
        margin-bottom: 27px;
    }
    .doc__btn {
        font-size: 17px;
        line-height: 21px;
        min-height: unset;
        padding: 10px 24px;
    }
    .doctor__price {
        font-size: 24px;
        line-height: 25px;
    }
    .doctor__info {
        padding: 36px 30px;
        border-radius: 20px;
        font-size: 16px;
        line-height: 28px;
    }
    .doctor__info h2 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 21px;
    }
    .doctor__faq {
        margin-top: 42px;
        gap: 15px;
    }
    .faq-q.doctor__question {
        padding: 11px 16px;
        border-radius: 12px;
        min-height: 67px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .faq-q.doctor__question span {
        padding-left: 26px;
        text-align: left;
    }
}
@media screen and (max-width: 600px) {
    .doctor__grid {
        grid-template-columns: 1fr;
    }
    .service-doctors .container {
        padding: 0 16px;
    }
    .service-hero {
        padding-top: 15px;
    }
    body .service-doctors .hero-text {
        margin-left: 30px;
        max-width: 300px;
    }
    .doctor__grid {
        margin-top: 149px;
    }
    .doctor__image {
        width: 208px;
        height: 208px;
        top: -57px;
    }
    .doctor__item {
        padding: 48px 44px;
        padding-top: 178px;
    }
    .doctor__name {
        padding: 0 10px;
    }
    .doctor__desc {
        margin-top: 23px;
    }
    .doctor__wrap {
        padding: 0;
    }
    .doctor__form {
        margin-right: auto;
        padding-left: 16px;
        padding-right: 16px;
    }
    .doctor__faq,
    .doctor__top,
    .doctor__form {
        width: 100%;
    }
}
@media screen and (max-width: 450px) {
    .service-doctors .service-hero--checkups .hero-illustration {
        width: 128px;
    }
}