:root {
  --bg: #070708;
  --bg-soft: #0e0e10;
  --card: #121214;
  --card-2: #18181b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f6f6f7;
  --muted: #9a9aa2;
  --red: #ff2a2a;
  --red-2: #c20000;
  --ember: #ff6a00;
  --radius: 16px;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, .logo, .hero__title, .section__title, .reject__box h2 {
  font-family: "Anton", "Manrope", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Фонові світіння — вогонь */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.bg-glow--1 { width: 480px; height: 480px; background: #ff1f1f; top: -180px; right: -130px; }
.bg-glow--2 { width: 440px; height: 440px; background: #ff5a00; bottom: 4%; left: -180px; opacity: 0.32; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .6px;
  padding: 15px 28px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  box-shadow: 0 10px 30px rgba(255, 42, 42, .35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(255, 42, 42, .55); }
.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 42, 42, .12); border-color: rgba(255,42,42,.4); }
.btn--block { width: 100%; padding: 17px; font-size: 16px; }

/* Шапка */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgba(7, 7, 8, .7); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: flex-end; height: 70px; }
.logo { font-size: 26px; color: var(--text); text-decoration: none; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 6px; }
.logo span { color: var(--red); }
.logo__horns { font-family: "Manrope", sans-serif; }
.nav__cta { padding: 11px 20px; font-size: 13px; }

/* Hero */
.hero { position: relative; z-index: 1; padding: 110px 0 90px; text-align: center; }
.hero__grid { max-width: 820px; margin: 0 auto; }
.hero__text { display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #ff6b6b; text-transform: uppercase; letter-spacing: .5px;
  background: rgba(255, 42, 42, .1); border: 1px solid rgba(255, 42, 42, .3);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero__title { font-size: clamp(40px, 6vw, 72px); line-height: 0.98; margin-bottom: 20px; }
.grad { background: linear-gradient(135deg, var(--red) 0%, var(--ember) 110%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__lead { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 22px; }
.hero__lead b { color: var(--text); }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero__points li {
  font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .4px;
  background: var(--card); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 10px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Секції */
.section { position: relative; z-index: 1; padding: 80px 0; }
.section__title { font-size: clamp(32px, 5vw, 52px); line-height: 1; text-align: center; }
.section__sub { text-align: center; color: var(--muted); font-size: 17px; margin-top: 12px; margin-bottom: 46px; }

/* Картки умов */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 42, 42, .45); box-shadow: 0 18px 40px rgba(255,42,42,.1); }
.card__ico { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Відгуки */
.section--reviews { background: linear-gradient(180deg, transparent, rgba(255, 42, 42, .05), transparent); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.review__head { display: flex; align-items: center; gap: 12px; }
.review__head img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,42,42,.55); }
.review__name { font-weight: 800; font-size: 16px; }
.review__role { font-size: 13px; color: var(--muted); }
.review__stars { margin-left: auto; color: var(--red); font-size: 15px; letter-spacing: 1px; }
.review blockquote { color: #d3d3da; font-size: 15px; font-style: italic; }

/* Форма */
.section--form { padding-bottom: 100px; }
.formwrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, rgba(255,42,42,.1), rgba(255,106,0,.05));
  border: 1px solid rgba(255, 42, 42, .2); border-radius: 24px; padding: 46px;
}
.formwrap__intro .section__title, .formwrap__intro .section__sub { text-align: left; }
.formwrap__intro .section__sub { margin-bottom: 24px; }
.formwrap__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.formwrap__list li { color: var(--text); font-weight: 700; font-size: 16px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.field input {
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  padding: 14px 16px; border-radius: 10px; font-size: 15px; font-family: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #5c5c64; }
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,42,42,.18); }
.field input.invalid { border-color: #ff5d6c; box-shadow: 0 0 0 3px rgba(255,93,108,.15); }

.form__error {
  background: rgba(255, 42, 42, .12); border: 1px solid rgba(255, 42, 42, .4);
  color: #ff9aa4; font-size: 14px; padding: 12px 14px; border-radius: 10px;
}
.form__note { font-size: 12px; color: #6f6f76; text-align: center; }

/* Екран відмови */
.reject[hidden] { display: none; }
.reject {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 6, .94); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: fade .25s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.reject__box {
  max-width: 460px; text-align: center;
  background: var(--card-2); border: 1px solid rgba(255, 42, 42, .35);
  border-radius: 20px; padding: 48px 36px;
  box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 60px rgba(255,42,42,.12);
}
.reject__ico {
  width: 76px; height: 76px; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2)); border-radius: 50%;
  box-shadow: 0 0 40px rgba(255,42,42,.5);
}
.reject__box h2 { font-size: 30px; margin-bottom: 12px; }
.reject__box p { color: var(--muted); font-size: 16px; }

/* Футер */
.footer { border-top: 1px solid var(--line); padding: 30px 0; position: relative; z-index: 1; }
.footer p { text-align: center; color: #6f6f76; font-size: 14px; }

/* Адаптив */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .formwrap { grid-template-columns: 1fr; padding: 32px; }
  .formwrap__intro .section__title, .formwrap__intro .section__sub { text-align: center; }
  .formwrap__list { align-items: center; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 50px; }
  .section { padding: 56px 0; }
  .nav__inner { height: 60px; }
  .nav__cta { padding: 9px 16px; font-size: 12px; }
  .formwrap { padding: 24px; }
}
