/* Header + hero + the section that follows the homepage hero. */

.alnoor-header,
.alnoor-header-elementor,
.elementor-location-header {
  background: #fff !important;
  border-bottom: 1px solid #eceae6;
  box-shadow: none;
}

.alnoor-header::before,
.elementor-location-header::before {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: #d71920;
}

.alnoor-header.is-scrolled,
.elementor-location-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.alnoor-topbar,
.alnoor-header-bar,
.elementor-location-header .alnoor-topbar {
  display: none !important;
}

.alnoor-header-main,
.elementor-location-header .alnoor-header-main {
  background: #fff;
}

.alnoor-header-main-inner {
  min-height: 4.5rem;
}

.alnoor-nav-list a,
.elementor-location-header .elementor-nav-menu--main .elementor-item {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.alnoor-header-cta,
.alnoor-header-actions .alnoor-btn,
.elementor-location-header .elementor-button {
  min-height: 2.5rem;
  padding-inline: 1rem;
  border-radius: 0.375rem !important;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.8125rem !important;
}

.alnoor-nav-lang {
  display: none;
}

.alnoor-hero,
.alnoor-page-hero,
.alnoor-hero.e-con,
.alnoor-page-hero.e-con {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #08090c !important;
}

.alnoor-hero > .e-con,
.alnoor-page-hero > .e-con {
  position: relative;
  z-index: 2;
}

.alnoor-hero h1.elementor-heading-title,
.alnoor-page-hero h1.elementor-heading-title {
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  max-width: 18ch;
}

.alnoor-hero .alnoor-hero-copy > .elementor-widget-heading:first-child .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #1a2230;
  color: #cbd5e1 !important;
  font-size: 0.7rem !important;
  line-height: 1.3 !important;
  letter-spacing: 0.06em !important;
}

.alnoor-hero .elementor-widget-button .elementor-button {
  min-height: 3rem;
  border-radius: 0.375rem !important;
}

.alnoor-hero .alnoor-schema-card {
  background: #1a2230;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.alnoor-hero-stats {
  padding-top: 0.5rem;
}

@media (max-width: 1100px) {
  .alnoor-nav-lang { display: block; margin-top: 0.85rem; }
}

@media (max-width: 767px) {
  .alnoor-header-main-inner { min-height: 3.75rem; }

  .alnoor-hero,
  .alnoor-page-hero,
  .alnoor-hero.e-con,
  .alnoor-page-hero.e-con {
    padding-top: 2.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .alnoor-hero h1.elementor-heading-title,
  .alnoor-page-hero h1.elementor-heading-title {
    max-width: none;
    font-size: clamp(1.75rem, 8vw, 2.15rem) !important;
    line-height: 1.2 !important;
  }

  .alnoor-hero .elementor-widget-text-editor,
  .alnoor-hero .elementor-widget-text-editor p {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }

  .alnoor-hero-aside,
  .alnoor-hero > .e-con > .e-con:last-child {
    display: none !important;
  }

  .alnoor-hero-ctas,
  .alnoor-hero-ctas.e-con,
  .alnoor-hero-ctas > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
  }

  .alnoor-hero-ctas .elementor-widget-button,
  .alnoor-hero-ctas .elementor-button {
    width: 100% !important;
  }

  .alnoor-hero-phone .elementor-button {
    justify-content: flex-start !important;
    padding-inline: 0 !important;
    min-height: auto !important;
  }

  .alnoor-hero-stats,
  .alnoor-hero-stats.e-con {
    width: 100% !important;
    margin-top: 0.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .alnoor-hero-stats > .e-con {
    width: 33.33% !important;
    max-width: 33.33% !important;
  }

  .alnoor-hero-stats .elementor-widget-heading:first-child .elementor-heading-title {
    font-size: 1.5rem !important;
    line-height: 1.15 !important;
  }

  .alnoor-hero-stats .elementor-widget-heading:last-child .elementor-heading-title {
    font-size: 0.62rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.04em !important;
  }
}
