/* ========================================================================== 
   Contraloría Distrital de Medellín
   Plan Estratégico Institucional 2026–2029 · Microsoft Power Pages
   Experiencia editorial Fluent · Sin dependencias externas
   ========================================================================== */

.pei-page {
  --pei-green-950: #061f19;
  --pei-green-900: #08382b;
  --pei-green-800: #0b5a42;
  --pei-green-600: #0b7a35;
  --pei-lime: #9eea48;
  --pei-blue: #64d8ff;
  --pei-gold: #e2b62d;
  --pei-red: #d8636a;
  --pei-ink: #10221d;
  --pei-muted: #64736d;
  --pei-paper: #f7faf7;
  --pei-soft: #eef4f0;
  --pei-white: #ffffff;
  --pei-line: rgba(16, 34, 29, 0.12);
  --pei-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pei-font: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --pei-sticky-top: 0px;
  --pei-max: 1480px;
  --pei-gutter-desktop: 32px;
  --pei-gutter-tablet: 24px;
  --pei-gutter-mobile: 18px;

  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  color: var(--pei-ink);
  background: var(--pei-paper);
  font-family: var(--pei-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

.pei-page *,
.pei-page *::before,
.pei-page *::after {
  box-sizing: border-box;
  min-width: 0;
}

.pei-page button,
.pei-page input,
.pei-page select,
.pei-page textarea {
  font: inherit;
}

.pei-page a,
.pei-page button {
  -webkit-tap-highlight-color: transparent;
}

.pei-page :focus-visible,
.strategic-modal :focus-visible {
  outline: 3px solid var(--pei-blue, #64d8ff) !important;
  outline-offset: 4px !important;
}

.pei-page .container.pei-shell {
  width: 100%;
  max-width: var(--pei-max);
  margin-inline: auto;
  padding-left: var(--pei-gutter-desktop);
  padding-right: var(--pei-gutter-desktop);
}

/*
 * Integración Bootstrap + Power Pages:
 * .container participa en el patrón responsive del portal y .pei-shell
 * mantiene un ancho máximo institucional y gutters controlados.
 * Fondos, SVG, gradientes, hero y modal permanecen full-bleed.
 */

.pei-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--pei-green-950);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--pei-ease);
}

.pei-skip:focus {
  transform: none;
}

.pei-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--pei-green-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pei-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pei-green-600), var(--pei-lime));
}

.pei-eyebrow--light {
  color: rgba(255, 255, 255, 0.68);
}

.pei-eyebrow--light::before {
  background: linear-gradient(90deg, var(--pei-lime), var(--pei-blue));
}

/* Reveal */
.pei-page [data-pei-reveal] {
  opacity: 1;
  transform: none;
}

.pei-page.pei-js [data-pei-reveal="fade"] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.pei-page.pei-js [data-pei-reveal="title"] {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
}

.pei-page.pei-js [data-pei-reveal] {
  transition:
    opacity 0.82s var(--pei-ease),
    transform 0.82s var(--pei-ease);
  transition-delay: var(--pei-delay, 0s);
}

.pei-page.pei-js [data-pei-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero */
.pei-hero {
  --pei-px: 68%;
  --pei-py: 42%;
  position: relative;
  min-height: clamp(720px, 88svh, 920px);
  overflow: hidden;
  color: #ffffff;
  background: var(--pei-green-950);
  isolation: isolate;
}

.pei-hero__bg,
.pei-hero__grid,
.pei-hero__glow,
.pei-hero__map {
  position: absolute;
  inset: 0;
}

.pei-hero__bg {
  background:
    radial-gradient(circle at var(--pei-px) var(--pei-py), rgba(100, 216, 255, 0.14), transparent 30%),
    radial-gradient(circle at 79% 74%, rgba(158, 234, 72, 0.12), transparent 26%),
    linear-gradient(135deg, #00140f 0%, #03261e 46%, #061c2a 100%);
}

.pei-hero__grid {
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.pei-hero__glow {
  width: min(720px, 48vw);
  height: min(720px, 48vw);
  border-radius: 50%;
  filter: blur(40px);
  mix-blend-mode: screen;
  opacity: 0.5;
  will-change: transform;
}

.pei-hero__glow--a {
  top: -24%;
  left: auto;
  right: -8%;
  background: radial-gradient(circle, rgba(100, 216, 255, 0.22), transparent 66%);
  animation: peiFloatA 16s ease-in-out infinite alternate;
}

.pei-hero__glow--b {
  top: auto;
  left: 38%;
  bottom: -36%;
  background: radial-gradient(circle, rgba(158, 234, 72, 0.18), transparent 68%);
  animation: peiFloatB 18s ease-in-out infinite alternate;
}

.pei-hero__map {
  width: 100%;
  height: 100%;
  opacity: 0.94;
}

.pei-hero__paths path {
  fill: none;
  stroke: url(#peiLine);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 7 12;
  animation: peiFlow 12s linear infinite;
}

.pei-node {
  fill: url(#peiNode);
  transform-box: fill-box;
  transform-origin: center;
  animation: peiPulse 3.4s ease-in-out infinite;
}

.pei-node--blue {
  opacity: 0.62;
  filter: hue-rotate(65deg);
  animation-delay: -1.2s;
}

.pei-node--core {
  animation-duration: 2.5s;
}

.pei-hero__labels text {
  fill: rgba(255, 255, 255, 0.34);
  font-family: var(--pei-font);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.pei-hero__inner {
  position: relative;
  z-index: 4;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.54fr);
  gap: clamp(60px, 8vw, 130px);
  align-items: center;
  padding-block: clamp(90px, 10vw, 130px) clamp(110px, 12vw, 150px);
}

.pei-hero__copy {
  max-width: 900px;
}

.pei-hero__years {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.pei-hero__years i {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--pei-lime), rgba(100, 216, 255, 0.45));
}

.pei-hero h1 {
  max-width: 950px;
  margin: 18px 0 0;
  font-size: clamp(4.4rem, 7.3vw, 8.7rem);
  font-weight: 620;
  letter-spacing: -0.068em;
  line-height: 0.88;
}

.pei-hero h1 span {
  display: block;
  margin-top: 0.12em;
  color: var(--pei-lime);
  font-weight: 430;
}

.pei-hero__lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.72;
}

.pei-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.pei-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 760;
  cursor: pointer;
  transition:
    transform 0.25s var(--pei-ease),
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pei-button:hover {
  transform: translateY(-2px);
}

.pei-button--primary {
  color: var(--pei-green-950) !important;
  -webkit-text-fill-color: var(--pei-green-950);
  background: var(--pei-lime);
  box-shadow: 0 22px 56px -20px rgba(158, 234, 72, 0.78);
}

.pei-button--glass {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.pei-hero__signal {
  align-self: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(4, 24, 29, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 32px 90px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(24px) saturate(130%);
}

.pei-signal__label {
  display: block;
  padding: 8px 8px 14px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pei-signal__row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pei-signal__row strong {
  color: var(--pei-lime);
  font-size: 2.25rem;
  font-weight: 650;
  letter-spacing: -0.05em;
}

.pei-signal__row span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 680;
}

/* Navigation */
.pei-nav {
  position: sticky;
  top: var(--pei-sticky-top, 0px);
  z-index: 500;
  border-bottom: 1px solid rgba(16, 34, 29, 0.10);
  background: rgba(249, 251, 249, 0.88);
  backdrop-filter: blur(20px) saturate(145%);
}

.pei-nav__inner {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.pei-nav__brand {
  flex: 0 0 auto;
  color: var(--pei-green-900);
  font-size: 0.78rem;
  font-weight: 800;
}

.pei-nav__links {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pei-nav__links::-webkit-scrollbar {
  display: none;
}

.pei-nav__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #64736d !important;
  -webkit-text-fill-color: #64736d;
  text-decoration: none;
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.pei-nav__links a span {
  color: var(--pei-green-600);
  font-weight: 850;
}

.pei-nav__links a:hover,
.pei-nav__links a.is-active {
  color: var(--pei-green-950) !important;
  -webkit-text-fill-color: var(--pei-green-950);
  background: rgba(11, 122, 53, 0.08);
}

.pei-nav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
}

.pei-nav__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--pei-green-600), var(--pei-lime), var(--pei-blue));
  transform: scaleX(0);
  transform-origin: left center;
}

/* Metrics */
.pei-metrics {
  padding-block: 44px 56px;
  background: #ffffff;
  border-bottom: 1px solid var(--pei-line);
}

.pei-metrics__flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(220px, 1.4fr);
  align-items: end;
  gap: 24px;
}

.pei-metrics__flow > div {
  min-height: 92px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding-right: 22px;
  border-right: 1px solid var(--pei-line);
}

.pei-metrics__flow > div:last-child {
  border-right: 0;
}

.pei-metrics__flow strong {
  color: var(--pei-green-900);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 610;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.pei-metrics__flow span {
  color: var(--pei-muted);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pei-metrics__years {
  display: flex !important;
  grid-auto-flow: column;
  grid-template-columns: auto auto auto;
  align-items: end !important;
  justify-content: end;
  gap: 12px !important;
}

.pei-metrics__years span {
  color: var(--pei-lime);
  font-size: 2rem;
}

/* Generic section */
.pei-section {
  position: relative;
  padding-block: clamp(110px, 12vw, 180px);
  scroll-margin-top: calc(var(--pei-sticky-top, 0px) + 86px);
}

.pei-section-head {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-bottom: 70px;
}

.pei-section-head--split {
  grid-template-columns: 70px minmax(0, 1fr) minmax(280px, 0.48fr);
}

.pei-section-head > span {
  color: rgba(16, 34, 29, 0.26);
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.pei-section-head h2,
.pei-editorial h2 {
  margin: 16px 0 0;
  color: var(--pei-green-950);
  font-size: clamp(3.1rem, 5.5vw, 6.4rem);
  font-weight: 610;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.pei-section-head > p {
  margin: 18px 0 0;
  color: var(--pei-muted);
  line-height: 1.72;
}

/* About */
.pei-about {
  background: linear-gradient(180deg, #f9fbf9 0%, #f1f6f2 100%);
}

.pei-editorial {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(300px, 0.46fr);
  column-gap: clamp(36px, 6vw, 90px);
  row-gap: 50px;
}

.pei-editorial__index {
  color: rgba(16, 34, 29, 0.24);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.pei-editorial__main {
  grid-column: 2 / -1;
}

.pei-display-copy {
  max-width: 1200px;
  margin: 30px 0 0;
  color: #203c32;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  font-weight: 420;
  letter-spacing: -0.025em;
  line-height: 1.26;
}

.pei-editorial__body {
  grid-column: 2;
  max-width: 800px;
  color: var(--pei-muted);
  font-size: 1.06rem;
  line-height: 1.82;
}

.pei-editorial__body strong {
  color: var(--pei-green-800);
}

.pei-quote {
  grid-column: 3;
  margin: 0;
  padding-left: 26px;
  border-left: 2px solid var(--pei-lime);
}

.pei-quote strong,
.pei-quote span {
  display: block;
}

.pei-quote strong {
  color: var(--pei-green-900);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 650;
  line-height: 1.25;
}

.pei-quote span {
  margin-top: 16px;
  color: var(--pei-muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

/* Mission / Vision */
.pei-statements {
  background: #ffffff;
}

.pei-statement {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
  padding-block: 72px;
  border-top: 1px solid var(--pei-line);
}

.pei-statement:last-child {
  border-bottom: 1px solid var(--pei-line);
}

.pei-statement--vision {
  grid-template-columns: minmax(0, 1fr) 180px;
  padding-left: clamp(8%, 10vw, 180px);
}

.pei-statement__mark {
  color: rgba(11, 122, 53, 0.08);
  font-size: clamp(8rem, 13vw, 14rem);
  font-weight: 650;
  letter-spacing: -0.08em;
  line-height: 0.72;
}

.pei-statement span {
  color: var(--pei-green-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pei-statement h3 {
  margin: 12px 0 22px;
  color: var(--pei-green-950);
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  font-weight: 610;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.pei-statement p {
  max-width: 1050px;
  margin: 0;
  color: var(--pei-muted);
  font-size: 1.02rem;
  line-height: 1.82;
}

/* Perspectives */
.pei-perspectives {
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(100, 216, 255, 0.10), transparent 28%),
    linear-gradient(140deg, #001f18, #06282a 58%, #071b27);
}

.pei-perspectives .pei-section-head > span,
.pei-perspectives .pei-section-head > p {
  color: rgba(255, 255, 255, 0.48);
}

.pei-perspectives .pei-section-head h2 {
  color: #ffffff;
}

.pei-map {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.pei-map__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pei-map__lines path,
.pei-map__lines circle {
  fill: none;
  stroke: rgba(158, 234, 72, 0.22);
  stroke-width: 1.2;
}

.pei-map__center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(158, 234, 72, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 80px rgba(158, 234, 72, 0.10);
  backdrop-filter: blur(18px);
}

.pei-map__center small,
.pei-map__center span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pei-map__center strong {
  color: var(--pei-lime);
  font-size: 1.55rem;
  font-weight: 620;
}

.pei-perspective-node {
  position: absolute;
  width: min(360px, 31%);
  padding: 18px 0 18px 22px;
  border-left: 2px solid var(--pei-lime);
  transition: transform 0.3s var(--pei-ease), opacity 0.3s ease;
}

.pei-perspective-node:hover,
.pei-perspective-node:focus-visible {
  transform: translateY(-6px);
}

.pei-perspective-node span {
  color: var(--pei-lime);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pei-perspective-node h3 {
  margin: 9px 0 8px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.1vw, 2.15rem);
  font-weight: 610;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.pei-perspective-node p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  line-height: 1.62;
}

.pei-perspective-node--1 { left: 2%; top: 7%; }
.pei-perspective-node--2 { right: 2%; top: 7%; border-left-color: var(--pei-blue); }
.pei-perspective-node--3 { left: 2%; bottom: 7%; border-left-color: var(--pei-gold); }
.pei-perspective-node--4 { right: 2%; bottom: 7%; border-left-color: #98b6ff; }

/* Lines */
.pei-lines {
  background: #ffffff;
}

.pei-lines__list {
  border-top: 1px solid var(--pei-line);
}

.pei-line {
  --pei-accent: var(--pei-green-600);
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 140px;
  gap: 30px;
  align-items: center;
  min-height: 180px;
  padding-block: 32px;
  border-bottom: 1px solid var(--pei-line);
  transition: padding-left 0.35s var(--pei-ease), background 0.3s ease;
}

.pei-line:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pei-accent) 6%, transparent), transparent 70%);
}

.pei-line > span {
  color: var(--pei-accent);
  font-size: 2.4rem;
  font-weight: 620;
  letter-spacing: -0.05em;
}

.pei-line h3 {
  margin: 0;
  color: var(--pei-green-950);
  font-size: clamp(1.7rem, 3vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.pei-line p {
  max-width: 840px;
  margin: 13px 0 0;
  color: var(--pei-muted);
  line-height: 1.7;
}

.pei-line i {
  justify-self: end;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pei-accent));
  transform-origin: right;
  transform: scaleX(0.52);
  transition: transform 0.35s var(--pei-ease);
}

.pei-line:hover i {
  transform: scaleX(1);
}

.pei-line--lime { --pei-accent: var(--pei-lime); }
.pei-line--gold { --pei-accent: var(--pei-gold); }
.pei-line--blue { --pei-accent: #6b8cff; }
.pei-line--red { --pei-accent: var(--pei-red); }

.pei-cmi-launch {
  width: 100%;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 60px;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--pei-line);
  border-bottom: 1px solid var(--pei-line);
  color: var(--pei-green-950);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.pei-cmi-launch__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pei-green-950);
  background: var(--pei-lime);
  font-size: 1.6rem;
  font-weight: 800;
  transition: transform 0.3s var(--pei-ease);
}

.pei-cmi-launch:hover .pei-cmi-launch__icon {
  transform: rotate(90deg) scale(1.04);
}

.pei-cmi-launch small,
.pei-cmi-launch strong,
.pei-cmi-launch em {
  display: block;
}

.pei-cmi-launch small {
  color: var(--pei-green-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pei-cmi-launch strong {
  margin-top: 5px;
  font-size: clamp(1.45rem, 2.6vw, 2.6rem);
  font-weight: 610;
  letter-spacing: -0.035em;
}

.pei-cmi-launch em {
  max-width: 850px;
  margin-top: 7px;
  color: var(--pei-muted);
  font-size: 0.9rem;
  font-style: normal;
}

.pei-cmi-launch b {
  color: var(--pei-green-900);
  font-size: 0.82rem;
}

/* Objectives */
.pei-objectives {
  background: linear-gradient(180deg, #f2f7f3, #edf4ef);
}

.pei-objective-path {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pei-objective-path::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 48px;
  width: 1px;
  background: linear-gradient(var(--pei-green-600), var(--pei-lime), var(--pei-blue));
}

.pei-objective-path li {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 34px;
  min-height: 180px;
  padding-block: 28px;
}

.pei-objective-path li > span {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 122, 53, 0.16);
  border-radius: 50%;
  color: var(--pei-green-900);
  background: #f2f7f3;
  font-size: 1rem;
  font-weight: 850;
}

.pei-objective-path h3 {
  margin: 4px 0 0;
  color: var(--pei-green-950);
  font-size: clamp(1.7rem, 2.8vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.pei-objective-path p {
  max-width: 800px;
  margin: 14px 0 0;
  color: var(--pei-muted);
  line-height: 1.72;
}

/* Strategies story */
.pei-strategies {
  background: #ffffff;
}

.pei-strategy-story {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.pei-strategy-story::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(11, 122, 53, 0.28) 8%, rgba(11, 122, 53, 0.28) 92%, transparent);
}

.pei-strategy-story li {
  width: 50%;
  min-height: 180px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px 58px 26px 0;
}

.pei-strategy-story li:nth-child(even) {
  margin-left: 50%;
  padding: 26px 0 26px 58px;
}

.pei-strategy-story li > span {
  color: var(--pei-lime);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.pei-strategy-story h3 {
  margin: 0;
  color: var(--pei-green-950);
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  font-weight: 610;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.pei-strategy-story p {
  margin: 12px 0 0;
  color: var(--pei-muted);
  font-size: 0.92rem;
  line-height: 1.68;
}

/* Modal */
body.pei-modal-open {
  overflow: hidden !important;
}

.strategic-modal[hidden] {
  display: none !important;
}

.strategic-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: none !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  padding: 20px !important;
  overflow: hidden !important;
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif !important;
}

.strategic-modal.is-open {
  display: flex !important;
}

.strategic-modal__backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(2, 19, 15, 0.72) !important;
  backdrop-filter: blur(10px) !important;
}

.strategic-modal__dialog {
  position: relative !important;
  z-index: 2 !important;
  width: min(1180px, calc(100vw - 40px)) !important;
  height: calc(100vh - 40px) !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  overflow: hidden !important;
  color: #41534c !important;
  background: #f8faf8 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.38) !important;
  transform: translate3d(30px, 0, 0) scale(0.99);
  opacity: 0;
  transition: transform 0.22s var(--pei-ease), opacity 0.22s ease !important;
}

.strategic-modal.is-open .strategic-modal__dialog {
  transform: none !important;
  opacity: 1 !important;
}

.strategic-modal__header {
  display: flex !important;
  justify-content: space-between !important;
  gap: 28px !important;
  padding: 30px 32px 24px !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(100, 216, 255, 0.14), transparent 24%),
    linear-gradient(120deg, #051f19, #0a4b39) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.strategic-modal__eyebrow {
  color: var(--pei-lime) !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

.strategic-modal__header h2 {
  margin: 8px 0 0 !important;
  color: #ffffff !important;
  font-size: clamp(2rem, 4vw, 3.6rem) !important;
  font-weight: 610 !important;
  letter-spacing: -0.045em !important;
  line-height: 0.98 !important;
}

.strategic-modal__header p {
  max-width: 760px !important;
  margin: 10px 0 0 !important;
  color: rgba(255, 255, 255, 0.64) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

.strategic-modal__close {
  flex: 0 0 46px !important;
  width: 46px !important;
  height: 46px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  font-size: 1.7rem !important;
  cursor: pointer !important;
}

.strategic-modal__close:hover {
  color: var(--pei-green-950) !important;
  background: var(--pei-lime) !important;
}

.strategic-modal__tabs {
  display: flex !important;
  gap: 4px !important;
  padding: 10px 24px !important;
  overflow-x: auto !important;
  background: #eef4f0 !important;
  border-bottom: 1px solid rgba(16, 34, 29, 0.10) !important;
}

.strategic-modal__tab {
  min-height: 40px !important;
  padding: 8px 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #587068 !important;
  background: transparent !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.strategic-modal__tab:hover,
.strategic-modal__tab.is-active {
  color: #ffffff !important;
  background: var(--pei-green-900) !important;
}

.strategic-modal__body {
  min-height: 0 !important;
  overflow-y: auto !important;
  padding: 30px 34px 42px !important;
}

.cmi-line__top {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.cmi-line__number {
  color: var(--pei-lime);
  font-size: 3rem;
  font-weight: 620;
  letter-spacing: -0.06em;
}

.cmi-line__perspective {
  color: var(--pei-gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cmi-line__top h3 {
  margin: 7px 0 0;
  color: var(--pei-green-950);
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 610;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.cmi-line__objective {
  max-width: 920px;
  margin: 15px 0 0;
  color: var(--pei-muted);
  line-height: 1.72;
}

.cmi-line__strategy {
  margin: 32px 0 36px 116px;
  padding-left: 22px;
  border-left: 2px solid var(--pei-lime);
}

.cmi-line__strategy strong,
.cmi-action__meta strong {
  display: block;
  color: var(--pei-green-800);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cmi-line__strategy p {
  max-width: 920px;
  margin: 5px 0 0;
  color: #475b54;
  line-height: 1.64;
}

.cmi-actions {
  border-top: 1px solid var(--pei-line);
}

.cmi-action {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--pei-line);
}

.cmi-action__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
}

.cmi-action__index {
  color: var(--pei-green-600);
  font-size: 0.78rem;
  font-weight: 850;
}

.cmi-action h4 {
  margin: 0;
  color: var(--pei-green-950);
  font-size: 1rem;
  line-height: 1.46;
}

.cmi-action__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cmi-action__meta span {
  display: block;
  margin-top: 5px;
  color: var(--pei-muted);
  font-size: 0.84rem;
  line-height: 1.52;
}

/* Animations */
@keyframes peiFloatA {
  to { transform: translate3d(-6%, 5%, 0) scale(1.05); }
}

@keyframes peiFloatB {
  to { transform: translate3d(6%, -5%, 0) scale(0.96); }
}

@keyframes peiFlow {
  to { stroke-dashoffset: -180; }
}

@keyframes peiPulse {
  50% { transform: scale(1.25); opacity: 1; }
}

/* Responsive */
@media (min-width: 2000px) {
  .pei-page .container.pei-shell {
    max-width: 1640px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .pei-hero h1 {
    font-size: 9.3rem;
  }
}

@media (max-width: 1180px) {
  .pei-hero__inner {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .pei-hero__signal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .pei-signal__label {
    grid-column: 1 / -1;
  }

  .pei-signal__row {
    grid-template-columns: 1fr;
  }

  .pei-metrics__flow {
    grid-template-columns: repeat(5, 1fr);
  }

  .pei-metrics__years {
    display: grid !important;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .pei-section-head--split {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .pei-section-head--split > p {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .pei-page .container.pei-shell {
    padding-left: var(--pei-gutter-tablet);
    padding-right: var(--pei-gutter-tablet);
  }
.pei-hero {
    min-height: auto;
  }

  .pei-hero__inner {
    padding-block: 88px 110px;
  }

  .pei-hero__map {
    opacity: 0.52;
    transform: scale(1.15);
  }

  .pei-hero__signal {
    grid-template-columns: repeat(2, 1fr);
  }

  .pei-metrics__flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .pei-metrics__flow > div:nth-child(2n) {
    border-right: 0;
  }

  .pei-metrics__years {
    grid-column: 1 / -1;
    grid-template-columns: auto auto auto;
    justify-content: start;
    border-top: 1px solid var(--pei-line);
    padding-top: 22px;
  }

  .pei-editorial {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .pei-editorial__main {
    grid-column: 2;
  }

  .pei-editorial__body,
  .pei-quote {
    grid-column: 2;
  }

  .pei-statement,
  .pei-statement--vision {
    grid-template-columns: 110px minmax(0, 1fr);
    padding-left: 0;
  }

  .pei-statement--vision > div:first-child {
    grid-column: 2;
  }

  .pei-statement--vision .pei-statement__mark {
    grid-column: 1;
    grid-row: 1;
  }

  .pei-map {
    min-height: 840px;
  }

  .pei-map__lines,
  .pei-map__center {
    display: none;
  }

  .pei-perspective-node {
    position: relative;
    inset: auto !important;
    width: 100%;
    margin-bottom: 34px;
  }

  .pei-line {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .pei-line i {
    display: none;
  }

  .pei-cmi-launch {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .pei-cmi-launch b {
    grid-column: 2;
  }

  .pei-strategy-story::before {
    left: 32px;
  }

  .pei-strategy-story li,
  .pei-strategy-story li:nth-child(even) {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 24px 0;
  }
}

@media (max-width: 768px) {
  .pei-page .container.pei-shell {
    padding-left: var(--pei-gutter-mobile);
    padding-right: var(--pei-gutter-mobile);
  }
.pei-hero h1 {
    font-size: clamp(3.7rem, 14vw, 6rem);
  }

  .pei-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pei-button {
    width: 100%;
  }

  .pei-nav__brand {
    display: none;
  }

  .pei-nav__inner {
    gap: 0;
  }

  .pei-section-head,
  .pei-section-head--split {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pei-section-head--split > p {
    grid-column: auto;
  }

  .pei-editorial {
    grid-template-columns: 1fr;
  }

  .pei-editorial__index {
    display: none;
  }

  .pei-editorial__main,
  .pei-editorial__body,
  .pei-quote {
    grid-column: 1;
  }

  .pei-statement,
  .pei-statement--vision {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pei-statement__mark,
  .pei-statement--vision .pei-statement__mark,
  .pei-statement--vision > div:first-child {
    grid-column: 1;
    grid-row: auto;
  }

  .pei-statement__mark {
    font-size: 7rem;
  }

  .pei-line {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    min-height: 150px;
  }

  .pei-line > span {
    font-size: 1.7rem;
  }

  .pei-objective-path::before {
    left: 28px;
  }

  .pei-objective-path li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    min-height: 150px;
  }

  .pei-objective-path li > span {
    width: 58px;
    height: 58px;
  }

  .strategic-modal {
    padding: 8px !important;
  }

  .strategic-modal__dialog {
    width: calc(100vw - 16px) !important;
    height: calc(100vh - 16px) !important;
    border-radius: 16px !important;
  }

  .strategic-modal__header {
    padding: 22px 18px 18px !important;
  }

  .strategic-modal__body {
    padding: 22px 18px 30px !important;
  }

  .cmi-line__top {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .cmi-line__number {
    font-size: 1.8rem;
  }

  .cmi-line__strategy {
    margin: 24px 0 28px 72px;
  }

  .cmi-action {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cmi-action__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .pei-page .container.pei-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
.pei-hero__signal {
    grid-template-columns: 1fr;
  }

  .pei-metrics__flow {
    grid-template-columns: 1fr 1fr;
  }

  .pei-section-head h2,
  .pei-editorial h2 {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }

  .pei-display-copy {
    font-size: 1.45rem;
  }

  .pei-cmi-launch {
    grid-template-columns: 1fr;
  }

  .pei-cmi-launch b {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  .pei-hero h1 {
    font-size: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pei-page *,
  .pei-page *::before,
  .pei-page *::after,
  .strategic-modal * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .pei-page [data-pei-reveal],
  .pei-page.pei-js [data-pei-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* --------------------------------------------------------------------------
   Bootstrap responsive guard
   -------------------------------------------------------------------------- */

@media (max-width: 380px) {
  .pei-page .container.pei-shell {
    padding-left: 12px;
    padding-right: 12px;
  }
}

.pei-page .pei-nav__links,
.pei-page .pei-map,
.pei-page .pei-lines__list,
.pei-page .pei-objective-path,
.pei-page .pei-strategy-story {
  max-width: 100%;
}

.pei-page .pei-nav__links {
  min-width: 0;
}
