/* Штурмова варта – стилі сайту (верстка за макетом concept-diia-2, v3). Спільні стилі всіх сторінок.
   Усі кольори – лише через токени нижче. Одна світла тема. */

/* =========================================================
   0. ШРИФТ Onest – локально (fonts/, OFL 1.1), змінний: ваги 400–600 в одному файлі на набір символів
   ========================================================= */
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   1. ТОКЕНИ
   ========================================================= */
:root {
  color-scheme: light;
  /* базові */
  --bg: #fff;
  --fg: #000;
  --fg-2: #33363b;           /* другорядний текст, 12,1:1 на --bg */
  --muted: #5b5e64;          /* підписи, 6,5:1 на --bg, 5,4:1 на --soft і --sky */
  --faint: #6e7177;          /* неактивні вкладки, 4,9:1 на --bg */
  --line: #000;
  --line-soft: #d4d4d4;
  --field-line: #6b6e73;     /* рамка поля, 5,1:1 на --surface */
  --soft: #ecebe6;           /* тло сітки послуг */
  --sky: #e4ebf3;            /* тло «Питання» і плашки дзвінка */
  --surface: #fff;           /* картка «Як замовити», поля, вікно демо */
  --hover: #f4f4f1;          /* наведення на рядок/чіп */
  --press: #e8e8e3;          /* натискання на рядок/чіп */
  /* кнопки */
  --btn-bg: #000;
  --btn-fg: #fff;
  --btn-hover: #2a2a2a;
  --btn-active: #474747;
  --dis-bg: #d9d9d9;
  --dis-fg: #4f5257;         /* 5,5:1 на --dis-bg */
  /* стани */
  --focus: #000;
  --err: #b3261e;            /* 6,5:1 на --bg */
  --err-bg: #fcebea;
  --ok-fg: #13552a;
  --ok-bg: #e6f6ea;
  --ok-dot: #1f9d4c;
  --bar-bg: rgba(255, 255, 255, .96);
  --tag-bg: rgba(0, 0, 0, .62);
  /* чорні блоки (кабінет, футер) */
  --night: #000;
  --night-fg: #fff;
  --night-fg-2: #d9d9d9;
  --night-muted: #a6a6a6;    /* 8,6:1 на чорному */
  --night-line: #4a4a4a;
  /* живий градієнт першого екрана */
  --hero-fg: #000;
  --hero-grad: linear-gradient(125deg, #ffe07a 0%, #ffbd6e 26%, #ff9a86 48%, #b3b5ff 72%, #7fd3f2 100%);
  --b1: #fff07e; --b2: #8fd8ff; --b3: #ff8f73; --b4: #9e9cff; --b5: #7fe8c9;
  --blob-op: .85;
  --accent-line: linear-gradient(90deg, #ff9b52, #6cc6ef);

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* сітка */
  --wrap: 1280px;
  --gut: 80px;
  --col-gap: 30px;
  /* відступи: 4 / 8 / 12 / 16 / 20 / 24 / 32 / 40 / 48 / 56 / 64 / 80 / 96 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-14: 56px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  /* радіуси */
  --radius-pill: 999px;
  --radius-field: 12px;
  --radius-mark: 10px;
  --radius-card: 0px;
  /* шкала кеглів (десктоп) */
  --fs-h1: 64px;
  --fs-h2: 56px;
  --fs-h3: 28px;
  --fs-body: 16px;
  --fs-small: 13px;
  --t-fast: .15s;
}

@media (max-width: 1100px) { :root { --gut: 40px; --fs-h1: 52px; --fs-h2: 46px; --fs-h3: 24px; } }
@media (max-width: 640px)  { :root { --gut: 16px; --col-gap: 16px; --fs-h1: 30px; --fs-h2: 32px; --fs-h3: 20px; } }

/* =========================================================
   2. БАЗА
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 var(--fs-body)/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--night-fg); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; padding: 12px 20px; border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; font-weight: 500; }
.skip:focus { top: 16px; }

/* іконки (лише службові, лінійні) */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   3. КНОПКИ
   default / :hover / :active / :focus-visible / [disabled] / .is-loading
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 24px; border-radius: var(--radius-pill); border: 2px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font-weight: 500; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn:active { background: var(--btn-active); border-color: var(--btn-active); }
.btn-lg { min-height: 56px; padding: 0 40px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-ghost:active { background: var(--btn-active); border-color: var(--btn-active); color: var(--btn-fg); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--dis-bg); border-color: var(--dis-bg); color: var(--dis-fg); cursor: not-allowed; }
.btn.is-loading { cursor: progress; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.on-dark .btn { background: var(--night-fg); border-color: var(--night-fg); color: var(--night); }
.on-dark .btn:hover { background: #d6d6d6; border-color: #d6d6d6; }

.round { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--btn-bg); color: var(--btn-fg); border: 0; cursor: pointer; flex: none; transition: background var(--t-fast); }
.round:hover { background: var(--btn-hover); }
.round:active { background: var(--btn-active); }

.link-arrow { display: inline-flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 500; text-decoration: none; }
.link-arrow .i { width: 28px; height: 28px; stroke-width: 1.6; transition: transform .2s; }
.link-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .i { transform: translateX(4px); }

/* =========================================================
   4. ЛОГОТИП І ШАПКА
   ========================================================= */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hero-fg); min-height: 44px; }
.logo-mark { width: 40px; height: 40px; border-radius: var(--radius-mark); background: var(--fg); color: var(--bg); display: grid; place-items: center; font-weight: 600; font-size: 16px; letter-spacing: .02em; flex: none; }
.logo-word { font-weight: 600; font-size: 15px; line-height: 1.05; letter-spacing: -.005em; }
.on-dark .logo { color: var(--night-fg); }
.on-dark .logo-mark { background: var(--night-fg); color: var(--night); }

.hdr { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--hero-fg); }
.hdr-in { display: flex; align-items: center; gap: 40px; height: 86px; padding: 0 30px; }
.nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.hdr-phone { font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.hdr-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.hdr .btn { min-height: 42px; padding: 0 22px; font-size: 15px; }
.hdr-mob { display: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; cursor: pointer; padding: 0; color: inherit; transition: background var(--t-fast); }
.icon-btn:hover { background: rgba(127, 127, 127, .16); }
.icon-btn:active { background: rgba(127, 127, 127, .28); }
.burger .i { width: 28px; height: 28px; stroke-width: 2.2; }
.call-round { width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.call-round:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

@media (max-width: 1100px) { .nav { gap: 20px; } .hdr-in { gap: 24px; } .hdr-phone { display: none; } }
@media (max-width: 900px) {
  .nav, .hdr-right { display: none; }
  .hdr-mob { display: flex; gap: 8px; margin-left: auto; align-items: center; }
  .hdr-in { padding: 0 16px; height: 76px; }
}
@media (max-width: 330px) { .hdr .logo-word { display: none; } }
@media (max-width: 400px) { .m-hide { display: none; } }

/* =========================================================
   5. МОБІЛЬНЕ МЕНЮ (≤ 900 px) – повноекранне, як у Дії
   ========================================================= */
.mnav { position: fixed; inset: 0; z-index: 100; background: var(--bg); color: var(--fg); display: flex; flex-direction: column; overflow-y: auto; animation: mnav-in .2s ease-out; }
.mnav[hidden] { display: none; }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-8px); } }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 16px; flex: none; }
.mnav-top .logo { color: var(--fg); }
.mnav-close { border: 2px solid var(--fg); }
.mnav-close:hover { background: var(--fg); color: var(--bg); }
.mnav-body { flex: 1; display: flex; flex-direction: column; gap: 32px; padding: 16px 16px calc(32px + env(safe-area-inset-bottom)); }
.mnav-list { display: grid; gap: 8px; }
.pill { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 20px 0 24px; border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-fg); font-size: 18px; font-weight: 500; text-decoration: none; transition: background var(--t-fast); }
.pill:hover { background: var(--btn-hover); }
.pill:active { background: var(--btn-active); }
.pill .i { width: 22px; height: 22px; }
.pill-ghost { background: transparent; color: var(--fg); border: 2px solid var(--fg); }
.pill-ghost:hover { background: var(--fg); color: var(--bg); }
.mnav-call { margin-top: auto; padding-top: 24px; border-top: 2px solid var(--line); }
.mnav-call small { display: block; font-size: 14px; color: var(--muted); }
.mnav-call a.num { display: inline-block; margin-top: 6px; font-size: 28px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; }
.mnav-call .btn { margin-top: 16px; width: 100%; min-height: 52px; }
@media (min-width: 901px) { .mnav { display: none !important; } }

/* =========================================================
   6. ЖИВИЙ ГРАДІЄНТ
   ========================================================= */
.aurora { position: absolute; inset: 0; overflow: hidden; background: var(--hero-grad); }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--blob-op); will-change: transform; }
.aurora .b1 { width: 62vw; height: 62vw; left: -18vw; top: -30vw; background: var(--b1); animation: drift1 18s ease-in-out infinite alternate; }
.aurora .b2 { width: 54vw; height: 54vw; right: -16vw; top: -22vw; background: var(--b2); animation: drift2 22s ease-in-out infinite alternate; }
.aurora .b3 { width: 50vw; height: 50vw; left: 22vw; bottom: -34vw; background: var(--b3); animation: drift3 20s ease-in-out infinite alternate; }
.aurora .b4 { width: 40vw; height: 40vw; right: 6vw; bottom: -26vw; background: var(--b4); animation: drift4 26s ease-in-out infinite alternate; }
.aurora .b5 { width: 34vw; height: 34vw; left: -6vw; bottom: -18vw; background: var(--b5); animation: drift2 24s ease-in-out infinite alternate-reverse; opacity: calc(var(--blob-op) - .15); }
@keyframes drift1 { to { transform: translate(18vw, 12vw) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-20vw, 10vw) scale(.9); } }
@keyframes drift3 { to { transform: translate(-16vw, -8vw) scale(1.15); } }
@keyframes drift4 { to { transform: translate(-26vw, -6vw) scale(1.05); } }
.aurora.paused span { animation-play-state: paused; }

/* =========================================================
   7. ПЕРШИЙ ЕКРАН
   ========================================================= */
.hero { position: relative; min-height: 620px; height: 69vh; max-height: 760px; display: grid; place-items: center; text-align: center; color: var(--hero-fg); }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: 1120px; padding: 86px 16px 40px; }
.hero h1 { font-size: var(--fs-h1); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.hero-sub { max-width: 640px; margin: 20px auto 0; font-size: 20px; line-height: 1.45; text-wrap: pretty; }
.switch { display: inline-flex; gap: 12px; margin-top: 36px; }
.switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px 0 16px; border-radius: var(--radius-pill); border: 0; background: transparent; font-size: 18px; font-weight: 500; cursor: pointer; transition: background var(--t-fast); }
.switch button:hover { background: rgba(127, 127, 127, .18); }
.switch button[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.switch .i { width: 18px; height: 18px; }
.search { position: relative; margin: 20px auto 0; max-width: 656px; }
.search input { width: 100%; height: 48px; border: 0; border-radius: var(--radius-pill); background: var(--surface); color: var(--fg); padding: 0 64px 0 24px; font-size: 17px; outline: none; box-shadow: 0 0 0 0 var(--fg); transition: box-shadow var(--t-fast); text-overflow: ellipsis; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:hover { box-shadow: 0 0 0 1px var(--fg); }
.search input:focus-visible { box-shadow: 0 0 0 2px var(--fg); }
.search .round { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; }
.search .round .i { width: 20px; height: 20px; stroke-width: 2; }
.hint { margin-top: 16px; font-size: 14px; }
.hint a { font-weight: 500; text-underline-offset: 2px; }
.hint a:hover { text-decoration-thickness: 2px; }
.callbox { margin: 20px auto 0; max-width: 656px; height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); color: var(--fg); border-radius: var(--radius-pill); padding: 0 2px 0 24px; text-align: left; }
.cb-num { font-size: 20px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.cb-num:hover { text-decoration: underline; text-underline-offset: 4px; }
.callbox .cb-btn { min-height: 44px; height: 44px; padding: 0 20px; font-size: 15px; }
.pause { position: absolute; z-index: 3; right: 36px; bottom: 36px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--hero-fg); color: var(--hero-fg); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background var(--t-fast); }
.pause:hover { background: rgba(127, 127, 127, .2); }
.pause .i { width: 16px; height: 16px; fill: currentColor; stroke: none; }

@media (max-width: 1100px) {
  .hero { min-height: 580px; height: auto; max-height: none; }
  .search .round { width: 44px; height: 44px; top: 2px; right: 2px; }
}
@media (max-width: 640px) {
  .hero { min-height: 600px; height: auto; max-height: none; }
  .hero-in { padding: 120px 16px 72px; }
  .hero h1 { line-height: 1.15; }
  .hero-sub { margin-top: 14px; font-size: 17px; line-height: 1.5; }
  .switch { margin-top: 28px; gap: 4px; }
  .switch button { font-size: 17px; padding: 0 16px 0 14px; min-height: 48px; }
  .search input { height: 52px; font-size: 16px; padding-left: 18px; }
  .search .round { top: 4px; right: 4px; }
  .hero .hint { min-height: 48px; } /* 2 рядки по 24 px: підказка пошуку і графік однакової висоти – H1 не стрибає */
  .callbox { height: 52px; padding: 0 4px 0 18px; }
  .cb-num { font-size: 18px; }
  .callbox .cb-btn { width: 44px; padding: 0; }
  .cb-t { display: none; }
  .pause { right: 16px; bottom: 16px; }
}

/* =========================================================
   8. ВКЛАДКИ І КАРУСЕЛЬ «ПОПУЛЯРНІ ПОСЛУГИ»
   ========================================================= */
.tabs { display: flex; gap: 60px; padding-top: 48px; }
.tabs button { background: none; border: 0; padding: 0 0 4px; min-height: 44px; font-size: 28px; font-weight: 400; color: var(--faint); cursor: pointer; border-bottom: 2px solid transparent; letter-spacing: -.01em; transition: color var(--t-fast), border-color var(--t-fast); }
.tabs button:hover { color: var(--fg); border-bottom-color: var(--line-soft); }
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--fg); }
@media (max-width: 640px) { .tabs { gap: 28px; padding-top: 32px; } .tabs button { font-size: 18px; } }

.pop { padding: 0 0 80px; }
.pop-body { margin-top: 96px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.04; letter-spacing: -.025em; }
.arrows { display: flex; gap: 32px; padding-bottom: 28px; }
.arrows button { background: none; border: 0; padding: 0; min-width: 44px; min-height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--fg); transition: transform var(--t-fast), color var(--t-fast); }
.arrows button:hover:not([disabled]) { transform: translateX(calc(var(--d, 1) * 4px)); }
.arrows button[data-dir="-1"] { --d: -1; }
.arrows button[disabled] { color: var(--line-soft); cursor: default; }
.arrows .i { width: 64px; height: 40px; stroke-width: 1.6; }
.rail { display: flex; gap: 30px; margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 8px; margin-left: -4px; margin-right: -4px; scroll-padding-inline: 4px; }
.rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 290px; scroll-snap-align: start; text-decoration: none; color: var(--fg); }
.card-media { position: relative; height: 160px; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.card:active .card-media img { transform: scale(1.02); }
.card-media .tag { position: absolute; left: 8px; bottom: 8px; font-size: 11px; line-height: 1; padding: 5px 7px; border-radius: 4px; background: var(--tag-bg); color: #fff; }
.card h3 { margin-top: 24px; font-size: var(--fs-h3); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.card p { margin-top: 16px; font-size: 14px; line-height: 1.35; color: var(--muted); max-width: 270px; }
.progress { position: relative; width: min(736px, 100%); height: 2px; margin: 80px auto 0; background: var(--line-soft); }
.progress i { position: absolute; left: 0; top: 0; height: 2px; background: var(--fg); width: 25%; transition: left .3s, width .3s; }
.tabpanel[hidden] { display: none; }
@media (max-width: 640px) {
  .pop { padding: 0 0 48px; }
  .pop-body { margin-top: 36px; }
  .arrows { gap: 20px; padding-bottom: 8px; }
  .arrows .i { width: 40px; height: 28px; }
  .rail { gap: 16px; margin: 28px calc(var(--gut) * -1) 0; padding: 4px var(--gut) 8px; scroll-padding: 0 var(--gut); }
  .card { flex-basis: 272px; }
  .card-media { height: 170px; }
  .card h3 { margin-top: 18px; font-size: 20px; }
  .card p { font-size: 16px; margin-top: 10px; }
  .progress { margin-top: 40px; }
}

/* =========================================================
   9. СІТКА ПОСЛУГ
   ========================================================= */
.cats { background: var(--soft); padding: 48px 0 96px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--col-gap); }
.cat { border-top: 2px solid var(--line); padding: 22px 0 48px; color: var(--fg); }
.cat h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.14; letter-spacing: -.01em; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.cat h3 a { text-decoration: none; }
.cat h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cat p { margin-top: 16px; max-width: 380px; font-size: 16px; line-height: 1.5; }
.cat-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); font-size: 15px; font-weight: 500; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.cat-links a:hover { background: var(--fg); color: var(--bg); }
.cat-links a:active { background: var(--btn-active); color: var(--btn-fg); border-color: var(--btn-active); }
.soon { font-size: 13px; font-weight: 500; line-height: 1; padding: 6px 10px; border: 1.5px solid var(--muted); color: var(--muted); border-radius: var(--radius-pill); letter-spacing: 0; }
.cat.is-soon { border-top-color: var(--muted); }
.cat.is-soon h3 { color: var(--fg-2); }
.cat.is-soon p { color: var(--muted); }
.feature { grid-column: 3; grid-row: 1 / span 2; background: var(--surface); padding: 36px 36px 40px; margin-bottom: 30px; display: flex; flex-direction: column; }
.feature h3 { font-size: 40px; font-weight: 500; line-height: 1.04; letter-spacing: -.02em; }
.feature p { margin-top: 20px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.feature .steps { margin-top: 20px; display: grid; counter-reset: s; }
.feature .steps li { counter-increment: s; display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 16px; }
.feature .steps li::before { content: counter(s); font-weight: 600; width: 14px; }
.feature .btn { margin-top: 28px; align-self: flex-start; min-width: 260px; }
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .feature { grid-column: 1 / -1; grid-row: auto; order: -1; }
}
@media (max-width: 640px) {
  .cats { padding: 16px 0 40px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat { padding: 16px 0 28px; }
  .cat h3 { font-size: 20px; }
  .cat p { margin-top: 10px; }
  .cat-links { margin-top: 14px; }
  .cat-links a { min-height: 44px; }
  .feature { padding: 28px 20px 24px; margin: 16px 0 24px; }
  .feature h3 { font-size: 30px; }
  .feature p { margin-top: 14px; }
  .feature .btn { min-width: 0; width: 100%; }
}

/* =========================================================
   10. СИТУАЦІЇ (на мобільному – акордеони)
   ========================================================= */
.sit { padding: 96px 0 104px; }
.sit-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); align-items: start; }
.sit-head p { max-width: 480px; padding-top: 8px; color: var(--fg-2); }
.sit-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); margin-top: 72px; }
.sit-col h3 { font-size: 16px; font-weight: 500; color: var(--muted); padding-bottom: 14px; position: relative; }
.sit-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent-line); }
.sit-col ul { margin-top: 28px; display: grid; gap: 18px; }
.sit-col a { font-size: 18px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.sit-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sit-col summary { list-style: none; }
.sit-col summary::-webkit-details-marker { display: none; }
.sit-col summary .i { transition: transform .2s; }
@media (min-width: 641px) { .sit-col summary { pointer-events: none; } .sit-col summary .i { display: none; } }
@media (max-width: 1100px) { .sit-cols { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 640px) {
  .sit { padding: 48px 0 56px; }
  .sit-head { grid-template-columns: 1fr; gap: 16px; }
  .sit-cols { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .sit-col summary { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); cursor: pointer; }
  .sit-col summary:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
  .sit-col h3 { color: var(--fg); font-size: 18px; padding: 0; }
  .sit-col h3::after { display: none; }
  .sit-col details[open] summary .i { transform: rotate(180deg); }
  .sit-col ul { margin: 16px 0 20px; gap: 0; }
  .sit-col li a { display: block; padding: 12px 0; font-size: 17px; }
}

/* =========================================================
   10a. ХТО НА ПОСТАХ (після сітки послуг)
   ========================================================= */
.posts { padding: 96px 0 0; }
/* шапка як у «Ситуаціях», а тези – плитки з великими номерами 01–04 (графічний якір, поки немає реальних фото) */
.posts-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); align-items: start; }
.posts-lead { max-width: 560px; padding-top: 8px; font-size: 20px; line-height: 1.45; }
.posts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); margin-top: 72px; padding-bottom: 96px; border-bottom: 1px solid var(--line-soft); }
.posts-list li { border-top: 2px solid var(--line); padding-top: 20px; }
.posts-n { display: block; font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.posts-list p { margin-top: 28px; font-size: 17px; line-height: 1.5; color: var(--fg-2); max-width: 300px; }
.posts-list b { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 500; color: var(--fg); }
@media (max-width: 1100px) {
  .posts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; margin-top: 56px; }
  .posts-n { font-size: 56px; }
}
@media (max-width: 640px) {
  .posts { padding: 48px 0 0; }
  .posts-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .posts-lead { padding-top: 0; font-size: 17px; }
  .posts-list { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; padding-bottom: 40px; }
  .posts-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 18px 0 22px; }
  .posts-list li + li { border-top-width: 1px; }
  .posts-n { font-size: 40px; }
  .posts-list p { margin-top: 0; font-size: 16px; }
  .posts-list b { font-size: 17px; }
}

/* =========================================================
   11. КАБІНЕТ КЛІЄНТА (чорний блок, демо)
   ========================================================= */
.cab { background: var(--night); color: var(--night-fg); padding: 88px 0 104px; }
.cab .sec-head { align-items: center; }
.cab .sec-head .h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cab-grid { display: grid; grid-template-columns: 547px 1fr; gap: 108px; margin-top: 56px; }
.cab-note { margin-top: 14px; font-size: 14px; color: var(--night-muted); }
.cab-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--col-gap); align-content: start; }
.cab-items li { border-top: 2px solid var(--night-fg); padding: 22px 0 56px; }
.cab-items small { font-size: 14px; color: var(--night-muted); }
.cab-items h3 { margin-top: 10px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.cab-items p { margin-top: 8px; font-size: 16px; color: var(--night-fg-2); line-height: 1.5; }
.cab-feature-title { margin-top: 22px; font-size: 30px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.soon-dark { display: inline-block; vertical-align: middle; font-size: 13px; font-weight: 500; line-height: 1; padding: 6px 10px; border: 1.5px solid var(--night-muted); color: var(--night-muted); border-radius: var(--radius-pill); letter-spacing: 0; }

.demo { background: var(--hero-grad); padding: 36px 30px 0; overflow: hidden; color: var(--fg); }
.demo-win { background: var(--surface); border-radius: 14px 14px 0 0; padding: 16px 20px 32px; font-size: 14px; }
.demo-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.demo-top .logo-mark { width: 26px; height: 26px; border-radius: 7px; font-size: 10px; }
.demo-top b { font-weight: 500; font-size: 14px; }
.demo-top .st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-fg); font-weight: 500; font-size: 12px; white-space: nowrap; }
.demo-top .st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok-dot); }
.demo-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; }
.demo-card { border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px; }
.demo .demo-h { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.demo-big { font-size: 22px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.demo-s { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--fg-2); }
.demo-mgr { display: flex; align-items: center; gap: 12px; }
.demo-mgr .demo-s { margin-top: 0; }
.demo-call { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); display: grid; place-items: center; }
.demo-call .i { width: 18px; height: 18px; }
@media (max-width: 1100px) { .cab-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 640px) {
  .cab { padding: 48px 0 56px; }
  .cab-grid { margin-top: 28px; gap: 32px; }
  .demo { padding: 20px 14px 0; }
  .demo-win { padding: 12px 12px 20px; }
  .demo-cols { grid-template-columns: 1fr; gap: 10px; padding-top: 12px; }
  .cab-feature-title { font-size: 22px; }
  .cab-items { gap: 0 16px; }
  .cab-items li { padding: 14px 0 28px; }
  .cab-items h3 { font-size: 17px; }
}

@media (max-width: 400px) { .cab-items { grid-template-columns: 1fr; } }

/* =========================================================
   11a. ПРО ПОСЛУГИ – текстовий блок перед «Питаннями» (спокійна типографіка)
   ========================================================= */
.about { padding: 104px 0 104px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); align-items: start; }
.about-grid > .h2 { font-size: 40px; line-height: 1.08; letter-spacing: -.02em; max-width: 520px; }
@media (min-width: 1101px) { .about-grid > .h2 { position: sticky; top: 32px; } }
.about-body > p { max-width: 640px; }
.about-body p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--fg-2); }
.about-body p.about-lead { margin-top: 0; font-size: 20px; line-height: 1.5; color: var(--fg); }
.about-body h3 { margin-top: 48px; font-size: var(--fs-h3); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.about-body a { text-underline-offset: 3px; }
.about-steps { margin-top: 16px; counter-reset: s; display: grid; }
.about-steps li { counter-increment: s; position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line-soft); font-size: 17px; line-height: 1.55; color: var(--fg-2); }
.about-steps li:last-child { border-bottom: 1px solid var(--line-soft); }
.about-steps li::before { content: counter(s); position: absolute; left: 0; top: 14px; font-weight: 600; color: var(--fg); }
.about-steps b { font-weight: 500; color: var(--fg); }
.about-steps + p { margin-top: 20px; }
@media (max-width: 1100px) { .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .about-grid > .h2 { max-width: 640px; } }
@media (max-width: 640px) {
  .about { padding: 48px 0 56px; }
  .about-grid { gap: 20px; }
  .about-grid > .h2 { font-size: 28px; }
  .about-body p, .about-steps li { font-size: 16px; }
  .about-body p.about-lead { font-size: 17px; }
  .about-body h3 { margin-top: 36px; }
}

/* =========================================================
   12. ПИТАННЯ ТА ВІДПОВІДІ
   ========================================================= */
.faq { background: var(--sky); padding: 104px 0 96px; }
.faq .sec-head .link-arrow { margin-right: 87px; margin-bottom: 8px; }
.faq-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); margin-top: 64px; }
.faq-col > h3 { font-size: 16px; font-weight: 500; color: var(--muted); padding-bottom: 14px; position: relative; max-width: 340px; }
.faq-col > h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent-line); }
.faq-col ul { margin-top: 28px; display: grid; gap: 20px; max-width: 340px; }
.faq details summary { list-style: none; cursor: pointer; font-size: 18px; font-weight: 500; line-height: 1.5; display: flex; gap: 12px; justify-content: space-between; }
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1.2; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq details p { margin-top: 8px; font-size: 16px; color: var(--fg-2); }
@media (max-width: 1100px) { .faq-cols { grid-template-columns: 1fr 1fr; } .faq .sec-head .link-arrow { margin-right: 0; } .link-arrow { min-height: 44px; min-width: 44px; justify-content: flex-end; } }
@media (max-width: 640px) {
  .faq { padding: 48px 0 56px; }
  .faq .link-arrow span, .cab .link-arrow span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .faq-cols { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .faq-col ul { margin-top: 18px; gap: 16px; }
  .faq details summary { font-size: 17px; }
}

/* =========================================================
   13. ФУТЕР
   ========================================================= */
.ftr { background: var(--night); color: var(--night-fg); padding: 88px 0 48px; border-top: 1px solid var(--night-line); }
.ftr-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); padding-bottom: 56px; border-bottom: 1px solid var(--night-line); }
.ftr-top .ftr-h { font-size: 17px; font-weight: 500; }
.ftr-top ul { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; }
.ftr-top a { font-size: 14px; color: var(--night-muted); text-decoration: none; }
.ftr-top a:hover, .ftr-mid a:hover { color: var(--night-fg); text-decoration: underline; text-underline-offset: 3px; }
.ftr-mid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); padding: 56px 0 72px; }
.ftr-mid ul { display: grid; gap: 16px; align-content: start; }
.ftr-mid a, .ftr-mid li { font-size: 17px; text-decoration: none; }
.ftr-mid .muted { color: var(--night-muted); font-size: 14px; }
.ftr-phone { font-size: 24px !important; font-weight: 500; letter-spacing: -.01em; }
.ftr-bot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; font-size: 14px; color: var(--night-muted); }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; justify-content: flex-end; }
.ftr-legal a { text-decoration: none; }
.ftr-legal a:hover { color: var(--night-fg); text-decoration: underline; text-underline-offset: 3px; }
.ftr-slim { padding: 32px 0; }

@media (max-width: 1100px) { .ftr-mid { grid-template-columns: 1fr 1fr; } .ftr-legal { margin-left: 0; width: 100%; justify-content: flex-start; } }
@media (max-width: 640px) {
  .ftr { padding: 48px 0 32px; }
  .ftr-top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .ftr-top ul { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
  .ftr-top a { display: block; padding: 11px 0; font-size: 16px; }
  .ftr-mid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 40px; }
  .ftr-mid ul { gap: 4px; }
  .ftr-mid a { display: inline-block; padding: 10px 0; }
  .ftr-mid .muted { font-size: 16px; }
  .ftr-bot { flex-direction: column; align-items: flex-start; }
  .ftr-legal { margin-left: 0; flex-direction: column; justify-content: flex-start; gap: 0; }
  .ftr-legal li { padding: 4px 0; font-size: 16px; }
  .ftr-legal a { display: inline-block; padding: 10px 0; margin: -10px 0; }
  .ftr-slim { padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); }
  /* на головній є липка панель .mbar (10 + 48 + 10 + 1 = 69 px) – футер не ховається під неї */
  .ftr-mbar { padding-bottom: calc(32px + 69px + env(safe-area-inset-bottom)); }
}

/* мобільна нижня панель після першого екрана */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bar-bg); border-top: 1px solid var(--line-soft); transform: translateY(110%); transition: transform .25s; }
  .mbar.show { transform: none; }
  .mbar .btn { min-height: 48px; padding: 0 12px; }
}

/* =========================================================
   14. МАЙСТЕР ЗАЯВКИ
   ========================================================= */
.hdr.solid { position: relative; }
.w-band { position: relative; overflow: hidden; color: var(--hero-fg); }
.w-band .wrap { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 48px; }
.crumbs { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-underline-offset: 3px; }
.w-band h1 { margin-top: 16px; font-size: var(--fs-h2); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; }
.w-layout { display: grid; grid-template-columns: 300px minmax(0, 680px); gap: 30px 110px; padding-top: 56px; padding-bottom: 120px; }
.w-layout > aside { align-self: start; position: sticky; top: 24px; }
.w-steps li { border-top: 2px solid var(--line-soft); padding: 14px 0 22px; }
.w-steps li.now, .w-steps li.done { border-top-color: var(--line); }
.w-steps button { all: unset; cursor: default; display: block; width: 100%; border-radius: 4px; }
.w-steps button:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.w-steps li.done button { cursor: pointer; }
.w-steps small { display: block; font-size: 14px; color: var(--muted); }
.w-steps b { display: block; margin-top: 4px; font-size: 18px; font-weight: 500; color: var(--faint); }
.w-steps li.now b, .w-steps li.done b { color: var(--fg); }
.w-steps em { display: block; margin-top: 4px; font-style: normal; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.w-steps li.done button:hover b { text-decoration: underline; text-underline-offset: 4px; }
.w-steps .edit { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.w-call { margin-top: 24px; padding: 24px; background: var(--sky); }
.w-call p { font-size: 16px; }
.w-call a { display: inline-block; margin-top: 8px; font-size: 22px; font-weight: 500; text-decoration: none; letter-spacing: -.01em; }
.w-call a:hover { text-decoration: underline; text-underline-offset: 4px; }

.w-meta { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--muted); }
.w-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.w-bar span { height: 3px; background: var(--line-soft); }
.w-bar span.on { background: var(--fg); }
.w-q { margin-top: 40px; font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; outline: none; }
.w-sub { margin-top: 12px; color: var(--fg-2); }
.w-found { margin-top: 20px; display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; max-width: 100%; font-size: 14px; padding: 8px 14px; border-radius: 18px; background: var(--soft); }
.w-found b { font-weight: 500; overflow-wrap: anywhere; }
.w-found span { color: var(--muted); }

/* варіант-рядок (radio) */
.opts { margin-top: 32px; border-bottom: 1px solid var(--line); }
.opt { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 72px; padding: 14px 16px 14px 8px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--fg); text-align: left; cursor: pointer; transition: background var(--t-fast); }
.opt:hover { background: var(--hover); }
.opt:active { background: var(--press); }
.opt:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.opt .dot { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--fg); display: grid; place-items: center; }
.opt[aria-checked="true"] { background: var(--hover); }
.opt[aria-checked="true"] .dot { background: var(--fg); }
.opt[aria-checked="true"] .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); }
.opt[disabled] { cursor: not-allowed; color: var(--faint); }
.opt[disabled] .dot { border-color: var(--line-soft); }
.opt-t { font-size: 20px; font-weight: 500; line-height: 1.25; }
.opt-s { display: block; margin-top: 2px; font-size: 15px; font-weight: 400; color: var(--muted); }

/* чіп (radio) */
.lbl { margin-top: 36px; font-size: 16px; font-weight: 500; }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--fg); background: var(--surface); color: var(--fg); font-size: 16px; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.chip:hover { background: var(--hover); }
.chip:active { background: var(--press); }
.chip[aria-checked="true"] { background: var(--fg); color: var(--bg); }
.chip[disabled] { border-color: var(--line-soft); color: var(--faint); cursor: not-allowed; background: transparent; }
.chip[disabled][aria-checked="true"] { background: var(--dis-bg); border-color: var(--dis-bg); color: var(--dis-fg); }
.opt[disabled][aria-checked="true"] .dot { background: var(--faint); border-color: var(--faint); }

/* поле: default / hover / focus / invalid / disabled */
.fld { display: block; margin-top: 28px; }
.fld > label, .fld > .fl { display: block; font-size: 16px; font-weight: 500; }
.fld i { font-style: normal; font-weight: 400; color: var(--muted); }
.fld input { margin-top: 8px; width: 100%; height: 56px; border: 1.5px solid var(--field-line); border-radius: var(--radius-field); padding: 0 18px; font-size: 18px; background: var(--surface); color: var(--fg); outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.fld input::placeholder { color: var(--muted); opacity: 1; }
.fld input:hover { border-color: var(--fg); }
.fld input:focus { border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.fld input[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.fld input:disabled { background: var(--dis-bg); border-color: var(--dis-bg); color: var(--dis-fg); cursor: not-allowed; }
.fld .help { margin-top: 6px; font-size: 14px; color: var(--muted); }
.fld .err { margin-top: 8px; display: flex; gap: 8px; align-items: flex-start; font-size: 15px; font-weight: 500; color: var(--err); }
.fld .err[hidden] { display: none; }
.fld .err .i { width: 18px; height: 18px; margin-top: 2px; }

.fine { margin-top: 20px; font-size: 14px; color: var(--muted); }
.fine a { color: var(--fg-2); }
.fine + .fine { margin-top: 8px; }
.w-nav { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.w-nav .btn { min-height: 56px; padding: 0 40px; font-size: 17px; }
.w-why { width: 100%; font-size: 14px; color: var(--muted); }

/* повідомлення про помилку надсилання */
.alert { margin-top: 32px; padding: 20px 24px; border-radius: var(--radius-field); background: var(--err-bg); border-left: 4px solid var(--err); }
.alert h3 { font-size: 18px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.alert h3 .i { color: var(--err); width: 22px; height: 22px; }
.alert p { margin-top: 6px; color: var(--fg-2); }
.alert .acts { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }

.sum { margin-top: 32px; border-bottom: 1px solid var(--line); }
.sum div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.sum dt { color: var(--muted); }
.sum dd { font-weight: 500; overflow-wrap: anywhere; }
.sum dd.empty { font-weight: 400; color: var(--muted); }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; }
.done-mark .i { width: 30px; height: 30px; stroke-width: 2.4; }
@media (max-width: 1100px) { .w-layout { grid-template-columns: 240px 1fr; gap: 30px 56px; } }
@media (max-width: 900px) {
  .w-layout { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 72px; }
  .w-layout > aside { display: none; }
}
@media (max-width: 640px) {
  .w-band .wrap { padding-top: 92px; padding-bottom: 28px; }
  .w-band h1 { font-size: 30px; margin-top: 10px; }
  .w-q { margin-top: 28px; font-size: 26px; }
  .opts { margin-top: 20px; }
  .opt { min-height: 64px; gap: 14px; }
  .opt-t { font-size: 17px; }
  .opt-s { font-size: 14px; }
  .w-nav { position: sticky; bottom: 0; z-index: 5; margin: 28px calc(var(--gut) * -1) 0; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: var(--bar-bg); border-top: 1px solid var(--line-soft); flex-wrap: nowrap; }
  .w-nav .btn { flex: 1; padding: 0 16px; min-height: 52px; }
  .w-nav .btn-ghost { flex: 0 0 auto; }
  .w-why { display: none; }
  .w-nav.end { position: static; margin: 32px 0 0; padding: 0; background: none; border: 0; }
  .sum div { grid-template-columns: 1fr; gap: 2px; }
  .alert { padding: 16px; }
  .alert .acts .btn { flex: 1; }
}

/* =========================================================
   16. СЕНСОРНІ ЕКРАНИ (≤ 1100 px): зони натискання ≥ 44 px, текст ≥ 16 px
   ========================================================= */
@media (max-width: 1100px) {
  .cat-links a { min-height: 44px; }
  .cat h3 a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .crumbs a, .w-call a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs { align-items: center; }
  .card p, .ftr-mid .muted, .cab-note, .ftr-legal li, .hint, .w-why { font-size: 16px; }
}

/* =========================================================
   17. САЙТ: доповнення до макета (стан «не вдалося надіслати онлайн», антиспам, службові сторінки)
   ========================================================= */
/* антиспам-пастка: поза екраном, для людей і читачів екрана невидима */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Cloudflare Turnstile (лише якщо задано TURNSTILE_SITEKEY): зазвичай невидимий, місце займає лише коли просить дію */
.ts:not(:empty) { margin-top: 20px; }
/* «Залишився один крок – подзвоніть» – як «надіслано», але знак телефону (нейтральний, не помилка) */
.done-mark.call .i { width: 28px; height: 28px; stroke-width: 2; }
/* десктоп: після прокрутки до кроку чи результату лишаємо трохи повітря над ним */
#wiz { scroll-margin-top: 16px; }
@media (min-width: 900px) { #wiz { scroll-margin-top: 24px; } }
.w-tel { font-weight: 500; white-space: nowrap; text-underline-offset: 3px; }
.sum-h { margin-top: 48px; font-size: var(--fs-h3); font-weight: 400; line-height: 1.14; }
.sum-h + .sum { margin-top: 20px; }
/* політика конфіденційності і 404 */
/* короткі сторінки: футер притиснутий донизу екрана */
.page-doc { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.page-doc > main { flex: 1 0 auto; width: 100%; }
.doc { padding-top: 56px; padding-bottom: 120px; }
.doc-body { max-width: 760px; }
.doc-note { padding: 20px 24px; border-radius: var(--radius-field); background: var(--sky); }
.doc-note b { font-weight: 600; }
.doc-body h2 { margin-top: 48px; font-size: var(--fs-h3); font-weight: 500; line-height: 1.14; }
.doc-body p, .doc-body ul { margin-top: 12px; color: var(--fg-2); }
.doc-body ul { list-style: disc; padding-left: 22px; }
.doc-body li + li { margin-top: 6px; }
.doc-acts { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.doc-acts .btn { min-height: 56px; padding: 0 40px; font-size: 17px; }
.nf-code { font-size: 16px; color: var(--muted); }
.doc-body .nf-code + h2 { margin-top: 12px; }
@media (max-width: 640px) {
  .doc { padding-top: 28px; padding-bottom: 72px; }
  .doc-body h2 { margin-top: 36px; }
  .doc-note { padding: 16px; }
  .doc-acts .btn { flex: 1 1 100%; }
  .sum-h { margin-top: 36px; }
  /* блок «Подзвонити» в стані «один крок» – не липка панель, а звичайний ряд, як .w-nav.end */
  .w-nav.w-off { position: static; margin: 32px 0 0; padding: 0; background: none; border: 0; flex-wrap: wrap; }
}

/* =========================================================
   15. МЕНШЕ РУХУ
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .aurora span { animation: none !important; }
  .hero .pause { display: none; }
  .spin { animation: none !important; border-right-color: currentColor; opacity: .5; }
}
