/* =========================================
   OBJECTIVES SECTION
========================================= */
.objectives-section {
  position: relative;
  padding: clamp(76px, 8vw, 124px) 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(226, 0, 82, 0.05), transparent 18%),
    radial-gradient(circle at 92% 88%, rgba(0, 182, 240, 0.045), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #fcfcfd 52%, #fafbfd 100%);
  overflow: hidden;
}

.objectives-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.72), transparent 16%),
    radial-gradient(circle at 84% 82%, rgba(255, 255, 255, 0.42), transparent 14%);
}

.objectives-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(17, 20, 27, 0.02), transparent 20%),
    radial-gradient(circle at 82% 78%, rgba(5, 175, 98, 0.03), transparent 18%);
  mix-blend-mode: multiply;
}

.objectives-section__inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.objectives-section__intro {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.objectives-section__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(226, 0, 82, 0.07);
  color: #b60d4d;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.objectives-section__title {
  margin: 18px 0 12px;
  color: #11141b;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.objectives-section__lead {
  margin: 0 auto;
  max-width: 60ch;
  color: #667085;
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.8;
}

/* =========================================
   GRID
========================================= */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* =========================================
   CARD BASE
========================================= */
.objective-card {
  position: relative;
  min-height: 320px;
  height: 100%;
  padding: 30px 28px 26px;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition:
    transform 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease,
    background-color 280ms ease,
    opacity 500ms ease,
    filter 500ms ease;
}

.objective-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.objective-card:hover {
  transform: translateY(-6px);
}

.objective-card__spark {
  position: absolute;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  transform: translate3d(0, 0, 0) rotate(0deg);
  transition: transform 320ms ease, opacity 320ms ease;
}

.objective-card__spark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* remove graphical element from white/editorial cards */
.objective-card--plain .objective-card__spark {
  display: none;
}

/* keep it only on colored cards, oversized and slightly cropped by overflow */
.objective-card--accent .objective-card__spark {
  right: -46px;
  bottom: -44px;
  width: 164px;
  height: 164px;
  opacity: 0.18;
  filter: brightness(0) invert(1);
}

.objective-card--accent:hover .objective-card__spark {
  opacity: 0.24;
  transform: translate3d(-4px, -4px, 0) rotate(10deg);
}


.objective-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: 1.45rem;
  box-shadow: 0 10px 24px rgba(17, 20, 27, 0.08);
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  transition:
    transform 300ms cubic-bezier(.16, 1, .3, 1),
    box-shadow 300ms cubic-bezier(.16, 1, .3, 1),
    background-color 300ms ease,
    color 300ms ease;
  will-change: transform;
}

.objective-card:hover .objective-card__icon {
  transform: translate3d(0, -2px, 0) rotate(8deg) scale(1.06);
  box-shadow: 0 16px 30px rgba(17, 20, 27, 0.12);
}

.objective-card__icon--light {
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  box-shadow: 0 14px 26px rgba(17, 20, 27, 0.10);
}

.objective-card__title {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 1.5vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

.objective-card__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.68;
  position: relative;
  z-index: 1;
}

/* =========================================
   PLAIN / EDITORIAL CARDS
========================================= */
.objective-card--plain {
  background:
    radial-gradient(circle at 16% 14%, rgba(17, 20, 27, 0.045) 0 8%, transparent 9%),
    radial-gradient(circle at 86% 86%, rgba(226, 0, 82, 0.05), transparent 22%),
    radial-gradient(circle at 80% 80%, rgba(0, 182, 240, 0.03), transparent 18%);
  border: 0;
  box-shadow: none;
  color: #11141b;
}

.objective-card--plain .objective-card__text {
  color: #5f6777;
}

.objective-card--plain:hover {
  box-shadow: none;
}

.objective-card--plain .objective-card__spark {
  opacity: 0.08;
}

/* =========================================
   ACCENT CARDS
========================================= */
.objective-card--accent {
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(7, 12, 20, 0.10);
}

.objective-card--accent .objective-card__text {
  color: rgba(255, 255, 255, 0.92);
}

.objective-card--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.10), transparent 24%);
}

.objective-card--primary {
  background: linear-gradient(180deg, #eb2956 0%, #e32055 100%);
}

.objective-card--secondary {
  background: linear-gradient(180deg, #1a9be6 0%, #1396e2 100%);
}

.objective-card--tertiary {
  background: linear-gradient(180deg, #0eb865 0%, #09b260 100%);
}

.objective-card--primary .objective-card__icon--light {
  color: #e32055;
}

.objective-card--secondary .objective-card__icon--light {
  color: #1396e2;
}

.objective-card--tertiary .objective-card__icon--light {
  color: #09b260;
}

.objective-card--accent .objective-card__spark {
  opacity: 0.14;
  filter: brightness(0) invert(1);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1200px) {
  .objectives-grid {
    gap: 22px;
  }

  .objective-card {
    min-height: 302px;
    padding: 26px 24px 22px;
  }

  .objective-card--accent .objective-card__spark {
  width: 146px;
  height: 146px;
  right: -22px;
  bottom: -20px;
}
}

@media (max-width: 992px) {
  .objectives-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .objective-card {
    min-height: 286px;
  }
}

@media (max-width: 768px) {
  .objectives-section {
    padding: 64px 0;
  }

  .objectives-section__inner {
    width: min(100% - 32px, 1240px);
  }

  .objectives-section__intro {
    margin-bottom: 34px;
  }

  .objectives-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .objective-card {
    min-height: auto;
    padding: 22px 20px 20px;
    border-radius: 22px;
  }

  .objective-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    font-size: 1.3rem;
  }

 .objective-card--accent .objective-card__spark {
  width: 128px;
  height: 128px;
  right: -18px;
  bottom: -16px;
}

  .objective-card__title {
    font-size: 1.55rem;
  }

  .objective-card__text {
    font-size: 0.98rem;
  }
}