/* ===== ESG HEADER OVERRIDE ===== */
.esg-page {
  --header-bg-rgb: 61, 79, 95;
}

/* ===== ESG HERO ===== */
.esg-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.esg-hero-img {
  width: 100%;
  height: 520px;
  display: block;
  object-fit: cover;
}

.esg-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.esg-hero-overlay .container {
  width: 100%;
}

.esg-hero-overlay h1 {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

@media (min-width: 769px) {
  .esg-hero {
    margin-top: -72px;
  }
}

/* ===== BUILDING RESPONSIBILITY ===== */
.esg-intro {
  padding: 72px 0 80px;
  background: #fff;
}

.esg-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.esg-intro-left h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.esg-intro-right p {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ===== ESG PILLARS ===== */
.esg-pillars {
  padding: 0 0 80px;
  background: #fff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pillar-card {
  background: #f7f7f7;
  padding: 36px 32px;
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.pillar-icon {
  flex: 0 0 auto;
}

.pillar-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.pillar-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.pillar-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}

/* ===== UNLOCKING VALUE ===== */
.esg-transform {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.esg-transform-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.esg-transform-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  min-height: 260px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  z-index: 1;
}

/* Prevent reveal-on-scroll from overriding the centering transform */
.esg-transform-overlay.reveal-on-scroll {
  opacity: 0;
  transform: translateY(-50%);
  filter: blur(8px);
}

.esg-transform-overlay.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(-50%);
  filter: blur(0);
}

.esg-transform-overlay .container {
  width: 100%;
  text-align: left;
}

.esg-transform-overlay h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.esg-transform-overlay h2 em {
  font-style: italic;
}

.esg-transform-overlay p {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  max-width: 900px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .esg-hero {
    margin-top: -60px;
  }

  .esg-hero-overlay h1 {
    font-size: 34px;
  }

  .esg-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .esg-transform {
    height: 640px;
    align-items: center;
  }

  .esg-transform-overlay,
  .esg-transform-overlay.reveal-on-scroll,
  .esg-transform-overlay.reveal-on-scroll.is-visible {
    top: 50%;
    min-height: 340px;
    transform: translateY(-50%);
    padding: 24px 0;
  }

  .esg-transform-overlay h2 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .esg-transform-overlay p {
    font-size: 13px;
    line-height: 1.7;
  }
}
