.grl-hero-centered {
  --grl-centered-olive: #7d8354;
  --grl-centered-olive-dark: #5d6138;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grl-centered-bg, linear-gradient(to right, #f8ffef, #bcff6f));
}

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

.grl-hero-centered__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.grl-hero-centered__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(188, 255, 111, 0.28), transparent 62%);
}

.grl-hero-centered__route {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  width: 100%;
  height: 5.5rem;
  z-index: 1;
  pointer-events: none;
  color: rgba(93, 97, 56, 0.18);
}

.grl-hero-centered__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.25rem 1.15rem 2.5rem;
}

.grl-hero-centered__content {
  max-width: 42rem;
  margin: 0 auto;
}

.grl-hero-centered__badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(93, 97, 56, 0.92);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.grl-hero-centered__badge-label {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-size: 0.7rem;
}

.grl-hero-centered__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.85rem, 5.4vw, 3.25rem);
  line-height: 1.12;
  font-weight: 800;
  color: #1f2937;
  overflow-wrap: anywhere;
}

.grl-hero-centered__subtitle {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  color: #374151;
  overflow-wrap: anywhere;
}

.grl-hero-centered__description {
  margin: 0 auto 1.35rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #4b5563;
  overflow-wrap: anywhere;
}

.grl-hero-centered--light-text .grl-hero-centered__title,
.grl-hero-centered--light-text .grl-hero-centered__subtitle {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.grl-hero-centered--light-text .grl-hero-centered__description {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.grl-hero-centered--light-text .grl-hero-centered__route {
  color: rgba(255, 255, 255, 0.22);
}

.grl-hero-centered__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.grl-hero-centered__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.8rem 1.25rem;
  border-radius: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.grl-hero-centered__btn:focus-visible {
  outline: 3px solid #f8ffef;
  outline-offset: 3px;
}

.grl-hero-centered__btn--primary {
  background: var(--grl-centered-olive);
  color: #fff;
}

.grl-hero-centered__btn--primary:hover {
  background: var(--grl-centered-olive-dark);
}

.grl-hero-centered__btn--secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--grl-centered-olive-dark);
  border: 2px solid var(--grl-centered-olive);
}

.grl-hero-centered__btn--secondary:hover {
  background: var(--grl-centered-olive);
  color: #fff;
}

@media (max-width: 640px) {
  .grl-hero-centered__btn {
    width: 100%;
  }

  .grl-hero-centered__title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
}

@media (min-width: 768px) {
  .grl-hero-centered {
    min-height: 28rem;
  }

  .grl-hero-centered__inner {
    padding: 3rem 1.5rem 3.25rem;
  }
}

@media (min-width: 1024px) {
  .grl-hero-centered {
    min-height: 32rem;
  }

  .grl-hero-centered__inner {
    padding: 3.75rem 2rem 4rem;
  }
}

.grl-hero-centered--subtle .grl-hero-centered__content {
  animation: grlCenteredFade 0.7s ease both;
}

.grl-hero-centered--dynamic .grl-hero-centered__content {
  animation: grlCenteredRise 0.85s ease both;
}

.grl-hero-centered--dynamic .grl-hero-centered__glow {
  animation: grlCenteredGlow 8s ease-in-out infinite alternate;
}

@keyframes grlCenteredFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes grlCenteredRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes grlCenteredGlow {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .grl-hero-centered--subtle .grl-hero-centered__content,
  .grl-hero-centered--dynamic .grl-hero-centered__content,
  .grl-hero-centered--dynamic .grl-hero-centered__glow {
    animation: none !important;
  }
}
