/* Section 3: Solutions. */

.solutions {
  --solution-card-media-height: clamp(210px, 29vh, 279px);
  --solutions-overlay-progress: var(--progress, 0);
  --solutions-orbits-x: 0px;
  --solutions-orbits-y: 0px;
  --solutions-orbits-rotation: 0deg;
  --solutions-map-x: 0px;
  --solutions-map-y: 0px;
  --solutions-map-rotation: 0deg;
  --solutions-connections-y: 0px;
  --solutions-connections-rotation: 0deg;
  margin-top: 0;
  padding: clamp(26px, 4.6vh, 43px) 92px clamp(20px, 3.6vh, 54px);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 248, 0.96) 46%, rgba(255, 255, 255, 0.98) 100%),
    #fff;
  isolation: isolate;
  z-index: 3;
  box-shadow:
    0 calc(-22px * var(--solutions-overlay-progress)) calc(72px * var(--solutions-overlay-progress)) rgba(0, 0, 0, 0.32),
    0 calc(-5px * var(--solutions-overlay-progress)) calc(24px * var(--solutions-overlay-progress)) rgba(233, 29, 37, 0.12);
}

.solutions__top-trigger {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.solutions::before {
  position: absolute;
  inset: 0 0 auto;
  height: 156px;
  background: linear-gradient(180deg, rgba(248, 248, 248, 0.96) 0%, rgba(255, 255, 255, 0.78) 42%, rgba(255, 255, 255, 0) 100%);
  content: "";
  pointer-events: none;
  z-index: 1;
}

.solutions__sprites {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.solutions__sprite {
  position: absolute;
  display: block;
  max-width: none;
  user-select: none;
}

.solutions__sprite--orbits,
.solutions__sprite--map {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions__sprite--orbits {
  opacity: 0.96;
  transform: translate3d(var(--solutions-orbits-x), var(--solutions-orbits-y), 0) rotate(var(--solutions-orbits-rotation));
  transform-origin: 50% 50%;
  will-change: transform;
}

.solutions__sprite--map {
  opacity: 0.72;
  transform: translate3d(var(--solutions-map-x), var(--solutions-map-y), 0) rotate(var(--solutions-map-rotation));
  transform-origin: 50% 50%;
  will-change: transform;
}

.solutions__sprite--connections {
  top: 411px;
  left: 50%;
  width: min(1410px, calc(100vw - 184px));
  height: auto;
  opacity: 0.9;
  transform: translate3d(-50%, var(--solutions-connections-y), 0) rotate(var(--solutions-connections-rotation));
  transform-origin: 50% 50%;
  will-change: transform;
}

.solutions__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 1490px;
  margin: 0 auto;
  min-height: 0;
}

.solutions__intro {
  max-width: 705px;
}

.solutions__intro h2 {
  margin: clamp(10px, 2vh, 21px) 0 clamp(8px, 1.6vh, 16px);
  font-family: var(--vl-display);
  font-size: clamp(42px, 6vh, var(--vl-section-title-size));
  font-weight: 900;
  letter-spacing: var(--vl-section-title-letter-spacing);
  line-height: var(--vl-section-title-line-height);
  text-transform: uppercase;
}

.solutions__intro h2 .accent {
  color: var(--vl-red);
}

.solutions-title__line {
  display: block;
  perspective: 900px;
}

.solutions-title__word {
  display: inline-block;
  transform-origin: 0 80%;
}

.solutions__intro p:not(.section-kicker) {
  max-width: 642px;
  margin: 0;
  color: #151515;
  font-size: clamp(14px, 1.8vh, 16px);
  line-height: 1.45;
}

.solution-cards {
  position: relative;
  display: grid;
  grid-template-columns: 480px 450px 480px;
  justify-content: center;
  align-items: stretch;
  flex: 1 1 auto;
  gap: clamp(28px, 2.6vw, 40px);
  margin-top: clamp(12px, 2.3vh, 24px);
  min-height: 0;
}

.solution-card {
  min-height: clamp(520px, 56vh, 543px);
  --vl-card-bg: rgba(255, 255, 255, 0.93);
  --vl-card-title-color: #0b0b0b;
  --vl-card-title-margin: 0;
  --vl-card-text-color: #171717;
  --vl-card-media-height: var(--solution-card-media-height);
  --vl-card-media-position: center bottom;
}

.solution-card::before {
  position: absolute;
  inset: auto 0 0;
  height: 330px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.78) 6%, rgba(255, 255, 255, 0.42) 16%, rgba(255, 255, 255, 0.16) 28%, rgba(255, 255, 255, 0.02) 46%, rgba(255, 255, 255, 0) 62%);
  content: "";
  pointer-events: none;
  z-index: 2;
}

.solution-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(22px, 3.2vh, 30px) 30px 0;
}

.solution-card__header > div,
.solution-card__icon,
.solution-card ul,
.solution-card__visual {
  will-change: opacity, transform, clip-path, filter;
}

.solution-card__number {
  display: block;
  color: var(--vl-red);
  font-family: var(--vl-display);
  font-size: 45px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 0.92;
}

.solution-card__rule {
  display: block;
  width: 51px;
  height: 2px;
  margin: 12px 0 16px;
  background: var(--vl-red);
}

.solution-card h3 {
  --vl-card-title-margin: 0;
}

.solution-card__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  margin-top: -6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 13px 31px rgba(0, 0, 0, 0.12);
  color: var(--vl-red);
}

.solution-card__icon i {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  font-size: 27px;
}

.solution-card ul {
  position: relative;
  z-index: 4;
  margin: clamp(14px, 2.2vh, 22px) 30px 0;
  padding: 0 0 0 18px;
  color: var(--vl-card-text-color);
  font-size: var(--vl-card-text-size);
  line-height: 1.68;
}

.solution-card li::marker {
  color: var(--vl-red);
  font-size: 12px;
}

.solution-card__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.45) 12px, rgba(0, 0, 0, 0.82) 32px, #000 56px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.45) 12px, rgba(0, 0, 0, 0.82) 32px, #000 56px);
  z-index: 1;
}

.solution-card__visual--commerce {
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.24) 12px, rgba(0, 0, 0, 0.66) 38px, rgba(0, 0, 0, 0.92) 64px, #000 84px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.24) 12px, rgba(0, 0, 0, 0.66) 38px, rgba(0, 0, 0, 0.92) 64px, #000 84px);
}

.solution-card__visual--ai {
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.3) 12px, rgba(0, 0, 0, 0.72) 36px, rgba(0, 0, 0, 0.94) 62px, #000 82px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.3) 12px, rgba(0, 0, 0, 0.72) 36px, rgba(0, 0, 0, 0.94) 62px, #000 82px);
}

.solutions__tagline {
  flex: 0 0 auto;
  margin: clamp(18px, 3vh, 37px) auto 0;
}

.solutions__scroll-lock {
  position: absolute;
  bottom: clamp(18px, 3vh, 34px);
  left: clamp(22px, 3vw, 48px);
  z-index: 6;
}

html.has-js .solutions[data-solutions-animation]:not(.is-solutions-animation-started):not(.is-solutions-animation-complete) [data-solutions-title-reveal],
html.has-js .solutions[data-solutions-animation]:not(.is-solutions-animation-started):not(.is-solutions-animation-complete) .solutions__intro p:not(.section-kicker),
html.has-js .solutions[data-solutions-animation]:not(.is-solutions-animation-started):not(.is-solutions-animation-complete) .solutions__tagline {
  visibility: hidden;
}

html.has-js .solutions[data-solutions-animation].is-solutions-scroll-locked {
  cursor: wait;
}

@media (max-width: 1560px) {
  .solution-cards {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 30px;
    }
}

@media (max-width: 1360px) {
  .solutions {
      padding-inline: 48px;
    }

  .solutions__sprites {
      position: sticky;
      inset: auto;
      top: 0;
      height: 100vh;
      height: 100svh;
      margin-bottom: -100vh;
      margin-bottom: -100svh;
    }

  .solutions__sprite--orbits,
    .solutions__sprite--map {
      width: 1180px;
      height: 664px;
      right: -250px;
      left: auto;
      object-fit: contain;
      object-position: top right;
    }

  .solutions__sprite--map {
      opacity: 0.5;
    }

  .solutions__sprite--connections {
      display: none;
    }

  .solution-cards {
      grid-template-columns: minmax(0, 486px);
      gap: 28px;
      justify-content: start;
      max-width: 486px;
    }
}

@media (max-width: 900px) {
  .solutions {
      padding: 42px 24px 54px;
    }

  .solutions__sprite--orbits,
    .solutions__sprite--map {
      width: 980px;
      height: 553px;
      right: -410px;
    }

  .solutions__intro h2 {
      font-size: clamp(42px, 11vw, 56px);
    }

  .solutions__intro p:not(.section-kicker) {
      font-size: 15.5px;
    }

  .solution-cards {
      grid-template-columns: 1fr;
      gap: 26px;
      margin-top: 30px;
    }

  .solution-card {
      min-height: 520px;
    }

  .solutions__tagline {
      margin-top: 36px;
    }
}

@media (max-width: 560px) {
  .solutions__intro h2 {
      font-size: clamp(38px, 13vw, 47px);
    }

  .solution-card {
      min-height: 500px;
    }

  .solution-card__header {
      padding: 27px 24px 0;
    }

  .solution-card__icon {
      width: 64px;
      height: 64px;
    }

  .solution-card__number {
      font-size: 41px;
    }

  .solution-card h3 {
      font-size: 21px;
    }

  .solution-card ul {
      margin-inline: 24px;
      font-size: 13px;
    }
}
