.jets-scroll-hero {
  --jets-blend: #ffffff;
  --jets-light: #fff;
  --jets-muted: rgba(255, 255, 255, 0.82);
  --jets-mask-soft: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.04) 1.25%,
    rgba(0, 0, 0, 0.1) 2.5%,
    rgba(0, 0, 0, 0.18) 3.75%,
    rgba(0, 0, 0, 0.28) 5%,
    rgba(0, 0, 0, 0.4) 6.25%,
    rgba(0, 0, 0, 0.54) 7.5%,
    rgba(0, 0, 0, 0.68) 8.75%,
    rgba(0, 0, 0, 0.82) 10%,
    rgba(0, 0, 0, 0.93) 11.25%,
    rgba(0, 0, 0, 1) 12.5%,
    rgba(0, 0, 0, 1) 87.5%,
    rgba(0, 0, 0, 0.93) 88.75%,
    rgba(0, 0, 0, 0.82) 90%,
    rgba(0, 0, 0, 0.68) 91.25%,
    rgba(0, 0, 0, 0.54) 92.5%,
    rgba(0, 0, 0, 0.4) 93.75%,
    rgba(0, 0, 0, 0.28) 95%,
    rgba(0, 0, 0, 0.18) 96.25%,
    rgba(0, 0, 0, 0.1) 97.5%,
    rgba(0, 0, 0, 0.04) 98.75%,
    rgba(0, 0, 0, 0) 100%
  );
  --jets-fade-soft: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.2) 3%,
    rgba(255, 255, 255, 0.08) 6%,
    rgba(255, 255, 255, 0.02) 9%,
    rgba(255, 255, 255, 0) 12%,
    rgba(255, 255, 255, 0) 88%,
    rgba(255, 255, 255, 0.02) 91%,
    rgba(255, 255, 255, 0.08) 94%,
    rgba(255, 255, 255, 0.2) 97%,
    rgba(255, 255, 255, 0.42) 100%
  );
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  perspective: 1000px;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--jets-light);
  background-color: var(--jets-blend);
  isolation: isolate;
}

.jets-scroll-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-mask-image: var(--jets-mask-soft);
  mask-image: var(--jets-mask-soft);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.jets-scroll-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--jets-fade-soft);
}

.jets-scroll-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jets-scroll-hero__cards {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.jets-scroll-card {
  --jets-x: 50%;
  --jets-y: 50%;
  position: absolute;
  left: var(--jets-x);
  top: var(--jets-y);
  width: min(196px, 40vw);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  color: #0f172a;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity;
  transform: translate(-50%, calc(-50% + 18px)) scale(0.94);
  backdrop-filter: blur(8px);
}

.jets-scroll-card__media {
  height: 76px;
  overflow: hidden;
}

.jets-scroll-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jets-scroll-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 11px;
}

.jets-scroll-card__body strong {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.jets-scroll-card__body span {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}

.jets-scroll-card--booking {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: min(236px, 46vw);
  padding: 11px 12px 12px;
}

.jets-scroll-card--booking .jets-scroll-card__body {
  padding: 0;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.jets-scroll-card__service {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.3;
}

.jets-scroll-card__detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.625rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.3;
}

.jets-scroll-card__detail svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  opacity: 0.55;
}

.jets-scroll-card__detail span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jets-scroll-card__flag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 18px;
  border-radius: 3px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.jets-scroll-card__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.jets-scroll-card--booking::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.jets-scroll-hero__sky,
.jets-scroll-hero__copy,
.jets-scroll-hero__window,
.jets-scroll-hero__header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
}

.jets-scroll-hero__sky {
  height: 350svh;
}

.jets-scroll-hero__copy {
  height: 100svh;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.5rem;
  text-align: center;
  pointer-events: none;
}

.jets-scroll-hero__copy p {
  width: min(90%, 36rem);
  font-size: clamp(1.125rem, 2.25vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.5;
  margin: 0;
  color: #0f2744;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.65);
}

.jets-scroll-hero__window {
  height: 100svh;
  pointer-events: none;
  transform-origin: 50% 50%;
}

.jets-scroll-hero__header {
  height: 100svh;
  z-index: 5;
  padding: clamp(3.5rem, 12vh, 7rem) clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  pointer-events: none;
  box-sizing: border-box;
}

.jets-scroll-hero__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.jets-scroll-hero__col p {
  width: min(100%, 20rem);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--jets-muted);
  margin: 0;
  text-shadow: 0 1px 14px rgba(15, 23, 42, 0.25);
}

.jets-scroll-hero__col .jets-scroll-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
}

.jets-scroll-hero__col h2,
.jets-scroll-hero__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  white-space: pre-line;
  text-shadow: 0 1px 18px rgba(15, 23, 42, 0.28);
}

.jets-scroll-hero__col:nth-child(2) {
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 900px) {
  .jets-scroll-card--hide-sm {
    display: none;
  }

  .jets-scroll-card {
    width: min(168px, 44vw);
  }

  .jets-scroll-card--booking {
    width: min(210px, 50vw);
  }

  .jets-scroll-hero__header {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jets-scroll-card {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    will-change: auto;
  }

  .jets-scroll-hero__sky,
  .jets-scroll-hero__copy,
  .jets-scroll-hero__window,
  .jets-scroll-hero__header {
    will-change: auto;
  }
}
