/* ===============================
   HERO LIQUID BACKGROUND
================================= */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  min-height: clamp(420px, 46vh, 620px);
  text-align: left;
  padding-block: clamp(56px, 7vw, 96px);
  padding-inline: var(--page-gutter);
  background:
    radial-gradient(circle at top center, rgba(212, 175, 55, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.9), rgba(8, 8, 9, 0.96));
}

.hero-liquid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-liquid-bg canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.98;
  filter: saturate(1.12) contrast(1.12);
  transform: scale(1.015);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.16), transparent 36%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.03) 0%,
      rgba(0, 0, 0, 0.09) 42%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.hero-content,
.hero-cta {
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(800px, 100%);
  padding: 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 4.25rem);
  line-height: 1.06;
  color: #f2d675;
  margin: 0 0 14px;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(212, 175, 55, 0.12),
    2px 2px 5px black;
}

.hero p {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 0 22px;
  color: rgba(246, 241, 232, 0.78);
}

.hero-cta {
  flex: 0 0 auto;
  margin-right: 0;
}

@media (max-width: 1024px) {
  .hero {
    min-height: clamp(380px, 42vh, 560px);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
  }

  .hero-cta {
    width: auto;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: clamp(420px, 58vh, 620px);
    padding-block: 56px;
    padding-inline: var(--page-gutter);
    gap: 20px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 18px;
  }

  .hero-cta {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-liquid-bg canvas {
    opacity: 0.45;
    filter: none;
    transform: none;
  }
}
