/* єТепло — публічний сайт сервісу та аналітика */

:root {
  --bg: #F2EEE5;
  --paper: #FFFDF8;
  --white: #FFFFFF;
  --ink: #1F1C17;
  --ink-hover: #3A352C;
  --text-2: #5E574C;
  --muted: #6B6458;
  --faint: #8A8274;
  --line: #D9D2C3;
  --line-soft: #E4DDCF;
  --divider: #ECE6DA;
  --track: #E6DFD1;
  --none: #EFEAE0;
  --none-fg: #A39B8C;
  --disabled: #DDD6C8;
  --warn-bg: #FBF1DA;
  --on-ink: #F4EFE6;
  --on-ink-2: #BDB4A4;

  /* статуси опалення */
  --on: #C93A25;
  --weak: #F2B53A;
  --off: #2F6DB5;

  --font: 'Geologica', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, input { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ink); }
a:hover { color: var(--on); }

.s-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Шапка ---------- */
.s-top { position: sticky; top: 0; z-index: 30; background: rgba(242, 238, 229, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.s-top__in { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.s-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.s-brand:hover { color: var(--ink); }
.s-brand:hover .s-brand__name { color: var(--on); }
.s-brand:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.s-mark { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.s-mark > span { width: 6px; border-radius: 3px; }
.s-mark span:nth-child(1) { height: 22px; background: var(--on); }
.s-mark span:nth-child(2) { height: 15px; background: var(--weak); }
.s-mark span:nth-child(3) { height: 9px; background: var(--off); }
.s-brand__name { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.s-nav { display: flex; align-items: center; gap: 4px; }
.s-nav__link { padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--text-2); }
.s-nav__link:hover { color: var(--ink); background: var(--track); }
.s-nav__link.is-active { color: var(--ink); background: var(--track); }
@media (max-width: 980px) {
  .s-top__in { height: auto; padding-top: 10px; padding-bottom: 8px; flex-wrap: wrap; row-gap: 6px; }
  .s-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 0 8px; }
  .s-nav::-webkit-scrollbar { display: none; }
  .s-nav__link { white-space: nowrap; padding: 8px 10px; }
  .s-nav .s-btn { margin-left: auto; }
}

/* ---------- Кнопки ---------- */
.s-btn { height: 52px; padding: 0 22px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.s-btn:hover { border-color: var(--ink); color: var(--ink); }
.s-btn--primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.s-btn--primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); color: var(--paper); }
.s-btn--sm { height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.s-btn:disabled { background: var(--disabled); border-color: var(--disabled); color: var(--faint); cursor: not-allowed; }

/* ---------- Перший екран ---------- */
.s-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px 56px; align-items: center; padding: 72px 0 96px; }
.s-hero__text { display: flex; flex-direction: column; gap: 22px; max-width: 820px; }
.s-hero__visual { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #F5E6D3; }
.s-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.s-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.s-h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.s-lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 34em; text-wrap: pretty; }
.s-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.s-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.s-fact { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }

.s-demo { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 60px rgba(31, 28, 23, .08); }
.s-demo__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.s-demo__title { font-size: 18px; font-weight: 700; }
.s-demo__meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.s-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--none); }
.s-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.s-legend__item { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.s-demo__facade { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-ent { display: flex; flex-direction: column; gap: 6px; }
.s-ent__label { font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }
.s-ent__rows { display: flex; flex-direction: column; gap: 2px; }
.s-hrow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
.s-hrow.is-zone { margin-top: 4px; padding-top: 4px; border-top: 1.5px dashed var(--line); }
.s-hcell { height: 11px; border-radius: 2px; }

/* Статуси */
.st--on { background: var(--on); }
.st--part, .st--weak { background: var(--weak); }
.st--off { background: var(--off); }
.st--none { background: var(--none); }
.st--empty { background: transparent; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.swatch.st--none { border: 1px solid var(--line); }
.pill { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill.st--on, .pill.st--off { color: var(--white); }

/* ---------- Секції ---------- */
.s-sec { padding: 96px 0; }
.s-sec--line { border-top: 1px solid var(--line-soft); }
.s-sec--ink { background: var(--ink); color: var(--on-ink); }
.s-sec__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.s-h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.s-sec--ink .s-eyebrow, .s-sec--ink .s-lead { color: var(--on-ink-2); }

.s-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.s-stepcard { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 24px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; }
.s-stepcard__num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 17px; font-weight: 700; }
.s-h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.s-p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

.s-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.s-feat { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 24px; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 20px; }
.s-feat__text { display: flex; flex-direction: column; gap: 10px; }
.s-frag { margin-top: auto; padding: 16px; border-radius: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.s-frag__name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.s-seg3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--track); }
.s-seg3 > span { height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; font-weight: 700; }
.s-seg3 .is-weak { background: var(--weak); }
.s-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.s-quick > span { padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 13px; font-weight: 700; }
.s-mbar { display: grid; grid-template-columns: 70px minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.s-mbar__val { color: var(--muted); text-align: right; }
.s-mbar.is-mine { margin: 0 -8px; padding: 6px 8px; border-radius: 10px; background: var(--warn-bg); }
.s-apt { display: flex; align-items: center; gap: 12px; }
.s-apt__num { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 17px; font-weight: 700; flex: none; }
.s-apt__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.s-apt__main b { font-size: 15px; }
.s-apt__main small { font-size: 13px; color: var(--muted); font-weight: 600; }
.s-table { display: grid; grid-template-columns: 1.1fr .7fr .8fr 1.3fr; font-size: 12px; font-weight: 600; border-radius: 10px; overflow: hidden; background: var(--paper); border: 1px solid var(--line-soft); }
.s-table > span { padding: 8px 10px; border-top: 1px solid var(--divider); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-table .th { border-top: none; color: var(--muted); font-weight: 700; background: var(--track); }

/* Навіщо */
.s-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.s-whycard { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 24px; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.s-whycard__who { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--on); }
.s-whycard .s-p { flex: 1; }
.s-whylevels { display: flex; flex-wrap: wrap; gap: 6px; }
.s-whylevels > span { padding: 7px 12px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 700; }
.s-chatflow { display: grid; grid-template-columns: minmax(0, 1fr) auto 88px; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: var(--bg); }
.s-chatflow__msgs { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.s-chatflow__msgs > span { align-self: flex-start; max-width: 100%; padding: 5px 9px; border-radius: 10px 10px 10px 3px; background: var(--paper); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-chatflow__arrow { font-size: 20px; font-weight: 700; color: var(--muted); }
.s-chatflow__table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.s-chatflow__table > span { height: 22px; border-radius: 4px; }

/* Доступ */
.s-access { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px 56px; align-items: center; }
.s-access__list { display: flex; flex-direction: column; }
.s-access__item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid rgba(244, 239, 230, .14); font-size: 17px; line-height: 1.5; color: var(--on-ink); }
.s-access__item:first-child { border-top: none; }
.s-access__mark { width: 28px; height: 28px; border-radius: 50%; background: rgba(244, 239, 230, .1); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.s-pinbox { background: #2A2620; border: 1px solid rgba(244, 239, 230, .12); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.s-pinbox__title { font-size: 19px; font-weight: 700; }
.s-pinbox__addr { font-size: 14px; color: var(--on-ink-2); }
.s-pins--7 { grid-template-columns: repeat(7, minmax(0, 44px)); gap: 6px; }
.s-pins--7 > span { height: 56px; border-radius: 12px; }
.s-pinstack { display: flex; flex-direction: column; gap: 12px; }
.s-pinbox__head { display: flex; flex-direction: column; gap: 4px; }
.s-pinbox__step { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--weak); }
.s-access__item b { color: var(--white); }
.s-pins { display: grid; grid-template-columns: repeat(4, 56px); gap: 10px; }
.s-pins > span { height: 64px; border-radius: 14px; background: rgba(244, 239, 230, .08); border: 1.5px solid rgba(244, 239, 230, .2); display: grid; place-items: center; }
.s-pins > span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--on-ink); }
.s-pins > span.is-empty { border-color: var(--on-ink); }
.s-pins > span.is-empty:not(.is-next) { border-color: rgba(244, 239, 230, .2); }
.s-pins > span.is-empty::after { display: none; }

/* ---------- Створення будинку ---------- */
.s-create { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 920px) { .s-create { grid-template-columns: minmax(0, 1fr); } }
.s-form { display: flex; flex-direction: column; gap: 14px; }
.s-fcard { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 24px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.s-fcard__head { display: flex; align-items: center; gap: 12px; }
.s-num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.s-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.s-fields--addr { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, .7fr); }
@media (max-width: 560px) { .s-fields--addr { grid-template-columns: minmax(0, 1fr); } }
.s-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.s-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.s-input { width: 100%; height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); padding: 0 14px; font-size: 16px; font-weight: 600; outline: none; }
.s-input:focus { border-color: var(--ink); }
.s-input--pin { font-size: 22px; letter-spacing: .3em; }
.s-hint { font-size: 13px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.s-hint.is-error { color: var(--on); }
.s-hint.is-ok { color: var(--ink); }

.s-params { display: flex; flex-direction: column; }
.s-param { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 0; }
.s-param + .s-param { border-top: 1px solid var(--divider); }
.s-param__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.s-param__label { font-size: 16px; font-weight: 700; }
.s-stepper { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--track); }
.s-stepper__btn { width: 44px; height: 44px; border: none; border-radius: 10px; background: var(--paper); font-size: 22px; font-weight: 600; line-height: 1; }
.s-stepper__btn:disabled { opacity: .4; cursor: not-allowed; }
.s-stepper__val { width: 56px; height: 44px; border: none; background: transparent; text-align: center; font-size: 18px; font-weight: 700; outline: none; -moz-appearance: textfield; }
.s-stepper__val::-webkit-outer-spin-button, .s-stepper__val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.s-segctl { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--track); }
.s-segctl__btn { height: 44px; padding: 0 16px; border: none; border-radius: 10px; background: transparent; font-size: 15px; font-weight: 700; }
.s-segctl__btn.is-active { background: var(--ink); color: var(--paper); }
.s-check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.s-check input { width: 20px; height: 20px; accent-color: var(--ink); }

.s-submit { display: flex; flex-direction: column; gap: 10px; }
.s-submit .s-btn { height: 60px; font-size: 17px; border-radius: 16px; }

.s-preview { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.s-preview__title { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.s-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.s-stat { padding: 12px; border-radius: 14px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.s-stat > b { font-size: 26px; line-height: 1.1; font-weight: 700; }
.s-stat > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.s-pv { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; border-radius: 16px; background: var(--bg); }
.s-pv__ent { flex: 1 1 64px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.s-pv__rows { display: flex; flex-direction: column; gap: 2px; }
.s-pv__row { display: grid; gap: 2px; }
.s-pv__row.is-zone { margin-top: 3px; padding-top: 3px; border-top: 1.5px dashed var(--line); }
.s-pv__cell { height: 6px; border-radius: 1.5px; background: var(--line); }
.s-pv__cell.is-empty { background: transparent; }
.s-ranges { display: flex; flex-direction: column; }
.s-range { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; font-weight: 600; }
.s-range + .s-range { border-top: 1px solid var(--divider); }
.s-range > span:last-child { color: var(--muted); }
.s-link { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--line); }
.s-link b { font-size: 15px; word-break: break-all; }

.s-done { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px 40px; }
.s-done__main { display: flex; flex-direction: column; gap: 16px; }
.s-done__title { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
.s-kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.s-kv__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.s-kv__text b { font-size: 16px; word-break: break-all; }
.s-share { display: flex; flex-direction: column; gap: 12px; }
.s-share__msg { margin: 0; padding: 18px; border-radius: 18px; background: var(--bg); font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
.s-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Звідки це ---------- */
.s-origin { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 56px; align-items: center; }
.s-origin__text { display: flex; flex-direction: column; gap: 24px; }
.s-quote { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; text-wrap: pretty; }

.s-foot { border-top: 1px solid var(--line-soft); padding: 28px 0 40px; }
.s-foot__in { display: flex; flex-direction: column; gap: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Пошук будинку ---------- */
.s-search { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 22px; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 12px 32px rgba(31, 28, 23, .06); }
.s-search__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 6px; }
@media (max-width: 520px) { .s-search__row { grid-template-columns: minmax(0, 1fr); } }
.s-select { width: 100%; height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); padding: 0 12px; font-size: 16px; font-weight: 600; outline: none; }
.s-select:focus { border-color: var(--ink); }
.s-results { display: flex; flex-direction: column; padding: 2px 6px 4px; }
.s-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 12px 6px; }
.s-result + .s-result { border-top: 1px solid var(--divider); }
.s-result__main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.s-result__addr { font-size: 16px; font-weight: 700; }
.s-result__meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.s-result__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.s-empty { padding: 14px 8px; font-size: 14px; color: var(--muted); }

/* ---------- Аналітика: тизер на головній ---------- */
.s-scopes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.s-scope { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.s-scope:hover { border-color: var(--ink); color: var(--ink); }
.s-scope__level { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.s-scope__name { font-size: 20px; font-weight: 700; line-height: 1.25; }
.s-scope__big { display: flex; align-items: baseline; gap: 10px; }
.s-scope__big b { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--on); }
.s-scope__big > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.s-scope__meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.s-more { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.s-demo-note { font-size: 13px; color: var(--muted); }

/* ---------- Сторінка аналітики ---------- */
.a-page { padding-top: 40px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 18px; }
.a-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.a-crumb { padding: 6px 10px; border-radius: 10px; border: none; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; }
.a-crumb:hover { background: var(--track); color: var(--ink); }
.a-crumb.is-current { color: var(--ink); cursor: default; background: transparent; }
.a-crumb-sep { color: var(--faint); }
.a-hero { position: relative; min-height: 300px; display: flex; align-items: center; border-radius: 28px; overflow: hidden; background: #FBE7D0; }
.a-hero__img { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 62% 62%; }
.a-hero__text { position: relative; z-index: 1; max-width: 46%; padding: 36px 40px; }
.a-hero .a-sub { color: var(--text-2); }
@media (max-width: 760px) {
  .a-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .a-hero__img { position: relative; order: 2; width: 100%; height: 220px; }
  .a-hero__text { max-width: none; padding: 24px 22px 8px; }
}
.a-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.a-head__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.a-title { margin: 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.a-sub { font-size: 16px; color: var(--text-2); }
.a-pickers { display: flex; flex-wrap: wrap; gap: 8px; }
.a-pickers .s-select { width: auto; min-width: 180px; height: 46px; }
.a-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.a-chip { height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 700; }
.a-chip:hover { border-color: var(--ink); }
.a-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.a-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.a-kpi { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.a-kpi__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.a-kpi__val { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.a-kpi__val.is-on { color: var(--on); }
.a-kpi__val.is-off { color: var(--off); }
.a-kpi__sub { font-size: 13px; font-weight: 600; color: var(--muted); }

.a-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.a-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.a-card__title { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 600; }
.a-card__meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.a-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; align-items: start; }
.a-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--none); }
.a-bar--sm { height: 12px; border-radius: 4px; }
.a-seg { display: block; height: 100%; }

.a-trend { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; }
.a-tday { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; }
.a-tcol { height: 180px; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column-reverse; background: var(--none); }
.a-tday__pct { font-size: 14px; font-weight: 700; text-align: center; }
.a-tday__label { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.3; }
.a-tday.is-today .a-tday__label { color: var(--ink); font-weight: 700; }

.a-rows { display: flex; flex-direction: column; }
.a-rowhead, .a-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr) 64px 64px; gap: 14px; align-items: center; }
.a-rowhead { padding: 0 8px 10px; font-size: 12px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.a-row { padding: 12px 8px; border: none; border-top: 1px solid var(--divider); background: transparent; text-align: left; border-radius: 0; width: 100%; font-size: 15px; }
.a-row:hover { background: var(--bg); }
.a-row__name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.a-row__name b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-row__name small { font-size: 12px; font-weight: 600; color: var(--muted); }
.a-row__num { font-size: 15px; font-weight: 700; text-align: right; }
.a-row__num.is-off { color: var(--off); }
.a-num-h { text-align: right; }
@media (max-width: 640px) {
  .a-rowhead, .a-row { grid-template-columns: minmax(0, 1fr) 56px 56px; }
  .a-rowhead .a-bar-h, .a-row .a-bar { display: none; }
}

.a-heat { display: flex; flex-wrap: wrap; gap: 16px; }
.a-heat__ent { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.a-heat__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.a-heat__grid { display: grid; gap: 4px; }
.a-heat__axis { font-size: 11px; font-weight: 700; color: var(--faint); text-align: center; }
.a-heat__zone { font-size: 11px; font-weight: 700; color: var(--faint); display: flex; align-items: center; }
.a-hc { height: 44px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 12px; font-weight: 700; min-width: 0; }
.a-hc small { font-size: 10px; font-weight: 600; opacity: .8; }
.a-hc.st--on, .a-hc.st--off { color: var(--white); }
.a-hc.st--none { color: var(--none-fg); }
.a-problems { display: flex; flex-direction: column; }
.a-problem { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15px; font-weight: 600; }
.a-problem + .a-problem { border-top: 1px solid var(--divider); }
.a-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.a-map { display: block; width: 100%; height: clamp(340px, 50vw, 540px); border: 0; border-radius: 16px; background: var(--paper); }

/* ---------- Загальне для сторінок ---------- */
.s-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-bottom: 56px; }
.s-product { background: var(--ink); color: var(--on-ink); border-radius: 24px; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.s-product .s-p { color: var(--on-ink-2); flex: 1; }
.s-product__num { font-size: 14px; font-weight: 700; color: var(--weak); }
.s-product__link { align-self: flex-start; padding-top: 6px; font-size: 15px; font-weight: 700; color: var(--on-ink); text-decoration: none; border-bottom: 1.5px solid rgba(244, 239, 230, .35); }
.s-product__link:hover { color: var(--weak); border-color: var(--weak); }
.s-features__title { margin-bottom: 16px; }
.s-sec__head--tight { margin-bottom: 28px; }
.dot--ink { background: var(--ink); }
.s-frag__pill { align-self: flex-start; }
.s-hero__img--bath { object-position: 62% 50%; }
.s-gate { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(31, 28, 23, .45); }
.s-gate__card { width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(31, 28, 23, .3); }
.a-note--inline { align-self: center; }
.s-next { border-top: 1px solid var(--line-soft); }
.s-sec--ink + .s-next { border-top: none; }
.s-next__in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-top: 40px; padding-bottom: 40px; }
.s-next__link { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.s-next__link:hover { color: var(--on); }
.s-foot__nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.s-foot__nav a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.s-foot__nav a:hover { color: var(--ink); }

/* ---------- Мапа (map.html, вбудована в аналітику) ---------- */
.mp-body { height: 100%; margin: 0; background: var(--paper); overflow: hidden; }
.mp-map { position: absolute; inset: 0; }
.mp-map svg { display: block; width: 100%; height: 100%; }
.mp-tip { position: absolute; z-index: 5; max-width: 240px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--paper); font: 600 13px/1.4 var(--font); pointer-events: none; opacity: 0; transition: opacity .12s; }
.mp-tip b { display: block; font-size: 14px; }
.mp-legend { position: absolute; left: 12px; bottom: 12px; z-index: 4; max-width: calc(100% - 24px); display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(255, 253, 248, .92); font: 600 12px var(--font); color: var(--text-2); }
.mp-legend span { display: flex; align-items: center; gap: 6px; }
.mp-legend i { display: block; width: 10px; height: 10px; border-radius: 50%; }
.mp-back { position: absolute; right: 12px; top: 12px; z-index: 4; display: none; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font: 700 14px var(--font); color: var(--ink); cursor: pointer; }
.mp-back:hover { border-color: var(--ink); }
.mp-attr { position: absolute; right: 12px; top: 12px; z-index: 3; font: 500 10px var(--font); color: var(--faint); }

/* ---------- Нижнє меню ---------- */
.s-foot__top, .s-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.s-foot__bottom { padding-top: 16px; border-top: 1px solid var(--line-soft); }
.s-foot__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.s-foot__legal a { color: var(--ink); font-weight: 600; text-decoration: none; }
.s-foot__legal a:hover { color: var(--on); }

/* ---------- Cookie ---------- */
.s-cookie { position: fixed; left: 50%; bottom: 16px; z-index: 70; transform: translateX(-50%); width: min(760px, calc(100% - 24px)); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--line-soft); background: var(--paper); box-shadow: 0 14px 44px rgba(31, 28, 23, .18); }
.s-cookie__text { flex: 1 1 320px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.s-cookie__text b { color: var(--ink); }
.s-cookie__acts { display: flex; gap: 8px; }
.s-cookie-set { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.s-cookie-set__status { font-size: 15px; font-weight: 600; }

/* ---------- Юридична інформація, про сайт, контакти ---------- */
.s-legal { max-width: 820px; display: flex; flex-direction: column; gap: 40px; }
.s-legal__draft { align-self: flex-start; padding: 8px 12px; border-radius: 10px; background: var(--warn-bg); font-size: 14px; font-weight: 600; }
.s-legal__toc { display: flex; flex-wrap: wrap; gap: 8px; }
.s-legal__toc a { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 700; text-decoration: none; }
.s-legal__toc a:hover { border-color: var(--ink); color: var(--ink); }
.s-legal__sec { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 96px; }
.s-legal__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.s-ltable { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); border-radius: 14px; overflow: hidden; border: 1px solid var(--line-soft); background: var(--paper); font-size: 14px; }
.s-ltable > span { padding: 10px 12px; border-top: 1px solid var(--divider); line-height: 1.4; }
.s-ltable > .th { border-top: none; background: var(--track); font-weight: 700; color: var(--muted); }
.s-ltable code { font-size: 13px; word-break: break-all; }
@media (max-width: 600px) { .s-ltable { grid-template-columns: minmax(0, 1fr); } .s-ltable > .th { display: none; } .s-ltable > span:nth-child(3n + 4) { font-weight: 700; } }
.s-about { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.s-about__item { padding: 24px; border-radius: 24px; border: 1px solid var(--line-soft); background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.s-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.s-contact { padding: 24px; border-radius: 24px; border: 1px solid var(--line-soft); background: var(--paper); display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.s-contact:hover { border-color: var(--ink); color: var(--ink); }
.s-contact > b { font-size: 19px; word-break: break-all; }
.s-contact__who { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--on); }
.s-contact--ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.s-contact--ink:hover { color: var(--on-ink); border-color: var(--on); }
.s-contact--ink .s-p { color: var(--on-ink-2); }

/* Стояки по парадних (Додати будинок) */
.s-param--stack { flex-direction: column; align-items: stretch; }
.s-param--stack > .s-btn { align-self: flex-start; }
.s-risers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 6px 18px; }
.s-risers__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s-risers__label { font-size: 15px; font-weight: 600; }

/* Модель будинку (Додати будинок) */
.s-model__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.s-model__tabs::-webkit-scrollbar { display: none; }
.s-model__tab { position: relative; flex: none; min-width: 120px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.s-model__tab b { font-size: 14px; }
.s-model__tab small { font-size: 12px; font-weight: 600; color: var(--muted); }
.s-model__tab:hover { border-color: var(--ink); }
.s-model__tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.s-model__tab.is-active small { color: var(--on-ink-2); }
.s-model__tab.is-custom::after { content: ""; position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--weak); }
.s-create__wide { grid-column: 1 / -1; }
.s-form.s-create__wide .s-submit { max-width: 560px; }
.s-model { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 720px) { .s-model { grid-template-columns: minmax(0, 1fr); } }
.s-model__ctrl { display: flex; flex-direction: column; gap: 12px; }
.s-model__param { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.s-model__label { font-size: 15px; font-weight: 700; }
.s-model__floor { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--warn-bg); }
.s-model__sum { font-size: 13px; font-weight: 600; color: var(--muted); }
.s-model__facade { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 16px; background: var(--bg); min-width: 0; }
.s-model__risers { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; align-items: center; }
.s-model__pills { display: flex; flex-wrap: wrap; gap: 3px; }
.s-model__pill { padding: 3px 6px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 10px; font-weight: 700; }
.s-model__rows { display: flex; flex-direction: column; gap: 2px; max-height: 560px; overflow-y: auto; }
.s-model__row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; align-items: center; padding: 2px; border: 1.5px solid transparent; border-radius: 8px; background: transparent; text-align: left; }
.s-model__row:hover { background: var(--track); }
.s-model__row.is-sel { border-color: var(--ink); background: var(--paper); }
.s-model__row.is-zone { margin-top: 4px; border-top: 1.5px dashed var(--line); border-top-left-radius: 0; border-top-right-radius: 0; padding-top: 5px; }
.s-model__flnum { font-size: 11px; font-weight: 700; color: var(--faint); text-align: right; }
.s-model__apts { display: flex; gap: 2px; min-width: 0; }
.s-model__apt { flex: 1 1 0; min-width: 0; height: 22px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line-soft); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--text-2); overflow: hidden; }
.s-model__row.is-over .s-model__apt { background: var(--weak); border-color: var(--weak); color: var(--ink); }
.s-model__none { font-size: 11px; font-weight: 600; color: var(--faint); padding: 3px 0; }

/* Покроковий майстер (Додати будинок) */
.s-wiz { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
@media (max-width: 760px) { .s-wiz { display: flex; overflow-x: auto; scrollbar-width: none; } .s-wiz::-webkit-scrollbar { display: none; } .s-wiz__step { flex: none; } }
.s-wiz__step { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); text-align: left; min-width: 0; }
.s-wiz__step:hover:not(:disabled) { border-color: var(--ink); }
.s-wiz__step:disabled { opacity: .5; cursor: not-allowed; }
.s-wiz__num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--track); font-size: 13px; font-weight: 700; }
.s-wiz__label { font-size: 14px; font-weight: 700; line-height: 1.2; }
.s-wiz__step.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.s-wiz__step.is-active .s-wiz__num { background: var(--paper); color: var(--ink); }
.s-wiz__step.is-done .s-wiz__num { background: var(--on); color: var(--white); }
.s-wiz__nav { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.s-wiz__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.s-wiz__btns .s-btn { height: 56px; border-radius: 16px; }
.s-wiz__btns .s-btn--primary { flex: 1 1 260px; font-size: 17px; }
.s-create--single { grid-template-columns: minmax(0, 1fr); }
.s-sum { display: flex; flex-direction: column; }
.s-sum__row { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 2fr) auto; gap: 12px; align-items: baseline; padding: 12px 0; }
.s-sum__row + .s-sum__row { border-top: 1px solid var(--divider); }
.s-sum__k { font-size: 14px; font-weight: 600; color: var(--muted); }
.s-sum__v { font-size: 15px; font-weight: 700; line-height: 1.45; }
.s-sum__edit { border: none; background: transparent; padding: 4px 0; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.s-sum__edit:hover { color: var(--on); }
@media (max-width: 520px) { .s-sum__row { grid-template-columns: minmax(0, 1fr) auto; } .s-sum__v { grid-column: 1 / -1; grid-row: 2; } }
.s-osbb-hint { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }

/* Підбір міста й вулиці */
.s-ac { position: relative; }
.s-ac__list { position: absolute; left: 0; right: 0; top: 82px; z-index: 40; display: flex; flex-direction: column; max-height: 320px; overflow-y: auto; padding: 6px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--paper); box-shadow: 0 14px 36px rgba(31, 28, 23, .16); }
.s-ac__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 12px; border: none; border-radius: 10px; background: transparent; text-align: left; }
.s-ac__opt:hover, .s-ac__opt.is-active { background: var(--bg); }
.s-ac__name { font-size: 15px; font-weight: 700; }
.s-ac__meta { font-size: 12px; font-weight: 600; color: var(--muted); }
.s-ac__empty { padding: 10px 12px; font-size: 14px; color: var(--muted); }
.s-fields--addr { align-items: start; }

/* Навіщо: заголовок + зображення */
.s-why-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; margin-bottom: 48px; }
.s-why-head .s-sec__head { margin-bottom: 0; }
.s-why-head__img .s-hero__img { object-position: 64% 55%; }
@media (max-width: 860px) { .s-why-head { grid-template-columns: minmax(0, 1fr); } }

/* Аналітика: переглянути за адресою */
.a-lookup__fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .a-lookup__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .a-lookup__fields { grid-template-columns: minmax(0, 1fr); } }
.a-lookup .s-select { width: 100%; }
.a-lookup .s-select:disabled { background: var(--bg); color: var(--faint); cursor: not-allowed; }
.a-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px 32px; padding: 20px; border-radius: 18px; background: var(--bg); }
@media (max-width: 760px) { .a-info { grid-template-columns: minmax(0, 1fr); } }
.a-info__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.a-info__title { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.a-info__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.a-info__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; align-content: start; }
.a-info__fact { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.a-info__fact span { font-size: 13px; font-weight: 600; color: var(--muted); }
.a-info__fact b { font-size: 18px; }

/* Ширини смуг-прикладів (Можливості) */
.a-seg.w10 { width: 10%; } .a-seg.w12 { width: 12%; } .a-seg.w18 { width: 18%; } .a-seg.w20 { width: 20%; }
.a-seg.w68 { width: 68%; } .a-seg.w72 { width: 72%; } .a-seg.w80 { width: 80%; }

/* ---------- Підвал (класичний, з групами посилань) ---------- */
.s-foot { padding: 56px 0 28px; border-top: 1px solid var(--line-soft); background: var(--paper); }
.s-foot__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; padding-bottom: 36px; }
@media (max-width: 860px) { .s-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s-foot__about { grid-column: 1 / -1; } }
@media (max-width: 460px) { .s-foot__grid { grid-template-columns: minmax(0, 1fr); } }
.s-foot__about { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 340px; }
.s-foot__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.s-foot__col { display: flex; flex-direction: column; gap: 10px; }
.s-foot__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.s-foot__col a { font-size: 15px; font-weight: 400; color: var(--text-2); text-decoration: none; }
.s-foot__col a:hover { color: var(--on); }
.s-foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.s-hero__img--wakeup { object-position: 68% 40%; }
.s-hero__img--sleep02 { object-position: 62% 55%; }
.s-origin__text:only-child { max-width: 760px; }
.s-noscript { padding: 24px; font-family: var(--font); }
