/* Editorial hero direction: a full-bleed road film with clear, readable copy. */
.hero {
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  height: min(760px, calc(100svh - 124px));
  min-height: 570px;
  margin: 0;
  padding: 72px 7% 92px;
  overflow: hidden;
  background: #102624;
}

.hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center 54%;
}

.hero-photo-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 18, .82) 0%, rgba(7, 20, 18, .62) 42%, rgba(7, 20, 18, .14) 100%),
    linear-gradient(0deg, rgba(7, 20, 18, .36), transparent 35%);
}

.hero-copy {
  z-index: 2;
  width: min(650px, 62%);
  margin-inline-start: 2%;
  padding: 0;
  color: #fff;
}

.hero-copy .eyebrow,
.hero h1 {
  color: #fff;
}

.hero h1 {
  font-weight: 700;
  letter-spacing: -.035em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .12);
}

.hero h1 em {
  color: var(--lime);
  font-family: var(--arabic);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 490px;
  color: rgba(255, 255, 255, .84);
}

.hero-proof {
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(16, 38, 36, .34);
  backdrop-filter: blur(12px);
}

.hero-proof > div strong,
.hero-proof small {
  color: #fff;
}

.hero-proof small {
  color: rgba(255, 255, 255, .72);
}

.proof-badge {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.hero-copy .text-link {
  color: #fff;
}

.header-phone {
  display: none;
}

.cta-road {
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  letter-spacing: .15em;
}

.search-wrap {
  margin-top: -25px;
}

.testimonial-section blockquote {
  font-family: var(--arabic);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
}

.trust-strip > div:not(.trust-note) > strong {
  font-size: clamp(17px, 1.8vw, 23px);
  white-space: nowrap;
}

.trust-strip > div:not(.trust-note) > small {
  max-width: 190px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .hero {
    height: max(620px, calc(100svh - 106px));
    min-height: 620px;
    max-height: 760px;
    padding: 64px 6% 112px;
  }

  .hero-copy {
    width: min(100%, 580px);
    margin-inline-start: 0;
  }

  .hero h1 {
    font-size: clamp(42px, 10vw, 58px);
  }

  .hero-copy > p {
    max-width: 440px;
  }

  .hero-proof {
    padding: 10px 12px;
  }

  .hero-photo-shade {
    background:
      linear-gradient(90deg, rgba(7, 20, 18, .72), rgba(7, 20, 18, .36)),
      linear-gradient(0deg, rgba(7, 20, 18, .5), transparent 55%);
  }

  .trust-strip > div:not(.trust-note) > small {
    max-width: none;
  }

  .cta-road {
    color: rgba(255, 255, 255, .46);
    font-size: 10px;
  }
}

html[dir="rtl"] .hero-photo-shade {
  background:
    linear-gradient(270deg, rgba(7, 20, 18, .82) 0%, rgba(7, 20, 18, .62) 42%, rgba(7, 20, 18, .14) 100%),
    linear-gradient(0deg, rgba(7, 20, 18, .36), transparent 35%);
}

html[dir="rtl"] .hero-visual,
html[dir="rtl"] .hero-photo,
html[dir="rtl"] .hero-photo-shade {
  border-radius: 0;
}

@media (max-width: 760px) {
  html[dir="rtl"] .hero-photo-shade {
    background:
      linear-gradient(270deg, rgba(7, 20, 18, .72), rgba(7, 20, 18, .36)),
      linear-gradient(0deg, rgba(7, 20, 18, .5), transparent 55%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    animation: none;
  }
}

.site-header {
  height: 65px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 78px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid #dfe4da;
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
  white-space: nowrap;
}

.language-switch:hover {
  border-color: #a8b59d;
  background: #fff;
}

.header-cta {
  min-height: 48px;
}

@media (max-width: 760px) {
  .site-header {
    height: 65px;
  }

  .main-nav {
    top: 65px;
  }

  .language-switch {
    min-height: 40px;
    padding-inline: 9px;
  }

  .header-cta {
    min-height: 46px;
  }
}

@media (min-width: 761px) {
  .hero {
    height: min(760px, calc(100svh - 65px));
  }

  .main-nav {
    gap: clamp(12px, 1.5vw, 20px);
  }

  .main-nav a {
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .hero {
    height: max(620px, calc(100svh - 65px));
  }
}
