/* ==========================================================================
   NovaMain — Финальная сборка (с реальными кадрами и видео панели)
   Фирменный стиль по брендбуку NOVAMAIN.pdf
   Сначала телефон (390 px), затем десктоп (1440 px)
   Локальные шрифты с кириллицей: Conthrax SemiBold (акцентный), IBM Plex Sans (текстовый)
   ========================================================================== */

@font-face {
  font-family: 'Conthrax';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/Conthrax-SemiBold.otf') format('opentype');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/ibm-plex-sans-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/ibm-plex-sans-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('./fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --obsidian: #131313;
  --slate: #314350;
  --steel: #BFD6E2;
  --ice: #EEF9FF;
  --frost: #FDFDFD;

  --grad-slate-steel: linear-gradient(115deg, #314350 0%, #BFD6E2 100%);
  --grad-ice-steel: linear-gradient(145deg, #EEF9FF 0%, #BFD6E2 100%);
  --glass-bg-dark: linear-gradient(145deg, rgba(49, 67, 80, 0.30), rgba(19, 19, 19, 0.56));
  --glass-border-light: rgba(238, 249, 255, 0.30);

  --font-display: 'Conthrax', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--obsidian);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--frost);
  background-color: var(--obsidian);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name, .section-num, .calc-total-value, .step-index {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.015em;
}

p, figure {
  margin: 0;
}

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

/* Mobile-first container (390 px baseline) */
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.88) 0%, rgba(19, 19, 19, 0) 100%);
}

.header-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(19, 19, 19, 0.82) 0%, rgba(49, 67, 80, 0.58) 100%);
  border: 1px solid rgba(238, 249, 255, 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--frost);
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--ice);
}

.brand-mark svg {
  width: 36px;
  height: auto;
}

.brand-name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.header-nav,
.header-tag {
  display: none;
}

.header-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  padding: 11px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 11px;
  font-size: 11.5px;
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn-pill-gradient {
  background: var(--grad-ice-steel);
  color: var(--obsidian);
  font-weight: 600;
  border-color: rgba(253, 253, 253, 0.82);
}

.btn-frost {
  background: var(--frost);
  color: var(--obsidian);
  font-weight: 600;
}

.btn-obsidian {
  background: var(--obsidian);
  color: var(--frost);
  font-weight: 500;
  border-color: rgba(238, 249, 255, 0.28);
}

.btn-glass {
  background: rgba(49, 67, 80, 0.38);
  color: var(--ice);
  border-color: rgba(191, 214, 226, 0.44);
  backdrop-filter: blur(14px);
}

.gradient-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: linear-gradient(90deg, #314350 0%, #6d8898 58%, #BFD6E2 100%);
  color: var(--ice);
  border: 1px solid rgba(238, 249, 255, 0.24);
}

.dark-chip {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(19, 19, 19, 0.65);
  border: 1px solid rgba(238, 249, 255, 0.24);
  color: var(--ice);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.bracket-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(253, 253, 253, 0.62);
  background: rgba(19, 19, 19, 0.20);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--frost);
}

.bracket-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}

.bracket-tag-dark {
  color: var(--slate);
}

/* Sections */
.section {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}

.section-dark {
  background-color: var(--obsidian);
  color: var(--frost);
}

.section-light {
  background: var(--grad-ice-steel);
  color: var(--obsidian);
}

.light-arcs-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.section-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.corner-code {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(49, 67, 80, 0.68);
}

.corner-code-light {
  color: rgba(191, 214, 226, 0.56);
}

.heading-with-index {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}

.heading-with-index .section-title {
  margin-bottom: 0;
}

.section-num {
  font-size: 28px;
  line-height: 1;
  color: rgba(49, 67, 80, 0.42);
  flex-shrink: 0;
}

.section-num-light {
  color: rgba(191, 214, 226, 0.42);
}

.section-title {
  font-size: 23px;
  line-height: 1.22;
  color: var(--frost);
  margin-bottom: 20px;
  max-width: 800px;
}

.section-title-dark {
  color: var(--obsidian);
}

.section-lead {
  font-size: 16px;
  color: var(--steel);
  max-width: 600px;
  margin-bottom: 22px;
}

.ghost-word {
  margin-top: 24px;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 0.95;
  letter-spacing: 0.05em;
  user-select: none;
  pointer-events: none;
}

.ghost-word-light {
  color: rgba(49, 67, 80, 0.14);
}

.ghost-word-dark {
  color: rgba(191, 214, 226, 0.11);
}

/* Light Ribbons */
.ribbons-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ribbons-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Glass Surfaces */
.glass-panel,
.glass-card {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-light);
  border-radius: 22px;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

/* 1. HERO */
.hero-section {
  padding-top: 24px;
  padding-bottom: 56px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.folder-panel {
  position: relative;
  padding: 20px 20px 26px 20px;
}

.folder-panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.folder-panel-content {
  position: relative;
  z-index: 1;
}

.folder-tab-head {
  margin-bottom: 26px;
}

.hero-title {
  font-size: 24px;
  line-height: 1.18;
  color: var(--frost);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.52;
  color: var(--ice);
  margin-bottom: 20px;
}

.chamfer-meta-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.meta-arrow {
  display: none;
  color: var(--frost);
  font-size: 13px;
}

.hero-cta-pair {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.cta-reassure {
  font-size: 13px;
  line-height: 1.42;
  color: var(--ice);
  opacity: 0.92;
  margin-bottom: 14px;
}

.pilot-note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ice);
  background: rgba(19, 19, 19, 0.38);
  border: 1px solid rgba(238, 249, 255, 0.20);
  border-radius: 12px;
  padding: 10px 14px;
}

/* Hero Media Stack: Video Slot + Frame 01 Slot */
.hero-media-stack {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.panel-caption-bar-light {
  margin-bottom: 10px;
}

.panel-caption-text {
  font-size: 12px;
  color: var(--ice);
}

.panel-caption-text-dark {
  font-size: 12px;
  color: var(--slate);
}

/* Video & Panel Screenshots (01, 02, 03) */
.demo-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(191, 214, 226, 0.34);
  background-color: var(--obsidian);
  object-fit: contain;
}

.shot-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(191, 214, 226, 0.34);
  background-color: var(--obsidian);
}

.shot-frame-light {
  border-color: rgba(49, 67, 80, 0.26);
}

.panel-shot {
  width: 100%;
  height: auto;
  display: block;
}

.shot-caption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--steel);
}

.shot-caption-dark {
  color: var(--slate);
}

/* 2. PROBLEM & LOSS CALCULATOR */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.stepped-card-light {
  position: relative;
  padding: 28px 24px 26px 24px;
}

.stepped-card-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.stepped-card-body {
  position: relative;
  z-index: 1;
}

.card-step-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-bottom: 12px;
}

.stepped-card-body h3,
.card-frost h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--obsidian);
}

.stepped-card-body p,
.card-frost p {
  color: var(--slate);
  font-size: 15px;
}

/* Loss Calculator Card */
.calc-card {
  background: radial-gradient(circle at 90% 20%, #314350 0%, #131313 70%);
  border: 1px solid rgba(49, 67, 80, 0.32);
  border-radius: 24px;
  padding: 24px 18px;
  color: var(--frost);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.calc-title {
  font-size: 19px;
  line-height: 1.28;
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--frost);
}

.calc-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.calc-label-row label {
  font-size: 14px;
  color: var(--ice);
}

.calc-num-input {
  width: 98px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(191, 214, 226, 0.36);
  background: rgba(19, 19, 19, 0.78);
  color: var(--frost);
  font-family: var(--font-display);
  font-size: 14px;
  text-align: right;
  outline: none;
}

.calc-num-input:focus {
  border-color: var(--ice);
}

.calc-range {
  width: 100%;
  accent-color: var(--steel);
  cursor: pointer;
}

.calc-result-col {
  background: rgba(49, 67, 80, 0.34);
  border: 1px solid rgba(238, 249, 255, 0.24);
  border-radius: 18px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.calc-result-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
}

.calc-total-value {
  font-size: 28px;
  line-height: 1.15;
  color: var(--frost);
}

.calc-badge-note {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(238, 249, 255, 0.14);
  border: 1px solid rgba(238, 249, 255, 0.34);
  font-size: 12px;
  font-weight: 500;
  color: var(--ice);
}

.calc-formula {
  font-size: 13px;
  color: var(--steel);
}

.calc-cta {
  width: 100%;
  margin-top: 6px;
}

/* 3. OWNER VIEW (/2) */
.split-board {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(191, 214, 226, 0.24);
  background: var(--grad-ice-steel);
  margin-bottom: 24px;
}

.split-board-rail {
  padding: 24px 20px;
  color: var(--obsidian);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.split-board-rail .section-title {
  margin-top: 8px;
  margin-bottom: 0;
}

.rail-desc {
  font-size: 15px;
  color: var(--slate);
}

.split-board-dark {
  background: radial-gradient(circle at 92% 50%, rgba(49, 67, 80, 0.65) 0%, #131313 68%);
  border-radius: 22px;
  padding: 24px 20px;
  color: var(--frost);
}

.steps-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.board-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(191, 214, 226, 0.14);
}

.board-step:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.board-step-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.step-index {
  font-size: 14px;
  color: rgba(191, 214, 226, 0.58);
  flex-shrink: 0;
}

.board-step h3 {
  font-size: 18px;
  line-height: 1.28;
  color: var(--frost);
}

.board-step p {
  font-size: 15px;
  color: var(--steel);
}

.owner-shot-wrap {
  background: rgba(49, 67, 80, 0.24);
  border: 1px solid rgba(238, 249, 255, 0.24);
  border-radius: 22px;
  padding: 16px;
}

/* 4. CAMERAS, SERVER & POS (/3) */
.privacy-pledge-banner {
  background: var(--obsidian);
  color: var(--frost);
  border-radius: 20px;
  padding: 22px 20px;
  border: 1px solid rgba(49, 67, 80, 0.45);
  margin-bottom: 22px;
}

.pledge-main {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.38;
  color: var(--frost);
  margin-top: 8px;
}

.pledge-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--steel);
}

.cameras-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.setup-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-frost {
  background: var(--frost);
  border-radius: 20px;
  padding: 22px 20px;
  border: 1px solid rgba(49, 67, 80, 0.14);
}

.pos-exact {
  font-weight: 500;
  color: var(--obsidian) !important;
}

.card-subnote {
  margin-top: 8px;
  font-size: 14px !important;
  color: var(--slate);
}

.camera-shot-card {
  background: rgba(253, 253, 253, 0.72);
  border: 1px solid rgba(253, 253, 253, 0.94);
  border-radius: 22px;
  padding: 16px;
  align-self: start;
}

/* 5. ONBOARDING 4 STAGES (/4) */
.section-head-split {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.stages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.stage-card {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stage-card h3 {
  font-size: 18px;
  line-height: 1.3;
  color: var(--frost);
}

.stage-card p {
  font-size: 15px;
  color: var(--steel);
}

.pilot-terms-box {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pilot-terms-copy h3 {
  font-size: 19px;
  margin-top: 8px;
  margin-bottom: 12px;
  color: var(--frost);
}

.ordered-steps {
  margin: 0 0 14px 0;
  padding-left: 20px;
  color: var(--ice);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}

.payment-note {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.52;
  color: var(--steel);
  max-width: 700px;
}

.pricing-exact {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--frost);
}

.pilot-terms-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 6. FAQ ON LIGHT SECTION (/5) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 960px;
}

.faq-item-light {
  background: var(--frost);
  border: 1px solid rgba(49, 67, 80, 0.14);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question-light {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.35;
  color: var(--obsidian);
}

.faq-question-light::-webkit-details-marker {
  display: none;
}

.faq-toggle-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(49, 67, 80, 0.30);
  color: var(--slate);
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 18px;
  transition: transform 0.18s ease;
}

.faq-item-light[open] .faq-toggle-light {
  transform: rotate(45deg);
}

.faq-answer-light {
  padding: 0 20px 18px 20px;
  color: var(--slate);
  font-size: 15px;
}

/* 7. 2-FIELD LEAD FORM + EQUAL TELEGRAM (/6) */
.form-section .ribbons-bg {
  opacity: 0.38;
}

.form-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pilot-card {
  margin-top: 20px;
  padding: 18px 20px;
}

.pilot-card p {
  margin-top: 8px;
  color: var(--ice);
  font-size: 14px;
}

.form-glass-card {
  padding: 22px 18px;
  position: relative;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn[disabled] {
  opacity: 0.68;
  cursor: default;
  transform: none;
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ice);
}

.field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(191, 214, 226, 0.32);
  background: rgba(19, 19, 19, 0.72);
  color: var(--frost);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}

.field input::placeholder {
  color: rgba(191, 214, 226, 0.52);
}

.field input:focus {
  border-color: var(--ice);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--steel);
  cursor: pointer;
}

.consent-row input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--slate);
  flex-shrink: 0;
}

.consent-row a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-equal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}

.btn-equal {
  width: 100%;
  min-height: 50px;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}

.form-status.is-error {
  color: var(--steel);
}

.form-status.is-success {
  color: var(--ice);
}

/* 8. FOOTER */
.site-footer {
  background: var(--obsidian);
  border-top: 1px solid rgba(191, 214, 226, 0.16);
  padding: 40px 0;
  color: var(--steel);
  font-size: 14px;
}

.has-mobile-bar .site-footer {
  padding-bottom: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.footer-note {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(191, 214, 226, 0.72);
}

.footer-gap {
  margin-top: 6px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--frost);
  margin-bottom: 8px;
}

.footer-link {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile Pinned Bottom Button ("Оставить заявку") */
.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 10px 16px 12px 16px;
  background: rgba(19, 19, 19, 0.90);
  border-top: 1px solid rgba(238, 249, 255, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.btn-mobile-sticky {
  width: 100%;
  padding: 13px 18px;
  font-size: 14px;
}

/* Privacy Draft Page */
.privacy-main {
  min-height: 70vh;
}

.privacy-card {
  padding: 28px 20px;
  max-width: 900px;
}

.draft-notice {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--grad-ice-steel);
  color: var(--obsidian);
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.legal-prose {
  margin: 22px 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--steel);
  font-size: 15px;
}

.legal-prose h2 {
  font-size: 17px;
  color: var(--frost);
  margin-top: 10px;
}

.legal-prose ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   Tablet & Desktop Breakpoints (768 px -> 1440 px)
   ========================================================================== */

@media (min-width: 768px) {
  .mobile-sticky-cta {
    display: none;
  }

  .has-mobile-bar .site-footer {
    padding-bottom: 44px;
  }

  .container {
    padding: 0 36px;
  }

  .header-capsule {
    padding: 11px 22px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark svg {
    width: 42px;
  }

  .brand-name {
    font-size: 14px;
  }

  .meta-arrow {
    display: inline;
  }

  .btn-sm {
    padding: 9px 16px;
    font-size: 13px;
  }

  .section {
    padding: 80px 0;
  }

  .section-num {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-title {
    font-size: 33px;
  }

  .folder-panel {
    padding: 24px 36px 34px 36px;
  }

  .hero-cta-pair {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .calc-card {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 32px;
    gap: 28px;
  }

  .calc-total-value {
    font-size: 32px;
  }

  .steps-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .board-step {
    padding-bottom: 0;
    padding-right: 20px;
    border-bottom: none;
    border-right: 1px solid rgba(191, 214, 226, 0.14);
  }

  .board-step:last-child {
    padding-right: 0;
    border-right: none;
  }

  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .form-grid-two,
  .form-equal-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr 1.4fr 0.8fr;
  }
}

@media (min-width: 1120px) {
  .container {
    padding: 0 56px;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: var(--steel);
  }

  .header-nav a:hover {
    color: var(--frost);
  }

  .header-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--steel);
  }

  .section {
    padding: 96px 0;
  }

  .hero-section {
    padding-top: 38px;
    padding-bottom: 84px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 32px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-num {
    font-size: 42px;
  }

  .section-title {
    font-size: 36px;
  }

  .split-board {
    grid-template-columns: 0.30fr 0.70fr;
  }

  .split-board-rail {
    padding: 34px 28px;
    justify-content: space-between;
  }

  .split-board-dark {
    margin: 8px;
    padding: 34px 32px;
  }

  .owner-shot-wrap {
    padding: 22px;
  }

  .privacy-pledge-banner {
    padding: 28px 32px;
  }

  .pledge-main {
    font-size: 20px;
  }

  .cameras-layout {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 28px;
  }

  .camera-shot-card {
    padding: 22px;
  }

  .section-head-split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
  }

  .section-head-split .heading-with-index,
  .section-head-split .section-lead {
    margin-bottom: 0;
  }

  .stages-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pilot-terms-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
    gap: 32px;
  }

  .pilot-terms-actions {
    flex-direction: row;
    flex-shrink: 0;
    gap: 12px;
  }

  .form-section .ribbons-bg {
    opacity: 1;
  }

  .form-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
    gap: 36px;
  }

  .form-glass-card {
    padding: 32px;
  }

  .ghost-word {
    font-size: 62px;
  }
}

/* ==========================================================================
   Conversion Enhancements: Hero Thumbnail Strip, Pricing Chips & Lightbox
   ========================================================================== */

.hero-shot-strip {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(19, 19, 19, 0.58);
  border: 1px solid rgba(191, 214, 226, 0.30);
  color: var(--frost);
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.hero-shot-strip:hover {
  border-color: rgba(238, 249, 255, 0.65);
  background: rgba(49, 67, 80, 0.45);
}

.hero-shot-thumb {
  width: 84px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(238, 249, 255, 0.25);
  flex-shrink: 0;
}

.hero-shot-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.hero-shot-caption {
  font-size: 13px;
  line-height: 1.32;
  color: var(--ice);
}

.zoom-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--grad-ice-steel);
  color: var(--obsidian);
  font-size: 11.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.calc-price-ref {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ice);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(19, 19, 19, 0.45);
  border: 1px solid rgba(191, 214, 226, 0.24);
  width: 100%;
}

.price-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.price-anchor-chip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(19, 19, 19, 0.62);
  border: 1px solid rgba(238, 249, 255, 0.28);
  min-width: 190px;
}

.price-anchor-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
}

.price-anchor-val {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--frost);
}

.shot-zoomable {
  cursor: zoom-in;
}

.zoom-link-btn {
  background: rgba(49, 67, 80, 0.55);
  border: 1px solid rgba(238, 249, 255, 0.30);
  color: var(--ice);
  border-radius: 999px;
  padding: 4px 11px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
}

.zoom-link-btn-dark {
  background: rgba(49, 67, 80, 0.12);
  border-color: rgba(49, 67, 80, 0.32);
  color: var(--obsidian);
}

/* Lightbox Modal */
.shot-modal[hidden] {
  display: none;
}

.shot-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.shot-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 19, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.shot-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--obsidian);
  border: 1px solid rgba(238, 249, 255, 0.28);
  border-radius: 18px;
  padding: 14px;
}

.shot-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shot-modal-caption {
  font-size: 13px;
  color: var(--ice);
}

.shot-modal-body {
  overflow: auto;
  border-radius: 10px;
}

.shot-modal-body img {
  display: block;
  width: 100%;
  height: auto;
}
