/* ==========================================================================
   Enterprise Support Program page — built from 10.pptx / poster layout.
   Loaded after styles.css.
   ========================================================================== */

.esp-page {
  --esp-ink: #0A1F5C;
  --esp-body: #2B3A63;
  --esp-line: #DCE6F5;
  --esp-blue: #1E6FE0;
  --esp-ras: #1C6FC4;
  background: var(--white);
}

.esp-page h1,
.esp-page h2,
.esp-page h3,
.esp-page h4 {
  font-family: var(--font-heading);
  color: var(--esp-ink);
}

.esp-page p {
  color: var(--esp-body);
}

.esp-page .eyebrow {
  letter-spacing: 2px;
}

.esp-page .btn {
  border-radius: 8px;
  padding: 13px 24px;
  white-space: nowrap;
}

.esp-page .btn .icon {
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.esp-page .btn-primary {
  box-shadow: 0 8px 20px rgba(0, 56, 214, 0.25);
}

.esp-page .btn-outline {
  border-color: #B9CCF2;
}

.esp-rule {
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  margin: 16px 0;
}

.esp-section-title {
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.4px;
}

/* ---------------- Hero ---------------- */
.esp-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F3F8FE 0%, #E8F1FC 100%);
}

.esp-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 63%;
}

.esp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 30%;
}

.esp-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #F1F7FE 0%, rgba(241, 247, 254, 0.92) 14%, rgba(241, 247, 254, 0.45) 30%, rgba(241, 247, 254, 0) 46%);
}

.esp-hero-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(0deg, rgba(232, 241, 252, 0.85), rgba(232, 241, 252, 0));
}

.esp-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 34px;
  padding-bottom: 64px;
}

.esp-hero-copy {
  max-width: 660px;
}

.esp-hero-logo {
  display: block;
  height: 128px;
  width: auto;
  margin: 0 0 16px -6px;
}

.esp-hero h1 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.esp-hero-lead {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px !important;
  line-height: 1.45 !important;
  color: var(--esp-ink) !important;
  margin-bottom: 18px !important;
}

.esp-hero-lead span {
  display: block;
  font-size: 17px;
}

.esp-hero-body {
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.6 !important;
}

.esp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* ---------------- Feature strip ---------------- */
.esp-features {
  border-bottom: 1px solid #E6EDF7;
}

.esp-features ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 26px;
  padding-bottom: 26px;
}

.esp-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  border-left: 1px solid var(--esp-line);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--esp-ink);
}

.esp-features li:first-child {
  border-left: 0;
}

.esp-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #E2EDFB;
  display: grid;
  place-items: center;
}

.esp-feature-icon .icon {
  width: 26px;
  height: 26px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------- Workflow stages ---------------- */
.esp-stages {
  padding: 56px 0 52px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFE 100%);
  scroll-margin-top: 80px;
}

.esp-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 30px;
}

.esp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--esp-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(11, 42, 107, 0.08);
}

.esp-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 34%;
  height: 4px;
  background: var(--esp-blue);
}

.esp-card.is-orange::before {
  background: var(--orange);
}

.esp-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 20px 18px 18px;
}

.esp-card.is-orange .esp-card-head {
  background: linear-gradient(180deg, #FFF4EA, #FFFFFF);
}

.esp-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -1px;
  color: #3E83E8;
}

.esp-card.is-orange .esp-num {
  color: var(--orange);
}

.esp-card-head h3 {
  font-size: 15.5px;
  line-height: 1.25;
}

.esp-card-head small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--esp-body);
}

.esp-card-media img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.esp-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.esp-card-body h4 {
  font-size: 14.5px;
  line-height: 1.35;
  margin: 0 0 6px;
}

.esp-card-body p {
  font-size: 13.5px;
}

.esp-checks {
  display: grid;
  gap: 8px;
  margin: 14px 0 16px;
}

.esp-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--esp-ink);
}

.esp-check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-primary);
}

.esp-card.is-orange .esp-check {
  background: var(--orange);
}

.esp-check .icon {
  width: 11px;
  height: 11px;
  stroke: var(--white);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.esp-users {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #E5ECF6;
}

.esp-users-title {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.6px;
  color: var(--esp-ink);
}

.esp-users ul {
  display: flex;
  justify-content: space-around;
}

.esp-users li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 112px;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  color: var(--esp-body);
}

.esp-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}

.esp-badge.cp { background: var(--blue-primary); }
.esp-badge.cfi { background: var(--orange); }
.esp-badge.ras { background: var(--esp-ras); }

.esp-step-arrow {
  position: absolute;
  top: 180px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(11, 42, 107, 0.18);
}

.esp-step-arrow:nth-child(1) { left: calc(33.333% - 28px); }
.esp-step-arrow:nth-child(2) { left: calc(66.666% - 6px); }

.esp-step-arrow .icon {
  width: 18px;
  height: 18px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------- Professionals ---------------- */
.esp-pros {
  padding: 52px 0 58px;
  background: linear-gradient(180deg, #EAF3FD 0%, #F3F8FE 100%);
}

.esp-pro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.esp-pro {
  padding: 28px 30px 30px;
  border-radius: 12px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 10px 28px rgba(11, 42, 107, 0.07);
}

.esp-pro .esp-badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  font-size: 25px;
}

.esp-pro .esp-badge.cp { background: var(--navy); }
.esp-pro .esp-badge.ras { background: #1268C9; }

.esp-pro h3 {
  font-size: 17px;
}

.esp-pro .esp-rule {
  width: 40px;
  margin: 12px auto 14px;
}

.esp-pro p {
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------------- Sustainability ---------------- */
.esp-sustain {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.esp-sustain-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 63%;
}

.esp-sustain-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 60%;
}

.esp-sustain-inner {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 48px;
}

.esp-sustain-copy {
  max-width: 580px;
}

.esp-sustain h2 {
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.4px;
}

.esp-sustain .esp-rule {
  width: 54px;
  margin: 12px 0;
}

.esp-sustain p {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------------- Join band ---------------- */
.esp-join {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 40%, rgba(46, 111, 214, 0.35), transparent 40%),
    linear-gradient(90deg, #0A2A6E 0%, #0B2462 55%, #0A1F55 100%);
}

.esp-join::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.6;
}

.esp-join-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 38px;
  padding-bottom: 38px;
}

.esp-join h2 {
  color: var(--white);
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.3px;
}

.esp-join-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.esp-page .btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(250, 117, 23, 0.3);
}

.esp-page .btn-orange:hover {
  background: #E5650C;
}

.esp-page .btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.esp-page .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .esp-cards {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 24px;
  }

  .esp-step-arrow {
    display: none;
  }

  .esp-join-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .esp-hero-photo {
    position: relative;
    width: 100%;
    height: 340px;
  }

  .esp-hero-photo::before {
    background: linear-gradient(0deg, rgba(232, 241, 252, 0) 70%, rgba(243, 248, 254, 0.9) 100%);
  }

  .esp-hero-inner {
    padding-bottom: 40px;
  }

  .esp-hero h1 {
    font-size: 36px;
  }

  .esp-features ul {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .esp-features li:nth-child(3) {
    border-left: 0;
  }

  .esp-pro-cards {
    grid-template-columns: 1fr;
  }

  .esp-sustain-photo {
    position: relative;
    width: 100%;
    height: 280px;
  }

  .esp-sustain-photo img {
    object-position: 80% 60%;
  }

  .esp-section-title,
  .esp-sustain h2 {
    font-size: 28px;
  }
}

@media (max-width: 560px) {
  .esp-hero-logo {
    height: 104px;
  }

  .esp-hero h1 {
    font-size: 30px;
  }

  .esp-hero-lead {
    font-size: 17px !important;
  }

  .esp-hero-ctas .btn,
  .esp-sustain .btn,
  .esp-join-ctas .btn {
    width: 100%;
    white-space: normal;
  }

  .esp-join h2 {
    font-size: 24px;
  }
}
