/* SITE-WOW-1 (15.11.2026): шар 3D-сцен сайту (partials/v2/scenes.php, прапорець data/site_scenes.php). Префікс .sw- (grep site-v2/site-wow/site-live/site-glass = 0).
   Лише токени --bf-* + власні --sw-* (бренд-кольори мереж — Simple Icons; рамка пристроїв). Анімуються лише transform/opacity; розміри зарезервовані
   (aspect-ratio) — CLS 0; prefers-reduced-motion → статичний кадр; без JS — фінальний кадр. Поведінка — site-scenes.js (+ GSAP 3.13 self-host). */

:root {
  /* SITE-WOW-2: єдина шкала відступів шару сцен (у site-v2 токенів відступів немає): крок → px */
  --sw-s1: 4px; --sw-s2: 8px; --sw-s3: 12px; --sw-s4: 16px; --sw-s5: 24px; --sw-s6: 32px; --sw-s7: 48px;
  --sw-gap: 20px;      /* між вікнами в сітці / ряду (десктоп 16–24) */
  --sw-head: 28px;     /* заголовок секції → перше вікно (десктоп 24–32) */
  --sw-cap: var(--sw-s3);   /* сцена → підпис (≥ 12) */
  --sw-telegram: #26A5E4; --sw-instagram: #FF0069; --sw-facebook: #0866FF; --sw-threads: var(--bf-text);
  --sw-teal: #22B8AA;
  --sw-frame: #1C1C2B; --sw-frame-hi: #3A3A52;
  --sw-night-ink: #E9E6FF; --sw-moon: #F4E9B8;   /* SITE-TOP-1: сцена «Ніч, 23:40» (текст і місяць на темному тлі сцени — однакові в обох темах) */
  --sw-glass: color-mix(in srgb, var(--bf-card) 74%, transparent);
  --sw-glass-line: color-mix(in srgb, var(--bf-text) 9%, transparent);
  --sw-shadow: 0 18px 50px rgb(var(--bf-shadow-c) / calc(0.12 * var(--bf-sa))), 0 4px 14px rgb(var(--bf-shadow-c) / calc(0.06 * var(--bf-sa)));
  --sw-glow: color-mix(in srgb, var(--bf-accent) 30%, transparent);
  --sw-glow-2: color-mix(in srgb, var(--sw-teal) 24%, transparent);
}
:root[data-theme="dark"] {
  --sw-frame: #0A0A14; --sw-frame-hi: #2C2C44;
  --sw-glass: color-mix(in srgb, var(--bf-card) 82%, transparent);
  --sw-glass-line: color-mix(in srgb, #fff 10%, transparent);
}

/* ── загальне ── */
.sw-ico { width: 1.15em; height: 1.15em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }
.sw-glyph { width: 1em; height: 1em; flex: 0 0 auto; display: block; }
.sw-glyph--telegram { fill: var(--sw-telegram); }
.sw-glyph--instagram { fill: var(--sw-instagram); }
.sw-glyph--facebook { fill: var(--sw-facebook); }
.sw-glyph--threads { fill: var(--sw-threads); }
.sw-soon {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--bf-radius-full);
  background: var(--bf-st-warning-bg); color: var(--bf-st-warning-fg); font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.sw-cap { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--bf-text-muted); }
.sw-pic { display: block; }
.sw-pic img { display: block; width: 100%; height: auto; }

/* ── картка поста (вміст екранів, стрічки, композера) ── */
.sw-post {
  display: flex; flex-direction: column; gap: 0.55em; padding: 0.7em; border-radius: 0.9em;
  background: var(--bf-card); color: var(--bf-text); box-shadow: 0 0.3em 1.2em rgb(var(--bf-shadow-c) / calc(0.08 * var(--bf-sa))); border: 1px solid var(--bf-border);
  font-size: 1em; line-height: 1.35; text-align: left;
}
.sw-post__head { display: flex; align-items: center; gap: 0.55em; min-width: 0; }
.sw-post__ava {
  flex: 0 0 auto; width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.9em;
  color: var(--bf-on-accent); background: linear-gradient(135deg, var(--bf-accent), var(--sw-teal));
}
.sw-post__who { display: flex; flex-direction: column; min-width: 0; }
.sw-post__who b { font-size: 0.86em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-post__who small { font-size: 0.72em; color: var(--bf-text-muted); }
.sw-post__img img { aspect-ratio: 1; object-fit: cover; border-radius: 0.6em; background: var(--bf-fill); }
.sw-post__txt { margin: 0; font-size: 0.82em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sw-post__tags { color: var(--bf-accent-ink); }
.sw-post__acts { display: flex; gap: 1em; font-size: 0.74em; color: var(--bf-text-muted); }
.sw-post__acts span { display: inline-flex; align-items: center; gap: 0.3em; }
.sw-post__acts i { font-style: normal; font-variant-numeric: tabular-nums; }
.sw-post__like { color: var(--sw-instagram); }

/* ── (a) тріо пристроїв ── */
.sw-devices { margin: 0; container-type: inline-size; }
.sw-devices__stage { position: relative; aspect-ratio: 16 / 11; max-width: 760px; margin-inline: auto; perspective: 1800px; overflow: clip; }
.sw-dev { position: absolute; transform-style: preserve-3d; }
.sw-dev__screen {
  position: absolute; inset: 0; overflow: hidden; background: var(--sw-frame); border-radius: 2.2cqi;
  box-shadow: var(--sw-shadow), inset 0 0 0 1px var(--sw-frame-hi);
}
/* cqi тут — від ширини фігури .sw-devices (найближчий контейнер-предок), не від екрана */
.sw-dev__ui {
  position: absolute; inset: 3.2%; overflow: hidden; border-radius: 1.2cqi;
  background: linear-gradient(160deg, var(--bf-canvas), color-mix(in srgb, var(--bf-accent) 9%, var(--bf-canvas)));
  display: flex; align-items: flex-start; justify-content: center; gap: 2.4cqi; padding: 2.2cqi 1.6cqi;
}
.sw-dev--laptop { left: 13%; top: 3%; width: 74%; aspect-ratio: 16 / 10.4; transform: rotateX(6deg); }
.sw-dev--laptop .sw-dev__ui { font-size: 1.3cqi; }
.sw-dev--laptop .sw-post { width: 38%; }
.sw-dev__side { display: flex; flex-direction: column; gap: 1.3cqi; width: 18%; padding-top: 0.6cqi; }
.sw-dev__side i { display: block; height: 1.3cqi; border-radius: 0.6cqi; background: var(--bf-fill); }
.sw-dev__side i:first-child { width: 70%; background: var(--sw-glow); }
.sw-dev__side--r { width: 22%; }
.sw-dev__base {
  position: absolute; top: 99%; left: -9%; width: 118%; height: 3.6cqi; border-radius: 0 0 2cqi 2cqi;
  background: linear-gradient(var(--sw-frame-hi), var(--sw-frame)); box-shadow: 0 2cqi 4cqi rgb(var(--bf-shadow-c) / calc(0.14 * var(--bf-sa)));
}
.sw-dev--tablet { left: 1%; bottom: 3%; width: 29%; aspect-ratio: 3 / 4.1; transform: rotateY(24deg) rotateZ(-1deg); }
.sw-dev--tablet .sw-dev__ui { font-size: 1.45cqi; padding: 2cqi 1.6cqi; }
.sw-dev--phone { right: 2%; bottom: 1%; width: 20%; aspect-ratio: 9 / 18.6; transform: rotateY(-24deg) rotateZ(1deg); }
.sw-dev--phone .sw-dev__screen { border-radius: 2.8cqi; }
.sw-dev--phone .sw-dev__ui { font-size: 1.12cqi; padding: 3.4cqi 1cqi 1cqi; border-radius: 2.2cqi; }
.sw-dev--phone .sw-dev__ui::before { content: ''; position: absolute; top: 1cqi; left: 50%; width: 30%; height: 1.3cqi; margin-left: -15%; border-radius: 1cqi; background: var(--sw-frame); }
.sw-dev--tablet .sw-post, .sw-dev--phone .sw-post { width: 100%; }
.sw-dev .sw-post__txt { -webkit-line-clamp: 3; }
.sw-devices__pulse {
  position: absolute; left: 50%; top: 46%; width: 30%; aspect-ratio: 1; margin: -15% 0 0 -15%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--sw-glow), transparent 68%); opacity: 0;
}

/* ── (b) орбіта соцмереж ── */
.sw-orbit { position: relative; width: min(100%, 460px); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.sw-orbit::before, .sw-orbit::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.sw-orbit::before { inset: 9%; border: 1.5px dashed color-mix(in srgb, var(--bf-accent) 32%, transparent); }
.sw-orbit::after { inset: 24%; background: radial-gradient(circle, var(--sw-glow) 0%, var(--sw-glow-2) 45%, transparent 70%); filter: blur(6px); }
.sw-orbit__core { position: absolute; inset: 24%; display: grid; place-items: center; z-index: 1; }
.sw-orbit__bizik { width: auto; height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgb(var(--bf-shadow-c) / calc(0.18 * var(--bf-sa)))); }
.sw-orbit__ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: 2; animation: sw-rot 38s linear infinite; animation-play-state: paused; }
.sw-orb {
  position: absolute; left: 50%; top: 50%; width: 19cqi; height: 19cqi; margin: -9.5cqi 0 0 -9.5cqi;
  transform: rotate(calc(var(--i) * 90deg - 60deg)) translateX(41cqi) rotate(calc(var(--i) * -90deg + 60deg)); outline: none;
}
.sw-orb__in {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: var(--bf-card); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); font-size: 9cqi;
  animation: sw-rot 38s linear infinite reverse; animation-play-state: paused; transition: transform var(--bf-dur) var(--bf-ease);
}
.sw-orbit.is-in .sw-orbit__ring, .sw-orbit.is-in .sw-orb__in { animation-play-state: running; }
.sw-orbit:hover .sw-orbit__ring, .sw-orbit:hover .sw-orb__in, .sw-orbit:focus-within .sw-orbit__ring, .sw-orbit:focus-within .sw-orb__in { animation-play-state: paused; }
.sw-orb:hover .sw-orb__in, .sw-orb:focus-visible .sw-orb__in { box-shadow: var(--sw-shadow), 0 0 0 3px var(--bf-accent-glow); }
.sw-orb__lbl {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: var(--bf-radius-full);
  background: var(--bf-inverse); color: var(--bf-on-inverse); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity var(--bf-dur) var(--bf-ease);
}
.sw-orb:hover .sw-orb__lbl, .sw-orb:focus-visible .sw-orb__lbl { opacity: 1; }
.sw-orb.is-soon .sw-glyph { filter: grayscale(1); opacity: 0.45; }
.sw-orb .sw-soon { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); font-size: 10px; padding: 0 6px; }
@keyframes sw-rot { to { transform: rotate(360deg); } }
/* MOB-2: квадрат кільця, що обертається, по діагоналі виходив за край вікна (документ 460 px на 393). Значки орбіт лежать усередині кола
   (41cqi + половина значка < 50cqi), тож обрізання по горизонталі на самому .sw-orbit нічого видимого не ріже. Мітки .sw-orb__lbl
   показуються лише при наведенні — на пристроях без наведення їх немає в розкладці (не обрізаються, а не існують). */
.sw-orbit { overflow-x: clip; }
@supports not (overflow-x: clip) { .sw-orbit { overflow-x: hidden; overflow-y: visible; } }
@media (hover: none) { .sw-orb__lbl { display: none; } }

/* ── (c) стрічка з телефона ── */
.sw-feed { container-type: inline-size; }
.sw-feed__stage { position: relative; aspect-ratio: 16 / 9.5; overflow: clip; perspective: 1600px; }
.sw-feed__phone {
  position: absolute; left: 3%; bottom: 4%; width: 17%; aspect-ratio: 9 / 18.6; border-radius: 3cqi; z-index: 3;
  background: linear-gradient(170deg, var(--sw-frame-hi), var(--sw-frame)); box-shadow: var(--sw-shadow), inset 0 0 0 0.5cqi var(--sw-frame);
}
.sw-feed__notch { position: absolute; top: 4%; left: 35%; width: 30%; height: 3%; border-radius: 2cqi; background: var(--sw-frame); }
.sw-feed__glow { position: absolute; inset: 8% 7% 6%; border-radius: 2cqi; background: linear-gradient(160deg, var(--bf-accent), var(--sw-teal)); opacity: 0.85; }
/* екран телефона: мініатюра стрічки */
.sw-feed__screen { position: absolute; inset: 8% 7% 6%; border-radius: 2cqi; overflow: hidden; display: flex; flex-direction: column; gap: 1.1cqi; padding: 1.4cqi; background: var(--bf-card); }
.sw-feed__bar { display: flex; align-items: center; gap: 1cqi; flex: 0 0 auto; }
.sw-feed__dot { width: 2.4cqi; height: 2.4cqi; border-radius: 50%; background: linear-gradient(160deg, var(--bf-accent), var(--sw-teal)); }
.sw-feed__line { display: block; height: 0.9cqi; flex: 1 1 auto; border-radius: 1cqi; background: var(--bf-fill-strong, var(--bf-border)); }
.sw-feed__line--l { flex: 0 0 auto; width: 90%; } .sw-feed__line--s { flex: 0 0 auto; width: 55%; }
.sw-feed__shot { display: block; flex: 0 0 auto; width: 100%; }
.sw-feed__shot img { display: block; width: 100%; aspect-ratio: 1 / 0.8; object-fit: cover; border-radius: 1.2cqi; }
.sw-feed__shot--2 { opacity: 0.9; }
.sw-feed__strip { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(6deg); }
.sw-feed__card {
  position: absolute; width: 21%; left: calc(19% + var(--i) * 15.5%); top: calc(40% - var(--i) * 8.5%);
  transform: translateZ(calc(var(--i) * -18px)) rotateZ(calc(var(--i) * -1.5deg));
}
.sw-post--mini { font-size: clamp(6px, 1.25cqi, 11px); }
.sw-post--mini .sw-post__txt { -webkit-line-clamp: 3; }

/* ── (d) скляна плаваюча картка ── */
.sw-float { position: relative; border-radius: var(--bf-radius-2xl); overflow: hidden; container-type: inline-size; box-shadow: var(--sw-shadow); }
.sw-float__card {
  position: absolute; left: 50%; top: 4%; width: 38%; min-height: 63%; margin-left: -19%; padding: 2.2cqi; border-radius: 2.6cqi; font-size: clamp(9px, 2.1cqi, 15px);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); color: var(--bf-text);
  animation: sw-bob 6s ease-in-out infinite; animation-play-state: paused;
}
.sw-float.is-in .sw-float__card { animation-play-state: running; }
@supports (backdrop-filter: blur(1px)) { @media (min-width: 769px) { .sw-float__card { backdrop-filter: blur(14px) saturate(1.3); } } }
.sw-float__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5em; margin: 0.9em 0 0.7em; padding: 0; list-style: none; text-align: center; }
.sw-float__stats li { padding: 0.5em 0.2em; border-radius: 0.7em; background: var(--bf-fill); }
.sw-float__stats b { display: block; font-size: 1.4em; line-height: 1.1; }
.sw-float__stats span { font-size: 0.7em; color: var(--bf-text-muted); }
.sw-float__next { margin: 0; display: flex; gap: 0.4em; align-items: center; font-size: 0.78em; color: var(--bf-text-2); }
@keyframes sw-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.2%); } }

/* ── (e) потік «Один клік» ── */
.sw-oc { position: relative; }
.sw-oc__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.sw-oc__side { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; }
.sw-oc__side .sw-oc__nets { align-content: start; }
.sw-oc__compose { position: relative; padding: 18px; border-radius: var(--bf-radius-2xl); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); }
.sw-oc__k { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--bf-accent-ink); }
.sw-post--compose { font-size: 15px; box-shadow: none; }
.sw-post--compose .sw-post__img img { aspect-ratio: 16 / 10; }
.sw-oc__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: var(--bf-radius-full); background: var(--bf-inverse); color: var(--bf-on-inverse); font-weight: 600; font-size: 16px; cursor: pointer;
  transition: transform var(--bf-dur) var(--bf-ease), box-shadow var(--bf-dur) var(--bf-ease);
}
.sw-oc__btn:hover { box-shadow: 0 6px 20px var(--sw-glow); }
.sw-oc__btn:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); }
.sw-oc__btn:active { transform: scale(0.97); }
.sw-oc__btn[disabled] { cursor: default; opacity: 0.7; }
.sw-oc__hint { margin: 8px 0 0; font-size: 12.5px; text-align: center; color: var(--bf-text-muted); }
.sw-oc__nets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sw-oc__net {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px; align-items: center;
  padding: 16px; border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm);
}
.sw-oc__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--bf-fill); font-size: 26px; }
.sw-oc__nm { font-weight: 600; font-size: 15px; }
.sw-oc__st { font-size: 13px; }
.sw-oc__ok { display: inline-flex; align-items: center; gap: 4px; color: var(--bf-st-success-fg); font-weight: 600; }
.sw-oc__cnt { position: absolute; top: 12px; right: 14px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--sw-instagram); font-variant-numeric: tabular-nums; }
.sw-oc__cnt i { font-style: normal; }
.sw-oc__net.is-soon .sw-glyph { filter: grayscale(1); opacity: 0.5; }
.sw-oc__net.is-hit .sw-oc__ic { box-shadow: 0 0 0 3px var(--bf-accent-glow); }
.sw-oc__fly {
  position: absolute; z-index: 5; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; pointer-events: none; box-shadow: var(--sw-shadow);
  background: var(--bf-card) center / cover no-repeat;
}
.sw-oc__after { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sw-oc__step {
  position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 14px 14px 14px 12px; border-radius: var(--bf-radius-lg);
  background: var(--bf-card); border: 1px solid var(--bf-border); font-size: 14px;
}
.sw-oc__step p { margin: 0; flex: 1 1 auto; min-width: 0; }
.sw-oc__step b { display: block; font-size: 13px; }
.sw-oc__step .sw-soon { position: absolute; top: -9px; right: 10px; }
.sw-oc__ava { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bf-fill); font-weight: 700; font-size: 13px; color: var(--bf-text-2); }
.sw-oc__ava--ai { background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-oc__ava--crm { background: var(--bf-st-success-bg); color: var(--bf-st-success-fg); }
.sw-oc__truth { margin: 14px 0 0; font-size: 13px; color: var(--bf-text-muted); text-align: center; }
/* стан «до кліку» — лише коли JS озброїв сцену (без JS і при reduced-motion видно фінальний кадр) */
.sw-oc.is-armed .sw-oc__st, .sw-oc.is-armed .sw-oc__cnt { opacity: 0; }
.sw-oc.is-armed .sw-oc__step { opacity: 0.42; }   /* до кліку кроки видно приглушеними — без порожньої зони під плитками */
.sw-home-oc { margin: 8px 0 28px; }
.sw-home-oc__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 10px 0 0; font-size: 14.5px; font-weight: 600; }

/* ── (f) шаблони заміни тексту ── */
.sw-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sw-chip {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--bf-radius-lg);
  background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-xs);
}
.sw-chip__ic { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); font-size: 18px; }
.sw-chip__t { display: flex; flex-direction: column; min-width: 0; }
.sw-chip__t b { font-size: 15px; line-height: 1.3; }
.sw-chip__t small { font-size: 13px; color: var(--bf-text-muted); line-height: 1.35; }
.sw-chip .sw-soon { position: absolute; top: -9px; right: 12px; }

.sw-tl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; position: relative; }
.sw-tl__s { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--bf-radius-lg); background: var(--bf-card); border: 1px solid var(--bf-border); }
.sw-tl__n {
  flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 700; font-size: 14px;
  color: var(--bf-on-accent); background: linear-gradient(135deg, var(--bf-accent), var(--sw-teal));
}
.sw-tl__s b { display: block; font-size: 15px; }
.sw-tl__s p { margin: 2px 0 0; font-size: 14px; color: var(--bf-text-muted); }

.sw-ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; }
.sw-ba__col { padding: 18px 20px; border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); }
.sw-ba__col--a { border-color: color-mix(in srgb, var(--bf-accent) 40%, transparent); box-shadow: 0 10px 30px var(--sw-glow); }
.sw-ba__t { margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.sw-ba__col--b .sw-ba__t { color: var(--bf-text-muted); }
.sw-ba ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.sw-ba li { display: flex; gap: 8px; align-items: flex-start; }
.sw-ba__col--b li { color: var(--bf-text-muted); }
.sw-ba__col--b .sw-ico { color: var(--bf-text-faint); }
.sw-ba__col--a .sw-ico { color: var(--bf-st-success-fg); }
.sw-ba__arrow { align-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bf-accent-soft); color: var(--bf-accent-ink); }

.sw-cnts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sw-cnt { padding: 16px 18px; border-radius: var(--bf-radius-lg); background: var(--bf-card); border: 1px solid var(--bf-border); }
.sw-cnt b { display: block; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sw-cnt b i { font-style: normal; }
.sw-cnt span { font-size: 13.5px; color: var(--bf-text-muted); }

.sw-more { margin-top: 14px; border-radius: var(--bf-radius-lg); border: 1px solid var(--bf-border); background: var(--bf-card); }
.sw-more summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; min-height: 44px; }
.sw-more summary::-webkit-details-marker { display: none; }
.sw-more summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--bf-dur) var(--bf-ease); }
.sw-more[open] summary::after { transform: rotate(-135deg); }
.sw-more summary:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); border-radius: var(--bf-radius-lg); }
.sw-more__b { padding: 0 16px 14px; font-size: 14.5px; color: var(--bf-text-2); }
.sw-more__b p { margin: 0 0 8px; }

/* ── стрічка «Нове» (герой головної) ── */
.sw-ribbon-wrap { margin: 18px 0 0; text-align: center; }
/* SITE-WOW-2: ряд «картка — стрічка — картка» під підзаголовком героя (замість абсолютних плаваючих карток) */
.sw-ribbon-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; }
.sw-ribbon-row__l { order: 1; } .sw-ribbon-row__m { order: 2; min-width: 0; } .sw-ribbon-row__r { order: 3; }
.sw-ribbon-row__l:empty, .sw-ribbon-row__r:empty { display: none; }
.sw-ribbon-row .wow-flank { display: none; }
@media (min-width: 768px) {
  html.bf-wow .sw-ribbon-row .wow-flank {
    display: grid; position: static; width: 164px; gap: 8px; padding: 12px; border-radius: 18px; text-align: left; pointer-events: none;
    background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: 0 14px 34px var(--wow-glow), var(--bf-shadow-md);
    opacity: 1; visibility: visible; animation: none; top: auto; left: auto; right: auto;
  }
  html.bf-wow .sw-ribbon-row .wow-flank--l { transform: perspective(900px) rotateY(14deg) rotateX(3deg); }
  html.bf-wow .sw-ribbon-row .wow-flank--r { transform: perspective(900px) rotateY(-14deg) rotateX(3deg); }
}
@media (min-width: 768px) and (max-width: 1099px) { .sw-ribbon-row__m { order: 0; flex: 0 0 100%; } .sw-ribbon-row__l { order: 1; } .sw-ribbon-row__r { order: 2; } }
.sw-ribbon {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0; padding: 6px 14px 6px 6px; border-radius: var(--bf-radius-full);
  background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--bf-shadow-sm); color: var(--bf-text); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: box-shadow var(--bf-dur) var(--bf-ease), transform var(--bf-dur) var(--bf-ease);
}
.sw-ribbon:hover { box-shadow: 0 6px 22px var(--sw-glow); transform: translateY(-1px); }
.sw-ribbon:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); }
.sw-ribbon__new { padding: 3px 10px; border-radius: var(--bf-radius-full); background: var(--bf-accent); color: var(--bf-on-accent); font-size: 12px; }
.sw-ribbon__ic { display: inline-flex; gap: 4px; font-size: 17px; }
.sw-ribbon__t { min-width: 0; }
.sw-ribbon .sw-ico { color: var(--bf-text-muted); }

/* ── сторінка /sotsmerezhi/ (лише .sw-page) ── */
.sw-page .sw-hero { text-align: center; }
.sw-nets-live { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.sw-nets-live li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: var(--bf-radius-full);
  background: var(--sw-glass); border: 1px solid var(--sw-glass-line); font-weight: 600; font-size: 14px;
}
.sw-nets-live .sw-glyph { width: 20px; height: 20px; }
.sw-hero__vis { width: 100%; max-width: var(--bf-site-container); align-self: stretch; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(12px, 3vw, 36px); align-items: center; margin-top: clamp(24px, 4vw, 44px); text-align: left; }
.sw-page .seo-section { scroll-margin-top: calc(var(--bf-site-header-h) + 16px); }
.sw-page .bf-sx-head p { max-width: 640px; margin-inline: auto; }

.sw-ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 22px; padding: 0; list-style: none; }
.sw-idea { display: flex; flex-direction: column; gap: 10px; }
.sw-idea__topic {
  margin: 0; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--bf-accent-soft); color: var(--bf-text); font-size: 14.5px; font-weight: 600; line-height: 1.4;
  min-height: calc(2.8em + 40px);
}
.sw-idea__k { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--bf-accent-ink); }
.sw-idea__arrow { align-self: center; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--bf-accent), var(--sw-teal)); color: var(--bf-on-accent); font-size: 16px; }
.sw-post--idea { font-size: 14px; }
.sw-post--idea .sw-post__img img { aspect-ratio: 4 / 3; }

.sw-sched { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: center; }
.sw-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 14px; border-radius: var(--bf-radius-2xl); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); }
.sw-week__day { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sw-week__d { margin: 0 0 2px; text-align: center; font-size: 12px; font-weight: 700; color: var(--bf-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.sw-week__free { margin: 0; padding: 18px 4px; border-radius: 10px; border: 1px dashed var(--bf-field-border); text-align: center; font-size: 11px; color: var(--bf-text-faint); }
.sw-week__slot { display: flex; flex-direction: column; flex: 1 1 auto; gap: 4px; padding: 8px 7px; border-radius: 10px; background: var(--bf-card); border: 1px solid var(--bf-border); font-size: 11.5px; line-height: 1.3; min-height: 112px; min-width: 0; }
.sw-week__slot b { hyphens: manual; overflow-wrap: normal; word-break: normal; }
.sw-week__slot small { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.sw-week__slot small::before { content: ''; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sw-week__free { flex: 1 1 auto; display: grid; place-items: center; }
.sw-week__t { font-weight: 700; font-variant-numeric: tabular-nums; }
.sw-week__ic { display: flex; gap: 3px; }
.sw-week__ic .sw-glyph { width: 14px; height: 14px; }
.sw-week__slot b { font-weight: 600; }
.sw-week__slot small { font-size: 10.5px; font-weight: 600; }
.sw-week__slot--done { box-shadow: inset 0 3px 0 var(--bf-success); }
.sw-week__slot--done small { color: var(--bf-st-success-fg); }
.sw-week__slot--plan { box-shadow: inset 0 3px 0 var(--bf-accent); }
.sw-week__slot--plan small { color: var(--bf-accent-ink); }
.sw-week__slot--wait { box-shadow: inset 0 3px 0 var(--bf-warning); }
.sw-week__slot--wait small { color: var(--bf-st-warning-fg); }

.sw-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sw-mode { position: relative; padding: 20px; border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm); }
.sw-mode h3 { margin: 12px 0 4px; font-size: 18px; }
.sw-mode p { margin: 0; font-size: 14.5px; color: var(--bf-text-2); }
.sw-mode__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); font-size: 20px; }
.sw-tgok { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px; border-radius: 14px; background: var(--bf-fill); font-size: 12.5px; }
.sw-tgok__ic { font-size: 26px; }
.sw-tgok__b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sw-tgok__b b { font-size: 12px; }
.sw-tgok__btn { align-self: flex-start; margin-top: 4px; padding: 4px 12px; border-radius: var(--bf-radius-full); background: var(--sw-telegram); color: var(--bf-on-accent); font-weight: 600; }
.sw-float-wrap { max-width: 760px; margin: 24px auto 0; }

.sw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: center; }
.sw-split__img img { border-radius: var(--bf-radius-2xl); box-shadow: var(--sw-shadow); }
.sw-split .sw-tl { grid-template-columns: minmax(0, 1fr); }
.sw-split .sw-chips { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sw-split--rev .sw-split__img { order: 2; }

.sw-econ { display: grid; gap: 16px; max-width: 860px; margin-inline: auto; padding: clamp(16px, 3vw, 28px); border-radius: var(--bf-radius-2xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--sw-shadow); }
.sw-econ__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: center; }
.sw-econ__l { margin: 0; font-weight: 700; font-size: 16px; }
.sw-econ__l small { display: block; font-weight: 500; font-size: 13px; color: var(--bf-text-muted); }
.sw-econ__bar { position: relative; height: 46px; border-radius: 12px; background: var(--bf-fill); }
.sw-econ__bar::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 12px; transform-origin: left center; }
.sw-econ__bar--smm::before { background: color-mix(in srgb, var(--bf-text-muted) 30%, transparent); }
.sw-econ__bar--bf::before { background: linear-gradient(90deg, var(--bf-accent), var(--sw-teal)); }
.sw-econ__bar b { position: absolute; top: 50%; transform: translateY(-50%); right: 14px; font-size: 16px; font-variant-numeric: tabular-nums; }
.sw-econ__bar--bf b { left: calc(var(--w) + 12px); right: auto; color: var(--bf-accent-ink); }
.sw-econ__src { max-width: 860px; margin: 12px auto 0; font-size: 13px; color: var(--bf-text-muted); text-align: center; }

.sw-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sw-price { padding: 22px; border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm); }
.sw-price--main { border-color: color-mix(in srgb, var(--bf-accent) 45%, transparent); box-shadow: 0 14px 40px var(--sw-glow); }
.sw-price__k { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 700; color: var(--bf-accent-ink); }
.sw-price__v { margin: 8px 0 12px; font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.sw-price__v small { font-size: 15px; font-weight: 500; color: var(--bf-text-muted); }
.sw-price ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--bf-text-2); }
.sw-price li { padding-left: 18px; position: relative; }
.sw-price li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--bf-accent); }
.sw-cta { justify-content: center; margin-top: 24px; }
.sw-faq { max-width: 860px; margin-inline: auto; }

/* ── адаптив ── */
@media (max-width: 899px) {
  .sw-hero__vis, .sw-sched, .sw-split { grid-template-columns: minmax(0, 1fr); }
  .sw-hero__orb { max-width: 300px; margin-inline: auto; width: 100%; }
  .sw-split--rev .sw-split__img { order: 0; }
  .sw-week { grid-template-columns: repeat(7, minmax(92px, 1fr)); overflow-x: auto; }
  .sw-ideas, .sw-modes, .sw-prices { grid-template-columns: minmax(0, 1fr); }
  .sw-ideas { max-width: 440px; margin-inline: auto; }
  .sw-econ__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 560px) {
  .sw-week { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px; }
  .sw-week__slot { min-height: 0; }
  .sw-econ__bar--bf b { left: auto; right: 12px; color: var(--bf-text); }
  .sw-econ__bar--bf::before { min-width: 18%; }
}
@media (max-width: 899px) {
  .sw-oc__grid { grid-template-columns: minmax(0, 1fr); }
  .sw-oc__after { gap: 16px; }
  .sw-ba { grid-template-columns: minmax(0, 1fr); }
  .sw-ba__arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .sw-devices__stage { aspect-ratio: 4 / 3.5; }
  .sw-dev--laptop { left: 6%; width: 88%; }
  .sw-dev--tablet { width: 33%; left: -1%; }
  .sw-dev--phone { width: 24%; right: 0; }
  .sw-feed__stage { aspect-ratio: 4 / 4.2; }
  .sw-feed__phone { width: 26%; left: 2%; }
  .sw-feed__card { width: 36%; left: calc(14% + var(--i) * 12%); top: calc(48% - var(--i) * 10%); }
  .sw-post--mini { font-size: clamp(6px, 2.1cqi, 10px); }
  .sw-oc__nets { gap: 10px; }
  .sw-oc__net { padding: 12px; column-gap: 10px; }
  .sw-oc__ic { width: 38px; height: 38px; font-size: 21px; border-radius: 11px; }
  .sw-oc__nm { font-size: 14px; }
  .sw-oc__net { grid-template-columns: auto minmax(0, 1fr); }
  .sw-oc__cnt { top: 8px; right: 10px; font-size: 12px; }
  .sw-ribbon { font-size: 13px; gap: 8px; }
  .sw-ribbon__ic { display: none; }
  .sw-float__card { width: 60%; margin-left: -30%; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-orbit__ring, .sw-orb__in, .sw-float__card { animation: none !important; }
  .sw-ribbon, .sw-oc__btn { transition: none; }
}

/* ── Етап 4 (SITE-WOW-1): блок «Соцмережі для [ніша]» на сторінках ніш ── */
.sw-nsoc { margin-top: 8px; }
.sw-nsoc .sw-chips { grid-template-columns: minmax(0, 1fr); }
.sw-nsoc__alt { margin-top: 20px; }
.sw-nsoc__link { margin: 14px 0 0; text-align: center; font-weight: 600; }
.sw-nsoc__link a { text-decoration: none; }
/* «рядок + Детальніше» для довгих абзаців (bf2_sw_fold) */
/* ── SITE-WOW-2: орбіта 11 ніш (головна) ── */
.sw-nic { margin: 4px auto 30px; }
.sw-orbit--n { width: min(100%, 560px); }
.sw-orbit--n .sw-orb {
  width: 15cqi; height: 15cqi; margin: -7.5cqi 0 0 -7.5cqi;
  transform: rotate(calc(var(--i) * 360deg / var(--n, 11) - 90deg)) translateX(41cqi) rotate(calc(var(--i) * -360deg / var(--n, 11) + 90deg));
}
.sw-orbit--n .sw-orb__in { font-size: 6.4cqi; color: var(--bf-accent-ink); text-decoration: none; }
.sw-orbit--n .sw-orbit__core { inset: 27%; }
.sw-orbit--n::before { inset: 8%; }
.sw-ncard__pic { display: block; margin: 0 0 12px; border-radius: 12px; overflow: hidden; }
.sw-ncard__pic img { aspect-ratio: 16 / 10; object-fit: cover; }

/* ── макет календаря CRM (приклад інтерфейсу) ── */
.sw-day__crm { position: relative; container-type: inline-size; min-width: 0; }
.sw-crm { font-size: clamp(9px, 2.15cqi, 14px); border-radius: 16px; background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--sw-shadow); overflow: hidden; height: 100%; }
.sw-crm__bar { display: flex; align-items: center; gap: 0.5em; padding: 0.8em 1em; border-bottom: 1px solid var(--bf-border); background: var(--bf-fill); font-weight: 600; }
.sw-crm__bar i { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--bf-border-strong, var(--bf-border)); }
.sw-crm__bar span { margin-left: 0.6em; }
.sw-crm__body { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); padding: 0.8em 0.8em 1em; gap: 0.4em; }
.sw-crm__time { padding-top: 3em; }
.sw-crm__time i { display: block; height: calc(3.4em / 0.82); font-style: normal; font-size: 0.82em; color: var(--bf-text-muted); font-variant-numeric: tabular-nums; }
.sw-crm__cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0.6em; }
.sw-crm__m { display: flex; align-items: center; gap: 0.5em; height: 3em; margin: 0; font-weight: 700; }
.sw-crm__m .sw-post__ava { width: 1.9em; height: 1.9em; font-size: 0.85em; }
.sw-crm__lane { position: relative; height: calc(var(--rows, 7) * 3.4em); border-radius: 0.6em; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(3.4em - 1px), var(--bf-border) calc(3.4em - 1px), var(--bf-border) 3.4em); }
.sw-ev {
  position: absolute; left: 0.15em; right: 0.15em; top: calc(var(--s) * 3.4em + 0.15em); height: calc(var(--d) * 3.4em - 0.3em); overflow: hidden;
  padding: 0.45em 0.6em; border-radius: 0.6em; border-left: 0.3em solid; line-height: 1.25; transition: opacity 0.4s var(--bf-ease), transform 0.4s var(--bf-ease);
}
.sw-ev b { display: block; font-size: 1em; padding-right: 3.6em; }
.sw-ev span { display: block; font-size: 0.86em; color: var(--bf-text-2); }
.sw-ev em { position: absolute; top: 0.4em; right: 0.5em; font-style: normal; font-size: 0.72em; font-weight: 700; }
.sw-ev--done { background: var(--bf-st-success-bg); border-color: var(--bf-success); } .sw-ev--done em { color: var(--bf-st-success-fg); }
.sw-ev--now { background: var(--bf-accent-soft); border-color: var(--bf-accent); } .sw-ev--now em { color: var(--bf-accent-ink); }
.sw-ev--soon { background: var(--bf-st-warning-bg); border-color: var(--bf-warning); } .sw-ev--soon em { color: var(--bf-st-warning-fg); }
.sw-ev--new { background: var(--bf-accent-soft); border-color: var(--bf-accent); box-shadow: 0 0 0 2px var(--bf-accent-glow), var(--sw-shadow); } .sw-ev--new em { color: var(--bf-accent-ink); }
.sw-ev__pay { position: absolute; right: 0.5em; bottom: 0.4em; display: inline-flex; align-items: center; gap: 0.25em; padding: 0.1em 0.6em; border-radius: 99px; background: var(--bf-st-success-bg); color: var(--bf-st-success-fg); font-size: 0.74em; font-weight: 700; text-decoration: none; transition: opacity 0.4s var(--bf-ease); }
.sw-day__tg { position: absolute; right: 3%; bottom: 4%; display: flex; align-items: center; gap: 0.7em; padding: 0.7em 1em; border-radius: 14px; font-size: clamp(10px, 2.2cqi, 14px); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); transition: opacity 0.4s var(--bf-ease), transform 0.4s var(--bf-ease); }
.sw-day__tg b { display: block; } .sw-day__tg small { color: var(--bf-text-muted); }
.sw-day__tgi { font-size: 2em; display: grid; }

/* ── «День у CRM» ── */
.sw-day__grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(16px, 3vw, 32px); align-items: stretch; }
.sw-day__book { display: flex; flex-direction: column; gap: 14px; justify-content: center; padding: 22px; border-radius: var(--bf-radius-2xl); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); }
.sw-day__pick { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sw-day__pick li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bf-card); border: 1px solid var(--bf-border); }
.sw-day__pick small { color: var(--bf-text-muted); } .sw-day__pick b { font-size: 16px; }
.sw-day__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.sw-day__s { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--bf-radius-lg); background: var(--bf-card); border: 1px solid var(--bf-border); transition: opacity 0.35s var(--bf-ease), box-shadow 0.35s var(--bf-ease); }
.sw-day__s b { display: block; font-size: 15px; } .sw-day__s small { color: var(--bf-text-muted); font-size: 13px; }
.sw-day__n { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); font-size: 18px; }
.sw-day.is-armed .sw-day__s { opacity: 0.45; }
.sw-day.is-armed .sw-day__s.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--bf-accent-glow); }
.sw-day.is-armed:not(.l2) .sw-ev--new { opacity: 0; transform: scale(0.92); }
.sw-day.is-armed:not(.l3) .sw-day__tg { opacity: 0; transform: translateY(12px); }
.sw-day.is-armed:not(.l4) .sw-ev__pay { opacity: 0; }

/* ── канбан-макет (СТО, кав’ярня, роздріб, доставка, автомийка, автомаркет) ── */
.sw-kb { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0.6em; padding: 0.8em; }
.sw-kb__col { min-width: 0; min-height: 17em; padding: 0.5em; border-radius: 0.8em; background: var(--bf-fill); }
.sw-kb__h { margin: 0.2em 0.3em 0.6em; font-weight: 700; font-size: 0.92em; }
.sw-kcard { position: relative; margin: 0 0 0.5em; padding: 0.5em 0.6em; border-radius: 0.6em; border-left: 0.3em solid; line-height: 1.25; transition: opacity 0.4s var(--bf-ease), transform 0.4s var(--bf-ease); }
.sw-kcard b { display: block; padding-right: 4.6em; overflow-wrap: anywhere; }
.sw-kcard span { display: block; font-size: 0.86em; color: var(--bf-text-2); }
.sw-kcard em { position: absolute; top: 0.4em; right: 0.5em; font-style: normal; font-size: 0.72em; font-weight: 700; }
.sw-kcard .sw-ev__pay { position: static; margin-top: 0.4em; }
.sw-kcard.sw-ev--done { background: var(--bf-st-success-bg); border-color: var(--bf-success); } .sw-kcard.sw-ev--done em { color: var(--bf-st-success-fg); }

/* ── голова секції «Один день»: текст + 3D-картинка ніші ── */
.sw-dayhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; margin-bottom: 26px; }
.sw-dayhead__t { text-align: left; }
.sw-dayhead__t h2 { margin: 10px 0 12px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.sw-dayhead__t p { margin: 0; font-size: 1.125rem; color: var(--bf-text-2); max-width: 36em; text-wrap: pretty; }
.sw-heroart img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--sw-shadow); aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 899px) { .sw-dayhead { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sw-crm { overflow-x: auto; } .sw-kb { grid-template-columns: repeat(var(--cols, 3), minmax(10.5em, 1fr)); } }

/* ── ряд режимів ШІ (/ai-v-crm/): на всю ширину контейнера ── */
.lv-seg { width: 100%; max-width: none; }
.lv-seg .lv-seg__tab { flex: 1 1 0; }
.sw-sec { scroll-margin-top: calc(var(--bf-site-header-h, 64px) + 16px); }
.sw-sub--l { text-align: left; margin: 18px 0 10px; }

/* ── чат ШІ (інтерактив) ── */
.sw-chat__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(16px, 3vw, 32px); align-items: stretch; }
.sw-chat__win { display: flex; flex-direction: column; border-radius: 18px; background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--sw-shadow); overflow: hidden; min-height: 420px; }
.sw-chat__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bf-fill); border-bottom: 1px solid var(--bf-border); font-weight: 600; font-size: 14px; }
.sw-chat__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--bf-border); } .sw-chat__bar span { margin-left: 6px; }
.sw-chat__tabs { display: flex; gap: 6px; padding: 10px 12px 0; }
.sw-chat__tab { padding: 8px 14px; border: 0; border-radius: 99px; background: transparent; color: var(--bf-text-muted); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.sw-chat__tab[aria-selected="true"] { background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-chat__tab:focus-visible, .sw-chat__mode:focus-visible, .sw-cm__do:focus-visible, .sw-cm__no:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); }
.sw-chat__modes { display: flex; align-items: center; gap: 6px; padding: 8px 14px 0; font-size: 13px; color: var(--bf-text-muted); }
.sw-chat__modes[hidden] { display: none; }
.sw-chat__mode { padding: 5px 12px; border: 1px solid var(--bf-border); border-radius: 99px; background: var(--bf-card); color: var(--bf-text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.sw-chat__mode[aria-pressed="true"] { background: var(--bf-inverse); color: var(--bf-on-inverse); border-color: transparent; }
.sw-chat__body { flex: 1 1 auto; padding: 14px; }
.sw-chat__pane { display: flex; flex-direction: column; gap: 12px; }
.sw-chat__pane[hidden] { display: none; }
.sw-cm { display: flex; gap: 10px; align-items: flex-start; max-width: 92%; transition: opacity 0.4s var(--bf-ease), transform 0.4s var(--bf-ease); }
.sw-cm--u { align-self: flex-end; flex-direction: row-reverse; }
.sw-cm__a { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bf-fill); color: var(--bf-text-2); font-size: 15px; }
.sw-cm--a .sw-cm__a { background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-cm__b { padding: 10px 14px; border-radius: 14px; background: var(--bf-fill); font-size: 14.5px; line-height: 1.4; }
.sw-cm--u .sw-cm__b { background: var(--bf-accent); color: var(--bf-on-accent); border-bottom-right-radius: 4px; }
.sw-cm--a .sw-cm__b { border-bottom-left-radius: 4px; }
.sw-cm__b b { display: block; margin-bottom: 2px; }
.sw-cm__chg { display: block; margin: 4px 0 10px; padding: 8px 10px; border-radius: 10px; background: var(--bf-card); border: 1px solid var(--bf-border); font-weight: 600; }
.sw-cm__btns { display: flex; gap: 8px; }
.sw-cm__do, .sw-cm__no { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 99px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.sw-cm__do { background: var(--bf-inverse); color: var(--bf-on-inverse); } .sw-cm__no { background: var(--bf-card); color: var(--bf-text); border: 1px solid var(--bf-border); }
.sw-cm--ok .sw-cm__b { background: var(--bf-st-success-bg); color: var(--bf-st-success-fg); }
.sw-cm--no .sw-cm__b { background: var(--bf-st-warning-bg); color: var(--bf-st-warning-fg); }
.sw-cm--st { max-width: 100%; }
.sw-cm--st .sw-cm__b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-chat__side { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.sw-chat__facts { grid-template-columns: minmax(0, 1fr); }
/* стани: без JS — фінальний кадр (усе видно); JS озброює сцену і розкриває кроки */
.sw-chat .sw-cm--s5n, .sw-chat .sw-cm--s3a, .sw-chat .sw-cm--s3b { display: none; }
.sw-chat.is-armed .sw-cm { opacity: 0; transform: translateY(8px); }
.sw-chat.is-armed .sw-cm.is-on { opacity: 1; transform: none; }
.sw-chat.is-armed .sw-cm--s5, .sw-chat.is-armed .sw-cm--s5n { display: none; }
.sw-chat.is-armed .sw-cm--s5.is-on, .sw-chat.is-armed .sw-cm--s5n.is-on { display: flex; }
.sw-chat.is-armed .sw-cm--s3a.is-on, .sw-chat.is-armed .sw-cm--s3b.is-on { display: flex; }
.sw-chat.is-armed .sw-cm--s3.is-off { display: none; }

/* ── хаб інтеграцій ── */
.sw-hub__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sw-hub__n { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--bf-radius-xl); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--bf-shadow-sm); }
.sw-hub__ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 13px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); font-size: 20px; }
.sw-hub__n b { font-size: 16px; } .sw-hub__n small { color: var(--bf-text-muted); font-size: 13px; }
.sw-hub__st { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sw-pill { display: inline-flex; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.sw-pill--ok { background: var(--bf-st-success-bg); color: var(--bf-st-success-fg); }
.sw-pill--soon { background: var(--bf-st-warning-bg); color: var(--bf-st-warning-fg); }
.sw-pill--agree { background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-pill--ord { background: var(--bf-fill); color: var(--bf-text-2); }
.sw-hub__c { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: var(--bf-radius-2xl); background: radial-gradient(circle at 50% 45%, var(--sw-glow), var(--sw-glow-2) 55%, transparent 80%); }
.sw-hub__c img { width: auto; height: 190px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgb(var(--bf-shadow-c) / calc(0.18 * var(--bf-sa)))); }
.sw-hub__c b { font-size: 15px; }
@media (max-width: 899px) {
  .sw-chat__grid { grid-template-columns: minmax(0, 1fr); }
  .sw-hub__g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-hub__c { grid-column: 1 / -1; grid-row: auto; order: -1; }
}
@media (max-width: 560px) { .sw-hub__g { grid-template-columns: minmax(0, 1fr); } .sw-cm { max-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sw-cm { transition: none; } }

/* ── телефон із діалогом бота / Mini App ── */
.sw-pscene { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(18px, 3.5vw, 44px); align-items: center; }
.sw-ph { width: min(100%, 320px); margin-inline: auto; padding: 11px; border-radius: 38px; background: linear-gradient(170deg, var(--sw-frame-hi), var(--sw-frame)); box-shadow: var(--sw-shadow); }
.sw-ph__scr { display: flex; flex-direction: column; min-height: 500px; border-radius: 28px; overflow: hidden; background: var(--bf-canvas); }
.sw-ph__head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--bf-card); border-bottom: 1px solid var(--bf-border); }
.sw-ph__head .sw-post__ava { width: 30px; height: 30px; font-size: 13px; } .sw-ph__head small { margin-left: auto; color: var(--bf-text-muted); font-size: 12px; }
.sw-ph__msgs { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; flex: 1 1 auto; }
.sw-ph__msgs .sw-cm { max-width: 88%; } .sw-ph__msgs .sw-cm--u { align-self: flex-end; }
.sw-ph__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sw-ph__btns i { font-style: normal; padding: 5px 11px; border-radius: 99px; background: var(--bf-card); border: 1px solid var(--bf-border); color: var(--bf-accent-ink); font-weight: 600; font-size: 13px; }
.sw-ph__pane { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; flex: 1 1 auto; }
.sw-ph__pane[hidden] { display: none; }
.sw-ph__tile { padding: 14px; border-radius: 14px; background: var(--bf-card); border: 1px solid var(--bf-border); } .sw-ph__tile b { display: block; } .sw-ph__tile small { color: var(--bf-text-muted); }
.sw-ph__slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .sw-ph__slots i { font-style: normal; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--bf-border); background: var(--bf-card); font-weight: 600; }
.sw-ph__slots i.on { background: var(--bf-accent-soft); border-color: var(--bf-accent); color: var(--bf-accent-ink); }
.sw-ph__cta { margin-top: auto; padding: 12px; text-align: center; border-radius: 99px; background: var(--bf-inverse); color: var(--bf-on-inverse); font-weight: 600; }
.sw-ph__tabs { display: flex; justify-content: center; gap: 4px; padding: 8px; border-top: 1px solid var(--bf-border); background: var(--bf-card); }
.sw-ph__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sw-ph__chips { grid-template-columns: minmax(0, 1fr); }
.sw-ph__note { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--bf-radius-xl); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); }
.sw-ph__note b { display: block; } .sw-ph__note small { color: var(--bf-text-muted); }
.sw-pscene.is-armed .sw-pm1, .sw-pscene.is-armed .sw-pm2, .sw-pscene.is-armed .sw-pm3, .sw-pscene.is-armed .sw-pm4, .sw-pscene.is-armed .sw-pm5, .sw-pscene.is-armed .sw-ph__note { opacity: 0; transform: translateY(8px); }
.sw-pscene.is-armed .is-on { opacity: 1; transform: none; }
.sw-chip__a { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; width: 100%; }
.sw-chip--link:hover { box-shadow: var(--sw-shadow); }
@media (max-width: 899px) { .sw-pscene { grid-template-columns: minmax(0, 1fr); } }

/* ── /tsiny/: скляні картки, чипи ніш, ERP-кнопка ── */
.sw-gcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0 0; }
.sw-gc { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--bf-radius-2xl); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); text-align: left; }
@supports (backdrop-filter: blur(1px)) { @media (min-width: 769px) { .sw-gc { backdrop-filter: blur(12px) saturate(1.25); } } }
.sw-gc__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); font-size: 22px; }
.sw-gc h3 { margin: 0; font-size: 20px; }
.sw-gc__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; font-size: 15px; color: var(--bf-text-muted); }
.sw-gc__price b { font-size: 26px; line-height: 1.1; color: var(--bf-text); letter-spacing: -0.02em; }
.sw-gc__price small { flex-basis: 100%; font-size: 13px; }
.sw-gc__price--alt b { font-size: 22px; }
.sw-gc__ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--bf-text-2); }
.sw-gc__ul li { display: flex; gap: 8px; align-items: flex-start; }
.sw-gc__ul .sw-ico { color: var(--bf-success); margin-top: 0.2em; }
.sw-gc .sw-more { margin-top: auto; }
.sw-sub { margin: 30px 0 12px; text-align: center; font-weight: 700; font-size: 17px; }
.sw-nchips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sw-nchips > li { flex: 1 1 170px; min-width: 0; }   /* кожен ряд (і неповний останній) — на всю ширину контейнера */
.sw-nchip { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 16px; border-radius: var(--bf-radius-lg); background: var(--bf-card); border: 1px solid var(--bf-border); font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--bf-text); transition: box-shadow var(--bf-dur) var(--bf-ease), transform var(--bf-dur) var(--bf-ease); }
.sw-nchip:hover { box-shadow: var(--sw-shadow); transform: translateY(-1px); }
.sw-nchip .sw-ico { color: var(--bf-accent-ink); font-size: 18px; }
.sw-erp { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 20px; border-radius: var(--bf-radius-xl); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--bf-shadow-sm); text-decoration: none; color: var(--bf-text); }
.sw-erp:hover { box-shadow: var(--sw-shadow); }
.sw-erp__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); font-size: 20px; }
.sw-erp__t { flex: 1 1 auto; min-width: 0; } .sw-erp__t b { display: block; } .sw-erp__t small { color: var(--bf-text-muted); font-size: 13.5px; }
@media (max-width: 899px) {
  .sw-day__grid, .sw-gcs { grid-template-columns: minmax(0, 1fr); }
  .sw-day__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .sw-day__steps { grid-template-columns: minmax(0, 1fr); } .sw-erp { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .sw-ev, .sw-day__tg, .sw-day__s, .sw-ev__pay { transition: none; } }

p.hai-cond + .sw-chips, p.bf-sx-note + .sw-chips { margin-top: var(--sw-s3); }
.hai-cond { margin-top: var(--sw-s5); }

/* ══ SITE-WOW-2: ЄДИНІ ВІДСТУПИ ШАРУ (переважають локальні значення вище; лише токени --sw-*) ══ */
@media (max-width: 560px) { :root { --sw-gap: 14px; --sw-head: 18px; } }
.sw-chips, .sw-gcs, .sw-nchips, .sw-day__grid, .sw-day__steps, .sw-oc__grid, .sw-oc__nets, .sw-oc__after, .sw-oc__side, .sw-chat__grid, .sw-hub__g,
.sw-pscene, .sw-split, .sw-sched, .sw-ideas, .sw-modes, .sw-prices, .sw-dayhead, .sw-cnts, .sw-tl, .sw-kb, .sw-ph__side, .sw-chat__side { gap: var(--sw-gap); }
.sw-cap, .sw-oc__truth { margin-top: var(--sw-cap); }
.sw-dayhead { margin-bottom: var(--sw-head); }
.sw-sec > .bf-sx-head { margin-bottom: var(--sw-head); }
.sw-day__steps { margin-top: var(--sw-gap); }
.sw-more { margin-block: var(--sw-s4); }
.sw-gc .sw-more { margin-block: auto 0; }
.sw-pscene + .sw-tl { margin-top: var(--sw-head); }
.sw-cnts + .sw-chips { margin-top: var(--sw-gap); }
.sw-chips + .sw-tl { margin-top: var(--sw-gap); }
.sw-nsoc__alt { margin-top: var(--sw-gap); }
.sw-sub { margin: var(--sw-s6) 0 var(--sw-s3); }
.sw-erp { margin-top: var(--sw-s3); }
/* фінальний заклик /telegram-boty/: рядок → кнопки (було 14 px) */
.tgbv2-final-cta .tgbv2-hero-actions { margin-top: var(--sw-s5); }
/* сітки 2 колонки з непарною кількістю карток: без «сироти» в останньому ряду */
@media (min-width: 900px) {
  .bf-sx-grid--2 > :last-child:nth-child(odd), .ai-formats > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .bf-sx-grid--2:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bf-sx-grid--2:has(> :nth-child(3):last-child) > :last-child { grid-column: auto; }
}

/* ══ SITE-TOP-1 (16.11.2026): компоненти «ВАУ зверху донизу» — лише токени --bf-* / --sw-*; прапорець 'top' у data/site_scenes.php ══ */
/* «Детальніше» — посилання-кнопка, а не сіра смуга на всю ширину */
.sw-more.sw-more--link { border: 0; background: none; box-shadow: none; margin-block: var(--sw-s1) var(--sw-s3); }
.sw-more--link > summary { display: inline-flex; justify-content: flex-start; gap: var(--sw-s2); padding: var(--sw-s2) var(--sw-s1); color: var(--bf-accent-ink); border-radius: var(--bf-radius-md); }
.sw-more--link > summary:hover { color: var(--bf-accent); }
.sw-more--link > summary::after { width: 7px; height: 7px; margin-top: -3px; }
.sw-more--link[open] > summary::after { margin-top: 3px; }
.sw-more--link > .sw-more__b { padding: var(--sw-s1) 0 var(--sw-s1) var(--sw-s4); border-left: 2px solid var(--bf-accent-soft); }

/* FAQ «ВАУ» */
.sw-fx__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: var(--sw-gap); align-items: end; margin-bottom: var(--sw-head); }
.sw-fx__head h2 { margin: var(--sw-s2) 0 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.sw-fx__head p { margin: var(--sw-s3) 0 0; color: var(--bf-text-2); max-width: 46ch; }
.sw-fx__ask {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--sw-s2) var(--sw-s4); align-items: center;
  padding: var(--sw-s4) var(--sw-s5) var(--sw-s4) var(--sw-s4); border-radius: var(--bf-radius-xl);
  background: linear-gradient(135deg, color-mix(in srgb, var(--bf-accent) 10%, var(--bf-card)), var(--bf-card)); border: 1px solid var(--bf-border); box-shadow: var(--sw-shadow);
}
.sw-fx__ask img { grid-row: 1 / span 2; width: 74px; height: auto; filter: drop-shadow(0 8px 16px var(--sw-glow)); }
.sw-fx__ask p { margin: 0; display: flex; flex-direction: column; font-size: 14px; color: var(--bf-text-muted); }
.sw-fx__ask p b { font-size: 16px; color: var(--bf-text); }
.sw-fx__btn { justify-self: start; display: inline-flex; align-items: center; gap: var(--sw-s2); min-height: 44px; padding: 0 var(--sw-s4); border-radius: var(--bf-radius-full); background: var(--bf-inverse); color: var(--bf-on-inverse); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.sw-fx__btn:hover { opacity: 0.9; }
.sw-fx__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sw-s3) var(--sw-gap); align-items: start; }
.sw-fx__col { display: grid; gap: var(--sw-s3); margin: 0; padding: 0; list-style: none; }
.sw-fx__d { border-radius: var(--bf-radius-lg); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-xs); transition: border-color var(--bf-dur) var(--bf-ease), box-shadow var(--bf-dur) var(--bf-ease); }
.sw-fx__d:hover { border-color: color-mix(in srgb, var(--bf-accent) 35%, var(--bf-border)); }
.sw-fx__d[open] { border-color: color-mix(in srgb, var(--bf-accent) 45%, transparent); box-shadow: 0 12px 32px var(--sw-glow); }
.sw-fx__d > summary { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: var(--sw-s3); align-items: center; min-height: 60px; padding: var(--sw-s3) var(--sw-s4); cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.sw-fx__d > summary::-webkit-details-marker { display: none; }
.sw-fx__d > summary:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); border-radius: var(--bf-radius-lg); }
.sw-fx__n { font-size: 12px; font-weight: 700; color: var(--bf-text-muted); font-variant-numeric: tabular-nums; }
.sw-fx__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-fx__pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bf-fill); }
.sw-fx__pm::before, .sw-fx__pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: currentColor; transition: transform var(--bf-dur) var(--bf-ease); }
.sw-fx__pm::after { transform: rotate(90deg); }
.sw-fx__d[open] .sw-fx__pm { background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-fx__d[open] .sw-fx__pm::after { transform: rotate(0deg); }
.sw-fx__a { padding: 0 var(--sw-s5) var(--sw-s4) calc(var(--sw-s4) + 36px + var(--sw-s3)); font-size: 14.5px; line-height: 1.6; color: var(--bf-text-2); }
.sw-fx__a p { margin: 0 0 var(--sw-s2); } .sw-fx__a p:last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
  .sw-fx { interpolate-size: allow-keywords; }
  .sw-fx__d::details-content { block-size: 0; overflow: clip; transition: block-size 0.32s var(--bf-ease), content-visibility 0.32s allow-discrete; }
  .sw-fx__d[open]::details-content { block-size: auto; }
}
@media (max-width: 899px) {
  .sw-fx__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sw-fx__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sw-fx__a { padding-left: var(--sw-s4); }
  .sw-fx__n { display: none; }
  .sw-fx__d > summary { grid-template-columns: auto minmax(0, 1fr) auto; font-size: 15px; }
  .sw-fx__ask img { width: 56px; }
}

/* картки сценаріїв */
.sw-cds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: var(--sw-gap); margin: 0; padding: 0; list-style: none; }
@media (min-width: 1100px) { .sw-cds--tg { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sw-cds--tg .sw-cd:not(.sw-cd--link) { padding: var(--sw-s4); } }
@media (min-width: 561px) and (max-width: 1099px) { .sw-cds--tg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sw-cds--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sw-cds--2 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.sw-cds--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 1100px) { .sw-cds--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sw-chat + .sw-cds, .sw-tl + .sw-cds { margin-top: var(--sw-gap); }
.sw-cds--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sw-cd { position: relative; border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm); transition: transform var(--bf-dur) var(--bf-ease), box-shadow var(--bf-dur) var(--bf-ease), border-color var(--bf-dur) var(--bf-ease); }
.sw-cd > .sw-cd__a, .sw-cd:not(.sw-cd--link) { display: flex; flex-direction: column; gap: var(--sw-s2); padding: var(--sw-s5); color: inherit; text-decoration: none; height: 100%; box-sizing: border-box; }
.sw-cd--link:hover { transform: translateY(-3px); box-shadow: var(--sw-shadow); border-color: color-mix(in srgb, var(--bf-accent) 35%, var(--bf-border)); }
.sw-cd__ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: var(--sw-s1); border-radius: 14px; font-size: 21px; color: var(--bf-accent-ink); background: linear-gradient(135deg, var(--bf-accent-soft), color-mix(in srgb, var(--sw-teal) 16%, var(--bf-card))); }
.sw-cd__t { margin: 0; font-size: 17px; line-height: 1.3; }
.sw-cd__p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--bf-text-muted); }
.sw-cd__pill { align-self: flex-start; margin-top: auto; padding: 3px 10px; border-radius: var(--bf-radius-full); background: var(--bf-fill); font-size: 12px; font-weight: 600; color: var(--bf-text-2); }
.sw-cd__go { position: absolute; top: var(--sw-s5); right: var(--sw-s5); color: var(--bf-text-muted); transition: transform var(--bf-dur) var(--bf-ease), color var(--bf-dur) var(--bf-ease); }
.sw-cd--link:hover .sw-cd__go { transform: translateX(3px); color: var(--bf-accent-ink); }
@media (prefers-reduced-motion: reduce) { .sw-cd, .sw-cd__go { transition: none; } .sw-cd--link:hover { transform: none; } }

/* ряд посилань-кнопок */
.sw-lr { display: grid; gap: var(--sw-s3); justify-items: center; text-align: center; }
.sw-lr__l { margin: 0; font-size: 14px; font-weight: 600; color: var(--bf-text-muted); }
.sw-lr__u { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sw-s2) var(--sw-s3); margin: 0; padding: 0; list-style: none; }
.sw-lr__a { display: inline-flex; align-items: center; gap: var(--sw-s2); min-height: 44px; padding: 0 var(--sw-s4); border-radius: var(--bf-radius-full); background: var(--bf-card); border: 1px solid var(--bf-border); color: var(--bf-text); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: border-color var(--bf-dur) var(--bf-ease), color var(--bf-dur) var(--bf-ease); }
.sw-lr__a .sw-ico { color: var(--bf-accent-ink); }
.sw-lr__a:hover { border-color: color-mix(in srgb, var(--bf-accent) 45%, var(--bf-border)); color: var(--bf-accent-ink); }
.sw-lr + .sw-lr { margin-top: var(--sw-s5); }

/* порівняння «А чи Б» */
.sw-vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--sw-gap); align-items: stretch; }
.sw-vs__or { position: relative; z-index: 1; margin-inline: -14px; align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bf-fill); font-size: 13px; font-weight: 700; color: var(--bf-text-muted); }
.sw-vs__c { display: flex; flex-direction: column; gap: var(--sw-s4); padding: var(--sw-s5); border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm); }
.sw-vs__c--main { border-color: color-mix(in srgb, var(--bf-accent) 45%, transparent); box-shadow: 0 14px 40px var(--sw-glow); }
.sw-vs__c header { display: flex; gap: var(--sw-s3); align-items: flex-start; }
.sw-vs__c h3 { margin: 0; font-size: 19px; }
.sw-vs__c header p { margin: var(--sw-s1) 0 0; font-size: 14px; color: var(--bf-text-muted); }
.sw-vs__ic { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 21px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-vs__l { display: grid; gap: var(--sw-s2); margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.sw-vs__r { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--sw-s3); align-items: start; line-height: 1.45; }
.sw-vs__m { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; font-size: 13px; }
.sw-vs__r--y .sw-vs__m { background: var(--bf-st-success-bg); color: var(--bf-st-success-fg); }
.sw-vs__r--n { color: var(--bf-text-muted); }
.sw-vs__r--n .sw-vs__m { background: var(--bf-fill); }
.sw-vs__r--n .sw-vs__m::before { content: ''; width: 8px; height: 2px; border-radius: 2px; background: var(--bf-text-muted); }
.sw-vs__r--p .sw-vs__m { background: var(--bf-st-warning-bg); }
.sw-vs__r--p .sw-vs__m::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bf-st-warning-fg); }
.sw-vs__cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: var(--sw-s2); min-height: 46px; padding: 0 var(--sw-s5); border-radius: var(--bf-radius-full); border: 1px solid var(--bf-border); color: var(--bf-text); font-weight: 600; text-decoration: none; }
.sw-vs__cta--main { background: var(--bf-inverse); border-color: var(--bf-inverse); color: var(--bf-on-inverse); }
@media (max-width: 899px) { .sw-vs { grid-template-columns: minmax(0, 1fr); } .sw-vs__or { justify-self: center; } }

/* картки цін */
.sw-pcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--sw-gap); align-items: stretch; }
.sw-pc { display: flex; flex-direction: column; gap: var(--sw-s3); padding: var(--sw-s5); border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm); }
.sw-pc--main { border-color: color-mix(in srgb, var(--bf-accent) 45%, transparent); box-shadow: 0 14px 40px var(--sw-glow); }
.sw-pc__k { display: flex; align-items: center; gap: var(--sw-s2); margin: 0; font-weight: 700; font-size: 15px; }
.sw-pc__k .sw-ico { color: var(--bf-accent-ink); }
.sw-pc__k em { margin-left: auto; padding: 2px 10px; border-radius: var(--bf-radius-full); background: var(--bf-accent-soft); color: var(--bf-accent-ink); font-style: normal; font-size: 12px; }
.sw-pc__v { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--sw-s1) var(--sw-s2); margin: 0; }
.sw-pc__v b { font-size: clamp(32px, 3.6vw, 42px); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sw-pc__v small { font-size: 15px; color: var(--bf-text-muted); font-weight: 600; }
.sw-pc__n { margin: 0; font-size: 13.5px; color: var(--bf-text-muted); }
.sw-pc__rows { display: grid; gap: var(--sw-s2); margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.sw-pc__rows li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--sw-s2); align-items: start; line-height: 1.45; }
.sw-pc__rows .sw-ico { margin-top: 2px; color: var(--bf-st-success-fg); }
.sw-pc__cl { margin: var(--sw-s2) 0 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--bf-text-muted); }
.sw-pc__chips { display: flex; flex-wrap: wrap; gap: var(--sw-s2); margin: 0; padding: 0; list-style: none; }
.sw-pc__chips li { padding: 4px 10px; border-radius: var(--bf-radius-full); background: var(--bf-fill); font-size: 12.5px; color: var(--bf-text-2); }
.sw-pc__cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 var(--sw-s5); border-radius: var(--bf-radius-full); border: 1px solid var(--bf-border); color: var(--bf-text); font-weight: 600; text-decoration: none; }
.sw-pc--main .sw-pc__cta { background: var(--bf-inverse); border-color: var(--bf-inverse); color: var(--bf-on-inverse); }

/* діалог ШІ-адміністратора ніші: телефон + сповіщення власнику (поверх краю телефона, усередині однієї сцени) */
.sw-aid { position: relative; width: min(100%, 340px); margin-inline: auto; padding-bottom: 44px; }
.sw-aid .sw-ph__scr { min-height: 430px; }
.sw-aid .sw-cm { transition: opacity 0.4s var(--bf-ease), transform 0.4s var(--bf-ease); }
.sw-aid__note { position: absolute; left: -18px; right: -18px; bottom: 0; }
.sw-aid__bell { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; font-size: 19px; background: var(--bf-accent); color: var(--bf-on-accent); }
.sw-aid.is-armed .sw-pm1, .sw-aid.is-armed .sw-pm2, .sw-aid.is-armed .sw-pm3, .sw-aid.is-armed .sw-pm4, .sw-aid.is-armed .sw-ph__note { opacity: 0; transform: translateY(8px); transition: opacity 0.4s var(--bf-ease), transform 0.4s var(--bf-ease); }
.sw-aid.is-armed .is-on { opacity: 1; transform: none; }
@media (max-width: 560px) { .sw-aid__note { left: -6px; right: -6px; } }
@media (prefers-reduced-motion: reduce) { .sw-aid .sw-cm, .sw-aid .sw-ph__note { transition: none; } }

/* «ШІ для [ніша]» */
.sw-aiteaser { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.sw-aiteaser__side { display: flex; flex-direction: column; gap: var(--sw-s4); min-width: 0; }
.sw-chips--does { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.sw-aim { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sw-s3); margin: 0; padding: 0; list-style: none; }
.sw-aim li { display: flex; flex-direction: column; gap: 2px; padding: var(--sw-s3) var(--sw-s4); border-radius: var(--bf-radius-lg); border: 1px dashed color-mix(in srgb, var(--bf-accent) 40%, var(--bf-border)); font-size: 13.5px; color: var(--bf-text-muted); }
.sw-aim b { font-size: 15px; color: var(--bf-text); }
.sw-aiteaser__note { display: flex; gap: var(--sw-s2); align-items: flex-start; margin: 0; font-size: 14px; color: var(--bf-text-2); }
.sw-aiteaser__note .sw-ico { margin-top: 2px; color: var(--bf-accent-ink); }
.sw-aiteaser__req { margin: 0; font-size: 13.5px; color: var(--bf-text-muted); }
.sw-aiteaser__go { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--sw-s2); min-height: 46px; padding: 0 var(--sw-s5); border-radius: var(--bf-radius-full); background: var(--bf-inverse); color: var(--bf-on-inverse); font-weight: 600; text-decoration: none; }
.sw-aiteaser__go:hover { opacity: 0.9; }
@media (max-width: 899px) { .sw-aiteaser { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sw-aim { grid-template-columns: minmax(0, 1fr); } }

/* ряд ніш (чипи з іконками) */
.sw-lr--niches .sw-lr__a { font-weight: 500; }
.sw-others .sw-lr { margin-top: var(--sw-s5); }
.sw-others .bf-sx-head a { color: var(--bf-accent-ink); font-weight: 600; text-decoration: none; }
.sw-faqsec, .sw-sec-team, .sw-aisec { padding-block: var(--bf-site-section, 72px); }

.sw-pill--no { background: var(--bf-fill); color: var(--bf-text-muted); }
@media (min-width: 900px) { .sw-chips--does > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ── hero ШІ-автоматизації: канали довкола Бізика ── */
.sw-aih { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--sw-gap); align-items: center; margin-top: var(--sw-s6); }
.sw-aih__col { display: grid; gap: var(--sw-s3); margin: 0; padding: 0; list-style: none; }
.sw-aih__n { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--sw-s3); align-items: center; padding: var(--sw-s3) var(--sw-s4); border-radius: var(--bf-radius-lg); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--bf-shadow-sm); text-align: left; }
.sw-aih__g { grid-row: 1 / span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--bf-card); border: 1px solid var(--bf-border); font-size: 22px; color: var(--bf-text-2); }
.sw-aih__n b { font-size: 15px; line-height: 1.25; }
.sw-aih__n .sw-pill { justify-self: start; margin-top: 3px; }
.sw-aih__n--live { border-color: color-mix(in srgb, var(--sw-telegram) 45%, transparent); box-shadow: 0 10px 30px color-mix(in srgb, var(--sw-telegram) 22%, transparent); }
.sw-aih__n--none, .sw-aih__n--custom { opacity: 0.86; }
.sw-aih__core { position: relative; display: grid; justify-items: center; align-content: end; min-height: 420px; }
.sw-aih__core::before { content: ''; position: absolute; inset: 18% 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--sw-glow), transparent); filter: blur(6px); }
.sw-aih__bz { position: relative; width: min(240px, 70%); height: auto; filter: drop-shadow(0 18px 30px var(--sw-glow)); }
.sw-aih__badge { position: relative; display: inline-flex; align-items: center; gap: var(--sw-s2); margin-top: var(--sw-s3); padding: var(--sw-s2) var(--sw-s4); border-radius: var(--bf-radius-full); background: var(--bf-inverse); color: var(--bf-on-inverse); font-size: 13.5px; font-weight: 600; }
.sw-aih__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--bf-st-success-fg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bf-st-success-fg) 25%, transparent); }
.sw-aih__msgs { position: relative; display: grid; gap: var(--sw-s2); width: min(100%, 330px); margin: 0 0 var(--sw-s3); padding: 0; list-style: none; }
.sw-aih__m { display: flex; gap: var(--sw-s2); align-items: flex-start; padding: var(--sw-s2) var(--sw-s3); border-radius: 14px 14px 14px 4px; background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm); font-size: 13.5px; line-height: 1.35; text-align: left; transition: opacity 0.5s var(--bf-ease), transform 0.5s var(--bf-ease); }
.sw-aih__m small { display: block; font-size: 11.5px; color: var(--bf-text-muted); }
.sw-aih__mg { flex: 0 0 auto; font-size: 18px; margin-top: 2px; }
.sw-aih.is-armed .sw-aih__m { opacity: 0; transform: translateY(10px) scale(0.98); }
.sw-aih.is-armed .sw-aih__m.is-on { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .sw-aih { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-aih__core { grid-column: 1 / -1; grid-row: 1; min-height: 0; }
}
@media (max-width: 560px) {
  .sw-aih { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sw-s2); }
  .sw-aih__col { gap: var(--sw-s2); }
  .sw-aih__n { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 4px; padding: var(--sw-s2) var(--sw-s3); }
  .sw-aih__g { grid-row: auto; width: 34px; height: 34px; font-size: 18px; }
  .sw-aih__n b { font-size: 13.5px; }
  .sw-aih__bz { width: 150px; }
}
.sw-md__body { min-height: 240px; }

/* ── «Ніч, 23:40» ── */
.sw-nt { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "steps stage" "ctl stage"; gap: var(--sw-gap) clamp(20px, 4vw, 44px); align-items: start; }
.sw-nt__steps { grid-area: steps; display: grid; gap: var(--sw-s2); margin: 0; padding: 0; list-style: none; counter-reset: nt; }
.sw-nt__b { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: var(--sw-s3); align-items: center; width: 100%; min-height: 60px; padding: var(--sw-s3) var(--sw-s4); border-radius: var(--bf-radius-lg); border: 1px solid var(--bf-border); background: var(--bf-card); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color var(--bf-dur) var(--bf-ease), box-shadow var(--bf-dur) var(--bf-ease), opacity var(--bf-dur) var(--bf-ease); }
.sw-nt__b:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); }
.sw-nt__t { font-weight: 700; font-size: 14px; color: var(--bf-accent-ink); font-variant-numeric: tabular-nums; }
.sw-nt__x b { display: block; font-size: 15px; line-height: 1.3; } .sw-nt__x small { font-size: 13px; color: var(--bf-text-muted); }
.sw-nt.is-armed .sw-nt__s:not(.is-on) .sw-nt__b { opacity: 0.55; }
.sw-nt__s.is-cur .sw-nt__b { border-color: color-mix(in srgb, var(--bf-accent) 50%, transparent); box-shadow: 0 10px 28px var(--sw-glow); opacity: 1; }
.sw-nt__ctl { grid-area: ctl; }
.sw-nt__play { display: inline-flex; align-items: center; gap: var(--sw-s2); min-height: 46px; padding: 0 var(--sw-s5); border: 0; border-radius: var(--bf-radius-full); background: var(--bf-inverse); color: var(--bf-on-inverse); font: inherit; font-weight: 600; cursor: pointer; }
.sw-nt__play:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); }
.sw-nt__stage { grid-area: stage; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sw-gap); align-items: start; padding: var(--sw-s5); border-radius: var(--bf-radius-2xl); background: linear-gradient(160deg, color-mix(in srgb, var(--sw-frame) 92%, var(--bf-accent)), var(--sw-frame)); box-shadow: var(--sw-shadow); overflow: hidden; }
.sw-nt__sky { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; color: var(--sw-night-ink); }
.sw-nt__sky b { font-size: clamp(26px, 3vw, 34px); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.sw-nt__moon { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset -8px -3px 0 0 var(--sw-moon); transform: rotate(-20deg); transition: opacity 0.6s var(--bf-ease); }
.sw-nt.is-morning .sw-nt__moon { opacity: 0.2; }
.sw-nt__ph .sw-ph { width: 100%; padding: 8px; border-radius: 30px; }
.sw-nt__ph .sw-ph__scr { min-height: 360px; border-radius: 22px; }
.sw-nt__crm { display: grid; gap: var(--sw-s3); align-content: start; }
.sw-nt__cal { padding: var(--sw-s4); border-radius: var(--bf-radius-lg); background: var(--bf-card); border: 1px solid var(--bf-border); }
.sw-nt__ch { display: flex; align-items: center; gap: var(--sw-s2); margin: 0 0 var(--sw-s3); font-weight: 700; font-size: 14px; }
.sw-nt__row { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: var(--sw-s2); align-items: center; padding: 5px 0; border-top: 1px solid var(--bf-border); font-size: 13px; }
.sw-nt__row span { color: var(--bf-text-muted); font-variant-numeric: tabular-nums; }
.sw-nt__row i { font-style: normal; padding: 6px 9px; border-radius: 9px; }
.sw-nt__busy { background: var(--bf-fill); color: var(--bf-text-2); }
.sw-nt__free { border: 1px dashed var(--bf-border); color: var(--bf-text-muted); }
.sw-nt__new { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; background: var(--bf-accent-soft); color: var(--bf-accent-ink); font-weight: 600; transition: opacity 0.5s var(--bf-ease), transform 0.5s var(--bf-ease); }
.sw-nt__new em { font-style: normal; font-size: 11.5px; padding: 0 7px; border-radius: 99px; background: var(--bf-accent); color: var(--bf-on-accent); }
.sw-nt__tg { display: flex; gap: var(--sw-s3); align-items: center; padding: var(--sw-s3) var(--sw-s4); border-radius: var(--bf-radius-lg); background: var(--sw-glass); border: 1px solid var(--sw-glass-line); box-shadow: var(--sw-shadow); transition: opacity 0.5s var(--bf-ease), transform 0.5s var(--bf-ease); }
.sw-nt__tg b { display: block; font-size: 14px; } .sw-nt__tg small { font-size: 12.5px; color: var(--bf-text-muted); }
.sw-nt__typing .sw-cm__b { display: inline-flex; gap: 4px; padding: 12px 14px; }
.sw-nt__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--bf-text-muted); animation: sw-type 1s infinite ease-in-out; }
.sw-nt__typing i:nth-child(2) { animation-delay: 0.15s; } .sw-nt__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes sw-type { 0%, 80%, 100% { opacity: 0.3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.sw-nt .sw-ph__msgs .sw-cm, .sw-nt__new, .sw-nt__tg { transition: opacity 0.45s var(--bf-ease), transform 0.45s var(--bf-ease); }
.sw-nt:not(.is-armed) .sw-nt__typing { display: none; }
.sw-nt.is-armed [data-k]:not(.sw-nt__s):not(.is-on) { opacity: 0; transform: translateY(8px); }
.sw-nt.is-armed .sw-nt__typing:not(.is-on) { display: none; }
@media (max-width: 899px) {
  .sw-nt { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "steps" "ctl"; }
}
@media (max-width: 560px) {
  .sw-nt__stage { grid-template-columns: minmax(0, 1fr); padding: var(--sw-s4); }
  .sw-nt__ph .sw-ph__scr { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .sw-nt__typing i { animation: none; } .sw-nt [data-k], .sw-nt__b { transition: none; } }

/* ── режими «Підказка» / «Автономно» ── */
.sw-md { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.sw-md__win { display: flex; flex-direction: column; border-radius: 18px; background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--sw-shadow); overflow: hidden; }
.sw-md__tabs { display: inline-flex; align-self: center; gap: 4px; margin: var(--sw-s3) auto 0; padding: 4px; border-radius: var(--bf-radius-full); background: var(--bf-fill); }
.sw-md__tab { min-height: 40px; padding: 0 var(--sw-s5); border: 0; border-radius: var(--bf-radius-full); background: transparent; color: var(--bf-text-muted); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.sw-md__tab[aria-pressed="true"] { background: var(--bf-card); color: var(--bf-text); box-shadow: var(--bf-shadow-sm); }
.sw-md__tab:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); }
.sw-md__body { padding: var(--sw-s4); min-height: 300px; }
.sw-md__pane { display: flex; flex-direction: column; gap: var(--sw-s3); }
.sw-md__pane[hidden] { display: none; }
.sw-md__pane .sw-cm__b small { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; opacity: 0.75; }
.sw-md__draft { align-self: flex-start; max-width: 92%; padding: var(--sw-s3) var(--sw-s4); border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--bf-accent) 55%, transparent); background: color-mix(in srgb, var(--bf-accent) 6%, var(--bf-card)); font-size: 14.5px; }
.sw-md__draft p { margin: 0; }
.sw-md__dl { display: flex; align-items: center; gap: 6px; margin-bottom: 6px !important; font-size: 12px; font-weight: 700; color: var(--bf-accent-ink); }
.sw-md__btns { display: flex; align-items: center; gap: var(--sw-s3); margin-top: var(--sw-s3); }
.sw-md__send { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--sw-s4); border: 0; border-radius: var(--bf-radius-full); background: var(--bf-inverse); color: var(--bf-on-inverse); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.sw-md__send:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); }
.sw-md__edit { font-size: 13.5px; font-weight: 600; color: var(--bf-text-muted); }
.sw-md.is-armed .sw-md__sent { display: none; }
.sw-md.is-sent .sw-md__sent { display: flex; }
.sw-md.is-sent .sw-md__draft { display: none; }
.sw-md__side { display: flex; flex-direction: column; gap: var(--sw-s4); }
.sw-md__info h3 { margin: 0 0 var(--sw-s1); font-size: 20px; }
.sw-md__info p { margin: 0; color: var(--bf-text-2); }
.sw-md.is-armed .sw-md__info { display: none; }
.sw-md.is-armed[data-mode="hint"] .sw-md__info[data-sw-md-info="hint"], .sw-md.is-armed[data-mode="auto"] .sw-md__info[data-sw-md-info="auto"] { display: block; }
.sw-md__chips { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 899px) { .sw-md { grid-template-columns: minmax(0, 1fr); } }

/* ── перемикач ніш ── */
.sw-ns__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sw-s2); margin-bottom: var(--sw-head); }
.sw-ns__tab { display: inline-flex; align-items: center; gap: var(--sw-s2); min-height: 44px; padding: 0 var(--sw-s4); border-radius: var(--bf-radius-full); border: 1px solid var(--bf-border); background: var(--bf-card); color: var(--bf-text-2); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.sw-ns__tab[aria-pressed="true"] { border-color: var(--bf-accent); background: var(--bf-accent-soft); color: var(--bf-accent-ink); }
.sw-ns__tab:focus-visible { outline: none; box-shadow: var(--bf-focus-ring); }
.sw-ns__pane[hidden] { display: none; }
.sw-ns__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.sw-ns__side { display: flex; flex-direction: column; gap: var(--sw-s4); }
.sw-ns__go { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--sw-s2); font-weight: 600; color: var(--bf-accent-ink); text-decoration: none; min-height: 44px; }
.sw-ns__no { max-width: 640px; margin-inline: auto; padding: var(--sw-s6); border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm); text-align: center; display: grid; justify-items: center; gap: var(--sw-s3); }
.sw-ns__no h3 { margin: 0; } .sw-ns__no p { margin: 0; color: var(--bf-text-2); }
@media (max-width: 899px) { .sw-ns__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sw-ns__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .sw-ns__tab { flex: 0 0 auto; } }

/* ── сторінка ШІ-автоматизації: плитки з лічильниками, канали, фінальний заклик ── */
.sw-cds--cnt { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.sw-cd__num { display: flex; align-items: baseline; gap: var(--sw-s2); margin: 0; }
.sw-cd__num b { font-size: clamp(34px, 3.6vw, 44px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--bf-accent), var(--sw-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-cd__num b i { font-style: normal; }
.sw-cd__num span { font-size: 13.5px; font-weight: 600; color: var(--bf-text-muted); }
.sw-cds--cnt + .sw-chips, .sw-chips--row { margin-top: var(--sw-gap); }
.sw-cds--ch { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sw-cds--ch .sw-pill { align-self: flex-start; margin-top: auto; }
.sw-cd__ic--g { background: var(--bf-card); border: 1px solid var(--bf-border); font-size: 24px; }
.sw-cd--ch-none, .sw-cd--ch-soon { background: color-mix(in srgb, var(--bf-card) 70%, transparent); }
.sw-final__box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; padding: clamp(20px, 4vw, 40px); border-radius: var(--bf-radius-2xl); background: linear-gradient(135deg, color-mix(in srgb, var(--bf-accent) 12%, var(--bf-card)), color-mix(in srgb, var(--sw-teal) 10%, var(--bf-card))); border: 1px solid var(--bf-border); box-shadow: var(--sw-shadow); }
.sw-final__box img { width: clamp(110px, 14vw, 170px); height: auto; filter: drop-shadow(0 16px 26px var(--sw-glow)); }
.sw-final__box h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.sw-final__box p { margin: var(--sw-s3) 0 0; color: var(--bf-text-2); max-width: 56ch; }
.sw-final__box .pg-hero__cta { justify-content: flex-start; margin-top: var(--sw-s5); }
.sw-final .sw-lr { margin-top: var(--sw-s6); }
@media (max-width: 560px) { .sw-final__box { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } .sw-final__box .pg-hero__cta { justify-content: center; } }

/* приклади ШІ-постів на /sotsmerezhi/ (компонент site-ai.css, перемикач ніш з іконками) */
.ai-x--inline .ai-x-chip { display: inline-flex; align-items: center; gap: var(--sw-s2); }
.ai-x--inline .ai-x-chip .sw-ico { color: var(--bf-accent-ink); }
.ai-x--inline + .sw-chips { margin-top: var(--sw-gap); }

/* SITE-TOP-1 (ugly-gate CH): ряди карток із дуже різним змістом — картки за висотою змісту, без порожнечі в коротких */
:is(.bf2-home .niche-grid, .erp-flow, .bf2-builder, .intg-categories, .sw-modes, .platform-grid, .bf2-layers, .erp-mods, .card-grid:has(> .role-card)) { align-items: start !important; }
:root:has(link[rel="canonical"][href$="/integratsiya-crm-z-saytom/"]) .bf-sx-grid--3 { align-items: start; }

/* /ai-rishennya/: hero — 3D-картинка + картки агентів; живий приклад Бізика */
.sw-airs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 44px); align-items: center; margin-top: var(--sw-s6); text-align: left; }
.sw-airs__pic { border-radius: var(--bf-radius-2xl); overflow: hidden; box-shadow: var(--sw-shadow); }
.sw-bz { align-items: center; }
.sw-bz .sw-chips { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.sw-it .sw-lr--inline { justify-items: start; text-align: left; gap: var(--sw-s2); }   /* ряд посилань у плитці вступу — ліворуч, як текст сусідніх плиток */
.sw-it .sw-lr--inline .sw-lr__u { justify-content: flex-start; }
.sw-it .sw-lr--inline { min-width: 0; }
@media (max-width: 560px) {
  .sw-it .sw-lr--inline .sw-lr__u { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; padding-bottom: var(--sw-s1); }
  .sw-it .sw-lr--inline .sw-lr__u > * { flex: 0 0 auto; }
  .sw-it .sw-lr--inline .sw-lr__u::-webkit-scrollbar { display: none; }
}
.sw-bz > .sw-chips { grid-column: 1 / -1; margin-top: 0; }   /* SITE-TOP-1: чипи на всю ширину картки (не 75 % поруч із Бізиком) */
.sw-bz__t p { margin: 0; }
.sw-bz__t .pg-hero__cta { margin-top: var(--sw-s4); }
.sw-final__box.sw-bz img { width: clamp(90px, 10vw, 130px); }
@media (max-width: 899px) { .sw-airs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sw-airs .sw-cds { grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .sw-airs .sw-cds > * { scroll-snap-align: start; } }

/* шаблон ніші: вступ — сцена (лід + фото ніші + плитки з іконками замість суцільного тексту) */
.sw-intro { padding-block: var(--bf-site-section, 72px); }
.sw-intro__g { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.sw-intro__l h2 { margin: var(--sw-s2) 0 0; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.sw-intro__lead { margin: var(--sw-s3) 0 0; font-size: 16.5px; line-height: 1.6; color: var(--bf-text-2); }
.sw-intro__lead a, .sw-it a { color: var(--bf-accent-ink); font-weight: 600; text-decoration: none; }
.sw-intro__pic { margin-top: var(--sw-s5); border-radius: var(--bf-radius-2xl); overflow: hidden; box-shadow: var(--sw-shadow); }
.sw-intro__pic img { aspect-ratio: 16 / 10; object-fit: cover; }
.sw-intro__tiles { display: grid; gap: var(--sw-s3); margin: 0; padding: 0; list-style: none; }
.sw-it { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--sw-s4); align-items: start; padding: var(--sw-s4) var(--sw-s5); border-radius: var(--bf-radius-xl); background: var(--bf-card); border: 1px solid var(--bf-border); box-shadow: var(--bf-shadow-sm); }
.sw-it__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: 20px; color: var(--bf-accent-ink); background: linear-gradient(135deg, var(--bf-accent-soft), color-mix(in srgb, var(--sw-teal) 16%, var(--bf-card))); }
.sw-it p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--bf-text-2); }
.sw-it p strong { color: var(--bf-text); }
@media (max-width: 899px) { .sw-intro__g { grid-template-columns: minmax(0, 1fr); } .sw-intro__pic img { aspect-ratio: 21 / 9; } }
@media (max-width: 560px) {
  .sw-it { grid-template-columns: 36px minmax(0, 1fr); gap: var(--sw-s3); padding: var(--sw-s3) var(--sw-s4); }
  .sw-it__ic { width: 36px; height: 36px; font-size: 17px; }
  .sw-intro__tiles.sw-snap > * { height: 100%; }
  /* ряди посилань і вкладок — одним рядком зі свайпом */
  .sw-hrow, .sw-others .sw-lr__u { flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto; scrollbar-width: none; padding-bottom: var(--sw-s1); }
  .sw-hrow > *, .sw-others .sw-lr__u > * { flex: 0 0 auto; }
  .sw-others .sw-lr { justify-items: stretch; min-width: 0; }   /* SITE-TOP-1: сітка з justify-items:center роздувала стрічку до ширини вмісту → горизонтальна прокрутка сторінки */
  .sw-others .sw-lr__u, .sw-hrow { max-width: 100%; min-width: 0; }
  .sw-hrow::-webkit-scrollbar, .sw-others .sw-lr__u::-webkit-scrollbar { display: none; }
  .sw-aim { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-aid .sw-ph__scr { min-height: 360px; }
  .sw-dayhead .sw-heroart img { aspect-ratio: 21 / 9; object-fit: cover; }
  .sw-intro__pic { display: none; }   /* декоративне фото вступу — лише на ПК (на телефоні той самий кадр уже є в «Соцмережах для ніші») */
  .sw-sec-ba .sw-ba { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sw-s2); }
  .sw-sec-ba .sw-ba__arrow { display: none; }
  .sw-sec-ba .sw-ba__col { padding: var(--sw-s3); }
  .sw-sec-ba .sw-ba ul { font-size: 13px; gap: var(--sw-s2); }
  .sw-sec-ba .sw-ba li .sw-ico { display: none; }
  /* сторінки ніш на новому шаблоні: щільніший ритм секцій на телефоні */
  main:has(> #den-u-crm) > section:not(.crm-hero) { padding-block: var(--sw-s5) !important; }
  main:has(> #den-u-crm) :is(.crm-section-head, .bf-sx-head, .bf2-head) { margin-bottom: var(--sw-s5) !important; }
  .sw-aid .sw-ph__scr { min-height: 280px; }
  .sw-aid { width: min(100%, 300px); }
  .sw-aid .sw-cm__b { font-size: 13.5px; padding: var(--sw-s2) var(--sw-s3); }
  .sw-aid .sw-ph__msgs { gap: var(--sw-s2); padding: var(--sw-s3) var(--sw-s2); }
  .sw-aid { padding-bottom: 36px; }
  .sw-nsoc__alt .bf2-actions { flex-wrap: nowrap; }
  .sw-nsoc__alt .bf2-btn { padding-inline: var(--sw-s3); font-size: 13.5px; }
  main:has(> #den-u-crm) :is(.pres-flow__stage, .pres-gal .pres-stage) { max-width: 80%; margin-inline: auto; }
  .sw-feat__l { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sw-s2) var(--sw-s3); }
  .sw-feat__l li { grid-template-columns: 14px minmax(0, 1fr); gap: var(--sw-s1); font-size: 13px; }
  .sw-fx__d > summary { min-height: 52px; padding: var(--sw-s2) var(--sw-s3); }
  .sw-fx__ask { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto; padding: var(--sw-s3); }
  .sw-fx__ask img { grid-row: auto; width: 40px; }
  .sw-fx__ask .sw-fx__btn { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }   /* SITE-TOP-1: кнопка під текстом на всю ширину — текст не стискається в стовпчик */
  .sw-fx__btn { min-height: 40px; padding: 0 var(--sw-s3); font-size: 13.5px; }
  .erp-niche .erp-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .erp-niche .erp-links > * { flex: 0 0 auto; }
  .sw-aiteaser__req { font-size: 12.5px; }
  /* «Один день»: форма запису компактніше (три вибори — одним рядком) */
  .sw-day__book { gap: var(--sw-s3); padding: var(--sw-s4); }
  .sw-day__pick { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sw-s2) !important; }
  .sw-day__pick li { flex-direction: column; align-items: flex-start !important; gap: 2px; padding: var(--sw-s2) !important; min-height: 0 !important; }
  .sw-day__pick li b { font-size: 14px; }
}

/* шаблон ніші: картки рішень — мурована сітка по висоті змісту (без порожніх карток поруч із довгою) */
@media (min-width: 561px) {
  .card-grid--3.sw-snap { display: block !important; column-count: 2; column-gap: var(--sw-gap); }
  .card-grid--3.sw-snap > * { break-inside: avoid; margin-bottom: var(--sw-gap); display: inline-block; width: 100%; }
}
@media (min-width: 1000px) { .card-grid--3.sw-snap { column-count: 3; } }

/* шаблон ніші: функції компактними чипами під картками рішень */
.sw-feat { margin-top: var(--sw-s6); }
.sw-feat__h { margin: 0 0 var(--sw-s3); font-weight: 700; font-size: 17px; text-align: center; }
.sw-feat__l { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--sw-s2) var(--sw-s5); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .sw-feat__l { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sw-feat__l--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sw-feat .sw-more .sw-feat__l { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); } }
.sw-sec-ba .sw-ba { gap: var(--sw-s3); }
.sw-feat__l li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--sw-s2); align-items: start; font-size: 14.5px; line-height: 1.45; color: var(--bf-text-2); }
.sw-feat__l .sw-ico { margin-top: 2px; color: var(--bf-st-success-fg); }
.sw-feat .sw-more { margin-top: var(--sw-s3); }
.sw-feat__note { margin: var(--sw-s3) 0 0; font-size: 13.5px; color: var(--bf-text-muted); text-align: center; }
.sw-sec-ba .sw-ba { max-width: 980px; margin-inline: auto; }
@media (max-width: 560px) {
  .sw-ba { grid-template-columns: minmax(0, 1fr); }
  .sw-ba__arrow { justify-self: center; transform: rotate(90deg); }
  /* довгі стовпці карток → стрічка зі свайпом (видно край наступної картки) */
  .sw-snap { display: grid !important; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none !important; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; gap: var(--sw-s3) !important; padding-bottom: var(--sw-s3); scrollbar-width: none; }
  .sw-snap::-webkit-scrollbar { display: none; }
  .sw-snap > * { scroll-snap-align: start; min-width: 0; }
}

/* єдині відступи нових компонентів */
.sw-fx + .sw-lr { margin-top: var(--sw-s7); }
@media (max-width: 899px) { .sw-vs__or { margin: calc(var(--sw-s3) * -1) 0; } }
.sw-cds + .bf-sx-chips { margin-top: var(--sw-gap); }
.sw-cds + .sw-lr, .sw-vs + .sw-pcs, .sw-cds + .sw-cap, .sw-pcs + .sw-cap { margin-top: var(--sw-gap); }
.sw-sec .sw-cds + .sw-cds { margin-top: var(--sw-gap); }
/* SITE-TOP-1: швидкі переходи в героях (юридичні сторінки, «Презентація») — з відступом від ліду; на телефоні сітка 2×2 */
.sw-chips--legal, .sw-chips--hero { max-width: 1040px; margin: var(--sw-s7) auto var(--sw-s5); text-align: left; }   /* відступ від ліду — 48 px (прохання власника) */
@media (min-width: 900px) { .sw-chips--legal, .sw-chips--hero { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .sw-chips--legal, .sw-chips--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sw-s2); }
  .sw-chips--legal .sw-chip, .sw-chips--hero .sw-chip { padding: var(--sw-s2) var(--sw-s3); }
  .sw-chips--legal .sw-chip__ic, .sw-chips--hero .sw-chip__ic { width: 30px; height: 30px; }
  .sw-chips--legal .sw-chip__t b, .sw-chips--hero .sw-chip__t b { font-size: 13.5px; }
}
@media (max-width: 359px) {
  .sw-oc__nets { grid-template-columns: minmax(0, 1fr); }   /* SITE-TOP-1: 320 px — плитки мереж в одну колонку, без горизонтальної прокрутки */
}
