@font-face {
    font-family: Inter;
    src: url('/media/inter.ttf') format('truetype');
    font-display: swap;
    font-weight: 100 900;
}

:root {
    --navy: #071d36;
    --navy-deep: #041a30;
    --navy-mid: #0b2944;
    --teal: #007c82;
    --lime: #b8eb28;
    --ice: #f5f8fb;
    --ink: #142a43;
    --section-gap: clamp(64px, 5.75vw, 88px);
    --shell: min(1320px, calc(100% - clamp(36px, 6vw, 104px)));
}

[dir="ltr"] body { font-family: Inter, Arial, sans-serif; }
[dir="ltr"] .hero-brand { font-family: Inter, Arial, sans-serif; }
.mast { background: #041a30; }
.mast-inner { min-height: 70px; gap: clamp(10px, 1.5vw, 24px); }
.brand img { width: clamp(140px, 14.4vw, 186px); height: auto; }
.mast nav { gap: clamp(9px, 1.5vw, 21px); }
.mast nav a { font-size: 13px; font-weight: 650; min-height: 46px; white-space: nowrap; }
.mast-actions { gap: 10px; }
.languages { border: 0; border-radius: 0; }
.languages a { position: relative; width: 33px; min-width: 33px; min-height: 44px; isolation: isolate; font-size: 11px; }
.languages a::before { content: ''; position: absolute; inset: 9px 1px; border: 1px solid #597189; border-radius: 5px; z-index: -1; }
.languages a[aria-current] { background: transparent; }
.languages a[aria-current]::before { border-color: var(--lime); background: var(--lime); }
.button { min-height: 46px; border-radius: 9px; padding: 9px 18px; font-size: 14px; }
.button.primary { box-shadow: 0 5px 18px #09261429; }
.header-cta { min-height: 44px; padding-inline: 12px; font-size: 12px; }

.hero { background: #071d36; }
.hero-inner { min-height: clamp(570px, 47vw, 684px); padding: 36px clamp(0px, 2.3vw, 40px) 68px; align-items: center; }
.hero-layer { background-color: #071d36; background-size: auto 100%; background-position: left center; }
.hero-layer[data-slide="0"] { background-image: url('/media/cairo-hero.webp'); }
.hero-layer[data-slide="1"] { background-image: url('/media/riyadh-hero.webp'); }
.hero::after { background: linear-gradient(270deg,#071d36 5%,#071d36f5 34%,#071d3680 52%,#071d3600 72%); }
.hero-copy { width: min(53%, 635px); }
.hero-kicker { color: #e6f2fa; letter-spacing: .01em; margin-block-end: 13px; font-size: 13px; font-weight: 650; }
.hero-brand { font-size: clamp(45px, 5.3vw, 76px); margin-block-end: 8px; letter-spacing: -.035em; }
.hero h1 { display: grid; font-size: clamp(28px, 3.1vw, 47px); letter-spacing: -.02em; min-height: 2.6em; margin-bottom: 10px; }
.hero h1 > [data-headline] { grid-area: 1 / 1; }
.hero h1 > [data-headline][hidden] { display: block !important; visibility: hidden; }
.hero-copy > p:not(.hero-brand, .hero-kicker) { max-width: 55ch; color: #e1edf6; font-size: clamp(14px, 1.35vw, 17px); margin-block-end: 23px; }
.hero .actions { gap: 13px; }
.hero .button { min-height: 52px; padding-inline: 17px; }
.hero .button.outline { min-width: 158px; background: #091f37bb; }
.carousel-controls { bottom: 12px; gap: 3px; }
.carousel-controls button[data-go]::before { height: 4px; width: 22px; }
.carousel-controls button[data-go][aria-pressed="true"]::before { width: 31px; }

.section-title { margin-bottom: 22px; }
.solutions-home { padding-block: clamp(38px, 4.2vw, 66px) clamp(36px, 4.5vw, 66px); }
.business-flow { list-style: none; padding: 0; margin: 23px 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1px; border-radius: 13px; overflow: hidden; border: 1px solid #dbe8ed; background: #dbe8ed; }
.business-flow li { background: linear-gradient(145deg, #fff, #edf5f9); padding: 16px; min-width: 0; }
.business-flow li strong, .business-flow li span { display: block; }
.business-flow li strong { margin-block: 5px 3px; font-size: 14px; }
.business-flow li span { font-size: 12px; color: #3b5264; line-height: 1.45; }
.business-flow li .icon { color: var(--teal); width: 26px; height: 26px; }
.capabilities { gap: 1px; padding: 1px; border-radius: 14px; background: #dce8ee; overflow: hidden; }
.capabilities .tile { border: 0; box-shadow: none; border-radius: 0; padding: 14px 8px; min-height: 94px; }
.capabilities .tile:hover { background: #e2f4f5; }
.capabilities .tile strong { font-size: 12px; }
.capabilities .tile .icon { width: 28px; height: 28px; }
.navigator-band { --compass-image: url('/media/compass.webp'); min-height: 288px; background: #071e33; position: relative; isolation: isolate; padding-block: 33px; }
:lang(ar) .navigator-band { --compass-image: url('/media/compass-ar.webp'); }
.navigator-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg,#071e33 22%,#071e33ed 42%,#071e3300 72%), var(--compass-image) left 50% / auto 154% no-repeat; }
[dir="ltr"] .navigator-band { justify-content: flex-start; }
[dir="ltr"] .navigator-band::before { transform: scaleX(-1); }
.navigator-band .band-copy { width: min(52%, 610px); }
.navigator-band .accent { font-size: 15px; margin: 0 0 7px; }
.navigator-band h2 { margin-block-end: 10px; }
.navigator-band .button { min-width: 138px; }
.split { grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 44px); }
.industry-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.industry-tiles .tile { min-height: 78px; font-size: 12px; padding: 9px; }
.tech-card { display: grid; grid-template-columns: .9fr 1fr; align-items: center; border: 1px solid var(--line); border-radius: 15px; gap: 16px; padding: 13px; background: linear-gradient(120deg,#e6f0f5,#fff); }
[dir="ltr"] .tech-card > div, .tech-card > div { max-width: none; margin: 0; }
.tech-card img { border-radius: 10px; width: 100%; height: auto; order: 2; }
[dir="ltr"] .tech-card img { order: 0; }
.tech-card h2 { font-size: clamp(18px,2vw,26px); }
.tech-card p { font-size: 13px; }
.market-band { background: #071e35; }
.market-band .shell { position: relative; isolation: isolate; min-height: 340px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; padding: 16px 0; }
.market-band img { order: 2; display: block; justify-self: center; width: min(100%, 350px); height: auto; aspect-ratio: 1; object-fit: contain; }
[dir="ltr"] .market-band img { order: 2; }
.market-band .band-copy { width: auto; }
.market-band .market-icon { position: absolute; inset-inline-end: 10px; inset-block-start: 22px; padding: 0; border: 0; pointer-events: none; }
.market-band .market-icon strong { display: none; }
.expertise { padding-block-end: 0; }
.scenarios { padding-block-start: 53px; }
.trust .tiles { gap: 0; }
.trust .tile { min-height: 90px; }
.consultation .button { margin-top: 8px; }

.inner-lead { background: linear-gradient(115deg,#051b30,#0b3650); color: #fff; padding-block: 32px; }
.inner-grid { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: 46px; }
.inner-grid img { aspect-ratio: 2.25; width: 100%; height: auto; object-fit: cover; border-radius: 13px; }
.inner-grid h1 { margin-block: 8px 12px; }
.inner-grid p { max-inline-size: 56ch; margin-bottom: 18px; color: #e4eef7; }
.crumb { color: #bfe1e8; font-size: 13px; }
.crumb a { display: inline-flex; min-height: 44px; align-items: center; }
.inner-content { padding-block: clamp(36px,5vw,66px); display: grid; gap: clamp(36px,4.8vw,66px); }
.feature-row { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px,4vw,58px); }
.feature-row.reverse { grid-template-columns: 1.15fr .85fr; }
.feature-row.reverse img { order: 2; }
.feature-row img, .contact-guide img { width: 100%; height: auto; border-radius: 15px; box-shadow: 0 10px 25px #0a2c4420; }
.feature-row h2 { margin-block: 5px 10px; }
.feature-row .icon, .sector-card .icon, .legal-steps .icon { color: var(--teal); }
.work-steps { margin-block: 14px; }
.work-steps li { padding-block: 3px; }
dl.work-steps { border-inline-start: 2px solid #8bbdc0; padding-inline-start: 14px; }
.work-steps dt { font-weight: 750; margin-block-start: 10px; }
.work-steps dd { margin: 3px 0 10px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list a { background: #e5f2f5; color: #174559; text-decoration: none; border-radius: 5px; display: inline-flex; align-items: center; min-height: 34px; padding: 4px 9px; font-size: 12px; font-weight: 650; }
.tag-list a:hover { text-decoration: underline; }
.offer-action { display: inline-flex; min-height: 44px; align-items: center; }
.sector-grid, .scenario-grid, .legal-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.sector-card, .legal-steps article { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 7px 18px #1733490d; }
.sector-card img { width: 100%; height: auto; aspect-ratio: 2.2; object-fit: cover; }
.sector-card > div, .legal-steps article { padding: 19px; }
.sector-card h2, .legal-steps h2 { font-size: 21px; margin-block: 5px 8px; }
.sector-card p, .sector-card ol, .legal-steps p { font-size: 14px; }
.closing-panel { border-radius: 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; background: #0b2944; color: #fff; }
.contact-layout { grid-template-columns: .7fr 1.3fr; }
.contact-guide h2 { margin-top: 20px; }
.contact-guide .work-steps { padding-inline-start: 24px; }
.contact-guide .work-steps li { padding-block: 7px; }

footer { background: #041a30; padding: 34px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand p { font-size: 13px; max-width: 31ch; color: #d0dce8; margin-top: 8px; }
.footer-grid nav { display: grid; align-content: start; }
.footer-grid nav strong { color: #f3f9ff; margin-block-end: 4px; }
.footer-grid nav a, .footer-bottom a { color: #dbe6f0; text-decoration: none; display: flex; align-items: center; min-height: 37px; font-size: 13px; }
.footer-grid nav a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; border-top: 1px solid #2a455b; margin-top: 23px; padding-block: 6px; color: #cedbe5; }
.footer-bottom small { margin-inline-end: auto; }

.navigator-dialog { padding: 0; border: 1px solid #2a526c; border-radius: 17px; overflow: hidden; background: #071d36; color: #f7fcff; width: min(1130px, 94vw); height: min(890px, 92dvh); max-height: 92dvh; }
.navigator-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.navigator-dialog::backdrop { background: #010b18c4; }
.navigator-dialog-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #2a526c; padding: 1px 16px; }
.icon-button { min-width: 44px; min-height: 44px; border: 0; color: inherit; background: transparent; font-size: 27px; }
.navigator-dialog iframe { border: 0; width: 100%; height: 100%; background: #f5f8fb; }
body:has(.navigator-dialog[open]) { overflow: hidden; }
.journey-page { background: #ecf3f8; }
.embedded .mast { position: static; }
.embedded .mast-inner { min-height: 55px; }
.journey { width: var(--shell); margin: 24px auto 36px; display: grid; grid-template-columns: minmax(240px,.6fr) minmax(0,1.4fr); border: 1px solid #d8e5ec; border-radius: 17px; background: #fff; overflow: hidden; box-shadow: 0 14px 40px #122b4313; }
.embedded .journey { width: calc(100% - 28px); margin-block: 14px; }
.journey-brand { background: #071d36; color: #edf6fb; }
.journey-brand img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; object-position: left; }
.journey-brand > div { padding: clamp(18px,2.4vw,30px); }
.journey-brand h1 { font-size: clamp(25px,3vw,37px); margin-block: 8px 12px; }
.journey-brand p { font-size: 14px; }
.journey-brand p:last-child { color: #b9cfde; }
.journey-body { padding: clamp(18px,3vw,38px); min-width: 0; }
.journey-head { display: grid; grid-template-columns: 1fr minmax(75px,24%); gap: 10px; align-items: start; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.journey-head p { color: var(--teal); font-size: 13px; font-weight: 750; margin-bottom: 5px; }
.journey-head progress { width: 100%; accent-color: var(--teal); margin-top: 8px; }
.journey-form fieldset { margin: 0 0 17px; padding: 0; border: 0; min-width: 0; }
.journey-form legend { font-weight: 750; margin-bottom: 8px; }
.choice-grid, .segments { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.choice { display: flex; align-items: center; gap: 7px; position: relative; padding: 10px; min-height: 54px; background: #f3f7fa; border: 1px solid #cbdce5; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.choice .icon { color: var(--teal); }
.choice input { min-width: 15px; margin: 0; accent-color: var(--teal); }
.choice:has(:checked) { background: #eaf6c9; border-color: #759519; }
.choice:has(:focus-visible) { outline: 2px solid var(--teal); outline-offset: 1px; }
.choice:has(:disabled) { opacity: .58; cursor: default; }
.segments .choice { min-height: 44px; }
.capability-review { display: grid; margin-top: 15px; }
.capability-review fieldset { border-bottom: 1px solid #e2edf3; padding-bottom: 12px; }
.capability-review .icon { color: var(--teal); }
.journey-actions { justify-content: space-between; margin-top: 8px; }
.recommendations { padding-inline-start: 24px; }
.recommendations > li { border: 1px solid #d5e5ee; border-radius: 10px; background: #f4f9fb; padding: 16px; margin-bottom: 10px; }
.recommendations > li::marker { color: var(--teal); font-weight: 800; }
.recommendations > li > .icon { color: var(--teal); margin-bottom: 8px; }
.recommendations ul { padding-inline-start: 18px; }
.revise-button { margin-bottom: 18px; }
.quiet-button { background: transparent; border: 0; color: var(--teal); min-height: 44px; padding-inline: 3px; text-decoration: underline; }
.status-form { display: grid; gap: 5px; min-width: 125px; }

@media (min-width: 841px) and (max-width: 1080px) {
    .mast .header-cta { display: none; }
    .mast nav a { font-size: 11px; }
    .mast nav { gap: 8px; }
    .hero-copy { width: 56%; }
}
@media (max-width: 840px) {
    .mast nav a { font-size: 15px; }
    .hero-inner { min-height: 570px; }
    .hero-copy { width: 65%; }
    .hero::after { background: linear-gradient(270deg,#071d36 4%,#071d36de 45%,#071d360e 94%); }
    .inner-grid { gap: 20px; }
    .sector-grid, .scenario-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .journey { grid-template-columns: 1fr; }
    .journey-brand { display: grid; grid-template-columns: .65fr 1.35fr; }
    .journey-brand img { height: 100%; object-fit: cover; }
}
@media (max-width: 600px) {
    :root { --section-gap: 43px; --shell: calc(100% - 34px); }
    .mast-inner { min-height: 61px; }
    .brand img { width: 134px; }
    .hero-inner { min-height: clamp(688px,185vw,765px); display: block; padding: 37px 0 min(94vw, 356px); }
    .hero-inner::before { content: none; }
    .hero::after, [dir="ltr"] .hero::after { background: linear-gradient(180deg,#071d36 25%,#071d36e8 45%,#071d3600 65%,#071d3600 87%,#071d36 100%); }
    .hero-layer { background-position: left bottom 19px; background-size: 100% auto; }
    .hero-layer[data-slide="0"] { background-image: url('/media/cairo-mobile.webp'); }
    .hero-layer[data-slide="1"] { background-image: url('/media/riyadh-mobile.webp'); }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: clamp(28px, 8.5vw, 41px); min-height: 3.65em; line-height: 1.17; }
    .hero-copy > p:not(.hero-brand, .hero-kicker) { margin-bottom: 18px; font-size: 14px; }
    .hero .actions { margin-top: 16px; gap: 9px; align-items: stretch; }
    .hero .button { min-height: 49px; }
    .carousel-controls { bottom: 6px; }
    .solutions-home { padding-block: 34px; }
    .business-flow { grid-template-columns: 1fr; margin-block: 16px; }
    .business-flow li { display: flex; align-items: start; gap: 10px; padding: 10px 12px; }
    .business-flow li strong { margin-top: 0; }
    .home-page .business-flow, .home-page .capabilities { background: #264960; border-color: #264960; }
    .home-page .business-flow li { background: #0b2944; color: #f5fbff; }
    .home-page .business-flow li span { color: #cbdfe9; }
    .home-page .business-flow li .icon { color: #75dbd6; }
    .navigator-band, [dir="ltr"] .navigator-band { display: block; background: #071e33; padding: 170px 18px 20px; }
    .navigator-band::before, [dir="ltr"] .navigator-band::before { transform: none; background: linear-gradient(180deg,#071e3300 0%,#071e33 59%),var(--compass-image) left top / 100% auto no-repeat; }
    .navigator-band .band-copy { width: 100%; }
    .split { grid-template-columns: 1fr; }
    .tech-card { background: #0b2944; border: 1px solid #264960; }
    .tech-card img { order: 0; }
    .market-band .shell { grid-template-columns: 1fr; min-height: 0; padding: 12px 0 25px; gap: 0; }
    .market-band img, [dir="ltr"] .market-band img { order: 0; width: min(100%, 315px); }
    .market-band .band-copy { margin-top: 4px; z-index: 1; }
    .market-band .market-icon { display: none; }
    .expertise { padding-block-start: 40px; }
    .inner-lead { padding-block: 19px 23px; }
    .inner-grid, .feature-row, .feature-row.reverse, .contact-layout, .sector-grid, .scenario-grid, .legal-steps { grid-template-columns: 1fr; gap: 18px; }
    .inner-grid img { aspect-ratio: 2.4; }
    .feature-row.reverse img { order: 0; }
    .feature-row img, .contact-guide img { max-height: 235px; object-fit: cover; }
    .closing-panel { display: grid; padding: 20px; }
    .tag-list a, .footer-grid nav a, .footer-bottom a { min-height: 44px; }
    .footer-grid { gap: 20px 12px; }
    .footer-brand { grid-column: 1 / -1; }
    .journey-page { background: #071d36; }
    .journey, .embedded .journey { width: 100%; margin: 0; border: 0; border-radius: 0; min-height: calc(100dvh - 61px); }
    .journey-brand { grid-template-columns: .46fr 1fr; }
    .journey-brand img { object-fit: contain; object-position: center; }
    .journey-brand > div { padding: 12px; }
    .journey-brand h1 { font-size: 22px; }
    .journey-brand p { font-size: 12px; }
    .journey-body { padding: 17px; }
    .choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .segments .choice { font-size: 12px; padding: 6px; }
}

.ai-wait-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-inline-end: .45em;
    border: 2px solid var(--teal);
    border-inline-end-color: transparent;
    border-radius: 50%;
    vertical-align: middle;
    animation: ai-wait-spin 1s linear infinite;
}

@keyframes ai-wait-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .ai-wait-icon { animation: none; border-inline-end-color: var(--teal); }
}
