/* === Tablet (992px–1199px) === */
@media (max-width: 1200px) {

  .hero-left,
  .hero__container {
    flex: 1 1 50%;
    max-width: 50%;
  }

  .hero-right {
    max-width: 500px;
  }

  .hero__title {
    font-size: 42px;
    text-align: left;
  }
}

/* === Mobile (≤992px) === */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    min-height: auto;
    text-align: center;
  }

  .hero-left,
  .hero__container {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .hero__container {
    order: 1;
  }

  .hero-left {
    order: 2;
    margin-top: 20px;
  }

  .hero-left picture,
  .hero-left-img {
    margin: 0 auto;
  }

  .hero-right {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .hero__title {
    font-size: 32px;
    text-align: center;
  }

  .hero-btn {
    width: 240px;
    height: 60px;
  }
}

@media (max-width: 520px) {
  .hero__title {
    font-size: 36px;
  }

  .hero-btn {
    width: 250px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .feature__content {
    text-align: center;
  }
}

@media (max-width: 550px) {
  .section__title {
    font-size: 40px;
  }

  .section__text {
    font-size: 20px;
  }

  .features__card {
    width: 100%;
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
}

@media (max-width: 1200px) {
  .perfect__cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .perfect__card {
    width: 45%;
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
}

@media (max-width: 992px) {
  .perfect__title {
    text-align: center;
  }
  .perfect__cards {
    margin-top: 40px;
  }
}

@media (max-width: 780px) {
  .perfect__cards {
    flex-wrap: wrap;
    justify-content: center;
  }

  .perfect__card {
    width: 90%;
  }
}

/* === Responsive === */
@media (max-width: 992px) {
  .testimonials__title {
    /* font-size: 1.8rem; */
    text-align: center;
  }
}

@media (max-width: 600px) {
  .testimonials {
    padding: 40px 15px;
  }

  .testimonials__card {
    padding: 24px;
  }

  .testimonials__user-img {
    width: 50px;
    height: 50px;
  }
}

/* === questions__section === */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  .questions__section {
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }

  .faq__content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .questions__title {
    width: 65%;
    height: auto;
    text-align: center;
  }

  .faq__item {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
  }
}

/* Смартфоны (до 768px) */
@media (max-width: 768px) {
  .questions__section {
    padding: 30px 16px;
    margin: 40px auto;
    border-radius: 24px;
  }

  .faq__question {
    font-size: 18px;
  }

  .faq__item {
    padding: 20px;
    height: auto;
  }
}

/* Маленькие смартфоны (до 480px) */
@media (max-width: 480px) {
  .questions__title {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .faq__question {
    font-size: 16px;
  }

  .faq__answer p {
    font-size: 0.9rem;
  }
}

/* === footer__content === */
@media (max-width: 992px) {
  .footer__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .footer__btn-img {
    width: 140px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 40px 20px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 10px;
  }

  .footer__btn-img {
    width: 120px;
  }
}
