:root {
  --bg: #08090f;
  --bg-2: #0a0b12;
  --bg-3: #06070d;
  --card: hsl(228 20% 8%);
  --text: hsl(220 30% 95%);
  --muted: hsl(220 15% 55%);
  --cyan: hsl(192 100% 50%);
  --orange: hsl(25 100% 60%);
  --border: hsl(228 20% 15%);
  --display: "Bebas Neue", sans-serif;
  --body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  width: min(1400px, 100%);
  margin-inline: auto;
  padding-inline: 2rem;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.header.is-scrolled {
  background: rgb(8 9 15 / 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header__bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 28.8px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px;
}

.nav a,
.nav-mobile a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav a:hover,
.nav-mobile a:hover {
  color: var(--cyan);
}

.header__cta {
  margin-left: 0;
}

.header__phone {
  color: var(--cyan);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.92rem;
}

.header__phone:hover {
  color: #5edfff;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--muted);
}

.nav-mobile {
  background: rgb(8 9 15 / 0.98);
  border-bottom: 1px solid var(--border);
}

.nav-mobile .wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 20px;
}

.nav-mobile a {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .btn {
  margin-top: 8px;
  text-align: center;
  border-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: 0.2s ease;
}

.btn--cyan {
  background: var(--cyan);
  color: var(--bg);
}

.btn--cyan:hover {
  background: #5edfff;
}

.btn--lg {
  padding: 16px 32px;
}

.btn--ghost {
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: rgb(0 201 255 / 0.5);
  background: rgb(0 201 255 / 0.05);
}

.btn--ghost-orange {
  border: 1px solid rgb(255 107 53 / 0.4);
  color: var(--orange);
  padding: 12px 24px;
}

.btn--ghost-orange:hover {
  background: rgb(255 107 53 / 0.1);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill--cyan {
  color: var(--cyan);
  border: 1px solid rgb(0 201 255 / 0.3);
  background: rgb(0 201 255 / 0.1);
}

.pill--orange {
  color: var(--orange);
  border: 1px solid rgb(255 107 53 / 0.3);
  background: rgb(255 107 53 / 0.1);
}

.pill--center {
  display: flex;
  width: fit-content;
  margin-inline: auto;
}

.is-pulse {
  animation: pulse 1.6s ease infinite;
}

.h-display {
  font-family: var(--display);
  font-size: clamp(28px, 6.2vw + 10px, 96px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: 16px;
  max-width: 100%;
}

.h-display--center {
  text-align: center;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 40rem;
  margin-bottom: 48px;
}

.lead--center {
  text-align: center;
  margin-inline: auto;
}

.is-cyan { color: var(--cyan); }
.is-orange { color: var(--orange); }

.glow-cyan {
  text-shadow: 0 0 30px rgb(0 201 255 / 0.6);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.section--dark { background: var(--bg); }
.section--alt { background: var(--bg-2); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__grid,
.section--alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(0 201 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 201 255 / 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__grid { opacity: 0.6; }

.hero__glow {
  position: absolute;
  pointer-events: none;
}

.hero__glow--cyan {
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgb(0 201 255 / 0.12), transparent);
}

.hero__glow--orange {
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 80% 80%, rgb(255 107 53 / 0.06), transparent);
}

.hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(0 201 255 / 0.3), transparent);
  animation: scan 6s linear infinite;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--1 {
  top: 80px;
  right: 8%;
  width: 256px;
  height: 256px;
  border: 1px solid rgb(0 201 255 / 0.1);
}

.hero__orb--2 {
  top: 128px;
  right: 14%;
  width: 160px;
  height: 160px;
  border: 1px solid rgb(0 201 255 / 0.05);
  animation-delay: 2s;
}

.hero__orb--3 {
  bottom: 128px;
  left: 8%;
  width: 128px;
  height: 128px;
  border: 1px solid rgb(255 107 53 / 0.1);
  animation-delay: 1s;
}

.corner {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
}

.corner--tl {
  top: 96px;
  left: 24px;
  border-left: 2px solid rgb(0 201 255 / 0.4);
  border-top: 2px solid rgb(0 201 255 / 0.4);
}

.corner--br {
  bottom: 96px;
  right: 24px;
  border-right: 2px solid rgb(255 107 53 / 0.4);
  border-bottom: 2px solid rgb(255 107 53 / 0.4);
}

.contact .corner--tl {
  top: 48px;
  left: 24px;
  border-color: rgb(0 201 255 / 0.3);
}

.contact .corner--br {
  bottom: 48px;
  right: 24px;
  border-color: rgb(255 107 53 / 0.3);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 96px 0 64px;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(60px, 12vw, 140px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: 24px;
}

.hero__title span { display: block; }
.hero__title span:first-child { white-space: nowrap; }

.hero__lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 40rem;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.dot-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.hero__stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.services,
.catalog,
.features,
.contact__grid,
.counters,
.footer__grid {
  display: grid;
  gap: 24px;
}

.services {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.equip,
.feature,
.contact-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.card:hover,
.contact-card:hover,
.equip:hover {
  border-color: rgb(0 201 255 / 0.25);
}

.card--orange:hover,
.equip:hover {
  border-color: rgb(255 107 53 / 0.3);
}

.card__icon,
.counter__icon,
.contact-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  margin-bottom: 24px;
}

.card__icon svg,
.counter__icon svg,
.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.card--cyan .card__icon {
  background: rgb(0 201 255 / 0.1);
  color: var(--cyan);
}

.card--orange .card__icon {
  background: rgb(255 107 53 / 0.1);
  color: var(--orange);
}

.card h3,
.feature h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.card p,
.feature p,
.equip p {
  color: var(--muted);
  font-size: 0.92rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tags span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgb(0 201 255 / 0.2);
  color: rgb(0 201 255 / 0.85);
  background: rgb(0 201 255 / 0.05);
}

.card--orange .tags span {
  border-color: rgb(255 107 53 / 0.2);
  color: rgb(255 107 53 / 0.85);
  background: rgb(255 107 53 / 0.05);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.tabs button {
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  border: 1px solid var(--border);
}

.tabs button.is-active,
.tabs button:hover {
  background: var(--orange);
  color: var(--bg);
  border-color: var(--orange);
}

.catalog {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.equip {
  padding: 20px;
  overflow: hidden;
}

.equip__media {
  position: relative;
  margin: -20px -20px 16px;
  aspect-ratio: 4 / 3;
  background: #07080e;
  overflow: hidden;
}

.equip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}

.equip__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 2px;
  background: rgb(255 107 53 / 0.2);
  color: #ff8a5b;
  border: 1px solid rgb(255 107 53 / 0.3);
}

.equip h3 {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
}

.equip p {
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.equip a {
  color: rgb(255 107 53 / 0.7);
  font-size: 0.78rem;
  font-weight: 500;
}

.equip:hover a {
  color: var(--orange);
}

.catalog__more {
  text-align: center;
  margin-top: 48px;
}

.catalog__more p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.about {
  text-align: center;
}

.about-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(0 201 255 / 0.2), transparent);
}

.counters {
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0 0 80px;
}

.counter__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgb(0 201 255 / 0.1);
  color: var(--cyan);
}

.counter__value {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 72px);
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.counter__label {
  color: var(--muted);
  font-size: 0.9rem;
}

.features {
  grid-template-columns: repeat(3, 1fr);
  text-align: left;
}

.feature__bar {
  display: block;
  width: 4px;
  height: 32px;
  border-radius: 99px;
  margin-bottom: 16px;
  background: var(--cyan);
}

.feature--orange .feature__bar {
  background: var(--orange);
}

.contact__inner {
  max-width: 1200px;
  text-align: center;
}

.contact__grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 56px;
}

.contact-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px 16px;
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 8px;
}

.contact-card--cyan .contact-card__icon {
  background: rgb(0 201 255 / 0.1);
  color: var(--cyan);
}

.contact-card--orange .contact-card__icon {
  background: rgb(255 107 53 / 0.1);
  color: var(--orange);
}

.contact-card__icon--max {
  background: rgb(255 255 255 / 0.06);
  padding: 8px;
}

.contact-card__icon--max img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.contact-card--cyan .contact-card__value,
.contact-card--orange .contact-card__value {
  font-weight: 600;
  white-space: nowrap;
}

.contact-card--cyan .contact-card__value { color: #67e8f9; }
.contact-card--orange .contact-card__value { color: #fb923c; }

.lead-form {
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 28px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.lead-form__title {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  text-align: center;
}

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  background: rgb(8 9 15 / 0.7);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

.lead-form textarea {
  resize: vertical;
  min-height: 120px;
}

.lead-form .btn {
  width: 100%;
  justify-content: center;
}

.lead-form__hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
}

.lead-form label.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
}

.lead-form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--cyan);
}

.lead-form__consent a {
  color: var(--cyan);
  text-decoration: underline;
}

.cookie-bar {
  position: fixed;
  z-index: 80;
  inset: auto 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: rgb(10 11 18 / 0.96);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.35);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar p {
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-bar a {
  color: var(--cyan);
}

.legal-page {
  padding-top: 96px;
}

.legal {
  max-width: 800px;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
  margin-bottom: 10px;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal a {
  color: var(--cyan);
}

.contact__meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer__grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  margin-bottom: 40px;
}

.footer .logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer .logo img { height: 25.2px; }

.footer p,
.footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer nav,
.footer div:last-child {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 0.75rem;
  max-width: 52rem;
  white-space: normal;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes scan {
  0% { transform: translateY(-200px); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(400px); opacity: 0; }
}

@media (max-width: 960px) {
  .services,
  .catalog,
  .features,
  .contact__grid,
  .counters,
  .footer__grid,
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav,
  .header__cta,
  .header__phone { display: none; }
  .burger { display: block; flex-shrink: 0; }

  .wrap {
    padding-inline: 1.2rem;
  }

  .hero__stats,
  .services,
  .catalog,
  .features,
  .contact__grid,
  .counters,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats,
  .counters {
    grid-template-columns: 1fr 1fr;
  }

  .hero__title {
    font-size: clamp(36px, 11vw, 64px);
  }

  .hero__title span:first-child {
    white-space: normal;
  }

  .h-display {
    font-size: clamp(26px, 7.4vw, 40px);
    letter-spacing: 0.008em;
  }

  .h-display span {
    display: block;
  }

  .card h3,
  .feature h3 {
    font-size: clamp(1.05rem, 4.8vw, 1.45rem);
  }

  .tabs {
    gap: 6px;
  }

  .tabs button {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .lead-form__row {
    grid-template-columns: 1fr;
  }

  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    inset: auto 12px 12px;
  }

  .section { padding: 72px 0; }
  .corner--tl { left: 16px; }
  .corner--br { right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
