/* reset */

/*
@media (min-width: $media-md) {
}
@media (min-width: $media-lg) {
}
@media (min-width: $media-xl) {
}
@media (min-width: $media-x2l) {
}
@media (min-width: $media-x3l) {
}
*/

.section-title {
  border-top: 1px solid #2c2c2c;
  border-bottom: 1px solid #2c2c2c;
  padding: 15px 0;
  background-color: #121212;
  position: relative;
}

.section-title:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  background: #2c2c2c;
}

.section-title__h1 {
  text-transform: uppercase;
  font-size: 26px;
  color: #2d2d2d;
  line-height: 1.2em;
  font-weight: 300;
  max-width: 50%;
}

.section-title--nice:before {
  display: none;
}

.section-title--nice .section-title__h1 {
  font-family: "Apoc Hairline", Helvetica, Arial, Lucida, sans-serif;
  color: #ededed;
  font-weight: 400;
  max-width: 100%;
}
.link-more
{
  width: 100px;
}
.section-title-large {
  border-bottom: 1px solid #2c2c2c;
  position: relative;
  z-index: 2;
}

.section-title-large__bg {
  opacity: 0;
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 1100px;
  height: auto;
}

.popup {
  color: #141414;
  max-width: 520px;
  padding: 40px 30px;
  background-color: #fff;
}

.popup__title {
  font-size: 32px;
  color: #000;
  margin-bottom: 30px;
  text-align: center;
  font-family: "Apoc Hairline", Helvetica, Arial, Lucida, sans-serif;
  text-transform: uppercase;
  line-height: 1.4;
  text-shadow: 0 0;
}

.popup__text {
  text-align: center;
  margin-bottom: 15px;
}

.popup .f-button.is-close-btn {
  top: 0 !important;
  color: #141414;
  padding: 9px;
  background-color: transparent;
}

.popup .nice-input {
  margin-top: 10px;
}

.service {
  background-color: #191919;
  -webkit-box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.5);
          box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.5);
  margin-bottom: 2px;
  margin-left: -15px;
  margin-right: -15px;
}

.service:last-child {
  margin-bottom: 0;
}

.service__bg {
  position: relative;
}

.service__content {
  padding: 30px 15px;
  color: #191919;
  display: none;
}


.service__image {
  padding-bottom: 66.55%;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-repeat :no-repeat;
  background-position: center;
  background-size: cover;
}


.service__order {
  z-index: 2;
  position: relative;
  margin-top: -20px;
  padding: 30px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.3);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  -webkit-transition: all 0.4s linear;
  transition: all 0.4s linear;
}

.service__order-logo {
  width: 36px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.service__order .btn {
  min-width: 220px;
}

.service__h2 {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 400;
  color: #191919;
  text-transform: uppercase;
}

.service__text {
  margin-bottom: 30px;
}

.service__h3 {
  font-size: 18px;
  font-weight: 300;
  color: #191919;
  text-transform: uppercase;
}

.steps-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid #191919;
  padding-bottom: 10px;
}

.steps-item img {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
  margin-right: 20px;
  width: 26px;
  height: auto;
}
.steps
{
  flex: 0 0 60%;
}

.steps-item__counter
{
  font-size: 12px;
}

.service__content,
.service-item__info
{
  padding: 40px 30px;
  background-color: #ffffff;
}
.service-item__info
{
  display: flex;
  flex-direction: row-reverse;
  position: relative;
  min-height: 158px;
  justify-content: space-between;
  z-index: 2;
}

.service-item__title
{
  color: #191919;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 30px;
  align-self: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: text-decoration 0.4s ease-in-out;
}

.service-item__title:hover
{
  text-decoration: underline #b0322b;
}

.service__btn
{

  border-radius: 76px;
  display: inline-block;
}
.service__btn:hover
{
  color: #b0322b;
}

.service__btn{
  display: none;
  font-weight: 700;
}

.button-wrapper{
  text-align: right;
}

.service__btn--mobile{
  display: inline-block;
  margin-top: 30px;
}

.section.section--overflow.section--pt-0
{
  padding-bottom: 0;
}

@media (min-width: 768px) {

  .section
  {
    padding: 90px 0 0;
  }

  .section-title {
    padding: 23px 0;
  }

  .section-title__h1 {
    font-size: 36px;
  }

  .section-title-large {
    padding-bottom: 50px;
    padding-top: 50px;
  }

  .section-title-large__bg {
    opacity: 1;
  }

  .section-title--nice .section-title__h1 {
    text-align: center;
  }


  .service__image {
    padding-bottom: 81.16%;
  }

  .service__order {
    position: absolute;
    margin-top: 0;
    left: 30px;
    bottom: 30px;
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    padding: 60px 40px;
  }
}

@media (min-width: 992px) {

  .link-more
  {
    visibility: hidden;
  }

  .service-item__title
  {
    font-size: 30px;
    line-height: 35px;
  }
  .service__content
  {
    display: block;
  }

  .service__image {
    position: absolute;
    padding-bottom: 0;
    top: 160px;
  }

  .section-title-large {
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-title-large:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(25% - 0.5px);
    width: 1px;
    background: #2c2c2c;
  }

  .section-title-large:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(75% - 0.5px);
    width: 1px;
    background: #2c2c2c;
  }

  .service {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 3px;
  }

  .service__bg {
    width: 45%;
    min-height: 600px;
    position: relative;
    align-self: stretch;
    background: #fff
  }


  .service__content {
    width: 55%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        /*-ms-flex-direction: column;*/
        /*    flex-direction: column;*/
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #191919;
    gap: 50px;
  }

  .service--reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }

  .service--reverse .service__order {
    left: auto;
    right: 30px;
  }

  .service__btn{
    display: inline-block;
  }
  .service__btn--mobile
  {
    display: none;

  }
}

@media (min-width: 1200px) {
  .section-title__h1 {
    font-size: 42px;
  }

  .service {
    margin-left: -30px;
    margin-right: -30px;
  }

}