/* Immersive homepage hero variant. Intentionally scoped to avoid the shared .hero rules. */
.hero-immersive {
  position: relative;
  isolation: isolate;
  min-height: 580px;
  overflow: hidden;
  color: #17311f;
  background: #fbfdfb;
}

.hero-immersive__media {
  position: absolute;
  z-index: -4;
  inset: 0 0 0 16%;
  overflow: hidden;
  background: #e5efe7;
}

.hero-immersive__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 35% center;
}

.hero-immersive__wash {
  position: absolute;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f5fbf5 0%, #f5fbf5 24%, rgba(245,251,245,.98) 35%, rgba(245,251,245,.94) 44%, rgba(245,251,245,.35) 50%, rgba(245,251,245,0) 56%),
    linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 48%, rgba(18,54,32,.17) 100%);
}

.hero-immersive::before {
  position: absolute;
  z-index: -2;
  top: -26%;
  left: -10%;
  width: 52%;
  height: 85%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(185,230,161,.22), rgba(185,230,161,0) 68%);
}

.hero-immersive__rings {
  position: absolute;
  z-index: -2;
  right: -12vw;
  bottom: -39vw;
  width: 58vw;
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid rgba(50,145,74,.21);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(50,145,74,.065), 0 0 0 104px rgba(50,145,74,.035);
}

.hero-immersive__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  min-height: 580px;
  margin-inline: auto;
  padding-block: 70px 78px;
}

.hero-immersive__copy {
  width: min(590px, 52%);
}

.hero-immersive__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 21px;
  color: #236b38;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-immersive__eyebrow > span {
  width: 23px;
  height: 2px;
  background: #32914a;
}

.hero-immersive h1 {
  max-width: 660px;
  margin: 0 0 25px;
  color: #152019;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .98;
}

.hero-immersive h1 span {
  display: block;
  color: #32914a;
}

.hero-immersive__intro {
  max-width: 510px;
  margin: 0 0 31px;
  color: #53675a;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.62;
}

.hero-immersive__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-immersive__button,
.hero-immersive__link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 800;
}

.hero-immersive__button {
  min-height: 50px;
  padding: 0 21px;
  color: #fff;
  background: #287d3f;
  border: 1px solid #287d3f;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(35,107,56,.2);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hero-immersive__button:hover,
.hero-immersive__button:focus-visible {
  color: #fff;
  background: #236b38;
  border-color: #236b38;
  transform: translateY(-2px);
}

.hero-immersive__link {
  color: #236b38;
  transition: color .2s ease;
}

.hero-immersive__link:hover,
.hero-immersive__link:focus-visible {
  color: #32914a;
}

.hero-immersive__phone {
  margin: 21px 0 0;
  color: #66756c;
  font-size: 13px;
}

.hero-immersive__phone a {
  color: #17311f;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #a9cdb0;
  text-underline-offset: 3px;
}

.hero-immersive__phone a:hover,
.hero-immersive__phone a:focus-visible {
  color: #32914a;
}

.hero-immersive__service {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 31px 0 0;
  color: #6d7d73;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .015em;
}

.hero-immersive__service span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.hero-immersive__service span:not(:last-child)::after {
  width: 4px;
  height: 4px;
  content: "";
  background: #9bb5a0;
  border-radius: 50%;
}

@media (min-width: 981px) and (max-width: 1100px) {
  .hero-immersive__copy { width: min(620px, 61%); }
  .hero-immersive__intro { max-width: 410px; }
  .hero-immersive__image { object-position: 35% center; }
  .hero-immersive__wash {
    background:
      linear-gradient(90deg, #f5fbf5 0%, #f5fbf5 29%, rgba(245,251,245,.98) 43%, rgba(245,251,245,.65) 54%, rgba(245,251,245,0) 64%),
      linear-gradient(180deg, rgba(255,255,255,.22), rgba(18,54,32,.14));
  }
}

@media (max-width: 980px) {
  .hero-immersive {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #edf7eb, #fbfdfb 75%);
  }

  .hero-immersive__inner {
    order: 1;
    display: block;
    width: min(100% - 32px, 620px);
    min-height: 0;
    padding-block: 55px 47px;
  }

  .hero-immersive__copy { width: 100%; }

  .hero-immersive__media {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 2;
    width: 100%;
    height: clamp(245px, 64vw, 350px);
  }

  .hero-immersive__image {
    object-position: 79% center;
  }

  .hero-immersive__wash,
  .hero-immersive::before,
  .hero-immersive__rings {
    display: none;
  }

  .hero-immersive__media::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(18,54,32,0) 58%, rgba(18,54,32,.18) 100%);
  }

  .hero-immersive__eyebrow { margin-bottom: 18px; }
  .hero-immersive h1 { font-size: clamp(29px, 8.5vw, 48px); overflow-wrap: anywhere; }
  .hero-immersive__intro { font-size: 16px; }
  .hero-immersive__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-immersive__service { margin-top: 28px; }
}

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