/* ==========================================================================
   executive-summary.css — Arabic executive summary page
   ========================================================================== */

:root {
  --es-teal: #00948f;
  --es-teal-mid: #009892;
  --es-teal-dark: #006c67;
  --es-teal-accent: #01938e;
  --es-teal-soft: #e4f3f1;
  --es-mint: #d9e8e9;
  --es-mint-card: #d7eceb;
  --es-ink: #18302f;
  --es-muted: #6b7280;
  --es-line: rgba(0, 148, 143, 0.22);
  --es-shadow: 0 18px 46px -32px rgba(13, 78, 73, 0.45);
  --es-num: #8dcfc5;
  --es-max: 1528px;
}

.executive-summary {
  background: #ffffff;
  color: var(--es-ink);
  font-family: "Cairo", "Almarai", sans-serif;
  overflow-x: clip;
  max-width: 100%;
}

/* Hero gradient overlay (Figma) */
.c-hero--es2 .c-hero__overlay {
  background: linear-gradient(
    110.95deg,
    #00948f -6.17%,
    rgba(0, 102, 99, 0.85) 93.83%
  );
}

.executive-summary .c-hero__title {
  margin-bottom: 0;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 65px);
  line-height: 1;
}

.executive-summary + .site-footer {
  margin-top: 0;
}

.es-section {
  padding-block: clamp(58px, 8vw, 112px);
}

.es-section.section--tight {
  padding-block: clamp(40px, 6vw, 76px);
}

.es-section--soft {
  background: #ffffff;
}

/* ------ Overview grid (strategy + programs + deposit) — Figma -------- */
.es-overview {
  padding-top: clamp(20px, 3.5vw, 40px);
  padding-bottom: clamp(24px, 4vw, 40px);
  background: #ffffff;
}

.es-overview > .container,
.es-services > .container,
.es-dev > .container,
.es-advisor2 > .container,
#satisfaction > .container,
.es-digital > .container {
  max-width: var(--es-max);
  padding-inline: clamp(20px, 3vw, 40px);
}

/* Figma ratio: 403 strategy | 1020 programs — fills wider desktop container */
.es-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 403fr) minmax(0, 1020fr);
  gap: clamp(10px, 1.5vw, 16px);
  align-items: stretch;
  width: 100%;
}

.es-overview__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.5vw, 16px);
  min-width: 0;
}

.es-overview .es-panel {
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: transparent;
  border: none;
  gap: clamp(10px, 1.5vw, 16px);
}

/* Rectangle 156/157 — header 52px #009892 */
.es-overview .es-panel__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  min-height: 52px;
  padding: 8px 20px;
  background: #009892;
  color: #ffffff;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  text-align: right;
}

/* Rectangle 161 — deposit header 58px */
.es-overview .es-panel__head--deposit {
  height: auto;
  min-height: 58px;
  line-height: 1.25;
  padding-block: 10px;
}

/* Rectangle 158 — strategy body */
.es-overview .es-panel--strategy .es-panel__body {
  flex: 1;
  min-height: 480px;
  padding: 22px 24px;
}

.es-overview .es-panel--strategy .es-panel__text {
  flex-shrink: 0;
  max-width: 374px;
  margin-inline-start: auto;
}

/* Rectangle 159 — programs body 337px */
.es-overview .es-panel--programs .es-panel__body {
  min-height: 337px;
}

/* Rectangle 162 — deposit body 97px */
.es-overview .es-panel__body--deposit {
  min-height: 97px;
}

.es-overview .es-panel__body {
  display: flex;
  flex-direction: column;
  padding: 26px 27px;
  background: #d9e8e9;
  gap: 0;
}

.es-overview .es-panel__text {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #6b7280;
  text-align: right;
}

.es-overview .es-panel__text-em {
  display: block;
  margin-top: 4px;
  font-family: inherit;
  font-weight: 700;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.es-overview .es-panel__text--intro {
  margin-bottom: 12px;
}

.es-overview .es-panel__subhead {
  margin: 0 0 14px;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #6b7280;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .es-overview .es-panel__subhead {
    white-space: normal;
  }
}

.es-overview .es-panel--strategy .es-panel__text-em {
  margin-top: 6px;
}

.es-overview .es-panel--strategy .es-panel__metrics {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  min-height: 0;
  margin-top: 18px;
  padding-top: 0;
  gap: 0;
}

.es-overview .es-panel--strategy .es-panel-metric {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
  width: 100%;
  max-width: none;
  padding-inline: 8px;
  min-height: 0;
}

.es-overview .es-panel--strategy .es-panel-metric__figure {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.es-overview .es-panel--strategy .es-panel-metric__num {
  display: block;
  align-self: stretch;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 28px;
  color: #01938e;
  direction: ltr;
  text-align: right;
}

.es-overview .es-panel--strategy .es-panel-metric__unit {
  display: block;
  align-self: flex-start;
  margin-top: 6px;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 12px;
  color: #01938e;
  text-align: right;
}

.es-overview .es-panel--strategy .es-panel-metric__unit-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 4px;
  margin-top: 6px;
}

.es-overview .es-panel--strategy .es-panel-metric__riyal {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #5b5c5e;
}

.es-overview .es-panel--strategy .es-panel-metric__cap {
  flex: 1;
  max-width: 190px;
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 17px;
  color: #5b5c5e;
  text-align: right;
}

.es-overview
  .es-panel--strategy
  .es-panel-metric__unit-row
  .es-panel-metric__unit {
  margin-top: 0;
}

.es-overview .es-programs-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  row-gap: 24px;
  align-items: start;
  margin-top: auto;
}

.es-overview .es-program-stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 6px;
  align-items: center;
  min-width: 0;
}

.es-overview .es-program-stat__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  width: 63px;
  height: 63px;
  object-fit: contain;
  margin: 0;
}

.es-overview .es-program-stat__text {
  grid-column: 2;
  min-width: 0;
  text-align: right;
}

.es-overview .es-program-stat__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0;
}

.es-overview .es-program-stat__value {
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 31px;
  color: #01938e;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
  align-self: stretch;
}

.es-overview .es-program-stat__unit {
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 31px;
  color: #6b7280;
  margin-top: 2px;
}

.es-overview .es-program-stat__desc {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 31px;
  color: #6b7280;
}

.es-overview .es-panel__body--deposit {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 20px);
  padding-block: 16px;
}

.es-overview .es-deposit__pct {
  flex-shrink: 0;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 50px;
  line-height: 28px;
  color: #009892;
  direction: ltr;
}

.es-overview .es-deposit__desc {
  flex: 0 1 auto;
  margin: 0;
  max-width: 534px;
  font-family: "Cairo", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #6b7280;
  text-align: right;
}

@media (max-width: 1024px) {
  .es-overview__grid {
    grid-template-columns: 1fr;
  }

  .es-overview .es-panel--strategy .es-panel__body,
  .es-overview .es-panel--programs .es-panel__body {
    min-height: 0;
  }
}

/* Strategy panel — tablet: text + metrics side by side */
@media (min-width: 541px) and (max-width: 1024px) {
  .es-overview .es-panel--strategy .es-panel__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
    min-height: 0;
  }

  .es-overview .es-panel--strategy .es-panel__text {
    max-width: none;
    margin-inline: 0;
    align-self: start;
  }

  /* EN: metrics left, text right */
  [dir="ltr"] .es-overview .es-panel--strategy .es-panel__text {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  [dir="ltr"] .es-overview .es-panel--strategy .es-panel__metrics {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
  }

  /* AR: metrics on the right, text on the left — starts from inline-start (right) */
  [dir="rtl"] .es-overview .es-panel--strategy .es-panel__body {
    direction: rtl;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel__text {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel__metrics {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
  }

  .es-overview .es-panel--strategy .es-panel__metrics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(20px, 4vw, 36px);
    margin-top: 0;
    width: 100%;
    min-height: 0;
    grid-template-rows: unset;
  }

  .es-overview .es-panel--strategy .es-panel-metric {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding-inline: 0;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel-metric {
    align-items: flex-start;
  }

  .es-overview .es-panel--strategy .es-panel-metric__figure {
    align-items: flex-start;
    text-align: start;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel-metric__figure {
    align-items: flex-start;
    text-align: right;
  }

  [dir="ltr"] .es-overview .es-panel--strategy .es-panel-metric__num {
    text-align: left;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel-metric__num {
    text-align: right;
  }

  [dir="ltr"] .es-overview .es-panel--strategy .es-panel-metric__unit {
    align-self: flex-start;
    text-align: left;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel-metric__unit {
    align-self: flex-start;
    text-align: right;
  }

  [dir="ltr"] .es-overview .es-panel--strategy .es-panel-metric__unit-row {
    align-self: flex-start;
    justify-content: flex-start;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel-metric__unit-row {
    align-self: flex-start;
    justify-content: flex-start;
  }

  .es-overview .es-panel--strategy .es-panel-metric__cap {
    max-width: none;
    text-align: start;
  }

  [dir="ltr"] .es-overview .es-panel--strategy .es-panel-metric__cap {
    text-align: left;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel-metric__cap {
    text-align: right;
  }
}

@media (max-width: 540px) {
  .es-overview .es-programs-row {
    grid-template-columns: 1fr;
  }

  .es-overview .es-panel__body--deposit {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .es-overview .es-deposit__desc {
    max-width: none;
    text-align: center;
  }

  .es-overview .es-deposit__pct {
    align-self: center;
  }

  .es-overview .es-panel--strategy .es-panel-metric {
    flex-direction: column;
    text-align: center;
  }

  .es-overview .es-panel--strategy .es-panel-metric__cap {
    text-align: center;
    max-width: none;
  }
}

/* Strategy metrics — mobile: unit beside number, clearer vertical rhythm */
@media (max-width: 768px) {
  .es-overview .es-panel--strategy .es-panel__metrics {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 5vw, 32px);
    grid-template-rows: unset;
  }

  .es-overview .es-panel--strategy .es-panel-metric {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(6px, 1.5vw, 10px);
    padding-inline: 0;
  }

  .es-overview .es-panel--strategy .es-panel-metric__figure {
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.35em;
    text-align: center;
  }

  [dir="rtl"] .es-overview .es-panel--strategy .es-panel-metric__figure {
    flex-direction: row;
    justify-content: center;
  }

  .es-overview .es-panel--strategy .es-panel-metric__num {
    display: inline;
    align-self: auto;
    width: auto;
    line-height: 1.1;
    text-align: inherit;
  }

  .es-overview .es-panel--strategy .es-panel-metric__unit {
    display: inline;
    margin-top: 0;
    align-self: auto;
    line-height: 1.1;
  }

  .es-overview .es-panel--strategy .es-panel-metric__unit-row {
    display: inline-flex;
    margin-top: 0;
    align-self: auto;
    vertical-align: baseline;
  }

  .es-overview .es-panel--strategy .es-panel-metric__cap {
    text-align: center;
    max-width: none;
  }
}

.es-section--tint {
  background: #eef8f6;
}

.es-section--teal {
  background: linear-gradient(135deg, #00948f 0%, #22a99e 100%);
  color: #ffffff;
}

.es-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.es-title {
  margin: 0;
  color: var(--es-teal);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 800;
}

/* Figma: centered housing-support title (Cairo 800, 44/28, #01938E) */
#housing-support .es-section__head {
  justify-content: center;
  text-align: center;
}

#housing-support .es-title {
  display: block;
  width: 100%;
  margin-inline: auto;
  margin-bottom: 10px;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  /* Figma uses 28px line-height for a single line; in the browser the title
     may wrap, so keep a safe readable line-height to avoid overlap. */
  line-height: 1.25;
  color: #01938e;
  text-align: center;
  white-space: normal;
  /* overflow-wrap: anywhere; */
  overflow-wrap: break-word;
}

/* Desktop: let the title be full-bleed so it doesn't wrap due to container */
@media (min-width: 1024px) {
  /* #housing-support .es-section__head {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
  } */

  #housing-support .es-title {
    max-width: none;
    white-space: nowrap;
    overflow-wrap: normal;
  }
}

/* Decorative centered rule under housing-support title */
#housing-support .es-title-rule {
  display: block;
  width: min(680px, 100%);
  height: auto;
  margin: 14px auto 22px;
}

.es-section__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--es-teal);
  font-size: 14px;
  font-weight: 800;
}

.es-section--teal .es-section__eyebrow {
  color: #ccf3ee;
}

.es-section--teal .es-title,
.es-photo-band .es-title {
  color: #ffffff;
}

.es-subtitle {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--es-muted);
  font-size: 17px;
  line-height: 1.9;
}

.es-section--teal .es-subtitle,
.es-photo-band .es-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.es-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.es-intro-card {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid var(--es-line);
  box-shadow: var(--es-shadow);
}

.es-intro-card__label {
  display: block;
  padding-bottom: 0;
  margin-bottom: 18px;
  border-bottom: none;
  color: var(--es-teal);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
}

.es-intro-card__label::after {
  display: none;
}

.es-intro-card p {
  margin: 0;
  color: var(--es-muted);
  font-size: 17px;
  line-height: 1.95;
}

.es-impact-strip {
  margin-top: 34px;
  text-align: center;
}

/* Figma: الأثر التراكمي — Cairo 600, 30/31, #6B7280, centered, ~540×57 */
.es-impact-strip__title {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 540px;

  /* تحويل الـ min-height لقيمة مرنة تناسب الموبايل عند نزول النص لسطر جديد */
  min-height: clamp(45px, 6vw, 57px);

  margin: 0 auto 18px;

  /* إضافة padding جانبي صغير لحماية النص من الالتصاق بحواف الشاشة في الموبايل */
  padding-inline: 15px;

  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;

  /* جعل حجم الخط مرناً:
     - الحد الأدنى للموبايل: 22px
     - الحجم المرن: 3.5vw
     - الحد الأقصى للديسكتوب: 30px */
  font-size: clamp(22px, 3.5vw, 30px);

  /* تحويل الـ line-height لقيمة نسبية لتعطي أسطر مريحة ومتباعدة بشكل متناسق */
  line-height: 1.3;

  text-align: center;
  color: #6b7280;
}

/* Figma Rectangle 18 ×2: 322×168, #01938E */
.es-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 322px);
  gap: 14px;
  justify-content: center;
  width: 100%;
  margin-inline: auto;
}

/* Figma: #01938E box + mint figure + white caption */
.es-impact-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 322px;
  height: 168px;
  max-width: 100%;
  padding: 12px 20px;
  background: #01938e;
  color: #ffffff;
  text-align: center;
}

.es-impact-card__value {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  flex-grow: 0;
  width: 100%;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 28px;
  text-align: center;
  color: #7de5d6;
}

/* Western digits: LTR so 920,126 stays centered in RTL page */
.es-impact-card__value--families {
  flex-shrink: 0;
  direction: ltr;
}

/* AR: number on the right, «مليار» on the left (RTL flex order) */
.es-impact-card__value--finance {
  flex-shrink: 0;
  direction: rtl;
}

.es-impact-card__suffix {
  font: inherit;
  color: inherit;
}

.es-impact-card__label {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
}

.es-impact-card__label--families,
.es-impact-card__label--finance {
  width: 100%;
  max-width: 268px;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.es-stat-grid {
  display: grid;
  /* Figma Group 16: 2×2 on desktop */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  row-gap: clamp(44px, 6vw, 84px);
  align-items: start;
  max-width: 930px;
  margin-inline: auto;
}

/* Figma-style KPI item (icon + faded big number + two lines) */
.es-item {
  min-width: 0;
  display: grid;
  /* Reduce perceived whitespace by narrowing icon column + aligning text
     to the column start (not centered). */
  grid-template-columns: 86px 1fr;
  column-gap: 6px;
  align-items: center;
  justify-items: start;
}

.es-item__icon {
  display: block;
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin: 0;
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: center;
}

.es-item__value {
  width: 100%;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 75px;
  line-height: 31px;
  /* single-line figure */
  /* Keep Western digits LTR, but align the number to the RTL start edge */
  /* direction: ltr; */
  unicode-bidi: isolate;
  /* text-align: right; */
  color: rgba(1, 147, 142, 0.3);
  margin: 0 0 20px;
  grid-column: 2;
}

.es-item__unit {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 27px;
  line-height: 31px;
  color: #6b7280;
  margin: 0 0 6px;
  grid-column: 2;
  text-align: start;
}

.es-item__desc {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 31px;
  color: #6b7280;
  margin: 0;
  grid-column: 2;
  text-align: start;
}

@media (max-width: 540px) {
  /* On very small screens stack icon above text */
  .es-item {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .es-item__icon {
    grid-column: 1;
    grid-row: auto;
  }
}

.es-financing-banner {
  margin-top: 0;
  margin-bottom: clamp(20px, 3vw, 36px);
  background: var(--es-teal-mid);
  border-block: none;
  padding-block: clamp(32px, 5vw, 56px);
}

.es-financing-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding-block: clamp(26px, 4vw, 44px);
  padding-inline: clamp(20px, 3vw, 40px);
}

.es-financing-banner__title {
  max-width: 734px;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.4;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.es-financing-banner__figure {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.es-financing-banner__num {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(72px, 12vw, 146px);
  line-height: 1;
  color: #ffffff;
  direction: ltr;
}

.es-financing-banner__unit {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  color: #ffffff;
  transform: translateY(-8px);
}

.es-financing-banner__riyal {
  width: clamp(36px, 5vw, 56px);
  height: clamp(36px, 5vw, 56px);
  flex-shrink: 0;
  color: #ffffff;
  transform: translateY(-8px);
}

@media (min-width: 541px) and (max-width: 1024px) {
  .es-financing-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
  }

  .es-financing-banner__title {
    max-width: none;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.35;
  }

  .es-financing-banner__figure {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .es-financing-banner__num {
    font-size: clamp(56px, 9vw, 100px);
  }

  .es-financing-banner__unit {
    font-size: clamp(24px, 4vw, 44px);
  }

  .es-financing-banner__riyal {
    width: clamp(32px, 4vw, 48px);
    height: clamp(32px, 4vw, 48px);
  }
}

.es-support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  align-items: center;
  gap: 24px;
  width: min(760px, 100%);
  margin-inline: auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--es-line);
  background: #ffffff;
  box-shadow: var(--es-shadow);
}

.es-support-card__label {
  color: var(--es-teal);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.es-support-card__value {
  color: #8acbc3;
  font-size: clamp(52px, 8vw, 86px);
  line-height: 1;
  font-family: "Almarai", sans-serif;
  font-weight: 800;
  text-align: center;
}

/* Monthly support (Figma: half number, half bordered box) */
.es-monthly {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
  width: 100%;
  padding-inline: clamp(12px, 2vw, 24px);
}

@media (max-width: 820px) {
  .es-monthly {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }
}

.es-monthly__pct {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.es-monthly__pct-inner {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 167px;
  line-height: 1;
  display: flex;
  align-items: center;
  text-align: center;
  color: #8dcfc5;
  letter-spacing: -0.02em;
}

.es-monthly__box {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(229, 233, 231, 0.9);
  box-shadow: 0px 20px 60px -25px rgba(0, 0, 0, 0.18);
  padding: clamp(20px, 3vw, 34px);
  text-align: right;
}

.es-monthly__title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 60px;
  text-align: right;
  color: #01938e;
}

.es-monthly__rule {
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px 0 16px;
  background: linear-gradient(
    90deg,
    var(--es-mint) 0%,
    var(--es-teal) 45%,
    var(--es-teal-dark) 100%
  );
}

.es-monthly__desc {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  max-width: 534px;
  text-align: right;
  color: #6b7280;
}

/* Tighten spacing around monthly-support section */
#monthly-support.es-section.section--tight {
  padding-block: clamp(16px, 2.5vw, 24px);
}

/* Services section — Figma solid teal block */
.es-services {
  background: var(--es-teal-mid);
  color: #ffffff;
  padding-block: clamp(44px, 6vw, 84px);
  margin-top: 0;
}

.es-services__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 46px);
}

.es-services__head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 12px;
  width: 100%;
}

.es-services__title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 69px;
  line-height: 1.05;
  color: #ffffff;
  width: 100%;
  /* text-align: right; */
}

.es-services__sub {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  color: #ffffff;
  width: 100%;
  text-align: start;
}

.es-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 54px);
  align-items: start;
}

@media (max-width: 900px) {
  .es-services__grid {
    grid-template-columns: 1fr;
  }
}

/* .es-services__item {
  text-align: right;
} */

.es-services__value {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 73px;
  line-height: 1;
  color: #8dcfc5;
}

.es-services__unit {
  margin-top: 10px;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: #ffffff;
}

.es-services__desc {
  margin: 14px 0 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 52px;
  color: #ffffff;
  /* Browsers justify by stretching spaces; avoid that entirely for Arabic. */
  text-align: right;
  text-justify: auto;
  word-spacing: normal;
  letter-spacing: normal;
  /* Produce a more “Figma-like” rag without space stretching. */
  text-wrap: balance;
  hyphens: none;
}

/* Developer support section (matches screenshot) */
.es-dev {
  padding-block: clamp(44px, 6vw, 84px);
  background: #ffffff;
}

.es-dev__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 38px);
}

.es-dev__head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* text-align: right; */
  gap: 10px;
  width: 100%;
}

.es-dev__title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 64px;
  line-height: 1.05;
  color: #01938e;
  width: 100%;
  text-align: right;
}

.es-dev__sub {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.1;
  color: #01938e;
  width: 100%;
  /* text-align: right; */
}

.es-dev__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 54px);
  align-items: start;
}

@media (max-width: 980px) {
  .es-dev__grid {
    grid-template-columns: 1fr;
  }
}

/* .es-dev__item {
  text-align: right;
} */

.es-dev__value {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 73px;
  line-height: 1;
  color: #8dcfc5;
}

.es-dev__unit {
  margin-top: 10px;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.es-dev__riyal {
  width: 28px;
  height: 28px;
  color: #01938e;
  transform: translateY(2px);
}

.es-dev__desc {
  margin: 14px 0 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 52px;
  color: #6b7280;
  text-align: right;
  text-wrap: balance;
}

.es-advisor {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 5vw, 58px);
}

.es-advisor__stat {
  text-align: center;
}

.es-advisor__stat strong {
  display: block;
  color: #d4f3ee;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1;
  font-family: "Almarai", sans-serif;
  font-weight: 800;
}

/* Advisor section (Figma solid teal + white channel cards) */
.es-advisor2 {
  background: var(--es-teal-mid);
  color: #ffffff;
  padding-block: clamp(44px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}

.es-advisor2::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.08),
      transparent 45%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(255, 255, 255, 0.06),
      transparent 50%
    );
  opacity: 0.45;
  pointer-events: none;
}

.es-advisor2__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 40px);
  /* direction: rtl; */
}

.es-advisor2__head {
  display: flex;
  /* In RTL, start = right */
  justify-content: flex-start;
}

.es-advisor2__titlebox {
  border: 1px solid transparent;
  padding: 0;
  /* text-align: right; */
  max-width: 720px;
  background: transparent;
}

.es-advisor2__title {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 69px;
  line-height: 73px;
  color: #ffffff;
}

.es-advisor2__range {
  margin-top: 6px;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 30px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.es-advisor2__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 4vw, 56px);
  justify-content: start;
  align-items: start;
  max-width: 920px;
  /* In RTL, inline-end is the left side; auto there pushes to the right */
  margin-inline-end: auto;
}

@media (max-width: 860px) {
  .es-advisor2__stats {
    grid-template-columns: 1fr;
    margin-inline: 0;
    max-width: none;
  }
}

/* .es-advisor2__stat {
  text-align: right;
} */

.es-advisor2__value {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 68px;
  line-height: 1;
  color: #8dcfc5;
  display: flex;
  align-items: center;
  /* justify-content: flex-end; */
}

.es-advisor2__label {
  margin-top: 10px;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.es-advisor2__desc {
  margin-top: 10px;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
  line-height: 52px;
  color: #ffffff;
}

.es-advisor2__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 322px));
  gap: clamp(14px, 2vw, 24px);
  justify-content: flex-start;
  margin-top: clamp(24px, 4vw, 48px);
}

.es-advisor2__channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 168px;
  padding: 16px 20px;
  background: #ffffff;
  text-align: right;
}

.es-advisor2__channel-title {
  width: 100%;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 28px;
  color: #089994;
  margin-bottom: 12px;
  text-align: right;
}

.es-advisor2__channel-value {
  display: block;
  width: 100%;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 41px);
  line-height: 28px;
  color: #7de5d6;
  direction: ltr;
  text-align: right;
}

.es-advisor2__channel-label {
  width: 100%;
  margin-top: 12px;
  font-family: "Cairo", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 12px;
  color: #20a5a0;
  text-align: right;
}

@media (max-width: 720px) {
  .es-advisor2__value {
    font-size: clamp(36px, 10vw, 68px);
    flex-wrap: wrap;
    overflow-wrap: anywhere;
  }

  .es-advisor2__channel-value {
    font-size: clamp(24px, 7vw, 41px);
    overflow-wrap: anywhere;
  }
}

.es-advisor__stat span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.7;
}

.es-advisor__divider {
  width: 1px;
  height: 86px;
  background: rgba(255, 255, 255, 0.36);
}

.es-channel-grid,
.es-company-grid {
  display: grid;
  grid-template-columns: repeat(2, 322px);
  gap: 18px;
  justify-content: center;
}

.es-channels-rule {
  display: block;
  width: min(680px, 100%);
  height: auto;
  margin: 48px auto 0;
}

.es-channel-card,
.es-company-card {
  width: 322px;
  height: 168px;
  padding: 10px 12px;
  background: #01938e;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.es-channel-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.es-channel-card__title {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 28px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
  white-space: nowrap;
}

.es-channel-card__label {
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: #ffffff;
  text-align: center;
  margin-top: 14px;
}

.es-channel-card strong,
.es-company-card strong {
  display: block;
  color: #7de5d6;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 41px;
  line-height: 28px;
  text-align: center;
}

.es-company-card span {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 28px;
  text-align: center;
}

.es-percent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  justify-content: stretch;
  background: transparent;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Satisfaction title — white on full teal section */
.es-satisfaction__head {
  justify-content: stretch;
  margin-bottom: 0;
}

.es-satisfaction__head > div {
  width: 100%;
}

.es-satisfaction__head .es-title {
  width: 100%;
  margin: 0 0 clamp(24px, 4vw, 40px);
  padding: 0;
  background: transparent;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 53px);
  line-height: 1.3;
  text-align: center;
  color: #ffffff;
}

.es-percent-card {
  min-height: 253px;
  padding: clamp(20px, 3vw, 32px) 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--es-mint-card);
  text-align: center;
}

.es-percent-card strong {
  color: #01938e;
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  direction: ltr;

  /* 1. جعل حجم الخط عملاقاً على الديسكتوب ومرناً جداً على الموبايل */
  font-size: clamp(60px, 8vw, 100px);
  line-height: 1;

  /* 2. تحويل الأبعاد الثابتة إلى أبعاد مرنة باستخدام max-width و aspect-ratio أو clamp */
  width: 100%;
  max-width: 218px;

  /* استخدام aspect-ratio يضمن الحفاظ على التناسب المثالي (218x130) في كل الشاشات */
  aspect-ratio: 218 / 130;

  /* إلغاء الـ height الثابت ليعتمد على الـ aspect-ratio الذكي */
  height: auto;
}

.es-percent-card strong[data-pct]::before {
  content: "%";
  margin: 0;
}

.es-percent-card strong > span {
  direction: ltr;
  unicode-bidi: isolate;
  font: inherit;
}

.es-percent-card > span {
  margin-top: 18px;
  color: #6b7280;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.75px;
}

/* Satisfaction section — full-width teal band (Figma) */
#satisfaction.es-section {
  background: var(--es-teal-mid);
  padding-block: clamp(20px, 3vw, 36px) !important;
  margin-top: 0 !important;
  overflow: visible;
}

/* Tighten gap after satisfaction; extra space before it */
.es-advisor2:has(+ #satisfaction) {
  padding-bottom: clamp(32px, 4.5vw, 56px);
}

.es-advisor2 + #satisfaction.es-section {
  padding-top: clamp(36px, 5vw, 64px) !important;
}

#satisfaction.es-section + .es-digital {
  padding-top: clamp(10px, 1.5vw, 16px);
}

#digital.es-section,
.es-digital {
  padding-bottom: clamp(44px, 6vw, 72px) !important;
}

/* Digital section — full-width teal band (Figma) */
.es-digital {
  background: var(--es-teal-mid);
  padding-block: clamp(44px, 6vw, 72px);
  margin-top: 0;
  overflow: visible;
}

.es-digital__title {
  margin: 0 0 clamp(24px, 4vw, 40px);
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 53px);
  line-height: 1.3;
  text-align: center;
  color: #ffffff;
}

.es-digital-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
  justify-content: stretch;
  background: transparent;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.es-digital-card {
  min-height: 253px;
  display: flex;
  padding: clamp(20px, 3vw, 32px) 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--es-mint-card);
  text-align: center;
}

/* Desktop: number-card grids — full section width (no 100vw overflow) */
@media (min-width: 901px) {
  #satisfaction > .es-percent-grid,
  .es-digital > .es-digital-grid {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    box-sizing: border-box;
    justify-content: stretch;
  }

  #satisfaction > .es-percent-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .es-digital > .es-digital-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #satisfaction > .es-percent-grid .es-percent-card,
  .es-digital > .es-digital-grid .es-digital-card {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

/* -----------------------------------------------------------------------
   Responsive overrides (mobile/tablet)
   Keep desktop as designed; below breakpoints, switch to fluid layouts.
   ----------------------------------------------------------------------- */

@media (max-width: 1200px) {
  /* KPI cards: reduce excessive fixed widths */
  .es-digital-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .es-digital-card {
    width: 100%;
  }

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

  .es-percent-card {
    width: 100%;
  }
}

@media (max-width: 900px) {
  #satisfaction,
  .es-digital {
    overflow-x: clip;
    max-width: 100%;
  }

  #satisfaction > .es-percent-grid,
  .es-digital > .es-digital-grid {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(16px, 4vw, 24px);
    box-sizing: border-box;
  }

  /* Stack the big 2× cards */
  .es-digital-grid,
  .es-percent-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .es-digital-card,
  .es-percent-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    padding: 24px 18px;
    box-sizing: border-box;
  }

  .es-digital-card__pct--wide,
  .es-digital-card__pct--narrow,
  .es-percent-card strong {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: unset;
  }

  .es-digital-card > span,
  .es-percent-card > span {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .es-advisor2__channels {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  /* Scale down very large headings in mobile */
  .es-services__title {
    font-size: clamp(34px, 6vw, 48px);
    line-height: 1.15;
  }

  .es-services__sub {
    font-size: clamp(18px, 3.4vw, 24px);
    line-height: 1.35;
  }

  .es-dev__title {
    font-size: clamp(34px, 6vw, 48px);
    line-height: 1.15;
  }

  .es-dev__sub {
    font-size: clamp(18px, 3.4vw, 24px);
    line-height: 1.35;
  }

  .es-advisor2__title {
    font-size: clamp(36px, 6vw, 52px);
    line-height: 1.15;
  }

  .es-advisor2__range {
    font-size: clamp(16px, 3vw, 22px);
  }
}

@media (max-width: 640px) {
  .es-percent-card strong {
    aspect-ratio: unset;
  }

  /* Services/dev columns stack; keep spacing */
  .es-services__grid,
  .es-dev__grid {
    grid-template-columns: 1fr;
  }

  .es-services__value,
  .es-dev__value {
    font-size: clamp(42px, 10vw, 64px);
  }

  .es-services__unit,
  .es-dev__unit {
    font-size: clamp(22px, 5vw, 30px);
  }

  .es-services__desc,
  .es-dev__desc {
    font-size: clamp(16px, 3.8vw, 20px);
    line-height: 1.7;
  }

  /* Monthly support: stack % and box */
  .es-monthly {
    grid-template-columns: 1fr;
  }

  .es-monthly__pct-inner {
    font-size: clamp(72px, 16vw, 120px);
  }

  .es-monthly__title {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.25;
  }

  /* Financing banner: number + unit + riyal on one row, flush with title */
  .es-financing-banner__inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 16px;
  }

  .es-financing-banner__title {
    display: block;
    width: 100%;
    text-align: right;
    font-size: 24px;
    line-height: 34px;
    padding-inline: 0;
  }

  .es-financing-banner__figure {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: clamp(8px, 2vw, 14px);
  }

  [dir="rtl"] .es-financing-banner__figure {
    direction: rtl;
    justify-content: flex-start;
  }

  .es-financing-banner__num {
    flex: 0 0 auto;
    text-align: right;
    padding-inline: 0;
    font-size: clamp(64px, 18vw, 110px);
    line-height: 1;
  }

  .es-financing-banner__unit {
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1;
    transform: none;
    flex-shrink: 0;
  }

  .es-financing-banner__riyal {
    width: 40px;
    height: 40px;
    transform: none;
    flex-shrink: 0;
  }

  /* Channels cards: allow fluid width */
  .es-channel-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .es-channel-card {
    width: 100%;
    max-width: 322px;
    margin-inline: auto;
  }

  /* Housing-support items: scale down for mobile */
  .es-stat-grid {
    row-gap: 28px;
  }

  .es-item {
    grid-template-columns: 64px 1fr;
    column-gap: 10px;
  }

  .es-item__icon {
    width: 64px;
    height: 64px;
  }

  .es-item__value {
    font-size: clamp(44px, 12vw, 58px);
    line-height: 1.05;
    margin-bottom: 0;
  }

  .es-item__unit {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .es-item__desc {
    font-size: 18px;
    line-height: 1.35;
  }
}

@media (max-width: 420px) {
  /* Percent blocks: keep readable on small phones */
  .es-percent-card strong {
    aspect-ratio: unset;
  }

  .es-percent-card strong {
    width: 100%;
    height: auto;
  }

  /* Extra tightening for very small phones */
  .es-item {
    grid-template-columns: 56px 1fr;
    column-gap: 8px;
  }

  .es-item__icon {
    width: 56px;
    height: 56px;
  }

  .es-item__value {
    font-size: 44px;
  }
}

/* Legacy digital title block — unused after es-digital refactor */
.es-digital__head .es-title {
  display: none;
}

.es-digital-card__pct {
  color: #01938e;
  font-size: clamp(60px, 8vw, 100px);
  line-height: 1;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.75px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  direction: ltr;
  width: 100%;
  max-width: 218px;
  aspect-ratio: 218 / 130;
  height: auto;
}

.es-digital-card__pct--wide,
.es-digital-card__pct--narrow {
  width: 100%;
  max-width: 218px;
  height: auto;
}

.es-digital-card__pct[data-pct]::before {
  content: "%";
  margin: 0;
}

.es-digital-card__pct > span {
  direction: ltr;
  unicode-bidi: isolate;
  font: inherit;
}

.es-digital-card > span {
  margin-top: 18px;
  color: #6b7280;
  font-family: "Cairo", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -0.75px;
  width: 100%;
  max-width: 100%;
}

.es-photo-band {
  min-height: clamp(260px, 34vw, 430px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.es-photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 98, 91, 0.48), rgba(0, 148, 143, 0.92)),
    var(--band-image, url("../assets/strategy.webp")) center / cover no-repeat;
  z-index: -1;
}

.es-photo-band--financial {
  --band-image: url("../assets/strategy.webp");
}

.es-photo-band--people {
  --band-image: url("../assets/intro.webp");
}

.es-photo-band--subsidiaries {
  --band-image: url("../assets/about.webp");
}

.es-photo-band .container {
  display: flex;
  justify-content: flex-end;
}

.es-photo-band__content {
  width: min(520px, 100%);
}

.es-financial-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1.25fr;
  gap: 18px;
}

.es-financial-grid .es-panel {
  background: #e3f2f0;
  border: 1px solid rgba(0, 148, 143, 0.14);
}

.es-financial-grid .es-panel__head {
  padding: 15px 20px;
  background: rgba(0, 148, 143, 0.64);
  color: #ffffff;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.3;
  font-weight: 800;
  text-align: center;
}

.es-financial-grid .es-panel__body {
  display: grid;
  gap: 26px;
  padding: clamp(24px, 4vw, 38px);
}

.es-metric {
  display: grid;
  gap: 8px;
  text-align: start;
}

.es-metric strong {
  color: var(--es-teal);
  font-family: "Almarai", sans-serif;
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1;
  font-weight: 800;
}

.es-metric span {
  color: var(--es-muted);
  font-size: 15px;
  line-height: 1.65;
}

.es-hr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 18px;
}

.es-hr-metrics {
  display: grid;
  gap: 20px;
}

.es-hr-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
}

.es-hr-metric strong {
  color: var(--es-teal);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-family: "Almarai", sans-serif;
}

.es-company-card {
  min-height: 250px;
}

.es-company-card__brand {
  min-height: 60px;
  margin-bottom: 28px;
  color: var(--es-ink);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.35;
  font-weight: 800;
}

.es-company-card__brand small {
  display: block;
  margin-top: 6px;
  color: var(--es-muted);
  font-size: 14px;
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
}

.es-company-card p {
  margin: 20px 0 0;
  color: var(--es-muted);
  font-size: 16px;
  line-height: 1.9;
}

@media (max-width: 1040px) {
  .es-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  #satisfaction > .es-percent-grid,
  .es-digital > .es-digital-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    align-items: stretch;
  }

  #satisfaction > .es-percent-grid .es-percent-card,
  .es-digital > .es-digital-grid .es-digital-card {
    display: grid;
    grid-template-rows: auto 1fr;
    justify-items: center;
    align-content: start;
    justify-content: unset;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    padding: clamp(20px, 3vw, 24px) clamp(14px, 3vw, 18px);
    box-sizing: border-box;
    overflow: hidden;
  }

  #satisfaction > .es-percent-grid .es-percent-card strong,
  .es-digital > .es-digital-grid .es-digital-card__pct {
    grid-row: 1;
    align-self: center;
    min-height: clamp(68px, 16vw, 100px);
    width: 100%;
    max-width: 218px;
    height: auto;
    aspect-ratio: unset;
  }

  #satisfaction > .es-percent-grid .es-percent-card > span,
  .es-digital > .es-digital-grid .es-digital-card > span {
    grid-row: 2;
    align-self: start;
    margin-top: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .es-financial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .es-digital-card__pct--wide {
    height: auto;
  }

  .es-section__head {
    display: block;
  }

  .es-intro-grid,
  .es-service-grid,
  .es-channel-grid,
  .es-company-grid,
  .es-hr-grid {
    grid-template-columns: 1fr;
  }

  .es-impact-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .es-advisor {
    grid-template-columns: 1fr;
  }

  .es-advisor__divider {
    width: 100%;
    height: 1px;
  }

  .es-support-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .es-section {
    padding-block: 48px;
  }

  .es-stat-grid,
  .es-percent-grid,
  .es-digital-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .es-digital-card {
    width: 100%;
  }

  .es-percent-card,
  .es-digital-card {
    min-height: 150px;
  }

  .es-hr-metric {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
