﻿/* ==========================================================
   ebmnt1 — hero (static, no slider)
   ========================================================== */

.ebmnt1-hero {
  min-height: 36rem;
  justify-content: center;
  gap: 9em;
  overflow: hidden;
  background-color: var(--ebmnt1-hero-background-color);
  color: var(--ebmnt1-hero-text-color);
}

.ebmnt1-hero__bg {
  position: absolute;
  inset: -10% 0;
  background-image: var(--ebmnt1-hero-background-image);
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.ebmnt1-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--ebmnt1-hero-overlay-start-color),
    var(--ebmnt1-hero-overlay-end-color)
  );
}

.ebmnt1-hero__inner {
  align-items: flex-start;
  text-align: start;
  gap: 1.4em;
  z-index: 2;
}

.ebmnt1-hero__label {
  font-family: var(--ebmnt1-font-heading);
  font-size: var(--ebmnt1-fs-sm);
  font-weight: 700;
  color: var(--ebmnt1-hero-label-color);
}

.ebmnt1-hero__title {
  max-width: 14em;
  font-size: var(--ebmnt1-fs-h1);
  font-weight: 900;
  line-height: 1.25;
  color: var(--ebmnt1-hero-title-color);
}

.ebmnt1-hero__text {
  max-width: 34em;
  font-size: var(--ebmnt1-fs-md);
  color: var(--ebmnt1-hero-description-color);
}

.ebmnt1-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

/* ---------- feature cards: 1 per row up to tablet, 2 side by side on laptop+ ---------- */

.ebmnt1-hero__features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.ebmnt1-hero__feature {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 1.1em 1.3em;
  text-align: start;
  background-color: var(--ebmnt1-hero-feature-background-color);
  border-radius: 1.2em;
}

.ebmnt1-hero__feature-icon {
  flex: 0 0 auto;
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--ebmnt1-hero-feature-icon-background-color);
  color: var(--ebmnt1-hero-feature-icon-color);
  font-size: 1.4rem;
}

.ebmnt1-hero__feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.ebmnt1-hero__feature-title {
  font-size: var(--ebmnt1-fs-lg);
  font-weight: 800;
  color: var(--ebmnt1-hero-feature-title-color);
}

.ebmnt1-hero__feature-text {
  font-size: var(--ebmnt1-fs-sm);
  line-height: 1.7;
  color: var(--ebmnt1-hero-feature-text-color);
}

@media (min-width: 1024px) {
  .ebmnt1-hero__features {
    max-width: 52rem;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ebmnt1-hero__feature {
    flex-basis: calc(50% - 0.5em);
  }
}

/* floating decor (parallax) */

.ebmnt1-hero__decor {
  display: none;
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.ebmnt1-hero__decor--truck {
  inset-inline-end: 0;
  bottom: 0;
  width: clamp(7rem, 12vw, 11.5rem);
}

.ebmnt1-hero__decor--container {
  inset-inline-end: 0;
  bottom: 10%;
  width: clamp(5rem, 9vw, 9rem);
}

@media (min-width: 768px) {
  .ebmnt1-hero {
    min-height: 40rem;
  }

  .ebmnt1-hero__decor {
    display: block;
  }
}

@media (min-width: 1024px) {
  .ebmnt1-hero {
    min-height: min(46rem, calc(100svh - var(--ebmnt1-header-height) - 2.8rem));
  }

  .ebmnt1-hero {
    gap: 9em;
  }
}

