/* ================================================================
   MedCare Premium Clinic — styles.css
   White + Blue Premium Theme
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --blue: #3B9EFF;
  --blue-deep: #0052CC;
  --blue-light: #E8F3FF;
  --blue-glow: rgba(59, 158, 255, 0.18);
  --white: #FFFFFF;
  --off-white: #F8FBFF;
  --dark: #080D14;
  --dark-2: #10192A;
  --grey: #6B7A92;
  --grey-light: #D0DCF0;
  --text: #1A2436;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --r: .75rem;
  --r-lg: 1.5rem;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-blue: 0 8px 40px rgba(59, 158, 255, 0.2);
  --shadow-card: 0 4px 32px rgba(10, 30, 60, 0.08);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

/* ── Cursor Follower ────────────────────────────────────────────── */
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.35s, height 0.35s, border-color 0.35s, opacity 0.35s;
  mix-blend-mode: normal;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  background: var(--blue-glow);
  border-color: var(--blue);
}

/* ── Container ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography ────────────────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  color: var(--blue);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(59, 158, 255, 0.35);
}
.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 158, 255, 0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}
.btn-large { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Reveal animations ─────────────────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── HEADER ─────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
  padding: 0;
}
.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}
.logo-text em { font-style: italic; color: var(--blue); }
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
}
.header.scrolled .nav a { color: var(--text); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.nav a:hover::after { transform: scaleX(1); }
.nav a:hover { color: var(--blue); }
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-phone {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}
.header.scrolled .header-phone { color: var(--text); }
.header-phone:hover { color: var(--blue); }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.header.scrolled .lang-switcher { color: var(--grey-light); }
.lang-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  transition: color 0.3s;
  padding: 0;
  cursor: none;
}
.header.scrolled .lang-btn { color: var(--grey); }
.lang-btn.active { color: var(--blue); }
.lang-btn:hover { color: var(--blue); }
.btn-header { font-size: 0.85rem; padding: 0.65rem 1.5rem; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}




/* === CENTER NAV MENU === */
.header-inner{
  display: flex;
  align-items: center;
}

.nav{
  margin: 0 auto; /* ← ВОТ ЭТО центрирует меню */
}


.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: white;
  transition: all 0.3s;
}
.header.scrolled .burger span { background: var(--text); }
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 2rem;
  background: white;
  border-top: 1px solid var(--grey-light);
  gap: 1.2rem;
}
.mobile-nav a {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.mobile-nav .btn-primary { text-align: center; }
.mobile-nav.open { display: flex; }



/* === MOBILE: move burger to the right === */
@media (max-width: 768px){
  .header-inner{
    position: relative; /* база для absolute */
  }

  .burger{
    position: absolute;
    right: 52px;  /* отступ от правого края */
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 50;
  }
}







/* ── HERO ────────────────────────────────────────────────────────── */
/* ── HERO (видно фото + читабельный текст) ───────────────────── */
.hero{
  overflow: hidden;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b1933;
}

/* фоновые слои */
.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 1) Фото: БЕЗ opacity (иначе будет "туман") */
.hero-gradient{
  position: absolute;
  inset: 0;
  background: url("images/hero.jpg") center/cover no-repeat;
  transform: scale(1.03);

  /* чтобы врачи были видны */
  filter: brightness(1.08) contrast(1.08) saturate(1.05);
}

/* 2) Тёмный overlay — регулирует читаемость текста
   (уменьшили темноту, чтобы врачей было видно) */
 .hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 16, 32, 0.45) 0%,
    rgba(6, 16, 32, 0.35) 45%,
    rgba(6, 16, 32, 0.55) 100%
  );
}


/* 3) Лёгкие голубые пятна (акцент), можно оставить */
.hero-bg::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 35%,
      rgba(79,163,255,0.18) 0%,
      rgba(79,163,255,0.06) 45%,
      rgba(79,163,255,0.00) 75%),
    radial-gradient(ellipse 60% 80% at 18% 82%,
      rgba(30,95,209,0.14) 0%,
      rgba(30,95,209,0.05) 50%,
      rgba(30,95,209,0.00) 80%);
  opacity: 0.95;
}

/* частицы */
.hero-particles{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* контент */
.hero-content{
  position: relative;
  z-index: 5;
  padding-top: 8rem;
  padding-bottom: 6rem;
  max-width: 780px;
}


/* === HERO BUTTONS LAYOUT === */
.hero-actions{
  display: flex;
  align-items: center;
  gap: 24px;        /* расстояние между кнопками */
  flex-wrap: wrap;
}


/* === HERO BUTTONS LAYOUT (BIGGER GAP) === */
.hero-actions{
  display: flex;
  align-items: center;
  gap: 40px;            /* было 24 — сделай 40 */
  flex-wrap: wrap;
}


/* чтобы магнит/transform не "съедал" расстояние */
.hero-actions a{
  margin: 0 !important;
  transform: translate3d(0,0,0);
}


/* на мобилке — аккуратнее */
@media (max-width: 768px){
  .hero-actions{
    flex-direction: column;
    gap: 18px;
  }
}


/* бейдж */
.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
}

.badge-dot{
  width: 6px;
  height: 6px;
  background: #3b9eff;
  border-radius: 50%;
}

/* заголовок */
.hero-title{
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: rgba(255,255,255,0.96);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.hero-title .accent{
  color: #8ec5ff;
  font-style: italic;
}

/* подзаголовок */
.hero-sub{
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.84);
  margin-bottom: 2.5rem;
  font-weight: 400;
}


/* === FIX BUTTON TEXT COLOR IN MOBILE MENU === */
@media (max-width: 768px){
  .booking-btn,
  .btn-primary,
  .nav .btn,
  .nav .btn-primary{
    color: #ffffff !important;
  }
}


.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;   /* поставь свои значения */
  line-height: 1;
  white-space: nowrap;
}



/* ── COUNTERS ────────────────────────────────────────────────────── */
.counters {
  padding: 5rem 0;
  background: var(--off-white);
  border-bottom: 1px solid rgba(59,158,255,0.1);
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.counter-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--r-lg);
  transition: background 0.3s;
}
.counter-item:hover { background: var(--blue-light); }
.counter-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.counter-label {
  font-size: 0.88rem;
  color: var(--grey);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── VIDEO BLOCK ─────────────────────────────────────────────────── */
.video-block {
  padding: 7rem 0;
  background: var(--white);
  text-align: center;
}
.video-block .section-label,
.video-block .section-title { text-align: center; }
.ipad-frame {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}
.ipad-outer {
  position: relative;
  width: min(680px, 90vw);
  background: #1a1a2e;
  border-radius: 28px;
  padding: 16px 16px 50px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 40px 80px rgba(10,30,60,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
.ipad-screen {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--dark);
  position: relative;
}
.ipad-screen video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, #0D1B30 100%);
}
.vf-inner { text-align: center; color: rgba(255,255,255,0.5); }
.vf-inner p { margin-top: 1rem; font-size: 0.85rem; }
.ipad-home-btn {
  position: absolute;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}

/* ── ABOUT ───────────────────────────────────────────────────────── */
.about {
  padding: 7rem 0;
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.about-card-float {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: white;
  border-radius: var(--r);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(59,158,255,0.1);
}
.acf-icon {
  width: 42px; height: 42px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.acf-title { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.acf-sub { font-size: 0.78rem; color: var(--grey); margin-top: 2px; }
.about-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--grey);
  margin-bottom: 1.2rem;
}
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.af-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.92rem; font-weight: 500; color: var(--text);
}
.af-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ── CARE BLOCK ──────────────────────────────────────────────────── */
.care-block {
  padding: 7rem 0;
  background: var(--dark-2);
}
.care-block .section-title { color: var(--white); }
.care-block .section-label,
.care-block .section-title { text-align: center; }
.care-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.care-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  transition: background 0.35s, border-color 0.35s, transform 0.35s;
}
.care-card:hover {
  background: rgba(59,158,255,0.08);
  border-color: rgba(59,158,255,0.25);
  transform: translateY(-6px);
}
.care-icon {
  width: 56px; height: 56px;
  background: rgba(59,158,255,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.care-card:hover .care-icon { background: rgba(59,158,255,0.2); }
.care-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.care-card p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.5); }

/* ── SERVICES ────────────────────────────────────────────────────── */
.services {
  padding: 7rem 0;
  background: var(--white);
}
.services-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s;
  group: true;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(59,158,255,0.2);
}
.sc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.55s;
}
.service-card:hover .sc-bg { opacity: 1; }
.sc-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.9) 0%, rgba(10,20,40,0.5) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.55s;
}
.service-card:hover .sc-hover-overlay { opacity: 1; }
.sc-icon {
  position: relative;
  z-index: 2;
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 2rem 2rem 1.2rem;
  transition: background 0.4s;
}
.service-card:hover .sc-icon { background: rgba(59,158,255,0.3); }
.sc-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 2rem;
  transition: color 0.4s;
}
.sc-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
  transition: color 0.4s;
}
.service-card:hover .sc-content h3 { color: var(--white); }
.sc-content p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--grey);
  margin-bottom: 1.5rem;
  transition: color 0.4s;
}
.service-card:hover .sc-content p { color: rgba(255,255,255,0.7); }
.sc-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--blue);
  transition: gap 0.3s, color 0.3s;
}
.service-card:hover .sc-link { color: #82CAFF; gap: 0.7rem; }
.sc-link span { transition: transform 0.3s; }
.sc-link:hover span { transform: translateX(4px); }



/* ── 3D CAROUSEL ─────────────────────────────────────────────── */
.carousel-section {
  padding: 7rem 0 9rem;
  background: var(--off-white);
  overflow: hidden;
}

/* Заголовок */
.carousel-header {
  text-align: center;
  margin-bottom: 4rem;
}
.carousel-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .8rem;
}
.carousel-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}
.carousel-title em {
  font-style: italic;
  color: var(--blue);
}

/* Карусель */
.carousel-wrap {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.c-card {
  position: absolute;
  width: 260px;
  height: 380px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(10,30,80,.15);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: none;
}
.c-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  pointer-events: none;
  user-select: none;
}
.c-card:hover img { transform: scale(1.05); }

/* Кнопки */
.c-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(10,30,80,.08);
  cursor: none;
}
.c-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(59,158,255,.2);
  transform: translateY(-50%) scale(1.08);
}
.c-prev { left: 5vw; }
.c-next { right: 5vw; }

/* Dots */
.c-dots {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
}
.c-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grey-light);
  transition: all 0.3s;
  cursor: none;
}
.c-dot.active {
  background: var(--blue);
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .carousel-wrap { height: 420px; }
  .c-card { width: 200px; height: 300px; }
  .c-prev { left: 1rem; }
  .c-next { right: 1rem; }
}


/* ── ЧИСТОТА КЛИНИКИ ─────────────────────────────────────────── */
.clean-section {
  padding: 7rem 0;
  background: var(--white);
}
.clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Фото */
.clean-photo {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}
.clean-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(10,30,80,.12);
}
.clean-badge {
  position: absolute;
  bottom: -1.2rem;
  right: -1.2rem;
  background: white;
  border-radius: 14px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  box-shadow: 0 12px 40px rgba(10,30,80,.1);
  border: 1px solid rgba(59,158,255,.12);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.clean-badge svg {
  flex-shrink: 0;
  background: var(--blue-light);
  border-radius: 8px;
  padding: 3px;
  width: 28px; height: 28px;
}

/* Текст */
.clean-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey);
  margin-bottom: 1.1rem;
}
.clean-items {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.clean-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1.2rem;
  background: var(--off-white);
  border-radius: 12px;
  border: 1px solid var(--grey-light);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color .3s, background .3s;
}
.clean-item:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
.ci-icon {
  width: 32px; height: 32px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s;
}
.clean-item:hover .ci-icon { background: var(--blue); }
.clean-item:hover .ci-icon svg path { stroke: white; }

@media (max-width: 768px) {
  .clean-grid { grid-template-columns: 1fr; gap: 3rem; }
  .clean-badge { right: 1rem; bottom: -1rem; }
}



/* ── DOCTORS ─────────────────────────────────────────────────────── */
.doctors {
  padding: 7rem 0;
  background: var(--off-white);
}
.doctors-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--grey-light);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.45s;
}
.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(59, 158, 255, 0.18);
}
.dc-photo-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.dc-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.doctor-card:hover .dc-photo-wrap img {
  transform: scale(1.07);
}
.dc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 30, 80, 0.75) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  transition: opacity 0.4s;
}
.doctor-card:hover .dc-overlay { opacity: 1; }
.dc-overlay-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.dc-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dc-spec {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.dc-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  margin-top: 0.2rem;
}
.dc-exp {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 0.1rem;
}
.dc-exp-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}
.dc-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.3s, letter-spacing 0.3s;
  gap: 0.3rem;
}
.dc-btn:hover {
  gap: 0.6rem;
  letter-spacing: 0.02em;
}

@media (max-width: 1024px) {
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .doctors-grid { grid-template-columns: 1fr; }
}




/* ── АДМИНИСТРАТОР ───────────────────────────────────────────── */
.admin-section {
  padding: 7rem 0;
  background: var(--off-white);
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Фото */
.admin-photo {
  position: relative;
}
.admin-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(10,30,80,.12);
}
.admin-badge {
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: white;
  border-radius: 100px;
  padding: .9rem 1.6rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 12px 40px rgba(10,30,80,.1);
  border: 1px solid rgba(59,158,255,.12);
}
.ab-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  animation: abPulse 2s infinite;
  flex-shrink: 0;
}
@keyframes abPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Текст */
.admin-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.admin-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: .6rem;
}
.admin-name em {
  font-style: italic;
  color: var(--blue);
}
.admin-role {
  font-size: .92rem;
  color: var(--grey);
  margin-bottom: 2rem;
  font-weight: 400;
}
.admin-desc {
  font-size: 1rem;
  line-height: 1.88;
  color: var(--grey);
  margin-bottom: 1rem;
}

/* Качества */
.admin-qualities {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.aq-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--grey-light);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.aq-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 24px rgba(59,158,255,.12);
  transform: translateX(6px);
}
.aq-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s;
}
.aq-item:hover .aq-icon { background: rgba(59,158,255,.2); }
.aq-title {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .2rem;
}
.aq-sub {
  font-size: .8rem;
  color: var(--grey);
}

@media (max-width: 768px) {
  .admin-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .admin-section { padding: 5rem 0; }
}




/* ── ПОЧЕМУ ВЫБИРАЮТ НАС ───────────────────────────────────────────────── */
.whyus-section {
  padding: 8rem 0;
  background: var(--white);
}

/* Заголовок */
.whyus-header {
  text-align: center;
  margin-bottom: 6rem;
}
.whyus-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.whyus-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}
.whyus-title em {
  font-style: italic;
  color: var(--blue);
}
.whyus-sub {
  font-size: 1rem;
  color: var(--grey);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Строки блоков */
.whyus-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 7rem;
}
.whyus-row:last-child { margin-bottom: 0; }

/* Чётные — фото справа */
.whyus-row-reverse .whyus-photo { order: 2; }
.whyus-row-reverse .whyus-text  { order: 1; }

/* Фото */
.whyus-photo {
  position: relative;
}
.whyus-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(10,30,80,.12);
  transition: transform 6s ease-out;
}
.whyus-photo:hover img { transform: scale(1.03); }

/* Большой номер на фото */
.whyus-num {
  position: absolute;
  top: -2rem;
  left: -1.5rem;
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(59,158,255,.07);
  pointer-events: none;
  user-select: none;
}

/* Текст */
.whyus-item-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.whyus-item-title em {
  font-style: italic;
  color: var(--blue);
}
.whyus-desc {
  font-size: 1rem;
  line-height: 1.88;
  color: var(--grey);
  margin-bottom: 1rem;
}
.whyus-quote {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--blue);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  opacity: .75;
}

@media (max-width: 900px) {
  .whyus-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .whyus-row-reverse .whyus-photo { order: 0; }
  .whyus-row-reverse .whyus-text  { order: 0; }
  .whyus-num { font-size: 6rem; top: -1rem; left: -.5rem; }
  .whyus-section { padding: 5rem 0; }
  .whyus-header { margin-bottom: 3.5rem; }
  .whyus-row { margin-bottom: 4rem; }
}



/* ── INNOVATIONS ─────────────────────────────────────────────────── */
.innovations {
  padding: 7rem 0;
  background: var(--white);
}
.innov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.innov-list {
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.innov-list li {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.95rem; color: var(--text);
}
.innov-bullet {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2px solid var(--blue);
  flex-shrink: 0;
}
.innov-card-stack { position: relative; height: 380px; }
.ic-card {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ic-card-back {
  bottom: 0; left: 5%; right: 5%;
  height: 340px;
  background: linear-gradient(135deg, #c8e0ff, #e8f3ff);
  transform: rotate(3deg);
}
.ic-card-mid {
  bottom: 12px; left: 3%; right: 3%;
  height: 350px;
  background: linear-gradient(135deg, var(--blue-light), #d0e8ff);
  transform: rotate(1.5deg);
}
.ic-card-front {
  bottom: 24px; left: 0; right: 0;
  height: 360px;
  box-shadow: 0 20px 60px rgba(10,30,80,0.15);
}
.ic-card-front img {
  width: 100%; height: 100%; object-fit: cover;
}
.ic-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.95);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  backdrop-filter: blur(8px);
}


.innov-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2f80ed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}


.innov-bullet::after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}





/* ── PROCESS ─────────────────────────────────────────────────────── */
.process {
  padding: 7rem 0;
  background: var(--off-white);
}
.process-track { margin-top: 3.5rem; position: relative; }
.process-line-bg {
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: var(--grey-light);
}
.process-line-fill {
  position: absolute;
  top: 28px; left: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), #82CAFF);
  width: 0;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}
.ps-item { text-align: center; padding-top: 0; }
.ps-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--grey);
  transition: all 0.5s;
  position: relative;
  z-index: 2;
}
.ps-item.active .ps-circle {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 0 0 8px rgba(59,158,255,0.15);
}
.ps-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.ps-content p { font-size: 0.82rem; line-height: 1.6; color: var(--grey); }

/* ── REVIEWS ─────────────────────────────────────────────────────── */
.reviews {
  padding: 7rem 0;
  background: var(--white);
  overflow: hidden;
}
.reviews .container { text-align: center; }
.reviews-marquee-wrap {
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
}
.reviews-marquee-wrap::before,
.reviews-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.reviews-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.reviews-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}
.reviews-track {
  display: flex;
  gap: 1.5rem;
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: var(--r-lg);
  padding: 2rem;
  color: var(--white);
  position: relative;
}
.rc-stars {
  color: #FFD700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.review-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.rc-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.rc-rating {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}



/* ── БЛОГ ────────────────────────────────────────────────────── */
.blog-section {
  padding: 7rem 0;
  background: var(--white);
}

/* Заголовок */
.blog-header {
  text-align: center;
  margin-bottom: 4rem;
}
.blog-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .8rem;
}
.blog-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500; color: var(--text);
  margin-bottom: .8rem;
}
.blog-title em { font-style: italic; color: var(--blue); }
.blog-sub {
  font-size: .95rem; color: var(--grey);
  max-width: 420px; margin: 0 auto; line-height: 1.7;
}

/* Сетка — большая слева + 2 справа */
.blog-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}
.blog-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Карточка */
.blog-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: none;
}

/* Фото враппер */
.blog-img {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}
.blog-card-big .blog-img { height: 520px; }
.blog-col .blog-card .blog-img { height: 248px; }

.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.blog-card:hover .blog-img img { transform: scale(1.07); }

/* Тёмный градиент поверх фото */
.blog-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,13,20,.92) 0%,
    rgba(8,13,20,.5) 45%,
    rgba(8,13,20,.1) 100%
  );
  transition: opacity .4s;
}

/* Тег */
.blog-tag {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  background: var(--blue);
  color: white;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  z-index: 2;
}

/* Контент внутри карточки поверх фото */
.blog-inner-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem;
  z-index: 2;
  transform: translateY(8px);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.blog-card:hover .blog-inner-content { transform: translateY(0); }

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 500;
  line-height: 1.3; color: white;
  margin-bottom: .7rem;
}
.blog-col .blog-card .blog-card-title { font-size: 1.1rem; }

.blog-card-desc {
  font-size: .85rem; line-height: 1.7;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Кнопка подробнее */
.blog-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .85rem; font-weight: 600;
  color: var(--blue);
  transition: gap .3s;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s, transform .4s, gap .3s;
}
.blog-card:hover .blog-more {
  opacity: 1;
  transform: translateY(0);
}
.blog-more:hover { gap: .75rem; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-big .blog-img { height: 360px; }
  .blog-col .blog-card .blog-img { height: 240px; }
  .blog-section { padding: 5rem 0; }
  .blog-more { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .blog-card-big .blog-img { height: 300px; }
}



/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq {
  padding: 7rem 0;
  background: var(--white);
}
.faq-list {
  margin-top: 3rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border-bottom: 1px solid var(--grey-light);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--grey);
}
.faq-item.open .faq-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-a p {
  padding-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--grey);
}

/* ── BOOKING ─────────────────────────────────────────────────────── */
.booking {
  padding: 7rem 0;
  background: var(--dark);
}
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.booking-contacts { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.bc-contact {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.booking-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}
.form-group { margin-bottom: 1.5rem; position: relative; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(59,158,255,0.06);
}
.form-group.error input,
.form-group.error textarea { border-color: #ff6b6b; }
.field-error {
  position: absolute;
  bottom: -1.2rem;
  left: 0;
  font-size: 0.75rem;
  color: #ff6b6b;
  opacity: 0;
  transition: opacity 0.3s;
}
.form-group.error .field-error { opacity: 1; }
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.show { display: block; }
.fs-icon { margin-bottom: 1.5rem; }
.fs-icon svg { display: inline-block; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.form-success p { color: rgba(255,255,255,0.6); }



/* FIX для страницы статьи */
@media (max-width: 1100px) {
  .booking-inner {
    grid-template-columns: 1fr;
  }
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 4rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.footer-brand .logo-text { color: var(--white); }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.social-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59,158,255,0.1);
}
.footer-nav-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}
.footer-nav-col a,
.footer-nav-col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.7rem;
  line-height: 1.5;
  transition: color 0.3s;
}
.footer-nav-col a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}


/* === LOGO IMAGE === */
.logo-img{
  height: 60px;      /* размер логотипа */
  width: auto;
  display: block;
}




/* ===== FOOTER ADAPTIVE ===== */

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}



/* Убрать лишний отступ после блога */
.blog-section {
  padding-bottom: 4rem;
}

.c-dots {
  position: absolute;
  bottom: -1rem;
}



@media (max-width: 768px) {
  .blog-section {
    padding-bottom: 3rem;
  }
  .faq {
    padding-top: 3rem;
  }
}

@media (max-width: 768px) {
  .whyus-num {
    display: none;
  }
}


@media (max-width: 768px) {
  .whyus-num { display: none; }
  .whyus-photo img { aspect-ratio: 4/3; }
  .whyus-row { margin-bottom: 2rem; }
  .whyus-section { padding: 3rem 0; }
  .innovations { padding-top: 2rem; }
}



/* ── Magnetic button base ────────────────────────────────────────── */
.magnetic { transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .innov-grid, .booking-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .about-card-float { right: 1rem; bottom: -1rem; }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .header-phone, .lang-switcher, .btn-header { display: none; }
  .burger { display: flex; }
  .services-grid, .why-grid, .blog-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
  .process-line-bg, .process-line-fill { display: none; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .care-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-actions{
   flex-direction: column;
  gap: 16px;   /* ← расстояние между кнопками на мобилке */
}
  .hero-actions .btn-primary, .hero-actions .btn-outline { text-align: center; justify-content: center; }
  .innov-card-stack { height: 260px; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section-title { font-size: 1.8rem; }
  .counters-grid { grid-template-columns: 1fr; }
  .ipad-outer { padding: 10px 10px 40px; }
}


@media (max-width: 768px) {
  .dc-photo-wrap {
    min-height: unset;
    height: auto;
  }
  .dc-photo-wrap img {
    min-height: 200px;
    object-fit: cover;
  }
  .doctors-grid {
    gap: 1rem;
  }
  .doctors {
    padding: 4rem 0;
  }
}


@media (max-width: 768px) {
  .admin-section {
    padding: 3rem 0;
  }
  .admin-grid {
    gap: 2rem;
  }
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited {
  color: var(--white) !important;
  text-decoration: none !important;
}


.single-img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* ================================================================
   3D DOCTOR CARDS — карточки врачей наклоняются 💎
   ================================================================ */
.doctor-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.dc-photo-wrap {
  transform-style: preserve-3d;
  will-change: transform;
}
.doctor-card img,
.dc-photo-wrap img {
  transition: transform 0.3s ease;
}

/* ================================================================
   SCROLL PARALLAX — плавное движение фото 🌊
   ================================================================ */
.whyus-photo img,
.innov-visual img,
.about-visual img,
.admin-photo img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ================================================================
   LENIS — отключаем стандартный scroll-behavior
   ================================================================ */
html {
  scroll-behavior: auto !important;
}

.innovations {
  overflow: hidden;
}

.innov-grid {
  overflow: hidden;
}

.innov-card-stack {
  overflow: hidden;
}


@media (max-width: 768px) {
  .mobile-nav .btn-primary {
    width: auto;
    align-self: flex-start;
    padding: 0.65rem 1.8rem;
    font-size: 0.85rem;
  }
}

.mobile-lang {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-light);
  margin-top: 0.5rem;
}
.mobile-lang .lang-btn {
  color: var(--grey);
  font-size: 0.85rem;
  font-weight: 600;
}
.mobile-lang .lang-btn.active {
  color: var(--blue);
}


.hero {
  overflow: hidden;
}

.hero-bg {
  height: 130%;
  top: -15%;
}

/* ================================================================
   BOOKING SECTION — новая форма записи
   ================================================================ */
.bk-section {
  background: #080D14;
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.bk-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,158,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.bk-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.bk-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
.bk-title em { font-style: italic; color: var(--blue); }
.bk-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.bk-contacts { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }
.bk-contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.bk-contact-icon {
  width: 36px; height: 36px;
  background: rgba(59,158,255,0.1);
  border: 1px solid rgba(59,158,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.bk-contact-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .25rem;
}
.bk-contact-val { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6; }
.bk-quick { display: flex; gap: .75rem; flex-wrap: wrap; }
.bk-quick-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.4rem; border-radius: 100px;
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.bk-quick-btn:hover { transform: translateY(-2px); }
.bk-quick-wa { background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.25); color: #25D366; }
.bk-quick-wa:hover { box-shadow: 0 4px 20px rgba(37,211,102,0.2); }
.bk-quick-tg { background: rgba(59,158,255,0.1); border: 1px solid rgba(59,158,255,0.2); color: var(--blue); }
.bk-quick-tg:hover { box-shadow: 0 4px 20px rgba(59,158,255,0.2); }

.bk-form-wrap {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: 2.5rem;
}
.bk-form-header { margin-bottom: 1.8rem; }
.bk-form-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(59,158,255,0.1); border: 1px solid rgba(59,158,255,0.2);
  border-radius: 100px; padding: .4rem 1rem;
  font-size: .78rem; font-weight: 600; color: var(--blue); letter-spacing: .06em;
}
.bk-form { display: flex; flex-direction: column; gap: 1.1rem; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bk-field { display: flex; flex-direction: column; gap: .45rem; }
.bk-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
.bk-input {
  width: 100%; padding: .9rem 1.2rem;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 12px;
  font-family: var(--font-body); font-size: .9rem; color: white;
  outline: none; transition: border-color .3s, background .3s;
  box-sizing: border-box;
}
.bk-input:focus { border-color: var(--blue); background: rgba(59,158,255,.05); }
.bk-input::placeholder { color: rgba(255,255,255,.25); }
.bk-select-wrap { position: relative; }
.bk-select { appearance: none; cursor: pointer; padding-right: 2.5rem; }
.bk-select option { background: #10192A; color: white; }
.bk-select-arrow {
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); pointer-events: none;
}
.bk-textarea { resize: vertical; min-height: 90px; }
.bk-submit {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.1rem 2rem; background: var(--blue); color: white;
  border: none; border-radius: 100px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  cursor: pointer; box-shadow: 0 6px 28px rgba(59,158,255,.35);
  transition: background .3s, transform .3s, box-shadow .3s; margin-top: .4rem;
}
.bk-submit:hover { background: #1A6FCC; transform: translateY(-2px); box-shadow: 0 10px 36px rgba(59,158,255,.45); }
.bk-success {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.2rem;
  background: rgba(59,158,255,.08); border: 1px solid rgba(59,158,255,.2);
  border-radius: 12px; color: var(--blue); font-size: .88rem;
}
.bk-note { font-size: .72rem; color: rgba(255,255,255,.2); text-align: center; line-height: 1.5; }

@media (max-width: 900px) {
  .bk-container { grid-template-columns: 1fr !important; gap: 3rem; }
  .bk-section { padding: 5rem 1.5rem; }
}
@media (max-width: 480px) {
  .bk-row { grid-template-columns: 1fr !important; }
  .bk-form-wrap { padding: 1.8rem 1.25rem; }
  .bk-section { padding: 4rem 1.25rem; }
}


/* ================================================================
   HEALING SECTION — «О клинике» блок
   ================================================================ */
.healing {
  padding: 8rem 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.healing-topline, .healing-bottomline {
  position: absolute; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
}
.healing-topline { top: 0; opacity: .2; }
.healing-bottomline { bottom: 0; opacity: .12; }
.healing-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 6rem; align-items: center;
}
.healing-photo { position: relative; }
.photo-wrap {
  position: relative; border-radius: 32px; overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 80px rgba(10,30,80,.14), 0 0 0 1px rgba(59,158,255,.08);
}
.photo-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  animation: photoZoom 12s ease-in-out infinite alternate;
}
@keyframes photoZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.photo-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,13,20,.45) 0%, transparent 60%);
}
.photo-caption {
  position: absolute; bottom: 2rem; left: 2rem; right: 2rem; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.pc-text {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.75); line-height: 1.4; max-width: 200px;
}
.deco-line {
  position: absolute; left: -1.5rem; top: 15%; bottom: 15%;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--blue), transparent); opacity: .25;
}
.deco-dots { position: absolute; bottom: -2rem; left: -2rem; width: 80px; height: 80px; opacity: .12; }
.deco-dots::before, .deco-dots::after { content: ''; position: absolute; border-radius: 50%; background: var(--blue); }
.deco-dots::before { width:80px;height:80px;top:0;left:0; }
.deco-dots::after  { width:40px;height:40px;bottom:-20px;right:-20px; }
.h-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1.2rem;
}
.h-label::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--blue); }
.h-title-wrap { margin-bottom: 2rem; }
.h-title { font-family: var(--font-display); font-size: clamp(2.8rem,4.5vw,4.2rem); font-weight: 300; line-height: 1.05; color: var(--text); display: block; }
.h-title-em { font-family: var(--font-display); font-size: clamp(2.8rem,4.5vw,4.2rem); font-weight: 300; font-style: italic; line-height: 1.05; color: var(--blue); display: block; }
.h-rule { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.h-rule-line { flex: 1; height: 1px; background: var(--grey-light); }
.h-rule-dot { width:6px; height:6px; border-radius:50%; background:var(--blue); flex-shrink:0; }
.h-p { font-size: 1rem; line-height: 1.95; color: var(--grey); margin-bottom: 1.2rem; }
.h-quote {
  margin: 2.2rem 0; padding: 1.8rem 2rem;
  background: var(--off-white); border-left: 3px solid var(--blue);
  border-radius: 0 18px 18px 0;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; font-style: italic;
  color: var(--text); line-height: 1.6; position: relative;
}
.h-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; margin-top: 2.5rem; }
.h-stat {
  padding: 1.4rem 1rem; background: var(--off-white); border-radius: 18px;
  border: 1px solid var(--grey-light); text-align: center;
  transition: border-color .35s, transform .35s, background .35s;
}
.h-stat:hover { border-color: var(--blue); background: var(--blue-light); transform: translateY(-5px); }
.hs-num { font-family:var(--font-display); font-size:2.2rem; font-weight:500; color:var(--blue); line-height:1; margin-bottom:.3rem; }
.hs-label { font-size:.75rem; color:var(--grey); }
.rev   { opacity:0; transform:translateY(40px); transition:opacity 1s cubic-bezier(.25,.46,.45,.94), transform 1s; }
.rev-l { opacity:0; transform:translateX(-50px); transition:opacity 1s cubic-bezier(.25,.46,.45,.94), transform 1s; }
.rev-r { opacity:0; transform:translateX(50px); transition:opacity 1s cubic-bezier(.25,.46,.45,.94), transform 1s; }
.rev.show, .rev-l.show, .rev-r.show { opacity:1; transform:none; }
.d1{ transition-delay:.15s; } .d2{ transition-delay:.3s; } .d3{ transition-delay:.45s; }
@media(max-width:960px) { .healing-grid { grid-template-columns:1fr; gap:4rem; } .healing { padding:5rem 0; } }
@media(max-width:520px) { .h-stats { grid-template-columns:1fr 1fr; } }


/* ── МОБИЛЬНЫЙ ФИХ ФУТЕРА ── */
@media (max-width: 768px) {
  .footer-phones {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .footer-phones a {
    word-break: break-all;
  }
  .footer-nav-col p,
  .footer-nav-col a {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .footer-top {
    overflow: hidden;
  }
  .footer {
    overflow-x: hidden;
  }
}
