*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Палитра: глубокий изумрудно-хвойный + тёплый кремовый + золото (премиальная мед.) */
  --green: #1f7a52;
  --green-dark: #155f3f;
  --green-darker: #0e3825;
  --green-deepest: #061a10;
  --teal: #0b4034;
  --gold: #b89760;
  --gold-soft: #cbb486;
  --green-soft: #e7f1ea;
  --beige: #e7d9bd;
  --beige-soft: #f4ecdb;
  --cream: #f8f4ec;
  --white: #ffffff;
  --text: #1c2a22;
  --muted: #66776c;
  --line: rgba(14,56,37,0.13);
  --shadow: 0 18px 50px rgba(14,56,37,0.16);
  /* RGB-триплеты для крупных градиентов (переключаются темой) */
  --rgb-deepest: 6,26,16; --rgb-teal: 11,64,52; --rgb-dark: 14,56,37; --rgb-green: 31,122,82;
}
/* ===== ВАРИАНТЫ СТИЛЯ (выбор палитры клиентом) ===== */
html[data-theme="pine"] {
  --green:#127a6c; --green-dark:#0e5c51; --green-darker:#093f38; --green-deepest:#03201d;
  --teal:#0a4a43; --gold:#b3936a; --gold-soft:#c9b48f; --green-soft:#e3f0ee;
  --beige:#dcd7c2; --beige-soft:#eef0ea; --cream:#f2f4f1; --text:#162622; --muted:#5f746f;
  --line:rgba(9,63,56,0.13); --shadow:0 18px 50px rgba(9,63,56,0.16);
  --rgb-deepest:3,32,29; --rgb-teal:10,74,67; --rgb-dark:12,60,54; --rgb-green:18,122,108;
}
html[data-theme="sage"] {
  --green:#4f7d50; --green-dark:#3c6140; --green-darker:#2a452e; --green-deepest:#16271a;
  --teal:#3a6147; --gold:#c0a35f; --gold-soft:#d3bd86; --green-soft:#eaf1e6;
  --beige:#e7dcbe; --beige-soft:#f5efdf; --cream:#f8f4ea; --text:#232c20; --muted:#6c7663;
  --line:rgba(42,69,46,0.13); --shadow:0 18px 50px rgba(42,69,46,0.15);
  --rgb-deepest:22,39,26; --rgb-teal:42,69,46; --rgb-dark:42,69,46; --rgb-green:79,125,80;
}
html[data-theme="forest"] {
  --green:#1b6e49; --green-dark:#0f4530; --green-darker:#0a2c1f; --green-deepest:#04130d;
  --teal:#0a3a30; --gold:#c0883f; --gold-soft:#d3a566; --green-soft:#e6efe9;
  --beige:#e3d6b8; --beige-soft:#f3ecda; --cream:#f7f2e8; --text:#19271f; --muted:#647469;
  --line:rgba(10,44,31,0.14); --shadow:0 18px 50px rgba(10,44,31,0.18);
  --rgb-deepest:4,19,13; --rgb-teal:10,58,48; --rgb-dark:10,44,31; --rgb-green:27,110,73;
}
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--cream); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, .brand { font-family: 'Manrope', sans-serif; }

/* ---------- АНИМАЦИИ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,246,238,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s, background .3s, height .3s;
}
nav.scrolled { box-shadow: 0 8px 30px rgba(31,98,67,0.1); height: 64px; background: rgba(250,246,238,0.96); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-dark); }
.nav-logo-icon {
  height: 40px; padding: 0 11px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.logo-mono { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.02rem; letter-spacing: 0.03em; line-height: 1; }
.logo-spine { color: var(--gold-soft); opacity: 0.95; }
.nav-logo b { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.08rem; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.86rem; font-weight: 600; position: relative; transition: color .2s; }
.nav-links a::after { content:''; position:absolute; left:0; bottom:-6px; height:2px; width:0; background:var(--green); transition: width .25s; }
.nav-links a:hover { color: var(--green); } .nav-links a:hover::after { width:100%; }
.nav-cta {
  position: relative; overflow: hidden;
  background: var(--green); color: #fff; padding: 11px 24px; border-radius: 50px;
  text-decoration: none; font-size: 0.85rem; font-weight: 700; transition: background .2s, transform .2s, box-shadow .2s;
}
.nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(31,98,67,0.35); }

/* ---------- БЛОК 1: HERO ---------- */
.hero {
  position: relative; min-height: 86vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 90px 24px; color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(150deg, rgba(var(--rgb-deepest),0.95) 0%, rgba(var(--rgb-teal),0.88) 42%, rgba(var(--rgb-dark),0.82) 72%, rgba(var(--rgb-green),0.64) 100%),
    url('/img/team.jpg') center 30%/cover no-repeat;
  transform: scale(1.08); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero-eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; margin-bottom: 22px; opacity:0; animation: fadeUp .8s .2s forwards; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.14; margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0,0,0,0.3); opacity:0; animation: fadeUp .9s .35s forwards; }
.hero h1 em { font-style: normal; color: var(--beige); }
.hero-slogan { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 500; color: rgba(255,255,255,0.92); max-width: 640px; margin: 0 auto 26px; opacity:0; animation: fadeUp .9s .5s forwards; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 660px; margin: 0 auto 38px; opacity:0; animation: fadeUp .9s .58s forwards; }
.hero-tags li { font-size: 0.82rem; font-weight: 600; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); padding: 8px 16px; border-radius: 50px; backdrop-filter: blur(4px); }
.hero-cta-wrap { opacity:0; animation: fadeUp .9s .7s forwards; }
@keyframes fadeUp { from { opacity:0; transform: translateY(26px);} to { opacity:1; transform:none; } }
.btn-primary {
  position: relative; overflow: hidden;
  display: inline-block; background: var(--white); color: var(--green-dark);
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.05rem;
  padding: 18px 46px; border-radius: 50px; text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 12px 36px rgba(0,0,0,0.28); transition: transform .2s, box-shadow .2s;
  animation: ctaBreathe 3s ease-in-out infinite;
}
/* мягкое «дыхание» — белое свечение вокруг кнопки (видно на тёмном фоне) */
@keyframes ctaBreathe {
  0%, 100% { box-shadow: 0 12px 36px rgba(0,0,0,0.28), 0 0 0px 0px rgba(255,255,255,0.0); }
  50%      { box-shadow: 0 14px 40px rgba(0,0,0,0.30), 0 0 26px 5px rgba(255,255,255,0.42); }
}
/* сдержанный блик — лёгкий зеленоватый, виден на белой кнопке */
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: 0; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(21,95,63,0.22) 50%, transparent 100%);
  pointer-events: none; will-change: transform;
  transform: translateX(-220%) skewX(-20deg);
  animation: ctaShine 4.5s ease-in-out infinite;
}
@keyframes ctaShine { 0%, 68% { transform: translateX(-220%) skewX(-20deg); } 86%, 100% { transform: translateX(300%) skewX(-20deg); } }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(0,0,0,0.35); animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .btn-primary, .btn-primary::after { animation: none; } }
/* лёгкая анимация остальных кнопок записи (зелёный пульс-свечение) */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 6px 18px rgba(var(--rgb-green),0.28); }
  50%      { box-shadow: 0 8px 24px rgba(var(--rgb-green),0.32), 0 0 0 5px rgba(var(--rgb-green),0.12); }
}
.nav-cta, .more-link, .form-submit { animation: ctaGlow 3.4s ease-in-out infinite; }
.nav-cta:hover, .more-link:hover, .form-submit:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .nav-cta, .more-link, .form-submit { animation: none; } }

/* Шапка: кнопка записи чуть заметнее — мягкий пульс свечения + редкий блик */
.nav-cta { animation: navPulse 3s ease-in-out infinite; }
.nav-cta::after {
  content: ""; position: absolute; top: 0; left: -65%; width: 48%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); pointer-events: none;
  animation: navShine 4.8s ease-in-out infinite;
}
.nav-cta:hover::after { animation-play-state: paused; }
@keyframes navPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(var(--rgb-green),0.30); }
  50%      { box-shadow: 0 10px 26px rgba(var(--rgb-green),0.42), 0 0 0 6px rgba(var(--rgb-green),0.12); }
}
@keyframes navShine {
  0%        { left: -65%; }
  60%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) { .nav-cta::after { display: none; } }
.scroll-hint { position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:1; color:rgba(255,255,255,0.7); animation: bob 2s infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ---------- БЕГУЩАЯ СТРОКА ---------- */
.marquee { background: var(--green-dark); color: #fff; overflow: hidden; white-space: nowrap; padding: 16px 0; }
.marquee-track { display: inline-block; padding-left: 100%; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-weight: 600; font-size: 0.95rem; }
.marquee span b { color: var(--gold-soft); margin: 0 22px; font-weight: 700; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ---------- ОБЩИЕ СЕКЦИИ ---------- */
section.block { padding: 96px 40px; }
.block-inner { max-width: 1160px; margin: 0 auto; }
.section-label { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: 12px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.22; margin-bottom: 16px; color: var(--text); }
.section-sub { color: var(--muted); font-size: 1.02rem; max-width: 580px; line-height: 1.7; margin-bottom: 52px; }
.center { text-align: center; } .center .section-sub, .section-sub.center { margin-left: auto; margin-right: auto; }
.bg-white { background: var(--white); } .bg-beige { background: var(--beige-soft); }
.bg-green { background: linear-gradient(160deg, var(--green-dark) 0%, var(--teal) 55%, var(--green-deepest) 100%); color: #fff; }

/* ---------- БЛОК 2: ПРОБЛЕМЫ (фото вместо эмодзи) ---------- */
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.problem-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.problem-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 0.86rem; color: var(--green); transition: gap .25s; }
.problem-card:hover .problem-link { gap: 12px; }
.problem-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.problem-photo { height: 190px; overflow: hidden; }
.problem-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.problem-card:hover .problem-photo img { transform: scale(1.08); }
.problem-body { padding: 26px 28px 30px; }
.problem-body h3 { font-weight: 800; font-size: 1.12rem; margin-bottom: 8px; }
.problem-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.problems-more { display: flex; justify-content: center; margin-top: 44px; }
.more-link {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--green); color: #fff; font-weight: 700; font-size: 1rem;
  padding: 16px 38px; border-radius: 50px; transition: gap .25s, background .25s, box-shadow .25s;
}
.more-link:hover { gap: 18px; background: var(--green-dark); box-shadow: 0 10px 28px rgba(31,98,67,0.3); }

/* ---------- БЛОК 3: ПАРАЛЛАКС «КАК ПРОХОДИТ ЛЕЧЕНИЕ» ---------- */
.parallax { position: relative; color: #fff; overflow: hidden; }
.parallax-bg { position: absolute; inset: 0; z-index: 0; }
.pslide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-attachment: fixed; opacity: 0; transform: scale(1.06);
  transition: opacity .9s ease, transform 1.2s ease;
}
.pslide.active { opacity: 1; transform: scale(1); }
.parallax-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(var(--rgb-deepest),0.94) 0%, rgba(var(--rgb-teal),0.74) 50%, rgba(var(--rgb-dark),0.42) 100%); }
.parallax--even .parallax-overlay { background: linear-gradient(160deg, rgba(var(--rgb-deepest),0.95) 0%, rgba(var(--rgb-teal),0.86) 100%); }
.parallax-inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 100px 40px; }
.parallax .section-label { color: var(--gold-soft); }
.parallax h2 { color: #fff; margin-bottom: 40px; }
.psteps { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 680px; }
.pstep {
  display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: flex-start;
  padding: 22px 26px; border-radius: 18px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  transition: background .35s, border-color .35s, transform .35s, box-shadow .35s;
}
.pstep:hover, .pstep.active { background: rgba(255,255,255,0.14); border-color: var(--beige); transform: translateX(8px); box-shadow: 0 14px 40px rgba(0,0,0,0.25); }
.pstep-num {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.2rem;
  background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.3);
  transition: background .35s, color .35s, transform .35s, border-color .35s;
}
.pstep:hover .pstep-num, .pstep.active .pstep-num { background: var(--beige); color: var(--green-darker); border-color: var(--beige); transform: scale(1.1); }
.pstep-text h3 { font-weight: 800; font-size: 1.12rem; margin-bottom: 6px; }
.pstep-text p { font-size: 0.92rem; color: rgba(255,255,255,0.82); line-height: 1.6; }
.course-highlight { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.course-tag { background: var(--beige); color: var(--green-darker); font-weight: 700; font-size: 0.8rem; padding: 6px 14px; border-radius: 50px; }
.parallax-hint { margin-top: 26px; font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ---------- БЛОК 4: ВРАЧИ (реальные/стоковые фото) ---------- */
.doctors-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.doctor-card { flex: 1 1 300px; max-width: 340px; }
/* Алексеев — в центр верхнего ряда (его фото отличается по стилю), Игнатова слева */
.doctors-grid .d1 { order: 2; } .doctors-grid .d2 { order: 1; }
.doctors-grid .d3 { order: 3; } .doctors-grid .d4 { order: 4; } .doctors-grid .d5 { order: 5; }
.doctor-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.doctor-photo { height: 330px; overflow: hidden; background: var(--green-soft); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s cubic-bezier(.2,.7,.2,1); filter: saturate(1.02); }
.doctor-card:hover .doctor-photo img { transform: scale(1.06); }
.doctor-info { padding: 24px; }
.doctor-info h3 { font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.doctor-spec { font-size: 0.76rem; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.doctor-exp { font-size: 0.74rem; font-weight: 700; color: var(--green-dark); background: var(--green-soft); display: inline-block; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.doctor-info p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.doctor-spec { line-height: 1.45; }
.doctor-bio { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.doctor-bio > summary { cursor: pointer; list-style: none; color: var(--green-dark); font-weight: 800; font-size: 0.8rem; font-family:'Manrope',sans-serif; display: inline-flex; align-items: center; gap: 7px; transition: gap .25s, color .2s; }
.doctor-bio > summary::-webkit-details-marker { display: none; }
.doctor-bio > summary::after { content: '+'; font-size: 1.1rem; color: var(--green); line-height: 1; }
.doctor-bio[open] > summary::after { content: '−'; }
.doctor-bio:hover > summary { gap: 11px; color: var(--green); }
.doctor-bio[open] > summary { margin-bottom: 12px; }
.bio-edu { font-size: 0.78rem; color: var(--green-dark); background: var(--green-soft); border-radius: 10px; padding: 10px 13px; line-height: 1.55; margin-bottom: 12px; }
.bio-full p { font-size: 0.83rem; color: var(--muted); line-height: 1.68; margin-bottom: 10px; }
.bio-full p:last-child { margin-bottom: 0; }
.bio-full .bio-life { color: var(--text); }
.bio-full .bio-life::before { content: '✦'; color: var(--green); margin-right: 6px; }
.doctor-photo img { object-position: center 20%; }

/* Ведущий врач — крупная featured-карточка */
.doctor-feature { display: grid; grid-template-columns: 0.82fr 1.18fr; background: var(--white); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 32px; }
.feat-photo { position: relative; min-height: 440px; background: var(--green-soft); overflow: hidden; }
.feat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.doctor-feature:hover .feat-photo img { transform: scale(1.05); }
.feat-photo .feat-badge { position: absolute; left: 22px; bottom: 22px; background: var(--green); color: #fff; font-weight: 700; font-size: 0.78rem; padding: 9px 18px; border-radius: 50px; box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
.feat-info { padding: 44px 46px; display: flex; flex-direction: column; justify-content: center; }
.feat-lead-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: var(--green); background: var(--green-soft); padding: 7px 15px; border-radius: 50px; margin-bottom: 16px; }
.feat-info h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; margin-bottom: 8px; }
.feat-info .doctor-spec { font-size: 0.82rem; margin-bottom: 12px; }
.feat-info .doctor-exp { margin-bottom: 16px; }
.feat-edu { font-size: 0.82rem; color: var(--green-dark); background: var(--green-soft); border-radius: 12px; padding: 12px 16px; line-height: 1.6; margin-bottom: 16px; }
.feat-info .feat-bio p { font-size: 0.9rem; color: var(--muted); line-height: 1.72; margin-bottom: 12px; }
.feat-info .feat-bio p:last-child { margin-bottom: 0; }
.feat-info .feat-bio .bio-life { color: var(--text); }
.feat-info .feat-bio .bio-life::before { content: '✦'; color: var(--green); margin-right: 6px; }

/* О клинике / команда — светлый сплит (фото + кремовая панель) */
.team-split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 58px; align-items: center; }
.team-figure { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.team-figure img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.team-figure:hover img { transform: scale(1.04); }
.team-figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(var(--rgb-deepest),0.42)); }
.team-cap { position: absolute; left: 22px; bottom: 20px; z-index: 2; color: #fff; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 9px; text-shadow: 0 2px 14px rgba(0,0,0,0.35); }
.team-cap svg { color: var(--gold-soft); }
.team-content .section-label { color: var(--green); }
.team-content > p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 32px; max-width: 520px; }
.team-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 480px; }
.team-stat { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold-soft); border-radius: 16px; padding: 18px 20px; transition: box-shadow .3s, transform .3s; }
.team-stat:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.team-stat b { display: block; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--green-dark); }
.team-stat span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 7px; line-height: 1.4; }
@media (max-width: 880px) {
  .team-split { grid-template-columns: 1fr; gap: 34px; }
  .team-figure img { min-height: 320px; }
}
@media (max-width: 760px) {
  .doctor-feature { grid-template-columns: 1fr; }
  .feat-photo { min-height: 360px; }
  .feat-info { padding: 30px 26px; }
}

/* ---------- БЛОК 5: ЧТО МЫ ИСПОЛЬЗУЕМ (SVG-иконки) ---------- */
.services-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.service-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; display: flex; align-items: flex-start; gap: 16px; transition: box-shadow .3s, transform .3s, border-color .3s;
}
.service-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(47,138,95,0.4); }
.service-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green-dark); transition: background .3s, color .3s; }
.service-item:hover .service-ico { background: var(--green); color: #fff; }
.service-ico svg { width: 24px; height: 24px; }
.service-item h3 { font-weight: 800; font-size: 0.96rem; margin-bottom: 4px; }
.service-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ---------- БЛОК 6: ИСТОРИИ ПАЦИЕНТОВ ---------- */
.bg-green .section-label { color: var(--gold-soft); }
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.story { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 22px; padding: 32px; transition: transform .35s, background .35s; }
.story:hover, .story.active { transform: translateY(-6px); background: rgba(255,255,255,0.14); border-color: var(--beige); box-shadow: 0 16px 44px rgba(0,0,0,0.28); }
.story-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.story-ava { width: 50px; height: 50px; border-radius: 50%; background: var(--beige); color: var(--green-darker); display: flex; align-items: center; justify-content: center; font-family:'Manrope'; font-weight: 800; font-size: 1.1rem; flex-shrink:0; }
.story-name { font-weight: 700; font-size: 0.95rem; }
.story-diag { font-size: 0.76rem; color: var(--beige); }
.story p { font-size: 0.92rem; line-height: 1.75; color: rgba(255,255,255,0.9); }
.story .result { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.14); font-weight: 700; font-size: 0.86rem; color: var(--beige); display:flex; align-items:center; gap:8px; }

/* ---------- БЛОК «ЖИЗНЬ КЛИНИКИ» ---------- */
.life-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.life-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.life-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.life-photo { height: 200px; overflow: hidden; position: relative; }
.life-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.life-card:hover .life-photo img { transform: scale(1.07); }
.life-tag { position: absolute; top: 14px; left: 14px; background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 13px; border-radius: 50px; letter-spacing: .03em; }
.life-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.life-date { font-size: 0.74rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.life-body h3 { font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; line-height: 1.3; }
.life-body p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; }
.life-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- БЛОК 7: FAQ ---------- */
.faq-list { max-width: 760px; margin: 52px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1.02rem; cursor: pointer; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--green); flex-shrink: 0; transition: transform .3s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin-top: 14px; }

/* ---------- БЛОК 8: ФОРМА ---------- */
.cta-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cta-text p { color: var(--muted); line-height: 1.7; font-size: 0.98rem; margin-bottom: 26px; }
.cta-phone { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; font-weight: 800; color: var(--green-dark); text-decoration: none; font-family: 'Manrope', sans-serif; }
.cta-addr { margin-top: 12px; font-size: 0.88rem; color: var(--muted); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.form h3 { font-weight: 800; font-size: 1.2rem; margin-bottom: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 12px; font-family: 'Montserrat', sans-serif; font-size: 0.95rem; background: var(--cream); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(47,138,95,0.12); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-submit { width: 100%; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1rem; padding: 16px; border-radius: 50px; border: none; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: 0 8px 26px rgba(31,98,67,0.3); margin-top: 6px; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(31,98,67,0.4); }
.form-note { font-size: 0.74rem; color: var(--muted); text-align: center; margin-top: 12px; }
.form-note a { color: var(--green); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 0.76rem; line-height: 1.55; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--green); cursor: pointer; }
.consent a { color: var(--green); }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; pointer-events: none; }

/* ---------- ЮРИДИЧЕСКИЙ БЛОК ---------- */
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.docs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; font-size: 0.88rem; font-weight: 600; transition: border-color .25s, box-shadow .25s, transform .25s; }
.doc-link:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.doc-link .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; color: var(--green-dark); flex-shrink: 0; }
.doc-link .ic svg { width: 20px; height: 20px; }
.map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); height: 100%; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.schedule { margin-top: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; font-size: 0.9rem; }
.schedule b { color: var(--green-dark); }

/* ---------- FOOTER ---------- */
footer { background: var(--green-darker); color: rgba(255,255,255,0.7); padding: 56px 40px 32px; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand b { font-family: 'Manrope', sans-serif; color: #fff; font-size: 1.15rem; }
.footer-brand p { margin-top: 10px; font-size: 0.86rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.86rem; line-height: 1.9; display: block; }
.footer-col a:hover { color: #fff; }
.requisites { max-width: 1160px; margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.76rem; color: rgba(255,255,255,0.5); line-height: 1.8; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
  nav { padding: 0 20px; } .nav-links { display: none; }
  section.block { padding: 64px 22px; }
  .parallax-inner { padding: 70px 22px; }
  .pslide { background-attachment: scroll; }
  .cta-section { grid-template-columns: 1fr; gap: 36px; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) { .docs-list { grid-template-columns: 1fr; } .form { padding: 28px; } .pstep { grid-template-columns: 46px 1fr; gap: 16px; padding: 18px; } }

/* ===== Подпись разработчика в подвале ===== */
.footer-credit{max-width:1160px;margin:18px auto 0;padding-top:16px;border-top:1px solid rgba(255,255,255,0.12);text-align:center;font-size:.78rem;color:rgba(255,255,255,0.45)}
.footer-credit a{color:rgba(255,255,255,0.6);text-decoration:none;border-bottom:1px solid rgba(255,255,255,0.22);padding-bottom:1px;transition:color .2s,border-color .2s}
.footer-credit a:hover{color:#fff;border-color:rgba(255,255,255,0.6)}
