@media screen and (max-width: 1650px) {
  #mainPopup .modal-dialog {
    max-width: 766px;
  }
  #mainPopup .modal-content__top .modal-undertitle {
    margin-top: 20px;
  }

  .page-about-banner.page-poshiv .m-banner {
    height: 608px;
    background-position: top;
  }
  .page-about-banner.mp-banner .m-banner {
    height: 608px;
  }
  .thanks-page__inner {
    margin: 200px 0px;
    text-align: center;
  }
  .thanks-page__inner h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .tanks-page__subtitle {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-single__inner {
    max-width: 766px;
  }

  .page-single h1 {
    margin-bottom: 20px;
    font-size: 36px;
  }

  .page-single__content {
    font-size: 16px;
    line-height: 133%;
  }

  .mini-text-pay {
    margin-bottom: 40px;
  }
  .pay-text-block-item__title {
    font-size: 20px;
  }

  .chosen-grid h2 {
    margin-bottom: 60px;
  }
  .cert-page {
    margin-top: 100px;
    margin-bottom: 60px;
  }
  .cert-page__info {
    padding: 60px 20px;
  }
  .cert-page__content .default-btn {
    margin-top: 40px;
  }
  .cert-page__title h1 {
    font-size: 20px;
    max-width: 479px;
  }
  .cert-page__img {
    width: 49.34%;
  }
  .cert-page__subtitle {
    font-size: 16px;
    max-width: 464px;
  }
  .about-b3 .under-title {
    max-width: 600px;
  }
  .cert-page__content h3 {
    font-size: 16px;
  }
  .cert-page__content ul {
    font-size: 16px;
  }

  .cert-m-b1 .page-title {
    font-size: 36px;
    max-width: 750px;
  }
  .page-subtitle {
    font-size: 16px;
    max-width: 580px;
    margin: 0 auto;
  }
  .cert-m-b1 {
    padding: 120px 0px 60px 0px;
  }
  .cert-grid-blocks-item__img {
    height: 600px;
  }
  .cert-grid-blocks-item__top-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .step-block-item__count {
    min-width: 98px;
    height: 98px;
    font-size: 40px;
  }
  .step-block-item__title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .step-block-item__text {
    font-size: 14px;
  }
  .mini-text-block__title h2 {
    font-size: 24px;
  }
  .mini-text-block__text {
    font-size: 16px;
  }
  .cert-grid {
    gap: 20px;
  }
  .cert-card {
    width: calc(33% - 10px);
  }
  .cert-grid-blocks-item__title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .cert-grid-blocks-item__subtitle {
    font-size: 16px;
  }
  .cert-card__img {
    height: 200px;
  }
  .cert-page__img-out {
    width: 100%;
  }
  .cert-card {
    min-height: 430px;
  }
  .cert-card__prices {
    font-size: 16px;
  }
  .cert-card__title {
    font-size: 16px;
  }
  .cert-card__text {
    font-size: 14px;
  }
  .cert-card-btn {
    font-size: 16px;
    height: 38px;
  }
  .cert-m-b2-item__title {
    font-size: 24px;
  }
  .cert-m-b2-item__subtitle {
    font-size: 16px;
  }
  .cert-m-b2-item__text {
    font-size: 14px;
  }
  .page-about-banner h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .about-b1-grid {
    gap: 20px;
  }
  .m-banner__text {
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
  }
  .page-about-banner .m-banner {
    height: 429px;
  }
  .subtitle {
    font-size: 16px;
  }
  .chosen-grid-item__text {
    font-size: 14px;
  }
  .chosen-grid-item__title {
    font-size: 20px;
  }
  .chosen-grid {
    margin: 120px 0px;
  }
  .about-b1 {
    margin-top: 40px;
    margin-bottom: 100px;
  }
  .get-you .our-works__grid img {
    width: 100%;
  }
  .poshiv-prices__item img {
    width: 100%;
  }
  .influence-item__image {
    width: 98px;
    height: 110px;
  }
  .influence-item__text {
    justify-content: start;
    gap: 10px;
  }
  .influence h2 {
    max-width: 752px;
  }
  .poshiv-prices__item .title {
    font-size: 16px;
  }
  .poshiv-prices__item ul {
    font-size: 14px;
  }
  .poshiv-prices__item .price {
    font-size: 20px;
  }
  .poshiv-prices__item {
  }
  .category-title {
    font-size: 32px;
  }
  .poshiv-prices__grid,
  .materials-grid {
    gap: 20px;
  }
  .influence-item__text .title {
    font-size: 16px;
  }
  .influence-item__text .text {
    font-size: 14px;
  }
  .modal-content__top .fz-64 {
    text-transform: uppercase;
  }
  .modal-undertitle {
    font-size: 16px;
  }
  .modal-content__body .fz-20 {
    font-size: 14px;
  }
  .modal-content__body input.form-field::placeholder {
    font-size: 16px;
  }
  .modal-content__body input.form-field {
    font-size: 16px;
  }
  #approachPopup input.default-btn.modal-form-btn {
    margin-top: 1.5em;
  }
  .modal-content__body input[type="checkbox"] + label {
    font-size: 14px;
  }
  .footer-desktop__middle img {
    width: 90px;
    height: auto;
  }
  footer .footer-desktop__left-bottom a,
  footer .footer-desktop__right-bottom a {
    font-size: 16px;
  }
  .footer-desktop__right-bottom {
    text-align: right;
    display: block;
  }
  footer ul a {
    font-size: 14px;
  }
  input.default-btn {
    font-size: 16px;
    color: var(--font-color);
  }
  .under-form__title {
    max-width: 657px;
  }
  input.form-field {
    font-size: 20px;
  }
  input.form-field::placeholder {
    font-size: 20px;
  }
  .advertisement-block.ab-4 {
    gap: 40px;
  }
  .ab-4 .advertisement-bottom {
    max-width: 371px;
  }
  .advertisement-block img.advertisement-block__small-image {
    width: 192px;
    height: auto;
  }
  .ab-4 .advertisement-title {
    font-size: 20px;
    max-width: 410px;
  }
  .advertisement-title {
    font-size: 20px;
  }
  .advertisement-bottom {
    font-size: 16px;
  }
  .advertisement-title {
    font-size: 20px;
  }
  .advertisement-top {
    font-size: 14px;
    line-height: 102%;
  }
  .advertisement-block {
    height: auto;
    min-height: 600px;
  }
  .advertisement-block:nth-child(3) .advertisement-title {
    max-width: 382px;
  }
  .advertisement-block img {
    width: 100%;
  }
  .section-consult .default-btn {
    max-width: 273px;
  }
  .consult-title {
    font-size: 16px;
  }
  .consult-text {
    font-size: 14px;
    max-width: 570px;
  }
  .section-consult p.under-title {
    max-width: 657px;
    font-size: 14px;
  }
  .header-nav a {
    font-size: 14px;
  }
  .left-nav li:first-child a {
  }
  .right-nav li:last-child a {
    padding-right: 0;
  }
  .fz-64 {
    font-size: 36px;
  }
  .main-banner__text {
    font-size: 16px;
    max-width: 446px;
  }
  h1 {
    max-width: 752px;
    margin: 0 auto;
  }
  .under__main-text p {
    font-size: 16px;
    max-width: 993px;
    margin: 0 auto;
  }
  a.default-btn {
    font-size: 16px;
    max-width: 270px;
  }
  .fz-40 {
    font-size: 24px;
  }
  .fz-26 {
    font-size: 16px;
  }
  .main-banner {
    padding: 21em 0 7em;
  }

  .our-works__grid {
    gap: 20px;
  }
  .our-services__grid {
    gap: 20px;
  }
  .our-services__grid .title {
    font-size: 16px;
  }
  .section-our-services .under-title {
    max-width: 582px;
  }
  .process-item {
    width: 100%;
    padding: 1em;
  }
  .process-item__title {
    font-size: 16px;
  }
  p.process-item__text {
    font-size: 14px;
  }
  .process-item__time {
    font-size: 16px;
  }
  p.time {
    font-size: 16px;
  }
  p.big-title {
    font-size: 24px;
  }
  p.big-undertitle {
    font-size: 16px;
    max-width: 370px;
  }
  .advertisement-block:nth-child(2) img {
    min-height: 600px;
  }
}
@media screen and (max-width: 1560px) {
  .main-banner {
    padding: 17.35em 0 8.35em;
  }
}
@media screen and (max-width: 1300px) {
  a.logo {
    top: -3px;
    left: 0;
  }
  .process-item {
    height: 290px;
  }
  a.logo img {
    max-width: 106px;
    width: 100%;
  }
  .header-nav a {
    font-size: 14px;
    padding: 15px 10px;
  }
  .header-row {
    align-items: baseline;
  }
  .modal.show .modal-dialog {
    width: 100%;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 1199px) {
  .cert-page__title h1 {
    font-size: 20px;
  }
  .cert-page__subtitle {
    font-size: 16px;
  }
  .cert-page__content h3 {
    font-size: 16px;
  }
  .cert-page__content ul {
    font-size: 16px;
  }
  .cert-list-content {
    font-size: 16px;
  }

  footer ul {
    gap: 15px;
  }
  .section-under__main {
    padding: 4em 0;
  }
  .p-6 {
    padding: 4em 0;
  }
  nav.left-nav {
    display: none;
  }
  .header-right {
    display: flex;
    gap: 10px;
    align-items: baseline;
  }
  .mobile-menu__btn {
    display: block;
  }
  .mobile-menu__btn {
    font-size: 14px;
    color: var(--link-color);
    text-transform: uppercase;
    cursor: pointer;
  }
  header {
    background-color: var(--light-brown);
  }
  .influence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .influence-item {
    display: flex;
  }
  .influence-item__image img {
    width: 98px;
    height: 110px;
  }

  .poshiv-prices__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .poshiv-prices__item {
    max-width: inherit;
  }
}

@media screen and (max-width: 1050px) {
  .poshiv-prices__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-page-info__inner {
    flex-direction: column;
    gap: 20px;
  }

  .contact-page-info-item__title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .contact-page-info-item__value {
    font-size: 14px;
  }
  .cert-page__img {
    width: 24.6%;
  }
  .cert-card {
    width: calc(50% - 10px);
  }
  .cert-m-b2-item {
    flex-direction: column;
  }
  .step-block-item {
    flex-direction: column;
  }
  .step-block-item__count {
    max-width: 98px;
  }
  .footer-desktop {
    display: none;
  }
  .footer-mobile {
    display: flex;
    flex-direction: column;
  }
  footer ul {
    justify-content: space-between;
  }
  .footer-mobile__logo {
    max-width: 99px;
    width: 100%;
    margin: 1em auto;
  }
  .footer-mobile__logo img {
    width: 100%;
  }
  .footer-mobile__bottom a {
    text-transform: unset;
  }
  .footer-mobile__bottom {
    display: flex;
    justify-content: space-between;
  }
  .pb-6 {
    padding-bottom: 4em;
  }
  .under-main__images {
    grid-template-columns: repeat(3, 1fr);
  }
  .under-main__images img:nth-child(4),
  .under-main__images img:nth-child(5),
  .under-main__images img:nth-child(6) {
    display: none;
  }
  .process-grid__wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
  .process-grid__wrapper-block {
    min-height: 390px;
  }
  .process-item {
    min-height: 457px;
  }
  .about-b3 h2 {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .page-single {
    margin: 80px 0px;
  }
  .page-single h1 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .page-single__content {
    font-size: 14px;
  }
  .about-b2__under-block {
    margin-bottom: 80px;
  }

  .cert-page__inner {
    flex-direction: column;
  }
  .cert-page__img-out {
    width: 100%;
    height: 406px;
  }
  .cert-page__img {
    width: 100%;
  }
  .chosen-grid-item {
    width: 100%;
  }
  .chosen-grid__inner {
    gap: 20px;
  }
  .chosen-grid-item:nth-child(3) .chosen-grid-item__img,
  .chosen-grid-item:nth-child(4) .chosen-grid-item__img {
    order: 0;
  }
  .chosen-grid-item__right {
    padding: 0px 20px;
  }
  .chosen-grid-item:nth-child(3) .chosen-grid-item__right {
    padding: 0px 20px;
  }
  .chosen-grid-item:nth-child(4) .chosen-grid-item__right {
    padding: 0px 20px;
  }
  .influence-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .our-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials-header {
    gap: 20px;
  }
  .poshiv-prices__grid {
    display: flex;
    flex-direction: column;
  }
  .poshiv-prices__item {
    height: auto;
  }
  .poshiv-prices__item .price {
    position: static;
  }
  .modal-content__body {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  footer ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1em 0;
    gap: 10px;
  }
  .main-banner {
    background-position: center;
  }
  .section-banner {
    top: 0;
  }
  header {
    padding-top: 10px;
    background-color: var(--dark-brown);
  }
  .footer-mobile__logo {
    order: 0;
    margin: 0em auto 1em;
  }
  .footer-mobile__top {
    order: 1;
  }
  .footer-mobile__bottom {
    order: 2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header-nav ul {
    flex-direction: column;
  }
  .mobile-menu nav.left-nav {
    display: flex;
    flex-direction: column;
    /* gap: 15px; */
  }
  .header-nav a {
    padding: 0;
  }
  li .submenu a {
    padding: 0;
  }
  nav.right-nav {
    display: none;
  }
  .header-row {
    padding: 15px 0;
  }
  .mobile-menu ul {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 600px) {
  .modal-content {
    padding: 6em 20px;
  }
  .page-about-banner.page-poshiv .m-banner {
    height: 406px;
  }
  .page-about-banner.mp-banner .m-banner {
    height: 406px;
  }
  .page-about-banner h1 {
    font-size: 16px;
  }
  .m-banner__text {
    font-size: 14px;
  }
  .thanks-page__inner {
    margin: 80px 0px;
    text-align: left;
  }
  .thanks-page__inner .default-btn {
    max-width: none;
    width: 100%;
    display: block;
  }
  .thanks-page__inner h1 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .tanks-page__subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .about-b3 .text-center {
    text-align: left !important;
  }
  .about-b3 h2 {
    text-align: left;
  }
  .about-b3 .under-title {
    margin-top: 10px;
    font-size: 14px;
  }
  .about-b2 .under-title {
    margin-top: 10px;
    font-size: 14px;
  }
  .about-advertisement {
    margin-top: 5px;
  }
  .about-advertisement .ab-4 .advertisement-bottom {
    padding: 10px;
    margin-top: 0px;
  }
  .page-title {
    margin-bottom: 10px;
  }
  .contact-page-info__inner {
    margin-bottom: 40px;
  }
  .contact-page-map__inner {
    height: 253px;
  }
  .step-block__subtitle {
    font-size: 14px;
    text-align: left;
  }
  .step-block__title {
    margin-bottom: 20px;
  }
  .cert-card {
    width: 100%;
  }
  .page-title {
    text-align: left;
  }
  .cert-m-b1 .page-title {
    font-size: 16px;
  }
  .page-subtitle {
    text-align: left;
    font-size: 14px;
  }
  .cert-m-b3 {
    display: none;
  }
  .cert-grid-blocks {
    display: none;
  }
  .mini-text-block__title {
    text-align: left;
  }
  .mini-text-block__text {
    text-align: left;
  }
  .step-block__title h2 {
    font-size: 16px;
    text-align: left;
  }
  .step-block__items {
    flex-direction: column;
  }
  .step-block-item {
    flex-direction: row;
  }
  .step-block-item {
    width: 100%;
  }
  .pay-text-block__inner {
    flex-direction: column;
    gap: 40px;
  }
  .pay-text-block-item {
    text-align: left;
  }
  .pay-text-block-item__title {
    font-size: 16px;
  }
  .mini-text-block {
    margin-bottom: 40px;
  }
  .chosen-grid-item__img {
    width: 30%;
  }
  .chosen-grid-item__right {
    width: 70%;
  }
  .about-b1__item {
    display: none;
  }
  .subtitle {
    text-align: left;
  }
  .about-b1 {
    margin-bottom: 80px;
  }
  .about-b2__item {
    display: none;
  }
  .about-b2__item:nth-child(2) {
    display: block;
    margin: 0 auto;
  }
  .about-b2 .text-center {
    text-align: left !important;
  }
  .about-b2__under-block {
    text-align: left;
  }
  .about-b2 .default-btn {
    display: block;
    width: 100%;
    max-width: none;
  }
  .about-b1__item:first-child {
    display: block;
  }
  .chosen-grid-item__title {
    font-size: 16px;
  }
  .chosen-grid-item__text {
    font-size: 14px;
  }
  .chosen-grid {
    margin: 80px 0px;
  }
  .m-banner__offer {
    text-align: left;
    padding: 10px;
  }
  .page-about-banner .m-banner {
    background-position: center;
    background-size: cover;
  }
  .chosen-grid h2 {
    margin-bottom: 40px;
  }
  .main-banner__offer {
    text-align: left;
  }
  .mobile-menu nav.right-nav {
    display: flex;
    flex-direction: column;
  }
  .main-banner {
    padding: 0 15px;
    min-height: 406px;
    display: flex;
  }
  .main-banner__offer {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .fz-64 {
    font-size: 16px;
  }
  .main-banner__text {
    font-size: 14px;
  }
  .under__main-text p {
    font-size: 14px;
    text-align: left;
  }
  .under-main__images {
    display: none;
  }
  .fz-40 {
    font-size: 16px;
  }
  .section-our-works {
    text-align: left;
  }
  .our-works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-our-services {
    text-align: left;
  }
  .section-our-services h2,
  .section-our-services .under-title {
    text-align: left;
  }
  .our-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-process h2 {
    text-align: left;
  }
  .process-grid__wrapper-item {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
  .process-grid__wrapper {
    gap: 10px;
  }
  .process-grid__wrapper-block {
    justify-content: end;
  }
  p.big-title {
    font-size: 16px;
    text-transform: unset;
  }
  .process-grid__wrapper-block__text {
    text-align: left;
    margin: 0;
  }
  .process-item {
    min-height: 297px;
  }
  .process-grid__wrapper-block {
    min-height: 297px;
  }
  .section-consult {
    text-align: left;
  }
  .section-consult .default-btn {
    max-width: 100%;
    margin-bottom: 2em;
  }
  .advertisement-grid {
    display: flex;
    flex-direction: column;
  }
  .advertisement-block:nth-child(1) {
    order: 1;
  }
  .advertisement-block:nth-child(2) {
    order: 2;
  }
  .advertisement-block:nth-child(3) {
    order: 4;
  }
  .advertisement-block:nth-child(4) {
    order: 3;
  }
  .advertisement-top {
    margin: 0 0 15px;
  }
  .advertisement-block {
    text-align: left;
  }
  .advertisement-block .default-btn {
    display: none;
  }
  .advertisement-top {
    padding: 0 10px;
  }
  .advertisement-title {
    padding: 0 10px;
  }
  .advertisement-bottom {
    padding: 0 10px;
  }
  .advertisement-block {
    min-height: 357px;
  }
  .advertisement-block:nth-child(2) img {
    min-height: 357px;
  }
  .advertisement-block img.advertisement-block__small-image {
    display: none;
  }
  .ab-4 .advertisement-title {
    max-width: 100%;
  }
  .ab-4 .advertisement-bottom {
    max-width: 100%;
  }
  .advertisement-block.ab-4 {
    gap: 0px;
  }
  .advertisement-block:nth-child(3) .advertisement-title {
    max-width: 100%;
  }
  .section-form h2 {
    text-align: left;
  }
  .under-form__title {
    text-align: left;
  }
  .under-form__text {
    text-align: left;
    margin: 0 0 2em;
    line-height: 102%;
  }
  input.form-field {
    font-size: 16px;
  }
  .section-under__main {
    padding: 3em 0;
  }
  .section-under__main .default-btn {
    margin-bottom: 0;
  }
  .section-under__main .under__main-text {
    margin-bottom: 0;
  }
  .under-title {
    line-height: 102%;
  }
  .p-6 {
    padding: 5em 0;
  }
  .pb-6 {
    padding-bottom: 1em;
  }
  .advertisement-title {
    font-size: 16px;
  }
  .advertisement-block {
    gap: 0;
  }
  .advertisement-bottom {
    margin: 20px auto 0;
  }
}
