/* === Базовые токены === */
:root {
  --bg: #0d0d0f;
  --bg-2: #131318;
  --surface: #16161c;
  --surface-2: #1c1c24;
  --surface-3: #22222b;
  --border: #2a2a33;
  --border-2: #353540;
  --text: #f1efe8;
  --text-2: #b4b2ab;
  --text-3: #7a7880;
  --accent: #b8e44a;
  --accent-2: #8ab32f;
  --accent-soft: rgba(184, 228, 74, 0.08);
  --danger: #e85d3a;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1240px;
  --pad: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(13, 13, 15, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
}
.logo svg { color: var(--accent); }
.logo__text {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.logo__dot { color: var(--accent); }
.nav__links {
  display: flex;
  gap: 26px;
  margin-left: 12px;
}
.nav__links a {
  font-size: 13.5px;
  color: var(--text-2);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
}
.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.lang__btn {
  padding: 4px 6px;
  color: var(--text-3);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.lang__btn:hover { color: var(--text); }
.lang__btn--active { color: var(--accent); }
.lang__sep { color: var(--border-2); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.005em;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #0a0a0c;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--text);
}
.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn--block { width: 100%; justify-content: center; padding: 16px; }
.btn__arrow { transition: transform 0.2s; display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* === Eyebrow / tag === */
.eyebrow, .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.015);
}
.eyebrow__dot, .tag__bullet {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(184, 228, 74, 0.15);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -80px 0 0 0;
  pointer-events: none;
  will-change: transform;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(184, 228, 74, 0.05), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(232, 93, 58, 0.04), transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero__content { max-width: 620px; }
.hero__title {
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 22px 0 24px;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
}
.hero__title-orn {
  width: 0.85em;
  height: 0.85em;
  color: var(--accent);
  flex-shrink: 0;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 540px;
}
.stat__num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__label {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__star-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}
.hero__big-star {
  width: 100%;
  height: 100%;
  color: var(--accent);
  animation: spin 120s linear infinite;
}
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.hero__chip-icon { color: var(--accent); }
.hero__chip--1 { top: 10%; left: -8%; animation-delay: 0s; }
.hero__chip--2 { top: 30%; right: -8%; animation-delay: 1.5s; }
.hero__chip--3 { bottom: 25%; left: -2%; animation-delay: 3s; }
.hero__chip--4 { bottom: 8%; right: 4%; animation-delay: 4.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  color: var(--accent);
  opacity: 0.3;
}

/* === Sections === */
.section {
  padding: 120px 0;
  position: relative;
}
.section--about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section__inner { position: relative; }
.section__head {
  max-width: 780px;
  margin-bottom: 64px;
}
.section__title {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 18px 0 18px;
}
.section__lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}

/* === Card base === */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}
.card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.card__body {
  font-size: 14.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.6;
}

/* === ABOUT === */
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* === TURNKEY === */
.section--turnkey { background: var(--bg); }
.turnkey__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pillar {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar:hover { border-color: var(--border-2); transform: translateY(-2px); }
.pillar__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 10px;
  color: var(--accent);
  font-size: 20px;
}
.pillar__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
}
.pillar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pillar__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.45;
}
.pillar__check {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}
.turnkey__footnote {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.turnkey__footnote p {
  max-width: 680px;
  font-size: 16px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1100px) {
  .turnkey__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .turnkey__grid { grid-template-columns: 1fr; }
}

/* === PROMISES === */
.section--promises { background: var(--bg-2); }
.promises__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.promise {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, transform 0.25s;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 2px;
  background: var(--accent);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.promise:hover { border-color: var(--accent); transform: translateY(-2px); }
.promise:hover::before { opacity: 1; }
.promise__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.promise__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.promise__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.promise__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0 14px;
  border-bottom: 1px dashed var(--border);
}
.promise__metric-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.promise__metric-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.promise__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
}
.promise__body {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 1100px) {
  .promises__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .promises__grid { grid-template-columns: 1fr; }
}

/* === SERVICES === */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card--service { padding: 36px 28px 32px; }
.service__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.service__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.service__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.card--service:hover .service__line { background: var(--accent); }

/* === NICHES === */
.niches__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.niche {
  position: relative;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 22px;
  transition: all 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.niche:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.niche--active {
  background: var(--surface-2);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 30px rgba(184, 228, 74, 0.06);
}
.niche__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.niche__icon {
  font-size: 22px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--accent);
}
.niche--active .niche__icon {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.niche__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.niche__tagline {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0;
}
.niche__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.niche__bullets li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.niche__bullet-mark {
  width: 5px; height: 5px;
  margin-top: 7px;
  background: var(--accent);
  flex-shrink: 0;
  transform: rotate(45deg);
}
.niche__cta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.niche--active .niche__cta { color: var(--accent); }
.niche__arrow { transition: transform 0.2s; }
.niche:hover .niche__arrow { transform: translateX(3px); }

/* === DEMO === */
.section--demo { background: var(--bg-2); }
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.demo-niches {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.demo-niche {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.2s;
}
.demo-niche:hover { color: var(--text); border-color: var(--border-2); }
.demo-niche--active {
  background: var(--accent);
  color: #0a0a0c;
  border-color: var(--accent);
}
.demo-niche__icon { font-size: 14px; }
.demo-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.demo-tab {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-3);
  border-radius: 7px;
  transition: all 0.2s;
}
.demo-tab--active {
  background: var(--surface-3);
  color: var(--text);
}
.demo-stage {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 560px;
}
.demo-stage__bg { position: absolute; inset: 0; }
.demo-stage__frame {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  min-height: 500px;
}
.demo-stage__inner {
  animation: fadeIn 0.35s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.demo-screen__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.demo-screen__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.demo-screen__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.demo-screen__foot {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}
.demo-screen__legend { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 2px; }
.dot--filled { background: var(--text-2); }
.dot--accent { background: var(--accent); }
.dot--empty { background: var(--surface-3); border: 1px solid var(--border); }

/* Schedule grid */
.schedule {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  gap: 4px;
}
.schedule__corner { }
.schedule__day {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  text-align: center;
  padding: 6px 0;
  letter-spacing: 0.06em;
}
.schedule__time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}
.schedule__cell {
  height: 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.schedule__cell--filled {
  background: var(--surface-3);
  border-color: var(--border-2);
}
.schedule__cell--accent {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* CRM */
.crm-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 14px;
}
.crm-search__icon { color: var(--text-3); font-size: 15px; }
.crm-list { display: flex; flex-direction: column; gap: 4px; }
.crm-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
}
.crm-row:hover { border-color: var(--border-2); }
.crm-row__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--border-2);
}
.crm-row__name { font-size: 14px; font-weight: 500; }
.crm-row__sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.crm-row__phone { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); text-align: right; }
.crm-row__when { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); text-align: right; margin-top: 2px; }

/* Bot */
.bot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bot-msg { display: flex; }
.bot-msg--user { justify-content: flex-end; }
.bot-msg__bubble {
  max-width: 70%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}
.bot-msg--bot .bot-msg__bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.bot-msg--user .bot-msg__bubble {
  background: var(--accent);
  color: #0a0a0c;
  border-bottom-right-radius: 4px;
}
.bot-typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.bot-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  animation: bounce 1.2s infinite ease-in-out;
}
.bot-typing span:nth-child(2) { animation-delay: 0.15s; }
.bot-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* === STACK === */
.stack__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stack__col { }
.stack__group-name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.stack__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.stack__item {
  font-size: 14px;
  color: var(--text-2);
  position: relative;
  padding-left: 14px;
}
.stack__item::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* === CONTACTS === */
.section--contacts { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.contacts__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.form {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field__input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14.5px;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}
.field__input:focus { border-color: var(--accent); }
.field__input--area { min-height: 100px; line-height: 1.5; }

.contacts__info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.contacts__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.contacts__row:last-of-type { border-bottom: 0; }
.contacts__key {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contacts__val {
  font-size: 16px;
  color: var(--text);
}
.field--hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contacts__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.contacts__link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.contacts__decor {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  color: var(--accent);
  opacity: 0.1;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer__inner {
  padding: 32px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__tagline { font-size: 13px; color: var(--text-3); }
.footer__rights { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }

/* === Reveal on scroll === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal--on { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 400px; }
  .about__grid, .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stack__grid { grid-template-columns: repeat(2, 1fr); }
  .contacts__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .hero { padding: 110px 0 40px; min-height: auto; }
  .hero__visual { height: 320px; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about__grid, .services__grid { grid-template-columns: 1fr; }
  .stack__grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .demo-stage { padding: 16px; }
  .demo-stage__frame { padding: 16px; }
  .schedule { grid-template-columns: 50px repeat(7, 1fr); gap: 3px; }
  .schedule__cell { height: 22px; }
}
