@media (max-width: 1440px) {
  .hero-main .page-title {
    margin: 88px 0 47px;
    font-size: 52px;
  }
  .hero-main .content {
    margin-top: -170px;
  }
}
@media (max-width: 1220px) {
  .container {
    width: 1024px;
  }
  .hero-main .page-title {
    margin: 108px 0 47px;
    font-size: 52px;
  }
  .problems .title {
    max-width: 500px;
  }
  .house__item {
    width: 316px;
  }
  .services__right,
  .services__left {
    width: 447px;
  }
  .services__tab-content p {
    width: 100%;
  }
  .services__right-list {
    background-size: 100% 100%;
  }
  .services_tab:nth-child(1),
  .services_tab:nth-child(2) {
    padding: 44px 23px;
  }
  .services_tab:nth-child(3),
  .services_tab:nth-child(4) {
    padding: 40px 23px;
  }
  .services .line {
    height: 271px;
  }
  .services_tab.active {
    background-image: none;
  }
  .about .bg__img {
    opacity: 0.5;
  }
  .form__right {
    width: 548px;
  }
  .stages__item {
    width: 30%;
  }
  .hero-contact__right {
    gap: 5px;
    margin-left: -41px;
  }
  .hero-contact__content {
    padding: 23px 128px 23px 52px;
  }
  .hero-services__item {
    height: 277px;
    background-size: cover;
    background-position: center;
  }
  .instal .container {
    gap: 30px;
  }
  .garant > div > div:nth-child(2) {
    margin: 0;
  }
  .garant__item-right {
    white-space: initial;
  }
  .garant .container {
    justify-content: space-between;
  }
  .utility-hero__right {
    width: 593px;
  }
  .utility-hero__content {
    margin-bottom: 0;
  }
}
@media (max-width: 1044px) {
  .container {
    width: 768px;
  }
  .hero-main .page-title {
    margin: 68px 0 47px;
    font-size: 42px;
  }
  .house__wrap {
    margin-top: 0;
    justify-content: space-around;
  }
  .nextrow {
    width: 0;
    margin: 0 -26px;
  }
  .problems .title {
    max-width: 100%;
  }
  .about .text .item_3 {
    padding: 10px 0;
  }
  .problems .problems__top {
    flex-direction: column;
    min-height: 470px;
  }
  .problems__tabs {
    margin-bottom: 30px;
    width: 100%;
  }
  .house__item {
    width: 48%;
  }
  .services .container {
    flex-direction: column;
  }
  .services .line {
    display: none;
  }
  .services__right,
  .services__left {
    width: 100%;
    padding-top: 0;
    border-top: none;
  }
  .services__right {
    margin-top: 30px;
  }
  .services_tab {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
  }
  .services__left .title {
    max-width: 100%;
  }
  .about .bg__img {
    position: relative;
    left: 0;
    opacity: 1;
    order: 2;
  }
  .about .about__bottom {
    display: flex;
    flex-direction: column;
  }
  .about .text p {
    max-width: 100% !important;
    padding: 10px 0;
  }
  .about .text p:after {
    display: none;
  }
  .title {
    font-size: 28px;
  }
  .about__scroll {
    display: none;
  }
  .form .container {
    flex-direction: column;
  }
  .form__left {
    width: 100%;
  }
  .form__right {
    width: 100%;
    margin-top: 30px;
  }
  .footer .container {
    flex-wrap: wrap;
    row-gap: 30px;
  }
  .footer .container div {
    width: 50%;
  }
  .footer .container div.mkey {
    width: 100%;
  }
  .stages__item {
    width: 48%;
  }
  .stages__top {
    flex-direction: column;
  }
  .stages__top .title,
  .stages__top .stages__text {
    width: 100%;
  }
  .partners__list {
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .about .about__top {
    margin-bottom: 25px;
  }
  .page-about .about {
    padding-top: 100px;
  }
  .feedback__text {
    width: 100%;
  }
  .feedback__banner {
    margin-bottom: -30px;
  }
  .hero-contact .container {
    flex-direction: column;
  }
  .hero-contact__right {
    order: -1;
    align-self: baseline;
    margin-left: 30px;
    margin-bottom: -55px;
    z-index: 2;
  }
  .hero-contact__right .title {
    align-self: baseline;
  }
  .hero-contact__content {
    padding: 23px 148px 23px 62px;
  }
  .hero-services__left-content p {
    width: 100%;
  }
  .hero-services .container {
    flex-direction: column;
  }
  .hero-services__scrol {
    display: none;
  }
  .hero-services__bg {
    display: none;
  }
  .hero-services__right {
    margin-left: 0;
  }
  .hero-services__button {
    margin: 35px 0;
  }
  .financing .container {
    flex-wrap: wrap;
    gap: 20px;
  }
  .financing .financing__item {
    width: 48.5%;
  }
  .financing > div > div:nth-child(3) {
    order: 2;
  }
  .instal .container {
    flex-direction: column;
  }
  .garant .container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .garant__item {
    flex-direction: column;
  }
  .garant__item-right {
    text-align: center;
  }
  .garant__item-left p {
    max-width: 100%;
  }
  .about .bg__img img {
    display: none;
  }
  .about .bg__img .mobile {
    display: block;
  }
  .problems__bg {
    height: 1070px;
    width: 200%;
  }
  .utility-hero__content,
  .utility-hero__right {
    width: 100%;
    position: relative;
  }
  .utility-hero .container {
    flex-direction: column;
  }
  .advantages__button {
    font-size: 16px;
  }
  .advantages__tab {
    gap: 70px;
  }
  .advantages_content p,
  .advantages__container {
    width: 100%;
    font-size: 14px;
  }
  .advantages__buttons {
    gap: 15px;
  }
  .remove-block__wrapper {
    flex-direction: column;
  }
  .remove-block__right .img {
    display: none;
  }
  .remove-block__right {
    width: 100%;
  }
}
@media (max-width: 788px) {
  .about .bg__img {
    opacity: 1;
    margin-top: 10px;
  }

  .container {
    width: 100%;
    padding: 0 20px;
  }
  .hero-main__pretext {
    width: 266px;
    height: 100px;
    padding: 14px 28px 17px 13px;
  }
  .hero-main__pretext p {
    font-size: 16px;
  }
  .hero-main__pretext h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .hero-main .page-title {
    margin: 68px 0 47px;
    font-size: 38px;
    max-width: 100%;
  }
  .hero-main__bottom {
    gap: 123px;
    flex-direction: column;
  }
  .hero-main__btn {
    font-size: 14px;
    padding: 14px 23px;
    width: fit-content;
  }
  .hero-main__control span {
    font-size: 14px;
  }
  .problems {
    padding: 40px 0 0 0;
  }
  .title {
    font-size: 20px;
  }
  .problems__button p {
    font-size: 16px;
  }
  .problems .hero-main__btn {
    margin-bottom: 40px;
  }
  .services {
    padding: 40px 0;
  }
  .about {
    margin-bottom: 40px;
  }
  .reviews {
    padding: 40px 0 40px;
  }
  .reviews__control {
    align-self: start;
  }
  .form {
    padding: 40px 0;
  }
  .stages__item p {
    font-size: 14px;
  }
  .stages__item h4 {
    font-size: 16px;
  }
  .partners__text {
    width: 100%;
  }
  .partners__list {
    gap: 30px;
  }
  .stages {
    padding-bottom: 40px;
  }
  .partners {
    padding-bottom: 40px;
  }
  .feedback__form {
    width: 100%;
  }
  .hero-contact__left {
    max-width: 100%;
  }
  .hero-contact__content {
    padding: 18px 108px 18px 42px;
  }
  .hero-portfolio {
    padding: 80px 0;
  }
  .portfolio-active.visible .portfolio__slide {
    width: 90%;
    height: 343px;
  }
  .hero-services__left-content h4 {
    margin: 15px 0 20px;
    font-size: 16px;
  }
  .hero-services__left-content p {
    font-size: 18px;
  }

  .hero-services__button {
    padding: 14px 23px;
    font-size: 14px;
  }
  .financing .financing__item {
    width: 100%;
  }
  .hero-services {
    padding-top: 80px;
  }
  .financing,
  .garant {
    padding: 40px 0;
  }
  .problems__bg {
    height: 1017px;
    width: 200%;
  }
  .problems .problems__top {
    min-height: 450px;
  }
  .portfolio-item__visible .img {
    height: 299px;
  }
  .popup__content {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .home .partners {
    padding: 40px 0 0;
  }
  .advantages__tab {
    gap: 30px;
    flex-direction: column;
  }
  .utility-hero {
    padding-top: 80px;
  }
  .utility-table,
  .advantages {
    padding-top: 40px;
  }
  .utility-hero__right {
    width: 118%;
    margin-left: -10%;
    margin-top: -75px;
  }
}
@media (max-width: 500px) {
  .remove-block__bottom {
    background-image: none;
    padding: 30px;
  }
  .remove-block ul li {
    color: #474747;
    font-size: 16px;
  }
  .remove-block__text {
    color: #fff;
    font-size: 16px;
  }
  #wpcf7-f54-o2 > form > p:nth-child(5) {
    align-self: auto;
  }
  .popup__text,
  #wpcf7-f52-o1 > form > div.wpcf7-response-output {
    text-align: left;
  }
  .hero-services__item-bg {
    padding: 20px 20px;
  }
  .problems .problems__top {
    min-height: 420px;
  }
  .page-about .about {
    padding-top: 70px;
  }
  .page-about .about .about__bottom {
    margin-bottom: 15px;
  }
  .page-about .about .about__btn {
    padding: 14px 33px;
  }
  .services__right,
  .services__left {
    border-top: 1px solid #a8a8a8;
    padding-top: 20px;
  }
  .hero-main .page-title {
    margin: 50px 0;
    font-size: 28px;
  }
  .header .logo {
    max-width: 110px;
  }
  .header__btn {
    font-size: 14px;
    padding: 5px 16px;
  }
  .header__right {
    gap: 36px;
  }
  .burger_btn {
    gap: 8px;
  }
  .hero-main__arrow {
    width: 36px;
    height: 36px;
    padding: 7px;
  }
  .hero-main__control {
    gap: 10px;
  }
  .slider-hero__slide {
    background-position: center;
  }
  .hero-main .content .container {
    align-items: baseline;
    flex-direction: column;
    gap: 20px;
  }
  .slider-hero__slide img {
    object-fit: cover;
  }
  .nextrow {
    width: 100%;
  }
  .house__item {
    width: 100%;
    height: 236px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.3);
  }
  .house__item.black {
    background-color: #000;
  }
  .scroll {
    width: 25px;
    height: 125px;
  }
  .black h3 {
    font-size: 20px;
  }
  .house__item.black {
    width: 60%;
  }
  .house__wrap {
    flex-direction: column;
  }
  .problems__bg {
    height: 987px;
    width: 500%;
  }
  .problems__bg img {
    object-fit: cover;
  }
  .header.scrolled .logo {
    width: 110px;
    height: 16px;
    background-size: 100% 100%;
  }
  .house__item h4 {
    margin-top: 20px;
    font-size: 16px;
  }
  .house__item p {
    margin-top: 10px;
    font-size: 14px;
  }
  .house__item span {
    margin-top: 12px;
  }
  .services__tab-content h4 {
    font-size: 16px;
    margin-top: 15px;
  }
  .services__tab-content p {
    font-size: 14px;
  }
  .services__right-list p {
    font-size: 16px;
  }
  .about .text p {
    font-size: 14px;
  }
  .about .about__top {
    margin-bottom: 10px;
  }
  .reviews {
    background-size: inherit;
  }
  .slider-reviews {
    margin-top: 25px;
  }
  .reviews__control {
    gap: 10px;
  }
  .slider-reviews__slide {
    padding: 15px;
    height: 290px;
  }
  .slider-reviews__slide__top .head {
    margin-bottom: 10px;
  }
  .form__bottom p,
  .form__top p {
    flex-direction: column;
    gap: 27px;
  }
  form {
    gap: 25px;
  }
  .form__right input {
    padding: 5px 0;
  }
  .form_agree {
    font-size: 10px;
  }
  .form__right .submit {
    font-size: 14px;
    padding: 14px 23px;
    align-self: flex-start;
  }
  .footer .container div {
    width: 100%;
  }
  .form__text {
    font-size: 14px;
  }
  .slider-reviews__slide__top .content {
    font-size: 14px;
  }
  .about .about__top .about__btn {
    font-size: 14px;
    padding: 14px 23px;
  }
  .problems__button .problems__button-img {
    width: 20px;
    height: 20px;
  }
  .problems__content {
    font-size: 14px;
  }
  .burger {
    width: 100%;
    left: -100%;
  }
  .burger_btn .line {
    background-color: #ebedec;
    z-index: 5;
  }
  .stages__item {
    width: 100%;
    padding: 20px;
    height: 184px;
  }
  .stages__top .stages__text,
  .partners__text {
    font-size: 14px;
  }
  .feedback__text {
    font-size: 14px;
    margin: 10px 0 20px;
  }
  .feedback {
    padding-top: 100px;
  }
  .feedback__banner {
    margin-bottom: 40px;
  }
  .hero-contact__content {
    padding: 20px;
    width: 246px;
    align-self: baseline;
  }
  .hero-contact__right {
    margin-left: 0;
    margin-bottom: 0;
    width: 100%;
    z-index: 3;
  }
  .hero-contact {
    padding: 100px 0 0;
  }
  .contact__grey {
    margin-bottom: 10px;
  }
  .portfolio-item {
    width: 100%;
  }
  .portfolio-active .x {
    width: 36px;
    height: 36px;
  }
  .partners__item {
    width: 85px;
    height: 85px;
  }
  .partners > div > ul > li:nth-child(1) {
    width: 104px;
    height: 104px;
  }
  .hero-contact__left {
    width: 100%;
    max-width: 150%;
    margin-top: -170px;
  }
  .feedback .container {
    align-items: start;
  }
  .feedback__text {
    text-align: left;
  }
  .hero-services__button {
    margin: 30px 0 20px;
  }
  .hero-services__item-top .img {
    width: 27px;
    height: 27px;
    padding: 3px;
  }
  .hero-services__item {
    padding: 20px;
    height: 241px;
  }
  .hero-services__item-top h4 {
    font-size: 16px;
  }
  .financing .financing__item {
    padding: 30px 20px;
  }
  .financing__item h4 {
    font-size: 16px;
  }
  .garant__item-left p {
    font-size: 14px;
    margin-top: 10px;
  }
  .portfolio-item__visible p,
  .portfolio-item__visible span,
  .hero-services__left-content p,
  .hero-services__item-bottom,
  .financing > div > div:nth-child(1) p,
  .financing__item h4,
  .financing__text,
  .instal__text,
  .garant__item-right {
    font-size: 14px;
  }
  .hero-services__item-top {
    margin-bottom: 5px;
  }
  .financing > div > div:nth-child(3) {
    order: 0;
  }
  .instal .container {
    gap: 20px;
  }
  .popup__text {
    font-size: 14px;
  }
  .popup__text,
  .popup__form {
    padding: 0 20px;
  }
  .utility-hero__content {
    padding: 15px;
    margin-top: 20px;
  }
  .utility-hero__content h3 {
    font-size: 16px;
  }
  .utility-hero__content p {
    font-size: 14px;
    margin: 15px 0;
  }
  .utility-hero__content .utility-hero__btn {
    padding: 14px 24px;
    font-size: 14px;
  }
  .advantages__button {
    font-size: 14px;
  }
  .advantages__tab {
    margin-top: 20px;
  }
  .advantages_content p {
    margin: 15px 0 20px;
  }
  .advantages_content h4 {
    font-size: 16px;
  }
  td {
    font-size: 12px;
    padding: 10px;
  }
  th {
    font-size: 14px;
    padding: 10px;
  }
  .utility-table__title {
    margin-bottom: 15px;
    font-size: 16px;
  }
  .utility-table .container {
    gap: 40px;
  }
  .utility-table__fourth .utility-table__title {
    font-size: 13px;
  }
  .remove-block__title,
  .remove-block h4 {
    font-size: 16px;
  }
  .remove-block__wrapper {
    margin-top: 15px;
  }
}
