@charset "UTF-8";
:root {
  --bg-black: #08090b;
  --bg-panel: #131519;
  --bg-panel-2: #1b1e24;
  --bg-panel-3: #22262d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --steel: #8b93a1;
  --steel-light: #c4cad3;
  --steel-dark: #5b6472;
  --text-primary: #f3f4f6;
  --text-secondary: #9aa2af;
  --text-tertiary: #6b7280;
  --gold: #c9a24b;
  --gold-light: #e6c979;
  --neon: #3ddcff;
  --neon-dim: rgba(61, 220, 255, 0.14);
  --danger: #ff5470;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ff-display: 'Montserrat', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --ff-mono: 'JetBrains Mono', monospace;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg-black);
  color: var(--text-primary);
  font-family: var(--ff-body);
  line-height: 1.55;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--steel);
}

h1,
h2,
h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .section-sub {
    margin-bottom: 32px;
  }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

section {
  position: relative;
}

.brushed-steel {
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.015) 0px, rgba(255, 255, 255, 0.015) 1px, transparent 1px, transparent 3px), linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-black) 100%);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .btn {
    padding: 11px 16px;
    font-size: 13px;
  }
}
.btn-primary {
  background: linear-gradient(135deg, var(--steel-light), var(--steel));
  color: #141312 !important;
  box-shadow: 0 0 0 1px rgba(139, 147, 161, 0.4), 0 8px 24px -8px rgba(139, 147, 161, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(139, 147, 161, 0.6), 0 14px 30px -8px rgba(139, 147, 161, 0.7);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--neon);
  box-shadow: 0 0 0 1px rgba(61, 220, 255, 0.3), 0 0 24px -6px rgba(61, 220, 255, 0.5);
}

/* Базовый стиль кнопки MAX */
.btn-max {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  background: linear-gradient(135deg, #00D4FF, #7B68EE, #8B00FF);
  color: #ffffff;
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(123, 104, 238, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, filter 0.18s ease;
}

/* Иконка внутри кнопки */
.btn-max-icon {
  flex-shrink: 0;
  display: block;
}

/* Эффект при наведении (свечение + легкий подъем) */
.btn-max:hover {
  transform: translateY(-2px);
  /* Усиленная двухуровневая тень для эффекта неонового свечения */
  box-shadow: 0 6px 25px rgba(123, 104, 238, 0.65), 0 0 15px rgba(0, 212, 255, 0.5);
  filter: brightness(1.1);
  color: #ffffff;
}

/* Эффект при нажатии */
.btn-max:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(123, 104, 238, 0.4);
  filter: brightness(0.95);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 11, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 480px) {
  .header-inner {
    padding: 14px 16px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  min-width: 0;
  flex-shrink: 1;
}
@media (max-width: 480px) {
  .logo {
    font-size: 15px;
    gap: 8px;
  }
}
.logo-mark {
  width: 47px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--bg-panel-3), var(--bg-panel));
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden; /* Скрывает острые углы видео за скругленной рамкой */
}
@media (max-width: 480px) {
  .logo-mark {
    width: 28px;
    height: 28px;
  }
}
.logo-mark {
  /* Настройки для видео внутри логотипа */
}
.logo-mark video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* Заполняет весь блок без искажений пропорций */
}
.logo-mark svg {
  width: 18px;
  height: 18px;
}
.logo-sub {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: var(--text-tertiary);
  letter-spacing: 0.14em;
  display: block;
  margin-top: 1px;
  font-weight: 400;
}
@media (max-width: 480px) {
  .logo-sub {
    display: none;
  }
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
  /* Переключаемся на бургер при ширине меньше 1150px */
}
@media (max-width: 1150px) {
  .nav-desktop {
    display: none;
  }
}
.nav-desktop a {
  font-size: 13.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-desktop a:hover {
  color: var(--text-primary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .header-right {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .header-right {
    gap: 8px;
  }
}

.contact-info {
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.contact-info b {
  color: var(--text-primary);
  font-weight: 600;
}

/* В шапке (десктоп) показываем только телефон, без города — компактнее */
.header-inner .contact-info {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.header-inner .contact-info span {
  display: none;
}
.header-inner .contact-info {
  /* Контакты — первое, что уходит при нехватке места (город уже есть в подвале и на баннере) */
}
@media (max-width: 1400px) {
  .header-inner .contact-info {
    display: none;
  }
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  flex-shrink: 0;
  /* Показываем бургер при ширине меньше 1150px */
}
@media (max-width: 1150px) {
  .burger {
    display: flex;
  }
}
@media (max-width: 480px) {
  .burger {
    width: 36px;
    height: 36px;
  }
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  position: relative;
  transition: all 0.25s ease;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.25s ease;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}
.burger.active span {
  background: transparent;
}
.burger.active span::before {
  transform: rotate(45deg);
  top: 0;
}
.burger.active span::after {
  transform: rotate(-45deg);
  top: 0;
}

.mobile-menu {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 18px;
  z-index: 999;
  opacity: 0;
  transform: translateY(-14px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open a:nth-child(1) {
  transition-delay: 0.03s;
}
.mobile-menu.open a:nth-child(2) {
  transition-delay: 0.06s;
}
.mobile-menu.open a:nth-child(3) {
  transition-delay: 0.09s;
}
.mobile-menu.open a:nth-child(4) {
  transition-delay: 0.12s;
}
.mobile-menu a {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 6px 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mobile-menu .btn-primary {
  opacity: 1;
  transform: none;
  transition: none;
}
.mobile-menu .contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 6px;
}
.mobile-menu .contact-info span {
  display: block;
}

footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-family: var(--ff-body);
  font-weight: 600;
}
.footer-col a,
.footer-col li {
  display: block;
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 11px;
}
.footer-col a:hover {
  color: var(--text-primary);
}

.footer-security {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--text-tertiary);
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .footer-security {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.footer-security span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-security svg {
  width: 14px;
  height: 14px;
  stroke: var(--neon);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

/* ---------- HERO ---------- */
.hero {
  padding: 168px 0 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 900px 500px at 82% -10%, rgba(61, 220, 255, 0.1), transparent 60%), radial-gradient(ellipse 700px 500px at 5% 20%, rgba(139, 147, 161, 0.08), transparent 60%), var(--bg-black);
}
@media (max-width: 768px) {
  .hero {
    padding: 130px 0 70px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.hero-copy h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero-copy h1 .accent {
  background: linear-gradient(100deg, var(--steel-light), var(--steel) 55%, var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-price .price-label {
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-price .price-value {
  font-family: var(--ff-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--steel-light);
}
@media (max-width: 480px) {
  .hero-price .price-value {
    font-size: 22px;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .hero-stats {
    gap: 20px;
  }
}

.hero-stat b {
  display: block;
  font-family: var(--ff-mono);
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 700;
}
.hero-stat span {
  font-size: 12.5px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1024px) {
  .hero-visual {
    max-width: 460px;
    margin: 0 auto;
    order: -1;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .hero-visual {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/11;
    /* Увеличиваем отступ сверху, чтобы было место для выезда ТВ */
    margin-top: 80px;
    /* Было 40px */
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .hero-visual {
    aspect-ratio: 4/3;
    margin-top: 24px;
    margin-bottom: 12px;
  }
}

.tv-frame {
  position: relative;
  width: 88%;
  aspect-ratio: 16/10;
  border-radius: 14px;
  background: linear-gradient(155deg, #1a1c21, #0c0d10);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: tv-shift-desktop 5s ease-in-out infinite;
  overflow: visible;
}
.tv-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(61, 220, 255, 0.06), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 768px) {
  .tv-frame {
    animation: tv-shift-mobile 6s ease-in-out infinite;
    will-change: transform;
  }
}

.tv-screen-img {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  z-index: 1;
}

/* Надпись TV 65" — прибита к левому верхнему углу рамки */
.tv-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(12, 13, 16, 0.85);
  border: 1px solid rgba(61, 220, 255, 0.35);
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
@media (max-width: 480px) {
  .tv-label {
    top: 10px;
    left: 10px;
    font-size: 10px;
    padding: 3px 10px;
  }
}

/* Основная анимация для десктопа */
@keyframes tv-shift-desktop {
  0%, 15% {
    /* Закрытое положение */
    transform: translateY(35%);
  }
  40%, 80% {
    /* Подъем вверх: полностью открытый сейф */
    transform: translateY(-35%);
  }
  95%, 100% {
    /* Возврат в исходное положение */
    transform: translateY(35%);
  }
}
/* Мобильная адаптация под тайминги 15 / 40 / 15 */
@keyframes tv-shift-mobile {
  0%, 15% {
    /* Уменьшенный сдвиг вниз для мобильных экранов */
    transform: translateY(15%);
  }
  40%, 80% {
    /* Уменьшенный сдвиг вверх, чтобы блок не вылезал за границы экрана */
    transform: translateY(-45%);
  }
  95%, 100% {
    transform: translateY(15%);
  }
}
.safe-behind {
  position: absolute;
  width: 78%;
  aspect-ratio: 1/0.62;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  border-radius: 10px;
  background: linear-gradient(150deg, var(--bg-panel-3), var(--bg-panel-2));
  border: 1px solid var(--steel);
  box-shadow: 0 0 0 1px rgba(139, 147, 161, 0.25), 0 0 40px -6px rgba(139, 147, 161, 0.35);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: visible;
  /* Подпись СЕЙФ снизу, открывается синхронно со сдвигом ТВ */
}
.safe-behind .safe-label-bottom {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--steel-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(12, 13, 16, 0.85);
  border: 1px solid var(--steel);
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
  z-index: 5;
  opacity: 0;
  animation: safe-bottom-reveal-desktop 5s ease-in-out infinite;
}
@media (max-width: 768px) {
  .safe-behind .safe-label-bottom {
    bottom: -26px;
    font-size: 10px;
    padding: 3px 10px;
    animation: safe-bottom-reveal-mobile 6s ease-in-out infinite;
  }
}
.safe-behind .safe-label {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--steel-light);
  text-transform: uppercase;
  opacity: 0;
  animation: safe-label-reveal 5s ease-in-out infinite;
}
.safe-behind .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px 2px var(--neon);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Анимация плавного появления подписи "СЕЙФ" снизу для десктопа */
@keyframes safe-bottom-reveal-desktop {
  0%, 15% {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  40%, 80% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  95%, 100% {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
}
/* Анимация плавного появления подписи "СЕЙФ" снизу для мобилок */
@keyframes safe-bottom-reveal-mobile {
  0%, 15% {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  40%, 80% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  95%, 100% {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
}
@keyframes safe-label-reveal {
  0%, 25% {
    opacity: 0;
    transform: translateY(4px);
  }
  45%, 65% {
    opacity: 1;
    transform: translateY(0);
  }
  85%, 100% {
    opacity: 0;
    transform: translateY(4px);
  }
}
@keyframes pulse-dot {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
/* ---------- MARQUEE / TRUST BAR ---------- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  padding: 22px 0;
}

.trust-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .trust-inner {
    justify-content: flex-start;
  }
}
.trust-inner span b {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ---------- SPECS ---------- */
.specs {
  padding: 110px 0;
}
@media (max-width: 768px) {
  .specs {
    padding: 70px 0;
  }
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.spec-card {
  background: linear-gradient(165deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
@media (max-width: 480px) {
  .spec-card {
    padding: 22px 20px;
  }
}
.spec-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 147, 161, 0.4);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(139, 147, 161, 0.15);
}
.spec-card .value {
  font-family: var(--ff-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  .spec-card .value {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .spec-card .value {
    font-size: 21px;
  }
}
.spec-card .label {
  font-size: 13.5px;
  color: var(--text-tertiary);
}

.spec-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-panel-3);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.spec-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--steel);
}

/* ---------- MECHANISM ---------- */
.mechanism {
  padding: 110px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .mechanism {
    padding: 70px 0;
  }
}

.mech-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .mech-grid {
    grid-template-columns: 1fr;
  }
}

.mech-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mech-step {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.mech-step:last-child {
  border-bottom: none;
}
.mech-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.mech-step p {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.mech-num {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--steel);
  min-width: 28px;
  padding-top: 2px;
}

/* ---------- KEEPERSAFE VISUAL CONTAINER ---------- */
.mech-visual {
  position: relative;
  background: var(--bg-black);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .mech-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .mech-visual {
    padding: 20px 14px 16px;
    gap: 12px;
  }
}

/* Основная рамка сейфа */
.rail-rig {
  --cover-metal: #5b5c5e;
  --pegboard: #001f3f;
  --green-pillar: #7fd11a;
  --dark-rail: #4a4d52;
  --blue-base: #005aab;
  --slot-color: #1a1a1a;
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 5/3;
  flex-shrink: 0;
  background: #222;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* ================= ИНДИКАТОР СТАТУСА ================= */
.status-indicator {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #0f1115;
  color: #555;
  border: 2px solid #333;
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--ff-mono, monospace);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  z-index: 50;
  transition: all 0.4s ease;
}
.status-indicator.open-state {
  color: #00e5ff;
  border-color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
@media (max-width: 480px) {
  .status-indicator {
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 11px;
  }
}

/* ================= ВНУТРЕННИЙ ОТСЕК ================= */
.safe-interior {
  position: absolute;
  inset: 0;
  background: var(--pegboard);
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1.5px);
  background-size: 12px 12px;
  background-position: center;
  display: flex;
  justify-content: center;
}
.safe-interior::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

/* ================= БОКОВЫЕ ПАНЕЛИ ================= */
.side-panel {
  position: absolute;
  top: 0;
  bottom: 20px;
  width: 60px;
  background-color: var(--green-pillar);
  z-index: 2;
  border-left: 1px solid #5aa30c;
  border-right: 1px solid #5aa30c;
}
@media (max-width: 480px) {
  .side-panel {
    width: 40px;
  }
}
.side-panel.left {
  left: 0;
}
.side-panel.right {
  right: 0;
}
.side-panel .h-slots {
  position: absolute;
  top: 18px;
  bottom: 20px;
  width: 26px;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, #111 35px, #111 38px);
}
@media (max-width: 480px) {
  .side-panel .h-slots {
    width: 16px;
  }
}
.side-panel.left .h-slots {
  right: 0;
}
.side-panel.right .h-slots {
  left: 0;
}
.side-panel .rail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
  background: var(--dark-rail);
  border-left: 1px solid #222;
  border-right: 1px solid #222;
  box-shadow: inset 2px 0 3px rgba(0, 0, 0, 0.2);
}
@media (max-width: 480px) {
  .side-panel .rail {
    width: 10px;
  }
}
.side-panel .rail::after {
  content: "";
  position: absolute;
  top: 15px;
  bottom: 10px;
  left: 0;
  right: 0;
  background-image: radial-gradient(circle at center, #d0d0d0 1.5px, #111 2.5px, transparent 2.5px);
  background-size: 100% 38px;
}
.side-panel.left .rail {
  left: 12px;
}
@media (max-width: 480px) {
  .side-panel.left .rail {
    left: 6px;
  }
}
.side-panel.right .rail {
  right: 12px;
}
@media (max-width: 480px) {
  .side-panel.right .rail {
    right: 6px;
  }
}
.side-panel .v-slots {
  position: absolute;
  top: 25px;
  bottom: 25px;
  width: 4px;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 35px, #111 35px, #111 45px);
}
.side-panel.left .v-slots {
  left: 4px;
}
.side-panel.right .v-slots {
  right: 4px;
}
.side-panel .blue-oval {
  position: absolute;
  bottom: 5px;
  width: 14px;
  height: 6px;
  background: #005aab;
  border-radius: 10px;
  border: 1px solid #002244;
}
.side-panel.left .blue-oval {
  right: 5px;
}
.side-panel.right .blue-oval {
  left: 5px;
}

/* ================= СИНЯЯ БАЗА ВНИЗУ ================= */
.base-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: var(--blue-base);
  background-image: repeating-linear-gradient(to right, transparent 0, transparent 60px, #003366 60px, #003366 62px);
  border-top: 2px solid #003366;
}

.grey-plate {
  position: absolute;
  right: 120px;
  bottom: 0;
  width: 140px;
  height: 18px;
  background: #b0b0b0;
  border: 1px solid #666;
  border-bottom: none;
}
@media (max-width: 480px) {
  .grey-plate {
    right: 50px;
    width: 90px;
  }
}

/* ================= ВНЕШНЯЯ КРЫШКА И АНИМАЦИЯ ================= */
.safe-cover {
  position: absolute;
  inset: 0;
  background: var(--cover-metal);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 1.5s cubic-bezier(0.3, 1, 0.4, 1);
}
.safe-cover.is-open {
  transform: translateY(-88%);
}
.safe-cover .slots-h {
  position: absolute;
  left: 50px;
  right: 50px;
  height: 4px;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent 40px, var(--slot-color) 40px, var(--slot-color) 65px);
}
.safe-cover .slots-h.top {
  top: 15px;
}
.safe-cover .slots-h.bottom {
  bottom: 12px;
  left: 60px;
  right: 60px;
  background-image: repeating-linear-gradient(to right, transparent 0, transparent 70px, var(--slot-color) 70px, var(--slot-color) 90px);
}
.safe-cover .slots-v {
  position: absolute;
  top: 40px;
  bottom: 40px;
  width: 15px;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 30px, var(--slot-color) 30px, var(--slot-color) 32px);
}
.safe-cover .slots-v.left {
  left: 15px;
}
.safe-cover .slots-v.right {
  right: 15px;
}
.safe-cover .bracket {
  position: absolute;
  bottom: 0;
  width: 45px;
  height: 45px;
  background: #3a3b3c;
  border: 1px solid #222;
}
@media (max-width: 480px) {
  .safe-cover .bracket {
    width: 30px;
    height: 30px;
  }
}
.safe-cover .bracket.left {
  left: 0;
  border-top-right-radius: 4px;
}
.safe-cover .bracket.right {
  right: 0;
  border-top-left-radius: 4px;
}
.safe-cover .bracket::before, .safe-cover .bracket::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #111;
  border-radius: 50%;
}
.safe-cover .bracket.right::before {
  top: 10px;
  right: 8px;
}
.safe-cover .bracket.right::after {
  bottom: 10px;
  right: 8px;
}
.safe-cover .bracket.left::before {
  top: 10px;
  left: 8px;
}
.safe-cover .bracket.left::after {
  bottom: 10px;
  left: 8px;
}

.mech-caption {
  flex-shrink: 0;
  width: 100%;
  max-width: 440px;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}
@media (max-width: 480px) {
  .mech-caption {
    font-size: 10.5px;
  }
}

/* ---------- ACCESS SYSTEM ---------- */
.access {
  padding: 120px 0 130px;
  position: relative;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(61, 220, 255, 0.08), transparent 65%), var(--bg-black);
}
@media (max-width: 768px) {
  .access {
    padding: 80px 0;
  }
}

.access-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 30px;
}
.access-head .eyebrow {
  justify-content: center;
}
.access-head .eyebrow::before {
  display: none;
}
.access-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}
.access-head p {
  color: var(--text-secondary);
  font-size: 16.5px;
  margin: 0 auto;
}

.patent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--neon);
  border: 1px solid rgba(61, 220, 255, 0.35);
  background: var(--neon-dim);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.access-panel {
  max-width: 720px;
  margin: 0 auto 70px;
  background: linear-gradient(165deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
@media (max-width: 768px) {
  .access-panel {
    padding: 24px;
    gap: 18px;
  }
}

.panel-factors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}
@media (max-width: 480px) {
  .panel-factors {
    flex-direction: column;
    gap: 14px;
  }
  .panel-factors .panel-plus {
    transform: none;
  }
}

.panel-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.panel-divider::before, .panel-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.panel-divider .panel-equals {
  flex-shrink: 0;
}

.panel-result {
  display: flex;
  justify-content: center;
}

.panel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 130px;
}
.panel-item .plabel {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-align: center;
}

.panel-icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-black);
}
@media (max-width: 480px) {
  .panel-icon-ring {
    width: 52px;
    height: 52px;
  }
}
.panel-icon-ring svg {
  width: 26px;
  height: 26px;
  stroke: var(--steel-light);
}
@media (max-width: 480px) {
  .panel-icon-ring svg {
    width: 21px;
    height: 21px;
  }
}

.scan-ring {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--neon);
  animation: spin 3s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.panel-plus {
  color: var(--text-tertiary);
  font-size: 20px;
  font-family: var(--ff-mono);
}
.panel-plus.panel-equals {
  font-size: 16px;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .access-grid {
    grid-template-columns: 1fr;
  }
}

.access-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px) {
  .access-card {
    padding: 24px 20px;
  }
}
.access-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--access-line, var(--steel)), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.access-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.65);
}
.access-card:hover::before {
  opacity: 1;
}
.access-card.c1 {
  --access-line: #c4cad3;
}
.access-card.c2 {
  --access-line: #3ddcff;
}
.access-card.c3 {
  --access-line: #5b6472;
}
.access-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.access-card .step-tag {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.access-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.access-icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--bg-panel-3);
  border: 1px solid var(--border-strong);
}
.access-icon-lg svg {
  width: 24px;
  height: 24px;
}
.c1 .access-icon-lg svg {
  stroke: var(--steel-light);
  color: var(--steel-light);
}
.c2 .access-icon-lg svg {
  stroke: var(--neon);
  color: var(--neon);
}
.c3 .access-icon-lg svg {
  stroke: var(--steel-light);
  color: var(--steel-light);
}

.mfa-note {
  max-width: 760px;
  margin: 44px auto 0;
  text-align: center;
  padding: 20px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14.5px;
}
.mfa-note b {
  color: var(--steel-light);
  font-weight: 600;
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 100px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .gallery {
    padding: 64px 0;
  }
}

.gallery-grid {
  -moz-columns: 3 280px;
       columns: 3 280px;
  -moz-column-gap: 16px;
       column-gap: 16px;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .gallery-grid {
    -moz-columns: 2 240px;
         columns: 2 240px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    -moz-columns: 1;
         columns: 1;
  }
}

.gallery-card {
  position: relative;
  display: block;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel-3);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  transition: border-color 0.25s ease;
}
.gallery-card:hover {
  border-color: var(--neon);
}
.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  pointer-events: none;
}
.gallery-card:hover img {
  transform: scale(1.03);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(6, 7, 9, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
}
@media (max-width: 480px) {
  .lightbox {
    padding: 16px;
  }
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(8, 9, 11, 0.7);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lightbox-close:hover {
  border-color: var(--neon);
  color: var(--neon);
}
.lightbox-close svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 480px) {
  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
}

/* ---------- VIDEO DEMO ---------- */
.video-demo {
  padding: 100px 0;
  background: var(--bg-black);
  position: relative;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto 0;
}
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(61, 220, 255, 0.15);
  background: var(--bg-panel);
  aspect-ratio: 16/9;
  /* Фиксируем правильные пропорции карточки */
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  outline: none;
}

.video-wrapper video:fullscreen {
  -o-object-fit: contain;
     object-fit: contain;
}

.video-wrapper video:-webkit-full-screen {
  object-fit: contain;
}

.video-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(8, 9, 11, 0.7);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--neon);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.video-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--danger);
}

/* ---------- PRODUCTION ---------- */
.production {
  padding: 110px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .production {
    padding: 70px 0;
  }
}

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .prod-grid {
    grid-template-columns: 1fr;
  }
}

.prod-copy p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 18px;
}

.prod-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--text-tertiary);
}
.prod-meta b {
  color: var(--text-secondary);
  font-weight: 500;
}

.prod-visual {
  background: var(--bg-black);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 1024px) {
  .prod-visual {
    order: -1;
  }
}
@media (max-width: 768px) {
  .prod-visual {
    grid-template-columns: 1fr 1fr;
    padding: 22px;
  }
}

.prod-stat {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-panel-2);
}
@media (max-width: 480px) {
  .prod-stat {
    padding: 14px;
  }
}
.prod-stat b {
  display: block;
  font-family: var(--ff-mono);
  font-size: 24px;
  color: var(--steel-light);
  margin-bottom: 4px;
}
@media (max-width: 480px) {
  .prod-stat b {
    font-size: 19px;
  }
}
.prod-stat span {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ---------- CTA ---------- */
.cta-band {
  padding: 90px 0;
  text-align: center;
  background: radial-gradient(ellipse 700px 300px at 50% 0%, rgba(139, 147, 161, 0.1), transparent 70%), var(--bg-black);
}
@media (max-width: 768px) {
  .cta-band {
    padding: 64px 0;
  }
}
.cta-band h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 16px;
}
.cta-band p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 16px;
}

.cta-price {
  font-family: var(--ff-mono);
  font-size: 15px;
  color: var(--text-secondary);
  margin: 20px 0 32px;
}
.cta-price b {
  color: var(--steel-light);
  font-size: 19px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-actions .btn {
    width: 100%;
  }
}

/* ---------- COMPANY / LEGAL ---------- */
.company {
  padding: 90px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
  .company {
    padding: 60px 0;
  }
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 8px;
}
@media (max-width: 1024px) {
  .company-grid {
    grid-template-columns: 1fr;
  }
}

.company-row {
  background: var(--bg-panel-2);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (max-width: 768px) {
  .company-row {
    padding: 16px 18px;
  }
}

.company-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}

.company-value {
  font-family: var(--ff-mono);
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.5;
}
.company-value a {
  color: var(--steel-light);
}
.company-value a:hover {
  text-decoration: underline;
}

/* ---------- ДОКУМЕНТЫ ---------- */
.documents {
  padding: 90px 0;
  background: var(--bg-panel-2);
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) {
  .documents {
    padding: 60px 0;
  }
}

.documents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 1024px) {
  .documents-grid {
    grid-template-columns: 1fr;
  }
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-panel-3);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  position: relative;
  /* Добавлено для позиционирования кнопки на мобильных */
  /* Скрытая по умолчанию картинка-превью документа */
}
.doc-card .doc-img {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
}
.doc-card:hover, .doc-card:focus-visible {
  border-color: var(--neon);
  transform: translateY(-2px);
  background: var(--bg-panel);
}
.doc-card:hover .doc-view, .doc-card:focus-visible .doc-view {
  color: var(--neon);
}
.doc-card:hover .doc-download, .doc-card:focus-visible .doc-download {
  border-color: var(--neon);
  color: var(--neon);
}
.doc-card:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}
.doc-card {
  /* Перестроение карточки под картинку на мобильных устройствах */
}
@media (max-width: 480px) {
  .doc-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
  .doc-card .doc-icon {
    display: none;
    /* Прячем серую иконку */
  }
  .doc-card .doc-img {
    display: block;
    /* Показываем фото документа */
  }
  .doc-card .doc-info {
    width: 100%;
    padding-right: 40px;
    /* Чтобы текст не заезжал под кнопку скачивания */
  }
  .doc-card .doc-download {
    position: absolute;
    bottom: 16px;
    right: 16px;
  }
}

.doc-view {
  flex-shrink: 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  transition: color 0.25s ease;
  display: none;
}
@media (min-width: 480px) {
  .doc-view {
    display: block;
  }
}

.doc-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-icon svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 480px) {
  .doc-icon {
    width: 44px;
    height: 44px;
  }
  .doc-icon svg {
    width: 20px;
    height: 20px;
  }
}

.doc-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.doc-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.doc-meta {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

.doc-download {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.doc-download:hover {
  border-color: var(--neon);
  color: var(--neon);
}
.doc-download svg {
  width: 16px;
  height: 16px;
}

/* ---------- PDF LIGHTBOX ---------- */
.pdf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(6, 7, 9, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.pdf-lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}
@media (max-width: 480px) {
  .pdf-lightbox {
    padding: 0;
  }
}

.pdf-lightbox-panel {
  width: 100%;
  height: 100%;
  max-width: 980px;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-panel);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
}
@media (max-width: 480px) {
  .pdf-lightbox-panel {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
  }
}

.pdf-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-panel-3);
  border-bottom: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.pdf-lightbox-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pdf-lightbox-actions .lightbox-close {
  position: static;
  width: 34px;
  height: 34px;
}

.pdf-lightbox-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pdf-lightbox-download:hover {
  border-color: var(--neon);
  color: var(--neon);
}

.pdf-lightbox-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #525659;
}

/* ---------- ПЛАВНЫЙ ОТСТУП ПОД ФИКСИРОВАННУЮ ШАПКУ ДЛЯ ВСЕХ ЯКОРЕЙ ---------- */
[id] {
  scroll-margin-top: 100px;
}
@media (max-width: 768px) {
  [id] {
    scroll-margin-top: 85px;
  }
}
@media (max-width: 480px) {
  [id] {
    scroll-margin-top: 75px;
  }
}/*# sourceMappingURL=main.css.map */