/* ══════════════════════════════════════════════════════════════
   GREEN OPEN ACCESS PAGE
   ══════════════════════════════════════════════════════════════ */

<link href="https://googleapis.com" rel="stylesheet">

body { font-family: 'Gilroy', 'DM Sans', sans-serif !important; color: #1a1a1a; background: #fff; overflow-x: hidden; }
p {
  font-family: 'DM Sans', sans-serif;
}


/* ── Hero ─────────────────────────────────────────────────────── */

.goa-hero {
  background: #EEF6E3;
  padding: 170px 80px 0px 80px;
  
  margin: 0 auto;
  box-sizing: border-box;
}



/* ── Top row: pill left | heading right ──────────────────────── */
.goa-hero-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 52px;
}

/* Back pill — matches .abpg-back */
.goa-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid #b0c4a8;
  border-radius: 50px;
  background: transparent;
  color: #1a1a1a;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
  margin-top: 14px;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.goa-back-pill:hover {
  background: rgba(46, 125, 50, 0.07);
  border-color: #2e7d32;
}

/* ── Heading — matches .abpg-title ──────────────────────── */
.goa-heading {
  
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  font-weight: 800;
  color: #0B6340;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Lime gradient — matches .srv-hl */
.goa-heading .goa-hl {
  background: linear-gradient(105deg, #5cb82a 0%, #9ed01e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Bottom 2-col ────────────────────────────────────────────── */
.goa-bottom {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
}

/* Image side */
.goa-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  height: 520px;
}

.goa-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Description side */
.goa-desc-wrap {
  padding: 48px 52px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
/* this is not on figma  */
.goa-desc-label {
  
  font-size: 0rem;
  

}

/* Description — matches .abpg-intro */
.goa-desc-text {
  
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.75;
  color: #262626;
  font-weight: 300;
  max-width: 700px;
}

.goa-desc-text strong {
  color: #1c5c35;
  font-weight: 600;
}

.goa-desc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #CEFD3E;
  color: #343434;
  
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  align-self: flex-start;
}

.goa-desc-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

/* ── Animation initial states ─────────────────────────────────── */
.goa-hero-top,
.goa-bottom {
  opacity: 0;
  transform: translateY(32px);
}

/* ══════════════════════════════════════════════════════════════
   WHY IT MATTERS TODAY
   ══════════════════════════════════════════════════════════════ */
.goa-why {
  background: #ffffff;
  padding: 96px 40px 104px;
}

.goa-why-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Heading */
.goa-why-title {
  
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  color: #255F4E;
  text-align: center;
  line-height: 1.15;
  margin: 0 0 28px;
}

.goa-why-title strong {
  font-weight: 800;

}

/* Intro paragraph */
.goa-why-intro {
  
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  color: #636363;
  text-align: center;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 64px;
}

.goa-why-intro strong {
  font-weight: 700;
  color: #1a3a14;
}

/* Cards grid */
.goa-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.goa-why-card {
  background: #EEF6E3;
background: linear-gradient(180deg,rgba(238, 246, 227, 0) 8%, rgba(243, 249, 232, 1) 35%);
  border-radius: 20px;
  padding: 28px 28px 0;
  overflow: hidden;
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(40px);
}

/* Pill label */
.goa-why-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(30,70,20,0.22);
  border-radius: 999px;
  padding: 5px 14px;
  
  font-size: 0.78rem;
  font-weight: 300;
  
  color: #2a4a1e;
  letter-spacing: 0.02em;
  align-self: flex-start;
  margin-bottom: 20px;
  background: transparent;
}

/* Card title */
.goa-why-card-title {
  
  font-size: clamp(1.2rem, 1.3vw, 1.3rem);
  font-weight: 700;
  color: #152a10;
  line-height: 1.35;
  margin: 0;
  flex: 1;
}

/* Big number — cropped at bottom */
.goa-why-num {
  
  font-size: clamp(5rem, 7vw, 8.5rem);
  font-weight: 800;
  color: rgba(30, 80, 15, 0.717);
  line-height: 1;
  margin-top: auto;
  padding-top: 12px;
  /* Crop: show only top ~55% of the number */
  height: 0.8em;
  overflow: hidden;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════════════════
   HOW ELUNOR DELIVERS — section intro header
   ══════════════════════════════════════════════════════════════ */
.goa-delivers {
  background: #ffffff;
  padding: 88px 40px 80px;
  border-top: 1px solid rgba(30,70,20,0.08);
}

.goa-delivers-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 75px;
  align-items: center;
}

/* Left — heading */
.goa-delivers-heading {
  
  font-size: clamp(1.85rem, 2.8vw, 2.7rem);
  line-height: 1.18;
  color: #255F4E;
  margin: 0;
  font-weight: 700;
}

.goa-delivers-heading strong {
  font-weight: 800;
}

/* Right — description */
.goa-delivers-desc {
  
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  font-weight: 300;
  line-height: 1.65;
  color: #25301c;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   DIAGRAM — Development → Grid Integration → Power Supply
   ══════════════════════════════════════════════════════════════ */
.goa-diagram {
  background: url('assets/images/home-quote.webp') center center / cover no-repeat;
  padding: 72px 40px 80px;
  overflow: hidden;
}

.goa-diag-stage {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  height: 580px;
}

/* ── Center hub circle ──────────────────────────────────────── */
.goa-diag-hub {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #f4fde4, #daf5b0);
  left: calc(50% - 150px); /* = 400px at 1100px container */
  top: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  z-index: 3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.goa-diag-hub p {
 
  font-size: clamp(1.1rem, 1.4vw, 1.38rem);
  font-weight: 800;
  color: #1a3a14;
  line-height: 1.45;
  margin: 0;
}

/* ── Orbital image circles ───────────────────────────────────── */
.goa-diag-img {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.18);
  z-index: 3;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.goa-diag-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Positions are calc(50% ± offset) so they scale with the hub at any container width.
   At 1100px: 50%=550px  →  550-355=195px (original value) ✓ */
.goa-diag-img--tl { top: 48px;  left:  calc(50% - 355px); }
.goa-diag-img--tr { top: 48px;  right: calc(50% - 355px); }
.goa-diag-img--bl { top: 290px; left:  calc(50% - 355px); }
.goa-diag-img--br { top: 290px; right: calc(50% - 355px); }

/* ── Text labels ─────────────────────────────────────────────── */
.goa-diag-label {
  position: absolute;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
  /* Width = space between stage edge and image left edge */
  width: calc(50% - 370px);
  margin: 0;
}

.goa-diag-label--tl { top: 62px;  left: 8px;  }
.goa-diag-label--bl { top: 295px; left: 8px;  }
.goa-diag-label--tr { top: 62px;  right: 8px; text-align: right; }
.goa-diag-label--br { top: 295px; right: 8px; text-align: right; }

/* ── Dashed connector lines ──────────────────────────────────── */
.goa-diag-conn {
  position: absolute;
  z-index: 1;
}

/* Horizontal lines — TL & BL
   Span from image right edge (calc(50%-225px)) to hub left edge (calc(50%-150px))
   Width = 75px.  Dot (::before) at left:0 = image side. */
.goa-diag-conn--tl,
.goa-diag-conn--bl {
  height: 0;
  border-top: 2px dashed rgba(255,255,255,0.40);
  width: 75px;
  left: calc(50% - 225px); /* = img right edge at any width */
}
.goa-diag-conn--tl { top: 113px; } /* img center y: 48+65 */
.goa-diag-conn--bl { top: 355px; } /* img center y: 290+65 */

/* dot at image end (left side of element) */
.goa-diag-conn--tl::before,
.goa-diag-conn--bl::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  top: -4px;
  left: -1px;
}

/* Horizontal lines — TR & BR
   Element right edge pinned to image left edge (calc(50%-225px) from right).
   Dot (::before) at right:0 = image side. */
.goa-diag-conn--tr,
.goa-diag-conn--br {
  height: 0;
  border-top: 2px dashed rgba(255,255,255,0.40);
  width: 75px;
  right: calc(50% - 225px); /* right edge = img left edge at any width */
}
.goa-diag-conn--tr { top: 113px; }
.goa-diag-conn--br { top: 355px; }

.goa-diag-conn--tr::before,
.goa-diag-conn--br::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  top: -4px;
  right: -1px;
}

/* Vertical connector — bottom (dot at bottom end) */
/* circle bottom = 110+300=410px */
.goa-diag-conn--bot {
  width: 0;
  border-left: 2px dashed rgba(255,255,255,0.40);
  height: 62px;
  left: 50%;
  top: 412px;
  transform: translateX(-1px);
}
.goa-diag-conn--bot::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  bottom: -4px;
  left: -4px;
}

/* ── Bottom label ─────────────────────────────────────────────── */
.goa-diag-bot-label {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-align: center;
  white-space: nowrap;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
/* ─── Mobile orbital diagram (≤ 800px) ──────────────────────────────────────
   Layout (portrait):
     [label-bl top-left]   [label-tr top-right]
     [img--bl  top-left]   [img--tr  top-right]
              [ HUB CENTER ]
     [img--tl  bot-left]   [img--br  bot-right]
     [label-tl bot-left]   [label-br bot-right]
     [Long-Term Asset… bottom label]
   Diagonal dashed connectors join each image edge to the hub.
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .goa-diagram { padding: 48px 0 56px; }

  .goa-diag-stage {
    position: relative;
    height: 520px;
    max-width: 100%;
    /* reset desktop scale */
    transform: none;
    margin-bottom: 0;
  }

  /* Hub — keep absolute, centred */
  .goa-diag-hub {
    position: absolute;
    left: calc(50% - 80px);
    top: 175px;
    width: 160px;
    height: 160px;
    padding: 20px;
  }
  .goa-diag-hub p { font-size: 0.82rem; }

  /* Images — 90px, repositioned for portrait layout.
     BL (regulatory) → top-left   TR (project) → top-right
     TL (construction)→ bot-left  BR (land)    → bot-right  */
  .goa-diag-img {
    width: 90px;
    height: 90px;
  }
  .goa-diag-img--bl { left: 20px;  top: 68px;  right: auto; }
  .goa-diag-img--tr { right: 20px; top: 68px;  left: auto;  }
  .goa-diag-img--tl { left: 20px;  top: 350px; right: auto; }
  .goa-diag-img--br { right: 20px; top: 350px; left: auto;  }

  /* Labels */
  .goa-diag-label {
    font-size: 0.72rem;
    line-height: 1.3;
    width: calc(50% - 26px);
  }
  .goa-diag-label--bl { left: 20px;  top: 6px;   right: auto; text-align: left;  }
  .goa-diag-label--tr { right: 20px; top: 6px;   left: auto;  text-align: right; }
  .goa-diag-label--tl { left: 20px;  top: 452px; right: auto; text-align: left;  }
  .goa-diag-label--br { right: 20px; top: 452px; left: auto;  text-align: right; }

  /* Bottom label */
  .goa-diag-bot-label {
    bottom: 10px;
    font-size: 0.76rem;
    white-space: normal;
    width: 85%;
  }

  /* Hide horizontal desktop connectors; keep bot vertical */
  .goa-diag-conn--tl,
  .goa-diag-conn--tr,
  .goa-diag-conn--bl,
  .goa-diag-conn--br { display: none; }

  /* Vertical bot connector — hub bottom (175+160=335) downward */
  .goa-diag-conn--bot {
    top: 337px;
    height: 120px;
  }

  /* Mobile diagonal connectors (hidden on desktop) */
  .goa-mob-conn {
    display: block;
  }
}

/* ── Mobile connector base (always hidden on desktop) ─────────── */
.goa-mob-conn {
  display: none;
  position: absolute;
  height: 0;
  border-top: 2px dashed rgba(255,255,255,0.38);
  z-index: 1;
  transform-origin: left center;
}
.goa-mob-conn::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  top: -4px;
  left: -3px;
}

/* Diagonal angles (reference: 390px screen, hub center 50%/255px)
   top-left  (bl img) right-edge→hub: rotate  58°, length 86px
   top-right (tr img) left-edge →hub: rotate 122°, length 86px
   bot-left  (tl img) right-edge→hub: rotate  -57°,length 82px
   bot-right (br img) left-edge →hub: rotate -123°,length 82px  */
@media (max-width: 800px) {
  /* start at image right/left edge; transform-origin: left center */
  .goa-mob-conn--tl { /* top-left  → hub */
    left: 110px;
    top: 113px;
    width: 86px;
    transform: rotate(58deg);
  }
  .goa-mob-conn--tr { /* top-right → hub */
    left: calc(100% - 110px);
    top: 113px;
    width: 86px;
    transform: rotate(122deg);
  }
  .goa-mob-conn--bl { /* bot-left  → hub */
    left: 110px;
    top: 395px;
    width: 82px;
    transform: rotate(-57deg);
  }
  .goa-mob-conn--br { /* bot-right → hub */
    left: calc(100% - 110px);
    top: 395px;
    width: 82px;
    transform: rotate(-123deg);
  }
}

@media (max-width: 1024px) {
  .goa-hero {
    padding: 110px 28px 0;
  }

  .goa-hero-top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .goa-heading {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .goa-bottom {
    grid-template-columns: 1fr;
  }

  .goa-img-wrap {
    height: 340px;
    border-radius: 16px;
  }

  .goa-desc-wrap {
    padding: 36px 32px 56px;
  }

  .goa-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .goa-delivers-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .goa-hero-inner {
    padding: 0 20px;
  }

  .goa-heading {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .goa-img-wrap {
    height: 260px;
  }

  .goa-desc-wrap {
    padding: 28px 20px 48px;
    gap: 20px;
  }

  .goa-why {
    padding: 64px 20px 72px;
  }

  .goa-why-grid {
    grid-template-columns: 1fr;
  }

  .goa-why-card {
    min-height: 200px;
  }
}
