/* Ilustraciones vectoriales originales del proyecto, animadas sin recursos externos. */
.platform-illustration {
  position: absolute;
  z-index: 0;
  right: 12px;
  bottom: 12px;
  width: 132px;
  height: auto;
  opacity: 0.22;
  pointer-events: none;
  filter: drop-shadow(0 12px 15px #061d2c35);
  animation: illustration-float 5s ease-in-out infinite;
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel-title,
.hero-shortcuts {
  position: relative;
  z-index: 1;
}

.campaign .campaign-card-art {
  display: block;
  width: 100%;
  height: 104px;
  padding: 5px 20px;
  object-fit: contain;
  background: linear-gradient(120deg, var(--wash), #fff 80%);
  animation: illustration-float 5s ease-in-out infinite;
}

.campaign:nth-child(2) .campaign-card-art {
  animation-delay: -1.4s;
}

.campaign:nth-child(3) .campaign-card-art {
  animation-delay: -2.8s;
}

.campaign-story-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(170px, 0.8fr);
  align-items: center;
  gap: 20px;
  min-height: 205px;
  margin-top: 22px;
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid #dce7e6;
  border-left: 6px solid var(--banner-accent);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 15%, #ffffffb5 0 3px, transparent 4px) 0 0 / 22px 22px,
    linear-gradient(115deg, var(--banner-wash), #fff 76%);
  box-shadow: 0 12px 30px #15344d0d;
}

.banner-wellbeing {
  --banner-accent: #148875;
  --banner-wash: #e1f3ed;
}

.banner-listening {
  --banner-accent: #bd5b43;
  --banner-wash: #fff0e9;
}

.banner-boundaries {
  --banner-accent: #7160b1;
  --banner-wash: #f0edfb;
}

.campaign-story-banner > div {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.campaign-story-banner .eyebrow {
  margin-bottom: 7px;
  color: var(--banner-accent);
}

.campaign-story-banner h2 {
  margin: 0;
  color: #10243b;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.campaign-story-banner > div > p:not(.eyebrow) {
  max-width: 520px;
  margin: 10px 0 0;
  color: #526a7e;
  font-size: 14px;
}

.campaign-story-banner img {
  display: block;
  width: 100%;
  max-height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 9px 12px #19334b1c);
  animation: illustration-float 5.5s ease-in-out infinite;
}

.banner-listening img {
  animation-delay: -1.7s;
}

.banner-boundaries img {
  animation-delay: -3.2s;
}

@keyframes illustration-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@media (max-width: 850px) {
  .platform-illustration {
    right: 8px;
    bottom: 8px;
    width: 100px;
    opacity: 0.13;
  }
}

@media (max-width: 650px) {
  .campaign .campaign-card-art {
    height: 92px;
  }

  .campaign-detail .hero h1,
  .campaign-detail .hero > p:not(.eyebrow) {
    max-width: 100%;
  }

  .campaign-story-banner {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 34%);
    gap: 8px;
    min-height: 150px;
    padding: 17px 13px;
  }

  .campaign-story-banner h2 {
    font-size: clamp(19px, 5vw, 25px);
  }

  .campaign-story-banner > div > p:not(.eyebrow) {
    font-size: 12px;
  }

  .campaign-story-banner img {
    max-height: 125px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-illustration,
  .campaign-card-art,
  .campaign-story-banner img {
    animation: none;
  }
}
