:root {
  --bg: #070b10;
  --bg-soft: #0d1420;
  --surface: #121a24;
  --surface-2: #17212e;
  --border: #22303f;
  --text: #e6edf3;
  --text-muted: #93a4b8;
  --accent: #2dd9c7;
  --accent-2: #2f6fed;
  --accent-grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --radius: 14px;
  --max-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; }
p { color: var(--text-muted); margin: 0 0 12px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 16, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--text-muted); font-size: 15px; transition: color 0.15s; }
nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 3px; }
.lang-switch button {
  background: none; border: none; color: var(--text-muted); font-size: 12px; font-weight: 600;
  padding: 5px 9px; border-radius: 6px; cursor: pointer; text-transform: uppercase;
}
.lang-switch button.active { background: var(--accent-grad); color: #06120f; }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent-grad); color: #06120f; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 18px; }
.hero h1 .grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.subtitle { font-size: 18px; margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); border: 1px solid var(--border); }

/* Services */
.services-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.block-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
}
.block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.block-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent-grad);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.block-icon svg { width: 20px; height: 20px; stroke: #06120f; }
.block-card h3 { margin: 0; }
.service-item { padding: 14px 0; border-top: 1px solid var(--border); }
.service-item:first-of-type { border-top: none; }
.service-item .stitle { color: var(--text); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.service-item .sdesc { color: var(--text-muted); font-size: 14px; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.about-badge {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; text-align: center;
}
.about-badge img { width: 72px; height: 72px; margin: 0 auto 16px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 15px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.code-row { display: flex; gap: 10px; align-items: flex-end; }
.code-row .field { flex: 1; margin-bottom: 0; }
.form-msg { font-size: 14px; margin-top: 14px; min-height: 18px; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #ff6b6b; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal { font-size: 13px; color: var(--text-muted); max-width: 640px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-brand img { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .services-blocks { grid-template-columns: 1fr; }
  nav { position: fixed; top: 61px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); display: none; }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 20px 24px; gap: 18px; }
  .menu-toggle { display: block; }
  .hero-media { order: -1; }
}

@media (max-width: 480px) {
  .nav-wrap { padding: 12px 16px; gap: 8px; }
  .brand span { display: none; }
  .nav-actions { gap: 8px; }
  .lang-switch button { padding: 5px 7px; font-size: 11px; }
}
