/* Field Flow — публичный сайт. Цвета и размеры — в переменных :root. */
:root {
  --bg: #030c09;
  --bg-2: #061510;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(110, 255, 196, 0.12);
  --border-strong: rgba(110, 255, 196, 0.28);
  --text: #e8f5ee;
  --muted: #9cb5a9;
  --dim: #6d877b;
  --accent: #2ee59d;
  --accent-2: #14c8b4;
  --accent-ink: #022015;
  --glow: rgba(46, 229, 157, 0.35);
  --danger: #ff8a8a;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --font: Inter, 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(20, 200, 180, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(46, 229, 157, 0.10), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.accent {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--glow); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(46, 229, 157, 0.08); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(3, 12, 9, 0.55);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.is-scrolled { border-color: var(--border); background: rgba(3, 12, 9, 0.82); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 36px; height: auto; }
.brand b { color: var(--accent); font-weight: 800; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-list { list-style: none; display: flex; gap: 4px; margin: 0 0 0 24px; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.has-menu { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: #07170f; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu-link { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 15px; }
.submenu-link:hover, .submenu-link[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.nav-actions { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(46, 229, 157, 0.22), transparent 70%);
  filter: blur(20px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero--text .hero-grid { grid-template-columns: 1fr; }
.hero-copy.is-center { text-align: center; max-width: 760px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--dim); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(46, 229, 157, 0.07);
  color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.hero-title { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.07; letter-spacing: -0.025em; font-weight: 800; margin: 20px 0 20px; text-wrap: balance; }
.hero-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); margin: 0 0 32px; max-width: 600px; }
.hero-copy.is-center .hero-lead { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.is-center { justify-content: center; }
.hero-badges { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--accent); }
.hero-media { position: relative; }
.hero-media::before {
  content: ''; position: absolute; inset: 10% 5%; border-radius: 40px; z-index: -1;
  background: linear-gradient(135deg, rgba(46, 229, 157, .35), rgba(20, 200, 180, .15)); filter: blur(60px);
}
.hero--404 { padding: 120px 0; min-height: 60vh; }

.frame {
  border-radius: var(--radius); padding: 6px; background: linear-gradient(145deg, rgba(110, 255, 196, .28), rgba(110, 255, 196, .04));
  box-shadow: var(--shadow);
}
.frame .shot { border-radius: calc(var(--radius) - 5px); width: 100%; }

/* ---------- Картинки, которые открываются крупно ---------- */
.zoomable {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none;
  border-radius: calc(var(--radius) - 5px); overflow: hidden; cursor: zoom-in; color: var(--text);
}
.zoomable .shot { transition: transform .7s cubic-bezier(.22, .61, .36, 1), filter .5s ease; }
.zoomable::after {
  /* блик, бегущий за курсором */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(120, 255, 200, .18), transparent 60%);
}
.zoom-hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 650; color: var(--accent-ink);
  background: linear-gradient(92deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 24px -8px var(--glow);
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.frame.is-zoomable {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1), box-shadow .5s ease, background .5s ease;
  will-change: transform;
}
.frame.is-zoomable:hover, .frame.is-zoomable:focus-within {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.025);
  background: linear-gradient(145deg, rgba(110, 255, 196, .6), rgba(20, 200, 180, .12));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(46, 229, 157, .25), 0 20px 60px -20px var(--glow);
}
.zoomable:hover .shot, .zoomable:focus-visible .shot { transform: scale(1.06); filter: saturate(1.08) brightness(1.04); }
.zoomable:hover::after, .zoomable:focus-visible::after { opacity: 1; }
.zoomable:hover .zoom-hint, .zoomable:focus-visible .zoom-hint { opacity: 1; transform: none; }
/* Текст рядом с картинкой мягко уступает место, как на промо */
.split-copy { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.split:has(.split-media .zoomable:hover) .split-copy { transform: translateX(-14px); }
.split.is-reverse:has(.split-media .zoomable:hover) .split-copy { transform: translateX(14px); }
@media (hover: none) {
  /* На телефоне наведения нет — подсказка видна всегда, но скромнее */
  .zoom-hint { opacity: .92; transform: none; padding: 6px 10px; font-size: 13px; right: 10px; bottom: 10px; }
}

/* ---------- Цифры ---------- */
.stats-band { padding: 8px 0 24px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.stat-value { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(92deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-weight: 650; }
.stat-hint { color: var(--dim); font-size: 14px; line-height: 1.45; }
.stats-note { color: var(--dim); font-size: 13px; margin: 12px 0 0; }

/* ---------- Секции ---------- */
.section { padding: 88px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.is-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin: 16px 0 14px; text-wrap: balance; }
.section-head .section-title:first-child { margin-top: 0; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin: 0; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border); transition: border-color .2s, transform .2s, background .2s;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(46, 229, 157, 0.1); color: var(--accent); border: 1px solid var(--border); margin-bottom: 18px;
}
.card-title { font-size: 1.12rem; line-height: 1.3; margin: 0 0 8px; font-weight: 700; }
.card-text { color: var(--muted); margin: 0; font-size: 15.5px; line-height: 1.55; }
.card-link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.card--link { padding: 0; }
.card--link > a { display: flex; flex-direction: column; height: 100%; padding: 26px; text-decoration: none; }
.card--link:hover .card-link .icon { transform: translateX(4px); }
.card-link .icon { transition: transform .2s; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split.is-reverse .split-copy { order: 2; }
.split-copy .section-title { margin-top: 16px; }
.prose p { color: var(--muted); margin: 0 0 14px; }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: var(--accent-ink); background: var(--accent); border-radius: 50%; padding: 3px; margin-top: 3px; width: 22px; height: 22px; }
.split-cta { margin-top: 28px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; }
.step-num { display: inline-block; font-size: 15px; font-weight: 800; color: var(--accent-ink); background: linear-gradient(92deg, var(--accent), var(--accent-2)); border-radius: 10px; padding: 4px 10px; margin-bottom: 16px; }
.steps-media { margin-top: 40px; }

.article { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-part { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.article-title { margin: 0 0 12px; font-size: 1.2rem; font-weight: 700; }
.article-part .prose p:last-child { margin-bottom: 0; }

/* ---------- Галерея ---------- */
.section--gallery { overflow: hidden; }
.gallery { position: relative; }
.gallery-track {
  list-style: none; margin: 0; padding: 4px 4px 18px; display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
}
.gallery-item { flex: 0 0 min(560px, 85%); scroll-snap-align: center; }
.gallery-open { border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .3s, transform .4s ease, box-shadow .4s ease; }
.gallery-open:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 24px 50px -24px var(--glow); }
.gallery-open .shot { border-radius: 0; }
.gallery-track { padding-top: 10px; }
.gallery-nav {
  position: absolute; top: calc(50% - 30px); z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(3, 12, 9, .8); border: 1px solid var(--border-strong); backdrop-filter: blur(8px);
}
.gallery-nav:hover { border-color: var(--accent); color: var(--accent); }
.gallery-nav.is-prev { left: -8px; }
.gallery-nav.is-next { right: -8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; cursor: pointer; font-weight: 650; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--accent); transition: transform .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 10px; }

/* ---------- CTA ---------- */
.section--cta { padding-top: 40px; }
.cta {
  position: relative; overflow: hidden; text-align: center; padding: 72px 32px; border-radius: 32px;
  background: linear-gradient(140deg, rgba(46, 229, 157, .16), rgba(20, 200, 180, .06) 50%, rgba(255, 255, 255, .02));
  border: 1px solid var(--border-strong);
}
.cta-glow { position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(46, 229, 157, .25), transparent); pointer-events: none; }
.cta-title { position: relative; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.15; margin: 0 auto 14px; max-width: 760px; letter-spacing: -0.02em; text-wrap: balance; }
.cta-text { position: relative; color: var(--muted); margin: 0 auto 32px; max-width: 600px; font-size: 1.1rem; }

/* ---------- Контакты и формы ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-top: 24px; }
.contacts-list { display: grid; gap: 14px; }
.contacts-list .section-head { margin-bottom: 16px; }
.contacts-list .section-title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; transition: border-color .2s; }
.contact-card:hover { border-color: var(--accent); }
.contact-card .card-icon { margin: 0; }
.contact-body { display: grid; gap: 2px; }
.contact-title { color: var(--muted); font-size: 14px; }
.contact-value { font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.contact-note { color: var(--dim); font-size: 14px; }
.contacts-form { padding: 32px; border-radius: 24px; background: #06150f; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.form-title { margin: 0 0 8px; font-size: 1.6rem; }
.form-lead { color: var(--muted); margin: 0 0 22px; font-size: 15.5px; }
.demo-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 229, 157, .15); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-status { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-error { color: var(--danger); }
.form-consent { margin: 0; color: var(--dim); font-size: 13px; }
.form-consent a { color: var(--muted); }

/* ---------- Модальные окна ---------- */
.modal, .lightbox { border: 0; padding: 0; background: transparent; color: var(--text); max-width: none; max-height: none; }
.modal::backdrop, .lightbox::backdrop { background: rgba(1, 6, 4, .78); backdrop-filter: blur(6px); }
.modal-box { position: relative; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; padding: 32px; border-radius: 24px; background: #06150f; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; z-index: 2; }
.modal-close:hover { border-color: var(--accent); }

/* ---------- Полноэкранный просмотр ---------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; margin: 0; inset: 0; overflow: hidden; }
.lightbox[open] { display: flex; flex-direction: column; animation: lb-in .25s ease; }
.lightbox::backdrop { background: rgba(1, 6, 4, .92); backdrop-filter: blur(10px); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
html.lb-open { overflow: hidden; }
.lb-bar {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px; flex: none;
  background: linear-gradient(rgba(1, 6, 4, .85), rgba(1, 6, 4, 0));
}
.lb-counter { font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 700; min-width: 56px; }
.lb-caption { flex: 1; color: var(--muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-actions { display: flex; gap: 8px; }
.lb-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--border); transition: border-color .2s, color .2s;
}
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lightbox.is-zoomed .lb-plus { display: none; }
.lb-stage {
  flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 84px 12px; overflow: hidden;
  overscroll-behavior: contain;
}
.lb-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in;
  border-radius: 14px; border: 1px solid var(--border-strong); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9);
  transition: opacity .25s ease;
}
.lightbox.is-loading .lb-img { opacity: .35; }
.lightbox.is-zoomed .lb-stage { display: block; overflow: auto; padding: 0 20px 20px; cursor: grab; }
.lightbox.is-zoomed .lb-img { max-width: none; max-height: none; width: 1672px; cursor: zoom-out; margin: 0 auto; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: rgba(3, 12, 9, .7); border: 1px solid var(--border-strong); backdrop-filter: blur(8px); transition: border-color .2s, color .2s, transform .2s;
}
.lb-nav:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-50%) scale(1.06); }
.lb-nav.is-prev { left: 16px; }
.lb-nav.is-next { right: 16px; }
.lb-nav[hidden], .lightbox.is-zoomed .lb-nav { display: none; }
.lb-tip { margin: 0; padding: 0 20px 14px; text-align: center; color: var(--dim); font-size: 13px; flex: none; }
@media (max-width: 700px) {
  .lb-stage { padding: 0 8px 8px; }
  .lb-nav { width: 44px; height: 44px; top: auto; bottom: 18px; transform: none; }
  .lb-nav:hover { transform: none; }
  .lb-nav.is-prev { left: calc(50% - 56px); }
  .lb-nav.is-next { right: calc(50% - 56px); }
  .lb-tip { display: none; }
  .lb-stage { padding-bottom: 76px; }
  .lb-caption { font-size: 14px; }
}

/* ---------- Подвал ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--border); background: rgba(0, 0, 0, .25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-about p { color: var(--muted); font-size: 15px; margin: 16px 0 20px; max-width: 360px; }
.store-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--border-strong); text-decoration: none; font-size: 15px; font-weight: 600; }
.store-link:hover { border-color: var(--accent); color: var(--accent); }
.footer-title { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 4px 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--border); color: var(--dim); font-size: 14px; }

/* ---------- Появление при прокрутке (только с JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  /* Отклик на наведение оставляем (подъём, подсветка, подсказка), но короче и без наклона */
  .frame.is-zoomable, .zoomable .shot { transition-duration: .2s; }
  .split-copy { transition: none; }
  .split:has(.split-media .zoomable:hover) .split-copy { transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-list { margin-left: 8px; }
  .nav-link { padding: 8px 10px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px; background: #04110c; border-bottom: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; margin: 0; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 16px; border-radius: 12px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .has-menu.is-open .submenu { display: block; }
  .has-menu:hover .submenu { display: none; }
  .has-menu.is-open:hover .submenu { display: block; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; min-height: 48px; }
  .hero { padding: 40px 0 32px; }
  .hero-grid, .split, .contacts-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.is-reverse .split-copy { order: 0; }
  .split-media { order: 2; }
  .cols-3, .steps, .article { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
  .gallery-nav { display: none; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .cols-2, .cols-4, .stats, .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .stat, .card, .step, .article-part { padding: 22px; }
  .card--link > a { padding: 22px; }
  .cta { padding: 48px 20px; border-radius: 24px; }
  .contacts-form, .modal-box { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-head { margin-bottom: 32px; }
}
