.lm-b2b-enterprise-hero {
  --lm-b2b-enterprise-bg-image: linear-gradient(135deg, #29160f 0%, #8c694e 100%);
  --lm-b2b-enterprise-min-height: 640px;
  --lm-b2b-enterprise-overlay-start-rgb: 29, 18, 13;
  --lm-b2b-enterprise-overlay-end-rgb: 210, 176, 138;
  --lm-b2b-enterprise-overlay-opacity: 0.72;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  aspect-ratio: 14 / 5;
  min-height: clamp(640px, 35.714vw, 760px);
  overflow: hidden;
  background: #18120e;
  color: #fffaf5;
  isolation: isolate;
  z-index: 0;
}

.wp-block-acf-lm-b2b-enterprise-hero {
  margin-top: 0;
  margin-bottom: 0;
}

.lm-b2b-enterprise-hero.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.lm-b2b-enterprise-hero__backdrop,
.lm-b2b-enterprise-hero::before,
.lm-b2b-enterprise-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lm-b2b-enterprise-hero__backdrop {
  background-image: var(--lm-b2b-enterprise-bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transform: scale(1.01);
  z-index: -3;
}

.lm-b2b-enterprise-hero::before {
  background:
    linear-gradient(
      100deg,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 1) 0%,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 0.94) 24%,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 0.82) 46%,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 0.62) 68%,
      rgba(var(--lm-b2b-enterprise-overlay-end-rgb), 0.4) 100%
    );
  opacity: var(--lm-b2b-enterprise-overlay-opacity);
  z-index: -2;
}

.lm-b2b-enterprise-hero::after {
  background:
    linear-gradient(
      180deg,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 0.34) 0%,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 0.12) 18%,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 0.08) 52%,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 0.16) 78%,
      rgba(var(--lm-b2b-enterprise-overlay-start-rgb), 0.3) 100%
    );
  opacity: calc(var(--lm-b2b-enterprise-overlay-opacity) * 0.38);
  z-index: -1;
}

.lm-b2b-enterprise-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(92px, 8vw, 118px) clamp(24px, 4vw, 64px) clamp(86px, 7vw, 108px);
}

.lm-b2b-enterprise-hero__content {
  width: min(760px, 100%);
}

.lm-b2b-enterprise-hero.is-center .lm-b2b-enterprise-hero__content {
  margin: 0 auto;
  text-align: center;
}

.lm-b2b-enterprise-hero.is-right .lm-b2b-enterprise-hero__content {
  margin-left: auto;
  text-align: right;
}

.lm-b2b-enterprise-hero.is-left .lm-b2b-enterprise-hero__content {
  text-align: left;
}

.lm-b2b-enterprise-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 12px 20px;
  margin-bottom: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 245, 233, 0.34);
  border-radius: 999px;
  background: rgba(74, 46, 33, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff8f0;
  backdrop-filter: blur(8px);
}

.lm-b2b-enterprise-hero__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f9f4ef;
  text-wrap: balance;
}

.lm-b2b-enterprise-hero__description {
  width: min(760px, 100%);
  margin: clamp(20px, 2.2vw, 28px) 0 0;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.68;
  color: rgba(255, 244, 235, 0.92);
}

.lm-b2b-enterprise-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: clamp(42px, 5vw, 60px);
}

.lm-b2b-enterprise-hero.is-center .lm-b2b-enterprise-hero__actions {
  justify-content: center;
}

.lm-b2b-enterprise-hero.is-right .lm-b2b-enterprise-hero__actions {
  justify-content: flex-end;
}

.lm-b2b-enterprise-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 196px;
  min-height: 62px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 244, 232, 0.3);
  border-radius: 18px;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.lm-b2b-enterprise-hero__button:hover {
  transform: translateY(-2px);
}

.lm-b2b-enterprise-hero__button--primary {
  background: #c7a06d;
  border-color: #c7a06d;
  color: #fff9f4;
  box-shadow: 0 22px 40px rgba(44, 20, 7, 0.28);
}

.lm-b2b-enterprise-hero__button--primary:hover {
  background: #d0ab79;
  border-color: #d0ab79;
  color: #fff9f4;
}

.lm-b2b-enterprise-hero__button--secondary {
  background: rgba(71, 47, 35, 0.42);
  color: #fff7ef;
  backdrop-filter: blur(10px);
}

.lm-b2b-enterprise-hero__button--secondary:hover {
  background: rgba(95, 62, 45, 0.5);
  border-color: rgba(255, 244, 232, 0.44);
  color: #fff7ef;
}

.lm-b2b-enterprise-hero__button-arrow {
  font-size: 1.2em;
  line-height: 1;
}

@media (max-width: 1024px) {
  .lm-b2b-enterprise-hero {
    min-height: clamp(600px, 42vw, 700px);
  }

  .lm-b2b-enterprise-hero__title {
    font-size: clamp(34px, 5.3vw, 50px);
  }

  .lm-b2b-enterprise-hero__description {
    max-width: 640px;
  }

  .lm-b2b-enterprise-hero__button {
    min-height: 58px;
    min-width: 188px;
  }
}

@media (max-width: 767px) {
  .lm-b2b-enterprise-hero {
    aspect-ratio: auto;
    min-height: 560px;
  }

  .lm-b2b-enterprise-hero__inner {
    padding: 84px 18px 60px;
  }

  .lm-b2b-enterprise-hero__badge {
    min-height: 48px;
    padding: 11px 18px;
    margin-bottom: 24px;
  }

  .lm-b2b-enterprise-hero__title {
    font-size: clamp(30px, 8.6vw, 40px);
    line-height: 1.02;
  }

  .lm-b2b-enterprise-hero__description {
    font-size: 15px;
    line-height: 1.58;
  }

  .lm-b2b-enterprise-hero__actions {
    gap: 14px;
  }

  .lm-b2b-enterprise-hero.is-right .lm-b2b-enterprise-hero__content,
  .lm-b2b-enterprise-hero.is-center .lm-b2b-enterprise-hero__content {
    text-align: left;
    margin: 0;
  }

  .lm-b2b-enterprise-hero.is-right .lm-b2b-enterprise-hero__actions,
  .lm-b2b-enterprise-hero.is-center .lm-b2b-enterprise-hero__actions {
    justify-content: flex-start;
  }

  .lm-b2b-enterprise-hero__button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 16px;
  }
}
