/* Page background */
.re-bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url('../img/bg.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top left;
  pointer-events: none;
}

.re-section {
  position: relative;
  z-index: 1;
  padding: 2.8rem 0;
}

.re-section-hero {
  padding-top: 3.8rem;
  padding-bottom: 2.2rem;
}

.re-section .container-xl {
  max-width: 1100px;
}

.re-hero-row {
  max-width: 1085px;
  margin-left: auto;
  margin-right: auto;
}

.re-page-title,
.re-section-title {
  color: #7f6abe;
  font-weight: 800;
  letter-spacing: 0;
}

.re-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0px;
}

.re-section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.14;
  margin-bottom: 1.6rem;
}

.re-section-esg .container-xl {
  background-image: url('../img/ripple-effect/esg.webp');
  background-repeat: no-repeat;
      background-position: left -1rem top 10rem;
    background-size: 494px auto;
    padding-top: 1.6rem;
    padding-bottom: 0px;
}

.re-esg-table-row {
  margin-top: 1.5rem;
}

.re-sdg-label {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  border-radius: 9px;
  background: #d2a7d9;
  color: #161018;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 800;
  line-height: 1.15;
  padding: 0.58rem 0.78rem;
  margin-bottom: 0.7rem;
  width: min(100%, 700px);
  white-space: nowrap;
}

.re-sdg-image {
  width: 100%;
  max-width: 700px;
  display: block;
  border-radius: 3px;
  box-shadow: 0 16px 34px rgba(76, 54, 116, 0.22), 0 4px 10px rgba(76, 54, 116, 0.14);
  filter: drop-shadow(0 12px 18px rgba(76, 54, 116, 0.16));
  transition: transform 0.36s ease, filter 0.36s ease, box-shadow 0.36s ease;
}

.re-book-image {
  width: min(100%, 320px);
  filter: drop-shadow(0 22px 28px rgba(76, 54, 116, 0.28)) drop-shadow(0 6px 10px rgba(76, 54, 116, 0.16));
  transition: transform 0.36s ease, filter 0.36s ease;
}

.re-sdg-image:hover,
.re-book-image:hover {
  transform: translateY(-8px) scale(1.08);
  filter: drop-shadow(0 26px 34px rgba(76, 54, 116, 0.3)) drop-shadow(0 8px 14px rgba(76, 54, 116, 0.18));
}

.re-sdg-image:hover {
  box-shadow: 0 24px 44px rgba(76, 54, 116, 0.28), 0 8px 16px rgba(76, 54, 116, 0.16);
}

.re-table-wrap {
  box-shadow: 0 8px 20px rgba(89, 66, 130, 0.08);
}

.re-table {
  min-width: 660px;
  font-family: 'DM Sans Custom', sans-serif;
  background: rgba(255, 255, 255, 0.78);
}

.re-table th {
  background: #806dba;
  color: #fff;
  text-align: center;
  font-weight: 800;
  border-color: rgba(255, 255, 255, 0.32);
  padding: 0.62rem 0.75rem;
}

.re-table td {
  color: #222;
  border-color: rgba(99, 92, 111, 0.16);
  padding: 0.58rem 0.75rem;
  font-size: 1rem;
}

.re-esg-table td:last-child {
  text-align: center;
  white-space: nowrap;
}

.re-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.re-stat-card {
  min-height: 214px;
  height: 214px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(89, 66, 130, 0.1);
  transform: translateY(0) scale(1);
  transition: transform 0.32s ease, box-shadow 0.32s ease, background-color 0.32s ease, color 0.32s ease;
}

.re-stat-card-content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  transition: transform 0.32s ease;
}

.re-stat-card:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 24px 42px rgba(89, 66, 130, 0.24);
}

.re-stat-card:hover .re-stat-card-content {
  transform: scale(1.03);
}

.re-stat-card-lilac {
  background: #c5a6cc;
  color: #fff8df;
  --re-stat-hover-bg: #a84fe8;
}

.re-stat-card-sand {
  background: #d3b4a9;
  color: #7f6abe;
  --re-stat-hover-bg: #f06f3f;
}

.re-stat-card-rose {
  background: #e5a5a8;
  color: #fff8df;
  --re-stat-hover-bg: #ff4f91;
}

.re-stat-card-taupe {
  background: #b9afa4;
  color: #dff2ff;
  --re-stat-hover-bg: #12a6c8;
}

.re-stat-card-violet {
  background: #7f6abe;
  color: #f4dfd8;
  --re-stat-hover-bg: #5c42e8;
}

.re-stat-card-blush {
  background: #e8d4cc;
  color: #7f6abe;
  --re-stat-hover-bg: #806dba;
}

.re-stat-card:hover {
  background: var(--re-stat-hover-bg);
  color: #ffffff;
}

.re-stat-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.28;
  font-weight: 800;
  margin: 0;
}

.re-stat-number {
  display: block;
  font-size: clamp(3.5rem, 7vw, 5.2rem);
  line-height: 0.9;
  font-weight: 800;
  margin-bottom: 0.55rem;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
  will-change: contents;
}

.re-stat-subtitle {
  font-size: clamp(1.4rem, 3vw, 1.78rem);
  line-height: 1.22;
  margin: 0;
  font-weight: 400;
}

.re-map-panel {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 3.8rem) clamp(1rem, 3vw, 2rem);
  box-shadow: 0 12px 30px rgba(89, 66, 130, 0.08);
}

.re-region-table-wrap {
  max-width: 350px;
  margin: 0 auto;
}

.re-region-table {
  min-width: 320px;
  color: #75575d;
  font-family: 'DM Sans Custom', sans-serif;
  font-weight: 700;
  background: #f7e8ec;
}

.re-region-table th,
.re-region-table td {
  border-color: rgba(105, 70, 75, 0.52);
  padding: 0.55rem 0.6rem;
  background: rgba(252, 231, 236, 0.8);
}

.re-region-table th {
  color: #64494e;
  background: #f8dce1;
}

.re-map-image {
  width: min(100%, 760px);
  display: block;
  filter: drop-shadow(0 10px 18px rgba(76, 54, 116, 0.12));
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.36s ease, filter 0.36s ease;
}

.re-map-image:hover {
  transform: translateY(-8px) scale(1.08);
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .re-sdg-image,
  .re-book-image,
  .re-map-image,
  .re-sdg-image:hover,
  .re-book-image:hover,
  .re-map-image:hover,
  .re-stat-card,
  .re-stat-card:hover,
  .re-stat-card-content,
  .re-stat-card:hover .re-stat-card-content {
    transform: none;
    transition: none;
  }
}

@media (max-width: 991.98px) {
  .re-page-title,
  .re-section-title {
    text-align: center;
  }

  .re-sdg-label {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .re-sdg-image {
    margin: 0 auto;
  }

  .re-book-image {
    max-height: 440px;
    object-fit: contain;
  }

  .re-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .re-section-esg .container-xl {
    min-height: 0;
    background-position: center top 5.2rem;
    background-size: min(78vw, 360px) auto;
    padding-top: 0;
  }

  .re-esg-table-row {
    margin-top: 0;
    padding-top: min(72vw, 340px);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .re-section-esg .re-table-wrap {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .re-section {
    padding: 2rem 0;
  }

  .re-section-hero {
    padding-top: 3rem;
  }

  .re-section-title {
    margin-bottom: 1.2rem;
  }

  .re-section-esg .container-xl {
    background-image: none;
    background-size: min(86vw, 315px) auto;
  }

  .re-esg-table-row {
    padding-top: 0;
  }

  .re-stat-card {
    min-height: 190px;
    height: 190px;
  }

  .re-map-panel {
    border-radius: 18px;
  }
}

@media (max-width: 575.98px) {
  .re-stats-grid {
    grid-template-columns: 1fr;
  }

  .re-stat-card {
    height: 180px;
  }

  .re-table td,
  .re-table th {
    font-size: 0.92rem;
  }
}
