.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #F3E6C8 0%, #EAD9B0 40%, #F6ECD8 100%);
  background-size: cover;
  background-position: center;
}

/* Static-image fallback: shows if the video can't load/play. Overlay kept light
   so the imagery reads clearly instead of washing out. */
.hero.has-bg {
  background-image:
    linear-gradient(180deg, rgba(251,243,230,0.14) 0%, rgba(251,243,230,0.24) 100%),
    url('../assets/hero-bg.jpg');
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251,243,230,0.12) 0%, rgba(251,243,230,0.08) 48%, rgba(251,243,230,0.24) 72%, rgba(251,243,230,0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: var(--space-6) var(--space-3);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--green-800);
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 18px rgba(253,248,240,0.85), 0 1px 3px rgba(253,248,240,0.9);
}

.hero-divider {
  width: 140px;
  height: 18px;
  margin: 0 auto var(--space-3);
  opacity: 0.8;
}

.hero-modalities {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--green-900);
  margin: 0 auto 10px;
  padding: 8px 18px;
  letter-spacing: 0.015em;
  line-height: 1.2;
  background: rgba(253,248,240,0.88);
  border: 1px solid rgba(201,151,62,0.55);
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(22,59,41,0.12);
  text-shadow: none;
  backdrop-filter: blur(5px);
}

.hero-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--green-800);
  margin-bottom: var(--space-4);
  text-shadow: 0 1px 12px rgba(253,248,240,0.85);
}

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

@media (max-width: 560px) {
  .hero { min-height: 590px; }
  .hero-content { padding: var(--space-5) var(--space-2); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-modalities { font-size: 0.96rem; padding: 8px 12px; border-radius: 12px; }
}
