/* =========================================================
   GLOBAL MAIN LAYOUT
   Общий премиальный фон для всех секций внутри <main.kc-main>
   (nav и footer — со своим фоном)
   ========================================================= */
.kc-main {
  position: relative;
  z-index: 0;
  /* общий нежный фон для всей страницы клиники */
  background:
    radial-gradient(140% 220% at 0% 0%, #e9f2ff 0%, #f7fbff 38%, #f3f6ff 100%);
}

/* на всякий случай — все секции поверх фона */
.kc-main > section {
  position: relative;
  z-index: 1;
}

/* =========================================================
   HERO (главный экран)
   ========================================================= */
#kc-hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: block;
  isolation: isolate;
  color: #0b1f33;
}

/* живой градиентный фон hero */
#kc-hero .kc-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #e8f3ff 0%,
    #f7fffe 35%,
    #f4f1ff 70%,
    #e8f5ff 100%
  );
  background-size: 200% 200%;
  animation: kc-hero-gradient 20s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

@keyframes kc-hero-gradient {
  0% {
    background-position: 0% 0%;
    transform: scale(1.02);
  }
  50% {
    background-position: 100% 50%;
    transform: scale(1.04);
  }
  100% {
    background-position: 0% 100%;
    transform: scale(1.02);
  }
}

/* мягкий белый оверлей */
#kc-hero .kc-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    70% 70% at 50% 10%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 45%,
    rgba(255, 255, 255, 0.96) 100%
  );
}

/* контейнер */
.kc-hero-container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-rows: auto auto auto;
  gap: clamp(20px, 3vw, 32px);
  text-align: center;
}

/* логотип */
.kc-hero-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin: clamp(48px, 10svh, 80px) auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #f3f7ff);
  box-shadow: 0 12px 32px rgba(15, 50, 100, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  animation: kc-logo-float 7s ease-in-out infinite;
}
.kc-hero-logo-img {
  width: 96px;
  height: auto;
  z-index: 2;
}
.kc-hero-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 2px solid rgba(15, 115, 201, 0.2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 32px rgba(47, 180, 143, 0.3);
  pointer-events: none;
  animation: kc-logo-ring 10s linear infinite;
}

@keyframes kc-logo-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes kc-logo-ring {
  0% {
    transform: scale(0.98) rotate(0deg);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.04) rotate(6deg);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.98) rotate(0deg);
    opacity: 0.9;
  }
}

/* бейдж "работаем 24/7" */
.kc-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(15, 115, 201, 0.06);
  border: 1px solid rgba(15, 115, 201, 0.18);
  color: #34557a;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.kc-hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #6efa96, #1dbf60);
  box-shadow: 0 0 0 4px rgba(59, 201, 119, 0.25);
}
.kc-hero-badge strong {
  color: #0f73c9;
}

/* заголовок */
.kc-hero-title {
  margin: 10px 0 4px;
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.5px;
}
.kc-hero-title-line {
  display: block;
}
.kc-gradient {
  background: linear-gradient(90deg, #0f73c9, #2fb48f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* подзаголовок */
.kc-hero-sub {
  margin: 4px 0 12px;
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(7, 31, 55, 0.72);
}

/* кнопки hero */
.kc-hero-cta {
  display: inline-flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.kc-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}

/* синяя основная */
.kc-hero-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0f73c9, #2fb48f);
  box-shadow: 0 10px 24px rgba(15, 115, 201, 0.32);
}
.kc-hero-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 255, 255, 0.5),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}
.kc-hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 115, 201, 0.42);
}
.kc-hero-btn-primary:hover::after {
  opacity: 1;
}
.kc-hero-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(15, 115, 201, 0.33);
}

/* прозрачная */
.kc-hero-btn-ghost {
  color: #0f73c9;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 115, 201, 0.2);
  box-shadow: 0 6px 18px rgba(11, 45, 90, 0.08);
}
.kc-hero-btn-ghost:hover {
  background: rgba(15, 115, 201, 0.06);
  transform: translateY(-2px);
}
.kc-hero-btn-ghost:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(11, 45, 90, 0.12);
}

/* карточки hero */
.kc-hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 22px);
  margin-top: clamp(20px, 3vw, 32px);
}

.kc-card {
  position: relative;
  border-radius: 24px;
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(20, 56, 105, 0.06);
  border: 1px solid rgba(15, 115, 201, 0.06);
  transform: translateY(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.kc-card:hover {
  transform: translateY(0);
  box-shadow: 0 20px 52px rgba(20, 56, 105, 0.1);
  border-color: rgba(15, 115, 201, 0.12);
}

.kc-card-ico {
  font-size: 28px;
  margin-bottom: 10px;
}
.kc-card-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: #0b1f33;
}
.kc-card-text {
  margin: 0;
  color: #5a6d84;
}

/* карточка 24/7 */
.kc-card-247b {
  text-align: center;
  padding-top: 26px;
}
.kc-card-247b-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f73c9, #2fb48f);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(15, 115, 201, 0.28);
}
.kc-card-247b-icon span {
  transform: translateY(1px);
}
.kc-card-247b .kc-card-title {
  margin-top: 4px;
  margin-bottom: 6px;
}
.kc-card-247b-text {
  color: #546b84;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* список часов (если понадобится) */
.kc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kc-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px dashed rgba(7, 31, 55, 0.12);
}
.kc-list li:first-child {
  border-top: none;
}

/* reveal-анимация блоков hero */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* адаптив hero */
@media (max-width: 1024px) {
  .kc-hero-features {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  #kc-hero {
    min-height: auto;
  }
  .kc-hero-logo {
    margin-top: 80px;
    width: 150px;
    height: 150px;
  }
  .kc-hero-features {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  #kc-hero .kc-hero-bg,
  .kc-hero-logo,
  .kc-hero-ring {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   МОДАЛЬНОЕ ОКНО
   (вся основная стилизация — в base.css, здесь только z-index
   на случай пересечений с секциями)
   ========================================================= */
.kc-modal {
  z-index: 9999;
}

/* =========================================================
   HOME — УСЛУГИ КЛИНИКИ (kc-hs)
   ========================================================= */
.kc-hs {
  padding: 80px 20px 90px;
}

.kc-hs__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

/* левая часть */
.kc-hs__kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2fb48f;
  background: rgba(47, 180, 143, 0.07);
  border: 1px solid rgba(47, 180, 143, 0.3);
  margin-bottom: 14px;
}

.kc-hs__title {
  margin: 4px 0 10px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  color: #0d2b5b;
}

.kc-hs__lead {
  margin: 0 0 8px;
  color: #586b86;
  font-size: 17px;
  line-height: 1.6;
}

.kc-hs__p {
  margin: 0 0 18px;
  color: #6a7c95;
  line-height: 1.6;
}

.kc-hs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(120deg, #0f73c9, #1f9cff);
  box-shadow: 0 12px 30px rgba(15, 115, 201, 0.35);
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.kc-hs__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 115, 201, 0.45);
  background: linear-gradient(120deg, #1f9cff, #0f73c9);
}

/* правая часть — слайдер */
.kc-hs__media {
  position: relative;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(13, 43, 91, 0.14);
  overflow: hidden;
  min-height: 0;
}

.kc-hs__slide {
  display: none;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.kc-hs__slide.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.kc-hs__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  background: #f4f7fc;
}

.kc-hs__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* кнопка play */
.kc-hs__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 28px;
  color: #ffffff;
  background: radial-gradient(circle at 30% 30%, #3fd1ab, #0f73c9 70%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.kc-hs__play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

/* подпись */
.kc-hs__caption {
  padding: 14px 18px 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(248, 252, 255, 0.98)
  );
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kc-hs__caption strong {
  font-size: 16px;
  color: #0d2b5b;
}
.kc-hs__caption span {
  font-size: 13px;
  color: #6a7c95;
}

/* стрелки */
.kc-hs__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(13, 43, 91, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 22px;
  color: #0f73c9;
  transition: transform 0.18s ease, background 0.2s ease;
}
.kc-hs__nav:hover {
  transform: translateY(-50%) scale(1.06);
  background: #ffffff;
}
.kc-hs__nav--prev {
  left: 12px;
}
.kc-hs__nav--next {
  right: 12px;
}

/* точки */
.kc-hs__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.kc-hs__dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(11, 54, 101, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.kc-hs__dots button[aria-current="true"] {
  background: #0f73c9;
  transform: scale(1.25);
}

/* адаптив services */
@media (max-width: 960px) {
  .kc-hs__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .kc-hs__media {
    max-width: 600px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .kc-hs {
    padding: 56px 18px 70px;
  }
  .kc-hs__media {
    border-radius: 22px;
  }
  .kc-hs__play {
    width: 62px;
    height: 62px;
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kc-hs__slide,
  .kc-hs__play {
    transition: none !important;
  }
}

/* =========================================================
   НАШИ СПЕЦИАЛИСТЫ (kc-docs)
   ========================================================= */

.kc-docs {
  padding: 80px 16px;
}

.kc-docs__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* шапка секции */
.kc-docs__head {
  text-align: center;
  margin-bottom: 32px;
}
.kc-docs__logo {
  display: block;
  margin: 0 auto 12px;
  width: 72px;
  height: auto;
}
.kc-docs__kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2fb48f;
  background: rgba(47, 180, 143, 0.08);
  border: 1px solid rgba(47, 180, 143, 0.2);
}
.kc-docs__title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  color: #0d2b5b;
  margin: 8px 0;
}
.kc-docs__lead {
  max-width: 620px;
  margin: 0 auto;
  color: #5c6f8a;
}

/* белый блок под карточки */
.kc-docs__viewport {
  margin: 32px auto 0;
  max-width: 1120px;
  border-radius: 26px;
  padding: 24px 24px 28px;
  box-shadow: 0 18px 48px rgba(9, 30, 66, 0.12);
  background: #ffffff;
  overflow: hidden;
}

/* сетка карточек, работаем и с .kc-docs__list и с .kc-docs__track */
.kc-docs__list,
.kc-docs__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-right: 40px;
}

/* карточка врача */
.kc-docs__card {
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(9, 30, 66, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  opacity: 0;
  transform: translateY(20px);
}
.kc-docs__card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.kc-docs__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(9, 30, 66, 0.16);
}

/* фото */
.kc-docs__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.kc-docs__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.9s ease;
}
.kc-docs__card:hover .kc-docs__img {
  transform: scale(1.08);
}

/* бейдж направления */
.kc-docs__badge {
  position: absolute;
  left: 16px;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.kc-docs__badge--cyan {
  background: linear-gradient(135deg, #2fb48f, #0f73c9);
}
.kc-docs__badge--blue {
  background: linear-gradient(135deg, #0f73c9, #31a4ff);
}
.kc-docs__badge--green {
  background: linear-gradient(135deg, #53d6a9, #1f9f73);
}

/* текст карточки */
.kc-docs__body {
  padding: 14px 16px 18px;
}
.kc-docs__name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #0f73c9;
}
.kc-docs__role,
.kc-docs__spec {
  margin: 0 0 8px;
  font-size: 14px;
  color: #607289;
}
.kc-docs__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4c5f7c;
}

/* адаптив docs */
@media (max-width: 1024px) {
  .kc-docs {
    padding: 72px 16px 80px;
  }
  .kc-docs__viewport {
    padding: 24px 18px 28px;
  }
  .kc-docs__list,
  .kc-docs__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .kc-docs__viewport {
    padding: 20px 0 24px;
    display: flex;
    justify-content: center;
  }
  .kc-docs__list,
  .kc-docs__track {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .kc-docs__card {
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .kc-docs__card {
    width: 92%;
  }
}

/* =========================================================
   ПОЧЕМУ ВЫБИРАЮТ KAMILOVS CLINIC (kc-why)
   ========================================================= */
.kc-why {
  position: relative;
  padding: 90px 16px 96px;
  overflow: hidden;
}

/* мягкие светящиеся круги на фоне */
.kc-why::before,
.kc-why::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.kc-why::before {
  top: -160px;
  left: -120px;
  background: radial-gradient(circle at 30% 30%, #0f73c9, transparent 65%);
}
.kc-why::after {
  bottom: -180px;
  right: -140px;
  background: radial-gradient(circle at 30% 30%, #2fb48f, transparent 65%);
}

/* контейнер */
.kc-why__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

/* текст слева */
.kc-why__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2fb48f;
  background: rgba(47, 180, 143, 0.08);
  border: 1px solid rgba(47, 180, 143, 0.25);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.kc-why__kicker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transform: translateX(-120%);
  animation: kc-why-shine 4.2s ease-in-out infinite;
}
.kc-why__title {
  margin: 4px 0 10px;
  font-size: clamp(26px, 3.3vw, 36px);
  font-weight: 800;
  color: #0d2b5b;
  position: relative;
}
.kc-why__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f73c9, #2fb48f);
}
.kc-why__lead {
  margin: 14px 0 8px;
  color: #586b86;
  font-size: 16px;
  line-height: 1.7;
}
.kc-why__note {
  margin: 0;
  color: #6a7c95;
  font-size: 14px;
  line-height: 1.6;
}

/* карточки справа */
.kc-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.kc-why__item {
  position: relative;
  border-radius: 22px;
  padding: 16px 16px 18px;
  background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(245, 249, 255, 0.98)
      )
      padding-box,
    radial-gradient(
        circle at 0% 0%,
        rgba(15, 115, 201, 0.4),
        rgba(47, 180, 143, 0.4)
      )
      border-box;
  border: 1px solid transparent;
  box-shadow: 0 18px 40px rgba(9, 30, 66, 0.12);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.24s ease,
    border-color 0.24s ease, background 0.24s ease;
}
.kc-why__item::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(15, 115, 201, 0.18),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.kc-why__item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 52px rgba(9, 30, 66, 0.2);
  border-color: rgba(15, 115, 201, 0.28);
  background: linear-gradient(180deg, #ffffff, #f2f6ff) padding-box,
    radial-gradient(
        circle at 0% 0%,
        rgba(47, 180, 143, 0.5),
        rgba(15, 115, 201, 0.5)
      )
      border-box;
}
.kc-why__item:hover::before {
  opacity: 1;
}
.kc-why__value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  background: rgba(15, 115, 201, 0.06);
  color: #0f73c9;
}
.kc-why__value span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7a8ea8;
}
.kc-why__value-main {
  background: linear-gradient(120deg, #0f73c9, #2fb48f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kc-why__item-title {
  margin: 10px 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #0b1f33;
}
.kc-why__item-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5b6f87;
}

/* адаптив why */
@media (max-width: 960px) {
  .kc-why__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .kc-why__text {
    text-align: center;
  }
  .kc-why__title::after {
    margin-left: auto;
    margin-right: auto;
  }
  .kc-why__lead,
  .kc-why__note {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .kc-why__grid {
    max-width: 640px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .kc-why {
    padding: 68px 16px 72px;
  }
  .kc-why__grid {
    grid-template-columns: 1fr;
  }
  .kc-why__item {
    padding: 14px 14px 16px;
  }
}

@keyframes kc-why-shine {
  0% {
    transform: translateX(-120%);
  }
  55% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(130%);
  }
}

/* =========================================================
   HOW IT WORKS / КАК ПРОХОДИТ ПРИЁМ (kc-flow)
   ========================================================= */
.kc-flow {
  position: relative;
  padding: 82px 16px 88px;
  overflow: hidden;
}
.kc-flow::before,
.kc-flow::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.kc-flow::before {
  top: -160px;
  left: -140px;
  background: radial-gradient(circle at 30% 30%, #0f73c9, transparent 65%);
}
.kc-flow::after {
  bottom: -180px;
  right: -140px;
  background: radial-gradient(circle at 30% 30%, #2fb48f, transparent 65%);
}

.kc-flow__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

/* текст */
.kc-flow__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2fb48f;
  background: rgba(47, 180, 143, 0.08);
  border: 1px solid rgba(47, 180, 143, 0.25);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.kc-flow__kicker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.85),
    transparent
  );
  transform: translateX(-130%);
  animation: kc-flow-shine 4.4s ease-in-out infinite;
}
.kc-flow__title {
  margin: 4px 0 10px;
  font-size: clamp(26px, 3.3vw, 36px);
  font-weight: 800;
  color: #0d2b5b;
}
.kc-flow__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f73c9, #2fb48f);
}
.kc-flow__lead {
  margin: 14px 0 8px;
  color: #586b86;
  font-size: 16px;
  line-height: 1.7;
}
.kc-flow__note {
  margin: 0;
  color: #6b7f98;
  font-size: 14px;
  line-height: 1.6;
}

/* шаги */
.kc-flow__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.kc-flow__steps::before {
  content: "";
  position: absolute;
  inset: 32px 10px auto 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f73c9, #2fb48f);
  opacity: 0.25;
  pointer-events: none;
}
.kc-flow__step {
  position: relative;
  border-radius: 22px;
  padding: 32px 16px 16px;
  background: linear-gradient(180deg, #ffffff, #f5f8ff) padding-box,
    radial-gradient(
        circle at 0% 0%,
        rgba(15, 115, 201, 0.45),
        rgba(47, 180, 143, 0.45)
      )
      border-box;
  border: 1px solid transparent;
  box-shadow: 0 16px 42px rgba(9, 30, 66, 0.12);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.24s ease,
    border-color 0.24s ease, background 0.24s ease;
}
.kc-flow__step::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 255, 255, 0.88),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.kc-flow__step:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 56px rgba(9, 30, 66, 0.2);
  border-color: rgba(15, 115, 201, 0.38);
}
.kc-flow__step:hover::after {
  opacity: 1;
}

/* badge номера */
.kc-flow__badge {
  position: absolute;
  left: 16px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #3fd1ab, #0f73c9);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 115, 201, 0.35);
}
.kc-flow__step-num {
  font-size: 16px;
  font-weight: 800;
}

/* текст шага */
.kc-flow__step-title {
  margin: 14px 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #0b1f33;
}
.kc-flow__step-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5a6f87;
}

/* адаптив flow */
@media (max-width: 1024px) {
  .kc-flow__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .kc-flow__text {
    text-align: center;
  }
  .kc-flow__title::after {
    margin-left: auto;
    margin-right: auto;
  }
  .kc-flow__lead,
  .kc-flow__note {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .kc-flow__steps {
    max-width: 680px;
    margin: 0 auto;
  }
  .kc-flow__steps::before {
    inset: 30px 20px auto 20px;
  }
}
@media (max-width: 720px) {
  .kc-flow {
    padding: 64px 16px 72px;
  }
  .kc-flow__steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .kc-flow__steps::before {
    display: none;
  }
  .kc-flow__step {
    padding-top: 34px;
  }
}
@keyframes kc-flow-shine {
  0% {
    transform: translateX(-130%);
  }
  55% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(130%);
  }
}

/* =========================================================
   ПРЕИМУЩЕСТВА КЛИНИКИ (kc-benefits)
   ========================================================= */
.kc-benefits {
  position: relative;
  padding: 80px 16px 90px;
  overflow: hidden;
}
.kc-benefits::before,
.kc-benefits::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.85;
  pointer-events: none;
}
.kc-benefits::before {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 40px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #cde7ff);
}
.kc-benefits::after {
  width: 280px;
  height: 280px;
  right: -100px;
  bottom: -40px;
  background: radial-gradient(circle at 40% 20%, #e6fff7, #c2f0de);
}
.kc-benefits__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 1;
}

/* шапка */
.kc-benefits__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}
.kc-benefits__kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2fb48f;
  background: rgba(47, 180, 143, 0.08);
  border: 1px solid rgba(47, 180, 143, 0.3);
}
.kc-benefits__title {
  margin: 10px 0 8px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0d2b5b;
}
.kc-benefits__lead {
  margin: 0;
  color: #5b6f8a;
  font-size: 15px;
}

/* сетка */
.kc-benefits__grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* карточка */
.kc-benefits__item {
  position: relative;
  border-radius: 22px;
  padding: 18px 18px 16px;
  background: radial-gradient(
      140% 160% at 0% 0%,
      rgba(255, 255, 255, 0.94),
      rgba(245, 250, 255, 0.98)
    ),
    #ffffff;
  box-shadow: 0 18px 46px rgba(12, 35, 76, 0.12);
  border: 1px solid rgba(15, 115, 201, 0.06);
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  animation: kc-benefits-in 0.9s ease forwards;
}
.kc-benefits__item:nth-child(2) {
  animation-delay: 0.08s;
}
.kc-benefits__item:nth-child(3) {
  animation-delay: 0.16s;
}
.kc-benefits__item:nth-child(4) {
  animation-delay: 0.24s;
}
.kc-benefits__item:nth-child(5) {
  animation-delay: 0.32s;
}
.kc-benefits__item:nth-child(6) {
  animation-delay: 0.4s;
}
.kc-benefits__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6),
    transparent 40%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.kc-benefits__item:hover {
  transform: translateY(0);
  box-shadow: 0 22px 56px rgba(12, 35, 76, 0.18);
  border-color: rgba(15, 115, 201, 0.18);
}
.kc-benefits__item:hover::before {
  opacity: 1;
}

/* иконки */
.kc-benefits__icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: radial-gradient(circle at 20% 10%, #ffffff, #d7e7ff);
  color: #0f73c9;
  box-shadow: 0 14px 30px rgba(15, 115, 201, 0.25);
}
.kc-benefits__icon span {
  font-size: 24px;
}
.kc-benefits__icon--blue {
  background: radial-gradient(circle at 20% 10%, #ffffff, #cde0ff);
  color: #1f6fe0;
}
.kc-benefits__icon--green {
  background: radial-gradient(circle at 20% 10%, #ffffff, #ccf3e3);
  color: #1e9c6a;
}
.kc-benefits__icon--purple {
  background: radial-gradient(circle at 20% 10%, #ffffff, #e1d9ff);
  color: #6b4fe0;
}
.kc-benefits__icon--cyan {
  background: radial-gradient(circle at 20% 10%, #ffffff, #d6f6ff);
  color: #0f90c9;
}
.kc-benefits__icon--gold {
  background: radial-gradient(circle at 20% 10%, #ffffff, #ffe9c8);
  color: #c47a15;
}

/* текст */
.kc-benefits__name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #0f2a4d;
}
.kc-benefits__text {
  margin: 0 0 10px;
  font-size: 14px;
  color: #4b607b;
  line-height: 1.6;
}

/* тег */
.kc-benefits__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: #256d4e;
  background: rgba(47, 180, 143, 0.1);
}
.kc-benefits__tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #6efa96, #1dbf60);
}

@keyframes kc-benefits-in {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* адаптив benefits */
@media (max-width: 1024px) {
  .kc-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .kc-benefits {
    padding: 60px 14px 70px;
  }
  .kc-benefits__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .kc-benefits__item {
    padding: 16px 16px 14px;
  }
}

/* =========================================================
   FAQ — ЧАСТЫЕ ВОПРОСЫ (kc-faq)
   ========================================================= */
.kc-faq {
  position: relative;
  padding: 80px 16px 90px;
  overflow: hidden;
}
.kc-faq::before,
.kc-faq::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(38px);
  opacity: 0.85;
}
.kc-faq::before {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 20px;
  background: radial-gradient(circle at 20% 20%, #ffffff, #cde7ff);
}
.kc-faq::after {
  width: 260px;
  height: 260px;
  right: -100px;
  bottom: -60px;
  background: radial-gradient(circle at 40% 0%, #e8fff6, #c4f1de);
}

.kc-faq__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  z-index: 1;
}

/* шапка */
.kc-faq__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.kc-faq__kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2fb48f;
  background: rgba(47, 180, 143, 0.08);
  border: 1px solid rgba(47, 180, 143, 0.3);
}
.kc-faq__title {
  margin: 10px 0 8px;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0d2b5b;
}
.kc-faq__lead {
  margin: 0;
  color: #5b6f8a;
  font-size: 15px;
}

/* layout */
.kc-faq__layout {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: flex-start;
}

/* левая колонка */
.kc-faq__aside {
  border-radius: 24px;
  padding: 20px 18px 18px;
  background: radial-gradient(
      160% 180% at 0% 0%,
      rgba(255, 255, 255, 0.98),
      rgba(242, 248, 255, 0.98)
    ),
    #ffffff;
  box-shadow: 0 18px 46px rgba(13, 43, 91, 0.14);
  border: 1px solid rgba(15, 115, 201, 0.07);
}
.kc-faq__aside-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #0f2a4d;
}
.kc-faq__aside-text {
  margin: 0 0 14px;
  font-size: 14px;
  color: #4d6180;
  line-height: 1.6;
}
.kc-faq__stats {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.kc-faq__stats-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0f73c9;
}
.kc-faq__stats-label {
  display: block;
  font-size: 13px;
  color: #607289;
}
.kc-faq__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(120deg, #0f73c9, #2fb48f);
  box-shadow: 0 14px 36px rgba(15, 115, 201, 0.3);
}
.kc-faq__call:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(15, 115, 201, 0.38);
}

/* аккордеон справа */
.kc-faq__accordion {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 54px rgba(12, 35, 76, 0.16);
  border: 1px solid rgba(15, 115, 201, 0.06);
  overflow: hidden;
}
.kc-faq__item + .kc-faq__item {
  border-top: 1px solid rgba(15, 40, 80, 0.06);
}

/* вопрос */
.kc-faq__question {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}
.kc-faq__q-text {
  flex: 1;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #103458;
}
.kc-faq__q-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(15, 115, 201, 0.09);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.kc-faq__q-line {
  position: absolute;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #0f73c9;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.kc-faq__q-line--v {
  transform: rotate(90deg);
}

/* ответ */
.kc-faq__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.kc-faq__answer p {
  margin: 0 0 14px;
  font-size: 14px;
  color: #4c5f7c;
  line-height: 1.6;
}

/* открытое состояние */
.kc-faq__item.is-open {
  background: radial-gradient(
      160% 180% at 0% 0%,
      rgba(234, 245, 255, 0.9),
      rgba(255, 255, 255, 1)
    ),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 115, 201, 0.08);
}
.kc-faq__item.is-open .kc-faq__q-icon {
  background: rgba(15, 115, 201, 0.14);
  transform: rotate(90deg);
}
.kc-faq__item.is-open .kc-faq__q-line--v {
  opacity: 0;
}
.kc-faq__item.is-open .kc-faq__answer {
  padding-top: 0;
  padding-bottom: 10px;
}

/* reveal-анимация */
[data-faq-reveal] {
  opacity: 0;
  transform: translateY(18px);
}
[data-faq-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* адаптив faq */
@media (max-width: 960px) {
  .kc-faq__layout {
    grid-template-columns: 1fr;
  }
  .kc-faq__aside {
    order: 2;
  }
  .kc-faq__accordion {
    order: 1;
  }
}
@media (max-width: 640px) {
  .kc-faq {
    padding: 60px 14px 70px;
  }
  .kc-faq__question {
    padding: 12px 14px;
  }
  .kc-faq__answer {
    padding-left: 14px;
    padding-right: 14px;
  }
}


/* ============================================
   Глобально делаем фон белым для всех секций,
   кроме шапки (.kc-header) и футера (.kc-footer)
   ============================================ */

body {
  background: #ffffff;
}

/* main и все большие секции с белым фоном */
.kc-main,
.kc-main > section,
#kc-hero,
.kc-hs,
.kc-docs,
.kc-why,
.kc-flow,
.kc-benefits,
.kc-faq {
  background: #ffffff !important;
}

/* выключаем декоративные цветные пятна у секций */
.kc-why::before,
.kc-why::after,
.kc-flow::before,
.kc-flow::after,
.kc-benefits::before,
.kc-benefits::after,
.kc-faq::before,
.kc-faq::after {
  content: none !important;
  background: transparent !important;
}

/* убираем градиентные слои в hero, чтобы он тоже был белый */
#kc-hero .kc-hero-bg,
#kc-hero .kc-hero-overlay {
  display: none !important;
}
