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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  background: #fff;
}

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

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

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffee;
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.header__logo img {
  height: 40px;
}

.header__nav {
  display: flex;
  gap: 16px;
}

.header__nav a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

.header__nav-cta {
  font-weight: 600;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.header__phone {
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

.header__tg {
  font-size: 13px;
  color: #0077ff;
  text-decoration: none;
}

/* Burger */

.header__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  padding: 0;
}

.header__burger span {
  display: block;
  height: 2px;
  background: #111;
}

/* HERO */

.hero {
  position: relative;
  padding: 40px 0 40px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

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

.hero__subtitle {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
}

.hero__list {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 14px;
}

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

/* FORM */

.form {
  padding: 16px;
  border-radius: 12px;
  background: #ffffffdd;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.form input,
.form select,
.form textarea {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
}

.form__checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
}

.form__checkbox input {
  margin-top: 3px;
}

.form__message {
  min-height: 18px;
  font-size: 12px;
}

.form__message--success {
  color: #0a8a3a;
}

.form__message--error {
  color: #c01818;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: #1976d2;
  color: #fff;
}

.btn--primary:hover {
  background: #0f63b3;
}

.btn--outline {
  border-color: #1976d2;
  color: #1976d2;
  background: transparent;
}

.btn--outline:hover {
  background: #e7f2ff;
}

/* SECTIONS */

.section {
  padding: 40px 0;
}

.section--gray {
  background: #f7f8fa;
}

.section--accent {
  background: #e7f2ff;
}

.section h2 {
  margin: 0 0 20px;
  font-size: 22px;
}

/* CARDS, STEPS, REVIEWS, FAQ и т.д. — кратко */

.cards {
  display: grid;
  gap: 16px;
}

.cards--services {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  font-size: 14px;
}

.card img {
  height: 40px;
  margin-bottom: 8px;
}

.card__price {
  font-weight: 600;
  margin-bottom: 4px;
}

.card__btn {
  margin-top: 8px;
  font-size: 13px;
  border: none;
  background: none;
  color: #1976d2;
  cursor: pointer;
  padding: 0;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* Reviews */

.reviews {
  display: grid;
  gap: 16px;
}

.review {
  display: flex;
  gap: 12px;
}

.review img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-item__question {
  width: 100%;
  padding: 10px 0;
  text-align: left;
  border: none;
  background: none;
  font-size: 14px;
  cursor: pointer;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  transition: max-height 0.2s ease;
}

.faq-item--open .faq-item__answer {
  max-height: 200px;
  padding-bottom: 8px;
}

/* Contacts */

.contacts {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.contacts__maps ul {
  padding-left: 18px;
  margin: 4px 0 0;
}

/* Footer */

.footer {
  padding: 16px 0;
  background: #111;
  color: #fff;
  font-size: 13px;
}

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

.footer a {
  color: #8fb7ff;
  text-decoration: none;
}

/* АДАПТИВ */

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

  .header__nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 16px 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #eee;
  }

  .header__nav--open {
    display: flex;
  }

  .header__burger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__form-wrapper {
    order: -1;
  }

  .contacts {
    grid-template-columns: 1fr;
  }

  .review {
    flex-direction: row;
  }
}
