@media (max-width: 720px) {
  :root {
    --side-padding: 15px;
  }

  .no-scroll {
    overflow: hidden;
  }

  .container__nav {
    position: absolute;
    width: 100%;
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: unset;
  }

  .container__nav.nav__burger--clicked {
    height: 100vh;
  }

  .section__content {
    padding: 30px var(--side-padding) 0 var(--side-padding);
  }

  h2 {
    font-size: 28px;
    line-height: 30px;
    padding-bottom: 25px;
  }

  .nav {
    display: flex;
    position: absolute;
    align-items: center;
    width: 80%;
    height: 55%;
    background-color: rgba(63, 118, 68, 0.95);
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden; /* Скрывает элемент */
    justify-content: center;
  }

  .container__nav.nav__burger--clicked .nav {
    opacity: 1;
    visibility: visible;
  }

  .nav::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #fff; /* Внешняя рамка */
  }

  .nav__menu {
    z-index: 1;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  .nav__burger--clicked .menu {
    display: flex;
  }

  .menu__item {
    font-size: 18px;
    line-height: 26px;
    text-align: center;
  }

  .hero {
    flex-direction: column-reverse;
  }

  .nav__logo {
    display: none;
  }

  /* Бургер */

  .nav__burger {
    display: flex;
    flex-direction: column;
    position: absolute;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
    width: 45px;
    height: 45px;
    right: 0;
    top: 0;
    background-color: var(--primary-color);
    cursor: pointer;
    border: none;
    z-index: 2; /* Поверхность над меню */
  }

  .burger__line {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }

  .burger__line:first-child {
    transform: translateY(-8px);
  }

  .burger__line:nth-child(3) {
    transform: translateY(8px);
  }

  .nav__burger--clicked .burger__line {
    transform: rotate(45deg);
  }

  .nav__burger--clicked .burger__line:nth-child(2) {
    opacity: 0;
  }

  .nav__burger--clicked .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(2px, 0px);
  }

  .nav__burger--clicked .burger__line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -1px);
  }

  /* Hero */

  .hero {
    height: 100vh;
  }

  .hero__head {
    margin-bottom: 20px;
  }

  .hero__text {
    flex: 2;
    padding: 0 var(--side-padding);
  }

  .hero__photo_wrapper {
    flex: 3;
    margin-bottom: 15px;
  }

  .hero__photo {
    object-position: top;
  }

  /* About */

  .cards {
    flex-direction: column;
    align-items: center;
    margin: 25px 0 0 0;
  }

  .cards__card {
    width: unset;
    gap: 10px;
  }

  .card__text {
    height: unset;
    margin-bottom: 30px;
  }

  /* Принципы */

  .text {
    font-size: 16px;
    line-height: 26px;
  }

  .text__emphasize {
    padding-left: 0;
    font-size: 16px;
    line-height: 26px;
  }

  /* Баннер */

  .banner {
    margin-left: 0;
    margin-top: 20px;
    padding: 60px var(--side-padding) 5px var(--side-padding);
  }

  .banner__text {
    font-size: 18px;
    line-height: 28px;
  }

  .banner__text::before {
    left: 50%;
    top: 15px;
    transform: translateY(0) translateX(-50%);
    background-image: url("../img/exclamation.svg");
  }

  /* Контактная информация */

  .contacts__wrapper {
    flex-direction: column;
    gap: 10px;
    padding-bottom: unset;
  }

  .contacts__descr__wrapper {
    width: unset;
  }

  .contacts__form {
    width: unset;
  }

  .form__wrapper {
    flex-direction: column;
  }

  .form__part {
    margin-top: 15px;
    width: unset;
  }

  .form__input {
    width: unset;
  }

  .form__part:nth-child(3) {
    padding-top: 0;
  }

  /* Модальное окно */

  .modal-header h2 {
    font-size: 18px;
    line-height: 22px;
    text-align: left;
  }

  h3 {
    font-size: 16px;
    line-height: 18px;
  }

  .data-processing__row {
    display: flex;
    flex-direction: column;
  }

  /* Футер */

  .footer__text {
    font-size: 9px;
    padding-right: 25px;
  }
}
