/* === Hero Section === */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Hero location: <picture> per WebP + fallback PNG */
.hero__bg-img picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero__bg-img picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hero slider */
.hero--slider .hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--slider .hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero--slider .hero__slide--active {
  opacity: 1;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) 0;
  width: 100%;
}

.hero__content {
  max-width: 700px;
}

.hero__tagline {
  display: inline-block;
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hero__title {
  color: var(--color-white);
  font-size: var(--font-size-hero);
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2xl);
  max-width: 550px;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero__cta-main {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}
.hero__cta-label {
  font-weight: var(--font-weight-semibold);
}
.hero__cta-sublabel {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  opacity: 0.9;
}

/* Hero location variant (for location pages) */
.hero--location {
  min-height: 50vh;
  text-align: center;
}

.hero--location .hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--location .hero__content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero--location .hero__address {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-lg);
  margin-top: var(--space-md);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 60vh;
  }
}
