/* vars: --c-primary,--nav-h */

/* hero.css — full-height hero with bg image, centered content, benefits, CTA */

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 5px solid var(--c-primary);
}

.hero_titles,
.hero_content {
  padding: 0 2rem;
  text-align: center;
  margin-top: calc(var(--nav-h) + 1.5rem);
}

.hero_titles h1 {
  color: #fff;
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}

.hero_titles h2 {
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.75rem);
}

/* Benefits block */
.hero_benefits {
  padding: 0 1.5rem;
  text-align: left;
  color: #fff;
}

.hero_benefits h3 {
  color: #fff;
  text-transform: uppercase;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}

.hero_benefits .benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero_benefits .benefits-list li {
  color: #fff;
  margin-bottom: .25rem;
  font-size: 1rem;
}

.hero_benefits .benefits-list li::before {
  content: "✔";
  color: #28a745;
  margin-right: .5rem;
}

/* Safety net: Quill wraps li content in <p> */
.hero_benefits .benefits-list li > p {
  color: inherit;
  margin: 0;
  display: inline;
}

/* CTA button area */
.hero_cta {
  text-align: center;
  padding-bottom: 2rem;
}

/* Brand hero variant (brand detail pages) */
.hero--brand {
  min-height: 50vh;
}

.hero--brand .hero_titles { margin-top: 0; }

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 1rem) 0 2rem;
    background-attachment: scroll;
  }
  .hero_titles, .hero_content { margin-top: 0; }
  .hero_titles h1 { font-size: 1.75rem; }
  .hero_titles h2 { font-size: 1.1rem; }
  .hero_benefits { padding: 0 1rem; }
  .hero_benefits h3 { font-size: 1rem; }
  .hero_benefits .benefits-list li { font-size: .9rem; }
}
