/* ===================== TOKENS ===================== */
:root {
  --bg: #050805;
  --bg-2: #0a120b;
  --card: #0d170f;
  --line: rgba(57, 255, 106, .16);
  --line-strong: rgba(57, 255, 106, .4);
  --green: #39ff6a;
  --green-2: #1fd14f;
  --green-dim: #7dbb8a;
  --text: #e8f5ea;
  --muted: #9bb3a0;
  --wa: #25d366;
  --radius: 18px;
  --container: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Russo One", "Manrope", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --glow: 0 0 18px rgba(57, 255, 106, .55), 0 0 42px rgba(57, 255, 106, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 400; }
h2 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-weight: 800; font-size: 20px; }
p { margin: 0; }
::selection { background: var(--green); color: #000; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 14px; border: 1px solid transparent;
  font: 800 16px/1 var(--font);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--green); color: #031a08; box-shadow: 0 8px 30px rgba(57, 255, 106, .3); }
.btn--wa:hover { box-shadow: var(--glow); }
.btn--ghost { border-color: var(--line-strong); color: var(--green); background: rgba(57, 255, 106, .04); }
.btn--ghost:hover { border-color: var(--green); background: rgba(57, 255, 106, .1); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 11px; }
.btn--block { width: 100%; }
.ico { width: 22px; height: 22px; fill: currentColor; flex: none; }

.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 0 rgba(57, 255, 106, .7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(57, 255, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(57, 255, 106, 0); } }

/* ===================== HEADER ===================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(5, 8, 5, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { position: relative; display: flex; align-items: center; gap: 28px; height: 74px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(57, 255, 106, .08); border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 14px rgba(57, 255, 106, .2);
}
.logo__mark svg { width: 26px; fill: var(--green); filter: drop-shadow(0 0 5px var(--green)); }
.logo__text { font-family: var(--font-head); font-size: 21px; letter-spacing: .04em; line-height: 1; }
.logo__text b { color: var(--green); font-weight: 400; text-shadow: 0 0 12px rgba(57, 255, 106, .6); }
.logo__text small { display: block; margin-top: 5px; font: 600 10.5px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--green); }

.header__cta { display: flex; align-items: center; gap: 16px; }
.header__phone { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.header__phone a { font-weight: 800; font-size: 17px; white-space: nowrap; }
.header__phone small { display: block; font-size: 11.5px; color: var(--muted); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--green); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: 74px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.matrix { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .55; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 25% 50%, rgba(5, 8, 5, .92), transparent 70%),
    linear-gradient(to bottom, rgba(5, 8, 5, .2), var(--bg) 96%);
}
.hero__inner { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; padding-top: 40px; padding-bottom: 40px; }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(57, 255, 106, .06);
  font: 700 13px/1 var(--font-mono); color: var(--green); text-transform: uppercase; letter-spacing: .04em;
}
.hero__title {
  margin: 22px 0 20px;
  font-family: var(--font-head); text-transform: uppercase;
  font-size: clamp(36px, 5.6vw, 72px); line-height: 1.02;
}
.glow { display: block; color: var(--green); text-shadow: var(--glow); }
.hero__lead { max-width: 560px; font-size: 18px; color: var(--muted); }

.hero__facts { list-style: none; padding: 0; margin: 30px 0 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts li { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 18, 11, .7); line-height: 1.2; }
.hero__facts b { display: block; font: 700 22px/1.1 var(--font-mono); color: var(--green); }
.hero__facts span { font-size: 13px; color: var(--muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; align-self: stretch; min-height: 520px; }
.hero__figure {
  /* Crop only the character (left ~40% of the card) by matching the box aspect ratio */
  position: absolute; top: -30px; bottom: -30px; left: 0; right: 0; margin-inline: auto;
  width: min(100%, 60svh);
  background: url("../assets/img/card.webp") no-repeat 22% 50% / cover;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%);
  filter: drop-shadow(0 0 40px rgba(57, 255, 106, .25));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }

.ticker { border-block: 1px solid var(--line); background: rgba(57, 255, 106, .05); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { padding: 14px 26px; font: 700 14px/1 var(--font-mono); letter-spacing: .14em; color: var(--green-dim); white-space: nowrap; }
.ticker span::before { content: "✕"; margin-right: 26px; color: var(--green); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ===================== SECTIONS ===================== */
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.kicker { font: 700 14px/1 var(--font-mono); color: var(--green); margin-bottom: 16px; letter-spacing: .04em; }
.section__sub { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card), var(--bg)); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s, box-shadow .3s; overflow: hidden;
}
.service::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(57, 255, 106, .14), transparent 70%); transition: opacity .3s; opacity: 0; }
.service:hover { border-color: var(--line-strong); transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.service:hover::after { opacity: 1; }
.service__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px; background: rgba(57, 255, 106, .07); border: 1px solid var(--line-strong); }
.service__icon svg { width: 38px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(57, 255, 106, .6)); }
.service h3 { font-family: var(--font-head); font-weight: 400; font-size: 24px; text-transform: uppercase; margin-bottom: 12px; }
.service p { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--green); background: rgba(57, 255, 106, .08); }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .3s; }
.price:hover { border-color: var(--line-strong); }
.price--hot { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 40px rgba(57, 255, 106, .15); }
.price__badge { position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 999px; background: var(--green); color: #031a08; font: 800 11px/1 var(--font); text-transform: uppercase; letter-spacing: .05em; }
.price__name { font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.price__val { font: 700 clamp(24px, 2.6vw, 30px)/1.15 var(--font-mono); color: var(--text); }
.price__val span { font-size: .6em; color: var(--green); }
.price__val--text { color: var(--green); font-size: 24px; }
.price__note { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Calculator */
.calc { margin-top: 40px; display: grid; grid-template-columns: 1.3fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong); }
.calc__form { padding: 36px; background: var(--card); display: grid; gap: 22px; align-content: start; }
.calc__form h3 { font-family: var(--font-head); font-weight: 400; font-size: 26px; text-transform: uppercase; }
.calc__tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.calc__tab { flex: 1; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 700 15px var(--font); cursor: pointer; transition: background .2s, color .2s; }
.calc__tab.is-active { background: var(--green); color: #031a08; }
.calc__field { display: grid; gap: 10px; }
.calc__field[hidden] { display: none; }
.calc__field label { font-weight: 700; font-size: 15px; color: var(--muted); }
.calc__field label b { color: var(--green); font-family: var(--font-mono); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg__btn { min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 700 18px var(--font-mono); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.seg__btn:hover { border-color: var(--line-strong); }
.seg__btn.is-active { border-color: var(--green); color: var(--green); background: rgba(57, 255, 106, .08); }
select {
  appearance: none; width: 100%; min-height: 52px; padding: 0 44px 0 16px; border-radius: 12px;
  border: 1px solid var(--line); color: var(--text); font: 600 16px var(--font); cursor: pointer;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339ff6a' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 20px;
}
select:focus { outline: none; border-color: var(--green); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green); box-shadow: var(--glow); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--green); box-shadow: var(--glow); cursor: pointer; }

.calc__result { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: radial-gradient(circle at 70% 0%, rgba(57, 255, 106, .16), transparent 60%), var(--bg); }
.calc__label { font: 700 13px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.calc__sum { font: 700 clamp(30px, 3.4vw, 42px)/1.1 var(--font-mono); color: var(--green); text-shadow: var(--glow); }
.calc__hint { color: var(--muted); font-size: 14px; margin-bottom: 10px; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why__visual { border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 0 80px rgba(57, 255, 106, .12); }
.why__content h2 { margin-bottom: 36px; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.features li { display: flex; gap: 20px; align-items: flex-start; }
.features__num { flex: none; width: 72px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: rgba(57, 255, 106, .08); border: 1px solid var(--line-strong); font: 700 20px var(--font-mono); color: var(--green); }
.features h3 { margin-bottom: 4px; }
.features p { color: var(--muted); font-size: 16px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step__n { display: block; font: 700 46px/1 var(--font-mono); color: transparent; -webkit-text-stroke: 1.5px var(--green); margin-bottom: 18px; opacity: .85; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -14px; width: 10px; height: 10px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg); z-index: 1; }

/* Objects */
.objects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.object { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 700; transition: border-color .25s; }
.object:hover { border-color: var(--line-strong); }
.object span { font-size: 26px; filter: grayscale(1) brightness(1.5) sepia(1) hue-rotate(70deg) saturate(4); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color .25s; }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 700; font-size: 17px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 700 26px/1 var(--font-mono); color: var(--green); transition: transform .25s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }

/* Contacts */
.contacts__box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 56px; border-radius: 28px; border: 1px solid var(--line-strong); background: radial-gradient(circle at 0% 0%, rgba(57, 255, 106, .14), transparent 55%), var(--card); }
.contacts__text h2 { margin-bottom: 14px; }
.contacts__text > p { color: var(--muted); max-width: 480px; }
.contacts__phone { display: inline-block; margin: 26px 0; font: 700 clamp(28px, 4vw, 44px)/1 var(--font-mono); color: var(--green); text-shadow: var(--glow); }
.contacts__list { margin: 0 0 28px; display: grid; gap: 16px; }
.contacts__list div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contacts__list dt { font: 700 12px var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.contacts__list dd { margin: 0; font-weight: 700; font-size: 18px; }
.contacts__soc-title { color: var(--muted); margin-bottom: 14px; }
.contacts__soc-title b { color: var(--green); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-strong); font-weight: 700; font-size: 15px; transition: background .2s, color .2s; }
.socials a:hover { background: var(--green); color: #031a08; }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: currentColor; stroke: none; }

/* Footer */
.footer { padding: 30px 0 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Floating */
.float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; gap: 12px; }
.float__btn { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .2s; }
.float__btn:hover { transform: scale(1.08); }
.float__btn svg { width: 30px; fill: #fff; }
.float__btn--wa { background: var(--wa); animation: ring 2.6s infinite; }
.float__btn--call { background: var(--card); border: 1px solid var(--green); }
.float__btn--call svg { fill: var(--green); width: 26px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .header__phone small { display: none; }
}
@media (max-width: 1060px) {
  .burger { display: flex; margin-left: auto; }
  .header__cta .btn { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: rgba(5, 8, 5, .98); border-bottom: 1px solid var(--line);
    padding: 10px 20px 24px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); }
  .services, .prices { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .objects { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .calc, .contacts__box { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 24px; }
  .hero__visual { order: -1; min-height: 340px; margin: 0 -20px -20px; }
  .hero__figure { top: 0; bottom: 0; width: 220px; background-position: 4% 50%; }
  .header__phone { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .section__head { margin-bottom: 36px; }
  .services, .prices, .steps { grid-template-columns: 1fr; }
  .logo__text small { display: none; }
  .hero__facts li { flex: 1 1 calc(50% - 12px); }
  .hero__btns .btn { width: 100%; }
  .calc__form, .calc__result { padding: 26px 20px; }
  .contacts__box { padding: 32px 22px; }
  .float { right: 14px; bottom: 14px; }
  .float__btn { width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
