/* =========================================================
   HERO MAIN
   Scoped hero refresh for:
   - services.html
   - sustainability.html
   - resources.html
   - partners.html
   - all industries-*.html pages

   Safe approach:
   - only affects heroes with class="hero hero--full hero--main"
   - does NOT affect service detail pages using .hero--service
   ========================================================= */

.hero.hero--full.hero--main{
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 88px 0 68px;
  border: 0;
  border-radius: 0;
  text-align: center;
  pointer-events: auto;
  filter: none;
  background:
    radial-gradient(900px 300px at 50% 0%, rgba(89,224,11,.16), transparent 60%),
    radial-gradient(900px 300px at 50% 0%, rgba(13,116,245,.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero.hero--full.hero--main::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(255,255,255,.06), transparent 62%);
}

.hero.hero--full.hero--main::after{
  display: none !important;
}

.hero.hero--full.hero--main .hero-inner{
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  text-align: center;
}

.hero.hero--full.hero--main h1{
  margin: 0 0 14px;
  padding-top: 0;
  color: var(--text);
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 760;
}

.hero.hero--full.hero--main h1 .h1-sub{
  display: block;
  margin-top: 10px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.22;
  font-weight: 500;
  opacity: 1;
}

.hero.hero--full.hero--main .hero-inner > p{
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero.hero--full.hero--main .hero-inner > h1 + p{
  margin-top: 18px;
  margin-bottom: 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,.84);
}

.hero.hero--full.hero--main .hero-inner > p:last-of-type{
  margin-top: 28px;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  max-width: none;
}

.hero.hero--full.hero--main .hero-inner > p:last-of-type .btn{
  margin: 0 !important;
}

.hero.hero--full.hero--main .hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

.hero.hero--full.hero--main .hero-btn:hover{
  transform: translateY(-1px);
}

.hero.hero--full.hero--main .hero-btn:active{
  transform: translateY(0);
}

.hero.hero--full.hero--main .btn.white.hero-btn{
  background: rgba(255,255,255,.96);
  color: rgba(0,0,0,.88);
  border-color: transparent;
}

.hero.hero--full.hero--main .btn.white.hero-btn:hover{
  background: rgba(255,255,255,.90);
}

.hero.hero--full.hero--main .btn.mid.hero-btn{
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.30);
}

.hero.hero--full.hero--main .btn.mid.hero-btn:hover{
  background: rgba(255,255,255,.14);
}

@media (max-width: 860px){
  .hero.hero--full.hero--main{
    padding: 72px 0 56px;
  }

  .hero.hero--full.hero--main h1{
    font-size: 48px;
    line-height: 1.05;
  }

  .hero.hero--full.hero--main h1 .h1-sub{
    font-size: clamp(16px, 4.8vw, 20px);
    line-height: 1.26;
    margin-top: 8px;
  }

  .hero.hero--full.hero--main .hero-inner > h1 + p{
    font-size: 16px;
    line-height: 1.6;
    margin-top: 14px;
  }

  .hero.hero--full.hero--main .hero-inner > p:last-of-type{
    margin-top: 22px;
    gap: 10px;
  }

  .hero.hero--full.hero--main .hero-btn{
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 12px;
  }
}

@media (max-width: 550px){
  .hero.hero--full.hero--main h1{
    font-size: 42px;
  }
}

@media (max-width: 520px){
  .hero.hero--full.hero--main{
    padding: 64px 0 50px;
  }

  .hero.hero--full.hero--main .hero-inner > p:last-of-type{
    flex-direction: column;
    align-items: center;
  }

  .hero.hero--full.hero--main .hero-btn{
    width: auto;
  }
}