/* ============================================================
   GRAND TENT — Blueprint Engineering Design System
   Version 2.0 | 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Background layers */
  --bg:        #020508;
  --bg-2:      #04090f;
  --surface:   #060e1b;
  --surface-2: #091525;
  --surface-3: #0d1c30;
  --surface-4: #12243a;

  /* Borders */
  --border:        rgba(59, 130, 246, 0.14);
  --border-2:      rgba(59, 130, 246, 0.28);
  --border-bright: rgba(59, 130, 246, 0.5);
  --border-amber:  rgba(245, 158, 11, 0.35);

  /* Text */
  --ink:   #cdd8e8;
  --ink-2: #7a9ab8;
  --ink-3: #4a6a90;
  --ink-4: #2a4060;

  /* Accent: blue (primary) */
  --blue:      #3b82f6;
  --blue-2:    #60a5fa;
  --blue-3:    #93c5fd;
  --blue-dim:  rgba(59, 130, 246, 0.10);
  --blue-glow: rgba(59, 130, 246, 0.20);

  /* Accent: amber (CTA) */
  --amber:      #f59e0b;
  --amber-2:    #fbbf24;
  --amber-dim:  rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.25);

  /* Semantic */
  --teal:     #14b8a6;
  --teal-dim: rgba(20, 184, 166, 0.12);
  --green:    #22c55e;
  --red:      #ef4444;
  --white:    #ffffff;

  /* Brand gold (legacy) */
  --gold:   #d9a928;
  --gold-2: #ffd451;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', 'Lucida Console', monospace;

  /* Layout */
  --max:       1280px;
  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-blue: 0 0 30px rgba(59, 130, 246, 0.15);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.012) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-attachment: fixed;
  min-height: 100vh;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

a {
  color: var(--blue-2);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-3);
}

ul, ol { list-style: none; }

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

input, select, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 38px); }
h3 { font-size: clamp(16px, 2vw, 22px); }
h4 { font-size: 17px; }
h5 { font-size: 15px; font-weight: 600; }

p { color: var(--ink-2); line-height: 1.7; }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}

.section-kicker::before { content: '// '; opacity: 0.5; }

.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }
.section-head > p { font-size: 16px; max-width: 680px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  opacity: 0.9;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bg);
  background: var(--amber);
  border: 2px solid var(--amber);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--amber-2);
  border-color: var(--amber-2);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--amber-glow);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue-2);
  background: var(--blue-dim);
  transform: translateY(-1px);
  box-shadow: none;
}

.button.blue {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.button.blue:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
  box-shadow: 0 6px 24px var(--blue-glow);
}

.button.ghost {
  background: transparent;
  color: var(--blue-2);
  border-color: var(--blue);
}

.button.ghost:hover {
  background: var(--blue-dim);
  color: var(--white);
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.text-link::after { content: '→'; }

.text-link:hover { color: var(--blue-2); }

/* ============================================================
   LAYOUT
   ============================================================ */
.section {
  padding: 80px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.section-compact { padding: 60px 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 5, 8, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  gap: 0;
}

.brand {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white) !important;
  text-decoration: none;
  margin-right: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand span { color: var(--blue); }

.brand::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
  background: var(--blue-dim);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bg);
  background: var(--amber);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  margin-left: 12px;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--amber-2); color: var(--bg); }

.menu-toggle {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  margin-left: auto;
  transition: all 0.2s;
}

.menu-toggle:hover { color: var(--white); border-color: var(--border-2); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
}

.trust-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s;
}

.trust-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.trust-badge.minprom {
  border-color: rgba(34, 197, 94, 0.35);
  color: #22c55e;
  background: rgba(34, 197, 94, 0.06);
}

.trust-badge.minprom::before { background: #22c55e; }

.trust-badge.skolkovo {
  border-color: rgba(59, 130, 246, 0.35);
  color: var(--blue-2);
  background: var(--blue-dim);
}

.trust-badge.skolkovo::before { background: var(--blue); }

.trust-badge.gost {
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--amber);
  background: var(--amber-dim);
}

.trust-badge.gost::before { background: var(--amber); }

.trust-badge.iso {
  border-color: rgba(20, 184, 166, 0.35);
  color: var(--teal);
  background: var(--teal-dim);
}

.trust-badge.iso::before { background: var(--teal); }

.trust-bar-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

.trust-bar-text {
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a,
.breadcrumbs span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
}

.breadcrumbs a:hover { color: var(--blue-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2, 5, 8, 0.97) 45%, rgba(2, 5, 8, 0.3) 100%),
    linear-gradient(rgba(59, 130, 246, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.055) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  width: 100%;
}

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

.hero-copy h1 {
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-copy > p {
  font-size: 17px;
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 560px;
}

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

/* Hero technical panel */
.hero-panel {
  background: rgba(6, 14, 27, 0.92);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  position: relative;
}

.hero-panel::before,
.hero-panel::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--blue);
  border-style: solid;
}

.hero-panel::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero-panel::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.hero-panel > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.hero-panel > div:last-of-type { border-bottom: none; }

.hero-panel > div span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel > div strong {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-2);
  text-align: right;
}

.hero-mini-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-mini-form strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}

.hero-mini-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-mini-form input {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}

.hero-mini-form input:focus { outline: none; border-color: var(--blue); }

.hero-mini-form .button { margin-top: 6px; width: 100%; justify-content: center; }

/* ============================================================
   METRICS STRIP
   ============================================================ */
.metrics-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.metrics-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
}

.metric-item:last-child { border-right: none; }

.metric-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.metric-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue-2);
  margin-left: 3px;
}

.metric-label {
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   STATS BAND (legacy)
   ============================================================ */
.stats-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-inner > div {
  padding: 20px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats-inner > div:last-child { border-right: none; }

.stats-inner strong {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  color: var(--amber);
}

.stats-inner span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   GOST BLOCK
   ============================================================ */
.gost-section {
  padding: 60px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.gost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px;
}

.gost-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.gost-row:hover { border-color: var(--border-2); }

.gost-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(20, 184, 166, 0.25);
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.gost-desc { font-size: 13px; color: var(--ink-2); line-height: 1.5; flex: 1; }

.gost-desc strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

/* ============================================================
   LOAD ZONES
   ============================================================ */
.load-zones-section {
  padding: 60px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

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

.load-zone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.load-zone-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.zone-icon {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.zone-icon.snow {
  background: rgba(147, 197, 253, 0.12);
  color: var(--blue-3);
  border: 1px solid rgba(147, 197, 253, 0.25);
}

.zone-icon.wind {
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.load-zone-header h4 { font-size: 14px; }

.load-zone-table { width: 100%; border-collapse: collapse; }

.load-zone-table tr { border-bottom: 1px solid var(--border); }
.load-zone-table tr:last-child { border-bottom: none; }

.load-zone-table td { padding: 10px 18px; font-size: 13px; }

.load-zone-table td:first-child {
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-size: 11px;
  width: 42%;
}

.load-zone-table td:last-child { color: var(--ink); font-weight: 500; }

/* ============================================================
   MATERIAL PASSPORT
   ============================================================ */
.material-passport {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.material-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.material-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.material-card-header h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.m-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  background: var(--blue-dim);
  border: 1px solid var(--border-2);
  border-radius: 3px;
  color: var(--blue-2);
}

.material-specs-table { width: 100%; border-collapse: collapse; }

.material-specs-table tr { border-bottom: 1px solid var(--border); }
.material-specs-table tr:last-child { border-bottom: none; }

.material-specs-table td { padding: 10px 18px; font-size: 13px; }

.material-specs-table td:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 44%;
}

.material-specs-table td:last-child { color: var(--ink); font-weight: 500; }

.material-specs-table .highlight td:last-child { color: var(--teal); }

/* ============================================================
   ENGINEERING SPLIT
   ============================================================ */
.engineering-split {
  padding: 80px 24px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.spec-list { display: flex; flex-direction: column; margin-top: 28px; }

.spec-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.spec-list > div:last-child { border-bottom: none; }

.spec-list strong {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.spec-list span { font-size: 14px; color: var(--ink-2); }

.tech-figure { position: relative; }

.tech-figure img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.tech-figure::before,
.tech-figure::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--amber);
  border-style: solid;
  z-index: 2;
}

.tech-figure::before { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.tech-figure::after  { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.tech-figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  padding: 10px 0 0;
  letter-spacing: 0.04em;
}

/* ============================================================
   TECHNICAL DOSSIER
   ============================================================ */
.dossier-section {
  background: var(--surface);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dossier-section .section-head {
  max-width: var(--max);
  margin: 0 auto 40px;
}

.dossier-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.dossier-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dossier-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow-blue);
}

.dossier-card::before,
.dossier-card::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--blue);
  border-style: solid;
}

.dossier-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.dossier-card::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.dossier-card h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.dossier-card ul { display: flex; flex-direction: column; gap: 8px; }

.dossier-card li {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.dossier-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 10px;
}

/* ============================================================
   DIRECTION MATRIX
   ============================================================ */
.direction-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.direction-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.direction-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.direction-card:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  color: inherit;
}

.direction-card:hover::after { opacity: 1; }

.direction-card > span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue);
  opacity: 0.6;
  font-weight: 600;
}

.direction-card h3 { font-size: 16px; color: var(--white); }
.direction-card p  { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ============================================================
   CONSTRUCTION RAIL
   ============================================================ */
.rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.rail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rail-card:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
  transform: translateY(-2px);
  color: inherit;
}

.rail-card h3 { font-size: 14px; color: var(--white); }
.rail-card p  { font-size: 12px; color: var(--ink-3); line-height: 1.5; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--blue));
  opacity: 0.25;
}

.timeline article { padding: 0 20px; position: relative; }

.timeline article > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: var(--surface-2);
  border: 2px solid var(--border-2);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-2);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.timeline article h3 { font-size: 14px; margin-bottom: 8px; }
.timeline article p  { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ============================================================
   PRICE BLOCK
   ============================================================ */
.price-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

.price-table { display: flex; flex-direction: column; }

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.price-row:last-child { border-bottom: none; }

.price-row strong { font-size: 15px; color: var(--white); }
.price-row span   { font-size: 13px; color: var(--ink-3); }

.price-row b {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--amber);
  white-space: nowrap;
}

.price-note {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 28px;
}

.price-note h3 { font-size: 16px; margin-bottom: 12px; }

.price-note p {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ============================================================
   CAPTURE STRIP
   ============================================================ */
.capture-strip {
  background: linear-gradient(90deg, var(--surface-2), var(--surface));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.capture-strip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
}

.capture-strip > div {
  max-width: var(--max);
  display: flex;
  gap: 16px;
  align-items: baseline;
  flex-wrap: wrap;
  padding-left: 20px;
}

.capture-strip strong { font-size: 17px; font-weight: 700; color: var(--white); }
.capture-strip span   { font-size: 14px; color: var(--ink-3); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.cta-inner h2 { margin-bottom: 16px; }

.cta-inner > div > p {
  font-size: 15px;
  color: var(--ink-3);
  max-width: 440px;
}

/* ============================================================
   LEAD FORM
   ============================================================ */
.lead-form { display: flex; flex-direction: column; gap: 16px; }

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

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-grid label.wide { grid-column: 1 / -1; }

.form-grid input,
.form-grid select,
.form-grid textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
}

.form-grid select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6a90' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-dim);
}

.form-grid textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.03em;
}

/* ============================================================
   CALCULATOR
   ============================================================ */
.calculator {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.calculator-compact { gap: 28px; }

.calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.calc-fields input,
.calc-fields select {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}

.calc-fields select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a6a90' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.calc-fields input:focus,
.calc-fields select:focus { outline: none; border-color: var(--blue); }

.calc-result {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.calc-result::before,
.calc-result::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--amber);
  border-style: solid;
}

.calc-result::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.calc-result::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.calc-result > span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 12px;
}

.calc-result > span:first-child { margin-top: 0; }

.calc-result strong {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}

.calc-result p {
  font-size: 12px;
  color: var(--ink-4);
  line-height: 1.5;
  font-family: var(--font-mono);
  margin: 8px 0 16px;
}

/* ============================================================
   PROJECT SHOWCASE
   ============================================================ */
.project-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
}

.project-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.project-card > div { padding: 20px; }

.project-card h3 { font-size: 15px; margin-bottom: 12px; }

.project-card dl { display: flex; flex-direction: column; gap: 6px; }

.project-card dl > div { display: flex; gap: 12px; }

.project-card dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: 80px;
  flex-shrink: 0;
}

.project-card dd { font-size: 13px; color: var(--ink-2); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.faq-list details[open] { border-color: var(--border-2); }

.faq-list summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-list details[open] summary::after { content: '−'; }

.faq-list details p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ============================================================
   PHOTO MOSAIC / GALLERY
   ============================================================ */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.photo-mosaic.full { grid-template-columns: repeat(5, 1fr); }

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.photo:hover { border-color: var(--border-2); }

.photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s;
}

.photo:hover img { transform: scale(1.03); }

.photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(transparent, rgba(2, 5, 8, 0.9));
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  opacity: 0;
  transition: opacity 0.2s;
}

.photo:hover figcaption { opacity: 1; }

.landing-media-section { padding: 60px 24px; max-width: var(--max); margin: 0 auto; }

.landing-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.landing-media-grid figure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.landing-media-grid figure:hover { border-color: var(--border-2); }

.landing-media-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.landing-media-grid figcaption {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}

/* ============================================================
   RELATED PAGES
   ============================================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.related-grid a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
}

.related-grid a:hover {
  border-color: var(--border-2);
  background: var(--surface-2);
  transform: translateY(-1px);
}

.related-grid a > span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.related-grid a > strong { font-size: 14px; color: var(--white); line-height: 1.4; }

/* ============================================================
   SEO TEXT
   ============================================================ */
.seo-text { padding: 60px 24px; max-width: var(--max); margin: 0 auto; }

.text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
}

.text-columns p { font-size: 15px; color: var(--ink-2); line-height: 1.75; }

/* ============================================================
   ARTICLE / BLOG
   ============================================================ */
.article-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
}

.article h2 {
  font-size: 20px;
  margin-bottom: 14px;
  margin-top: 32px;
  padding-left: 16px;
  border-left: 3px solid var(--blue);
}

.article h2:first-child { margin-top: 0; }

.article p { font-size: 15px; line-height: 1.75; color: var(--ink-2); margin-bottom: 16px; }

.article-aside {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 80px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-aside h3 { font-size: 18px; }
.article-aside p  { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
}

.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.check-list li::before {
  content: '✓';
  color: var(--teal);
  font-family: var(--font-mono);
  font-weight: 600;
  flex-shrink: 0;
}

/* ============================================================
   RAIL SECTION
   ============================================================ */
.rail-section { padding: 80px 24px; max-width: var(--max); margin: 0 auto; }

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.timeline-section { padding: 80px 24px; max-width: var(--max); margin: 0 auto; }

/* ============================================================
   PRICE SECTION
   ============================================================ */
.price-section { padding: 80px 24px; max-width: var(--max); margin: 0 auto; }

/* ============================================================
   CALCULATOR SECTION
   ============================================================ */
.calculator-section { padding: 80px 24px; max-width: var(--max); margin: 0 auto; }

/* ============================================================
   PROJECT SECTION
   ============================================================ */
.project-section { padding: 80px 24px; max-width: var(--max); margin: 0 auto; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { padding: 80px 24px; max-width: var(--max); margin: 0 auto; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-section { padding: 60px 24px; max-width: var(--max); margin: 0 auto; }

/* ============================================================
   RELATED SECTION
   ============================================================ */
.related-section { padding: 60px 24px; max-width: var(--max); margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer-brand { font-size: 20px; margin-bottom: 14px; }

.site-footer p { font-size: 13px; color: var(--ink-3); line-height: 1.6; max-width: 340px; }

.site-footer h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 16px;
}

.footer-grid > div > a {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-grid > div > a:hover { color: var(--blue-2); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

.footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   FLOATING CAPTURE
   ============================================================ */
.floating-capture {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(6, 14, 27, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-2);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.floating-capture span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

.floating-capture a,
.floating-capture button {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
}

.floating-capture a {
  background: var(--blue-dim);
  border: 1px solid var(--border-2);
  color: var(--blue-2);
}

.floating-capture a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.floating-capture button {
  background: var(--amber);
  border: 2px solid var(--amber);
  color: var(--bg);
}

.floating-capture button:hover {
  background: var(--amber-2);
  box-shadow: 0 4px 16px var(--amber-glow);
}

/* ============================================================
   MODAL
   ============================================================ */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.lead-modal[hidden] { display: none; }

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 8, 0.85);
  backdrop-filter: blur(8px);
}

.lead-modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.lead-modal-dialog h2 { font-size: 24px; margin-bottom: 10px; }
.lead-modal-dialog > p { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink-3);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover { color: var(--white); border-color: var(--border-2); }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-panel          { display: none; }
  .engineering-split   { grid-template-columns: 1fr; }
  .timeline            { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .timeline::before    { display: none; }
  .direction-matrix    { grid-template-columns: repeat(2, 1fr); }
  .rail                { grid-template-columns: repeat(3, 1fr); }
  .project-showcase    { grid-template-columns: repeat(2, 1fr); }
  .price-layout        { grid-template-columns: 1fr; }
  .cta-inner           { grid-template-columns: 1fr; gap: 40px; }
  .material-passport   { grid-template-columns: 1fr; }
  .load-zones-grid     { grid-template-columns: 1fr; }
  .related-grid        { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic        { grid-template-columns: repeat(3, 1fr); }
  .photo-mosaic.full   { grid-template-columns: repeat(3, 1fr); }
  .landing-media-grid  { grid-template-columns: repeat(2, 1fr); }
  .metrics-inner       { grid-template-columns: repeat(2, 1fr); }
  .stats-inner         { grid-template-columns: repeat(2, 1fr); }
  .gost-grid           { grid-template-columns: 1fr; }
  .contact-section     { grid-template-columns: 1fr; }
  .article-section     { grid-template-columns: 1fr; }
  .text-columns        { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .metrics-inner .metric-item:nth-child(2) { border-right: none; }
  .stats-inner > div:nth-child(2)          { border-right: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  body {
    background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  }

  .nav-links,
  .nav-cta { display: none; }

  .menu-toggle { display: flex; align-items: center; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--bg);
    padding: 24px;
    gap: 4px;
    z-index: 99;
    border-top: 1px solid var(--border);
  }

  .nav-links.open a { padding: 14px 16px; font-size: 16px; border-radius: var(--radius); }

  .hero { min-height: 60vh; }

  .hero-inner { padding: 40px 16px 60px; grid-template-columns: 1fr; gap: 32px; }

  .hero-copy h1  { font-size: 28px; }
  .hero-copy > p { font-size: 15px; }

  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: center; }

  .section,
  .section-compact,
  .gost-section,
  .load-zones-section,
  .landing-media-section,
  .seo-text,
  .rail-section,
  .timeline-section,
  .price-section,
  .calculator-section,
  .project-section,
  .faq-section,
  .gallery-section,
  .related-section { padding: 48px 16px; }

  .dossier-section         { padding: 48px 16px; }
  .dossier-grid            { grid-template-columns: 1fr; }
  .direction-matrix        { grid-template-columns: 1fr; }
  .rail                    { grid-template-columns: 1fr 1fr; }
  .timeline                { grid-template-columns: 1fr; }
  .project-showcase        { grid-template-columns: 1fr; }
  .related-grid            { grid-template-columns: 1fr 1fr; }
  .photo-mosaic            { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic.full       { grid-template-columns: repeat(2, 1fr); }
  .landing-media-grid      { grid-template-columns: 1fr 1fr; }
  .metrics-inner           { grid-template-columns: 1fr 1fr; }
  .stats-inner             { grid-template-columns: 1fr 1fr; }
  .footer-grid             { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner               { grid-template-columns: 1fr; }
  .form-grid               { grid-template-columns: 1fr; }
  .calculator              { grid-template-columns: 1fr; }
  .calc-fields             { grid-template-columns: 1fr; }

  .trust-bar-inner { gap: 8px; }

  .capture-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
  .capture-strip > div { flex-direction: column; gap: 6px; padding-left: 20px; }

  .floating-capture span { display: none; }
  .floating-capture { gap: 10px; padding: 12px 16px; }

  .breadcrumbs { padding: 10px 16px; }
  .trust-bar   { padding: 8px 16px; }

  h1 { font-size: 26px; }
  h2 { font-size: 22px; }

  .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
  .price-row { grid-template-columns: 1fr; gap: 6px; }

  .article-section { grid-template-columns: 1fr; padding: 40px 16px; }
  .contact-section { padding: 40px 16px; grid-template-columns: 1fr; }
  .cta-band        { padding: 48px 16px; }
  .site-footer     { padding: 40px 16px 100px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head  { margin-bottom: 28px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .floating-capture,
  .lead-modal,
  .hero-mini-form,
  .capture-strip,
  .cta-band { display: none; }

  body { background: white; color: black; }
}

/* ============================================================
   PHOTO BACKGROUNDS & BANDS — v2.0
   ============================================================ */

/* Hero с ярким фото — opacity выше */
.hero-bg-img {
  opacity: 0.38 !important;
  filter: saturate(1.15) contrast(1.05);
}

/* ---- Photo Band: полноширокая полоса-фото между секциями ---- */
.photo-band {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin: 0;
}
.photo-band-inner {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 0;
}
.photo-band-inner img {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) brightness(0.92);
  transition: transform 0.5s ease, filter 0.5s ease;
  display: block;
}
.photo-band-inner img:hover {
  transform: scale(1.04);
  filter: saturate(1.3) brightness(1.0);
  z-index: 1;
}
.photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2,5,8,0.45) 0%, transparent 25%, transparent 75%, rgba(2,5,8,0.45) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ---- Photo Grid: сетка 3-4 фото с подписями ---- */
.photo-grid-section {
  padding: 72px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.photo-grid-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}
.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(1.05);
}
.photo-grid-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.25) brightness(1.05);
}
.photo-grid-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(2,5,8,0.82));
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.photo-grid-item:hover figcaption { opacity: 1; }

/* featured item - большой */
.photo-grid-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}

/* ---- Photo Strip: горизонтальный слайдер-полоса ---- */
.photo-strip-section {
  padding: 0;
  overflow: hidden;
  position: relative;
}
.photo-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip-item {
  flex: 0 0 320px;
  height: 240px;
  scroll-snap-align: start;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.photo-strip-item:first-child { margin-left: 0; }
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
  transition: transform 0.4s ease;
}
.photo-strip-item:hover img { transform: scale(1.05); }

/* ---- BG Section: секция с фото как фоном ---- */
.bg-section {
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}
.bg-section-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bg-section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) brightness(0.7);
}
.bg-section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,5,8,0.88) 0%,
    rgba(4,9,15,0.72) 50%,
    rgba(2,5,8,0.60) 100%
  );
  z-index: 1;
}
.bg-section-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
}

/* ---- Mosaic улучшенный ---- */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.photo-mosaic .photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  margin: 0;
}
.photo-mosaic .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 0.45s ease, filter 0.45s ease;
}
.photo-mosaic .photo:hover img {
  transform: scale(1.07);
  filter: saturate(1.3) brightness(1.06);
}
.photo-mosaic .photo:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.photo-mosaic .photo:nth-child(7n+1) { aspect-ratio: unset; }
.photo-mosaic figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 10px 8px;
  background: linear-gradient(transparent, rgba(2,5,8,0.78));
  color: var(--ink-2);
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-mosaic .photo:hover figcaption { opacity: 1; }

/* ---- Direction Matrix с фото ---- */
.dir-card-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.dir-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.1);
  transition: opacity 0.4s ease, transform 0.5s ease;
}
.dir-card:hover .dir-card-photo img {
  opacity: 0.38;
  transform: scale(1.05);
}
.dir-card { overflow: hidden; }

/* Responsive */
@media (max-width: 1024px) {
  .photo-band { height: 300px; }
  .photo-grid  { grid-template-columns: repeat(3, 1fr); }
  .photo-grid-item.featured { grid-column: span 2; }
}
@media (max-width: 768px) {
  .photo-band { height: 200px; }
  .photo-band-inner img { flex: 0 0 50%; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .photo-grid-item.featured { grid-column: span 2; grid-row: span 1; }
  .photo-strip-item { flex: 0 0 260px; height: 180px; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic .photo:nth-child(7n+1) { grid-column: span 2; }
}

/* ============================================================
   PRODUCTION STEPS — фотоотчёт по этапам производства/монтажа
   ============================================================ */
.production-steps-section {
  padding: 72px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.prod-step {
  margin-bottom: 56px;
}
.prod-step-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-2);
  border-left: 3px solid var(--blue);
  padding-left: 12px;
  margin-bottom: 16px;
}
.prod-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.prod-step-photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  margin: 0;
}
.prod-step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.95);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.prod-step-photo:hover img {
  transform: scale(1.06);
  filter: saturate(1.3) brightness(1.05);
}

/* 5 фото в строке для больших этапов */
.prod-step-grid:has(.prod-step-photo:nth-child(5)) {
  grid-template-columns: repeat(5, 1fr);
}
.prod-step-grid:has(.prod-step-photo:nth-child(7)) {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .prod-step-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-step-grid:has(.prod-step-photo:nth-child(5)) { grid-template-columns: repeat(3, 1fr); }
  .prod-step-grid:has(.prod-step-photo:nth-child(7)) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .prod-step-grid,
  .prod-step-grid:has(.prod-step-photo:nth-child(5)),
  .prod-step-grid:has(.prod-step-photo:nth-child(7)) {
    grid-template-columns: repeat(2, 1fr);
  }
  .production-steps-section { padding: 40px 16px; }
}

/* direction-group-label — подзаголовок групп в directionMatrix */
.direction-group-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin: 2rem 0 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
}
