.home-hero {
  background: #031e32;
  padding: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("banner-poster.webp") center / cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: rgb(3 30 50 / 62%);
  content: "";
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(35rem, 52vw, 51rem);
  padding-block: 8rem 4rem;
}

.home-hero .hero-copy {
  padding-bottom: 0;
}

.home-hero .hero-title-reference,
.home-hero .hero-subtitle-pipes,
.home-hero .hero-subtitle-pipes b,
.home-hero .play-link,
.home-hero .review-row strong {
  color: #fff;
}

.home-hero .hero-description {
  color: #fff;
}

.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary svg {
  flex-shrink: 0;
}

.accordion[open] summary svg {
  transform: rotate(180deg);
}

.accordion .accordion-body {
  display: block;
  padding-bottom: 1.5rem;
}

@media (width <= 820px) {
  .home-hero .hero-grid {
    min-height: 0;
    padding-block: 7rem 5rem;
  }

  html:not(.site-interactive) .nav-links {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  html:not(.site-interactive) .menu-button,
  html:not(.site-interactive) .nav-links .button {
    display: none;
  }
}

.site-footer .footer-credit a:not(.button) {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.site-footer .footer-credit a:hover,
.site-footer .footer-credit a:focus-visible {
  text-decoration: underline;
}

.hero-form-card {
  width: 100%;
  max-width: 410px;
  padding: 34px 32px 28px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff38, #25374955 55%, #1598ad24);
  box-shadow: 0 30px 80px #031e3259, inset 0 1px #ffffff40;
  color: #fff;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.hero-form-card h2 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.hero-form-card p {
  margin: 0 0 24px;
  color: #fff;
  font-size: .92rem;
}

.hero-form {
  display: grid;
  gap: 14px;
}

.hero-form input:not([type="hidden"], .form-honeypot) {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #ffffff61;
  border-radius: 12px;
  background: #ffffff24;
  color: #fff;
  font: inherit;
}

.hero-form input::placeholder {
  color: #ffffffe0;
  opacity: 1;
}

.hero-form input:focus-visible {
  outline: 2px solid #8ce5f6;
  outline-offset: 2px;
}

.hero-form-submit {
  margin-top: 6px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #08728f, #247e95);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.hero-form-submit:hover {
  background: #096981;
}

.hero-form-card .hero-form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0 0;
  font-size: .82rem;
  line-height: 1.55;
}

.hero-form-note svg {
  flex: none;
  margin-top: 2px;
  color: #9adea8;
}

@media (width > 900px) {
  .home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(315px, 410px);
    gap: clamp(24px, 4vw, 64px);
  }

  .home-hero .hero-title-reference {
    font-size: clamp(2.65rem, 4.8vw, 5rem);
  }
}

@media (width <= 900px) {
  .home-hero .hero-grid {
    gap: 36px;
  }
}

@media (width <= 480px) {
  .hero-form-card {
    padding: 26px 20px 22px;
  }
}

.service-card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  border-radius: 16px;
  object-fit: cover;
}

.service-card-photo + .service-card-top {
  margin-bottom: 18px;
}

.service-detail-hero .service-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  max-width: 1180px;
}

.service-detail-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  object-fit: cover;
}

@media (width <= 820px) {
  .service-detail-hero .service-detail-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.free-zones {
  padding-block: clamp(1.25rem, 2vw, 2rem);
  background: #f0f8fa;
}

.free-zone-viewport {
  overflow-x: auto;
}

.free-zone-viewport:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.free-zone-marquee {
  display: flex;
  width: max-content;
}

.free-zone-track {
  display: flex;
  flex: none;
  gap: 12px;
  margin: 0;
  padding: 1px 12px 1px 0;
  list-style: none;
}

.free-zone-card {
  display: grid;
  flex: none;
  width: clamp(135px, 17vw, 202px);
  place-items: center;
  align-content: center;
  gap: .55rem;
  min-height: 111px;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
  text-align: center;
  font: 700 clamp(.88rem, 1.2vw, 1rem)/1.3 "Bricolage Grotesque", sans-serif;
}

.free-zone-card img {
  width: min(100%, 128px);
  height: 53px;
  object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
  .free-zone-viewport:has(.is-looping) {
    overflow: clip;
  }

  .free-zone-marquee.is-looping {
    animation: free-zone-scroll 36s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .free-zone-track[aria-hidden="true"] {
    display: none;
  }
}

@keyframes free-zone-scroll {
  to {
    transform: translateX(var(--marquee-distance));
  }
}

.authority-marquee {
  background: #fff;
  padding-block: 28px;
}

.authority-marquee .free-zone-track {
  gap: 0;
  padding: 0;
}

.authority-logo {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(144px, 9.1vw, 190px);
  height: 106px;
}

.authority-logo span {
  display: grid;
  place-items: center;
  width: 128px;
  height: 80px;
}

.authority-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.authority-logo-spc span,
.authority-logo-meydan span {
  display: flex;
  overflow: hidden;
}

.authority-logo-spc span {
  width: 104px;
}

.authority-logo-spc img {
  flex: none;
  width: auto;
  max-width: none;
  height: 80px;
}

.authority-logo-meydan img {
  flex: none;
  width: auto;
  max-width: none;
  height: 72px;
}

@media (prefers-reduced-motion: no-preference) {
  .authority-marquee .free-zone-viewport:has(.is-looping) {
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  }
}
