:root {
  --brand: #007d8a;
  --brand-strong: #00616d;
  --brand-blue: #0b77d8;
  --ink: #13212a;
  --muted: #586b75;
  --soft: #eef8f8;
  --soft-blue: #eef6ff;
  --line: #d5e5e8;
  --white: #ffffff;
  --danger: #b5233f;
  --success: #087a4f;
  --shadow: 0 22px 60px rgba(14, 74, 86, 0.14);
  --shadow-soft: 0 14px 34px rgba(14, 74, 86, 0.1);
  --radius: 8px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-mobile-cta-visible {
  padding-bottom: 0;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 12px 16px;
  color: var(--white);
  background: var(--brand-strong);
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(213, 229, 232, 0.78);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(16, 40, 48, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  color: #263840;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.a11y-toggle,
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.a11y-toggle {
  gap: 8px;
  padding: 0 14px;
  font-size: 13px;
}

.a11y-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-phone {
  flex-direction: column;
  align-items: flex-end;
  min-width: 176px;
  padding: 8px 14px;
  color: var(--white);
  background:
    linear-gradient(135deg, #008d9d 0%, #0b77d8 100%);
  border-color: transparent;
  box-shadow:
    0 14px 30px rgba(0, 125, 138, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.34) inset;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-phone.button-glint::after {
  width: 1.45rem;
  opacity: 0.82;
  animation-duration: 2.65s;
}

.header-phone:hover,
.header-phone:focus-visible,
.header-phone.is-revealed {
  background:
    linear-gradient(135deg, #00616d 0%, #0b77d8 56%, #d92847 118%);
  box-shadow:
    0 18px 38px rgba(11, 119, 216, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.42) inset;
  transform: translateY(-1px);
}

.header-phone-caption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.1;
}

.header-phone-number {
  color: var(--white);
  font-size: 16px;
  line-height: 1.2;
  text-shadow: 0 1px 1px rgba(0, 56, 66, 0.24);
}

.a11y-toggle:focus-visible,
.header-phone:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(11, 119, 216, 0.34);
  outline-offset: 3px;
}

.a11y-panel {
  position: fixed;
  top: 86px;
  right: 24px;
  z-index: 120;
  display: none;
  width: min(520px, calc(100vw - 32px));
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body.a11y-mode .a11y-panel {
  display: block;
}

.a11y-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.a11y-controls button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: end;
  gap: 28px;
  min-height: 760px;
  padding: 148px 72px 82px;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-fade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 30%, rgba(255, 255, 255, 0.24) 66%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 38%);
}

.hero-content,
.hero-doctor {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 76px;
  line-height: 0.98;
  font-weight: 900;
  color: var(--ink);
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 9px 14px;
  color: var(--white);
  background: linear-gradient(135deg, #d92847, #0b77d8);
  border-radius: var(--radius);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 16px 32px rgba(217, 40, 71, 0.2);
}

.hero-price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
  margin-top: 8px;
}

.old-price {
  position: relative;
  display: inline-block;
  color: #697a82;
  font-weight: 900;
}

.old-price::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  top: 52%;
  height: 0.12em;
  background: #d92847;
  transform: rotate(-7deg);
}

.new-price {
  color: #d92847;
  font-weight: 950;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 30px;
  color: #2f444d;
  font-size: 23px;
  line-height: 1.36;
  font-weight: 700;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-blue));
  box-shadow: 0 16px 36px rgba(0, 125, 138, 0.24);
}

.button-secondary {
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.92);
  border-color: #bcd7dc;
}

.button-light {
  color: var(--brand-strong);
  background: var(--white);
}

.button-glint {
  position: relative;
  overflow: hidden;
}

.button-glint::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -100%;
  z-index: 1;
  width: 1rem;
  height: 100%;
  background: #fff;
  opacity: 0.9;
  pointer-events: none;
  transform: rotate(45deg) scale(2);
  animation: button-glint-sweep 3s linear 0s infinite normal;
}

.button-glint > * {
  position: relative;
  z-index: 2;
}

@keyframes button-glint-sweep {
  0% {
    left: -100%;
  }

  20%,
  100% {
    left: 120%;
    margin-left: 5rem;
  }
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 670px;
  margin: 40px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(151, 195, 201, 0.74);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(18, 78, 89, 0.12);
  overflow: hidden;
}

.hero-proof div {
  padding: 18px 20px;
  border-right: 1px solid rgba(151, 195, 201, 0.68);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof dt {
  color: var(--brand-strong);
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
}

.hero-proof .price-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.hero-proof .price-proof span:last-child {
  color: #d92847;
  font-size: 29px;
}

.hero-proof dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-doctor {
  align-self: end;
  display: grid;
  gap: 16px;
  max-width: 390px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(213, 229, 232, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.offer-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  color: var(--brand-strong);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-doctor h2 {
  margin-bottom: 8px;
  font-size: 25px;
  line-height: 1.1;
}

.hero-doctor p {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 92px 72px;
}

section[id] {
  scroll-margin-top: 92px;
}

.section-white {
  background: var(--white);
}

.section-tint {
  background: linear-gradient(180deg, #f2fbfb, #eef6ff);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2,
.doctor-copy h2,
.focus-copy h2,
.booking-copy h2,
.final-cta h2 {
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 900;
}

.section-heading p,
.doctor-copy p,
.focus-copy p,
.booking-copy p,
.final-cta p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 650;
}

.doctor-heading {
  max-width: 840px;
  margin-bottom: 0;
}

.section-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--brand-strong);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.doctor-slider-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.doctor-slider-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.doctor-carousel-shell {
  position: relative;
  display: block;
}

.doctor-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(520px, calc((100% - 24px) / 2));
  gap: 24px;
  padding: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 4px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.doctor-carousel::-webkit-scrollbar {
  display: none;
}

.doctor-carousel:focus-visible {
  outline: 3px solid rgba(11, 119, 216, 0.34);
  outline-offset: 5px;
}

.doctor-card {
  display: grid;
  grid-template-rows: auto minmax(250px, 1fr);
  min-height: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.doctor-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.88), rgba(238, 248, 248, 0.52) 36%, rgba(220, 237, 242, 0.72) 100%);
  overflow: hidden;
}

.doctor-media img,
.doctor-video,
.doctor-photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 180ms ease, transform 320ms ease;
}

.doctor-media img {
  z-index: 1;
  padding: 0;
}

.doctor-video {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.doctor-card:hover,
.doctor-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 72, 84, 0.14);
}

.doctor-card:hover .doctor-media img,
.doctor-card:focus-within .doctor-media img,
.doctor-card.is-video-playing .doctor-media img {
  transform: scale(1.025);
}

.doctor-card:hover .doctor-video,
.doctor-card:focus-within .doctor-video,
.doctor-card.is-video-playing .doctor-video {
  opacity: 1;
}

.doctor-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--brand-strong);
  font-size: 68px;
  font-weight: 950;
}

.doctor-card-copy {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: 22px;
}

.doctor-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 900;
}

.doctor-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
  font-weight: 700;
}

.carousel-arrow {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--brand-strong);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  color: var(--white);
  background: var(--brand);
}

.doctor-portrait figcaption,
.consultation-visual figcaption,
.media-grid figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.check-list,
.focus-list,
.booking-benefits {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li,
.focus-list li,
.booking-benefits li {
  position: relative;
  padding-left: 34px;
  color: #2f444d;
  font-size: 17px;
  font-weight: 750;
}

.check-list li::before,
.focus-list li::before,
.booking-benefits li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.78);
}

.condition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.condition,
.step,
.branch,
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(15, 72, 84, 0.08);
}

.condition {
  min-height: 255px;
  padding: 24px;
}

.condition-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--brand);
  background: var(--soft);
  border-radius: var(--radius);
}

.condition-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.condition h3,
.step h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.condition p,
.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.consultation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px 48px;
  align-items: stretch;
}

.consultation-heading {
  grid-column: 1 / 2;
  margin-bottom: 0;
}

.consultation-visual {
  grid-row: 1 / span 2;
  grid-column: 2 / 3;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
}

.consultation-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 24px;
}

.step span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 950;
}

.focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.focus-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.media-grid figure {
  margin: 0;
}

.media-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.branch-section {
  padding-top: 76px;
}

.branch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.branch {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
  align-items: center;
}

.branch-map {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
}

.branch-map img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.branch-map:hover img,
.branch-map:focus-visible img {
  transform: scale(1.03);
}

.branch-map span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(0, 97, 109, 0.92);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
}

.branch-copy h3 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.15;
}

.branch-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.branch-actions a,
.contact-phone,
.bitrix-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  color: var(--brand-strong);
  background: var(--soft);
  border: 1px solid #b9d7dc;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}

.booking-section {
  background:
    linear-gradient(135deg, rgba(0, 125, 138, 0.94), rgba(11, 119, 216, 0.92)),
    var(--brand);
  color: var(--white);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 54px;
  align-items: start;
}

.booking-copy h2,
.booking-copy p,
.booking-benefits li {
  color: var(--white);
}

.booking-copy p {
  opacity: 0.9;
}

.contact-phone {
  gap: 12px;
  width: fit-content;
  margin: 10px 0 8px;
  color: var(--brand-strong);
  background: var(--white);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-benefits li::before {
  background: var(--white);
  box-shadow: inset 0 0 0 5px rgba(0, 125, 138, 0.8);
}

.bitrix-form-shell {
  display: grid;
  gap: 18px;
  padding: 32px;
  min-height: 430px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 43, 52, 0.24);
  overflow: hidden;
}

.booking-form-intro span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.booking-form-intro h3 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.1;
}

.booking-form-intro p,
.booking-native-note,
.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.booking-native-form {
  display: grid;
  gap: 18px;
}

.booking-native-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-native-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.booking-native-field--wide {
  grid-column: 1 / -1;
}

.booking-native-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #f7fbfb;
  border: 1px solid #cfdcde;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 650;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.booking-native-field input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(11, 119, 216, 0.13);
}

.booking-native-consent {
  display: grid;
  grid-template-columns: 22px 10px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.booking-native-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--brand);
}

.booking-native-consent a,
.form-privacy a {
  color: var(--brand-blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.booking-native-required {
  display: inline-block;
  margin-top: 1px;
  color: var(--danger);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.booking-native-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 58px;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-blue));
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 15px 34px rgba(0, 125, 138, 0.24);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.booking-native-submit:hover,
.booking-native-submit:focus-visible {
  transform: translateY(-2px);
}

.booking-native-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.booking-native-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.booking-native-status.is-success {
  color: var(--success);
}

.booking-native-status.is-error {
  color: var(--danger);
}

.booking-native-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bitrix-form-shell .b24-form {
  display: none !important;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.final-cta {
  padding: 78px 72px;
  background: var(--soft);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.final-cta p {
  margin-bottom: 0;
}

.site-footer {
  color: #2f444d;
  background: #f7fbfb;
  border-top: 1px solid var(--line);
}

.footer-main,
.footer-bottom {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-main {
  grid-template-columns: minmax(250px, 1.2fr) repeat(3, minmax(160px, 1fr));
  gap: 32px;
  padding: 52px 0 28px;
}

.footer-brand img {
  width: 210px;
  height: auto;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-legal p,
.footer-addresses p {
  margin: 0;
  color: var(--muted);
}

.footer-phone {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand-strong);
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-column strong,
.footer-socials strong {
  color: var(--ink);
  font-size: 14px;
}

.footer-column a,
.footer-legal a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.footer-column a:hover,
.footer-legal a:hover {
  color: var(--brand);
}

.footer-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
}

.footer-legal p {
  flex-basis: 100%;
}

.footer-socials {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-socials > div {
  display: flex;
  gap: 10px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--brand);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.social-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.social-link .stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link text {
  fill: currentColor;
  font-size: 7px;
  font-weight: 900;
}

.medical-warning-band {
  padding: 14px 24px;
  color: #51656f;
  background: #eef4f5;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 99;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transform: translateY(140%);
  transition: transform 180ms ease;
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: var(--white);
  background: var(--brand);
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
}

.mobile-cta a:first-child {
  color: var(--brand-strong);
  background: var(--soft);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(980px, calc(100% - 40px));
  padding: 18px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(213, 229, 232, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 18px 56px rgba(0, 43, 52, 0.16);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  color: #2f444d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.cookie-accept {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 24px;
  color: var(--white);
  background: #008d9d;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 125, 138, 0.24);
  cursor: pointer;
  font-weight: 900;
}

.b24-widget-button-popup {
  display: none !important;
}

.legal-page {
  background: #f7fbfb;
}

.legal-document {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 86px;
}

.legal-document h1 {
  margin-bottom: 28px;
  font-size: 46px;
  line-height: 1.08;
}

.legal-document h2 {
  margin: 32px 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-document p {
  color: #2f444d;
  font-size: 17px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.is-mobile-cta-visible .mobile-cta {
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 460ms ease, transform 460ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.a11y-mode {
  font-size: 18px;
}

body.a11y-mode[data-a11y-font-size="large"] {
  font-size: 20px;
}

body.a11y-contrast {
  color: #000;
  background: #fff;
}

body.a11y-contrast .section-tint,
body.a11y-contrast .final-cta,
body.a11y-contrast .site-footer,
body.a11y-contrast .booking-section {
  color: #000;
  background: #fff;
}

body.a11y-contrast .button-primary,
body.a11y-contrast .booking-native-submit,
body.a11y-contrast .mobile-cta a,
body.a11y-contrast .contact-icon {
  color: #fff;
  background: #000;
  box-shadow: none;
}

body.a11y-contrast .condition,
body.a11y-contrast .step,
body.a11y-contrast .branch,
body.a11y-contrast .bitrix-form-shell,
body.a11y-contrast .faq-list details,
body.a11y-contrast .hero-doctor,
body.a11y-contrast .cookie-banner {
  border-color: #000;
  box-shadow: none;
}

body.a11y-contrast p,
body.a11y-contrast .muted,
body.a11y-contrast .footer-column a,
body.a11y-contrast .footer-legal p,
body.a11y-contrast .footer-legal a,
body.a11y-contrast .booking-copy p,
body.a11y-contrast .booking-benefits li {
  color: #000;
}

body.a11y-no-images img,
body.a11y-no-images .hero-media {
  visibility: hidden;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .button-glint::after {
    display: none;
  }

  .doctor-card,
  .doctor-media img,
  .doctor-video {
    transition: none;
  }
}

@media (hover: none) {
  .doctor-card:hover {
    transform: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    padding: 0 28px;
  }

  .a11y-toggle {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 42px;
  }

  .hero-doctor {
    max-width: 620px;
  }

  .condition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consultation-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .consultation-visual {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 920px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    width: 176px;
  }

  .nav-links {
    display: none;
  }

  .header-phone {
    min-width: 152px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .section {
    padding: 70px 28px;
  }

  .focus-layout,
  .faq-layout,
  .final-cta-inner,
  .branch,
  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .focus-layout,
  .faq-layout {
    gap: 34px;
  }

  .doctor-carousel {
    grid-auto-columns: 86vw;
  }

  .doctor-slider-header {
    align-items: start;
    flex-direction: column;
  }

  .doctor-slider-controls {
    align-self: stretch;
    justify-content: flex-end;
  }

  .consultation-visual img {
    min-height: 420px;
  }

  .focus-list,
  .media-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .final-actions {
    justify-content: flex-start;
  }

  .mobile-cta {
    display: grid;
  }

  .cookie-banner {
    bottom: 90px;
  }

  .b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
    right: 16px !important;
    bottom: 94px !important;
  }

  body:not(.is-mobile-cta-visible) .b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
    display: none !important;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 0 14px;
  }

  .brand {
    width: 142px;
  }

  .header-phone {
    min-width: auto;
    width: 168px;
    min-height: 42px;
    padding: 6px 10px;
    align-items: center;
  }

  .header-phone-caption {
    display: none;
  }

  .header-phone-number {
    font-size: 14px;
    line-height: 1;
  }

  .hero {
    min-height: 790px;
    padding: 108px 20px 70px;
  }

  .hero-fade {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 56%, rgba(255, 255, 255, 0.78) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 54%);
  }

  .hero-media img {
    object-position: 68% center;
  }

  h1 {
    font-size: 42px;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .hero-price-line {
    gap: 9px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .hero-doctor {
    gap: 12px;
    padding: 14px;
  }

  .hero-doctor h2 {
    font-size: 19px;
  }

  .hero-doctor p {
    font-size: 13px;
  }

  .section {
    padding: 58px 20px;
  }

  .section-heading h2,
  .doctor-copy h2,
  .focus-copy h2,
  .booking-copy h2,
  .final-cta h2 {
    font-size: 32px;
  }

  .section-heading p,
  .doctor-copy p,
  .focus-copy p,
  .booking-copy p,
  .final-cta p {
    font-size: 17px;
  }

  .doctor-carousel {
    grid-auto-columns: 88vw;
    gap: 14px;
  }

  .doctor-card-copy {
    min-height: 280px;
    padding: 18px;
  }

  .doctor-card h3 {
    font-size: 21px;
  }

  .doctor-card p {
    font-size: 15px;
  }

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

  .condition {
    min-height: auto;
  }

  .branch {
    padding: 14px;
  }

  .branch-map img {
    min-height: 210px;
  }

  .branch-copy h3 {
    font-size: 24px;
  }

  .booking-section {
    padding-bottom: 86px;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 32px);
    padding: 14px;
  }

  .bitrix-form-shell {
    padding: 22px;
  }

  .booking-native-grid {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-bottom {
    width: min(100% - 40px, 1180px);
  }

  .footer-legal {
    display: grid;
  }
}
