/* =========================================================
   ULTRALINK UK ? Enterprise Software Development Landing Page
   enterprise-software-development.css
   All rules scoped under .esd-page
   ========================================================= */

.esd-page {
  --esd-primary: #1B7A8F;
  --esd-secondary: #2A9DB0;
  --esd-accent: #3FA67A;
  --esd-accent-dark: #2E8562;
  --esd-dark: #0C303E;
  --esd-light: #F5FAFB;
  --esd-white: #FFFFFF;
  --esd-blue: var(--esd-primary);
  --esd-green: var(--esd-accent);
  --esd-navy: var(--esd-dark);
  --esd-muted: #4E6E78;
  --esd-line: rgba(12, 48, 62, 0.1);
  --esd-soft: var(--esd-light);
  --esd-radius: 18px;
  --esd-radius-lg: 24px;
  --esd-shadow: 0 10px 30px rgba(12, 48, 62, 0.07);
  --esd-shadow-hover: 0 22px 48px rgba(27, 122, 143, 0.16);
  --esd-section-y: clamp(72px, 8vw, 120px);
  --esd-grad-primary: linear-gradient(135deg, var(--esd-primary) 0%, var(--esd-secondary) 100%);
  --esd-grad-brand: linear-gradient(135deg, var(--esd-accent) 0%, var(--esd-primary) 100%);
  --esd-grad-dark: linear-gradient(135deg, var(--esd-dark) 0%, var(--esd-primary) 55%, var(--esd-secondary) 100%);
  color: var(--esd-navy);
  overflow-x: clip;
}

.esd-page [class*='esd-'] {
  min-width: 0;
}

.esd-page .section {
  padding: var(--esd-section-y) 0;
}

.esd-page .section > .container {
  max-width: min(1320px, 100%);
}

/* Reveal ? subtle fade/up only */
.esd-page [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.esd-page [data-reveal].revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .esd-page [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .esd-stat-card:hover,
  .esd-pillar-card:hover,
  .esd-capability-card:hover,
  .esd-price-card:hover,
  .esd-step:hover,
  .esd-ready-btn:hover {
    transform: none;
  }
}

.esd-page .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--esd-accent-dark);
  background: rgba(63, 166, 122, 0.12);
  padding: 5px 11px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.esd-section-head {
  max-width: min(1080px, 100%);
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.esd-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.esd-section-head .esd-lead,
.esd-section-head--center .esd-lead {
  margin-left: auto;
  margin-right: auto;
}

.esd-section-head .kicker {
  margin-left: auto;
  margin-right: auto;
}

.esd-section-head h2,
.esd-page .esd-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--esd-navy);
  line-height: 1.15;
}

.esd-section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  margin-bottom: 12px;
}

/* H3 as supporting line ? less competition with H2 */
.esd-section-sub {
  font-family: var(--font-head);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  font-weight: 600;
  color: var(--esd-secondary);
  margin-bottom: 10px;
  line-height: 1.45;
}

.esd-lead,
.esd-pillar-card p,
.esd-capability-card > p,
.esd-journey-step p,
.esd-step-body p {
  color: var(--esd-muted);
  line-height: 1.7;
  font-size: clamp(0.92rem, 1.4vw, 1rem);
}

.esd-lead {
  margin-bottom: 10px;
  max-width: min(920px, 100%);
}

.esd-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(27, 122, 143, 0.12), rgba(63, 166, 122, 0.12));
  color: var(--esd-primary);
  font-size: 1.05rem;
  margin: 0 auto 14px;
  flex-shrink: 0;
}

.esd-card-icon--sm {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 0.92rem;
  margin: 0 auto 10px;
}

.esd-hero-cta .btn,
.esd-challenges-copy .btn,
.esd-challenges-cta .btn,
.esd-ready-inner .btn,
.esd-price-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

/* ============================================================
   BUTTONS ? pill CTAs, gradient primary, teal outline secondary
   ============================================================ */
.esd-page .btn-primary {
  background: var(--esd-grad-primary);
  border: 1px solid transparent;
  color: var(--esd-white);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(27, 122, 143, 0.26);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.esd-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(27, 122, 143, 0.34);
  filter: brightness(1.03);
  color: var(--esd-white);
}

.esd-page .btn-secondary,
.esd-page .btn-outline {
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid var(--esd-primary);
  color: var(--esd-primary);
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.esd-page .btn-secondary:hover,
.esd-page .btn-outline:hover {
  background: rgba(27, 122, 143, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 122, 143, 0.14);
  color: var(--esd-primary);
}

/* ============================================================
   1. HERO ? premium SaaS split composition
   ============================================================ */
.esd-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #eaf5f7 0%, #f5fafb 42%, #ffffff 100%);
  --hero-y: clamp(40px, 5vw, 72px);
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h, 72px) + var(--hero-y)) 0 var(--hero-y);
}

.esd-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.esd-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 48% at 8% 18%, rgba(27, 122, 143, 0.12), transparent 68%),
    radial-gradient(ellipse 42% 38% at 92% 22%, rgba(63, 166, 122, 0.1), transparent 62%),
    radial-gradient(ellipse 36% 30% at 70% 88%, rgba(42, 157, 176, 0.08), transparent 70%);
}

.esd-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(27, 122, 143, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 122, 143, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 55% 35%, #000 15%, transparent 82%);
}

.esd-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.esd-hero-glow--1 {
  width: 320px;
  height: 320px;
  background: rgba(42, 157, 176, 0.16);
  top: -60px;
  right: 8%;
}

.esd-hero-glow--2 {
  width: 240px;
  height: 240px;
  background: rgba(63, 166, 122, 0.14);
  bottom: -40px;
  left: 4%;
}

.esd-hero > .container {
  max-width: min(1320px, 100%);
}

.esd-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: 100%;
  max-width: none;
}

.esd-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 122, 143, 0.1);
  border: 1px solid rgba(27, 122, 143, 0.16);
  color: var(--esd-primary);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.esd-hero-copy h1 {
  font-size: clamp(2.05rem, 3.7vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: none;
}

.esd-hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 600;
  color: var(--esd-primary);
  line-height: 1.4;
  margin-bottom: 16px;
  max-width: min(42ch, 100%);
}

.esd-hero-lead {
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.7;
  color: var(--esd-muted);
  max-width: min(54ch, 100%);
  margin-bottom: 28px;
}

.esd-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.esd-hero-cta .btn {
  min-height: 50px;
  padding-inline: 24px;
  max-width: 100%;
  white-space: normal;
  height: auto;
  text-wrap: balance;
}

.esd-hero-cta .btn-primary {
  box-shadow: 0 14px 30px rgba(27, 122, 143, 0.26);
}

.esd-hero-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.esd-search-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding: 36px 28px 40px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 55% at 85% 90%, rgba(63, 166, 122, 0.28), transparent 60%),
    linear-gradient(160deg, #0b2430 0%, #0c303e 48%, #0a1f28 100%);
  box-shadow:
    0 24px 60px rgba(12, 48, 62, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.esd-search-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 22px;
  padding: 18px 16px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.esd-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3f6f8;
  border: 1px solid rgba(12, 48, 62, 0.08);
  margin-bottom: 14px;
}

.esd-search-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--esd-primary);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(27, 122, 143, 0.16);
}

.esd-search-query {
  display: inline-flex;
  align-items: center;
  min-height: 1.2em;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--esd-navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
}

.esd-search-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--esd-primary);
  border-radius: 1px;
  animation: esdCaretBlink 1s steps(1) infinite;
}

.esd-search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.esd-search-result {
  display: grid;
  grid-template-columns: 18px 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: transparent;
}

.esd-search-result.is-featured {
  grid-template-columns: 18px 28px minmax(0, 1fr) auto;
  background: rgba(63, 166, 122, 0.1);
}

.esd-search-rank {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: #9aa6b2;
  text-align: center;
}

.esd-search-result.is-featured .esd-search-rank {
  color: var(--esd-accent);
}

.esd-search-favicon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e6ebf0;
  flex-shrink: 0;
}

.esd-search-favicon--brand {
  background: var(--esd-grad-brand);
  box-shadow: 0 6px 14px rgba(27, 122, 143, 0.28);
}

.esd-search-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.esd-search-meta strong {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: #7a8794;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.esd-search-result.is-featured .esd-search-meta strong {
  color: var(--esd-navy);
}

.esd-search-meta em {
  font-style: normal;
  font-size: 0.72rem;
  color: #9aa6b2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.esd-search-badge {
  justify-self: end;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--esd-accent-dark);
  background: rgba(63, 166, 122, 0.16);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.esd-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 132px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  animation: esdFloatSoft 4.5s ease-in-out infinite;
}

.esd-float-card strong {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--esd-navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.esd-float-card span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a96a3;
  line-height: 1.3;
}

.esd-float-card--top {
  top: 14px;
  right: 8px;
  animation-delay: 0.4s;
}

.esd-float-card--bottom {
  left: 8px;
  bottom: 16px;
  animation-delay: 1.1s;
}

@keyframes esdCaretBlink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes esdFloatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .esd-search-caret,
  .esd-float-card {
    animation: none;
  }
}

/* ============================================================
   2. TRUST
   ============================================================ */
.esd-trust {
  background: var(--esd-white);
  border-top: 1px solid var(--esd-line);
}

.esd-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  margin-bottom: 32px;
  align-items: stretch;
}

.esd-stat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius-lg);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--esd-shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.esd-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--esd-shadow-hover);
  border-color: rgba(27, 122, 143, 0.22);
}

.esd-stat-value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--esd-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  line-height: 1;
}

.esd-stat-text {
  color: var(--esd-muted);
  font-size: clamp(0.86rem, 1.3vw, 0.95rem);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.esd-logo-marquee {
  overflow: hidden;
  width: 100%;
  padding-top: 22px;
  border-top: 1px solid var(--esd-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.esd-logo-marquee-track {
  display: flex;
  width: max-content;
  animation: esdLogoMarquee 28s linear infinite;
}

.esd-logo-marquee:hover .esd-logo-marquee-track {
  animation-play-state: paused;
}

.esd-logo-set {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  padding-right: clamp(36px, 5vw, 64px);
}

.esd-logo-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 48px;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.esd-logo-item:hover {
  opacity: 1;
}

.esd-logo-item img {
  width: 100%;
  height: 100%;
  max-width: 140px;
  object-fit: contain;
  object-position: center;
}

@keyframes esdLogoMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .esd-logo-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .esd-logo-marquee-track {
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .esd-logo-set {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 20px 28px;
  }

  .esd-logo-set[aria-hidden='true'] {
    display: none;
  }
}

/* ============================================================
   3. CHALLENGES
   ============================================================ */
.esd-page .section.esd-challenges {
  background: linear-gradient(180deg, var(--esd-soft) 0%, #eef7f8 100%);
  padding-bottom: clamp(36px, 4vw, 52px);
}

.esd-challenges-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.esd-browser {
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius-lg);
  box-shadow: var(--esd-shadow);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.esd-browser-top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.esd-browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d7dee8;
}

.esd-browser-dot:nth-child(1) {
  background: #ff6b6b;
}

.esd-browser-dot:nth-child(2) {
  background: #ffd166;
}

.esd-browser-dot:nth-child(3) {
  background: var(--esd-accent);
}

.esd-browser-url {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--esd-soft);
  border: 1px solid var(--esd-line);
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--esd-navy);
  overflow: hidden;
}

.esd-browser-url-static {
  color: var(--esd-muted);
  white-space: nowrap;
}

.esd-browser-url-query {
  display: inline-flex;
  align-items: center;
  color: var(--esd-navy);
  white-space: nowrap;
}

.esd-browser-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.esd-browser-result {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
}

.esd-browser-result.is-low {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  background: rgba(196, 122, 58, 0.1);
}

.esd-browser-favicon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #d7dee8;
  flex-shrink: 0;
}

.esd-browser-favicon--ok {
  background: var(--esd-grad-brand);
  box-shadow: 0 6px 14px rgba(27, 122, 143, 0.22);
}

.esd-browser-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.esd-browser-meta strong {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--esd-navy);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.esd-browser-result.is-low .esd-browser-meta strong {
  color: #8a96a3;
}

.esd-browser-meta em {
  font-style: normal;
  font-size: 0.72rem;
  color: #9aa6b2;
}

.esd-browser-badge {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #a56a2c;
  background: rgba(196, 122, 58, 0.16);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}

.esd-challenge-list {
  list-style: none;
  margin: 0;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius-lg);
  box-shadow: var(--esd-shadow);
  overflow: hidden;
}

.esd-challenge-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--esd-navy);
  border-bottom: 1px solid var(--esd-line);
}

.esd-challenge-list li:last-child {
  border-bottom: 0;
}

.esd-challenge-list i {
  color: var(--esd-secondary);
  margin-top: 3px;
  flex-shrink: 0;
}

.esd-challenges-cta {
  display: flex;
  justify-content: center;
}

.esd-challenges-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Shared check lists used elsewhere */
.esd-check-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius-lg);
  padding: clamp(20px, 2.8vw, 28px);
  box-shadow: var(--esd-shadow);
}

.esd-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--esd-navy);
  padding: 8px 6px;
  border-radius: 12px;
}

.esd-check-list li:nth-child(odd) {
  background: rgba(245, 250, 251, 0.9);
}

.esd-check-list i {
  color: var(--esd-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   4. APPROACH
   ============================================================ */
.esd-page .section.esd-approach {
  background: var(--esd-white);
  padding-top: clamp(36px, 4vw, 52px);
}

.esd-approach-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.esd-regulated {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(63, 166, 122, 0.12), transparent 42%),
    linear-gradient(160deg, #eaf5f7 0%, #f5fafb 55%, #eef7f8 100%);
  border: 1px solid var(--esd-line);
  box-shadow: var(--esd-shadow);
}

.esd-regulated-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(118px, 34%, 148px);
  height: clamp(118px, 34%, 148px);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--esd-grad-primary);
  color: var(--esd-white);
  box-shadow:
    0 0 0 14px rgba(27, 122, 143, 0.1),
    0 18px 40px rgba(27, 122, 143, 0.28);
  z-index: 2;
}

.esd-regulated-core i {
  font-size: 1.45rem;
}

.esd-regulated-core span {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.esd-regulated-node {
  position: absolute;
  z-index: 1;
  width: clamp(58px, 16%, 72px);
  height: clamp(58px, 16%, 72px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--esd-white);
  color: var(--esd-primary);
  font-family: var(--font-head);
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(12, 48, 62, 0.1);
  border: 1px solid rgba(27, 122, 143, 0.1);
}

.esd-regulated-node:nth-child(2) {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.esd-regulated-node:nth-child(3) {
  top: 24%;
  right: 8%;
}

.esd-regulated-node:nth-child(4) {
  bottom: 14%;
  right: 14%;
}

.esd-regulated-node:nth-child(5) {
  bottom: 14%;
  left: 14%;
}

.esd-regulated-node:nth-child(6) {
  top: 36%;
  left: 6%;
}

.esd-approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.esd-approach-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--esd-line);
}

.esd-approach-item:first-child {
  padding-top: 0;
}

.esd-approach-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.esd-approach-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--esd-white);
  background: var(--esd-grad-primary);
  box-shadow: 0 10px 22px rgba(27, 122, 143, 0.22);
  flex-shrink: 0;
}

.esd-approach-body h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--esd-navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.esd-approach-body p {
  color: var(--esd-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.esd-approach-body p + p {
  margin-top: 8px;
}

/* Legacy pillar styles kept for safety if reused */
.esd-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
}

.esd-pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius);
  padding: clamp(22px, 2.6vw, 28px);
  box-shadow: var(--esd-shadow);
  text-align: left;
  align-items: flex-start;
  overflow: hidden;
}

/* ============================================================
   5. SERVICES GRID
   ============================================================ */
.esd-page .section.esd-expertise {
  background: linear-gradient(180deg, var(--esd-soft) 0%, #fff 55%);
}

.esd-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 32px) clamp(28px, 4vw, 48px);
  max-width: min(1080px, 100%);
  margin: 0 auto;
}

.esd-service-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.esd-service-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--esd-white);
  background: var(--esd-grad-primary);
  box-shadow: 0 8px 18px rgba(27, 122, 143, 0.2);
  flex-shrink: 0;
}

.esd-service-item:nth-child(even) .esd-service-mark {
  background: var(--esd-accent);
  box-shadow: 0 8px 18px rgba(63, 166, 122, 0.22);
}

.esd-service-body h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--esd-navy);
  margin: 0 0 6px;
  line-height: 1.3;
}

.esd-service-body p {
  margin: 0;
  color: var(--esd-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .esd-service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   6. CAPABILITIES
   ============================================================ */
.esd-capabilities {
  background: var(--esd-white);
}

.esd-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
  align-items: stretch;
}

.esd-capability-card {
  position: relative;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius);
  padding: clamp(22px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--esd-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
  align-items: flex-start;
  overflow: hidden;
}

.esd-capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--esd-primary);
}

.esd-capability-card:nth-child(even)::before {
  background: var(--esd-accent);
}

.esd-capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--esd-shadow-hover);
  border-color: rgba(27, 122, 143, 0.22);
}

.esd-capability-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--esd-white);
  background: var(--esd-primary);
  box-shadow: 0 10px 22px rgba(27, 122, 143, 0.2);
}

.esd-capability-mark--sm {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 0.72rem;
  margin-bottom: 12px;
}

.esd-capability-card:nth-child(even) .esd-capability-mark {
  background: var(--esd-accent);
  box-shadow: 0 10px 22px rgba(63, 166, 122, 0.22);
}

.esd-capability-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--esd-navy);
}

.esd-capability-card > p {
  margin-bottom: 18px;
  flex: 1;
  text-align: left;
}

.esd-activity-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  width: 100%;
}

.esd-activity-chips li {
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--esd-primary);
  background: rgba(27, 122, 143, 0.08);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ============================================================
   7. CONNECTED JOURNEY
   ============================================================ */
.esd-connected {
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(42, 157, 176, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 80%, rgba(63, 166, 122, 0.12), transparent 50%),
    linear-gradient(165deg, #071f28 0%, var(--esd-dark) 45%, #0a3848 100%);
  color: rgba(255, 255, 255, 0.88);
}

.esd-connected-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--esd-secondary);
  margin: 0 0 14px;
}

.esd-connected-head h2 {
  color: var(--esd-white);
}

.esd-connected-head .esd-lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: min(760px, 100%);
}

.esd-journey {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-width: min(720px, 100%);
  gap: 0;
}

.esd-journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
  padding: 0 0 36px;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
}

.esd-journey-step:last-child {
  padding-bottom: 0;
}

.esd-journey-step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 21px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(42, 157, 176, 0.55) 0%,
    rgba(63, 166, 122, 0.35) 100%
  );
}

.esd-journey-num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--esd-white);
  background: rgba(7, 31, 40, 0.92);
  border: 2px solid var(--esd-secondary);
  box-shadow: 0 0 0 6px rgba(42, 157, 176, 0.12);
}

.esd-journey-body {
  padding-top: 6px;
  min-width: 0;
}

.esd-journey-step h3 {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 750;
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--esd-white);
  text-align: left;
}

.esd-journey-step p {
  margin: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.92rem, 1.4vw, 1rem);
  line-height: 1.7;
}

/* ============================================================
   9. FRAMEWORK
   ============================================================ */
.esd-framework {
  background: linear-gradient(180deg, #eef7f8 0%, #fff 100%);
}

.esd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

.esd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 14px;
  text-align: center;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius);
  padding: 22px 20px;
  box-shadow: var(--esd-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.esd-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--esd-shadow-hover);
  border-color: rgba(27, 122, 143, 0.22);
}

.esd-step-num {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--esd-white);
  background: var(--esd-grad-brand);
  margin: 0 auto;
  flex-shrink: 0;
}

.esd-step-body {
  max-width: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.esd-step-body h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Center the last two cards on the second row */
@media (min-width: 901px) {
  .esd-steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .esd-step {
    grid-column: span 2;
  }

  .esd-step:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .esd-step:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ============================================================
   10. PACKAGES
   ============================================================ */
.esd-packages {
  background: linear-gradient(180deg, var(--esd-soft) 0%, #eef7f8 100%);
}

.esd-includes {
  max-width: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius-lg);
  padding: clamp(24px, 3.2vw, 36px) clamp(22px, 3vw, 40px);
  box-shadow: var(--esd-shadow);
}

.esd-includes-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--esd-navy);
  margin: 0 0 clamp(18px, 2.4vw, 24px);
  text-align: center;
}

.esd-includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 28px;
}

.esd-includes li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 550;
  color: var(--esd-navy);
  text-align: left;
}

.esd-includes li i {
  color: var(--esd-secondary);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.esd-includes li span {
  min-width: 0;
}

.esd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
  align-items: stretch;
}

.esd-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius-lg);
  padding: clamp(24px, 2.8vw, 30px) clamp(20px, 2.2vw, 26px);
  box-shadow: var(--esd-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  align-items: center;
}

.esd-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--esd-shadow-hover);
  border-color: rgba(27, 122, 143, 0.24);
}

.esd-price-card--featured {
  border-color: rgba(27, 122, 143, 0.32);
  box-shadow: 0 16px 40px rgba(27, 122, 143, 0.16);
}

.esd-price-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: var(--esd-grad-brand);
}

.esd-price-card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 750;
  margin-bottom: 12px;
  line-height: 1.25;
}

.esd-price-suitable {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--esd-muted);
  margin-bottom: 16px;
  flex: 1;
}

.esd-price-suitable span {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--esd-primary);
  margin-bottom: 5px;
}

.esd-price-value {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--esd-navy);
  margin-bottom: 16px;
}

.esd-price-cta {
  margin-top: auto;
  width: 100%;
  white-space: normal;
  height: auto;
  min-height: 48px;
  padding: 12px 14px;
  line-height: 1.3;
}

.esd-price-cta span {
  text-wrap: balance;
}

/* ============================================================
   11. AGENCY COMPARISON
   ============================================================ */
.esd-agency {
  background: var(--esd-white);
}

.esd-compare-wrap {
  border-radius: var(--esd-radius-lg);
  border: 1px solid var(--esd-line);
  box-shadow: var(--esd-shadow);
  background: var(--esd-white);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.esd-compare {
  width: 100%;
  border-collapse: collapse;
}

.esd-compare th,
.esd-compare td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
  line-height: 1.5;
}

.esd-compare thead th {
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 0.92rem;
  background: var(--esd-soft);
  color: var(--esd-navy);
  border-bottom: 1px solid var(--esd-line);
  width: 50%;
}

.esd-compare thead th:last-child {
  background: linear-gradient(135deg, rgba(27, 122, 143, 0.1), rgba(63, 166, 122, 0.1));
  color: var(--esd-primary);
}

.esd-compare tbody tr + tr td {
  border-top: 1px solid var(--esd-line);
}

.esd-compare td {
  color: var(--esd-muted);
}

.esd-compare td:last-child {
  color: var(--esd-navy);
  background: rgba(27, 122, 143, 0.035);
}

.esd-compare td i {
  margin-right: 8px;
  width: 1em;
  flex-shrink: 0;
  text-align: center;
}

.esd-compare td span {
  display: inline;
}

.esd-compare td:first-child i {
  color: #c45a5a;
}

.esd-compare td:last-child i {
  color: var(--esd-accent);
}

/* ============================================================
   12. READY BAND ? quieter; form is primary convert
   ============================================================ */
.esd-ready {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6.5vw, 84px) 0;
  background: var(--esd-grad-dark);
  color: var(--esd-white);
}

.esd-ready::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 55% at 85% 15%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.esd-ready-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.esd-ready-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.9vw, 2.1rem);
  font-weight: 800;
  color: var(--esd-white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.esd-ready-inner p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  margin-bottom: 10px;
}

.esd-ready-btn {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--esd-white) !important;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  min-height: 48px;
  padding-inline: 22px;
  max-width: 100%;
  white-space: normal;
  height: auto;
  text-wrap: balance;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.esd-ready-btn:hover {
  background: var(--esd-white);
  color: var(--esd-primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

/* ============================================================
   13. FAQ + CONTACT within page
   ============================================================ */
.esd-page .esd-faq {
  background: var(--esd-soft);
  padding-top: var(--esd-section-y);
  padding-bottom: calc(var(--esd-section-y) * 0.75);
}

.esd-page .esd-faq .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.esd-page .esd-faq .acc-item {
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius);
  box-shadow: var(--esd-shadow);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.esd-page .esd-faq .acc-item:hover {
  border-color: rgba(27, 122, 143, 0.2);
}

.esd-page .esd-faq .acc-item.is-open,
.esd-page .esd-faq .acc-item[open] {
  border-color: rgba(27, 122, 143, 0.28);
  box-shadow: var(--esd-shadow-hover);
}

.esd-page .esd-faq .acc-header {
  min-height: 52px;
  padding-block: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--esd-navy);
  cursor: pointer;
  transition: color 0.2s ease;
}

.esd-page .esd-faq .acc-header:hover {
  color: var(--esd-primary);
}

.esd-page .esd-faq .acc-item + .acc-item {
  margin-top: 10px;
}

.esd-page .esd-faq .acc-body {
  color: var(--esd-muted);
  line-height: 1.7;
}

/* Shared contact CTA ? keep site-wide final-cta look (do not restyle) */
.esd-page .final-cta,
.esd-page .esd-contact {
  padding-top: calc(var(--esd-section-y) * 0.85);
}

.esd-page .final-cta .cta-grid,
.esd-page .esd-contact .cta-grid {
  align-items: start;
}

/* Restore Ultralink brand button inside contact form */
.esd-page .final-cta .btn-primary,
.esd-page .esd-contact .btn-primary {
  background: var(--grad-brand);
  border: none;
  border-radius: var(--radius, 12px);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 99, 251, 0.3);
  filter: none;
}

.esd-page .final-cta .btn-primary:hover,
.esd-page .esd-contact .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 99, 251, 0.42);
  filter: none;
  color: #fff;
}

.esd-page .btn:focus-visible,
.esd-page .esd-faq .acc-header:focus-visible,
.esd-page a:focus-visible {
  outline: 2px solid var(--esd-secondary);
  outline-offset: 3px;
}

.esd-page .final-cta a:focus-visible,
.esd-page .esd-contact a:focus-visible,
.esd-page .final-cta .btn:focus-visible,
.esd-page .esd-contact .btn:focus-visible {
  outline-color: var(--blue, #1263FB);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .esd-hero-inner {
    gap: clamp(22px, 3vw, 40px);
  }

  .esd-search-stage {
    max-width: 420px;
    padding: 32px 22px 36px;
  }
}

@media (max-width: 1100px) {
  .esd-capability-grid,
  .esd-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esd-capability-grid .esd-capability-card:last-child:nth-child(odd),
  .esd-pricing-grid .esd-price-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 1024px) {
  .esd-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esd-includes ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esd-challenges-layout {
    grid-template-columns: 1fr;
  }

  .esd-approach-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .esd-regulated {
    max-width: 360px;
  }

  .esd-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .esd-hero-copy {
    text-align: center;
  }

  .esd-hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .esd-hero-cta {
    justify-content: center;
  }

  .esd-hero-visual {
    min-height: 0;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .esd-search-stage {
    max-width: 100%;
  }

  .esd-hero-sub,
  .esd-hero-lead,
  .esd-hero-copy h1 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

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

  .esd-pillar-grid .esd-pillar-card {
    grid-column: auto;
  }

  .esd-pillar-grid .esd-pillar-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }

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

  .esd-pricing-grid .esd-price-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }

  .esd-capability-grid .esd-capability-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }

  .esd-hero {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .esd-journey-step {
    gap: 14px 16px;
    padding-bottom: 28px;
  }

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

  .esd-step,
  .esd-step:nth-child(4),
  .esd-step:nth-child(5) {
    grid-column: auto;
  }

  .esd-step:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .esd-float-card--top {
    top: 8px;
    right: 4px;
    min-width: 118px;
    padding: 10px 12px;
  }

  .esd-float-card--bottom {
    left: 4px;
    bottom: 10px;
    min-width: 118px;
    padding: 10px 12px;
  }

  .esd-float-card strong {
    font-size: 1.15rem;
  }

  .esd-search-stage {
    padding: 28px 16px 32px;
  }

  .esd-page .section {
    --esd-section-y: clamp(48px, 8vw, 72px);
  }

  .esd-stats {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .esd-pillar-grid,
  .esd-capability-grid,
  .esd-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .esd-pillar-grid .esd-pillar-card:last-child,
  .esd-capability-grid .esd-capability-card:last-child,
  .esd-pricing-grid .esd-price-card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  .esd-includes ul {
    grid-template-columns: 1fr;
  }

  .esd-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .esd-hero-cta .btn,
  .esd-challenges-cta .btn,
  .esd-ready-btn {
    width: 100%;
    white-space: normal;
    height: auto;
    min-height: 48px;
  }

  .esd-steps {
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .esd-step,
  .esd-step:nth-child(4),
  .esd-step:nth-child(5) {
    grid-column: auto;
  }

  .esd-step {
    gap: 12px;
    padding: 16px;
  }

  .esd-step-num {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .esd-compare,
  .esd-compare tbody,
  .esd-compare tr,
  .esd-compare td {
    display: block;
    width: 100%;
  }

  .esd-compare thead {
    display: none;
  }

  .esd-compare tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--esd-line);
  }

  .esd-compare tr:last-child {
    border-bottom: 0;
  }

  .esd-compare td {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border: 0 !important;
    background: transparent !important;
  }

  .esd-compare td + td {
    padding-top: 10px;
    border-top: 1px dashed rgba(27, 122, 143, 0.18) !important;
  }

  .esd-compare td::before {
    content: attr(data-label);
    display: block;
    flex: 0 0 100%;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--esd-primary);
    margin-bottom: 2px;
  }
}

@media (max-width: 600px) {
  .esd-logo-set {
    gap: 24px 28px;
  }
}

@media (max-width: 480px) {
  .esd-hero {
    --hero-y: 36px;
  }

  .esd-logo-set {
    gap: 24px 32px;
  }

  .esd-logo-item {
    width: 110px;
    height: 36px;
  }

  .esd-price-cta {
    font-size: 0.88rem;
  }

  .esd-section-head {
    margin-bottom: 22px;
  }
}

@media (max-width: 375px) {
  .esd-hero-copy h1 {
    font-size: 1.7rem;
  }

  .esd-stat-card,
  .esd-pillar-card,
  .esd-capability-card,
  .esd-price-card {
    padding: 16px;
  }
}

@media (min-width: 1440px) {
  .esd-hero-inner {
    max-width: none;
    gap: 64px;
  }

  .esd-section-head {
    max-width: min(1080px, 100%);
  }
}

/* ============================================================
   ESD PAGE EXTENSIONS ? challenges, outcomes, security, tech,
   industries, why, chips, kicker
   ============================================================ */

.esd-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--esd-accent-dark);
  background: rgba(63, 166, 122, 0.12);
  padding: 5px 11px;
  border-radius: 8px;
  margin: 0 auto 12px;
}

.esd-trust .esd-section-head {
  margin-bottom: 18px;
}

.esd-trust .esd-logo-marquee {
  border-top: 0;
  padding-top: 8px;
}

/* Challenge cards */
.esd-challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

.esd-challenge-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius);
  padding: clamp(20px, 2.4vw, 26px);
  box-shadow: var(--esd-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
}

.esd-challenge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--esd-shadow-hover);
  border-color: rgba(27, 122, 143, 0.22);
}

.esd-challenge-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--esd-white);
  background: var(--esd-grad-primary);
  box-shadow: 0 8px 18px rgba(27, 122, 143, 0.2);
  margin-bottom: 14px;
}

.esd-challenge-card:nth-child(even) .esd-challenge-mark {
  background: var(--esd-accent);
  box-shadow: 0 8px 18px rgba(63, 166, 122, 0.22);
}

.esd-challenge-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 750;
  margin: 0 0 8px;
  color: var(--esd-navy);
  line-height: 1.3;
}

.esd-challenge-card p {
  margin: 0;
  color: var(--esd-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

/* Outcomes */
.esd-page .section.esd-outcomes {
  background: linear-gradient(180deg, var(--esd-soft) 0%, #fff 100%);
}

.esd-outcomes-body {
  max-width: min(980px, 100%);
  margin: 0 auto;
}

.esd-list-lead {
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--esd-navy);
  line-height: 1.4;
  margin: 0 0 18px;
}

.esd-list-lead--center {
  text-align: center;
  max-width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.esd-check-list--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.esd-check-list--split li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-height: 0;
}

@media (max-width: 768px) {
  .esd-check-list--split {
    grid-template-columns: 1fr;
  }
}

.esd-check-list--positive li i {
  color: var(--esd-accent);
}

.esd-result {
  margin: 22px auto 0;
  max-width: min(920px, 100%);
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-head);
  font-weight: 750;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  color: var(--esd-navy);
  text-align: center;
}

.esd-comparison-closing {
  max-width: min(920px, 100%);
  margin: clamp(24px, 3vw, 36px) auto 0;
  text-align: center;
}

.esd-comparison-closing .esd-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Services CTA */
.esd-services-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3.5vw, 40px);
}

.esd-services-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* AI chip grid */
.esd-chip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.esd-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--esd-navy);
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 4px 14px rgba(12, 48, 62, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.esd-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 122, 143, 0.22);
  box-shadow: var(--esd-shadow);
}

/* Security */
.esd-page .section.esd-security {
  background: linear-gradient(180deg, #eef7f8 0%, var(--esd-soft) 100%);
}

.esd-security-content {
  max-width: min(1120px, 100%);
  margin: 0 auto;
}

.esd-security-panel-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.8vw, 28px);
}

.esd-security-panel-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--esd-primary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(27, 122, 143, 0.12);
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(12, 48, 62, 0.04);
}

.esd-security-panel-lead {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 750;
  font-size: 1.05rem;
  color: var(--esd-navy);
  line-height: 1.35;
}

.esd-security-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
}

.esd-security-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  min-height: 118px;
  background: var(--esd-white);
  border: 1px solid rgba(12, 48, 62, 0.08);
  border-radius: 16px;
  padding: 18px 16px 20px;
  box-shadow: 0 8px 22px rgba(12, 48, 62, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.esd-security-card:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 122, 143, 0.2);
  box-shadow: 0 12px 28px rgba(12, 48, 62, 0.08);
}

.esd-security-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin: 0 auto;
  color: var(--esd-primary);
  background: #F5FAFB;
  border: 1px solid rgba(27, 122, 143, 0.1);
  font-size: 0.95rem;
}

.esd-security-card:nth-child(even) .esd-security-icon {
  color: var(--esd-secondary);
}

.esd-security-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--esd-navy);
  overflow-wrap: anywhere;
}

/* Tech */
.esd-page .section.esd-tech {
  background: var(--esd-white);
}

.esd-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

.esd-tech-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius);
  padding: clamp(20px, 2.5vw, 26px);
  box-shadow: var(--esd-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  position: relative;
}

.esd-tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--esd-grad-primary);
}

.esd-tech-card:nth-child(2)::before {
  background: var(--esd-accent);
}

.esd-tech-card:nth-child(3)::before {
  background: var(--esd-grad-brand);
}

.esd-tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--esd-shadow-hover);
  border-color: rgba(27, 122, 143, 0.2);
}

.esd-tech-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--esd-line);
}

.esd-tech-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--esd-white);
  background: var(--esd-grad-primary);
  box-shadow: 0 8px 18px rgba(27, 122, 143, 0.2);
  font-size: 1rem;
}

.esd-tech-card:nth-child(2) .esd-tech-mark {
  background: var(--esd-accent);
  box-shadow: 0 8px 18px rgba(63, 166, 122, 0.22);
}

.esd-tech-card:nth-child(3) .esd-tech-mark {
  background: var(--esd-grad-brand);
}

.esd-tech-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 750;
  margin: 0;
  color: var(--esd-navy);
  line-height: 1.3;
}

.esd-tech-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  flex: 1;
}

.esd-tech-card li {
  font-size: 0.9rem;
  color: var(--esd-muted);
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
  overflow-wrap: anywhere;
}

.esd-tech-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--esd-secondary);
}

/* Industries */
.esd-page .section.esd-industries {
  background: linear-gradient(180deg, var(--esd-soft) 0%, #eef7f8 100%);
}

.esd-industry-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.esd-industry-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--esd-navy);
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 0 4px 14px rgba(12, 48, 62, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.esd-industry-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 122, 143, 0.22);
  box-shadow: var(--esd-shadow);
}

/* Why */
.esd-page .section.esd-why {
  background: var(--esd-white);
}

.esd-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

.esd-why-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--esd-soft);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius);
  padding: clamp(20px, 2.4vw, 26px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.esd-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--esd-shadow-hover);
  border-color: rgba(27, 122, 143, 0.2);
  background: var(--esd-white);
}

.esd-why-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 750;
  margin: 0 0 8px;
  color: var(--esd-navy);
  line-height: 1.3;
}

.esd-why-card p {
  margin: 0;
  color: var(--esd-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

/* Hero consecutive leads */
.esd-hero-lead + .esd-hero-lead {
  margin-top: -12px;
}

@media (prefers-reduced-motion: reduce) {
  .esd-challenge-card:hover,
  .esd-security-card:hover,
  .esd-tech-card:hover,
  .esd-why-card:hover,
  .esd-chip:hover,
  .esd-industry-chip:hover {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .esd-challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .esd-tech-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  .esd-challenge-grid,
  .esd-why-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .esd-security-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .esd-services-cta .btn {
    width: 100%;
    white-space: normal;
    height: auto;
    min-height: 48px;
  }

  .esd-security-panel-head {
    flex-direction: column;
    text-align: center;
  }
}

/* Approach: 6-step grid (override HSEO 5-step centering) */
@media (min-width: 901px) {
  .esd-page .esd-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .esd-page .esd-step,
  .esd-page .esd-step:nth-child(4),
  .esd-page .esd-step:nth-child(5) {
    grid-column: auto;
  }
}
