/* =========================================================
   Медичний центр «Доброта» — стилі сайту
   Принципи: великий шрифт, контраст, великі кнопки,
   м'які анімації (вимикаються при prefers-reduced-motion)
   ========================================================= */

:root {
  --c-900: #2b1844;
  --c-800: #3d2361;
  --c-700: #55308a;
  --c-600: #6b3fab;
  --c-500: #8457c4;
  --c-400: #a184d6;
  --c-300: #c4b0e9;
  --c-200: #ddd0f3;
  --c-100: #efe8fa;
  --c-50: #f8f5fd;

  --ink: #1f1630;
  --text: #362d45;
  --muted: #5b5169;
  --line: #e5ddf1;
  --bg: #ffffff;
  --bg-soft: #faf8fe;

  --green: #188a4a;
  --green-700: #12703b;
  --green-100: #e3f5ea;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(61, 35, 97, .06);
  --shadow: 0 16px 40px rgba(61, 35, 97, .10);
  --shadow-lg: 0 30px 70px rgba(61, 35, 97, .18);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Lora", Georgia, "Times New Roman", serif;

  --header-h: 84px;
  --wrap: 1200px;
  color-scheme: light;
}

/* Розмір шрифту — перемикач А / А+ / А++ */
html { font-size: 112.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[data-fs="1"] { font-size: 125%; }
html[data-fs="2"] { font-size: 140%; }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-700); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--c-600); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
svg.i { width: 1.25em; height: 1.25em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--c-500); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-700); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
/* анімації «виїзду» не повинні розширювати сторінку */
main, .footer { overflow-x: hidden; }
@supports (overflow-x: clip) { main, .footer { overflow-x: clip; } }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--c-700); --fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: .8em 1.5em;
  border-radius: 14px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 750; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn::after { /* блік, що пробігає при наведенні */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(85, 48, 138, .28); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--call { --bg: var(--green); }
.btn--call:hover { box-shadow: 0 12px 26px rgba(24, 138, 74, .3); }
.btn--ghost { --bg: transparent; --fg: var(--c-700); border-color: var(--c-300); }
.btn--ghost:hover { background: var(--c-50); border-color: var(--c-500); box-shadow: var(--shadow-sm); }
.btn--white { --bg: #fff; --fg: var(--c-800); }
.btn--lg { min-height: 62px; font-size: 1.08rem; padding: .9em 1.8em; }
.btn--block { width: 100%; }
.btn .i { width: 1.3em; height: 1.3em; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 750; text-decoration: none; }
.link-arrow .i { transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }

.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3em .85em; border-radius: 99px;
  background: var(--c-100); color: var(--c-700);
  font-size: .85rem; font-weight: 700;
}

/* ---------- Прогрес прокрутки ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 120;
  background: linear-gradient(90deg, var(--c-500), #d27ad9, var(--c-500));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Верхня смуга ---------- */
.topbar { background: var(--c-900); color: #e9e1f7; font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--c-200); }
.topbar__info, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__info span, .topbar__phones, .fontsize__wrap { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar .i { width: 1.1em; height: 1.1em; color: var(--c-300); }

.fontsize { display: inline-flex; align-items: center; gap: 4px; }
.fontsize__label { margin-right: 6px; }
.fontsize button {
  min-width: 38px; height: 32px; padding: 0 8px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-weight: 800; line-height: 1;
  transition: background .2s, color .2s;
}
.fontsize button:nth-of-type(2) { font-size: 1.05em; }
.fontsize button:nth-of-type(3) { font-size: 1.2em; }
.fontsize button[aria-pressed="true"], .fontsize button:hover { background: #fff; color: var(--c-800); }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, border-color .35s;
  animation: headerIn .8s var(--ease) both;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(61,35,97,.08); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .35s var(--ease); }
.header.is-scrolled .wrap { min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 58px; height: 52px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { animation: heartbeat 1.2s var(--ease) 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; color: var(--c-700); letter-spacing: .01em; }
.brand__sub { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); font-weight: 700; margin-top: 4px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 10px; border: 0; background: none;
  color: var(--ink); font-weight: 700; font-size: .98rem; text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--c-500); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-700); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link .i { width: 1em; height: 1em; transition: transform .3s var(--ease); }

.nav__item--drop { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 640px;
  translate: -50% 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: top center;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item--drop:hover .mega, .nav__item--drop:focus-within .mega, .nav__item--drop.is-open .mega {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__item--drop:hover .nav__link .i, .nav__item--drop.is-open .nav__link .i { transform: rotate(180deg); }
.mega a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .3s var(--ease);
}
.mega a:hover { background: var(--c-50); color: var(--c-700); transform: translateX(4px); }
.mega a span.ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--c-100); color: var(--c-700); }
.mega__all { grid-column: 1 / -1; justify-content: center; background: var(--c-50); margin-top: 6px; }

.header__cta { flex-shrink: 0; }

.burger {
  display: none; align-items: center; gap: 10px; margin-left: auto;
  min-height: 52px; padding: 0 16px; border-radius: 14px;
  border: 2px solid var(--c-200); background: #fff; color: var(--c-800); font-weight: 800;
}
.burger__lines { position: relative; width: 22px; height: 16px; }
.burger__lines span { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 3px; background: currentColor; transition: transform .4s var(--ease), opacity .2s, top .4s var(--ease); }
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 7px; }
.burger__lines span:nth-child(3) { top: 14px; }
.menu-open .burger__lines span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-open .burger__lines span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger__lines span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* ---------- Мобільне меню ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 140; visibility: hidden;
  transition: visibility 0s .5s;
}
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(43, 24, 68, .45); opacity: 0; transition: opacity .4s; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: #fff; display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .5s var(--ease);
  padding: 18px 22px 28px;
}
.menu-open .mobile-menu { visibility: visible; transition-delay: 0s; }
.menu-open .mobile-menu__backdrop { opacity: 1; }
.menu-open .mobile-menu__panel { transform: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.icon-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  border: 2px solid var(--c-200); background: #fff; color: var(--c-800);
}
.icon-btn .i { width: 26px; height: 26px; }
.mobile-menu__list { list-style: none; margin: 0 0 18px; padding: 0; }
.mobile-menu__list li { opacity: 0; transform: translateX(30px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.menu-open .mobile-menu__list li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 55ms + 120ms); }
.mobile-menu__list > li > a, .mobile-menu__list > li > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 6px; border: 0; border-bottom: 1px solid var(--line); background: none;
  color: var(--ink); font-size: 1.2rem; font-weight: 750; text-decoration: none; text-align: left;
}
.mobile-menu__list > li > a[aria-current="page"] { color: var(--c-700); }
.mobile-menu__list .i { color: var(--c-500); transition: transform .3s var(--ease); }
.mobile-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.mobile-sub > div { overflow: hidden; }
.mobile-sub.is-open { grid-template-rows: 1fr; }
.mobile-sub a { display: flex; align-items: center; gap: 12px; padding: 12px 8px; color: var(--text); text-decoration: none; font-weight: 650; }
.mobile-sub a .i { color: var(--c-600); }
button[aria-expanded="true"] .i { transform: rotate(180deg); }
.mobile-menu__call { display: grid; gap: 10px; margin-top: auto; }
.mobile-menu__fs { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; margin: 6px 0 16px; border-radius: 14px; background: var(--c-50); font-weight: 700; color: var(--ink); }
.mobile-menu__fs .fontsize button { border-color: var(--c-300); color: var(--c-800); height: 40px; min-width: 46px; }
.mobile-menu__fs .fontsize button[aria-pressed="true"] { background: var(--c-700); color: #fff; }

/* ---------- Секції ---------- */
.section { --sec-pad: 96px; padding: var(--sec-pad) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--c-50), #fff); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--c-600); font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head--center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 110px;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(196,176,233,.55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(239,232,250,.9), transparent 60%),
    linear-gradient(180deg, #fbf9ff, #fff);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: floaty 14s ease-in-out infinite; }
.hero__blob--1 { width: 340px; height: 340px; background: #e2d4fb; top: -80px; left: 38%; }
.hero__blob--2 { width: 260px; height: 260px; background: #f6d9f2; bottom: 40px; right: -60px; animation-delay: -6s; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px;
  background: #fff; border: 1px solid var(--c-200); box-shadow: var(--shadow-sm);
  color: var(--c-700); font-weight: 800; font-size: .88rem;
}
.pulse-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.8s var(--ease) infinite; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin: 22px 0 18px; line-height: 1.08; }
.hero h1 em { font-style: italic; color: var(--c-600); }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__phone { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hero__phone-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--green-100); color: var(--green); }
.hero__phone small { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.hero__phone a { font-size: 1.35rem; font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.hero__phone a:hover { color: var(--green); }

.hero__visual { position: relative; }
.hero__photo {
  position: relative; border-radius: 40px 40px 40px 110px; overflow: hidden;
  aspect-ratio: 1500 / 1218; box-shadow: var(--shadow-lg);
  animation: revealPhoto 1.4s var(--ease) .2s both;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.08); animation: zoomOut 2.2s var(--ease) .2s forwards; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(43,24,68,.35)); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
  font-size: .9rem; color: var(--muted); line-height: 1.3;
  animation: popIn .9s var(--ease-spring) both, bob 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: 1rem; }
.float-card__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--c-100); color: var(--c-700); }
.float-card--1 { left: -34px; top: 13%; animation-delay: .9s, 1.8s; }
.float-card--2 { right: -20px; bottom: 16%; animation-delay: 1.15s, 0s; }
.float-card--2 .float-card__ic { background: var(--green-100); color: var(--green); }

.badge-rotate { position: absolute; z-index: 3; right: -28px; top: -26px; width: 132px; height: 132px; animation: popIn 1s var(--ease-spring) 1.3s both; }
.badge-rotate__text { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-rotate__text text { font-family: var(--font-body); font-size: 11.5px; font-weight: 800; letter-spacing: 2.6px; fill: var(--c-700); text-transform: uppercase; }
.badge-rotate__core { position: absolute; inset: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.badge-rotate__core img { width: 60px; animation: heartbeat 2.4s var(--ease) infinite; }

/* Лінія кардіограми */
.ecg { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 90px; pointer-events: none; opacity: .9; }
.ecg path { fill: none; stroke: url(#ecgGrad); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ecgDraw 5.5s var(--ease) .6s infinite; }

/* ---------- Бігучий рядок ---------- */
.marquee { background: var(--c-800); color: #fff; overflow: hidden; padding: 20px 0; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee a { display: inline-flex; align-items: center; gap: 22px; color: #fff; text-decoration: none; font-weight: 750; font-size: 1.15rem; padding-right: 22px; white-space: nowrap; }
.marquee a:hover { color: var(--c-200); }
.marquee .i { color: var(--c-300); width: 1em; height: 1em; }

/* ---------- Картки послуг ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 30px 28px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  color: var(--text); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.service-card::before {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-100), transparent 70%); transition: transform .6s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--c-300); color: var(--text); }
.service-card:hover::before { transform: scale(1.6); }
.service-card__ic {
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 20px; margin-bottom: 14px;
  background: var(--c-100); color: var(--c-700);
  transition: background .35s, color .35s, transform .5s var(--ease-spring);
}
.service-card__ic .i { width: 32px; height: 32px; stroke-width: 1.8; }
.service-card:hover .service-card__ic { background: var(--c-700); color: #fff; transform: rotate(-8deg) scale(1.06); }
.service-card h3 { font-size: 1.25rem; margin: 0; }
.service-card p { color: var(--muted); margin: 0 0 14px; flex: 1; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.service-card__price { font-weight: 800; color: var(--c-700); font-size: .95rem; }
.service-card .link-arrow { color: var(--c-700); }
.service-card:hover .link-arrow .i { transform: translateX(6px); }
.avatars { display: flex; }
.avatars img, .avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; object-position: 50% 15%;
  margin-left: -8px; background: var(--c-100); display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: var(--c-700);
}
.avatars > :first-child { margin-left: 0; }

/* ---------- Про нас (блок) ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__photo img { transform: scale(1.05); }
.about__stamp {
  position: absolute; left: -24px; bottom: -28px; display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 16px 20px; border-radius: 20px; box-shadow: var(--shadow);
}
.about__stamp img { width: 64px; }
.about__stamp b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--c-700); }
.about__stamp span { font-size: .88rem; color: var(--muted); }
.about__text p { color: var(--muted); font-size: 1.06rem; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; color: var(--ink); }
.checks .ck { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-100); color: var(--green); flex-shrink: 0; }
.checks .ck .i { width: 18px; height: 18px; stroke-width: 3; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-align: center; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--c-700); line-height: 1; }
.stat__label { margin-top: 8px; color: var(--muted); font-weight: 650; }

/* ---------- Лікарі ---------- */
.doctor-card {
  position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.doctor-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: var(--text); }
.doctor-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--c-100), var(--c-50)); }
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .9s var(--ease); }
.doctor-card:hover .doctor-card__photo img { transform: scale(1.07); }
.doctor-card__photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(43,24,68,.55)); opacity: 0; transition: opacity .45s;
}
.doctor-card:hover .doctor-card__photo::after { opacity: 1; }
.doctor-card__more {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px;
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px;
  background: #fff; color: var(--c-800); font-weight: 800;
  opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.doctor-card:hover .doctor-card__more, .doctor-card:focus-visible .doctor-card__more { opacity: 1; transform: none; }
.doctor-card__body { padding: 20px 22px 24px; }
.doctor-card__pos { color: var(--c-600); font-weight: 800; font-size: .9rem; margin-bottom: 6px; }
.doctor-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; margin: 0; line-height: 1.3; }
.monogram { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-head); font-size: 4rem; color: var(--c-500); }
.monogram small { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--muted); text-align: center; margin-top: -10px; }

.slider { position: relative; }
.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px 4px 28px; margin: -8px -4px 0; scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }
.slider__nav { display: flex; gap: 12px; }
.slider__btn {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  border: 2px solid var(--c-200); background: #fff; color: var(--c-800);
  transition: background .25s, color .25s, transform .35s var(--ease), border-color .25s;
}
.slider__btn:hover { background: var(--c-700); border-color: var(--c-700); color: #fff; transform: scale(1.06); }
.slider__btn:disabled { opacity: .35; pointer-events: none; }
.slider__btn .i { width: 26px; height: 26px; }
.slider__bar { height: 4px; border-radius: 4px; background: var(--c-100); overflow: hidden; }
.slider__bar span { display: block; height: 100%; width: 25%; border-radius: 4px; background: var(--c-500); transition: transform .3s var(--ease), width .3s; }

.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter button {
  min-height: 50px; padding: 0 20px; border-radius: 99px; border: 2px solid var(--c-200);
  background: #fff; color: var(--ink); font-weight: 750;
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.filter button:hover { border-color: var(--c-500); transform: translateY(-2px); }
.filter button[aria-pressed="true"] { background: var(--c-700); border-color: var(--c-700); color: #fff; }
.filter button span { opacity: .7; font-weight: 700; margin-left: 4px; }
.doctors-group + .doctors-group { margin-top: 64px; }
.doctors-group__title { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 22px; }
.is-hidden { display: none !important; }

/* ---------- Як записатися ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px;
  background-image: linear-gradient(90deg, var(--c-300) 50%, transparent 50%); background-size: 14px 2px;
  animation: dash 1.2s linear infinite;
}
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num {
  position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--c-200); color: var(--c-700); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-spring), background .3s, color .3s;
}
.step__num .i { width: 38px; height: 38px; stroke-width: 1.7; }
.step__num b { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-700); color: #fff; font-size: .9rem; }
.step:hover .step__num { transform: translateY(-6px) scale(1.05); background: var(--c-700); color: #fff; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }

/* ---------- Ціни ---------- */
.prices-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: start; }
.price-table { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; }
.price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 24px; border-bottom: 1px solid var(--line); transition: background .2s;
}
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: var(--c-50); }
.price-row__name { font-weight: 650; color: var(--ink); }
.price-row__name small { display: inline-block; margin-left: 8px; color: var(--muted); font-weight: 600; }
.price-row__val { white-space: nowrap; font-weight: 800; font-size: 1.1rem; color: var(--c-700); }
.price-note { font-size: .92rem; color: var(--muted); margin-top: 14px; }
.cta-card {
  position: sticky; top: calc(var(--header-h) + 20px);
  padding: 34px 30px; border-radius: 26px; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, var(--c-700), var(--c-900));
}
.cta-card::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -80px; bottom: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(196,176,233,.35), transparent 70%); animation: floaty 10s ease-in-out infinite; }
.cta-card h3 { color: #fff; font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; }
.cta-card p { color: #e7defa; }
.cta-card .btn { margin-top: 10px; }
.cta-card .kicker { color: var(--c-200); }

.accordion { border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.accordion + .accordion { margin-top: 18px; }
.accordion__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 22px 24px; border: 0; background: var(--c-50); color: var(--ink); text-align: left;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600;
}
.accordion__head .i { color: var(--c-600); transition: transform .4s var(--ease); width: 28px; height: 28px; }
.accordion__head[aria-expanded="false"] .i { transform: rotate(-90deg); }
.accordion__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.accordion__body > div { overflow: hidden; }
.accordion__head[aria-expanded="false"] + .accordion__body { grid-template-rows: 0fr; }
.accordion .price-table { border: 0; border-radius: 0; }

.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.search { position: relative; flex: 1; min-width: 260px; }
.search .i { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: var(--c-500); width: 24px; height: 24px; }
.search input {
  width: 100%; min-height: 58px; padding: 0 20px 0 54px; border-radius: 16px;
  border: 2px solid var(--c-200); background: #fff; font: inherit; font-size: 1.05rem; color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.search input:focus { outline: none; border-color: var(--c-500); box-shadow: 0 0 0 5px rgba(132,87,196,.15); }
.empty { padding: 30px; text-align: center; color: var(--muted); border: 2px dashed var(--c-200); border-radius: 20px; }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--c-100); }
.gallery button.wide { grid-column: span 2; }
.gallery button.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.gallery button::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3rem; font-weight: 300; color: #fff; background: rgba(43,24,68,.35); opacity: 0; transition: opacity .35s;
}
.gallery button:hover img { transform: scale(1.08); }
.gallery button:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 24px;
  background: rgba(20, 10, 32, .9); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-height: 84vh; max-width: min(1100px, 100%); border-radius: 18px; transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 18px; top: 50%; translate: 0 -50%; }
.lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #e9e1f7; }

/* ---------- Контакти ---------- */
.contacts { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-card { padding: 34px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-card h3 { font-family: var(--font-head); font-size: 1.55rem; font-weight: 600; margin-bottom: 18px; }
.contact-line { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--c-100); color: var(--c-700); flex-shrink: 0; }
.contact-line__ic--green { background: var(--green-100); color: var(--green); }
.contact-line small { display: block; color: var(--muted); font-weight: 650; font-size: .88rem; }
.contact-line b, .contact-line a.big { font-size: 1.12rem; color: var(--ink); font-weight: 800; }
.contact-line a.big { display: block; text-decoration: none; }
.contact-line a.big:hover { color: var(--green); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.map { position: relative; min-height: 440px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--c-50); box-shadow: var(--shadow-sm); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__pin { position: absolute; z-index: 2; left: 16px; top: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-weight: 800; color: var(--ink); font-size: .92rem; }
.map__pin img { width: 34px; }

/* ---------- Заголовок внутрішніх сторінок ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 56px 0 64px;
  background: radial-gradient(800px 400px at 90% -10%, rgba(196,176,233,.6), transparent 60%), linear-gradient(180deg, #fbf9ff, #fff);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 14px; }
.page-hero .lead { max-width: 700px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; padding: 0; margin: 0 0 22px; font-size: .92rem; font-weight: 650; color: var(--muted); }
.crumbs a { color: var(--c-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--c-400); }
.page-hero .ecg { bottom: 0; height: 70px; opacity: .6; }

/* ---------- Сторінка послуги ---------- */
.svc-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.svc-hero__ic { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--c-700); color: #fff; margin-bottom: 20px; box-shadow: 0 14px 30px rgba(85,48,138,.3); animation: popIn .9s var(--ease-spring) .2s both; }
.svc-hero__ic .i { width: 42px; height: 42px; stroke-width: 1.7; }
.svc-hero__photo { border-radius: 30px 30px 30px 100px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); animation: revealPhoto 1.3s var(--ease) .1s both; }
.svc-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.reasons li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-weight: 650; color: var(--ink); transition: transform .35s var(--ease), border-color .3s; }
.reasons li:hover { transform: translateX(6px); border-color: var(--c-300); }
.reasons .ck { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-100); color: var(--c-700); flex-shrink: 0; }
.reasons .ck .i { width: 18px; height: 18px; stroke-width: 3; }
.block + .block { margin-top: 56px; }
.block h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 22px; }

/* ---------- Сторінка лікаря ---------- */
.doc-profile { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start; }
.doc-profile__photo { position: sticky; top: calc(var(--header-h) + 20px); border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--c-100), var(--c-50)); animation: revealPhoto 1.2s var(--ease) both; }
.doc-profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.doc-profile h1 { font-size: clamp(2rem, 3.8vw, 3rem); margin: 12px 0 18px; }
.doc-profile__specs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.doc-profile__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.info-box { display: flex; gap: 16px; padding: 22px 24px; border-radius: 20px; background: var(--c-50); border: 1px solid var(--c-200); color: var(--text); }
.info-box .i { color: var(--c-600); width: 28px; height: 28px; margin-top: 2px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.info-list li { padding: 16px 20px; border-left: 4px solid var(--c-400); background: #fff; border-radius: 0 14px 14px 0; box-shadow: var(--shadow-sm); }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.docs-grid button { padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 3/4; }
.docs-grid img { width: 100%; height: 100%; object-fit: cover; }
.svc-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 750; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.svc-link:hover { transform: translateY(-4px); border-color: var(--c-300); box-shadow: var(--shadow); color: var(--c-700); }
.svc-link span.ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--c-100); color: var(--c-700); }

/* ---------- Цінності (Про нас) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(140deg, var(--c-500), var(--c-700)); color: #fff; margin-bottom: 18px; }
.value__ic .i { width: 30px; height: 30px; }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); margin: 0; }
.quote { position: relative; max-width: 900px; margin: 0 auto; text-align: center; font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.45; color: var(--ink); font-style: italic; }
.quote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--c-300); margin-bottom: 10px; }

/* ---------- CTA-смуга ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 34px; padding: 56px 56px; color: #fff;
  background: linear-gradient(130deg, var(--c-700), var(--c-900));
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.cta-band::before { width: 380px; height: 380px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(196,176,233,.4), transparent 70%); animation: floaty 12s ease-in-out infinite; }
.cta-band::after { width: 300px; height: 300px; left: 30%; bottom: -200px; background: radial-gradient(circle, rgba(242,170,230,.25), transparent 70%); animation: floaty 15s ease-in-out infinite reverse; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.cta-band p { color: #e4d9f7; margin: 0; font-size: 1.08rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Підвал ---------- */
.footer { background: var(--c-900); color: #d9cfec; padding: 72px 0 0; margin-top: 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--c-200); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { width: 120px; height: 120px; border-radius: 50%; background: #fff; padding: 8px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .i { color: var(--c-300); margin-top: 4px; }
.footer__phone { font-size: 1.15rem; font-weight: 800; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .88rem; color: #b9acd2; }
.footer__legal { flex-basis: 100%; margin: 0; color: #d3c8e6; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.08); transition: background .25s, transform .35s var(--ease); }
.footer__social a:hover { background: var(--c-600); transform: translateY(-3px); text-decoration: none; }

/* ---------- Плаваючі кнопки ---------- */
.fab {
  position: fixed; z-index: 90; right: 26px; bottom: 26px;
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  border: 0; background: var(--green); color: #fff; box-shadow: 0 14px 32px rgba(24,138,74,.4);
  animation: popIn .8s var(--ease-spring) 1.5s both;
  transition: transform .35s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab .i { width: 32px; height: 32px; animation: ring 3.5s ease-in-out 3s infinite; }
.fab::before, .fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ripple 2.6s ease-out infinite; }
.fab::after { animation-delay: 1.3s; }
.fab__tip { position: absolute; right: calc(100% + 14px); white-space: nowrap; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; font-weight: 700; font-size: .9rem; opacity: 0; transform: translateX(8px); transition: .3s var(--ease); pointer-events: none; }
.fab:hover .fab__tip { opacity: 1; transform: none; }
.to-top {
  position: fixed; z-index: 89; right: 36px; bottom: 112px; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--c-200); background: #fff; color: var(--c-700); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--c-700); color: #fff; }

.callbar { display: none; }

/* Viber і Telegram — над зеленою кнопкою, «світяться» (з'являються, лише якщо заповнені в адмінці) */
.msg-float { position: fixed; z-index: 90; right: 36px; bottom: 112px; display: flex; flex-direction: column-reverse; gap: 14px; }
.msg-btn {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff;
  box-shadow: 0 0 0 0 var(--glow), 0 10px 24px var(--glow); animation: popIn .8s var(--ease-spring) 1.7s both, msgGlow 3.2s ease-in-out 2.6s infinite;
  transition: transform .3s var(--ease);
}
.msg-btn:hover { transform: scale(1.1); text-decoration: none; }
.msg-btn .i { width: 26px; height: 26px; }
.msg-btn .fab__tip { right: calc(100% + 12px); }
.msg-btn:hover .fab__tip, .msg-btn:focus-visible .fab__tip { opacity: 1; transform: none; }
.msg-btn--viber { background: #7360f2; --glow: rgba(115,96,242,.45); }
.msg-btn--tg { background: #229ed9; --glow: rgba(34,158,217,.45); }
.msg-btn--tg + .msg-btn, .msg-btn + .msg-btn--tg { animation-delay: 1.85s, 3.4s; }
@keyframes msgGlow { 0%, 100% { box-shadow: 0 0 0 0 var(--glow), 0 10px 24px var(--glow); } 50% { box-shadow: 0 0 0 9px rgba(255,255,255,0), 0 10px 30px var(--glow); } }
.has-msg .to-top { right: 112px; bottom: 36px; }
.contact-line__ic--viber { background: #ede9fe; color: #6045e8; }
.contact-line__ic--tg { background: #e0f2fe; color: #1a8bc4; }

/* «Поділитися лікарем» */
.doc-profile__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 6px; }
.doc-profile__share span { color: var(--muted); font-size: .92rem; }

/* Смужка для працівників: сайт вимкнено для відвідувачів, а вони бачать його, бо увійшли в адмінку */
.staff-bar { position: relative; z-index: 101; display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: #fff4e5; color: #6b3d00; border-bottom: 2px solid #f0a020; font-size: .95rem; }
.staff-bar a { margin-left: auto; font-weight: 800; color: #6b3d00; white-space: nowrap; }

/* ---------- Вікно запису ---------- */
.modal { position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility 0s .4s; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(43,24,68,.55); opacity: 0; transition: opacity .4s; }
.modal__box {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 28px; padding: 34px 32px 30px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.modal.is-open { visibility: visible; transition-delay: 0s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-right: 56px; }
.modal__head img { width: 60px; }
.modal h2 { font-size: 1.75rem; margin: 0; }
.modal__ctx { display: none; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: var(--c-50); border: 1px solid var(--c-200); font-weight: 700; color: var(--c-800); }
.modal__ctx.is-shown { display: block; }
.modal__lead { color: var(--muted); margin-bottom: 20px; }
.modal__phones { display: grid; gap: 12px; }
.phone-btn {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px;
  background: var(--green); color: #fff; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s;
}
.phone-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(24,138,74,.32); }
.phone-btn__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.18); }
.phone-btn small { display: block; opacity: .9; font-weight: 650; font-size: .85rem; }
.phone-btn b { font-size: 1.4rem; letter-spacing: .02em; }
.phone-btn--alt { background: var(--c-700); }
.phone-btn--alt:hover { box-shadow: 0 14px 28px rgba(85,48,138,.32); }
.modal__meta { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .95rem; }
.modal__meta div { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.modal__meta .i { color: var(--c-600); margin-top: 3px; }
.phone-row { display: flex; gap: 10px; align-items: stretch; }
.phone-row .phone-btn { flex: 1; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border-radius: 18px; border: 2px solid var(--c-200); background: #fff; color: var(--c-700); font-weight: 750; font-size: .9rem; white-space: nowrap; transition: background .2s, border-color .2s; }
.copy-btn:hover { background: var(--c-50); border-color: var(--c-400); }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 30px; translate: -50% 0; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-weight: 700; opacity: 0; transform: translateY(20px); transition: .35s var(--ease); pointer-events: none; }
.toast.is-shown { opacity: 1; transform: none; }

/* ---------- Анімація появи при прокрутці ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Поява тексту hero по рядках */
.hero-in > * { animation: fadeUp 1s var(--ease) both; }
.hero-in > *:nth-child(1) { animation-delay: .1s; }
.hero-in > *:nth-child(2) { animation-delay: .22s; }
.hero-in > *:nth-child(3) { animation-delay: .34s; }
.hero-in > *:nth-child(4) { animation-delay: .46s; }
.hero-in > *:nth-child(5) { animation-delay: .58s; }

/* Перехід між сторінками */
.js body { animation: pageIn .6s var(--ease) both; }
.js body.is-leaving { animation: pageOut .2s ease forwards; }

/* ---------- Keyframes ---------- */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageOut { to { opacity: 0; } }
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes revealPhoto { from { clip-path: inset(12% 12% 12% 12% round 40px); opacity: 0; } to { clip-path: inset(0 0 0 0 round 0); opacity: 1; } }
@keyframes zoomOut { to { transform: scale(1); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes floaty { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -20px) scale(1.06); } 66% { transform: translate(-20px, 20px) scale(.96); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.12); } 28% { transform: scale(1); } 42% { transform: scale(1.08); } 70% { transform: scale(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }
@keyframes ripple { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ring { 0%, 86%, 100% { transform: rotate(0); } 88% { transform: rotate(-16deg); } 90% { transform: rotate(14deg); } 92% { transform: rotate(-12deg); } 94% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ecgDraw { 0% { stroke-dashoffset: 1; } 55% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes dash { to { background-position: 14px 0; } }

/* =========================================================
   Блоки конструктора, форма заявки, оголошення
   ========================================================= */
.section--plain { background: #fff; }
.section--dark { background: linear-gradient(160deg, var(--c-800), var(--c-900)); color: #e7defa; }
.section--dark h2, .section--dark h3, .section--dark .quote { color: #fff; }
.section--dark .kicker { color: var(--c-200); }
.section--dark .lead, .section--dark p { color: #e7defa; }
.section--tint + .section--tint, .section--soft + .section--soft, .section--dark + .section--dark { padding-top: 0; }
.page-hero + .section { padding-top: 56px; }
.section--cta { padding-top: 0; }
.section--tint + .section--cta, .section--soft + .section--cta, .section--dark + .section--cta,
.hero + .section--cta, .marquee + .section--cta { padding-top: var(--sec-pad); }
.page-hero + .section--cta { padding-top: 56px; }
.section--tight { padding: 36px 0; }
.center-btn { text-align: center; margin-top: 30px; }
.page-hero--doctor { padding-bottom: 80px; }

.hero__grid--solo { grid-template-columns: 1fr; max-width: 860px; }
.about--flip .about__media { order: 2; }
.about--solo { grid-template-columns: 1fr; max-width: 860px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.steps--1 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
.values--3 { grid-template-columns: repeat(3, 1fr); }
.values--2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
.values--1 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
.doctors-grid--sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.svc-link small { color: var(--muted); font-weight: 650; }

.text-block { max-width: 860px; }
.text-block--center { margin-inline: auto; text-align: center; }
.text-block__body p { font-size: 1.08rem; }
.text-block__body p:last-child { margin-bottom: 0; }

.faq { max-width: 920px; margin-inline: auto; }
.faq .accordion__head { font-family: var(--font-body); font-size: 1.15rem; font-weight: 750; background: #fff; }
.faq .accordion__head[aria-expanded="true"] { background: var(--c-50); }
.accordion__text { padding: 18px 24px 22px; }
.accordion__text p:last-child { margin-bottom: 0; }

.photo-block { margin: 0; }
.photo-block img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.photo-block figcaption { margin-top: 14px; text-align: center; color: var(--muted); font-size: .95rem; }

.info-box p { margin: 0 0 8px; }
.info-box p:last-of-type { margin-bottom: 0; }
.info-box--warn { background: #fff7e6; border-color: #f3d08a; }
.info-box--warn .i { color: #b26a00; }
.info-box__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 800; font-size: 1.15rem; color: var(--green-700); text-decoration: none; }
.info-box__phone .i { color: var(--green); width: 22px; height: 22px; margin: 0; }

.notice-bar { color: #fff; background: var(--c-700); font-weight: 700; }
.notice-bar--warn { background: #9a4d00; }
.notice-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding-block: 10px; text-align: center; }
.notice-bar .i { flex-shrink: 0; }
.notice-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.noscript { max-width: 760px; margin: 40px auto; padding: 24px; border: 2px solid var(--c-200); border-radius: 20px; font-size: 1.1rem; }
.page-hero--404 { padding-bottom: 90px; }

/* Форма заявки «Передзвоніть мені» */
.modal__or { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; color: var(--muted); font-weight: 700; text-align: center; }
.modal__or::before, .modal__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bform { display: grid; gap: 16px; }
.bform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 750; color: var(--ink); padding: 0; margin-bottom: 2px; }
.field small { color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 14px; border: 2px solid var(--c-200);
  background: #fff; font: inherit; font-size: 1.05rem; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-500); box-shadow: 0 0 0 5px rgba(132,87,196,.15); }
.field.has-error input, .field.has-error select { border-color: #c62828; box-shadow: 0 0 0 4px rgba(198,40,40,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-radio span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--c-200); font-weight: 700; color: var(--c-800); background: #fff; transition: .2s; }
.chip-radio input:checked + span { background: var(--c-700); border-color: var(--c-700); color: #fff; }
.chip-radio input:focus-visible + span { outline: 3px solid var(--c-400); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--text); cursor: pointer; }
.consent input { width: 26px; height: 26px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--c-700); }
.bform__error { margin: 0; padding: 12px 16px; border-radius: 14px; background: #fdecea; border: 1px solid #f5c2c0; color: #8e1c1c; font-weight: 700; }
.bform__note { margin: 0; text-align: center; color: var(--muted); font-size: .95rem; }
.bform__note a { font-weight: 800; color: var(--green-700); }
.bform__done { text-align: center; padding: 26px 10px 10px; outline: none; }
.bform__done .i { width: 64px; height: 64px; color: var(--green); margin-bottom: 10px; animation: popIn .7s var(--ease-spring) both; }
.bform__done h3 { font-size: 1.5rem; margin-bottom: 6px; }
.btn.is-loading { pointer-events: none; opacity: .75; }

.bform-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; padding: 44px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.bform-card__phones { display: grid; gap: 10px; margin-top: 24px; max-width: 340px; }
.section--plain .bform-card { background: var(--bg-soft); }

/* У попередньому перегляді адмінки ховаємо плаваючі кнопки — щоб не закривали вміст */
.is-preview .fab, .is-preview .to-top, .is-preview .callbar, .is-preview .msg-float { display: none !important; }

@media (max-width: 1080px) {
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .values--3 { grid-template-columns: repeat(2, 1fr); }
  .about--flip .about__media { order: 0; }
  .bform-card { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .page-hero + .section, .page-hero + .section--cta { padding-top: 40px; }
  .steps--4, .steps--2, .values--3, .values--2 { grid-template-columns: 1fr; }
  .bform-card { padding: 26px 20px; border-radius: 26px; }
  .chip-radio span { padding: 0 14px; }
  .notice-bar .wrap { font-size: .95rem; }
}

/* ---------- Адаптивність ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 10px; font-size: .93rem; }
  .nav__link::after { left: 10px; right: 10px; }
  .float-card--1 { left: -10px; }
  .badge-rotate { right: -8px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .topbar { display: none; }
  .nav { display: none; }
  .burger { display: inline-flex; margin-left: 0; }
  .header__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { max-width: 640px; width: 100%; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 680px; }
  .slider__track { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
  .prices-layout { grid-template-columns: 1fr; }
  .cta-card { position: relative; top: 0; }
  .contacts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .svc-hero, .svc-layout { grid-template-columns: 1fr; }
  .svc-hero__photo { max-width: 460px; aspect-ratio: 4 / 3; }
  .doc-profile { grid-template-columns: 340px 1fr; gap: 40px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; padding: 44px 36px; }
}

@media (max-width: 767px) {
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(34px); }
  html { font-size: 106.25%; }
  html[data-fs="1"] { font-size: 118.75%; }
  html[data-fs="2"] { font-size: 131.25%; }
  :root { --header-h: 68px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .header .wrap { gap: 12px; }
  .header.is-scrolled .wrap { min-height: 64px; }
  .brand__mark { width: 46px; height: 42px; }
  .brand__name { font-size: 1.3rem; }
  .brand__sub { font-size: .62rem; letter-spacing: .14em; }
  .header__cta { display: none; }
  .burger { padding: 0 12px; min-height: 48px; margin-left: auto; }
  .section { --sec-pad: 68px; }
  .section-head { margin-bottom: 32px; }
  .hero { padding: 36px 0 90px; }
  .hero__actions .btn { width: 100%; }
  .hero__photo { border-radius: 28px 28px 28px 70px; }
  .float-card { padding: 10px 12px; font-size: .78rem; border-radius: 14px; gap: 8px; }
  .float-card strong { font-size: .88rem; }
  .float-card__ic { width: 34px; height: 34px; border-radius: 10px; }
  .float-card__ic .i { width: 18px; height: 18px; }
  .float-card--1 { left: -6px; top: auto; bottom: -26px; }
  .float-card--2 { right: -6px; bottom: auto; top: 18px; }
  .badge-rotate { width: 100px; height: 100px; top: -40px; right: auto; left: -6px; }
  .badge-rotate__core { inset: 17px; }
  .badge-rotate__core img { width: 44px; }
  .badge-rotate__text text { font-size: 11px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 24px 22px; }
  .checks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .about__stamp { left: 12px; bottom: -24px; padding: 12px 14px; }
  .about__stamp img { width: 48px; }
  .slider__track { grid-auto-columns: 78%; gap: 16px; }
  .slider__nav { display: none; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .doctor-card { border-radius: 20px; }
  .doctor-card__body { padding: 14px 14px 18px; }
  .doctor-card h3 { font-size: 1.02rem; }
  .doctor-card__pos { font-size: .8rem; }
  .doctor-card__more { display: none; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
  .price-row { padding: 16px 16px; flex-wrap: wrap; gap: 4px 14px; }
  .price-row__name small { display: block; margin-left: 0; }
  .accordion__head { padding: 18px 18px; font-size: 1.15rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px; }
  .gallery button.wide { grid-column: span 2; }
  .contact-card { padding: 24px 20px; }
  .map { min-height: 340px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 32px 0 46px; }
  .doc-profile { grid-template-columns: 1fr; gap: 28px; }
  .doc-profile__photo { position: relative; top: 0; max-width: 420px; }
  .doc-profile__actions .btn { width: 100%; }
  .svc-links { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; border-radius: 26px; }
  .cta-band__actions .btn { width: 100%; }
  .modal { place-items: end center; padding: 0; }
  .modal__box { border-radius: 26px 26px 0 0; padding: 28px 20px 24px; max-height: 92vh; }
  .modal h2 { font-size: 1.45rem; }
  .phone-btn b { font-size: 1.25rem; }
  .copy-btn { display: none; }

  .fab { display: none; }
  .to-top { right: 16px; bottom: 96px; width: 48px; height: 48px; }
  .msg-float { right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); gap: 12px; }
  .msg-btn { width: 54px; height: 54px; }
  .msg-btn .fab__tip { display: none; }
  .has-msg .to-top { right: auto; left: 16px; bottom: 96px; }
  body { padding-bottom: 84px; }
  .callbar {
    position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(61,35,97,.1);
    animation: slideUp .7s var(--ease) 1s both;
  }
  /* розмір у px: кнопки й так великі, а з А+/А++ «Подзвонити» і «Записатися» вже не вміщалися поруч */
  .callbar .btn { min-height: 56px; padding: 9px 12px; font-size: 15.5px; gap: 7px; }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 380px) {
  .brand__sub { display: none; }
}
@media (max-width: 340px) {
  .callbar .btn svg { display: none; }
}
@media (max-width: 340px) {
  .burger__label { display: none; }
  .doctors-grid { grid-template-columns: 1fr; }
}

/* Для тих, хто вимкнув анімації в системі */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .ecg path { stroke-dashoffset: 0; }
}

/* Друк (наприклад, прайсу) */
@media print {
  .topbar, .header, .footer, .fab, .msg-float, .staff-bar, .doc-profile__share, .to-top, .callbar, .scroll-progress, .toolbar, .cta-card, .ecg, .modal, .mobile-menu { display: none !important; }
  .page-hero { padding: 0 0 20px; background: none; }
  .accordion__body { grid-template-rows: 1fr !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { padding: 0; }
}
