:root {
  --construction-orange: #f59e0b;
  --construction-orange-strong: #f97316;
  --construction-ink: #071522;
  --construction-steel: #12314a;
  --construction-line: rgba(245, 158, 11, .34);
}

/* Дополнительный индустриальный слой поверх существующего фирменного дизайна. */
body {
  background-image:
    linear-gradient(rgba(18, 49, 74, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 49, 74, .028) 1px, transparent 1px);
  background-size: 32px 32px;
}

.site-header {
  border-bottom: 2px solid var(--construction-orange);
  box-shadow: 0 8px 28px rgba(2, 12, 22, .18);
}

.site-header::after {
  content: "СТРОИТЕЛЬНО-МОНТАЖНАЯ КОМПАНИЯ";
  position: absolute;
  right: max(20px, calc((100vw - 1240px) / 2));
  bottom: -19px;
  z-index: 5;
  padding: 4px 11px;
  color: #071522;
  background: var(--construction-orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.hero,
.portal-head,
.portal-card,
.traffic-panel {
  position: relative;
}

.hero::before,
.portal-head::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(245, 158, 11, .25);
  clip-path: polygon(0 0, 46px 0, 46px 2px, 2px 2px, 2px 46px, 0 46px, 0 0, 100% 0, 100% 46px, calc(100% - 2px) 46px, calc(100% - 2px) 2px, calc(100% - 46px) 2px, calc(100% - 46px) 0, 100% 0, 100% 100%, calc(100% - 46px) 100%, calc(100% - 46px) calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) calc(100% - 46px), 100% calc(100% - 46px), 100% 100%, 0 100%, 0 calc(100% - 46px), 2px calc(100% - 46px), 2px calc(100% - 2px), 46px calc(100% - 2px), 46px 100%, 0 100%);
}

.eyebrow,
.portal-badge {
  letter-spacing: .14em !important;
}

.button,
button,
.portal-card {
  border-radius: 3px !important;
}

.button:not(.button--outline),
.portal-card--works,
.cta-card {
  background-image: linear-gradient(135deg, rgba(255,255,255,.08) 0 8%, transparent 8% 92%, rgba(7,21,34,.12) 92% 100%);
}

.portal-card {
  border-left: 4px solid var(--construction-orange) !important;
  box-shadow: 0 10px 30px rgba(2, 12, 22, .08);
}

.portal-card::after,
.traffic-panel::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-top: 2px solid var(--construction-orange);
  border-right: 2px solid var(--construction-orange);
  pointer-events: none;
}

section[id] {
  scroll-margin-top: 88px;
}

.section-heading::before,
.tech-heading::before,
.portal h1::before {
  content: "// ";
  color: var(--construction-orange-strong);
  font-weight: 900;
}

@media (max-width: 720px) {
  body { background-size: 24px 24px; }
  .site-header::after {
    right: 12px;
    bottom: -16px;
    padding: 3px 7px;
    font-size: 7px;
  }
  .hero::before,
  .portal-head::before { inset: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
