/* ВОЛЮТЕК — Минимальный стиль */

:root {
  --black: #111;
  --white: #fff;
  --grey: #888;
  --line: #e8e8e8;
  --bg: #f5f5f5;
  --accent: #111;
  --accent-color: #2a5fff;
  --nav-h: 64px;
  --hero-tint: 11, 11, 13;
  --hero-bg: #0b0b0d;
  --hero-vignette-black: #020205;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* ── SPLASH ── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--hero-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity .9s, visibility .9s;
}

#splash.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sp-mark {
  display: block;
  width: min(320px, 65vw);
  height: auto;
}

.sp-line {
  width: 1px;
  height: 0;
  background: rgba(255,255,255,.12);
  animation: spL .9s ease forwards .4s;
}

.sp-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  opacity: 0;
  animation: spF .5s ease forwards 1.1s;
}

.sp-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--accent-color);
  animation: spB 2.2s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes spL {
  to { height: 44px; }
}

@keyframes spF {
  to { opacity: 1; }
}

@keyframes spB {
  to { width: 100%; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── NAV ── */
:root {
  --nav-bg: rgba(10,10,12,0.92);
  --nav-border: rgba(255,255,255,0.07);
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 12px 40px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);
}

.nav-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}

.nav-phone:hover { color: var(--white); }

.nav-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 6px;
  background: var(--accent-color);
  color: var(--white);
  border: none;
  transition: opacity 0.2s;
  letter-spacing: 0.01em;
}

.nav-btn:hover { opacity: 0.82; }

.nav-cta a {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
}

/* Мобильное меню */
.mob {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: #0a0a0c;
  z-index: 99;
  padding: 40px 24px;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mob.open { display: flex; }

.mob a {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: var(--white);
}

.mob-phone { margin-top: 32px; }
.mob-phone a {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  font-weight: 400;
}

@media (max-width: 900px) {
  .nav-links, .nav-right, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-inner { padding: 0 24px; }
}

/* ── LAYOUT ── */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-media {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 66%;
  aspect-ratio: 1 / 1;
  z-index: 2;
  background: transparent;
  overflow: hidden;
  box-shadow: inset clamp(40px, 7vw, 100px) 0 clamp(64px, 11vw, 140px) clamp(-36px, -5vw, -24px) var(--hero-bg);
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--hero-bg) 0%,
    rgba(var(--hero-tint), 0.98) 10%,
    rgba(var(--hero-tint), 0.88) 18%,
    rgba(var(--hero-tint), 0.62) 30%,
    rgba(var(--hero-tint), 0.32) 44%,
    rgba(var(--hero-tint), 0.08) 58%,
    rgba(var(--hero-tint), 0) 70%
  );
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  position: relative;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.72;
  filter: contrast(1.05) saturate(0.96);
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(var(--hero-tint), 0) 0%,
    rgba(var(--hero-tint), 0) 28%,
    rgba(var(--hero-tint), 0.48) 52%,
    rgba(var(--hero-tint), 0.78) 74%,
    var(--hero-bg) 100%
  );
}

.hero-left {
  position: relative;
  z-index: 4;
  padding: 96px 0 96px 72px;
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: #ffffff;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.hero-title .accent {
  color: #6d8fff;
}

.hero-sub {
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 44px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.btn-dark {
  background: #3b66f5;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 28px rgba(59, 102, 245, 0.5);
}

.btn-dark:hover {
  background: #5a80ff;
  box-shadow: 0 6px 36px rgba(59, 102, 245, 0.6);
  transform: translateY(-1px);
}

.btn-line {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.btn-line:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
}

/* Герой: максимальный контраст кнопок на --hero-bg */
.hero .btn-dark {
  background: #3b66f5;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.hero .btn-line {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* ── HERO RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-left { padding: 80px 0 80px 48px; }
  .hero-media { width: 72%; right: -10%; }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
  }
  .hero::before {
    display: none;
  }
  .hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    transform: none;
    box-shadow: inset 0 -120px 180px -90px var(--hero-bg);
  }
  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.58;
  }
  .hero-media::before {
    display: none;
  }
  .hero-media::after {
    display: block;
    inset: 0;
    background: radial-gradient(
      circle at 50% 38%,
      rgba(var(--hero-tint), 0.08) 0%,
      rgba(var(--hero-tint), 0.14) 28%,
      rgba(var(--hero-tint), 0.36) 56%,
      rgba(var(--hero-tint), 0.62) 76%,
      var(--hero-bg) 100%
    );
  }
  .hero-left {
    margin-top: 0;
    padding: 0 24px 60px;
    max-width: 100%;
    width: 100%;
    text-align: left;
    align-items: flex-start;
    background: none;
  }
  .hero-title { font-size: clamp(46px, 11vw, 72px); }
}

@media (max-width: 480px) {
  .hero-left {
    margin-top: 0;
    padding: 0 20px 52px;
  }
}


/* ── STATS BAR ── */
.stats {
  border-bottom: 1px solid var(--line);
}

.stats-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 32px 0 32px 32px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stat-val {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-key {
  font-size: 12px;
  color: var(--grey);
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .stat { padding: 24px 0 24px 20px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-bottom: 1px solid var(--line); padding: 20px 0; }
}

/* ── SECTION ── */
.sec {
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.sec-sm { padding: 64px 0; }

.sec-dark {
  background: var(--black);
  color: var(--white);
  border-color: #222;
}

.sec-bg {
  background: var(--bg);
}

.sec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.sec-dark .sec-label { color: #555; }

.sec-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.sec-intro {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.7;
  max-width: 480px;
}

.sec-dark .sec-intro { color: #666; }

/* ── GRID ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.cell {
  background: var(--white);
  padding: 48px 40px;
}

.sec-dark .cell {
  background: var(--black);
}

.sec-bg .cell {
  background: var(--bg);
}

.cell-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-bottom: 24px;
}

.cell-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.cell-text {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.75;
}

.sec-dark .cell-text { color: #555; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cell { padding: 32px 20px; }
}

/* ── PRODUCT IMAGE (full bleed) ── */
.product-full {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-bottom: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.split-img {
  overflow: hidden;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-img {
    min-height: 300px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .split-body { padding: 48px 20px; }
}

/* ── COMPARISON TABLE ── */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey);
  background: var(--bg);
}

th.hl, td.hl {
  background: var(--black);
  color: var(--white);
}

td.ok { color: #1a9b52; font-weight: 600; }
td.no { color: #bbb; }
td.strong { font-weight: 700; }

tr:last-child td { border-bottom: none; }

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.gal-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  position: relative;
  min-height: 0;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.gal-item:hover img { transform: scale(1.04); }

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ── LIGHTBOX ── */
#lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}

#lb.open { display: flex; }

#lb img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

#lb-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s;
}

#lb-close:hover { color: #fff; }

/* ── 360 VIEWER ── */
.viewer-section {
  border-bottom: 1px solid var(--line);
  overflow-x: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.viewer-section-header {
  text-align: center;
  padding: 64px 20px 32px;
}

.viewer-section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0;
}

.viewer-section-sub {
  font-size: 14px;
  color: var(--grey);
  margin-top: 6px;
}

.viewer-wrap {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px 56px;
  background: var(--white);
}

/* Квадрат: iframe заполняет область — KeyShot получает корректные размеры окна */
.viewer-frame {
  position: relative;
  width: min(920px, calc(100vw - 48px), calc(100vh - 150px));
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.viewer-frame iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.viewer-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .viewer-frame {
    width: min(100%, calc(100vw - 32px), calc(100vh - 140px));
  }
}

/* ── SPECS GRID ── */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

@media (max-width: 768px) {
  .specs-grid { grid-template-columns: 1fr; }
  .specs-right { border-left: none !important; border-top: 1px solid var(--line); }
  .specs-grid > div { padding: 32px 20px !important; }
}

/* ── CTA GRID ── */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── FORM ── */
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form input,
.form select,
.form textarea {
  font-family: inherit;
  font-size: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--black);
  padding: 13px 16px;
  border-radius: 2px;
  outline: none;
  width: 100%;
  transition: border-color 0.15s;
  appearance: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--black);
  background: #fff;
}

.form input::placeholder,
.form textarea::placeholder { color: #bbb; }

.form textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

.form-ok {
  display: none;
  padding: 16px;
  background: #f0faf2;
  border: 1px solid #c4e8cc;
  border-radius: 2px;
  font-size: 14px;
  color: #1a6b33;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--black);
  transition: color 0.15s;
  gap: 20px;
}

.faq-q:hover { color: var(--grey); }

.faq-icon {
  font-size: 20px;
  color: var(--grey);
  flex-shrink: 0;
  transition: transform 0.3s;
  font-weight: 300;
  line-height: 1;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a-inner {
  padding-bottom: 22px;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.8;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 56px;
  background: #fff;
  border-bottom: none;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.page-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.page-hero-title {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.03;
  max-width: 700px;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item {
  margin-bottom: 36px;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}

.contact-val {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.contact-val a {
  color: var(--black);
  transition: opacity 0.15s;
}

.contact-val a:hover { opacity: 0.5; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
}

/* ── DOCS LAYOUT ── */
.docs-nav-sticky {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.docs-nav-inner {
  padding-top: 16px;
  padding-bottom: 16px;
}

.docs-nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.docs-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #2a2a2a;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  line-height: 1.3;
  white-space: nowrap;
}

.docs-nav-link:hover {
  color: var(--black);
  background: var(--bg);
  border-color: var(--line);
}

.docs-nav-link.active {
  color: var(--black);
  font-weight: 600;
  background: rgba(42, 95, 255, 0.1);
  border-color: rgba(42, 95, 255, 0.35);
}

.docs-wrap {
  border-bottom: 1px solid var(--line);
}

.docs-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

.docs-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 72px);
}

.docs-section:first-child { padding-top: 0; }
.docs-section:last-child { border-bottom: none; }

.docs-section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.docs-section-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  opacity: 0.7;
  flex-shrink: 0;
}

.docs-h {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--black);
}

.docs-later {
  font-size: 15px;
  color: #444;
  font-style: italic;
  line-height: 1.65;
}

/* Support contacts */
.docs-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 24px;
}

.docs-contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 36px 32px;
  text-decoration: none;
  transition: background 0.15s;
}

.docs-contact-dark {
  background: var(--black);
  color: var(--white);
}

.docs-contact-dark:hover { background: #1a1a1a; }

.docs-contact-light {
  background: var(--white);
  color: var(--black);
}

.docs-contact-light:hover { background: var(--bg); }

.docs-contact-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
}

.docs-contact-val {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.docs-contact-sub {
  font-size: 13px;
  opacity: 0.5;
  margin-top: 2px;
}

.docs-contact-val {
  overflow-wrap: anywhere;
}

/* Docs responsive */
@media (max-width: 900px) {
  .docs-nav-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .docs-nav-bar {
    gap: 6px;
  }
  .docs-nav-link {
    padding: 8px 12px;
    font-size: 12px;
    white-space: normal;
  }
  .docs-body { padding: 40px 20px 64px; }
  .docs-contacts { grid-template-columns: 1fr; }
}

/* ── ABOUT / CONTACTS: responsive helpers ── */
.about-production-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.quick-contacts-wrap {
  border-top: 1px solid var(--line);
}

.quick-contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.quick-contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 48px 40px;
  text-decoration: none;
  color: #111;
  transition: background 0.15s;
}

.quick-contact-card--first {
  border-right: 1px solid var(--line);
}

.quick-contact-val {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .about-production-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .quick-contacts-grid {
    grid-template-columns: 1fr;
  }

  .quick-contact-card {
    padding: 32px 20px;
  }

  .quick-contact-card--first {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .quick-contact-val {
    font-size: clamp(18px, 5.6vw, 24px);
  }
}

/* ── FOOTER ── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.foot-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.foot-links a {
  font-size: 13px;
  color: var(--grey);
  transition: color 0.15s;
}

.foot-links a:hover { color: var(--black); }

.foot-copy {
  font-size: 12px;
  color: var(--grey);
}

@media (max-width: 640px) {
  .foot-inner { flex-direction: column; align-items: flex-start; padding: 0 20px; }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .sp-line,
  .sp-sub,
  .sp-bar {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
