/* ==========================================================
   ebmnt1 — Hero (dark wood background, parallax, entry animation, CTA buttons)
   ========================================================== */
:root {
  --ebmnt1-hero-min-height: clamp(32rem, 78vh, 44rem);
  --ebmnt1-hero-background-color: var(--ebmnt1-color-secondary-dark);
  --ebmnt1-hero-image-fallback: linear-gradient(135deg, var(--ebmnt1-color-secondary-dark), var(--ebmnt1-color-primary) 160%);
  --ebmnt1-hero-overlay: linear-gradient(180deg, var(--ebmnt1-color-helper-overlay), var(--ebmnt1-color-helper-overlay-light));
  --ebmnt1-hero-welcome-text-color: var(--ebmnt1-color-helper-white);
  --ebmnt1-hero-welcome-line-color: var(--ebmnt1-color-primary);
  --ebmnt1-hero-welcome-font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  --ebmnt1-hero-title-color: var(--ebmnt1-color-helper-white);
  --ebmnt1-hero-title-font-size: clamp(2.1rem, 1.3rem + 4.2vw, 5rem);
  --ebmnt1-hero-text-color: var(--ebmnt1-color-helper-white);
  --ebmnt1-hero-text-font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  --ebmnt1-hero-parallax-shift: 0px;

  --ebmnt1-hero-features-columns: 1;
  --ebmnt1-hero-features-gap: 1rem;
  --ebmnt1-hero-feature-glass-background-color: var(--ebmnt1-color-primary-glass);
  --ebmnt1-hero-feature-glass-hover-background-color: var(--ebmnt1-color-primary-glass-hover);
  --ebmnt1-hero-feature-glass-border-color: var(--ebmnt1-color-helper-glass-border);
  --ebmnt1-hero-feature-hover-border-color: var(--ebmnt1-color-primary-light);
  --ebmnt1-hero-feature-glass-shine-color: var(--ebmnt1-color-helper-white-soft);
  --ebmnt1-hero-feature-shadow-color: var(--ebmnt1-color-helper-shadow-strong);
  --ebmnt1-hero-feature-icon-color: var(--ebmnt1-color-helper-white);
  --ebmnt1-hero-feature-icon-background-color: var(--ebmnt1-color-primary);
  --ebmnt1-hero-feature-icon-font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --ebmnt1-hero-feature-title-color: var(--ebmnt1-color-helper-white);
  --ebmnt1-hero-feature-title-font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  --ebmnt1-hero-feature-text-color: var(--ebmnt1-color-helper-white);
  --ebmnt1-hero-feature-text-font-size: clamp(0.88rem, 0.84rem + 0.2vw, 0.98rem);
  --ebmnt1-hero-feature-list-icon-color: var(--ebmnt1-color-primary-light);
  --ebmnt1-hero-inner-vertical-space: 3rem;
}

.ebmnt1-hero {
  position: relative;
  min-height: var(--ebmnt1-hero-min-height);
  overflow: hidden;
  color: var(--ebmnt1-hero-text-color);
  background-color: var(--ebmnt1-hero-background-color);
}

.ebmnt1-hero__background {
  position: absolute;
  inset: -10% 0;
  background-image: var(--ebmnt1-hero-overlay), url("../images/hero-carpentry.jpg"), var(--ebmnt1-hero-image-fallback);
  background-size: cover;
  background-position: center;
  transform: translateY(var(--ebmnt1-hero-parallax-shift));
  will-change: transform;
}

.ebmnt1-hero__inner {
  position: relative;
  flex: 1;
  gap: 1.5rem;
  padding-block: var(--ebmnt1-hero-inner-vertical-space);
  z-index: 1;
}

.ebmnt1-hero__welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: var(--ebmnt1-hero-welcome-font-size);
  font-weight: 600;
  color: var(--ebmnt1-hero-welcome-text-color);
}

.ebmnt1-hero__welcome-line {
  width: clamp(1.5rem, 8vw, 5rem);
  height: 2px;
  background-color: var(--ebmnt1-hero-welcome-line-color);
}

.ebmnt1-hero__title {
  font-size: var(--ebmnt1-hero-title-font-size);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ebmnt1-hero-title-color);
}

.ebmnt1-hero__text {
  max-width: var(--ebmnt1-text-max-width);
  font-size: var(--ebmnt1-hero-text-font-size);
  line-height: 1.9;
}

.ebmnt1-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ---------- brown glass feature cards ---------- */
.ebmnt1-hero__features {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: var(--ebmnt1-hero-features-gap);
}

.ebmnt1-hero-feature {
  position: relative;
  flex: 0 0 calc((100% - (var(--ebmnt1-hero-features-columns) - 1) * var(--ebmnt1-hero-features-gap)) / var(--ebmnt1-hero-features-columns));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  padding: 1.25rem;
  text-align: start;
  background-color: var(--ebmnt1-hero-feature-glass-background-color);
  background-image: linear-gradient(135deg, var(--ebmnt1-hero-feature-glass-shine-color), transparent 55%);
  border: 1px solid var(--ebmnt1-hero-feature-glass-border-color);
  border-radius: 0.9rem;
  box-shadow: 0 0.75rem 2rem var(--ebmnt1-hero-feature-shadow-color), inset 0 1px 0 var(--ebmnt1-hero-feature-glass-shine-color);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  transition: transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}

.ebmnt1-hero-feature:hover {
  transform: translateY(-0.4rem);
  background-color: var(--ebmnt1-hero-feature-glass-hover-background-color);
  border-color: var(--ebmnt1-hero-feature-hover-border-color);
}

.ebmnt1-hero-feature__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.8rem;
}

.ebmnt1-hero-feature__icon {
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ebmnt1-hero-feature-icon-font-size);
  color: var(--ebmnt1-hero-feature-icon-color);
  background-color: var(--ebmnt1-hero-feature-icon-background-color);
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.ebmnt1-hero-feature:hover .ebmnt1-hero-feature__icon {
  transform: rotateY(360deg);
}

.ebmnt1-hero-feature__title {
  align-self: center;
  font-size: var(--ebmnt1-hero-feature-title-font-size);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ebmnt1-hero-feature-title-color);
}

.ebmnt1-hero-feature__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ebmnt1-hero-feature__text {
  font-size: var(--ebmnt1-hero-feature-text-font-size);
  line-height: 1.8;
  color: var(--ebmnt1-hero-feature-text-color);
}

.ebmnt1-hero-feature__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ebmnt1-hero-feature__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--ebmnt1-hero-feature-text-font-size);
  line-height: 1.7;
  color: var(--ebmnt1-hero-feature-text-color);
}

.ebmnt1-hero-feature__list-icon {
  flex: 0 0 auto;
  padding-top: 0.4em;
  font-size: 0.8em;
  color: var(--ebmnt1-hero-feature-list-icon-color);
}

/* entry animation */
.ebmnt1-js .ebmnt1-hero__welcome,
.ebmnt1-js .ebmnt1-hero__title,
.ebmnt1-js .ebmnt1-hero__text,
.ebmnt1-js .ebmnt1-hero__features,
.ebmnt1-js .ebmnt1-hero__actions {
  opacity: 0;
  animation: ebmnt1-hero-rise 0.9s ease forwards;
}

.ebmnt1-js .ebmnt1-hero__title { animation-delay: 0.2s; }
.ebmnt1-js .ebmnt1-hero__text { animation-delay: 0.4s; }
.ebmnt1-js .ebmnt1-hero__actions { animation-delay: 0.6s; }
.ebmnt1-js .ebmnt1-hero__features { animation-delay: 0.8s; }

@keyframes ebmnt1-hero-rise {
  from { opacity: 0; transform: translateY(2rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 425px) {
  :root { --ebmnt1-hero-min-height: clamp(34rem, 80vh, 44rem); }
}

@media (min-width: 768px) {
  :root {
    --ebmnt1-hero-features-columns: 2;
    --ebmnt1-hero-features-gap: 1.25rem;
    --ebmnt1-hero-inner-vertical-space: 4rem;
  }
  .ebmnt1-hero__inner { gap: 1.75rem; }
}

@media (min-width: 1024px) {
  :root { --ebmnt1-hero-features-columns: 4; }
}

@media (min-width: 1440px) {
  :root { --ebmnt1-hero-min-height: clamp(38rem, 82vh, 50rem); }
}
