:root{
  --white: #ffffff;
  --red: #ee3524;
  --primary-text: #403f3f;
  --black: #212121;
  --footer-border: #e2e3e4;
}

body{
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-weight: 400;
  background: var(--white);
  position: relative;
  color: var(--primary-text);
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
  max-width: 1418px;
  min-width: 1418px;
}

#header,
#footer{
  min-width: 1418px;
}

#header{
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  width: 100%;
  background: var(--white);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);

  .logo_cmm{
  }

  .button{
    margin: 0 0 0 auto;
  }

}

.button{
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--red);
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;

  &:hover, &:focus{
    background: var(--white);
    color: var(--red);

    img{
      filter: brightness(0) saturate(100%) invert(31%) sepia(65%) saturate(2088%) hue-rotate(341deg) brightness(90%) contrast(108%);
    }

  }

}

.baner{
  background: url("../images/baner_background.png") no-repeat center center;
  height: 540px;
  display: flex;
  align-items: center;
  margin: 0 0 40px 0;
  background-size: cover;
  min-width: 1418px;

  .button{
    text-transform: none;
    font-size: 20px;
    padding: 0 20px;
  }

  .banerContent{
    display: flex;
    align-items: center;
    padding: 0 30px;

    .textWrapper{
      width: 100%;
      color: var(--white);
      padding: 0 80px 0 0;

      h1{
        font-size: 32px;
        font-weight: 900;
        text-transform: uppercase;
        margin: 0 0 10px 0;
        line-height: 44px;

        span{
          background: var(--red);
          display: inline-flex;
          padding: 3px 3px
        }

      }

      h2{
        font-size: 32px;
        line-height: 48px;
        margin: 0 0 20px 0;
        width: 80%;
        font-weight: 600;
      }

      h3{
        font-size: 20px;
        margin: 0 0 20px 0;
        font-weight: 400;
      }

    }

    .imageWrapper{

      img{
        width: 553px;
        height: auto
      }

    }

  }

}

.section{

  .col-12{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .headerWrapper{
    margin: 0 0 50px 0;

    .header{
      font-size: 32px;
      text-transform: uppercase;
      font-weight: 600;
      border-bottom: 3px solid var(--red);
      padding: 0 0 3px 0;
    }

  }

  .offerList{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex: 0;
    margin: 0;

    &.first{

      .offerListElement:nth-child(1){

        .offerListElementHeader{

          .offerListElementHeaderTitle{
            max-width: 172px;
          }

        }

      }

    }

    &.second{

      .offerListElement:nth-child(2){

        .offerListElementHeader{

          .offerListElementHeaderTitle{
            max-width: 150px;
          }

        }

      }

    }

    .offerListElement{
      box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
      padding: 30px 20px;
      background: var(--white);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      width: calc((100% / 2) - 20px);
      border-radius: 7px;
      min-height: 200px;

      &.special{
        box-shadow: none;
        align-items: flex-start;
        min-width: 405px;
        flex: 0;

        .offerListElementHeader{
          margin-bottom: 10px;

          .offerListElementHeaderTitle{
            font-size: 32px;
            font-weight: 600;
            display: flex;
            gap: 10px;
            align-items: center;
            margin: 0;

            &:before{
              background: var(--red);
              content: "";
              width: 20px;
              height: 20px;
              border-radius: 2px;
            }

          }

        }

        .offerListElementDescription{
          text-align: left;
        }

      }

      .offerListElementHeader{
        margin: 0 0 20px 0;
        display: flex;
        gap: 15px;
        align-items: center;
        justify-content: center;

        .offerListElementHeaderIcon{

          img{
            height: 30px;
          }

        }

        .offerListElementHeaderTitle{
          margin: 0;
          text-align: center;
          font-size: 20px;
          font-weight: 600;
          display: inline-flex;
          width: fit-content;
        }

      }

      .offerListElementDescription{
        font-size: 16px;
        line-height: 28px;
        text-align: center;
      }

    }
  }

}

.sectionOne{
  background: url("/images/section_1_background.png") no-repeat center center;
  margin: 0 0 115px;

  .offerList{
    gap: 40px;
    max-width: 840px;

    .offerListElement{

      .offerListElementDescription{
        font-weight: 600;
        font-size: 20px;
        line-height: 28px;
      }

    }

  }

}

.sectionTwo{
  background: url("/images/section_2_background.png") no-repeat top center;
  margin: 0 0 80px 0;

  .offerList{
    gap: 20px;

    &.first{
      margin: 0 0 85px 0;

      .offerListElement{
        width: calc((100% / 4) - 15px);
      }

    }

    &.second{
      justify-content: center;

      .offerListElement{
        width: calc((100% / 4) - 15px);
      }

    }

    .offerListElement{

      .offerListElementDescription{

      }

    }

  }

}

.sectionThree{
  background: url("/images/section_3_background.png") no-repeat top center;
  padding: 90px 0;
  margin: 0 0 60px 0;

}

.sectionFour{
  margin: 0 0 120px 0;
}

.specialBlockOne{
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
  padding: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: 7px;
  width: fit-content;
  margin: 0 0 80px 0;

  .imageWrapper{
    margin-bottom: 20px;

    img{
      width: 100%;
      height: auto;
    }

  }

  .textWrapper{
    max-width: 958px;

    .specialBlockTitle{
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .specialBlockDescription{
      font-size: 18px;
      line-height: 28px;
    }

  }

}

.specialBlockTwo{
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
  padding: 20px;
  background: var(--white);
  display: flex;
  align-items: flex-start;
  border-radius: 7px;
  width: fit-content;
  gap: 40px;

  .imageWrapper{
    margin-bottom: 20px;
    width: 444px;

    img{
      width: 100%;
      height: auto;
    }

  }

  .textWrapper{
    max-width: 473px;
    display: flex;
    flex-direction: column;
    gap: 10px;

    .specialBlockTitle{
      font-size: 24px;
      font-weight: 600;
      margin: 0;
    }

    .specialBlockDescription{
      font-size: 18px;
      line-height: 28px;
    }

  }

}

.whatWeOfferList{
  margin: 0 0 60px 0;
  display: flex;

  .whatWeOfferListElement{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding: 0 20px;

    .number{
      color: var(--red);
      font-size: 36px;
      display: inline-flex;
      font-weight: 800;
      width: 49px;
      height: 49px;
      align-items: center;
      justify-content: center;
      border-radius: 75%;
      border: 1px solid var(--red);
    }

    .whatWeOfferListDescription{
      text-align: center;
      font-size: 20px;
      line-height: 28px;
      font-weight: 600;
    }

  }

}

.whatWeOfferInfo{
  font-size: 18px;
  text-align: center;
  margin: 0 0 40px 0;
}

.contantInfo{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;

  .header{
    font-size: 31px;
    font-weight: 600;
    margin: 0;
  }

  a{
    color: var(--primary-text);
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;

    &:hover, &:focus{
      text-decoration: underline;
    }

  }

  .phoneWrapper, .mailWrapper{
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
  }

}

#footer{
  background: var(--black);
  padding: 60px 0 30px 0;

  .papServices{
    margin: 0 0 50px 0;

    .headerWrapper{
      border-bottom: 1px solid var(--footer-border);
      margin: 0 0 15px 0;

      .header{
        color: var(--white);
        font-size: 16px;
        text-transform: uppercase;
        margin: 0 0 15px 0;
      }

    }

    .papServicesList{
      display: flex;
      width: 100%;
      justify-content: space-between;

      .papServicesListElement{

        a{
          display: inline-flex;
          justify-content: center;
          align-items: center;
          height: 180px;
          width: 100%;

          &:hover, &:focus{

            img{
              filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(388%) hue-rotate(172deg) brightness(93%) contrast(87%);
            }

          }

          img{
            height: 60px;
            width: auto;
            filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(1%) hue-rotate(46deg) brightness(106%) contrast(101%);
          }

        }

      }

    }

  }

  .footerTop{
    display: flex;
    padding: 0 0 10px 0;
    border-bottom: 1px solid var(--footer-border);
    align-items: flex-end;
    margin: 0 0 40px 0;

    .logoPAP{
      filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(1%) hue-rotate(46deg) brightness(106%) contrast(101%);
      width: 128px;
      height: auto;
    }

    .socialList{
      display: flex;
      gap: 20px;
      margin: 0 0 0 auto;

      .socialListElement{

        a{
          background: #80848d;
          border-radius: 75%;
          width: 30px;
          height: 30px;
          display: flex;
          align-items: center;
          justify-content: center;

          &:hover, &:focus{
            background: #aeb0ba;
          }

          img{
            filter: brightness(0) saturate(100%) invert(18%) sepia(19%) saturate(784%) hue-rotate(184deg) brightness(93%) contrast(85%);
          }

        }

      }

    }

  }

  .footerMiddle{
    margin: 0 0 20px 0;

    .contactList{
      display: flex;

      .contactListElement{
        width: 23%;
        display: flex;
        flex-direction: column;
        gap: 5px;

        .header{
          color: var(--white);
          font-size: 15px;
          font-weight: 600;
          margin: 0 0 15px 0;
        }

        a{
          color: #ffffff;
          text-decoration: none;

          &:hover, &:focus{
            text-decoration: underline;
          }

        }

      }

    }

  }

  .toTop{
    display: flex;
    justify-content: flex-end;

    a{
      color: var(--white);
      text-decoration: none;
      display: flex;
      gap: 5px;

      &:hover, &:focus{
        text-decoration: underline;
      }

      img{
        width: 24px;
        height: 24px;
        filter: brightness(0) saturate(100%) invert(99%) sepia(6%) saturate(472%) hue-rotate(248deg) brightness(114%) contrast(100%);
      }

    }

  }

  .footerBottom{
    border-top: 1px solid var(--footer-border);
    margin: 20px 0 0 0;
    padding: 30px 0 0 0;
    color: var(--white);
    font-size: 14px;

  }

}

.imageMobile{
  display: none;
}

@media (max-width: 1500px){
  body{
    zoom: 0.95;
  }
}

@media (max-width: 1400px){
  body{
    zoom: 0.9;
  }
}

@media (max-width: 1300px){
  body{
    zoom: 0.85;
  }
}

@media (max-width: 1200px){
  body{
    zoom: 0.75;
  }
}

@media (max-width: 991px){

  body{
    zoom: 1;
  }

  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
    max-width: 1418px;
    min-width: inherit;
  }

  #header,
  #footer{
    min-width: inherit;
  }

  .baner{
    min-width: inherit;

    .banerContent{
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
      padding: 0;

      .imageWrapper{
        order: 1;
        width: 100%;
        text-align: center;

        img{
          width: 300px;
        }

      }

      .textWrapper{
        order: 2;
        text-align: center;
        width: 100%;
        padding: 0;

        h1{
          font-size: 28px;
          line-height: 44px;

          span{
            font-size: 28px;
          }

        }

        h2{
          font-size: 16px;
          line-height: 100%;
          text-align: center;
          width: 100%;
        }

        h3{
          font-size: 14px;
        }

        .button{
          font-size: 16px;
        }

      }

    }

  }

  .section{
    & .headerWrapper{
      margin: 0 0 40px 0;

      .header{
        font-size: 28px;
        text-align: center;
      }
    }

    & .offerList{
      gap: 20px;

      & .offerListElement{
        width: calc((100% / 2) - 10px); min-height: 180px;

        & .offerListElementHeader{
          .offerListElementHeaderTitle{
            font-size: 18px;
          }

          .offerListElementHeaderIcon{
            height: 30px;
          }
        }

        .offerListElementDescription{

          font-size: 15px;

        }
      }
    }

  }

  .sectionOne{
    margin: 0 0 70px 0;
  }

  .sectionTwo{
    margin: 0;

    & .offerList{

      &.first{
        margin: 0 0 50px 0;

        .offerListElement{
          width: calc((100% / 2) - 10px);

          .offerListElementHeader{
            width: 200px;
          }

        }
      }

      &.second{
        margin: 0 0 50px 0;

        width: 100%;
        flex-direction: column;

        .offerListElement{
          width: 100%;

          &.special{
            padding: 0;
            margin: 0 0 20px 0;
            text-align: center;
            align-items: inherit;
            min-width: inherit;

            .offerListElementDescription{
              text-align: center;
            }

          }

        }
      }
    }
  }

  .sectionThree{
    padding: 30px 0;
  }

  .specialBlockOne{
    margin: 0 0 50px 0;

    & .textWrapper{
      .specialBlockTitle{
        font-size: 20px;
      }

      .specialBlockDescription{
        font-size: 15px;
      }
    }
  }

  .specialBlockTwo{
    flex-direction: column;
    gap: 20px;
    width: 100%;

    .imageWrapper{
      width: 100%;
      margin: 0;

      img{
        width: 100%;
        height: auto;
      }

    }

    .textWrapper{

      .icon{

        img{
          width: 60px;
          height: 60px;
        }

      }

      .specialBlockTitle{
        font-size: 20px;
      }

      .specialBlockDescription{
        font-size: 15px;
      }

    }

  }

  .whatWeOfferList{
    flex-wrap: wrap;
    gap: 20px;

    .whatWeOfferListElement{
      width: calc((100% / 2) - 10px);

      .whatWeOfferListDescription{
        font-size: 18px;

      }

    }
  }

  .whatWeOfferInfo{
    font-size: 15px;
  }

  .contantInfo{

    .header{
      font-size: 19px;
    }

    a{
      font-size: 18px;
    }

  }

  #footer{

    & .papServices{
      & .papServicesList{
        flex-wrap: wrap;

        & .papServicesListElement{
          width: 33%;

          &:nth-child(1){
            width: 100%;
          }

          & a{
            height: 60px;

            img{
              height: 30px;
              width: auto;
            }
          }
        }
      }
    }

    .footerTop{
      align-items: center;

      .logoPAP{

        img{
          width: 128px;
        }

      }

      .socialList{
        gap: 10px;
      }
    }

    .footerMiddle{
      .contactList{
        flex-direction: column;
        gap: 30px;

        .contactListElement{
          width: 100%;

        }
      }
    }

    .toTop{
      display: none;
    }

  }

}

@media (max-width: 575px){

  #header{
    padding: 0 10px;

    .logo_cmm{
      img{
        height: 50px;
      }
    }

    .button{
      padding: 0 5px;
      height: 32px;
      gap: 5px;
    }
  }

  .section{
    & .offerList{
      & .offerListElement{
        width: 100%
      }
    }
  }

  .sectionTwo{
    & .offerList{
      &.first{
        .offerListElement{
          width: 100%;
        }
      }
    }
  }

  .whatWeOfferList{
    .whatWeOfferListElement{
      width: 100%;
    }
  }

  .imageDesktop{
    display: none;
  }

  .imageMobile{
    display: flex;
  }

}