.page-template-front-page {
  --box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.2);
}



/**
 * Header.
 */
/* Remove current highlight in home */
.home .site-header ul.menu li.current-menu-item>a {
  border-bottom: 2px solid rgba(255, 255, 255, 0);
}

.home .site-header ul.menu li.current-menu-item>a:hover {
  border-bottom: 2px solid var(--color-accent);
}



/**
 * Section: Toggler.
 */
.home-toggler {
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #000;
}

.home-toggler h1,
.home-toggler h2,
.home-toggler h3,
.home-toggler h4,
.home-toggler h5,
.home-toggler h6 {
  color: #fff;
}

.home-toggler .toggle-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: width 0.5s cubic-bezier(.17, .67, .16, .99);
}

.home-toggler .toggle-image .wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-toggler .toggle-image .wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-toggler .toggle-image.image-1 {
  z-index: 2;
}

.home-toggler .home-toggler-content {
  position: relative;
  z-index: 5;
  z-index: 10;
  height: 100%;
}

.home-toggler .home-toggler-content .row {
  height: 100%;
  align-items: flex-end;
  padding-bottom: 10%;
}

.home-toggler-text h2 {
  font-size: 40px;
  font-weight: 600;
  line-height: 140%;
  margin-bottom: 10px;
}

.home-toggler-text h2 strong {
  font-size: 70px;
  font-weight: 900;
  color: var(--color-accent);
}

.home-toggler-text p a {
  min-width: 250px;
  text-align: center;
}

.home-toggler-text h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 15px;
}



/**
 * Background: in "About" and "How it's working" sections.
 */
.home-bg-img-1 {
  background: #2a2d2c;
  color: #fff;
  position: relative;
  background-image: url('/wp-content/themes/storefront-child/assets/media/bg-car-dark-1.jpg');
  background-repeat: no-repeat;
  background-position: left 7% top 0;
}

.home-wave-dark:before {
  content: '';
  display: block;
  width: 100%;
  height: 100px;
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(42, 45, 44, 1) 96%);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(42, 45, 44, 1) 96%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(42, 45, 44, 1) 96%);
  position: absolute;
  left: 0;
  bottom: 0;
}



/**
 * Section: About.
 */
.home-about {
  position: relative;
  z-index: 1;
  padding-top: 90px;
}

.home-about-text {
  padding-left: 0;
}

.home-about-features {
  padding-right: 50px;
}

.home-about-features {
  text-align: right;
}

.home-about-features .feature {
  display: inline-block;
  width: 245px;
  text-align: center;
  border: 2px solid var(--color-accent);
  padding: 10px;
  margin-bottom: 50px;
}


/**
 * Section: How it's working.
 */
.home-working {
  position: relative;
  z-index: 1;
}

.home-working {
  padding-top: 70px;
}

.working-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.working-list-item {
  width: 140px;
  text-align: center;
}

.working-list-item .circle {
  width: 140px;
  height: 140px;
  border-radius: 100%;
  position: relative;
  border: 2px solid #ddd;
  margin-bottom: 15px;
}

.working-list-item .circle .num {
  display: block;
  width: 42px;
  height: 42px;
  line-height: 37px;
  border: 2px solid #ddd;
  background: var(--color-accent);
  text-align: center;
  border-radius: 100%;
  font-size: 22px;
  font-weight: 600;
  position: absolute;
  top: 0;
  left: 0;
}

.working-list-item .circle .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.working-list-item .title {
  font-size: 13px;
  font-weight: 600;
  padding: 0 10px;
  line-height: 120%;
  text-transform: uppercase;
}



/**
 * Elem: Wave 1
 */
.home-wave-1 {
  height: 577px;
  background-image: url('/wp-content/themes/storefront-child/assets/media/wave-bg-1.png');
  background-position: center;
}



/**
 * Section: Offer.
 */
.home-offer {
  position: relative;
  z-index: 2;
  margin-top: -400px;
  padding-top: 100px;
}

.home-offer .container {
  padding-bottom: 10px;
}

.home-offer .items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.home-offer .item {
  width: calc(25% - 20px);
  min-width: 250px;
  background: #f1f1f1;
  border-radius: 20px;
  border-top-right-radius: 0;
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease-in;
  margin-bottom: 20px;
  color: #6d6d6d;
}

.home-offer .item:hover {
  transform: scale(1.05);
}

.home-offer .item.green {
  background: var(--color-accent);
  color: #fff;
}

.home-offer .item .text h3 {
  font-size: 15px;
  line-height: 200%;
  margin-bottom: 15px;
}

.home-offer .item .text h3 strong {
  font-size: 40px;
  font-weight: 600;
  color: var(--color-accent);
}

.home-offer .item.green .text h3,
.home-offer .item.green .text h3 strong {
  color: #fff;
}

.home-offer .item .text p {
  font-size: 15px;
  margin-bottom: 5px;
}

.home-offer .item .footer {
  padding-top: 10px;
  text-align: center;
}

.home-offer .item .price {
  margin-bottom: 10px;
}

.home-offer .item .price .amount {
  font-size: 25px;
  color: var(--color-accent);
  font-weight: 600;
}

.home-offer .item.green .price .amount {
  color: #fff;
}

.home-offer .item .price .tax {
  text-transform: uppercase;
  font-size: 15px;
  margin-left: 5px;
}

.home-offer .item.green .price .tax {
  color: #515151;
}

.home-offer .item .footer .fb-btn {
  min-width: 200px;
  padding: 10px;
  font-size: 16px;
}

.home-offer .item.green .footer .fb-btn {
  background: #fff;
  color: var(--color-accent)
}

.home-offer .item .footer .fb-btn:hover {
  color: #fff;
  background: #2A2D2C;
}



/**
 * Elem: Wave 2
 */
.home-wave-2 {
  height: 524px;
  background-image: url('/wp-content/themes/storefront-child/assets/media/wave-bg-2.png');
  background-position: center;
  background-color: #ebebeb;
}



/**
 * Section: Raport examples.
 */
.home-examples {
  --border-radius: 25px;
  margin-top: -300px;
  padding-top: 100px;
  position: relative;
  color: #000;
}

.home-examples:after {
  background: #ebebeb;
  content: '';
  display: block;
  position: absolute;
  top: 200px;
  height: calc(100% - 200px);
  width: 100%;
  z-index: 1;
}

.home-examples .container {
  position: relative;
  z-index: 2;
}

.home-examples .items {
  margin-top: 70px;
}

.home-examples .items .item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 80px;
  /* overflow: hidden; */
}

.home-examples .items .item .column:nth-child(1) {
  width: calc(30% - 15px);
}

.home-examples .items .item .column:nth-child(2) {
  width: calc(40% - 15px);
}

.home-examples .items .item .column:nth-child(3) {
  width: calc(30% - 15px);
}

.home-examples .items .item .text {
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--border-radius);
  border-top-right-radius: 0;
  text-align: center;
  box-shadow: var(--box-shadow);
  padding: 20px;
}

.home-examples .items .item .text p:last-child {
  margin-bottom: 0;
}

.home-examples .items .item .text h3 {
  color: #fff;
  font-weight: 600;
  font-size: 40px;
  line-height: 100%;
  margin-bottom: 15px;
}

.home-examples .items .item .text p {
  font-size: 15px;
  line-height: 130%;
}

.home-examples .items .item .btn {
  display: block;
  box-shadow: var(--box-shadow);
  background: #fff;
  margin-bottom: 15px;
  text-align: center;
  border-radius: var(--border-radius);
  padding: 17px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.home-examples .items .item:nth-child(odd) .btn {
  border-top-left-radius: 0;
}

.home-examples .items .item:nth-child(even) .btn {
  border-top-right-radius: 0;
}

.home-examples .items .item .btn:last-child {
  margin-bottom: 0;
  background: var(--color-accent);
  color: #fff;
}

.home-examples .items .item:nth-child(even) .car {
  order: 3;
}

.home-examples .items .item:nth-child(even) .text {
  order: 2;
}

.home-examples .items .item:nth-child(even) .btns {
  order: 1;
}

.home-examples .items .item .car {
  position: relative;
  z-index: 1;
}

.home-examples .items .item .car img {
  max-width: calc(100% + 80px);
  position: absolute;
  top: 0;
  left: 0;
}

.home-examples .items .item:first-child .car {
  margin-top: -50px;
}

.home-examples .items .item:nth-child(even) .car img {
  left: -80px;
}



/**
 * Elem: Wave 3
 */
.home-wave-3 {
  height: 553px;
  background-image: url('/wp-content/themes/storefront-child/assets/media/wave-bg-3.png');
  background-position: center;
  position: relative;
  z-index: 2;
}



/**
 * Section: opinion slider.
 */

.home-opinion {
  margin-top: -320px;
  position: relative;
  z-index: 3;
}

.home-opinion-slider {
  padding: 0 110px;
  position: relative;
}

.home-opinion-slider .opinion {
  background: #fff;
  border-radius: 50px;
  border-top-right-radius: 0;
  padding: 30px;
  text-align: center;
}

.home-opinion-slider .opinion figure {
  display: inline-block;
  width: 80px;
  height: 80px;
  position: relative;
  margin-bottom: 20px;
}

.home-opinion-slider .opinion figure:before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: url('/wp-content/themes/storefront-child/assets/media/icon-quote.png') center / cover;
}

.home-opinion-slider .opinion figure img {
  border-radius: 100%;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.home-opinion-slider .swiper-button-prev,
.news-slider .swiper-button-prev {
  left: -80px;
}

.home-opinion-slider .swiper-button-next,
.news-slider .swiper-button-next {
  right: -80px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #545857;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--color-accent);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 35px;
}

.home-opinion-slider .opinion .content p {
  color: #8b8b99;
}

.home-opinion-slider .opinion .content h5 {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 0;
}

.home-opinion-slider .opinion .content h6 {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
}



/**
 * Section: News slider.
 */
.home-news {
  padding-top: 100px;
  padding-bottom: 50px;
  position: relative;
  z-index: 4;
}

.news-slider {
  position: relative;
}

.news-slider .news-box {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  color: #6d6d6d;
}

.news-slider .news-box figure img {
  border-radius: 10px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.news-slider .news-box .content {
  padding: 10px;
  font-size: 13px;
}

.news-slider .news-box .title {
  font-size: 15px;
  color: var(--color-accent);
  margin-bottom: 0;
  font-weight: 600;
}

.news-slider .news-box .date {
  margin-bottom: 0;
  color: #aaaaaa;
  font-weight: 600;
}

.news-slider .news-box .content p {
  margin-bottom: 0;
  color: #000000;
}

.news-slider .news-box .for-btn {
  text-align: center;
  padding-top: 20px;
}

.news-slider .news-box .fb-btn {
  padding: 8px 30px;
  font-size: 14px;
}

.news-slider .swiper-container {
  padding-bottom: 20px;
}



/**
 * Section: For Agents
 */
.home-agent {
  margin-top: -60px;
  padding-top: 300px;
  padding-bottom: 90px;
  height: 512px;
  background-image: url('/wp-content/themes/storefront-child/assets/media/wave-bg-4.png');
  background-position: left bottom;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}

.home-agent .agent-header {
  max-width: 360px;
}

.home-agent .agent-header h2 {
  line-height: 100%;
}

.home-agent .agent-text {
  max-width: 380px;
  font-size: 18px;
  color: #000;
}

.home-agent .agent-buttons {
  padding-left: 80px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}

.home-agent .agent-buttons p {
  margin-bottom: 0;
  margin-right: 10px;
}

.home-agent .agent-buttons p:last-child {
  margin-right: 0;
}

.home-agent .agent-buttons a {
  background: var(--color-accent);
  color: #fff;
  font-size: 16px;
  padding: 12px;
  min-width: 250px;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease-in;
  letter-spacing: 3px;

}

.home-agent .agent-buttons a:hover {
  background: var(--color-accent-dark);
}



/**
 * Background: dark background for end of page.
 */
.home-theme {
  position: relative;
}

.home-theme .home-car-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2000px;
  background: url('/wp-content/themes/storefront-child/assets/media/bg-car-dark-2.jpg') center / cover;
}



/**
 * Media queries.
 */
@media only screen and (max-width: 1560px) {

  .home-opinion-slider .swiper-button-prev,
  .news-slider .swiper-button-prev {
    left: -20px
  }

  .home-opinion-slider .swiper-button-next,
  .news-slider .swiper-button-next {
    right: -20px
  }

  .news-slider {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 1450px) {
  .home-toggler .home-toggler-content .row {
    padding-bottom: 7%;
  }
}

@media only screen and (max-width: 1100px) {
  .home-agent .agent-buttons {
    padding-left: 0;
    justify-content: flex-start;
  }

  .working-list {
    justify-content: space-around;
  }
}

@media only screen and (max-width: 1024px) {
  .home-toggler .home-toggler-content .row {
    padding-bottom: 30px;
  }

  .home-toggler-text h2 {
    font-size: 30px;
  }

  .home-toggler-text h2 strong {
    font-size: 50px;
  }

  .home-toggler-text h4 {
    font-size: 18px;
  }

  .home-toggler-text p a {
    min-width: 150px;
    padding: 10px 25px;
  }

  .working-list-item {
    margin: 0 10px;
  }

  .home-wave-1 {
    margin-top: -80px;
  }

  .home-offer {
    margin-top: -460px
  }

  .home-offer .item {
    width: calc(50% - 20px);
  }

  .home-opinion-slider {
    padding: 0 20px;
  }

  .home-wave-2 {
    margin-top: -80px;
  }

  .home-examples {
    margin-top: -420px;
  }

  .home-examples .items .item {
    padding-bottom: 40px;
  }

  .home-opinion {
    margin-top: -400px;
  }

  .home-agent {
    margin-top: -250px;
  }

  .home-toggler {
    height: calc(100vh - 30px);
  }
}

@media only screen and (max-width: 900px) {
  .home-examples .items .item .car {
    display: none;
  }

  .home-examples .items .item .column:nth-child(2) {
    width: calc(60% - 15px);
  }

  .home-examples .items .item .column:nth-child(3) {
    width: calc(40% - 15px);
  }
}

@media only screen and (max-width: 765px) {
  .home-agent {
    height: auto;
    padding-bottom: 20px;
  }

  .home-toggler .home-toggler-content {
    background: rgba(0, 0, 0, 0.4);
  }
}

@media only screen and (max-width: 575px) {
  .home-toggler .home-toggler-content .row {
    flex-direction: column;
    align-items: initial;
    justify-content: flex-end;
  }

  .home-toggler-text p a {
    font-size: 14px;
    padding: 8px 15px;
  }

  .home-toggler-text h4 {
    font-size: 16px;
  }

  .home-toggler-text h2 {
    font-size: 26px;
  }

  .home-toggler-text h2 strong {
    font-size: 36px;
  }

  .home-about-features {
    order: 2;
    text-align: left;
  }

  .home-about-text {
    order: 1;
  }

  .home-about-features .feature {
    margin-bottom: 20px;
  }

  .home-about {
    padding-top: 30px;
  }

  .home-offer .item {
    width: 100%;
  }

  .home-offer .item .text h3 strong {
    font-size: 33px;
  }

  .home-agent .agent-buttons {
    display: block;
  }

  .home-agent .agent-buttons p {
    margin-bottom: 20px;
  }

  .home-news {
    padding-bottom: 0;
  }

  .home-agent {
    margin-top: 0;
    padding-top: 50px;
    background: #fff;
  }

  .home-examples .items .item .column:nth-child(2),
  .home-examples .items .item .column:nth-child(3) {
    width: 100%;
  }

  .home-examples .items .item {
    display: block;
  }

  .home-examples .items .item .text {
    margin-bottom: 20px;
  }

  .home-offer .item .text h3 strong,
  .home-examples .items .item .text h3 {
    font-size: 29px;
  }
}
