/* =========================================================
   hero.css — hero band, sparkles, floating shapes,
   animations and the bottom wave divider.
   ========================================================= */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(124, 179, 66, 0.28), transparent 60%),
    radial-gradient(900px 600px at 8% 20%, rgba(48, 84, 150, 0.55), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-deeper) 100%);
  color: #fff;
  margin-top: -190px; /* slide under the (tall) sticky header */
  padding-top: calc(clamp(26px, 5vw, 56px) + 190px);
}
/* slow "breathing" green glow behind the hero content */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(620px 440px at 74% 16%, rgba(124, 179, 66, 0.20), transparent 70%);
  animation: heroGlow 9s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.1); }
}

/* photo layer behind the gradient — kept dark & low-opacity so the white
   hero text stays perfectly legible; drifts slowly for a touch of life. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.22;
  animation: heroBgDrift 26s ease-in-out infinite alternate;
}
@keyframes heroBgDrift {
  from { transform: scale(1.03); }
  to   { transform: scale(1.13); }
}

.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 860px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
/* animated green sheen across the accent words */
.hero h1 .accent {
  background: linear-gradient(100deg, #8fd14f 0%, #c8efa0 50%, #8fd14f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: accentShimmer 6s linear infinite;
}
@keyframes accentShimmer { to { background-position: 200% center; } }
.hero .tagline {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: rgba(255, 255, 255, 0.88); font-weight: 500; font-style: italic;
  margin: 26px 0 14px; max-width: 640px;
}
.hero .sub { color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Animated "Value • Strategy • Growth" badge */
.hero-badge {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px; border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(124, 179, 66, 0.28);
  backdrop-filter: blur(8px);
  margin-bottom: 30px;
  box-shadow: 0 0 22px -6px rgba(124, 179, 66, 0.35);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hero-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 209, 79, 0.6);
  box-shadow: 0 10px 30px -8px rgba(124, 179, 66, 0.55);
}
.hero-badge > * { position: relative; z-index: 1; }

/* twinkling sparkle — a star that scales, turns and glows */
.badge-spark {
  display: inline-flex; width: 15px; height: 15px; flex: none;
  color: var(--green-bright);
}
.badge-spark svg {
  width: 100%; height: 100%; fill: currentColor; transform-origin: center;
  filter: drop-shadow(0 0 4px rgba(143, 209, 79, 0.85));
  animation: badgeTwinkle 2.4s ease-in-out infinite;
}
@keyframes badgeTwinkle {
  0%, 100% { transform: scale(.6) rotate(0deg);   opacity: .7; }
  50%      { transform: scale(1.08) rotate(90deg); opacity: 1; }
}

/* the words */
.vsg {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
}
.vsg i { font-style: normal; color: var(--green-bright); }

/* shimmer sweep across the pill */
.hero-badge::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-160%);
  animation: badgeShine 5s ease-in-out infinite;
}
@keyframes badgeShine {
  0%   { transform: translateX(-160%); }
  18%  { transform: translateX(160%); }
  100% { transform: translateX(160%); }
}

/* ---------- Sparkles + floating shapes ---------- */
.spark { position: absolute; pointer-events: none; z-index: 1; }
.spark svg { display: block; }
.float-shape {
  position: absolute; border-radius: 50%; filter: blur(2px);
  z-index: 1; pointer-events: none; opacity: .5;
}

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

.hero .spark { animation: twinkle 5s ease-in-out infinite; }
.float-shape { animation: floaty 9s ease-in-out infinite; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 2; display: block; }
/* CSS fill overrides the inline attribute so the wave always matches the page background. */
.hero-wave path { fill: var(--bg); transition: fill .4s ease; }
