/* REBOOT — лендинг. Дизайн-токены и компоненты. */

:root {
  --bg: #0A0D0A;
  --bg-2: #0C100C;
  --panel: #0E120E;
  --panel-2: #0D110D;
  --panel-3: #0F140F;
  --field: #10150F;

  --acid: #A8F02A;
  --acid-hi: #D7FF6B;
  --green: #22A63C;
  --yellow: #D8E600;

  --text: #EDF2E6;
  --text-2: #DCE6D2;
  --text-3: #C7D2BC;
  --muted: #B7C4AC;
  --muted-2: #8C9A82;
  --muted-3: #7E8C74;
  --muted-4: #6E7B66;

  --line: rgba(237, 242, 230, .1);
  --line-soft: rgba(237, 242, 230, .07);
  --line-acid: rgba(168, 240, 42, .24);

  --wrap: 1240px;
  --pad: 24px;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

a { color: var(--acid); text-decoration: none; }
a:hover { color: var(--acid-hi); }
img { max-width: 100%; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
::selection { background: var(--acid); color: var(--bg); }

:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Типографика ---------- */

.eyebrow {
  font-family: var(--display); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--acid);
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.02em; }
h1 { font-weight: 800; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; text-wrap: balance; }
.h2 { font-weight: 700; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.05; }
.h3 { font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0; }
.note { font-size: 15px; line-height: 1.6; color: var(--muted-2); margin: 0; }

.section { padding-top: 96px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; margin-bottom: 36px;
}
.section-head .note { max-width: 380px; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-block; text-align: center; font-weight: 700; font-size: 16px;
  padding: 17px 30px; border-radius: 14px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary {
  background: var(--acid); color: var(--bg); font-family: var(--display);
  box-shadow: 0 14px 40px rgba(168, 240, 42, .22);
}
.btn-primary:hover { background: var(--acid-hi); color: var(--bg); }
.btn-ghost { border-color: rgba(237, 242, 230, .24); color: var(--text); }
.btn-ghost:hover { border-color: var(--acid); color: var(--acid); }
.btn-sm { font-size: 14px; padding: 14px; border-radius: 12px; }

/* Чипы-переключатели (категории прайса, калькулятор) */
.chip {
  font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 999px;
  cursor: pointer; transition: all .15s;
  background: rgba(255, 255, 255, .03); color: var(--muted);
  border: 1px solid rgba(237, 242, 230, .14);
}
.chip:hover { border-color: rgba(168, 240, 42, .5); color: var(--text); }
.chip[aria-pressed="true"] {
  background: var(--acid); color: var(--bg); border-color: var(--acid);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Шапка ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); background: rgba(10, 13, 10, .82);
  border-bottom: 1px solid rgba(168, 240, 42, .16);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px var(--pad);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 46px; width: auto; display: block; }
.nav {
  display: flex; align-items: center; gap: 24px; margin-left: auto;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
}
.nav a { color: var(--text-3); }
.nav a:hover { color: var(--acid); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  font-family: var(--display); font-size: 15px; font-weight: 700;
  color: var(--text); white-space: nowrap;
}
.header-phone:hover { color: var(--acid); }
.header-cta .btn {
  font-size: 14px; padding: 12px 20px; border-radius: 999px; box-shadow: none;
}

/* ---------- Герой ---------- */

.hero { position: relative; border-bottom: 1px solid rgba(168, 240, 42, .14); }
.hero-glow, .hero-grid {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-glow {
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(34, 166, 60, .28), transparent 70%),
    radial-gradient(600px 400px at 12% 90%, rgba(216, 230, 0, .10), transparent 70%);
}
.hero-grid {
  background-image:
    linear-gradient(rgba(168, 240, 42, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 240, 42, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 460px at 50% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(700px 460px at 50% 30%, #000, transparent 80%);
}
.hero-inner {
  position: relative; max-width: var(--wrap); margin: 0 auto;
  padding: 56px var(--pad) 88px;
}
.hero-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 56px; align-items: end;
}
.hero-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--acid);
  margin-bottom: 26px;
}
.hero-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--acid); box-shadow: 0 0 12px var(--acid);
}
.hero-mark { position: relative; display: inline-block; margin-bottom: 30px; }
.hero-mark::before {
  content: ''; position: absolute; inset: -40px -60px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(168, 240, 42, .22), transparent 75%);
}
.hero-mark img {
  position: relative; height: clamp(80px, 11vw, 132px); width: auto; display: block;
  filter: drop-shadow(0 0 34px rgba(168, 240, 42, .35));
}
.hero h1 {
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.25;
  letter-spacing: -.01em; max-width: 520px; margin-bottom: 18px;
}
.hero-lead { max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.spec {
  border: 1px solid rgba(168, 240, 42, .22); border-radius: 22px;
  background: linear-gradient(var(--panel-3), #0B0F0B);
  overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.spec-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid rgba(237, 242, 230, .09);
  font-family: var(--display); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2);
}
.spec-leds { display: flex; gap: 6px; }
.spec-leds i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.spec-row {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline;
  padding: 18px 22px; border-bottom: 1px solid rgba(237, 242, 230, .06);
}
.spec-row dt { font-size: 14px; color: var(--muted-2); }
.spec-row dd { margin: 0; font-size: 15px; font-weight: 600; text-align: right; }
.spec-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.spec-stats div { padding: 18px 8px; border-right: 1px solid rgba(237, 242, 230, .06); }
.spec-stats div:last-child { border-right: 0; }
.spec-stats b { font-family: var(--display); font-size: 22px; font-weight: 700; display: block; }
.spec-stats span { font-size: 12px; color: var(--muted-3); margin-top: 3px; display: block; }

.quick {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-top: 44px;
}
.quick a {
  display: grid; gap: 6px; padding: 20px 22px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--text);
  transition: border-color .15s, background .15s;
}
.quick a:hover { border-color: var(--acid); background: rgba(168, 240, 42, .06); color: var(--text); }
.quick b { font-family: var(--display); font-size: 16px; font-weight: 700; }
.quick span { font-size: 13px; color: var(--muted-2); }
.quick .quick-accent { border-color: rgba(168, 240, 42, .3); background: rgba(168, 240, 42, .07); }
.quick .quick-accent b { color: var(--acid); }
.quick .quick-accent:hover { background: rgba(168, 240, 42, .13); }

/* ---------- Полоса преимуществ ---------- */

.strip { border-bottom: 1px solid rgba(237, 242, 230, .08); background: var(--bg-2); }
.strip-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 40px var(--pad);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px;
}
.strip-inner div { display: grid; gap: 8px; }
.strip-inner b { font-family: var(--display); font-size: 17px; font-weight: 700; }
.strip-inner span { font-size: 14px; color: var(--muted-2); line-height: 1.5; }

/* ---------- Прайс ---------- */

.price-table {
  border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; background: var(--panel);
}
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 20px 26px; border-bottom: 1px solid var(--line-soft);
  transition: background .15s;
}
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: rgba(168, 240, 42, .05); }
.price-row[hidden] { display: none; }
.price-row .name { font-size: 17px; font-weight: 600; }
.price-row .desc { font-size: 13px; color: var(--muted-3); margin-top: 4px; }
.price-row .sum {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  color: var(--acid); white-space: nowrap;
}

/* ---------- Пакеты и сборки ---------- */

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.card {
  border: 1px solid var(--line); border-radius: 22px; background: var(--panel);
  display: grid; align-content: start; transition: border-color .15s;
}
.card:hover { border-color: rgba(168, 240, 42, .4); }
.pack { padding: 30px; gap: 18px; position: relative; }
.pack h3 { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.pack .sum { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--acid); }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.pack .btn { margin-top: 6px; }
.pack-featured {
  border-color: var(--acid);
  background: linear-gradient(180deg, rgba(168, 240, 42, .10), rgba(14, 18, 14, .6));
}
.pack-featured ul { color: var(--text-2); }
.pack-badge {
  position: absolute; top: -12px; left: 30px;
  background: var(--acid); color: var(--bg); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}

.build { overflow: hidden; }
.build-top {
  height: 190px; border-bottom: 1px solid rgba(237, 242, 230, .08);
  background: radial-gradient(400px 200px at 50% 100%, rgba(168, 240, 42, .14), transparent 70%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 15px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(237, 242, 230, .28);
}
.build-body { padding: 26px; display: grid; gap: 16px; }
.build-body h3 { font-size: 22px; font-weight: 700; letter-spacing: 0; }
.build-for { font-size: 14px; color: var(--muted-2); }
.build-specs {
  display: grid; gap: 8px; font-size: 14px; color: var(--muted);
  border-top: 1px solid rgba(237, 242, 230, .08); padding-top: 16px; margin: 0;
  list-style: none;
}
.build-price { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.build-price b { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--acid); }
.build-price span { font-size: 13px; color: var(--muted-3); }

/* ---------- Калькулятор и форма (общая рамка) ---------- */

.panel {
  border: 1px solid var(--line-acid); border-radius: 26px;
  background: linear-gradient(140deg, rgba(34, 166, 60, .14), var(--panel-2) 55%);
  padding: 44px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 44px;
}
.field-label {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 12px;
}
.calc-out {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px; display: grid; align-content: center; gap: 10px; text-align: center;
}
.calc-out .cap { font-size: 13px; color: var(--muted-2); }
.calc-sum {
  font-family: var(--display); font-size: clamp(30px, 4vw, 40px); font-weight: 800;
  color: var(--acid); line-height: 1.1;
}
.calc-note { font-size: 14px; color: var(--muted); line-height: 1.55; }
.calc-out .btn { margin-top: 14px; }

/* ---------- Как работаем ---------- */

.how {
  margin-top: 96px; background: var(--bg-2);
  border-top: 1px solid rgba(237, 242, 230, .08);
  border-bottom: 1px solid rgba(237, 242, 230, .08);
}
.how .wrap { padding-block: 90px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li {
  border-top: 2px solid rgba(168, 240, 42, .4); padding-top: 22px;
  display: grid; gap: 10px; align-content: start;
}
.steps li:first-child { border-top-color: var(--acid); }
.steps .when { font-family: var(--display); font-size: 13px; font-weight: 500; color: var(--acid); }
.steps b { font-family: var(--display); font-size: 20px; font-weight: 700; }
.steps span { font-size: 15px; color: var(--muted-2); line-height: 1.55; }
.steps { list-style: none; margin: 0; padding: 0; }

/* ---------- Отзывы ---------- */

.review { padding: 30px; gap: 18px; }
.stars { color: var(--acid); letter-spacing: .2em; font-size: 14px; }
.review p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.review footer {
  display: grid; gap: 2px; border-top: 1px solid rgba(237, 242, 230, .08); padding-top: 16px;
}
.review footer b { font-weight: 700; }
.review footer span { font-size: 13px; color: var(--muted-3); }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.faq-list { display: grid; gap: 10px; align-content: start; }
.faq-item {
  border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  font-size: 17px; font-weight: 600; padding: 22px 26px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--acid); font-size: 22px; line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { color: var(--acid); }
.faq-item .answer { padding: 0 26px 24px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---------- Заявка ---------- */

.request { margin-top: 96px; }
.request .panel {
  background: linear-gradient(140deg, rgba(34, 166, 60, .16), var(--panel-2) 60%);
  padding: 48px; gap: 48px;
}
.messengers { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }
.messengers a { font-weight: 700; padding: 16px 26px; border-radius: 12px; }
.messengers .wa { background: var(--acid); color: var(--bg); }
.messengers .wa:hover { background: var(--acid-hi); color: var(--bg); }
.messengers .tg { border: 1px solid rgba(237, 242, 230, .24); color: var(--text); }
.messengers .tg:hover { border-color: var(--acid); color: var(--acid); }
.contacts {
  display: grid; gap: 14px; font-size: 15px; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 28px; margin: 0;
}
.contacts dt { color: var(--muted-3); display: inline; }
.contacts dd { display: inline; margin: 0; }
.contacts > div { display: block; }

.form-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
}
.form-grid { display: grid; gap: 16px; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-size: 13px; color: var(--muted-2); }
.form-field input, .form-field textarea {
  background: var(--field); border: 1px solid rgba(237, 242, 230, .14); border-radius: 12px;
  padding: 15px 16px; color: var(--text); font-size: 15px; outline: none;
  transition: border-color .15s;
}
.form-field textarea { resize: vertical; min-height: 108px; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--acid); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted-4); }
.form-card button[type="submit"] {
  background: var(--acid); color: var(--bg); font-family: var(--display);
  font-weight: 700; font-size: 16px; padding: 17px; border: 0; border-radius: 12px; cursor: pointer;
}
.form-card button[type="submit"]:hover { background: var(--acid-hi); }
.form-card button[type="submit"][disabled] { opacity: .55; cursor: progress; }
.form-fine { font-size: 12px; color: var(--muted-3); line-height: 1.5; }
.form-error {
  font-size: 14px; color: #FF8B7A; line-height: 1.5;
  background: rgba(255, 90, 70, .08); border: 1px solid rgba(255, 90, 70, .3);
  border-radius: 10px; padding: 12px 14px;
}
.form-done { display: grid; gap: 12px; text-align: center; padding: 48px 0; }
.form-done b { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--acid); }
.form-done span { font-size: 15px; color: var(--muted); line-height: 1.6; }
[hidden] { display: none !important; }

/* Honeypot — скрыт от людей, видим ботам */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Подвал ---------- */

.footer {
  margin-top: 96px; border-top: 1px solid var(--line); background: var(--bg-2);
}
.footer-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 48px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer-inner img { height: 52px; width: auto; display: block; }
.footer-nav { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted-2); }
.footer-nav a:hover { color: var(--acid); }
.footer-copy { font-size: 13px; color: var(--muted-4); }

/* ---------- Адаптив ---------- */

@media (max-width: 900px) {
  :root { --pad: 18px; }
  .section { padding-top: 72px; }
  .how { margin-top: 72px; }
  .how .wrap { padding-block: 64px; }
  .request { margin-top: 72px; }
  .panel, .request .panel { padding: 28px; gap: 32px; }
  .footer { margin-top: 72px; }
  .faq { gap: 28px; }
}

@media (max-width: 760px) {
  .header-inner { gap: 12px 16px; }
  .header-logo img { height: 36px; }
  .nav {
    order: 3; width: 100%; margin-left: 0; gap: 18px;
    overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .header-cta { margin-left: auto; gap: 10px; }
  .header-phone { font-size: 13px; }
  .header-cta .btn { padding: 10px 16px; font-size: 13px; }
  .hero-inner { padding: 36px var(--pad) 64px; }
  .hero-cols { grid-template-columns: 1fr; gap: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .price-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .price-row .sum { font-size: 16px; }
  .form-card { padding: 22px; }
  .pack, .review { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 420px) {
  .header-phone { display: none; }
}
