@font-face {
  font-family: QroCarouselManrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

.qro-service-hero :where(h1, h2, p) { margin: 0; }
.qro-service-hero .qro-carousel-wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.qro-service-hero button { font: inherit; cursor: pointer; }

.qro-service-hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 100px;
  font-family: QroCarouselManrope, Arial, sans-serif;
  color: #eef6ff;
  background:
    radial-gradient(ellipse at 50% 69%, #0b1c3b88 0%, #03091340 48%, transparent 72%),
    linear-gradient(180deg, transparent 70%, #07112670),
    #02050b;
}
.qro-service-hero .home-copy { padding-top: clamp(22px, 2.25vw, 36px); text-align: center; }
.qro-service-hero .home-copy h1 { font-size: clamp(38px, 5.1vw, 67px); font-weight: 500; line-height: 1.04; letter-spacing: -.065em; }
.qro-service-hero .home-copy h1 span { display: block; color: #a3d5ff; }
.qro-service-hero .home-copy p { max-width: 62ch; margin: 16px auto 0; color: #b3c2d5; font-size: 16px; line-height: 1.65; }
.qro-service-hero .home-copy p strong { color: #e2efff; font-weight: 700; }
.qro-service-hero .qro-carousel-link:hover { background: #1b75db; }
.qro-service-hero :focus-visible { outline-color: #8bcaff; }
.qro-service-hero .carousel { padding-top: clamp(8px, 1.4vw, 20px); }

.qro-service-hero .stage {
  --figure-size: clamp(265px, 30vw, 397px);
  position: relative;
  width: 100%;
  height: calc(var(--figure-size) + 18px);
  overflow: clip;
  isolation: isolate;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.qro-service-hero .stage:active { cursor: grabbing; }
.qro-service-hero .ground {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 7px;
  width: min(1380px, 125%);
  height: clamp(65px, 9vw, 120px);
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, #1e63ff22 0%, #1246b00e 45%, transparent 70%);
  pointer-events: none;
}
.qro-service-hero .ground i {
  --ring: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(19% + var(--ring) * 13.5%);
  height: calc(17% + var(--ring) * 12.5%);
  border: 1px solid #3677ff55;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.qro-service-hero .ground i:nth-child(2) { --ring: 1; }
.qro-service-hero .ground i:nth-child(3) { --ring: 2; }
.qro-service-hero .ground i:nth-child(4) { --ring: 3; }
.qro-service-hero .ground i:nth-child(5) { --ring: 4; }
.qro-service-hero .ground i:nth-child(6) { --ring: 5; }
.qro-service-hero .ground i:nth-child(7) { --ring: 6; }
.qro-service-hero .figure {
  --offset: 0px;
  --scale: 1;
  --opacity: 1;
  --blur: 0px;
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: var(--figure-size);
  aspect-ratio: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #b5ceeb;
  transform-origin: 50% 68%;
  transform: translateX(-50%) translateX(var(--offset)) scale(var(--scale));
  opacity: var(--opacity);
  transition: transform .55s cubic-bezier(.23,.77,.23,1), opacity .4s ease;
}
.qro-service-hero .figure img, .qro-service-hero .figure canvas { z-index: 1; width: 100%; height: auto; filter: blur(var(--blur)); pointer-events: none; }
.qro-service-hero .figure img { position: relative; }
.qro-service-hero .figure canvas { position: absolute; inset: 0; }
.qro-service-hero .figure[data-motion] img { visibility: hidden; }
.qro-service-hero .figure::before {
  content: "";
  position: absolute;
  bottom: 9%;
  left: 19%;
  right: 19%;
  height: 13%;
  background: radial-gradient(ellipse, #337cff3c, transparent 67%);
  pointer-events: none;
}
.qro-service-hero .figure span {
  position: absolute;
  z-index: 1;
  top: 89%;
  left: 5%;
  right: 5%;
  font-size: clamp(16px, 2vw, 25px);
  line-height: 1.2;
  font-weight: 750;
}
.qro-service-hero .figure[data-slot="0"] span { visibility: hidden; }
.qro-service-hero .figure[data-slot="-1"], .qro-service-hero .figure[data-slot="1"] { z-index: 2; --scale: .69; --opacity: .78; --blur: .25px; }
.qro-service-hero .figure[data-slot="-2"], .qro-service-hero .figure[data-slot="2"] { z-index: 1; --scale: .53; --opacity: .56; --blur: .55px; }
.qro-service-hero .figure[data-slot="-1"] { --offset: calc(-1 * min(26vw, 355px)); }
.qro-service-hero .figure[data-slot="1"] { --offset: min(26vw, 355px); }
.qro-service-hero .figure[data-slot="-2"] { --offset: calc(-1 * min(44vw, 630px)); }
.qro-service-hero .figure[data-slot="2"] { --offset: min(44vw, 630px); }
.qro-service-hero .figure[data-slot="3"], .qro-service-hero .figure[data-slot="-3"] { --offset: 63vw; --scale: .4; --opacity: 0; visibility: hidden; }
.qro-service-hero .figure[data-slot="-3"] { --offset: -63vw; }
.qro-service-hero .figure:hover:not([aria-pressed="true"]) { --opacity: .96; }

.qro-service-hero .carousel-bottom {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2.35fr) 1fr;
  align-items: center;
  gap: 22px;
  padding-block: 20px 36px;
  border-top: 1px solid #294263;
}
.qro-service-hero .controls { display: flex; gap: 8px; }
.qro-service-hero .controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #5677a3;
  border-radius: 50%;
  background: #091427;
  color: #e5f2ff;
  font-family: Arial, sans-serif;
  font-size: 23px;
}
.qro-service-hero .controls button:hover { border-color: #8bcaff; background: #142844; }
.qro-service-hero .controls button[hidden] { display: none; }
.qro-service-hero .selection { text-align: center; }
.qro-service-hero .selection h2 { font-size: clamp(27px, 3.3vw, 44px); line-height: 1.12; letter-spacing: -.05em; font-weight: 750; }
.qro-service-hero .selection p { margin-top: 7px; color: #b3c2d5; font-size: 16px; line-height: 1.6; }
.qro-service-hero .qro-carousel-link { justify-self: end; display: inline-flex; width: fit-content; min-height: 49px; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 17px; border: 1px solid #64a9ff; border-radius: 5px; background: #1266cc; color: #fff; box-shadow: inset 0 1px 0 #90c9ff40, 0 3px 22px #087dff20; font-size: 15px; font-weight: 750; text-decoration: none; white-space: nowrap; }

@media (min-width: 601px) and (max-height: 800px) {
  .qro-service-hero .home-copy { padding-top: clamp(8px, 1.5svh, 14px); }
  .qro-service-hero .home-copy h1 { font-size: clamp(38px, min(5vw, 8svh), 64px); }
  .qro-service-hero .home-copy p { margin-top: 12px; }
  .qro-service-hero .carousel { padding-top: 8px; }
  .qro-service-hero .stage {
    --figure-size: clamp(225px, min(30vw, 44svh), 365px);
    height: calc(var(--figure-size) - 2px);
  }
  .qro-service-hero .carousel-bottom { padding-block: 14px 22px; }
}

@media (max-width: 850px) {
  .qro-service-hero .qro-carousel-wrap { width: calc(100% - 56px); }
  .qro-service-hero .figure[data-slot="-1"] { --offset: -29vw; }
  .qro-service-hero .figure[data-slot="1"] { --offset: 29vw; }
  .qro-service-hero .figure[data-slot="-2"] { --offset: -48vw; }
  .qro-service-hero .figure[data-slot="2"] { --offset: 48vw; }
}

@media (max-width: 760px) {
  .qro-service-hero { padding-top: 79px; }
  .qro-home-page:not(.qro-home-help-visible) .qro-help { display: none; }
}

@media (max-width: 600px) {
  .qro-service-hero .qro-carousel-wrap { width: calc(100% - 38px); }
  .qro-service-hero .home-copy { padding-top: 10px; }
  .qro-service-hero .home-copy h1 { font-size: clamp(31px, 9.4vw, 53px); }
  .qro-service-hero .home-copy p { margin-top: 13px; font-size: 15px; }
  .qro-service-hero .stage { --figure-size: clamp(226px, 64vw, 340px); height: calc(var(--figure-size) - 10px); }
  .qro-service-hero .ground { bottom: 0; }
  .qro-service-hero .figure[data-slot="-1"], .qro-service-hero .figure[data-slot="1"] { --scale: .54; }
  .qro-service-hero .figure[data-slot="-1"] { --offset: -35vw; }
  .qro-service-hero .figure[data-slot="1"] { --offset: 35vw; }
  .qro-service-hero .figure[data-slot="-2"], .qro-service-hero .figure[data-slot="2"] { visibility: hidden; --opacity: 0; }
  .qro-service-hero .figure span { visibility: hidden; }
  .qro-service-hero .carousel-bottom {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    padding-block: 14px calc(74px + env(safe-area-inset-bottom));
  }
  .qro-service-hero .selection { grid-row: 1; }
  .qro-service-hero .qro-carousel-link {
    justify-self: center;
    margin-block-start: 8px;
  }
  .qro-service-hero .controls button { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .qro-service-hero .figure { transition: none; }
}

@media (max-width: 350px) {
  .qro-service-hero .controls { gap: 6px; }
  .qro-service-hero .carousel-bottom .qro-carousel-link { gap: 8px; padding-inline: 10px; }
}

@media (max-width: 600px) and (max-height: 830px) {
  .qro-service-hero .home-copy p { margin-top: 10px; }
  .qro-service-hero .stage {
    --figure-size: clamp(195px, 60vw, 300px);
    height: calc(var(--figure-size) - 48px);
  }
  .qro-service-hero .figure { top: -24px; }
  .qro-service-hero .carousel-bottom { row-gap: 8px; padding-block-start: 10px; }
  .qro-service-hero .selection p { line-height: 1.5; }
}
