/* Родинна стоматологія dr. Karaim — стиль сайту.
   Бренд: графітовий фон (як в Instagram клініки), білий, акцент — фіолетовий колір кнопок старого сайту (#503292),
   кольорові листочки дерева-логотипа — для кілець сторісів. Шрифт Montserrat (локально). */
:root {
	--rs-ink: #24242a;
	--rs-ink2: #5b5b66;
	--rs-muted: #8a8a94;
	--rs-bg: #ffffff;
	--rs-soft: #f5f3f6;
	--rs-line: #e7e3ea;
	--rs-dark: #2f2f33;
	--rs-dark2: #222226;
	--rs-accent: #503292;
	--rs-accent-h: #3d2472;
	--rs-violet: #503292;
	--rs-leaf: conic-gradient(from 200deg, #e94b5b, #f39a3d, #f2cf3b, #8cc152, #2fb8a6, #3b8fd9, #5b4bc4, #a24bc4, #e04f9a, #e94b5b);
	--rs-r: 22px;
	--rs-r-s: 14px;
	--rs-shadow: 0 10px 30px rgba(36, 36, 42, .08);
	--rs-font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- База (поверх Woodmart) ---------- */
body.rs-site { font-family: var(--rs-font) !important; color: var(--rs-ink); background: var(--rs-bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.rs-site h1, body.rs-site h2, body.rs-site h3, body.rs-site h4 { font-family: var(--rs-font) !important; color: inherit; }
body.rs-site .website-wrapper, body.rs-site .main-page-wrapper { background: transparent !important; padding: 0 !important; margin: 0 !important; }
body.rs-site a { color: inherit; }
body.rs-site img { max-width: 100%; }
body.rs-site .rs-prose img, body.rs-site .rs-logo img { height: auto; }
.rs-hero { overflow: hidden; }
.rs-main { display: block; overflow-x: clip; }
.rs-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.rs-narrow { max-width: 820px; }
.rs-center { text-align: center; justify-content: center; }
.rs-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.rs-skip:focus { left: 8px; }
.rs-ico { width: 20px; height: 20px; flex: none; }
.rs-flip { transform: scaleX(-1); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--rs-accent); outline-offset: 2px; }

.rs-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rs-accent); text-decoration: none; margin-bottom: 10px; }
.rs-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.rs-kicker--light { color: #d8ccf3; }
.rs-h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.rs-h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.18; font-weight: 800; letter-spacing: -.015em; margin: 0 0 12px; }
.rs-h3 { font-size: 22px; line-height: 1.25; font-weight: 800; margin: 0 0 14px; }
.rs-lead { font-size: 18px; color: var(--rs-ink2); max-width: 720px; margin: 0; }

/* ---------- Кнопки ---------- */
body.rs-site .rs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: 0; text-transform: none; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap; line-height: 1.1; box-shadow: none; }
body.rs-site .rs-btn--main { background: var(--rs-accent); color: #fff !important; box-shadow: 0 8px 20px rgba(80, 50, 146, .3); }
body.rs-site .rs-btn--main:hover { background: var(--rs-accent-h); transform: translateY(-2px); }
body.rs-site .rs-btn--ghost { background: transparent; color: var(--rs-ink) !important; border-color: var(--rs-line); }
body.rs-site .rs-btn--ghost:hover { border-color: var(--rs-accent); color: var(--rs-accent) !important; }
body.rs-site .rs-btn--glass { background: rgba(255, 255, 255, .14); color: #fff !important; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
body.rs-site .rs-btn--glass:hover { background: rgba(255, 255, 255, .26); }
body.rs-site .rs-btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
body.rs-site .rs-btn--block { width: 100%; }
.rs-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.rs-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--rs-accent) !important; text-decoration: none; white-space: nowrap; }
.rs-more .rs-ico { width: 18px; transition: transform .2s; }
.rs-more:hover .rs-ico { transform: translateX(4px); }

/* ---------- Верхня смуга й шапка ---------- */
.rs-topbar { background: #fff; color: var(--rs-ink2); font-size: 13px; border-bottom: 1px solid var(--rs-line); }
.rs-topbar__in { display: flex; gap: 26px; align-items: center; min-height: 38px; }
.rs-topbar__in > span { display: inline-flex; align-items: center; gap: 7px; }
.rs-topbar .rs-ico { width: 15px; height: 15px; color: var(--rs-accent); }
.rs-topbar__soc { margin-left: auto; gap: 12px !important; }
.rs-topbar__soc a { color: var(--rs-ink2) !important; display: inline-flex; }
.rs-topbar__soc a:hover { color: var(--rs-accent) !important; }
.rs-topbar__soc .rs-ico { color: inherit; width: 17px; height: 17px; }
/* Перемикач мов UA / EN / PL (Polylang) */
.rs-lang { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.rs-lang a { color: var(--rs-ink2) !important; text-decoration: none; padding: 3px 7px; border-radius: 999px; line-height: 1.2; }
.rs-lang a:hover { color: var(--rs-accent) !important; }
.rs-lang a.is-on { background: var(--rs-accent); color: #fff !important; }
.rs-lang--bar { margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--rs-line); }
.rs-lang--drawer { display: none; font-size: 14px; gap: 6px; }
@media (max-width: 1080px) { html.rs-menu-open .rs-lang--drawer { display: flex; margin: 0 0 14px; } }
.rs-lang--drawer a { border: 1px solid var(--rs-line); padding: 6px 14px; }

.rs-hdr { position: sticky; top: 0; z-index: 400; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--rs-line); }
.rs-hdr__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.rs-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--rs-ink) !important; flex: none; }
.rs-logo img { width: 52px; height: 52px; }
.rs-logo__t { display: flex; flex-direction: column; line-height: 1.05; }
.rs-logo__t b { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.rs-logo__t small { font-size: 12px; color: var(--rs-muted); font-weight: 600; margin-top: 2px; }
.rs-logo--light { color: #fff !important; }
.rs-logo--light small { color: #b9b9c2; }
.rs-nav { display: flex; gap: 4px; margin-left: auto; }
.rs-nav > a { padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--rs-ink) !important; white-space: nowrap; }
.rs-nav > a:hover { background: var(--rs-soft); }
.rs-nav > a[aria-current] { color: var(--rs-accent) !important; }
.rs-nav__extra { display: none; }
.rs-hdr__end { display: flex; align-items: center; gap: 14px; }
.rs-hdr__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--rs-ink) !important; white-space: nowrap; }
.rs-hdr__tel .rs-ico { color: var(--rs-accent); }
body.rs-site .rs-burger { display: none; width: 46px; height: 46px; min-height: 0; padding: 0; border: 1px solid var(--rs-line); border-radius: 12px; background: #fff; color: var(--rs-ink); align-items: center; justify-content: center; }
.rs-burger__close { display: none; }

@media (max-width: 1240px) {
	.rs-hdr__tel span { display: none; }
	.rs-nav > a { padding: 10px 9px; font-size: 14px; }
}
@media (max-width: 1080px) {
	.rs-topbar { display: none; }
	.rs-hdr__in { min-height: 64px; gap: 12px; }
	.rs-logo img { width: 44px; height: 44px; }
	body.rs-site .rs-burger { display: inline-flex; }
	.rs-hdr__cta { display: none !important; }
	.rs-hdr__tel { width: 46px; height: 46px; border-radius: 12px; justify-content: center; background: var(--rs-soft); }
	.rs-nav { position: fixed; inset: 64px 0 0; background: #fff; flex-direction: column; gap: 0; padding: 12px 20px 120px; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; margin: 0; visibility: hidden; }
	.rs-nav > a { font-size: 19px; padding: 15px 4px; border-bottom: 1px solid var(--rs-line); border-radius: 0; }
	.rs-nav__extra { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; }
	.rs-nav__extra p { color: var(--rs-ink2); margin: 0; font-size: 14px; }
	.rs-nav__tel { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: 18px; text-decoration: none; }
	html.rs-menu-open { overflow: hidden; }
	html.rs-menu-open .rs-nav { transform: none; visibility: visible; }
	html.rs-menu-open .rs-burger__open { display: none; }
	html.rs-menu-open .rs-burger__close { display: block; }
}

/* ---------- Hero головної: фото керівника з родиною + ключова фраза ---------- */
.rs-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--rs-dark); }
.rs-hero__bg, .rs-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; }
.rs-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(28, 26, 32, .82) 0%, rgba(28, 26, 32, .5) 42%, rgba(28, 26, 32, 0) 70%), linear-gradient(0deg, rgba(28, 26, 32, .55), rgba(28, 26, 32, 0) 45%); }
.rs-hero__in { padding-top: 80px; padding-bottom: 70px; }
.rs-hero__card { max-width: 610px; }
.rs-hero__h { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; margin: 0 0 16px; color: #fff !important; }
.rs-hero__h span { display: block; font-weight: 500; font-style: italic; color: #d8ccf3; }
.rs-hero__slogan { font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; margin: 0; color: #fff; }
.rs-hero__facts { list-style: none; display: flex; gap: 30px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.rs-hero__facts li { display: flex; flex-direction: column; }
.rs-hero__facts b { font-size: 32px; font-weight: 800; line-height: 1; }
.rs-hero__facts span { font-size: 13px; color: #dedde3; margin-top: 6px; max-width: 150px; line-height: 1.35; }
@media (max-width: 767px) {
	/* Телефон: фото родини зверху (видно обличчя), текст — нижче на графітовому тлі */
	.rs-hero { min-height: 0; flex-direction: column; align-items: stretch; }
	.rs-hero__bg { position: relative !important; inset: auto; height: 58svh; min-height: 340px; max-height: 520px; display: block; }
	.rs-hero__bg img { object-position: 50% 62%; }
	.rs-hero::after { inset: 0 0 auto 0; height: 58svh; min-height: 340px; max-height: 520px; background: linear-gradient(0deg, rgba(47, 47, 51, 1) 0%, rgba(47, 47, 51, 0) 38%); }
	.rs-hero__in { padding-top: 0; padding-bottom: 34px; margin-top: -70px; position: relative; z-index: 1; }
	.rs-hero__card .rs-actions { margin-top: 20px; }
	.rs-hero__card .rs-btn { flex: 1 1 100%; }
	.rs-hero__facts { gap: 18px; margin-top: 24px; padding-top: 16px; }
	.rs-hero__facts b { font-size: 24px; }
	.rs-hero__facts span { font-size: 11.5px; }
}

/* ---------- Сторіси (модуль woodmart-stories) у стилі бренду ---------- */
.ss, .ss-v { --ss-ring: var(--rs-leaf); --ss-seen: #d9d4dc; --ss-ink: var(--rs-ink); --ss-badge: var(--rs-accent); --ss-cta: var(--rs-accent); --ss-cta-ink: #fff; --ss-avatar: url(../img/avatar.png); }
.rs-stories { padding-top: 26px; padding-bottom: 6px; }
.rs-stories .ss__row { justify-content: flex-start; }
.rs-circle .ss__ring { position: relative; }
/* Плашка «▶ ВІДЕО» на кружечку послуги (як «НОВЕ» у сторісах) */
.rs-circle__tag { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 3px; background: var(--rs-accent); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px 2px 6px; border-radius: 999px; border: 2px solid #fff; line-height: 1.3; white-space: nowrap; }
.rs-circle__tag .rs-ico { width: 8px; height: 8px; fill: currentColor; stroke: none; }
.rs-circle .ss__label { margin-top: 4px; }
.ss__label { font-family: var(--rs-font); font-weight: 600; }
.ss-v__snd span { font-size: 18px; line-height: 1; }
/* Соцмережі в кінці рядка (як у Dunge Craft): Instagram — градієнт, TikTok — чорний з неоновою тінню, Facebook — синій */
.ss .ss__img--facebook { display: flex; align-items: center; justify-content: center; color: #fff; background: #1877f2; }
.ss__img--instagram .ss-ico, .ss__img--tiktok .ss-ico, .ss__img--facebook .ss-ico { width: 46%; height: 46%; }
.ss__img--facebook .ss-ico { width: 52%; height: 52%; }
/* Стрілки рядка сторісів на ПК (показує rs.js, коли рядок ширший за екран) */
.rs-stories { position: relative; }
.rs-stories__arr { position: absolute; top: 58px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rs-line); background: #fff; color: var(--rs-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(40, 30, 50, .14); cursor: pointer; padding: 0; transition: opacity .2s; }
.rs-stories__arr[hidden] { display: none; }
.rs-stories__arr:hover { color: var(--rs-accent); border-color: var(--rs-accent); }
.rs-stories__arr .rs-ico { width: 18px; height: 18px; }
.rs-stories__arr--prev { left: 4px; }
.rs-stories__arr--next { right: 4px; }
.rs-stories .ss__row.is-drag { cursor: grabbing; user-select: none; }
.rs-stories .ss__row.is-drag .ss__item { pointer-events: none; }
@media (hover: none) { .rs-stories__arr { display: none !important; } }
/* Тимчасова сторінка-інструкція для SMM */
.rs-smm { padding-top: 10px; padding-bottom: 60px; }
.rs-smm h2 { font-size: 22px; font-weight: 800; margin: 34px 0 12px; }
.rs-smm__note { background: var(--rs-soft); border-left: 4px solid var(--rs-accent); padding: 14px 18px; border-radius: 10px; }
.rs-smm__t { overflow-x: auto; border: 1px solid var(--rs-line); border-radius: 12px; }
.rs-smm table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; margin: 0; }
.rs-smm th, .rs-smm td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rs-line); }
.rs-smm th { background: var(--rs-soft); font-weight: 700; }
.rs-smm td:nth-child(4) { min-width: 300px; }

/* ---------- Банери 7:10 (модуль woodmart-banners, як armo-shop) ---------- */
.gb.rs-wrap { padding-top: 26px; padding-bottom: 10px; }
body.rs-site .gb-card { background: var(--rs-dark); border-radius: var(--rs-r); }
body.rs-site .gb-card__head { background: linear-gradient(180deg, rgba(34, 34, 38, .94) 0%, rgba(34, 34, 38, .78) 60%, rgba(34, 34, 38, 0) 100%); }
body.rs-site .gb-card__word { font-family: var(--rs-font); font-size: 40px; }
body.rs-site .gb-card__title { color: #ffe1ef; }
body.rs-site .gb-card__btn { background: var(--rs-accent); color: #fff; font-family: var(--rs-font); }
body.rs-site .gb-card:hover .gb-card__btn { background: var(--rs-accent-h); }
body.rs-site .gb__dot { background: #ecd9e4 !important; }
body.rs-site .gb__dot.is-active { background: var(--rs-accent) !important; }
@media (max-width: 1024px) { .gb__track { margin: 0 -20px; padding: 0 20px; scroll-padding-inline: 20px; } }

/* ---------- Секції ---------- */
.rs-sec { padding: 84px 0; }
.rs-sec--tight { padding: 30px 0 70px; }
.rs-sec--soft { background: var(--rs-soft); }
.rs-sec--dark { background: var(--rs-dark); color: #fff; }
.rs-sec--dark .rs-lead { color: #c9c8d0; }
.rs-sec--dark .rs-kicker { color: #bba6ee; }
.rs-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
@media (max-width: 767px) {
	.rs-sec { padding: 56px 0; }
	.rs-sechead { flex-direction: column; align-items: flex-start; margin-bottom: 26px; gap: 10px; }
	.rs-lead { font-size: 16.5px; }
}

/* Цінності */
.rs-values__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.rs-values__media { position: relative; }
.rs-values__media > img:first-child { border-radius: var(--rs-r); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rs-values__small { position: absolute; right: -18px; bottom: -36px; width: 34%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--rs-r-s); border: 6px solid #fff; box-shadow: var(--rs-shadow); }
.rs-values__grid p { color: var(--rs-ink2); }
@media (max-width: 900px) {
	.rs-values__grid { grid-template-columns: 1fr; gap: 50px; }
	.rs-values__small { right: 10px; bottom: -26px; width: 30%; }
}

/* Чому ми */
.rs-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rs-why__i { position: relative; background: #fff; border-radius: var(--rs-r); padding: 30px 26px 26px; box-shadow: var(--rs-shadow); overflow: hidden; }
.rs-why__i .rs-ico { width: 34px; height: 34px; color: var(--rs-accent); }
.rs-why__i h3 { font-size: 19px; font-weight: 800; margin: 16px 0 8px; }
.rs-why__i p { margin: 0; color: var(--rs-ink2); font-size: 15px; }
.rs-why__n { position: absolute; right: 18px; top: 6px; font-size: 64px; font-weight: 800; color: var(--rs-soft); line-height: 1; z-index: 0; }
.rs-why__i > :not(.rs-why__n) { position: relative; z-index: 1; }
@media (max-width: 900px) { .rs-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rs-why { grid-template-columns: 1fr; } .rs-why__i { padding: 24px 20px; } }

/* Картки послуг */
.rs-scards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rs-scard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rs-line); border-radius: var(--rs-r); overflow: hidden; text-decoration: none !important; color: var(--rs-ink) !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
.rs-scard:hover { transform: translateY(-4px); box-shadow: var(--rs-shadow); border-color: transparent; }
.rs-scard__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--rs-soft); }
.rs-scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.rs-scard:hover .rs-scard__img img { transform: scale(1.05); }
.rs-scard__body { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 22px 20px; flex: 1; }
.rs-scard__ico { position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; border-radius: 16px; background: var(--rs-accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(80, 50, 146, .3); }
.rs-scard__ico .rs-ico { width: 26px; height: 26px; }
.rs-scard__t { font-size: 19px; font-weight: 800; line-height: 1.25; }
.rs-scard__d { color: var(--rs-ink2); font-size: 14.5px; flex: 1; }
.rs-scard__f { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--rs-line); }
.rs-scard__p { font-weight: 800; color: var(--rs-violet); }
.rs-scard__go { width: 38px; height: 38px; border-radius: 50%; background: var(--rs-soft); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.rs-scard:hover .rs-scard__go { background: var(--rs-accent); color: #fff; }
@media (max-width: 960px) { .rs-scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rs-scards { grid-template-columns: 1fr; gap: 16px; } }

/* До / після */
.rs-ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 580px)); gap: 24px; justify-content: center; }
.rs-ba { margin: 0; }
.rs-ba__box { position: relative; aspect-ratio: 12 / 5; border-radius: var(--rs-r); overflow: hidden; background: #111; user-select: none; touch-action: pan-y; }
.rs-ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rs-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.rs-ba__tag { position: absolute; top: 12px; z-index: 2; background: rgba(20, 20, 24, .7); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; pointer-events: none; }
.rs-ba__tag--b { left: 12px; } .rs-ba__tag--a { right: 12px; background: var(--rs-accent); }
.rs-ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
.rs-ba__line span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.rs-ba__line span::before, .rs-ba__line span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.rs-ba__line span::before { left: 7px; border-right-color: var(--rs-accent); }
.rs-ba__line span::after { right: 7px; border-left-color: var(--rs-accent); }
.rs-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; }
.rs-ba figcaption { display: flex; flex-direction: column; gap: 4px; padding: 14px 4px 0; font-size: 14.5px; }
.rs-ba figcaption b { font-size: 17px; }
.rs-ba figcaption span { opacity: .8; }
.rs-ba figcaption a { color: var(--rs-accent); font-weight: 700; text-decoration: none; }
.rs-sec--dark .rs-ba figcaption a { color: #bba6ee; }

/* Команда */
.rs-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.rs-doc { text-align: left; }
.rs-doc__ph { aspect-ratio: 4 / 5; border-radius: var(--rs-r); overflow: hidden; background: #3a3633; }
.rs-doc__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s; }
.rs-doc:hover .rs-doc__ph img { transform: scale(1.04); }
.rs-doc__n { font-size: 18px; font-weight: 800; margin: 14px 0 2px; }
.rs-doc__r { margin: 0; color: var(--rs-accent); font-weight: 600; font-size: 14px; }
.rs-doc__t { margin: 8px 0 0; color: var(--rs-ink2); font-size: 14px; }
@media (max-width: 960px) { .rs-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rs-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .rs-doc__n { font-size: 15.5px; } .rs-doc__r { font-size: 12.5px; } }

/* Цитата */
.rs-quote { background: linear-gradient(135deg, #fbf3f7, #f2eff8); }
.rs-quote__in { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.rs-quote__in img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--rs-r); }
.rs-quote blockquote { margin: 0; padding: 0; border: 0; position: relative; }
.rs-quote blockquote::before { content: "“"; position: absolute; left: -10px; top: -70px; font-size: 160px; line-height: 1; color: var(--rs-accent); opacity: .25; font-family: Georgia, serif; }
.rs-quote blockquote p { font-size: clamp(19px, 2vw, 25px); line-height: 1.5; font-weight: 600; margin: 0 0 22px; }
.rs-quote cite { font-style: normal; display: flex; flex-direction: column; color: var(--rs-ink2); }
.rs-quote cite b { color: var(--rs-ink); font-size: 18px; }
@media (max-width: 760px) { .rs-quote__in { grid-template-columns: 1fr; gap: 30px; } .rs-quote__in img { max-width: 240px; } }

/* Блог */
.rs-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rs-pcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--rs-r); overflow: hidden; text-decoration: none !important; color: var(--rs-ink) !important; box-shadow: var(--rs-shadow); transition: transform .25s; }
.rs-pcard:hover { transform: translateY(-4px); }
.rs-pcard__img { aspect-ratio: 3 / 2; overflow: hidden; display: block; background: var(--rs-soft); }
.rs-pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rs-pcard__b { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.rs-pcard__c { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--rs-accent); }
.rs-pcard__t { font-size: 19px; font-weight: 800; line-height: 1.3; }
.rs-pcard__d { color: var(--rs-ink2); font-size: 14.5px; flex: 1; }
.rs-pcard time { font-size: 13px; color: var(--rs-muted); }
@media (max-width: 960px) { .rs-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rs-pgrid { grid-template-columns: 1fr; } }
.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.rs-chips a { padding: 8px 16px; border-radius: 999px; background: var(--rs-soft); text-decoration: none; font-weight: 600; font-size: 14px; }
.rs-chips a[aria-current] { background: var(--rs-accent); color: #fff !important; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.nav-links .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--rs-soft); text-decoration: none; font-weight: 700; }
.nav-links .current { background: var(--rs-accent); color: #fff; }

/* ---------- Заголовок сторінки ---------- */
.rs-phero { background: linear-gradient(135deg, #fbf3f7 0%, #f3f0f8 100%); padding: 40px 0 52px; position: relative; overflow: hidden; }
.rs-phero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: var(--rs-leaf); opacity: .08; filter: blur(4px); }
.rs-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--rs-muted); margin-bottom: 22px; }
.rs-crumbs a { text-decoration: none; color: var(--rs-ink2) !important; }
.rs-crumbs a:hover { color: var(--rs-accent) !important; }
.rs-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 0 20px; margin-top: 26px; max-width: 560px; box-shadow: var(--rs-shadow); }
.rs-search .rs-ico { color: var(--rs-accent); }
body.rs-site .rs-search input { border: 0 !important; box-shadow: none !important; height: 56px; padding: 0; background: transparent; font-size: 16px; font-family: var(--rs-font); flex: 1; min-width: 0; }

/* Сторінка послуги */
.rs-shero__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: center; }
.rs-shero__video { display: flex; justify-content: center; }
body.rs-site .rs-reel { position: relative; width: 260px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; padding: 0 !important; border: 4px solid #fff !important; box-shadow: 0 20px 50px rgba(36, 36, 42, .22) !important; background: var(--rs-dark) !important; cursor: pointer; display: block; }
.rs-reel::before { content: ""; position: absolute; inset: -4px; border-radius: 30px; padding: 3px; background: var(--rs-leaf); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: 2; pointer-events: none; }
.rs-reel__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rs-reel__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--rs-accent); display: flex; align-items: center; justify-content: center; z-index: 3; transition: transform .2s; }
.rs-reel__play .rs-ico { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.rs-reel:hover .rs-reel__play { transform: scale(1.1); }
.rs-reel__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 14px; background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent); color: #fff; font-weight: 700; font-size: 14px; z-index: 3; text-align: center; }
.rs-svc { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 50px; align-items: start; }
.rs-svc__prices { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--rs-line); border-radius: var(--rs-r); padding: 26px; box-shadow: var(--rs-shadow); }
.rs-svc__prices .rs-ptable { margin-bottom: 14px; }
.rs-note { font-size: 13.5px; color: var(--rs-muted); margin: 0 0 16px; }
.rs-note a { color: var(--rs-accent); }
@media (max-width: 960px) {
	.rs-shero__in { grid-template-columns: 1fr; gap: 30px; }
	.rs-svc { grid-template-columns: 1fr; }
	.rs-svc__prices { position: static; }
}
@media (max-width: 600px) { .rs-svc__prices { padding: 18px; } }

/* Таблиця цін */
.rs-ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.rs-ptable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--rs-muted); padding: 0 0 8px; border-bottom: 2px solid var(--rs-line); }
.rs-ptable th:last-child, .rs-ptable td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.rs-ptable td { padding: 11px 0; border-bottom: 1px solid var(--rs-line); vertical-align: top; }
.rs-ptable td:last-child { font-weight: 800; color: var(--rs-violet); }
.rs-ptable tr:hover td { background: #fcf8fa; }

/* Сторінка «Ціни» */
.rs-prices { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-top: 44px; padding-bottom: 70px; align-items: start; }
.rs-prices__toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; }
.rs-prices__toc a { padding: 9px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--rs-ink2) !important; }
.rs-prices__toc a:hover, .rs-prices__toc a.is-active { background: var(--rs-soft); color: var(--rs-accent) !important; }
.rs-prices__list { display: flex; flex-direction: column; gap: 22px; padding: 0 !important; }
.rs-price { background: #fff; border: 1px solid var(--rs-line); border-radius: var(--rs-r); padding: 26px; scroll-margin-top: 100px; }
.rs-price__head { display: flex; gap: 22px; align-items: center; margin-bottom: 18px; }
.rs-price__t h2 { font-size: 23px; font-weight: 800; margin: 0 0 4px; }
.rs-price__t p { margin: 0 0 6px; color: var(--rs-ink2); font-size: 14.5px; }
.rs-circle--lg { width: 104px !important; }
.rs-circle--lg .ss__ring { width: 100px; height: 100px; }
.rs-circle--lg .ss__label { font-size: 12.5px; color: var(--rs-accent); font-weight: 700; white-space: nowrap; }
.rs-circle--lg .rs-circle__tag { font-size: 10.5px; }
.rs-empty { text-align: center; padding: 40px; color: var(--rs-ink2); }
@media (max-width: 960px) {
	.rs-prices { grid-template-columns: 1fr; padding-top: 0; }
	.rs-prices__toc { position: sticky; top: 64px; z-index: 5; flex-direction: row; overflow-x: auto; background: #fff; margin: 0 -20px; padding: 10px 20px; border-bottom: 1px solid var(--rs-line); scrollbar-width: none; }
	.rs-prices__toc a { white-space: nowrap; background: var(--rs-soft); border-radius: 999px; }
}
@media (max-width: 600px) {
	.rs-price { padding: 18px; }
	.rs-price__head { gap: 14px; align-items: flex-start; }
	.rs-circle--lg { width: 78px !important; }
	.rs-circle--lg .ss__ring { width: 74px; height: 74px; }
	.rs-price__t h2 { font-size: 19px; }
	.rs-ptable { font-size: 14px; }
}

/* Текст (опис послуги, стаття) */
.rs-prose { font-size: 17px; line-height: 1.75; }
.rs-prose h2 { font-size: 27px; font-weight: 800; line-height: 1.25; margin: 38px 0 14px; }
.rs-prose h3 { font-size: 21px; font-weight: 800; margin: 30px 0 10px; }
.rs-prose > :first-child { margin-top: 0; }
.rs-prose ul, .rs-prose ol { padding-left: 22px; }
.rs-prose li { margin-bottom: 8px; }
.rs-prose ul li::marker { color: var(--rs-accent); }
.rs-prose a { color: var(--rs-accent); }
.rs-prose blockquote { border-left: 4px solid var(--rs-accent); background: var(--rs-soft); margin: 24px 0; padding: 16px 22px; border-radius: 0 var(--rs-r-s) var(--rs-r-s) 0; font-style: normal; }
.rs-prose .rs-faq details { border: 1px solid var(--rs-line); border-radius: var(--rs-r-s); padding: 0 18px; margin-bottom: 10px; }
.rs-prose .rs-faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.rs-prose .rs-faq summary::after { content: "+"; color: var(--rs-accent); font-size: 22px; line-height: 1; }
.rs-prose .rs-faq details[open] summary::after { content: "–"; }
.rs-prose .rs-faq p { margin-top: 0; }
.rs-post-meta { color: var(--rs-muted); margin: 0; }
.rs-post-cover { margin-top: -26px; }
.rs-post-cover img { width: 100%; border-radius: var(--rs-r); aspect-ratio: 16 / 9; object-fit: cover; }
.rs-post-cta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; background: linear-gradient(135deg, #fbf3f7, #f2eff8); border-radius: var(--rs-r); padding: 26px; margin-top: 40px; }
.rs-post-cta b { font-size: 21px; }
.rs-post-cta .rs-btn { margin-top: 10px; }

/* Контакти */
.rs-contacts { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; }
.rs-contacts__list { display: flex; flex-direction: column; gap: 22px; }
.rs-contacts__list > div { display: flex; gap: 16px; }
.rs-contacts__list > div > .rs-ico { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--rs-soft); color: var(--rs-accent); box-sizing: border-box; }
.rs-contacts__list span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.rs-ftr__contacts a, .rs-ftr__contacts span { overflow-wrap: break-word; min-width: 0; }
.rs-contacts__list b { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--rs-muted); }
.rs-contacts__list a { color: var(--rs-accent); text-decoration: none; font-weight: 600; }
.rs-map { position: relative; border-radius: var(--rs-r); overflow: hidden; min-height: 420px; background: var(--rs-soft) center / cover; display: flex; align-items: center; justify-content: center; }
.rs-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rs-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rs-map .rs-btn { position: relative; z-index: 2; }
@media (max-width: 860px) { .rs-contacts { grid-template-columns: 1fr; } .rs-map { min-height: 320px; } }

/* ---------- Запис (форма) ---------- */
.rs-book { background: var(--rs-dark); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.rs-book::before { content: ""; position: absolute; left: -140px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--rs-leaf); opacity: .14; filter: blur(30px); }
.rs-book__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.rs-book__text p { color: #cfcdd6; font-size: 17px; }
.rs-book__tel a { color: #fff; font-weight: 800; font-size: 22px; text-decoration: none; white-space: nowrap; }
.rs-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; color: var(--rs-ink); border-radius: var(--rs-r); padding: 30px; }
.rs-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.rs-field--full, .rs-consent, .rs-form .rs-btn, .rs-form__ok, .rs-form__err { grid-column: 1 / -1; }
body.rs-site .rs-form input:not([type=checkbox]), body.rs-site .rs-form select, body.rs-site .rs-form textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--rs-line) !important; border-radius: 12px !important; padding: 10px 14px; font-size: 16px; font-family: var(--rs-font); background: #fff; color: var(--rs-ink); box-shadow: none; }
body.rs-site .rs-form textarea { min-height: 70px; }
body.rs-site .rs-form :is(input, select, textarea):focus { border-color: var(--rs-accent) !important; outline: none; }
body.rs-site .rs-form input:user-invalid { border-color: #d33 !important; }
.rs-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--rs-ink2); }
.rs-consent input { margin-top: 3px; accent-color: var(--rs-accent); width: 18px; height: 18px; flex: none; }
.rs-consent a { color: var(--rs-accent); }
.rs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rs-form__ok { background: #e8f7ee; color: #17663a; padding: 14px 16px; border-radius: 12px; margin: 0; font-weight: 600; }
.rs-form__err { background: #fdecec; color: #a12020; padding: 14px 16px; border-radius: 12px; margin: 0; font-weight: 600; }
@media (max-width: 860px) {
	.rs-book { padding: 56px 0; }
	.rs-book__in { grid-template-columns: 1fr; gap: 30px; }
	.rs-form { grid-template-columns: 1fr; padding: 22px 18px; }
}

/* ---------- Підвал ---------- */
/* Колір підвалу = фон логотипа з Instagram (#424242), лого зливається з тлом */
.rs-ftr { background: #424242; color: #e2e2e2; padding: 56px 0 0; font-size: 15px; }
.rs-ftr__logo { display: inline-block; margin: -26px 0 0 -26px; }
.rs-ftr__logo img { width: 180px; height: 180px; display: block; }
.rs-ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.rs-ftr__brand p { margin: 0 0 18px; color: #c9c9c9; font-size: 14.5px; }
.rs-ftr__h { color: #fff !important; font-size: 15px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 16px; }
.rs-ftr__nav { display: flex; flex-direction: column; gap: 9px; }
.rs-ftr a { color: #cfcdd6 !important; text-decoration: none; }
.rs-ftr a:hover { color: #fff !important; }
.rs-ftr__contacts { display: flex; flex-direction: column; gap: 14px; }
.rs-ftr__contacts > :not(h2) { display: flex; gap: 10px; align-items: flex-start; }
.rs-ftr__contacts .rs-ico { color: #f07ab4; margin-top: 2px; }
.rs-social { display: flex; gap: 10px; }
.rs-social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; color: #fff !important; }
.rs-social a:hover { background: var(--rs-accent); }
.rs-contacts__list .rs-social a { background: var(--rs-soft); color: var(--rs-ink) !important; }
.rs-contacts__list .rs-social a:hover { background: var(--rs-accent); color: #fff !important; }
.rs-ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 50px; }
.rs-ftr__legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 22px; font-size: 13px; color: #b5b5b5; }
.rs-ftr__legal p { margin: 0; }
@media (max-width: 960px) { .rs-ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
	.rs-ftr { padding-top: 44px; }
	.rs-ftr__grid { grid-template-columns: 1fr; gap: 30px; }
	.rs-ftr__legal { flex-direction: column; gap: 6px; padding-bottom: 90px; }
}

/* Нижня панель на телефоні */
.rs-mbar { display: none; }
@media (max-width: 767px) {
	.rs-mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 390; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; background: rgba(34, 34, 38, .96); border-radius: 18px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
	.rs-mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 13px; color: #fff !important; text-decoration: none; font-weight: 700; font-size: 14px; }
	.rs-mbar a.is-main { background: var(--rs-accent); }
	.rs-mbar .rs-ico { width: 18px; height: 18px; }
	body.rs-site { padding-bottom: 0; }
}

/* 404 */
.rs-404__in { text-align: center; }
.rs-404__in .rs-lead { margin: 0 auto; }
.rs-404__num { font-size: clamp(90px, 16vw, 170px); font-weight: 800; line-height: 1; margin: 0 0 20px; color: var(--rs-ink); display: flex; justify-content: center; align-items: center; gap: 8px; }
.rs-404__num span { color: var(--rs-accent); display: inline-flex; }
.rs-404__num .rs-ico { width: .8em; height: .8em; stroke-width: 1.5; }
.rs-404 .rs-actions { justify-content: center; margin-bottom: 50px; }
.rs-404 .rs-scards { text-align: left; }

/* Елементи Woodmart, не потрібні на сайті клініки */
body.rs-site .wd-toolbar, body.rs-site .wd-sidebar-opener, body.rs-site .scrollToTop, body.rs-site .wd-search-full-screen { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
