.show-bg {
  background-color: rgba(0, 0, 0, 0.9);
}

.page-content {
  color: white;
}

.page-content .page-header {
  position: relative;
  color: white;
  background-color: var(--black);
  isolation: isolate;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-content .main-title {
  flex: 0 0 60%;
  font-family: 'rama-gothic-c';
  font-weight: bold;
  font-size: min(22rem, 24vh);
  text-transform: uppercase;
  line-height: 80%;
  display: flex;
  align-items: flex-end;
}

.page-content .subtitle {
  flex: 0 0 40%;
  padding-top: min(4rem, 4vh);
  font-size: 220%;
  text-align: center;
}

.page-content .video-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: -10;
}

.page-content .video-bg {
  opacity: 0.75;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.explanations {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.explanations-title {
  text-transform: uppercase;
  font-family: 'rama-gothic-c';
  font-weight: bold;
  font-size: min(8vw, 8vh);
  margin-block: min(9vh, 9vw) min(6vw, 6vh);
}

@media (pointer: fine) {
  .services-wrapper {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    height: max(18vh, 18vw);
    width: 85vw;
    margin-inline: 7.5vw;
    overflow-y: hidden;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: min(16vh, 16vw) ;
  }
  
  .service-card {
    height: 100%;
    width: max(30vw, 30vh);
    overflow: hidden;
    border-radius: min(1vw, 1vh);
    margin-inline: max(1vw, 1vh);
    background-color: rgba(30, 30, 28, 0.3);
  }
  
  .service-title {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .service-img-wrapper {
    width: 100%;
    flex: 0 0 65%;
    /* flex: 0 0 35%; */
    overflow: hidden;
  }
  
  .service-card:hover .service-img {
    scale: 1.1;
  }
  
  .service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform-origin: center;
    scale: 1;
    transition: scale 200ms ease-in-out;
  }
  
  .service-number {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 0;
    font-family: 'rama-gothic-c';
    font-weight: bold;
    /* font-size: max(8vh + 1rem, 8vw + 1rem); */
    font-size: min(11rem, 12vh, 12vw);
    line-height: 80%;
    color: white;
    text-shadow:
      1px 1px 0 var(--black),
      -1px 1px 0 var(--black),
      -1px -1px 0 var(--black),
      1px -1px 0 var(--black);
  }
  
  .service-text {
    color: white;
    margin-top: 1.3em;
    margin-inline: max(0.7vw, 0.7vh);
    font-size: max(0.6vw + 0.2rem, 0.6vh + 0.2rem);
    text-align: center;
  }
}

.reviews-section {
  width: 100%;
  --_margin-left: max(5vw, 5vh);
}

.reviews-title {
  text-transform: uppercase;
  font-family: 'rama-gothic-c';
  font-weight: bold;
  font-size: min(7vw, 7vh);
  margin-left: var(--_margin-left);
  margin-bottom: max(2vw, 2vh);
}

.reviews-scroller {
  --gap: min(8rem,4vw);
  --logo-partner-size: min(8vh, 8vw);
  width: max(800px, 100%);
  margin-bottom: max(6.5vw, 6.5vh);
}

.reviews-scroller[data-animated="true"] {
  overflow: hidden;
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 5%,
    white 95%,
    transparent);
  mask: linear-gradient(
    90deg,
    transparent,
    white 5%,
    white 95%,
    transparent);
}

.reviews-scroller[data-animated="true"] .scroller-inner {
  width: max-content;
  flex-wrap: nowrap;
}

.reviews-scroller .scroller-inner {
  margin-inline: var(--_margin-left);
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.review-card {
  display: flex;
}

.review-img-wrapper {
  --_size: max(5vw, 5vh);
  position: relative;
  width: var(--_size);
  height: var(--_size);
  margin-right: max(1vw, 1vh);
}

.review-img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
}

.review-description {
  width: max(13vw, 13vh);
  font-size: 110%;
}

.review-rating-wrapper {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: max(0.2vw, 0.2vh);
}

.star-svg,
.star-half-svg,
.star-empty-svg {
  --_size: max(1vw, 1vh);
  width: var(--_size);
  height: var(--_size);
}

.star,
.star-half {
  fill: rgba(255, 255, 255, 1);
}

.star-empty {
  fill: rgba(255, 255, 255, 0.3);
}

.review-title {
  font-weight: bold;
  font-size: max(1.3rem, 1.3vh);
  text-transform: uppercase;
  margin-bottom: max(0.8vw, 0.8vh);
}

.review-text {
  margin-bottom: max(0.2vw, 0.2vh);
}

.review-client {
  font-weight: bold;
}

@media (pointer: coarse) {
  .page-content .main-title {
    font-size: min(11.5rem, 11.5vh);
    text-align: center;
  }
  
  .page-content .subtitle {
    font-size: min(1.5rem,1.5vh);
  }
  
  .explanations-title {
    font-size: min(5.5rem, 5.5vh);
    margin-block: min(8rem, 8vh) min(4vh, 4rem);
  }
  
  .services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding-inline: 5%;
    overflow: hidden;
    gap: 1rem;
  }
  
  .service-card {
    position: relative;
    width: 100%;
    min-height: 25vh;
    overflow: hidden;
    border-radius: min(1vw, 1vh);
    background-color: rgba(30, 30, 28, 0.3);
  }
  
  .service-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
  }
  
  .service-number {
    --_offset: min(1.5rem, 1.5vh);
    position: absolute;
    top: var(--_offset);
    left: var(--_offset);
    font-family: 'rama-gothic-c';
    font-weight: bold;
    font-size: min(8rem, 8vh);
    line-height: 80%;
    color: white;
    text-shadow:
      1px 1px 0 var(--black),
      -1px 1px 0 var(--black),
      -1px -1px 0 var(--black),
      1px -1px 0 var(--black);
  }
  
  .service-img-wrapper {
    flex: 0 0 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .service-img {
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    transform-origin: center;
  }
  
  .service-text {
    padding: 7.5%;
    font-size: min(1.1rem,1.1vh);
  }

  .reviews-section {
    overflow: hidden;
  }


  .reviews-scroller {
    margin-bottom: 0px;
  }
  
  @media (orientation: landscape) {
    .page-content .main-title {
      font-size: min(9rem, 9vw);
      text-align: center;
    }
    
    .page-content .subtitle {
      font-size: min(1.7rem,1.7vw);
    }
    
    .explanations-title {
      font-size: min(5.5rem, 5.5vw);
      margin-block: min(8rem, 8vw) min(4rem, 4vw);
    }
    
    .services-wrapper {
      grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    
    .service-number {
      --_offset: min(1.5rem, 1.5vw);
      font-size: min(8rem, 8vw);
    }
    
    .service-text {
      font-size: min(1.1rem,1.1vw);
    }
    
    .service-card {
      height: 60dvh;
    }
  }
}