@font-face {
  font-family: "Bounded";
  src: url("../brand/БрендМатериалы Аура Системс/Шрифт/Bounded/Bounded-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060607;
  --bg-soft: #111214;
  --bg-elevated: rgba(255, 255, 255, 0.04);
  --bg-elevated-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f1f2f4;
  --muted: #b0b3b9;
  --red: #d90012;
  --red-dark: #a7000d;
  --panel-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1200px;
}

body[data-theme="light"] {
  --bg: #ece6dc;
  --bg-soft: #f7f2ea;
  --bg-elevated: rgba(250, 246, 240, 0.92);
  --bg-elevated-strong: rgba(255, 252, 247, 0.99);
  --line: rgba(36, 41, 46, 0.14);
  --line-strong: rgba(36, 41, 46, 0.24);
  --text: #16181b;
  --muted: #62666c;
  --red: #d90012;
  --red-dark: #a7000d;
  --panel-shadow: 0 24px 60px rgba(88, 72, 53, 0.12);
}

body[data-vision="accessible"] {
  --line: rgba(33, 39, 46, 0.26);
  --line-strong: rgba(33, 39, 46, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Bounded", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.2), transparent 20%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.06), transparent 17%),
    linear-gradient(180deg, #0a0a0b 0%, #040404 50%, #09090a 100%);
  background-color: var(--bg);
}

body[data-theme="light"] {
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.06), transparent 18%),
    radial-gradient(circle at 85% 8%, rgba(161, 122, 72, 0.08), transparent 16%),
    linear-gradient(180deg, #f7f2ea 0%, #eee6db 46%, #e5ddd1 100%);
}

body.menu-open {
  overflow: hidden;
}

body.lead-modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.07;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 82%);
}

body[data-theme="light"]::before {
  background-image:
    linear-gradient(rgba(32, 36, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 36, 42, 0.08) 1px, transparent 1px);
  opacity: 0.4;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(217, 0, 18, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 120;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(10, 10, 12, 0.98);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(-180%);
  opacity: 0;
  pointer-events: none;
  transition: transform 160ms ease, opacity 160ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

body[data-theme="light"] .skip-link {
  border-color: rgba(24, 29, 34, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

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

.page-shell {
  position: relative;
  overflow: clip;
}

body[data-theme="light"] .site-header {
  border-bottom-color: rgba(24, 29, 34, 0.1);
  background: rgba(244, 237, 228, 0.92);
  box-shadow: 0 12px 28px rgba(99, 82, 61, 0.06);
}

body[data-theme="light"] .brand-subtitle,
body[data-theme="light"] .section-head p,
body[data-theme="light"] .copy,
body[data-theme="light"] .fact-card span,
body[data-theme="light"] .note-card p,
body[data-theme="light"] .hero-panel-top p,
body[data-theme="light"] .service-card p,
body[data-theme="light"] .camera-card-head p,
body[data-theme="light"] .system-card-head p,
body[data-theme="light"] .config-note,
body[data-theme="light"] .footer-brand span,
body[data-theme="light"] .proof-stat span {
  color: var(--muted);
}

body[data-theme="light"] .audience-switch,
body[data-theme="light"] .button-secondary,
body[data-theme="light"] .button-ghost,
body[data-theme="light"] .eyebrow,
body[data-theme="light"] .nav-toggle,
body[data-theme="light"] .header-nav.is-open,
body[data-theme="light"] .config-tab,
body[data-theme="light"] .config-price-item,
body[data-theme="light"] .config-field select,
body[data-theme="light"] .config-field input,
body[data-theme="light"] .camera-entry .config-field,
body[data-theme="light"] .system-card .config-field,
body[data-theme="light"] .spec-table,
body[data-theme="light"] .spec-row,
body[data-theme="light"] .build-sheet-item {
  border-color: rgba(24, 29, 34, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

body[data-theme="light"] .hero-panel,
body[data-theme="light"] .note-card,
body[data-theme="light"] .fact-card,
body[data-theme="light"] .proof-card,
body[data-theme="light"] .service-card,
body[data-theme="light"] .contact-card,
body[data-theme="light"] .camera-entry,
body[data-theme="light"] .system-card,
body[data-theme="light"] .video-summary-panel,
body[data-theme="light"] .config-card,
body[data-theme="light"] .config-result-card,
body[data-theme="light"] .spec-table,
body[data-theme="light"] .object-card,
body[data-theme="light"] .portfolio-card {
  border-color: rgba(24, 29, 34, 0.1);
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.07), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.98));
  box-shadow: 0 18px 40px rgba(122, 95, 64, 0.1);
  color: var(--text);
}

body[data-theme="light"] .camera-entry,
body[data-theme="light"] .system-card,
body[data-theme="light"] .config-card,
body[data-theme="light"] .config-result-card,
body[data-theme="light"] .video-summary-panel,
body[data-theme="light"] .service-card,
body[data-theme="light"] .contact-card,
body[data-theme="light"] .proof-card,
body[data-theme="light"] .hero-panel,
body[data-theme="light"] .fact-card,
body[data-theme="light"] .note-card {
  background:
    radial-gradient(circle at top left, rgba(145, 18, 29, 0.03), transparent 28%),
    linear-gradient(180deg, rgba(255, 254, 251, 0.98), rgba(245, 239, 231, 0.98));
}

body[data-theme="light"] .header-nav a,
body[data-theme="light"] .audience-switch a,
body[data-theme="light"] .button-secondary,
body[data-theme="light"] .button-ghost,
body[data-theme="light"] .hero-title,
body[data-theme="light"] .section-head h2,
body[data-theme="light"] .section-title,
body[data-theme="light"] .service-card h3,
body[data-theme="light"] .camera-card-head h4,
body[data-theme="light"] .system-card-head h4,
body[data-theme="light"] .config-result-card h3,
body[data-theme="light"] .proof-card,
body[data-theme="light"] .footer-brand strong {
  color: var(--text);
}

body[data-theme="light"] .section-alt {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(24, 29, 34, 0.08);
}

body[data-theme="light"] .site-footer {
  border-top-color: rgba(24, 29, 34, 0.08);
  background: rgba(239, 232, 222, 0.9);
}

body[data-theme="light"] .footer-brand-badge,
body[data-theme="light"] .brand-badge {
  border-color: rgba(24, 29, 34, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 236, 0.98));
  box-shadow: 0 12px 28px rgba(122, 95, 64, 0.12);
}

body[data-theme="light"] .brand-badge {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body[data-theme="light"] .brand-badge img {
  filter: none;
}

body[data-theme="light"] .config-field select,
body[data-theme="light"] .config-field input,
body[data-theme="light"] .inline-stepper-input {
  color: var(--text);
}

body[data-theme="light"] .chip,
body[data-theme="light"] .camera-badge,
body[data-theme="light"] .summary-chip-list li {
  border-color: rgba(24, 29, 34, 0.1);
  background: rgba(24, 29, 34, 0.05);
  color: var(--text);
}

body[data-theme="light"] .video-warning-card,
body[data-theme="light"] .chip.is-warning {
  border-color: rgba(217, 0, 18, 0.22);
  background: rgba(217, 0, 18, 0.08);
  color: #7e0e16;
}

body[data-theme="light"] .button-secondary:hover,
body[data-theme="light"] .button-ghost:hover,
body[data-theme="light"] .nav-toggle:hover,
body[data-theme="light"] .nav-toggle:focus-visible {
  background: rgba(24, 29, 34, 0.06);
}

body[data-theme="light"] .config-field span,
body[data-theme="light"] .config-result-head p,
body[data-theme="light"] .config-price-item span,
body[data-theme="light"] .spec-table-head span,
body[data-theme="light"] .package-offer-kicker,
body[data-theme="light"] .eyebrow,
body[data-theme="light"] .note-index {
  color: #72777f;
}

body[data-theme="light"] .config-field select,
body[data-theme="light"] .config-field input,
body[data-theme="light"] .inline-stepper-input,
body[data-theme="light"] select option {
  color: #1a2026;
}

body[data-theme="light"] .config-field-help {
  color: #717881;
}

body[data-theme="light"] .audience-switch {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body[data-theme="light"] .audience-switch a {
  color: #5f6670;
}

body[data-theme="light"] .audience-switch a.is-active {
  background: linear-gradient(180deg, rgba(255, 224, 228, 0.98), rgba(255, 240, 242, 0.98));
  color: #242a31;
}

body[data-theme="light"] .header-nav a {
  color: #5f6670;
}

body[data-theme="light"] .header-nav a:hover,
body[data-theme="light"] .header-nav a:focus-visible,
body[data-theme="light"] .header-nav a.is-active {
  color: #171b20;
}

body[data-theme="light"] .theme-toggle-track {
  background: linear-gradient(180deg, rgba(255, 240, 205, 0.95), rgba(238, 244, 255, 0.95));
}

body[data-theme="light"] .theme-toggle,
body[data-theme="light"] .vision-toggle {
  background: rgba(255, 255, 255, 0.78);
}

body[data-theme="light"] .button {
  background: linear-gradient(180deg, #ef3140 0%, #d90012 100%);
  color: #ffffff;
  box-shadow: 0 14px 24px rgba(217, 0, 18, 0.18);
}

body[data-theme="light"] .button-secondary,
body[data-theme="light"] .button-ghost {
  color: #222831;
}

body[data-theme="light"] .fact-card,
body[data-theme="light"] .note-card,
body[data-theme="light"] .hero-panel,
body[data-theme="light"] .proof-card {
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 236, 0.98));
}

body[data-theme="light"] .hero-panel::before {
  background: rgba(217, 0, 18, 0.08);
}

body[data-theme="light"] .video-summary-panel {
  background:
    radial-gradient(circle at top left, rgba(145, 18, 29, 0.03), transparent 30%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.99), rgba(241, 234, 224, 0.99));
}

body[data-theme="light"] .video-summary-text,
body[data-theme="light"] .package-offer-card small,
body[data-theme="light"] .package-offer-card em,
body[data-theme="light"] .video-warning-card,
body[data-theme="light"] .video-action-meta span,
body[data-theme="light"] .config-result-head p,
body[data-theme="light"] .config-price-item span,
body[data-theme="light"] .spec-kind,
body[data-theme="light"] .system-model-label,
body[data-theme="light"] .spec-name small {
  color: #66707a;
}

body[data-theme="light"] .package-offer-card {
  border-color: rgba(26, 32, 38, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 238, 231, 0.96));
  color: #1a2026;
}

body[data-theme="light"] .package-offer-card:hover {
  border-color: rgba(26, 32, 38, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 235, 0.98));
}

body[data-theme="light"] .package-offer-card.is-active {
  border-color: rgba(145, 18, 29, 0.3);
  background: linear-gradient(180deg, rgba(255, 246, 241, 0.98), rgba(248, 236, 230, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 20px rgba(145, 18, 29, 0.08);
}

body[data-theme="light"] .package-offer-card.is-limited {
  border-color: rgba(207, 131, 17, 0.28);
  background: linear-gradient(180deg, rgba(255, 248, 232, 0.96), rgba(255, 252, 245, 0.96));
}

body[data-theme="light"] .package-offer-kicker,
body[data-theme="light"] .summary-kicker,
body[data-theme="light"] .config-note-label {
  color: #7a8088;
}

body[data-theme="light"] .config-price-item,
body[data-theme="light"] .video-warning-card,
body[data-theme="light"] .spec-table {
  background: rgba(255, 255, 255, 0.9);
}

body[data-theme="light"] .video-action-dock {
  border-top-color: rgba(26, 32, 38, 0.08);
  background: linear-gradient(180deg, rgba(245, 239, 230, 0.18), rgba(238, 231, 221, 0.98) 28%);
}

body[data-theme="light"] .video-action-meta strong,
body[data-theme="light"] .config-price-item strong,
body[data-theme="light"] .spec-name strong,
body[data-theme="light"] .spec-cell,
body[data-theme="light"] .camera-card-head h4,
body[data-theme="light"] .system-card-head h4,
body[data-theme="light"] .hero-panel-top h3,
body[data-theme="light"] .fact-card strong,
body[data-theme="light"] .note-card h4 {
  color: #1a2026;
}

body[data-theme="light"] .spec-row {
  background: linear-gradient(180deg, rgba(255, 254, 251, 1), rgba(243, 236, 227, 0.98));
  border-color: rgba(26, 32, 38, 0.08);
  box-shadow: 0 10px 22px rgba(120, 96, 70, 0.08);
}

body[data-theme="light"] .build-sheet-item {
  border-color: rgba(26, 32, 38, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

body[data-theme="light"] .spec-table-head {
  background: linear-gradient(180deg, rgba(233, 225, 214, 0.9), rgba(241, 235, 227, 0.95));
  border-bottom-color: rgba(26, 32, 38, 0.08);
}

body[data-theme="light"] .spec-table-head span {
  color: #7a8088;
}

body[data-theme="light"] .mini-button,
body[data-theme="light"] .icon-button {
  border-color: rgba(26, 32, 38, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 236, 228, 0.94));
  color: #1a2026;
}

body[data-theme="light"] .mini-button:hover,
body[data-theme="light"] .icon-button:hover {
  border-color: rgba(217, 0, 18, 0.26);
  background: rgba(255, 243, 244, 0.95);
}

body[data-theme="light"] .camera-stack-actions .button-secondary,
body[data-theme="light"] .left-build-head .button-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 235, 227, 0.98));
  color: #1a2026;
  border-color: rgba(26, 32, 38, 0.12);
}

body[data-theme="light"] .config-field select,
body[data-theme="light"] .config-field input,
body[data-theme="light"] .camera-entry .config-field,
body[data-theme="light"] .system-card .config-field {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 236, 227, 0.96));
  border-color: rgba(26, 32, 38, 0.1);
}

body[data-theme="light"] .toggle-chip {
  border-color: rgba(26, 32, 38, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #3f454d;
}

body[data-theme="light"] .toggle-chip:has(input:checked) {
  border-color: rgba(145, 18, 29, 0.24);
  background: rgba(145, 18, 29, 0.08);
  color: #7c1720;
}

body[data-theme="light"] .camera-form-hint,
body[data-theme="light"] .system-card-note {
  color: #66707a;
}

body[data-theme="light"] .theme-toggle,
body[data-theme="light"] .vision-toggle,
body[data-theme="light"] .button-secondary,
body[data-theme="light"] .button-ghost,
body[data-theme="light"] .nav-toggle,
body[data-theme="light"] .audience-switch,
body[data-theme="light"] .brand-badge,
body[data-theme="light"] .footer-brand-badge {
  backdrop-filter: blur(10px);
}

body[data-vision="accessible"] {
  font-size: 112%;
}

body[data-vision="accessible"] .hero-title,
body[data-vision="accessible"] .section-head h2,
body[data-vision="accessible"] .section-title,
body[data-vision="accessible"] .config-result-card h3 {
  line-height: 1.06;
  letter-spacing: 0;
}

body[data-vision="accessible"] .header-nav a,
body[data-vision="accessible"] .audience-switch a,
body[data-vision="accessible"] .button,
body[data-vision="accessible"] .button-secondary,
body[data-vision="accessible"] .button-ghost,
body[data-vision="accessible"] .theme-toggle,
body[data-vision="accessible"] .vision-toggle {
  min-height: 52px;
  font-size: 12px;
}

body[data-vision="accessible"] p,
body[data-vision="accessible"] li,
body[data-vision="accessible"] .copy,
body[data-vision="accessible"] .config-note,
body[data-vision="accessible"] .camera-card-head p,
body[data-vision="accessible"] .system-card-head p {
  line-height: 1.9;
}

body[data-vision="accessible"] *:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

body[data-vision="accessible"] .reveal,
body[data-vision="accessible"] .reveal.in-view {
  opacity: 1;
  transform: none;
  transition: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(
      180deg,
      rgba(7, 7, 8, 0.97) 0,
      rgba(7, 7, 8, 0.95) 94px,
      rgba(4, 4, 5, 0.98) 94px,
      rgba(4, 4, 5, 0.96) 100%
    ),
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.08), transparent 34%);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 14px;
}

@media (min-width: 941px) {
  .header-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand switch actions"
      "nav nav nav";
    align-items: center;
    column-gap: 20px;
    row-gap: 14px;
  }
}

@media (max-width: 940px) {
  .site-header {
    background:
      linear-gradient(
        180deg,
        rgba(7, 7, 8, 0.97) 0,
        rgba(7, 7, 8, 0.95) 82px,
        rgba(4, 4, 5, 0.98) 82px,
        rgba(4, 4, 5, 0.96) 100%
      ),
      radial-gradient(circle at top left, rgba(217, 0, 18, 0.08), transparent 34%);
  }
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 0 auto;
}

@media (min-width: 941px) {
  .brand-link {
    grid-area: brand;
    align-self: center;
  }
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.brand-badge img {
  width: 206px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.82);
  max-width: 170px;
  font-size: 10px;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.audience-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

@media (min-width: 941px) {
  .audience-switch {
    grid-area: switch;
    justify-self: start;
    width: min(100%, 560px);
    max-width: 100%;
    overflow: hidden;
  }
}

.audience-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 941px) {
  .audience-switch a {
    justify-content: center;
    min-width: clamp(160px, 18vw, 220px);
    flex: 1 1 0;
  }
}

.audience-switch a:hover,
.audience-switch a:focus-visible {
  color: white;
}

.audience-switch a.is-active {
  background: linear-gradient(180deg, rgba(217, 0, 18, 0.28), rgba(217, 0, 18, 0.14));
  color: white;
  box-shadow: 0 10px 22px rgba(217, 0, 18, 0.18);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: white;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.menu-open .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  min-width: 0;
}

@media (min-width: 941px) {
  .header-nav {
    grid-area: nav;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 22px;
    align-self: stretch;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.header-nav a {
  position: relative;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(217, 0, 18, 0.95), rgba(255, 255, 255, 0.15));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible,
.header-nav a.is-active {
  color: white;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after,
.header-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

@media (min-width: 941px) {
  .header-actions {
    justify-self: end;
    flex-wrap: nowrap;
    align-self: center;
  }
}

.header-mode-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

@media (min-width: 941px) and (max-width: 1280px) {
  .brand-link {
    gap: 10px;
  }

  .brand-badge {
    padding: 0;
  }

  .brand-badge img {
    width: 178px;
  }

  .brand-subtitle {
    max-width: 132px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .audience-switch a {
    min-width: 0;
    padding: 8px 12px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .header-nav {
    gap: 8px 16px;
  }

  .header-nav a {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .button-secondary,
  .header-actions .button-ghost {
    min-height: 44px;
    padding: 0 16px;
    font-size: 9px;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .theme-toggle,
  .vision-toggle {
    min-width: 44px;
    height: 44px;
  }
}

@media (min-width: 941px) and (max-width: 1260px) {
  .brand-subtitle {
    display: none;
  }

  .audience-switch {
    width: min(100%, 460px);
  }
}

@media (max-width: 940px) {
  .brand-link {
    gap: 10px;
  }

  .brand-badge img {
    width: 170px;
  }

  .brand-subtitle {
    max-width: 144px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

.theme-toggle,
.vision-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.vision-toggle:hover,
.vision-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 58px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  overflow: hidden;
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe9a8, #ffc84d);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, background 0.28s ease;
}

.theme-icon {
  position: relative;
  z-index: 1;
  font-size: 13px;
  line-height: 1;
}

.theme-icon-sun {
  color: #3a2400;
}

.theme-icon-moon {
  color: rgba(255, 255, 255, 0.85);
}

.theme-toggle[data-theme-state="light"] .theme-toggle-thumb {
  transform: translateX(28px);
  background: linear-gradient(180deg, #f7fbff, #d7e2f2);
}

.vision-toggle {
  min-width: 52px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.vision-toggle.is-active {
  border-color: rgba(217, 0, 18, 0.4);
  background: rgba(217, 0, 18, 0.12);
  box-shadow: 0 10px 18px rgba(217, 0, 18, 0.14);
}

.vision-toggle-icon {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

@media (min-width: 941px) {
  .header-actions {
    grid-area: actions;
    align-self: center;
    justify-self: end;
  }
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button {
  background: linear-gradient(180deg, #f31f2f 0%, var(--red) 100%);
  box-shadow: 0 14px 26px rgba(217, 0, 18, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.button:focus-visible,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  transform: translateY(-2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 20px rgba(217, 0, 18, 0.45);
}

.section {
  position: relative;
  padding: 100px 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 410px);
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head h2,
.section-title {
  margin: 18px 0 0;
  max-width: 820px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-head p,
.copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero {
  padding: 40px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
  gap: 46px;
  align-items: start;
}

.hero-copy-col {
  max-width: 640px;
}

.hero-title {
  display: grid;
  gap: 6px;
  margin: 22px 0 0;
  max-width: 660px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-title span,
.hero-title em {
  display: block;
  font-style: normal;
}

.hero-title em {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76em;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.fact-card {
  padding: 16px 16px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  min-width: 0;
}

.fact-card strong {
  display: block;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.15;
  text-transform: uppercase;
}

.fact-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(17, 17, 19, 0.9), rgba(7, 7, 8, 0.96));
  box-shadow: var(--panel-shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(217, 0, 18, 0.14);
  filter: blur(36px);
}

.hero-panel-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 18px;
}

.hero-panel-top > :first-child {
  min-width: 0;
}

.hero-panel-top p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel-top h3 {
  margin: 10px 0 0;
  max-width: none;
  font-size: clamp(20px, 2.25vw, 34px);
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-mark {
  display: grid;
  place-items: center;
  align-self: start;
  width: 78px;
  flex: 0 0 78px;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 247, 248, 0.95));
  overflow: hidden;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 941px) and (max-width: 1220px) {
  .hero-panel-top {
    gap: 14px;
  }

  .hero-panel-top h3 {
    font-size: clamp(18px, 2vw, 28px);
  }

  .hero-mark {
    width: 68px;
    flex-basis: 68px;
    padding: 8px;
  }
}

.hero-notes {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.note-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.note-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(217, 0, 18, 0.2), rgba(217, 0, 18, 0.08));
  font-size: 15px;
  font-weight: 700;
}

.note-card h4 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.note-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.panel-card,
.service-card,
.process-card,
.project-card,
.case-card,
.detail-card,
.gallery-card,
.vendor-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(18, 18, 21, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.2);
}

.panel-card,
.service-card,
.process-card,
.project-card,
.case-card,
.detail-card {
  padding: 26px;
}

.service-card,
.process-card,
.project-card,
.case-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.process-card:hover,
.project-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(217, 0, 18, 0.22), rgba(217, 0, 18, 0.08));
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-card h3,
.process-card h3,
.project-card h3,
.case-card h3,
.detail-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
  text-transform: uppercase;
  color: #f4f6f8;
}

.service-card p,
.process-card p,
.project-card p,
.case-card p,
.detail-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.78;
}

.tag-list,
.meta-list,
.system-list,
.vendor-list,
.timeline-list,
.bullet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tag,
.meta-chip,
.system-chip,
.vendor-chip,
.timeline-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.process-index {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.proof-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(217, 0, 18, 0.08), rgba(217, 0, 18, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.proof-stat {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.24);
}

.proof-stat strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.proof-stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.audience-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.03);
}

.audience-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}

.audience-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.74;
}

.audience-card .tag-list {
  margin-top: 18px;
}

.solution-configurator {
  display: grid;
  gap: 22px;
}

.config-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.config-field-wide {
  grid-column: 1 / -1;
}

.config-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.config-tab {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.config-tab.is-active {
  background: linear-gradient(180deg, rgba(217, 0, 18, 0.24), rgba(217, 0, 18, 0.1));
  color: white;
}

.config-panel {
  display: none;
}

.config-panel.is-active {
  display: block;
}

.solution-configurator [hidden] {
  display: none !important;
}

.configurator-grid {
  align-items: start;
}

.config-card,
.config-result-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(18, 18, 21, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.2);
}

.config-result-card {
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(17, 17, 19, 0.92), rgba(7, 7, 8, 0.98));
}

.config-card h3,
.config-result-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.98;
  text-transform: uppercase;
}

.config-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.config-options {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.config-field {
  display: grid;
  gap: 10px;
}

.config-field span,
.config-result-head p,
.config-price-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.config-field select,
.config-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font: inherit;
  outline: none;
}

.config-field select option,
.archive-field select option {
  background: #151517;
  color: #f1f2f4;
}

.config-field select:focus,
.config-field input:focus {
  border-color: rgba(217, 0, 18, 0.45);
  box-shadow: 0 0 0 3px rgba(217, 0, 18, 0.12);
}

.config-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.config-check-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.config-check-main input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.config-check-main span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-transform: none;
}

.config-check input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font: inherit;
  text-align: center;
}

.config-check input[type="number"]:disabled {
  opacity: 0.45;
}

.config-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.config-result-head > :first-child {
  min-width: 0;
  flex: 1 1 auto;
}

.config-field-client-type {
  flex: 0 1 220px;
  width: min(220px, 100%);
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.config-field-client-type span {
  display: block;
  margin-bottom: 6px;
}

.config-field-client-type select {
  width: 100%;
  min-width: 0;
}

.config-breakdown {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.config-breakdown li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.config-breakdown strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
}

.config-breakdown span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.config-breakdown b {
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

.config-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.config-price-item {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.config-price-item strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.05;
  text-transform: uppercase;
}

.config-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.72;
}

.config-actions {
  margin-top: 20px;
}

.config-actions button {
  cursor: pointer;
}

.config-note-label,
.summary-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.video-config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 16px;
  align-items: start;
}

.video-main,
.builder-stack,
.camera-stack {
  display: grid;
  gap: 14px;
}

.video-main {
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
}

.builder-stack {
  min-height: 0;
  align-content: start;
}

.video-intake-top,
.camera-card-head,
.system-card-head,
.camera-card-actions,
.system-card-actions,
.video-action-dock {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.video-intake-top .button {
  flex: 0 0 auto;
}

.video-intake-grid {
  margin-top: 18px;
}

.camera-entry,
.system-card,
.video-summary-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(14, 14, 17, 0.995);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 30px rgba(0, 0, 0, 0.24);
}

.camera-entry {
  padding: 14px;
}

.camera-card-head h4,
.system-card-head h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.08;
  text-transform: uppercase;
  color: #f4f6f8;
}

.camera-card-head p,
.system-card-head p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  line-height: 1.45;
}

.system-card-head .system-card-model {
  margin-top: 10px;
}

.camera-badge,
.chip,
.chip.is-warning,
.summary-chip-list li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.chip.is-warning,
.video-warning-card {
  border-color: rgba(217, 0, 18, 0.28);
  background: rgba(217, 0, 18, 0.12);
}

.video-warning-card .mini-button {
  margin-top: 12px;
}

.camera-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.camera-meta .chip,
.camera-meta .camera-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #f4f6f8;
}

.camera-card-actions,
.system-card-actions {
  margin-top: 8px;
}

.inline-stepper {
  display: grid;
  grid-template-columns: 14px minmax(28px, 1fr) 14px;
  gap: 0;
  align-items: center;
  min-width: 56px;
  max-width: 72px;
}

.inline-stepper.is-limit-shake {
  animation: config-limit-shake 0.32s ease;
}

.inline-stepper-button {
  min-height: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}

.inline-stepper-input {
  min-width: 0;
  min-height: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f4f6f8;
  text-align: center;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  appearance: textfield;
}

.inline-stepper-input:focus {
  outline: none;
  color: #ffffff;
}

.inline-stepper-input::-webkit-outer-spin-button,
.inline-stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inline-stepper-button:hover,
.inline-stepper-button:focus-visible {
  background: transparent;
  border: 0;
  color: #ffffff;
  transform: none;
}

.spec-table .inline-stepper-button,
.spec-table .inline-stepper-button:hover,
.spec-table .inline-stepper-button:focus-visible,
.spec-table .inline-stepper-button:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.spec-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.spec-cell .inline-stepper {
  margin: 0 auto;
}

.spec-table-head span:not(:first-child) {
  text-align: center;
}

@keyframes config-limit-shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-4px);
  }
}

.mini-button,
.icon-button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mini-button:hover,
.icon-button:hover {
  border-color: rgba(217, 0, 18, 0.38);
  background: rgba(217, 0, 18, 0.08);
}

.icon-button {
  min-width: 32px;
  padding: 0 10px;
}

.camera-form-grid,
.system-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.config-choice-group {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.config-choice-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.choice-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pill {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.choice-pill:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.choice-pill.is-active {
  border-color: rgba(217, 0, 18, 0.34);
  background: rgba(217, 0, 18, 0.14);
  color: #ffffff;
}

.camera-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  font-weight: 600;
}

.toggle-chip.is-disabled {
  opacity: 0.55;
}

.toggle-chip:has(input:checked) {
  border-color: rgba(217, 0, 18, 0.34);
  background: rgba(217, 0, 18, 0.14);
  color: #fff;
}

.toggle-chip input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.camera-form-hint,
.system-card-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.4;
}

.config-inline-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.config-inline-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.5;
}

.config-inline-note p + p {
  margin-top: 6px;
}

.config-advanced-block {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.config-advanced-block summary {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
}

.config-advanced-block > :not(summary) {
  padding: 0 14px 14px;
}

.system-card-head h4,
.system-card-head p,
.system-card-note,
.camera-form-hint {
  max-width: 64ch;
}

.camera-stack-actions {
  margin-top: 2px;
}

.camera-stack-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #f4f6f8;
}

.camera-stack-actions .button-secondary:hover {
  border-color: rgba(217, 0, 18, 0.32);
  background: rgba(217, 0, 18, 0.12);
  color: #ffffff;
}

.video-summary-panel {
  position: sticky;
  top: 110px;
  overflow: visible;
  max-height: none;
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(17, 17, 19, 0.96), rgba(7, 7, 8, 0.98));
}

.video-summary-scroll {
  max-height: none;
  padding: 14px 14px 158px;
  overflow: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.video-summary-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.video-summary-block + .video-summary-block {
  margin-top: 12px;
}

.video-summary-text {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.5;
}

.summary-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.video-summary-block[data-video-package-cards],
.video-summary-block[data-access-package-cards] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.package-offer-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: #f4f6f8;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.package-offer-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.package-offer-card.is-active {
  border-color: rgba(217, 0, 18, 0.34);
  background: rgba(217, 0, 18, 0.12);
  transform: translateY(-1px);
}

.package-offer-card.is-limited {
  border-color: rgba(255, 190, 92, 0.22);
}

.package-offer-kicker {
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.package-offer-card strong {
  font-size: 17px;
  line-height: 1;
}

.package-offer-card small,
.package-offer-card em {
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  line-height: 1.45;
  font-style: normal;
}

.package-offer-card em {
  color: rgba(255, 214, 156, 0.92);
}

.video-warning-card {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.45;
}

.video-warning-card strong {
  display: block;
  margin-bottom: 6px;
}

.config-warning-list {
  margin: 8px 0 0 18px;
  padding: 0;
}

.config-warning-list li + li {
  margin-top: 4px;
}

.video-action-dock {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.06), rgba(10, 10, 11, 0.98) 28%);
  backdrop-filter: blur(12px);
}

.video-action-meta span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-action-meta strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.video-action-buttons {
  margin-top: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.system-card {
  padding: 14px;
}

.access-main .system-card {
  position: relative;
  z-index: 1;
}

.access-main [data-access-options-card] {
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(22, 22, 26, 0.995);
}

.access-main [data-access-options-card] .camera-card-head {
  margin-bottom: 8px;
}

.system-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.system-stat {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.system-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.system-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.15;
  color: #f4f6f8;
}

.video-intake-card h3,
.config-result-card h3 {
  font-size: 17px;
}

.spec-table {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.spec-table-head,
.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) 34px 110px 74px 82px 72px;
  gap: 8px;
  align-items: center;
}

.spec-table-head {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-table-head span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.spec-table-body {
  display: grid;
  gap: 10px;
  padding: 10px;
}

.build-sheet-item {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(12, 12, 14, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.spec-row {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 16, 19, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.build-sheet-item .spec-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.build-sheet-edit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.build-sheet-edit-icon:hover {
  background: rgba(217, 0, 18, 0.18);
  border-color: rgba(255, 74, 86, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.build-sheet-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 4px;
  border: 1px solid rgba(255, 74, 86, 0.44);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 45, 61, 0.92), rgba(217, 0, 18, 0.88));
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
  box-shadow: 0 10px 18px rgba(217, 0, 18, 0.22);
}

.build-sheet-add-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 24px rgba(217, 0, 18, 0.28);
}

.build-sheet-add-button:focus-visible {
  outline: 2px solid rgba(255, 74, 86, 0.6);
  outline-offset: 2px;
}

.build-sheet-edit-icon:focus-visible {
  outline: 2px solid rgba(255, 74, 86, 0.55);
  outline-offset: 2px;
}

.build-sheet-edit-placeholder {
  display: block;
  width: 32px;
  height: 32px;
}

.spec-row > :last-child {
  justify-self: end;
}

.left-build-sheet .camera-stack-actions {
  margin-top: 10px;
}

.left-build-sheet {
  min-height: 100%;
  min-width: 0;
  overflow: visible;
}

.left-build-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.left-build-head .button-secondary {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #f4f6f8;
}

.left-build-head .button-secondary:hover {
  border-color: rgba(217, 0, 18, 0.34);
  background: rgba(217, 0, 18, 0.16);
  color: #ffffff;
}

.left-spec-table {
  margin-top: 14px;
  border: 0;
  background: transparent;
  min-width: 0;
  overflow: visible;
}

.left-spec-table .spec-table-body {
  gap: 10px;
  min-width: 0;
}

.left-spec-table .spec-table-head {
  margin-bottom: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  grid-template-columns: minmax(0, 1.9fr) 40px 84px 88px 96px 40px;
}

.left-spec-table .spec-table-head > :last-child {
  visibility: hidden;
}

.spec-name strong {
  display: block;
  overflow-wrap: anywhere;
  color: #f4f6f8;
  font-size: 11px;
  line-height: 1.35;
}

.spec-kind,
.system-model-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.spec-name small {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  line-height: 1.35;
}

.left-build-sheet .spec-row {
  grid-template-columns: minmax(0, 1.9fr) 40px 84px 88px 96px 40px;
}

.spec-name {
  min-width: 0;
}

.spec-cell {
  font-size: 10px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
  text-align: right;
}

.spec-row .spec-cell:nth-child(2),
.spec-row .spec-cell:nth-child(3) {
  text-align: center;
}

.config-field span,
.config-result-head p,
.config-price-item span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 9px;
}

.config-field select,
.config-field input {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f6f8;
}

.camera-entry .config-field,
.system-card .config-field {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.camera-entry .config-field select,
.camera-entry .config-field input {
  min-height: 34px;
  font-size: 12px;
}

.camera-entry .config-field select:hover,
.camera-entry .config-field input:hover,
.system-card .config-field select:hover,
.system-card .config-field input:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.system-card .config-field select:disabled,
.system-card .config-field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.count-stepper {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  gap: 6px;
  align-items: center;
}

.stepper-button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.stepper-button:hover {
  border-color: rgba(217, 0, 18, 0.38);
  background: rgba(217, 0, 18, 0.08);
}

.count-stepper input {
  text-align: center;
}

.camera-entry .count-stepper input,
.system-card .count-stepper input {
  background: rgba(255, 255, 255, 0.1);
}

.config-field-help {
  display: block;
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  line-height: 1.25;
}

.video-intake-card {
  padding: 16px;
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 20, 0.94);
}

.video-intake-card .config-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.video-intake-grid {
  margin-top: 12px;
}

.config-price-grid {
  gap: 8px;
  margin-top: 12px;
}

.config-price-item {
  padding: 12px;
  border-radius: 16px;
}

.config-price-item strong {
  margin-top: 6px;
  font-size: 18px;
}

.config-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

.config-panel.is-editing .video-config-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.config-panel.is-editing .video-intake-card,
.config-panel.is-editing .builder-stack > :not(.is-editor-container) {
  display: none;
}

.config-panel.is-editing .builder-stack > .is-editor-container {
  display: block;
}

.config-panel.is-editing .camera-entry,
.config-panel.is-editing .system-card {
  min-height: 0;
  max-height: calc(100vh - 180px);
  overflow: auto;
  border-color: rgba(217, 0, 18, 0.24);
  box-shadow:
    0 0 0 1px rgba(217, 0, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.camera-entry .config-field:focus-within,
.system-card .config-field:focus-within {
  border-color: rgba(217, 0, 18, 0.24);
  background: rgba(217, 0, 18, 0.06);
}

.archive-grid {
  align-items: start;
}

.archive-calculator,
.archive-result {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(18, 18, 21, 0.95);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.2);
}

.archive-calculator h3,
.archive-result h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.98;
  text-transform: uppercase;
}

.archive-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.archive-field {
  display: grid;
  gap: 10px;
}

.archive-field span,
.archive-metric span,
.archive-result-top p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.archive-field input,
.archive-field select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font: inherit;
  outline: none;
}

.archive-field input:focus,
.archive-field select:focus {
  border-color: rgba(217, 0, 18, 0.45);
  box-shadow: 0 0 0 3px rgba(217, 0, 18, 0.12);
}

.archive-result {
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(17, 17, 19, 0.92), rgba(7, 7, 8, 0.98));
}

.archive-result-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.archive-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.archive-metric {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.archive-metric strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.05;
  text-transform: uppercase;
}

.archive-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.72;
}

.vendor-marquee {
  overflow: hidden;
  margin-top: 30px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.vendor-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: vendor-marquee 28s linear infinite;
}

.vendor-marquee:hover .vendor-track {
  animation-play-state: paused;
}

.vendor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  height: 104px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.96);
}

.vendor-card img {
  max-width: 140px;
  max-height: 48px;
  object-fit: contain;
}

.portfolio-hero,
.page-hero {
  padding: 64px 0 24px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: end;
}

.page-kicker {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.page-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.page-side-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
}

.page-side-card strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-side-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.case-card .case-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.case-card .case-top strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.case-card .case-time {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(217, 0, 18, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.2);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.service-catalog-card .service-icon {
  margin-bottom: 20px;
}

.service-catalog-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.service-catalog-footer {
  margin-top: auto;
  padding-top: 22px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: 20px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.roadmap-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.2);
}

.roadmap-card strong {
  display: block;
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.roadmap-card h3 {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
}

.roadmap-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

.service-section-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.2);
}

.service-section-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

.service-section-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.service-offerings {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.service-offer {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.service-offer-index {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(217, 0, 18, 0.22), rgba(217, 0, 18, 0.08));
  font-size: 16px;
  font-weight: 700;
}

.service-offer h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-offer p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.64;
}

.process-stack {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.process-step-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.process-step-card strong {
  display: block;
  color: white;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.process-step-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.service-highlight-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.service-highlight {
  padding: 18px;
  border-left: 3px solid rgba(217, 0, 18, 0.7);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.03);
}

.service-highlight strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-highlight p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.64;
}

.case-card .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 18px;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.detail-stat {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.detail-stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.detail-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  height: 100%;
}

.gallery-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(140deg, rgba(217, 0, 18, 0.18), transparent 42%),
    linear-gradient(145deg, #151618, #080809 68%);
}

.gallery-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gallery-visual::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-visual.visual-residential {
  background:
    linear-gradient(130deg, rgba(217, 0, 18, 0.2), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(145deg, #17181d, #09090b 70%);
}

.gallery-visual.visual-campus {
  background:
    linear-gradient(130deg, rgba(217, 0, 18, 0.14), transparent 45%),
    radial-gradient(circle at 82% 18%, rgba(55, 162, 255, 0.18), transparent 18%),
    linear-gradient(145deg, #101820, #08090b 70%);
}

.gallery-visual.visual-business {
  background:
    linear-gradient(130deg, rgba(217, 0, 18, 0.16), transparent 44%),
    radial-gradient(circle at 80% 18%, rgba(255, 215, 123, 0.18), transparent 18%),
    linear-gradient(145deg, #16161a, #09090b 70%);
}

.gallery-visual.visual-install {
  background:
    linear-gradient(130deg, rgba(217, 0, 18, 0.16), transparent 44%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 14px, transparent 14px 30px),
    linear-gradient(145deg, #131416, #09090b 70%);
}

.gallery-visual.visual-network {
  background:
    linear-gradient(130deg, rgba(217, 0, 18, 0.12), transparent 42%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 12px, transparent 12px 26px),
    linear-gradient(145deg, #11161b, #09090b 70%);
}

.gallery-visual.visual-result {
  background:
    linear-gradient(130deg, rgba(217, 0, 18, 0.18), transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(78, 219, 148, 0.16), transparent 18%),
    linear-gradient(145deg, #141517, #09090b 70%);
}

.gallery-visual.visual-residential::before,
.gallery-visual.visual-campus::before,
.gallery-visual.visual-business::before,
.gallery-visual.visual-install::before,
.gallery-visual.visual-network::before,
.gallery-visual.visual-result::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 40%);
}

.case-card.case-card-highlight {
  background:
    radial-gradient(circle at top left, rgba(217, 0, 18, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(14, 14, 17, 0.97);
}

.case-card.case-card-highlight .case-time {
  color: rgba(255, 255, 255, 0.82);
}

.gallery-body {
  padding: 18px;
}

.gallery-body h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  text-transform: uppercase;
}

.gallery-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.requisites,
.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
}

.requisites dl {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 12px 18px;
  margin: 0;
}

.requisites dt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.requisites dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
}

.contact-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.contact-value {
  font-size: 17px;
  line-height: 1.72;
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.42);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 243, 244, 0.93));
}

.footer-brand-badge img {
  width: 30px;
}

.footer-brand strong {
  display: block;
  color: white;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-brand span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1181px) {
  .video-config-layout {
    position: sticky;
    top: 118px;
    height: calc(100vh - 144px);
    align-items: stretch;
  }

  .video-main {
    min-height: 0;
    max-height: calc(100vh - 144px);
    padding-right: 6px;
    padding-bottom: 64px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .video-main::-webkit-scrollbar {
    display: none;
  }

  .video-intake-card {
    position: sticky;
    top: 0;
    z-index: 3;
  }

  .builder-stack {
    min-height: calc(100vh - 380px);
    padding-bottom: 56px;
  }

  .left-build-sheet {
    min-height: calc(100vh - 380px);
  }

  .video-summary-panel {
    position: static;
    align-self: start;
  }

  .config-panel.is-editing .camera-entry,
  .config-panel.is-editing .system-card {
    max-height: none;
    overflow: visible;
  }
}

@keyframes vendor-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .section-head,
  .page-hero-grid,
  .detail-grid,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .video-config-layout {
    grid-template-columns: 1fr;
  }

  .video-summary-panel {
    position: static;
    max-height: none;
  }

  .video-summary-scroll {
    max-height: none;
  }

  .grid-4,
  .proof-stats,
  .detail-stats,
  .roadmap-grid,
  .archive-result-grid,
  .config-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .header-row {
    align-items: center;
    flex-wrap: wrap;
  }

  .audience-switch {
    order: 2;
    width: 100%;
    justify-content: stretch;
  }

  .audience-switch a {
    flex: 1 1 0;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-nav {
    display: none;
    order: 3;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    margin-top: 10px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--panel-shadow);
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-nav a:last-child {
    border-bottom: 0;
  }

  .header-actions {
    display: none;
    order: 4;
    width: 100%;
    margin-top: 12px;
  }

  .site-header.menu-open .header-actions {
    display: flex;
  }

  .hero-facts,
  .grid-3,
  .case-grid,
  .gallery-grid,
  .service-catalog-grid,
  .roadmap-grid,
  .archive-form,
  .archive-result-grid,
  .config-form,
  .config-price-grid,
  .camera-form-grid,
  .system-form-grid,
  .system-stat-grid {
    grid-template-columns: 1fr;
  }

  .config-brief {
    grid-template-columns: 1fr;
  }

  .config-check {
    grid-template-columns: 1fr;
  }

  .video-summary-block[data-video-package-cards],
  .video-summary-block[data-access-package-cards] {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .section,
  .portfolio-hero,
  .page-hero {
    padding: 72px 0;
  }

  .hero {
    padding-top: 34px;
  }

  .brand-link {
    align-items: center;
    flex: 1 1 auto;
  }

  .brand-badge {
    padding: 6px 0;
    min-height: auto;
  }

  .brand-badge img {
    width: clamp(220px, 60vw, 250px);
  }

  .brand-subtitle {
    display: none;
  }

  .audience-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding: 6px;
    border-radius: 22px;
  }

  .audience-switch a {
    width: 100%;
    min-height: 48px;
    padding: 8px 10px;
    font-size: 8px;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-wrap: balance;
  }

  .header-actions .button-secondary {
    width: 100%;
  }

  .hero-panel,
  .proof-card,
  .panel-card,
  .service-card,
  .process-card,
  .project-card,
  .case-card,
  .detail-card,
  .contact-card,
  .requisites,
  .archive-calculator,
  .archive-result,
  .config-card,
  .config-result-card {
    padding: 22px;
  }

  .camera-entry,
  .system-card,
  .video-summary-scroll,
  .video-action-dock {
    padding: 16px;
  }

  .hero-panel-top {
    flex-direction: column;
  }

  .config-tabs {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .config-result-head,
  .archive-result-top,
  .video-intake-top,
  .camera-card-head,
  .camera-card-actions,
  .system-card-head,
  .system-card-actions,
  .video-action-dock {
    flex-direction: column;
  }

  .hero-mark {
    width: 88px;
  }

  .note-card,
  .service-offer,
  .contact-item,
  .requisites dl,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .hero-facts,
  .grid-4,
  .proof-stats,
  .detail-stats {
    grid-template-columns: 1fr;
  }

  .video-action-buttons {
    width: 100%;
  }

  .video-action-buttons .button,
  .video-action-buttons .button-secondary,
  .video-intake-top .button {
    width: 100%;
  }

  .footer-row {
    display: grid;
  }
}

.mobile-lite-intro {
  display: none;
}

.mobile-lite-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.mobile-lite-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.mobile-lite-kicker {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-lite-title,
.mobile-lite-summary {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.mobile-lite-stats,
.mobile-lite-actions,
.mobile-lite-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-lite-stat,
.mobile-lite-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.74rem;
  line-height: 1.2;
}

.mobile-lite-link {
  color: var(--muted);
}

@media (max-width: 760px) {
  body[data-mobile-lite="true"] {
    padding-bottom: 24px;
  }

  body[data-mobile-lite="true"] .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(20px);
  }

  body[data-mobile-lite="true"] .header-row {
    flex-wrap: nowrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  body[data-mobile-lite="true"] .site-header.menu-open .header-row {
    flex-wrap: wrap;
  }

  body[data-mobile-lite="true"] .audience-switch,
  body[data-mobile-lite="true"] .header-actions,
  body[data-mobile-lite="true"] .brand-subtitle,
  body[data-mobile-lite="true"] .lead-fab {
    display: none !important;
  }

  body[data-mobile-lite="true"] .brand-link {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 60px);
  }

  body[data-mobile-lite="true"] .brand-badge {
    min-height: 52px;
    padding: 10px 12px;
  }

  body[data-mobile-lite="true"] .brand-badge img {
    width: 124px;
  }

  body[data-mobile-lite="true"] .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
    position: relative;
    z-index: 2;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
  }

  body[data-mobile-lite="true"] .mobile-lite-intro {
    display: block;
    padding: 14px 0 8px;
  }

  body[data-mobile-lite="true"] .mobile-lite-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--panel-shadow);
  }

  body[data-theme="light"][data-mobile-lite="true"] .mobile-lite-card {
    background: rgba(255, 252, 247, 0.96);
  }

  body[data-mobile-lite="true"] .mobile-lite-title {
    font-size: clamp(1.32rem, 5.4vw, 1.76rem);
    line-height: 0.96;
    text-wrap: balance;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  body[data-mobile-lite="true"] .mobile-lite-summary {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  body[data-mobile-lite="true"] .mobile-lite-actions .button,
  body[data-mobile-lite="true"] .mobile-lite-actions .button-secondary {
    width: 100%;
    justify-content: center;
  }

  body[data-mobile-lite="true"] .hero,
  body[data-mobile-lite="true"] .page-hero {
    display: none;
  }

  body[data-mobile-lite="true"] .section,
  body[data-mobile-lite="true"] .portfolio-hero,
  body[data-mobile-lite="true"] .page-hero {
    padding: 44px 0;
  }

  body[data-mobile-lite="true"] .section-head {
    gap: 10px;
    margin-bottom: 18px;
  }

  body[data-mobile-lite="true"] .section-head p {
    display: none;
  }

  body[data-mobile-lite="true"] .section-head h2,
  body[data-mobile-lite="true"] .section-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }

  body[data-mobile-lite="true"] .panel-card,
  body[data-mobile-lite="true"] .service-card,
  body[data-mobile-lite="true"] .project-card,
  body[data-mobile-lite="true"] .case-card,
  body[data-mobile-lite="true"] .detail-card,
  body[data-mobile-lite="true"] .contact-card,
  body[data-mobile-lite="true"] .requisites,
  body[data-mobile-lite="true"] .proof-card,
  body[data-mobile-lite="true"] .process-card,
  body[data-mobile-lite="true"] .service-catalog-card,
  body[data-mobile-lite="true"] .gallery-card,
  body[data-mobile-lite="true"] .service-section-card,
  body[data-mobile-lite="true"] .config-card,
  body[data-mobile-lite="true"] .config-result-card,
  body[data-mobile-lite="true"] .video-summary-panel {
    padding: 18px;
    border-radius: 22px;
  }

  body[data-mobile-lite="true"] .service-card p,
  body[data-mobile-lite="true"] .project-card p,
  body[data-mobile-lite="true"] .case-card p,
  body[data-mobile-lite="true"] .detail-card p,
  body[data-mobile-lite="true"] .gallery-body p,
  body[data-mobile-lite="true"] .service-catalog-card p,
  body[data-mobile-lite="true"] .process-card p,
  body[data-mobile-lite="true"] .proof-stat span,
  body[data-mobile-lite="true"] .service-offer p,
  body[data-mobile-lite="true"] .service-highlight p,
  body[data-mobile-lite="true"] .shot-desc,
  body[data-mobile-lite="true"] .camera-desc {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body[data-mobile-lite="true"] .tag-list li:nth-child(n + 4),
  body[data-mobile-lite="true"] .tag-list .tag:nth-child(n + 4),
  body[data-mobile-lite="true"] .vendor-list li:nth-child(n + 5),
  body[data-mobile-lite="true"] .system-list li:nth-child(n + 5),
  body[data-mobile-lite="true"] .bullet-list li:nth-child(n + 6) {
    display: none;
  }

  body[data-mobile-lite="true"] .contact-list,
  body[data-mobile-lite="true"] .tag-list,
  body[data-mobile-lite="true"] .vendor-list,
  body[data-mobile-lite="true"] .system-list,
  body[data-mobile-lite="true"] .proof-stats,
  body[data-mobile-lite="true"] .detail-stats {
    gap: 10px;
  }

  body[data-mobile-lite="true"] [data-mobile-lite-hidden="true"] {
    display: none !important;
  }

  body[data-mobile-lite="true"] .site-footer {
    padding: 28px 0 36px;
  }

  body[data-mobile-lite="true"] .footer-row > div:last-child {
    display: none;
  }

  body[data-mobile-lite="true"] .footer-brand span span {
    font-size: 0.78rem;
  }

  body[data-mobile-lite="true"][data-page-type="configurator"] .video-config-layout {
    gap: 16px;
  }

  body[data-mobile-lite="true"][data-page-type="configurator"] .video-summary-panel {
    order: -1;
  }

  body[data-mobile-lite="true"][data-page-type="configurator"] .builder-stack {
    min-height: auto;
    padding-bottom: 0;
  }

  body[data-mobile-lite="true"][data-page-type="configurator"] .video-summary-scroll,
  body[data-mobile-lite="true"][data-page-type="configurator"] .camera-entry,
  body[data-mobile-lite="true"][data-page-type="configurator"] .system-card,
  body[data-mobile-lite="true"][data-page-type="configurator"] .video-action-dock {
    padding: 14px;
  }

  body[data-mobile-lite="true"][data-page-type="configurator"] .video-action-dock {
    position: sticky;
    bottom: 8px;
    z-index: 5;
    border-radius: 20px;
  }

  body[data-mobile-lite="true"][data-page-type="demo"] .section-subtitle {
    display: none;
  }
}

.address-autocomplete-host {
  position: relative;
}

.address-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(14, 14, 16, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.address-autocomplete-option {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  transition: background 160ms ease, transform 160ms ease;
}

.address-autocomplete-option:hover,
.address-autocomplete-option:focus-visible {
  background: rgba(217, 0, 18, 0.16);
  transform: translateY(-1px);
}

.address-autocomplete-option span {
  font-size: 0.94rem;
  line-height: 1.25;
}

.address-autocomplete-option small {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-inline-block {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lead-inline-copy {
  display: grid;
  gap: 8px;
}

.lead-inline-copy h3 {
  margin: 0;
}

.lead-inline-copy p,
.lead-capture-status {
  margin: 0;
  color: var(--text-muted);
}

.lead-proof-card {
  display: grid;
  gap: 24px;
}

.lead-capture-form {
  display: grid;
  gap: 16px;
}

.lead-capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-capture-grid .config-field {
  margin: 0;
}

.lead-capture-grid .config-field-wide {
  grid-column: 1 / -1;
}

.lead-capture-form textarea {
  min-height: 112px;
  resize: vertical;
}

.lead-capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lead-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.lead-fab .button,
.lead-fab .button-secondary {
  min-width: 196px;
  justify-content: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.72);
  backdrop-filter: blur(10px);
}

.lead-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: 16px auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(12, 12, 14, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.lead-modal-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding-right: 40px;
}

.lead-modal-head h2,
.lead-modal-head p {
  margin: 0;
}

.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .lead-capture-grid {
    grid-template-columns: 1fr;
  }

  .lead-capture-grid .config-field-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 0 8px;
  }

  .header-row {
    gap: 8px 10px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .audience-switch {
    margin-top: 2px;
  }

  .lead-fab {
    right: 12px;
    left: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .lead-fab .button,
  .lead-fab .button-secondary {
    min-width: 0;
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  }

  .lead-modal-card {
    width: calc(100% - 16px);
    margin: 8px auto;
    padding: 18px;
    border-radius: 22px;
  }

  .lead-capture-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
