@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
    --night: #070b12;
    --navy: #0b1424;
    --navy-2: #121b2d;
    --steel: #1e2a3b;
    --gold: #d8aa45;
    --gold-soft: #f2cf78;
    --red: #c8202f;
    --red-dark: #8f1722;
    --paper: #f8f5ed;
    --muted: #c9c3b7;
    --line: rgba(255, 255, 255, .14);
    --shadow: 0 22px 60px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(216, 170, 69, .05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        var(--night);
    background-size: 80px 80px, 80px 80px, auto;
    color: #fff;
    font-family: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
    direction: rtl;
    text-rendering: optimizeLegibility;
}
body.home-page { overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }

.site-header,
.ahmad {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 88px;
    padding: 14px 36px;
    background: rgba(7, 11, 18, .93);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}
#ahmad1, #ahmad2 { display: contents; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}
.brand__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(216, 170, 69, .2), rgba(200, 32, 47, .14));
    border: 1px solid rgba(216, 170, 69, .3);
    overflow: hidden;
}
.brand__mark img,
.brand__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.brand__logo--static {
    position: relative;
    z-index: 2;
}
.brand__logo--motion {
    position: absolute;
    inset: -11px;
    z-index: 3;
    width: calc(100% + 22px) !important;
    height: calc(100% + 22px) !important;
    opacity: 0;
    pointer-events: none;
    transform: scale(.78) rotate(-8deg);
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .34));
    transition: opacity .32s ease, transform .42s cubic-bezier(.16, 1, .3, 1);
}
.brand:hover .brand__logo--motion,
.brand:focus-visible .brand__logo--motion {
    opacity: 1;
    transform: scale(1.05) rotate(0);
}
.site-logo-intro { display: none; }
.brand__text { display: grid; gap: 4px; min-width: 0; }
.brand__text strong { font-size: 1.12rem; font-weight: 900; white-space: nowrap; }
.brand__text small { color: var(--gold-soft); font-size: .78rem; white-space: nowrap; }
.primary-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}
.primary-nav a,
.header-cta,
.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    border-radius: 8px;
}
.primary-nav a {
    padding: 10px 14px;
    color: rgba(255, 255, 255, .82);
    border: 1px solid transparent;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
    outline: none;
}
.header-cta {
    padding: 10px 18px;
    color: #111827;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    box-shadow: 0 14px 30px rgba(216, 170, 69, .24);
}
.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    display: block;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
}
.nav-toggle__glyph {
    display: none;
}

.hero {
    position: relative;
    min-height: calc(100vh - 88px);
    display: grid;
    place-items: center;
    padding: 110px 22px 72px;
    isolation: isolate;
    overflow: hidden;
}
.hero__video,
.hero::before,
.cta-section__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero__video {
    object-fit: cover;
    z-index: -4;
    filter: saturate(.9) contrast(1.05);
}
.hero::before {
    content: "";
    z-index: -3;
    background-image: url('../../img/mg/t11.jpg');
    background-size: cover;
    background-position: center;
}
.hero__shade,
.cta-section::after {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 11, 18, .95), rgba(8, 17, 29, .78), rgba(7, 11, 18, .88)),
        linear-gradient(180deg, rgba(200, 32, 47, .2), transparent 38%, rgba(216, 170, 69, .12));
}
.hero__content,
.section-intro,
.cta-section__content {
    width: min(100%, 1050px);
    margin: 0 auto;
    text-align: center;
}
.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    margin: 0 0 22px;
    color: var(--gold-soft);
    border: 1px solid rgba(216, 170, 69, .34);
    border-radius: 8px;
    background: rgba(216, 170, 69, .1);
    font-weight: 900;
}
.hero h1,
.section-intro h2,
.operations-section h2,
.cta-section h2 {
    margin: 0;
    line-height: 1.08;
    font-weight: 950;
    color: var(--paper);
}
.hero h1 {
    font-size: 4.55rem;
    max-width: 980px;
    margin-inline: auto;
}
.hero__lead,
.section-intro p,
.operations-section__copy p,
.cta-section p {
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.9;
}
.hero__lead { max-width: 820px; margin: 24px auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.btn {
    min-width: 178px;
    padding: 14px 22px;
    border: 1px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn--gold { color: #111827; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); box-shadow: 0 20px 42px rgba(216, 170, 69, .26); }
.btn--red { color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 20px 42px rgba(200, 32, 47, .24); }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .22); }
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 880px;
    margin: 48px auto 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(12px);
}
.hero__stats span {
    display: grid;
    gap: 8px;
    min-height: 104px;
    padding: 18px;
    color: var(--muted);
    background: rgba(7, 11, 18, .55);
}
.hero__stats strong { color: var(--gold-soft); font-size: 2rem; line-height: 1; }
.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust-strip__item {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 22px;
    color: var(--paper);
    background: linear-gradient(135deg, #101827, #0c111b);
    font-weight: 850;
}
.trust-strip__item span {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(216, 170, 69, .12);
}
.services-section,
.feature-band,
.operations-section,
.cta-section,
.ahmad3 {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 92px 22px;
}
.section-intro h2,
.operations-section h2,
.cta-section h2 { font-size: 3.05rem; }
.section-intro p { max-width: 760px; margin: 20px auto 0; }
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 44px;
}
.service-card {
    position: relative;
    min-height: 252px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 26px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
        linear-gradient(180deg, #162033, #0c121d);
    box-shadow: var(--shadow);
    transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(216, 170, 69, .18), transparent 42%, rgba(200, 32, 47, .11));
    opacity: 0;
    transition: opacity .28s ease;
}
.service-card:hover,
.service-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(216, 170, 69, .55);
    outline: none;
}
.service-card:hover::before,
.service-card:focus-visible::before { opacity: 1; }
.service-card__icon,
.feature-tile__icon {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--gold-soft);
    background: rgba(216, 170, 69, .12);
    border: 1px solid rgba(216, 170, 69, .28);
}
.service-card__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-card__body { position: relative; z-index: 1; display: grid; gap: 12px; }
.service-card__body strong { font-size: 1.45rem; line-height: 1.35; }
.service-card__body small { color: var(--muted); font-size: 1rem; line-height: 1.75; }
.service-card__arrow { position: relative; z-index: 1; align-self: flex-start; color: var(--gold-soft); font-size: 1.7rem; }
.operations-section {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 38px;
    align-items: center;
}
.operations-section__media {
    position: relative;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: var(--shadow);
}
.operations-section__media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.operations-section__copy { padding: 18px 0; }
.operations-section__copy p { margin: 20px 0 0; }
.check-list {
    display: grid;
    gap: 14px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}
.check-list li {
    position: relative;
    padding: 14px 48px 14px 16px;
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
}
.check-list li::before {
    content: "";
    position: absolute;
    right: 17px;
    top: 50%;
    width: 13px;
    height: 7px;
    border-right: 2px solid var(--gold-soft);
    border-bottom: 2px solid var(--gold-soft);
    transform: translateY(-65%) rotate(45deg);
}
.feature-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 38px;
}
.feature-tile {
    min-height: 260px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: linear-gradient(180deg, #111a2a, #0a0f18);
}
.feature-tile__icon { color: #111827; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); font-weight: 950; }
.feature-tile h3 { margin: 24px 0 12px; font-size: 1.45rem; }
.feature-tile p { margin: 0; color: var(--muted); line-height: 1.8; }
.clients-section {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 96px 22px;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(216, 170, 69, .08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
}
.clients-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(216, 170, 69, .06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: .55;
}
.clients-section > * {
    position: relative;
    z-index: 1;
}
.clients-grid {
    width: min(100%, 1120px);
    margin: 44px auto 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
}
.client-logo {
    position: relative;
    min-height: 138px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background: rgba(10, 15, 24, .72);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.client-logo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(216, 170, 69, .18), transparent 52%, rgba(200, 32, 47, .12));
    opacity: 0;
    transition: opacity .28s ease;
}
.client-logo img {
    position: relative;
    z-index: 1;
    width: min(100%, 96px);
    height: 96px;
    object-fit: contain;
    filter: saturate(.92) contrast(1.02);
    transition: transform .28s ease, filter .28s ease;
}
.client-logo:hover,
.client-logo:focus-within {
    transform: translateY(-6px);
    border-color: rgba(216, 170, 69, .38);
    box-shadow: 0 24px 54px rgba(0, 0, 0, .28);
}
.client-logo:hover::before,
.client-logo:focus-within::before { opacity: 1; }
.client-logo:hover img,
.client-logo:focus-within img {
    transform: scale(1.05);
    filter: saturate(1.08) contrast(1.08);
}
.cta-section {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 520px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.cta-section__bg { z-index: -3; background: url('../../img/mg/t1.jpeg') center / cover no-repeat; filter: saturate(.9); }
.cta-section::after { content: ""; }
.cta-section__content p { max-width: 680px; margin: 20px auto 0; }

.digital-platform-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
    gap: 28px;
    align-items: center;
    padding: 88px 36px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 18% 16%, rgba(216, 170, 69, .13), transparent 28%),
        radial-gradient(circle at 86% 8%, rgba(200, 32, 47, .14), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    overflow: hidden;
}

.digital-platform-section::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, .08);
    pointer-events: none;
}

.digital-platform__copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.digital-platform__copy h2 {
    margin: 0;
    color: var(--paper);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.08;
    font-weight: 950;
}

.digital-platform__copy p {
    max-width: 680px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 1.14rem;
    line-height: 1.9;
}

.digital-platform__capabilities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 22px;
}

.digital-platform__capabilities span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    font-weight: 800;
    line-height: 1.4;
}

.digital-platform__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.platform-card {
    min-height: 230px;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)),
        rgba(5, 8, 14, .64);
    box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
}

.platform-card__num {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 4px;
    color: #111827;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    font-weight: 950;
}

.platform-card h3 {
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 1.18rem;
}

.platform-card p {
    margin: 0;
    color: var(--muted);
    text-align: center;
    line-height: 1.75;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px 36px;
    background: #05080e;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.site-footer div { display: grid; gap: 4px; }
.site-footer strong { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--gold-soft); outline: none; }
.floating-cta {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 80;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 58px;
    padding: 12px 18px;
    border-radius: 8px;
    color: #111827;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    box-shadow: 0 20px 50px rgba(216, 170, 69, .34);
    text-decoration: none;
    font-weight: 950;
}
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .78s cubic-bezier(.2, .8, .2, 1), transform .78s cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
:target .reveal { opacity: 1; transform: translateY(0); }
.ahmad3 { min-height: 54vh; }
.ahmadalmalki1,
.header2 {
    width: 100%;
    background: #05080e;
    color: var(--muted);
    text-align: center;
}
.ahmadalmalki1 { padding: 24px; border-top: 1px solid var(--line); }
.msall {
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 32px;
    color: var(--paper);
    line-height: 1.9;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
}
h2.title {
    width: fit-content;
    margin: 0 auto 26px;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.form-container,
.success-message {
    width: min(100%, 520px) !important;
    margin: 0 auto !important;
    padding: 28px !important;
    border: 1px solid rgba(255, 255, 255, .13) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #111a2a, #0b1019) !important;
    box-shadow: var(--shadow) !important;
}
.form-container label { color: var(--paper) !important; }
.form-container input[type="text"],
.form-container input[type="number"],
.form-container input[type="password"],
.form-container textarea {
    width: 100% !important;
    min-height: 46px;
    padding: 10px 12px !important;
    margin: 6px 0 14px !important;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .08) !important;
}
.form-container input[type="submit"],
button,
input[type="button"] { border-radius: 8px; }
.form-container input[type="submit"] {
    width: 100% !important;
    min-height: 48px;
    color: #111827 !important;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft)) !important;
}
@media (max-width: 1020px) {
    .hero h1 { font-size: 3.35rem; }
    .section-intro h2,
    .operations-section h2,
    .cta-section h2 { font-size: 2.45rem; }
    .service-grid,
    .feature-band,
    .clients-grid,
    .operations-section { grid-template-columns: 1fr 1fr; }
    .operations-section__copy { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .site-header,
    .ahmad { min-height: 76px; padding: 10px 16px; gap: 10px; }
    .brand__mark { width: 52px; height: 52px; flex-basis: 52px; }
    .brand__mark img { width: 43px; height: 43px; }
    .brand__text strong { font-size: .98rem; }
    .brand__text small { font-size: .7rem; }
    .primary-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 14px;
        left: 14px;
        display: grid;
        gap: 8px;
        padding: 14px;
        margin: 0;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 8px;
        background: rgba(8, 13, 22, .98);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .24s ease, transform .24s ease;
    }
    .site-header.is-menu-open .primary-nav,
    .ahmad.is-menu-open .primary-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .primary-nav a { justify-content: flex-start; padding: 12px 14px; }
    .header-cta { display: none; }
    .nav-toggle { display: grid; margin-inline-start: auto; }
    .hero { min-height: calc(100svh - 76px); padding: 72px 18px 52px; }
    .hero h1 { font-size: 2.6rem; }
    .hero__lead,
    .section-intro p,
    .operations-section__copy p,
    .cta-section p { font-size: 1.05rem; }
    .hero__stats,
    .trust-strip,
    .service-grid,
    .feature-band,
    .clients-grid,
    .operations-section { grid-template-columns: 1fr; }
    .services-section,
    .feature-band,
    .clients-section,
    .operations-section,
    .cta-section,
    .ahmad3 { padding: 66px 16px; }
    .operations-section__media,
    .operations-section__media img { min-height: 360px; }
    .site-footer { display: grid; padding: 28px 18px 92px; }
}
@media (max-width: 520px) {
    .brand__text small { display: none; }
    .hero h1 { font-size: 2.15rem; }
    .section-intro h2,
    .operations-section h2,
    .cta-section h2 { font-size: 2rem; }
    .hero__actions { display: grid; grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .service-card,
    .feature-tile,
    .client-logo,
    .msall { padding: 22px; }
    .client-logo { min-height: 126px; }
    .client-logo img { width: 86px; height: 86px; }
    .floating-cta { left: 14px; bottom: 14px; min-width: 82px; min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero__content,
.section-intro,
.cta-section__content,
.operations-section__copy {
    max-width: calc(100vw - 44px);
}

.hero h1,
.section-intro h2,
.operations-section h2,
.cta-section h2,
.hero__lead,
.section-intro p,
.operations-section__copy p,
.cta-section p,
.service-card__body strong,
.service-card__body small {
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 860px) {
    .brand {
        max-width: calc(100% - 62px);
        flex: 1 1 auto;
    }

    .brand__text {
        min-width: 0;
    }

    .brand__text strong {
        max-width: 210px;
        white-space: normal;
        line-height: 1.18;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 520px) {
    .site-header,
    .ahmad {
        padding-inline: 12px;
    }

    .brand__text strong {
        max-width: 178px;
        font-size: .86rem;
    }

    .hero {
        padding-inline: 14px;
    }

    .hero__content,
    .section-intro,
    .cta-section__content,
    .operations-section__copy {
        max-width: calc(100vw - 28px);
    }

    .hero h1 {
        font-size: 1.84rem;
        line-height: 1.22;
    }

    .hero__lead {
        font-size: .98rem;
        line-height: 1.85;
    }

    .eyebrow,
    .section-kicker {
        width: 100%;
        padding-inline: 10px;
    }
}
@media (max-width: 520px) {
    .hero__content,
    .hero__lead,
    .section-intro,
    .cta-section__content {
        max-width: 330px;
    }

    .hero h1 {
        max-width: 330px;
        margin-inline: auto;
        font-size: 1.68rem;
    }

    .eyebrow {
        max-width: 330px;
        margin-inline: auto;
        font-size: .92rem;
    }

    .brand {
        max-width: 300px;
    }

    .brand__mark {
        background: rgba(255, 255, 255, .08);
    }
}
/* Arabic typography and richer entrance motion */
body,
button,
input,
textarea,
select {
    font-family: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
    letter-spacing: 0;
}

.hero h1,
.section-intro h2,
.operations-section h2,
.cta-section h2,
.service-card__body strong,
.feature-tile h3,
.brand__text strong {
    font-family: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
    letter-spacing: 0;
}

.hero h1,
.section-intro h2,
.operations-section h2,
.cta-section h2 {
    text-wrap: balance;
}

.hero__lead,
.section-intro p,
.operations-section__copy p,
.cta-section p,
.service-card__body small {
    text-wrap: pretty;
}

.reveal {
    opacity: 0;
    transform: translate3d(0, 38px, 0) scale(.985);
    filter: blur(8px);
    will-change: opacity, transform, filter;
    transition:
        opacity .86s cubic-bezier(.16, 1, .3, 1),
        transform .86s cubic-bezier(.16, 1, .3, 1),
        filter .86s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.service-card.reveal {
    transform: translate3d(0, 44px, 0) scale(.96);
}

.service-card.reveal.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
}

.service-card.reveal.is-visible:hover,
.service-card.reveal.is-visible:focus-visible {
    transform: translate3d(0, -7px, 0) scale(1.01);
}

.trust-strip__item:nth-child(2) { --delay: 90ms; }
.trust-strip__item:nth-child(3) { --delay: 180ms; }
.feature-tile:nth-child(2) { --delay: 100ms; }
.feature-tile:nth-child(3) { --delay: 200ms; }
.client-logo:nth-child(2) { --delay: 70ms; }
.client-logo:nth-child(3) { --delay: 140ms; }
.client-logo:nth-child(4) { --delay: 210ms; }
.client-logo:nth-child(5) { --delay: 280ms; }
.client-logo:nth-child(6) { --delay: 350ms; }
.client-logo:nth-child(7) { --delay: 420ms; }

@keyframes heroEnter {
    from {
        opacity: 0;
        transform: translate3d(0, 34px, 0) scale(.98);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes mediaBreath {
    from { transform: scale(1); }
    to { transform: scale(1.055); }
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 20px 42px rgba(216, 170, 69, .24); }
    50% { box-shadow: 0 22px 58px rgba(216, 170, 69, .42); }
}

@keyframes floatButtonPulse {
    0% { transform: scale(.96); opacity: .45; }
    70%, 100% { transform: scale(1.38); opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__video,
    .hero::before {
        animation: mediaBreath 14s ease-in-out infinite alternate;
        transform-origin: center;
    }

    .home-page .hero .eyebrow,
    .home-page .hero h1,
    .home-page .hero__lead,
    .home-page .hero__actions,
    .home-page .hero__stats {
        opacity: 0;
        animation: heroEnter .82s cubic-bezier(.16, 1, .3, 1) forwards;
    }

    .home-page .hero .eyebrow { animation-delay: .08s; }
    .home-page .hero h1 { animation-delay: .20s; }
    .home-page .hero__lead { animation-delay: .34s; }
    .home-page .hero__actions { animation-delay: .48s; }
    .home-page .hero__stats { animation-delay: .62s; }

    .btn--gold,
    .header-cta {
        animation: goldPulse 3.4s ease-in-out infinite;
    }

    .floating-cta::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 1px solid rgba(242, 207, 120, .55);
        animation: floatButtonPulse 2.4s ease-out infinite;
        pointer-events: none;
    }
}

.nav-toggle span {
    transition: transform .24s ease, opacity .24s ease;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1),
.ahmad.is-menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2),
.ahmad.is-menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3),
.ahmad.is-menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}
/* Internal pages redesign 2026-05-21 */
@font-face {
    font-family: "Cairo Local";
    src: url("../../Cairo-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body.inner-page,
body.inner-page button,
body.inner-page input,
body.inner-page textarea,
body.inner-page select {
    font-family: "Tajawal", "IBM Plex Sans Arabic", "Cairo Local", "Segoe UI", Tahoma, Arial, sans-serif;
}

body.inner-page {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(216, 170, 69, .13), transparent 28%),
        linear-gradient(90deg, rgba(216, 170, 69, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
        #070b12;
    background-size: auto, 86px 86px, 86px 86px, auto;
}

.inner-main {
    min-height: 100vh;
}

.inner-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(420px, 58svh, 620px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(72px, 9vw, 118px) 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.inner-hero--compact {
    min-height: clamp(340px, 45svh, 500px);
}

.inner-hero::before,
.inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}

.inner-hero::before {
    background: var(--inner-bg) center / cover no-repeat;
    transform: scale(1.03);
    filter: saturate(.9) contrast(1.04);
}

.inner-hero::after {
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, .45), rgba(7, 11, 18, .94)),
        linear-gradient(90deg, rgba(200, 32, 47, .22), transparent 38%, rgba(216, 170, 69, .16));
}

.inner-hero__content {
    width: min(100%, 940px);
    margin-inline: auto;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 18px;
}

.inner-hero .section-kicker {
    width: auto;
    margin: 0;
}

.inner-hero h1 {
    max-width: 920px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.15rem, 6vw, 5rem);
    line-height: 1.08;
    font-weight: 900;
    text-wrap: balance;
}

.inner-hero p:not(.section-kicker) {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1.05rem, 2.1vw, 1.45rem);
    line-height: 1.9;
    text-wrap: pretty;
}

.inner-band {
    position: relative;
    padding: clamp(54px, 8vw, 94px) 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.inner-band--soft,
.document-band {
    background:
        linear-gradient(135deg, rgba(18, 27, 45, .78), rgba(7, 11, 18, .94)),
        linear-gradient(90deg, rgba(216, 170, 69, .06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
}

.inner-shell {
    width: min(100%, 1120px);
    margin-inline: auto;
}

.about-layout,
.inner-form-layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(22px, 4vw, 42px);
    align-items: center;
}

.about-copy,
.form-aside,
.inner-form-card,
.value-card,
.metric-card,
.document-toolbar,
.document-page {
    border: 1px solid rgba(255, 255, 255, .13);
    background: linear-gradient(145deg, rgba(18, 27, 45, .86), rgba(7, 11, 18, .9));
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.about-copy,
.form-aside,
.inner-form-card {
    padding: clamp(24px, 4vw, 42px);
}

.about-copy h2,
.form-aside h2,
.form-heading h2,
.document-toolbar h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.2;
    font-weight: 900;
    text-wrap: balance;
}

.about-copy p,
.form-aside p,
.form-heading p,
.value-card p,
.login-card p {
    color: rgba(255, 255, 255, .76);
    font-size: 1.05rem;
    line-height: 1.95;
}

.about-copy .btn {
    margin-top: 14px;
}

.about-media {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(216, 170, 69, .24);
    box-shadow: var(--shadow);
}

.about-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.about-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(7, 11, 18, .78));
}

.about-badge {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    padding: 12px 16px;
    color: #111827;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border-radius: 8px;
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(216, 170, 69, .28);
}

.metric-grid,
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.metric-card,
.value-card {
    padding: 28px;
}

.metric-card {
    min-height: 156px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 8px;
}

.metric-card strong {
    color: var(--gold-soft);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 900;
}

.metric-card span,
.value-card span {
    color: rgba(255, 255, 255, .7);
    font-weight: 800;
}

.value-card {
    min-height: 250px;
    display: grid;
    align-content: start;
    gap: 12px;
}

.value-card > span {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #111827;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border-radius: 8px;
    font-weight: 900;
}

.value-card h3 {
    margin: 8px 0 0;
    color: #fff;
    font-size: 1.35rem;
}

.form-aside {
    align-self: stretch;
    display: grid;
    align-content: center;
}

.inner-checks,
.process-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.inner-checks li,
.process-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .8);
    font-weight: 800;
}

.inner-checks li::before,
.process-list span::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 999px;
    background: var(--gold-soft);
    box-shadow: 0 0 0 6px rgba(216, 170, 69, .12);
}

.process-list span {
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .04);
}

.form-heading {
    margin-bottom: 24px;
}

.form-heading .section-kicker {
    margin-bottom: 12px;
}

.advanced-form {
    display: grid;
    gap: 22px;
}

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

.form-grid-single {
    grid-template-columns: 1fr;
}

.advanced-form label {
    display: grid;
    gap: 8px;
    color: #fff;
    font-weight: 800;
}

.advanced-form label span {
    color: rgba(255, 255, 255, .78);
}

.advanced-form input,
.advanced-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    color: #fff;
    caret-color: var(--gold-soft);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
    line-height: 1.6;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.advanced-form textarea {
    resize: vertical;
    min-height: 130px;
}

.advanced-form input:focus,
.advanced-form textarea:focus {
    border-color: rgba(242, 207, 120, .82);
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 0 0 4px rgba(216, 170, 69, .12);
}

.form-field-wide,
.form-submit,
.form-message {
    grid-column: 1 / -1;
}

.form-submit {
    width: min(100%, 320px);
    border: 0;
    cursor: pointer;
}

.form-submit:disabled {
    cursor: progress;
    opacity: .72;
}

.form-message {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.8;
}

.form-message.is-success,
.form-message.is-error {
    display: block;
}

.form-message.is-success {
    color: #dff7e9;
    background: rgba(38, 156, 91, .18);
    border: 1px solid rgba(91, 221, 145, .34);
}

.form-message.is-error {
    color: #ffe1e1;
    background: rgba(200, 32, 47, .18);
    border: 1px solid rgba(255, 122, 122, .35);
}

.login-shell {
    width: min(100%, 640px);
}

.login-card {
    margin-inline: auto;
}

.document-shell {
    width: min(100%, 920px);
}

.document-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    margin-bottom: 20px;
}

.document-toolbar h2 {
    margin-bottom: 0;
}

.document-toolbar .section-kicker {
    margin: 0 0 10px;
}

.document-toolbar > span {
    flex: 0 0 auto;
    color: #111827;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 900;
}

.document-gallery {
    display: grid;
    gap: 18px;
}

.document-page {
    margin: 0;
    overflow: hidden;
    padding: 10px;
    background: rgba(255, 255, 255, .06);
}

.document-page img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.inner-footer {
    margin-top: 0;
}

@keyframes innerHeroMedia {
    from { transform: scale(1.02); }
    to { transform: scale(1.075); }
}

@keyframes innerHeroItem {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .inner-hero::before {
        animation: innerHeroMedia 14s ease-in-out infinite alternate;
        transform-origin: center;
    }

    .inner-hero__content .section-kicker,
    .inner-hero__content h1,
    .inner-hero__content p:not(.section-kicker) {
        opacity: 0;
        animation: innerHeroItem .78s cubic-bezier(.16, 1, .3, 1) forwards;
    }

    .inner-hero__content .section-kicker { animation-delay: .08s; }
    .inner-hero__content h1 { animation-delay: .2s; }
    .inner-hero__content p:not(.section-kicker) { animation-delay: .34s; }
}

@media (max-width: 900px) {
    .about-layout,
    .inner-form-layout,
    .metric-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }

    .about-media,
    .about-media img {
        min-height: 330px;
    }

    .form-aside {
        align-content: start;
    }
}

@media (max-width: 640px) {
    .inner-hero {
        min-height: 390px;
        padding: 62px 16px;
    }

    .inner-hero--compact {
        min-height: 320px;
    }

    .inner-hero h1 {
        font-size: 2rem;
        line-height: 1.18;
    }

    .inner-hero p:not(.section-kicker),
    .about-copy p,
    .form-aside p,
    .form-heading p,
    .value-card p {
        font-size: .98rem;
        line-height: 1.85;
    }

    .inner-band {
        padding: 44px 14px;
    }

    .about-copy,
    .form-aside,
    .inner-form-card,
    .metric-card,
    .value-card {
        padding: 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .document-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-page {
        padding: 7px;
    }
}
/* Keep fixed CTA out of form and document reading flows */
.inner-page--career .floating-cta,
.inner-page--quote .floating-cta,
.inner-page--login .floating-cta,
.inner-page--documents .floating-cta {
    display: none;
}
/* Language and style system controls */
html[dir="ltr"] body {
    direction: ltr;
    font-family: "Inter", "Tajawal", "Segoe UI", Arial, sans-serif;
}

html[dir="ltr"] .brand,
html[dir="ltr"] .primary-nav,
html[dir="ltr"] .utility-switches,
html[dir="ltr"] .hero__actions,
html[dir="ltr"] .site-footer nav,
html[dir="ltr"] .inner-checks li,
html[dir="ltr"] .process-list span,
html[dir="ltr"] .check-list li {
    direction: ltr;
}

html[dir="ltr"] .operations-section__copy,
html[dir="ltr"] .about-copy,
html[dir="ltr"] .form-aside,
html[dir="ltr"] .inner-form-card,
html[dir="ltr"] .document-toolbar,
html[dir="ltr"] .service-card__body {
    text-align: left;
}

html[dir="ltr"] .service-card__arrow {
    transform: rotate(180deg);
}

.utility-switches {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: 4px;
}

.switch-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .055);
}

.style-select-wrap {
    position: relative;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .055);
}

.style-select-label {
    color: rgba(255, 255, 255, .68);
    font-size: .72rem;
    font-weight: 900;
    white-space: nowrap;
}

.style-select-wrap::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-inline-start: -24px;
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    color: var(--gold-soft);
    pointer-events: none;
    transform: translateY(-2px) rotate(45deg);
}

.style-select {
    min-width: 148px;
    min-height: 34px;
    padding: 6px 10px 6px 30px;
    color: var(--paper);
    border: 0;
    border-radius: 7px;
    background: transparent;
    appearance: none;
    cursor: pointer;
    font: inherit;
    font-size: .84rem;
    font-weight: 900;
    outline: none;
}

html[dir="ltr"] .style-select {
    padding: 6px 30px 6px 10px;
}

.style-select option {
    color: #111827;
    background: #fff;
}

.style-select:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(216, 170, 69, .38);
}

.switch-pill,
.style-pill {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 7px;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-size: .82rem;
    font-weight: 900;
    white-space: nowrap;
    transition: color .22s ease, background .22s ease, box-shadow .22s ease;
}

.switch-pill.is-active,
.style-pill.is-active {
    color: #111827;
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    box-shadow: 0 10px 24px rgba(216, 170, 69, .22);
}

[lang="en"] .brand__text strong,
[lang="en"] .hero h1,
[lang="en"] .inner-hero h1,
[lang="en"] .section-intro h2,
[lang="en"] .operations-section h2,
[lang="en"] .cta-section h2 {
    letter-spacing: 0;
}

@media (max-width: 1120px) {
    .utility-switches {
        order: 6;
        width: 100%;
        justify-content: center;
        margin-inline-start: 0;
    }
}

@media (max-width: 760px) {
    .utility-switches {
        position: absolute;
        top: calc(100% + 178px);
        right: 14px;
        left: 14px;
        z-index: 5;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease;
    }

    .site-header.is-menu-open .utility-switches,
    .ahmad.is-menu-open .utility-switches {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .switch-group {
        flex: 1;
        justify-content: center;
        background: rgba(7, 11, 18, .96);
    }

    .style-select-wrap {
        flex: 1.35;
        justify-content: center;
        background: rgba(7, 11, 18, .96);
    }

    .style-select-label {
        display: none;
    }

    .style-select {
        width: 100%;
        min-width: 0;
    }

    .switch-pill,
    .style-pill {
        flex: 1;
    }
}
/* Prevent fixed CTA from covering mobile hero controls */
@media (max-width: 760px) {
    .home-page .floating-cta {
        display: none;
    }
}

/* Refined footer, platform blocks, and mobile switcher order */
.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: start;
    gap: 26px;
    padding: 56px 36px 44px;
    text-align: center;
}

.site-footer__brand,
.site-footer__contact,
.site-footer__nav,
.site-footer__bottom {
    position: relative;
    z-index: 1;
}

.site-footer__brand {
    display: grid !important;
    justify-items: center;
    gap: 14px !important;
}

.footer-logo {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    padding: 10px;
    border: 1px solid rgba(216, 170, 69, .24);
    border-radius: 18px;
    background: rgba(255, 255, 255, .05);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer__brand strong {
    display: block;
    font-size: 1.25rem;
}

.site-footer__brand span {
    display: block;
    max-width: 520px;
    margin: 8px auto 0;
    line-height: 1.75;
}

.site-footer__contact {
    display: grid !important;
    gap: 10px !important;
}

.site-footer__contact a {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.site-footer__contact b {
    color: var(--gold-soft);
}

.site-footer__contact span {
    color: #fff;
    direction: ltr;
    unicode-bidi: isolate;
}

.site-footer__nav {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 10px 18px !important;
}

.site-footer__nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
}

.site-footer__bottom {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.operations-section__copy,
html[dir="ltr"] .operations-section__copy {
    text-align: center;
}

.operations-section__copy .check-list {
    max-width: 720px;
    margin-inline: auto;
}

@media (max-width: 1020px) {
    .digital-platform-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .digital-platform-section {
        padding: 68px 16px;
    }
}

@media (max-width: 760px) {
    .primary-nav {
        top: calc(100% + 70px);
    }

    .utility-switches {
        top: calc(100% + 8px);
        z-index: 6;
    }

    .digital-platform__grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding: 42px 18px 94px;
    }

    .site-footer__nav,
    .site-footer__bottom {
        grid-column: auto;
    }
}

@media (max-width: 430px) {
    .utility-switches {
        flex-wrap: wrap;
    }

    .primary-nav {
        top: calc(100% + 116px);
    }

    .platform-card,
    .site-footer__contact a {
        padding: 18px;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        position: fixed !important;
        top: 14px !important;
        right: 14px !important;
        left: auto !important;
        z-index: 1200 !important;
        display: grid !important;
        width: 48px !important;
        height: 48px !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: rgba(5, 8, 14, .92);
        border-color: rgba(255, 255, 255, .28);
        box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
    }

    .nav-toggle span {
        display: none !important;
        background: #fff !important;
        opacity: 1 !important;
    }

    .nav-toggle__glyph {
        display: block !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        color: #fff;
        background: transparent !important;
        font-size: 30px;
        line-height: 1;
        font-weight: 900;
    }
}
