:root {
  --bg-top: #fff2e8;
  --bg-bottom: #edf4ff;
  --header-glass: rgba(255, 253, 250, 0.84);
  --header-stroke: rgba(214, 192, 176, 0.82);
  --title-color: #243d6b;
  --subtitle-color: #425a86;
  --menu-color: #2f4d81;
  --hero-offset: 118px;
  --scroll-offset: 118px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", sans-serif;
  background: transparent;
  position: relative;
  z-index: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(255, 242, 232, 0.86), rgba(237, 244, 255, 0.9)),
    url("img/hero1.webp") center center / cover no-repeat;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ef8f7d rgba(213, 232, 255, 0.78);
}

::-webkit-scrollbar {
  width: 13px;
  height: 13px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(237, 244, 255, 0.96), rgba(255, 242, 232, 0.96));
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 3px solid rgba(255, 250, 246, 0.94);
  background: linear-gradient(180deg, #ef8f7d, #dd6e68);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff9f8a, #f07a74);
}

::-webkit-scrollbar-corner {
  background: rgba(237, 244, 255, 0.96);
}

[id] {
  scroll-margin-top: var(--scroll-offset);
}

.site-header {
  padding: 14px 8px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--header-glass);
  border-bottom: 1px solid var(--header-stroke);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 10px 28px rgba(104, 105, 133, 0.2);
  animation: header-enter 0.6s ease;
  transition: transform 0.3s ease;
  will-change: transform;
}

.site-header.site-header--hidden {
  transform: translateY(calc(-100% - 8px));
}

.header-wrap {
  width: min(1760px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand__logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    brightness(0)
    saturate(100%)
    invert(25%)
    sepia(26%)
    saturate(882%)
    hue-rotate(189deg)
    brightness(91%)
    contrast(88%)
    drop-shadow(0 6px 12px rgba(47, 68, 111, 0.24));
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand__title {
  margin: 0;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--title-color);
  white-space: nowrap;
}

.brand__subtitle {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(0.82rem, 1.1vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtitle-color);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(200, 211, 199, 0.8);
  background: rgba(255, 255, 252, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--menu-color);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.main-nav__link {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(132, 160, 205, 0.48);
  background: rgba(255, 255, 255, 0.9);
  color: #2f4e82;
  text-decoration: none;
  font-family: "Comfortaa", cursive;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.main-nav__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, #ef8f7d, #dd6e68);
  transform: scaleY(0);
  transform-origin: bottom;
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
  z-index: -1;
}

.main-nav__link:hover {
  transform: translateY(-2px);
  border-color: rgba(221, 110, 104, 0.92);
  color: #fffaf6;
}

.main-nav__link:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.main-nav__link:focus-visible {
  outline: 2px solid rgba(221, 110, 104, 0.45);
  outline-offset: 2px;
  border-color: rgba(221, 110, 104, 0.92);
  color: #fffaf6;
}

.main-nav__link:focus-visible::before {
  transform: scaleY(1);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header-phone {
  color: #2d4875;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.header-address {
  color: #526790;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta {
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #f8fdfa;
  background: linear-gradient(130deg, #ef8f7d, #dd6e68);
  font-family: "Comfortaa", cursive;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(191, 93, 86, 0.34);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(191, 93, 86, 0.4);
}

.header-cta,
.hero-btn,
.clinic-action-btn,
.benefits-spotlight-btn,
.doctor-cta,
.reviews-cta {
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.hero {
  height: 100dvh;
  padding: clamp(16px, 2.2vw, 28px) 8px;
  display: flex;
  align-items: center;
  background-image: url("img/hero1.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-wrap {
  width: min(1760px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-panel {
  width: min(820px, 62%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating-badges {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rating-badge {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #2f4e82;
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid rgba(151, 182, 227, 0.62);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 255, 0.92));
  box-shadow: 0 8px 18px rgba(96, 116, 161, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rating-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(96, 116, 161, 0.2);
}

.rating-badge__icon {
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(170, 197, 235, 0.6);
  object-fit: contain;
  flex-shrink: 0;
}

.rating-badge__meta {
  min-width: 0;
}

.rating-badge__score-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-badge__score {
  font-family: "Comfortaa", cursive;
  font-size: 1.08rem;
  font-weight: 700;
  color: #234578;
}

.rating-badge__stars {
  color: #ffb43f;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.rating-badge__text {
  margin-top: 1px;
  color: #4d6898;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-content {
  width: 100%;
  padding: clamp(18px, 2.4vw, 34px);
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 255, 0.9));
  border: 2px solid rgba(154, 184, 229, 0.62);
  box-shadow:
    0 20px 44px rgba(95, 114, 151, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-content::before,
.hero-content::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-content::before {
  width: 170px;
  height: 170px;
  right: -62px;
  top: -62px;
  background: radial-gradient(circle, rgba(255, 185, 141, 0.34) 0%, rgba(255, 185, 141, 0.04) 72%);
}

.hero-content::after {
  width: 190px;
  height: 190px;
  left: -70px;
  bottom: -74px;
  background: radial-gradient(circle, rgba(169, 206, 255, 0.34) 0%, rgba(169, 206, 255, 0.04) 74%);
}

.hero-eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  position: relative;
  z-index: 1;
  padding: 9px 15px;
  border-radius: 999px;
  background: linear-gradient(130deg, rgba(255, 223, 195, 0.78), rgba(214, 233, 255, 0.78));
  border: 1px solid rgba(150, 181, 228, 0.62);
  color: #3a5589;
  font-family: "Comfortaa", cursive;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.hero-title {
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--title-color);
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.55rem, 3vw, 2.9rem);
  line-height: 1.1;
  max-width: none;
}

.hero-lead {
  margin: 16px 0 0;
  position: relative;
  z-index: 1;
  color: #365281;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.58;
  max-width: none;
}

.hero-actions {
  margin-top: 24px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-family: "Comfortaa", cursive;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-btn--primary {
  color: #f8fdfa;
  background: linear-gradient(130deg, #ff9f8a, #f07a74);
  box-shadow: 0 10px 22px rgba(203, 103, 95, 0.34);
}

.hero-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(203, 103, 95, 0.4);
}

.hero-btn--ghost {
  color: #33568b;
  background: rgba(249, 253, 255, 0.95);
  border: 1px solid rgba(151, 182, 227, 0.62);
}

.hero-btn--ghost:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.hero-chips {
  margin: 20px 0 0;
  position: relative;
  z-index: 1;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-chip {
  padding: 9px 12px;
  border-radius: 14px;
  color: #365583;
  background: rgba(223, 239, 255, 0.78);
  border: 1px solid rgba(153, 186, 232, 0.58);
  font-weight: 700;
  font-size: 0.88rem;
}

.hero-chip:nth-child(2n) {
  background: rgba(255, 228, 207, 0.78);
  border-color: rgba(240, 177, 141, 0.58);
  color: #7a4d46;
}

.clinic-section {
  padding: clamp(34px, 5vw, 72px) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(900px 220px at 50% 0%, rgba(212, 230, 255, 0.35) 0%, transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 40%);
}

.clinic-slider-head {
  width: min(1760px, calc(100% - 16px));
  margin: 0 auto clamp(14px, 2vw, 20px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.clinic-section-label {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 239, 255, 0.84);
  border: 1px solid rgba(153, 186, 232, 0.56);
  color: #355687;
  font-family: "Comfortaa", cursive;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.clinic-slider-title {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #233e6e;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.18rem, 2.05vw, 2.05rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.clinic-slider-title::after {
  content: "";
  width: clamp(120px, 18vw, 220px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 143, 125, 0.92), rgba(132, 160, 205, 0.92));
}

.clinic-slider {
  margin-bottom: clamp(18px, 3vw, 30px);
}

.clinic-slider__viewport {
  width: 100%;
  overflow: hidden;
  padding: 2px 0;
}

.clinic-slider__track {
  display: flex;
  width: max-content;
  animation: clinic-marquee 46s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
}

.clinic-slider__group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.clinic-slide {
  margin: 0;
  flex: 0 0 clamp(280px, 25vw, 420px);
  height: clamp(180px, 20vw, 300px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(151, 182, 227, 0.52);
  box-shadow: 0 8px 14px rgba(96, 116, 161, 0.12);
}

.clinic-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04) saturate(1.02);
}

.clinic-wrap {
  width: min(1760px, calc(100% - 16px));
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}

.clinic-head {
  width: 100%;
  text-align: left;
  padding: clamp(18px, 2.2vw, 30px);
  border-radius: 24px;
  border: 1px solid rgba(121, 157, 211, 0.72);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(231, 243, 255, 0.95));
  box-shadow: 0 16px 38px rgba(66, 89, 138, 0.24);
}

.clinic-head__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
  gap: clamp(16px, 2.2vw, 30px);
  align-items: start;
}

.clinic-copy {
  min-width: 0;
}

.clinic-title {
  margin: 0;
  color: #1f3a6d;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.14;
  max-width: none;
}

.clinic-lead {
  margin: 14px 0 0;
  max-width: none;
  color: #2e4f87;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.62;
}

.clinic-facts {
  display: grid;
  gap: 12px;
  align-content: start;
}

.clinic-fact {
  padding: 14px 14px 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(130, 167, 223, 0.66);
  border-left: 4px solid rgba(226, 118, 108, 0.86);
  background: linear-gradient(135deg, rgba(232, 245, 255, 0.94), rgba(255, 240, 228, 0.9));
  box-shadow: 0 10px 20px rgba(81, 104, 149, 0.14);
}

.clinic-fact__title {
  margin: 0;
  color: #244476;
  font-family: "Comfortaa", cursive;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
}

.clinic-fact__desc {
  margin: 6px 0 0;
  color: #3c5f95;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.32;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.58s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.58s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

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

.reveal--delay-1 {
  transition-delay: 0.09s;
}

.reveal--delay-2 {
  transition-delay: 0.17s;
}

.reveal--delay-4 {
  transition-delay: 0.72s;
}

.clinic-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

.clinic-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  color: #fffaf6;
  font-family: "Comfortaa", cursive;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(130deg, #ef8f7d, #dd6e68);
  box-shadow: 0 10px 18px rgba(191, 93, 86, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clinic-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(191, 93, 86, 0.34);
}

.benefits-section {
  padding: clamp(38px, 5vw, 76px) 8px clamp(58px, 8vw, 108px);
  background:
    radial-gradient(740px 220px at 8% 0%, rgba(255, 210, 187, 0.36) 0%, transparent 68%),
    radial-gradient(740px 230px at 92% 8%, rgba(203, 225, 255, 0.34) 0%, transparent 66%);
}

.benefits-wrap {
  width: min(1760px, 100%);
  margin: 0 auto;
}

.benefits-head {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.benefits-label {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 239, 255, 0.88);
  border: 1px solid rgba(153, 186, 232, 0.58);
  color: #355687;
  font-family: "Comfortaa", cursive;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benefits-title {
  margin: 14px 0 0;
  color: #1f3c6f;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.32rem, 2.2vw, 2.28rem);
  line-height: 1.15;
}

.benefits-lead {
  margin: 12px 0 0;
  color: #335483;
  font-size: clamp(1rem, 1.16vw, 1.14rem);
  line-height: 1.6;
  max-width: 74ch;
  margin-inline: auto;
}

.benefits-spotlight {
  width: 100%;
  margin-inline: auto;
  padding: clamp(10px, 1.8vw, 16px);
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(12px, 2vw, 20px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(230, 243, 255, 0.9));
  border: 1px solid rgba(133, 168, 220, 0.68);
  box-shadow: 0 16px 30px rgba(81, 106, 149, 0.16);
  position: relative;
  z-index: 2;
}

.benefits-stage-wrap {
  margin-top: clamp(18px, 2.6vw, 30px);
  width: min(1760px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: clamp(260px, 24vw, 430px) minmax(0, 980px) clamp(260px, 24vw, 430px);
  align-items: end;
  gap: clamp(0px, 0.6vw, 8px);
  justify-content: center;
}

.benefits-side-art {
  width: clamp(280px, 26vw, 460px);
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(78, 100, 142, 0.2));
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.benefits-side-art--left {
  justify-self: start;
  margin-left: clamp(-80px, -6vw, -40px);
  transform: translateY(24px);
}

.benefits-side-art--right {
  justify-self: end;
  margin-right: clamp(-80px, -6vw, -40px);
  transform: translateY(24px);
}

.benefits-media {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(130, 167, 223, 0.62);
  background: rgba(255, 255, 255, 0.8);
}

.benefits-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  background: #c2d9f7;
}

.benefits-spotlight-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
}

.benefits-spotlight-heading {
  margin: 0 0 10px;
  color: #23477d;
  font-family: "Comfortaa", cursive;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
}

.benefits-spotlight-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.benefits-spotlight-meta {
  margin: 0 0 10px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.benefits-spotlight-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(146, 181, 230, 0.64);
  background: rgba(236, 247, 255, 0.82);
  color: #456799;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.benefits-spotlight-point {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(141, 176, 228, 0.62);
  background: linear-gradient(140deg, rgba(236, 247, 255, 0.92), rgba(255, 241, 230, 0.88));
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}

.benefits-spotlight-point__num {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Comfortaa", cursive;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fffaf6;
  background: linear-gradient(130deg, #ef8f7d, #dd6e68);
  box-shadow: 0 6px 12px rgba(191, 93, 86, 0.24);
}

.benefits-spotlight-point__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.benefits-spotlight-point__title {
  color: #2f548d;
  font-family: "Comfortaa", cursive;
  font-size: 0.92rem;
  line-height: 1.2;
}

.benefits-spotlight-point__text {
  color: #456799;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.34;
}

.benefits-spotlight-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  color: #fffaf6;
  font-family: "Comfortaa", cursive;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(130deg, #ef8f7d, #dd6e68);
  box-shadow: 0 10px 18px rgba(191, 93, 86, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefits-spotlight-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(191, 93, 86, 0.34);
}

.doctors-section {
  padding: clamp(42px, 5.5vw, 86px) 8px clamp(66px, 9vw, 118px);
  background:
    radial-gradient(880px 280px at 50% 0%, rgba(205, 226, 255, 0.3) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 38%);
}

.doctors-wrap {
  width: min(1920px, 100%);
  margin: 0 auto;
}

.doctors-head {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}

.doctors-label {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 239, 255, 0.88);
  border: 1px solid rgba(153, 186, 232, 0.58);
  color: #355687;
  font-family: "Comfortaa", cursive;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctors-title {
  margin: 14px 0 0;
  color: #1f3c6f;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.36rem, 2.35vw, 2.34rem);
  line-height: 1.16;
}

.doctors-lead {
  margin: 12px auto 0;
  color: #365987;
  font-size: clamp(1.06rem, 1.24vw, 1.22rem);
  line-height: 1.6;
  max-width: 78ch;
}

.doctors-layout {
  margin: clamp(18px, 2.4vw, 28px) auto 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.doctors-switcher {
  margin: 0 auto;
  width: min(980px, 100%);
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(133, 168, 220, 0.62);
  background: rgba(241, 248, 255, 0.82);
  box-shadow: 0 10px 22px rgba(91, 109, 147, 0.12);
  display: block;
  position: static;
}

.doctor-nav-row {
  display: flex;
  gap: 8px;
}

.doctor-nav {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(142, 173, 220, 0.62);
  border-radius: 10px;
  background: rgba(249, 253, 255, 0.94);
  color: #305188;
  font-size: 1.12rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-nav:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(89, 107, 147, 0.16);
}

.doctor-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.doctor-tabs {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.doctor-tab {
  width: min(300px, 100%);
  flex: 1 1 240px;
  max-width: 300px;
  border: 1px solid rgba(142, 173, 220, 0.62);
  background: rgba(249, 253, 255, 0.94);
  color: #305188;
  border-radius: 14px;
  padding: 11px 13px;
  font-family: "Comfortaa", cursive;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.doctor-tab__name {
  display: block;
  line-height: 1.22;
}

.doctor-tab__spec {
  display: block;
  margin-top: 4px;
  font-family: "Nunito", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  opacity: 0.88;
  line-height: 1.2;
}

.doctor-tab.is-active {
  color: #fffaf6;
  border-color: rgba(221, 110, 104, 0.92);
  background: linear-gradient(130deg, #ef8f7d, #dd6e68);
  box-shadow: 0 8px 16px rgba(191, 93, 86, 0.24);
}

.doctors-panels {
  margin: 0;
  width: 100%;
  min-width: 0;
}

.doctor-card {
  padding: clamp(14px, 1.7vw, 24px);
  border-radius: 22px;
  border: 1px solid rgba(133, 168, 220, 0.68);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(230, 243, 255, 0.9));
  box-shadow: 0 12px 24px rgba(79, 100, 139, 0.16);
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(14px, 1.8vw, 26px);
  row-gap: 12px;
  grid-auto-rows: min-content;
  align-items: start;
}

.doctor-card[hidden] {
  display: none;
}

.doctor-main {
  display: contents;
}

.doctor-photo-wrap {
  margin: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(136, 171, 221, 0.68);
  background: rgba(255, 255, 255, 0.9);
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
}

.doctor-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  flex: 1 1 auto;
}

#doctor-korobkina .doctor-photo {
  object-position: center 24%;
}

.doctor-intro {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.doctor-name {
  margin: 0;
  color: #214378;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.44rem, 1.9vw, 2rem);
  line-height: 1.15;
}

.doctor-spec {
  margin: 9px 0 0;
  color: #365987;
  font-size: clamp(1rem, 1.1vw, 1.14rem);
  font-weight: 700;
  line-height: 1.4;
}

.doctor-badges {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doctor-badge {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(146, 181, 230, 0.64);
  background: rgba(236, 247, 255, 0.82);
  color: #456799;
  font-size: 0.85rem;
  font-weight: 700;
}

.doctor-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fffaf6;
  font-family: "Comfortaa", cursive;
  font-size: 0.96rem;
  font-weight: 700;
  background: linear-gradient(130deg, #ef8f7d, #dd6e68);
  box-shadow: 0 10px 18px rgba(191, 93, 86, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(191, 93, 86, 0.34);
}

.doctor-details {
  margin-top: 0;
  display: grid;
  gap: 10px;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

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

.doctor-details--compact .doctor-block:first-child {
  grid-column: auto;
}

.doctor-details--short {
  grid-template-columns: 1fr;
}

.doctor-details--short .doctor-block:first-child {
  grid-column: auto;
}

.doctor-block {
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid rgba(141, 176, 228, 0.62);
  background: linear-gradient(140deg, rgba(236, 247, 255, 0.92), rgba(255, 241, 230, 0.88));
}

.doctor-block__title {
  margin: 0;
  color: #25477c;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  font-weight: 700;
  line-height: 1.24;
}

.doctor-list,
.doctor-grid-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #365987;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.44;
}

.doctor-grid-list {
  columns: 1;
  column-gap: 0;
}

.doctor-list li,
.doctor-grid-list li {
  break-inside: avoid;
  margin-bottom: 7px;
}

.reviews-section {
  padding: clamp(26px, 3.2vw, 44px) 8px clamp(30px, 4.2vw, 54px);
  background:
    radial-gradient(920px 280px at 50% 0%, rgba(205, 226, 255, 0.24) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 38%);
}

.reviews-wrap {
  width: min(1660px, 100%);
  margin: 0 auto;
}

.reviews-head {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.reviews-label {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 239, 255, 0.88);
  border: 1px solid rgba(153, 186, 232, 0.58);
  color: #355687;
  font-family: "Comfortaa", cursive;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reviews-title {
  margin: 10px 0 0;
  color: #1f3c6f;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.34rem, 2.05vw, 2.04rem);
  line-height: 1.16;
}

.reviews-lead {
  margin: 9px auto 0;
  color: #365987;
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.54;
  max-width: 70ch;
}

.reviews-grid {
  margin-top: clamp(12px, 1.5vw, 18px);
  columns: 3;
  column-gap: clamp(10px, 1.2vw, 14px);
}

.review-card {
  padding: 13px 13px 12px;
  border-radius: 14px;
  border: 1px solid rgba(133, 168, 220, 0.66);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 255, 0.9));
  box-shadow: 0 8px 18px rgba(79, 100, 139, 0.1);
  display: block;
  break-inside: avoid;
  margin-bottom: clamp(10px, 1.2vw, 14px);
}

.review-card__head {
  display: block;
  margin-bottom: 8px;
}

.review-author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(157, 188, 230, 0.7);
  background: linear-gradient(140deg, #ffd7be, #d5e8ff);
  color: #244476;
  font-family: "Comfortaa", cursive;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.review-avatar--blue {
  background: linear-gradient(140deg, #d5e8ff, #edf4ff);
}

.review-avatar--green {
  background: linear-gradient(140deg, #edf4ff, #d5e8ff);
}

.review-avatar--mint {
  background: linear-gradient(140deg, #f8fdfa, #d5e8ff);
}

.review-avatar--sun {
  background: linear-gradient(140deg, #fff2e8, #ffd7be);
}

.review-author__meta {
  min-width: 0;
}

.review-author__name {
  margin: 0;
  color: #23477d;
  font-family: "Comfortaa", cursive;
  font-size: clamp(0.96rem, 1.08vw, 1.08rem);
  font-weight: 700;
  line-height: 1.25;
}

.review-author__rating {
  margin: 2px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #456799;
  font-size: 0.86rem;
  font-weight: 700;
}

.review-stars {
  color: #ffb43f;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
}

.review-text {
  margin: 0;
  color: #2f4d81;
  font-size: clamp(0.94rem, 1.02vw, 1.02rem);
  font-weight: 700;
  line-height: 1.48;
}

.review-link {
  color: #2f548d;
  text-underline-offset: 2px;
}

.review-link:hover {
  color: #dd6e68;
}

.reviews-actions {
  margin-top: clamp(14px, 1.8vw, 20px);
  display: flex;
  justify-content: center;
}

.reviews-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fffaf6;
  font-family: "Comfortaa", cursive;
  font-size: 0.92rem;
  font-weight: 700;
  background: linear-gradient(130deg, #ef8f7d, #dd6e68);
  box-shadow: 0 10px 18px rgba(191, 93, 86, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reviews-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(191, 93, 86, 0.32);
}

.contacts-section {
  padding: clamp(18px, 2.6vw, 32px) 8px clamp(24px, 3.4vw, 42px);
}

.contacts-wrap {
  width: min(1760px, 100%);
  margin: 0 auto;
}

.contacts-head {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.contacts-label {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 239, 255, 0.88);
  border: 1px solid rgba(153, 186, 232, 0.58);
  color: #355687;
  font-family: "Comfortaa", cursive;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contacts-title {
  margin: 12px 0 0;
  color: #1f3c6f;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.24rem, 1.9vw, 1.9rem);
  line-height: 1.16;
}

.contacts-layout {
  margin-top: clamp(10px, 1.4vw, 16px);
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
  gap: clamp(10px, 1.2vw, 14px);
  align-items: stretch;
}

.contacts-card {
  padding: clamp(14px, 1.3vw, 18px);
  border-radius: 16px;
  border: 1px solid rgba(133, 168, 220, 0.66);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 255, 0.9));
  box-shadow: 0 10px 22px rgba(79, 100, 139, 0.1);
  height: 100%;
}

.contacts-card__title {
  margin: 0;
  color: #23477d;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.1rem, 1.34vw, 1.3rem);
  line-height: 1.22;
}

.contacts-item {
  margin-top: 10px;
}

.contacts-item__label {
  margin: 0;
  color: #2f548d;
  font-family: "Comfortaa", cursive;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.26;
}

.contacts-item__text {
  margin: 4px 0 0;
  color: #365987;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.46;
}

.contacts-item__text a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(79, 115, 168, 0.54);
}

.contacts-item__text a:hover {
  color: #dd6e68;
  border-bottom-color: rgba(221, 110, 104, 0.7);
}

.contacts-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(133, 168, 220, 0.66);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 255, 0.9));
  box-shadow: 0 10px 22px rgba(79, 100, 139, 0.1);
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: stretch;
}

.contacts-map iframe,
.contacts-map > div,
.contacts-map ymaps {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  border: 0;
}

.site-footer {
  padding: clamp(20px, 2.8vw, 34px) 8px clamp(22px, 3vw, 36px);
  border-top: 1px solid rgba(133, 168, 220, 0.5);
  background:
    linear-gradient(160deg, rgba(255, 250, 246, 0.96), rgba(237, 244, 255, 0.96));
}

.footer-wrap {
  width: min(1760px, 100%);
  margin: 0 auto;
  padding: clamp(12px, 1.4vw, 18px);
  border-radius: 16px;
  border: 1px solid rgba(133, 168, 220, 0.62);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 255, 0.9));
  box-shadow: 0 10px 22px rgba(79, 100, 139, 0.1);
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(12px, 1.8vw, 24px);
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-brand__logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex: 0 0 auto;
  filter:
    brightness(0)
    saturate(100%)
    invert(25%)
    sepia(26%)
    saturate(882%)
    hue-rotate(189deg)
    brightness(91%)
    contrast(88%);
}

.footer-brand__title {
  margin: 0;
  color: #1f3c6f;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  font-weight: 700;
  line-height: 1.16;
}

.footer-brand__subtitle {
  margin: 5px 0 0;
  color: #456799;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.footer-col__title {
  margin: 0;
  color: #2f548d;
  font-family: "Comfortaa", cursive;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-link {
  margin-top: 7px;
  display: block;
  color: #365987;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.36;
}

.footer-link:hover {
  color: #dd6e68;
}

.footer-note {
  margin: 8px 0 0;
  color: #456799;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.34;
}

.appointment-section {
  padding: clamp(36px, 5vw, 74px) 8px clamp(64px, 8vw, 110px);
}

.appointment-stage {
  width: min(1760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: clamp(260px, 24vw, 430px) minmax(0, 980px) clamp(260px, 24vw, 430px);
  align-items: end;
  gap: clamp(0px, 0.6vw, 8px);
  justify-content: center;
}

.appointment-side-art {
  width: clamp(280px, 26vw, 460px);
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 10px 18px rgba(78, 100, 142, 0.2));
}

.appointment-side-art--left {
  justify-self: start;
  margin-left: clamp(-24px, -1.8vw, -8px);
  transform: translateY(24px);
}

.appointment-side-art--right {
  justify-self: end;
  margin-right: clamp(-24px, -1.8vw, -8px);
  transform: translateY(24px) scaleX(-1);
}

.appointment-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.appointment-label {
  margin: 0;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(223, 239, 255, 0.88);
  border: 1px solid rgba(153, 186, 232, 0.58);
  color: #355687;
  font-family: "Comfortaa", cursive;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.appointment-title {
  margin: 14px 0 0;
  color: #1f3c6f;
  font-family: "Comfortaa", cursive;
  font-size: clamp(1.34rem, 2.3vw, 2.18rem);
  line-height: 1.16;
}

.appointment-form {
  margin: clamp(16px, 2.2vw, 26px) auto 0;
  width: min(760px, 100%);
  min-height: 360px;
  padding: clamp(8px, 1.2vw, 12px);
  border-radius: 20px;
  border: 1px solid rgba(133, 168, 220, 0.66);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(230, 243, 255, 0.9));
  box-shadow: 0 12px 24px rgba(79, 100, 139, 0.14);
  overflow: hidden;
}

.appointment-form iframe,
.appointment-form form {
  width: 100% !important;
  max-width: 100% !important;
}

@keyframes clinic-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  :root {
    --hero-offset: 90px;
    --scroll-offset: 92px;
  }

  .site-header {
    padding: 10px 6px;
  }

  .header-wrap {
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 0;
  }

  .site-header.is-open .header-wrap {
    row-gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand__logo {
    width: 72px;
    height: 72px;
  }

  .brand__text {
    min-width: 0;
  }

  .brand__title {
    font-size: clamp(1.08rem, 3.3vw, 1.35rem);
    white-space: normal;
  }

  .brand__subtitle {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .main-nav {
    display: flex;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    padding: 0 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid transparent;
    box-shadow: none;
    transition:
      max-height 0.34s ease,
      opacity 0.24s ease,
      transform 0.24s ease,
      padding 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.24s ease;
  }

  .site-header.is-open .main-nav {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 12px;
    border-color: rgba(152, 178, 216, 0.62);
    box-shadow: 0 10px 24px rgba(100, 114, 151, 0.2);
  }

  .main-nav__link {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.94rem;
  }

  .header-actions {
    display: flex;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    padding: 0;
    transition:
      max-height 0.32s ease,
      opacity 0.24s ease,
      transform 0.24s ease,
      padding 0.24s ease;
  }

  .site-header.is-open .header-actions {
    max-height: 180px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 6px 0;
  }

  .header-phone {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(132, 160, 205, 0.48);
    background: rgba(255, 255, 255, 0.96);
  }

  .header-contact {
    width: 100%;
    align-items: stretch;
    gap: 6px;
  }

  .header-address {
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
  }

  .header-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 14px;
  }

  .hero {
    height: 100dvh;
    padding: 14px 6px;
    background-image: url("img/hero1.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .hero-wrap {
    display: block;
  }

  .hero-panel {
    width: min(820px, 100%);
  }

  .rating-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rating-badge {
    min-height: 70px;
    padding: 8px 9px;
  }

  .hero-content {
    padding: 16px;
    max-width: none;
    border-radius: 26px;
  }

  .hero-title {
    max-width: none;
  }

  .clinic-section {
    padding: 34px 6px 60px;
  }

  .clinic-slider-title {
    font-size: clamp(1.04rem, 2.3vw, 1.55rem);
  }

  .clinic-slider__group {
    gap: 10px;
    padding-right: 10px;
  }

  .clinic-slide {
    flex-basis: clamp(240px, 40vw, 360px);
    height: clamp(150px, 25vw, 230px);
    border-radius: 18px;
  }

  .clinic-head {
    width: min(1200px, 100%);
  }

  .clinic-head__layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .clinic-facts {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
  }

  .clinic-fact {
    padding: 12px 11px 11px 13px;
  }

  .clinic-fact__title {
    font-size: 0.88rem;
  }

  .clinic-fact__desc {
    font-size: 0.8rem;
    line-height: 1.28;
  }

  .clinic-lead {
    max-width: none;
  }

  .clinic-action-btn {
    font-size: 0.86rem;
    padding: 10px 15px;
  }

  .benefits-section {
    padding: 34px 6px 68px;
  }

  .benefits-spotlight {
    width: min(820px, 100%);
    border-radius: 22px;
    padding: 10px;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 12px;
  }

  .benefits-stage-wrap {
    width: min(820px, 100%);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .benefits-side-art {
    display: none;
  }

  .benefits-media {
    max-width: 260px;
    border-radius: 16px;
  }

  .benefits-video {
    aspect-ratio: 9 / 16;
  }

  .benefits-spotlight-heading {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .benefits-spotlight-meta {
    margin-bottom: 8px;
    gap: 5px;
  }

  .benefits-spotlight-chip {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

  .benefits-spotlight-point {
    padding: 9px 10px;
    gap: 8px;
  }

  .benefits-spotlight-point__num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .benefits-spotlight-point__title {
    font-size: 0.88rem;
  }

  .benefits-spotlight-point__text {
    font-size: 0.79rem;
  }

  .benefits-spotlight-btn {
    margin-top: 10px;
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .doctors-section {
    padding: 38px 6px 74px;
  }

  .doctors-layout {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .doctors-switcher {
    width: min(900px, 100%);
    padding: 9px;
    border-radius: 16px;
  }

  .doctor-nav-row {
    justify-content: center;
    gap: 6px;
  }

  .doctor-tabs {
    justify-content: center;
    gap: 6px;
  }

  .doctor-nav {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 1rem;
  }

  .doctor-tab {
    width: min(290px, 100%);
    flex: 1 1 220px;
    max-width: 290px;
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 0.82rem;
    text-align: left;
  }

  .doctor-tab__spec {
    font-size: 0.72rem;
  }

  .doctors-panels {
    width: 100%;
  }

  .doctor-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 10px;
  }

  .doctor-main {
    display: contents;
  }

  .doctor-photo-wrap {
    width: min(380px, 100%);
    max-width: 380px;
    margin-inline: auto;
    grid-column: 1;
    grid-row: 1;
    border-radius: 16px;
  }

  .doctor-photo {
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .doctor-intro {
    grid-column: 1;
    grid-row: 2;
  }

  .doctor-details {
    grid-column: 1;
    grid-row: 3;
    gap: 10px;
  }

  .doctor-block {
    padding: 12px 14px;
  }

  .doctor-details--compact {
    grid-template-columns: 1fr;
  }

  .reviews-section {
    padding: 30px 6px 36px;
  }

  .reviews-wrap {
    width: min(1240px, 100%);
  }

  .reviews-grid {
    columns: 2;
    column-gap: 12px;
  }

  .review-card {
    border-radius: 16px;
    padding: 11px 12px;
  }

  .review-text {
    font-size: 0.95rem;
  }

  .reviews-cta {
    padding: 11px 16px;
    font-size: 0.88rem;
  }

  .contacts-section {
    padding: 24px 6px 42px;
  }

  .contacts-wrap {
    width: min(1240px, 100%);
  }

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contacts-card {
    padding: 12px 13px;
  }

  .contacts-map {
    height: 360px;
    min-height: 0;
  }

  .contacts-map iframe,
  .contacts-map > div,
  .contacts-map ymaps {
    height: 100% !important;
    min-height: 100% !important;
  }

  .site-footer {
    padding: 16px 6px 22px;
  }

  .footer-wrap {
    width: min(1240px, 100%);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 13px;
  }

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

  .appointment-section {
    padding: 30px 6px 64px;
  }

  .appointment-stage {
    width: min(900px, 100%);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .appointment-side-art {
    display: none;
  }

  .appointment-form {
    width: min(700px, 100%);
    min-height: 340px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --hero-offset: 82px;
    --scroll-offset: 84px;
  }

  .brand__logo {
    width: 66px;
    height: 66px;
  }

  .brand__title {
    font-size: 1rem;
  }

  .brand__subtitle {
    font-size: 0.72rem;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .header-phone,
  .header-cta,
  .main-nav__link {
    font-size: 0.88rem;
  }

  .header-address {
    font-size: 0.74rem;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    padding: 7px 10px;
  }

  .rating-badges {
    grid-template-columns: 1fr;
  }

  .rating-badge {
    width: 100%;
    min-height: 72px;
  }

  .rating-badge__icon {
    width: 40px;
    height: 40px;
  }

  .rating-badge__score {
    font-size: 1.08rem;
  }

  .rating-badge__stars {
    font-size: 0.75rem;
  }

  .rating-badge__text {
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: clamp(1.35rem, 7.1vw, 1.85rem);
  }

  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.88rem;
  }

  .hero-chip {
    width: 100%;
    text-align: center;
  }

  .hero-content::before,
  .hero-content::after {
    display: none;
  }

  .clinic-head {
    padding: 14px;
    border-radius: 18px;
  }

  .clinic-slider-title {
    font-size: clamp(0.98rem, 5.4vw, 1.28rem);
    line-height: 1.28;
  }

  .clinic-section-label {
    font-size: 0.68rem;
    padding: 6px 10px;
  }

  .clinic-slider-title::after {
    height: 3px;
    width: clamp(98px, 38vw, 150px);
  }

  .clinic-title {
    font-size: clamp(1.25rem, 6.1vw, 1.7rem);
  }

  .clinic-lead {
    font-size: 0.94rem;
    line-height: 1.5;
    max-width: 100%;
  }

  .clinic-facts {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .clinic-fact {
    width: 100%;
    padding: 11px 10px 10px 12px;
  }

  .clinic-fact__title {
    font-size: 0.84rem;
  }

  .clinic-fact__desc {
    margin-top: 5px;
    font-size: 0.78rem;
  }

  .clinic-action-btn {
    width: 100%;
    font-size: 0.84rem;
  }

  .clinic-slider {
    margin-bottom: 14px;
  }

  .clinic-slider__group {
    gap: 8px;
    padding-right: 8px;
  }

  .clinic-slide {
    flex-basis: clamp(220px, 74vw, 320px);
    height: clamp(150px, 46vw, 240px);
    border-radius: 14px;
  }

  .clinic-slide img {
    filter: none;
  }

  .benefits-title {
    font-size: clamp(1.2rem, 6vw, 1.64rem);
  }

  .benefits-lead {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .benefits-spotlight {
    width: min(360px, 100%);
    padding: 8px;
    border-radius: 18px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .benefits-media {
    width: min(260px, 100%);
    max-width: none;
    margin-inline: auto;
    border-radius: 18px;
  }

  .benefits-video {
    border-radius: 0;
  }

  .benefits-spotlight-points {
    gap: 8px;
  }

  .benefits-spotlight-heading {
    margin-bottom: 6px;
    font-size: 0.82rem;
    text-align: left;
  }

  .benefits-spotlight-point {
    padding: 8px 9px;
    text-align: left;
    gap: 8px;
  }

  .benefits-spotlight-point__num {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 0.62rem;
  }

  .benefits-spotlight-point__title {
    font-size: 0.82rem;
  }

  .benefits-spotlight-point__text {
    font-size: 0.75rem;
  }

  .benefits-spotlight-meta {
    margin-bottom: 7px;
    gap: 4px;
  }

  .benefits-spotlight-chip {
    font-size: 0.66rem;
    padding: 5px 7px;
  }

  .benefits-spotlight-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .doctors-title {
    font-size: clamp(1.2rem, 6vw, 1.64rem);
  }

  .doctors-lead {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .doctors-switcher {
    padding: 8px;
  }

  .doctor-nav-row {
    justify-content: center;
  }

  .doctor-tab {
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
    font-size: 0.82rem;
    padding: 9px 10px;
  }

  .doctor-tab__spec {
    font-size: 0.74rem;
  }

  .doctor-card {
    padding: 11px;
    border-radius: 18px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 10px;
  }

  .doctor-main {
    display: contents;
  }

  .doctor-photo-wrap {
    width: min(320px, 100%);
    max-width: 320px;
    min-height: 0;
    max-height: none;
    height: auto;
    margin-inline: auto;
    border-radius: 14px;
    grid-column: 1;
    grid-row: 1;
  }

  .doctor-photo {
    aspect-ratio: 4 / 5;
    height: auto;
  }

  .doctor-intro {
    grid-column: 1;
    grid-row: 2;
  }

  .doctor-name {
    font-size: 1.28rem;
  }

  .doctor-spec {
    margin-top: 8px;
    font-size: 0.98rem;
    line-height: 1.4;
  }

  .doctor-badges {
    margin-top: 10px;
    gap: 6px;
  }

  .doctor-badge {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .doctor-cta {
    width: 100%;
    margin-top: 10px;
    padding: 11px 14px;
    font-size: 0.92rem;
  }

  .doctor-details {
    margin-top: 11px;
    gap: 8px;
    grid-column: 1;
    grid-row: 3;
  }

  .doctor-details--compact {
    grid-template-columns: 1fr;
  }

  .doctor-details--compact .doctor-block:first-child {
    grid-column: auto;
  }

  .doctor-block {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .doctor-block__title {
    font-size: 1.04rem;
  }

  .doctor-list,
  .doctor-grid-list {
    margin-top: 8px;
    padding-left: 16px;
    font-size: 0.94rem;
    line-height: 1.46;
  }

  .reviews-label {
    font-size: 0.68rem;
    padding: 6px 10px;
  }

  .reviews-title {
    font-size: clamp(1.16rem, 6vw, 1.56rem);
  }

  .reviews-lead {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .reviews-grid {
    columns: 1;
    column-gap: 0;
  }

  .review-card {
    padding: 10px 9px;
    border-radius: 12px;
    gap: 8px;
  }

  .review-author {
    gap: 8px;
  }

  .review-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }

  .review-author__name {
    font-size: 0.92rem;
  }

  .review-author__rating {
    font-size: 0.74rem;
    gap: 6px;
  }

  .review-stars {
    font-size: 0.78rem;
  }

  .review-text {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .reviews-actions {
    margin-top: 12px;
  }

  .reviews-cta {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.86rem;
  }

  .contacts-label {
    font-size: 0.68rem;
    padding: 6px 10px;
  }

  .contacts-title {
    font-size: clamp(1.16rem, 6vw, 1.56rem);
  }

  .contacts-card {
    padding: 10px 9px;
    border-radius: 12px;
  }

  .contacts-card__title {
    font-size: 0.92rem;
  }

  .contacts-item {
    margin-top: 10px;
  }

  .contacts-item__label {
    font-size: 0.86rem;
  }

  .contacts-item__text {
    font-size: 0.9rem;
    line-height: 1.36;
  }

  .contacts-map {
    height: 300px;
    min-height: 0;
    border-radius: 12px;
  }

  .contacts-map iframe,
  .contacts-map > div,
  .contacts-map ymaps {
    height: 100% !important;
    min-height: 100% !important;
  }

  .site-footer {
    padding: 14px 6px 18px;
  }

  .footer-wrap {
    padding: 10px 9px;
    border-radius: 12px;
    gap: 10px;
  }

  .footer-brand__logo {
    width: 62px;
    height: 62px;
  }

  .footer-brand__title {
    font-size: 0.94rem;
  }

  .footer-brand__subtitle {
    font-size: 0.78rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-col__title {
    font-size: 0.84rem;
  }

  .footer-link {
    font-size: 0.84rem;
    margin-top: 6px;
  }

  .footer-note {
    font-size: 0.78rem;
  }

  .appointment-label {
    font-size: 0.68rem;
    padding: 6px 10px;
  }

  .appointment-title {
    font-size: clamp(1.16rem, 6vw, 1.56rem);
  }

  .appointment-form {
    width: 100%;
    min-height: 320px;
    padding: 8px;
    border-radius: 14px;
  }

  .hero {
    background-image: url("img/hero1.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
}

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

  .site-header,
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .clinic-slider__track {
    animation: none;
  }
}

.clinic-section,
.benefits-section,
.doctors-section,
.reviews-section,
.contacts-section,
.appointment-section {
  background: transparent !important;
}
