/* ==========================================================
   Design tokens — «Obsidian Flux»
   Премиальная тёмная тема: чёрный фон, стеклянные панели,
   акцент Electric Blue со свечением. Inter — текст,
   JetBrains Mono — uppercase-лейблы («data-stream»).
   ========================================================== */
:root {
  --color-bg: #000000;
  --color-surface: #131313;
  --color-surface-low: #0e0e0e;
  --color-surface-high: #201f1f;
  --color-surface-highest: #353534;

  --color-text: #e5e2e1;
  --color-text-muted: #c1c6d7;
  --color-text-faint: #b5b4ba;

  --color-primary: #adc6ff;
  --color-primary-strong: #4b8eff;
  --color-on-primary: #00285c;
  --color-outline: #414755;

  --glass-bg: rgba(18, 18, 18, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);

  --glow-nebula: 0 0 60px -15px rgba(173, 198, 255, 0.3);
  --glow-button: 0 0 20px rgba(173, 198, 255, 0.3);

  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --container-width: 1200px;
  --section-gap: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 64px;
}

/* Общие приёмы макета */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ==========================================================
   Кнопки
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background-color 0.2s ease, border-color 0.2s ease,
              opacity 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.btn--primary:hover {
  transform: scale(1.03);
}

.btn--primary:active {
  transform: scale(0.97);
}

.btn--glow {
  box-shadow: var(--glow-button);
}

.btn--ghost {
  border: 1px solid var(--color-outline);
  color: var(--color-text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn--sm {
  padding: 9px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ==========================================================
   Chips — моноширинные технологические метки
   ========================================================== */
.chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-highest);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 16px;
  color: var(--color-text);
}

.chip--pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  text-transform: uppercase;
}

/* ==========================================================
   Header — фиксированный, со стеклянным блюром
   ========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(19, 19, 19, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.header__logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-links {
  display: flex;
  gap: 28px;
}

.header__nav-links a {
  font-size: 15px;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  padding-bottom: 2px;
}

.header__nav-links a:hover {
  color: var(--color-text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.lang-switch a {
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  color: var(--color-text-faint);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.lang-switch a:hover {
  color: var(--color-text);
}

.lang-switch a.active {
  background: rgba(173, 198, 255, 0.12);
  color: var(--color-primary);
}

/* ==========================================================
   Hero — центрированный, с «шейдерным» свечением фона
   ========================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 96px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(75, 142, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 35% at 80% 90%, rgba(173, 198, 255, 0.05), transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(173, 198, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero__chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero__title {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.125;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  gap: 16px;
  padding-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ==========================================================
   Секции
   ========================================================== */
.section {
  position: relative;
  padding: var(--section-gap) 0;
}

.section--sunken {
  background: var(--color-surface-low);
}

.section--bordered {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section__head {
  margin-bottom: 48px;
}

.section__title {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -0.01em;
}

.section__rule {
  width: 96px;
  height: 4px;
  background: var(--color-primary);
}

.section__lead {
  margin: 0 0 12px;
  max-width: 640px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.display-title {
  margin: 0 0 24px;
  max-width: 820px;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-title__accent {
  color: var(--color-primary);
}

/* ==========================================================
   Экспертизы — bento-сетка на стеклянных панелях
   ========================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento__card {
  grid-column: span 4;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.bento__card:hover {
  border-color: rgba(173, 198, 255, 0.4);
  transform: translateY(-2px);
}

.bento__card--wide {
  grid-column: span 8;
}

.bento__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  background: rgba(173, 198, 255, 0.1);
}

.bento__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento__title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.bento__text {
  margin: 0;
  color: var(--color-text-muted);
}

.bento__text--narrow {
  max-width: 440px;
}

.bento__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bento__card--wide:not(.bento__card--stack) > div:first-child {
  margin-bottom: 32px;
}

.bento__card--stack {
  flex-direction: row;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}

.stack-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.stack-list__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.bento__watermark {
  flex-shrink: 0;
  opacity: 0.15;
}

.bento__watermark svg {
  width: 160px;
  height: 160px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================
   Портфолио — карточки-кейсы с генеративными визуалами
   ========================================================== */
.portfolio-note {
  margin: 0 0 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.work-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  border-color: rgba(173, 198, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--glow-nebula);
}

.work-card--feature {
  grid-column: span 8;
}

.work-card--split {
  grid-column: span 12;
  flex-direction: row;
}

.work-card__visual {
  position: relative;
  min-height: 256px;
  flex-shrink: 0;
  overflow: hidden;
}

.work-card--feature .work-card__visual {
  min-height: 320px;
}

.work-card--split .work-card__visual {
  width: 45%;
  min-height: 100%;
}

/* Генеративные визуалы: сетка-миллиметровка + цветовое свечение.
   Абстрактный «инженерный» фон вместо стоковых изображений. */
.work-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(173, 198, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 198, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.work-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 19, 19, 0.9), transparent 60%);
}

.work-card__visual--a {
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, rgba(75, 142, 255, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(173, 198, 255, 0.12), transparent 70%),
    var(--color-surface-low);
}

.work-card__visual--b {
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, rgba(75, 142, 255, 0.25), transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 90%, rgba(173, 198, 255, 0.15), transparent 70%),
    var(--color-surface-low);
}

.work-card__visual--c {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(75, 142, 255, 0.3), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(173, 198, 255, 0.1), transparent 70%),
    var(--color-surface-low);
}

.work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px;
}

.work-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.work-card__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.work-card__title--lg {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.01em;
}

.work-card__text {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 560px;
}

.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.work-card__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.work-card:hover .work-card__link svg {
  transform: translateX(4px);
}

/* ==========================================================
   Команда
   ========================================================== */
.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.team__text {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 28px;
  color: var(--color-text-muted);
}

.team__founders {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.team__founders-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(173, 198, 255, 0.1);
  border: 1px solid rgba(173, 198, 255, 0.25);
}

.team__founders-mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team__founders-meta {
  display: flex;
  flex-direction: column;
}

.team__founders-meta b {
  font-size: 16px;
}

.team__founders-meta span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.team__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.team-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-stat__value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.team-stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
}

.team__visual {
  position: relative;
}

.team__visual-halo {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: rgba(173, 198, 255, 0.05);
  filter: blur(48px);
  animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.team__visual-panel {
  position: relative;
  padding: 24px;
}

.team__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.team__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
}

.team__badge-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--color-on-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================
   Agent flow — signature-визуал в панели команды
   ========================================================== */
.flow__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
}

.flow__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
}

.flow__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.flow__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(173, 198, 255, 0.8);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.flow svg {
  width: 100%;
  height: auto;
}

.flow-edge {
  fill: none;
  stroke: rgba(173, 198, 255, 0.18);
  stroke-width: 1.5;
}

.flow-signal {
  fill: var(--color-primary);
  filter: drop-shadow(0 0 4px rgba(173, 198, 255, 0.9));
  offset-rotate: 0deg;
  animation: signal-run 3s linear infinite;
}

.flow-signal--delay-1 { animation-delay: 0.7s; }
.flow-signal--delay-2 { animation-delay: 1.4s; }
.flow-signal--delay-3 { animation-delay: 2.1s; }

@keyframes signal-run {
  0%   { offset-distance: 0%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.flow-node__circle {
  fill: rgba(19, 19, 19, 0.9);
  stroke: rgba(173, 198, 255, 0.3);
  stroke-width: 1.5;
}

.flow-node--active .flow-node__circle {
  stroke: var(--color-primary);
  filter: drop-shadow(0 0 8px rgba(173, 198, 255, 0.5));
}

.flow-node__icon {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-node__label {
  fill: var(--color-text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-anchor: middle;
}

.flow__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
}

.flow__caption b {
  color: var(--color-primary);
  font-weight: 500;
}

/* ==========================================================
   Отзывы
   ========================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.review {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  transition: border-color 0.3s ease;
}

.review:hover {
  border-color: rgba(173, 198, 255, 0.3);
}

.review--featured {
  grid-column: span 8;
  padding: 40px;
}

.review--wide {
  grid-column: span 8;
  padding: 40px;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-high) 100%);
  position: relative;
}

.review__company {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review__company-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(173, 198, 255, 0.1);
}

.review__company-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.review__company-name {
  font-size: 20px;
  font-weight: 700;
}

.review__company-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
}

.review__quote {
  margin: 0;
  color: var(--color-text-muted);
}

.review__quote--lg {
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
}

.review__quote--md {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-text);
}

.review__mark {
  position: absolute;
  top: 28px;
  right: 32px;
  opacity: 0.4;
}

.review__mark svg {
  width: 40px;
  height: 40px;
  fill: var(--color-primary);
  stroke: none;
}

.review__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review__author b {
  font-size: 15px;
}

.review__author span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
}

.review__author .review__author-role--accent {
  color: var(--color-primary);
}

/* ==========================================================
   Контакты — «Начнём проект?»
   ========================================================== */
.contacts__nebula {
  position: absolute;
  bottom: -160px;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(75, 142, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.contacts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
  align-items: start;
}

.contacts__text {
  margin: 0 0 40px;
  max-width: 440px;
  color: var(--color-text-muted);
}

.contacts__rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.contacts__row-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contacts__panel {
  position: relative;
  padding: 40px;
  box-shadow: var(--glow-nebula);
  border-color: rgba(173, 198, 255, 0.2);
  overflow: hidden;
}

.contacts__panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(173, 198, 255, 0.05);
  filter: blur(48px);
}

.contacts__panel-label {
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.contacts__hints {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

/* Строки брифа стилизованы под поля формы из макета:
   тёмнее фона панели, тонкая рамка, mono-лейбл. */
.contacts__hint {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #0a0a0a;
  border: 1px solid rgba(139, 144, 160, 0.2);
}

.contacts__hint-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.contacts__hint-text {
  font-size: 15px;
  color: var(--color-text-muted);
}

.contacts__cta {
  width: 100%;
}

.contacts__panel-note {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer__link,
.footer__rights {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-text-faint);
}

.footer__link {
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-text);
}

/* ==========================================================
   Адаптивность
   ========================================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  .hero__title {
    font-size: 52px;
  }

  .display-title {
    font-size: 44px;
  }

  .bento__card,
  .bento__card--wide {
    grid-column: span 6;
  }

  .work-card,
  .work-card--feature {
    grid-column: span 6;
  }

  .work-card--split {
    grid-column: span 12;
  }

  .review,
  .review--featured,
  .review--wide {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .header__inner {
    height: 68px;
  }

  .header__nav-links {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 140px 0 72px;
  }

  .hero__title {
    font-size: 40px;
    line-height: 48px;
  }

  .display-title {
    font-size: 34px;
  }

  .bento__card,
  .bento__card--wide {
    grid-column: span 12;
  }

  .bento__card--stack {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento__watermark {
    display: none;
  }

  .stack-list {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card--feature,
  .work-card--split {
    grid-column: span 12;
  }

  .work-card--split {
    flex-direction: column;
  }

  .work-card--split .work-card__visual {
    width: 100%;
    min-height: 220px;
  }

  .team {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .review,
  .review--featured,
  .review--wide {
    grid-column: span 12;
  }

  .review__quote--lg {
    font-size: 20px;
  }

  .contacts {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contacts__panel {
    padding: 28px 20px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================
   Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__chip-dot,
  .eyebrow__dot,
  .flow__status-dot,
  .team__visual-halo {
    animation: none;
  }

  .flow-signal {
    animation: none;
    opacity: 0;
  }

  .btn,
  .btn svg,
  .bento__card,
  .work-card,
  .work-card__link svg {
    transition: none;
  }
}
