/* «Свіжо» — клінінгова компанія (демонстраційний проєкт).
   Система: глибокий чорний, три рівні графітових поверхонь, тонкі розділювачі, один акцент — теплий кремовий.
   Шрифти: Inter (текст) і JetBrains Mono (службові підписи). Радіуси різні за призначенням:
   кнопки 10, поля 10, панелі 16, фото 14, великі контейнери 24, меню 20. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/inter-400-700-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/inter-400-700-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; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/jbmono-400-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/jbmono-400-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; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/jbmono-500-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/jbmono-500-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; }

:root {
  --bg: #0b0b0c;
  --s1: #121213;
  --s2: #19191a;
  --s3: #212122;
  --line: rgba(242, 240, 236, 0.08);
  --line-2: rgba(242, 240, 236, 0.14);
  --text: #f2f0ec;
  --muted: #a5a199;
  --dim: #7a766f;
  --acc: #e7e2d9;
  --acc-d: #c9c3b8;
  --acc-ink: #151515;
  --acc-soft: rgba(231, 226, 217, 0.08);
  --warn: #ffb86b;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --gut: max(1.25rem, calc((100vw - 76rem) / 2));
  --hd: 3.75rem;
  --sec: clamp(4rem, 8vw, 7.5rem);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: var(--hd); }
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(231, 226, 217, 0.22); }
.btn:focus-visible { outline: 2px solid #f2f0ec; outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 400; padding: 0.7rem 1rem; background: var(--acc); color: var(--acc-ink); border-radius: 10px; font-weight: 500; }
.skip:focus { top: 0.75rem; }
.wrap { width: 100%; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.sec + .sec, .sec--line { border-top: 1px solid var(--line); }
.lab { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); line-height: 1.4; }
.lab b { color: var(--acc); font-weight: 500; }
h1, h2, h3 { font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 1.1rem + 4.6vw, 4.5rem); letter-spacing: -0.038em; line-height: 1.03; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem); color: var(--muted); max-width: 40rem; line-height: 1.55; }
.muted { color: var(--muted); }
.demo { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.7rem; border: 1px solid var(--line-2); border-radius: 99px; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.demo::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--acc); }

/* ---------- Кнопки й посилання ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 2.75rem; padding: 0 1.15rem; border: 1px solid transparent; border-radius: 10px; background: var(--acc); color: var(--acc-ink); text-decoration: none; cursor: pointer; font-size: 0.9375rem; font-weight: 550; line-height: 1; white-space: nowrap; transition: background-color 0.2s, border-color 0.2s, transform 0.15s var(--ease), box-shadow 0.2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:hover { background: #f6f2ea; }
.btn:active { transform: scale(0.97); background: var(--acc-d); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn svg { width: 1.05rem; height: 1.05rem; flex: none; }
.btn--ghost { background: var(--s2); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--s3); border-color: rgba(242, 240, 236, 0.24); }
.btn--ghost:active { background: var(--s1); }
.btn--sm { min-height: 2.25rem; padding: 0 0.9rem; font-size: 0.875rem; border-radius: 8px; }
.btn--lg { min-height: 3.25rem; padding: 0 1.5rem; font-size: 1rem; border-radius: 12px; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.9375rem; width: fit-content; }
.link svg { width: 1rem; height: 1rem; color: var(--acc); transition: transform 0.2s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.link:hover { color: var(--acc); }
.ico { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Шапка й мегаменю ---------- */
.hd { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: var(--hd); background: rgba(11, 11, 12, 0.92); border-bottom: 1px solid var(--line); }
.hd__in { height: 100%; display: flex; align-items: center; gap: 1.5rem; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.02em; }
.logo__mark { width: 1.6rem; height: 1.6rem; border-radius: 7px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; }
.logo__mark svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: none; align-items: center; gap: 0.15rem; margin-left: 1rem; }
.nav > li > a, .nav__btn { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.5rem; padding: 0 0.8rem; border: 0; border-radius: 8px; background: none; color: var(--muted); text-decoration: none; font-size: 0.9375rem; font-weight: 450; cursor: pointer; transition: color 0.15s, background-color 0.15s; }
.nav > li > a:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"] { color: var(--text); background: var(--s2); }
.nav [aria-current="page"], .nav__btn.is-current { color: var(--text); }
.nav__btn svg { width: 0.8rem; height: 0.8rem; transition: transform 0.25s var(--ease); }
.nav__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hd__act { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.hd__cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0 0.85rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s2); cursor: pointer; font-size: 0.9375rem; font-weight: 500; }
.menu-btn:active { transform: scale(0.96); }
@media (min-width: 1000px) { .nav { display: flex; } .hd__cta { display: inline-flex; } .menu-btn { display: none; } }

.mega { position: absolute; top: calc(100% + 0.5rem); left: 50%; width: min(70rem, calc(100vw - 2rem)); padding: 0.6rem; border: 1px solid var(--line-2); border-radius: 20px; background: var(--s1); box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.4); opacity: 0; visibility: hidden; translate: -50% -8px; transition: opacity 0.2s, translate 0.28s var(--ease), visibility 0s linear 0.28s; display: none; }
@media (min-width: 1000px) { .mega { display: block; } }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -0.75rem; height: 0.75rem; }
.mega.is-open { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.05fr; gap: 0.25rem; }
.mega__col { padding: 0.75rem 0.5rem 0.5rem; display: grid; align-content: start; gap: 0.1rem; }
.mega__col > .lab { padding: 0 0.75rem 0.5rem; }
.mi { display: grid; grid-template-columns: 2rem 1fr; gap: 0.2rem 0.75rem; align-items: start; padding: 0.6rem 0.75rem; border-radius: 12px; text-decoration: none; transition: background-color 0.15s; }
.mi:hover, .mi:focus-visible { background: var(--s2); }
.mi__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line-2); border-radius: 9px; background: var(--s2); color: var(--acc); transition: background-color 0.15s, border-color 0.15s; }
.mi:hover .mi__ic { background: var(--acc-soft); border-color: rgba(231, 226, 217, 0.32); }
.mi__t { font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.mi__d { font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }
.mi[aria-current="page"] .mi__t { color: var(--acc); }
.mega__feat { position: relative; display: grid; align-content: space-between; gap: 1.25rem; min-height: 100%; padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--s2), var(--s1)); overflow: hidden; }
.mega__feat h3 { font-size: 1.125rem; margin-top: 0.4rem; }
.mega__feat p { font-size: 0.875rem; color: var(--muted); margin-top: 0.5rem; }
.mega__feat img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.mega__all { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0.25rem 0.25rem 0; padding: 0.6rem 0.85rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.mega__all a { color: var(--text); text-decoration: none; font-weight: 500; }
.mega__all a:hover { color: var(--acc); }

/* Мобільне меню */
.mnav { position: fixed; z-index: 300; inset: 0; display: flex; flex-direction: column; background: var(--bg); transform: translateY(1.5rem); opacity: 0; visibility: hidden; transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0s linear 0.35s; }
.mnav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: var(--hd); padding-inline: 1.25rem; border-bottom: 1px solid var(--line); flex: none; }
.mnav__close { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0 0.85rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s2); cursor: pointer; font-weight: 500; }
.mnav__body { flex: 1; overflow-y: auto; padding: 0.75rem 1.25rem 1.5rem; overscroll-behavior: contain; }
.mnav__link, .acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3.5rem; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; text-decoration: none; cursor: pointer; font-size: 1.1875rem; font-weight: 520; letter-spacing: -0.015em; }
.acc__btn svg { width: 1.1rem; height: 1.1rem; color: var(--muted); transition: transform 0.3s var(--ease); flex: none; }
.acc.is-open > .acc__btn svg { transform: rotate(180deg); color: var(--acc); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.acc.is-open > .acc__panel { grid-template-rows: 1fr; }
.acc__in { overflow: hidden; min-height: 0; }
.mnav .acc .acc { margin-left: 0; }
.msub { padding: 0.25rem 0 0.75rem; }
.msub .acc__btn { min-height: 3rem; font-size: 1rem; font-weight: 500; border-bottom: 0; color: var(--muted); }
.msub .acc.is-open > .acc__btn { color: var(--text); }
.msub .acc__in a { display: grid; grid-template-columns: 2rem 1fr; gap: 0.1rem 0.75rem; align-items: center; padding: 0.6rem 0.25rem 0.6rem 0.5rem; text-decoration: none; border-radius: 12px; }
.msub .acc__in a:active { background: var(--s2); }
.msub .mi__ic { grid-row: 1 / 3; }
.mnav__foot { flex: none; padding: 0.9rem 1.25rem calc(0.9rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 0.5rem; background: var(--s1); }
.mnav .acc__btn[aria-expanded="true"] { color: var(--text); }

/* ---------- Головна: перший екран ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) 0; }
.hero__top { display: grid; gap: 1.5rem; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 0; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.stage { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--line-2); border-radius: 24px; background: var(--s1); padding: 0.5rem; }
.stage__img { border-radius: 18px; overflow: hidden; background: var(--s2); }
.stage__img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 40%; }
.chk { position: absolute; left: 1.25rem; bottom: 1.25rem; width: min(19rem, calc(100% - 2.5rem)); padding: 0.9rem 1rem; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(18, 18, 19, 0.95); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6); }
.chk__h { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.chk li { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0; font-size: 0.875rem; }
.chk li .ico { width: 1rem; height: 1rem; color: var(--acc); stroke-width: 2.2; }
.chk li + li { border-top: 1px solid var(--line); }
.chip-est { position: absolute; right: 1.25rem; bottom: 1.25rem; padding: 0.75rem 1rem; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(18, 18, 19, 0.95); text-align: right; box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6); }
.chip-est b { display: block; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(1.5rem, 3vw, 2.5rem); border-block: 1px solid var(--line); }
.stats > div { padding: 1.1rem 0; display: grid; gap: 0.2rem; }
.stats > div:nth-child(odd) { padding-right: 1rem; }
.stats > div:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.stats b { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 560; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stats span { font-size: 0.875rem; color: var(--muted); }
@media (min-width: 860px) {
  .hero__top { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 3rem; }
  .hero__btns { grid-column: 1; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats > div:nth-child(n) { border-top: 0; padding-left: 1.5rem; padding-right: 1rem; border-left: 1px solid var(--line); }
  .stats > div:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) { .stage__img img { aspect-ratio: 4 / 3; } .chk { position: static; width: auto; margin: 0.5rem 0.25rem 0.25rem; box-shadow: none; } .chip-est { display: none; } .stage { padding: 0.4rem; } }

/* ---------- Секції ---------- */
.sec-h { display: grid; gap: 0.9rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 44rem; }
.sec-h--row { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 860px) { .sec-h--row { grid-template-columns: 1.2fr 1fr; gap: 3rem; } }

/* Три напрямки: колонки з тонкими розділювачами */
.dirs { display: grid; border-top: 1px solid var(--line); }
.dir { display: grid; gap: 1rem; align-content: start; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.dir__img { border-radius: 14px; overflow: hidden; background: var(--s2); }
.dir__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.8s var(--ease); }
.dir:hover .dir__img img { transform: scale(1.03); }
.dir ul { display: grid; border-top: 1px solid var(--line); }
.dir li a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.9rem; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 0.9375rem; transition: color 0.15s, padding 0.25s var(--ease); }
.dir li a svg { width: 0.95rem; height: 0.95rem; color: var(--dim); transition: color 0.15s, transform 0.25s var(--ease); }
.dir li a:hover { color: var(--acc); padding-left: 0.35rem; }
.dir li a:hover svg { color: var(--acc); transform: translateX(2px); }
.dir p { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 900px) { .dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; } .dir { padding: 0 1.75rem; border-bottom: 0; border-left: 1px solid var(--line); } .dir:first-child { padding-left: 0; border-left: 0; } .dir:last-child { padding-right: 0; } }

/* Приміщення: вкладки + панель */
.tabs { display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; padding: 0.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--s1); width: fit-content; max-width: 100%; margin-bottom: 1.5rem; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 2.5rem; padding: 0 1rem; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; font-size: 0.9375rem; font-weight: 500; transition: color 0.15s, background-color 0.15s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--s3); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.pane { display: grid; gap: 1.5rem; padding: 0.5rem; border: 1px solid var(--line); border-radius: 24px; background: var(--s1); }
.pane[hidden] { display: none; }
.pane__img { border-radius: 18px; overflow: hidden; background: var(--s2); }
.pane__img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.pane__t { display: grid; gap: 1rem; align-content: center; padding: 1rem 1rem 1.25rem; }
.pane__t p { color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.85rem; border: 1px solid var(--line-2); border-radius: 99px; background: var(--s2); text-decoration: none; font-size: 0.875rem; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.pill:hover { border-color: var(--acc); color: var(--acc); }
@media (min-width: 900px) { .pane { grid-template-columns: 1.1fr 1fr; gap: 1rem; } .pane__t { padding: 1.5rem 1.75rem; } }

/* Порівняння типів прибирання */
.cmp-wrap { border: 1px solid var(--line); border-radius: 20px; background: var(--s1); overflow: hidden; }
.seg { display: flex; padding: 0.3rem; margin: 0.75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.seg button { flex: 1; min-height: 2.5rem; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; font-size: 0.875rem; font-weight: 500; transition: background-color 0.15s, color 0.15s; }
.seg button[aria-pressed="true"] { background: var(--s3); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: 0.8rem 1rem; text-align: left; border-top: 1px solid var(--line); font-size: 0.9375rem; font-weight: 400; vertical-align: middle; }
.cmp thead th { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dim); border-top: 0; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; width: 7.5rem; }
.cmp .yes { color: var(--acc); }
.cmp .no { color: var(--dim); }
.cmp td .ico { width: 1.1rem; height: 1.1rem; stroke-width: 2.2; }
.cmp tr:hover td, .cmp tr:hover th[scope="row"] { background: rgba(242, 240, 236, 0.02); }
.cmp-m .cmp [data-col] { display: none; }
@media (max-width: 760px) { .cmp td:not(:first-child), .cmp th:not(:first-child) { width: 4rem; } .cmp [data-col]:not(.is-on) { display: none; } .cmp th, .cmp td { padding: 0.75rem; } }
@media (min-width: 761px) { .seg { display: none; } .cmp [data-col] { display: table-cell; } }

/* Міні-калькулятор на головній */
.est { display: grid; gap: 1px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--line); overflow: hidden; }
.est > div { background: var(--s1); padding: clamp(1.25rem, 3vw, 2rem); }
.est__res { background: linear-gradient(180deg, var(--s2), var(--s1)) !important; display: grid; align-content: space-between; gap: 1.5rem; }
.est__sum { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); font-weight: 580; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.est__sum small { font-size: 1rem; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-left: 0.3rem; }
@media (min-width: 900px) { .est { grid-template-columns: 1.25fr 1fr; } }

/* Рядки послуг */
.rowl { border-top: 1px solid var(--line); }
.rowl a { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: center; padding: 1.1rem 0.75rem; margin-inline: -0.75rem; border-bottom: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: background-color 0.15s; }
.rowl a:hover { background: var(--s1); }
.rowl__n { font-weight: 500; }
.rowl__d { grid-column: 1; color: var(--muted); font-size: 0.875rem; }
.rowl__p { grid-row: 1 / 3; grid-column: 2; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.rowl__p small { display: block; font-size: 0.75rem; color: var(--dim); font-weight: 400; }
.split { display: grid; gap: 2rem; align-items: start; }
.split__img { border-radius: 20px; overflow: hidden; background: var(--s2); border: 1px solid var(--line); padding: 0.4rem; }
.split__img img { border-radius: 14px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 5rem); } .split--rev .split__img { order: 2; } }

/* Етапи */
.steps { display: grid; border-top: 1px solid var(--line); counter-reset: s; }
.step { display: grid; gap: 0.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.step::before { content: "0" counter(s); font-family: var(--mono); font-size: 0.75rem; color: var(--acc); }
.step p { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; } .step { padding: 0 1.5rem; border-bottom: 0; border-left: 1px solid var(--line); } .step:first-child { padding-left: 0; border-left: 0; } .step:last-child { padding-right: 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq .acc__btn { min-height: 4rem; font-size: 1.0625rem; padding-block: 0.5rem; }
.faq .acc__in p { padding: 0 3rem 1.4rem 0; color: var(--muted); }
.faq-g { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq-g { grid-template-columns: 4fr 7fr; gap: 4rem; } }

/* Фінальний заклик */
.cta { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 28px; background: var(--s1); display: grid; }
.cta__t { display: grid; gap: 1.25rem; align-content: center; padding: clamp(1.75rem, 5vw, 3.5rem); }
.cta__img img { width: 100%; height: 100%; min-height: 14rem; object-fit: cover; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.1fr 1fr; } }

/* ---------- Підвал ---------- */
.ft { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.ft__g { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.ft h2 { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.6rem; }
.ft ul { display: grid; }
.ft li a, .ft li > span { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--muted); text-decoration: none; font-size: 0.9375rem; transition: color 0.15s; }
.ft li a:hover { color: var(--text); }
.ft .empty-v { color: var(--dim); }
.ft__demo { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem; color: var(--muted); }
.ft__b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 1.1rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--dim); }
.ft__b a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--muted); text-decoration: none; }
.ft__b a:hover { color: var(--text); }
@media (min-width: 900px) { .ft__g { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 2rem; } }

/* ---------- Внутрішні сторінки ---------- */
.ph { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.ph__g { display: grid; gap: 1.25rem; }
.ph h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.75rem); max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem; font-size: 0.875rem; color: var(--dim); margin-bottom: 1.25rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 2.5rem; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span { margin-inline: 0.4rem; }
.note { padding: 0.8rem 1rem; border: 1px solid var(--line-2); border-left: 3px solid var(--acc); border-radius: 12px; background: var(--s1); font-size: 0.9375rem; color: var(--muted); max-width: 44rem; }
.note b { color: var(--text); font-weight: 500; }
.catnav { position: sticky; top: var(--hd); z-index: 20; display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; padding: 0.6rem var(--gut); background: rgba(11, 11, 12, 0.94); border-bottom: 1px solid var(--line); }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { flex: none; display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.9rem; border: 1px solid var(--line-2); border-radius: 99px; background: var(--s1); text-decoration: none; font-size: 0.875rem; color: var(--muted); transition: color 0.15s, border-color 0.15s; }
.catnav a:hover { color: var(--text); border-color: rgba(242, 240, 236, 0.28); }
.grp { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.grp__h { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; }
.svcs { display: grid; gap: 0.75rem; }
.svc { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: 0.5rem; border: 1px solid var(--line); border-radius: 20px; background: var(--s1); text-decoration: none; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.svc:hover { background: var(--s2); border-color: var(--line-2); }
.svc:active { transform: scale(0.995); }
.svc__img { border-radius: 14px; overflow: hidden; background: var(--s2); }
.svc__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.8s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.03); }
.svc__t { display: grid; gap: 0.5rem; align-content: center; padding: 0.5rem 0.75rem 0.75rem; }
.svc__t p { color: var(--muted); font-size: 0.9375rem; }
.svc__f { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; font-size: 0.9375rem; }
.svc__f b { font-weight: 550; font-variant-numeric: tabular-nums; }
.svc__f small { color: var(--dim); font-weight: 400; }
.svc__arr { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line-2); border-radius: 50%; color: var(--acc); transition: background-color 0.15s; }
.svc:hover .svc__arr { background: var(--acc-soft); }
@media (min-width: 760px) { .svc { grid-template-columns: 17rem 1fr; } .svc__img img { aspect-ratio: 4 / 3; height: 100%; } .svc__t { padding: 0.75rem 1rem 0.75rem 0.25rem; } }
@media (min-width: 1000px) { .svc { grid-template-columns: 20rem 1fr; } }

/* Послуга */
.sh { display: grid; gap: 1.75rem; }
.sh__img { border: 1px solid var(--line-2); border-radius: 24px; background: var(--s1); padding: 0.4rem; }
.sh__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts > div { padding: 1rem 0.75rem; display: grid; gap: 0.15rem; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dim); }
.facts dd { font-weight: 550; font-size: 1.0625rem; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.chk2 { display: grid; gap: 0; border-top: 1px solid var(--line); }
.chk2 li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.chk2 .ico { width: 1.15rem; height: 1.15rem; color: var(--acc); stroke-width: 2.2; margin-top: 0.15rem; }
.twoc { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .twoc { grid-template-columns: 1fr 1fr; gap: 4rem; } .sh { grid-template-columns: 5fr 6fr; align-items: center; gap: 3rem; } .sh__img { order: 2; } }
.fbox { padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--s1); display: grid; gap: 0.85rem; }
.fbox ul { display: grid; gap: 0.5rem; font-size: 0.9375rem; color: var(--muted); }
.fbox li { display: flex; gap: 0.6rem; }
.fbox li::before { content: ""; width: 0.35rem; height: 0.35rem; margin-top: 0.62rem; border-radius: 50%; background: var(--acc); flex: none; }
.sidenav { display: grid; gap: 0.5rem; }
.sidenav a { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.9rem; align-items: center; padding: 0.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--s1); text-decoration: none; transition: background-color 0.15s, border-color 0.15s; }
.sidenav a:hover { background: var(--s2); border-color: var(--line-2); }
.sidenav img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.sidenav b { display: block; font-weight: 500; font-size: 0.9375rem; line-height: 1.3; }
.sidenav span { font-size: 0.8125rem; color: var(--muted); }
.rel { display: grid; gap: 0.5rem; }
@media (min-width: 760px) { .rel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Для бізнесу */
.fmt { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); align-items: center; }
.fmt__img { border-radius: 20px; overflow: hidden; background: var(--s2); border: 1px solid var(--line); padding: 0.4rem; }
.fmt__img img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fmt__t { display: grid; gap: 1rem; align-content: center; }
.fmt__t p { color: var(--muted); }
@media (min-width: 900px) { .fmt { grid-template-columns: 1fr 1fr; gap: 4rem; } .fmt:nth-of-type(even) .fmt__img { order: 2; } }
.terms { display: grid; border: 1px solid var(--line); border-radius: 20px; background: var(--s1); overflow: hidden; }
.terms > div { padding: 1.4rem 1.5rem; display: grid; gap: 0.5rem; align-content: start; }
.terms > div + div { border-top: 1px solid var(--line); }
.terms p { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 900px) { .terms { grid-template-columns: repeat(3, 1fr); } .terms > div + div { border-top: 0; border-left: 1px solid var(--line); } }

/* Ціни */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 0.9rem 1rem; text-align: left; border-top: 1px solid var(--line); font-size: 0.9375rem; font-weight: 400; }
.tbl thead th { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dim); border-top: 0; }
.tbl td.n, .tbl th.n { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td b { font-weight: 550; }
.tbl .sub { display: block; color: var(--dim); font-size: 0.8125rem; }
.tcard { border: 1px solid var(--line); border-radius: 20px; background: var(--s1); overflow: hidden; }
.tcard__h { padding: 1.1rem 1.25rem; display: grid; gap: 0.25rem; }
.tcard__h p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 640px) { .tbl th, .tbl td { padding: 0.8rem 0.75rem; } }
.fac { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: f; }
.fac li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.25rem 0.75rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); counter-increment: f; }
.fac li::before { content: "0" counter(f); grid-row: 1 / 3; font-family: var(--mono); font-size: 0.75rem; color: var(--acc); padding-top: 0.2rem; }
.fac b { font-weight: 520; }
.fac p { color: var(--muted); font-size: 0.9375rem; }

/* Калькулятор */
.calc { display: grid; gap: 1.25rem; padding-bottom: var(--sec); align-items: start; }
.cf { display: grid; gap: 1.5rem; }
.cg { padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: var(--s1); display: grid; gap: 0.9rem; min-width: 0; margin: 0; }
.cg > legend, .cg__t { padding: 0; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.opts { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); }
.opt { position: relative; display: grid; gap: 0.15rem; padding: 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--s2); cursor: pointer; transition: border-color 0.15s, background-color 0.15s; -webkit-tap-highlight-color: transparent; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt:hover { border-color: rgba(242, 240, 236, 0.28); }
.opt:has(input:checked) { border-color: var(--acc); background: var(--acc-soft); }
.opt:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }
.opt b { font-weight: 520; font-size: 0.9375rem; }
.opt span { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.area { display: grid; grid-template-columns: 1fr auto; gap: 0.9rem 1rem; align-items: center; }
.area input[type=range] { grid-column: 1 / -1; width: 100%; height: 2rem; accent-color: var(--acc); background: none; }
.num { width: 6.5rem; min-height: 2.75rem; padding: 0 0.8rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s2); font-size: 1rem; text-align: right; font-variant-numeric: tabular-nums; }
.num:focus-visible, .inp:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
.area__v { font-size: 2rem; font-weight: 560; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.area__v small { font-size: 0.9375rem; color: var(--muted); margin-left: 0.25rem; font-weight: 400; }
.ex { display: grid; gap: 0.5rem; }
.ex__i { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; align-items: center; padding: 0.75rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--s2); transition: border-color 0.15s, background-color 0.15s; }
.ex__i:has(input[type=checkbox]:checked) { border-color: var(--acc); background: var(--acc-soft); }
.ex__l { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; min-height: 2.5rem; }
.ex__l input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ex__l i { flex: none; width: 1.3rem; height: 1.3rem; border: 1.5px solid #6f6b64; border-radius: 6px; display: grid; place-items: center; transition: background-color 0.15s, border-color 0.15s; }
.ex__l input:checked + i { background: var(--acc); border-color: var(--acc); }
.ex__l input:checked + i::after { content: ""; width: 0.3rem; height: 0.6rem; border: solid var(--acc-ink); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.ex__l input:focus-visible + i { outline: 2px solid var(--acc); outline-offset: 2px; }
.ex__p { font-variant-numeric: tabular-nums; font-size: 0.875rem; color: var(--muted); text-align: right; }
.stp { display: inline-flex; align-items: center; gap: 0.35rem; grid-column: 1 / -1; }
.stp[hidden] { display: none; }
.stp button { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s3); cursor: pointer; font-size: 1.2rem; line-height: 1; transition: background-color 0.15s, transform 0.15s; }
.stp button:hover:not(:disabled) { background: #26262a; }
.stp button:active:not(:disabled) { transform: scale(0.92); }
.stp button:disabled { opacity: 0.35; cursor: not-allowed; }
.stp output { min-width: 3.2rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.stp small { color: var(--dim); margin-left: 0.4rem; }
.sum { border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, var(--s2), var(--s1)); padding: 1.4rem; display: grid; gap: 1.1rem; }
.sum__big { font-size: clamp(2.4rem, 1.7rem + 2.8vw, 3.4rem); font-weight: 580; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sum__big small { display: block; margin-top: 0.4rem; font-size: 0.875rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.lines { display: grid; border-top: 1px solid var(--line); }
.lines > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.lines dt { color: var(--muted); }
.lines dd { text-align: right; font-weight: 500; }
.lines .minus dd { color: var(--acc); }
.lines .tot { border-bottom: 0; padding-top: 0.9rem; font-size: 1rem; }
.lines .tot dd { font-weight: 600; }
.disc { font-size: 0.8125rem; color: var(--muted); padding: 0.7rem 0.85rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--s1); line-height: 1.5; }
.sum__act { display: grid; gap: 0.5rem; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr) 24rem; gap: 2rem; } .sum { position: sticky; top: calc(var(--hd) + 1.25rem); } }
.sumbar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-2); background: rgba(18, 18, 19, 0.97); }
.sumbar b { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; display: block; line-height: 1.1; }
.sumbar span { font-size: 0.75rem; color: var(--muted); }
@media (min-width: 1000px) { .sumbar { display: none; } }
@media (max-width: 999px) { body.has-sumbar { padding-bottom: 4.5rem; } }

/* Контакти й форми */
.reach { display: grid; border-top: 1px solid var(--line); }
.reach li { border-bottom: 1px solid var(--line); }
.reach__l { display: flex; align-items: center; gap: 0.85rem; min-height: 3.75rem; padding: 0.7rem 0; text-decoration: none; }
.reach__ic { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s2); color: var(--muted); transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.reach__ic .ci { width: 1.05rem; height: 1.05rem; }
a.reach__l:hover .reach__ic, a.reach__l:focus-visible .reach__ic { border-color: var(--acc); color: var(--acc); background: var(--acc-soft); }
.reach__n { flex: 1; font-weight: 500; }
.reach__v { color: var(--muted); text-align: right; overflow-wrap: anywhere; font-size: 0.9375rem; }
a.reach__l:hover .reach__n { color: var(--acc); }
span.reach__l { color: var(--muted); }
.form { display: grid; gap: 1rem; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line-2); border-radius: 20px; background: var(--s1); align-content: start; }
.fld { display: grid; gap: 0.4rem; min-width: 0; }
.fld > label { font-size: 0.875rem; color: var(--muted); font-weight: 450; }
.inp { width: 100%; min-height: 2.9rem; padding: 0.55rem 0.85rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s2); font-size: 1rem; min-width: 0; }
textarea.inp { min-height: 6.5rem; resize: vertical; }
select.inp { -webkit-appearance: none; appearance: none; padding-right: 2.2rem; background: var(--s2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239ba4ac' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 0.7rem; }
.inp::placeholder { color: var(--dim); }
.fld__err { color: #ff8e7a; font-size: 0.875rem; }
.fld__err[hidden] { display: none; }
.r2 { display: grid; gap: 1rem; }
@media (min-width: 560px) { .r2 { grid-template-columns: 1fr 1fr; } }
.result { display: grid; gap: 0.8rem; padding: 1rem; border: 1px solid rgba(231, 226, 217, 0.28); border-radius: 14px; background: var(--acc-soft); }
.result[hidden] { display: none; }
.result pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 0.875rem; padding: 0.8rem; border-radius: 10px; background: var(--s1); color: var(--text); }
.result__a { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.cgrid { display: grid; gap: 2.5rem; padding-bottom: var(--sec); }
@media (min-width: 900px) { .cgrid { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; } }

/* Про компанію */
.prin { display: grid; border-top: 1px solid var(--line); }
.prin > div { display: grid; gap: 0.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.prin p { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 900px) { .prin { grid-template-columns: repeat(3, 1fr); border-top: 0; } .prin > div { padding: 0 1.75rem; border-bottom: 0; border-left: 1px solid var(--line); } .prin > div:first-child { padding-left: 0; border-left: 0; } }

/* Поява */
.js [data-in] { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.js [data-in].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; } .js [data-in] { opacity: 1; transform: none; } .mega { translate: -50% 0; } }

.mseg { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mseg button { min-height: 2.5rem; padding: 0 0.9rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--s2); color: var(--muted); cursor: pointer; font-size: 0.875rem; font-weight: 500; transition: border-color 0.15s, background-color 0.15s, color 0.15s, transform 0.15s; }
.mseg button:hover { color: var(--text); border-color: rgba(242, 240, 236, 0.28); }
.mseg button:active { transform: scale(0.96); }
.mseg button[aria-pressed="true"] { border-color: var(--acc); background: var(--acc-soft); color: var(--text); }
.demo { justify-self: start; width: fit-content; }
.hero h1 { max-width: 17ch; text-wrap: balance; }
.ft li > span { gap: 0.3rem; }
.rel .svc__img img { aspect-ratio: 4 / 3; }
.cg > legend { float: left; width: 100%; margin-bottom: 0.2rem; }
.cg > legend + * { clear: both; }
.acc.is-open .acc__btn svg { transform: rotate(180deg); color: var(--acc); }
.step { align-content: start; }

/* Три напрямки: заокруглені панелі тієї ж поверхні, що й таблиця порівняння */
.dirs { border-top: 0; gap: 0.75rem; }
.dir { padding: 0.6rem 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: 20px; background: var(--s1); gap: 0.9rem; transition: background-color 0.2s, border-color 0.2s; }
.dir:hover { background: var(--s2); border-color: var(--line-2); }
.dir > .lab, .dir > h3, .dir > p, .dir > ul { margin-inline: 0.6rem; }
.dir > .lab { margin-top: 0.7rem; }
.dir__img { border-radius: 14px; }
.dir ul { border-top: 1px solid var(--line); margin-bottom: 0; }
.dir li:last-child a { border-bottom: 0; }
@media (min-width: 900px) { .dirs { gap: 1rem; } .dir, .dir:first-child, .dir:last-child { padding: 0.6rem 0.6rem 0.9rem; border-left: 1px solid var(--line); } .dir:hover { border-left-color: var(--line-2); } }
@media (min-width: 900px) { .dir > p { min-height: 3.2em; } .dir__img img { aspect-ratio: 16 / 10; } }
@media (min-width: 900px) { .dir > p.lab { min-height: 0; } }

/* Перемикач мови в підвалі — праворуч */
a[data-lang-link] { margin-left: auto; }
