/*
  Сайт web.prosto.cam (1409). Токени — ті самі, що в кабінеті й посадковій (`public/welcome/welcome.css`,
  джерело — prosto-cam.tokens.json): полотно, поверхні, текст, синій дії. Тема: системна за замовчуванням,
  `html[data-theme=light|dark]` — вибір людини (site.js). Ширина 320–1920 без прокрутки вбік:
  сітки на minmax(0,1fr), поля 16 px на телефоні, жодної фіксованої ширини понад 320 px.
*/
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 499; font-display: swap; src: url('/assets/Inter-Regular.1fd85cc580.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500 900; font-display: swap; src: url('/assets/Inter-SemiBold.6a20594bfb.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --canvas: #F4F7FA;
  --surface: #FFFFFF;
  --surface-subtle: #EDF2F7;
  --border: #D7DEE7;
  --text: #17202A;
  --text-2: #475467;
  --muted: #5D6A79;
  --primary: #155EEF;
  --primary-hover: #004EEB;
  --primary-subtle: #EAF2FF;
  --on-primary: #FFFFFF;
  --accent: #2DD4BF;
  --danger: #D92D20;
  --ok: #079455;
  --focus: #155EEF;
  --band: #0F2A63;
  --band-2: #155EEF;
  --chat-bg: #DCE6F0;
  --bubble-in: #FFFFFF;
  --bubble-out: #D7F4C8;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #0C1117; --surface: #151C24; --surface-subtle: #1C2631; --border: #33404D;
  --text: #F4F7FA; --text-2: #C0CAD5; --muted: #93A1B1;
  --primary: #6EA8FE; --primary-hover: #9CC5FF; --primary-subtle: #152944; --on-primary: #0C1117;
  --accent: #5EEAD4; --danger: #F97066; --ok: #47CD89; --focus: #6EA8FE;
  --band: #10234A; --band-2: #1D4ED8;
  --chat-bg: #0E1621; --bubble-in: #182533; --bubble-out: #2B5278;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas: #0C1117; --surface: #151C24; --surface-subtle: #1C2631; --border: #33404D;
    --text: #F4F7FA; --text-2: #C0CAD5; --muted: #93A1B1;
    --primary: #6EA8FE; --primary-hover: #9CC5FF; --primary-subtle: #152944; --on-primary: #0C1117;
    --accent: #5EEAD4; --danger: #F97066; --ok: #47CD89; --focus: #6EA8FE;
    --band: #10234A; --band-2: #1D4ED8;
    --chat-bg: #0E1621; --bubble-in: #182533; --bubble-out: #2B5278;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--canvas); color: var(--text);
  font: 400 16px/1.6 var(--font); overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 650; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-underline-offset: .15em; }
a:hover { color: var(--primary-hover); }
code { font: 500 .92em ui-monospace, SFMono-Regular, Consolas, monospace; background: var(--surface-subtle); padding: .1em .35em; border-radius: 6px; overflow-wrap: anywhere; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.on-dark { display: none; }
:root[data-theme="dark"] .on-light { display: none; }
:root[data-theme="dark"] .on-dark { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-light { display: none; }
  :root:not([data-theme="light"]) .on-dark { display: inline; }
}

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-subtle); color: var(--text); }
.btn-on-accent { background: #fff; color: #0F2A63; }
.btn-on-accent:hover { background: #EAF2FF; color: #0F2A63; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn[hidden] { display: none; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--primary-subtle); color: var(--primary); font-size: 13px; font-weight: 600; }
.chip-soon { background: var(--surface-subtle); color: var(--text-2); border: 1px dashed var(--border); padding: 6px 14px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; flex: none; }
.logo img { width: 150px; height: auto; }
.primary { flex: 1; min-width: 0; }
.primary ul, .langs ul, .mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.primary ul { display: flex; gap: 2px; justify-content: center; flex-wrap: wrap; }
.primary a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.primary a:hover { color: var(--text); background: var(--surface-subtle); }
.primary a[aria-current="page"] { color: var(--primary); background: var(--primary-subtle); }
.bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.langs ul { display: flex; gap: 2px; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 36px; padding: 0 6px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.langs a:hover { color: var(--text); background: var(--surface-subtle); }
.langs a[aria-current="true"] { color: var(--text); background: var(--surface-subtle); }
.theme-btn .t-light, .theme-btn .t-dark { display: none; }
.theme-btn[data-mode="light"] .t-system, .theme-btn[data-mode="dark"] .t-system { display: none; }
.theme-btn[data-mode="light"] .t-light, .theme-btn[data-mode="dark"] .t-dark { display: inline-flex; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px;
}
.mobile-panel a:not(.btn) { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
.mobile-panel a[aria-current="page"] { background: var(--primary-subtle); color: var(--primary); }
.mobile-cta { display: grid; gap: 8px; padding: 8px 6px 6px; border-top: 1px solid var(--border); margin-top: 6px; }

@media (max-width: 1100px) {
  .primary { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .wrap { padding: 0 16px; }
  .bar { gap: 8px; min-height: 60px; }
  .logo img { width: 124px; }
  .bar-actions { gap: 4px; }
  .bar .langs a { min-width: 30px; padding: 0 3px; font-size: 12px; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  .logo img { width: 104px; }
  .bar .langs a { min-width: 26px; }
}

/* ---------- секції ---------- */
.section { padding: clamp(48px, 6vw, 88px) 0; }
.section.tight { padding-top: 8px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section > .wrap > h2, .section > .wrap > h2 + .muted { text-align: center; }
.section > .wrap > h2 + .muted { margin-top: -.2em; margin-bottom: 2em; }
.section > .wrap > h2 { margin-bottom: 1.2em; }
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); text-align: center; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--text-2); }
.kicker { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--primary-subtle); color: var(--primary); font-weight: 600; font-size: 14px; }
.note { color: var(--muted); font-size: 14px; }
.notice { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--primary-subtle); color: var(--text); border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 14px; }

.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy h1 { margin-bottom: .45em; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.align-start { align-items: start; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.section-alt .card { background: var(--canvas); box-shadow: none; }
.card > .ico, .feature > .ico, .big > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--primary-subtle); color: var(--primary); margin-bottom: 14px; }
.card p:last-child, .feature p:last-child { margin-bottom: 0; }
.card.small h3 { font-size: 1.05rem; }
.card.small p { color: var(--text-2); font-size: 15px; }
.card.big h2 { font-size: 1.4rem; }
.aud p { color: var(--text-2); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split + .split { margin-top: clamp(40px, 6vw, 72px); }
.split-rev > :first-child { order: 2; }
.feature-list { display: grid; gap: 28px; }
.feature h3, .feature h2 { font-size: 1.3rem; }
.feature p { color: var(--text-2); }

.modes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: -8px 0 28px; }
.mode { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--text-2); }
.mode .ico { width: 16px; height: 16px; }
.mode.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: s; background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; min-width: 0; }
.section:not(.section-alt) .steps li { background: var(--surface); }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--text-2); margin: 0; font-size: 15px; }
.numbered { padding-left: 1.4em; display: grid; gap: 12px; }
.numbered li { padding-left: .3em; }
.repo { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--canvas); margin: 24px 0 16px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--ok); margin-top: .15em; }
.ticks-lg { gap: 12px; font-size: 1.05rem; }

/* ---------- як підключити ---------- */
.flow { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.flow-row { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.flow-row li { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--surface-subtle); font-weight: 600; }
.flow-row li + li::before { content: "→"; color: var(--muted); margin-right: 8px; font-weight: 400; }
.flow-row li.via { background: transparent; color: var(--muted); font-weight: 500; }
.flow-row li.main { background: var(--primary-subtle); color: var(--primary); }
.flow-row .ico { width: 22px; height: 22px; }
.flow figcaption { text-align: center; color: var(--muted); margin-top: 14px; font-size: 15px; }
.way-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.way-head .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--primary-subtle); color: var(--primary); }
.way-head h3 { margin-bottom: 6px; }
.way p { color: var(--text-2); font-size: 15px; }
.way .ticks { font-size: 14px; color: var(--text-2); }
.way-accent { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); }
.note-card { margin-top: 20px; box-shadow: none; background: var(--surface-subtle); }
.note-card p { color: var(--text-2); }

/* ---------- тарифи ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); min-width: 0; }
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan .muted { font-size: 15px; }
.plan-accent { border: 2px solid var(--primary); }
.price { margin: 12px 0 18px; }
.price .amount { font-size: 2.4rem; font-weight: 700; letter-spacing: -.02em; }
.price .per { color: var(--muted); }
.plan .ticks { flex: 1; margin-bottom: 22px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.section-alt .faq details { background: var(--canvas); }
.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 600; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--text-2); }

/* ---------- підтримка ---------- */
.contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contacts li { display: flex; gap: 12px; align-items: center; }
.contacts .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--primary-subtle); color: var(--primary); }
.big-contacts { font-size: 1.15rem; }
.big-contacts .muted { display: block; font-size: 14px; }
.big-contacts a { font-weight: 600; text-decoration: none; }

/* ---------- живий кадр ---------- */
.live-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.live-card { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.live-frame { position: relative; aspect-ratio: 16 / 9; background: #0C1117; }
.live-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-badge { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700; }
.live-card figcaption { padding: 12px 16px; font-weight: 600; }

/* ---------- заклик ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 48px); border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--band) 0%, var(--band-2) 100%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band .cta-row { margin: 0; }

/* ---------- макети ---------- */
.mock { margin: 0; min-width: 0; }
.mock-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.phone { max-width: 360px; margin: 0 auto; border-radius: 32px; border: 10px solid #1B232C; background: var(--chat-bg); box-shadow: var(--shadow); overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.phone-top b { display: block; font-size: 15px; line-height: 1.2; }
.phone-top small { color: var(--muted); font-size: 12px; }
.chat-ava { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary-subtle); }
.chat { display: grid; gap: 8px; padding: 12px; font-size: 14px; line-height: 1.45; }
.bubble { max-width: 88%; padding: 8px 11px; border-radius: 14px; background: var(--bubble-in); color: var(--text); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); justify-self: start; }
.bubble-out { background: var(--bubble-out); justify-self: end; border-bottom-right-radius: 4px; }
.bubble-in { border-bottom-left-radius: 4px; }
.bubble.photo { padding: 4px; max-width: 94%; }
.bubble.photo img { display: block; width: 100%; border-radius: 11px; }
.bubble-text { padding: 6px 7px 4px; }
.tg-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px 0 0; }
.tg-buttons span { text-align: center; padding: 7px 4px; border-radius: 8px; background: color-mix(in srgb, var(--primary) 14%, var(--bubble-in)); color: var(--primary); font-weight: 650; font-size: 12.5px; letter-spacing: .02em; }
.bubble.video { display: flex; align-items: center; gap: 8px; }
.play { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary); color: var(--on-primary); font-size: 12px; }
.mock-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.section-alt .mock-card { background: var(--canvas); }
.mc-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.mc-head .chip { margin-left: auto; }
.mc-frame img { display: block; width: 100%; }
.timeline { padding: 14px 16px 16px; }
.tl-bar { display: block; width: 100%; height: 22px; }
.tl-rec { fill: color-mix(in srgb, var(--primary) 30%, var(--surface-subtle)); }
.tl-ev { fill: #7A5AF8; }
.tl-cur { fill: var(--danger); }
.tl-legend { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.tl-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7A5AF8; margin-right: 6px; }
.sensors { list-style: none; margin: 0; padding: 6px 0; }
.sensors li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; }
.sensors li + li { border-top: 1px solid var(--border); }
.sensors b { display: block; font-size: 15px; }
.sensors small { color: var(--muted); font-size: 13px; }
.sensors .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.sensors .alert .dot { background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 22%, transparent); }
.sensors .state { font-size: 13px; font-weight: 600; color: var(--text-2); }
.sensors .alert .state { color: var(--danger); }

/* ---------- підвал ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-about p { font-size: 14px; margin-top: 14px; }
.footer-h { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.footer-links, .footer-contacts { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; font-size: 15px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }
.footer-contacts li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contacts .ico { color: var(--muted); margin-top: .2em; }
.footer-contacts .muted { display: block; font-size: 12px; }
.footer-contacts a { color: var(--text); font-weight: 600; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; color: var(--muted); font-size: 14px; }

/* ---------- вибір мови / 404 ---------- */
.chooser-main { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding-top: 32px; padding-bottom: 32px; text-align: center; }
.chooser-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; width: min(100%, 320px); }
.big404 { font-size: 64px; font-weight: 700; margin: 0; color: var(--primary); }

/* ---------- адаптив ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .split-rev > :first-child { order: 0; }
  .grid-3, .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .steps, .steps-4 { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn { flex: 1 1 100%; }
  .card, .plan, .steps li { padding: 20px; }
  .flow-row { flex-direction: column; }
  .flow-row li + li::before { content: "↓"; margin: 0 6px 0 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .phone { border-width: 8px; border-radius: 26px; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .mock { display: none; }
}

/* ---------- мова в шапці ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; width: auto; padding: 0 10px; gap: 6px; font-weight: 600; font-size: 13px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 180px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.lang-list a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang-list a:hover { background: var(--surface-subtle); }
.lang-list a[aria-current="true"] { background: var(--primary-subtle); color: var(--primary); font-weight: 600; }
@media (max-width: 720px) { .lang-menu summary { padding: 0 8px; } .lang-menu summary .ico { display: none; } }
