/* ===== Шрифты ===== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Unbounded:wght@500;700&display=swap');

/* ===== Базовые стили ===== */
:root {
  --bg: #070a13;
  --bg-alt: #0a0e1b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f8;
  --text-muted: #9aa3b8;
  --accent: #7c8cff;
  --accent-2: #b06bff;
  --gold: #e9b950;
  --gradient: linear-gradient(120deg, #5b8cff 0%, #8f6cff 55%, #c05cff 100%);
  --radius: 18px;
  --shadow-glow: 0 12px 45px rgba(110, 100, 255, 0.28);
  --font-head: 'Unbounded', 'Manrope', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

section {
  scroll-margin-top: 80px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 16px 55px rgba(110, 100, 255, 0.42);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn--outline:hover {
  border-color: var(--accent);
  background: rgba(124, 140, 255, 0.1);
  box-shadow: none;
}

.btn--small {
  padding: 10px 22px;
  font-size: 14px;
  box-shadow: none;
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===== Шапка ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--text);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Главный экран ===== */
.hero {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
}

/* мягкие световые пятна на фоне */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  top: -180px;
  left: -140px;
  background: rgba(91, 140, 255, 0.22);
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -220px;
  right: -100px;
  background: rgba(176, 92, 255, 0.18);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero__badge {
  display: inline-block;
  background: rgba(124, 140, 255, 0.1);
  border: 1px solid rgba(124, 140, 255, 0.3);
  color: #b9c3ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  gap: 44px;
  list-style: none;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats span {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__art {
  position: relative;
  min-height: 360px;
}

.hero__circle {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5b8cff, #8f6cff 55%, #2b1a5e);
  box-shadow: 0 0 120px rgba(124, 108, 255, 0.45),
    inset -30px -30px 80px rgba(0, 0, 0, 0.35);
}

.hero__card {
  position: absolute;
  z-index: 2;
  background: rgba(17, 22, 38, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.hero__card--1 {
  top: 16%;
  left: 0;
  animation: float 5s ease-in-out infinite;
}

.hero__card--2 {
  bottom: 13%;
  right: 0;
  animation: float 6s ease-in-out infinite reverse;
}

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

/* ===== Секции ===== */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto 56px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

/* ===== Карточки услуг ===== */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 140, 255, 0.45);
  background: var(--surface-hover);
}

.card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(120deg, #e9b950, #d99a2b);
  color: #241a05;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 999px;
}

.card__icon {
  font-size: 34px;
  margin-bottom: 18px;
}

.card__title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.card__text {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== Оборудование ===== */
.equip {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.equip:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 140, 255, 0.45);
}

.equip--featured {
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.12), rgba(176, 92, 255, 0.08));
  border-color: rgba(124, 140, 255, 0.4);
  box-shadow: var(--shadow-glow);
}

.equip__badge {
  position: absolute;
  top: -13px;
  left: 30px;
  background: linear-gradient(120deg, #e9b950, #d99a2b);
  color: #241a05;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
}

.equip__type {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.equip__name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.equip__desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.equip__specs {
  list-style: none;
  border-top: 1px solid var(--border);
}

.equip__specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.equip__specs span {
  color: var(--text-muted);
  flex-shrink: 0;
}

.equip__specs strong {
  text-align: right;
  font-weight: 700;
}

/* ===== Материалы (аккордеон) ===== */
.materials__group {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 34px 0 14px;
}

.materials__group:first-of-type {
  margin-top: 0;
}

.materials__grid {
  gap: 14px;
  align-items: start;
}

.material {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.material:hover {
  border-color: rgba(124, 140, 255, 0.45);
}

.material__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  text-align: left;
}

.material__dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 14px currentColor;
}

.material__dot--pla { background: #34d399; color: #34d399; }
.material__dot--petg { background: #60a5fa; color: #60a5fa; }
.material__dot--abs { background: #fbbf24; color: #fbbf24; }
.material__dot--tpu { background: #c084fc; color: #c084fc; }
.material__dot--pa { background: #22d3ee; color: #22d3ee; }
.material__dot--cf { background: #94a3b8; color: #94a3b8; }
.material__dot--pc { background: #fb7185; color: #fb7185; }
.material__dot--asa { background: #a3e635; color: #a3e635; }

.material__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.material__name {
  font-size: 17px;
  font-weight: 800;
}

.material__tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.material__chevron {
  margin-left: auto;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.material.is-open .material__chevron {
  transform: rotate(-135deg);
}

.material__body {
  display: none;
  padding: 0 18px 18px;
}

.material.is-open .material__body {
  display: block;
}

.material.is-open {
  border-color: rgba(124, 140, 255, 0.45);
}

.material__list {
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.material__list li {
  position: relative;
  padding: 6px 0 6px 24px;
}

.material__list li::before {
  position: absolute;
  left: 0;
  font-weight: 700;
}

.material__list .is-yes::before {
  content: "✓";
  color: #34d399;
}

.material__list .is-no::before {
  content: "✗";
  color: #f87171;
}

.materials__note {
  text-align: center;
  color: var(--text-muted);
  margin-top: 40px;
  font-size: 15px;
}

.materials__note a {
  color: var(--accent);
  font-weight: 700;
}

/* ===== Как работаем ===== */
.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.benefit__num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.benefit h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.benefit p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== Тарифы ===== */
.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}

.price:hover {
  transform: translateY(-5px);
}

.price--featured {
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.12), rgba(176, 92, 255, 0.08));
  border-color: rgba(124, 140, 255, 0.4);
  box-shadow: var(--shadow-glow);
}

.price__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, #e9b950, #d99a2b);
  color: #241a05;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 999px;
}

.price__name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.price__value {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 22px;
}

.price__list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.price__list li {
  padding: 9px 0 9px 26px;
  position: relative;
  color: var(--text-muted);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.price__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Контакты ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact__info p {
  color: var(--text-muted);
  margin: 18px 0 30px;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
}

.contact__list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact__list a:hover {
  color: var(--accent);
}

/* ===== Форма ===== */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  backdrop-filter: blur(6px);
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(154, 163, 184, 0.55);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(124, 140, 255, 0.06);
}

.form__group input.is-invalid,
.form__group textarea.is-invalid {
  border-color: #f87171;
}

.form__note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

.form__success {
  margin-top: 16px;
  text-align: center;
  color: #34d399;
  font-weight: 700;
}

.form__error {
  margin-top: 16px;
  text-align: center;
  color: #f87171;
  font-weight: 700;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

/* ===== Подвал ===== */
.footer {
  background: #04060c;
  border-top: 1px solid var(--border);
  padding: 42px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer__nav a:hover {
  color: var(--text);
}

.footer__copy {
  font-size: 13px;
  color: #5b6478;
}

.footer__tg {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer__tg:hover {
  text-decoration: underline;
}

.footer__legal {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  line-height: 1.6;
  color: #5b6478;
  text-align: center;
}

/* ===== Адаптивность ===== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__art {
    display: none;
  }

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

  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7, 10, 19, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 68px;
  }

  .hero__stats {
    gap: 26px;
    flex-wrap: wrap;
  }

  .section {
    padding: 68px 0;
  }

  .form {
    padding: 26px;
  }
}
