/* Ветіко: стилі сайту */

:root {
	--color-primary: #9c4dba;
	--primary-600: #8840a6;
	--primary-700: #6c2f86;
	--ink: #2b1838;
	--text: #4b3f57;
	--muted: #7d7189;
	--teal: #0ebdc2;
	--teal-600: #0a9aa0;
	--teal-50: #e7f8f8;
	--lilac-50: #f8f2fc;
	--lilac-100: #f0e4f8;
	--line: #ebdff3;
	--white: #fff;
	--radius: 24px;
	--radius-sm: 14px;
	--shadow: 0 18px 40px -22px rgba(76, 32, 102, .35);
	--shadow-sm: 0 8px 22px -14px rgba(76, 32, 102, .4);
	--header-h: 84px;
	--switch-h: 0px;
	--font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--switch-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a[href]:hover { color: var(--primary-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; }
.nowrap { white-space: nowrap; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid rgba(14, 189, 194, .55); outline-offset: 2px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* Кнопки */
.btn { --b: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 28px; border: 2px solid var(--b); border-radius: 999px; background: var(--b); color: #fff; font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s; text-align: center; }
.btn .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover, .btn[href]:hover { --b: var(--primary-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(108, 47, 134, .7); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { --b: var(--color-primary); }
.btn--ghost { background: transparent; color: var(--primary-600); }
.btn--ghost:hover, .btn--ghost[href]:hover { background: var(--color-primary); color: #fff; --b: var(--color-primary); }
.btn--light { --b: #fff; background: #fff; color: var(--primary-700); }
.btn--light:hover, .btn--light[href]:hover { --b: #fff; background: var(--lilac-100); color: var(--primary-700); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 14px 34px; font-size: 18px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--primary-600); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.round-btn:hover { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.link-more .icon { width: 18px; height: 18px; }

/* Телефони на комп'ютері: звичайний текст */
.tel { text-decoration: none; font-weight: 800; color: var(--ink); white-space: nowrap; }
.tel-static { cursor: text; }

/* ---------------- Шапка ---------------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(76, 32, 102, .55); }
.site-header__bar { max-width: none; padding: 0 clamp(20px, 3vw, 48px); display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header__logo { flex: none; display: block; width: 172px; }
.site-logo { width: 100%; height: auto; }
.logo-svg .lg-tile { transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease); }
.site-header__logo:hover .lg-tile--1 { transform: rotate(-8deg); }
.site-header__logo:hover .lg-tile--2 { transform: rotate(8deg); }
.site-header__logo:hover .lg-tile--3 { transform: rotate(8deg); }
.site-header__logo:hover .lg-tile--4 { transform: rotate(-8deg); }
.site-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 30px); white-space: nowrap; }
.site-nav__list a { position: relative; display: block; padding: 8px 0; color: var(--ink); font-weight: 700; text-decoration: none; }
.site-nav__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav__list a[href]:hover { color: var(--primary-600); }
.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after, .site-nav__list .current-menu-ancestor > a::after, .site-nav__list .current_page_parent > a::after { transform: scaleX(1); }
.site-nav__list .current-menu-item > a, .site-nav__list .current-menu-ancestor > a { color: var(--primary-600); }
.site-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }

/* Перемикач сайтів */
.site-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: #f2f0f6; font-size: 14px; font-weight: 700; line-height: 1; }
.site-switch__item { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; color: #3f3a4a; text-decoration: none; transition: background .2s, color .2s; white-space: nowrap; }
.site-switch__item.is-active { background: #e7d9f3; color: var(--primary-700); }
a.site-switch__item[href]:hover { background: #e6e3ec; color: var(--ink); }
.site-switch__icon { display: inline-flex; width: 18px; height: 18px; }
.site-switch__icon .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.site-switch__icon img { width: 18px; height: 18px; object-fit: contain; }
.site-switch__arrow { font-size: 18px; margin-left: 2px; }
.site-switch--row { display: none; }

/* Телефони в шапці */
.phones { position: relative; }
.phones__toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--ink); font-weight: 800; font-size: 16px; padding: 8px 4px; cursor: pointer; }
.phones__toggle .icon { color: var(--teal-600); }
.phones__chev { width: 16px; height: 16px; transition: transform .2s; }
.phones__toggle[aria-expanded="true"] .phones__chev { transform: rotate(180deg); }
.phones__list { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -18px rgba(43, 24, 56, .35); padding: 10px; border: 1px solid var(--line); }
.phones__item { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; }
.phones__item + .phones__item { border-top: 1px dashed var(--line); }
.phones__addr { font-size: 14px; color: var(--muted); }
.phones__num { font-size: 19px; }
.phones__callback { width: 100%; margin-top: 6px; border: 0; border-radius: 12px; padding: 12px; background: var(--lilac-50); color: var(--primary-700); font-weight: 800; cursor: pointer; }
.phones__callback:hover { background: var(--lilac-100); }

/* Бургер і мобільне меню */
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--lilac-50); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 3px; border-radius: 3px; background: var(--primary-700); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.drawer { position: fixed; inset: calc(var(--header-h) + var(--switch-h)) 0 0; z-index: 890; background: #fff; overflow-y: auto; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease); }
.admin-bar .drawer { top: calc(var(--header-h) + var(--switch-h) + 46px); }
.drawer.is-open { opacity: 1; transform: none; }
.drawer__inner { padding: 24px 24px 120px; display: flex; flex-direction: column; gap: 24px; }
.drawer__menu { list-style: none; margin: 0; padding: 0; }
.drawer__menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 800; color: var(--ink); text-decoration: none; }
.drawer__menu .current-menu-item > a { color: var(--color-primary); }
.drawer__clinics { display: grid; gap: 12px; }
.drawer__clinic { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 16px; background: var(--lilac-50); font-size: 15px; }
.drawer__phone { font-size: 20px; }

/* ---------------- Заставка ---------------- */
.intro { display: none; }
.has-intro .intro { display: flex; position: fixed; inset: 0; z-index: 99999; background: #fff; align-items: center; justify-content: center; transition: transform .8s var(--ease), opacity .8s; }
.intro__logo { width: min(560px, 78vw); height: auto; overflow: visible; }
.intro .lg-tile { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.2) rotate(-90deg); animation: vkTile .7s var(--ease) forwards; }
.intro .lg-tile--2 { animation-delay: .12s; transform: scale(.2) rotate(90deg); }
.intro .lg-tile--3 { animation-delay: .24s; transform: scale(.2) rotate(90deg); }
.intro .lg-tile--4 { animation-delay: .36s; }
.intro .lg-letter { opacity: 0; transform: translateY(40px); animation: vkRise .55s var(--ease) forwards; animation-delay: calc(.55s + var(--i) * .07s); }
.intro .lg-tag { opacity: 0; animation: vkFade .6s ease forwards 1.15s; }
.intro.is-out { transform: translateY(-100%); }
@keyframes vkTile { to { opacity: 1; transform: none; } }
@keyframes vkRise { to { opacity: 1; transform: none; } }
@keyframes vkFade { to { opacity: 1; } }

/* ---------------- Перший екран ---------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(calc(100svh - var(--header-h) - var(--switch-h)), 860px); display: flex; align-items: center; color: #fff; background: #3c2150; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.08); }
.hero__slide.is-on { opacity: 1; }
.hero__slide:not(.hero__slide--video).is-on img, .hero__slide:not(.hero__slide--video).is-out img { animation: vkZoom 12s linear forwards; }
.hero__slide--video img { transform: none; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: 0; transition: opacity .8s ease; }
.hero__video.is-ready { opacity: 1; }
@keyframes vkZoom { from { transform: scale(1.08); } to { transform: scale(1.0); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(52, 22, 72, .86) 0%, rgba(84, 40, 112, .62) 42%, rgba(84, 40, 112, .08) 75%), linear-gradient(0deg, rgba(43, 24, 56, .45), transparent 40%); }
.hero__wave { position: absolute; z-index: -1; right: -22vw; top: -30%; width: 44vw; height: 160%; border-radius: 50%; border: 22px solid var(--teal); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(8deg); opacity: .9; pointer-events: none; }
.hero__wave::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 10px solid rgba(14, 189, 194, .35); border-left-color: transparent; border-bottom-color: transparent; }
.hero__inner { position: relative; padding-top: clamp(48px, 8vh, 96px); padding-bottom: clamp(72px, 10vh, 120px); }
.hero__emblem { width: clamp(92px, 9vw, 132px); margin-bottom: 18px; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .3)); }
.hero__emblem img { width: 100%; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1.04; max-width: 13em; margin-bottom: 22px; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line__in { display: inline-block; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 34em; color: rgba(255, 255, 255, .92); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.hero__phones { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.hero__phone { display: flex; flex-direction: column; line-height: 1.25; }
.hero__phone .tel { color: #fff; font-size: 20px; }
.hero__phone small { color: rgba(255, 255, 255, .78); font-size: 14px; }
.hero__dots { position: absolute; left: 32px; bottom: 32px; display: flex; gap: 10px; }
.hero__dot { width: 34px; height: 5px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .4); cursor: pointer; transition: background .3s, width .3s; }
.hero__dot.is-on { background: var(--teal); width: 54px; }

/* Поява першого екрана */
.js [data-hero-step] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s var(--ease); transition-delay: calc(var(--s, 0) * .14s); }
.js .hero__title .line__in { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(.15s + var(--i) * .1s); }
.js [data-hero-step="0"] { --s: 0; transform: scale(.6) rotate(-12deg); }
.js [data-hero-step="1"] { --s: 1; transform: none; }
.js [data-hero-step="2"] { --s: 3; }
.js [data-hero-step="3"] { --s: 4; }
.hero.is-in [data-hero-step] { opacity: 1; transform: none; }
.hero.is-in .hero__title .line__in { transform: none; }

/* ---------------- Секції ---------------- */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section--flat { padding-top: clamp(40px, 5vw, 64px); }
.section--tint { background: var(--lilac-50); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-bottom: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--teal-600); font-weight: 800; font-size: 17px; }
.eyebrow::before { content: ''; width: 26px; height: 26px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='4.2' ry='3.6'/%3E%3Cellipse cx='6.2' cy='10.6' rx='1.8' ry='2.3'/%3E%3Cellipse cx='9.6' cy='6.6' rx='1.8' ry='2.4'/%3E%3Cellipse cx='14.4' cy='6.6' rx='1.8' ry='2.4'/%3E%3Cellipse cx='17.8' cy='10.6' rx='1.8' ry='2.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='4.2' ry='3.6'/%3E%3Cellipse cx='6.2' cy='10.6' rx='1.8' ry='2.3'/%3E%3Cellipse cx='9.6' cy='6.6' rx='1.8' ry='2.4'/%3E%3Cellipse cx='14.4' cy='6.6' rx='1.8' ry='2.4'/%3E%3Cellipse cx='17.8' cy='10.6' rx='1.8' ry='2.3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Поява при прокрутці */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Акції стрічкою */
.promo-strip { position: relative; z-index: 2; margin-top: -48px; }
.promo-strip .container { display: grid; gap: 18px; }
.promo-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px 30px 22px 22px; border-radius: var(--radius); background: linear-gradient(115deg, #7c3aa0, var(--color-primary) 55%, #b06ad0); color: #fff; box-shadow: var(--shadow); }
.promo-card__img { width: 170px; border-radius: 18px; overflow: hidden; background: #fff; }
.promo-card__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.promo-card__date { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.promo-card__date .icon { width: 16px; height: 16px; }
.promo-card__title { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 8px; }
.promo-card__text { color: rgba(255, 255, 255, .9); margin-bottom: 16px; max-width: 60em; }

/* Про нас на головній: фото або відео на всю картку, текст на градієнті зліва */
.btn--outline-white { --b: rgba(255, 255, 255, .7); background: transparent; color: #fff; }
.btn--outline-white:hover { --b: #fff; background: #fff; color: var(--primary-700); }
.about__card { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(520px, 44vw, 640px); border-radius: 36px; overflow: hidden; background: linear-gradient(120deg, var(--primary-700), var(--color-primary) 70%, #b36ad3); box-shadow: var(--shadow); color: #fff; }
.about__media { position: absolute; inset: 0; z-index: -2; }
.about__media img, .about__media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.about__card.is-in .about__media img, .about__card.is-in .about__media video { transform: scale(1); }
.about__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(60, 22, 84, .94) 0%, rgba(108, 47, 134, .82) 34%, rgba(156, 77, 186, .22) 64%, rgba(156, 77, 186, 0) 100%); }
.about__card--plain::before { display: none; }
.about__body { width: min(100%, 640px); padding: clamp(36px, 5vw, 68px); }
.about__label { color: var(--teal); }
.about__title { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 18px; }
.about__text { color: rgba(255, 255, 255, .9); font-size: 17.5px; }
.about__text p { margin: 0 0 12px; }
.about__quote { margin: 18px 0 28px; padding: 4px 0 4px 18px; border-left: 3px solid var(--teal); color: #fff; font-weight: 800; font-size: 19px; }
.about__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Сторінка "Про нас" */
.ahero { padding-bottom: clamp(64px, 9vw, 120px); }
.astory__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.astory__text { font-size: 17.5px; }
.astory__quote { margin: 26px 0 0; padding: 18px 22px; border-left: 4px solid var(--teal); border-radius: 0 16px 16px 0; background: var(--teal-50); color: var(--ink); font-weight: 700; font-size: 18px; }
.astory__media { position: relative; margin: 0; }
.astory__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: var(--lilac-100); box-shadow: var(--shadow); }
.astory__frame img, .astory__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.astory__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(72, 28, 96, .8)); pointer-events: none; }
.astory__cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; font-weight: 800; font-size: 18px; }
.astory__media::before { content: ''; position: absolute; z-index: -1; inset: 28px -18px -18px 28px; border-radius: 32px; background: var(--teal-50); border: 2px solid rgba(14, 189, 194, .35); }
.aequip { background: var(--lilac-50); }
.aequip__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.aequip__item { display: flex; gap: 16px; height: 100%; padding: 20px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
a.aequip__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.aequip__icon { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--lilac-100); overflow: hidden; }
.aequip__icon img { width: 100%; height: 100%; object-fit: cover; }
.aequip__icon .icon { width: 28px; height: 28px; fill: var(--color-primary); stroke: none; }
.aequip__title { display: block; margin: 2px 0 6px; font-weight: 800; font-size: 18px; color: var(--primary-700); }
.aequip__text { display: block; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.apets__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.apets__item { padding: 22px 20px; border-radius: 22px; border: 2px solid var(--lilac-100); background: #fff; }
.apets__item .icon { width: 26px; height: 26px; fill: var(--teal); stroke: none; margin-bottom: 10px; }
.apets__title { margin: 0 0 6px; font-size: 18px; color: var(--primary-700); }
.apets__text { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.asteps { background: linear-gradient(120deg, var(--primary-700), var(--color-primary) 70%, #b36ad3); color: #fff; }
.asteps .section-title { color: #fff; }
.asteps .eyebrow { color: var(--teal); }
.asteps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.asteps__item { position: relative; padding: 26px 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); counter-increment: st; }
.asteps__item::before { content: counter(st); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: #fff; color: var(--primary-700); font-weight: 800; font-size: 19px; }
.asteps__title { margin: 0 0 6px; color: #fff; font-size: 19px; }
.asteps__text { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15.5px; line-height: 1.5; }
.aphotos__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.aphotos__head .section-title { margin: 0; }
.aphotos__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.aphotos__grid a { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--lilac-100); }
.aphotos__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.aphotos__grid a:hover img { transform: scale(1.06); }
.aclinics__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.aclinic { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.aclinic__addr { margin: 0; font-size: 21px; color: var(--primary-700); }
.aclinic__row { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--ink); }
.aclinic__row .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
.aclinic .btn { align-self: flex-start; margin-top: 8px; }

/* Переваги */
.features__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { padding: 30px 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon { display: block; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 24px; background: var(--lilac-50); padding: 6px; transition: transform .5s var(--ease); }
.feature:hover .feature__icon { transform: rotate(-6deg) scale(1.06); }
.feature__icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 18px; mix-blend-mode: multiply; }
.feature__title { font-size: 21px; margin-bottom: 8px; }
.feature__lead { color: var(--primary-600); font-weight: 700; margin-bottom: 8px; }
.feature__text { margin: 0; font-size: 16px; }

/* Послуги на головній */
.hservices__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-bottom: 48px; }
.hservices__head .section-title { margin-bottom: 0; }
.hservices__text p:last-child { margin-bottom: 0; }
.hservices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.scard { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.scard:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: inherit; }
.scard__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--lilac-100); }
.scard__media { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.scard__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.scard:hover .scard__media > img { transform: scale(1.05); }
.scard__icon { position: absolute; z-index: 1; left: 20px; bottom: 14px; width: 68px; height: 68px; padding: 5px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.scard__icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.scard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.scard__title { font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.scard__text { font-size: 15.5px; }
.scard__more, .sitem__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--primary-600); font-weight: 800; }
.scard__more .icon, .sitem__more .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.scard:hover .scard__more .icon, .sitem:hover .sitem__more .icon { transform: translateX(4px); }
.hservices__all { text-align: center; margin: 44px 0 0; }

/* Відгуки */
.reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.reviews__head .section-title { margin: 0; }
.reviews__nav { display: flex; gap: 10px; }
.reviews__widget { margin-bottom: 30px; }
/* Віджет Trustindex: картки в кольорах сайту замість сірих. Плагін ставить свої кольори з !important і атрибутами, тому селектор з #reviews */
#reviews .reviews__widget .ti-widget[data-layout-id] .ti-review-item > .ti-inner { background: var(--lilac-50) !important; border: 1px solid #eadcf3 !important; border-radius: 22px !important; box-shadow: none !important; transition: border-color .25s, box-shadow .25s; }
#reviews .reviews__widget .ti-widget[data-layout-id] .ti-review-item > .ti-inner:hover { border-color: #d9c2ea !important; box-shadow: 0 14px 30px -22px rgba(108, 47, 134, .55) !important; }
#reviews .reviews__widget .ti-widget[data-layout-id] .ti-review-content, #reviews .reviews__widget .ti-widget[data-layout-id] .ti-review-text-container, #reviews .reviews__widget .ti-widget[data-layout-id] .ti-review-content * { color: var(--ink) !important; }
#reviews .reviews__widget .ti-widget[data-layout-id] .ti-name { color: var(--ink) !important; font-weight: 800 !important; }
#reviews .reviews__widget .ti-widget[data-layout-id] .ti-date { color: #6f6580 !important; }
#reviews .reviews__widget .ti-widget[data-layout-id] .ti-read-more, #reviews .reviews__widget .ti-widget[data-layout-id] .ti-read-more span, #reviews .reviews__widget .ti-widget[data-layout-id] .ti-reply-by-owner-title { color: var(--primary-600) !important; font-weight: 700 !important; opacity: 1 !important; }
#reviews .reviews__widget .ti-widget[data-layout-id] .ti-controls .ti-next, #reviews .reviews__widget .ti-widget[data-layout-id] .ti-controls .ti-prev { background: #fff !important; border: 1px solid #eadcf3 !important; box-shadow: 0 6px 16px -10px rgba(108, 47, 134, .6) !important; }
#reviews .reviews__widget .ti-widget[data-layout-id] .ti-controls .ti-next:before, #reviews .reviews__widget .ti-widget[data-layout-id] .ti-controls .ti-prev:before { border-color: var(--primary-600) !important; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 18px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--lilac-50); position: relative; }
.review::before { content: '"'; position: absolute; right: 22px; top: 6px; font-size: 90px; line-height: 1; font-weight: 800; color: var(--lilac-100); }
.review__text { margin: 0; font-size: 16px; position: relative; }
.review__text p:last-child { margin: 0; }
.review__who { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.review__av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.review__av--letter { display: inline-flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; font-weight: 800; }

/* Часті запитання */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + var(--switch-h) + 24px); }
.faq__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.faq__tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; transition: .2s; }
.faq__tab span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--lilac-100); color: var(--primary-700); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.faq__tab:hover { border-color: var(--color-primary); }
.faq__tab.is-on { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.faq__tab.is-on span { background: rgba(255, 255, 255, .25); color: #fff; }
.faq__group { display: grid; gap: 12px; animation: vkFade .4s ease; }
.qa { border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.qa__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 800; color: var(--ink); font-size: 18px; }
.qa__q::-webkit-details-marker { display: none; }
.qa__sign { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--lilac-50); color: var(--primary-600); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background .3s; }
.qa[open] .qa__sign { transform: rotate(45deg); background: var(--color-primary); color: #fff; }
.qa__a { padding: 0 24px 20px; }
.qa__a p:last-child { margin: 0; }

/* Форма заявки */
.lead__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lead__form-wrap { padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: #fff; box-shadow: 0 30px 70px -40px rgba(76, 32, 102, .55); border: 1px solid var(--line); }
.lead__sub { color: var(--muted); margin-top: -10px; }
.lead__side { display: grid; gap: 22px; justify-items: center; }
.lead__pic { width: 100%; max-width: 380px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 30px; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(140deg, #e6cdf5 0%, #c79be0 45%, #f0e4f8 70%, #bfeaf0 100%) border-box; box-shadow: 0 0 0 6px var(--lilac-50), 0 26px 50px -30px rgba(76, 32, 102, .45); }
.lead__pic img { display: block; width: 100%; border-radius: 28px; }
.lead__phones { display: grid; gap: 14px; width: 100%; max-width: 380px; }
.lead__phones p { margin: 0; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 16px; background: var(--lilac-50); }
.lead__phone { font-size: 22px; }
.lead__phones span { color: var(--muted); font-size: 15px; }
.lead-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.field { position: relative; }
.field--full, .clinic-pick { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 24px 18px 10px; border: 2px solid var(--line); border-radius: 16px; background: #fdfbfe; font: inherit; color: var(--ink); transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field label { position: absolute; left: 20px; top: 17px; color: var(--muted); pointer-events: none; transition: .2s; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: 12.5px; font-weight: 700; color: var(--primary-600); }
.field input.is-invalid { border-color: #d6455d; }
.clinic-pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.clinic-pick legend { margin-bottom: 8px; font-weight: 800; color: var(--ink); font-size: 15px; }
.clinic-pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.clinic-pick__opt { position: relative; }
.clinic-pick__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.clinic-pick__opt span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 15px; transition: .2s; }
.clinic-pick__opt span .icon { width: 16px; height: 16px; color: var(--teal-600); }
.clinic-pick__opt input:checked + span { border-color: var(--color-primary); background: var(--lilac-50); color: var(--primary-700); }
.clinic-pick__opt input:focus-visible + span { outline: 3px solid rgba(14, 189, 194, .55); }
.lead-form__error { color: #c23350; font-weight: 700; margin: 0 0 12px; }
.lead-form__privacy { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.lead-form__success { text-align: center; padding: 26px 10px; }
.lead-form__ok { width: 64px; height: 64px; margin: 0 auto 12px; padding: 14px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 2.4; }
.lead-form__success p { font-weight: 700; color: var(--ink); font-size: 18px; }

/* ---------------- Внутрішні сторінки ---------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14.5px; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary-600); }
.crumbs__sep { opacity: .5; }
.phero { padding: clamp(40px, 6vw, 80px) 0; background: radial-gradient(1200px 400px at 85% 0%, var(--teal-50), transparent 60%), var(--lilac-50); overflow: hidden; }
.phero--simple { padding-bottom: clamp(36px, 5vw, 60px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero__title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 20px; }
.phero__sub { font-size: 19px; max-width: 46em; margin: 0; }
.phero__text p { font-size: 17.5px; }
.phero__book { margin-top: 28px; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.phero__label { margin: 0 0 8px; font-weight: 800; color: var(--ink); }
.phero__phones { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.phero__phones li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.phero__phones .tel { font-size: 20px; }
.phero__phones span { color: var(--muted); }
.phero__media { position: relative; padding: 0 0 16% 12%; }
.phero__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
.phero__photo--small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border: 8px solid #fff; }
/* Сторінка "Послуги": одне велике фото замість колажу */
.phero--svc .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.phero--svc .phero__title { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; }
.phero__media--single { padding: 0; width: 100%; max-width: 500px; justify-self: end; }
.phero__frame { position: relative; isolation: isolate; }
.phero__frame::before { content: ''; position: absolute; z-index: -1; inset: 8% -6% -6% 10%; border-radius: 36px; background: linear-gradient(140deg, var(--teal) 0%, var(--color-primary) 100%); opacity: .22; transform: rotate(5deg); }
.phero__frame img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 46px 80px -38px rgba(76, 32, 102, .6), 0 16px 30px -20px rgba(76, 32, 102, .35); transform: rotate(-2deg); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.phero__frame:hover img { transform: rotate(0) translateY(-6px); box-shadow: 0 56px 90px -40px rgba(76, 32, 102, .65), 0 18px 34px -20px rgba(76, 32, 102, .35); }

.counters { background: linear-gradient(110deg, var(--primary-700), var(--color-primary) 60%, #b36ad3); color: #fff; padding: 40px 0; }
.counters__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.counter { display: flex; flex-direction: column; gap: 4px; }
.counter__num { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; white-space: nowrap; }
.counter__label { color: rgba(255, 255, 255, .88); font-weight: 600; }

.slist__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; margin-bottom: 34px; }
.slist__head .section-title { margin: 0; }
.slist__search { display: flex; align-items: center; gap: 10px; width: min(380px, 100%); padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); transition: border-color .2s; }
.slist__search:focus-within { border-color: var(--color-primary); }
.slist__search input { flex: 1; min-width: 0; border: 0; padding: 13px 0; font: inherit; background: none; color: var(--ink); outline: none; }
.slist__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.slist__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sitem { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; scroll-margin-top: calc(var(--header-h) + var(--switch-h) + 30px); }
.sitem:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.sitem:target { border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--lilac-100); }
.sitem__icon { width: 84px; height: 84px; border-radius: 22px; background: var(--lilac-50); padding: 4px; display: flex; align-items: center; justify-content: center; color: var(--color-primary); }
.sitem__icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 18px; mix-blend-mode: multiply; }
.sitem__icon .icon { width: 40px; height: 40px; fill: currentColor; stroke: none; }
.sitem__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sitem__title { font-weight: 800; color: var(--ink); font-size: 18.5px; line-height: 1.25; }
.sitem__text { font-size: 15px; color: var(--text); }
.slist__empty { text-align: center; font-weight: 700; margin-top: 20px; }

.doors__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.doors__photo { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.doors__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.doors__icon { display: block; width: 92px; margin-bottom: 10px; }
.doors__icon img { width: 100%; }

/* Сторінка послуги */
.shero { padding: clamp(36px, 5vw, 72px) 0; background: radial-gradient(900px 380px at 90% 10%, var(--teal-50), transparent 60%), var(--lilac-50); overflow: hidden; }
.shero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.shero__mini { display: inline-block; width: 64px; height: 64px; padding: 4px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.shero__mini img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.shero__title { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: 18px; }
.shero__lead { font-size: 19px; color: var(--ink); max-width: 36em; }
.shero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.shero__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; }
.shero__phone .icon { color: var(--teal-600); }
.shero__photo { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.shero__photo img { width: 100%; height: 100%; object-fit: cover; }
.shero__art { position: relative; width: min(380px, 100%); margin: 0 auto; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--lilac-100) 70%); display: flex; align-items: center; justify-content: center; padding: 12%; box-shadow: inset 0 0 0 14px rgba(255, 255, 255, .6); }
.shero__art::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; border: 3px dashed rgba(14, 189, 194, .45); animation: vkSpin 40s linear infinite; }
@keyframes vkSpin { to { transform: rotate(360deg); } }
.shero__art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; animation: vkFloat 7s ease-in-out infinite; }
.sbody { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); }
.sbody__aside { position: relative; }
.book-card { position: sticky; top: calc(var(--header-h) + var(--switch-h) + 24px); padding: 26px; border-radius: 24px; background: var(--lilac-50); border: 1px solid var(--line); }
.book-card__title { font-weight: 800; font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.book-card__text { font-size: 15px; color: var(--muted); }
.book-card__clinic { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px dashed var(--line); margin: 0; font-size: 15px; }
.book-card__clinic .tel { font-size: 19px; }
.book-card .btn { margin-top: 14px; }
.sfaq { max-width: 860px; display: grid; gap: 12px; }
.sother__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.sother__head .section-title { margin: 0; }
.slist__grid--4 .sitem { grid-template-columns: 1fr; }

/* Текст сторінок */
.entry { font-size: 18px; }
.entry > * { max-width: 760px; }
.entry p:first-child { font-size: 20px; color: var(--ink); font-weight: 600; }
.entry h2 { font-size: 30px; margin-top: 1.4em; }
.entry h3 { font-size: 23px; margin-top: 1.2em; }
.entry ul { padding-left: 0; list-style: none; }
.entry ul li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.entry ul li::before { content: ''; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 4px; background: var(--teal); transform: rotate(45deg); }
.entry img { border-radius: 18px; }
.entry table { width: 100%; border-collapse: collapse; }
.entry td, .entry th { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* Акції */
.promos__empty { font-size: 19px; padding: 30px; border-radius: 22px; background: var(--lilac-50); text-align: center; }
.promo + .promo { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line); }
.promo__head { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 40px; }
.promo__banner { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.promo__banner img { width: 100%; }
.promo__title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.promo__intro p { font-size: 18px; }
.promo__tables { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 26px; align-items: start; }
.ptable { padding: 26px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.ptable__top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.ptable__img { width: 96px; height: 88px; border-radius: 18px; overflow: hidden; flex: none; background: var(--lilac-50); }
.ptable__img img { width: 100%; height: 100%; object-fit: cover; }
.ptable__title { margin: 0; font-size: 26px; }
.ptable__table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.ptable__table th, .ptable__table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable__table thead th { font-size: 13.5px; color: var(--muted); font-weight: 800; border-bottom: 2px solid var(--line); }
.ptable__table tbody th { font-weight: 700; color: var(--ink); }
.ptable__table td { font-weight: 800; color: var(--primary-700); white-space: nowrap; }
.ptable__table tbody tr:hover { background: var(--lilac-50); }
.promos__book { margin-top: 56px; padding: 28px; border-radius: 26px; background: var(--lilac-50); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 30px; align-items: center; }
.promos__book .phero__phones { margin: 0; }
.promos__btns { display: flex; flex-wrap: wrap; gap: 12px; grid-row: 1 / span 2; grid-column: 2; }

/* Галерея */
.gallery { columns: 4 260px; column-gap: 16px; }
.gallery__item { position: relative; display: block; margin-bottom: 16px; border-radius: 20px; overflow: hidden; break-inside: avoid; background: var(--lilac-50); }
.gallery__item img { width: 100%; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--primary-700); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.7); transition: .3s var(--ease); }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__item.is-new { animation: vkRise .6s var(--ease); }
.gallery__more { text-align: center; margin: 30px 0 0; }

/* Лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 1000000; background: rgba(24, 12, 34, .94); display: flex; align-items: center; justify-content: center; }
.lightbox__fig { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lightbox__img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lightbox__count { color: rgba(255, 255, 255, .75); font-weight: 700; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Контакти */
.chero { position: relative; isolation: isolate; color: #fff; padding: clamp(56px, 8vw, 110px) 0; overflow: hidden; background: #3c2150; }
.chero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(52, 22, 72, .9), rgba(84, 40, 112, .55) 60%, rgba(84, 40, 112, .2)); }
.chero .crumbs, .chero .crumbs a { color: rgba(255, 255, 255, .75); }
.chero__icon { display: block; width: 90px; margin-bottom: 14px; }
.chero__icon img { width: 100%; border-radius: 50%; }
.chero__title { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); }
.chero__text { max-width: 40em; font-size: 19px; color: rgba(255, 255, 255, .9); margin-bottom: 28px; }
.clinics__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.clinic { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.clinic__map { aspect-ratio: 16 / 9; background: var(--lilac-50); }
.clinic__map iframe { width: 100%; height: 100%; border: 0; }
.clinic__body { padding: 26px 28px 30px; }
.clinic__addr { font-size: 26px; margin-bottom: 2px; }
.clinic__city { color: var(--muted); margin-bottom: 18px; }
.clinic__dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 20px; margin: 0 0 22px; }
.clinic__dl dt { color: var(--muted); font-size: 15px; }
.clinic__dl dd { margin: 0; color: var(--ink); font-weight: 600; }
.clinic__phone { font-size: 20px; }
.clinic__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.clinics__social { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 40px; font-weight: 800; color: var(--ink); }

/* Соцмережі */
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--primary-600); border: 1px solid var(--line); transition: .25s; }
.socials a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); transform: translateY(-3px); }
.socials--big a { width: 52px; height: 52px; }

/* ---------------- Футер ---------------- */
.site-footer { background: var(--lilac-50); padding: 64px 0 28px; border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .7fr; gap: 36px; }
.site-footer__logo { display: block; width: 190px; margin-bottom: 18px; }
.site-footer__slogan { font-weight: 700; color: var(--ink); max-width: 20em; }
.site-footer__clinic p, .site-footer__addr { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 10px; font-size: 15.5px; color: var(--text); text-decoration: none; }
.site-footer__addr { font-weight: 800; color: var(--ink); }
.site-footer__clinic .icon { width: 19px; height: 19px; margin-top: 3px; color: var(--teal-600); }
.site-footer__clinic a { color: inherit; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__menu a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-footer__menu a[href]:hover { color: var(--primary-600); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
/* Підпис студії (скрипт lisa.ck.ua ставить білі кольори під темний футер): кольори під світлий футер теми */
#lisa-global-footer-link { margin-top: 0 !important; padding: 18px 10px 0 !important; }
#lisa-global-footer-link .lisa-foot-text { color: var(--muted) !important; }
#lisa-global-footer-link .lisa-foot-link { color: var(--primary-600) !important; }
#lisa-global-footer-link .lisa-foot-link:hover { color: var(--primary-700) !important; opacity: 1 !important; }

/* ---------------- Вікно запису ---------------- */
.modal { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(32, 14, 46, .6); opacity: 0; transition: opacity .3s; }
.modal__box { position: relative; width: min(780px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; padding: clamp(26px, 4vw, 42px); border-radius: 30px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .35s, transform .45s var(--ease); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--lilac-50); color: var(--primary-700); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.modal__close:hover { background: var(--lilac-100); }
.modal__title { font-size: clamp(1.6rem, 3vw, 2.2rem); padding-right: 48px; }
.modal__text { color: var(--muted); }
.modal__clinics { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 22px; }
.mclinic { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 20px; background: var(--lilac-50); border: 1px solid var(--line); }
.mclinic__addr { display: flex; gap: 8px; margin: 0; font-weight: 800; color: var(--ink); }
.mclinic__addr .icon { color: var(--teal-600); margin-top: 3px; }
.mclinic__phone { font-size: 22px; }
.mclinic__mail { font-size: 15px; }
.mclinic__hours { margin: 0; display: flex; flex-direction: column; font-size: 14.5px; color: var(--muted); }
.mclinic__tg { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 4px; padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 800; text-decoration: none; font-size: 15px; }
.mclinic__tg .icon { color: #229ed9; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.modal__actions .btn { flex: 1 1 220px; }
.modal__form { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line); }

/* Сторінка 404 */
.nf__code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 10px; color: var(--lilac-100); -webkit-text-stroke: 2px var(--color-primary); }
.nf__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------------- Адаптив ---------------- */
@media (max-width: 1560px) {
	.site-switch--bar { display: none; }
	.site-switch--row { display: flex; width: max-content; margin: -6px auto 10px; }
	:root { --switch-h: 46px; }
}
@media (max-width: 1300px) {
	.phones__main { display: none; }
	.phones__chev { display: none; }
	.phones__toggle { width: 46px; height: 46px; justify-content: center; border-radius: 14px; background: var(--lilac-50); padding: 0; }
	.site-nav__list { gap: 20px; }
	.features__grid, .hservices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.slist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.slist__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reviews__track { grid-auto-columns: calc((100% - 24px) / 2); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1140px) and (min-width: 1041px) {
	.site-header__bar { gap: 16px; }
	.site-nav__list { gap: 16px; font-size: 15.5px; }
	.site-header__logo { width: 150px; }
}
@media (max-width: 1040px) {
	.site-nav { display: none; }
	.burger { display: flex; }
	.site-header__actions { margin-left: auto; }
	.lead__grid, .phero__grid, .shero__grid, .doors__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
	.faq__aside { position: static; }
	.astory__grid { grid-template-columns: minmax(0, 1fr); }
	.astory__media { max-width: 460px; }
	.apets__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.asteps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aphotos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hservices__head { grid-template-columns: minmax(0, 1fr); }
	.sbody { grid-template-columns: minmax(0, 1fr); }
	.book-card { position: static; }
	.promo__tables { grid-template-columns: minmax(0, 1fr); }
	.counters__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
	.phero__media { max-width: 540px; }
	.phero--svc .phero__grid { grid-template-columns: minmax(0, 1fr); }
	.phero__media--single { max-width: 440px; justify-self: center; margin-top: 8px; }
	.shero__media { max-width: 560px; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.promo__head { grid-template-columns: minmax(0, 1fr); }
	.promo__banner { max-width: 300px; }
	.promos__book { grid-template-columns: minmax(0, 1fr); }
	.promos__btns { grid-row: auto; grid-column: auto; }
	.clinics__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	:root { --header-h: 68px; }
	body { font-size: 16px; }
	.container { padding: 0 18px; }
	.site-header__bar { gap: 10px; padding: 0 14px; }
	.site-header__logo { width: 132px; }
	.site-header__book { display: none; }
	.site-switch { font-size: 13px; }
	.site-switch__item { padding: 7px 12px; }
	.hero { min-height: calc(100svh - var(--header-h) - var(--switch-h) - 40px); }
	.hero::before { background: linear-gradient(180deg, rgba(52, 22, 72, .55) 0%, rgba(52, 22, 72, .82) 70%); }
	.hero__slide img, .hero__video { object-position: 62% center; }
	.hero__wave { display: none; }
	.hero__inner { padding-bottom: 80px; }
	.hero__actions .btn { width: 100%; }
	.hero__dots { left: 18px; bottom: 24px; }
	.promo-strip { margin-top: -30px; }
	.promo-card { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 16px; }
	.promo-card__img { width: 120px; }
	.features__grid, .hservices__grid, .slist__grid, .slist__grid--4 { grid-template-columns: minmax(0, 1fr); }
	.features__grid { gap: 12px; }
	.feature { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
	.feature__icon { grid-row: 1 / span 3; width: 60px; height: 60px; margin: 0; border-radius: 18px; padding: 4px; }
	.feature__title { font-size: 18px; margin-bottom: 4px; }
	.feature__lead, .feature__text { font-size: 15px; margin-bottom: 4px; }
	.faq__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px; scrollbar-width: none; }
	.faq__tabs::-webkit-scrollbar { display: none; }
	.faq__tab { flex: none; }
	.sitem { grid-template-columns: 64px minmax(0, 1fr); padding: 16px; gap: 14px; }
	.sitem__icon { width: 64px; height: 64px; border-radius: 18px; }
	.slist__grid--4 .sitem { grid-template-columns: 64px minmax(0, 1fr); }
	.reviews__track { grid-auto-columns: 86%; }
	.reviews__nav { display: none; }
	.lead-form__fields { grid-template-columns: minmax(0, 1fr); }
	.lead__form-wrap { padding: 24px 18px; border-radius: 24px; }
	.qa__q { padding: 16px 18px; font-size: 16.5px; }
	.about__card { display: block; min-height: 0; border-radius: 26px; }
	.about__media { position: relative; aspect-ratio: 4 / 3; z-index: 0; }
	.about__card::before { display: none; }
	.about__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(108, 47, 134, .95)); }
	.about__body { position: relative; margin-top: -1px; padding: 6px 22px 28px; background: linear-gradient(180deg, rgba(108, 47, 134, .95), var(--primary-700)); }
	.about__btns .btn { width: 100%; }
	.apets__list, .asteps__list, .aclinics__grid { grid-template-columns: minmax(0, 1fr); }
	.aphotos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aphotos__grid li:nth-child(n+5) { display: none; }
	.aequip__grid { grid-template-columns: minmax(0, 1fr); }
	.astory__media::before { inset: 18px -8px -10px 18px; }
	.qa__a { padding: 0 18px 18px; }
	.site-footer { padding-bottom: 100px; }
	.site-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.ptable { padding: 18px; }
	.ptable__table thead { display: none; }
	.ptable__table, .ptable__table tbody, .ptable__table tr { display: block; width: 100%; }
	.ptable__table tr { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 4px 12px; padding: 12px 14px; margin-bottom: 10px; border-radius: 10px; border: 1px solid var(--line); border-left: 3px solid var(--color-primary); background: #fdfbfe; }
	.ptable__table th, .ptable__table td { display: block; padding: 0; border: 0; }
	.ptable__table tbody th { grid-column: 1 / -1; font-size: 16.5px; margin-bottom: 2px; }
	.ptable__table td::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--color-primary); }
	.modal { padding: 10px; align-items: flex-end; }
	.modal__box { border-radius: 26px 26px 18px 18px; max-height: calc(100svh - 20px); }
	.clinic__body { padding: 20px; }
	.clinic__addr { font-size: 22px; }
	.gallery { columns: 2; column-gap: 10px; }
	.gallery__item { margin-bottom: 10px; border-radius: 14px; }
	.lightbox__nav { top: auto; bottom: 18px; transform: none; }
}
@media (max-width: 380px) {
	.site-header__logo { width: 116px; }
	.site-switch__item { padding: 6px 10px; }
}

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