@media (max-width: 1660px) {
  .container {
    max-width: 100%;
    margin: 0 6vw;
  }
  .main-navigation .menu {
    gap: 3vw;
  }
  .header__block {
    width: calc(100% - 200px);
  }
  .about__gallery div {
    width: calc(33% - 7px);
    height: 300px;
    overflow: hidden;
  }
	.about__gallery div:nth-child(4), .about__gallery div:nth-child(5) {
		width: calc(20% - 12px);
	}
.about__gallery div:nth-child(6), .about__gallery div:nth-child(7) {
    width: calc(30% - 12px);
  }
  .about__gallery div:nth-child(5) img {
    object-position: top center;
  }
  .about__gallery {
    justify-content: flex-start;
  }
  .about__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .btn-light::after {
    right: 40px;
  }
  .services__item-img {
    height: 325px;
    min-height: 325px;
  }
	.services__list {
		gap: 15px;
	}
	.services__item {
		width: calc(33% - 8px);
	}
}
@media (max-width: 1550px) {
    .btn {
        padding: 20px 40px 20px 20px;
        font-size: 18px;
        text-align: center;
        max-width: 100%;
    }

  .btn::after {
    top: calc(50% - 10px);
    right: 40px;
  }
}
@media (max-width: 1500px) {
  body {
    font-size: 16px;
  }
  .header__block {
    width: calc(100% - 240px);
    gap: 1.4vw;
  }
  .main-navigation .menu {
    gap: 2.2vw;
  }
  .menu-item {
    font-size: 16px;
  }
  .hero__title {
    font-size: 52px;
  }
  .hero__text {
    padding: 20px 0 40px;
    font-size: 20px;
  }
	.faq__tab {
		padding: 10px;
		font-size: 14px;
	}
	.contacts .btn {
		font-size: 24px;
		padding: 22px 88px 22px 48px;
	}
		.contacts .btn:after {
		top: calc(50% - 18px);
        right: 60px;
	}
  .btn-light {
    font-size: 16px;
  }
  .btn-light::after {
    right: 30px;
  }
  .hero__text-block {
    padding: 50px 0;
    max-width: 50%;
  }
  .hero__img-wrapper {
    height: 500px;
  }
  .after__hero-item {
    padding: 15px 0;
    font-size: 20px;
  }
  .after__hero-item img {
    width: 25px;
  }
  .about__video video {
    width: 100%;
    max-width: 930px;
    height: auto;
  }
  .title__block {
    font-size: 36px;
  }
  .about .title__block {
    margin-bottom: 15px;
  }
  .about__block-text {
    max-width: 35%;
    font-size: 20px;
  }
  .benefits__wrapper {
    gap: 25px;
  }
  .benefits__item {
    width: 14vw;
    min-height: auto;
    font-size: 16px;
  }
  .benefits__block {
    max-width: 100%;
  }
  .services__item-title {
    font-size: 24px;
  }
	.services__item-title-last {
		font-size: 30px;
	}
  .services__item-block {
    max-height: 485px;
  }
.services__item-text {
    min-height: 130px;
  }
  .work__text {
    margin: 25px 0 40px;
    max-width: 600px;
    font-size: 20px;
  }
  .work__item {
    gap: 25px;
  }
  .work__item-num {
    font-size: 18px;
    max-width: 150px;
  }
  .work__item-name {
    font-size: 20px;
  }
  .work__list {
    background: url(../img/Line-3.png) no-repeat top left 70px;
  }
  .results__slide-text {
    font-size: 16px;
  }
  .results__slide-text h4 {
    margin-bottom: 15px;
    font-size: 24px;
  }
  .compare-container {
    height: 450px;
  }
  .results__slide-text-wrapper {
    height: 425px;
    padding: 35px 25px;
    margin-bottom: 25px;
  }
  .splide__arrow {
    width: 75px;
    height: 75px;
  }
  .splide__arrow--prev {
    right: 135px;
  }
  .splide__arrow--prev:not(:disabled), .splide__arrow--next:not(:disabled),
  .splide__arrow--next:hover:not(:disabled), .splide__arrow--prev:hover:not(:disabled),
  .splide__arrow--next:hover:disabled, .splide__arrow--prev:hover:disabled,
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-next, 
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-prev,
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-next:hover, 
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-prev:hover {
    background-size: 12px;
  }
  .team__block {
    font-size: 18px;
  }
	.contacts__block .title__block {
		margin-bottom: 20px;
	}
	.contacts__social-list {
  		margin-bottom: 20px;
	}
	.contacts__text-block {
		margin-bottom: 15px;
	}
	.contacts .btn {
        padding: 20px 80px 20px 40px;
        font-size: 18px;
    }
	.contacts .btn:after {
        top: calc(50% - 12px);
        right: 40px;
    }
  .contacts__wrapper iframe {
    max-width: 800px;
    width: calc(100% - 480px);
  }
  .contacts__text-block {
    font-size: 18px;
  }
  .contacts__text-block .name {
    font-size: 16px;
  }
  .services__item-img {
    height: 295px;
    min-height: 295px;
  }
  .benefits__list-wrapper {
    gap: 15px;
  }
  .faq__question {
    padding-right: 55px;
  }
  .team__list {
    gap: 20px;
  }
  .team__item-text {
    padding: 20px;
    bottom: 12px;
  }
  .team__item-text .name {
    font-size: 18px;
  }
  .team__item-text .position {
    font-size: 14px;
  }
}
@media (max-width: 1400px) {
	.faq__tab {
		padding: 10px 7px;
	}
	.footer__center {
		max-width: fit-content;
		width: fit-content;
    	gap: 50px;
	}
	.services__item-last {
		padding: 40px;
	}
	  .benefits, .work, .faq, .contacts {
    padding: 35px 0;
  }
  .services, .results, .team {
    padding: 35px 0 110px;
  }
	.about {
    padding: 70px 0 35px;
  }
.contacts__text-block {
    font-size: 15px;
	padding: 10px 15px;
  }
	.contacts__social-item {
		padding: 12px 16px;
	}
	 .services__item-text {
    	min-height: 140px;
	}
}
@media (max-width: 1359px) {
  .benefits__wrapper {
    flex-direction: column;
  }
	.benefits__item {
		width: 245px;
	}

}
@media (max-width: 1200px) {
  .main-navigation .menu {
    gap: 30px;
  }
  .hero__title {
    font-size: 42px;
  }
  .hero__text-block {
    padding: 50px 0;
    max-width: 50%;
  }
  .hero__img-wrapper {
    height: 500px;
	  gap: 15px;
  }
	.hero__img-block {
		gap: 15px;
	}
  .services__item-block {
    max-height: 460px;
  }
  .work__list {
    padding: 40px 0;
    background: url(../img/Line-3.png) no-repeat top left 80px;
    gap: 30px;
  }
  .services__item-img {
    height: 250px;
    min-height: 250px;
  }
  .services__item-last {
    padding: 30px;
  }
  .footer__center {
    width: calc(100% - 450px);
  }

}
@media (max-width: 1100px) {
	.header__block {
		justify-content: flex-end;
	}
  .header__wrapper-phone.mobile {
		display: flex;
	}
	.header__wrapper-phone.desktop {
		display: none;
	}
  .burger-menu {
    margin-left: 50px;
    width: 22px;
    height: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
  }
  .burger-item {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
    border-radius: 5px;
  }
  .header.dark .burger-item {
    background-color: #fff;
  }
  .burger-item:first-child {
    width: 50%;
  }
  .burger-item:last-child {
    width: 50%;
    margin-left: auto;
  }
  .nav__wrapper {
    padding: 0;
    position: fixed;
    flex-direction: column;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  .nav__wrapper.active {
    right: 0;
  }
  .burger-menu.active .burger-item:nth-child(1) {
    width: 22px;
    transform: translateY(6px) rotate(45deg);
  }
  .burger-menu.active .burger-item:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active .burger-item:nth-child(3) {
    width: 22px;
    transform: translateY(-6px) rotate(-45deg);
  }
  .main-navigation {
    background: #f2f2f2;
    padding: 50px;
  }
  .header.dark .main-navigation {
    background: var(--text-color-dark);;
  }
  .main-navigation .menu {
    flex-direction: column;
    align-items: flex-start;
  }
  .services__list {
    flex-wrap: nowrap;
  }
  .services__item {
    min-width: 400px;
  }
  .services__item:hover .services__item-block-inner {
    transform: translateY(-15%);
  }
	.services__item-text {
        min-height: auto;
    }
}
@media (max-width: 1024px) {
  .splide__arrow, .reviews__list .ti-widget.ti-goog .ti-controls .ti-next, 
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-prev {
    width: 50px;
    height: 50px;
    top: auto;
  }
  .splide__arrow--prev {
    left: calc(50% - 60px);
    bottom: -80px;
  }
  .splide__arrow--next {
    right: calc(50% - 60px);
    bottom: -80px;
  }
  .splide__arrow--prev:not(:disabled), .splide__arrow--next:not(:disabled),
  .splide__arrow--next:hover:not(:disabled), .splide__arrow--prev:hover:not(:disabled),
  .splide__arrow--next:hover:disabled, .splide__arrow--prev:hover:disabled,
  .splide__arrow--next:disabled, .splide__arrow--prev:disabled,
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-next, 
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-prev,
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-next:hover, 
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-prev:hover {
    background-size: 10px;
  }
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-next {
    right: calc(50% - 75px);
  }
  .reviews__list .ti-widget.ti-goog .ti-controls .ti-prev {
    left: calc(50% - 75px);
  }
  .benefits__list-wrapper {
    margin: 0 auto;
    flex-wrap: wrap;
    max-width: 700px;
    justify-content: center;
  }
  .benefits__item {
    min-height: 150px;
    font-size: 16px;
  }
  .benefits__item-ico {
    width: 40px;
    height: 40px;
  }
  .benefits__item-ico img {
    width: 80%;
  }
  .benefits__list-wrapper.mobile {
    display: flex;
  }
  .benefits__list-wrapper.mobile > div {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .benefits__list-wrapper.mobile > div:last-child, .benefits__list:nth-child(2) {
    flex-direction: column-reverse;
  }
  .benefits__list-wrapper.desktop {
    display: none;
  }
  .benefits__list:nth-child(2), .benefits__list:nth-child(4) {
    margin-top: 0;
  }
  .about__gallery div {
    width: calc(33% - 8px);
  }
  .work__wrapper {
    flex-wrap: wrap;
  }
  .work__list {
    width: 100%;
  }
  .work__text {
    max-width: 100%;
  }
  .team__list {
    flex-wrap: initial;
  }
  .team {
    padding-bottom: 100px;
  }
  .team__item {
    height: auto;
  }
  .team__item-text {
    padding: 20px 24px;
  }
  .team__item-text .name {
    font-size: 18px;
  }
  .team__item-text .position {
    font-size: 14px;
  }
  .faq__item {
    padding: 25px 0;
  }
  .faq__question::after {
    width: 32px;
    height: 32px;
    top: -5px;
    background-size: 10px;
  }
  .faq__item.active .faq__question::after {
    background-size: 10px;
  }
  .faq__answer p {
    font-size: 16px;
  }
  .footer__center {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .footer__wrapper {
    flex-wrap: wrap;
  }
	  .services__splide {
    margin-top: 40px;
  }
  .services__item-block {
    max-height: 100%;
    height: 100% !important;
    overflow: visible;
  }
	.services__item-last {
		display: none;
	}
  .services__item:hover .services__item-block-inner {
    transform: translateY(0);
  }
  .services__item .btn-light {
	margin-top: auto;
    background: linear-gradient(90deg, #C68762 0%, #604130 50%, #C68762 100%);
    background-size: 200% 100%;
    background-position: left;
    color: #fff;
  }
  .btn.btn-light:hover:after, .btn.btn-light:after {
    content: url(../img/btn-bg.svg);
  }
  .btn.btn-light:hover {
    background-position: right;
    transform: none;
  }
  .services__item:hover {
    background: none;
  }
  .services__item:hover .services__item-title {
    color: var(--accent-color);
  }
  .services__item:hover .services__item-text {
    color: #484848;
  }
  .services__list {
    gap: 15px;
  }
	.results__slide-text {
		max-width: 50%;
	}
}
@media (max-width: 991px) {
  .about .title__block.mobile {
    display: block;
  }
  .about  .title__block.desktop {
    display: none;
  }
  .about__block {
    flex-direction: column;
    gap: 30px;
  }
  .about__block-text {
    max-width: 100%;
  }
  .about__video video {
    width: 100%;
  }
  .about .title__block {
    margin-bottom: 0;
  }
  .through {
    display: inline-block;
  }
  .team__slider .through, .faq__tabs .through {
    display: none;
  }
	.reviews {
    padding: 35px 0;
  }
  .work__wrapper {
    gap: 15px;
  }
  .work__block {
    margin-top: 0;
  }
  .work__text {
    margin: 25px 0;
  }
  .results__slider {
    margin-top: 40px;
  }
  .team__wrapper {
    gap: 20px;
  }
  .footer__wrapper, .after__hero-list, .team__wrapper {
    flex-direction: column;
  }
  .team__block, .team__slider {
    max-width: 100%;
  }
  .after__hero-item:first-child, .after__hero-item:last-child, .after__hero-item:nth-child(2) {
    width: 100%;
    border-left: none;
    border-right:none;
    justify-content: center;
  }
  .after__hero-item:nth-child(2) {
    border-top: 1px solid #BFAA9E;
    border-bottom: 1px solid #BFAA9E;
  }
  .after__hero {
    padding: 0;
  }
  .footer__center {
    width: 100%;
  }
  .title__block br {
    display: none;
  }
	.contacts__social-item {
		width: fit-content;
	}
	.contacts__block, .contacts__wrapper iframe {
    	width: 50%;
	}
	.contacts__social-list {
		gap: 5px;
	}
}
@media (max-width: 920px) {
    .faq .through {
		display: inline-block;
		top: 85px;
    right: 20px;
	}
}
@media (max-width: 800px) {
	.contacts__wrapper {
    flex-direction: column;
	}
  .hero__text-block, .hero__img-wrapper {
    max-width: 100%;
  }
  .hero__wrapper, .results__slide, .reviews__wrapper {
    flex-direction: column;
  }
  .reviews__list, .contacts__wrapper iframe {
    max-width: 100%;
    width: 100%;
    height: 300px;
  }
  .contacts__social-item {
    width: calc(33% - 10px);
    font-size: 14px;
  }
  .contacts__social-list {
    margin-bottom: 30px;
    gap: 5px;
  }
  .contacts {
    padding: 35px 0 0;
  }
	.contacts__block {
		width: 550px;
	}
  .hero__img-wrapper.desktop {
    display: none;
  }
  .hero__wrapper-img.mobile {
    margin-bottom: 50px;
    max-height: 330px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    gap: 20px;
    scrollbar-width: none;
  }
  .hero__wrapper-img.mobile > div {
    width: 300px;
    flex: 0 0 auto;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
  }
  .hero__wrapper-img.mobile > div:nth-child(odd) {
    height: calc(320px - 50px);
    margin-top: 25px;
    margin-bottom: 25px;
  }
  .hero__wrapper-img.mobile img {
    border-radius: 10px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .video__play {
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    width: 60px;
    height: 60px;
    background-size: 30px, cover;
  }
  .video__play span::before {
    top: -10px;
    left: -10px;
    width: 78px;
    height: 78px;
  }
  .video__play span::after {
    width: 92px;
    height: 92px;
  }
  .about__gallery div, .about__gallery div:nth-child(4) {
    width: 48%;
  }
	.about__gallery div:nth-child(5), .about__gallery div:nth-child(6), .about__gallery div:nth-child(7) {
        width: calc(33% - 10px);
    }
  .results__slide-text, .compare-container {
    max-width: 100%;
    width: 100%;
  }
	.faq__tabs {
    margin: 30px 0 40px;
	}
  .faq__item {
    width: 100%;
  }
  .faq__item:first-child, .faq__item:nth-child(2) {
    border-top: none;
  }
  .work__item-num {
    font-size: 18px;
    min-width: 115px;
    width: 115px;
  }
  .work__item {
    gap: 30px;
  }
  .work__list {
    background: url(../img/Line-3.png) no-repeat top left 60px;
    gap: 50px;
  }
  .benefits__list-wrapper {
    max-width: 100%;
  }
  .benefits__list {
    max-width: 245px;
  }
  .benefits__list-wrapper > div {
    width: calc(50% - 12px);
  }
  .benefits__item {
    width: 100%;
  }
  .about__block-text, .work__text, .work__item-name {
    font-size: 18px;
  }
  .results__slide-text-wrapper {
    padding: 30px 25px 35px;
    height: 315px;
  }
  .footer {
    padding: 60px 0;
  }
  .footer__wrapper {
    gap: 50px;
  }
  .footer__left-text-mobile {
    display: block;
  }
  .footer__left-text-desktop {
    display: none;
  }
 }
 @media (max-width: 650px) {
  .seo-text__content {
    max-height: 8em;
  }
 }
 @media (max-width: 600px) {
    .header .header__phone {
    display: none;
  }
 }
 @media (max-width: 500px) {
  .container {
    margin: 0;
    padding: 0 20px;
  }
  .about__gallery div:nth-child(5), .about__gallery div:nth-child(6), .about__gallery div:nth-child(7) {
    width: 100%;
  }
	 .contacts__social-item {
		 width: fit-content;
	 }
	 .about__gallery {
		 gap: 20px;
	 }
  .about__gallery div, .about__gallery div:nth-child(4) {
    width: calc(50% - 10px);
  }
  .benefits__list:nth-child(2) {
    margin-top: 0;
  }
  .services__item {
    max-width: 335px;
    min-width: 335px;
  }
  .faq .through {
    display: inline-block;
    top: 125px;
    right: 20px;
  }
  .faq__question {
    padding-right: 40px;
  }
  .contacts .container {
    padding: 0;
  }
  .contacts__text-block {
    margin: 0 20px 10px;
    width: calc(100% - 40px);
  }
  .contacts__social-list {
    margin: 30px 20px 0;
  }
  .contacts .btn {
    margin: 30px 20px;
	padding: 20px 80px 20px 40px;
    font-size: 18px;
  }
	 .contacts .btn:after {
        top: calc(50% - 12px);
        right: 40px;
    }
  .nav__wrapper {
    max-width: 100%;
  }
  .contacts__block .title__block {
    margin: 0 20px 30px;
  }
  .benefits__item-ico {
    margin-bottom: 15px;
  }
  .team__list, .services__list {
    gap: 0;
  }
  .services__item {
    margin-right: 20px;
  }
  .compare-container {
    height: 400px;
  }
  .header__block {
    width: 60px;
  }
	.services__item {
    padding: 18px 16px 20px;
  }
	.services__item-img {
        height: 210px;
        min-height: 210px;
    }
	 .services__item-text {
		 font-size: 14px;
	 }
	 .services__item .btn-light {
		 max-width: 100%;
		 font-size: 15px;
		 padding: 16px 16px 16px 10%;
	 }
	 .services__item .btn-light:after {
		 top: calc(50% - 9px);
	 }
	 .work__block .btn {
		 display: block;
	 }
	 .burger-menu {
		 margin-left: 0;
	 }
	 .modal__title {
		 font-size: 24px;
	 }
	 .modal__text {
    margin: 15px 0;
    font-size: 16px;
	 }
	 .modal__close {
		top: 20px;
    right: 24px; 
    background-size: 18px;
	 }
   .modal__content {
    padding: 45px 20px;
	 }
   .benefits__list-wrapper.mobile {
    align-items: flex-start;
   }
   .benefits__item:not(.benefits__item-img) {
    padding: 12px 10px;
    min-height: auto;
    font-size: 13px;
  }
	   .benefits__item.benefits__item-img {
    overflow: hidden;
    height: 150px;
    position: relative;
  }
  .benefits__item.benefits__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .seo-text__content {
    max-height: 10em;
  }
 }

 @media (max-width: 400px) {
	.services__item {
		max-width: 85%;
		min-width: 85%;
	}
  .benefits__list:nth-child(2) {
    margin-top: 0;
  }
  .benefits__item.benefits__item-img {
    padding: 0;
  }
  .benefits__list-wrapper {
    gap: 10px;
  }
  .btn {
    padding: 20px 50px 20px 20px;
    max-width: 100%;
  }
  .btn::after {
    right: 20px;
  }
  .work__item {
    gap: 20px;
  }
  .compare-container {
    height: 380px;
  }
  .contacts__social-item {
    font-size: 12px;
    padding: 12px 10px;
  }
	 .modal__content {
    padding: 45px 10px;
	 }
	 .results__slide-text-wrapper {
		 height: 380px;
		 margin-bottom: 0;
	 }
 }
 @media (max-width: 375px) {
	.services__item .btn-light {
		font-size: 14px;
        padding: 15px 20px 15px 15px;
	}
	 .services__item .btn-light:after {
		 right: 10px;
        top: calc(50% - 8px);
	 }
	   .contacts .btn {
	padding: 20px 60px 20px 20px;
  }
	 .contacts .btn:after {
        right: 30px;
    }
	 .title__block {
        font-size: 34px;
    }
}
 @media (max-width: 365px) {
	.results__slide-text-wrapper {
		 height: 390px;
	 }
}
