.hero {
  position: relative;
  min-height: min(92vh, 720px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--color-green-dark);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  animation: hero-ken 20s var(--ease-out) forwards;
  /* Reserve space / reduce CLS while covering absolute parent */
  aspect-ratio: 16 / 9;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 46, 31, 0.92) 0%, rgba(10, 46, 31, 0.72) 40%, rgba(10, 46, 31, 0.28) 68%, rgba(10, 46, 31, 0.15) 100%),
    linear-gradient(to top, rgba(10, 46, 31, 0.78) 0%, transparent 48%);
  animation: hero-veil 1.2s var(--ease-out) both;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6.5rem 1.25rem 4.75rem;
  text-align: left;
}

.hero__brand {
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 11vw, 6.75rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--color-white);
  margin: 0 0 1rem;
  animation: hero-rise 0.95s var(--ease-out) both;
}

.hero__title {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.01em;
  margin: 0 0 0.9rem;
  max-width: 28ch;
  animation: hero-rise 0.95s var(--ease-out) 0.12s both;
}

.hero__text {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.55;
  margin: 0 0 2rem;
  max-width: 36ch;
  animation: hero-rise 0.95s var(--ease-out) 0.22s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 580px;
  animation: hero-rise 0.95s var(--ease-out) 0.34s both;
}

.hero-search {
  display: flex;
  flex: 1 1 280px;
  min-width: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0.95rem 1.15rem;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--color-text);
}

.hero-search input::placeholder {
  color: var(--color-text-muted);
}

.hero-search button {
  padding: 0.95rem 1.25rem;
  background: var(--color-green-primary);
  color: var(--color-white);
  font-weight: 600;
  font-family: var(--font-body);
  transition: background var(--transition), transform var(--transition);
}

.hero-search button:hover {
  background: var(--color-green-light);
}

.hero__cta {
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--color-white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.hero__cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

@keyframes hero-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-veil {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.page-banner {
  background: linear-gradient(135deg, var(--color-green-dark), var(--color-green-primary));
  padding: 3rem 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-banner p {
  color: var(--color-accent);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.breadcrumb li:not(:last-child)::after {
  content: ' / ';
  margin-left: 0.25rem;
  color: var(--color-border);
}

.breadcrumb a:hover {
  color: var(--color-green-primary);
}

@media (max-width: 768px) {
  .hero {
    min-height: min(88vh, 620px);
    align-items: flex-end;
  }

  .hero__content {
    padding: 5rem 1.25rem 3.25rem;
  }

  .hero__brand {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .hero__actions {
    flex-direction: column;
    max-width: none;
  }

  .hero__cta {
    width: 100%;
  }

  .hero-search {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__content {
    padding: 4.5rem 1rem 2.75rem;
  }

  .hero-search {
    flex-direction: column;
  }

  .hero-search button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img {
    animation: none;
    transform: scale(1);
  }

  .hero__brand,
  .hero__title,
  .hero__text,
  .hero__actions,
  .hero__veil {
    animation: none;
  }
}
