:root {
  --blue: #00bfff;
  --orange: #ff6b00;
  --dark: #1f2937;
  --bg: #f4fbff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--dark);
  background: var(--bg);
  scroll-behavior: smooth;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.section-head p {
  color: #4b5563;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(6px);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.logo {
  color: var(--dark);
  font-size: 1.45rem;
  font-weight: 800;
  text-decoration: none;
}

.logo span {
  color: var(--blue);
}

.nav {
  display: flex;
  gap: 16px;
}

.nav a {
  text-decoration: none;
  color: #374151;
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone,
.footer-phone,
.big-phone {
  color: var(--dark);
  text-decoration: none;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 191, 255, 0.35);
}

.btn-accent {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 107, 0, 0.35);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.8), rgba(0, 80, 130, 0.7)),
    url("https://images.unsplash.com/photo-1616662088025-123f34839f31?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 58px 0;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 14px;
  background: rgba(0, 191, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
}

.hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.hero-subtitle {
  max-width: 760px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #dbeafe;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-points span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.quiz-card,
.form-wrap {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.09);
}

.quiz-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--blue), #4f46e5);
  transition: width 0.25s ease;
}

.quiz-step {
  display: none;
  margin-top: 22px;
}

.quiz-step.active {
  display: block;
}

.quiz-options {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 12px;
}

.quiz-option {
  border: 1px solid #bfdbfe;
  background: #f0f9ff;
  color: #0c4a6e;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  border-color: var(--blue);
  background: #e0f2fe;
}

.quiz-result {
  display: none;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.quiz-result.visible {
  display: block;
}

.quiz-result h3 {
  font-size: 1.7rem;
  margin: 0 0 10px;
}

#quizPrice {
  color: var(--orange);
}

.price-note {
  margin: 16px 0 22px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  padding: 12px 14px;
  border-radius: 12px;
}

.price-grid,
.benefits-grid,
.steps,
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.price-card,
.benefits-grid article,
.steps article,
.reviews article {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(2, 8, 23, 0.07);
}

.price-card .price {
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 8px 0;
}

.steps article span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.lead-form,
.footer-form {
  display: grid;
  gap: 10px;
}

.lead-form input,
.lead-form textarea,
.footer-form input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 11px;
  padding: 12px;
  font: inherit;
}

.form-note {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #6b7280;
  font-size: 0.76rem;
}

.consent-line input[type="checkbox"] {
  margin-top: 2px;
}

.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 34px 0;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 16px;
}

.footer-phone {
  color: #fff;
}

.mobile-call,
.mobile-max {
  display: none;
}

.mobile-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 5px 20px rgba(255, 107, 0, 0.45);
  z-index: 50;
  animation: pulsePhone 1.8s infinite;
  align-items: center;
  justify-content: center;
}

.mobile-call svg {
  width: 28px;
  fill: #fff;
}

.mobile-max {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: transparent;
  box-shadow: none;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: visible;
  z-index: 50;
  animation: pulseMax 1.8s infinite;
}

.mobile-max svg {
  width: 52px;
  height: 52px;
  border-radius: 22%;
  filter: drop-shadow(0 4px 12px rgba(100, 80, 200, 0.45));
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulsePhone {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.45);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 5px 30px rgba(255, 107, 0, 0.7);
  }
}

@keyframes pulseMax {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(100, 100, 255, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 5px 30px rgba(130, 80, 230, 0.7);
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .header-phone {
    font-size: 0.95rem;
  }
  .price-grid,
  .benefits-grid,
  .steps,
  .reviews,
  .form-wrap,
  .footer-wrap {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  .header-wrap {
    flex-wrap: wrap;
  }
  .header-cta {
    width: 100%;
    justify-content: space-between;
  }
  .price-grid,
  .benefits-grid,
  .steps,
  .reviews,
  .form-wrap,
  .footer-wrap {
    grid-template-columns: 1fr;
  }
  .mobile-call,
  .mobile-max {
    display: flex;
  }
  .site-footer {
    padding-bottom: 92px;
  }
}
