@media (max-width: 1542px) {

  .gallery-photos-color {
    width: 1180px;
    padding: 50px 0px 50px 0px;
    margin-left: 0;
  }

  .gallery-photos-color .card {
    justify-content: center;
  }

  .gallery-photos-color .img-card-small {
    width: 240px;
  }

  .gallery-photos-color .img-card-medium {
    width: 340px;
  }

  .gallery-photos-color .img-card-big {
    width: 440px;
  }
}


/*-------------------------------------*/


@media (max-width: 1179px) {

  :root {
    font-size: 16px;
  }

  .container {
    max-width: 960px;
    padding: 0 20px;
  }

  /*banner (начало)*/

  .banner-content p {
    padding-left: 5px;
  }

  h1 {
    font-size: 3.6rem;
    margin-left: 0;
  }

  .slogan {
    font-size: 1.4rem;
  }

  .slogan2 {
    width: 440px;
    font-size: 0.9rem;
  }

  .photo-banner {
    width: 400px;
    height: 400px;
  }

  .banner-row-text {
    font-size: 0.8rem;
    gap: 20px;
  }

  /*banner (конец)*/


  /*gallery (начало)*/

  .gallery {
    padding-bottom: 100px;
  }

  .gallery-row-text {
    gap: 30px;
  }

  .gallery-text-best {
    width: 380px;
    margin-left: 530px;
  }

  .gallery-photos {
    gap: 4px;
    justify-content: center;
  }

  .card p {
    font-size: 0.9rem;
  }

  .subtitle {
    margin-bottom: 10px;
  }

  .subtitle-best {
    width: 380px;
  }

  .subtitle-best2 {
    width: 480px;
    margin-left: 400px;
  }

  .img-card-small {
    width: 200px;
    height: 400px;
  }

  .img-card-medium {
    width: 300px;
    height: 400px;
  }

  .img-card-big {
    width: 400px;
    height: 400px;
  }

  .gallery-txt {
    width: 214px;
    height: 400px;
  }

  /*gallery-photos-color (начало)*/

  .gallery-photos-color {
    width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0;
  }

  .gallery-photos-color .card {
    display: flex;
    justify-content: center;
    gap: 4px;
  }

  .gallery-photos-color .img-card-small {
    width: 200px;
    height: 400px;
  }

  .gallery-photos-color .img-card-medium {
    width: 300px;
    height: 400px;
  }

  .gallery-photos-color .img-card-big {
    width: 400px;
    height: 400px;
  }

  /*gallery-photos-color (конец)*/

  .card-center {
    gap: 4px;
  }

  .img-card-tiny {
    width: 284px;
    height: 198px;
  }

  .img-card-XL {
    width: 480px;
    height: 380px;
  }

  .img-card-xs {
    width: 300px;
    height: 200px;
  }

  .gallery-business .slogan2 {
    width: 320px;
    margin-left: 586px;
    margin-top: 10px;
  }

  .subtitle-best3 {
    display: flex;
    width: 420px;
    margin-left: 500px;
    text-align: right;
  }

  /*gallery (конец)*/


  /*firms (начало)*/

  .firms-logos {
    height: 100%;
  }

  .firms-card-egger,
  .firms-card-krono {
    width: 220px;
    height: 220px;
    margin-top: 110px;
    font-size: 0.8rem;
  }

  .firms-card-egger {
    margin-left: 0;
  }

  .firms-card-krono {
    margin-left: 700px;
  }

  .card-img {
    width: 142px;
    height: 43px;
    margin-left: 20px;
  }

  .firms-card-krono .card-text,
  .firms-card-egger .card-text {
    width: 180px;
  }

  .firms-card-blum {
    padding: 40px 50px;
    margin-top: -104px;
    margin-left: 554px;
  }

  .card-img2 {
    width: 70px;
    height: 70px;
  }

  .firms-card-FGV {
    margin-left: 138px;
  }

  .firms-card-Hettich {
    margin-left: 600px;
  }

  .paragraph {
    display: flex;
    width: 350px;
    height: 350px;
    font-size: 1rem;
    padding: 0;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .paragraph p {
    margin: 0 auto;
  }

  /*firms (конец)*/


  /*about (начало)*/

  .about-text {
    margin-left: 150px;
  }

  .about-txt {
    margin-left: 450px;
  }

  .cards {
    justify-content: space-between;
  }

  .one,
  .two,
  .three,
  .four {
    width: 205px;
    height: 500px;
  }

  .heading {
    font-size: 1.25rem;
  }

  /*about (конец)*/


  /*step (начало)*/

  .step-two {
    width: 320px;
  }

  .step-three {
    width: 300px;
  }

  /*step (конец)*/


  /*feedback (начало)*/

  .feedback-container-content {
    gap: 20px;
  }

  .feedback-content-bloks-small {
    width: 214px;
  }

  .feedback-content-bloks-medium {
    width: 314px;
  }

  /*feedback (конец)*/


  /*partners (начало)*/

  .partners {
    padding-top: 60px;
  }

  .partners-text {
    width: 780px;
    padding: 150px 100px;
  }

  .circle-guarantee {
    margin-top: 320px;
    margin-left: 126px;
  }

  .below {
    margin-top: 220px;
  }

  /*partners (конец)*/

  /*feedback (начало)*/

  .feedback-content-bloks-small {
    width: 200px;
  }

  .feedback-content-bloks-medium {
    width: 300px;
  }

  .feedback-content-bloks-big {
    width: 380px;
  }

  .img-stars {
    width: 14px;
    height: 14px;
  }

  /*feedback (конец)*/


  /*footer (начало)*/

  .footer-links-box {
    gap: 10px;
  }

  /*footer(конец)*/
}



/*---------------------------------*/



@media (max-width: 959px) {

  .container {
    width: 767px;

  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.33rem;
  }

  /*navbar (начало)*/

  .navbar-link {
    font-size: 0.8rem;
    font-weight: 800;
  }

  /*navbar (конец)*/


  /*banner (начало)*/

  .banner {
    padding-bottom: 50px;
  }

  .position {
    font-size: 0.8rem;
  }

  .slogan {
    width: 360px;
    font-size: 1.1rem;
  }

  .slogan1 {
    width: 460px;
  }

  .banner-content .slogan2 {
    width: 430px;
    font-size: 0.8rem;
    padding: 10px 0;
  }

  .photo-banner {
    width: 250px;
    height: 250px;
  }

  button {
    margin-left: 0;
    width: 340px;
    letter-spacing: 0px;
    font-size: 1rem;
    padding: 20px 40px;
    margin-top: 20px;
  }

  /*banner (конец)*/


  /*banner-row (начало)*/

  .banner-row-text {
    gap: 11px;
    font-size: 0.7rem;
  }

  /*banner-row (конец)*/


  /*gallery (начало)*/

  .gallery {
    padding-bottom: 0;
  }

  .gallery-row-text {
    font-size: 0.8rem;
    gap: 4px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .gallery-text {
    font-size: 1rem;
    width: 408px;
  }

  .gallery-text-best {
    font-size: 1rem;
    margin: 10px 0 16px 400px;
  }

  .gallery-house {
    margin-bottom: 0;
  }

  .gallery-photos {
    gap: 6px;
    margin-bottom: 20px;
  }

  .card p {
    margin-top: 2px;
  }

  .card-house p {
    font-size: 0.8rem;
  }

  .img-card-small,
  .img-card-medium,
  .img-card-big,
  .gallery-txt {
    width: 238px;
    height: 314px;
  }

  .img-card-tiny {
    width: 238px;
    height: 155px;
  }

  .img-card-XL {
    width: 354px;
    height: 293px;
  }

  /*gallery-photos-color (начало)*/

  .gallery-photos-color {
    width: 748px;
    margin-top: 50px
  }

  .gallery-photos-color .card {
    flex-direction: column;
    margin: 0 auto;
    gap: 30px;
  }

  .gallery-photos-color .img-card-small,
  .gallery-photos-color .img-card-medium,
  .gallery-photos-color .img-card-big {
    width: 300px;
    height: 440px;
  }

  /*gallery-photos-color (конец)*/

  .img-card-xs {
    width: 240px;
  }

  .gallery-txt {
    font-size: 1.1rem;
  }

  .subtitle {
    font-size: 1.33rem;
    margin-top: 55px;
  }

  .subtitle-best {
    font-size: 1rem;
  }

  .subtitle-best2 {
    width: 390px;
    font-size: 1rem;
    margin-left: 260px;
  }

  .gallery-business .slogan2 {
    font-size: 0.9rem;
    width: 300px;
    margin-left: 420px;
  }

  .card p {
    font-size: 0.8rem;
  }

  .subtitle-best3 {
    width: 330px;
    margin-left: 400px;
    font-size: 0.8rem;
  }

  /*gallery (конец)*/

  /*firms (начало)*/

  .firms {
    padding-top: 0;
  }

  .firms-logos .container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .firms .slogan2 {
    width: 400px;
    padding: 2px 2px;
    font-size: 0.8rem;
  }

  .firms-card-egger,
  .firms-card-krono,
  .firms-card-blum,
  .firms-card-FGV,
  .firms-card-Hettich {
    position: static;
    margin: 0 auto;
  }

  .paragraph {
    margin: 0 auto;
  }

  /*firms (конец)*/


  /*about (начало)*/

  .about {
    padding-top: 70px;
    padding-bottom: 150px;
  }

  .about-text {
    margin-left: 0;
    margin-top: 10px;
    font-size: 1rem;
  }

  .about-txt {
    font-size: 0.9rem;
    margin-left: 182px;
    margin-bottom: 20px;
  }

  .one,
  .two,
  .three,
  .four {
    width: 167px;
    height: 400px;
  }

  .heading {
    font-size: 0.8rem;
  }

  .desc {
    font-size: 0.7rem;
  }

  /*about (конец)*/

  /*step (начало)*/

  .steps {
    padding-top: 70px;
    padding-bottom: 150px;
  }

  .subject {
    font-size: 1rem;
    font-weight: 700;
  }

  .info {
    font-size: 1rem;
  }

  .step-three {
    margin-bottom: 10px;
  }

  .step-small,
  .step-medium,
  .step-big {
    width: 230px;
  }

  .number {
    width: 70px;
    height: 70px;
    font-size: 1.1rem;
    padding: 24px 0;
  }

  /*step (конец)*/

  /*feedback (начало)*/

  .feedback {
    padding: 120px 0;
  }

  .feedback-content-bloks-small,
  .feedback-content-bloks-medium,
  .feedback-content-bloks-big {
    width: 230px;
  }

  .feedback-content-box {
    padding: 50px 25px;
  }

  /*feedback (конец)*/


  /*partners (начало)*/

  .partners {
    padding-bottom: 130px;
  }

  .cnt {
    font-size: 1rem;
  }

  .partners-content p {
    font-size: 0.9rem;
  }

  .partners-text {
    padding: 110px 110px;
  }

  .circle-text {
    width: 300px;
  }

  .circle-guarantee {
    margin-left: 60px;
    margin-top: 330px;
    padding: 34px 20px;
  }

  .below {
    margin-top: 260px;
  }

  /*partners (конец)*/

  /*footer (начало)*/

  .footer-links-box {
    margin-left: 42px;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 10px;
  }

  .footer-links {
    margin: 0;
    font-size: 1rem;
  }

  /*footer(конец)*/
}



/*---------------------------------*/



@media (max-width: 767px) {

  .container {
    width: 360px;
    padding: 0 10px;
  }

  /*header (начало)*/

  .location {
    display: none;
  }

  .icons {
    display: flex;
    justify-content: end;
    margin-top: 20px;
  }

  .icon-tel {
    display: block;
    width: 40px;
    height: 40px;

  }

  /*header (конец)*/


  /*navbar (начало)*/

  .navbar {
    padding-top: 10px;
    height: 90px;
  }

  .navbar-container {

    flex-direction: column;
    height: 70px;
    gap: 6px;
  }

  .navbar-links {
    gap: 41px;
  }

  .navbar-link {
    font-size: 0.8rem;
    font-weight: 800;
  }

  /*navbar (конец)*/

  /*banner (начало)*/

  .banner {
    padding-bottom: 160px;
  }

  .banner .container {
    flex-direction: column;
  }

  .banner-content {
    margin: 0 auto;
    padding: 0 0 20px;
    width: 340px;
  }

  .position {
    display: none;
  }

  .position-mob {
    display: block;
    width: 340px;
    margin-top: 10px;
    color: #011923;
    padding: 10px 0 10px;
    margin-bottom: 30px;
    font-size: 0.6rem;
    font-weight: 400;
    text-align: center;
    border-bottom: 1px solid #011923;
    border-top: 1px solid #011923;
  }

  .banner-content p {
    padding-left: 0;
  }

  h1 {
    font-size: 2.6rem;
    margin-left: 0;
  }

  .slogan {
    width: 340px;
    font-size: 1.1rem;
  }

  .slogan1 {
    width: 340px;
    font-size: 0.7rem;
  }

  .photo-banner {
    width: 340px;
    height: 340px;
  }

  button {
    position: absolute;
    margin-top: 380px;
  }

  /*banner (конец)*/


  /*banner-row (начало)*/

  .banner-row-text {
    gap: 10px;
    overflow-x: scroll;
  }

  .banner-row-text p {
    display: inline-block;
    white-space: nowrap;
  }

  /*banner-row (конец)*/

  /*gallery (начало)*/

  .gallery-row-text,
  .gallery-row-text-content {
    flex-direction: column;
  }

  .gallery-row-text {
    padding: 50px 50px 40px;
  }

  .gallery-row-text-content {
    gap: 0;
    margin-top: 20px;
  }

  .gallery-text {
    width: 340px;
  }

  .gallery-text-best {
    margin-left: 0;
    margin-bottom: 30px;
    width: 340px;
  }

  .gallery-photos {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }

  .img-card-small,
  .img-card-medium,
  .img-card-big,
  .img-card-tiny,
  .img-card-XL,
  .img-card-xs,
  .gallery-txt {
    width: 100%;
    height: 480px;
  }

  .gallery-txt {
    height: auto;
    ;
  }

  .img-card-tiny {
    height: 200px;
  }

  .img-card-xs {
    height: 320px;
  }

  .img-card-XL {
    height: 320px;
  }


  /*gallery-photos-color (начало)*/
  .gallery-photos-color {
    width: 340px;
  }

  /*gallery-photos-color (конец)*/

  .subtitle-best {
    width: 100%;
  }

  .subtitle-best2 {
    width: 100%;
    margin-left: 0;
  }

  .gallery-business .slogan2 {
    width: 340px;
    margin-left: 0;
  }

  .subtitle-best3 {
    margin-left: 10px;
    margin-bottom: 40px;
  }

  #n1,
  #n2 {
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
  }

  #n1:hover,
  #n2:hover {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    transform: none;
    -webkit-transition: none;
    -moz-transition: none;
    transition: none;
  }

  /*gallery (конец)*/


  /*firms (начало)*/

  .firms {
    margin-top: 100px;
  }

  .firms-container-title {
    width: 340px;
  }

  .firms .slogan2 {
    width: 340px;
    text-align: left;
    padding: 10px;
  }

  .paragraph {
    width: 340px;
    height: 340px;
  }

  /*firms (конец)*/


  /*about (начало)*/

  .about-txt {
    margin-left: 0;

  }

  .cards {
    flex-direction: column;
  }

  .one,
  .two,
  .three,
  .four {
    width: 340px;
    height: 100%;
    padding: 40px 20px;
  }

  .heading {
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .heading br,
  .desc br {
    display: none;
  }

  .desc {
    font-size: 1rem;
  }

  /*about (конец)*/


  /*step (начало)*/

  .steps br {
    display: none;
  }

  .steps-box-step {
    flex-direction: column;
    gap: 40px;
  }

  .step-small,
  .step-medium,
  .step-big {
    width: 300px;
  }

  /*step (конец)*/


  /*feedback (начало)*/

  .feedback-container-content {
    flex-direction: column;
  }

  .feedback-content-bloks-small,
  .feedback-content-bloks-medium,
  .feedback-content-bloks-big {
    width: 340px;
  }

  /*feedback (конец)*/


  /*partners (начало)*/

  .partners .container {
    flex-direction: column;
  }

  .partners-content h2 {
    margin-bottom: 20px;
  }

  .circle-guarantee {
    margin-top: 250px;
    margin-left: 200px;
  }

  .partners-text br {
    display: none;
  }

  .partners-text {
    width: 340px;
    padding: 40px 30px;
    margin-top: 140px;
  }

  .circle-text {
    width: 260px;
  }

  .below {
    position: absolute;
    margin-top: 900px;
  }

  /*partners (конец)*/


  /*footer (начало)*/

  .footer-links-box {
    flex-direction: column;
    margin: 20px auto;
  }

  .footer-link {
    font-size: 0.8rem;
  }

  /*footer(конец)*/

}