.inner-carousel {
  position: relative;

  .slick-dots {
    display: flex;
    justify-content: center;
    margin: 0 -10px;

    li {
      margin: 0 10px;
      position: relative;
      bottom: 42px;
      width: 40px;
      height: 2px;

      background: #ffffff;
      opacity: 0.2;
      border-radius: 10px;

      transition: $fast-transition;

      button {
        font-size: 0;
      }

      &.slick-active {
        opacity: 1;
      }
    }
  }

  .slick-arrow {
    z-index: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    width: 60px;
    border: 2px solid #ffffff;
    font-size: 0;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      z-index: 1;
      background-position: center;
      background-repeat: no-repeat;
      background-image: url("../img/index-arrow.svg");
    }

    &:hover {
      background: #ffffff;

      &::before {
        background-image: url("../img/index-arrow-active.svg") !important;
      }
    }

    &.slick-prev {
      left: 40px;

      &:hover::before {
        transform: rotate(180deg);
      }
    }

    &.slick-next {
      right: 40px;

      &::before {
        transform: rotate(180deg);
      }

      &:hover::before {
        transform: rotate(0);
      }
    }
  }

  .inner-carousel__item {
    outline: none;
    height: 680px;
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;

    .carousel__item-image {
      position: absolute;
      top: 0;
      left: 0;
      min-width: 100%;
      min-height: 100%;
    }

    .carousel__item-description {
      display: inline-block;
      position: relative;
      padding: 46px 114px 66px 60px;
      background: rgba(0, 50, 116, 0.65);
      color: #ffffff;

      .carousel__item-description__title {
        max-width: 500px;
        font-weight: 700;
        font-size: 34px;
        line-height: 47px;
        margin-bottom: 50px;
      }

      .carousel__item-description__link {
        background: #ffffff;
        display: inline-block;
        padding: 20px 76px;
        font-size: 16px;
        line-height: 21px;
        font-weight: 700;
        color: $hover-blue;
        transition: $fast-transition;

        &:hover {
          @extend %hover-green;
        }
      }
    }
  }
}

// === NEWS ===

.news {
  padding: 80px 0;

  .news-row {
    height: 680px;
    margin: 0 -15px;
    display: flex;

    .news-row__item {
      height: 680px;
      margin: 0 15px;
      display: inline-flex;
      flex-direction: column;
      justify-content: space-between;

      .news-row__item-thing {
        height: 209px;
        width: 370px;
        position: relative;
        z-index: 1;
        cursor: pointer;
        padding: 30px;
        background: #f9f9f9;
        transition: $fast-transition;
        overflow: hidden;
        
        .news-row__item-img {
          position: absolute;
          top: 0;
          left: 0;
          z-index: -1;
          transition: $fast-transition;
        }

        .news-row__item-big-title {
          font-weight: 700;
          font-size: 80px;
          line-height: 104px;
          color: #ffffff;
          transition: inherit;
        }

        .news-row__item-title {
          text-decoration: underline;
          font-weight: 700;
          font-size: 16px;
          line-height: 26px;
          color: #1a1a1a;
          transition: inherit;
        }

        .news-row__item-time {
          margin-top: 50px;
          display: block;
          font-size: 16px;
          line-height: 21px;
          color: #cccdcf;
          transition: inherit;
        }

        &:hover {
          background: $green !important;

          .news-row__item-img {
            transform: scale(1.05);
          }

          .news-row__item-big-title {
            color: #ffffff;
          }

          .news-row__item-title {
            text-decoration: underline;
            color: #ffffff;
          }

          .news-row__item-title-time {
            color: #ffffff;
          }
        }

        &._blue {
          background: $blue;

          .news-row__item-title, .news-row__item-time {
            color: #ffffff;
          }
        }

        &._full {
          display: flex;
          flex-direction: column;
          justify-content: flex-end;
          height: 680px;

          &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            z-index: 0;
            background: rgba(0, 50, 116, 0.5);
          }

          .news-row__item-title {
            z-index: 2;

            font-size: 28px;
            line-height: 35px;

            color: #ffffff;
          }

          .news-row__item-time {
            z-index: 2;
          }
        }

        &._half {
          height: 443px;

          .news-row__item-title {
            font-size: 22px;
          }
        }
      }
    }
  }
}

// === SERVICES ===

.services {
  .services-row {
    display: flex;
    height: 558px;
    margin: 0 -15px;

    .services-row__item {
      display: flex;
      justify-content: space-between;
      flex-direction: column;
      margin: 0 15px;

      .services-row__item-thing {
        position: relative;
        padding: 35px 30px;
        background: #ffffff;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.05);
        display: block;
        height: 166px;

        &::before {
          content: "";
          position: absolute;
          bottom: 0;
          left: 0;
          width: 70px;
          height: 5px;
          z-index: 1;
          background: $blue;
          transition: $long-transition;
        }

        &:hover {
          &::before {
            width: 100%;
            height: 100%;
          }

          .row__item-thing__title {
            text-decoration: underline;
            color: #ffffff;
          }

          .row__item-thing__button {
            color: #ffffff;
            border: 1px solid #ffffff;

            transition: $fast-transition;

            &:hover {
              border: 1px solid $green;
              @extend %hover-green;
            }
          }
        }

        .row__item-thing__title {
          position: relative;
          z-index: 1;
          font-weight: 350;
          font-size: 16px;
          line-height: 26px;
          color: #1a1a1a;

          transition: $fast-transition;
        }

        .row__item-thing__button {
          position: relative;
          z-index: 1;
          display: inline-block;
          padding: 20px 65px;
          margin-top: 117px;
          font-weight: 700;
          font-size: 16px;
          line-height: 21px;
          color: #1a1a1a;
          border: 1px solid #1a1a1a;

          transition: $fast-transition;
        }

        &._half {
          flex: 0 1 65%;
        }
      }
    }
  }
}

// === BANNERS ROW ===

.banners-row {
  padding: 80px 0 50px;

  .banners-row-field {
    margin: 0 -15px;

    .banners-row-field__item {
      display: inline-block;
      margin: 0 15px;
      outline: none;
      overflow: hidden;

      img {
        height: 200px;
        width: 470px;
        transition: $fast-transition;
      }

      &:hover {
        img {
          transform: scale(1.05);
        }
      }
    }

    .slick-dots {
      display: flex;
      justify-content: center;
      margin: 50px -10px 0;

      li {
        width: 40px;
        height: 2px;
        background: #b1c72e;
        opacity: 0.2;
        border-radius: 10px;
        margin: 0 10px;
        transition: $fast-transition;

        &.slick-active {
          opacity: 1;
        }

        button {
          font-size: 0;
        }
      }
    }
  }
}

// === ABOUT ===

.about {
  padding: 80px 0 150px;

  .about-description {
    margin: auto;

    .about-description__button {
      display: inline-block;
      margin-top: 64px;
      padding: 20px 80px;
      border: 2px solid $blue;

      font-weight: 700;
      font-size: 16px;
      line-height: 21px;
      color: $blue;

      transition: $fast-transition;

      &:hover {
        border: 2px solid $green;
        @extend %hover-green;
      }
    }
  }

  .about-image {
    margin: auto;
  }

  .about-features {
    margin-top: 128px;

    .about-features__feature {
      display: flex;
      margin-bottom: 50px;

      .feature-text {
        margin-bottom: 0;
        padding-left: 42px;
      }
    }
  }
}

// === FILIALS NETWORK ===

.filials-network {
  padding: 80px 0 150px;
  position: relative;

  .filials-network__map {
    position: absolute;
    right: 0;
    top: 40px;
  }

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 700px;
    background: #f9f9f9;
  }

  .filials-network__list {
    margin-top: 74px;

    li {
      margin-top: 35px;

      a {
        position: relative;
        padding-left: 60px;
        font-weight: 350;
        line-height: 26px;
        color: #292929;

        &::before {
          content: "";
          position: absolute;
          top: 50%;
          left: 0;
          transform: translateY(-50%);
          height: 35px;
          width: 35px;
          border: 1px solid rgba(0, 50, 116, 0.5);
        }

        &::after {
          content: "";
          position: absolute;
          top: 50%;
          left: 0;
          transform: translateY(-50%);
          height: 35px;
          width: 35px;
          background-position: center;
          background-repeat: no-repeat;
        }
      }

      &:first-child a::after {
        background-image: url("../img/filials-network-one.svg");
      }

      &:nth-child(2) a::after {
        background-image: url("../img/filials-network-two.svg");
      }

      &:nth-child(3) a::after {
        background-image: url("../img/filials-network-three.svg");
      }

      &:nth-child(4) a::after {
        background-image: url("../img/filials-network-four.svg");
      }

      &:last-child a::after {
        background-image: url("../img/filials-network-five.svg");
      }
    }
  }
}
