/* Relto — сайт продукту (relto.pro). Без Bootstrap: власні токени, сітка й компоненти. */
:root {
  --brand: #16a34a; --brand-d: #0f7a37; --brand-soft: #e8f7ee; --accent: #f59e0b;
  --ink: #0f172a; --text: #1f2937; --muted: #5b6474; --line: #e4e8ee;
  --bg: #ffffff; --soft: #f5f8f6; --card: #ffffff; --hero: #0b1f17;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .16);
  --radius: 16px; --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-soft: #123524; --ink: #f1f5f9; --text: #d7dde5; --muted: #98a2b3; --line: #243040;
    --bg: #0d1318; --soft: #111a20; --card: #151f27; --hero: #07130e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand-soft: #123524; --ink: #f1f5f9; --text: #d7dde5; --muted: #98a2b3; --line: #243040;
  --bg: #0d1318; --soft: #111a20; --card: #151f27; --hero: #07130e;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .8rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(22, 163, 74, .28); }
.btn-main:hover { background: var(--brand-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-sm { padding: .5em .95em; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* шапка */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #22c55e, #0f7a37); display: grid; place-items: center; color: #fff; font-size: 1rem; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--text); font-weight: 600; white-space: nowrap; padding: 8px 12px; border-radius: 10px; font-size: .95rem; }
.nav a:hover, .nav a.on { color: var(--brand); background: var(--brand-soft); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; font-weight: 700; font-size: .85rem; color: var(--text); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--soft); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 170px; }
.lang-menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 8px 10px; border: 0; background: none; border-radius: 8px; font: inherit; color: var(--text); cursor: pointer; text-align: left; }
.lang-menu button:hover, .lang-menu button.on { background: var(--brand-soft); color: var(--brand-d); }
.crm-flag svg { width: 100%; height: 100%; display: block; }
.crm-flag, .flag { width: 20px; height: 14px; border-radius: 3px; overflow: hidden; flex: none; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.nav .only-m { display: none; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--ink); font-size: 1.1rem; cursor: pointer; }

@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 16px; margin: 0; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .only-m { display: block; }
  .burger { display: inline-grid; place-items: center; }
  .top-actions .hide-m { display: none; }
}
@media (max-width: 560px) {
  .top .wrap { gap: 10px; }
  .top-actions { gap: 6px; }
  .top-actions .btn-main { display: none; }
  .lang summary { padding: 8px 6px; }
}

/* секції */
section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
  radial-gradient(900px 480px at 85% -10%, rgba(34, 197, 94, .18), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(245, 158, 11, .10), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 44px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero .lead { font-size: 1.2rem; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: var(--muted); font-size: .92rem; }
.hero-trust i { color: var(--brand); margin-right: 6px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 48px 0 64px; } }

/* макет CRM у hero (ілюстрація, не скріншот) */
.mock { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; color: var(--text); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; display: block; }
.mock-bar i:nth-child(1) { background: #f87171; } .mock-bar i:nth-child(2) { background: #fbbf24; } .mock-bar i:nth-child(3) { background: #34d399; }
.mock-url { margin-left: 10px; flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; color: var(--muted); font-size: 11px; }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 330px; }
.mock-side { background: #14231c; color: #cfe3d7; padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock-side b { color: #fff; font-size: 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.mock-side span { padding: 5px 8px; border-radius: 6px; display: flex; gap: 7px; align-items: center; font-size: 11px; }
.mock-side span.on { background: rgba(34, 197, 94, .22); color: #fff; }
.mock-main { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-row { display: grid; grid-template-columns: 22px 46px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.mock-row .ph { width: 46px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
.mock-row:nth-child(3) .ph { background: linear-gradient(135deg, #bbf7d0, #4ade80); }
.mock-row:nth-child(4) .ph { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.mock-row:nth-child(5) .ph { background: linear-gradient(135deg, #bfdbfe, #60a5fa); }
.mock-row .t { font-weight: 700; color: var(--ink); }
.mock-row .s { color: var(--muted); font-size: 11px; }
.mock-row .p { font-weight: 800; color: var(--ink); }
.dup { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #fef3c7; color: #b45309; font-weight: 800; font-size: 11px; }
.dup.ok { background: var(--brand-soft); color: var(--brand-d); }
.mock-head { display: flex; align-items: center; gap: 8px; }
.mock-head b { color: var(--ink); font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.chip.g { background: var(--brand-soft); color: var(--brand-d); border-color: transparent; }
.float-card { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 12px; display: flex; gap: 10px; align-items: center; }
.float-card .ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; flex: none; }
.float-card b { color: var(--ink); display: block; font-size: 12.5px; }
.fc-1 { left: -18px; bottom: 34px; } .fc-1 .ic { background: #fef3c7; color: #b45309; }
.fc-2 { right: -14px; top: -22px; } .fc-2 .ic { background: var(--brand-soft); color: var(--brand-d); }
.hero-visual { position: relative; padding: 10px 18px; }
@media (max-width: 560px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .fc-1 { left: 4px; bottom: -18px; } .fc-2 { right: 4px; top: -16px; } }

/* смуга фактів */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; position: relative; z-index: 2; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.fact b { display: block; font-size: 1.6rem; color: var(--ink); font-weight: 800; }
.fact span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, 1fr); margin-top: 24px; } }

/* сітки карток */
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g3, .g2, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature { transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 16px; background: var(--brand-soft); color: var(--brand-d); }
.ico.amber { background: #fef3c7; color: #b45309; } .ico.blue { background: #dbeafe; color: #1d4ed8; } .ico.violet { background: #ede9fe; color: #6d28d9; }
.ico.rose { background: #ffe4e6; color: #be123c; } .ico.teal { background: #ccfbf1; color: #0f766e; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* блоки «детально» */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.rev > :first-child { order: 0; } .split + .split { margin-top: 64px; } }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "\f00c"; font: var(--fa-font-solid); color: var(--brand); margin-top: 5px; font-size: .85rem; }
.panel { background: var(--soft); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }

/* ілюстрація розширення */
.ext-demo { display: grid; gap: 10px; }
.ext-ad { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; grid-template-columns: 76px 1fr; gap: 12px; position: relative; }
.ext-ad .ph { height: 58px; border-radius: 8px; background: linear-gradient(135deg, #e2e8f0, #94a3b8); }
.ext-ad b { color: var(--ink); }
.ext-badge { position: absolute; right: 12px; top: 12px; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.ext-badge.warn { background: #fef3c7; color: #92400e; } .ext-badge.new { background: var(--brand-soft); color: var(--brand-d); } .ext-badge.known { background: #dbeafe; color: #1e40af; }
.ext-btn { justify-self: end; background: var(--brand); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; box-shadow: 0 8px 20px rgba(22, 163, 74, .3); }

/* ілюстрація карти */
.map-demo { position: relative; height: 320px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(0deg, rgba(22, 163, 74, .04), rgba(22, 163, 74, .04)),
  repeating-linear-gradient(0deg, transparent 0 38px, color-mix(in srgb, var(--line) 80%, transparent) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, color-mix(in srgb, var(--line) 80%, transparent) 38px 39px), var(--card); }
.map-demo::before { content: ""; position: absolute; left: -10%; right: -10%; top: 55%; height: 60px; background: rgba(96, 165, 250, .22); transform: rotate(-8deg); }
.pin { position: absolute; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); box-shadow: 0 6px 14px rgba(15, 23, 42, .25); }
.pin::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.pin.c { width: 38px; height: 38px; border-radius: 50%; transform: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; background: #0f7a37; }
.pin.c::after { display: none; }
.map-card { position: absolute; left: 44%; top: 16%; width: 200px; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; font-size: 12px; border: 1px solid var(--line); }
.map-card .ph { height: 80px; border-radius: 9px; background: linear-gradient(135deg, #bbf7d0, #16a34a); margin-bottom: 8px; }
.map-card b { color: var(--ink); display: block; }

/* кроки */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 24px; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; transform: translateY(24px); }
.step h3 { margin-top: 18px; }

/* тарифи */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 12px 0 4px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .95rem; }
.plan li i { color: var(--brand); margin-top: 5px; font-size: .8rem; }
.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; font-size: .95rem; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--soft); color: var(--ink); }
.compare .fa-check { color: var(--brand); } .compare .fa-minus { color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 14px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA */
.cta { background: radial-gradient(700px 300px at 90% 0, rgba(34, 197, 94, .35), transparent 60%), var(--hero); color: #d1e7da; border-radius: 28px; padding: 56px; display: flex; align-items: center; gap: 32px; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; }
@media (max-width: 620px) { .cta { padding: 32px 22px; } }

/* форми */
.form-card { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.input, .field input:not([type=checkbox]):not([type=hidden]), .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field .help { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.field .err { font-size: .85rem; color: #dc2626; margin-top: 5px; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #dc2626; }
.addr { display: flex; align-items: stretch; }
.addr input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.addr span { display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; background: var(--soft); color: var(--muted); font-weight: 700; white-space: nowrap; }
.slug-state { font-size: .85rem; margin-top: 6px; min-height: 1.3em; }
.slug-state.ok { color: var(--brand-d); } .slug-state.bad { color: #dc2626; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.form-legend { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 12px; display: flex; align-items: center; gap: 10px; }
.form-legend::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-size: .95rem; }
.alert-err { background: #fee2e2; color: #991b1b; } .alert-ok { background: var(--brand-soft); color: var(--brand-d); }
.hp { position: absolute; left: -5000px; }
.signup-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .signup-grid { grid-template-columns: 1fr; } }
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.aside-list li { display: flex; gap: 12px; }
.aside-list i { color: var(--brand); margin-top: 4px; }

/* сторінка стану створення */
.progress { height: 10px; background: var(--soft); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.progress div { height: 100%; width: 8%; background: linear-gradient(90deg, #22c55e, #0f7a37); border-radius: 999px; transition: width .8s ease; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--brand-soft); border-top-color: var(--brand); animation: spin 1s linear infinite; margin: 0 auto 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } html { scroll-behavior: auto; } }

/* текстові сторінки */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--text); }
.page-head { padding: 64px 0 24px; text-align: center; }
.page-head .lead { margin: 0 auto; }

/* підвал */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; background: var(--soft); margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--text); } .foot a:hover { color: var(--brand); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
