/* =====================================================================
   Diwan Consulting · SCALE Canvas™ Program landing page
   Loaded after main.css, diwan-shell.css and diwan-pages.css
   ===================================================================== */

/* ---------- Hero ---------- */
.pg-hero { min-height: 640px; padding: 110px 0 96px; }
.pg-hero .container { max-width: 960px; text-align: center !important; }
.pg-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6fe3cf; margin: 0 0 18px; }
.pg-hero h1 { font-family: var(--dv-serif); font-size: clamp(36px, 4.6vw, 60px); line-height: 1.1; font-weight: 600; color: #fff; margin: 0 auto 24px; text-align: center !important; max-width: 920px; }
.pg-hero__sub { font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .88); max-width: 780px; margin: 0 auto; text-align: center !important; }
.pg-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.pg-hero__actions .dv-btn, .pg-end .dv-btn { height: 52px; padding: 0 30px; font-size: 16px; }
.pg-hero__note { margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, .7); text-align: center !important; }
.pg-hero .bg-stretch img { object-position: center center; }
.pg-hero .bg-stretch::after { background: linear-gradient(0deg, rgba(1, 10, 28, .75), rgba(1, 10, 28, .45)) !important; }
html[lang="ar"] .pg-eyebrow { letter-spacing: 0; }

/* ---------- Facts strip ---------- */
.pg-facts { background: #022355; color: #fff; }
.pg-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pg-fact { padding: 30px 24px; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.pg-fact:first-child { border-inline-start: 0; }
.pg-fact strong { display: block; font-size: 40px; line-height: 1; font-weight: 700; background: linear-gradient(135deg, #6ff5d6, #01af95 55%, #4f9be8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.pg-fact span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .8); text-align: start; }
html[dir="rtl"] .pg-fact strong { text-align: right; }

/* ---------- Sticky in-page navigation ---------- */
.pg-tabs { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid rgba(2, 35, 85, .12); box-shadow: 0 6px 18px rgba(2, 35, 85, .05); }
.pg-tabs__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; max-width: 1240px; }
.pg-tabs__links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pg-tabs__links::-webkit-scrollbar { display: none; }
.pg-tabs__links a { flex: none; padding: 21px 14px 19px; font-size: 15px; font-weight: 600; color: #44546a; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.pg-tabs__links a:hover { color: #022355; }
.pg-tabs__links a.is-active { color: #022355; border-bottom-color: #01af95; }
.pg-tabs__cta { flex: none; height: 42px; padding: 0 22px; }
.pg-sec { scroll-margin-top: 72px; }
#apply { scroll-margin-top: 64px; }

/* ---------- Overview + video ---------- */
.pg-ov { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; max-width: 1240px; }
.pg-ov__text p { font-size: 18px; line-height: 1.75; color: #1d2b3e; text-align: start !important; }
.pg-video { margin: 0; }
.pg-video__btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #022355; cursor: pointer; overflow: hidden; box-shadow: 0 24px 50px rgba(2, 35, 85, .25); }
.pg-video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pg-video__btn:hover img { transform: scale(1.03); }
.pg-video__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 35, 85, .55), rgba(2, 35, 85, .1)); }
.pg-video__play { position: absolute; z-index: 2; top: 50%; left: 50%; width: 82px; height: 82px; margin: -41px 0 0 -41px; border-radius: 50%; background: #145db1; box-shadow: 0 0 0 10px rgba(255, 255, 255, .18); transition: background .3s, transform .3s; }
.pg-video__play::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -12px 0 0 -7px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.pg-video__btn:hover .pg-video__play { background: #01af95; transform: scale(1.06); }
.pg-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.pg-video figcaption { margin-top: 12px; font-size: 14px; color: #5b6b80; text-align: start; }

/* ---------- 90-day journey ---------- */
.pg-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.pg-steps::before { content: ""; position: absolute; top: 9px; inset-inline: 0; height: 2px; background: linear-gradient(90deg, #01af95, #145db1 60%, #022355); }
html[dir="rtl"] .pg-steps::before { background: linear-gradient(270deg, #01af95, #145db1 60%, #022355); }
.pg-step { position: relative; padding: 38px 22px 0 0; }
html[dir="rtl"] .pg-step { padding: 38px 0 0 22px; }
.pg-step::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid #01af95; }
.pg-step:last-child::before { border-color: #022355; background: #022355; }
.pg-step__when { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #01af95; }
html[lang="ar"] .pg-step__when { letter-spacing: 0; }
.pg-step h3 { font-size: 19px; line-height: 1.3; color: #022355; margin: 10px 0 10px; }
.pg-step p { font-size: 15px; line-height: 1.6; color: #44546a; text-align: start !important; }
.pg-sub { margin: 72px 0 28px; color: #022355; font-family: var(--dv-serif); font-size: 28px; }
.pg-incs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(2, 35, 85, .12); border: 1px solid rgba(2, 35, 85, .12); }
.pg-inc { background: #fff; padding: 30px 28px; transition: background .3s; }
.pg-inc:hover { background: #f5f7fa; }
.pg-inc__num { font-size: 14px; font-weight: 700; color: #145db1; }
.pg-inc h3 { font-size: 19px; line-height: 1.35; color: #022355; margin: 12px 0 10px; }
.pg-inc p { font-size: 15px; line-height: 1.6; color: #44546a; margin: 0; text-align: start !important; }

/* ---------- Who it's for ---------- */
.pg-whos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pg-who { padding: 32px 30px; border-top: 4px solid #145db1; background: #f5f7fa; }
.pg-who h3 { font-size: 21px; color: #022355; margin: 0 0 12px; }
.pg-who p { font-size: 16px; line-height: 1.65; color: #44546a; margin: 0; text-align: start !important; }
.pg-lists { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-top: 56px; }
.pg-list h3 { font-size: 18px; color: #022355; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(2, 35, 85, .14); }
.pg-list ul { list-style: none; margin: 0; padding: 0; }
.pg-list li { position: relative; padding-inline-start: 26px; margin-bottom: 12px; font-size: 15.5px; line-height: 1.6; color: #1d2b3e; text-align: start; }
.pg-arrows li::before { content: "→"; position: absolute; inset-inline-start: 0; color: #01af95; font-weight: 700; }
html[dir="rtl"] .pg-arrows li::before { content: "←"; }
.pg-cross li::before { content: "×"; position: absolute; inset-inline-start: 2px; color: #b4324a; font-weight: 700; font-size: 18px; line-height: 1.4; }
.pg-list--not { background: #fff7f8; padding: 24px; margin: -24px 0; }

/* ---------- Facilitator ---------- */
.pg-fac { background: radial-gradient(130% 120% at 0% 0%, #0e8c86 0%, #145db1 20%, #0b3a78 36%, #022355 52%, #010d22 72%, #000 100%); color: #fff; padding: 96px 0; }
.pg-fac__in { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; max-width: 1140px; }
.pg-fac__img img { width: 100%; height: auto; display: block; filter: grayscale(.1); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.pg-fac h2 { color: #fff; margin-bottom: 6px; }
.pg-fac__role { font-size: 15px; color: #6fe3cf !important; margin: 0 0 26px; }
.pg-fac p { color: rgba(255, 255, 255, .86); font-size: 17px; line-height: 1.7; text-align: start !important; }
.pg-fac__q { margin: 0 0 26px; padding-inline-start: 22px; border-inline-start: 3px solid #01af95; }
.pg-fac__q p { font-family: var(--dv-serif); font-size: 24px !important; line-height: 1.45 !important; color: #fff !important; margin: 0; }
.pg-media { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.pg-media span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pg-media ul { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.pg-media li { font-family: var(--dv-serif); font-size: 19px; font-weight: 600; color: #fff; opacity: .85; }

/* ---------- Results ---------- */
.pg-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pg-quote { margin: 0; background: #fff; padding: 32px 30px; display: flex; flex-direction: column; border-top: 4px solid #01af95; }
.pg-quote blockquote { margin: 0 0 22px; flex: 1; }
.pg-quote blockquote p { font-size: 16px; line-height: 1.7; color: #1d2b3e; text-align: start !important; }
.pg-quote figcaption strong { display: block; color: #022355; font-size: 16px; }
.pg-quote figcaption span { display: block; font-size: 14px; color: #5b6b80; margin-top: 4px; }
.pg-logos__k { margin: 56px 0 18px; text-align: center !important; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5b6b80; }
.pg-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 18px; align-items: center; }
.pg-logos li { display: flex; align-items: center; justify-content: center; height: 64px; background: #fff; padding: 10px; }
.pg-logos img { max-width: 100%; max-height: 44px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.pg-logos li:hover img { filter: none; opacity: 1; }

/* ---------- Comparison + formats ---------- */
.pg-cmp-wrap { overflow-x: auto; }
.pg-cmp { width: 100%; border-collapse: collapse; min-width: 620px; }
.pg-cmp th, .pg-cmp td { padding: 18px 22px; text-align: start; font-size: 16px; line-height: 1.5; border-bottom: 1px solid rgba(2, 35, 85, .12); vertical-align: top; }
.pg-cmp thead th { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5b6b80; }
.pg-cmp thead th.is-us { color: #fff; background: #022355; }
.pg-cmp tbody th { color: #022355; font-weight: 700; width: 18%; }
.pg-cmp tbody td { color: #5b6b80; }
.pg-cmp tbody td:last-child { color: #022355; font-weight: 600; background: rgba(1, 175, 149, .07); }
.pg-sub2 { margin-top: 80px; }
.pg-fmts { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 24px; align-items: stretch; margin-top: 12px; }
.pg-fmt { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border: 1px solid rgba(2, 35, 85, .14); background: #fff; }
.pg-fmt.is-main { background: radial-gradient(130% 120% at 0% 0%, #0e8c86 0%, #145db1 20%, #0b3a78 36%, #022355 52%, #010d22 72%, #000 100%); border-color: transparent; color: #fff; box-shadow: 0 26px 50px rgba(2, 35, 85, .28); transform: translateY(-10px); }
.pg-fmt__badge { position: absolute; top: -13px; inset-inline-start: 30px; background: #01af95; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; }
.pg-fmt__dur { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #145db1; margin: 0 0 8px; }
.pg-fmt.is-main .pg-fmt__dur { color: #6fe3cf; }
.pg-fmt h3 { font-size: 22px; color: #022355; margin: 0 0 12px; }
.pg-fmt.is-main h3 { color: #fff; }
.pg-fmt p { font-size: 15.5px; line-height: 1.65; color: #44546a; text-align: start !important; }
.pg-fmt.is-main p { color: rgba(255, 255, 255, .85); }
.pg-fmt .pg-fmt__price { margin-top: auto; padding-top: 18px; font-size: 22px; font-weight: 700; color: #022355; }
.pg-fmt.is-main .pg-fmt__price { color: #fff; }
.pg-fmt .dv-btn { margin-top: 16px; align-self: flex-start; }
.pg-fmt .dv-btn--ghost-dark { background: transparent !important; color: #022355 !important; border: 1px solid #022355; }
.pg-fmt .dv-btn--ghost-dark:hover { background: #022355 !important; color: #fff !important; }
html[lang="ar"] .pg-fmt__dur, html[lang="ar"] .pg-fmt__badge, html[lang="ar"] .pg-cmp thead th { letter-spacing: 0; }

/* ---------- Apply ---------- */
.pg-apply { background: #f5f7fa; }
.pg-apply__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; max-width: 1240px; }
.pg-proc { list-style: none; margin: 30px 0 0; padding: 0; }
.pg-proc li { position: relative; padding-inline-start: 62px; padding-bottom: 28px; }
.pg-proc li:not(:last-child)::after { content: ""; position: absolute; top: 44px; bottom: 4px; inset-inline-start: 21px; width: 2px; background: rgba(1, 175, 149, .4); }
.pg-proc__n { position: absolute; top: 0; inset-inline-start: 0; width: 44px; height: 44px; border-radius: 50%; background: #022355; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pg-proc h3 { font-size: 18px; color: #022355; margin: 8px 0 6px; }
.pg-proc p { font-size: 15.5px; line-height: 1.6; color: #44546a; margin: 0; text-align: start !important; }
.pg-form-box { background: #fff; padding: 40px; border-top: 4px solid #145db1; box-shadow: 0 24px 50px rgba(2, 35, 85, .1); }
.pg-form-box > p { font-size: 15.5px; color: #44546a; text-align: start !important; }
.pg-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.pg-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #022355; text-align: start; }
.pg-form__full { grid-column: 1 / -1; }
.pg-form input[type=text], .pg-form input[type=email], .pg-form input[type=tel], .pg-form select, .pg-form textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid #c9d3df; border-radius: 0; background: #fff; font: inherit; font-weight: 400; font-size: 16px; color: #1d2b3e; transition: border-color .2s, box-shadow .2s; }
.pg-form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.pg-form input:focus, .pg-form select:focus, .pg-form textarea:focus { outline: none; border-color: #145db1; box-shadow: 0 0 0 3px rgba(20, 93, 177, .15); }
html[dir="rtl"] .pg-form input[type=tel] { text-align: right; }
.pg-form__consent { flex-direction: row !important; align-items: flex-start; gap: 10px !important; margin-top: 18px; font-weight: 400 !important; font-size: 14px !important; color: #44546a !important; }
.pg-form__consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: #145db1; }
.pg-form__consent a { color: #145db1; }
.pg-form__btn { width: 100%; height: 54px; margin-top: 22px; font-size: 16px; cursor: pointer; border: 0; }
.pg-form__note { margin: 12px 0 0; font-size: 13px; color: #5b6b80; text-align: center !important; }
.pg-form .hp { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.pg-form-box .form-msg { margin-top: 12px; font-size: 15px; color: #022355; }

/* ---------- Thank-you modal ---------- */
#diwanThanksModal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
#diwanThanksModal.is-open { display: flex; }
#diwanThanksModal .diwan-modal__overlay { position: absolute; inset: 0; background: rgba(1, 10, 28, .7); }
#diwanThanksModal .diwan-modal__box { position: relative; width: 100%; max-width: 500px; background: #fff; padding: 44px 40px 40px; border-top: 4px solid #01af95; }
#diwanThanksModal h3 { font-family: var(--dv-serif); color: #022355; font-size: 28px; margin: 0 0 12px; }
#diwanThanksModal p { color: #44546a; font-size: 16px; line-height: 1.6; margin: 0; text-align: start !important; }
#diwanThanksModal .diwan-modal__close { position: absolute; top: 12px; inset-inline-end: 14px; width: 40px; height: 40px; font-size: 26px; color: #022355; background: none; border: 0; cursor: pointer; }

/* ---------- Final CTA + sticky mobile CTA ---------- */
.pg-end .pg-hero__note { color: rgba(255, 255, 255, .75); }
.pg-sticky { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .pg-steps { grid-template-columns: 1fr; gap: 0; }
  .pg-steps::before { top: 0; bottom: 0; inset-inline-start: 9px; inset-inline-end: auto; width: 2px; height: auto; background: linear-gradient(180deg, #01af95, #145db1 60%, #022355); }
  html[dir="rtl"] .pg-steps::before { background: linear-gradient(180deg, #01af95, #145db1 60%, #022355); }
  .pg-step, html[dir="rtl"] .pg-step { padding: 0 0 30px; padding-inline-start: 44px; }
  .pg-step h3 { margin-top: 6px; }
  .pg-logos { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1023px) {
  .pg-ov, .pg-apply__in, .pg-fac__in { grid-template-columns: 1fr; gap: 40px; }
  .pg-fac__img { max-width: 320px; }
  .pg-incs, .pg-whos, .pg-quotes { grid-template-columns: 1fr 1fr; }
  .pg-lists { grid-template-columns: 1fr; gap: 32px; }
  .pg-list--not { margin: 0; }
  .pg-fmts { grid-template-columns: 1fr; max-width: 560px; }
  .pg-fmt.is-main { transform: none; order: -1; }
  .pg-tabs__cta { display: none; }
}
@media (max-width: 767px) {
  .pg-hero { min-height: 0; padding: 80px 0 64px; }
  .pg-hero__sub { font-size: 17px; }
  .pg-hero__actions { flex-direction: column; align-items: stretch; }
  .pg-facts__grid { grid-template-columns: 1fr 1fr; }
  .pg-fact { padding: 22px 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .pg-fact:nth-child(3) { border-inline-start: 0; }
  .pg-fact strong { font-size: 32px; }
  .pg-tabs__links a { padding: 17px 10px 15px; font-size: 14px; }
  .pg-tabs__in { min-height: 54px; }
  .pg-incs, .pg-whos, .pg-quotes { grid-template-columns: 1fr; }
  .pg-logos { grid-template-columns: repeat(3, 1fr); }
  .pg-form-box { padding: 28px 20px; }
  .pg-form__grid { grid-template-columns: 1fr; }
  .pg-fac { padding: 64px 0; }
  .pg-fac__q p { font-size: 20px !important; }
  .pg-sticky { display: block; position: fixed; z-index: 60; left: 12px; right: 92px; bottom: 16px; transform: translateY(140%); transition: transform .3s; }
  html[dir="rtl"] .pg-sticky { left: 12px; right: 92px; }
  .pg-sticky.is-visible { transform: none; }
  .pg-sticky .dv-btn { width: 100%; height: 52px; justify-content: center; box-shadow: 0 10px 24px rgba(2, 35, 85, .3); }
}
@media (prefers-reduced-motion: reduce) { .pg-video__btn img, .pg-sticky { transition: none; } }

/* Fixes after visual review */
.pg-hero .bg-stretch::after { background: linear-gradient(180deg, rgba(1, 10, 28, .82) 0%, rgba(1, 10, 28, .72) 55%, rgba(1, 10, 28, .45) 100%) !important; }
.pg-fmt a.dv-btn.dv-btn--ghost-dark, .pg-fmt a.dv-btn.dv-btn--ghost-dark:visited { background: transparent !important; color: #022355 !important; border: 1px solid #022355 !important; }
.pg-fmt a.dv-btn.dv-btn--ghost-dark:hover { background: #022355 !important; color: #fff !important; }
.pg-form label { text-transform: none !important; letter-spacing: 0 !important; }
.pg-sub2 { text-align: center; }
#investment .dv-lead { text-align: center !important; max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .pg-sticky { visibility: hidden; opacity: 0; transition: transform .3s, opacity .3s, visibility .3s; } .pg-sticky.is-visible { visibility: visible; opacity: 1; } }

/* Formats: more space between the section intro and the cards (badge no longer overlaps the text) */
#investment .dv-lead { margin-bottom: 0; }
.pg-fmts { margin-top: 56px !important; }
@media (max-width: 1023px) { .pg-fmts { margin-top: 44px !important; } }
