:root {
  --bg: #0B0B0F;
  --bg-2: #151518;
  --fg: #F5F3EF;
  --muted: #B8B5AE;
  --dim: #807D77;
  --accent: #FF4D00;
  --line: rgba(245, 243, 239, 0.1);
  --line-strong: rgba(245, 243, 239, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); }
a:hover { color: var(--fg); }
::selection { background: var(--accent); color: var(--bg); }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* ── HEADER ─────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px;
}
.logo {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--fg); text-decoration: none;
}
.logo span { color: var(--accent); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  color: var(--fg); text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: color .18s ease;
}
.nav a:not(.btn):hover { color: var(--accent); }

.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ── КНОПКИ ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 32px; border-radius: 100px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent); color: var(--bg);
}
.btn--primary:hover { background: var(--fg); color: var(--bg); }
.btn--light {
  background: var(--fg); color: var(--bg);
}
.btn--light:hover { background: var(--accent); color: var(--bg); }
.btn--ghost {
  border-color: var(--line-strong); color: var(--fg);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm {
  padding: 12px 22px; font-size: 15px;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -140px; right: -140px;
  width: 560px; height: 560px;
  background: var(--accent);
  opacity: 0.14;
  filter: blur(140px);
  border-radius: 50%;
  pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 100px; padding: 8px 16px;
  font-size: 14px; color: var(--muted);
  margin-bottom: 32px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.hero__title {
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
}
.accent { color: var(--accent); }
.hero__lead {
  font-size: 22px; color: var(--muted);
  max-width: 620px; line-height: 1.5;
  margin: 0 0 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 0;
}
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap; gap: 24px;
}
.section__head p {
  color: var(--muted); font-size: 18px;
  max-width: 420px; margin: 0;
}

/* SERVICES */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc {
  background: var(--bg);
  padding: 48px 40px;
  display: flex; flex-direction: column; gap: 20px;
  min-height: 280px;
  transition: background .18s ease;
}
.svc:hover { background: var(--bg-2); }
.svc__num {
  font-size: 15px; color: var(--accent); font-weight: 700;
}
.svc h3 {
  font-size: 26px; font-weight: 700; margin: 0;
  letter-spacing: -0.01em;
}
.svc p {
  color: var(--muted); font-size: 16px;
  line-height: 1.5; margin: 0;
}

/* ABOUT */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}
.about p {
  font-size: 20px; color: var(--muted);
  line-height: 1.6; margin: 0 0 24px;
}
.about p:last-child { margin-bottom: 0; }
.stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.stat {
  background: var(--bg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat b {
  font-size: 44px; font-weight: 700; color: var(--accent);
  letter-spacing: -0.02em;
}
.stat span {
  font-size: 15px; color: var(--muted);
}

/* PRICING */
.pricing h2 { margin-bottom: 64px; }
.pricing__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color .2s ease, transform .2s ease;
}
.plan:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.plan--hi { border-color: var(--accent); }
.plan__badge {
  position: absolute; top: -14px; left: 40px;
  background: var(--accent); color: var(--bg);
  font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px;
}
.plan__name { font-size: 20px; font-weight: 700; }
.plan__price {
  font-size: 44px; font-weight: 700;
  letter-spacing: -0.02em;
}
.plan__desc {
  color: var(--muted); font-size: 15px; line-height: 1.4;
}
.plan__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.plan__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: var(--fg);
}
.plan__list li::before {
  content: '→';
  color: var(--accent); font-weight: 700;
}
.plan__cta {
  margin-top: 8px;
  padding: 16px 20px;
  font-size: 16px;
  width: 100%;
}

/* CONTACTS */
.contacts { border-bottom: 0; }
.contacts__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contacts__lead {
  font-size: 20px; color: var(--muted);
  line-height: 1.6; margin: 0 0 40px;
  max-width: 440px;
}
.contacts__list {
  display: flex; flex-direction: column; gap: 16px;
}
.contacts__link {
  color: var(--fg); font-size: 20px; font-weight: 600;
  text-decoration: none;
  transition: color .18s ease;
}
.contacts__link:hover { color: var(--accent); }
.contacts__note {
  color: var(--muted); font-size: 16px; margin-top: 8px;
}

/* FORM */
.form {
  display: flex; flex-direction: column; gap: 4px;
}
.field {
  display: flex; flex-direction: column;
  border-bottom: 1px solid var(--line-strong);
  padding: 14px 0 8px;
  transition: border-color .18s ease;
}
.field:focus-within { border-bottom-color: var(--accent); }
.field span {
  font-size: 13px; color: var(--dim);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.field input, .field textarea {
  background: transparent; border: 0;
  color: var(--fg); font-size: 17px;
  padding: 6px 0;
  font-family: inherit;
  outline: none;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }
.form__submit {
  margin-top: 24px;
  align-self: flex-start;
}
.form__ok {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(255, 77, 0, 0.15);
  border: 1px solid rgba(255, 77, 0, 0.4);
  border-radius: 12px;
  color: var(--fg);
  font-size: 15px;
}

/* FOOTER */
.ftr {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}
.ftr__inner {
  display: flex; justify-content: space-between; align-items: center;
}
.ftr__soc { display: flex; gap: 24px; }
.ftr a { color: var(--dim); text-decoration: none; }
.ftr a:hover { color: var(--accent); }

/* ── АДАПТИВ ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .hdr__inner { padding: 18px 24px; }
  .services__grid, .pricing__grid {
    grid-template-columns: 1fr 1fr;
  }
  .about__grid, .contacts__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section { padding: 80px 0; }
  .hero { min-height: 76vh; padding: 64px 0; }
}
@media (max-width: 640px) {
  .services__grid, .pricing__grid {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr; }
  .hero__lead { font-size: 18px; }
  .btn { padding: 15px 24px; font-size: 15px; }

  /* Мобильное меню */
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .25s ease;
  }
  .nav a { font-size: 20px; }
  .nav .btn { text-align: center; }
  body.nav-open .nav { transform: translateY(0); }
}
