:root {
  --bg: #08090d;
  --bg-soft: #111320;
  --text: #f4f6ff;
  --muted: #b5bdd2;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #9fb7ff;
  --accent-strong: #e4ebff;
  --card: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --radius: 20px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(159, 183, 255, 0.20), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(228, 235, 255, 0.13), transparent 30%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(#fff 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 11, 17, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.brand img { width: 36px; filter: drop-shadow(0 0 10px rgba(228, 235, 255, 0.4)); }

.nav-links { display: flex; gap: 8px; }

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero,
section,
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 72px 18px; }

.hero { text-align: center; padding-top: 90px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

h1 span { color: var(--accent-strong); text-shadow: 0 0 22px rgba(228, 235, 255, 0.35); }

.subtitle {
  max-width: 760px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 1.07rem;
}

.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-strong), var(--accent));
  color: #101321;
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.03); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.hero-metrics article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.hero-metrics strong { display: block; font-size: 1.05rem; }
.hero-metrics span { color: var(--muted); font-size: 0.93rem; }

.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
  color: var(--muted);
}

.glow { text-shadow: 0 0 16px rgba(228, 235, 255, 0.3); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.card,
.review-card,
.panel,
.contact-card,
.timeline-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 20px;
  transition: 0.2s;
}

.card:hover,
.review-card:hover,
.contact-card:hover,
.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.20);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  margin-bottom: 12px;
}

.card p { color: var(--muted); }

.timeline { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }

.timeline-item {
  padding: 16px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  transition: 0.2s;
}

.timeline-item span {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255,255,255,0.08);
}

.timeline-item p { color: var(--muted); }

.reviews { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.review-card { padding: 20px; }
.review-header { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.10);
}
.review-meta,
.review-text { color: var(--muted); }
.stars { color: #fff; margin-bottom: 8px; font-size: 0.9rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
}

.contact-aside { display: grid; gap: 14px; }

.contact-card { padding: 16px; display: flex; gap: 12px; transition: 0.2s; }

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
}

.contact-card-title { font-weight: 700; margin-bottom: 5px; }
.contact-card-text { color: var(--muted); margin-bottom: 8px; font-size: 0.95rem; }

.contact-link {
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px dashed rgba(228,235,255,0.4);
}

.panel { padding: 24px; }
.panel-sub { color: var(--muted); margin-bottom: 12px; }

.contact-form,
.field { display: grid; gap: 6px; }

.contact-form { gap: 12px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(228,235,255,0.55);
  box-shadow: 0 0 0 4px rgba(159,183,255,0.14);
}

textarea { min-height: 150px; resize: vertical; }
.char-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.87rem; }
.btn-wide { width: 100%; }

.status-box {
  min-height: 22px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.status-box.ok,
.status-box.err { border-color: rgba(228,235,255,0.35); }

footer { border-top: 1px solid var(--line); margin-top: 40px; background: rgba(12, 13, 22, 0.55); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; padding-bottom: 20px; }
.foot-col { flex: 1; min-width: 220px; }
.foot-col p,
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { text-align: center; color: var(--muted); border-top: 1px solid var(--line); padding: 16px; }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
}