@media screen and (max-width: 1143px) {
  .container {
    padding: 0 15px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1143px) {
  .header-nav {
    grid-gap: 60px;
  }
  .section-1 .section-title {
    font-size: 60px;
  }
  .section-1 .section-subtitle .subtitle {
    font-size: 45px;
  }
  .section-2 .item {
    height: 350px;
  }
  .pp-2 .item-inner {
    height: 400px;
  }
  .pp-2 .item-img {
    min-width: 0;
  }
}
@media screen and (min-width: 992px) and (max-width: 1023px) {
  .header-nav {
    grid-gap: 60px;
  }
  .section-1 .section-title {
    font-size: 60px;
  }
  .section-1 .section-subtitle .subtitle {
    font-size: 45px;
  }
  .section-2 .item {
    height: 350px;
  }
  .pp-2 .item-inner {
    height: 400px;
  }
  .pp-2 .item-img {
    min-width: 0;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .header-nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .header-contacts {
    grid-gap: 20px;
  }
  .section-1-inner {
    padding: 200px 0 40px 0;
  }
  .section-1 .section-title {
    font-size: 45px;
  }
  .section-1 .section-subtitle .subtitle {
    font-size: 35px;
  }
  .section-1 .section-subtitle {
    flex-direction: column;
    align-items: flex-start;
    grid-gap: 50px;
    margin: 50px 0 150px 0;
  }
  .red-btn-link span {
    font-size: 18px;
  }
  .section-2 .item {
    height: 200px;
  }
  .section-2 .all-items-link span {
    font-size: 18px;
  }
  .section-3 .section-title {
    font-size: 35px;
  }
  .section-3 .section-text {
    font-size: 14px;
  }
  .section-3 .r {
    font-size: 35px;
  }
  .section-3 .top {
    font-size: 18px;
  }
  .section-4 .row {
    width: 100%;
  }
  .section-4 .section-4-inner {
    padding: 70px 0;
  }
  .section-4 .items {
    grid-gap: 40px;
  }
  .section-4 .section-subtitle {
    font-size: 25px;
  }
  .section-4 .subitems span {
    font-size: 18px;
  }
  .section-4 .section-link a span {
    font-size: 18px;
  }
  .section-5 .section-5-inner {
    padding: 70px 0;
  }
  .section-5 .section-title {
    font-size: 35px;
    width: 100%;
    margin: 0 0 40px 0;
  }
  .section-5 .form-outer {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  .section-5 .form-inner p {
    grid-gap: 15px;
  }
  .section-5 input {
    width: 100%;  
    height: 58px;
    padding: 0 20px;
    font-size: 14px;
  }
  .section-5 input::placeholder {
    font-size: 14px;
  }
  .section-5 .submit p button {
    display: none;
  }
  .section-5 .submit-mobile {
    display: block;
  }
  .footer .footer-inner {
    display: flex;
    grid-gap: 30px;
    justify-content: space-between;
  }
  .footer .footer-logo img {
    max-width: 110px;
  }
  .footer .footer-contacts {
    align-items: flex-start;
    grid-gap: 70px;
  }
  .footer .footer-address {
    grid-gap: 70px;
  }
  .footer .footer-social {
    flex-direction: column;
  }
  .footer .footer-social a {
    font-size: 18px;
  }
  .footer .item .city {
    font-size: 18px;
  }
  .footer .item .phone {
    font-size: 18px;
  }
  .footer .item .email {
    font-size: 18px;
  }
  .pp-1 .page-subtitle {
    font-size: 18px;
  }
  .pp-1 .tabs .tab {
    font-size: 18px;
  }
  .pp-2 .item-inner {
    height: 180px;
  }
  .pp-2 .item-img {
    min-width: 0;
  }
  .pp-2 .item-info .title {
    font-size: 25px;
  }
  .pp-2 .item-info .subtitle {
    font-size: 14px;
  }
  .pip-1 .pip-1-inner {
    padding: 130px 0 100px 0;
  }
  .pip-1 .page-title {
    font-size: 45px;
  }
  .pip-1 .page-subtitle {
    font-size: 18px;
  }
  .pip-1 .project-meta .item {
    font-size: 14px;
  }
  .pip-2 span {
    font-size: 18px;
  }
  .fp-1 {
    margin-bottom: 50px;
  }
  .fp-2 .page-title {
    font-size: 45px;
  }
  .fp-2 .page-subtitle {
    font-size: 14px;
  }
  .fp-3 .block-title {
    font-size: 18px;
  }
  .fp-3 .project-price .block-title {
    font-size: 18px;
  }
  .fp-3 .agree {
    margin-top: 0;
  }
  .fp-3 .flex {
    margin-top: 50px;
    display: flex;
    grid-gap: 40px;
    align-items: flex-start;
  }
  .fp-3 .agree {
    font-size: 14px;
  }
  .fp-3 .submit {
    margin-top: 0;
  }
  .fp-3 button {
    height: 58px;
    font-size: 18px;
  }
}
@media screen and (min-width: 321px) and (max-width: 767px) {
  .header-nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .header-logo img {
    max-width: 108px;
  }
  .header-contacts .header-phone {
    display: none;
  }
  .header-contacts .header-tg {
    display: none;
  }
  .section-1-inner {
    padding: 130px 0 40px 0;
  }
  .section-1 .section-title {
    font-size: 25px;
  }
  .section-1 .section-subtitle .subtitle {
    font-size: 20px;
  }
  .section-1 .section-subtitle {
    flex-direction: column;
    align-items: flex-start;
    grid-gap: 50px;
    margin: 20px 0 100px 0;
  }
  .red-btn-link {
    height: 46px;
    width: 100%;
  }
  .red-btn-link span {
    font-size: 14px;
  }
  .section-1 .section-social-links a span {
    font-size: 14px;
  }
  .section-2 .items {
    grid-template-columns: 1fr;
  }
  .section-2 .item {
    height: 215px;
  }
  .section-2 .items .item-hover {
    padding: 40px;
  }
  .section-2 .items .item-hover .hover-title {
    font-size: 25px;
  }
  .section-2 .all-items-link {
    height: 56px;
  }
  .section-2 .all-items-link span {
    font-size: 14px;
  }
  .section-3 .section-3-inner {
    padding: 70px 0 40px 0;
    flex-direction: column;
    grid-gap: 20px;
  }
  .section-3 .left {
    width: 100%;
  }
  .section-3 .section-title {
    font-size: 20px;
  }
  .section-3 .section-text {
    font-size: 14px;
  }
  .section-3 .right {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .section-3 .r {
    font-size: 24px;
  }
  .section-3 .top {
    font-size: 18px;
  }
  .section-4 .row {
    width: 100%;
    font-size: 14px;
    margin-bottom: 30px;
  }
  .section-4 .section-4-inner {
    padding: 50px 0;
  }
  .section-4 .section-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .section-4 .items {
    grid-gap: 40px;
    grid-template-columns: 1fr;
  }
  .section-4 .items .item img {
    max-width: 60px;
  }
  .section-4 .items .item .flex {
    display: flex;
    grid-gap: 20px;
    align-items: center;
  }
  .section-4 .item-title {
    margin: 0;
    font-size: 16px;
  }
  .section-4 .item-price {
    font-size: 16px;
  }
  .section-4 .section-subtitle {
    font-size: 18px;
    margin-top: 50px;
    margin-bottom: 10px;
  }
  .section-4 .subitems {
    grid-column-gap: 15px;
    grid-row-gap: 10px;
  }
  .section-4 .subitems span {
    font-size: 14px;
  }
  .section-4 .section-link {
    height: 56px;
  }
  .section-4 .section-link a span {
    font-size: 14px;
  }
  .section-5 .section-5-inner {
    padding: 50px 0;
  }
  .section-5 .section-title {
    font-size: 20px;
    margin: 0 0 30px 0;
    width: 100%;
  }
  .section-5 .form-outer {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  .section-5 .form-inner p {
    grid-gap: 15px;
    grid-template-columns: 1fr;
  }
  .section-5 input {
    width: 100%;
    max-width: 100%;
    height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }
  .section-5 input::placeholder {
    font-size: 14px;
  }
  .section-5 .agree-block {
    flex-direction: column;
    margin-top: 0;
  }
  .section-5 .agree-block .agree {
    width: 100%;
  }
  .section-5 .submit p button {
    display: none;
  }
  .section-5 .submit-mobile {
    display: block;
    width: 100%;
  }
  .section-5 .submit-mobile p button {
    font-size: 14px;
    height: 46px;
  }
  .footer .footer-inner {
    display: flex;
    grid-gap: 40px;
    justify-content: space-between;
    flex-direction: column;
    padding: 50px 0;
  }
  .footer .footer-logo {
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
  }
  .footer .footer-logo img {
    max-width: 110px;
  }
  .footer .footer-contacts {
    flex-direction: column-reverse;
    grid-gap: 40px;
    align-items: center;
  }
  .footer .footer-address {
    grid-gap: 30px;
    flex-direction: column;
  }
  .footer .item {
    justify-content: center;
    align-items: center;
  }
  .footer .footer-social {
    /* flex-direction: column; */
  }
  .footer .footer-social a {
    font-size: 14px;
  }
  .footer .item .city {
    font-size: 14px;
  }
  .footer .item .phone {
    font-size: 14px;
  }
  .footer .item .email {
    font-size: 14px;
  }
  .pp-1 .pp-1-inner {
    padding: 130px 0 40px 0;
  }
  .pp-1 .page-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
  }
  .pp-1 .tabs {
    grid-column-gap: 30px;
    grid-row-gap: 15px;
  }
  .pp-1 .tabs .tab {
    font-size: 14px;
  }
  .pp-2 .item-inner {
    height: 180px;
  }
  .pp-2 .item-img {
    min-width: 0;
  }
  .pp-2 .item-info {
    display: none;
  }
  .pp-2 .container {
    padding: 0;
  }
  .pip-1 .pip-1-inner {
    padding: 100px 0 70px 0;
  }
  .pip-1 .page-title {
    font-size: 25px;
  }
  .pip-1 .page-subtitle {
    font-size: 14px;
  }
  .pip-1 .project-meta {
    flex-direction: column;
  }
  .pip-1 .project-meta .item {
    font-size: 14px;
  }
  .pip-2 .pip-2-links-inner {
    height: 56px;
    justify-content: center;
  }
  .pip-2 a {
      grid-gap: 10px;
  }
  .pip-2 span {
    font-size: 12px;
  }
  .form-page {
    padding: 30px 0 80px 0;
  }
  .fp-1 {
    margin-bottom: 50px;
  }
  .fp-2 .page-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .fp-2 .page-subtitle {
    font-size: 14px;
  }
  .fp-3 .block-title {
    font-size: 16px;
  }
  .fp-3 .project-price .block-title {
    font-size: 16px;
  }
  .fp-3 .contact-inputs {
    grid-template-columns: 1fr;
  }
  .fp-3 .contact-inputs input {
    height: 46px;
    font-size: 14px;
  }
  .fp-3 .contact-inputs input::placeholder {
    font-size: 14px;
  }
  .fp-3 .project-inputs .radio-btns {
    flex-wrap: wrap;
    grid-gap: 8px;
  }
  .fp-3 .project-inputs .radio-btn label {
    font-size: 14px;
  }
  .fp-3 .project-inputs .textarea textarea {
    font-size: 14px;
  }
  .fp-3 .project-inputs .textarea textarea::placeholder {
    font-size: 14px;
  }
  .fp-3 .project-inputs .input-label span {
    font-size: 14px;
  }
  .fp-3 .project-price .radio-btns {
    flex-wrap: wrap;
    grid-gap: 8px;
  }
  .fp-3 .project-price .radio-btn label {
    font-size: 14px;
  }
  .fp-3 .agree {
    margin-top: 0;
  }
  .fp-3 .flex {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
    align-items: flex-start;
  }
  .fp-3 .agree {
    font-size: 14px;
  }
  .fp-3 .submit {
    width: 100%;
    margin-top: 0;
  }
  .fp-3 button {
    height: 58px;
    width: 100%;
    font-size: 18px;
  }
}
@media screen and (max-width: 320px) {
}