@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'Benzin';
    src: url('/wp-content/themes/understrap-child-1.2.0/fonts/Benzin-Bold.ttf') format('truetype');
    font-weight: 700;
}

:root {
  /* BASE COLORS */
  --dark-grey: #353535;
  --light-grey: #d8d8d8;
  --yellow: #ffb957;
  --orange: rgb(214, 125, 0);
  --red: #e44b0e;
  --indigo: #504bff;

  /* TEXT COLORS */
  --text-primary: var(--dark-grey);
  --text-title: black;
  --text-accent: var(--orange);
  --text-accent-2: var(--indigo);
  --text-error: var(--red);

  /* BACKGROUND COLORS */
  --bg-grey: #f8f8f8;
}
html, body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Benzin', serif;
  font-weight: 700;
}
h2 {
  font-size: 2.5rem;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
.play-button {
  display: block;
  background-image: url('../../images/reviews/play.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 70px;
  height: 70px;
}
.call-btn {
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
  &:hover {
    transform: scale(1.05);
  }
  img {
    max-width: 100%;
    width: 300px;
  }
}

.call {
  background-color: white;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 1.5rem;
  padding: 1.5rem;
  text-align: center;
  font-weight: 300;
  font-size: 0.875rem;
  border-radius: 15px;
  box-shadow: 0px 0px 10px 5px rgba(189,189,189,0.2);
}
.curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-image: url('../../images/reviews/banner-curve.webp');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  transform: translateY(70%);
  z-index: 0;
}

.text-accent {
  color: var(--text-accent);
}
.text-error {
  color: var(--text-error);
}
.title {
  text-align: center;
  line-height: 3rem;
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.9375rem;
}
.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  background: linear-gradient(0turn, rgba(254, 82, 8, 1) 24%, rgba(252, 18, 17, 0) 100%);
  width: 264px;
  height: 80px;
  border-radius: 15px;
  .timer-value {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 20px;
  }
}

.banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0 40px;
  color: white;
  font-size: 0.9375rem;
  line-height: 1.25rem;
  overflow: hidden;

  .banner-body {
    position: relative;
    z-index: 1;
  }

  .banner-header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    &::before {
      position: absolute;
      background-color: #efefef;
      width: 100%;
      height: 1px;
      top: 50%;
      left: 0;
      content: "";
      transform: translateY(-50%);
    }
    &::after {
      position: absolute;
      background-color: #fff;
      width: 150px;
      height: 40px;
      top: 50%;
      left: 50%;
      content: "";
      transform: translateX(-50%) translateY(-50%);
    }
    .banner-header-title {
      position: relative;
      background-image: linear-gradient(0.117turn,rgba(255,134,3,1) 0%,rgba(254,179,94,1) 100%);
      font-family: 'Benzin', serif;
      font-weight: 700;
      font-size: 15px;
      line-height: 1;
      color: transparent;
      text-align: center;
      text-transform: uppercase;
      -webkit-background-clip: text;
      background-clip: text;
      will-change: transform;
      z-index: 1;
    }
  }

  .banner-title {
    max-width: 100%;
    margin: 0 -1.75rem 2.5rem;
  }

  .banner-blockquote {
    position: relative;
    width: 100%;
    max-width: 410px;
    margin-bottom: 2.5rem;
    padding-left: 0.5rem;
    font-weight: 300;
    line-height: 1.4;
    strong {
      font-weight: 700;
    }
    &::before {
      background-color: var(--yellow);
      position: absolute;
      top: 0;
      left: 0;
      width: 1px;
      height: 100%;
      content: "";
    }
  }

  .banner-call {
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 610px;
    margin-bottom: 2.5rem;
    padding: 1.125rem 1.25rem;
    border-radius: 0.9375rem;

    .banner-call-marked {
      font-weight: 700;
      color: var(--yellow);
    }
  }

  .banner-controls {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }

  .banner-btn {
    transition: transform 0.3s ease;
    &:hover {
      transform: scale(1.05);
    }
    img {
      max-width: 100%;
      width: 300px;
    }
  }

  .banner-author {
    position: absolute;
    top: 50%;
    right: 0;
    width: 694px;
    height: 763px;
    transform: translateY(-45%);
    z-index: 0;
  }

  .banner-author-mobile {
    display: none;
  }

  .banner-reviews-file {
    position: absolute;
    bottom: -90px;
    right: -20px;
    width: 324px;
    transform: rotate(25deg);
    z-index: 2;
  }

  .banner-thumbs-up {
    position: absolute;
    top: 42%;
    left: 18%;
    z-index: 2;
  }

  .banner-heart {
    position: absolute;
    top: 20%;
    right: 10%;
    z-index: 2;
  }
}

.target-audience {
  padding: 5.625rem 0 5.3125rem;
  .title {
    margin-bottom: 5rem;
  }
  .target-audience-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    color: var(--dark-grey);
  }
  .target-audience-row {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .target-audience-item {
    padding: 1.875rem 2.5rem 2rem;
    max-width: 344px;
    text-align: center;
    font-weight: 700;
    border: 1px solid var(--light-grey);
    border-radius: 1.5625rem;
    img {
      display: block;
      max-width: 100%;
      margin-bottom: 1.875rem;
    }
  }
}

.point {
  padding: 90px 0;
  .title {
    margin-bottom: 2rem;
  }
  .point-subtitle {
    text-align: center;
    color: var(--dark-grey);
    margin-bottom: 2.5rem;
    font-weight: 700;
  }
  .point-video {
    margin-bottom: 1.5rem;
    text-align: center;
    iframe {
      max-width: 100%;
      width: 760px;
      aspect-ratio: 760 / 420;
      border-radius: 1.25rem;
    }
  }
}

.participants {
  padding: 80px 0 60px;
  background-color: var(--bg-grey);
  .title {
    margin-bottom: 60px;
  }
  .participants-blocks {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 60px;
    padding-left: 0;
    .participants-blocks-item {
      list-style-type: none;
      &:not(:first-child) {
        display: none;
      }
    }
    &.more {
      .participants-blocks-item:not(:first-child) {
        display: block;
      }
    }
  }
  .participants-gallery {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding-left: 0;

    li {
      list-style-type: none;
      img {
        display: block;
        object-fit: cover;
        object-position: center;
        border-radius: 50%;
      }
    }
  }
  .participants-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 60px;
    row-gap: 55px;
    padding-left: 0;

    .participants-item {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      align-items: center;
      background-color: white;
      padding: 20px 18px;
      border: 1px solid var(--light-grey);
      border-radius: 25px;
      .participants-item-header {
        display: flex;
        gap: 1.25rem;
        align-items: center;
        width: 100%;
        img {
          display: block;
          object-fit: cover;
          object-position: center;
          border-radius: 50%;
        }
      }
      .participants-item-info {
        .participants-item-name {
          font-family: 'Benzin', serif;
          font-weight: 700;
          font-size: 19px;
          line-height: 25px;
          color: var(--dark-grey);
          margin-bottom: 0.25rem;
        }
        .participants-item-job {
          color: var(--dark-grey);
          font-weight: 500;
          font-size: 0.75rem;
          line-height: 1rem;
        }
      }
      .participants-item-earnings {
        width: 100%;
        padding: 0.25rem;
        border: 2px solid var(--red);
        border-radius: 15px;
        text-align: center;
        font-weight: 700;
        font-size: 14px;
      }
      .participants-item-btn {
        font-weight: 700;
        color: var(--text-accent-2);
        text-decoration: underline;
      }
    }
  }
  .participants-more-btn {
    display: block;
    margin: 0 auto;
    padding: 15px 60px;
    font-weight: 700;
    color: var(--text-accent-2);
    border: 2px solid var(--text-accent-2);
    border-radius: 200px;
  }
}
.winners {
  position: relative;
  padding: 80px 0 120px;
  .title {
    margin-bottom: 120px;
  }
  .winners-content {
    display: flex;
  }
  .winners-gifts {
    display: flex;
    flex-direction: column;
    .winners-gifts-text {
      max-width: 440px;
      margin-left: 50px;
      padding: 32px;
      font-size: 18px;
      line-height: 1.5;
      border: 2px solid var(--red);
      border-radius: 15px;
    }
    .winners-gifts-image {
      margin-top: -60px;
    }
  }
  .winners-slider {
    margin: 0;
    max-width: 440px;
    width: 100%;
    .swiper-slide {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      img {
        width: 320px;
        border-radius: 30px;
      }
      .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
        &:hover {
          width: 84px;
          height: 84px;
        }
      }
      iframe {
        position: absolute;
        width: 320px;
        height: 100%;
        border-radius: 30px;
      }
    }
  }
}
.feedback {
  position: relative;
  background-color: var(--bg-grey);
  padding: 75px 0 120px;
  .title {
    margin-bottom: 90px;
    font-size: 33px;
    line-height: 40px;
    color: #2a2a2a;
  }
  .feedback-slider {
    margin: 0 auto 70px;
    max-width: 495px;
    width: 100%;
    .swiper-slide {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .feedback-slider-image {
      max-width: 375px;
      width: 100%;
      margin: 0 auto;
      border-radius: 30px;
    }
  }
}
.support-feedback {
  position: relative;
  background-image: url('../../images/reviews/support-feedback-bg.png.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  overflow: hidden;
  .title {
    margin-bottom: 36px;
    color: white;
  }
  .call {
    max-width: 580px;
    margin-bottom: 0;
  }
  .support-feedback-slider {
    margin: 0 auto;
    max-width: 580px;
    width: 100%;
    .swiper-slide {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .support-feedback-slider-image {
      max-width: 440px;
      width: 100%;
      margin: 0 auto;
      border-radius: 30px;
    }
  }
}
.help {
  position: relative;
  padding: 120px 0 50px;
  .title {
    text-align: left;
    text-transform: uppercase;
    color: white;
  }
  .title-mob {
    display: none;
    text-align: center;
  }
  .timer {
    background: transparent;
    margin: 16px auto 0;
    color: var(--red);
  }
  .help-report {
    position: relative;
    display: flex;
    gap: 70px;
    background-image: linear-gradient(0.072turn,rgba(255,104,0,1) 0%,rgba(254,108,8,1) 36%,rgba(255,158,64,1) 69%,rgba(255,158,64,1) 97%);
    margin: 136px 0 180px;
    padding: 100px 100px 100px 60px;
    border-radius: 30px 30px 30px 30px;
    height: 360px;
    .help-report-content {
      position: relative;
      height: 568px;
      text-align: center;
      top: 50%;
      transform: translateY(-50%);
    }
  }
  .help-slider {
    position: relative;
    margin: 0 auto;
    max-width: 440px;
    width: 100%;
    .swiper-slide {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
        &:hover {
          width: 84px;
          height: 84px;
        }
      }
      iframe {
        position: absolute;
        width: 320px;
        height: 568px;
        border-radius: 30px;
        box-shadow: 0px 0px 50px 20px rgba(125,45,0,0.09);
      }
    }
    .help-slider-image {
      max-width: 320px;
      width: 100%;
      height: 100%;
      margin: 0 auto;
      border-radius: 30px;
      box-shadow: 0px 0px 50px 20px rgba(125,45,0,0.09);
    }
    .swiper-button-next, .swiper-button-prev {
      background-color: var(--red);
    }
  }
  .help-slider-pagination {
    margin-top: 16px;
  }
}
.reviews-footer {
  background-color: #101010;
  padding: 36px 0 24px;
  color: white;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  a {
    color: #ff8562;
    text-decoration: none;
  }
  .reviews-footer-comment {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #404040;
  }
}

@media screen and (max-width: 991px) {
  .banner {
    .banner-author {
      transform: translateX(30%) translateY(-45%);
    }
    .banner-reviews-file, .banner-heart {
      display: none;
    }
  }
  .participants {
    .participants-list {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }
  }
  .winners {
    .winners-content {
      flex-direction: column;
      align-items: center;
    }
    .winners-gifts {
      align-items: center;
      .winners-gifts-text {
        margin-left: 0;
      }
    }
  }
  .help {
    padding-top: 48px;
    .help-report {
      justify-content: center;
      margin: 100px 0 140px;
      padding: 0;
      .help-report-content {
        transform: translateY(-40%);
      }
    }
    .title {
      display: none;
    }
    .title-mob {
      display: block;
      text-transform: uppercase;
    }
    .help-slider {
      max-width: 410px;
      .help-slider-image {
        max-width: 248px;
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .banner {
    .banner-author {
      width: 640px;
      height: auto;
      transform: translateX(50%) translateY(-43%);
    }
  }
  .winners {
    padding: 50px 0 70px;
    .title {
      margin-bottom: 50px;
    }
  }
}

@media screen and (max-width: 639px) {
  h2 {
    font-size: 1.5rem;
  }
  .title {
    line-height: 1.875rem;
  }
  .banner {
    padding: 3rem 0 3.75rem;
    overflow: hidden;
    .banner-title {
      max-width: 350px;
      width: 100%;
      margin: 0 0 2rem;
    }
    .banner-body {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .banner-author, .banner-thumbs-up {
      display: none;
    }
    .banner-author-mobile {
      display: block;
      position: relative;
      width: 288px;
      height: auto;
      margin-bottom: -1.25rem;
      .banner-thumbs-up {
        display: block;
        top: 50%;
        left: 10%;
      }
      .banner-heart {
        display: block;
        top: 15%;
        left: -10%;
      }
      .banner-reviews-file {
        display: block;
        max-width: 190px;
        width: 100%;
        bottom: 20px;
        right: -50px;
      }
    }
    .banner-blockquote, .banner-call, .banner-controls {
      max-width: 300px;
    }
    .banner-blockquote, .banner-call {
      margin-bottom: 2rem;
    }
    .banner-controls {
      flex-direction: column;
      gap: 1.25rem;
    }
  }
  .target-audience {
    padding: 3rem 0 3.125rem;
    .title {
      margin-bottom: 3rem;
    }
    .target-audience-list, .target-audience-row {
      gap: 1.25rem;
    }
  }
  .participants {
    padding: 50px 0 40px;
    .title {
      margin-bottom: 40px;
    }
     .participants-blocks {
      gap: 40px;
      margin-bottom: 40px;
    }
    .participants-gallery {
      gap: 0.5rem;
      margin-bottom: 40px;
      li {
        img {
          width: 42px;
          height: 42px;
        }
      }
    }
     .participants-list {
       grid-template-columns: repeat(1, minmax(300px, 1fr));
       justify-content: center;
     }
  }
  .feedback {
    padding: 50px 0 80px;
    .title {
      margin-bottom: 50px;
    }
  }
}

@media screen and (max-width: 575px) {
  .container {
    max-width: 370px;
    padding: 0 0.625rem;
  }
  .winners {
    .winners-slider {
      max-width: 360px;
      /* .swiper-slide {
        max-width: 248px;
      } */
    }
  }
  .help {
    .help-slider {
      max-width: 320px;
      .help-slider-image {
        max-width: 248px;
      }
    }
  }
}

/* Swiper styles */
.swiper {
  overflow: visible;
}
.swiper-slide {
  position: relative;
}
.swiper-button-next, .swiper-button-prev {
  background-color: var(--orange);
  width: 30px;
  height: 30px;
  padding: 0.5rem;
  border-radius: 50%;
  color: white;
  svg {
    width: 100%;
    height: 100%;
  }
}
.swiper-pagination {
  bottom: -40px !important;
}
.swiper-pagination-bullet {
  margin: 8px !important;
}
.swiper-pagination-bullet-active {
  background-color: var(--orange);
}
.swiper-lazy-preloader {
  border: 4px solid var(--orange);
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

.marathon-intro {
  .title {
    position: relative;
    background-image: linear-gradient(0.117turn,rgba(255,134,3,1) 0%,rgba(254,179,94,1) 100%);
    font-family: 'Benzin', serif;
    font-weight: 700;
    font-size: 70px;
    line-height: 1;
    color: transparent;
    text-align: center;
    text-transform: uppercase;
    -webkit-background-clip: text;
    background-clip: text;
    will-change: transform;
    margin-bottom: 40px;
  }
  h2 {
    color: #2a2a2a;
    text-align: center;
    font-size: 33px;
    line-height: 40px;
    margin-bottom: 20px;
    svg {
      display: block;
      margin: 0 auto;
    }
  }
  .marathon-intro-title-image {
    margin: 0 auto;
    max-height: 52px;
    width: auto;
  }
}
.marathon-pane {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: white;
  width: 100%;
  max-width: 390px;
  margin: 0 auto 40px;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0px 0px 10px 5px rgba(189, 189, 189, 0.2);
  .marathon-pane-images {
    display: flex;
    img {
      width: 30px;
      height: 23px;
      border-radius:30px;
      &:not(:first-child) {
        margin-left: -10px;
      }
      &.auto {
        width: 114px;
        height: 29px;
      }
    }
  }
  .marathon-pane-text {
    font-size: 14px;
    color: #cccccc;
  }
}
.marathon-video {
  position: relative;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 13px;
  width: 760px;
  max-width: 100%;
  aspect-ratio: 760 / 420;
  margin: 0 auto 30px;
  button {
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    .marathon-video:hover & {
      transform: translate(-50%, -50%) scale(1.15);
    }
  }
  iframe {
    width: 100%;
    aspect-ratio: 760 / 420;
    border: none;
  }
}
.marathon-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  margin-bottom: 60px;
  padding-left: 0;
  li {
    list-style-type: none;
    &:not(:first-child) {
      margin-left: -10px;
    }
    img {
      width: 209px;
      max-width: 100%;
      aspect-ratio: 209 / 186;      
    }
  }
  .marathon-list-item-locked {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #fbd39b;
    line-height: 1;
    font-weight: bold;
    margin-top: -8px;
    img {
      width: 11px;
      height: 15px;
      margin-top: -4px;
    }
  }
}
.lead-form {
  padding: 60px 0 120px;
  h2 {
    color: #2a2a2a;
    text-align: center;
    font-size: 33px;
    line-height: 40px;
  }
  .lead-form-title {
    margin: 0 auto;
    max-width: 540px;
    text-align: center;
    img {
      margin: 0 auto;
      width: auto;
      height: 60px;
    }
  }
  .lead-form-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px auto 0;
    padding: 50px;
    max-width: 540px;
    border: 1px solid #ffa424;
    border-radius: 20px;
    box-shadow: -1px 3px 50px 0px rgba(10, 18, 42, 0.19);
    input {
      padding: 15px;
      border-radius: 15px;
      border: 1px solid var(--light-grey);
      font-family: 'Benzin', sans-serif;
      font-size: 14px;
      width: 100%;
    }
    .iti {
      width: 100%;
      .iti__selected-dial-code {
        font-family: 'Benzin', sans-serif;
        font-size: 14px;
      }
    }
    button[type="submit"] {
      align-self: center;
      background-image: linear-gradient(0turn, rgba(255, 151, 32, 1) 0%, rgba(252, 173, 2, 1) 100%);
      padding: 15px 30px;
      border-radius: 15px;
      font-family: 'Benzin', sans-serif;
      font-weight: bold;
      font-size: 14px;
      color: white;
      &:disabled {
        background-image: none;
        background-color: #cccccc;
        color: #666666;
        cursor: not-allowed;
      }
    }
  }
  .lead-form-description {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
  }
}
.marathon-footer {
  background-color: #101010;
  font-size: 15px;
  color: #fff;
  text-align: center;
  padding: 35px 0 45px;
  .marathon-footer-link {
    color: #ff8562;
    text-decoration: none;
    &:hover {
      color: #ff8562;
      text-decoration: underline;
    }
  }
  .marathon-footer-note {
    margin-top: 8px;
    color: #404040;
    line-height: 1;
  }
}

@media screen and (max-width: 575px) {
  .banner {
    padding: 15px 0;
  }
  .marathon-intro {
    .title {
      margin-bottom: 10px;
      font-size: 50px;
    }
    h2 {
      font-size: 20px;
      line-height: 28px;
    }
  }
  .marathon-pane {
    margin-bottom: 20px;
  }
  .marathon-list-item-locked {
    font-size: 12px;
  }

  .feedback {
    padding-bottom: 20px;
    .title {
      margin-bottom: 20px;
      font-size: 24px;
      line-height: 29px;
    }
  }
}