/* =========================================================
   ЮНИТ — главная страница. Фирменные цвета взяты с логотипа:
   бирюзовый #32CDCE и тёмно-синий #033465
   ========================================================= */
:root {
  --teal: #32cdce;
  --teal-600: #17aeb0;
  --teal-700: #0e8f93;
  --teal-50: #e9f9f9;
  --teal-100: #d3f3f3;
  --navy: #033465;
  --navy-900: #021f3f;
  --navy-800: #06294f;
  --ink: #0b2239;
  --text: #43566b;
  --muted: #7b8da0;
  --line: #e3ebf1;
  --bg: #ffffff;
  --bg-soft: #f3f8fa;
  --star: #ffb62e;
  --ya: #fc3f1d;
  --gis: #19aa1e;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(3, 52, 101, .06);
  --shadow: 0 12px 40px -12px rgba(3, 52, 101, .18);
  --shadow-lg: 0 30px 80px -20px rgba(3, 52, 101, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, p { margin: 0; }
b, strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }

/* ---------- типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--teal); }
.eyebrow--light::before { display: none; }
.h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; font-weight: 800; color: var(--ink); letter-spacing: -.025em; }
.h2--light { color: #fff; }
.grad { background: linear-gradient(95deg, var(--teal-600), var(--navy) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--text); }

.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.sec-head__side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; font-size: 16px; }
.sec-head__side a { color: var(--teal-700); font-weight: 700; }
.sec-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; overflow: hidden; isolation: isolate;
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-600) 100%); color: #fff; box-shadow: 0 10px 24px -8px rgba(23, 174, 176, .6); }
/* наведение: кнопка остаётся на месте, плавно темнеет и запускается блик */
.btn--primary { background-size: 200% 100%; background-image: linear-gradient(135deg, var(--teal) 0%, var(--teal-600) 50%, var(--teal-700) 100%); background-position: 0 0; transition: background-position .5s var(--ease), box-shadow .35s var(--ease); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 14px 30px -10px rgba(23, 174, 176, .8); }
.btn--primary:hover::after { animation: shineOnce .8s var(--ease) 1; }
@keyframes shineOnce { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
/* блик «shimmer» */
.btn--shine::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%);
  transform: translateX(-120%); animation: shine 3.6s var(--ease) infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn .ico--arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }

.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); position: relative; display: inline-block; flex: none; }
.dot-live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--teal); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.glass { background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .6); }

.stars { color: var(--star); letter-spacing: 2px; font-size: 13px; }
.stars--lg { font-size: 20px; }
.src { display: inline-grid; place-items: center; flex: none; height: 34px; min-width: 34px; padding: 0 6px; border-radius: 10px; font-weight: 800; font-size: 14px; color: #fff; }
.src--ya { background: var(--ya); font-size: 17px; }
.src--2g { background: var(--gis); font-size: 11px; letter-spacing: -.02em; }

/* =========================================================
   АНИМИРОВАННЫЕ ИКОНКИ
   ========================================================= */
.ico { display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; color: var(--navy); position: relative; }
.ico svg { width: 100%; height: 100%; overflow: visible; }
.ico--xs { width: 16px; height: 16px; color: var(--teal); }
.ico--sm { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--teal-50); }
.ico--md { width: 60px; height: 60px; padding: 12px; border-radius: 18px; background: linear-gradient(145deg, var(--teal-50), #fff); box-shadow: inset 0 0 0 1px var(--teal-100); }
.ico--lg { width: 76px; height: 76px; padding: 15px; border-radius: 22px; background: linear-gradient(145deg, var(--teal-50), #fff); box-shadow: inset 0 0 0 1px var(--teal-100); }
.ico--round { border-radius: 50%; }
.ico--glass { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(8px); }
.ico--glass .ac { color: var(--teal); }
.ico--arrow { width: 20px; height: 20px; color: currentColor; }
.ico .ac { color: var(--teal-600); stroke: currentColor; }
.ico--glass svg .ac { color: var(--teal); }

/* вращающаяся «бегущая рамка» вокруг иконки при наведении на карточку */
.ico--md::before, .ico--lg::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; opacity: 0;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--teal) 85%, var(--navy) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .4s;
}
[data-replay]:hover .ico--md::before, [data-replay]:hover .ico--lg::before { opacity: 1; animation: beam 2.2s linear infinite; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes beam { to { --a: 360deg; } }

/* прорисовка контуров */
.ico .d, .ico .ac.shine, .ico .ac.wave, .ico .ac.crack, .ico .ac.ecg, .ico .ac.check, .ico .ac.wire, .ico .ac.slash, .ico .ac.ring {
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.ico.in .d { animation: draw 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .13s); }
.ico .noline { stroke-dasharray: none; stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* циклические анимации акцентов — только после появления */
.ico .ac.shine, .ico .ac.wave, .ico .ac.crack, .ico .ac.ecg, .ico .ac.check, .ico .ac.wire, .ico .ac.slash, .ico .ac.ring { animation: loopdraw 4.2s var(--ease) infinite; animation-delay: calc(.6s + var(--i, 0) * .15s); }
.ico .ac.c2, .ico .ac.w2 { animation-delay: 1.2s; }
@keyframes loopdraw { 0% { stroke-dashoffset: 1; } 25%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
.ico .acc { color: var(--teal-600); stroke: currentColor; }
.ico .ac.ring { stroke-opacity: .35; }

.ico .tw { transform-box: view-box; animation: twinkle 2.4s ease-in-out infinite; }
.ico .tw.d2 { animation-delay: .8s; } .ico .tw.d3 { animation-delay: 1.4s; }
@keyframes twinkle { 0%, 100% { transform: scale(.2) rotate(0); opacity: 0; } 40%, 60% { transform: scale(1) rotate(90deg); opacity: 1; } }

.ico .screw { animation: screw 2.6s var(--ease) infinite; }
@keyframes screw { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(2px); } }
.ico .pop { transform-box: fill-box; transform-origin: center; animation: pop 2.8s var(--ease) infinite; }
@keyframes pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.12); } }
.ico .float { animation: floatY 3s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(3px); } }
.ico .scan { animation: scan 2.4s ease-in-out infinite; }
.ico .scan path { stroke: var(--teal); filter: drop-shadow(0 0 3px var(--teal)); }
@keyframes scan { 0%, 100% { transform: translateY(0); opacity: .2; } 50% { transform: translateY(26px); opacity: 1; } }
.ico .blink { transform-box: fill-box; transform-origin: center; animation: blink 3.6s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.ico .zz { animation: zz 2.8s ease-in infinite; }
.ico .zz.z2 { animation-delay: 1.4s; }
@keyframes zz { 0% { transform: translate(-6px, 8px) scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(2px, -6px) scale(1); opacity: 0; } }
.ico .brushm { transform-origin: 8px 40px; transform-box: view-box; animation: brush 1.4s ease-in-out infinite; }
@keyframes brush { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
.ico .bub { animation: bub 2.4s ease-in infinite; }
.ico .bub.b2 { animation-delay: .8s; } .ico .bub.b3 { animation-delay: 1.5s; }
@keyframes bub { 0% { transform: translateY(6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
.ico .beat { transform-box: fill-box; transform-origin: center; animation: beat 1.3s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
.ico .lift { animation: lift 2.6s var(--ease) infinite; }
@keyframes lift { 0%, 40%, 100% { transform: translateY(0) rotate(0); } 60% { transform: translateY(-5px) rotate(-5deg); } 75% { transform: translateY(-5px) rotate(4deg); } }
.ico .wandm { transform-origin: 8px 40px; transform-box: view-box; animation: wand 2.4s var(--ease) infinite; }
@keyframes wand { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(4deg); } }
.ico .sweep { animation: sweep 3s ease-in-out infinite; }
@keyframes sweep { 0%, 50% { transform: translateX(-6px); opacity: 0; } 60% { opacity: 1; } 100% { transform: translateX(32px); opacity: 0; } }
.ico .slide { animation: slideV 3s var(--ease) infinite; }
@keyframes slideV { 0%, 100% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-8px); opacity: .5; } 60% { transform: translateY(0); opacity: 1; } }
.ico .wavesig { animation: sig 1.6s ease-in-out infinite; }
@keyframes sig { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ico .drop { animation: drop 1.8s ease-in infinite; }
@keyframes drop { 0% { transform: translateY(-6px) scale(.4); opacity: 0; } 30% { opacity: 1; transform: translateY(-3px) scale(1); } 100% { transform: translateY(6px); opacity: 0; } }
.ico .liquid { animation: liquid 2.2s ease-in-out infinite; }
@keyframes liquid { 0%, 100% { transform: translateY(0) skewY(0); } 50% { transform: translateY(-2px) skewY(-6deg); } }
.ico .spin { transform-box: view-box; animation: spin 6s linear infinite; }
.ico .spinslow { transform-box: view-box; animation: wob 4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wob { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(14deg) scale(1.06); } }
.ico .ripple { transform-box: fill-box; transform-origin: center; animation: ripple 2.4s ease-out infinite; }
.ico .ripple path { stroke-opacity: .5; }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.ico .ripple2 { transform-box: fill-box; transform-origin: center; animation: ripple2 1.6s ease-out infinite; }
@keyframes ripple2 { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.ico .bounce { animation: bounce 1.6s var(--ease) infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }
.ico .blinkw path { animation: sig 2.2s steps(2) infinite; }
.ico .hand1 { transform-box: view-box; animation: spin 8s linear infinite; }
.ico .hand2 { transform-box: view-box; animation: spin 2s linear infinite; }
.ico .ringshake { transform-box: view-box; animation: ringshake 2.2s ease-in-out infinite; }
@keyframes ringshake { 0%, 55%, 100% { transform: rotate(0); } 60% { transform: rotate(-12deg); } 65% { transform: rotate(10deg); } 70% { transform: rotate(-8deg); } 75% { transform: rotate(6deg); } 80% { transform: rotate(0); } }
.ico .typing circle { animation: typing 1.2s ease-in-out infinite; }
.ico .typing circle:nth-child(2) { animation-delay: .15s; } .ico .typing circle:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-3px); opacity: 1; } }
.ico .bow { transform-box: view-box; animation: bow 2.4s var(--ease) infinite; }
/* пока иконка не появилась на экране — акценты стоят на месте */
.ico:not(.in) .ac { animation: none !important; }
@keyframes bow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12) translateY(-1px); } }

/* =========================================================
   ВЕРХНЯЯ ПОЛОСА И ШАПКА
   ========================================================= */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .78); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar__promo { display: flex; align-items: center; gap: 10px; }
.topbar__promo b { color: #fff; }
.topbar__right { display: flex; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
a.topbar__item:hover { color: var(--teal); }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .86); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(3, 52, 101, .18); border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 26px; height: 84px; transition: height .35s var(--ease); }
.header.is-scrolled .header__in { height: 70px; }
.logo img { width: 112px; height: auto; transition: width .35s var(--ease); }
.header.is-scrolled .logo img { width: 96px; }

.nav { position: relative; display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav__pill { position: absolute; top: 50%; left: 0; height: 40px; border-radius: 999px; background: var(--teal-50); transform: translateY(-50%); opacity: 0; transition: left .4s var(--ease), width .4s var(--ease), opacity .25s; pointer-events: none; }
.nav__item { position: relative; }
.nav__link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; font-weight: 600; font-size: 15px; color: var(--ink); border-radius: 999px; transition: color .2s; }
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--teal-700); }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.nav__item:hover .chev { transform: rotate(180deg); }

/* выпадающие меню */
.drop, .mega { position: absolute; top: calc(100% + 14px); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top center; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.nav__item:hover > .drop, .nav__item:focus-within > .drop, .nav__item:hover > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.drop::before, .mega::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.drop { left: 50%; margin-left: -150px; width: 300px; padding: 10px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.drop--sm { width: 260px; margin-left: -130px; }
.drop a { display: flex; flex-direction: column; padding: 11px 14px; border-radius: 12px; transition: background .2s, transform .25s var(--ease); }
.drop a b { font-size: 15px; font-weight: 700; }
.drop a span { font-size: 13px; color: var(--muted); }
.drop a:hover { background: var(--bg-soft); transform: translateX(4px); }
.drop a:hover b { color: var(--teal-700); }

.mega { left: -180px; width: min(1060px, 92vw); background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mega__in { display: grid; grid-template-columns: 1.7fr 1fr 250px; gap: 28px; padding: 28px; }
.mega__title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.mega__list { display: grid; gap: 2px; }
.mega__grid a, .mega__list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-weight: 600; font-size: 14.5px; color: var(--ink); transition: background .2s, color .2s; }
.mega__grid a:hover, .mega__list a:hover { background: var(--bg-soft); color: var(--teal-700); }
.mega__grid a:hover .ico--sm, .mega__list a:hover .ico--sm { background: #fff; box-shadow: var(--shadow-sm); }
.mega__promo { position: relative; border-radius: 20px; overflow: hidden; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; isolation: isolate; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.mega__promo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 52, 101, 0) 20%, rgba(2, 31, 63, .92)); }
.mega__promo:hover img { transform: scale(1.06); }
.mega__promo-tag { position: absolute; top: 16px; left: 16px; background: var(--teal); color: var(--navy-900); font-weight: 800; font-size: 12px; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.mega__promo-title { font-size: 22px; font-weight: 800; line-height: 1.15; margin-bottom: 8px; }
.mega__promo-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--teal); }
.mega__foot { display: flex; gap: 28px; padding: 16px 28px; background: var(--bg-soft); border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.mega__foot a { color: var(--navy); }
.mega__foot a:hover { color: var(--teal-700); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { display: flex; align-items: center; gap: 10px; }
.header__phone span { display: flex; flex-direction: column; line-height: 1.2; }
.header__phone b { font-size: 16px; white-space: nowrap; }
.header__phone small { font-size: 12px; color: var(--muted); }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--bg-soft); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mmenu { position: fixed; inset: 0; top: 70px; z-index: 99; background: #fff; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .35s var(--ease); overflow-y: auto; }
.mmenu.is-open { transform: none; opacity: 1; visibility: visible; }
.mmenu__in { padding: 20px 20px 40px; display: flex; flex-direction: column; gap: 4px; }
.mmenu details { border-bottom: 1px solid var(--line); }
.mmenu summary { list-style: none; padding: 16px 4px; font-weight: 700; font-size: 18px; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.mmenu summary::after { content: '+'; color: var(--teal-600); font-size: 22px; line-height: 1; }
.mmenu details[open] summary::after { content: '–'; }
.mmenu details a { display: block; padding: 9px 4px 9px 14px; color: var(--text); }
.mmenu details[open] { padding-bottom: 10px; }
.mmenu__link { padding: 16px 4px; font-weight: 700; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mmenu .btn { margin-top: 20px; }
.mmenu__phone { text-align: center; margin-top: 14px; font-weight: 800; font-size: 20px; color: var(--navy); }

/* =========================================================
   ПЕРВЫЙ ЭКРАН
   ========================================================= */
.hero { padding: 0; }
/* фото — на всю ширину окна, содержимое — в пределах контейнера */
.hero__card { position: relative; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.hero__inner { position: relative; min-height: 860px; display: grid; grid-template-columns: 1fr; align-items: center; gap: 30px; padding-top: 80px; padding-bottom: 130px; }
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: 75% 30%; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(2, 31, 63, .96) 0%, rgba(3, 52, 101, .85) calc(50% - 200px), rgba(3, 52, 101, .25) calc(50% + 120px), rgba(3, 52, 101, .05) 100%), linear-gradient(0deg, rgba(2, 31, 63, .55), transparent 40%); }
.hero__grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(50, 205, 206, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 205, 206, .12) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 40% 70% at 20% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 40% 70% at 20% 50%, #000, transparent 70%); }
.hero__content { max-width: 640px; color: rgba(255, 255, 255, .82); }
.hero__title { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; font-weight: 800; color: #fff; letter-spacing: -.035em; margin-bottom: 22px; }
.hero__rotate { display: block; color: var(--teal); }
.rotator { position: relative; display: inline-grid; vertical-align: bottom; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(60%) rotateX(-70deg); filter: blur(6px); transition: .7s var(--ease); white-space: nowrap; }
.rotator > span.is-active { opacity: 1; transform: none; filter: none; }
.rotator > span.is-out { opacity: 0; transform: translateY(-60%) rotateX(70deg); filter: blur(6px); }
.hero__lead { font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips a { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.hero__chips a:hover { background: #fff; color: var(--navy); border-color: #fff; transform: translateY(-2px); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__nav { position: absolute; left: 24px; bottom: 90px; display: flex; gap: 10px; }
.hero__dot { width: 46px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; padding: 0; }
.hero__dot span { display: block; height: 100%; width: 0; background: var(--teal); }
.hero__dot.is-active span { animation: prog 6s linear forwards; }
@keyframes prog { to { width: 100%; } }

/* полоса преимуществ, как в примере 2 */
.features { position: relative; z-index: 2; margin: -60px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.feature { display: flex; gap: 14px; align-items: center; padding: 24px 22px; position: relative; transition: background .3s; }
.feature + .feature::before { content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.feature:first-child { border-radius: 26px 0 0 26px; } .feature:last-child { border-radius: 0 26px 26px 0; }
.feature:hover { background: var(--bg-soft); }
.feature .ico--md { width: 52px; height: 52px; padding: 10px; border-radius: 15px; }
.feature b { display: block; font-size: 15px; line-height: 1.25; margin-bottom: 3px; }
.feature span { font-size: 13px; line-height: 1.4; color: var(--muted); display: block; }

/* =========================================================
   УСЛУГИ (bento + spotlight)
   ========================================================= */
.tabs { position: relative; display: inline-flex; padding: 5px; background: var(--bg-soft); border-radius: 999px; border: 1px solid var(--line); }
.tabs__btn { position: relative; z-index: 1; height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--text); transition: color .3s; }
.tabs__btn.is-active { color: #fff; }
.tabs__ink { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: linear-gradient(135deg, var(--teal), var(--teal-600)); transition: left .45s var(--ease), width .45s var(--ease); box-shadow: 0 6px 16px -6px rgba(23, 174, 176, .7); }

.bento { display: none; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.bento.is-active { display: grid; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bento__card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 24px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.bento__card h3 { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.2; margin-top: auto; }
.bento__card p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.bento__card .ico--md { background: #fff; }
.bento__card--tall { grid-row: span 2; }
.bento__card--photo { color: #fff; justify-content: flex-end; min-height: 260px; background: var(--navy); }
.bento__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.bento__card--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 52, 101, 0) 25%, rgba(2, 31, 63, .9) 100%); }
.bento__card--photo:hover img { transform: scale(1.07); }
.bento__card--photo h3 { color: #fff; margin-top: 12px; }
.bento__card--photo p { color: rgba(255, 255, 255, .8); max-width: 340px; }
.bento__card--photo .ico--glass { background: rgba(255, 255, 255, .16); }
.bento__body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bento__badge { position: absolute; top: 20px; left: 20px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--navy); font-weight: 800; font-size: 13px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--teal); margin-top: 4px; }
.more .ico--arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.bento__card:hover .more .ico--arrow { transform: translateX(5px); }
.arrow-go { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); transform: rotate(-45deg); transition: transform .45s var(--ease), background .3s, color .3s; box-shadow: var(--shadow-sm); }
.arrow-go .ico--arrow { width: 18px; height: 18px; }
.spot:hover .arrow-go { transform: rotate(0); background: var(--teal); color: #fff; }
.bento__card--accent { background: linear-gradient(145deg, var(--navy), var(--navy-900)); border-color: transparent; }
.bento__card--accent h3 { color: #fff; } .bento__card--accent p { color: rgba(255, 255, 255, .7); }
.bento__card--accent .ico--md { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; }
.bento__card--accent { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; padding: 26px; }
.bento__cta { margin-left: auto; flex: none; }
.bento__card--accent:hover .bento__cta { background-position: 100% 0; }
.bento__card--accent:hover .bento__cta .ico--arrow { transform: translateX(4px); }
.bento__card--accent h3 { margin: 0; white-space: nowrap; }
.bento--med { grid-template-columns: repeat(3, 1fr); }
.bento--med .bento__card--tall { grid-row: span 2; }

/* spotlight — световое пятно за курсором */
.spot::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(50, 205, 206, .18), transparent 45%); pointer-events: none; }
.spot:hover::before { opacity: 1; }
.bento__card--photo.spot::before { z-index: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(50, 205, 206, .28), transparent 45%); }
.bento__card--photo .bento__body, .bento__card--photo .bento__badge { z-index: 1; position: relative; }
.bento__card--photo .bento__badge { position: absolute; }

/* =========================================================
   О СЕТИ + ЦИФРЫ
   ========================================================= */
.about { background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; border-radius: var(--r-lg); overflow: visible; }
.about__media > img { width: 100%; height: 540px; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about__years { position: absolute; right: -24px; bottom: 36px; background: var(--navy); color: #fff; padding: 22px 26px; border-radius: 24px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: auto auto; align-items: start; column-gap: 2px; }
.about__years b { font-size: 60px; line-height: 1; font-weight: 800; color: #fff; }
.about__years > span { font-size: 36px; font-weight: 800; color: var(--teal); }
.about__years small { grid-column: 1 / -1; font-size: 14px; color: rgba(255, 255, 255, .75); line-height: 1.35; margin-top: 6px; }
.about__text .h2 { margin-bottom: 20px; }
.checks { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.checks li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.checks li .ico--sm { width: 42px; height: 42px; padding: 8px; }
.checks li span { font-size: 15px; line-height: 1.5; padding-top: 2px; }
.about__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.stats { margin-top: 90px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat { display: flex; align-items: center; gap: 18px; padding: 30px 28px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.stat b { display: block; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.stat small { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; margin-top: 6px; }
.stat .ico--round { background: linear-gradient(145deg, var(--teal), var(--teal-600)); box-shadow: 0 10px 20px -8px rgba(23, 174, 176, .7); color: #fff; }
.stat .ico--round .ac { color: var(--navy); }

/* =========================================================
   КЛИНИКИ
   ========================================================= */
.clinics__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.clin { position: relative; border-radius: 22px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .4s, background .3s; overflow: hidden; }
.clin:not(.is-active):hover { border-color: var(--teal-100); }
.clin.is-active { border-color: var(--teal); box-shadow: 0 18px 40px -18px rgba(23, 174, 176, .55); background: linear-gradient(180deg, var(--teal-50), #fff 120px); }
.clin__head { width: 100%; text-align: left; cursor: default; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; }
.clin__logo { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); display: grid; place-items: center; padding: 12px; transition: transform .5s var(--ease); }
.clin__logo svg { width: 100%; height: 100%; overflow: visible; }
.clin__logo svg path:first-child { transform-origin: 24px 24px; }
.clin.is-active .clin__logo svg path:first-child { animation: markPulse 2.4s var(--ease) infinite; }
@keyframes markPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.9) rotate(8deg); } }
.clin b { display: block; font-size: 16.5px; }
.clin__head > span:nth-child(2) > span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.clin .clin__tag { font-size: 11px; font-weight: 700; color: var(--teal-700); text-transform: uppercase; letter-spacing: .06em; }
.clin__rate { font-weight: 800; color: var(--ink); font-size: 15px; display: flex; align-items: center; gap: 4px; }
.clin__rate::before { content: '\2605'; color: var(--star); }
.clin__body-in { padding: 0 18px 18px; }
.ci-row { display: flex; gap: 12px; align-items: center; font-size: 14px; padding: 7px 0; border-top: 1px dashed var(--line); }
.ci-row .ico--sm { width: 32px; height: 32px; padding: 6px; }
.ci-rates { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.ci-rate { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; }
.ci-rate .src { height: 26px; min-width: 26px; border-radius: 8px; font-size: 12px; }
.ci-rate .src--2g { font-size: 9px; }
.ci-rate b { font-size: 15px; }
.ci-btns { display: flex; gap: 10px; margin-top: 12px; }

/* =========================================================
   ВРАЧИ
   ========================================================= */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--text); transition: .25s; background: #fff; }
.chip:hover { border-color: var(--teal); color: var(--teal-700); }
.chip.is-active { background: linear-gradient(135deg, var(--teal), var(--teal-600)); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(23, 174, 176, .7); }
.carousel__track, .rlist__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 26px; scroll-behavior: smooth; }
.carousel__track::-webkit-scrollbar, .rlist__track::-webkit-scrollbar { display: none; }
.doc { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; position: relative; border-radius: 24px; overflow: hidden; background: #e9eef2; aspect-ratio: 3 / 4; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.doc img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.doc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(2, 31, 63, .85)); z-index: 0; }
.doc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doc:hover img { transform: scale(1.05); }
.doc__info { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; transition: background .4s; }
.doc:hover .doc__info { background: rgba(255, 255, 255, .95); color: var(--ink); }
.doc__info b { display: block; color: inherit; font-size: 16px; line-height: 1.25; }
.doc__info span { display: block; font-size: 13px; opacity: .85; margin-top: 3px; }
.doc__cta { display: flex; align-items: center; gap: 6px; max-height: 0; overflow: hidden; opacity: 0; font-weight: 700; font-size: 14px; color: var(--teal-700); transition: max-height .45s var(--ease), opacity .3s, margin .45s; }
.doc:hover .doc__cta { max-height: 30px; opacity: 1; margin-top: 10px; }
.doc__cta .ico--arrow { width: 16px; height: 16px; }
.doc.is-hidden { display: none; }
.carousel__ctrl { display: flex; align-items: center; gap: 12px; }
.carousel__bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-right: 12px; }
.carousel__bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--teal), var(--navy)); border-radius: 3px; transition: width .3s, transform .3s; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--teal-600)); box-shadow: 0 10px 22px -10px rgba(23, 174, 176, .8); transition: transform .3s var(--ease), box-shadow .3s, filter .3s; }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 28px -10px rgba(23, 174, 176, .9); }
.round-btn:active { transform: scale(.94); }

/* =========================================================
   ШАГИ
   ========================================================= */
.steps { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.steps__row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps__line { position: absolute; left: 8%; right: 8%; top: 64px; width: 84%; height: 40px; z-index: 0; }
.steps__line path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: .012 .012; opacity: .6; }
.step { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 20px 30px; border-radius: 26px; transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.step:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-6px); }
.step .ico--lg { background: #fff; box-shadow: inset 0 0 0 1px var(--teal-100), 0 14px 30px -14px rgba(3, 52, 101, .35); }
.step__n { position: absolute; top: 14px; right: 24px; font-size: 44px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--teal-100); line-height: 1; }
.step h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-top: 8px; }
.step p { font-size: 14.5px; color: var(--muted); max-width: 240px; }

/* =========================================================
   ОТЗЫВЫ (формат как у teplohod.ru: дата, автор, источник)
   ========================================================= */
.reviews__grid { display: grid; grid-template-columns: 380px 1fr; gap: 26px; align-items: start; }
.rsum { position: sticky; top: 100px; padding: 30px; border-radius: 28px; background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: rgba(255, 255, 255, .75); overflow: hidden; isolation: isolate; }
.rsum::before { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(50, 205, 206, .45), transparent 65%); z-index: -1; }
.rsum__big { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.rsum__big > b { font-size: 76px; font-weight: 800; line-height: .9; color: #fff; letter-spacing: -.04em; }
.rsum__big small { display: block; font-size: 13px; line-height: 1.4; margin-top: 6px; }
.rsum__src { display: grid; gap: 10px; margin-bottom: 26px; }
.rsum__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .3s var(--ease); }
.rsum__row:hover { background: rgba(255, 255, 255, .14); transform: translateX(4px); }
.rsum__row span:nth-child(2) { flex: 1; line-height: 1.25; }
.rsum__row b { color: #fff; display: block; font-size: 15px; }
.rsum__row small { font-size: 12px; }
.rsum__row em { font-style: normal; font-size: 22px; font-weight: 800; color: #fff; }
.rsum__cap { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.rsum__bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 1fr auto; font-size: 14px; row-gap: 6px; }
.bar em { font-style: normal; font-weight: 800; color: #fff; }
.bar i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.bar i::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--teal-600), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.rsum.is-in .bar i::after { transform: scaleX(1); }
.rsum__note { font-size: 11.5px; opacity: .6; margin-top: 10px; }
.rsum__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.rsum__tags span { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; background: rgba(50, 205, 206, .14); color: #bff3f3; }

.rlist { min-width: 0; }
.rlist__track { align-items: stretch; }
.rcard { flex: 0 0 calc((100% - 20px) / 2); scroll-snap-align: start; position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .4s, transform .4s var(--ease), border-color .3s; }
.rcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--teal-100); }
.rcard.is-hidden { display: none; }
.rcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.rcard__src { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--bg-soft); }
.rcard__src .src { height: 26px; min-width: 26px; border-radius: 50%; font-size: 13px; }
.rcard__src .src--2g { border-radius: 8px; font-size: 9px; padding: 0 4px; }
.rcard__date { font-size: 13px; color: var(--muted); }
.rcard__q { position: absolute; right: 24px; top: 58px; font-size: 90px; line-height: 1; font-weight: 800; color: var(--teal-50); font-family: Georgia, serif; pointer-events: none; }
.rcard__text { position: relative; font-size: 15.5px; line-height: 1.65; color: var(--ink); flex: 1; }
.rcard__text p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rcard.is-open .rcard__text p { -webkit-line-clamp: unset; }
.rcard__more { margin-top: 8px; font-weight: 700; font-size: 14px; color: var(--teal-700); align-self: flex-start; }
.rcard__foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.rcard__ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teal), var(--navy)); flex: none; }
.rcard__who { flex: 1; line-height: 1.3; }
.rcard__who b { display: block; }
.rcard__who small { font-size: 13px; color: var(--muted); }
.rcard__ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--gis); background: #eaf8eb; padding: 4px 10px; border-radius: 999px; }
.rcard__ok svg { width: 13px; height: 13px; }
.rlist .carousel__ctrl { margin-top: 0; }

/* =========================================================
   НАГРАДЫ — бегущая строка
   ========================================================= */
.awards { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.awards__in { display: flex; align-items: center; gap: 30px; }
.awards__title { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.marquee { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.award { display: flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); white-space: nowrap; font-weight: 700; font-size: 14px; color: var(--ink); }
.award img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: #fff; }
.award__ic { width: 52px; height: 52px; border-radius: 12px; }

/* =========================================================
   ПАЦИЕНТАМ
   ========================================================= */
.patients { padding-top: 90px; padding-bottom: 20px; }
.patients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 26px; border: 1px solid var(--line); background: #fff; overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 10px; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard .arrow-go { background: var(--bg-soft); }

/* =========================================================
   ЗАПИСЬ
   ========================================================= */
.booking__card { position: relative; display: grid; grid-template-columns: 1fr 440px; gap: 50px; align-items: center; padding: 64px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--navy-900), var(--navy) 55%, #075a7c); color: rgba(255, 255, 255, .8); overflow: hidden; isolation: isolate; }
.booking__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: url(../img/site/ya-building.webp); background-size: cover; background-position: center; opacity: .16; mix-blend-mode: luminosity; }
.booking__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: 10%; top: -40%; z-index: -1; background: radial-gradient(circle, rgba(50, 205, 206, .45), transparent 65%); animation: glow 10s ease-in-out infinite; }
@keyframes glow { 50% { transform: translate(-80px, 60px) scale(1.15); } }
.booking__text .h2 { margin-bottom: 18px; }
.booking__text > p { font-size: 17px; max-width: 460px; margin-bottom: 28px; }
.booking__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.booking__contacts li { display: flex; align-items: center; gap: 12px; }
.booking__contacts a { color: #fff; font-weight: 800; font-size: 20px; }
.booking__contacts .ico--sm { background: rgba(255, 255, 255, .1); color: #fff; }
.form { position: relative; padding: 32px; border-radius: 28px; display: grid; gap: 14px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg); }
.form__title { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.field { position: relative; display: block; }
.field input, .field select { width: 100%; height: 58px; padding: 22px 18px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg-soft); font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; }
.field select { padding-top: 22px; cursor: pointer; }
.field--select::after { content: ''; position: absolute; right: 18px; top: 26px; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field span { position: absolute; left: 19px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none; transition: .2s var(--ease); }
.field input:focus, .field select:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(50, 205, 206, .15); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field select + span { top: 8px; font-size: 12px; font-weight: 700; color: var(--teal-700); }
.field.is-error input { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.agree { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal-600); flex: none; }
.agree a { color: var(--teal-700); text-decoration: underline; }
.agree.is-error { color: #e5484d; }
.form__ok { position: absolute; inset: 0; border-radius: 28px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 30px; animation: fadeUp .5s var(--ease); }
.form__ok[hidden] { display: none; }
.form__ok b { font-size: 24px; }
.form__ok span { color: var(--muted); }

/* =========================================================
   ПОДВАЛ
   ========================================================= */
.footer { margin-top: 0; background: var(--navy-900); color: rgba(255, 255, 255, .62); padding: 70px 0 30px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__logo { width: 120px; height: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__brand p { max-width: 320px; margin-bottom: 18px; }
.footer__phone { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer__soc a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--teal-600)); color: #fff; font-weight: 800; font-size: 13px; transition: background .3s; }
.footer__soc a:hover { filter: brightness(1.08); }
.footer__h { color: #fff; font-weight: 800; margin-bottom: 16px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__col a { transition: color .2s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--teal); transform: translateX(3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 26px; font-size: 12.5px; }
.footer__bottom p:first-child { max-width: 760px; }
.footer__legal { display: flex; flex-direction: column; gap: 6px; text-align: right; white-space: nowrap; }
.footer__legal a:hover { color: var(--teal); }
.footer__warn { margin-top: 30px; font-size: clamp(14px, 2.2vw, 30px); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: rgba(255, 255, 255, .12); text-align: center; line-height: 1.2; }
.footer__made { margin-top: 18px; text-align: center; font-size: 13px; }
.footer__made a { color: rgba(255, 255, 255, .55); border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 1px; transition: color .25s, border-color .25s; }
.footer__made a:hover { color: var(--teal); border-color: var(--teal); }

/* наверх + прогресс прокрутки */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; opacity: 0; transform: translateY(20px); transition: .4s var(--ease); pointer-events: none; }
.totop.is-show { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__bg { fill: var(--teal-600); stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
.totop__ring { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); stroke-linecap: round; }
.totop path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transform-origin: center; }

.cookie { position: fixed; left: 24px; bottom: 24px; z-index: 95; width: 400px; max-width: calc(100vw - 48px); padding: 22px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: fadeUp .6s var(--ease); }
.cookie[hidden] { display: none; }
.cookie__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cookie__head .ico--sm { width: 40px; height: 40px; padding: 8px; }
.cookie__title { font-size: 17px; font-weight: 800; color: var(--ink); }
.cookie__text { font-size: 13.5px; line-height: 1.55; color: var(--text); margin-bottom: 16px; }
.cookie__text a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie__btns .btn { width: 100%; }
.cookie.is-leaving { animation: cookieOut .4s var(--ease) forwards; }
@keyframes cookieOut { to { opacity: 0; transform: translateY(20px); } }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1240px) {
  .header__phone span { display: none; }
  .nav__link { padding: 0 10px; font-size: 14.5px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .features .feature:nth-child(n+4) { display: none; }
  .feature:nth-child(3) { border-radius: 0 26px 26px 0; }
}
@media (max-width: 1100px) {
  .nav, .header__phone span { display: none; }
  .burger { display: flex; }
  .header__actions { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 150px; min-height: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 50px; }
  .about__media { margin: 0 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .clinics__list { grid-template-columns: 1fr 1fr; }
  .doc { flex-basis: calc((100% - 40px) / 3); }
  .reviews__grid { grid-template-columns: 1fr; }
  .rsum { position: relative; top: 0; }
  .booking__card { grid-template-columns: 1fr; padding: 44px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .topbar__right { display: none; }
  .topbar__promo { font-size: 12px; }
  .header__in { height: 70px; gap: 12px; }
  .logo img { width: 92px; }
  .header__actions .btn { display: none; }
  .hero__inner { padding-top: 40px; padding-bottom: 100px; gap: 26px; }
  .hero__shade { background: linear-gradient(180deg, rgba(2, 31, 63, .1) 0, rgba(2, 31, 63, .35) 140px, var(--navy-900) 300px, var(--navy-900) 100%); }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__nav { left: 16px; bottom: 26px; }
  .features { margin: 14px 0 0; grid-template-columns: 1fr; }
  .hero__inner { padding-bottom: 64px; padding-top: 230px; }
  .hero__slides { bottom: auto; height: 300px; }
  .hero__slide { background-position: 72% 30%; }
  .hero__grid-bg { display: none; }
  .features .feature:nth-child(n+4) { display: flex; }
  .feature + .feature::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
  .feature, .feature:first-child, .feature:last-child, .feature:nth-child(3) { border-radius: 0; padding: 16px 20px; }
  .bento, .bento--med { grid-template-columns: 1fr 1fr; gap: 12px; grid-auto-rows: auto; }
  .bento__card:not(.bento__card--photo) { min-height: 170px; }
  .bento__card--accent { flex-direction: column; align-items: flex-start; padding: 20px; }
  .bento__cta { margin-left: 0; margin-top: 6px; }
  .bento__card--accent h3 { white-space: normal; }
  .bento__card { padding: 18px; border-radius: 20px; }
  .bento__card h3 { font-size: 16px; }
  .bento__card p { font-size: 13px; }
  .bento__card--photo, .bento__card--tall { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
  .bento__card .ico--md { width: 48px; height: 48px; padding: 9px; border-radius: 14px; }
  .arrow-go { width: 34px; height: 34px; top: 16px; right: 16px; }
  .about__media { margin: 0; }
  .about__media > img { height: 380px; }
  .about__years { right: 12px; bottom: -24px; padding: 16px 20px; }
  .about__years b { font-size: 44px; }
  .stats { grid-template-columns: 1fr; margin-top: 70px; }
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .stat { padding: 20px 22px; }
  .clinics__list { grid-template-columns: 1fr; }
  .doc { flex-basis: 78%; }
  .carousel__bar { display: none; }
  .carousel__ctrl .btn { margin-left: auto; }
  .steps__row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .steps__line { display: none; }
  .step { padding: 20px 12px; background: #fff; box-shadow: var(--shadow-sm); }
  .step .ico--lg { width: 62px; height: 62px; padding: 12px; }
  .step__n { font-size: 30px; right: 14px; }
  .rcard { flex-basis: 88%; padding: 22px; }
  .rsum { padding: 24px; }
  .rsum__big > b { font-size: 60px; }
  .awards__in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .marquee { width: 100%; }
  .patients__grid { grid-template-columns: 1fr; }
  .booking__card { padding: 30px 18px; border-radius: 24px; gap: 30px; }
  .form { padding: 22px; }
  .footer { margin-top: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .footer__legal { text-align: left; white-space: normal; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 18px; }
  .totop { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
@media (max-width: 420px) {
  .steps__row { grid-template-columns: 1fr; }
  .bento__card { padding: 16px; }
  .bento__card h3 { font-size: 15px; }
  .tabs__btn { padding: 0 14px; font-size: 13px; }
  .hero__chips a { font-size: 13px; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --- доработки блока отзывов --- */
.rcard__src { white-space: nowrap; }
.rcard__foot { flex-wrap: wrap; }
@media (max-width: 1240px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .rsum { position: relative; top: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; grid-template-areas: "big cap" "src bars" "tags note"; }
  .rsum__big { grid-area: big; } .rsum__src { grid-area: src; margin-bottom: 0; } .rsum__cap { grid-area: cap; align-self: end; margin-bottom: 24px; }
  .rsum__bars { grid-area: bars; } .rsum__note { grid-area: note; } .rsum__tags { grid-area: tags; }
  .rcard { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 900px) {
  .rsum { grid-template-columns: 1fr; grid-template-areas: "big" "src" "cap" "bars" "note" "tags"; }
  .rsum__src { margin-bottom: 20px; } .rsum__cap { margin-bottom: 12px; }
  .rcard { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 760px) { .rcard { flex-basis: 88%; } }
.rcard__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

/* =========================================================
   КАРТА — на всю ширину, Яндекс Карты по координатам
   ========================================================= */
.mapsec { position: relative; height: 560px; background: var(--bg-soft); isolation: isolate; }
.mapsec__map { position: absolute; inset: 0; z-index: 0; }
.mapsec__wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; pointer-events: none; }
.mapsec__card { pointer-events: auto; width: 340px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.mapsec__title { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.mapsec__list { display: grid; gap: 6px; }
.mapsec__item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; text-align: left; padding: 10px; border-radius: 14px; transition: background .25s; }
.mapsec__item:hover, .mapsec__item.is-active { background: var(--teal-50); }
.mapsec__item .clin__logo { width: 34px; height: 34px; border-radius: 10px; padding: 7px; transform: none !important; }
.mapsec__item b { display: block; font-size: 14.5px; line-height: 1.2; }
.mapsec__item small { font-size: 12.5px; color: var(--muted); }
.mapsec__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.unit-pin { position: relative; width: 46px; height: 46px; cursor: pointer; }
.unit-pin__dot { position: absolute; inset: 0; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: linear-gradient(135deg, var(--teal), var(--teal-600)); box-shadow: 0 10px 20px -6px rgba(3, 52, 101, .5); border: 3px solid #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.unit-pin__dot svg { width: 22px; height: 22px; transform: rotate(45deg); }
.unit-pin:hover .unit-pin__dot { transform: rotate(-45deg) scale(1.1); }
.unit-pin::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 18px; height: 6px; margin-left: -9px; border-radius: 50%; background: rgba(3, 52, 101, .25); }
.unit-pin::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; }
.unit-pin.is-active::before { animation: ping 1.8s ease-out infinite; }
.ybal { display: flex; flex-direction: column; gap: 3px; font-family: var(--font); font-size: 13.5px; line-height: 1.45; color: var(--text); padding: 4px 2px; max-width: 260px; }
.ybal b { font-size: 15.5px; color: var(--ink); }
.ybal .btn { color: #fff; margin-top: 8px; align-self: flex-start; }
.pop__phone { color: var(--teal-700) !important; font-weight: 700; }
@media (max-width: 760px) {
  .mapsec { height: auto; }
  .mapsec__map { position: relative; height: 380px; }
  .mapsec__wrap { height: auto; padding-top: 16px; padding-bottom: 16px; }
  .mapsec__card { width: 100%; box-shadow: var(--shadow); }
}
/* строки плиток по содержимому; полоса «Все услуги» — компактная */
.bento { grid-auto-rows: auto; }
.bento__card { min-height: 200px; }
.bento__card--accent { min-height: 0; }

/* клиники: спокойные карточки, акцент при наведении */
.clinics__list .clin { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); align-self: stretch; transition: border-color .3s, box-shadow .4s; }
.clinics__list .clin:hover { border-color: var(--teal); box-shadow: 0 18px 40px -18px rgba(23, 174, 176, .55); }
.clin--help { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; background: linear-gradient(160deg, var(--teal-50), #fff) !important; }
.clin--help b { font-size: 18px; line-height: 1.25; }
.clin--help p { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.clin--help .btn { margin-top: auto; }
/* скрываем промо-блок Яндекса («Доехать на такси», «Создать свою карту»); копирайт и логотип Яндекса остаются */
#unitMap [class*="map-copyrights-promo"] { display: none !important; }
@media (max-width: 760px) { .hero__eyebrow { display: none; } }
@media (max-width: 760px) {
  .topbar__promo { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__promo .dot-live { margin-right: 8px; vertical-align: middle; }
}
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer__brand { grid-column: 1 / -1; }
}
