/* Hero enhancements — fullscreen image bg, parallax, stats, scroll cue, wave */

.hero--enhanced {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  padding: var(--header-height) 0 calc(var(--spacing-2xl) + 4rem);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__bg-img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.05s linear;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 22, 18, 0.55) 0%, rgba(15, 22, 18, 0.25) 35%, rgba(15, 22, 18, 0.7) 100%),
    radial-gradient(circle at 20% 30%, rgba(74, 124, 89, 0.25), transparent 55%);
}

.hero--enhanced .hero__content {
  color: #f6efe2;
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.hero--enhanced .hero__eyebrow {
  color: #e8c989;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero--enhanced .hero__title {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.4rem;
  max-width: 16ch;
}

.hero--enhanced .hero__title em {
  color: #e8c989;
  font-style: italic;
  font-weight: 400;
}

.hero--enhanced .hero__lead {
  color: rgba(246, 239, 226, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2.4rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero--enhanced .hero__actions { gap: 0.9rem; }

.hero--enhanced .btn--ghost {
  color: #f6efe2;
  border-color: rgba(246, 239, 226, 0.45);
}

.hero--enhanced .btn--ghost:hover {
  background: rgba(246, 239, 226, 0.1);
  border-color: #f6efe2;
  color: #fff;
}

/* Stats row */

.hero__stats {
  list-style: none;
  padding: 0;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg) var(--spacing-xl);
  max-width: 720px;
}

@media (min-width: 760px) {
  .hero__stats { grid-template-columns: repeat(4, auto); }
}

.hero__stat {
  position: relative;
  padding-left: 1.2rem;
}

.hero__stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: #e8c989;
  opacity: 0.7;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero__stat-label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(246, 239, 226, 0.7);
  line-height: 1.4;
  text-transform: lowercase;
  max-width: 14ch;
}

/* Scroll indicator */

.hero__scroll {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(246, 239, 226, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 2;
  transition: color 0.25s ease;
}

.hero__scroll:hover { color: #fff; }

.hero__scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(246, 239, 226, 0.6), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: #e8c989;
  animation: hero-scroll-cue 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-cue {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(300%); opacity: 0; }
}

@media (max-width: 720px) {
  .hero__scroll { display: none; }
}

/* Wave divider */

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 80px;
  display: block;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 720px) {
  .hero__wave { height: 50px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__bg-img { transform: none !important; transition: none; }
  .hero__scroll-line::after { animation: none; opacity: 0.4; transform: translateY(50%); }
}
