@font-face {
  font-family: "Golos Text";
  src: url("assets/vendor/golos-text.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Commissioner;
  src: url("assets/vendor/commissioner.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/vendor/manrope-regular.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/vendor/manrope-bold.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
/* ── Одна шкала заголовков на весь сайт (13.10.2026) ───────────────────
   До этого у заголовка страницы было семь размеров, а у заголовка секции
   восемь: каждый шаблон задавал свой. Эталон взят с страниц услуг
   (implant-page.css). Ролей ровно четыре, и размер роли задаётся здесь, а не
   в правиле конкретной секции. Проверяет гейт npm run test:type. */
:root {
  --wb-h1-hero: 64px; /* заголовок первого экрана: главная, услуга, врач */
  --wb-h1: 48px; /* заголовок любой другой страницы */
  --wb-h2: 42px; /* заголовок секции */
  --wb-h2-text: 28px; /* подзаголовок внутри статьи */
  --wb-section-pad: 80px; /* вертикальный ритм секции, эталон страниц услуг */
  --paper: #f8f5f1;
  --white: #fff;
  --ink: #111a25;
  --muted: #646b73;
  --blue: #124b96;
  --blue-deep: #063d86;
  --sky: #bee6fa;
  --lilac: #d7c7f0;
  --lime: #94ba47;
  /* Светлый лайм для текста на тёмном первом экране: #94ba47 на синем
     даёт 4,7:1, а этот 6,2:1. */
  --lime-bright: #b5d44a;
  --line: #dbe1e8;
  --radius: 22px;
  --font: Manrope, Arial, sans-serif;
  --bg: var(--paper);
  --accent: var(--blue);
  --ink-2: var(--muted);
  --surface: #fff;
  --rule: var(--line);
  --header-height: 80px;
  --header-inset: 12px;
}
/* Та же шкала на узких экранах: меняются значения, роли и правила нет. */
@media (max-width: 950px) {
  :root {
    --wb-h1-hero: 48px;
    --wb-h1: 38px;
    --wb-h2: 34px;
    --wb-h2-text: 24px;
    --wb-section-pad: 56px;
  }
}
@media (max-width: 600px) {
  :root {
    --wb-h1-hero: 36px;
    --wb-h1: 30px;
    --wb-h2: 27px;
    --wb-h2-text: 21px;
    --wb-section-pad: 44px;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--header-inset) + 20px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 14px/1.5 var(--font);
  letter-spacing: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #719ecd;
  outline-offset: 4px;
}
svg.lucide {
  width: 20px;
  height: 20px;
  flex: none;
  stroke-width: 1.7;
  vertical-align: middle;
}
.container {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
/* ── Один вертикальный ритм секций (13.10.2026) ────────────────────────
   До этого на пяти шаблонах было девять разных ритмов: 110/68, 55/37,
   45/24, 23/40, 16/50, 0/37 и так далее, подогнанных под макет по месту.
   Эталон взят со страниц услуг: 80 px сверху и снизу. Проверяет гейт
   npm run test:type. */
.journal-entry,
.offers,
.clinic,
.services,
.doctors-section,
.trust,
.consultation,
.inline-booking-section,
.blog-related,
.implant-section,
.network-services,
.network-doctors,
.network-reviews,
.dp-profile-section,
.dp-other-doctors {
  padding: var(--wb-section-pad) 0;
}

/* Длинное слово в заголовке («Одномоментная») на 320 px не влезало в колонку
   и растягивало страницу. Перенос внутри слова включается только тогда,
   когда слово иначе не помещается. */
h1,
h2,
.section-title {
  overflow-wrap: break-word;
  min-width: 0;
}

.section-title {
  line-height: 1.12;
  font-size: var(--wb-h2);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 22px;
}
.eyebrow {
  display: inline-flex;
  border: 1px solid #d4e2e9;
  border-radius: 30px;
  background: #f6fafb;
  padding: 3px 12px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-light {
  background: #ffffff18;
  border-color: #ffffff24;
  color: #e2f1ff;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 7px 8px 7px 23px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    filter 0.18s,
    transform 0.18s;
}
.button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}
.button-blue {
  background: var(--blue);
  color: #fff;
}
/* Белая подпись на лайме давала 2,24:1. Тушь по тому же лайму 6,68:1. */
.button-lime {
  background: var(--lime);
  color: #1d2b0b;
}
.button-sky {
  background: var(--sky);
  color: var(--blue);
}
.button-white {
  background: #fff;
  color: var(--blue);
}
.button-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
}
.button-white .button-icon {
  background: var(--blue);
  color: #fff;
}
.button-lime .button-icon {
  color: var(--lime);
}
.round-button {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  transition:
    transform 0.18s,
    background 0.18s;
}
.round-button:hover {
  transform: translateX(2px);
  background: #e7f3ff;
}
.round-blue {
  background: var(--blue);
  color: #fff;
}
.round-blue:hover {
  background: #0a3b7d;
}
.arrows {
  display: flex;
  gap: 9px;
  flex: none;
}
.icon {
  width: 20px;
  height: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.ref-image {
  display: block;
  background-repeat: no-repeat;
  flex: none;
  overflow: hidden;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.section-heading p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}
.site-header {
  height: var(--header-height);
  position: sticky;
  top: var(--header-inset);
  width: min(1540px, calc(100% - 48px));
  margin: var(--header-inset) auto;
  border: 1px solid #e4ebf2;
  border-radius: 999px;
  box-shadow: 0 8px 28px #16396914;
  z-index: 60;
  background: #fff;
  isolation: isolate;
}
body .site-header > .container {
  display: flex;
  height: 100%;
  width: 100%;
  padding-inline: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.wordmark {
  font-size: 25px;
  line-height: 1;
  white-space: nowrap;
  color: #081329;
  font-weight: 400;
}
.wordmark b {
  font-weight: 800;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.brand-caption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 118px;
}
/* Адрес клиники в шапке: пин, город, улица. Так делают сильные клиники в
   выдаче (замечание владельца 14.10): человек видит, куда ехать, не
   открывая контакты. */
.header-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.header-address svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}
.header-address span {
  display: grid;
  line-height: 1.25;
}
.header-address b {
  font-size: 14px;
  color: var(--blue);
}
.header-address small {
  font-size: 13px;
  color: var(--muted);
}
/* Адрес прячется с 1365, а не с 1240: после поднятия кегля до 13 px
   содержимое шапки перестало помещаться на 1280, и кнопка вылезала за
   капсулу на 13 px (гейт test:header, «header fit»). */
@media (max-width: 1365px) {
  .header-address {
    display: none;
  }
}

.site-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #102c52;
}
.site-nav a {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-nav a[aria-current="location"] {
  color: var(--blue);
}
.journal-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}
.journal-entry h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 12px 0;
}
.journal-entry p {
  max-width: 560px;
  font-size: 13px;
  color: #596675;
}
.journal-entry > .button {
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .journal-entry {
    flex-direction: column;
    align-items: flex-start;
  }
  .journal-entry h2 {
    font-size: 25px;
  }
}
@media (max-width: 1650px) {
  .brand-caption {
    display: none;
  }
}
@media (min-width: 951px) and (max-width: 1150px) {
  .header-book {
    display: none;
  }
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}
.header-contact {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--blue);
}
.header-contact > .round-button {
  border: 1px solid var(--blue);
  width: 44px;
  height: 44px;
  background: transparent;
}
.header-contact b {
  display: block;
  font-size: 13px;
  white-space: nowrap;
}
.header-contact small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.header-book {
  font-size: 13px;
  min-height: 46px;
  padding-left: 20px;
  flex-shrink: 0;
}
.header-book .button-icon {
  width: 30px;
  height: 30px;
}
.service-nav-item {
  display: flex;
  align-items: center;
  gap: 2px;
}
.service-menu summary {
  display: grid;
  place-items: center;
  list-style: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--blue);
  border-radius: 50%;
}
.service-menu summary::-webkit-details-marker {
  display: none;
}
.service-menu summary svg {
  width: 16px;
  height: 16px;
}
.service-menu[open] summary {
  background: var(--sky);
}
.service-menu[open] summary svg {
  transform: rotate(180deg);
}
.service-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 28px max(24px, calc((100% - 1080px) / 2));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  background: white;
  color: var(--ink);
  box-shadow: 0 14px 26px #0f408f15;
  border-top: 1px solid var(--line);
  border-radius: 24px;
  max-height: calc(100dvh - var(--header-height) - var(--header-inset) - 28px);
  overflow-y: auto;
  z-index: 50;
}
.service-menu-group {
  min-width: 0;
}
.service-menu-group > a {
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
}
.service-menu-group ul {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
}
.service-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: normal;
  line-height: 1.4;
}
.service-menu-panel a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.service-menu summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.footer-links .service-menu {
  display: none;
}
@media (max-width: 1100px) {
  .mobile-nav .service-nav-item {
    display: grid;
    grid-template-columns: 1fr 44px;
    width: 100%;
  }
  .mobile-nav .service-menu {
    position: static;
  }
  .mobile-nav .service-menu[open] {
    grid-column: 1 / -1;
  }
  .mobile-nav .service-menu[open] summary {
    position: absolute;
    right: 24px;
    top: 12px;
  }
  .mobile-nav .service-menu-panel {
    position: static;
    display: grid;
    padding: 12px 0;
    grid-template-columns: 1fr;
    gap: 16px;
    box-shadow: none;
    border: none;
    max-height: none;
    overflow: visible;
  }
  .mobile-nav.open {
    max-height: calc(
      100dvh - var(--header-height) - var(--header-inset) - 28px
    );
    overflow-y: auto;
  }
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
}
.mobile-nav {
  display: none;
}
.home-page:has(.site-header) > main {
  margin-top: calc(-1 * (var(--header-height) + 2 * var(--header-inset)));
}
.hero {
  position: relative;
  /* Было 740: нижняя строка цифр упиралась в волну и обрезалась. */
  height: 800px;
  overflow: hidden;
  isolation: isolate;
  background: #9ed6f5;
}
/* Лицо на снимке слева, а по макету оно должно быть справа и хорошо
   читаться (владелец 14.10). Кадр отражаем по горизонтали и смещаем:
   женщина оказывается в правой половине, текст слева её не перекрывает. */
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
  transform: scaleX(-1);
}
.hero-inner {
  height: 100%;
  position: relative;
  padding-top: 151px;
}
.hero-copy {
  width: 660px;
  max-width: 100%;
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-eyebrow {
  display: none;
}
.hero h1 {
  line-height: 1.02;
  font-size: var(--wb-h1-hero);
  font-weight: 700;
}
/* Главное обещание выделено зелёным: владелец 14.10 попросил, чтобы
   «всего зубного ряда» и «за один приём» бросались в глаза. Заголовки
   остаются прямыми — курсив в заголовке читается как машинная вёрстка. */
.hero h1 em,
.hero-copy > p em {
  font-style: normal;
  color: var(--lime-bright);
}
.hero h1 em {
  display: inline-block;
}
.hero-copy > p em {
  font-weight: 700;
}

.hero-copy > p {
  font-size: 17px;
  line-height: 1.5;
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 25px;
}
.hero-actions .button {
  font-size: 13px;
  min-height: 46px;
}
.watch-link {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.watch-link .round-button {
  width: 43px;
  height: 43px;
}
.watch-link svg {
  fill: var(--blue);
  width: 18px;
}
.hero-stats {
  display: flex;
  gap: 35px;
  margin-top: 30px;
}
.hero-stats b {
  display: block;
  font-size: 32px;
  line-height: 1.2;
}
.hero-stats span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 5px;
}
/* Плашка предложения стоит СПРАВА ВНИЗУ первого экрана: наверху она
   перекрывала лицо на фотографии (замечание владельца 14.10). Карточка
   теперь одна: вторую, про чистку, владелец убрал. */
.hero-offers {
  position: absolute;
  right: 0;
  bottom: 96px;
  width: 470px;
  display: grid;
  gap: 24px;
}
.hero-offer {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 32px;
  padding: 24px;
  text-align: left;
  min-height: 180px;
  color: #07356d;
  box-shadow:
    inset 0 1px 0 #ffffffa6,
    0 6px 26px #386ca116;
}
.offer-sky {
  background: #d7f0ffe8;
}
.offer-lilac {
  background: #e2d6f9ed;
  margin-left: -12px;
}
.hero-offer > span:first-child {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  display: block;
}
.hero-offer small {
  font-size: 13px;
}
.hero-offer > b {
  font-size: 27px;
  display: block;
  margin-top: 20px;
}
.hero-offer .round-button {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 34px;
  height: 34px;
}
.hero-offer .offer-art {
  position: absolute;
  right: 12px;
  top: 22px;
  width: 56px;
  height: 72px;
  mix-blend-mode: multiply;
}
.offer-lilac .round-button {
  background: #fff;
}
.hero-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  position: absolute;
  right: 0;
  bottom: 68px;
  font-size: 13px;
  color: var(--blue);
  z-index: 3;
}
/* Нижняя граница первого экрана: мягкая изогнутая волна, нарисованная
   кривой. Полукруг из прошлой правки владелец 14.10 забраковал, а две
   повёрнутые плашки до него давали рваный стык. */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120" preserveAspectRatio="none"><path d="M0 46c180-52 360 34 540 40 180 6 360-58 560-40 120 11 240 46 340 58v16H0z" fill="%23f8f5f1"/></svg>') bottom center / 100% 100%
    no-repeat;
}
.hero--implant {
  height: 700px;
  margin: 90px 28px 0;
  border-radius: 60px 60px 90px 90px;
}
.hero--implant .hero-inner {
  padding-top: 51px;
  width: min(1100px, calc(100% - 100px));
}
.hero--implant .hero-copy {
  width: 580px;
}
.hero--implant .hero-eyebrow {
  display: inline-flex;
  border: 1px solid #d3e9ff63;
  background: #c3deff1f;
  border-radius: 99px;
  padding: 7px 17px;
  font-size: 13px;
  margin-bottom: 22px;
}
.hero--implant h1 {
  line-height: 0.95;
}
.hero--implant h1 > span {
  color: #d4efff;
  font-size: 0.78em;
}
.hero--implant .hero-offers,
.hero--implant .watch-link {
  display: none;
}
.hero--implant .hero-actions .button {
  background: var(--lime);
  color: #fff;
  font-size: 14px;
  min-height: 54px;
}
.hero--implant .button-icon {
  color: var(--blue);
  background: #fff;
}
.hero--implant .hero-copy > p {
  font-size: 20px;
}
.hero--implant .hero-stats {
  gap: 40px;
}
.hero--implant .hero-stats > div + div {
  border-left: 1px solid #ffffff40;
  padding-left: 35px;
}
.hero--implant .hero-wave {
  bottom: -75px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.promo {
  position: relative;
  min-height: 247px;
  border: 0;
  border-radius: 26px;
  padding: 27px 24px;
  text-align: left;
  overflow: hidden;
  color: #07356d;
}
.promo strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
  position: relative;
  z-index: 2;
}
.promo b {
  display: block;
  margin-top: 19px;
  font-size: 23px;
  position: relative;
  z-index: 2;
}
.promo small {
  font-size: 13px;
  line-height: 1.4;
  display: block;
  margin-top: 13px;
  max-width: 170px;
  position: relative;
  z-index: 2;
}
.promo > .round-button {
  position: absolute;
  bottom: 20px;
  left: 24px;
  width: 40px;
  height: 40px;
  z-index: 3;
}
.promo-blue {
  background: #134e9b;
  color: #fff;
}
.promo-sky {
  background: #d3effd;
}
.promo-lilac {
  background: #ded3f7;
}
.promo-lime {
  background: #b6d775;
}
.promo-art {
  position: absolute;
  right: 13px;
  bottom: 8px;
  width: 95px;
  height: 108px;
  mix-blend-mode: multiply;
}
.promo-blue .promo-art {
  mix-blend-mode: normal;
  border-radius: 44px 0 25px 0;
  right: 0;
  bottom: 0;
  width: 140px;
  height: 198px;
}
.promo .implant-art {
  height: 156px;
  width: 92px;
  right: 9px;
  bottom: 0;
}
.promo .tooth-blue {
  width: 88px;
  height: 92px;
  bottom: 16px;
}
.clinic {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  gap: 48px;
  align-items: center;
}
.clinic-copy .section-title {
  margin: 13px 0;
}
.clinic-copy > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 440px;
}
.clinic-benefits {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 15px;
  margin: 22px 0 0;
}
.clinic-benefits li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  mix-blend-mode: multiply;
}
.clinic-benefits b {
  display: block;
  font-size: 14px;
}
.clinic-benefits small {
  color: var(--muted);
  font-size: 13px;
}
.clinic-visual {
  position: relative;
  min-height: 548px;
  border-radius: 44% 18% 24% 36%/52% 13% 28% 38%;
  overflow: hidden;
}
.clinic-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% center;
}
.clinic-form {
  position: absolute;
  right: 33px;
  bottom: 26px;
  width: 280px;
  padding: 25px;
  background: #ffffffed;
  border-radius: 24px;
  box-shadow: 0 8px 25px #19396310;
}
.clinic-form h3 {
  font-size: 23px;
  line-height: 1.1;
}
.clinic-form > p {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
.clinic-form input:not([type="checkbox"]) {
  width: 100%;
  height: 35px;
  border: 0;
  background: #f0f5f9;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 13px;
  margin: 3px 0;
  color: var(--ink);
}
.clinic-form .button {
  width: 100%;
  margin-top: 9px;
  font-size: 13px;
  min-height: 40px;
}
.clinic-form .button-icon {
  width: 26px;
  height: 26px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 13px;
  font-size: 13px;
  color: var(--muted);
}
.consent input {
  width: 12px;
  height: 12px;
  accent-color: var(--blue);
  margin: 2px 0;
  flex: none;
}
.form-status:empty {
  display: none;
}
.form-status {
  font-size: 13px !important;
  color: var(--blue) !important;
}
.services {
  background: var(--blue);
  color: #fff;
  border-radius: 38% 10% 8% 10%/7% 5% 10% 9%;
  position: relative;
}

.services .section-heading {
  margin-top: 12px;
}
.services .text-link {
  font-size: 13px;
  white-space: nowrap;
}
/* Шесть плиток ставятся сеткой 3х2: после того как убрали детскую
   стоматологию и «рассрочку и скидки», четыре колонки оставляли вторую
   строку наполовину пустой (владелец 14.10 просил симметрию). */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.service-tile {
  position: relative;
  min-height: 172px;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #d7f0ff;
  color: #123663;
  text-align: left;
  padding: 23px;
}
.service-tile > b {
  font-size: 14px;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  display: block;
}
.service-tile > .round-button {
  position: absolute;
  bottom: 15px;
  left: 19px;
  z-index: 3;
  width: 35px;
  height: 35px;
}
.service-art {
  position: absolute;
  width: 145px;
  height: 140px;
  right: 0;
  bottom: 0;
  mix-blend-mode: multiply;
}
.service-tile .implant-art {
  width: 94px;
  height: 160px;
  right: 7px;
  bottom: -7px;
}
.service-lilac {
  background: #dbd0f6;
}
.service-child {
  background: #c2e5f6;
}
.service-child .service-art {
  mix-blend-mode: normal;
  width: 174px;
  height: 166px;
  right: -1px;
  bottom: 0;
  border-radius: 80% 0 0 0;
}
.service-lime {
  background: #bad975;
}
.service-tile .jaw-art {
  width: 150px;
  height: 126px;
  right: -4px;
  bottom: 0;
}
.percent-art {
  position: absolute;
  bottom: -30px;
  right: 5px;
  font-family: Arial, sans-serif;
  font-size: 126px;
  font-weight: 700;
  color: #89b940;
  transform: rotate(-14deg);
  text-shadow:
    2px 2px 1px #efff95,
    -4px -3px 5px #598423;
}
.percent-small {
  font-size: 46px;
  color: #739e32;
  position: absolute;
  right: 10px;
  bottom: 0;
  font-weight: 700;
}

.doctors-heading {
  gap: 18px;
}

.doctor-filters {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.doctor-filters button {
  padding: 8px 13px;
  border: 0;
  border-radius: 99px;
  background: #edf3f9;
  color: #4a5a6e; /* было #718093 = 3,61:1 на фильтрах врачей */
  font-size: 13px;
  white-space: nowrap;
}
.doctor-filters button.active {
  background: var(--blue);
  color: #fff;
}
.home-doctors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 58px;
}
.home-doctor {
  min-width: 0;
  display: block;
}
.home-doctor-image {
  height: 215px;
  background: #e0f2fe;
  border-radius: 130px 130px 0 0;
  overflow: hidden;
}
.home-doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
}
.home-doctor-body {
  position: relative;
  padding: 18px 50px 18px 20px;
  min-height: 120px;
  background: #fff;
  border-radius: 0 0 18px 18px;
}
.home-doctor-body h3 {
  font-size: 15px;
  line-height: 1.25;
  max-width: 220px;
}
.home-doctor-body p {
  font-size: 13px;
  color: #68717f;
  margin-top: 7px;
}
.home-doctor-body small {
  font-size: 13px;
  color: #646b73;
}
.home-doctor-body .round-button {
  position: absolute;
  right: 14px;
  bottom: 26px;
  width: 33px;
  height: 33px;
}
.reviews-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 33px;
}
.reviews-title {
  position: relative;
}

.reviews-title p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 13px;
}
.reviews-title .arrows {
  position: absolute;
  right: 0;
  bottom: 5px;
}
.reviews-title .round-button {
  width: 34px;
  height: 34px;
}
.review-tiles {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 12px;
}
.review-tile {
  position: relative;
  border: 0;
  border-radius: 18px;
  height: 165px;
  overflow: hidden;
  text-align: left;
  color: #fff;
  background: #d8e9fb;
  padding: 0;
}
.review-tile > .ref-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.review-tile:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, #102744aa);
}
.review-tile .review-open {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  background: #96bc49d9;
  color: #fff;
  width: 55px;
  height: 55px;
  z-index: 2;
}
.review-open svg {
  width: 24px;
  height: 24px;
}
.review-tile small {
  position: absolute;
  bottom: 15px;
  left: 14px;
  right: 8px;
  font-size: 13px;
  z-index: 3;
}
.review-tile small b {
  display: block;
  font-size: 13px;
}
.trust {
  display: grid;
  grid-template-columns: 0.95fr 1.75fr;
  gap: 37px;
  align-items: start;
}
.trust .section-title {
  margin-top: 15px;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.68fr 0.82fr 0.78fr;
  grid-template-rows: 110px 110px;
  gap: 12px;
}
.trust-tile {
  border: 0;
  border-radius: 19px;
  text-align: left;
  position: relative;
  overflow: hidden;
  padding: 19px;
  color: #143763;
  display: block;
}
.trust-tile > b {
  font-size: 13px;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  display: block;
}
.trust-tile > small {
  font-size: 13px;
  line-height: 1.4;
  display: block;
  margin-top: 12px;
  position: relative;
  z-index: 2;
}
.equipment {
  grid-row: span 2;
  background: #cfeefa;
}
.equipment > .ref-image {
  width: 171px;
  height: 150px;
  position: absolute;
  bottom: 0;
  right: -10px;
  mix-blend-mode: multiply;
}
.equipment > .round-button {
  position: absolute;
  left: 17px;
  bottom: 16px;
  width: 34px;
  height: 34px;
}
.warranty {
  grid-column: span 1;
  background: var(--blue);
  color: #fff;
  padding: 17px 12px;
}
/* Иконка щита лежала кропом из листа без прозрачности, а mix-blend-mode:
   screen белый фон не убирает (белое остаётся белым). На синей плитке это
   читалось как белый квадрат. Теперь это отдельная картинка с альфой,
   вырезанная из того же листа: assets/hd/icon-shield.webp. */
.warranty > .warranty-icon {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 54px;
  height: auto;
}
.specialists {
  grid-column: span 2;
  background: #d9cdf5;
}
.specialists > .ref-image {
  width: 83px;
  height: 80px;
  position: absolute;
  bottom: 0;
  right: 6px;
  mix-blend-mode: multiply;
}
.prices {
  background: #b9d777;
  padding: 17px 12px;
}
.location,
.family {
  background: #cceaf8;
  padding: 17px 12px;
}
.location > .ref-image,
.family > .ref-image {
  position: absolute;
  width: 44px;
  height: 44px;
  right: 0;
  bottom: 0;
  mix-blend-mode: multiply;
}
.trust-tile:not(.equipment) > b {
  font-size: 13px;
}
.consultation {
  position: relative;
  background: #c3e7fa;
  border-radius: 28% 16% 14% 0/40% 55% 40% 0;
  overflow: hidden;
}
.consultation-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.52fr 1.25fr 1fr;
  gap: 28px;
  align-items: center;
}
.consultation .section-title {
  margin-top: 10px;
}
.consultation p {
  font-size: 13px;
  margin-top: 12px;
  color: #2f5277; /* было #687988 = 3,45:1 в блоке консультации */
}
.consultation-art {
  width: 100%;
  aspect-ratio: 45/56;
  border-radius: 24px;
  mix-blend-mode: multiply;
}
.consultation ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
  display: grid;
  gap: 14px;
  position: relative;
}
.consultation ul:before {
  content: "";
  position: absolute;
  inset: -65px -35px;
  background: #ffffffd9;
  border-radius: 65% 30% 35% 15%/55% 75% 35% 60%;
  z-index: 0;
}
.consultation li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  position: relative;
  z-index: 1;
}
.consultation li svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
}
.consultation .button {
  font-size: 13px;
  position: relative;
}
/* ── Подвал по макету Figma («Rectangle 583», 1920x802) ────────────────
   Синяя полоса во всю ширину, белый текст, слева знак и название, в
   середине контакты с иконками, справа карточка с картой, внизу строка
   реквизитов. Светлый плоский подвал прошлой версии макету не отвечал. */
.site-footer {
  margin-top: var(--wb-section-pad);
  padding: 48px 0 28px;
  background: var(--figma-blue, #0f408f);
  color: #fff;
  border-radius: 48px 48px 0 0;
}
.site-footer a {
  color: inherit;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.footer-brand {
  display: grid;
  gap: 6px;
  text-decoration: none;
}
.footer-brand .wordmark {
  font-size: 26px;
  color: #fff;
}
.footer-brand small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-actions .button-white {
  background: #fff;
  color: var(--figma-blue, #0f408f);
}
.footer-actions .button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.footer-actions .button-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 32px 0;
}
.footer-contact {
  display: grid;
  gap: 18px;
  margin: 0;
}
.footer-contact dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact dt svg {
  width: 16px;
  height: 16px;
}
.footer-contact dd {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 600;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  font-size: 15px;
}
.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}
.footer-links a:hover {
  color: #fff;
}
.footer-map {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 120px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}
.footer-map > span:last-child {
  display: grid;
  gap: 4px;
  font-weight: 600;
}
.footer-map small {
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.footer-map > .round-button {
  flex: none;
  color: var(--figma-blue, #0f408f);
  background: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-legal-line {
  max-width: 46ch;
}
@media (max-width: 860px) {
  .site-footer {
    border-radius: 32px 32px 0 0;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
dialog {
  color: var(--ink);
  border: 0;
  border-radius: 26px;
  width: min(520px, calc(100% - 32px));
  padding: 34px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #fff;
  box-shadow: 0 30px 100px #082f5729;
}
dialog::backdrop {
  background: #06234b77;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #eef4f9;
  width: 33px;
  height: 33px;
}
.dialog-heading {
  font-size: 28px;
  padding-right: 23px;
  margin: 15px 0;
}
.dialog-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 15px 0;
}
.dialog-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #3a4a5e; /* было #617082 = 3,78:1 на подписи поля формы */
  margin: 18px 0;
}
.dialog-field select {
  width: 100%;
  min-height: 44px;
  padding: 12px;
  border: 1px solid #d2dce6;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
}
.dialog-contact {
  padding: 18px;
  background: #edf6ff;
  border-radius: 15px;
  margin: 20px 0;
  font-size: 13px;
}
.dialog-contact strong {
  display: block;
  font-size: 17px;
  margin-bottom: 7px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dialog-note {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
}
.dialog-review {
  font-size: 16px;
  line-height: 1.75;
  margin: 20px 0;
}
.wb-lead-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  min-width: 0;
}
.lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.lead-field {
  display: flex;
  flex-wrap: wrap;
  align-content: end;
  gap: 6px;
  font-size: 14px;
  min-width: 0;
}
.lead-field small {
  font-size: 13px;
}
.lead-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  font: inherit;
  border: 1px solid #bacbdc;
  border-radius: 6px;
  background: #fff;
  color: #152337;
}
.clinic-form input:not([type="checkbox"]) {
  min-height: 48px;
}
.clinic-form .button[type="submit"] {
  min-height: 48px;
}
.clinic-visual {
  display: grid;
  align-items: end;
  padding: 100px 33px 26px;
}
.clinic-visual > .clinic-form {
  position: relative;
  background: #fff;
  right: auto;
  bottom: auto;
  justify-self: end;
  width: min(100%, 280px);
}
.clinic-visual .clinic-form input:not([type="checkbox"]) {
  font-size: 14px;
}
.clinic-visual .consent {
  min-height: 44px;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.clinic-visual .consent input {
  width: 18px;
  height: 18px;
}
@media (max-width: 599px) {
  .clinic-visual {
    padding: 100px 18px 24px;
  }
}
.lead-consent {
  display: flex;
  align-items: start;
  gap: 10px;
  min-height: 44px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.lead-consent input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
}
.lead-preview-note {
  font-size: 13px;
  line-height: 1.5;
}
.wb-lead-form .form-status {
  margin: 0;
  font-size: 13px !important;
  color: inherit !important;
  line-height: 1.5;
}
.wb-lead-form .form-status:empty {
  display: none;
}
.wb-lead-form > .button {
  width: 100%;
}
.lead-phone {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 16px;
}
.lead-phone svg {
  width: 20px;
  height: 20px;
}
.inline-booking-section {
  background: #eef6fb;
}
.inline-booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.inline-booking-layout h2 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.inline-booking-layout p {
  line-height: 1.5;
}
.dp-consultation:has(.wb-lead-form) {
  background: #eef6fb;
  color: #152337;
}
.dp-consultation:has(.wb-lead-form) h2 {
  color: #124b96;
}
.dp-consultation-actions:has(.wb-lead-form) {
  display: block;
  width: 100%;
}
.booking-context {
  font-size: 14px;
  line-height: 1.5;
}
/* Запас под плавающую кнопку держит САМ подвал, а не страница. Пока он
   был у body, под синим подвалом оставалась светлая полоса в 90 px
   (замечание владельца 14.10). */
.with-sticky-booking .site-footer {
  padding-bottom: 108px;
}
/* ── Плавающие кнопки ──────────────────────────────────────────────────
   Справа снизу только звонок: подпись слева, круглая кнопка справа
   (владелец 14.10 убрал «Записаться»). Слева снизу кнопка «наверх»,
   она появляется, когда прокрутили больше экрана. */
/* Телефон в шапке с зелёным акцентом: владелец 14.10 попросил выделить
   «позвонить» тем же зелёным, что и плавающая кнопка. */
.header-contact > .round-button {
  background: var(--lime);
  color: #1f3d0a;
}
.header-contact > .round-button:hover {
  background: #86ac3d;
  color: #16290a;
}

/* Белой подложки под кнопкой больше нет: остаётся зелёный кружок с
   трубкой, а подпись «Позвонить» разворачивается при наведении и при
   переходе клавиатурой (владелец 14.10). Нажатие в любом месте набирает
   номер, поэтому на телефоне, где наведения нет, ничего не теряется. */
.site-sticky-booking {
  position: fixed;
  z-index: 35;
  right: 24px;
  bottom: 20px;
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 40px;
  background: transparent;
  box-shadow: none;
  animation: wb-sticky-pulse 9s ease-in-out 4s infinite;
}
.site-sticky-call {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
  padding-left: 0;
  border-radius: 999px;
}
/* Подложка панели остаётся белой, выделена только плашка слева: так
   попросил владелец 14.10. Текст тёмно-зелёный по лаймовой плашке —
   белый по лайму даёт 2,24:1 и не проходит по контрасту. */
.site-sticky-label {
  display: flex;
  align-items: center;
  min-height: 48px;
  max-width: 0;
  padding: 0;
  margin-right: -24px;
  border-radius: 999px 0 0 999px;
  background: var(--lime);
  line-height: 1.2;
  font-weight: 700;
  font-size: 16px;
  color: #1f3d0a;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transition:
    max-width 320ms cubic-bezier(0.22, 0.8, 0.3, 1),
    padding 320ms cubic-bezier(0.22, 0.8, 0.3, 1),
    opacity 200ms ease 60ms;
}
.site-sticky-call:hover .site-sticky-label,
.site-sticky-call:focus-visible .site-sticky-label {
  max-width: 220px;
  padding: 0 34px 0 22px;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .site-sticky-label {
    transition: none;
  }
}
.site-sticky-booking .round-button {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  background: var(--lime);
  color: #1f3d0a;
  box-shadow: 0 6px 24px rgba(22, 57, 105, 0.22);
  transition: transform 220ms ease;
}
.site-sticky-call:hover .round-button {
  transform: scale(1.04);
}
@keyframes wb-sticky-pulse {
  0%,
  88%,
  100% {
    box-shadow: 0 6px 28px #16396920;
  }
  92% {
    box-shadow:
      0 6px 28px #16396920,
      0 0 0 10px rgba(18, 75, 150, 0.14);
  }
  96% {
    box-shadow:
      0 6px 28px #16396920,
      0 0 0 18px rgba(18, 75, 150, 0);
  }
}
.site-to-top {
  position: fixed;
  z-index: 35;
  left: 24px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e3ec;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 6px 28px #16396920;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.site-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-to-top svg {
  width: 22px;
  height: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .site-sticky-booking {
    animation: none;
  }
  .site-to-top {
    transition: none;
  }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .header-contact > div {
    display: none;
  }
}
@media (max-width: 599px) {
  .lead-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .inline-booking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-sticky-booking {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    border-radius: 999px;
    justify-content: flex-end;
    padding: 0;
  }
}
.dialog-review-date {
  font-size: 13px;
  color: var(--muted);
}
.dialog-source {
  display: inline-block;
  color: var(--blue);
  text-decoration: underline;
  margin-top: 12px;
}
.dialog-stars {
  color: #89af42;
}
@media (min-width: 1500px) {
  .hero {
    height: 790px;
  }
  .hero-inner {
    padding-top: 165px;
  }
  .hero--implant {
    height: 700px;
  }
  .hero--implant .hero-inner {
    padding-top: 51px;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 48px);
  }
  .brand-caption {
    display: none;
  }
  .site-nav {
    gap: 15px;
  }
  .hero-copy {
    width: 510px;
  }
  
  
  .hero-offers {
    width: 228px;
  }
  .hero-offer > span:first-child {
    font-size: 15px;
  }
  .hero-offer {
    min-height: 160px;
  }
  .hero-offer .offer-art {
    opacity: 0.5;
  }
  .clinic {
    gap: 28px;
  }
  .clinic-form {
    right: 22px;
  }
  .service-tile {
    padding: 20px 15px;
  }
  .service-tile b {
    font-size: 13px;
  }
  .home-doctors {
    gap: 25px;
  }
  
  .doctor-filters {
    gap: 4px;
  }
  .doctor-filters button {
    padding: 8px 10px;
  }
  .reviews-title .arrows {
    position: static;
    margin-top: 18px;
  }
  .trust {
    grid-template-columns: 1fr 2fr;
    gap: 24px;
  }
  
  .consultation-inner {
    gap: 18px;
  }
  .consultation .button {
    white-space: normal;
  }
  .hero--implant .hero-copy {
    width: 530px;
  }
  
  
}
@media (max-width: 950px) {
  .site-nav,
  .header-book {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .mobile-nav.open {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    gap: 0;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px #17406920;
  }
  .mobile-nav a {
    padding: 13px;
  }
  .hero-offers {
    width: 260px;
    right: 0;
    gap: 20px;
  }
  .hero-offer {
    padding: 18px;
  }
  .hero-offer > span:first-child {
    font-size: 13px;
  }
  .hero-offer > b {
    font-size: 22px;
  }
  .hero-copy {
    width: 460px;
  }
  
  
  .hero-actions {
    flex-direction: column;
    align-items: start;
  }
  .watch-link {
    display: none;
  }
  .hero {
    height: 700px;
  }
  .offer-grid {
    /* Коллажем, а не лентой: все предложения видны сразу (владелец 14.10). */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
  }
  .promo {
    scroll-snap-align: start;
  }
  .clinic {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .clinic-visual {
    min-height: 525px;
  }
  .clinic-form {
    width: 240px;
    right: 15px;
  }
  .services .section-heading {
    align-items: start;
  }
  
  .services .text-link {
    display: none;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-tile {
    height: 170px;
  }
  .service-tile b {
    font-size: 15px;
  }
  .doctors-heading {
    flex-wrap: wrap;
  }
  .doctor-filters {
    margin-left: 0;
  }
  .doctors-heading > div:first-child {
    width: 100%;
  }
  .doctors-heading > .round-button {
    margin-left: auto;
  }
  .home-doctor-image {
    height: 195px;
  }
  .home-doctors {
    gap: 18px;
  }
  .home-doctor-body {
    padding-left: 15px;
  }
  .home-doctor-body h3 {
    font-size: 13px;
  }
  .reviews-section {
    grid-template-columns: 1fr;
  }
  .reviews-title {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
  }
  .reviews-title .arrows {
    margin: 0 0 0 auto;
  }
  .reviews-title p {
    display: none;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .trust .section-title br {
    display: none;
  }
  .trust-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .consultation-inner {
    grid-template-columns: 1.4fr 0.6fr 1.4fr;
  }
  .consultation-inner > .button {
    grid-column: 3;
  }
  .consultation-inner > ul {
    grid-column: 3;
    grid-row: 1;
  }
  .consultation-art {
    max-width: 110px;
  }
  .hero--implant {
    margin-inline: 16px;
  }
  .hero--implant .hero-inner {
    width: calc(100% - 60px);
  }
  .hero--implant .hero-background {
    object-position: 58% center;
  }
  
  
}
@media (max-width: 600px) {
  :root {
    --header-height: 68px;
    --header-inset: 8px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .site-header {
    width: calc(100% - 24px);
  }
  body .site-header > .container {
    gap: 6px;
    padding-inline: 18px 12px;
  }
  .wordmark {
    font-size: 22px;
  }
  .header-contact {
    margin-left: auto;
  }
  .header-contact > .round-button {
    width: 44px;
    height: 44px;
  }
  .header-contact > div {
    display: none;
  }
  .menu-toggle {
    background: transparent;
  }
  .hero {
    height: 810px;
  }
  .hero-inner {
    padding-top: 110px;
  }
  .hero-background {
    object-position: 63% center;
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 76px 0 0;
    background: linear-gradient(90deg, #084787bb, transparent 85%);
    z-index: 1;
    pointer-events: none;
  }
  .hero-copy {
    width: 100%;
  }
  
  .hero h1 > span {
    white-space: nowrap;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 18px;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .hero-actions .button {
    font-size: 13px;
    min-height: 46px;
  }
  .hero-stats {
    gap: 25px;
    margin-top: 24px;
  }
  .hero-stats b {
    font-size: 26px;
  }
  .hero-stats span {
    font-size: 13px;
  }
  /* Карточка одна и на узком экране стоит в потоке под текстом: абсолютной
     она наезжала на кнопку и на цифры (замечание владельца 14.10). */
  .hero-offers {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .hero-offer {
    min-height: 126px;
    border-radius: 21px;
    padding: 15px;
    background: #e2f3fff2;
  }
  .hero-offer.offer-lilac {
    margin: 0;
    background: #e5d9f7f2;
  }
  .hero-offer > span:first-child {
    font-size: 13px;
  }
  .hero-offer small {
    font-size: 13px;
  }
  .hero-offer > b {
    font-size: 20px;
    margin-top: 15px;
  }
  .hero-offer .round-button {
    width: 27px;
    height: 27px;
    right: 12px;
    bottom: 13px;
  }
  .hero-offer .round-button svg {
    width: 15px;
  }
  .hero-offer .offer-art {
    display: none;
  }
  .hero-controls {
    bottom: 37px;
    gap: 13px;
  }
  .hero-controls .round-button {
    width: 32px;
    height: 32px;
  }
  .hero-controls > span {
    color: #fff;
  }
  .hero-wave {
    bottom: -82px;
    width: 80%;
    height: 100px;
  }
  .hero-wave:after {
    height: 110px;
  }
  
  .eyebrow {
    font-size: 13px;
  }
  
  .section-heading {
    gap: 12px;
    margin-bottom: 18px;
  }
  .section-heading .round-button {
    width: 32px;
    height: 32px;
  }
  .offers .section-title {
    max-width: 235px;
  }
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .promo {
    min-height: 220px;
    padding: 22px;
  }
  .promo strong {
    font-size: 16px;
  }
  .promo b {
    font-size: 21px;
  }
  .promo > .round-button {
    left: 20px;
    width: 36px;
    height: 36px;
  }
  .clinic {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .clinic-copy > p {
    font-size: 13px;
  }
  .clinic-benefits {
    gap: 12px;
  }
  .clinic-benefits b {
    font-size: 13px;
  }
  .clinic-benefits small {
    font-size: 13px;
  }
  .benefit-icon {
    width: 40px;
    height: 40px;
  }
  .clinic-visual {
    min-height: 450px;
    border-radius: 100px 35px 65px 45px;
  }
  .clinic-visual > img {
    object-position: 38% center;
  }
  .clinic-form {
    width: 220px;
    right: 18px;
    bottom: 18px;
    padding: 19px;
  }
  .clinic-form h3 {
    font-size: 21px;
  }
  .services {
    border-radius: 25% 8% 10% 8%/3% 2% 4% 3%;
  }
  
  .service-grid {
    gap: 10px;
  }
  .service-tile {
    min-height: 160px;
    height: 160px;
    padding: 16px 12px;
    border-radius: 18px;
  }
  .service-tile b {
    font-size: 13px;
  }
  .service-art {
    width: 103px;
    height: 108px;
  }
  .service-tile .implant-art {
    width: 66px;
    height: 113px;
    right: 0;
  }
  .service-child .service-art {
    width: 116px;
    height: 112px;
  }
  .service-tile .jaw-art {
    width: 109px;
    height: 92px;
  }
  .service-tile > .round-button {
    width: 30px;
    height: 30px;
    left: 11px;
    bottom: 12px;
  }
  .service-tile > .round-button svg {
    width: 16px;
  }
  .percent-art {
    font-size: 94px;
    bottom: -15px;
  }
  
  
  .home-doctors {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
  }
  .home-doctor {
    width: 260px;
    flex: none;
    scroll-snap-align: start;
  }
  .home-doctor-image {
    height: 235px;
  }
  .home-doctor-body {
    min-height: 118px;
    padding-left: 18px;
  }
  .home-doctor-body h3 {
    font-size: 15px;
  }
  .reviews-section {
    padding-top: 4px;
    padding-bottom: 28px;
    gap: 18px;
  }
  
  .review-tiles {
    grid-template-columns: 1.6fr 1fr;
    gap: 10px;
  }
  .review-tile:last-child {
    display: none;
  }
  .review-tile {
    height: 162px;
  }
  .trust {
    gap: 19px;
  }
  .trust .section-title {
    margin-top: 10px;
  }
  .trust .section-title br {
    display: initial;
  }
  .trust-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: 116px 105px 92px;
    gap: 9px;
  }
  .trust-tile {
    padding: 15px;
    border-radius: 16px;
  }
  .trust-tile > b {
    font-size: 13px;
  }
  .equipment {
    grid-row: span 2;
  }
  .warranty {
    grid-column: span 2;
  }
  .warranty > .warranty-icon {
    right: 18px;
    bottom: 12px;
    width: 62px;
  }
  .specialists {
    grid-column: span 2;
  }
  .specialists > .ref-image {
    width: 60px;
    height: 58px;
    right: 12px;
  }
  .prices,
  .location,
  .family {
    grid-row: 3;
  }
  .equipment > .ref-image {
    width: 135px;
    height: 118px;
    right: -16px;
  }
  .equipment > .round-button {
    width: 29px;
    height: 29px;
    left: 12px;
  }
  .trust-tile > small {
    font-size: 13px;
  }
  .consultation {
    border-radius: 55px 55px 40px 0;
  }
  .consultation-inner {
    grid-template-columns: 1fr 75px;
    gap: 22px;
  }
  
  .consultation-art {
    width: 75px;
  }
  .consultation-inner > ul {
    grid-column: 1/-1;
    grid-row: auto;
    padding-left: 6px;
  }
  .consultation ul:before {
    inset: -10px -12px;
    border-radius: 25px;
  }
  .consultation li {
    font-size: 13px;
  }
  .consultation-inner > .button {
    grid-column: 1/-1;
    justify-self: start;
    white-space: nowrap;
    min-height: 47px;
    font-size: 13px;
  }
  .footer-brand .wordmark {
    font-size: 22px;
  }
  .footer-links {
    gap: 11px;
    font-size: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: start;
    gap: 11px;
    font-size: 13px;
  }
  .footer-bottom nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero--implant {
    margin: 85px 9px 0;
    height: 760px;
    border-radius: 35px;
  }
  .hero--implant .hero-inner {
    width: calc(100% - 38px);
    padding-top: 33px;
  }
  .hero--implant .hero-copy {
    width: 100%;
  }
  .hero--implant .hero-background {
    object-position: 57% center;
  }
  .hero--implant:before {
    inset: 0;
    background: linear-gradient(
      180deg,
      #043c82a1 0%,
      #043c8240 55%,
      transparent
    );
  }
  .hero--implant .hero-eyebrow {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  
  .hero--implant .hero-copy > p {
    font-size: 13px;
  }
  .hero--implant .hero-actions .button {
    font-size: 13px;
    min-height: 47px;
  }
  .hero--implant .hero-stats {
    gap: 16px;
  }
  .hero--implant .hero-stats > div + div {
    padding-left: 15px;
  }
  .hero--implant .hero-controls {
    bottom: 35px;
  }
  .hero--implant .hero-wave {
    display: none;
  }
  .hero--implant .hero-controls > span {
    color: var(--blue);
  }
  dialog {
    padding: 26px 22px;
  }
  .dialog-heading {
    font-size: 25px;
  }
}
.home-doctor-image img {
  object-position: 50% 26%;
}
@media (min-width: 951px) {
  .hero--implant {
    height: 600px;
  }
  .hero--implant .hero-inner {
    padding-top: 43px;
  }
  
  .hero--implant .hero-copy > p {
    margin-top: 16px;
  }
  .hero--implant .hero-actions {
    margin-top: 18px;
  }
  .hero--implant .hero-stats {
    margin-top: 24px;
  }
  .hero--implant .hero-controls {
    bottom: 55px;
  }
}
.promo,
.service-tile,
.trust-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.promo-blue .promo-art {
  background-image: url("assets/hero-implant.webp") !important;
  background-size: auto 100% !important;
  background-position: 68% center !important;
  width: 148px;
  height: 230px;
  mask-image: linear-gradient(90deg, transparent, #000 30%);
  border-radius: 0;
}
.service-tile [data-sprite="dental"] {
  width: 155px;
  height: 155px;
  right: -8px;
  bottom: -10px;
}
.promo [data-sprite="dental"] {
  width: 146px;
  height: 146px;
  bottom: -9px;
  right: -9px;
}
.promo .implant-art[data-sprite="dental"] {
  height: 182px;
  width: 182px;
  right: -29px;
  bottom: -16px;
}
.service-tile .implant-art[data-sprite="dental"] {
  height: 178px;
  width: 178px;
  right: -30px;
  bottom: -18px;
}
.equipment > [data-sprite="dental"] {
  width: 196px;
  height: 196px;
  right: -21px;
  bottom: -12px;
}
@media (max-width: 600px) {
  .service-tile [data-sprite="dental"] {
    width: 123px;
    height: 123px;
    right: -8px;
    bottom: -5px;
  }
  .service-tile .implant-art[data-sprite="dental"] {
    width: 136px;
    height: 136px;
    right: -25px;
    bottom: -5px;
  }
  .equipment > [data-sprite="dental"] {
    width: 150px;
    height: 150px;
    right: -19px;
    bottom: -10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Плашка акции (образец владельца 14.10) ────────────────────────────
   Оранжевая строка «Акция действует ещё N дней», под ней белая карточка с
   названием и синяя с датой. Дату и остаток дней считает promo.js: всегда
   до 15 числа, поэтому плашка не протухает. */
/* Простой вид: капсула с датой, название и остаток дней. Он стоит в блоке
   бесплатной консультации и владельца устраивает. */
.wb-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
  line-height: 1.35;
}
.wb-promo-until {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--figma-lime, #94ba47);
  color: #15200a;
  font-size: 15px;
  white-space: nowrap;
}
.wb-promo-left {
  opacity: 0.85;
}
.implant-hero-gift .wb-promo,
.core-section .wb-promo {
  background: #eef5fb;
  color: var(--ink);
}

/* Вид баннера: образец владельца. Оранжевая строка со сроком, под ней белая
   карточка с ценой и синяя с датой. */
.wb-promo-banner {
  display: grid;
  gap: 0;
  padding: 0;
  background: none;
}
/* Плашка акции по образцу владельца (14.10): сверху лаймовая вкладка
   «Акция действует ещё» с числом дней в белой капсуле, под ней в строку
   белая карточка с ценой и выгодой и справа синяя карточка с датой.
   Цвета и шрифт наши: чужого оранжевого на сайте нет. */
.wb-promo-strip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 14px;
  margin-bottom: -8px;
  border-radius: 16px 16px 0 0;
  background: var(--figma-lime, #94ba47);
  color: #15200a;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.wb-promo-strip b {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  color: #2d4100;
  font-size: 13px;
  white-space: nowrap;
}
.wb-promo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 8px;
}
.wb-promo-name {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px 22px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}
.wb-promo-price {
  font-family: var(--figma-font-heading, "Golos Text", Arial, sans-serif);
  font-size: 30px;
  line-height: 1.05;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wb-promo-gain {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  color: #46648a;
}
.wb-promo-date {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  padding: 12px 20px;
  border-radius: 26px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}
/* «до 15» стоит одной строкой, «октября» под ней (владелец 14.10). */
.wb-promo-day {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.wb-promo-date b {
  font-family: var(--figma-font-heading, "Golos Text", Arial, sans-serif);
  font-size: 28px;
  line-height: 1.05;
  color: #fff;
}

/* ── Плавающие кнопки ──────────────────────────────────────────────────
   Справа снизу только звонок: подпись слева, круглая кнопка справа
   (владелец 14.10 убрал «Записаться»). Слева снизу кнопка «наверх»,
   она появляется, когда прокрутили больше экрана. */
/* Повтор блока плавающей панели удалён целиком: он возвращал белую
   подложку поверх зелёного кружка (владелец 14.10). */
@keyframes wb-sticky-pulse {
  0%,
  88%,
  100% {
    box-shadow: 0 6px 28px #16396920;
  }
  92% {
    box-shadow:
      0 6px 28px #16396920,
      0 0 0 10px rgba(18, 75, 150, 0.14);
  }
  96% {
    box-shadow:
      0 6px 28px #16396920,
      0 0 0 18px rgba(18, 75, 150, 0);
  }
}
.site-to-top {
  position: fixed;
  z-index: 35;
  left: 24px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e3ec;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 6px 28px #16396920;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.site-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-to-top svg {
  width: 22px;
  height: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .site-sticky-booking {
    animation: none;
  }
  .site-to-top {
    transition: none;
  }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .header-contact > div {
    display: none;
  }
}
@media (max-width: 599px) {
  .lead-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .inline-booking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-sticky-booking {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    border-radius: 999px;
    justify-content: flex-end;
    padding: 0;
  }
}
.dialog-review-date {
  font-size: 13px;
  color: var(--muted);
}
.dialog-source {
  display: inline-block;
  color: var(--blue);
  text-decoration: underline;
  margin-top: 12px;
}
.dialog-stars {
  color: #89af42;
}
@media (min-width: 1500px) {
  .hero {
    height: 790px;
  }
  .hero-inner {
    padding-top: 165px;
  }
  .hero--implant {
    height: 700px;
  }
  .hero--implant .hero-inner {
    padding-top: 51px;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 48px);
  }
  .brand-caption {
    display: none;
  }
  .site-nav {
    gap: 15px;
  }
  .hero-copy {
    width: 510px;
  }
  
  
  .hero-offers {
    width: 228px;
  }
  .hero-offer > span:first-child {
    font-size: 15px;
  }
  .hero-offer {
    min-height: 160px;
  }
  .hero-offer .offer-art {
    opacity: 0.5;
  }
  .clinic {
    gap: 28px;
  }
  .clinic-form {
    right: 22px;
  }
  .service-tile {
    padding: 20px 15px;
  }
  .service-tile b {
    font-size: 13px;
  }
  .home-doctors {
    gap: 25px;
  }
  
  .doctor-filters {
    gap: 4px;
  }
  .doctor-filters button {
    padding: 8px 10px;
  }
  .reviews-title .arrows {
    position: static;
    margin-top: 18px;
  }
  .trust {
    grid-template-columns: 1fr 2fr;
    gap: 24px;
  }
  
  .consultation-inner {
    gap: 18px;
  }
  .consultation .button {
    white-space: normal;
  }
  .hero--implant .hero-copy {
    width: 530px;
  }
  
  
}
@media (max-width: 950px) {
  .site-nav,
  .header-book {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .mobile-nav.open {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    gap: 0;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px #17406920;
  }
  .mobile-nav a {
    padding: 13px;
  }
  .hero-offers {
    width: 260px;
    right: 0;
    gap: 20px;
  }
  .hero-offer {
    padding: 18px;
  }
  .hero-offer > span:first-child {
    font-size: 13px;
  }
  .hero-offer > b {
    font-size: 22px;
  }
  .hero-copy {
    width: 460px;
  }
  
  
  .hero-actions {
    flex-direction: column;
    align-items: start;
  }
  .watch-link {
    display: none;
  }
  .hero {
    height: 700px;
  }
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
  }
  .promo {
    scroll-snap-align: start;
  }
  .clinic {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .clinic-visual {
    min-height: 525px;
  }
  .clinic-form {
    width: 240px;
    right: 15px;
  }
  .services .section-heading {
    align-items: start;
  }
  
  .services .text-link {
    display: none;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-tile {
    height: 170px;
  }
  .service-tile b {
    font-size: 15px;
  }
  .doctors-heading {
    flex-wrap: wrap;
  }
  .doctor-filters {
    margin-left: 0;
  }
  .doctors-heading > div:first-child {
    width: 100%;
  }
  .doctors-heading > .round-button {
    margin-left: auto;
  }
  .home-doctor-image {
    height: 195px;
  }
  .home-doctors {
    gap: 18px;
  }
  .home-doctor-body {
    padding-left: 15px;
  }
  .home-doctor-body h3 {
    font-size: 13px;
  }
  .reviews-section {
    grid-template-columns: 1fr;
  }
  .reviews-title {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
  }
  .reviews-title .arrows {
    margin: 0 0 0 auto;
  }
  .reviews-title p {
    display: none;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .trust .section-title br {
    display: none;
  }
  .trust-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .consultation-inner {
    grid-template-columns: 1.4fr 0.6fr 1.4fr;
  }
  .consultation-inner > .button {
    grid-column: 3;
  }
  .consultation-inner > ul {
    grid-column: 3;
    grid-row: 1;
  }
  .consultation-art {
    max-width: 110px;
  }
  .hero--implant {
    margin-inline: 16px;
  }
  .hero--implant .hero-inner {
    width: calc(100% - 60px);
  }
  .hero--implant .hero-background {
    object-position: 58% center;
  }
  
  
}
@media (max-width: 600px) {
  :root {
    --header-height: 68px;
    --header-inset: 8px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .site-header {
    width: calc(100% - 24px);
  }
  body .site-header > .container {
    gap: 6px;
    padding-inline: 18px 12px;
  }
  .wordmark {
    font-size: 22px;
  }
  .header-contact {
    margin-left: auto;
  }
  .header-contact > .round-button {
    width: 44px;
    height: 44px;
  }
  .header-contact > div {
    display: none;
  }
  .menu-toggle {
    background: transparent;
  }
  .hero {
    height: 810px;
  }
  .hero-inner {
    padding-top: 110px;
  }
  .hero-background {
    object-position: 63% center;
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 76px 0 0;
    background: linear-gradient(90deg, #084787bb, transparent 85%);
    z-index: 1;
    pointer-events: none;
  }
  .hero-copy {
    width: 100%;
  }
  
  .hero h1 > span {
    white-space: nowrap;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 1.55;
    margin-top: 18px;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .hero-actions .button {
    font-size: 13px;
    min-height: 46px;
  }
  .hero-stats {
    gap: 25px;
    margin-top: 24px;
  }
  .hero-stats b {
    font-size: 26px;
  }
  .hero-stats span {
    font-size: 13px;
  }
  /* Карточка одна и на узком экране стоит в потоке под текстом: абсолютной
     она наезжала на кнопку и на цифры (замечание владельца 14.10). */
  .hero-offers {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .hero-offer {
    min-height: 126px;
    border-radius: 21px;
    padding: 15px;
    background: #e2f3fff2;
  }
  .hero-offer.offer-lilac {
    margin: 0;
    background: #e5d9f7f2;
  }
  .hero-offer > span:first-child {
    font-size: 13px;
  }
  .hero-offer small {
    font-size: 13px;
  }
  .hero-offer > b {
    font-size: 20px;
    margin-top: 15px;
  }
  .hero-offer .round-button {
    width: 27px;
    height: 27px;
    right: 12px;
    bottom: 13px;
  }
  .hero-offer .round-button svg {
    width: 15px;
  }
  .hero-offer .offer-art {
    display: none;
  }
  .hero-controls {
    bottom: 37px;
    gap: 13px;
  }
  .hero-controls .round-button {
    width: 32px;
    height: 32px;
  }
  .hero-controls > span {
    color: #fff;
  }
  .hero-wave {
    bottom: -82px;
    width: 80%;
    height: 100px;
  }
  .hero-wave:after {
    height: 110px;
  }
  
  .eyebrow {
    font-size: 13px;
  }
  
  .section-heading {
    gap: 12px;
    margin-bottom: 18px;
  }
  .section-heading .round-button {
    width: 32px;
    height: 32px;
  }
  .offers .section-title {
    max-width: 235px;
  }
  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .promo {
    min-height: 220px;
    padding: 22px;
  }
  .promo strong {
    font-size: 16px;
  }
  .promo b {
    font-size: 21px;
  }
  .promo > .round-button {
    left: 20px;
    width: 36px;
    height: 36px;
  }
  .clinic {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .clinic-copy > p {
    font-size: 13px;
  }
  .clinic-benefits {
    gap: 12px;
  }
  .clinic-benefits b {
    font-size: 13px;
  }
  .clinic-benefits small {
    font-size: 13px;
  }
  .benefit-icon {
    width: 40px;
    height: 40px;
  }
  .clinic-visual {
    min-height: 450px;
    border-radius: 100px 35px 65px 45px;
  }
  .clinic-visual > img {
    object-position: 38% center;
  }
  .clinic-form {
    width: 220px;
    right: 18px;
    bottom: 18px;
    padding: 19px;
  }
  .clinic-form h3 {
    font-size: 21px;
  }
  .services {
    border-radius: 25% 8% 10% 8%/3% 2% 4% 3%;
  }
  
  .service-grid {
    gap: 10px;
  }
  .service-tile {
    min-height: 160px;
    height: 160px;
    padding: 16px 12px;
    border-radius: 18px;
  }
  .service-tile b {
    font-size: 13px;
  }
  .service-art {
    width: 103px;
    height: 108px;
  }
  .service-tile .implant-art {
    width: 66px;
    height: 113px;
    right: 0;
  }
  .service-child .service-art {
    width: 116px;
    height: 112px;
  }
  .service-tile .jaw-art {
    width: 109px;
    height: 92px;
  }
  .service-tile > .round-button {
    width: 30px;
    height: 30px;
    left: 11px;
    bottom: 12px;
  }
  .service-tile > .round-button svg {
    width: 16px;
  }
  .percent-art {
    font-size: 94px;
    bottom: -15px;
  }
  
  
  .home-doctors {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
  }
  .home-doctor {
    width: 260px;
    flex: none;
    scroll-snap-align: start;
  }
  .home-doctor-image {
    height: 235px;
  }
  .home-doctor-body {
    min-height: 118px;
    padding-left: 18px;
  }
  .home-doctor-body h3 {
    font-size: 15px;
  }
  .reviews-section {
    padding-top: 4px;
    padding-bottom: 28px;
    gap: 18px;
  }
  
  .review-tiles {
    grid-template-columns: 1.6fr 1fr;
    gap: 10px;
  }
  .review-tile:last-child {
    display: none;
  }
  .review-tile {
    height: 162px;
  }
  .trust {
    gap: 19px;
  }
  .trust .section-title {
    margin-top: 10px;
  }
  .trust .section-title br {
    display: initial;
  }
  .trust-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: 116px 105px 92px;
    gap: 9px;
  }
  .trust-tile {
    padding: 15px;
    border-radius: 16px;
  }
  .trust-tile > b {
    font-size: 13px;
  }
  .equipment {
    grid-row: span 2;
  }
  .warranty {
    grid-column: span 2;
  }
  .warranty > .warranty-icon {
    right: 18px;
    bottom: 12px;
    width: 62px;
  }
  .specialists {
    grid-column: span 2;
  }
  .specialists > .ref-image {
    width: 60px;
    height: 58px;
    right: 12px;
  }
  .prices,
  .location,
  .family {
    grid-row: 3;
  }
  .equipment > .ref-image {
    width: 135px;
    height: 118px;
    right: -16px;
  }
  .equipment > .round-button {
    width: 29px;
    height: 29px;
    left: 12px;
  }
  .trust-tile > small {
    font-size: 13px;
  }
  .consultation {
    border-radius: 55px 55px 40px 0;
  }
  .consultation-inner {
    grid-template-columns: 1fr 75px;
    gap: 22px;
  }
  
  .consultation-art {
    width: 75px;
  }
  .consultation-inner > ul {
    grid-column: 1/-1;
    grid-row: auto;
    padding-left: 6px;
  }
  .consultation ul:before {
    inset: -10px -12px;
    border-radius: 25px;
  }
  .consultation li {
    font-size: 13px;
  }
  .consultation-inner > .button {
    grid-column: 1/-1;
    justify-self: start;
    white-space: nowrap;
    min-height: 47px;
    font-size: 13px;
  }
  .footer-brand .wordmark {
    font-size: 22px;
  }
  .footer-links {
    gap: 11px;
    font-size: 14px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: start;
    gap: 11px;
    font-size: 13px;
  }
  .footer-bottom nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero--implant {
    margin: 85px 9px 0;
    height: 760px;
    border-radius: 35px;
  }
  .hero--implant .hero-inner {
    width: calc(100% - 38px);
    padding-top: 33px;
  }
  .hero--implant .hero-copy {
    width: 100%;
  }
  .hero--implant .hero-background {
    object-position: 57% center;
  }
  .hero--implant:before {
    inset: 0;
    background: linear-gradient(
      180deg,
      #043c82a1 0%,
      #043c8240 55%,
      transparent
    );
  }
  .hero--implant .hero-eyebrow {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  
  .hero--implant .hero-copy > p {
    font-size: 13px;
  }
  .hero--implant .hero-actions .button {
    font-size: 13px;
    min-height: 47px;
  }
  .hero--implant .hero-stats {
    gap: 16px;
  }
  .hero--implant .hero-stats > div + div {
    padding-left: 15px;
  }
  .hero--implant .hero-controls {
    bottom: 35px;
  }
  .hero--implant .hero-wave {
    display: none;
  }
  .hero--implant .hero-controls > span {
    color: var(--blue);
  }
  dialog {
    padding: 26px 22px;
  }
  .dialog-heading {
    font-size: 25px;
  }
}
.home-doctor-image img {
  object-position: 50% 26%;
}
@media (min-width: 951px) {
  .hero--implant {
    height: 600px;
  }
  .hero--implant .hero-inner {
    padding-top: 43px;
  }
  
  .hero--implant .hero-copy > p {
    margin-top: 16px;
  }
  .hero--implant .hero-actions {
    margin-top: 18px;
  }
  .hero--implant .hero-stats {
    margin-top: 24px;
  }
  .hero--implant .hero-controls {
    bottom: 55px;
  }
}
.promo,
.service-tile,
.trust-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.promo-blue .promo-art {
  background-image: url("assets/hero-implant.webp") !important;
  background-size: auto 100% !important;
  background-position: 68% center !important;
  width: 148px;
  height: 230px;
  mask-image: linear-gradient(90deg, transparent, #000 30%);
  border-radius: 0;
}
.service-tile [data-sprite="dental"] {
  width: 155px;
  height: 155px;
  right: -8px;
  bottom: -10px;
}
.promo [data-sprite="dental"] {
  width: 146px;
  height: 146px;
  bottom: -9px;
  right: -9px;
}
.promo .implant-art[data-sprite="dental"] {
  height: 182px;
  width: 182px;
  right: -29px;
  bottom: -16px;
}
.service-tile .implant-art[data-sprite="dental"] {
  height: 178px;
  width: 178px;
  right: -30px;
  bottom: -18px;
}
.equipment > [data-sprite="dental"] {
  width: 196px;
  height: 196px;
  right: -21px;
  bottom: -12px;
}
@media (max-width: 600px) {
  .service-tile [data-sprite="dental"] {
    width: 123px;
    height: 123px;
    right: -8px;
    bottom: -5px;
  }
  .service-tile .implant-art[data-sprite="dental"] {
    width: 136px;
    height: 136px;
    right: -25px;
    bottom: -5px;
  }
  .equipment > [data-sprite="dental"] {
    width: 150px;
    height: 150px;
    right: -19px;
    bottom: -10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Срок акции на бесплатную консультацию ─────────────────────────────
   Дата считается в браузере (styleboard/promo.js): всегда до 15 числа.
   Так просил владелец 14.10, и так делают сильные клиники в выдаче. */
.wb-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
  line-height: 1.35;
}
.wb-promo .wb-promo-until,
.wb-promo-until {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--figma-lime, #94ba47);
  color: #15200a;
  font-size: 15px;
  white-space: nowrap;
}
.wb-promo-left {
  opacity: 0.85;
}
/* На светлом фоне плашка своя: белая подложка выглядела бы пятном. */
.implant-hero-gift .wb-promo,
.core-section .wb-promo {
  background: #eef5fb;
  color: var(--ink);
}

/* Карточка акции на первом экране: подложки нет, вкладка и две карточки
   лежат прямо на фотографии, как в образце (владелец 14.10). */
.hero-promo-card {
  display: grid;
  gap: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  text-align: left;
}
.hero-promo-card .wb-promo {
  margin: 0;
  padding: 0;
  background: none;
  font-size: inherit;
}
.hero-promo-card .dp-button-arrow,
.hero-promo-card .button-icon {
  display: none;
}

/* Прежние переопределения карточки акции удалены: они возвращали две
   колонки, синюю плашку даты, заголовок и приписку, которых больше нет
   (владелец 14.10 оставил в плашке только срок, цену и выгоду). */
.wb-promo-strip,
.wb-promo-price {
  font-family: var(--figma-font-heading, "Golos Text", Arial, sans-serif);
}


/* ── Карточка врача по референсу владельца (14.10) ─────────────────────
   Под именем и специальностью два чипа: опыт и объём работ. Внизу две
   кнопки: «О враче» ведёт на профиль, «Задать вопрос» открывает форму
   записи с уже выбранным врачом. */
/* Первая строка: опыт слева, объём работ справа. Вторая строка:
   образование во всю ширину. Так в референсе владельца (14.10). */
/* Плашки идут потоком и переносятся целиком. Было жёстко две колонки:
   на узкой карточке каталога вторая плашка оказывалась уже своего текста,
   и «2 500+ имплантов» ломалось как «импла / нтов», а сама карточка
   вылезала за свои границы (владелец 16.10 про страницу врачей). */
.dp-card-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 8px;
  margin: 12px 0 0;
}
.dp-chip {
  max-width: 100%;
  overflow-wrap: anywhere;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f1f6fb;
  color: var(--dp-blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.dp-chip svg {
  width: 15px;
  height: 15px;
  flex: none;
}
/* Две кнопки в ряд, пока помещаются целиком. На узкой карточке каталога
   «Задать вопрос» не влезало в свою половину и текст обрезался: колонка
   была жёстко 1fr 1fr. Теперь ряд переносится, и каждая кнопка получает
   всю ширину карточки. */
.dp-card-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-top: 14px;
}
.dp-card-about {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: #e8f1fb;
  color: var(--dp-blue) !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.dp-card-about:hover {
  background: #d9e9fa;
}
/* Кнопки карточки одного роста, подпись по центру, стрелки нет: она
   растягивала кнопку и уводила текст влево (владелец 14.10). */
.dp-card-bottom .dp-booking-small,
.dp-card-bottom .dp-card-about,
.home-doctor-actions .button,
.core-doctor-actions .dp-card-about,
.core-doctor-actions .core-doctor-book {
  min-height: 48px;
  height: 48px;
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  justify-content: center;
  text-align: center;
  gap: 0;
}
.dp-card-bottom .button .button-icon,
.dp-card-bottom .button .dp-button-arrow,
.home-doctor-actions .button .button-icon,
.home-doctor-actions .button .dp-button-arrow,
.core-doctor-actions .button .button-icon,
.core-doctor-actions .button .dp-button-arrow {
  display: none;
}
.dp-card-bottom,
.home-doctor-actions,
.core-doctor-actions {
  align-items: center;
}
.dp-card-about {
  min-width: 0;
}
/* На средних экранах две кнопки в ряд не помещались и растягивали страницу. */
@media (max-width: 900px) {
  .dp-card-bottom {
    grid-template-columns: 1fr;
  }
}

/* ── Истории пациентов ────────────────────────────────────────────────
   Блок «Жизнь без боли и стеснений» по образцу владельца (МИА.РФ, 14.10).
   Карточки стоят пустыми до съёмки: лица и результаты лечения не
   придумываем. Класс is-pending помечает место под материал. */
.home-stories {
  padding-block: var(--wb-section-pad);
}
.home-stories-head {
  max-width: 760px;
}
.home-stories-head > p {
  margin-top: 16px;
  color: var(--muted);
}
.home-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.home-story {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0 0 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.home-story-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: #eef3f9;
  color: #4a5a6e;
}
.home-story-media svg {
  width: 44px;
  height: 44px;
}
.home-story h3 {
  margin: 14px 20px 0;
  font-size: 18px;
  line-height: 1.3;
}
.home-story p {
  margin: 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.home-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.home-ba {
  margin: 0;
  padding: 0 0 18px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.home-ba > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 2 / 1;
  background: var(--line);
}
.home-ba > div > span {
  display: grid;
  place-items: center;
  background: #eef3f9;
  /* Подписи «До» и «После» читаются по норме: #7f93ab давал 2,82:1. */
  color: #4a5a6e;
  font-weight: 600;
  font-size: 15px;
}
.home-ba figcaption {
  margin: 14px 20px 0;
  font-weight: 600;
}
.home-stories-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 950px) {
  .home-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .home-stories-grid,
  .home-before-after {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Истории пациентов по образцу владельца (МИА.РФ, 14.10) ───────────
   Синяя карточка на историю: видео и прямая речь сверху, пара «до и после»
   с подписью случая, лечащие врачи внизу. Места стоят пустыми до съёмки. */
.home-stories {
  padding-block: var(--wb-section-pad);
}
.home-stories-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.home-stories-head > p {
  margin-top: 14px;
  color: var(--muted);
}
.home-stories-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.home-story {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 20px;
  border-radius: 26px;
  background: var(--blue, #1d4ed8);
  color: #fff;
}
.home-story-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.home-story-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.home-story-media svg {
  width: 48px;
  height: 48px;
}
.home-story-quote {
  margin: 0;
}
.home-story-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  /* Текст на синей карточке белый: без этого он наследовал серый цвет
     страницы и падал по контрасту. */
  color: #fff;
}
.home-story-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 14px;
  color: #cfe0ff;
}
.home-story-ba {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.home-story-ba > b {
  font-size: 16px;
}
.home-story-ba > span {
  font-size: 14px;
  color: #cfe0ff;
}
.home-story-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 8px;
  aspect-ratio: 2 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}
.home-story-pair > span {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 15px;
}
.home-story-team {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}
.home-story-team > b {
  font-size: 14px;
  font-weight: 400;
  color: #cfe0ff;
}
.home-story-team > div {
  display: grid;
  gap: 10px;
}
.home-story-doctor {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}
.home-story-doctor img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #f1f5f9;
}
.home-stories-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
@media (max-width: 1100px) {
  .home-stories-track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .home-stories-track {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── С чем приходят и сколько это стоит ───────────────────────────────
   Один блок вместо двух: сетки направлений и таблички цен. Строка это
   ситуация пациента его словами, рядом что делают и сколько это стоит.
   Владелец 14.10: «два скучных блока подряд, неинтересно читать». */
.home-cases {
  padding-block: var(--wb-section-pad);
}
.home-cases-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.home-cases-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
/* Коллаж из четырёх карточек: все четыре случая видны сразу, без
   прокрутки. Было лесенкой в одну колонку на 1 200 px высоты, и четвёртый
   случай человек видел, только долистав (владелец 15.10: «сделаем
   коллажом, чтобы просто 4 этих отображалось, сразу всё видно»).
   🔴 Ступеней больше нет намеренно: они читались как диаграмма сумм,
   а 75 600 не «в 4 раза выше» 17 500. */
.home-cases-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.home-case {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 8px 18px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}
.home-case > .home-case-art {
  grid-row: 1 / span 2;
}
.home-case > .home-case-body {
  grid-column: 2;
}
.home-case > .home-case-price {
  grid-column: 1 / -1;
  align-self: end;
}
.home-case::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 260ms ease;
}
.home-case:hover::before,
.home-case:focus-within::before {
  transform: scaleY(1);
}
@media (prefers-reduced-motion: reduce) {
  .home-case::before {
    transition: none;
  }
}
/* Площадка под лестницей: единственная кнопка записи в секции. */
.home-cases-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
  padding: 18px 26px;
  border-radius: 22px;
  background: #eef4e2;
}
.home-cases-entry p {
  margin: 0;
  max-width: 62ch;
  color: #35481a;
}
.home-cases-entry b {
  font-family: var(--figma-font-heading);
  font-size: 30px;
  line-height: 1;
  color: #3f5a12;
}
.home-case-art {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.home-case-body h3 {
  margin: 0;
  font-size: var(--wb-h2-text);
  line-height: 1.25;
}
.home-case-body p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 62ch;
}
.home-case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.home-case-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.home-case-links a:hover {
  background: #dfeafa;
}
.home-case-price {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #f4f7fb;
}
.home-case-price b {
  grid-row: 1 / span 2;
}
.home-case-price span,
.home-case-price small {
  grid-column: 2;
}
.home-case-price.is-known {
  background: #eaf3dc;
}
.home-case-price b {
  font-family: var(--figma-font-heading);
  font-size: 26px;
  line-height: 1.1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.home-case-price.is-known b {
  color: #3f5a12;
}
.home-case-price span {
  font-size: 14px;
  color: #3d4a5c;
}
.home-case-price small {
  font-size: 13px;
  color: var(--muted);
}
.home-cases-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 1000px) {
  .home-cases-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-case {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px 18px;
    align-items: start;
  }
  .home-case-art {
    width: 64px;
    height: 64px;
  }
  /* Ценник на узком экране это строка, а не вторая карточка в ряду:
     иначе гейт test:rows сравнивает её с чипами ссылок. */
  .home-case-price {
    grid-column: 1 / -1;
    border-radius: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    padding: 14px 0 0;
  }
  .home-case-price.is-known {
    background: transparent;
  }
  .home-cases-entry {
    grid-template-columns: minmax(0, 1fr);
  }
  /* На 320 px «Записаться на консультацию» в одну строку не влезает:
     кнопка-пилюля держит nowrap, и текст вылезал за её края. Разрешаем
     перенос и уменьшаем поля — кнопка остаётся на всю ширину колонки. */
  .home-cases-entry .button {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 600px) {
  .home-case {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-case-art {
    width: 56px;
    height: 56px;
  }
}

/* ── Плашка акции: вкладка приклеена к карточке ───────────────────────
   Владелец 14.10: между «Акция действует ещё» и белой карточкой был
   виден зазор, а в образце вкладка уходит ПОД карточку. Базовое правило
   .wb-promo ставит flex и gap 8px, поэтому раскладку баннера задаём
   здесь, после него, иначе отрицательный отступ не доезжает. */
/* Раскладка образца (владелец прислал картинку 14.10): вкладка со сроком
   утоплена ЗА карточки, карточка с ценой наезжает на неё снизу, а синяя
   дата стоит впритык к цене. Вкладку держим привязкой к самой карточке
   (bottom: 100%), а не строкой сетки: сетка считала высоту по элементу и
   зазор возвращался, сколько ни ставь отрицательных отступов. */
.wb-promo.wb-promo-banner {
  position: relative;
  display: block;
  margin: 0;
  padding: 56px 0 0;
  background: none;
  border-radius: 0;
}
.wb-promo-banner .wb-promo-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  /* Карточки идут внахлёст, как в образце: синяя дата заходит под белую
     с ценой, а не стоит отдельной плиткой с зазором (владелец 14.10). */
  gap: 0;
  margin: 0;
  padding: 0;
}
.wb-promo-banner .wb-promo-name {
  position: relative;
  z-index: 1;
}
/* Синяя дата лежит ПОВЕРХ белой карточки и одного с ней роста:
   владелец 14.10 показал, что нахлёст читается только так. */
/* Содержимое синей плашки стоит по центру её ВИДИМОЙ части: карточка с
   ценой заходит на неё слева на 22 px, поэтому левое поле на столько же
   больше правого, иначе дата выглядит сдвинутой (владелец 15.10). */
/* Дата центрируется по ВСЕЙ синей плашке, а не по её видимой части:
   владелец смотрит на синюю форму целиком и видит сдвиг вправо, если
   компенсировать нахлёст полями (правка 15.10, третий заход). */
.wb-promo-banner .wb-promo-date {
  position: relative;
  z-index: 2;
  margin: 0 0 0 -22px;
  padding-left: 22px;
  padding-right: 22px;
  justify-items: center;
  text-align: center;
}
.wb-promo-banner .wb-promo-strip {
  position: absolute;
  top: 0;
  /* По центру карточки: у правого края она выглядела сдвинутой
     (владелец 15.10). */
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  /* Вкладка выше и крупнее: владелец 14.10 просил «расширь высоту и сделай
     текст покрупнее, чтобы отступ был». */
  /* Вкладка выше и просторнее, текст крупнее: владелец 14.10 попросил
     поднять строку и оставить под ней больше места. */
  /* Строка стоит выше внутри вкладки и крупнее: под ней оставлен запас,
     который закрывает карточка (владелец 14.10). */
  padding: 14px 30px 44px;
  border-radius: 28px 28px 0 0;
  font-size: 19px;
  line-height: 1.15;
  /* «Последний день акции» в последний день месяца переносился на две
     строки и вкладка вырастала вдвое (найдено 15.10 на живой дате). */
  white-space: nowrap;
  max-width: calc(100% - 24px);
}
.wb-promo-banner .wb-promo-strip b {
  padding: 7px 16px;
  font-size: 17px;
}

/* ── Плашка акции вне первого экрана главной ──────────────────────────
   На белых страницах белая карточка с ценой сливалась с фоном, а дата
   улетала к правому краю. Ограничиваем ширину и даём карточке контур. */
/* Вне первого экрана главной плашка сжимается по содержимому: при ширине
   в 480 px карточка с коротким «0 ₽» растягивалась на пол-экрана, цена
   висела у левого края, а вкладка оказывалась далеко от неё
   (владелец 15.10 на странице врача). */
.implant-hero-promo,
.core-promo,
.dp-hero-promo {
  max-width: max-content;
  width: auto;
  margin: 22px 0 0;
}
.implant-hero-promo .wb-promo-body,
.core-promo .wb-promo-body,
.dp-hero-promo .wb-promo-body {
  grid-template-columns: auto auto;
  justify-content: start;
}
/* Синяя дата заходит на белую карточку на 22 px, поэтому справа у текста
   должен быть запас больше нахлёста: иначе дата накрывает подпись
   (владелец 15.10 на странице услуги). */
.implant-hero-promo .wb-promo-name,
.core-promo .wb-promo-name,
.dp-hero-promo .wb-promo-name {
  min-width: 260px;
  padding-right: 44px;
}
.implant-hero-promo .wb-promo-name,
.core-promo .wb-promo-name,
.dp-hero-promo .wb-promo-name {
  border: 1px solid #dbe6f3;
}
.implant-hero-promo .wb-promo-strip,
.core-promo .wb-promo-strip,
.dp-hero-promo .wb-promo-strip {
  font-size: 16px;
  padding: 11px 22px 36px;
}
.implant-hero-promo .wb-promo-strip b,
.core-promo .wb-promo-strip b,
.dp-hero-promo .wb-promo-strip b {
  font-size: 14px;
}

/* Образование врача выделено синим полужирным на ВСЕХ страницах.
   Правило жило в doctor-page.css, а главная его не грузит, и там строка
   оставалась серой (владелец 15.10 не увидел выделения на главной). */
.dp-card-school {
  display: flex;
  align-items: start;
  gap: 8px;
  margin: 10px 0 0;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
}
.dp-card-school svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: var(--blue);
}
/* Синей плашке с датой нужен воздух: текст стоит по центру видимой части,
   но на узкой плашке это читалось как прижатое к краю. */
.wb-promo-banner .wb-promo-date {
  min-width: 128px;
}

/* ── Плашка акции на телефоне ─────────────────────────────────────────
   На 390 синяя дата уезжала за правый край и обрезалась («до 1 / октяб»).
   Складываем в колонку: цена сверху, дата под ней во всю ширину,
   нахлёст и отрицательные отступы снимаем. */
@media (max-width: 900px) {
  /* Плашка собирается в столбик: вкладка, под ней белая карточка с ценой
     и компактная синяя дата справа от цены, а не полосой во всю ширину. */
  .wb-promo.wb-promo-banner {
    display: grid;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
  }
  .wb-promo-banner .wb-promo-body {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
  }
  .wb-promo-banner .wb-promo-name {
    padding: 16px 14px 16px 18px;
    /* Скругления снимаем: белая карточка должна стыковаться с синей датой
       без шва, а внешние углы уже скруглены у самой плашки. */
    border-radius: 0;
  }
  .wb-promo-banner .wb-promo-date {
    margin: 0;
    padding: 14px 16px;
    min-width: 92px;
    border-radius: 0;
    justify-items: center;
    align-content: center;
  }
  .wb-promo-day {
    justify-content: center;
  }
  /* Вкладка стоит В ПОТОКЕ над карточкой, а не абсолютно поверх неё.
     Абсолютная вкладка на телефоне наезжала на цену, обрезала число дней
     и разваливала плашку на три куска (владелец 16.10: «плашка акции
     криво, стыд позор»). */
  .wb-promo-banner .wb-promo-strip {
    position: static;
    transform: none;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 10px 16px;
    border-radius: 16px 16px 0 0;
    font-size: 15px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .wb-promo-banner .wb-promo-strip b {
    font-size: 14px;
  }
  .implant-hero-promo,
  .core-promo,
  .dp-hero-promo {
    max-width: 100%;
    width: 100%;
  }
  .implant-hero-promo .wb-promo-body,
  .core-promo .wb-promo-body,
  .dp-hero-promo .wb-promo-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .implant-hero-promo .wb-promo-name,
  .core-promo .wb-promo-name,
  .dp-hero-promo .wb-promo-name {
    min-width: 0;
    padding-right: 20px;
  }
}
