/* Сброс и база */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* запрет выделения текста (не касается полей ввода) */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, select, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, Arial, sans-serif;
  color: #1D1D1B;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

a {
  color: #00B33C;
  text-decoration: none;
}

a:hover {
  color: #009930;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  background: #00B33C;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.btn:hover {
  background: #009930;
  color: #fff;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}


/* ===== ШАПКА ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.header .container {
  display: block;
  height: 64px;
  position: relative;
}

.logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav a {
  color: #1D1D1B;
  font-size: 14px;
  font-weight: 500;
  margin: 0 16px;
}

.nav a:hover {
  color: #00B33C;
}

.header .btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}


/* ===== HERO ===== */

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #f0faf3 0%, #e8f5ec 100%);
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 20px;
  color: #6B6B6B;
  margin-bottom: 12px;
}

.hero-offer {
  font-size: 22px;
  font-weight: 600;
  color: #00B33C;
  margin-bottom: 32px;
}


/* ===== СЕКЦИИ (общие) ===== */

section {
  padding: 80px 0;
}

section h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}


/* ===== КАРТОЧКИ ===== */

.cards {
  text-align: center;
}

.card {
  display: inline-block;
  vertical-align: top;
  width: 200px;
  padding: 24px 16px;
  margin: 8px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.card-problem {
  border: 1px solid #eee;
}

.card-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.card-problem p {
  font-size: 14px;
  color: #6B6B6B;
}

.problems {
  background: #F5F5F5;
}

.problems-solution {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #00B33C;
  margin-top: 32px;
}


/* ===== УСЛУГИ ===== */

.services-list {
  max-width: 640px;
  margin: 0 auto;
}

.service-item {
  position: relative;
  padding: 16px 0 16px 48px;
  border-bottom: 1px solid #eee;
}

.service-item .check {
  position: absolute;
  left: 0;
  top: 16px;
  color: #00B33C;
  font-size: 22px;
  font-weight: 700;
}

.service-item strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.service-item p {
  font-size: 14px;
  color: #6B6B6B;
}


/* ===== СХЕМА РАБОТЫ ===== */

.workflow {
  background: #F5F5F5;
}

.steps {
  text-align: center;
}

.step {
  display: inline-block;
  vertical-align: top;
  width: 180px;
  text-align: center;
  margin: 0 8px;
}

.step-num {
  display: block;
  width: 56px;
  height: 56px;
  line-height: 56px;
  margin: 0 auto 16px;
  background: #00B33C;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
}

.step p {
  font-size: 14px;
  color: #6B6B6B;
}

.step-arrow {
  display: inline-block;
  vertical-align: top;
  font-size: 28px;
  color: #ccc;
  margin-top: 16px;
  padding: 0 4px;
}


/* ===== ДЛЯ КОГО ===== */

.card-audience {
  width: 240px;
  border: 2px solid #00B33C;
  padding: 28px 20px;
}

.card-audience strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

.card-audience p {
  font-size: 14px;
  color: #6B6B6B;
}


/* ===== КАЛЬКУЛЯТОР ===== */

.calculator {
  background: #F5F5F5;
}

.calc-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.calc-fields {
  text-align: left;
  margin-bottom: 24px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #00B33C;
}

.calc-result {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 2px solid #00B33C;
  font-size: 18px;
}

.calc-result strong {
  font-size: 28px;
  color: #00B33C;
}


/* ===== КЕЙСЫ ===== */

.card-case {
  width: 300px;
  border: 1px solid #eee;
  padding: 28px 20px;
}

.case-label {
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 15px;
}

.case-compare {
  position: relative;
  overflow: hidden;
}

.case-before, .case-after {
  display: inline-block;
  width: 48%;
  text-align: center;
  padding: 12px 0;
}

.case-before {
  background: #fff0f0;
  border-radius: 8px;
}

.case-after {
  background: #e8f5ec;
  border-radius: 8px;
}

.case-tag {
  display: block;
  font-size: 12px;
  color: #6B6B6B;
  margin-bottom: 4px;
}

.case-price {
  display: block;
  font-size: 24px;
  font-weight: 700;
}

.case-before .case-price {
  color: #cc3333;
}

.case-after .case-price {
  color: #00B33C;
}

.case-desc {
  display: block;
  font-size: 12px;
  color: #6B6B6B;
}

.case-saving {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
}


/* ===== ЛИД-МАГНИТ ===== */

.leadmagnet {
  background: #00B33C;
  color: #fff;
}

.leadmagnet h2 {
  color: #fff;
}

.leadmagnet-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.leadmagnet-title {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 12px;
}

.leadmagnet-form {
  margin-top: 24px;
}

.leadmagnet-form input {
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  width: 280px;
  margin-right: 8px;
  font-family: inherit;
}

.leadmagnet-form .btn {
  background: #1D1D1B;
  padding: 14px 28px;
}

.leadmagnet-form .btn:hover {
  background: #333;
}


/* ===== ФОРМА ЗАЯВКИ ===== */

.contact {
  background: #F5F5F5;
}

.contact-sub {
  text-align: center;
  color: #6B6B6B;
  margin-top: -32px;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-fields {
  text-align: left;
}

.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: #999;
}


/* ===== КВИЗ ===== */

.quiz-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 200;
}

.quiz-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 480px;
  max-width: 90%;
  text-align: center;
}

.quiz-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

.quiz-progress {
  height: 4px;
  background: #eee;
  border-radius: 2px;
  margin-bottom: 32px;
}

.quiz-bar {
  height: 100%;
  background: #00B33C;
  border-radius: 2px;
  transition: width 0.3s;
}

.quiz-step h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.quiz-options {
  text-align: center;
}

.quiz-opt {
  display: block;
  width: 100%;
  padding: 14px;
  margin-bottom: 10px;
  border: 2px solid #eee;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s;
}

.quiz-opt:hover {
  border-color: #00B33C;
}

.quiz-step .field {
  text-align: left;
}

.quiz-step .btn {
  margin-top: 8px;
}


/* ===== МЕССЕНДЖЕРЫ ===== */

.messengers {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
}

.msg-btn {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  text-align: center;
  line-height: 52px;
  margin-top: 8px;
}

.msg-btn svg {
  vertical-align: middle;
  margin-top: -2px;
}

.msg-wa {
  background: #25D366;
}

.msg-tg {
  background: #2AABEE;
}


/* ===== ПОДВАЛ ===== */

.footer {
  background: #1D1D1B;
  color: #ccc;
  padding: 48px 0 24px;
}

.footer-top {
  overflow: hidden;
  padding-bottom: 24px;
  border-bottom: 1px solid #333;
}

.footer-brand,
.footer-nav,
.footer-contact {
  display: inline-block;
  vertical-align: top;
  width: 32%;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 14px;
}

.footer-nav strong,
.footer-contact strong {
  display: block;
  color: #fff;
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-nav a,
.footer-contact a {
  display: block;
  color: #999;
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #00B33C;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #666;
}


/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .header .btn {
    right: 16px;
  }

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

  .hero h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-offer {
    font-size: 18px;
  }

  section {
    padding: 48px 0;
  }

  section h2 {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .card {
    display: block;
    width: auto;
    margin: 8px 0;
  }

  .card-audience {
    width: auto;
  }

  .card-case {
    width: auto;
  }

  .step {
    display: block;
    width: auto;
    margin: 0 0 24px;
  }

  .step-arrow {
    display: block;
    margin: 0 0 12px;
    transform: rotate(90deg);
  }

  .footer-brand,
  .footer-nav,
  .footer-contact {
    display: block;
    width: auto;
    margin-bottom: 24px;
  }

  .leadmagnet-form input {
    width: 100%;
    margin: 0 0 8px;
  }

  .quiz-modal {
    padding: 28px 20px;
  }
}
