/* ASVOLTAGE — стили страницы (T-003).
   Цвета и размеры собраны в переменных ниже: поменяйте значение — изменится по всему сайту. */

/* ---------- Шрифты (лежат в site/fonts, лицензия OFL) ---------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Переменные ---------- */
:root {
  --bg: #0b0c0e;
  --panel: rgba(13, 14, 17, .8);
  --panel-solid: #121317;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --text: #ffffff;
  --text-2: #d9dde1;
  --mute: #9ca1a8;
  --y: #ffca00;
  --y-2: #ffd83d;
  --err: #ff7a66;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --head: 72px;
  --bar: 0px;              /* высота нижней панели на телефоне */
  color-scheme: dark;
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--bar);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }
.lang-wait body { visibility: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--y); color: #111; font-weight: 600; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
main, .finale { position: relative; z-index: 1; }

/* ---------- Типографика ---------- */
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 100px); }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
.lead { color: var(--text-2); font-size: clamp(15px, 1.35vw, 18px); max-width: 680px; }
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
}
.label::before { content: ""; width: 22px; height: 1px; background: var(--y); }
.sec-head { display: grid; justify-items: center; gap: 18px; text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head .lead { margin-inline: auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 20px;
  background: var(--y); color: #111; border: 1px solid var(--y);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--y-2); border-color: var(--y-2); transform: translateY(-1px); }
.btn .ico { width: 14px; height: 14px; stroke-width: 2; }
.btn--ghost { background: rgba(10, 11, 13, .55); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(10, 11, 13, .75); border-color: var(--y); color: var(--text); }
.btn--ghost .ico { color: var(--y); }

/* ---------- Карточки ---------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ico-box {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--y); color: var(--y);
}
.arrow-box {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--y); color: var(--y);
  transition: background .2s, color .2s;
}
.arrow-box .ico { width: 14px; height: 14px; stroke-width: 2; }

/* ---------- Шапка ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--head);
  border-bottom: 1px solid var(--line);
}
/* фон шапки — отдельным слоем: размытие на самой шапке ломало бы мобильное меню (оно position: fixed) */
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 9, 11, .78);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.top .wrap { --wrap: 1320px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 30px; width: auto; }
.brand b { display: block; font-weight: 800; letter-spacing: -.03em; font-size: 19px; line-height: 1; }
.brand b i { color: var(--y); font-style: normal; }
.brand small { display: block; margin-top: 5px; font: 500 8.5px/1 var(--mono); letter-spacing: .24em; color: var(--mute); }
.menu { display: flex; align-items: center; gap: 40px; flex: 1; justify-content: flex-end; }
.nav { display: flex; gap: 30px; margin-right: auto; margin-left: auto; font-size: 14px; }
.nav a { position: relative; padding: 8px 0; color: var(--text-2); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--y); transform: scaleX(0); transition: transform .25s; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active::after { transform: scaleX(1); }
.lang { display: flex; gap: 4px; font: 500 11px/1 var(--mono); }
.lang button { padding: 8px 6px; background: none; border: 0; color: var(--mute); letter-spacing: .08em; }
.lang button[aria-pressed="true"] { color: var(--y); }
.lang button:hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; place-items: center; background: none; border: 1px solid var(--line-2); }
.burger .ico { width: 22px; height: 22px; }
.burger .i-close { display: none; }

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--head) + 48px) 0 96px;
}
.hero .wrap { display: grid; justify-items: center; gap: 24px; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-inline: auto; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
.cue i { width: 1px; height: 36px; background: var(--y); transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60%, 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Блок доверия ---------- */
.trust { padding: 0 0 clamp(16px, 4vw, 40px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 26px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item b { display: block; font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.trust-item b span { color: var(--y); }
.trust-item p { margin-top: 10px; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ---------- Разделы ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }

/* O nás */
.about-text { display: grid; gap: 14px; justify-items: center; text-align: center; color: var(--text-2); max-width: 760px; margin: -24px auto clamp(40px, 6vw, 64px); }
.about-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 12px; }
.feature { padding: 26px 22px; display: grid; align-content: start; gap: 12px; }
.feature .ico-box { margin-bottom: 14px; border: 0; width: auto; height: auto; justify-content: start; }
.feature .ico-box .ico { width: 24px; height: 24px; }
.feature p { color: var(--mute); font-size: 14px; }
.brand-card {
  position: relative; overflow: hidden;
  min-height: 340px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--panel);
}
.brand-card::after { content: ""; position: absolute; right: -1px; top: -1px; width: 56px; height: 56px; border-top: 2px solid var(--y); border-right: 2px solid var(--y); }
.brand-card .tag { display: flex; align-items: center; gap: 14px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.brand-card .tag b { width: 42px; height: 42px; display: grid; place-items: center; background: var(--y); color: #111; font: 700 17px var(--font); letter-spacing: -.02em; }
.brand-card blockquote { margin: 0; display: flex; align-items: end; justify-content: space-between; gap: 20px; font: 500 clamp(18px, 1.8vw, 22px)/1.35 var(--mono); letter-spacing: -.01em; }
.brand-card blockquote .ico { color: var(--y); width: 22px; height: 22px; }
/* карта Словакии в фирменной карточке */
.sk-map { width: 100%; height: auto; margin: 22px 0 18px; overflow: visible; }
.sk-label { font: 600 12.5px var(--mono); letter-spacing: .04em; fill: var(--text-2); paint-order: stroke; stroke: #0b0c0e; stroke-width: 3px; stroke-linejoin: round; }
.sk-main { fill: #fff; font-size: 14px; }
.sk-country { fill: rgba(255, 255, 255, .35); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
/* словацкая версия — карта Словакии; английская и немецкая — карта с Веной */
html[lang="sk"] .map-intl, html:not([lang="sk"]) .map-sk { display: none; }
.map-intl .sk-label { font-size: 15px; }
.map-intl .sk-main { font-size: 16.5px; }
.map-intl .sk-country { font-size: 12px; }
.sk-pulse { fill: none; stroke: var(--y); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: sk-pulse 2.4s ease-out infinite; }
@keyframes sk-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }

/* Služby */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card {
  position: relative; min-height: 236px; padding: 22px;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px;
  transition: border-color .25s, background .25s;
}
.card .ico-box { margin-bottom: 18px; }
.card p { color: var(--mute); font-size: 14px; max-width: 34ch; }
.card .arrow-box { justify-self: end; margin-top: 18px; }
.card:hover { border-color: rgba(255, 202, 0, .55); }
.card:hover .arrow-box, .card:focus-within .arrow-box { background: var(--y); color: #111; }
.card a.cover { position: absolute; inset: 0; }
.strip {
  margin-top: 24px; padding: 18px 18px 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.strip .label { color: #fff; font-family: var(--font); font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 600; }
.strip p { color: var(--mute); font-size: 14px; flex: 1; min-width: 220px; }

/* Ako pracujeme */
.steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 37px; height: 1px; background: linear-gradient(90deg, var(--y), rgba(255, 202, 0, .15)); }
.step { position: relative; padding: 24px 22px 26px; display: grid; gap: 12px; align-content: start; }
.step .num {
  position: relative; width: 28px; height: 28px; margin-bottom: 12px;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--y); color: var(--y);
  font: 600 11px var(--mono);
}
.step p { color: var(--mute); font-size: 14px; }

/* Portfólio */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; padding: 0; text-align: left;
  border: 1px solid var(--line); background: var(--panel);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; filter: saturate(.9); }
.tile .cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .82));
  display: grid; gap: 2px;
}
.tile .cap b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.tile .cap span { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.tile .zoom { position: absolute; right: 12px; top: 12px; opacity: 0; transition: opacity .25s; background: rgba(0,0,0,.5); }
button.tile:hover img { transform: scale(1.04); filter: saturate(1.05); }
button.tile:hover .zoom, button.tile:focus-visible .zoom { opacity: 1; }
.tile.is-empty { display: grid; place-items: center; align-content: center; gap: 12px; color: var(--mute); border-style: dashed; border-color: var(--line-2); }
.tile.is-empty .ico { width: 30px; height: 30px; color: rgba(255, 202, 0, .7); stroke-width: 1.3; }
.tile.is-empty span { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* Просмотр фото */
.lb {
  position: fixed; inset: 0; z-index: 80;
  display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 64px 1fr auto; align-items: center;
  background: rgba(5, 6, 8, .94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lb[hidden] { display: none; }
.lb figure { grid-column: 2; grid-row: 2; margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 14px; min-height: 0; }
.lb img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.lb figcaption { text-align: center; color: var(--text-2); font-size: 14px; }
.lb figcaption span { color: var(--mute); font-family: var(--mono); font-size: 12px; margin-left: 10px; }
.lb button { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); justify-self: center; }
.lb button:hover { border-color: var(--y); color: var(--y); }
.lb .lb-close { grid-column: 3; grid-row: 1; }
.lb .lb-prev { grid-column: 1; grid-row: 2; }
.lb .lb-next { grid-column: 3; grid-row: 2; }
.lb .lb-count { grid-column: 2; grid-row: 1; text-align: center; font: 500 12px var(--mono); color: var(--mute); letter-spacing: .1em; }
.lb-open { overflow: hidden; }

/* Kontakt */
.contact-top { display: grid; grid-template-columns: 1.65fr 1fr; gap: 44px; align-items: start; margin-bottom: 56px; }
.intro { padding: 30px clamp(22px, 3vw, 40px) 36px; border-left: 2px solid var(--y); display: grid; gap: 20px; }
.direct { padding: 24px; display: grid; gap: 4px; border-top: 1px solid rgba(255, 202, 0, .5); }
.direct .small { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--mute); margin-bottom: 14px; }
.direct a.big { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; padding: 4px 0; }
.direct a.big .ico { color: var(--y); }
.direct a.big:hover { color: var(--y); }
.direct dl { margin: 18px 0 0; display: grid; }
.direct dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; }
.direct dt { font: 500 11px/1.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.direct dd { margin: 0; }
.form-card { display: grid; grid-template-columns: .9fr 1.7fr; }
.form-side { padding: 34px; display: flex; flex-direction: column; gap: 18px; background: rgba(22, 23, 27, .88); border-right: 1px solid var(--line); }
.form-side .bolt { width: 46px; height: 46px; display: grid; place-items: center; background: var(--y); color: #111; margin-bottom: 40px; }
.form-side .bolt .ico { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.form-side h3 { font-size: 24px; }
.form-side p { color: var(--mute); font-size: 14px; max-width: 30ch; }
.form-side .coords { margin-top: auto; padding-top: 40px; font: 500 11px var(--mono); letter-spacing: .14em; color: var(--mute); }
.form { padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--text-2); }
.field label i { color: var(--y); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line-2); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23d9dde1' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field select option { background: var(--panel-solid); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--y); box-shadow: 0 0 0 3px rgba(255, 202, 0, .14); }
.field [aria-invalid="true"] { border-color: var(--err); }
.err { min-height: 0; font-size: 12.5px; color: var(--err); }
.err:empty { display: none; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid var(--line-2); background: rgba(255,255,255,.025); display: grid; place-items: center; cursor: pointer; }
.consent input:checked { background: var(--y); border-color: var(--y); }
.consent input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #111; border-bottom: 2px solid #111; transform: translateY(-1px) rotate(-45deg); }
.consent input[aria-invalid="true"] { border-color: var(--err); }
.consent a { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.form-status { font-size: 14px; color: var(--text-2); flex: 1; min-width: 200px; }
.form-status.ok { color: var(--y); }
.form-status.bad { color: var(--err); }
.form-foot .btn { margin-left: auto; }
.form-foot .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Финал и подвал ---------- */
.finale { min-height: 135vh; min-height: 135svh; display: flex; flex-direction: column; justify-content: flex-end; }
.foot { border-top: 1px solid var(--line); background: linear-gradient(rgba(8, 9, 11, 0), rgba(8, 9, 11, .85) 40%); padding: 22px 0 26px; font-size: 13px; color: var(--mute); }
.foot .wrap { --wrap: 1320px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 32px; }
.foot-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; }
.foot-contacts a:hover { color: var(--y); }
.foot-social[hidden] { display: none; }
.foot-social { display: flex; align-items: center; gap: 8px; }
.foot-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: border-color .2s, color .2s; }
.foot-social a:hover { border-color: var(--y); color: var(--y); }
.foot-social .ico { width: 17px; height: 17px; }
.foot-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a:hover { color: var(--y); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.foot-links button, .doc [data-cc-open] { padding: 0; border: 0; background: none; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-links button:hover { color: var(--y); }

/* ---------- Плашка о cookies (js/ads.js) ---------- */
.cc {
  position: fixed; z-index: 60; left: var(--gut); bottom: calc(var(--bar) + 16px);
  width: min(430px, 100% - 2 * var(--gut)); padding: 20px 22px 22px;
  display: grid; gap: 12px;
  background: rgba(13, 14, 17, .95); border-left: 2px solid var(--y);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  animation: cc-in .45s cubic-bezier(.2, .7, .2, 1);
}
.cc[hidden], .menu-open .cc { display: none; }
.cc p { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.cc a, .doc [data-cc-open] { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }
.cc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.cc-btns .btn { min-height: 44px; padding: 0 14px; }
@keyframes cc-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Страница «Zásady ochrany osobných údajov» ---------- */
.legal { position: relative; z-index: 1; padding: calc(var(--head) + 48px) 0 72px; }
.legal-wrap { --wrap: 880px; display: grid; gap: 16px; }
.back { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: var(--mute); font-size: 14px; transition: color .2s; }
.back .ico { width: 16px; height: 16px; }
.back:hover { color: var(--y); }
.legal h1 { margin-top: 6px; font-size: clamp(38px, 6vw, 68px); }
.updated { margin-bottom: 14px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.doc { padding: clamp(22px, 4vw, 48px); display: grid; gap: 34px; line-height: 1.7; color: var(--text-2); }
.doc section { scroll-margin-top: calc(var(--head) + 20px); }
.doc h2 { margin-bottom: 12px; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.02em; color: #fff; }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 10px 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.doc li { position: relative; padding-left: 20px; }
.doc li::before { content: ""; position: absolute; left: 0; top: .8em; width: 9px; height: 1px; background: var(--y); }
.doc a { color: var(--y); text-decoration: underline; text-underline-offset: 3px; }
.doc b { color: #fff; font-weight: 600; }
.toc { padding: 18px 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.toc > span { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.toc ol { margin: 10px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
.toc li { padding: 3px 0; break-inside: avoid; }
.toc li::before { display: none; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--y); }
.page-foot { position: relative; z-index: 1; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ---------- Нижняя панель на телефоне ---------- */
.callbar { display: none; }

/* ---------- Появление при прокрутке ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity .3s; }
  .cue i, .sk-pulse, .cc { animation: none; }
}

/* ---------- Планшеты ---------- */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .brand-card { grid-column: 1 / -1; min-height: 240px; }
  .brand-card .sk-map { max-width: 560px; align-self: center; }
  .about-grid .feature:last-child { grid-column: 1 / -1; }
  .cards, .gallery { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .contact-top { grid-template-columns: 1fr; gap: 20px; }
  .form-card { grid-template-columns: 1fr; }
  .form-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 24px; }
  .form-side .bolt { margin: 0; }
  .form-side .coords { display: none; }
}

/* ---------- Телефоны ---------- */
@media (max-width: 900px) {
  :root { --head: 62px; --bar: 64px; }
  .burger { display: grid; }
  .top .wrap > .btn { display: none; }
  .menu {
    position: fixed; inset: var(--head) 0 0 0; z-index: 39;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 28px var(--gut) calc(var(--bar) + 28px);
    background: #08090b;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .menu-open { overflow: hidden; }
  .menu-open .burger .i-menu { display: none; }
  .menu-open .burger .i-close { display: block; }
  .nav { flex-direction: column; gap: 0; margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: #fff; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--y); }
  .lang { font-size: 13px; }
  .lang button { padding: 10px 12px 10px 0; }
  .menu .btn { align-self: flex-start; }

  .callbar {
    position: fixed; inset: auto 0 0 0; z-index: 45;
    height: var(--bar); display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 9, 11, .92); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .callbar .btn { min-height: 46px; padding: 0 12px; gap: 10px; }
  .callbar .btn .ico { width: 16px; height: 16px; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cue { display: none; }
  .foot .wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot-legal, .foot-links { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .about-grid, .cards, .steps { grid-template-columns: 1fr; }
  .gallery { gap: 8px; }
  .tile .cap { padding: 32px 10px 10px; }
  .tile .cap b { font-size: 13px; line-height: 1.25; }
  .about-grid .feature:last-child { grid-column: auto; }
  .steps { padding-left: 14px; }
  .steps::before { display: block; left: 0; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; background: linear-gradient(var(--y), rgba(255, 202, 0, .15)); }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .direct dl div { grid-template-columns: 1fr; gap: 2px; }
  .strip .btn { width: 100%; }
}
