/* ВØЛЬТ — сайт voltnorm.ru. Светлая деловая основа, тёмные полосы у первого экрана, данных и заявки.
   Картинки — настоящие скриншоты окна ВØЛЬТ на демонстрационном объекте и иллюстрации Codex. */

:root {
  --bg: #f4f5f7; --surface: #e9ecf0; --surface-2: #dfe3e9;
  --ink: #11151b; --muted: #4b5462; --dim: #69717d;
  --accent: #1d5bd6; --accent-hover: #164ab3; --on-accent: #ffffff;
  --dark: #0b0f16; --dark-2: #141b27; --on-dark: #eef2f7; --on-dark-muted: #aab3c1; --accent-on-dark: #7db6ff;
  --font: "Geist", "Segoe UI", system-ui, sans-serif;
  --display: "Onest", "Geist", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --m: clamp(20px, 4vw, 64px);
  --max: 1360px;
  --s-display: clamp(38px, 4.6vw, 74px);
  --s-h2: clamp(30px, 3.2vw, 52px);
  --s-statement: clamp(24px, 2.3vw, 34px);
  --s-lead: clamp(18px, 1.3vw, 20px);
  --s-small: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: var(--s-h2); }
h3 { font-size: 24px; letter-spacing: -0.015em; line-height: 1.25; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--m); }
.lead { font-size: var(--s-lead); line-height: 1.55; color: var(--muted); max-width: 48ch; }
.o { color: var(--accent-on-dark); }

.wordmark { font: 700 21px/1 var(--display); letter-spacing: 0.02em; text-decoration: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 6px; background: var(--accent); color: var(--on-accent); font: 500 16px/1 var(--font);
  text-decoration: none; cursor: pointer; transition: background-color 160ms ease, transform 120ms var(--ease-out); }
.button:hover { background: var(--accent-hover); }
.button:active { transform: translateY(1px); }
.button.small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.button.ghost { background: var(--surface-2); color: var(--ink); }
.button.ghost:hover { background: var(--surface); }
.textlink { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.textlink:hover { color: var(--accent-on-dark); }

/* ---------- Шапка ---------- */
.bar { position: sticky; top: 0; z-index: 10; background: var(--dark); color: var(--on-dark); }
.bar-in { display: flex; align-items: center; gap: 40px; height: 68px; }
.bar nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--on-dark-muted); transition: color 150ms ease; }
.bar nav a:hover { color: var(--on-dark); }

/* ---------- Первый экран ---------- */
.hero-dark { background: var(--dark); color: var(--on-dark); padding-top: clamp(56px, 7vw, 112px); }
.hero-in { display: grid; grid-template-columns: 8fr 4fr; gap: 32px 64px; align-items: end; }
.hero h1 { font-size: var(--s-display); letter-spacing: -0.04em; line-height: 1; }
.hero-side { display: grid; gap: 28px; }
.hero .lead { color: var(--on-dark-muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-shot { margin-top: clamp(48px, 6vw, 88px); position: relative; z-index: 1; margin-bottom: calc(-1 * clamp(80px, 14vw, 220px)); }
.hero-shot img { width: 100%; border-radius: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: calc(clamp(80px, 14vw, 220px) + 64px); }
.facts li { display: grid; gap: 8px; }
.facts b { font: 600 var(--s-h2)/1 var(--display); letter-spacing: -0.03em; }
.facts span { color: var(--muted); max-width: 30ch; }
.facts-note { max-width: 70ch; margin-top: 24px; font-size: var(--s-small); color: var(--dim); }

.mask > span { display: block; overflow: hidden; padding-bottom: 0.08em; }
.mask > span > span { display: block; white-space: nowrap; }
.js .mask > span > span { transform: translateY(105%); animation: rise 900ms var(--ease-out) forwards; }
.js .mask > span:nth-child(2) > span { animation-delay: 110ms; }
.js .hero-side { opacity: 0; animation: fade 600ms ease 600ms forwards; }
.js .hero-shot img { opacity: 0; transform: translateY(32px); animation: lift 1000ms var(--ease-out) 350ms forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes lift { to { opacity: 1; transform: none; } }

/* ---------- Проблема ---------- */
.problem { display: grid; grid-template-columns: 7fr 5fr; gap: 32px 72px; align-items: end; padding-block: clamp(120px, 12vw, 200px); }
.statement { font: 500 var(--s-statement)/1.3 var(--display); letter-spacing: -0.02em; max-width: 34ch; }
.problem-text { color: var(--muted); max-width: 46ch; }

/* ---------- Возможности ---------- */
.features { padding-bottom: clamp(120px, 12vw, 200px); }
.features h2 { margin-bottom: clamp(48px, 5vw, 80px); }
.feature { display: grid; grid-template-columns: 4fr 8fr; gap: 40px 72px; align-items: center; }
.feature + .feature { margin-top: clamp(80px, 9vw, 140px); }
.feature:nth-of-type(odd) { grid-template-columns: 8fr 4fr; }
.feature:nth-of-type(odd) .feature-text { order: 2; }
.feature-text { display: grid; gap: 16px; }
.feature-text p { color: var(--muted); max-width: 42ch; }
.feature img { width: 100%; border-radius: 8px; }
.feature img.crop-right { aspect-ratio: 5 / 4; object-fit: cover; object-position: 100% 60%; width: min(100%, 640px); justify-self: center; }

/* ---------- Данные ---------- */
.data { background: var(--dark); color: var(--on-dark); padding-block: clamp(120px, 12vw, 200px); }
.data-in { display: grid; grid-template-columns: 4fr 8fr; gap: 48px 72px; }
.data-list { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; }
.data-list dt { font: 600 22px/1.3 var(--display); letter-spacing: -0.01em; margin-bottom: 10px; }
.data-list dd { color: var(--on-dark-muted); }

/* ---------- Пилот ---------- */
.pilot { padding-block: clamp(120px, 12vw, 200px); display: grid; gap: 56px; }
.pilot-head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 72px; align-items: end; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.steps li { display: grid; gap: 12px; align-content: start; padding: 32px 28px 40px; background: var(--surface); }
.steps li:nth-child(2) { background: var(--surface-2); }
.steps li:nth-child(3) { background: var(--surface); }
.steps li:nth-child(4) { background: var(--surface-2); }
.steps b { font: 600 20px/1.3 var(--display); }
.steps span { color: var(--muted); }
.pilot-after { max-width: 64ch; color: var(--muted); }

/* ---------- Разделы ---------- */
.razdely { background: var(--surface); padding-block: clamp(96px, 10vw, 160px); }
.razdely-in { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 80px; align-items: center; }
.razdely-in > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.razdely-list { display: grid; gap: 20px; }
.razdely-list > p { color: var(--muted); max-width: 52ch; }
.razdely-list ul { display: grid; gap: 22px; margin-top: 12px; }
.razdely-list li { display: grid; gap: 4px; }
.razdely-list li a { font: 600 21px/1.3 var(--display); text-decoration: none; color: var(--ink); }
.razdely-list li a::after { content: " →"; color: var(--accent); }
.razdely-list li a:hover { color: var(--accent); }
.razdely-list li span { color: var(--muted); }

/* ---------- Сайт без установки ---------- */
.site { padding-block: clamp(120px, 12vw, 200px) 0; display: grid; gap: 48px; }
.site-head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 72px; align-items: end; }
.site-cols { display: grid; grid-template-columns: 7fr 5fr; gap: 4px; }
.site-cols > div { display: grid; gap: 20px; align-content: start; padding: 40px; background: var(--surface); }
.site-cols > div + div { background: var(--surface-2); justify-items: start; }
.site-cols p { color: var(--muted); }
.site-list { display: grid; gap: 18px; }
.site-list li { display: grid; gap: 4px; color: var(--muted); }
.site-list b { color: var(--ink); font-weight: 600; }
.razdely-list h3 { margin-top: 16px; font-size: 20px; }

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 40px 72px; padding-block: clamp(120px, 12vw, 200px); }
.faq-list { display: grid; gap: 4px; }
.faq details { background: var(--surface); }
.faq summary { padding: 22px 28px; font: 500 19px/1.4 var(--font); cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 28px 24px; color: var(--muted); max-width: 70ch; }

/* ---------- Заявка ---------- */
.request { background: var(--dark); color: var(--on-dark); padding-block: clamp(120px, 12vw, 200px); }
.request-in { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 80px; align-items: start; }
.request-head { display: grid; gap: 24px; }
.request-head .lead { color: var(--on-dark-muted); }
.request-head a { color: var(--on-dark); }
/* minmax(0, …) и min-width: 0 — длинный вариант в select не распирает форму на телефоне */
.request-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; min-width: 0; }
.request-form label { display: grid; gap: 8px; font-size: 15px; color: var(--on-dark-muted); }
.request-form .opt { color: var(--dim); }
.request-form input, .request-form select { height: 52px; padding: 0 16px; border: 1px solid #2a3446; border-radius: 6px;
  background: var(--dark-2); color: var(--on-dark); font: 400 17px/1 var(--font); min-width: 0; max-width: 100%; }
.request-form input:focus, .request-form select:focus { outline: 2px solid var(--accent-on-dark); outline-offset: 0; border-color: transparent; }
.request-form .wide { grid-column: 1 / -1; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.consent { font-size: var(--s-small); color: var(--on-dark-muted); max-width: 46ch; }
.hp { position: absolute; left: -9999px; }

.request-form .check { display: flex; gap: 12px; align-items: flex-start; color: var(--on-dark-muted); }
.request-form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent-on-dark); }
.request-form .check a { color: var(--on-dark); }

/* ---------- Баннер cookies ---------- */
.cookies { position: fixed; z-index: 20; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px 20px; border-radius: 8px;
  background: var(--dark-2); color: var(--on-dark); font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); /* taste-skill-ignore: плавающая панель */ }
.cookies[hidden] { display: none; }
.cookies p { flex: 1 1 280px; }
.cookies a { color: var(--on-dark); }
.cookies .ghost { background: transparent; color: var(--on-dark-muted); }

/* ---------- Страницы политики и согласия ---------- */
.legal { padding-block: 72px 120px; max-width: 980px; display: grid; gap: 20px; }
.legal h1 { font-size: var(--s-h2); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin-top: 24px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); max-width: 75ch; }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; }
/* block + overflow-x: широкая таблица прокручивается внутри себя, а не растягивает страницу на телефоне */
.legal table { border-collapse: collapse; font-size: 15px; width: 100%; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--surface-2); }
.legal th { background: var(--surface); }

/* ---------- Подвал ---------- */
.foot { padding-block: 72px 32px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; font-size: 15px; }
.foot-in > * { display: grid; gap: 10px; align-content: start; }
.foot-in b { font-weight: 600; }
.foot-in a { text-decoration: none; color: var(--muted); }
.foot-in a:hover { color: var(--accent); }
.foot-brand p { color: var(--muted); max-width: 32ch; }
.foot .o { color: var(--accent); }
.foot-last { margin-top: 56px; font-size: var(--s-small); color: var(--dim); }

/* ---------- Страницы разделов ---------- */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; align-items: center; padding-block: 72px 112px; }
.page-hero-text { display: grid; gap: 24px; }
.page-hero h1 { font-size: var(--s-display); letter-spacing: -0.04em; }
.page-hero img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.page-hero .toplink { color: var(--accent); text-decoration: none; }
.status { color: var(--accent); font-weight: 500; }
.section { padding-block: 0 clamp(96px, 10vw, 160px); display: grid; gap: 40px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.checks .check { display: grid; gap: 10px; align-content: start; padding: 32px; background: var(--surface); }
.checks .check p { color: var(--muted); }
.checks .check .calc { color: var(--ink); font-weight: 500; }
.gaps { display: grid; gap: 12px; padding: 32px; background: var(--surface-2); }
.gaps ul { list-style: disc; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.page-cta { background: var(--dark); color: var(--on-dark); padding-block: clamp(96px, 10vw, 160px); }
.page-cta .wrap { display: grid; gap: 24px; justify-items: start; }
.page-cta .lead { color: var(--on-dark-muted); }
.page-cta .button.ghost { background: var(--dark-2); color: var(--on-dark); }

/* ---------- Появление при прокрутке ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .mask > span > span, .js .hero-side, .js .hero-shot img { animation: none; transform: none; opacity: 1; }
  .js [data-reveal] { transform: none; transition: opacity 300ms ease; }
  .button { transition: none; }
}

/* ---------- Планшет и телефон ---------- */
@media (max-width: 1000px) {
  .bar nav { display: none; }
  .bar-in { justify-content: space-between; }
  .site-head, .site-cols, .hero-in, .problem, .pilot-head, .data-in, .request-in, .razdely-in, .faq, .page-hero { grid-template-columns: 1fr; }
  .feature, .feature:nth-of-type(odd) { grid-template-columns: 1fr; }
  .feature:nth-of-type(odd) .feature-text { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 7.4vw; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
  .data-list, .steps, .checks { grid-template-columns: 1fr; }
  .request-form { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: 1fr; }
  .faq summary { padding: 18px 20px; font-size: 17px; }
  .faq details p { padding: 0 20px 20px; }
}
