/* Homepage trust, readability and conversion layer — 2026-07-15 */
:root {
  --hbt-ink: #17231f;
  --hbt-forest: #213d32;
  --hbt-gold: #d6b36a;
  --hbt-cream: #f7f3ea;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 164px 0 104px;
  background:
    linear-gradient(112deg, rgba(10, 25, 20, 0.94) 0%, rgba(19, 42, 34, 0.86) 48%, rgba(15, 28, 24, 0.60) 100%),
    url('/images/factory.webp') center 58% / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(8, 18, 15, 0.38));
  pointer-events: none;
}

.hero .container {
  width: 100%;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 44px 48px 42px;
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(9, 25, 20, 0.52);
  box-shadow: 0 28px 70px rgba(3, 12, 9, 0.28);
  backdrop-filter: blur(8px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #f0d89d;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.hero-content h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  color: #fff;
  font-size: clamp(38px, 5.1vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-content h1 span {
  color: #efd48e;
}

.hero-content > p:first-of-type {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
}

.hero-categories {
  margin: 9px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-fact {
  min-width: 0;
  padding: 15px 12px 16px;
  background: rgba(8, 22, 17, 0.46);
}

.hero-fact span,
.hero-fact strong {
  display: block;
}

.hero-fact span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-fact strong {
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}

.hero-buttons {
  margin-top: 0;
}

.hero-buttons .btn {
  min-height: 48px;
  padding: 13px 25px;
  border-radius: 10px;
}

.hero-buttons .btn-primary {
  background: var(--hbt-gold);
  border-color: var(--hbt-gold);
  color: #17231f;
  box-shadow: 0 10px 28px rgba(214, 179, 106, 0.26);
}

.hero-buttons .btn-primary:hover {
  background: #e2c27c;
  border-color: #e2c27c;
  color: #111d19;
}

.stats {
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 46px rgba(23, 35, 31, 0.08);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(214, 179, 106, 0.8) !important;
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding: 138px 0 70px;
    background-position: 58% center;
  }

  .hero-content {
    padding: 36px 28px 32px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 118px 0 48px;
  }

  .hero-content {
    padding: 28px 16px 24px;
    border-radius: 18px;
    backdrop-filter: blur(5px);
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 16px;
  }

  .hero-content h1 {
    font-size: clamp(31px, 10.5vw, 43px);
    line-height: 1.08;
  }

  .hero-content > p:first-of-type {
    font-size: 15px;
  }

  .hero-categories {
    font-size: 13px;
  }

  .hero-facts {
    margin: 22px 0;
  }

  .hero-fact {
    padding: 12px 8px 13px;
  }

  .hero-fact strong {
    font-size: 13px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
