/* Shared page hero — Figma home 2:1969 (carousel) + ULA 162:10490 (background) */

.page-hero {
  --page-hero-header-offset: 80px;
  --page-hero-min-height: calc(100dvh - var(--page-hero-header-offset));
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: var(--page-hero-min-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0c111d;
  color: #ffffff;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__carousel,
.page-hero__slide--single {
  height: 100%;
  min-height: var(--page-hero-min-height);
  width: 100%;
}

.page-hero__slide--single {
  position: absolute;
  inset: 0;
}

.page-hero__carousel .owl-stage-outer,
.page-hero__carousel .owl-stage,
.page-hero__carousel .owl-item,
.page-hero__slide {
  height: 100%;
  min-height: var(--page-hero-min-height);
}

.page-hero__slide {
  position: relative;
}

.page-hero__image,
.page-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: var(--page-hero-min-height);
  object-fit: cover;
}

.page-hero--ula .page-hero__media {
  opacity: 0.3;
}

.page-hero--faq .page-hero__media {
  opacity: 0.3;
  mix-blend-mode: soft-light;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.page-hero--default .page-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(12, 17, 29, 0.55) 0%,
    rgba(12, 17, 29, 0.42) 52%,
    rgba(12, 17, 29, 0.28) 100%
  );
}

.page-hero--ula .page-hero__overlay {
  background: transparent;
}

.page-hero--article .page-hero__media {
  opacity: 1;
}

.page-hero--article .page-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(12, 17, 29, 0.16) 0%,
    rgba(12, 17, 29, 0.28) 55%,
    rgba(12, 17, 29, 0.4) 100%
  );
}

.page-hero--faq .page-hero__overlay {
  background: transparent;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: min(1174px, calc(100% - 48px));
  margin: 0 auto;
  min-height: var(--page-hero-min-height);
  padding: 48px 24px 96px;
  text-align: center;
}

.page-hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.page-hero__title {
  margin: 0;
  max-width: 1056px;
  font-family: "Granadia-Bold", sans-serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -3.36px;
  color: #ffffff;
  text-wrap: balance;
}

.page-hero__subtitle {
  margin: 0;
  max-width: 1174px;
  font-family: "Granadia-Book", sans-serif;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.35;
  letter-spacing: -0.18px;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
}

.page-hero__subtitle + .page-hero__dots {
  margin-top: 8px;
}

.page-hero--faq .page-hero__content {
  gap: 24px;
  max-width: 768px;
  padding: clamp(96px, 12vw, 140px) 24px clamp(64px, 8vw, 96px);
}

.page-hero--faq .page-hero__title {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.12;
  letter-spacing: -1.92px;
}

.page-hero--faq .page-hero__subtitle {
  max-width: 768px;
  line-height: 1.39;
}

.page-hero__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.page-hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-hero__dot.is-active {
  background: #ffffff;
}

.page-hero__dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.page-hero__dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

html[lang="ar"] .page-hero__title,
:lang(ar) .page-hero__title {
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .page-hero {
    --page-hero-header-offset: 72px;
    --page-hero-min-height: calc(100dvh - var(--page-hero-header-offset));
  }

  .page-hero__content {
    gap: 28px;
    padding-top: clamp(96px, 18vw, 140px);
  }

  .page-hero__title {
    letter-spacing: -1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__dot {
    transition: none;
  }
}
