/* WAPCAS PLUS hero — ported from wapcas-plus-team.html */
.wapcas-plus-hero {
  --wp-green: #52b965;
  --wp-bg-dark: #0a0f0c;
  --wp-bg-dark-2: #0f1712;
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 78% -10%, rgba(82, 185, 101, 0.35), transparent 60%),
    linear-gradient(180deg, var(--wp-bg-dark) 0%, var(--wp-bg-dark-2) 100%);
  color: #fff;
  padding: 56px 0 64px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wapcas-plus-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wapcas-plus-hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 32%;
}

.wapcas-plus-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 15, 12, 0.78) 0%, rgba(10, 15, 12, 0.5) 46%, rgba(10, 15, 12, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 15, 12, 0.18) 0%, rgba(10, 15, 12, 0.52) 100%);
}

.wapcas-plus-hero--photo {
  background: var(--wp-bg-dark);
}

.wapcas-plus-hero--photo .wapcas-plus-hero__burst {
  opacity: 0.1;
}

.wapcas-plus-hero__burst {
  position: absolute;
  right: -120px;
  top: -140px;
  width: 560px;
  height: 560px;
  opacity: 0.14;
  animation: wapcasPlusSpin 60s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.wapcas-plus-hero__wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.wapcas-plus-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--wp-green);
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.wapcas-plus-hero__tag::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--wp-green);
  display: inline-block;
}

.wapcas-plus-hero__title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.wapcas-plus-hero__title .accent {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: normal;
  font-weight: 800;
  color: var(--wp-green);
  display: block;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.wapcas-plus-hero__sub {
  max-width: 560px;
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 400;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.wapcas-plus-hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.wapcas-plus-hero__stats div b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.1;
}

.wapcas-plus-hero__stats div span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.wapcas-plus-zigzag-shell {
  overflow: hidden;
  line-height: 0;
}

.wapcas-plus-zigzag {
  height: 26px;
  width: 200%;
  background-repeat: repeat-x;
  background-size: 34px 26px;
  background-image:
    linear-gradient(135deg, transparent 45%, #52b965 45%, #52b965 55%, transparent 55%),
    linear-gradient(45deg, transparent 45%, #52b965 45%, #52b965 55%, transparent 55%);
  opacity: 0.4;
  animation: wapcasPlusSlide 14s linear infinite;
}

.wapcas-plus-hero [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 0.8, 0.28, 1),
    transform 0.9s cubic-bezier(0.16, 0.8, 0.28, 1);
}

.wapcas-plus-hero [data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

.wapcas-plus-hero [data-reveal-delay="1"] { transition-delay: 0.08s; }
.wapcas-plus-hero [data-reveal-delay="2"] { transition-delay: 0.16s; }
.wapcas-plus-hero [data-reveal-delay="3"] { transition-delay: 0.24s; }
.wapcas-plus-hero [data-reveal-delay="4"] { transition-delay: 0.32s; }
.wapcas-plus-hero [data-reveal-delay="5"] { transition-delay: 0.4s; }
.wapcas-plus-hero [data-reveal-delay="6"] { transition-delay: 0.48s; }

@keyframes wapcasPlusSpin {
  to { transform: rotate(360deg); }
}

@keyframes wapcasPlusSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.wapcas-plus-hero--compact {
  padding: 56px 0 64px;
}

.wapcas-plus-hero--compact .wapcas-plus-hero__tag {
  margin-bottom: 12px;
}

.wapcas-plus-hero--compact .wapcas-plus-hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
}

.wapcas-plus-hero--compact .wapcas-plus-hero__sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
}

.wapcas-plus-hero--compact .wapcas-plus-hero__stats {
  margin-top: 28px;
  gap: 36px;
}

.wapcas-plus-hero--compact .wapcas-plus-hero__stats div b {
  font-size: 26px;
}

.wapcas-plus-hero--compact .wapcas-plus-hero__burst {
  width: 420px;
  height: 420px;
  right: -100px;
  top: -120px;
}

@media (max-width: 760px) {
  .wapcas-plus-hero {
    padding: 40px 0 48px;
  }
  .wapcas-plus-hero--compact {
    padding: 40px 0 48px;
  }
  .wapcas-plus-hero--compact .wapcas-plus-hero__title .accent {
    display: inline;
  }
  .wapcas-plus-hero--compact .wapcas-plus-hero__stats {
    margin-top: 20px;
    gap: 16px 20px;
  }
  .wapcas-plus-hero__wrap {
    padding: 0 20px;
  }
  .wapcas-plus-hero__burst {
    width: 360px;
    height: 360px;
    right: -80px;
    top: -80px;
  }
  .wapcas-plus-hero__stats {
    gap: 28px;
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wapcas-plus-hero *,
  .wapcas-plus-zigzag {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .wapcas-plus-hero [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
