:root {
  --gew-primary-dark: #0a3518;
  /* --gew-primary-dark: #00a84f; */
  --gew-emerald-mid: #15622e;
  /* --gew-emerald-mid: #00a84f; */
  --gew-brand-green: #00a84f;
  --gew-chartreuse: #fdee00;
  --rse-ink: #111827;
  --rse-body: #374151;
  --rse-muted: #6b7280;
  --rse-sage-light: #f3f7f4;
  --rse-sage-mid: #e3efe6;
  --rse-border: #d8e2dc;
  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

html,
body {
  font-family: var(--font-sans);
  color: var(--rse-body);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 700;
}

h3,
h4,
h5,
.font-heading {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.btn {
  border-radius: 0;
}
/* Navigation - Identical to Green Exchange Window */
.rse-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--rse-border);
  padding: 14px 0;
}
.rse-navbar-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}
.badge,
.card {
  border-radius: 0;
}
.rse-nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--rse-ink);
  text-decoration: none;
  padding: 8px 16px;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rse-nav-link:hover {
  color: var(--gew-brand-green);
}
.rse-nav-dropdown {
  position: relative;
}
.rse-nav-dropdown .dropdown-toggle::after {
  display: none;
}
.rse-dropdown-menu {
  border: 1px solid var(--rse-border);
  border-top: 3px solid var(--gew-brand-green);
  border-radius: 0;
  padding: 8px;
  min-width: 190px;
  box-shadow: 0 14px 32px rgba(10, 53, 24, 0.12);
  margin-top: 4px !important;
  background: #ffffff;
}
.rse-dropdown-item {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  padding: 9px 14px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.15s ease;
}
.rse-dropdown-item:hover,
.rse-dropdown-item.active {
  background: var(--rse-sage-light);
  color: var(--gew-brand-green);
}
@media (min-width: 992px) {
  .rse-nav-dropdown:hover > .rse-dropdown-menu {
    display: block;
    margin-top: 0 !important;
  }
}

.rse-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gew-brand-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.rse-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--gew-brand-green);
}

.gew-hero-graphic-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-bottom: 14px;
}
.gew-hero-sphere {
  width: 52px;
  height: 52px;
  object-fit: contain;
  animation: floatSlow 6s ease-in-out infinite;
}
.gew-hero-bubble {
  position: absolute;
}
.gew-bubble-sm-1 {
  top: -2px;
  right: -4px;
  width: 11px;
  height: 11px;
  animation: floatReverse 4.5s ease-in-out infinite;
}
.gew-bubble-sm-2 {
  bottom: 0;
  left: -5px;
  width: 8px;
  height: 8px;
  animation: floatSlow 5.5s ease-in-out 1s infinite;
}
.gew-bubble-sm-3 {
  top: 8px;
  left: -4px;
  width: 6px;
  height: 6px;
  animation: floatReverse 6s ease-in-out 0.5s infinite;
}

.esg-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.esg-hero-right-editorial {
  padding-left: 24px;
  border-left: 2px solid rgba(166, 206, 57, 0.65);
  max-width: 450px;
  margin-left: auto;
}
@media (max-width: 991.98px) {
  .esg-hero-right-editorial {
    padding-left: 0;
    border-left: none;
    margin-left: 0;
  }
}

.esg-hero-lead {
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 18px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* Clean "Powered By" + Logo Badge in Hero */
.ri-powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 0;
  padding: 8px 16px 8px 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.ri-powered-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gew-primary-dark);
  border-right: 1px solid #e5e7eb;
  padding-right: 14px;
  line-height: 1;
}
.ri-powered-logo-wrap {
  width: 110px;
  height: 52px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ri-powered-logo-wrap img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transform: scale(1.48);
}

/* SECTION 1: ESG GPS RATING PROCESS (Clean 4-Step Linear Pipeline) */
.esg-gps-process-section {
  padding: 84px 0 92px;
  background: #ffffff;
  border-bottom: 1px solid var(--rse-border);
}

.esg-section-header {
  margin-bottom: 48px;
}

/* Step Connector Track on Desktop */
.gps-pipeline-wrap {
  position: relative;
}
@media (min-width: 1200px) {
  .gps-pipeline-wrap::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 26px;
    right: 24%;
    height: 2px;
    background: var(--rse-border);
    z-index: 0;
  }
}

.gps-step-col {
  position: relative;
  z-index: 1;
}

.gps-step-num-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.gps-step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gew-primary-dark);
  color: var(--gew-chartreuse);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 1px var(--rse-border);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gps-step-card {
  background: var(--rse-sage-light);
  border: 1px solid var(--rse-border);
  border-top: 3px solid var(--gew-primary-dark);
  border-radius: 0;
  padding: 28px 24px;
  height: calc(100% - 72px);
}

.gps-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gew-primary-dark);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rse-border);
}

.gps-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.gps-checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--rse-body);
}

.gps-checklist li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 1rem;
  color: var(--gew-brand-green);
}

/* SECTION 2: A-CUBED RATING PROCESS (Icon & Arrow Loop Diagram) */
.acubed-process-section {
  padding: 84px 0 96px;
  background: var(--rse-sage-light);
  border-bottom: 1px solid var(--rse-border);
}

.acubed-diagram-board {
  background: #ffffff;
  border: 1px solid var(--rse-border);
  border-radius: 0;
  padding: 48px 36px;
  box-shadow: 0 16px 40px rgba(10, 53, 24, 0.05);
}

.acubed-diagram-canvas {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .acubed-diagram-canvas {
    height: 740px;
  }
  .acubed-node {
    position: absolute;
  }
  .acubed-node-clients {
    top: 10px;
    left: 20%;
    width: 200px;
  }
  .acubed-node-input {
    top: 10px;
    left: 47.5%;
    width: 220px;
  }
  .acubed-node-nlp {
    top: 10px;
    left: 75.5%;
    width: 240px;
  }
  .acubed-node-algo {
    top: 425px;
    left: 74.5%;
    width: 250px;
  }
  .acubed-node-rating {
    top: 465px;
    left: 47.5%;
    width: 210px;
  }
  .acubed-node-report {
    top: 415px;
    left: 19.5%;
    width: 235px;
  }
  .acubed-node-download {
    top: 235px;
    left: 0.5%;
    width: 185px;
  }

  /* 7 Directional Chevron Arrows */
  .acubed-arrow {
    position: absolute;
    width: 68px;
    height: 54px;
    z-index: 2;
    filter: drop-shadow(0 6px 12px rgba(0, 140, 180, 0.18));
  }
  /* 1. Clients -> Input Data (Right) */
  .acubed-arrow-1 {
    top: 66px;
    left: 39%;
    transform: rotate(0deg);
  }
  /* 2. Input Data -> NLP Processing (Right) */
  .acubed-arrow-2 {
    top: 66px;
    left: 67.5%;
    transform: rotate(0deg);
  }
  /* 3. NLP Processing -> Algorithm Engine (Down) */
  .acubed-arrow-3 {
    top: 332px;
    left: 84%;
    transform: rotate(90deg);
  }
  /* 4. Algorithm Engine -> Final Rating (Left) */
  .acubed-arrow-4 {
    top: 505px;
    left: 66.5%;
    transform: rotate(180deg);
  }
  /* 5. Final Rating -> Report (Left) */
  .acubed-arrow-5 {
    top: 505px;
    left: 39.5%;
    transform: rotate(180deg);
  }
  /* 6. Report -> Download (Up-Left) */
  .acubed-arrow-6 {
    top: 460px;
    left: 9.5%;
    transform: rotate(-128deg);
  }
  /* 7. Download -> Clients (Up-Right) */
  .acubed-arrow-7 {
    top: 130px;
    left: 11%;
    transform: rotate(-38deg);
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .acubed-node-clients,
  .acubed-node-input,
  .acubed-node-nlp,
  .acubed-node-algo,
  .acubed-node-rating,
  .acubed-node-report {
    width: 195px;
  }
  .acubed-node-download {
    width: 165px;
  }
  .acubed-arrow {
    width: 54px;
    height: 44px;
  }
}

.acubed-icon-wrap {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.acubed-icon-wrap img {
  max-height: 92px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.acubed-icon-clean-algo {
  clip-path: inset(12% 4% 2% 4%);
}
.acubed-icon-clean-download {
  clip-path: inset(8% 4% 2% 4%);
}

.acubed-stage-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--rse-ink);
  text-align: center;
  margin: 0 0 10px;
}

.acubed-list {
  padding-left: 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acubed-list li {
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--rse-ink);
  font-weight: 500;
}

/* SECTION 3: DISPLAYED SAMPLE REPORTS (Live Embedded PDF Viewers) */
.esg-docs-section {
  padding: 84px 0 96px;
  background: #ffffff;
  border-bottom: 1px solid var(--rse-border);
}

.esg-doc-viewer-card {
  background: var(--rse-sage-light);
  border: 1px solid var(--rse-border);
  border-top: 3px solid var(--gew-primary-dark);
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(10, 53, 24, 0.05);
}

.esg-doc-header {
  padding: 18px 22px;
  background: #ffffff;
  border-bottom: 1px solid var(--rse-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.esg-doc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gew-primary-dark);
  margin: 0;
}

.esg-doc-sub {
  font-size: 0.78rem;
  color: var(--rse-muted);
  margin-top: 2px;
}

.esg-doc-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.esg-doc-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--rse-border);
  background: #ffffff;
  color: var(--rse-ink);
  cursor: pointer;
  transition: all 0.15s ease;
}
.esg-doc-btn:hover {
  border-color: var(--gew-brand-green);
  color: var(--gew-brand-green);
}
.esg-doc-btn-primary {
  background: var(--gew-primary-dark);
  border-color: var(--gew-primary-dark);
  color: #ffffff;
}
.esg-doc-btn-primary:hover {
  background: var(--gew-emerald-mid);
  border-color: var(--gew-emerald-mid);
  color: #ffffff;
}

.esg-doc-frame-wrap {
  position: relative;
  width: 100%;
  height: 620px;
  background: #e5e7eb;
}

.esg-doc-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes floatReverse {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
  .esg-hero-section {
    padding: 44px 0 56px;
  }
  .esg-hero-right-editorial {
    padding-left: 18px;
    border-left: 2px solid rgba(166, 206, 57, 0.65);
    margin-left: 0;
    max-width: 100%;
  }
  .esg-gps-process-section,
  .acubed-process-section,
  .esg-docs-section {
    padding: 56px 0;
  }
  .acubed-diagram-board {
    padding: 28px 20px;
  }
  .acubed-diagram-canvas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .acubed-node {
    width: 100%;
    max-width: 480px;
    background: var(--rse-sage-light);
    border: 1px solid var(--rse-border);
    border-radius: 0;
    padding: 22px 20px;
  }
  .acubed-arrow {
    width: 46px;
    height: 38px;
    flex-shrink: 0;
    display: block;
    transform: rotate(90deg);
    margin: 2px auto;
    filter: drop-shadow(0 4px 8px rgba(0, 140, 180, 0.16));
  }
  .acubed-arrow-7 {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .rse-navbar-logo {
    height: 38px;
  }
  .esg-hero-title {
    font-size: 2rem;
  }
  .esg-doc-frame-wrap {
    height: 440px;
  }
  .gew-partner-box {
    min-width: 140px;
    flex: 1 1 140px;
    padding: 16px 20px;
  }
}

.btn-success {
  background-color: #00a84f !important;
  border-color: #00a84f !important;
}
