.form-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cookie-banner { position: fixed; z-index: 1000; bottom: 20px; left: 50%; transform: translateX(-50%); width: min(1260px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; display: flex; align-items: center; gap: 28px; padding: 24px 28px; border: 1px solid #435168; border-top: 3px solid #70d3de; border-radius: 16px; background: #202b3c; color: #fff; box-shadow: 0 12px 40px #101c3440; font-family: "Manrope", Arial, sans-serif; }
.cookie-banner__copy { flex: 1; min-width: 0; }
.cookie-banner__copy strong { font-size: 16px; }
.cookie-banner__copy p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: #d6dde7; }
.cookie-banner a { color: #70d3de; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie-banner button { min-height: 44px; padding: 12px 18px; border: 1px solid #0968af; border-radius: 999px; background: #0968af; color: white; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.cookie-banner button:hover { background: #07558f; }
.cookie-banner button[data-choice="all"] { background: transparent; border-color: #91a3bb; }
.cookie-banner button[data-choice="reject"] { background: transparent; border-color: transparent; color: #d6dde7; text-decoration: underline; }
.cookie-banner :focus-visible { outline: 3px solid #70d3de; outline-offset: 3px; }
@media (max-width: 1000px) { .cookie-banner { align-items: flex-start; flex-direction: column; gap: 18px; } }
@media (max-width: 520px) { .cookie-banner { bottom: 12px; padding: 20px; } .cookie-banner__actions { width: 100%; } .cookie-banner button { flex: 1 1 auto; } }
.header__mobile-contacts { display: none; }
.header__nav .header__menu-appointment { display: none; }
.patient-viewer-open { overflow: hidden; }
.patient-photo-button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.patient-photo-button:focus-visible { outline: 3px solid #70d3de; outline-offset: -4px; }
.patient-viewer { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 60px 64px; border: 0; background: transparent; color: white; overflow: hidden; }
.patient-viewer::backdrop { background: rgba(12, 20, 32, .95); }
.patient-viewer > img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.patient-viewer button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #738198; border-radius: 50%; background: #202b3c; color: #fff; font-size: 32px; cursor: pointer; }
.patient-viewer button:focus-visible { outline: 3px solid #70d3de; outline-offset: 3px; }
.patient-viewer__close { top: 12px; right: 16px; }
.patient-viewer__prev { left: 12px; top: calc(50% - 22px); }
.patient-viewer__next { right: 12px; top: calc(50% - 22px); }
.patient-viewer p { position: absolute; bottom: 14px; left: 0; width: 100%; margin: 0; text-align: center; pointer-events: none; }
@media (max-width: 620px) { .patient-viewer { padding: 66px 12px 82px; } .patient-viewer__prev, .patient-viewer__next { top: auto; bottom: 20px; } }
@keyframes soft-reveal { from { opacity: .2; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-appear { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll.is-revealed { animation: soft-reveal .5s ease-out both; }
  .booking-dialog[open], .patient-viewer[open] { animation: dialog-appear .22s ease-out; }
  .hero__button, .header__appointment, .contacts-button, .appointment-form button, .header__mobile-contacts a { transition: background-color .18s, box-shadow .18s, transform .18s; }
  .patient-photo-button img { transition: transform .3s ease; }
  .doctor-fact, .indication-card, .review-card { transition: box-shadow .2s, border-color .2s; }
  .booking-option > span { transition: background-color .18s, border-color .18s, box-shadow .18s; }
  .booking-option input:checked + span { box-shadow: 0 3px 10px #0968af30; }
  @media (hover: hover) and (pointer: fine) {
    .hero__button:hover, .header__appointment:hover, .contacts-button:hover, .appointment-form button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #0968af25; }
    .header__mobile-contacts a:hover { transform: translateY(-2px); }
    .patient-photo-button:hover img { transform: scale(1.035); }
    .doctor-fact:hover, .indication-card:hover, .review-card:hover { border-color: #64b6c7; box-shadow: 0 6px 20px #202b3c12; }
  }
  .hero__button:active, .appointment-form button:active { transform: translateY(1px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on-scroll, .booking-dialog, .patient-viewer { animation: none !important; }
  .patient-photo-button img, .hero__button, .appointment-form button, .booking-option > span { transition: none !important; }
}
:root {
  --header-text: #3e4a63;
  --secondary-text: #6c7c98;
  --blue: #1b6ce3;
  --button-blue: #0968af;
  --button-blue-hover: #07558f;
  --border: #e2e8f0;
  --card-title-size: 18px;
  --card-body-size: 16px;
  --card-icon-size: 44px;
  --card-radius: 16px;
  --card-border-color: #d9e0e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--header-text); font-family: "Manrope", Arial, sans-serif; hyphens: none; -webkit-text-size-adjust: 100%; }
a { color: inherit; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 90px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header__inner {
  width: min(1420px, calc(100% - 40px));
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  width: 118px;
  height: 69px;
  display: block;
  flex: 0 0 118px;
}

.header__logo img { display: block; width: 118px; height: 69px; object-fit: contain; }

.header__nav {
  width: 500px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 500px;
  white-space: nowrap;
}

.header__nav a {
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
}

.header__nav a:hover,
.header__nav a:focus-visible { color: var(--blue); }

.header__actions {
  width: 767px;
  height: 43px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 0 0 767px;
}

.header__location {
  width: 225px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 225px;
}

.header__location p {
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 300;
  line-height: normal;
  white-space: nowrap;
}

.header__metros { display: flex; align-items: flex-start; gap: 10px; }
.header__metros span { display: flex; align-items: center; gap: 5px; color: var(--secondary-text); font-size: 12px; font-weight: 400; line-height: normal; white-space: nowrap; }
.header__metros img { display: block; flex: 0 0 auto; }

/* Метро в адресном блоке располагаются вертикально и не меняют его центрирование. */
.header__metros { flex-direction: column; gap: 2px; }

.header__socials {
  width: 120px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 0 0 120px;
}

.header__socials a { display: grid; place-items: center; border-radius: 50%; }
.header__socials img { display: block; object-fit: cover; }

.header__phone {
  width: 152px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 152px;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone strong { color: var(--header-text); font-size: 18px; font-weight: 800; }
.header__phone span { color: #000; font-size: 12px; font-weight: 300; }

.header__appointment {
  width: 180px;
  height: 43px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 180px;
  border-radius: 999px;
  background: var(--button-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  text-decoration: none;
}

.header__appointment:hover,
.header__appointment:focus-visible { background: var(--button-blue-hover); }
.header__toggle { display: none; }

.hero { position: relative; z-index: 1; background: #fff; }
.hero__inner {
  width: min(1420px, calc(100% - 72px));
  margin: 0 auto;
  padding: 54px 0 66px;
  display: grid;
  grid-template-columns: 1.45fr 1fr .7fr;
  gap: 18px;
  align-items: start;
}

.hero__content { min-width: 0; padding-top: 0; }
.hero__eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2b9eb5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero__eyebrow::before { content: ""; width: 16px; height: 1px; flex: 0 0 16px; background: #2b9eb5; }
.hero h1 {
  margin: 0;
  color: #263044;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.025em;
}
.hero h1 strong { font-weight: 800; }
.hero h1,
h2,
h3,
h4 { text-wrap: balance; }

/* Единая типографическая иерархия заголовков. */
h2 { font-size: clamp(30px, 3vw, 42px); }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
.hero__lead { margin: 22px 0 0; color: #3e4a63; font-size: 13px; line-height: 1.55; }
.hero__buttons { margin-top: 22px; display: flex; align-items: center; gap: 10px; }
.hero__button {
  min-height: 39px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button-blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.hero__button--primary { background: var(--button-blue); color: #fff; }
.hero__button--primary:hover, .hero__button--primary:focus-visible { background: var(--button-blue-hover); }
.hero__button--outline { background: #fff; color: #3e4a63; }
.hero__button--outline:hover, .hero__button--outline:focus-visible { background: #f2f8fb; }
.hero__disclaimer { margin: 34px 0 0; max-width: 390px; color: #9aa4b5; font-size: 9px; line-height: 1.5; }

.doctor-card {
  position: relative;
  width: 100%;
  aspect-ratio: .855;
  overflow: hidden;
  border-radius: 18px;
  background: #eef1f3;
}
.doctor-card-wrap { min-width: 0; }
.doctor-card__photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 38%; }
.doctor-card__info {
  position: absolute;
  right: auto;
  bottom: 91px;
  left: 15px;
  width: max-content;
  max-width: calc(100% - 30px);
  min-height: 84px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 13px;
  background: linear-gradient(105deg, rgba(37, 51, 76, .92), rgba(45, 58, 83, .76));
  box-shadow: 0 8px 24px rgba(18, 28, 46, .2);
  color: #fff;
}
.doctor-card__info strong { margin-bottom: 2px; font-size: 12px; line-height: 1.2; }
.doctor-card__info span { font-size: 10px; line-height: 1.35; white-space: nowrap; }
.doctor-card__award {
  position: absolute;
  right: auto;
  bottom: 16px;
  left: 15px;
  width: max-content;
  max-width: calc(100% - 30px);
  min-height: 68px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 24px rgba(18, 28, 46, .16);
}
.doctor-card__award-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 10px;
  background: linear-gradient(145deg, #211044, #8c2cab);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}
.doctor-card__award p { margin: 0; color: #3e4a63; font-size: 9px; line-height: 1.25; white-space: nowrap; }
.doctor-card__award p strong { font-size: 10px; }
.doctor-card__award p span { color: #2b9eb5; font-size: 8px; font-weight: 800; text-transform: uppercase; }

/* На узких десктопах текстовые плашки находятся под фото и не перекрывают изображение. */
@media (min-width: 921px) and (max-width: 1459px) {
  .doctor-card { overflow: hidden; }
  .doctor-card__info,
  .doctor-card__award { position: static; width: 100%; max-width: none; box-sizing: border-box; }
  .doctor-card__info { margin-top: 12px; }
  .doctor-card__award { margin-top: 10px; }
  .doctor-card__info span { white-space: normal; }
  .doctor-card__award p { white-space: normal; }
}

.patients-card {
  width: 100%;
  padding: 19px 18px 16px;
  border: 1px solid #37a8b9;
  border-radius: 14px;
  background: #fff;
}
.patients-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.patients-card__grid img { width: 100%; height: auto; aspect-ratio: 1; display: block; border-radius: 14px; object-fit: cover; }
.patients-card > p { margin: 13px 0 0; color: #3e4a63; font-size: 10px; line-height: 1.35; text-align: center; }

.method-section {
  position: relative;
  z-index: 0;
  margin-top: -34px;
  padding: 88px 0 82px;
  clip-path: polygon(0 34px, 100% 0, 100% 100%, 0 100%);
  background-color: #202b3c;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 16px 16px;
  color: #f6f8fb;
}
.method-section__inner { width: min(1420px, calc(100% - 72px)); margin: 0 auto; }
.method-intro { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.method-visual { width: 100%; aspect-ratio: 1.24; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: #fff; transform: rotate(-1.5deg); }
.method-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transform: rotate(1.5deg) scale(1.03); }
.method-copy { min-width: 0; }
.method-copy__eyebrow { margin: 0 0 17px; display: flex; align-items: center; gap: 10px; color: #70d3de; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.method-copy__eyebrow::before { content: ""; width: 18px; height: 1px; flex: 0 0 18px; background: #70d3de; }
.method-copy h2 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 43px); line-height: 1.15; letter-spacing: -.025em; }
.method-copy > p:last-child { max-width: 690px; margin: 22px 0 0; color: #d7dee8; font-size: 14px; line-height: 1.55; }
.indications-grid { margin-top: 43px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.indication-card { min-height: 108px; padding: 17px 17px 14px; border: 1px solid rgba(112, 211, 222, .55); border-radius: 14px; background: rgba(32, 43, 60, .28); }
.indication-card strong { display: block; color: #70d3de; font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.indication-card p { margin: 14px 0 0; color: #e2e7ef; font-size: 14px; line-height: 1.4; }
.comparison { margin-top: 31px; }
.comparison h3 { margin: 0 0 15px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.comparison-table { overflow: hidden; border: 1px solid rgba(111, 132, 156, .32); border-radius: 14px; }
.comparison-row { display: grid; grid-template-columns: 1.15fr 1fr 1fr; border-top: 1px solid rgba(111, 132, 156, .32); }
.comparison-row:first-child { border-top: 0; }
.comparison-row > div { min-height: 58px; padding: 17px 16px; display: flex; align-items: center; border-left: 1px solid rgba(111, 132, 156, .32); color: #d7dee8; font-size: 14px; line-height: 1.4; }
.comparison-row > div:first-child { border-left: 0; color: #f4f6fa; font-weight: 600; }
.comparison-row--head > div { min-height: 47px; padding-top: 13px; padding-bottom: 13px; color: #9daabd; font-weight: 700; }
.comparison-row--head > div:last-child { background: rgba(82, 158, 177, .15); color: #70d3de; }
.comparison-row > div:last-child { background: rgba(82, 158, 177, .09); }

.doctor-section {
  position: relative;
  padding: 96px 0 100px;
  background-color: #f7f9fb;
  background-image: radial-gradient(rgba(78, 111, 139, .13) 1px, transparent 1px);
  background-size: 16px 16px;
}
.doctor-section::before { content: ""; position: absolute; top: -34px; right: 0; left: 0; height: 35px; clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%); background: #202b3c; }
.doctor-section__inner { width: min(1420px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, .75fr) 1.55fr; gap: clamp(35px, 7vw, 90px); align-items: stretch; }
.doctor-story { display: flex; flex-direction: column; min-height: 100%; }
.doctor-story blockquote { margin-top: 16px; }
.doctor-story__eyebrow { margin: 0 0 17px; display: flex; align-items: center; gap: 10px; color: #2b9eb5; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.doctor-story__eyebrow::before { content: ""; width: 18px; height: 1px; flex: 0 0 18px; background: #2b9eb5; }
.doctor-story h2 { max-width: 455px; margin: 0; color: #3e4a63; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 2.5vw, 36px); line-height: 1.15; letter-spacing: -.025em; }
.doctor-story__photo { width: 100%; aspect-ratio: 1.2; margin: 25px 0 0; overflow: hidden; border-radius: 16px; }
.doctor-story__photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% 43%; }
.doctor-story blockquote { margin: 16px 0 0; padding: 25px 22px 21px; border-radius: 16px; background: #222d3e; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 17px; font-style: italic; line-height: 1.45; }
.doctor-story blockquote { margin-top: 24px; }
.doctor-story blockquote footer { margin-top: 17px; display: flex; align-items: center; gap: 11px; color: #fff; font-family: "Manrope", Arial, sans-serif; font-size: 12px; font-style: normal; line-height: 1.35; }
.doctor-story blockquote footer img { width: 42px; height: 42px; flex: 0 0 42px; display: block; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.doctor-story blockquote footer span { display: flex; flex-direction: column; color: #aeb9c9; font-size: 11px; }
.doctor-story blockquote footer strong { color: #fff; font-size: 12px; }
.doctor-story blockquote footer small { color: #aeb9c9; font-size: 11px; }
.doctor-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; align-content: start; gap: 14px; }
.doctor-fact { min-height: 0; padding: 18px 20px 16px; border: 1px solid #d9e0e8; border-radius: 14px; background: rgba(255,255,255,.85); }
.doctor-fact__icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #e8f4f6; color: #2b9eb5; }
.doctor-fact__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.doctor-fact h3 { min-height: 0; margin: 10px 0 0; color: #3e4a63; font-size: 14px; font-weight: 800; line-height: 1.25; }
.doctor-fact p { margin: 5px 0 0; color: #738198; font-size: 14px; line-height: 1.35; }

.international-section { position: relative; padding: 62px 0 78px; background-color: #fff; background-image: radial-gradient(rgba(78, 111, 139, .13) 1px, transparent 1px); background-size: 16px 16px; }
.international-section__inner { width: min(1420px, calc(100% - 72px)); margin: 0 auto; padding: 46px 40px; display: grid; grid-template-columns: .86fr 1.14fr; gap: 38px; align-items: center; border: 1px solid #cfe3e8; border-radius: 22px; background: #f0f9fb; }
.international-copy__eyebrow { margin: 0 0 21px; display: flex; align-items: center; gap: 12px; color: #2b9eb5; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.international-copy__seal { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 44px; border-radius: 50%; background: #d8f0f4; }
.international-copy__seal svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.international-copy h2 { max-width: 600px; margin: 0; color: #3e4a63; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.16; letter-spacing: -.025em; }
.international-copy > p:not(.international-copy__eyebrow) { max-width: 620px; margin: 17px 0 0; color: #738198; font-size: 16px; line-height: 1.52; }
.international-gallery { display: grid; grid-template-columns: 1.16fr .86fr .86fr; gap: 14px; align-items: center; }
.international-gallery figure { height: 384px; margin: 0; overflow: hidden; border-radius: 18px; background: #eef4f6; }
.international-gallery .international-gallery__main { height: 220px; }
.international-gallery figure img { width: 100%; height: 100%; display: block; object-fit: cover; }
.international-gallery__main img { object-position: 50% 42%; }
.international-gallery figure:not(.international-gallery__main) img { object-position: 50% 50%; }

.patients-gallery-section { position: relative; padding: 92px 0 108px; background: #202b3c; color: #fff; }
.patients-gallery-section__inner { width: min(1420px, calc(100% - 72px)); margin: 0 auto; text-align: left; }
.patients-gallery__eyebrow { margin: 0 0 14px; color: #70d3de; font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.patients-gallery-section h2 { max-width: 760px; margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 46px); line-height: 1.12; letter-spacing: -.025em; }
.patients-gallery__lead { max-width: 760px; margin: 17px 0 0; color: #aeb9c9; font-size: 16px; line-height: 1.5; }
.patients-gallery { margin-top: 42px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.patients-gallery figure { aspect-ratio: 1 / 1.18; margin: 0; overflow: hidden; border-radius: 16px; background: #344256; }
.patients-gallery figure img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 30%; }
.patients-gallery__cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 42px; padding: 28px 32px; border: 1px solid rgba(166, 183, 205, .24); border-radius: 18px; background: rgba(35, 48, 68, .66); text-align: left; }
.patients-gallery__cta p { margin: 0; color: #e1e7f0; font-size: 16px; line-height: 1.45; }
.patients-gallery__button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 15px 32px; border-radius: 999px; background: #1678ee; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }

@media (min-width: 1200px) {
  .doctor-card { aspect-ratio: .866; }
}

@media (min-width: 921px) {
  .doctor-facts { padding-top: 150px; }
  .header__nav a,
  .header__metros span,
  .header__phone span,
  .hero__eyebrow,
  .hero__lead,
  .hero__button,
  .hero__disclaimer,
  .doctor-card__info strong,
  .doctor-card__info span,
  .doctor-card__award-mark,
  .doctor-card__award p,
  .doctor-card__award p strong,
  .doctor-card__award p span,
  .patients-card > p { font-size: 14px; }
  .hero__buttons { gap: 6px; }
  .hero__button { flex: 1 1 0; min-width: 0; padding-right: 6px; padding-left: 6px; }
}

@media (min-width: 921px) and (max-width: 1199px) {
  .hero__buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__button { width: 100%; flex: none; padding-right: 24px; padding-left: 24px; }
  .doctor-card__award p { min-width: 0; white-space: normal; }
}

@media (min-width: 921px) and (max-width: 1459px) {
  .header, .header__inner { height: 128px; }
  .header__inner {
    position: relative;
    left: auto;
    width: calc(100% - 40px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) 180px;
    grid-template-rows: 64px 64px;
    column-gap: 28px;
    transform: none;
  }
  .header__logo { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .header__nav { grid-column: 2; grid-row: 1; width: auto; flex: none; gap: 18px; }
  .header__actions { display: contents; }
  .header__location { grid-column: 2; grid-row: 2; justify-self: center; width: 225px; }
  .header__phone { grid-column: 3; grid-row: 2; width: 180px; }
  .header__appointment { grid-column: 3; grid-row: 1; width: 180px; }
}

@media (max-width: 920px) {
  .header, .header__inner { height: 78px; }
  .header__inner { position: relative; left: auto; width: calc(100% - 32px); margin: 0 auto; gap: 18px; transform: none; }
  .header__logo, .header__logo img { width: 100px; height: 58px; }
  .header__logo { flex-basis: 100px; }
  .header__actions { width: auto; flex-basis: auto; margin-left: auto; }
  .header__location { display: none; }
  .header__socials { display: none; }
  .header__appointment { width: 145px; height: 42px; flex-basis: 145px; }
  .header__toggle { width: 42px; height: 42px; padding: 0; display: grid; place-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 50%; background: #fff; cursor: pointer; }
  .header__toggle span { width: 17px; height: 1px; background: var(--header-text); transition: transform .2s, opacity .2s; }
  .header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header__nav { position: absolute; z-index: 10; top: 78px; right: -16px; left: -16px; width: auto; padding: 14px 24px 24px; display: grid; gap: 0; flex-basis: auto; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 14px 28px rgba(62, 74, 99, .1); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, visibility .2s, transform .2s; }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .header__nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .hero__inner { width: calc(100% - 32px); padding: 42px 0 70px; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 20px; }
  .hero__content { grid-column: 1; }
  .method-copy { order: -1; }
  .doctor-card { grid-column: 2; grid-row: 1; }
  .doctor-card { aspect-ratio: 324 / 421; }
  .patients-card { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .patients-card__grid { grid-template-columns: repeat(6, 1fr); }
  .patients-card > p { width: 160px; margin: 0 0 0 18px; }
  .method-section { margin-top: -26px; padding: 72px 0 64px; clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); }
  .method-section__inner { width: calc(100% - 32px); }
  .method-intro { grid-template-columns: 1fr; gap: 28px; }
  .method-visual { width: min(100%, 520px); margin: 0 auto; }
  .method-copy h2 { font-size: clamp(28px, 4vw, 36px); }
  .indications-grid { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison { margin-top: 34px; }
  .doctor-section { padding: 78px 0 70px; }
  .doctor-section__inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 35px; }
  .doctor-facts { grid-template-rows: none; }
  .doctor-story__photo { width: min(100%, 500px); }
  .doctor-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .international-section { padding: 72px 0 78px; }
  .international-section__inner { width: calc(100% - 32px); padding: 34px 28px; grid-template-columns: 1fr; gap: 28px; }
  .international-copy h2 { max-width: 700px; }
  .international-copy > p:not(.international-copy__eyebrow) { max-width: 700px; }
  .international-gallery { width: min(100%, 760px); margin: 0 auto; }
  .international-gallery figure { height: 360px; }
  .international-gallery .international-gallery__main { height: 240px; }
  .patients-gallery-section { padding: 76px 0 84px; }
  .patients-gallery-section__inner { width: calc(100% - 32px); }
  .patients-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}

@media (min-width: 921px) and (max-width: 1199px) {
  .header, .header__inner { height: 78px; }
  .header__inner { width: calc(100% - 32px); margin: 0 auto; gap: 18px; }
  .header__logo, .header__logo img { width: 100px; height: 58px; }
  .header__logo { flex-basis: 100px; }
  .header__actions { width: auto; flex-basis: auto; margin-left: auto; }
  .header__location, .header__phone, .header__socials { display: none; }
  .header__appointment { width: 145px; height: 42px; flex-basis: 145px; }
  .header__toggle { width: 42px; height: 42px; padding: 0; display: grid; place-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 50%; background: #fff; cursor: pointer; }
  .header__toggle span { width: 17px; height: 1px; background: var(--header-text); transition: transform .2s, opacity .2s; }
  .header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header__nav { position: absolute; z-index: 10; top: 78px; right: 0; left: 0; width: auto; padding: 14px 24px 24px; display: grid; gap: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 14px 28px rgba(62, 74, 99, .1); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, visibility .2s, transform .2s; }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .header__nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
}

@media (max-width: 620px) {
  .hero h1 { text-wrap: wrap; }
  .method-copy h2,
  .comparison h3,
  .doctor-story h2,
  .doctor-fact h3 {
    text-wrap: balance;
  }
  .header__inner { width: 100%; max-width: 100%; min-width: 0; padding: 0 12px; gap: 10px; }
  .header__actions { width: 126px; flex: 0 0 126px; margin-left: auto; }
  .header__phone { display: none; }
  .header__appointment { width: 126px; height: 40px; flex-basis: 126px; padding: 10px 16px; font-size: 13px; }
  .header__appointment { max-width: 126px; }
  .header__nav { right: 0; left: 0; }
  .hero__inner { width: calc(100vw - 24px); max-width: calc(100vw - 24px); min-width: 0; padding: 34px 0 60px; display: flex; flex-direction: column; gap: 22px; }
  .hero__content,
  .hero h1,
  .hero__lead,
  .hero__disclaimer { width: 100%; max-width: 100%; min-width: 0; }
  .hero__content { flex: 0 1 100%; }
  .hero h1 { overflow-wrap: anywhere; }
  .hero__eyebrow { margin-bottom: 14px; font-size: 9px; }
  .hero h1 { font-size: clamp(19px, calc(8vw - 10px), 22px); }
  .hero__lead { margin-top: 18px; font-size: 13px; }
  .hero__buttons { align-items: stretch; flex-direction: column; }
  .hero__button { width: 100%; }
  .site-footer__logo img { width: 100px; height: 58px; }
  .hero__buttons,
  .hero__button,
  .doctor-card,
  .patients-card { max-width: 100%; min-width: 0; }
  .hero__disclaimer { margin-top: 20px; }
  .doctor-card { width: 100%; max-height: 520px; aspect-ratio: 324 / 421; }
  .patients-card { display: block; padding: 15px; }
  .patients-card__grid { grid-template-columns: repeat(3, 1fr); }
  .patients-card > p { width: auto; margin: 12px 0 0; }
  .method-section { margin-top: -20px; padding: 58px 0 48px; clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); }
  .method-section__inner { width: calc(100% - 24px); }
  .method-intro { gap: 24px; }
  .method-copy__eyebrow { margin-bottom: 13px; font-size: 12px; }
  .method-copy h2 { font-size: 28px; }
  .method-copy > p:last-child { margin-top: 17px; font-size: 14px; }
  .indications-grid { margin-top: 26px; grid-template-columns: 1fr; gap: 10px; }
  .indication-card { min-height: 0; }
  .comparison { margin-top: 28px; }
  .comparison-table { overflow: visible; }
  .comparison-row { min-width: 0; display: block; }
  .comparison-row--head { display: none; }
  .comparison-row > div { min-height: 0; padding: 12px 14px; display: block; border-left: 0; border-top: 1px solid rgba(111, 132, 156, .32); }
  .comparison-row > div:first-child { padding-top: 16px; border-top: 0; border-bottom: 0; }
  .comparison-row > div:nth-child(2)::before,
  .comparison-row > div:nth-child(3)::before { display: block; margin-bottom: 5px; color: #9daabd; font-size: 12px; font-weight: 700; }
  .comparison-row > div:nth-child(2)::before { content: "Классическая"; }
  .comparison-row > div:nth-child(3)::before { content: "Скуловая (Zygoma)"; color: #70d3de; }
  .comparison-row > div:last-child { background: rgba(82, 158, 177, .09); }
  .doctor-section { padding: 62px 0 52px; }
  .doctor-section::before { top: -20px; height: 21px; }
  .doctor-section__inner { width: calc(100% - 24px); gap: 26px; }
  .doctor-story__eyebrow { margin-bottom: 13px; font-size: 12px; }
  .doctor-story h2 { max-width: 100%; font-size: 28px; }
  .doctor-story__photo { margin-top: 20px; aspect-ratio: 1.05; }
  .doctor-story blockquote { padding: 20px 17px 18px; font-size: 16px; }
  .doctor-facts { grid-template-columns: 1fr; gap: 10px; }
  .doctor-fact { min-height: 0; }
  .doctor-fact h3 { min-height: 0; }
  .international-section { padding: 48px 0 52px; }
  .international-section__inner { width: calc(100% - 24px); padding: 24px 17px; gap: 22px; border-radius: 16px; }
  .international-copy__eyebrow { margin-bottom: 15px; font-size: 11px; letter-spacing: .1em; }
  .international-copy__seal { width: 38px; height: 38px; flex-basis: 38px; }
  .international-copy h2 { font-size: 28px; }
  .international-copy > p:not(.international-copy__eyebrow) { margin-top: 17px; font-size: 14px; }
  .international-gallery { grid-template-columns: 1.45fr .8fr .8fr; gap: 7px; }
  .international-gallery figure { height: 175px; border-radius: 9px; }
  .international-gallery .international-gallery__main { height: 108px; }
  .patients-gallery-section { padding: 58px 0 64px; }
  .patients-gallery-section__inner { width: calc(100% - 24px); }
  .patients-gallery__eyebrow { font-size: 11px; }
  .patients-gallery-section h2 { font-size: 28px; }
  .patients-gallery__lead { font-size: 14px; }
  .patients-gallery { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .patients-gallery figure { border-radius: 10px; }
     .patients-gallery__cta { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 28px; padding: 22px 18px; }
     .patients-gallery__cta p { font-size: 14px; }
     .patients-gallery__button { width: 100%; }
}

/* Единый размер и цвет основных CTA-кнопок */
.header__appointment,
.hero__button--primary,
.patients-gallery__button {
  min-height: 43px;
  padding: 12px 24px;
  border: 1px solid var(--button-blue);
  border-radius: 999px;
  background: var(--button-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.header__appointment:hover,
.header__appointment:focus-visible,
.hero__button--primary:hover,
.hero__button--primary:focus-visible,
.patients-gallery__button:hover,
.patients-gallery__button:focus-visible { background: var(--button-blue-hover); }

.treatment-process { padding: 100px 0 120px; background: #fff; color: #273650; }
.treatment-process__inner { width: min(1420px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; align-items: start; }
.treatment-process__aside { min-width: 0; align-self: stretch; }
.treatment-process__sticky { position: sticky; top: 96px; }
.treatment-process__sticky h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.5vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
.treatment-process__cta { margin-top: 36px; padding: 28px; border-radius: 18px; background: #f4f6fa; }
.treatment-process__cta p { margin: 0 0 22px; color: #53637a; font-size: 16px; line-height: 1.55; }
.treatment-process__button { min-height: 43px; padding: 12px 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--button-blue); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; }
.treatment-process__button:hover, .treatment-process__button:focus-visible { background: var(--button-blue-hover); }
.treatment-process__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 34px; }
.process-step { padding-top: 28px; border-top: 1px solid #d9e0e8; }
.process-step img { width: 100%; aspect-ratio: 1.34; display: block; object-fit: cover; border-radius: 16px; }
.process-step > span, .process-step > div > span { width: 52px; height: 52px; margin-top: 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #66c7d6; border-radius: 50%; color: #2598ae; font-size: 15px; font-weight: 800; }
.process-step h3 { margin: 8px 0 0; font-size: 20px; line-height: 1.25; }
.process-step p { margin: 10px 0 0; color: #738198; font-size: 16px; line-height: 1.52; }
.process-step--wide { grid-column: 1 / -1; padding: 0; display: grid; grid-template-columns: 1fr 1.25fr; border: 0; border-radius: 18px; overflow: hidden; background: #f4f6fa; }
.process-step--wide img { height: 100%; min-height: 360px; border-radius: 0; }
.process-step--wide > div { align-self: center; padding: 38px; }
.method-section, .doctor-section, .international-section, .patients-gallery-section, .reviews-section, .treatment-process, .guarantees-section { content-visibility: auto; contain-intrinsic-size: 900px; }
@media (max-width: 920px) { .treatment-process__inner { width: calc(100% - 32px); grid-template-columns: 1fr; } .treatment-process__sticky { position: static; } }
@media (max-width: 620px) { .treatment-process { padding: 64px 0 76px; } .treatment-process__inner { width: calc(100% - 24px); gap: 36px; } .treatment-process__sticky h2 { font-size: 30px; } .treatment-process__cta { margin-top: 24px; padding: 22px 18px; } .treatment-process__button { width: 100%; } .treatment-process__steps { grid-template-columns: 1fr; gap: 28px; } .process-step--wide { grid-column: auto; grid-template-columns: 1fr; } .process-step--wide img { height: auto; min-height: 0; } .process-step--wide > div { padding: 24px 20px; } }

.guarantees-section { position: relative; padding: 94px 0 108px; background: #202b3c; color: #fff; background-image: radial-gradient(rgba(154, 178, 202, .13) 1px, transparent 1px); background-size: 16px 16px; }
.guarantees-section__inner { width: min(1420px, calc(100% - 72px)); margin: 0 auto; }
.guarantees__eyebrow { margin: 0 0 16px; color: #70d3de; font-size: 14px; font-weight: 800; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.guarantees__eyebrow::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 10px 4px 0; background: #70d3de; }
.guarantees-section h2 { max-width: 920px; margin: 0; color: #fff; }
.guarantees-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 30px; margin-top: 48px; align-items: stretch; }
.guarantees-cost { padding: 36px 34px; border: 1px solid rgba(166, 183, 205, .28); border-radius: 18px; background: rgba(32, 43, 60, .25); }
.guarantees-cost h3, .guarantees-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.1; }
.guarantees-cost ul { display: grid; gap: 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.guarantees-cost li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.guarantees-cost__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #34536c; color: #70d3de; font-size: 22px; font-weight: 800; }
.guarantees-cost li strong { display: block; font-size: 18px; line-height: 1.25; }
.guarantees-cost li p { margin: 5px 0 0; color: #b7c1cf; font-size: 16px; line-height: 1.45; }
.guarantees-card { padding: 42px 44px 38px; border-radius: 22px; background: #fff; color: #273650; }
.guarantees-card__row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: start; padding: 28px 0; border-bottom: 1px solid #d9e0e8; }
.guarantees-card__row > strong { min-width: 0; color: #39a8bb; font-family: Georgia, "Times New Roman", serif; font-size: 34px; line-height: 1; white-space: nowrap; }
.guarantees-card__row h4 { margin: 0; font-size: 18px; line-height: 1.25; }
.guarantees-card__row p { margin: 6px 0 0; color: #738198; font-size: 16px; line-height: 1.45; }
.guarantees-card__passport { display: flex; align-items: center; gap: 18px; margin-top: 26px; padding: 14px 16px; border-radius: 14px; background: #f4f6fa; }
.guarantees-card__passport img { width: 78px; height: 78px; flex: 0 0 78px; border-radius: 12px; object-fit: cover; object-position: 50% 50%; }
.guarantees-card__passport p { margin: 0; color: #53637a; font-size: 16px; line-height: 1.4; }
.guarantees__cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 42px; padding: 24px 30px; border: 1px solid rgba(166, 183, 205, .28); border-radius: 18px; background: rgba(35, 48, 68, .68); }
.guarantees__cta p { max-width: 900px; margin: 0; color: #e1e7f0; font-size: 16px; line-height: 1.45; }
.guarantees__button { display: inline-flex; min-height: 52px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 14px 30px; border-radius: 999px; background: var(--button-blue); color: #fff; font-size: 14px; font-weight: 800; line-height: 1; text-decoration: none; white-space: nowrap; }
.guarantees__button:hover, .guarantees__button:focus-visible { background: var(--button-blue-hover); }

.appointment-section { position: relative; padding: 92px 0; background: #202b3c; color: #fff; background-image: radial-gradient(rgba(154,178,202,.13) 1px, transparent 1px); background-size: 16px 16px; }
.appointment-section__inner { width: min(1320px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: 395px minmax(0, 1fr); gap: 42px; align-items: center; }
.appointment-photo { position: relative; height: 590px; margin: 0; overflow: hidden; border-radius: 18px; background: #152131; }
.appointment-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8,16,29,.82)); }
.appointment-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 35%; }
.appointment-photo figcaption { position: absolute; z-index: 1; right: 22px; bottom: 22px; left: 22px; display: grid; gap: 3px; }
.appointment-photo figcaption strong { font-size: 17px; }
.appointment-photo figcaption span { color: #d5dce7; font-size: 12px; }
.appointment-copy h2 { max-width: 700px; margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 3.2vw, 48px); line-height: 1.08; }
.appointment-copy > p { max-width: 650px; margin: 20px 0 28px; color: #aeb9c9; font-size: 15px; line-height: 1.5; }
.appointment-form { padding: 28px 30px 24px; border-radius: 20px; background: #fff; color: #273650; }
.appointment-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.appointment-form label { display: grid; gap: 7px; color: #53637a; font-size: 11px; font-weight: 800; }
.appointment-form input:not([type="checkbox"]), .appointment-form select { width: 100%; box-sizing: border-box; height: 42px; padding: 0 14px; border: 1px solid #dce3eb; border-radius: 10px; background: #fff; color: #273650; font: inherit; font-size: 12px; outline: none; }
.appointment-form input:focus, .appointment-form select:focus { border-color: #64b6c7; box-shadow: 0 0 0 3px rgba(100,182,199,.14); }
.appointment-form > label:not(.appointment-upload):not(.appointment-consent) { margin-top: 16px; }
.appointment-upload { position: relative; grid-template-columns: 34px 1fr; column-gap: 10px; margin-top: 16px; padding: 12px 14px; border: 1px dashed #91d0dc; border-radius: 12px; background: #f6fbfc; cursor: pointer; }
.appointment-upload > span { grid-row: span 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e2f4f6; color: #2b9eb5; font-size: 20px; }
.appointment-upload strong { color: #53637a; font-size: 12px; }.appointment-upload strong small { font-weight: 500; }.appointment-upload em { color: #8b99ab; font-size: 10px; font-style: normal; font-weight: 500; }.appointment-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.appointment-consent { display: flex !important; grid-template-columns: auto 1fr; gap: 10px !important; align-items: center; min-height: 44px; padding: 8px 0; margin-top: 16px; color: var(--header-text) !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.5; cursor: pointer; }
.appointment-consent input[type="checkbox"] { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: var(--button-blue); cursor: pointer; }
.appointment-consent input:focus-visible { outline: 3px solid var(--button-blue); outline-offset: 4px; }
.appointment-consent a { color: var(--button-blue); text-decoration: underline; text-underline-offset: 3px; }
.appointment-form button { width: 100%; height: 44px; margin-top: 14px; border: 0; border-radius: 999px; background: #1e73df; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }.appointment-form button:hover { background: #155fc0; }
.appointment-note { display: block; margin-top: 14px; color: #9aa5b4; font-size: 9px; line-height: 1.35; }

.comfort-section { position: relative; overflow: hidden; padding: 112px 0 122px; background: #fff; color: #273650; background-image: radial-gradient(rgba(74,111,151,.12) 1px, transparent 1px); background-size: 16px 16px; }
.comfort-section::before { content: ""; position: absolute; top: -80px; right: -8%; left: -8%; height: 130px; background: #f3f5f8; transform: rotate(3deg); transform-origin: center; }
.comfort-section__inner { position: relative; width: min(1320px, calc(100% - 72px)); margin: 0 auto; }
.comfort-heading { display: flex; flex-direction: column; align-items: flex-end; margin-bottom: 38px; text-align: right; }
.comfort-eyebrow { margin: 0 0 16px; color: #2b9eb5; font-size: 13px; font-weight: 800; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase; }
.comfort-eyebrow::after { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 0 4px 10px; background: #70d3de; }
.comfort-heading h2 { max-width: 690px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.12; }
.comfort-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.comfort-card { overflow: hidden; border: 1px solid #dfe5ec; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(33,55,82,.04); }
.comfort-card--sleep { margin-top: 48px; }.comfort-card--monitor { margin-top: 0; background: #202b3c; border-color: #202b3c; color: #fff; }.comfort-card--stationary { margin-top: 48px; }.comfort-card--transfer { margin-top: 0; }
.comfort-card > img { width: 100%; height: 320px; display: block; object-fit: cover; }.comfort-card--monitor > img { height: 320px; }.comfort-card--stationary > img { height: 320px; }.comfort-card--transfer > img { height: 152px; }
.comfort-card--sleep > img { object-position: 50% 52%; }.comfort-card--monitor > img { object-position: 50% 48%; filter: saturate(.72); }.comfort-card--stationary > img { object-position: 50% 50%; }.comfort-card--transfer > img { object-position: 50% 48%; }
.comfort-card__body { padding: 22px 20px 24px; }.comfort-card__icon { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 12px; border-radius: 50%; background: #e9f7f8; color: #2b9eb5; font-size: 20px; }.comfort-card__body h3 { margin: 0 0 12px; color: inherit; font-size: 17px; line-height: 1.2; }.comfort-card__body p { margin: 0; color: #7b889a; font-size: 13px; line-height: 1.55; }.comfort-card--monitor .comfort-card__body p { color: #b6c1cf; }
.out-of-town-section { position: relative; overflow: hidden; padding: 94px 0 112px; background: #202b3c; color: #fff; background-image: radial-gradient(rgba(154,178,202,.13) 1px, transparent 1px); background-size: 16px 16px; }
.out-of-town-section::before { content: ""; position: absolute; top: -76px; right: -8%; left: -8%; height: 120px; background: #fff; transform: rotate(-3deg); }
.out-of-town-section__inner { position: relative; width: min(1320px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: 1fr .82fr; gap: 52px; align-items: center; }
.out-of-town-list { padding: 20px 28px; border: 1px solid rgba(166,183,205,.24); border-radius: 18px; background: rgba(35,48,68,.55); }
.out-of-town-list > div { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: center; min-height: 58px; border-bottom: 1px solid rgba(166,183,205,.16); }.out-of-town-list > div:last-child { border-bottom: 0; }.out-of-town-list span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #31536b; color: #70d3de; font-size: 15px; }.out-of-town-list p { margin: 0; color: #d2d9e3; font-size: 14px; line-height: 1.35; }
.out-of-town-copy { max-width: 520px; }.out-of-town-eyebrow { margin: 0 0 16px; color: #70d3de; font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }.out-of-town-eyebrow::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 10px 4px 0; background: #70d3de; }.out-of-town-copy h2 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.2vw, 48px); line-height: 1.08; }.out-of-town-copy > p:not(.out-of-town-eyebrow) { margin: 20px 0 26px; color: #aeb9c9; font-size: 15px; line-height: 1.5; }.out-of-town-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 999px; background: #1e73df; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }.out-of-town-button:hover, .out-of-town-button:focus-visible { background: #155fc0; }
@media (max-width: 900px) { .comfort-section { padding: 86px 0 92px; }.comfort-section__inner { width: calc(100% - 32px); }.comfort-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.comfort-card--sleep, .comfort-card--stationary { margin-top: 32px; }.comfort-card--transfer { margin-top: 0; }.comfort-card > img, .comfort-card--monitor > img, .comfort-card--stationary > img { height: 280px; } }
@media (max-width: 560px) { .comfort-section { padding: 70px 0 78px; }.comfort-section__inner { width: calc(100% - 24px); }.comfort-heading { align-items: flex-start; text-align: left; }.comfort-heading h2 { font-size: 32px; }.comfort-eyebrow::after { display: none; }.comfort-cards { grid-template-columns: 1fr; }.comfort-card--sleep, .comfort-card--monitor, .comfort-card--stationary, .comfort-card--transfer { margin-top: 0; }.comfort-card > img, .comfort-card--monitor > img, .comfort-card--stationary > img { height: 300px; }.comfort-card--transfer > img { height: 220px; } }
@media (max-width: 820px) { .out-of-town-section { padding: 74px 0 82px; }.out-of-town-section__inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 34px; }.out-of-town-copy { max-width: none; }.out-of-town-copy h2 { font-size: 36px; } }
@media (max-width: 560px) { .out-of-town-section__inner { width: calc(100% - 24px); }.out-of-town-list { padding: 12px 16px; }.out-of-town-list p { font-size: 13px; }.out-of-town-copy h2 { font-size: 32px; }.out-of-town-button { width: 100%; } }
@media (max-width: 820px) { .appointment-section { padding: 64px 0 76px; }.appointment-section__inner { width: calc(100% - 24px); grid-template-columns: 1fr; gap: 28px; }.appointment-photo { height: 440px; }.appointment-copy h2 { font-size: 34px; }.appointment-form { padding: 22px 18px; } }
@media (max-width: 520px) { .appointment-form__grid { grid-template-columns: 1fr; gap: 14px; }.appointment-photo { height: 380px; } }
@media (min-width: 921px) and (max-width: 1199px) {
  .guarantees-card { padding-left: 30px; padding-right: 30px; }
  .guarantees-card__row { grid-template-columns: 205px minmax(0, 1fr); gap: 24px; }
  .guarantees-card__row > strong { font-size: 26px; }
}
@media (max-width: 920px) { .guarantees-section { padding: 76px 0 88px; } .guarantees-section__inner { width: calc(100% - 32px); } .guarantees-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .guarantees-section { padding: 62px 0 72px; } .guarantees-section__inner { width: calc(100% - 24px); } .guarantees__eyebrow { font-size: 11px; letter-spacing: .12em; } .guarantees-grid { margin-top: 32px; gap: 18px; } .guarantees-cost { padding: 26px 20px; } .guarantees-cost h3, .guarantees-card h3 { font-size: 26px; } .guarantees-cost li { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; } .guarantees-cost__icon { width: 38px; height: 38px; font-size: 18px; } .guarantees-cost li strong { font-size: 16px; } .guarantees-cost li p, .guarantees-card__row p, .guarantees-card__passport p { font-size: 14px; } .guarantees-card { padding: 28px 20px 22px; border-radius: 16px; } .guarantees-card__row { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; } .guarantees-card__row > strong { font-size: 30px; } .guarantees-card__passport { align-items: flex-start; gap: 12px; margin-top: 20px; padding: 12px; } .guarantees-card__passport img { width: 64px; height: 64px; flex-basis: 64px; } .guarantees__cta { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 28px; padding: 22px 18px; } .guarantees__cta p { font-size: 14px; } .guarantees__button { width: 100%; } }

/* Единая типографическая иерархия заголовков */
main section h2 {
  font-size: clamp(30px, 2.6vw, 34px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.025em !important;
}

@media (max-width: 620px) {
  main section h2 { font-size: 28px !important; }
}

.reviews-section { padding: 96px 0 110px; background: #fff; background-image: radial-gradient(#dce6eb 1px, transparent 1px); background-size: 16px 16px; color: #25364f; }
.reviews-intro, .reviews-grid { width: min(1420px, calc(100% - 72px)); margin: 0 auto; }
.reviews-intro { display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; align-items: center; }
.reviews-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 56px); line-height: 1.08; letter-spacing: -.03em; }
.reviews-intro__copy > p { max-width: 510px; margin: 24px 0 0; color: #718198; font-size: 18px; line-height: 1.5; }
.reviews-intro blockquote { margin: 36px 0 0; padding: 8px 0 8px 22px; border-left: 2px solid #70d3de; color: #52637c; font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-style: italic; line-height: 1.45; }
.reviews-intro__photo { position: relative; margin: 0; overflow: hidden; border-radius: 22px; aspect-ratio: 1.55; }
.reviews-intro__photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.reviews-intro__photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(20,29,43,.8)); }
.reviews-intro__photo figcaption { position: absolute; z-index: 1; left: 28px; bottom: 24px; color: #fff; font-size: 16px; font-weight: 700; }
.reviews-layout { width: min(1420px, calc(100% - 72px)); margin: 54px auto 0; display: grid; grid-template-columns: minmax(180px, 312px) 1fr; gap: 54px; align-items: start; }
.reviews-grid { width: auto; }
.reviews-video { position: sticky; top: 96px; width: 100%; margin: 0; }
.reviews-video__frame { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: #202b3c; }
.reviews-video__frame video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #202b3c; }
.reviews-video__frame figcaption { position: absolute; left: 24px; bottom: 58px; color: #fff; font-size: 14px; font-weight: 700; pointer-events: none; }
.reviews-video__copy { max-width: 240px; margin-top: 18px; }
.reviews-video__eyebrow { margin: 0 0 12px; color: #188da5; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.reviews-video__copy h3 { margin: 0; color: #25364f; font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3vw, 40px); line-height: 1.12; }
.reviews-video__copy > p:last-child { margin: 18px 0 0; color: #718198; font-size: 17px; line-height: 1.5; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; margin: 0; }
.review-card { min-height: 0; padding: 24px 28px; border: 1px solid #dce3eb; border-radius: 16px; background: #fff; }
.review-card--dark { background: #202b3c; border-color: #202b3c; color: #fff; }
.review-card header { display: flex; justify-content: space-between; gap: 16px; font-size: 18px; }
.review-card header span { color: #58bfd0; white-space: nowrap; }
.review-card p { margin: 24px 0; color: #738198; font-size: 18px; line-height: 1.55; }
.review-card--dark p { color: #f2f4f7; font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.review-card footer { display: grid; gap: 2px; font-size: 14px; }
.review-card footer small { color: #91a0b4; }
@media (max-width: 920px) { .reviews-intro { grid-template-columns: 1fr; gap: 32px; } .reviews-layout { grid-template-columns: 1fr; gap: 34px; } .reviews-video { position: static; width: min(50%, 240px); margin: 0 auto; } .reviews-video__copy { max-width: none; } .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .reviews-section { padding: 62px 0 72px; } .reviews-intro, .reviews-layout { width: calc(100% - 24px); } .reviews-intro h2 { font-size: 30px; } .reviews-intro__copy > p { font-size: 16px; } .reviews-intro blockquote { margin-top: 24px; font-size: 19px; } .reviews-intro__photo, .reviews-video__frame { border-radius: 14px; } .reviews-intro__photo figcaption { left: 16px; bottom: 16px; font-size: 13px; } .reviews-video { width: 50%; margin: 0 auto; } .reviews-video__frame figcaption { left: 16px; bottom: 54px; font-size: 12px; } .reviews-video__copy h3 { font-size: 28px; } .reviews-video__copy > p:last-child { font-size: 16px; } .reviews-grid { grid-template-columns: 1fr; } .review-card { padding: 24px 20px; border-radius: 14px; } .review-card p { font-size: 16px; } }

/* Единый стиль eyebrow для всех секций */
.hero__eyebrow,
.method-copy__eyebrow,
.doctor-story__eyebrow,
.international-copy__eyebrow,
.patients-gallery__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: #2b9eb5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero__eyebrow::before,
.method-copy__eyebrow::before,
.doctor-story__eyebrow::before,
.international-copy__eyebrow::before,
.patients-gallery__eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  flex: 0 0 18px;
  background: #2b9eb5;
}

.international-copy__eyebrow .international-copy__seal {
  order: -1;
  margin: 0;
}

@media (max-width: 620px) {
  .hero__eyebrow,
  .method-copy__eyebrow,
  .doctor-story__eyebrow,
  .international-copy__eyebrow,
  .patients-gallery__eyebrow {
    margin-bottom: 13px;
    font-size: 11px;
    letter-spacing: .12em;
  }
}

@media (max-width: 390px) {
  .header__appointment { display: none; }
}

/* Основные действия: единая удобная высота на всех экранах. */
.header__actions { height: 52px; }
.header__appointment,
.hero__button,
.patients-gallery__button,
.treatment-process__button {
  height: 52px;
  min-height: 52px;
  padding-top: 14px;
  padding-bottom: 14px;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

.faq-section { position: relative; padding: 94px 0 120px; background: #fff; color: #273650; }
.faq-section__inner { width: min(1320px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: start; }
.faq-intro { position: sticky; top: 28px; }.faq-eyebrow { margin: 0 0 18px; color: #2b9eb5; font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }.faq-eyebrow::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 10px 4px 0; background: #70d3de; }.faq-intro h2 { max-width: 400px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3vw, 46px); line-height: 1.12; }.faq-question-card { max-width: 310px; margin-top: 34px; padding: 20px 18px; border-radius: 14px; background: #202b3c; color: #fff; }.faq-question-card p { margin: 0 0 12px; color: #d6dde7; font-size: 13px; line-height: 1.45; }.faq-question-card a { color: #70d3de; font-size: 13px; font-weight: 800; text-decoration: none; }.faq-list { border-top: 1px solid #dfe5ec; }.faq-list details { border-bottom: 1px solid #dfe5ec; }.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding: 0 34px 0 0; color: #3e4a63; font-size: 15px; font-weight: 800; line-height: 1.35; list-style: none; cursor: pointer; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::after { content: "⌄"; position: absolute; right: 2px; top: 17px; color: #51a8b9; font-size: 17px; transition: transform .2s; }.faq-list details[open] summary::after { transform: rotate(180deg); }.faq-list details p { max-width: 760px; margin: -2px 0 20px; color: #8794a6; font-size: 14px; line-height: 1.55; }
@media (max-width: 820px) { .faq-section { padding: 74px 0 88px; }.faq-section__inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 38px; }.faq-intro { position: static; }.faq-intro h2 { max-width: 650px; }.faq-question-card { max-width: none; } }
@media (max-width: 560px) { .faq-section__inner { width: calc(100% - 24px); }.faq-intro h2 { font-size: 32px; }.faq-list summary { min-height: 64px; font-size: 14px; }.faq-list details p { font-size: 13px; } }
.faq-list summary::after { content: ""; position: absolute; right: 5px; top: 20px; width: 8px; height: 8px; border-right: 1.5px solid #51a8b9; border-bottom: 1.5px solid #51a8b9; transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { top: 24px; transform: rotate(225deg); }
.contacts-section { position: relative; overflow: hidden; padding: 104px 0 128px; background: #fff; color: #273650; }
.contacts-section::before { content: ""; position: absolute; top: -70px; right: -8%; left: -8%; height: 120px; background: #202b3c; transform: rotate(3deg); }
.contacts-section__inner { position: relative; width: min(1320px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: .84fr 1.16fr; gap: 56px; align-items: center; }
.contacts-eyebrow { margin: 0 0 18px; color: #2b9eb5; font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }.contacts-eyebrow::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 10px 4px 0; background: #70d3de; }.contacts-copy h2 { max-width: 520px; margin: 0 0 28px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3vw, 46px); line-height: 1.12; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; }.contact-item > span { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: #e8f5f7; color: #2b9eb5; font-size: 16px; }.contact-item strong { display: block; color: #3e4a63; font-size: 15px; line-height: 1.35; }.contact-item a { color: inherit; text-decoration: none; }.contact-item small { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; margin-top: 4px; color: #8794a6; font-size: 12px; }.contact-item small a { color: #3e4a63; font-weight: 700; }.metro { width: 7px; height: 7px; display: inline-block; margin-right: -8px; border-radius: 50%; }.metro--purple { background: #7854bb; }.metro--teal { background: #2faeb3; }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }.contacts-button { display: inline-flex; min-height: 44px; padding: 0 24px; align-items: center; justify-content: center; border: 1px solid #1e73df; border-radius: 999px; background: #1e73df; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }.contacts-button--outline { background: #fff; color: #3e4a63; border-color: #9bbbd8; }.contacts-button:hover { background: #155fc0; color: #fff; }.contacts-button--outline:hover { background: #f2f8fb; color: #3e4a63; }.contacts-note { max-width: 520px; margin: 22px 0 0; color: #8794a6; font-size: 13px; line-height: 1.5; }.contacts-note a { color: #2879c7; font-weight: 700; text-decoration: none; }.contacts-map { display: block; height: 430px; overflow: hidden; border-radius: 20px; box-shadow: 0 12px 32px rgba(38,59,87,.12); }.contacts-map img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
@media (max-width: 820px) { .contacts-section { padding: 76px 0 90px; }.contacts-section__inner { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 34px; }.contacts-map { height: 360px; } }
@media (max-width: 820px) {
  .appointment-copy,
  .out-of-town-copy { order: -1; }
}
@media (max-width: 560px) { .contacts-section__inner { width: calc(100% - 24px); }.contacts-actions { align-items: stretch; flex-direction: column; }.contacts-button { width: 100%; box-sizing: border-box; }.contacts-map { height: 280px; border-radius: 14px; } }
.contact-socials { gap: 8px !important; }.contact-social { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border: 1px solid #dfe5ec; border-radius: 999px; background: #fff; text-decoration: none; }.contact-social img { width: 18px; height: 18px; object-fit: contain; }
.header__socials { display: none; }

/* Возврат шапки к однорядной версии с мессенджерами на десктопе. */
@media (min-width: 921px) {
  .header__socials { display: flex; }
}

@media (min-width: 921px) and (max-width: 1459px) {
  .header, .header__inner { height: 90px; }
  .header__inner {
    position: absolute;
    left: 50%;
    width: 1420px;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%) scale(var(--header-scale, .88));
    transform-origin: center center;
  }
  .header__logo { grid-column: auto; grid-row: auto; align-self: auto; }
  .header__nav { width: 500px; flex: 0 0 500px; gap: 18px; }
  .header__actions {
    display: flex;
    width: 767px;
    flex: 0 0 767px;
    gap: 30px;
  }
  .header__location { width: 225px; flex: 0 0 225px; }
  .header__phone { width: 152px; flex: 0 0 152px; }
  .header__appointment { width: 180px; flex: 0 0 180px; }
}
.header__appointment,
.hero__button--primary,
.patients-gallery__button,
.treatment-process__button,
.guarantees__button,
.appointment-form button,
.out-of-town-button,
.contacts-button:not(.contacts-button--outline) { background: var(--button-blue); border-color: var(--button-blue); }
.header__appointment:hover, .header__appointment:focus-visible,
.hero__button--primary:hover, .hero__button--primary:focus-visible,
.patients-gallery__button:hover, .patients-gallery__button:focus-visible,
.treatment-process__button:hover, .treatment-process__button:focus-visible,
.guarantees__button:hover, .guarantees__button:focus-visible,
.appointment-form button:hover, .appointment-form button:focus-visible,
.out-of-town-button:hover, .out-of-town-button:focus-visible,
.contacts-button:not(.contacts-button--outline):hover, .contacts-button:not(.contacts-button--outline):focus-visible { background: var(--button-blue-hover); border-color: var(--button-blue-hover); }
.site-footer { position: relative; overflow: hidden; padding: 76px 0 0; background: #202b3c; color: #fff; background-image: radial-gradient(rgba(154,178,202,.13) 1px, transparent 1px); background-size: 16px 16px; }
.site-footer__inner { width: min(1320px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .72fr 1.18fr; gap: 68px; padding-bottom: 58px; }.site-footer__logo { display: inline-block; filter: brightness(0) invert(1); }.site-footer__logo img { width: 118px; height: 69px; object-fit: contain; }.site-footer__brand p { max-width: 300px; margin: 14px 0 16px; color: #b5c0cf; font-size: 13px; line-height: 1.5; }.site-footer__phone { display: block; color: #fff; font-size: 17px; font-weight: 800; text-decoration: none; }.site-footer__brand small { display: block; margin-top: 8px; color: #9eabba; font-size: 12px; line-height: 1.5; }
.site-footer h3 { margin: 8px 0 18px; color: #70d3de; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }.site-footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }.site-footer__nav a { color: #c4cdd9; font-size: 14px; text-decoration: none; }.site-footer__nav a:hover { color: #70d3de; }.site-footer__details p { max-width: 360px; margin: 0 0 14px; color: #b5c0cf; font-size: 13px; line-height: 1.55; }.site-footer__details strong { color: #fff; font-weight: 700; }
.site-footer__bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding: 18px max(36px, calc((100% - 1320px) / 2)); border-top: 1px solid rgba(166,183,205,.2); color: #8998aa; font-size: 11px; line-height: 1.4; }.site-footer__bottom p { max-width: 850px; margin: 0; }.site-footer__bottom span { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 820px) { .site-footer__inner { width: calc(100% - 32px); grid-template-columns: 1fr 1fr; gap: 40px 28px; }.site-footer__brand { grid-column: 1 / -1; }.site-footer__bottom { padding-right: 16px; padding-left: 16px; } }
@media (max-width: 560px) {
  .site-footer { padding-top: 28px; }
  .site-footer__inner { width: calc(100% - 24px); grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 24px; }
  .site-footer__brand { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px 16px; align-items: center; grid-column: auto; }
  .site-footer__logo { grid-column: 1; grid-row: 1; width: 100px; height: 58px; }
  .site-footer__logo img { display: block; width: 100px; height: 58px; }
  .site-footer__contacts { grid-column: 2; grid-row: 1; min-width: 0; justify-self: end; text-align: right; }
  .site-footer__brand .site-footer__phone { margin: 0; font-size: clamp(15px, 4vw, 17px); white-space: nowrap; }
  .site-footer__brand small { margin-top: 6px; overflow-wrap: anywhere; }
  .site-footer__brand p { grid-column: 1 / -1; grid-row: 2; max-width: none; margin: 0; }
  .site-footer h3 { margin: 0 0 12px; }
  .site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; align-items: start; }
  .site-footer__nav h3 { grid-column: 1 / -1; margin-bottom: 6px; }
  .site-footer__nav a { display: flex; align-items: center; min-height: 44px; line-height: 1.35; }
  .site-footer__details p { max-width: none; margin-bottom: 10px; overflow-wrap: break-word; }
  .site-footer__details p:last-child { margin-bottom: 0; }
  .site-footer__bottom { flex-direction: column; gap: 10px; padding: 14px 12px; }
}
.out-of-town-list span { width: var(--card-icon-size); height: var(--card-icon-size); flex: 0 0 var(--card-icon-size); }
.out-of-town-list span svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.out-of-town-list > div { grid-template-columns: var(--card-icon-size) minmax(0,1fr); }
.contact-item > span { width: var(--card-icon-size); height: var(--card-icon-size); flex-basis: var(--card-icon-size); }
.contact-item > span svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-item { align-items: center; }

/* Единый размер пиктограмм во всех информационных карточках. */
.doctor-fact__icon svg,
.international-copy__seal svg,
.out-of-town-list span svg,
.contact-item > span svg,
.technology-icon svg { width: 22px; height: 22px; }

/* Десктопная шапка: пять зон и одинаковое свободное расстояние между ними. */
@media (min-width: 921px) {
  .header, .header__inner { height: 90px; }
  .header__inner {
    position: relative;
    left: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 32px;
    display: grid;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: auto auto auto auto auto;
    grid-template-rows: 100%;
    column-gap: 0;
    transform: none;
  }
  .header__logo { grid-column: 1; grid-row: 1; align-self: center; }
  .header__nav {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 0;
    margin: 0;
    flex: 0 0 auto;
    flex-shrink: 0;
    gap: 18px;
  }
  .header__actions { display: contents; }
  .header__location { grid-column: 3; grid-row: 1; width: 225px; flex: none; }
  .header__phone { grid-column: 4; grid-row: 1; width: 190px; flex: none; }
  .header__appointment { grid-column: 5; grid-row: 1; width: 180px; flex: none; }
  .header__socials { display: none; }
  .header__logo,
  .header__nav,
  .header__location,
  .header__phone,
  .header__appointment { align-self: center; }
}

@media (min-width: 1280px) and (max-width: 1459px) {
  .header { height: 79.2px; }
  .header__inner {
    width: 113.6364%;
    height: 90px;
    transform: scale(.88);
    transform-origin: left top;
  }
  .header__logo,
  .header__logo img {
    width: 134.0909px;
    height: 78.4091px;
  }
  .header__logo { flex-basis: 134.0909px; }
}

@media (min-width: 921px) and (max-width: 1279px) {
  .header { height: 78px; }
  .header__inner {
    width: 128.2052%;
    height: 100px;
    transform: scale(.78);
    transform-origin: left top;
  }
  .header__logo,
  .header__logo img {
    width: 151.2821px;
    height: 88.4615px;
  }
  .header__logo { flex-basis: 151.2821px; }
}

/* Планшетная шапка: бургер всегда прижат к правому краю. */
@media (min-width: 921px) and (max-width: 1199px) {
  .header, .header__inner { height: 78px; }
  .header__inner { width: 100%; max-width: none; padding: 0 32px; display: flex; gap: 0; transform: none; }
  .header__logo, .header__logo img { width: 100px; height: 58px; }
  .header__logo { flex: 0 0 100px; }
  .header__nav { top: 78px; right: 0; left: 0; }
  .header__location, .header__phone, .header__socials { display: none; }
  .header__actions { display: flex; align-items: center; width: auto; margin-left: auto; }
  .header__appointment { width: 145px; flex: 0 0 145px; }
  .header__toggle { width: 42px; height: 42px; margin-left: 14px; padding: 0; display: grid; place-content: center; gap: 5px; border: 1px solid var(--border); border-radius: 50%; background: #fff; cursor: pointer; }
}

/* На десктопе шапка совпадает по ширине с основным контейнером страницы. */
@media (min-width: 1200px) {
  .header,
  .header__inner { height: 90px; }
  .header__inner {
    position: relative;
    left: auto;
    width: min(1420px, calc(100% - 72px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
    transform: none;
    transform-origin: initial;
  }
  .header__logo,
  .header__logo img {
    width: 118px;
    height: 69px;
  }
  .header__logo { flex-basis: 118px; }
}
.clinic-section {
  padding: 96px 0 110px;
  background: #fff;
  background-image: radial-gradient(#dce6eb 1px, transparent 1px);
  background-size: 16px 16px;
  color: #273650;
  content-visibility: auto;
  contain-intrinsic-size: 1050px;
}

.clinic-section__inner {
  width: min(1420px, calc(100% - 72px));
  margin: 0 auto;
}

.clinic-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr);
  gap: 70px;
  align-items: end;
}

.clinic__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: #2b9eb5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.clinic__eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  flex: 0 0 18px;
  background: #2b9eb5;
}

.clinic-section h2 {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.clinic-section__lead {
  max-width: 430px;
  margin: 0 0 2px;
  color: #718198;
  font-size: 18px;
  line-height: 1.5;
}

.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 430px 360px;
  gap: 16px;
  margin-top: 46px;
}

.clinic-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e9eef3;
}

.clinic-gallery__facade { grid-column: span 2; }

.clinic-gallery img,
.clinic-gallery video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.clinic-gallery__reception img { object-position: 50% 56%; }
.clinic-gallery__cabinet img { object-position: 50% 56%; }
.clinic-gallery__facade img { object-position: 50% 50%; }
.clinic-gallery__video video { object-position: 50% 50%; }

@media (max-width: 920px) {
  .clinic-section { padding: 76px 0 88px; }
  .clinic-section__inner { width: calc(100% - 32px); }
  .clinic-section__heading { grid-template-columns: 1fr; gap: 24px; }
  .clinic-section__lead { max-width: 700px; }
  .clinic-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, 330px); gap: 12px; }
  .clinic-gallery__facade { grid-column: span 2; }
}

@media (max-width: 620px) {
  .clinic-section { padding: 62px 0 72px; }
  .clinic-section__inner { width: calc(100% - 24px); }
  .clinic__eyebrow { margin-bottom: 13px; font-size: 11px; letter-spacing: .12em; }
  .clinic-section__lead { font-size: 14px; }
  .clinic-gallery { grid-template-rows: 230px 230px 190px 230px; gap: 8px; margin-top: 30px; }
  .clinic-gallery figure { border-radius: 10px; }
  .clinic-gallery__facade { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 620px) {
  .process-step > span,
  .process-step > div > span { margin-top: 12px; }
  .process-step h3 { margin-top: 8px; }
}

.technology-section { padding: 88px 0; background: #222b3a radial-gradient(rgba(154,178,202,.13) 1px,transparent 1px); background-size: 16px 16px; color: #fff; }
.technology-section__inner { width: min(1420px,calc(100% - 72px)); margin: auto; }
.technology-heading { display: grid; grid-template-columns: 1.8fr 1fr; gap: 70px; align-items: end; margin-bottom: 44px; }
.technology-heading h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; }
.technology-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: #70d3de; font-size: 14px; font-weight: 800; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.technology-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; flex: 0 0 18px; }
.technology-lead { margin: 0; border-left: 2px solid #70d3de; padding: 4px 0 4px 18px; font-size: 16px; line-height: 1.6; }
.technology-grid { display: grid; grid-template-columns: 1.22fr 1fr 1.22fr; gap: 20px; }
.technology-card { min-width: 0; border: 1px solid rgba(189,213,227,.22); border-radius: var(--card-radius); overflow: hidden; background: rgba(255,255,255,.035); }
.technology-card h3,.technology-analysis h3 { margin: 0 0 12px; font-size: var(--card-title-size); line-height: 1.3; }
.technology-card p,.technology-analysis p { margin: 0; font-size: var(--card-body-size); line-height: 1.5; color: #c7cfdb; }
.technology-card__copy { padding: 26px 30px; }
.technology-card--ct { position: relative; display: flex; align-items: end; min-height: 480px; }
.technology-card--ct img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.technology-card--ct::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%,rgba(15,24,37,.6) 55%,rgba(15,24,37,.96)); }
.technology-card--ct .technology-card__copy { position: relative; z-index: 1; }
.technology-card--ct p { color: #e2e7ee; }
.technology-3d { display: block; margin-bottom: 6px; font: bold 54px/1.1 Georgia,serif; color: #70d3de; }
.technology-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; min-width: 0; }
.technology-card--info { padding: 26px; }
.technology-icon { display: flex; align-items: center; justify-content: center; width: var(--card-icon-size); height: var(--card-icon-size); flex: 0 0 var(--card-icon-size); margin-bottom: 16px; border-radius: 50%; color: #70d3de; background: rgba(112,211,222,.12); }
.technology-icon svg { width: 22px; height: 22px; }
.technology-card--model { display: flex; flex-direction: column; }
.technology-card--model > img { width: 100%; height: 280px; object-fit: cover; object-position: 50% 78%; }
.technology-analysis { display: flex; align-items: center; gap: 22px; margin-top: 44px; border-radius: var(--card-radius); overflow: hidden; background: #fff; color: #3e4a63; }
.technology-analysis > img { width: 180px; height: 110px; align-self: stretch; object-fit: cover; object-position: center 65%; }
.technology-analysis .technology-icon { margin: 0; color: #319cae; }
.technology-analysis > div { padding: 20px 24px 20px 0; }
.technology-analysis h3 { margin-bottom: 6px; }
.technology-analysis p { color: #6c7c98; }
@media (max-width: 1080px) {
  .technology-heading { gap: 32px; }
  .technology-grid { gap: 14px; grid-template-columns: 1fr 1fr; }
  .technology-card--ct { grid-row: auto; }
  .technology-stack { gap: 14px; }
  .technology-card--model { grid-column: 1 / -1; flex-direction: row; }
  .technology-card--model > img { width: 42%; height: 260px; }
  .technology-card--model .technology-card__copy { align-self: center; }
}
@media (max-width: 920px) {
  .technology-section__inner { width: calc(100% - 32px); }
  .technology-heading { grid-template-columns: 1fr; gap: 24px; }
  .technology-card--ct { grid-row: auto; }
}
@media (max-width: 620px) {
  .technology-section { padding: 62px 0 72px; }
  .technology-section__inner { width: calc(100% - 24px); }
  .technology-eyebrow { font-size: 11px; letter-spacing: .12em; }
  .technology-heading { margin-bottom: 28px; }
  .technology-lead { font-size: 14px; }
  .technology-grid { grid-template-columns: 1fr; }
  .technology-card--ct { min-height: 440px; }
  .technology-card__copy,.technology-card--info { padding: 22px; }
  .technology-stack { grid-template-rows: auto auto; }
  .technology-card--model { grid-column: auto; flex-direction: column; }
  .technology-card--model > img { width: 100%; height: 230px; }
  .technology-analysis { margin-top: 24px; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 16px; padding: 20px; }
  .technology-analysis > img { width: 100%; height: 150px; grid-column: 1 / -1; border-radius: 10px; }
  .technology-analysis > div { padding: 0; }
  .technology-analysis .technology-icon { align-self: start; }
}

/* Единая система карточек: одинаковая иерархия текста и размеры иконок. */
.doctor-fact h3,
.process-step h3,
.guarantees-cost li strong,
.guarantees-card__row h4,
.review-card header {
  font-size: var(--card-title-size);
  line-height: 1.3;
}

.doctor-fact p,
.process-step p,
.indication-card p,
.guarantees-cost li p,
.guarantees-card__row p,
.guarantees-card__passport p,
.review-card p {
  font-size: var(--card-body-size);
  line-height: 1.45;
}

.doctor-fact__icon,
.guarantees-cost__icon,
.international-copy__seal {
  width: var(--card-icon-size);
  height: var(--card-icon-size);
  flex-basis: var(--card-icon-size);
}

.doctor-fact__icon svg { width: 22px; height: 22px; }

.process-step > span,
.process-step > div > span {
  width: var(--card-icon-size);
  height: var(--card-icon-size);
  font-size: 14px;
}

/* Единый визуальный каркас карточек: общие радиусы и границы при сохранении цветовых тем секций. */
.doctor-fact,
.indication-card,
.process-step--wide,
.guarantees-cost,
.guarantees-card,
.review-card {
  border-radius: var(--card-radius);
}

.doctor-fact,
.review-card {
  border-color: var(--card-border-color);
}

.guarantees-cost li {
  grid-template-columns: var(--card-icon-size) minmax(0, 1fr);
}

.guarantees-cost__icon {
  font-size: 20px;
}

@media (max-width: 620px) {
  :root {
    --card-title-size: 16px;
    --card-body-size: 14px;
    --card-icon-size: 40px;
  }
}

/* Финальная типографическая иерархия: одинаковый уровень — одинаковый размер. */
h1 { font-size: 32px !important; }
h2 { font-size: clamp(30px, 2.8vw, 38px) !important; }
h3 { font-size: 18px !important; }
h4 { font-size: 16px !important; }

@media (min-width: 621px) and (max-width: 1399px) {
  h1 { font-size: 28px !important; }
}

@media (max-width: 620px) {
  h1 { font-size: 32px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 16px !important; }
  h4 { font-size: 15px !important; }
}

/* Шапка и первый экран: итоговые правила адаптивной композиции. */
.hero__content { container-type: inline-size; }
.hero h1 { font-size: clamp(20px, 2.3vw, 32px) !important; text-wrap: initial; }
@supports (font-size: 1cqi) {
  .hero h1 { font-size: clamp(18px, 6.8cqi, 32px) !important; }
}
.hero h1 > span { display: block; white-space: nowrap; }
.doctor-card-wrap { position: relative; min-width: 0; width: 100%; }
.doctor-card__info span, .doctor-card__award p { white-space: normal; }
.doctor-card__award p { min-width: 0; }
.hero__buttons { flex-wrap: wrap; }
.hero__button { white-space: normal; line-height: 1.35; }
#send-ct { scroll-margin-top: 110px; }
main [id] { scroll-margin-top: 110px; }

@media (max-width: 1459px) {
  .doctor-card__info, .doctor-card__award {
    position: static; width: 100%; max-width: none; box-sizing: border-box;
  }
  .doctor-card__info { margin-top: 12px; }
  .doctor-card__award { margin-top: 10px; }
}

/* Компактная шапка для ноутбуков и планшетов. */
@media (max-width: 1399px) {
  .header, .header__inner { height: 78px; }
  .header__inner {
    position: relative; left: auto; width: calc(100% - 72px); max-width: 1420px;
    margin: 0 auto; padding: 0; display: flex; align-items: center;
    justify-content: flex-start; gap: 14px; transform: none;
  }
  .header__logo, .header__logo img { width: 118px; height: 69px; }
  .header__logo { flex: 0 0 118px; }
  .header__location, .header__phone, .header__socials { display: none; }
  .header__actions {
    display: flex; width: auto; height: auto; flex: 0 0 auto; margin-left: auto; gap: 0;
  }
  .header__appointment { display: flex; width: 145px; flex: 0 0 145px; height: 44px; min-height: 44px; padding: 10px 20px; }
  .header__toggle {
    display: grid; place-content: center; flex: 0 0 44px; width: 44px; height: 44px;
    margin: 0; padding: 0; gap: 5px; border: 1px solid var(--border); border-radius: 50%; background: #fff; cursor: pointer;
  }
  .header__toggle span { width: 17px; height: 1px; background: var(--header-text); transition: transform .2s, opacity .2s; }
  .header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header__nav {
    position: absolute; z-index: 10; top: 78px; right: 0; left: 0; width: auto;
    margin: 0; padding: 14px 24px 24px; display: grid; gap: 0; background: #fff;
    border: 1px solid var(--border); box-shadow: 0 14px 28px rgba(62,74,99,.1);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, visibility .2s, transform .2s;
  }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .header__nav a { min-height: 44px; padding: 12px 0; border-bottom: 1px solid var(--border); }
}

/* В компактной шапке ноутбука сохраняем адрес клиники. */
@media (min-width: 921px) and (max-width: 1399px) {
  .header__inner {
    width: 100%;
    max-width: none;
    padding-right: 24px;
    padding-left: 24px;
  }
  .header__location {
    display: flex;
    width: 225px;
    flex: 0 0 225px;
    margin-left: 0;
  }
  .header__actions {
    margin-left: auto;
    gap: 14px;
  }
}

@media (max-width: 920px) {
  .header__inner { width: calc(100% - 32px); }
  .hero__buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__button { width: 100%; flex: none; }
  .doctor-card-wrap { grid-column: 2; grid-row: 1; }
}

@media (max-width: 620px) {
  .header__inner, .hero__inner { width: calc(100% - 24px); max-width: none; }
  .header__inner { gap: 10px; }
  .header__logo, .header__logo img { width: 100px; height: 58px; }
  .header__logo { flex-basis: 100px; }
  .header__appointment { width: 126px; flex-basis: 126px; padding-inline: 12px; font-size: 13px; }
  .hero h1 { font-size: clamp(18px, 6.5vw, 28px) !important; overflow-wrap: normal; }
  @supports (font-size: 1cqi) {
    .hero h1 { font-size: clamp(18px, 6.8cqi, 28px) !important; }
  }
  .doctor-card-wrap { grid-column: auto; grid-row: auto; }
}

@media (max-width: 360px) {
  .header__appointment { width: 110px; flex-basis: 110px; padding-inline: 8px; }
}
@media (max-width: 620px) {
  .hero__inner { display: flex; flex-direction: column; gap: 20px; }
  .hero__content { display: contents; }
  .hero__eyebrow { order: 0; margin: 0; }
  .hero h1 { order: 1; margin: 0; font-size: clamp(16px, 5.5vw, 28px) !important; line-height: 1.2; }
  .hero h1 > span { display: block; white-space: nowrap; }
  .hero .doctor-card-wrap { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
  .hero .doctor-card { grid-column: 1 / -1; }
  .hero .doctor-card__info, .hero .doctor-card__award { position: static; width: auto; min-width: 0; margin: 0; padding: 12px; }
  .hero .doctor-card__info strong { font-size: 13px; }
  .hero .doctor-card__info span { font-size: 11px; }
  .hero .doctor-card__award { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
  .hero .doctor-card__award p { margin: 0; font-size: 11px; }
  .hero .doctor-card__award p strong { font-size: 12px; }
  .hero__lead { order: 3; margin: 0; }
  .hero__buttons { order: 4; width: 100%; max-width: none; align-self: stretch; display: flex; flex-direction: column; align-items: stretch; }
  .hero__buttons .hero__button { width: 100%; max-width: none; flex: none; box-sizing: border-box; }
  .hero__disclaimer { order: 5; margin: 0; }
  .hero .patients-card { order: 6; }
}
@media (max-width: 620px) {
  .header, .header__inner { height: 78px; }
  .header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; grid-template-rows: 78px; column-gap: 15px; row-gap: 0; align-content: start; }
  .header__actions { display: contents; }
  .header__logo { grid-column: 1; grid-row: 1; width: 100%; max-width: 100px; min-width: 0; }
  .header__logo img { width: 100%; height: auto; }
  .header__mobile-contacts { display: flex; gap: 15px; grid-column: 2; grid-row: 1; }
  .header__mobile-contacts a[href^="tel:"] { order: 1; }
  .header__mobile-contacts img { width: 44px; height: 44px; object-fit: contain; }
  .header__mobile-contacts img[alt="Telegram"] { width: 39.6px; height: 39.6px; }
  .header__mobile-contacts a[href^="tel:"]::before { content: ""; position: absolute; width: 44px; height: 44px; border: 1.5px solid currentColor; border-radius: 50%; }
  .header__mobile-contacts a[href^="tel:"] { position: relative; }
  .header__mobile-contacts a[href^="tel:"] svg { width: 44px; height: 44px; padding: 10px; }
  .header__mobile-contacts a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--button-blue); }
  .header__mobile-contacts svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .header__toggle { grid-column: 3; grid-row: 1; }
  .header__appointment { display: none; }
  .header__nav .header__menu-appointment { display: flex; justify-content: center; margin-top: 12px; border: 0; border-radius: 999px; background: var(--button-blue); color: #fff; }
  .header__nav { top: 78px; }
  main [id], #send-ct { scroll-margin-top: 94px; }
}

.booking-open { overflow: hidden; }
.booking-dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 42px 28px 28px; border: 0; border-radius: 24px; background: #edf5f8; color: #273650; overflow-y: auto; }
.booking-dialog::backdrop { background: rgba(15, 30, 49, .65); }
.booking-close { position: absolute; top: 8px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: white; color: #273650; font-size: 28px; cursor: pointer; }
.booking-dialog .appointment-copy h2 { font-size: clamp(24px, 4vw, 32px) !important; line-height: 1.2; overflow-wrap: anywhere; }
.booking-dialog .appointment-copy > .appointment-photo { height: 220px; max-width: 320px; }
.booking-heading { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 24px; }
.booking-heading .appointment-photo { width: 100%; height: 220px; margin: 0; }
.booking-dialog .booking-heading h2 { margin: 0; }
.booking-heading .appointment-photo figcaption { left: 12px; right: 12px; bottom: 12px; }
.booking-heading .appointment-photo figcaption strong { font-size: 14px; }
.booking-heading .appointment-photo figcaption span { font-size: 11px; }
@media (max-width: 520px) {
  .booking-heading { grid-template-columns: minmax(80px, 30%) minmax(0, 1fr); gap: 12px; }
  .booking-heading .appointment-photo { height: 155px; }
  .booking-dialog .booking-heading h2 { font-size: clamp(12px, 3.2vw, 17px) !important; overflow-wrap: normal; }
  .booking-dialog .appointment-form input[type="tel"] { font-size: 16px; }
  .booking-heading .appointment-photo figcaption { left: 7px; right: 7px; bottom: 7px; }
  .booking-heading .appointment-photo figcaption strong { font-size: 11px; }
  .booking-heading .appointment-photo figcaption span { display: none; }
}
.booking-dialog { font-family: "Manrope", Arial, sans-serif; color: #fff; border-radius: var(--card-radius); background: #202b3c radial-gradient(rgba(154,178,202,.13) 1px, transparent 1px); background-size: 16px 16px; }
.booking-close { color: #fff; background: #344256; }
.booking-close:hover { background: #45566f; }
.booking-schedule { margin-top: 22px; }
.booking-schedule fieldset { padding: 0; margin: 0 0 20px; border: 0; min-width: 0; }
.booking-schedule legend { margin-bottom: 10px; color: var(--header-text); font-size: 13px; font-weight: 800; }
.booking-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.booking-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.appointment-form .booking-option { position: relative; display: block; cursor: pointer; }
.booking-option input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; padding: 0; }
.booking-option > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 80px; padding: 10px 3px; border: 1px solid var(--card-border-color); border-radius: 10px; background: #fff; color: var(--secondary-text); text-align: center; transition: background .15s, border-color .15s; }
.booking-days .booking-option > span > span:nth-child(2) { font-size: 22px; line-height: 1.1; font-weight: 800; color: var(--header-text); }
.booking-times .booking-option > span { min-height: 44px; font-size: 12px; }
.booking-option:hover > span { border-color: var(--button-blue); background: #f0f7fc; }
.booking-option input:checked + span { background: var(--button-blue); border-color: var(--button-blue); color: #fff; }
.booking-days .booking-option input:checked + span > span:nth-child(2) { color: #fff; }
.booking-option input:focus-visible + span { outline: 3px solid #64b6c7; outline-offset: 3px; }
@media (max-width: 520px) { .booking-days { grid-template-columns: repeat(4, minmax(0, 1fr)); } .booking-times { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.booking-hint { color: #53637a; font-size: 12px; line-height: 1.5; }
@media (max-width: 520px) { .booking-dialog { padding: 46px 12px 16px; } }
/* Блок записи: единая последовательность заголовок → фото → форма. */
.appointment-section__inner {
  display: block;
  width: min(900px, calc(100% - 72px));
}
.appointment-copy { min-width: 0; }
.appointment-copy h2 { max-width: none; margin-bottom: 24px; }
.appointment-copy > .appointment-photo {
  width: min(100%, 420px);
  height: 330px;
  margin: 0 auto 24px;
}
.appointment-copy > .appointment-photo figcaption {
  right: 18px;
  bottom: 18px;
  left: 18px;
}
.appointment-copy > p { max-width: none; }
@media (max-width: 820px) {
  .appointment-section__inner { width: calc(100% - 24px); }
  .appointment-copy > .appointment-photo { height: 360px; }
}
@media (max-width: 520px) {
  .appointment-copy > .appointment-photo { height: 300px; }
}
.doctor-story h2, .treatment-process__sticky h2 { min-width: 0; overflow-wrap: anywhere; }
.doctor-fact { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-content: start; }
.doctor-fact__icon { grid-column: 1; grid-row: 1 / 3; }
.doctor-fact h3 { grid-column: 2; grid-row: 1; margin: 0; align-self: start; min-width: 0; overflow-wrap: anywhere; }
.doctor-fact p { grid-column: 2; grid-row: 2; margin: 0; }
.process-step:not(.process-step--wide), .process-step--wide > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-content: start; }
.process-step:not(.process-step--wide) > img { grid-column: 1 / -1; grid-row: 1; margin-bottom: 8px; }
.process-step:not(.process-step--wide) > span { grid-column: 1; grid-row: 2 / 4; margin-top: 0; }
.process-step:not(.process-step--wide) > h3 { grid-column: 2; grid-row: 2; margin: 0; }
.process-step:not(.process-step--wide) > p { grid-column: 2; grid-row: 3; margin: 0; }
.process-step--wide > div > span { grid-column: 1; grid-row: 1 / 3; margin-top: 0; }
.process-step--wide > div > h3 { grid-column: 2; grid-row: 1; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.process-step--wide > div > p { grid-column: 2; grid-row: 2; margin: 0; }
@media (max-width: 620px) { .doctor-fact, .process-step:not(.process-step--wide), .process-step--wide > div { column-gap: 10px; } }
/* The main appointment section shares one compact grid with the form. */
#appointment .appointment-form__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  #appointment { padding: 72px 0; }
  #appointment .appointment-section__inner { width: min(1240px, calc(100% - 64px)); }
  #appointment .appointment-copy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto minmax(260px, 1fr) auto; gap: 22px 40px; align-items: stretch; }
  #appointment .appointment-copy > h2 { grid-column: 1; grid-row: 1; margin: 0; font-size: clamp(28px, 2.5vw, 36px) !important; line-height: 1.16; }
  #appointment .appointment-copy > .appointment-photo { grid-column: 1; grid-row: 2; width: 100%; height: 100%; min-height: 260px; max-height: none; margin: 0; }
  #appointment .appointment-copy > p { grid-column: 1; grid-row: 3; margin: 0; font-size: 15px; line-height: 1.6; }
  #appointment .appointment-copy > .appointment-form { grid-column: 2; grid-row: 1 / 4; align-self: stretch; padding: 28px; }
  #appointment .booking-schedule { margin-top: 20px; }
  #appointment .appointment-form input[type="tel"] { height: 48px; font-size: 16px; }
  #appointment .appointment-form button[type="submit"] { min-height: 48px; }
}
.booking-dialog .appointment-form__grid { grid-template-columns: minmax(0, 1fr); }
.booking-dialog .appointment-form, .booking-heading > *, .booking-schedule fieldset { min-width: 0; }
.booking-dialog .appointment-form input[type="tel"] { font-size: 16px; }
.booking-dialog .appointment-form button[type="submit"] { min-height: 48px; height: auto; padding: 12px 16px; }
.booking-dialog .appointment-copy > p { margin: 0 0 20px; }
.booking-dialog { overscroll-behavior: contain; scrollbar-gutter: stable; }
@media (max-width: 620px) {
  .booking-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 48px 12px 16px; }
  .booking-dialog .appointment-form { padding: 20px 14px; }
  .booking-dialog .booking-heading { margin-bottom: 18px; }
  .booking-dialog--ct .booking-heading h2 { font-size: clamp(16px, 4.8vw, 18px) !important; line-height: 1.25; }
  .booking-dialog .appointment-upload { padding: 12px 10px; }
  .booking-dialog .appointment-upload strong, .booking-dialog .appointment-upload em { min-width: 0; overflow-wrap: anywhere; }
  #appointment .appointment-form input[type="tel"] { font-size: 16px; }
}
