.multipage-site .primary-nav {
  gap: clamp(0.7rem, 1.35vw, 1.5rem);
}

.multipage-site .primary-nav a,
.multipage-site .mobile-menu a {
  position: relative;
}

.multipage-site .primary-nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -0.7rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.multipage-site .mobile-menu a.is-active {
  color: #0a7d76;
  font-weight: 700;
}

.multipage-site .header-actions .button.is-active {
  box-shadow: 0 0 0 3px rgba(31, 201, 183, 0.25);
}

.page-hero {
  position: relative;
  min-height: 50svh;
  overflow: hidden;
  background: #071b22;
  color: #fff;
  display: grid;
  align-items: end;
}

.page-hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 24, 31, 0.94) 0%, rgba(4, 24, 31, 0.74) 48%, rgba(4, 24, 31, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 24, 31, 0.74), transparent 60%),
    url("assets/mpgroup/9492.jpg") center 42% / cover no-repeat;
  transform: scale(1.02);
}

.page-hero::after {
  position: absolute;
  right: -6rem;
  bottom: -8rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(113, 244, 229, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(28, 207, 185, 0.18);
  content: "";
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(9rem, 17vh, 13rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0.45rem 0 1rem;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-hero-content > p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: #7ff7e9;
  text-decoration: none;
}

.multipage-site:not(.page-home) main > section:not(.page-hero) {
  scroll-margin-top: 6rem;
}

.page-products main,
.page-services main,
.page-r2r main,
.page-news main,
.page-contact main {
  background: #f6f8f8;
}

.page-contact .contact-strip {
  min-height: 44svh;
  display: grid;
  align-items: center;
}

@media (max-width: 1180px) {
  .multipage-site .primary-nav {
    display: none;
  }
}

@media (max-width: 700px) {
  .page-hero {
    min-height: 46svh;
  }

  .page-hero-backdrop {
    background:
      linear-gradient(0deg, rgba(4, 24, 31, 0.94), rgba(4, 24, 31, 0.38)),
      url("assets/mpgroup/9492.jpg") 62% center / cover no-repeat;
  }

  .page-hero-content {
    padding-top: 8.5rem;
    padding-bottom: 3rem;
  }

  .page-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.5rem);
  }

  .breadcrumbs {
    margin-bottom: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-backdrop {
    transform: none;
  }
}
