:root {
  --color-orange: #f90;
  --color-light-orange: #ffb84d;
  --color-dark-orange: #e1670e;
  --color-gray: #666;
  --color-light-gray: #cacaca;
  --color-dark-gray: #414141;
}

@media (max-width: 1600px) {
  .header__nav {
    margin-right: auto;
  }

  .content-left__desc {
    flex-direction: column;
    align-items: center;
  }

  .content-left__text {
    margin-right: 0;
  }
}

/* для макета 1024 */
@media (max-width: 1200px) {
  .header__top {
    margin-bottom: 38px;
  }

  .section {
    padding: 40px 0;
  }

  .main {
    padding-bottom: 40px;
  }

  .header__nav {
    position: absolute;
    left: 0;
    top: 0;
    width: 420px;
    min-width: 250px;
    height: 100%;
    max-height: 100vh;
    z-index: 1000;
    box-shadow: 0px 5px 40px rgba(0, 0, 0, 0.1);
    border-radius: 0px 0px 32px 32px;
    background-color: white;
    visibility: hidden;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: visibility .3s ease-in-out, transform .3s ease-in-out;
  }

  .header__nav .nav__list {
    flex-direction: column;
    align-self: flex-start;
  }

  .header__nav .nav__link {
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
  }

  .header__nav--active {
    visibility: visible;
    transform: none;
  }

  .nav__list {
    position: absolute;
    gap: 60px;
    padding: 38px 50px;
    align-items: normal;
  }

  .form-search {
    top: 6.3%;
  }

  .stop-scroll {
    overflow: hidden;
  }

  .burger,
  .nav__close {
    position: relative;
    display: block;
    margin-right: 39%;
    width: 30px;
    height: 27px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color .3s ease-in-out;
  }

  .nav__close {
    display: block;
    align-items: normal;
    margin-bottom: 47px;
  }

  .header__nav {
    flex-direction: column;
  }

  .burger__line {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: black;
    transform: translateX(-50%);
    transition: background-color .3s ease-in-out;
  }

  .burger__line:nth-child(1) {
    top: 1px;
  }

  .burger__line:nth-child(2) {
    top: 44%;
  }

  .burger__line:nth-child(3) {
    bottom: 3px;
  }

  .burger:focus-visible,
  .nav__close:focus-visible {
    outline: 2px solid var(--color-orange);
  }

  .burger:active .burger__line {
    background-color: var(--color-dark-orange);
  }

  .close__svg rect {
    transition: fill .3s ease-in-out;
  }

  .nav__close:active .close__svg rect {
    fill: var(--color-dark-orange);
  }

  .header__logo {
    width: 150px;
    height: 48px;
  }

  .hero-slider_content {
    min-height: 668px;
    padding: 160px 77px 160px 77px;
  }

  .swiper-slide-1 {
    background-image: url("../img/slider-1-1024.png");
  }

  .swiper-slide-2 {
    background-image: url("../img/slider-2-1024.png");
  }

  .swiper-slide-3 {
    background-image: url("../img/slider-3-1024.png");
  }

  .hero__title {
    margin-bottom: 16px;
    font-weight: 800;
    font-size: 60px;
    line-height: 73px;
  }

  .hero__descr {
    font-size: 20px;
    line-height: 24px;
  }

  .hero__btn {
    max-width: max-content;
    padding: 25px 39px;
    color: #fff;
  }

  .advantage {
    flex-direction: column;
  }

  .about__descr {
    margin-bottom: 57px;
  }

  .advantage__content-left {
    width: 100%;
    min-height: 640px;
    background-image: url("../img/about-1024.png");
  }

  .content-left__desc {
    flex-direction: row;
  }

  .content-left__text {
    margin-right: 15px;
  }

  .advantage__content-right {
    width: 100%;
  }

  .content-right__item {
    padding: 7% 15% 6.5% 34.3%;
  }

  .content-right__item-1 {
    background-position: 10.3% 50.2%;
    background-size: 20.8%;
  }

  .content-right__item-2 {
    background-position: 10.3% 50%;
    background-size: 20.8%;
  }

  .content-right__text {
    line-height: 32px;
  }

  .work__nav {
    margin-bottom: 50px;
  }

  .work-content__text {
    margin-bottom: 25px;
  }

  .work-content__descr {
    width: calc((100% - 5%) / 2);
  }

  .work-content__descr-1:before,
  .work-content__descr-2:before,
  .work-content__descr-3:before,
  .work-content__descr-4:before {
    width: calc((100% - 5%) / 2);
  }

  .work-content__descr-1:before {
     background-image: url("../img/working-1-1024.png");
  }

  .work-content__descr-2:before {
    background-image: url("../img/working-2-1024.png");
  }

  .work-content__descr-3:before {
    background-image: url("../img/working-3-1024.png");
  }

  .work-content__descr-4:before {
    background-image: url("../img/working-4-1024.png");
  }

  .questions__title {
    padding-top: 0;
    margin-bottom: 20px;
  }

  .questions__btn__text {
    padding-top: 0;
    padding-bottom: 0;
    max-width: 84%;
    font-size: 20px;
  }

  .footer__form {
    max-width: 541px;
    margin-right: 0;
  }

  .form__btn {
    padding-left: 38px;
    padding-right: 38px;
  }

  .footer__info {
    display: none;
  }
}

/* для макета 768 */
@media (max-width: 992px) {
  .header__top {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .header__container {
    min-height: 59px;
  }

  .burger {
    margin-right: 34.5%;
  }

  .header__nav {
    border-radius: 0px 0px 24px 24px;
  }

  .nav__list {
    padding: 23px 50px;
  }

  .nav__close {
    margin-bottom: 45px;
  }

  .form-search {
    top: 34px;
  }

  .main {
    padding-bottom: 72px;
  }

  .hero-slider_content {
    min-height: 662px;
    padding: 24.3% 6% 24% 6%;
  }

  .swiper-slide {
    border-radius: 24px;
  }

  .swiper-slide-1 {
    background-image: url("../img/slider-1-768.png");
  }

  .swiper-slide-2 {
    background-image: url("../img/slider-2-768.png");
  }

  .swiper-slide-3 {
    background-image: url("../img/slider-3-768.png");
  }

  .hero__title {
    font-size: 50px;
    line-height: 61px;
  }

  .hero__descr {
    margin-bottom: 60px;
    font-size: 18px;
    line-height: 22px;
  }

  .about {
    padding-top: 35px;
  }

  .about__descr {
    margin-bottom: 52px;
  }

  .advantage__content-left {
    background-image: url("../img/about-768.png");
    border-radius: 24px;
    min-height: 650px;
  }

  .content-left__desc {
    padding: 34px 40px;
    border-radius: 24px;
  }

  .content-left__text {
    max-width: 65%;
  }

  .content-right__item {
    height: calc((100% - 32px) / 2);
    min-height: 235px;
    padding: 5.4% 6% 4% 25.3%;
    border-radius: 24px;
  }

  .content-right__item-1 {
    background-position: 6.7% 50%;
    background-size: 17.5%;
  }

  .content-right__item-2 {
    background-position: 6.7% 50%;
    background-size: 17.5%;
  }

  .content-right__title {
    margin-bottom: 8px;
  }

  .work__list {
    justify-content: space-between;
  }

  .work-content__descr {
    width: 100%;
    padding-top: 324px;
  }

  .work-content__descr-1:before,
  .work-content__descr-2:before,
  .work-content__descr-3:before,
  .work-content__descr-4:before {
    width: 100%;
    height: 284px;
    top: 0;
    border-radius: 24px;
  }

  .work-content__descr-1:before {
    background-image: url("../img/working-1-768.png");
  }

  .work-content__descr-2:before {
    background-image: url("../img/working-2-768.png");
  }

  .work-content__descr-3:before {
    background-image: url("../img/working-3-768.png");
  }

  .work-content__descr-4:before {
    background-image: url("../img/working-4-768.png");
  }

  .work-content__text br  {
    display: none;
  }

  .questions {
    padding-top: 7px;
  }

  .questions__btn__text {
    max-width: 86%;
  }

  .footer {
    padding-bottom: 46px;
  }

  .footer-content {
    flex-direction: column-reverse;
  }

  .footer__form {
    margin-bottom: 50px;
  }

  .footer__links {
    margin: 0;
  }

  .footer__nav {
    display: none;
  }

  .footer__logo {
    margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .hero-slider_content {
    padding: 17% 6% 17% 6%;
  }

  .hero__title {
    font-size: 45px;
  }

  .form-search {
    top: 34px;
  }

  .content-left__desc {
    flex-direction: column;
  }

  .content-left__text {
    margin-right: 0;
    max-width: 100%;
  }

  .work__list {
    gap: 10%;
  }
}

@media (max-width: 576px) {
  .hero-slider_content {
    align-items: center;
    min-height: 308px;
    padding: 60px 22px 59px 21px;
    text-align: center;
  }

  .nav__list {
    padding: 23px 15px;
    gap: 0;
  }

  .nav__item:not(:last-child) {
    margin: 0 0 32px 0;
  }

  .nav__close {
    margin-bottom: 0;
  }

  .header__nav .nav__link {
    font-size: 16px;
    line-height: 20px;
  }

  .form-search {
    right: 0;
    width: 100%;
    max-width: 576px;
    height: 69px;
  }

  .swiper-slide {
    border-radius: 16px;
  }

  .swiper-slide-1 {
    background-image: url("../img/slider-1-320.png");
  }

  .swiper-slide-2 {
    background-image: url("../img/slider-2-320.png");
  }

  .swiper-slide-3 {
    background-image: url("../img/slider-3-320.png");
  }

  .hero__title {
    max-width: 300px;
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 24px;
  }

  .hero__descr {
    max-width: 300px;
    margin-bottom: auto;
    font-size: 12px;
    line-height: 15px;
  }

  .hero__btn {
    padding: 13px 28px;
    font-size: 12px;
    line-height: 15px;
    border-radius: 8px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .header__top {
    border-radius: 0px 0px 16px 16px;
    margin-bottom: 30px;
  }

  .header__container {
    align-content: space-between;
  }

  .burger {
    margin-right: auto;
  }

  .header__logo {
    width: 110px;
    height: 35px;
  }

  .main {
    padding-bottom: 31px;
  }

  .title {
    font-size: 24px;
    line-height: 29px;
  }

  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about {
    padding-top: 60px;
  }

  .about__descr {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 28px;
  }

  .advantage {
    gap: 0;
  }

  .advantage:not(:last-child) {
    margin-bottom: 32px;
  }

  .advantage__content-left {
    min-height: 410px;
    flex-direction: column-reverse;
    position: relative;
    background-image: none;
  }

  .advantage__content-left::before {
    content: "";
    position: absolute;
    width: 100%;
    max-height: 263px;
    bottom: 0;
    right: 0;
    top: 0;
    background-image: url("../img/about-320.png");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 14px;
  }

  .advantage__content-left {
    margin-bottom: 32px;
  }

  .content-left__desc {
    max-width: 100%;
    flex-direction: column;
    padding: 0;
    background-color: transparent;
  }

  .content-left__text {
    padding: 0;
    margin-bottom: 11px;
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    color: black;
  }

  .btn-wrapper {
    align-self: baseline;
    padding: 0;
  }

  .content-left__btn {
    padding: 9px 42px;
    color: var(--color-orange);
    border-radius: 8px;
    font-size: 12px;
    line-height: 15px;
  }

  .content-right__list {
    gap: 0;
  }

  .content-right__item:not(:last-child) {
    margin-bottom: 32px;
  }

  .content-right__item {
    min-height: max-content;
    padding: 21% 0 0 0;
    border: none;
  }

  .content-right__item-1 {
    background-image: url("../img/about-right-1-320.svg");
    background-position: top left;
    background-size: 22%;
  }

  .content-right__item-2 {
    background-image: url("../img/about-right-2-320.svg");
    background-position: top left;
    background-size: 22%;
  }

  .content-right__title {
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
  }

  .content-right__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
  }

  .work__title {
    margin-bottom: 21px;
  }

  .work__nav {
    margin-bottom: 16px;
  }

  .work__item {
    font-size: 14px;
    line-height: 17px;
  }

  .work__list {
    gap: 10%;
  }

  .work-content__descr-1:before,
  .work-content__descr-2:before,
  .work-content__descr-3:before,
  .work-content__descr-4:before {
    max-height: 210px;
    border-radius: 16px;
  }

  .work-content__descr-1:before {
    background-image: url("../img/working-1-320.png");
  }

  .work-content__descr-2:before {
    background-image: url("../img/working-2-320.png");
  }

  .work-content__descr-3:before {
    background-image: url("../img/working-3-320.png");
  }

  .work-content__descr-4:before {
    background-image: url("../img/working-4-320.png");
  }

  .work-content__descr {
    padding-top: 226px;
  }

  .title-3 {
    font-weight: 500;
    font-size: 18px;
  }

  .work-content__text {
    max-width: 100%;
    font-size: 14px;
    line-height: 28px;
  }

  .work-content__btn {
    border-radius: 8px;
  }

  .work-content__btn--fill {
    padding: 11px 43px;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    margin-right: 6px;
  }

  .work-content__btn--stroke {
    padding: 11px 31px;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
  }

  .questions__title {
    padding: 0;
    margin-bottom: 16px;
  }

  .questions__btn {
    align-items: center;
  }

  .questions__btn__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
  }

  .btn__svg {
    width: 30px;
    height: 30px;
  }

  .accordion--active .questions__lead:not(:last-child) {
    margin-bottom: 20px;
  }

  .questions__bottom {
    font-weight: 400;
    font-size: 12px;
    line-height: 25px;
  }

  .footer {
    padding-top: 17px;
    padding-bottom: 12px;
  }

  .footer__title {
    margin-bottom: 20px;
  }

  .form__input,
  .form__textarea {
    padding: 14px 20px;
  }

  .form__input::placeholder,
  .form__textarea::placeholder {
    font-size: 14px;
  }

  .form__textarea {
    margin-bottom: 25px;
  }

  .form__btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 15px;
  }

  .footer__form {
    max-width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-dark-gray);
  }

  .footer__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 15px;
    align-items: center;
  }

  .logo-dark {
    width: 131px;
    height: 42px;
  }

  .social {
    gap: 0;
  }

  .social__item:not(:last-child) {
    margin-right: 16px;
  }

  .social__svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .advantage__content-left {
    min-height: 455px;
  }

  .form-search__input {
    margin: 0;
  }
}

@media (max-width: 320px) {
  .advantage__content-left::before {
    max-height: 200px;
  }

  .advantage__content-left {
    min-height: 399px;
  }

  .work-content__descr-1:before,
  .work-content__descr-2:before,
  .work-content__descr-3:before,
  .work-content__descr-4:before {
    max-height: 160px;
  }

  .work-content__descr {
    padding-top: 176px;
  }

}

