/* OPEN24 Ужгород — власна тема студії SoftPlus.
   Три палітри: voda (типова), sakura, lis. Перемикач — атрибут data-theme на <html>. */

:root {
  --bg:        #f4f7f8;
  --surface:   #ffffff;
  --surface-2: #eef4f5;
  --ink:       #17252c;
  --ink-2:     #33474f;
  --muted:     #5a6e78;
  --line:      #dbe6ea;
  --line-2:    #c7d8dd;
  --acc:       #0e7c86;
  --acc-hi:    #0b656d;
  --acc-2:     #14a0a8;
  --acc-soft:  #e3f2f3;
  --acc-ink:   #05464c;
  --sig:       #b14f2b;
  --sig-soft:  #fbeee8;
  --ok:        #2f7d52;
  --shadow:    0 1px 2px rgba(23,37,44,.05), 0 8px 24px -16px rgba(23,37,44,.22);
  --r:         18px;
  --r-s:       12px;
  --wrap:      1180px;
  --bar:       0px;
}

html[data-theme="sakura"] {
  --bg:        #fbf7f6;
  --surface:   #ffffff;
  --surface-2: #f6ecef;
  --ink:       #2b2430;
  --ink-2:     #46394b;
  --muted:     #6e6270;
  --line:      #ecdfe3;
  --line-2:    #ddc7ce;
  --acc:       #9c4f6c;
  --acc-hi:    #843f59;
  --acc-2:     #c2708c;
  --acc-soft:  #f8e9ee;
  --acc-ink:   #5c2a3d;
  --sig:       #a2582a;
  --sig-soft:  #f9eee6;
  --ok:        #6a7a45;
  --shadow:    0 1px 2px rgba(43,36,48,.05), 0 8px 24px -16px rgba(43,36,48,.24);
}

html[data-theme="lis"] {
  --bg:        #f6f6f1;
  --surface:   #ffffff;
  --surface-2: #edf1e9;
  --ink:       #1f2a22;
  --ink-2:     #38463b;
  --muted:     #5d6b60;
  --line:      #e2e5da;
  --line-2:    #cdd4c3;
  --acc:       #3c6b4e;
  --acc-hi:    #2f573e;
  --acc-2:     #4e8a63;
  --acc-soft:  #e6efe7;
  --acc-ink:   #23402d;
  --sig:       #995d2b;
  --sig-soft:  #f7eee4;
  --ok:        #3c6b4e;
  --shadow:    0 1px 2px rgba(31,42,34,.05), 0 8px 24px -16px rgba(31,42,34,.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  padding-bottom: var(--bar);
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-hi); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--acc-2); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(31px, 4.6vw, 52px); }
h2 { font-size: clamp(25px, 3.2vw, 36px); }
h3 { font-size: clamp(18px, 1.9vw, 21px); letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin: .3em 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ic { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--surface); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─────────── Шапка ─────────── */

.hd {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, #fff);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}
.hd__in { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: var(--ink); }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo__m { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--acc); color: #fff; }
.logo__m svg { width: 20px; height: 20px; }
.logo__t small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }

.nav { position: relative; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav__top {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 11px; border-radius: 9px; color: var(--ink-2);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav > a:hover, .nav__top:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav > a[aria-current], .nav__top[aria-current] { color: var(--acc); background: var(--acc-soft); }
.nav__ic { width: 17px; height: 17px; color: var(--acc); opacity: .9; }
.nav__car { width: 13px; height: 13px; opacity: .55; transform: rotate(90deg); transition: transform .18s ease; }

.nav__has { position: static; }
.nav__has:hover .nav__car, .nav__has:focus-within .nav__car { transform: rotate(-90deg); }
.drop {
  position: absolute; top: 100%; right: 0; z-index: 80; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-7px);
  transition: opacity .17s ease, transform .17s ease, visibility 0s linear .17s;
}
.nav__has:hover .drop, .nav__has:focus-within .drop {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .17s ease, transform .17s ease, visibility 0s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; }
.drop__in {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: 640px; max-width: calc(100vw - 40px); padding: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow);
}
.drop__i {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px;
  border-radius: 10px; color: var(--ink); transition: background .14s ease;
}
.drop__i:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.drop__m { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--acc-soft); color: var(--acc); }
.drop__m svg { width: 18px; height: 18px; }
.drop__t { font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.drop__t small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.drop__all { grid-column: 1 / -1; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; text-align: center; font-size: 14.5px; font-weight: 700; color: var(--acc); }
.drop__all:hover { background: var(--acc-soft); text-decoration: none; }

.hd__act { display: flex; align-items: center; gap: 10px; }
.hd__tel { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.hd__tel:hover { color: var(--acc); text-decoration: none; }
.hd__tel svg { color: var(--acc); width: 18px; height: 18px; }

.lang { display: flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.lang a { padding: 5px 9px; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.lang a:hover { background: var(--surface-2); text-decoration: none; }
.lang a[aria-current] { background: var(--acc); color: #fff; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* ─────────── Кнопки ─────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, color .15s;
  min-height: 48px; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--acc { background: var(--acc); color: #fff; }
.btn--acc:hover { background: var(--acc-hi); color: #fff; }
.btn--out { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--out:hover { border-color: var(--acc); color: var(--acc); }
.btn--sig { background: var(--sig); color: #fff; }
.btn--sig:hover { background: color-mix(in srgb, var(--sig) 84%, #000); color: #fff; }
.btn--wide { width: 100%; }

/* ─────────── Перший екран ─────────── */

.hero { padding: clamp(30px, 5vw, 62px) 0 clamp(34px, 5vw, 58px); }
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 13px 6px 9px; border-radius: 999px;
  background: var(--sig-soft); color: var(--sig);
  font-size: 13.5px; font-weight: 700;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero__lead { font-size: clamp(16.5px, 1.5vw, 18.5px); color: var(--ink-2); max-width: 34em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 24px; padding: 0; list-style: none; }
.hero__facts li {
  display: inline-flex; align-items: center; gap: 7px; margin: 0;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.hero__facts svg { width: 17px; height: 17px; color: var(--acc); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* картка виклику */
.callcard {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow);
  position: relative;
}
.callcard::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 5px;
  border-radius: 22px 22px 0 0; background: linear-gradient(90deg, var(--acc), var(--acc-2));
}
.callcard h2 { font-size: 21px; margin-bottom: 6px; }
.callcard__note { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.f { display: grid; gap: 12px; }
.f label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); display: block; margin-bottom: 5px; }
.f input, .f textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-s);
  min-height: 48px;
}
.f textarea { min-height: 78px; resize: vertical; }
.f input:focus, .f textarea:focus { border-color: var(--acc); background: var(--surface); outline: none; box-shadow: 0 0 0 3px var(--acc-soft); }
.f__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f__consent { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.f__consent a { color: var(--muted); text-decoration: underline; }
.f__msg { font-size: 14.5px; font-weight: 600; padding: 12px 14px; border-radius: var(--r-s); display: none; }
.f__msg.is-on { display: block; }
.f__msg.ok { background: var(--acc-soft); color: var(--acc-ink); }
.f__msg.err { background: var(--sig-soft); color: var(--sig); }
.callcard__or { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); text-align: center; font-size: 14px; color: var(--muted); }
.callcard__or a { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.callcard__or a:hover { color: var(--acc); }

/* ─────────── Смуга фактів ─────────── */

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__i { padding: 22px 20px; text-align: center; border-right: 1px solid var(--line); }
.strip__i:last-child { border-right: 0; }
.strip__n { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: -.03em; color: var(--acc); line-height: 1.1; }
.strip__c { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ─────────── Секції ─────────── */

.sec { padding: clamp(46px, 6.4vw, 84px) 0; }
.sec--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec__k { display: block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); margin-bottom: 10px; }
.sec__h { max-width: 22ch; }
.sec__lead { font-size: 17px; color: var(--muted); max-width: 62ch; margin-bottom: 34px; }
.sec__hd { margin-bottom: 34px; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 20px; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
a.tile:hover { text-decoration: none; border-color: var(--acc); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.tile__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--acc-soft); color: var(--acc); margin-bottom: 14px; }
.tile h3 { margin-bottom: 6px; }
.tile p { font-size: 14.5px; color: var(--muted); margin: 0; }
.tile__p { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--acc); display: flex; align-items: center; gap: 6px; }
.tile__p svg { width: 16px; height: 16px; }

/* кроки */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; right: 10px; top: -14px;
  font-size: 76px; font-weight: 800; letter-spacing: -.05em;
  color: var(--surface-2); line-height: 1; pointer-events: none;
}
.step h3, .step p { position: relative; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* причини */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.why__i { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.why__ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--acc-soft); color: var(--acc); }
.why__i h3 { font-size: 17px; margin-bottom: 4px; }
.why__i p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ціни */
.ptab { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ptab caption { text-align: left; font-size: 14px; color: var(--muted); padding-bottom: 10px; }
.ptab th, .ptab td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ptab thead th { background: var(--surface-2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ptab tbody tr:last-child td { border-bottom: 0; }
.ptab td:last-child, .ptab th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.ptab a { font-weight: 600; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* райони */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chips a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}
.chips a:hover { border-color: var(--acc); color: var(--acc); text-decoration: none; }
.chips svg { width: 16px; height: 16px; color: var(--acc); }

/* документи */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.doc h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.doc h3 svg { color: var(--acc); }
.doc ul { list-style: none; padding: 0; margin: 12px 0 0; }
.doc li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); padding: 7px 0; border-bottom: 1px dashed var(--line); }
.doc li:last-child { border-bottom: 0; }
.doc li::before { content: "—"; color: var(--acc); font-weight: 700; }

/* текстовий блок */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose ul li { color: var(--ink-2); }
.prose__note { border-left: 3px solid var(--acc); background: var(--acc-soft); padding: 14px 18px; border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--acc-ink); font-size: 15px; }

/* FAQ */
.faq__list { display: grid; gap: 10px; max-width: 900px; }
.faq__i { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s); }
.faq__i summary {
  list-style: none; cursor: pointer; padding: 16px 50px 16px 18px;
  font-weight: 700; font-size: 16px; position: relative;
}
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s;
}
.faq__i[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__i[open] summary { color: var(--acc); }
.faq__a { padding: 0 18px 16px; }
.faq__a p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* заклик */
.cta { background: var(--acc-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: clamp(30px, 4vw, 48px); padding-bottom: clamp(30px, 4vw, 48px); }
.cta h2 { margin-bottom: 6px; color: var(--acc-ink); }
.cta p { margin: 0; color: var(--ink-2); }
.cta__ph { display: flex; flex-wrap: wrap; gap: 12px; }

/* хлібні крихти */
.crumbs { border-bottom: 1px solid var(--line); background: var(--surface); font-size: 13.5px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 12px 0; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--acc); }

/* сторінка */
.page__hd { padding-top: clamp(28px, 3.6vw, 46px); padding-bottom: clamp(20px, 2.6vw, 30px); }
.page__hd h1 { max-width: 20ch; }
.page__hd .lead { font-size: 17.5px; color: var(--ink-2); max-width: 62ch; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 372px; gap: clamp(26px, 3.4vw, 48px); align-items: start; padding-bottom: clamp(46px, 6vw, 76px); }
.side { position: sticky; top: 86px; display: grid; gap: 16px; }
.side__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.side__box h3 { font-size: 17px; }
.side__box ul { list-style: none; padding: 0; margin: 0; }
.side__box li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.side__box li:last-child { border-bottom: 0; }
.side__price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.side__price b { font-size: 26px; letter-spacing: -.02em; color: var(--acc); }

/* підвал */
.ft { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(36px, 4vw, 52px) 0 24px; }
.ft__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; }
.ft h3 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ft ul { list-style: none; padding: 0; margin: 0; }
.ft li { margin: 0; padding: 4px 0; }
.ft a { color: var(--ink-2); font-size: 15px; }
.ft a:hover { color: var(--acc); }
.ft__tel { display: block; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 6px; }
.ft__about { font-size: 14.5px; color: var(--muted); max-width: 34ch; }
.ft__bt { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.ft__by a { color: var(--muted); font-weight: 600; }
.ft__by a:hover { color: var(--acc); }

/* нижня панель на телефоні */
.callbar { display: none; }

/* ─────────── Адаптив ─────────── */

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; width: 44px; height: 44px; }
  .hd__in { gap: 12px; }
  /* .nav ніс margin-left:auto — сховали меню, і блок дій прилип до логотипа */
  .hd__act { margin-left: auto; }
  /* на 861-1080 телефон лишається цифрами, але сам рядок мав висоту 26 px —
     нижче норми дотику 44 (iPad в альбомі 1024; задача №1033) */
  .hd__tel { min-height: 44px; }
  .hero__in { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .side { position: static; }
  .ft__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .grid--3, .grid--4, .steps, .why, .docs { grid-template-columns: repeat(2, 1fr); }
  .strip__in { grid-template-columns: repeat(2, 1fr); }
  .strip__i:nth-child(2) { border-right: 0; }
  .strip__i:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  /* номер цифрами поряд з логотипом на 393px не влазить, тому ховаємо
     цифри, але сам телефон робимо кнопкою того ж розміру, що й бургер:
     до правки лишалась гола іконка 18x18 — тап-таргет у 6 разів менший
     за площею від норми 44x44 (задача №1033) */
  .hd__tel span { display: none; }
  .hd__tel {
    width: 44px; height: 44px; justify-content: center; gap: 0;
    border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface);
  }
  .hd__tel svg { width: 20px; height: 20px; }
}

@media (max-width: 640px) {
  :root { --bar: 68px; }
  .grid--2, .grid--3, .grid--4, .steps, .why, .docs { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero__btns .btn { width: 100%; }
  .lang { display: none; }
  .ft__in { grid-template-columns: 1fr; gap: 24px; }
  .cta__in { flex-direction: column; align-items: flex-start; }
  .cta__ph { width: 100%; }
  .cta__ph .btn { width: 100%; }
  .why__i { padding: 16px 0; flex-direction: column; gap: 10px; }
  .ptab th, .ptab td { padding: 12px 14px; font-size: 14.5px; }

  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: 68px; padding: 10px 12px; gap: 10px;
    background: color-mix(in srgb, var(--surface) 96%, var(--acc));
    border-top: 1px solid var(--line-2);
  }
  .callbar a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 12px; font-weight: 700; font-size: 15.5px; min-height: 48px; }
  .callbar .cb1 { background: var(--acc); color: #fff; }
  .callbar .cb2 { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
  .callbar a:hover { text-decoration: none; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  h1 { font-size: 27px; }
  .hero__facts li { font-size: 13px; padding: 7px 11px; }
  .logo { font-size: 18px; }
}

/* мобільне меню */
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: none; overflow-y: auto; }
.mnav.is-on { display: block; animation: mnav-in .19s ease both; }
.mnav.is-on > .wrap > * { animation: mnav-up .28s cubic-bezier(.2, .7, .3, 1) both; }
.mnav.is-on > .wrap > :nth-child(2) { animation-delay: .04s; }
.mnav.is-on > .wrap > :nth-child(3) { animation-delay: .07s; }
.mnav.is-on > .wrap > :nth-child(4) { animation-delay: .1s; }
@keyframes mnav-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mnav-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mnav__hd { display: flex; align-items: center; justify-content: space-between; min-height: 66px; border-bottom: 1px solid var(--line); }
.mnav__x { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
.mnav ul { list-style: none; padding: 14px 0; margin: 0; }
.mnav li { margin: 0; border-bottom: 1px solid var(--line); }
.mnav__row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 15px 4px; font-size: 18px; font-weight: 700; color: var(--ink);
  background: none; border: 0; text-align: left; font-family: inherit; cursor: pointer;
}
.mnav__row:hover { text-decoration: none; color: var(--ink); }
.mnav__row > span { flex: 1 1 auto; }
.mnav__ic { width: 21px; height: 21px; flex: none; color: var(--acc); }
.mnav__car { width: 16px; height: 16px; flex: none; opacity: .5; transform: rotate(90deg); transition: transform .24s ease; }
.mnav__has.is-on .mnav__car { transform: rotate(-90deg); }

.mnav__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.mnav__has.is-on .mnav__sub { grid-template-rows: 1fr; }
.mnav__subin { overflow: hidden; min-height: 0; }
.mnav__all { display: block; padding: 10px 4px 12px 37px; font-size: 15px; font-weight: 700; color: var(--acc); }
.mnav__s { display: flex; align-items: center; gap: 10px; padding: 11px 4px 11px 37px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.mnav__s:hover, .mnav__all:hover { text-decoration: none; color: var(--acc); }
.mnav__sic { width: 18px; height: 18px; flex: none; color: var(--acc); opacity: .85; }
.mnav__subin > :last-child { margin-bottom: 8px; }

.mnav__tel {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 18px; padding: 15px 18px; min-height: 56px;
  background: var(--acc); color: #fff; border-radius: 13px;
  font-size: 19px; font-weight: 800; letter-spacing: -.01em;
  transition: background .15s ease, transform .15s ease;
}
.mnav__tel:hover { background: var(--acc-hi); color: #fff; text-decoration: none; transform: translateY(-1px); }
.mnav__tel svg { width: 22px; height: 22px; }

.mnav__lang { display: flex; gap: 10px; padding: 18px 0 40px; }
.mnav__lang a { flex: 1; text-align: center; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 700; color: var(--ink-2); }
.mnav__lang a[aria-current] { background: var(--acc); color: #fff; border-color: var(--acc); }

/* палітра */
.pal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pal__c { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.pal__sw { display: flex; height: 84px; }
.pal__sw i { flex: 1; }
.pal__b { padding: 18px 20px; }
.pal__b h3 { margin-bottom: 4px; }
.pal__b p { font-size: 14.5px; color: var(--muted); }
.pal__hex { font: 600 12.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); }
@media (max-width: 860px) { .pal { grid-template-columns: 1fr; } }

.uzfabs { position: fixed; right: 16px; bottom: 16px; z-index: 75; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.uzfab { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; padding: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(23,37,44,.24); transition: transform .2s ease, box-shadow .2s ease; }
.uzfab svg { width: 22px; height: 22px; }
.uzfab:hover, .uzfab:focus-visible { transform: translateY(-3px) scale(1.06); color: #fff; text-decoration: none; box-shadow: 0 10px 24px rgba(23,37,44,.3); }
.uzfab--tel { background: var(--acc); }
.uzfab--tel:hover { background: var(--acc-hi); }
.uzfab--zv { background: var(--sig); }
.uzfab--vb { background: #7360f2; }
.uzfab--tg { background: #229ed9; }
.uzfab--wa { background: #25d366; }

.uzmod { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 18px; }
.uzmod[hidden] { display: none; }
.uzmod__bg { position: absolute; inset: 0; background: rgba(23,37,44,.55); }
.uzmod__box { position: relative; width: 100%; max-width: 440px; max-height: 92vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px 22px; }
.uzmod__x { position: absolute; top: 8px; right: 10px; width: 38px; height: 38px; border: 0; background: transparent;
  color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; border-radius: 10px; }
.uzmod__x:hover { background: var(--surface-2); color: var(--ink); }
.uzmod__t { margin: 0 0 6px; }
.uzmod__lead { margin: 0 0 14px; color: var(--muted); }

@media (max-width: 640px) {
  .uzfabs { right: 12px; bottom: calc(var(--bar) + 12px); gap: 8px; }
  .uzfab { width: 42px; height: 42px; }
  .uzfab svg { width: 20px; height: 20px; }
  .uzfab--tel { display: none; }
  .uzmod__box { padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .uzfab { transition: none; }
  .uzfab:hover, .uzfab:focus-visible { transform: none; }
}
