.epi-hero {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 52vw, 620px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.epi-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.epi-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    transparent 70%
  );
}

.epi-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--epi-max-w);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.epi-hero__content {
  max-width: 480px;
}

.epi-hero__panel {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 8px 32px rgba(13, 47, 49, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.epi-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--epi-petrol);
  margin-bottom: 14px;
}

.epi-hero__title {
  font-family: var(--epi-font-heading);
  font-size: clamp(1.75rem, 1.1rem + 2.5vw, 2.6rem);
  font-weight: 700;
  color: var(--epi-forest);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.epi-hero__subtitle {
  font-size: clamp(0.88rem, 0.8rem + 0.35vw, 0.98rem);
  color: var(--epi-charcoal);
  line-height: 1.7;
  margin: 0 0 24px;
  opacity: 0.85;
}

.epi-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.epi-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--epi-grey);
}

.epi-hero__trust li + li::before {
  content: "·";
  margin-right: 12px;
  opacity: 0.45;
}

.epi-btn--ghost {
  background: rgba(255, 255, 255, 0.45);
  color: var(--epi-forest);
  border: 2px solid rgba(13, 47, 49, 0.25);
  backdrop-filter: blur(4px);
}

.epi-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--epi-petrol);
  color: var(--epi-forest);
}

@media (max-width: 900px) {
  .epi-hero {
    min-height: auto;
  }

  .epi-hero__bg {
    background-position: center center;
  }

  .epi-hero__overlay {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.15) 40%,
      rgba(255, 255, 255, 0.55) 100%
    );
  }

  .epi-hero__inner {
    align-items: flex-end;
    justify-content: flex-start;
    min-height: clamp(520px, 85vw, 640px);
    padding-top: clamp(180px, 42vw, 280px);
  }

  .epi-hero__content {
    max-width: 100%;
    width: 100%;
  }

  .epi-hero__panel {
    background: rgba(255, 255, 255, 0.78);
  }
}

@media (max-width: 600px) {
  .epi-hero__cta {
    flex-direction: column;
  }

  .epi-hero__cta .epi-btn {
    text-align: center;
    justify-content: center;
  }
}
