/* =========================================================
   BUSINESS IMPACT NW HOMEPAGE HERO
   ========================================================= */

.binw-home-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 760px;
  min-height: 760px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

/* HERO IMAGE */

.binw-home-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* IMAGE OVERLAY */

.binw-home-hero__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 28, 24, 0.06) 0%,
    rgba(20, 28, 24, 0.12) 40%,
    rgba(20, 28, 24, 0.24) 65%,
    rgba(20, 28, 24, 0.42) 100%
  );
}

/* HERO CONTENT */

.binw-home-hero__content {
  position: absolute;
  z-index: 2;
  right: 320px;
  bottom: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-sizing: border-box;
  width: min(980px, calc(100% - 112px));
}

.binw-home-hero__content h1 {
  width: 100%;
  max-width: 980px;
  margin: 0 0 24px;
  color: #ffffff !important;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: clamp(1.9rem, 2.3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.binw-home-hero__content h1 span {
  color: #78a22f !important;
}

/* HERO ACTIONS */

.binw-home-hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: 100%;
  max-width: 980px;
  gap: 14px;
}

/* SHARED BUTTON STYLE */

.binw-home-hero a.binw-home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 54px;
  margin: 0;
  padding: 18px 36px;
  border-radius: 999px;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-decoration: none !important;
  color: #ffffff !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.binw-home-hero a.binw-home-hero__btn:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
}

.binw-home-hero a.binw-home-hero__btn:active {
  transform: translateY(0);
}

.binw-home-hero a.binw-home-hero__btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* PRIMARY BUTTON - GET STARTED */

.binw-home-hero a.binw-home-hero__btn--primary,
.binw-home-hero a.binw-home-hero__btn--primary:visited {
  background: #78a22f !important;
  background-color: #78a22f !important;
  background-image: none !important;
  border: 2px solid #78a22f !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.binw-home-hero a.binw-home-hero__btn--primary:hover,
.binw-home-hero a.binw-home-hero__btn--primary:focus {
  background: #6a9028 !important;
  background-color: #6a9028 !important;
  border-color: #6a9028 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* IMPACT PITCH BUTTON */

.binw-home-hero a.binw-home-hero__btn--impact,
.binw-home-hero a.binw-home-hero__btn--impact:visited {
  background: #181f1c !important;
  background-color: #181f1c !important;
  background-image: none !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.binw-home-hero a.binw-home-hero__btn--impact:hover,
.binw-home-hero a.binw-home-hero__btn--impact:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: #ffffff !important;
  color: #181f1c !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

/* Remove theme-added button effects */

.binw-home-hero a.binw-home-hero__btn::before,
.binw-home-hero a.binw-home-hero__btn::after {
  display: none !important;
  content: none !important;
}

/* TABLET */

@media (max-width: 1100px) {
  .binw-home-hero {
    height: 620px;
    min-height: 620px;
  }

  .binw-home-hero__content {
    right: 36px;
    bottom: 80px;
    width: min(760px, calc(100% - 72px));
  }

  .binw-home-hero__content h1,
  .binw-home-hero__actions {
    max-width: 760px;
  }

  .binw-home-hero__content h1 {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .binw-home-hero {
    width: 100%;
    max-width: 100%;
    height: 500px;
    min-height: 500px;
    margin-left: 0;
    margin-right: 0;
  }

  .binw-home-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(20, 28, 24, 0.16) 0%,
      rgba(20, 28, 24, 0.52) 100%
    );
  }

  .binw-home-hero__content {
    right: 20px;
    bottom: 36px;
    left: 20px;
    width: auto;
  }

  .binw-home-hero__content h1,
  .binw-home-hero__actions {
    max-width: 100%;
  }

  .binw-home-hero__content h1 {
    margin-bottom: 20px;
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .binw-home-hero__actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  .binw-home-hero a.binw-home-hero__btn {
    min-height: 50px;
    padding: 16px 26px;
    font-size: 16px;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .binw-home-hero__actions {
    align-items: stretch;
  }

  .binw-home-hero a.binw-home-hero__btn {
    width: 100%;
    white-space: normal;
  }
}
