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

:root {
  --navy:    #0b2545;
  --sky:     #1a73c8;
  --sky-lt:  #e8f2fb;
  --sky-md:  #a8d0f0;
  --mint:    #0fa878;
  --mint-lt: #e5f6f0;
  --white:   #ffffff;
  --gray-50: #f8fafc;
  --gray-100:#f1f5f9;
  --gray-200:#e2e8f0;
  --gray-500:#64748b;
  --gray-700:#334155;
  --gray-900:#0f172a;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-full: 999px;
  --shadow-sm: 0 1px 6px rgba(11,37,69,.07);
  --shadow-md: 0 4px 20px rgba(11,37,69,.10);
  --shadow-lg: 0 12px 40px rgba(11,37,69,.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NAVBAR ──────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .3s, box-shadow .3s;
}
#nav.solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--gray-200);
}
.nav-wrap {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 66px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-badge {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--sky); display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 12px; font-weight: 700; color: #fff;
}
.nav-name {
  font-weight: 600; font-size: 15px; color: var(--navy);
  opacity: 0; transition: opacity .3s; white-space: nowrap;
}
#nav.solid .nav-name { opacity: 1; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 8px 16px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.88); transition: all .2s;
}
#nav.solid .nav-links a { color: var(--gray-700); }
.nav-links a:hover { background: rgba(255,255,255,.15); color: #fff; }
#nav.solid .nav-links a:hover { background: var(--sky-lt); color: var(--sky); }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  background: var(--sky); color: #fff;
  padding: 9px 20px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 500; transition: all .2s;
}
.nav-phone:hover { background: #1460ac; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-phone svg { width: 14px; height: 14px; }

/* ─── HERO ────────────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(140deg, #0b2545 0%, #0e3d72 55%, #1056a0 100%);
  position: relative; overflow: hidden;
}
.hero-dots {
  position: absolute; inset: 0; opacity: .045;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-blob1 {
  position: absolute; top: -15%; right: -12%;
  width: 580px; height: 580px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,115,200,.38) 0%, transparent 70%);
}
.hero-blob2 {
  position: absolute; bottom: -25%; left: -10%;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,168,120,.18) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1120px; margin: 0 auto; padding: 120px 32px 80px;
  display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82); font-size: 13px; font-weight: 500;
  padding: 7px 16px; border-radius: var(--r-full); margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  animation: pulse-anim 2s infinite;
}
@keyframes pulse-anim {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 10px;
}
.hero-spec { font-size: 18px; color: var(--sky-md); margin-bottom: 18px; font-weight: 400; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--r-full); font-size: 12px; font-weight: 500;
}
.chip svg { width: 11px; height: 11px; }
.chip.blue  { background: rgba(26,115,200,.2);  border: 1px solid rgba(26,115,200,.4);  color: #93c5fd; }
.chip.green { background: rgba(15,168,120,.15); border: 1px solid rgba(15,168,120,.35); color: #6ee7b7; }
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.8;
  font-weight: 300; margin-bottom: 38px; max-width: 500px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* shared button */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 500; transition: all .25s; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--sky-lt); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.btn-wa { background: rgba(37,211,102,.15); border: 1px solid rgba(37,211,102,.3); color: #4ade80; }
.btn-wa:hover { background: rgba(37,211,102,.25); transform: translateY(-2px); }
.btn-tg { background: rgba(42,171,238,.15); border: 1px solid rgba(42,171,238,.32); color: #93c5fd; }
.btn-tg:hover { background: rgba(42,171,238,.25); transform: translateY(-2px); }

/* photo side */
.hero-photo-side { display: flex; justify-content: center; }
.photo-ring { position: relative; width: 360px; height: 360px; }
.photo-ring::before,
.photo-ring::after {
  content: ''; position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
}
.photo-ring::before { inset: -18px; }
.photo-ring::after  { inset: -36px; }
.photo-circle {
  width: 360px; height: 360px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18); overflow: hidden;
  background: linear-gradient(160deg, #1464ae 0%, #0d3460 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.doctor-art {
  width: 260px; height: 310px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 28px;
}
.doc-head {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.25); margin-bottom: 8px;
}
.doc-body {
  width: 180px; flex: 1;
  background: rgba(255,255,255,.18); border-radius: 80px 80px 0 0;
  display: flex; align-items: center; justify-content: center;
}
.doc-body svg { opacity: .55; }
.photo-float {
  position: absolute; bottom: 16px; left: -28px;
  background: #fff; border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 12px;
}
.float-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--mint-lt); display: flex; align-items: center; justify-content: center;
}
.float-icon svg { width: 22px; height: 22px; color: var(--mint); }
.float-label { font-size: 11px; color: var(--gray-500); }
.float-value { font-size: 15px; font-weight: 600; color: var(--gray-900); }

/* wave */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

/* ─── SHARED SECTION ──────────────────────────────────── */
section { padding: 96px 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.sec-label {
  font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sky); margin-bottom: 10px;
}
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 600;
  color: var(--navy); line-height: 1.18; margin-bottom: 12px;
}
.sec-sub {
  font-size: 16px; color: var(--gray-500); font-weight: 300;
  line-height: 1.75; max-width: 520px;
}
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin: 0 auto; }

/* ─── ABOUT ───────────────────────────────────────────── */
#about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 18px; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-col { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--sky); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 5px var(--sky-lt);
}
.tl-dot svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.2; }
.tl-line { width: 1px; flex: 1; background: var(--sky-lt); margin-top: 6px; }
.tl-item:last-child .tl-line { display: none; }
.tl-year { font-size: 11px; font-weight: 600; color: var(--sky); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.tl-title { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 3px; }
.tl-sub { font-size: 13px; color: var(--gray-500); }

.certs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.cert {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: var(--r-md); transition: .2s;
}
.cert:hover { background: var(--sky-lt); border-color: var(--sky-md); }
.cert-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: var(--mint-lt); display: flex; align-items: center; justify-content: center;
}
.cert-check svg { width: 11px; height: 11px; stroke: var(--mint); fill: none; stroke-width: 3; }
.cert span { font-size: 13px; color: var(--gray-700); }

.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.stat {
  text-align: center; padding: 20px 10px;
  background: var(--sky-lt); border: 1px solid var(--sky-md); border-radius: var(--r-md);
}
.stat-n { display: block; font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--sky); }
.stat-l { font-size: 12px; color: var(--gray-500); margin-top: 2px; }

/* ─── SERVICES ────────────────────────────────────────── */
#services { background: var(--gray-50); }
.svc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.svc-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  padding: 34px; position: relative; overflow: hidden; transition: all .3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-glow {
  position: absolute; top: -40px; right: -40px;
  width: 130px; height: 130px; border-radius: 50%; opacity: .07;
}
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: .3s;
}
.svc-icon svg { width: 26px; height: 26px; fill: none; stroke-width: 1.8; }

.svc-card.s .svc-glow  { background: var(--sky); }
.svc-card.s .svc-icon  { background: var(--sky-lt); }
.svc-card.s .svc-icon svg { stroke: var(--sky); }
.svc-card.s:hover .svc-icon { background: var(--sky); }
.svc-card.s:hover .svc-icon svg { stroke: #fff; }

.svc-card.m .svc-glow  { background: var(--mint); }
.svc-card.m .svc-icon  { background: var(--mint-lt); }
.svc-card.m .svc-icon svg { stroke: var(--mint); }
.svc-card.m:hover .svc-icon { background: var(--mint); }
.svc-card.m:hover .svc-icon svg { stroke: #fff; }

.svc-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.svc-desc  { font-size: 14px; color: var(--gray-500); line-height: 1.75; font-weight: 300; }

.svc-cta { text-align: center; margin-top: 56px; }
.svc-cta p { font-size: 16px; color: var(--gray-500); font-weight: 300; margin-bottom: 24px; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 500; transition: all .25s;
}
.cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-phone { background: var(--sky); color: #fff; }
.cta-phone:hover { background: #1460ac; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cta-wa { background: #25d366; color: #fff; }
.cta-wa:hover { background: #1aab52; transform: translateY(-2px); }
.cta-tg { background: #2aabee; color: #fff; }
.cta-tg:hover { background: #1a8fcc; transform: translateY(-2px); }

/* ─── REVIEWS ─────────────────────────────────────────── */
#reviews { background: #fff; }
.rev-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.rev-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-xl);
  padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: .25s;
}
.rev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.stars span { color: #f59e0b; font-size: 15px; }
.rev-text { font-size: 14px; color: var(--gray-700); line-height: 1.8; font-style: italic; font-weight: 300; flex: 1; }
.rev-footer { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: #fff;
}
.rev-name { font-size: 14px; font-weight: 500; }
.rev-date { font-size: 12px; color: var(--gray-500); }

/* ─── CONTACTS ────────────────────────────────────────── */
#contacts {
  background: linear-gradient(140deg, var(--navy) 0%, #0e3d72 100%);
  position: relative; overflow: hidden;
}
.contacts-dots {
  position: absolute; inset: 0; opacity: .04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 38px 38px;
}
#contacts .sec-label { color: #93c5fd; }
#contacts .sec-title { color: #fff; }

.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  align-items: start; position: relative; z-index: 2;
}
.contact-links { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md);
  transition: all .25s;
}
.contact-link:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.2); transform: translateX(5px); }
.cl-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cl-icon svg { width: 22px; height: 22px; }
.cl-icon.phone { background: var(--sky); }
.cl-icon.wa    { background: #25d366; }
.cl-icon.tg    { background: #2aabee; }
.cl-label { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 3px; }
.cl-value { font-size: 15px; font-weight: 500; color: #fff; }
.cl-arrow { margin-left: auto; color: rgba(255,255,255,.28); font-size: 18px; transition: .2s; }
.contact-link:hover .cl-arrow { color: rgba(255,255,255,.75); transform: translateX(4px); }

.info-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.info-box {
  padding: 18px 20px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-md);
}
.ib-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(168,208,240,.7); margin-bottom: 10px;
}
.ib-label svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.ib-addr { font-size: 13px; color: rgba(255,255,255,.78); font-weight: 300; line-height: 1.6; }
.wh-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; margin-bottom: 5px; }
.wh-day  { color: rgba(255,255,255,.45); }
.wh-time { font-weight: 500; color: rgba(255,255,255,.82); }
.wh-time.off { color: #fca5a5; }

.map-box {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  min-height: 400px; height: 100%;
  background: linear-gradient(140deg, rgba(26,115,200,.12), rgba(15,168,120,.07));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.map-box svg { width: 48px; height: 48px; stroke: rgba(255,255,255,.35); fill: none; stroke-width: 1.4; }
.map-box p { font-size: 14px; color: rgba(255,255,255,.42); }
.map-open {
  display: inline-flex; align-items: center; gap: 7px;
  color: rgba(168,208,240,.78); font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.15); padding: 9px 18px; border-radius: var(--r-full);
  transition: .2s;
}
.map-open:hover { background: rgba(255,255,255,.09); color: #fff; }
.map-open svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ─── FOOTER ──────────────────────────────────────────── */
footer { background: var(--gray-900); padding: 36px 0; }
.foot-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-badge {
  width: 32px; height: 32px; border-radius: 8px; background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 10px; font-weight: 700; color: #fff;
}
.foot-name { font-size: 14px; color: rgba(255,255,255,.65); }
.foot-nav { display: flex; gap: 20px; }
.foot-nav a { font-size: 13px; color: rgba(255,255,255,.32); transition: .2s; }
.foot-nav a:hover { color: rgba(255,255,255,.7); }
.foot-copy { font-size: 12px; color: rgba(255,255,255,.22); }

/* ─── SCROLL ANIMATIONS ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.show { opacity: 1; transform: none; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner            { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo-side       { order: -1; }
  .photo-ring,
  .photo-circle          { width: 260px; height: 260px; }
  .photo-float           { left: -10px; bottom: -10px; }
  .about-grid            { grid-template-columns: 1fr; gap: 48px; }
  .svc-grid              { grid-template-columns: 1fr; }
  .rev-grid              { grid-template-columns: 1fr; }
  .contacts-grid         { grid-template-columns: 1fr; }
  .map-box               { min-height: 280px; }
  .nav-links             { display: none; }
  .nav-name              { display: none !important; }
  .info-boxes            { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap,
  .nav-wrap              { padding: 0 20px; }
  .hero-inner            { padding: 100px 20px 60px; }
  section                { padding: 72px 0; }
  .hero-btns             { flex-direction: column; }
  .btn                   { width: 100%; justify-content: center; }
  .cta-btns              { flex-direction: column; align-items: center; }
  .cta-btn               { width: 100%; max-width: 320px; justify-content: center; }
  .stats-row             { gap: 8px; }
  .stat-n                { font-size: 20px; }
}

/* ─── ФОТО ВРАЧА В КРУГЕ ──────────────────────── */
.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ─── МЕСТА РАБОТЫ ────────────────────────────── */
.workplaces {
  margin-top: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
}
.wp-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(168,208,240,.7);
  margin-bottom: 12px;
}
.wp-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-weight: 300;
  margin-bottom: 8px;
  line-height: 1.5;
}
.wp-item:last-child { margin-bottom: 0; }
.wp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
  margin-top: 6px;
}