:root {
  --bg: #0b1320;
  --bg-2: #0f1a2c;
  --bg-card: #14213a;
  --bg-alt: #0a111e;
  --text: #e7ecf3;
  --text-dim: #9aa6b8;
  --text-mute: #6c788c;
  --border: #1d2a44;
  --accent: #4b9cff;
  --accent-2: #2d7df0;
  --accent-soft: rgba(75,156,255,.12);
  --danger: #ff6b6b;
  --ok: #3ad28d;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 32px -16px rgba(0,0,0,.55);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .75rem; color: var(--text-dim); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,19,32,.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101f;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.brand-text { font-size: 14px; color: var(--text-dim); }
.nav {
  display: none;
  margin-left: auto;
  gap: 20px;
}
.nav a { color: var(--text-dim); font-size: 14px; }
.nav a:hover { color: var(--text); }
.lang-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mute);
}
.lang-switch a {
  color: var(--text-dim);
  padding: 4px 6px;
  border-radius: 6px;
}
.lang-switch a.active {
  color: var(--text);
  background: var(--accent-soft);
}
@media (min-width: 720px) {
  .nav { display: inline-flex; }
  .lang-switch { margin-left: 0; }
}

.hero {
  padding: 56px 0 36px;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(75,156,255,.18), transparent 60%),
    radial-gradient(40% 70% at 0% 30%, rgba(45,125,240,.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 12px; }
.lead { font-size: 1.05rem; color: var(--text-dim); margin: 0 0 20px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.hero-marks {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.hero-marks li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-marks span {
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.hero-marks small { color: var(--text-mute); font-size: 12px; }
@media (min-width: 540px) {
  .hero-marks { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101f;
}
.btn-primary:hover { color: #04101f; filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-card); color: var(--text); }
.btn-block { width: 100%; height: 50px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { margin-bottom: 6px; }
.section-sub { color: var(--text-mute); margin-bottom: 28px; max-width: 640px; }

.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-services { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .grid-services { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 640px) { .grid-why { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .grid-why { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--text); }
.card p { font-size: 14px; }
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.card-icon svg { width: 22px; height: 22px; }
.tags {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags li {
  background: rgba(75,156,255,.07);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.why-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.why-item h3 { color: var(--text); margin-bottom: 6px; }
.why-item p { font-size: 14px; margin: 0; }
.why-num {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
}
.contact-block { margin-top: 24px; }
.contact-block h3 { color: var(--text); margin-bottom: 8px; }
.addr { color: var(--text-dim); }
.kv {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 16px;
  margin: 16px 0 0;
}
.kv dt { color: var(--text-mute); font-size: 13px; padding-top: 2px; }
.kv dd { margin: 0; color: var(--text-dim); }
.kv dd a { color: var(--text); }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  color: var(--text-dim);
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  min-height: 46px;
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
}
.field.consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
}
.field.consent input { margin-top: 3px; }
.field.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.altcha-mount { min-height: 1px; }
.altcha-mount altcha-widget { --altcha-color-base: var(--bg-2); --altcha-color-border: var(--border); --altcha-color-text: var(--text); }

.form-status { margin: 0; font-size: 14px; min-height: 1.1em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 24px 0 calc(24px + env(safe-area-inset-bottom));
  margin-bottom: 70px;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-mute);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-nav a { color: var(--text-dim); }
.copy { color: var(--text-mute); }
@media (min-width: 720px) {
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; }
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101f;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 30px -10px rgba(75,156,255,.55);
}
.sticky-cta svg { width: 18px; height: 18px; }
.sticky-cta:hover { color: #04101f; filter: brightness(1.05); }
@media (min-width: 720px) {
  .sticky-cta { right: 22px; bottom: 22px; }
}

.legal-page { padding: 40px 0 60px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page h2 { margin-top: 28px; margin-bottom: 8px; font-size: 1.2rem; color: var(--text); }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 15px; }
.legal-page ul { padding-left: 22px; }
.legal-page .meta { color: var(--text-mute); font-size: 13px; margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
