/* ============================================
   TRIAL-EXTRA — DARK TECHNICAL THEME
   ============================================ */

:root {
  /* Палитра: тёмная инженерная */
  --bg: #0a0d0f;
  --bg-elev: #11161a;
  --bg-elev-2: #161c22;
  --line: #1f262d;
  --line-strong: #2a333c;
  --text: #e6ebef;
  --text-dim: #8a949d;
  --text-mute: #5b6770;

  /* Акценты — янтарный (как индикаторы оборудования) и зелёный CRT */
  --accent: #ffb547;
  --accent-glow: rgba(255, 181, 71, 0.18);
  --signal: #6cf08e;
  --signal-glow: rgba(108, 240, 142, 0.15);
  --warn: #ff5e57;

  /* Типографика */
  --f-display: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', 'Space Mono', ui-monospace, monospace;
  --f-body: 'Manrope', system-ui, sans-serif;

  /* Размеры */
  --container: 1280px;
  --gutter: 32px;
  --radius: 4px;
}

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

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

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ============================================
   ДЕКОРАТИВНЫЕ ФОНЫ
   ============================================ */

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   КОНТЕЙНЕРЫ И ОБЩЕЕ
   ============================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ============================================
   ТИПОГРАФИКА
   ============================================ */

h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-tag {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 640px;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.logo-mark { color: var(--accent); }
.logo-name { color: var(--text); }
.logo-meta {
  color: var(--text-mute);
  font-size: 0.72rem;
  margin-left: 0.5rem;
  font-weight: 400;
}

.main-nav {
  display: flex;
  gap: 0.3rem;
}

.nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-link:hover { color: var(--text); background: var(--bg-elev); }

.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--accent);
}

.nav-num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
}

/* Выделенная ссылка на ЛК */
.nav-lk {
  margin-left: 0.4rem;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
}
.nav-lk:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.nav-lk .nav-num { color: var(--accent); font-weight: 700; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text); transition: 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: var(--bg-elev);
}

.hero-meta .dim { color: var(--text-mute); }

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.25s; }
.hero-line:nth-child(3) { animation-delay: 0.4s; }

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.accent {
  color: var(--accent);
  position: relative;
}
.accent::after {
  content: '_';
  color: var(--accent);
  animation: blink 1.2s steps(2) infinite;
  margin-left: 0.05em;
}
@keyframes blink {
  50% { opacity: 0; }
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 900px;
}

.stat {
  background: var(--bg-elev);
  padding: 1.5rem 1.4rem;
  transition: background 0.2s;
}
.stat:hover { background: var(--bg-elev-2); }

.stat-value {
  font-family: var(--f-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-mute);
  line-height: 1.3;
}

.hero-scope {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 200px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.scope-grid line { stroke: var(--text-mute); stroke-width: 0.5; }
.scope-wave {
  filter: drop-shadow(0 0 4px var(--accent));
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: trace 3s ease-out forwards;
}
@keyframes trace {
  to { stroke-dashoffset: 0; }
}

/* ============================================
   КНОПКИ
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--radius);
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 20px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-large { padding: 1.1rem 2rem; font-size: 1rem; }

.btn-arrow {
  transition: transform 0.25s;
  display: inline-block;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================
   СЕКЦИИ
   ============================================ */

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

.section-head { margin-bottom: 3.5rem; max-width: 800px; }
.section-foot { margin-top: 3rem; }

/* ============================================
   DIRECTIONS
   ============================================ */

.dir-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.dir-card {
  background: var(--bg-elev);
  padding: 2.5rem;
  transition: background 0.25s;
  position: relative;
}
.dir-card:hover { background: var(--bg-elev-2); }

.dir-num {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.dir-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.dir-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}
.card-link span { transition: transform 0.2s; }
.card-link:hover span { transform: translateX(3px); }

/* ============================================
   WHY US
   ============================================ */

.why { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.why-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 1rem;
}

.bullet {
  font-family: var(--f-mono);
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   PROJECTS
   ============================================ */

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proj-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.proj-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.proj-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.proj-card:hover::before { opacity: 1; }

.proj-card-wide { grid-column: span 3; }

.proj-tag {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.proj-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.proj-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.proj-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.proj-meta span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.6rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--text-dim);
}

/* ============================================
   CTA
   ============================================ */

.cta-band {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.5rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cta-meta {
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-head {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-addr {
  color: var(--text-mute);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.4rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}

/* ============================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ============================================ */

.page-hero {
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.breadcrumbs {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.breadcrumbs a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--accent); margin: 0 0.5rem; }

.page-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 700px;
  line-height: 1.6;
}

/* ============================================
   ABOUT
   ============================================ */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.about-content p {
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.about-content p strong { color: var(--text); font-weight: 600; }

.about-side {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: sticky;
  top: 100px;
}

.about-side .data-row {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.88rem;
}
.about-side .data-row:last-child { border-bottom: none; }
.about-side .data-row span:first-child { color: var(--text-mute); }
.about-side .data-row span:last-child { color: var(--text); font-weight: 500; }

.guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.guarantee {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.guarantee h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.guarantee p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ============================================
   SERVICES
   ============================================ */

.svc-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.svc-section:last-of-type { border-bottom: none; }

.svc-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: baseline;
  margin-bottom: 3rem;
}

.svc-num {
  font-family: var(--f-mono);
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
}

.svc-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.svc-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.svc-card:hover { border-color: var(--line-strong); }

.svc-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.svc-card h3::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.svc-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Process timeline */
.process {
  background: var(--bg-elev);
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-step {
  background: var(--bg);
  padding: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background 0.2s;
}
.process-step:hover { background: var(--bg-elev-2); }

.step-num {
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  min-width: 28px;
}

.step-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.4;
}

/* ============================================
   PROJECTS PAGE
   ============================================ */

.proj-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.proj-detail {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
  transition: border-color 0.2s;
}
.proj-detail:hover { border-color: var(--line-strong); }

.proj-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proj-detail-tag {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  font-weight: 500;
}

.proj-detail h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.proj-detail-specs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.proj-detail-specs .spec-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
}
.proj-detail-specs .spec-row span:first-child { color: var(--text-mute); }
.proj-detail-specs .spec-row span:last-child { color: var(--text); }

.proj-detail-body p {
  color: var(--text-dim);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.proj-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.proj-detail-tags span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--text-dim);
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  color: var(--accent);
  margin-top: 1rem;
  border: 1px solid var(--line-strong);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  transition: all 0.2s;
  align-self: flex-start;
}
.proj-link:hover { border-color: var(--accent); background: var(--accent-glow); }

.proj-cat-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 4rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.proj-cat-head:first-of-type { margin-top: 0; }

.proj-cat-head h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.proj-cat-head .cat-tag {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.proj-note {
  background: var(--bg-elev);
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================
   CONTACTS
   ============================================ */

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-block {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-block h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.contact-block h3::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s;
}
.contact-row:last-child { border-bottom: none; }

.contact-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-text { flex: 1; }
.contact-label {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}
.contact-value {
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 500;
}
.contact-value:hover { color: var(--accent); }

.messengers-list .contact-row { border-bottom-color: var(--line); }

.messenger-tg .contact-icon { color: #2aabee; }
.messenger-wa .contact-icon { color: var(--signal); }

.requisites {
  margin-top: 3rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.requisites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.req-row {
  background: var(--bg);
  padding: 1rem 1.2rem;
  font-family: var(--f-mono);
  font-size: 0.85rem;
}
.req-row .req-label {
  color: var(--text-mute);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.req-row .req-value { color: var(--text); }

/* ============================================
   ADAPTIVE
   ============================================ */

@media (max-width: 980px) {
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    padding: 1rem 24px;
    gap: 0;
    transform: translateY(-150%);
    transition: transform 0.3s;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 1rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link.active::after { display: none; }

  .hero { padding: 60px 0 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-scope { display: none; }

  .dir-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-card-wide { grid-column: span 1; }

  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .about-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-side { position: static; }
  .guarantees { grid-template-columns: 1fr; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc-head { grid-template-columns: 1fr; gap: 0.5rem; }

  .proj-detail { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.8rem; }

  .contacts-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .requisites-grid { grid-template-columns: 1fr; }

  .logo-meta { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header-inner { height: 60px; }
  .main-nav { top: 60px; }
  .hero { padding: 50px 0 60px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { padding: 1.2rem; }
  .dir-card, .svc-card, .contact-block, .about-side, .requisites { padding: 1.5rem; }
  .proj-card { padding: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}
