/* ══════════════════════════════════════════════
   Impact & Alignment Page — Blue-only theme
   Mirrors Health.php layout pattern
   ══════════════════════════════════════════════ */

/* Wrapper */
.impact-wrapper {
  color: #1e3a5f;
  line-height: 1.7;
  background: #ffffff;
}

/* ── Tag pill ── */
.im-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0178B7;
  background: #e6f3fb;
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 16px;
}

/* ════════════════════════════
   HERO / MOTIVATION ROW
════════════════════════════ */
.im-motivation-section {
  padding: 56px 0 52px;
  background: #ffffff;
}

.im-row {
  display: flex;
  align-items: center;
  gap: 64px;
}

.im-text {
  flex: 0 0 55%;
}

.im-text h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 800;
  color: #001f3f;
  line-height: 1.2;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

.im-text p {
  font-size: 16px;
  color: #334155;
  line-height: 1.85;
  margin-bottom: 16px;
}

.im-mission-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #e6f3fb 0%, #d0eaf8 100%);
  border-left: 4px solid #0178B7;
  border-radius: 0 14px 14px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: #014f7a;
  line-height: 1.6;
}

.im-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(1, 120, 183, 0.15);
}

.im-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.im-stat__num {
  font-size: 26px;
  font-weight: 900;
  color: #0178B7;
  line-height: 1;
}

.im-stat__label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.im-image {
  flex: 0 0 45%;
}

.im-image img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(1, 120, 183, 0.18);
  display: block;
}

/* ════════════════════════════
   SECTION HEADING STRIP
════════════════════════════ */
.im-section-head {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #f0f7fd 0%, #e6f3fb 100%);
}

.im-section-title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  color: #001f3f;
  line-height: 1.22;
  margin: 12px 0 12px;
  letter-spacing: -0.02em;
}

.im-section-sub {
  font-size: 16px;
  color: #4a6080;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ════════════════════════════
   ALTERNATING MANDATE ROWS
════════════════════════════ */
.im-mandate-section {
  padding: 72px 0;
  background: #ffffff;
}

.im-mandate-section--alt {
  background: #f4f9fd;
}

.im-mandate-wrapper {
  display: flex;
  align-items: center;
  gap: 64px;
}

.im-mandate-wrapper--rev {
  flex-direction: row-reverse;
}

/* Image — big and prominent */
.im-mandate-image {
  flex: 0 0 42%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.im-mandate-image img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 56px rgba(1, 120, 183, 0.14);
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.im-mandate-image img:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(1, 120, 183, 0.22);
}

/* Content side */
.im-mandate-content {
  flex: 0 0 58%;
}

.im-mandate-card {
  background: #ffffff;
  padding: 40px 36px;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(1, 120, 183, 0.09);
  border: 1px solid rgba(1, 120, 183, 0.13);
  position: relative;
  overflow: hidden;
}

.im-mandate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0178B7, #01a8e0);
}

.im-card-num {
  display: block;
  font-size: 60px;
  font-weight: 900;
  color: rgba(1, 120, 183, 0.08);
  line-height: 1;
  margin-bottom: -14px;
  letter-spacing: -0.04em;
}

.im-mandate-card h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: #001f3f;
  margin: 0 0 16px;
  line-height: 1.3;
}

.im-mandate-card p {
  font-size: 16.5px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* SDG chips — blue only */
.im-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.im-chip {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(1, 120, 183, 0.09);
  color: #0178B7;
  border: 1.5px solid rgba(1, 120, 183, 0.25);
}

/* ════════════════════════════
   BOTTOM CTA
════════════════════════════ */
.im-cta {
  padding: 80px 0 88px;
  background: linear-gradient(135deg, #0f1629 0%, #0a2d4d 50%, #0178B7 100%);
  position: relative;
  overflow: hidden;
}

.im-cta::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(1, 168, 224, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.im-cta__title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.22;
}

.im-cta__text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 36px;
}

.im-cta .aventiq-cta-buttons {
  justify-content: center;
}

.im-cta .thm-btn {
  background: #ffffff !important;
  color: #0178B7 !important;
  font-weight: 700 !important;
  border-color: #ffffff !important;
}

.im-cta .thm-btn:hover {
  background: #e6f3fb !important;
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 991px) {
  .im-row,
  .im-mandate-wrapper,
  .im-mandate-wrapper--rev {
    flex-direction: column;
    gap: 36px;
  }

  .im-text,
  .im-mandate-content,
  .im-mandate-image { flex: none; width: 100%; }

  .im-motivation-section { padding: 56px 0 48px; }
  .im-mandate-section { padding: 52px 0; }
  .im-mandate-card { padding: 30px 24px; }
  .im-mandate-image img { max-width: 100%; }
  .im-stats { gap: 20px; }
}

@media (max-width: 575px) {
  .im-stats { flex-wrap: wrap; }
  .im-section-head { padding: 48px 0 32px; }
  .im-cta { padding: 56px 0 64px; }
}
