/* ============================================================
   hero.css — immersive full-bleed photo background
   The office photo covers the whole hero; a left-to-right
   gradient overlay keeps the text zone solid dark (#0a0e14)
   while the right half shows the photo clearly.
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: var(--space-8) 0;
  overflow: hidden;
  background-color: var(--color-bg);
}

/* ------------------------------------------------------------
   Full-bleed background photo (decorative, behind content)
   ------------------------------------------------------------ */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ------------------------------------------------------------
   Gradient overlays
   Mobile-first: strong bottom-up dark veil so stacked text
   stays legible over the photo.
   ------------------------------------------------------------ */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top,
      var(--color-bg) 0%,
      rgba(10, 14, 20, 0.92) 30%,
      rgba(10, 14, 20, 0.68) 60%,
      rgba(10, 14, 20, 0.5) 100%);
  pointer-events: none;
}

/* Faint orange glow kept in the dark text zone only */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  z-index: 1;
  width: 60vw;
  aspect-ratio: 1;
  background: radial-gradient(circle,
      rgba(255, 122, 26, 0.14) 0%,
      rgba(255, 122, 26, 0.05) 42%,
      transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

/* ------------------------------------------------------------
   Content above the overlays
   ------------------------------------------------------------ */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-7);
  width: 90vw;
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  max-width: 44rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-accent-hover);
  background-color: var(--color-accent-soft);
  border: 1px solid rgba(255, 122, 26, 0.35);
  border-radius: var(--radius-pill);
}

.hero-title {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--color-text-muted);
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

@media (max-width: 30rem) {
  .hero-ctas .btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   Desktop: left-to-right fade — solid dark on the left half
   for the text, photo clearly visible on the right half.
   ------------------------------------------------------------ */
@media (min-width: 64rem) {
  .hero {
    min-height: 90vh;
  }

  .hero::after {
    background:
      linear-gradient(to top,
        rgba(10, 14, 20, 0.85) 0%,
        transparent 18%),
      linear-gradient(to right,
        var(--color-bg) 0%,
        var(--color-bg) 16%,
        rgba(10, 14, 20, 0.85) 30%,
        rgba(10, 14, 20, 0.45) 42%,
        rgba(10, 14, 20, 0) 52%);
  }

  .hero-inner {
    align-items: flex-start;
    text-align: left;
  }

  .hero-content {
    align-items: flex-start;
    max-width: 40rem;
  }

  .hero-ctas {
    justify-content: flex-start;
  }
}
