/* ============================================================
   Digital Workplace — лендінг, спільні стилі.
   ОДИН ФАЙЛ НА ДВІ МОВИ. Доки стилі лежали всередині index.php,
   англійська версія означала б другу копію чотирьохсот рядків CSS —
   і перша ж правка кольору, зроблена лише в одній із них, тихо
   розвела б сторінки. Тут вони спільні за означенням.
   ============================================================ */
/* ============================================================
   Digital Workplace — лендінг
   Візуальна ідея: технічний паспорт виробу. Волосяні лінійки,
   моно-підписи з реальними числами, скриншоти як нумеровані рисунки.
   ============================================================ */

/* --- світла палітра (стан за замовчуванням) --- */
:root {
  --paper:      #edf0f3;
  --paper-2:    #e3e8ed;
  --surface:    #ffffff;
  --ink:        #101720;
  --ink-band:   #101720;
  --on-band:    #e8edf3;
  --on-band-2:  #9aa8ba;
  --text:       #101720;
  --text-2:     #47576b;
  --text-3:     #5b6675;
  --rule:       #cfd8e1;
  --rule-soft:  #dde4eb;
  --accent:     #875a11;   /* темніше за фірмову вохру: підпис 12px має читатися */
  --accent-mark:#d99a2b;   /* яскрава вохра — тільки заливки й лінії, не дрібний текст */
  --accent-on-band: #e8b44a;
  --sky:        #2554c7;
  --ok:         #2b7f5b;
  --no:         #a8442f;
  --shadow:     0 1px 2px rgba(16,23,32,.05), 0 12px 32px -12px rgba(16,23,32,.18);
  --shadow-lg:  0 2px 4px rgba(16,23,32,.06), 0 30px 60px -24px rgba(16,23,32,.32);

  --display: 'Unbounded', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --gap: clamp(56px, 8vw, 116px);
  --pad: clamp(18px, 4vw, 40px);
  --max: 1220px;
}
/* Unbounded може не мати кирилиці — тоді гард нижче знімає розрядку,
   розраховану саме на нього, і заголовки лишаються цілісними */
:root.no-display-face { --display: 'Manrope', system-ui, sans-serif; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #0b1017;
    --paper-2:    #111925;
    --surface:    #141d29;
    --ink:        #e8edf3;
    --ink-band:   #060a10;
    --on-band:    #e8edf3;
    --on-band-2:  #8d9cb0;
    --text:       #e6ebf1;
    --text-2:     #a3b1c2;
    --text-3:     #8593a6;
    --rule:       #24303d;
    --rule-soft:  #1c2733;
    --accent:     #e8b44a;
    --accent-mark:#e8b44a;
    --accent-on-band: #e8b44a;
    --sky:        #7ea8f7;
    --ok:         #4fbf8b;
    --no:         #e08a75;
    --shadow:     0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    --shadow-lg:  0 2px 4px rgba(0,0,0,.5), 0 30px 60px -24px rgba(0,0,0,.75);
  }
}
:root[data-theme="dark"] {
  --paper:      #0b1017;
  --paper-2:    #111925;
  --surface:    #141d29;
  --ink:        #e8edf3;
  --ink-band:   #060a10;
  --on-band:    #e8edf3;
  --on-band-2:  #8d9cb0;
  --text:       #e6ebf1;
  --text-2:     #a3b1c2;
  --text-3:     #8593a6;
  --rule:       #24303d;
  --rule-soft:  #1c2733;
  --accent:     #e8b44a;
  --accent-mark:#e8b44a;
  --accent-on-band: #e8b44a;
  --sky:        #7ea8f7;
  --ok:         #4fbf8b;
  --no:         #e08a75;
  --shadow:     0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg:  0 2px 4px rgba(0,0,0,.5), 0 30px 60px -24px rgba(0,0,0,.75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height:auto обов'язкове: у зображень задані атрибути width/height
   (щоб браузер зарезервував місце), без цього вони розтягуються по вертикалі */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* --- каркас --- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.band { position: relative; padding: var(--gap) 0; }
.band--rule { border-top: 1px solid var(--rule); }
.band--dark {
  background: var(--ink-band);
  color: var(--on-band);
  --text: var(--on-band);
  --text-2: var(--on-band-2);
  --text-3: var(--on-band-2);
  --rule: #22303f;
  --rule-soft: #1a2530;
  --surface: #16202c;
  /* обов'язково: клітинки сіток фарбуються з --paper, і без цього
     в темній смузі вони лишалися б світлими зі світлим текстом */
  --paper: var(--ink-band);
  --paper-2: #16202c;
  --accent: var(--accent-on-band);
  --accent-mark: var(--accent-on-band);
  --sky: #7ea8f7;
}
.band--tint { background: var(--paper-2); }

/* моно-підпис розділу: несе реальне число, а не порядковий номер */
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
}
.eyebrow::after {
  content: ''; flex: 1; height: 1px; background: var(--rule); max-width: 220px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 6.2vw, 66px); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: clamp(27px, 3.9vw, 42px); line-height: 1.1; letter-spacing: -.022em; }
h3 { font-size: 19px; line-height: 1.32; letter-spacing: -.012em; font-weight: 700; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 62ch; margin: 18px 0 0; }
p { margin: 14px 0 0; }
.sec-head { max-width: 66ch; margin-bottom: 44px; }

/* --- кнопки --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 24px; border-radius: 2px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; position: relative;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s, border-color .18s, color .18s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--gold { background: var(--accent-mark); color: #1a1204; border-color: var(--accent-mark); }
.btn--gold:hover { transform: translateY(-2px); background: #eab949; border-color: #eab949; }
.btn--line { border-color: currentColor; color: inherit; opacity: .92; }
.btn--line:hover { transform: translateY(-2px); opacity: 1; background: rgba(127,145,170,.12); }
.btn:focus-visible, a:focus-visible, .theme-btn:focus-visible {
  outline: 2px solid var(--accent-mark); outline-offset: 3px;
}

/* --- шапка --- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink-band) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #1d2836;
  color: var(--on-band);
}
.top__in { display: flex; align-items: center; gap: 14px; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; font-weight: 800; letter-spacing: -.01em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 7px; flex: none;
  background: #182231; display: grid; place-items: center;
  border: 1px solid #2a3646;
}
.brand__mark svg { width: 17px; height: 17px; color: var(--accent-on-band); }
.top nav { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.top nav a { text-decoration: none; font-size: 14.5px; color: #b9c5d4; font-weight: 500; transition: color .16s; }
.top nav a:hover { color: #fff; }
.top__call {
  font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--accent-on-band);
  text-decoration: none; white-space: nowrap; padding: 8px 14px;
  border: 1px solid #34404f; border-radius: 2px; transition: border-color .16s, background .16s;
}
.top__call:hover { border-color: var(--accent-on-band); background: rgba(232,180,74,.1); }
/* Перемикач мови. Не прапорець: прапор означає країну, а не мову, і
   британський прапорець на сторінці про український продукт читається
   дивно. Дві літери зрозумілі без пояснень. */
.lang-btn {
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: #b9c5d4; text-decoration: none; flex: none; padding: 8px 10px;
  border: 1px solid #34404f; border-radius: 2px; transition: border-color .16s, color .16s;
}
.lang-btn:hover { border-color: #55647a; color: #fff; }
.theme-btn {
  width: 36px; height: 36px; border-radius: 2px; flex: none; cursor: pointer;
  background: transparent; border: 1px solid #34404f; color: #b9c5d4;
  display: grid; place-items: center; transition: border-color .16s, color .16s;
}
.theme-btn:hover { border-color: #55647a; color: #fff; }
.theme-btn svg { width: 17px; height: 17px; }
/* Між 901 і 1020 пікселями меню ще вміщається — але лише якщо стиснути
   проміжки. Без цього рядка шапка на ноутбуці 1024 і на планшеті в
   альбомній орієнтації розпирала сторінку горизонтальною прокруткою:
   п'ять елементів шапки мають сталу ширину й не стискаються самі. */
/* ШАПКА СТИСКАЄТЬСЯ РАНІШЕ, НІЖ ЗЛАМАЄТЬСЯ.
   Пунктів меню стало більше (додались «Проекти» й «Магазин»), і
   проміжний режим на 1020 вже не рятував: між 901 і 1020 пікселями
   меню ще показувалось, але разом із назвою, мовою, темою й номером
   телефону не вміщалось — і сторінка отримувала горизонтальну
   прокрутку на всю висоту. Тому меню ховається на 1100, а стискається
   до 1260: обидва числа взято з виміряної ширини найдовшої шапки
   (українська головна — 1052 пікселі вмісту), а не «на око». */
@media (max-width: 1260px) {
  .top__in { gap: 10px; }
  .top nav { gap: 16px; }
  .top nav a { font-size: 14px; }
  .top__call { padding: 8px 10px; }
}
/* Пунктів у меню побільшало (1.157: «Заявки», «Чергування») — щоб вони
   не переносились на другий рядок і не зсували телефон, на вузьких
   екранах стискаємо проміжки, а не ховаємо розділи. */
.top nav a { white-space: nowrap; }
@media (max-width: 1460px) { .top nav { gap: 17px; } .top nav a { font-size: 13.5px; } }
@media (max-width: 1320px) { .top nav { gap: 12px; } .top nav a { font-size: 13px; } }
@media (max-width: 1100px) { .top nav { display: none; } }
/* на вузькому екрані лишаємо знак і телефон — назва не має розпирати шапку */
@media (max-width: 600px) {
  .top__in { gap: 10px; }
  .brand span:last-child { display: none; }
  .top__call { font-size: 13px; padding: 8px 11px; margin-left: auto; }
}

/* --- герой --- */
.hero { position: relative; overflow: hidden; padding: clamp(52px, 7vw, 96px) 0 clamp(48px, 6vw, 84px); }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(150,170,200,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(150,170,200,.09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 25%, transparent 78%);
}
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0,0.95fr) minmax(0,1.25fr); gap: clamp(30px, 4vw, 56px); align-items: center; }
@media (max-width: 1000px) { .hero__in { grid-template-columns: minmax(0,1fr); } }
/* мобільний знімок вужчий — тримаємо його по центру рамки, а не на всю ширину */
@media (max-width: 700px) {
  .hero__fig .fig__frame { max-width: 340px; margin: 0 auto; border-radius: 4px; }
  .hero__fig figcaption { justify-content: center; text-align: center; }
}
/* знімок виходить за праву межу екрана — інтерфейс «продовжується» за кадром
   і лишається читабельним, а не стискається до нерозбірливого прямокутника */
@media (min-width: 1001px) {
  .hero__fig { margin-right: calc(-1 * var(--pad) - (100vw - min(100vw, var(--max))) / 2); }
  .hero__fig .fig__frame { border-radius: 4px 0 0 4px; border-right: 0; }
}

.hero h1 .ln { display: block; }
.hero h1 em { font-style: normal; color: var(--accent-on-band); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* паспортна табличка виробу */
.plate {
  margin-top: 34px; border: 1px solid #2a3646; border-radius: 3px;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  font-family: var(--mono); font-size: 12.5px;
}
.plate__cell { padding: 12px 14px; border-right: 1px solid #2a3646; border-bottom: 1px solid #2a3646; }
.plate__cell:nth-child(2n) { border-right: 0; }
.plate__cell:nth-last-child(-n+2) { border-bottom: 0; }
.plate__k { color: #7d8b9e; letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; }
.plate__v { color: #dbe3ec; margin-top: 4px; font-weight: 500; }
@media (max-width: 420px) {
  .plate { grid-template-columns: minmax(0,1fr); }
  .plate__cell { border-right: 0; }
  .plate__cell:nth-last-child(-n+2) { border-bottom: 1px solid #2a3646; }
  .plate__cell:last-child { border-bottom: 0; }
}

/* --- рисунок (скриншот) --- */
figure.fig { margin: 0; }
.fig__frame {
  border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg);
  transition: transform .35s cubic-bezier(.2,.7,.3,1);
}
.fig--lift:hover .fig__frame { transform: translateY(-5px); }
.fig__bar {
  display: flex; align-items: center; gap: 6px; padding: 9px 12px;
  border-bottom: 1px solid var(--rule-soft); background: var(--paper-2);
}
.fig__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.fig__url {
  margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
figcaption {
  font-family: var(--mono); font-size: 12px; color: var(--text-3);
  margin-top: 12px; display: flex; gap: 9px; align-items: baseline;
}
figcaption b { color: var(--accent); font-weight: 500; white-space: nowrap; }

/* --- смуга-контекст --- */
.context { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(28px,4vw,64px); align-items: start; }
@media (max-width: 900px) { .context { grid-template-columns: minmax(0,1fr); } }
.quotebox { border-left: 3px solid var(--accent-mark); padding: 4px 0 4px 22px; }
.quotebox p:first-child { margin-top: 0; }
.claims { display: grid; gap: 2px; }
.claim { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--rule-soft); }
.claim:first-child { border-top: 1px solid var(--rule-soft); }
.claim svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.claim h3 { font-family: var(--body); font-size: 16.5px; font-weight: 700; }
.claim p { margin-top: 4px; font-size: 15px; color: var(--text-2); }
/* чотири пункти рівно 2×2 — три в ряд і один окремо виглядали як помилка */
.claims--two { margin-top: 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.claims--two .claim:nth-child(2) { border-top: 1px solid var(--rule-soft); }
@media (max-width: 760px) {
  .claims--two { grid-template-columns: minmax(0, 1fr); }
  .claims--two .claim:nth-child(2) { border-top: 0; }
}

/* --- модулі --- */
/* Сітка модулів. Карток має бути КРАТНО ТРЬОМ — 21, а не 22: інакше в
   останньому рядку лишаються порожні клітинки, і на широкому екрані це
   читається як сірий «хвіст», ніби щось не завантажилось. Магазин через
   це винесено окремою смугою нижче — він і справді окремий підпроєкт. */
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); }
@media (max-width: 1040px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .mods { grid-template-columns: minmax(0, 1fr); } }
.mod { background: var(--paper); padding: 28px 26px 30px; position: relative; transition: background .2s; }
.mod:hover { background: var(--surface); }
.mod__ico { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 3px; color: var(--accent); margin-bottom: 16px; transition: border-color .2s, transform .25s; }
.mod:hover .mod__ico { border-color: var(--accent-mark); transform: translateY(-2px); }
.mod__ico svg { width: 21px; height: 21px; }
.mod h3 { margin-bottom: 7px; }
.mod p { font-size: 15px; color: var(--text-2); margin-top: 0; }
.mod__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
/* Окремий підпроєкт — окрема смуга під сіткою. Всередині сітки він
   збивав би лік і обіцяв би, що входить у ту саму ціну. */
.mod-wide {
  margin-top: 1px; background: var(--paper); border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--accent-mark); padding: 30px 28px;
  display: grid; grid-template-columns: 40px 1fr auto; gap: 20px; align-items: start;
}
.mod-wide__ico { width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--rule); border-radius: 3px; color: var(--accent); }
.mod-wide__ico svg { width: 21px; height: 21px; }
.mod-wide h3 { margin-bottom: 7px; }
.mod-wide p { font-size: 15px; color: var(--text-2); margin: 0; max-width: 74ch; }
.mod-wide__note {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--rule); border-radius: 2px;
  padding: 6px 10px; white-space: nowrap;
}
@media (max-width: 760px) {
  .mod-wide { grid-template-columns: 40px 1fr; }
  .mod-wide__note { grid-column: 2; justify-self: start; }
}
/* Смуга магазину стала посиланням на власну сторінку: у неї набралось
   на окремий лендінг, а всередині сітки модулів вона обіцяла б, що
   входить у ту саму вартість. */
.mod-wide--link { text-decoration: none; color: inherit; transition: border-color .2s, transform .25s; }
.mod-wide--link:hover { border-color: var(--accent-mark); transform: translateY(-2px); }
.mod-wide__more {
  margin-top: 14px; font-weight: 700; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px;
}
.mod-wide__more svg { width: 17px; height: 17px; transition: transform .2s; }
.mod-wide--link:hover .mod-wide__more svg { transform: translateX(3px); }

.tag { font-family: var(--mono); font-size: 11px; color: var(--text-3); border: 1px solid var(--rule); border-radius: 2px; padding: 3px 7px; }

/* --- показ функції: текст + рисунок --- */
.show { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: clamp(28px,4vw,60px); align-items: start; }
.show--flip { grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); }
.show--flip .show__txt { order: 2; }
@media (max-width: 980px) {
  .show, .show--flip { grid-template-columns: minmax(0,1fr); }
  .show--flip .show__txt { order: 0; }
}
.bullets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 13px; }
.bullets li { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 12px; font-size: 15.5px; color: var(--text-2); }
.bullets svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.bullets b { color: var(--text); font-weight: 700; }

/* --- анімовані схеми --- */
.schema { width: 100%; height: auto; display: block; }
.schema text { font-family: var(--mono); font-size: 12.5px; fill: var(--text-3); }
.schema .lbl-strong { fill: var(--text); font-weight: 500; font-size: 13.5px; }
.dash { stroke-dasharray: 5 7; animation: flow 1.5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }

/* воронка */
.funnel-row { opacity: 0; transform: translateX(-10px); }
.is-in .funnel-row { animation: fRow .6s cubic-bezier(.2,.7,.3,1) forwards; }
.is-in .funnel-row:nth-child(1) { animation-delay: .05s; }
.is-in .funnel-row:nth-child(2) { animation-delay: .17s; }
.is-in .funnel-row:nth-child(3) { animation-delay: .29s; }
.is-in .funnel-row:nth-child(4) { animation-delay: .41s; }
.is-in .funnel-row:nth-child(5) { animation-delay: .53s; }
@keyframes fRow { to { opacity: 1; transform: none; } }
.funnel-bar { transform-origin: left center; transform: scaleX(0); }
.is-in .funnel-bar { animation: fBar .85s cubic-bezier(.2,.75,.25,1) forwards; animation-delay: inherit; }
@keyframes fBar { to { transform: scaleX(1); } }

/* --- цифри --- */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,190px), 1fr)); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); }
.figs__cell { background: var(--paper); padding: 26px 22px; }
.figs__n { font-family: var(--display); font-size: clamp(30px,4vw,42px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.figs__l { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 10px; }
.figs__h { font-size: 14px; color: var(--text-2); margin-top: 6px; }

/* --- придбання --- */
.buy { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px), 1fr)); gap: 22px; }
.plan {
  border: 1px solid var(--rule); border-radius: 4px; background: var(--surface);
  padding: 32px 30px 34px; display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .25s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--accent-mark); }
.plan__kind { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.plan h3 { font-size: 25px; margin: 12px 0 0; }
.plan__price { font-family: var(--mono); font-size: 15px; color: var(--text-2); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule-soft); }
.plan__price b { color: var(--text); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 11px; font-size: 15px; color: var(--text-2); }
.plan li svg { width: 16px; height: 16px; color: var(--ok); margin-top: 4px; }
.plan .btn { margin-top: auto; }

/* --- контакти --- */
.contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,4vw,60px); align-items: center; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0,1fr); } }
/* Колонка з номером оголошена контейнером навмисно: розмір номера має
   залежати від ширини САМОЇ КОЛОНКИ, а не вікна. Номер набраний
   нерозривними пробілами (телефон не переносять), тому завеликий кегль
   він не «підіб'є» переносом — він просто вилізе за край сторінки.
   Український «097 384 64 72» ще вміщався, міжнародний
   «+380 97 384 64 72» на третину довший — і між 861 і 1100 пікселями
   давав горизонтальну прокрутку на всю сторінку. */
.contact__call { container-type: inline-size; }
.phone-link {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  /* Перший рядок — запасний для старих переглядачів (до cqw): вони
     просто проігнорують другий. Другий — робочий. 9cqw: найдовший наш
     запис номера («+380 97 384 64 72») займає 10,6 кегля завширшки,
     тож 9cqw лишає близько 4% запасу на інший шрифт. */
  font-size: clamp(30px, 5.2vw, 52px);
  font-size: clamp(28px, 9cqw, 52px);
  /* Страхувальна сітка: якщо номер усе ж не вміститься (інший шрифт,
     довший запис), він перенесеться після коду країни на другий рядок,
     а не розіпре сторінку горизонтальною прокруткою. */
  max-width: 100%;
  text-decoration: none; color: var(--on-band);
  display: inline-block; line-height: 1.1; font-variant-numeric: tabular-nums;
  border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.phone-link:hover { color: var(--accent-on-band); border-bottom-color: var(--accent-on-band); }
.msgs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* --- підвал --- */
.foot { border-top: 1px solid #1d2836; padding: 26px 0 34px; font-family: var(--mono); font-size: 12.5px; color: #7d8b9e; }
.foot__in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot a { color: #b9c5d4; text-decoration: none; }
.foot a:hover { color: var(--accent-on-band); }

/* --- поява при прокручуванні --- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .07s; } .rv-d2 { transition-delay: .14s; } .rv-d3 { transition-delay: .21s; }

/* --- поява героя --- */
.hero .st { opacity: 0; transform: translateY(20px); animation: rise .85s cubic-bezier(.2,.7,.3,1) forwards; }
.hero .st1 { animation-delay: .05s; } .hero .st2 { animation-delay: .14s; }
.hero .st3 { animation-delay: .23s; } .hero .st4 { animation-delay: .32s; }
.hero .st5 { animation-delay: .41s; } .hero .st6 { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv, .hero .st, .funnel-row { opacity: 1; transform: none; }
  .funnel-bar { transform: scaleX(1); }
}
