/* =========================================================
   v67 — One header geometry for Quick Support, Shadow CEO and
   Al Hassan Model, in English and Arabic. Each brand keeps its
   own colours; only sizes, spacing and rhythm are shared.
   ========================================================= */
:root{
  --bar-h:92px;
  --bar-logo-h:50px;
  --bar-link:16px;
  --bar-link-ar:20px;
  --bar-gap:30px;
  --bar-cta-h:48px;
  --bar-cta-font:14.5px;
  --bar-cta-font-ar:18px;
}

/* ---------- Quick Support ---------- */
.site-header{min-height:var(--bar-h)!important}
.site-header .nav-wrap{min-height:var(--bar-h)!important;height:var(--bar-h);padding-top:0!important;padding-bottom:0!important;align-items:center}
.site-header .brand{gap:14px;align-items:center}
.site-header .brand img{height:var(--bar-logo-h)!important;width:auto!important;max-height:none!important}
.site-header .brand-text{font-size:22px!important;line-height:1}
.site-header .main-nav{gap:var(--bar-gap)!important;align-items:center}
.site-header .main-nav>a,.site-header .nav-services>a{font-size:var(--bar-link)!important;font-weight:600!important;padding:8px 0!important;line-height:1.2}
.site-header .main-nav .nav-cta{height:var(--bar-cta-h);display:inline-flex!important;align-items:center;padding:0 22px!important;font-size:var(--bar-cta-font)!important;font-weight:700!important;border-radius:999px!important;margin:0!important}
.site-header .lang-toggle{width:40px!important;height:40px!important;padding:0!important;font-size:13px!important;margin:0!important}
.site-header .nav-services-menu a{font-size:13.5px!important}
html[dir="rtl"] .site-header .main-nav>a,html[dir="rtl"] .site-header .nav-services>a{font-size:var(--bar-link-ar)!important;font-weight:600!important}
html[dir="rtl"] .site-header .main-nav .nav-cta{font-size:var(--bar-cta-font-ar)!important}
html[dir="rtl"] .site-header .nav-services-menu a{font-size:15px!important}
html[dir="rtl"] .site-header .brand-text{font-family:Inter,Arial,sans-serif!important;font-weight:700}

/* ---------- Shadow CEO ---------- */
.sc-v2-header,.sc-v2-header-inner{min-height:var(--bar-h)!important;height:var(--bar-h)!important}
.sc-v2-header-inner{align-items:center}
.sc-v2-brand img,.sc-v2-mark img{height:var(--bar-logo-h)!important;width:auto!important}
.sc-v2-nav{gap:var(--bar-gap)!important}
.sc-v2-nav a{font-size:var(--bar-link)!important;font-weight:600!important;padding:8px 0!important}
.sc-v2-contact{height:var(--bar-cta-h)!important;padding:0 22px!important;font-size:var(--bar-cta-font)!important;font-weight:700!important;display:inline-flex!important;align-items:center;gap:10px}
.sc-v2-lang{width:40px;height:40px;border:1px solid rgba(244,173,78,.55)!important;border-radius:999px!important;font-size:13px!important;font-weight:700!important;color:#fff!important;background:transparent!important;cursor:pointer}
html[dir="rtl"] .sc-v2-nav a{font-size:var(--bar-link-ar)!important}
html[dir="rtl"] .sc-v2-contact{font-size:var(--bar-cta-font-ar)!important}

/* ---------- Al Hassan Model ---------- */
@media (min-width:901px){.hm-p1-nav{height:var(--bar-h)!important;min-height:var(--bar-h)!important}}
.hm-p1-mark{height:34px!important;width:auto!important}
.hm-p1-brand{line-height:1}
.hm-p1-links{gap:var(--bar-gap)!important}
.hm-p1-links a{font-size:var(--bar-link)!important;font-weight:600!important}
.hm-p1-return{height:var(--bar-cta-h)!important;font-size:var(--bar-cta-font)!important}
.hm-p1-language{font-size:14px!important}
html[dir="rtl"] .hm-p1-links a{font-size:var(--bar-link-ar)!important}
html[dir="rtl"] .hm-p1-return{font-size:var(--bar-cta-font-ar)!important}

html[dir="rtl"] .hm-p1-links{direction:rtl}

/* ---------- phones & small tablets ---------- */
@media (max-width:900px){
  .hm-p1-nav,html[lang="en"] .hm-p1-nav{height:auto!important;min-height:0!important;padding:10px 16px 8px!important;
    grid-template-columns:auto 1fr auto!important;grid-template-rows:auto auto!important;
    grid-template-areas:'brand lang return' 'nav nav nav'!important;row-gap:8px!important;column-gap:12px!important}
  .hm-p1-brand{justify-self:start!important}
  .hm-p1-language{justify-self:end!important}
  .hm-p1-return{justify-self:end!important}
  .hm-p1-links{justify-content:center!important;gap:24px!important;overflow-x:auto;padding-top:8px;border-top:1px solid rgba(216,154,54,.22);scrollbar-width:none}
  .hm-p1-links::-webkit-scrollbar{display:none}
  .hm-p1-links a{font-size:14px!important;padding:4px 0!important}
  html[dir="rtl"] .hm-p1-links a{font-size:15.5px!important}
  .sc-v2-header,.sc-v2-header-inner{height:68px!important;min-height:68px!important}
  .sc-v2-contact{display:none!important}
  .sc-v2-lang{display:inline-flex!important;align-items:center;justify-content:center;width:38px;height:38px;flex:none;order:3}
  .sc-v2-menu{order:2}
  .sc-v2-brand img,.sc-v2-mark img{height:42px!important}
  .site-header,.site-header .nav-wrap{height:auto;min-height:68px!important}
  .site-header .brand img{height:42px!important}
  .site-header .brand-text{font-size:19px!important}
}

/* ---------- v68 — Quick Support bar: circuit overlay on the ORIGINAL colours + clearer content ---------- */
.site-header,.ct .site-header{background:
    url("../assets/visuals/circuit-bar.svg") center/cover no-repeat,
    radial-gradient(circle at 72% -35%,rgba(23,151,221,.42),transparent 38%),
    linear-gradient(135deg,#062d4e 0%,#073d68 52%,#052a49 100%)!important}
.site-header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#F9C721 20%,#fff 50%,#F9C721 80%,transparent);opacity:.8;pointer-events:none}
.site-header .brand img{height:70px!important;filter:drop-shadow(0 0 1px rgba(0,20,35,0.54)) drop-shadow(0 2px 8px rgba(0,20,35,0.42))}
.site-header .brand-text{font-size:26px!important;font-weight:800!important;white-space:nowrap;text-shadow:0 2px 8px rgba(0,25,40,.7)}
.site-header .main-nav{white-space:nowrap}
.site-header .main-nav>a,.site-header .nav-services>a{font-weight:700!important;text-shadow:0 1px 2px rgba(0,20,35,.9),0 2px 10px rgba(0,20,35,.6)}
.site-header .main-nav .nav-cta{text-shadow:none!important;box-shadow:0 4px 14px rgba(0,25,40,0.27)!important;padding:0 26px!important}
.site-header .lang-toggle{width:44px!important;height:44px!important;border:2px solid #fff!important;font-weight:700!important;font-size:15px!important;background:rgba(0,50,75,.6)!important;color:#fff!important}
@media (max-width:1280px){.site-header .main-nav{gap:20px!important}.site-header .brand-text{font-size:22px!important}.site-header .main-nav>a,.site-header .nav-services>a{font-size:15px!important}html[dir="rtl"] .site-header .main-nav>a,html[dir="rtl"] .site-header .nav-services>a{font-size:18px!important}}
@media (max-width:900px){.site-header .brand img{height:50px!important}.site-header .brand-text{font-size:20px!important}}

/* ---------- v69 — footer: original colours + data-tunnel layer, bigger bold type ---------- */
.site-footer{background:
    url("../assets/visuals/footer-tunnel.webp") center/cover no-repeat,
    radial-gradient(circle at 52% -18%,rgba(20,125,190,.34),transparent 42%),
    linear-gradient(135deg,#062f4b 0%,#063a60 52%,#041f36 100%)!important;padding-top:64px!important}
.site-footer .footer-grid{grid-template-columns:1.25fr 1fr 1.45fr 1fr!important;gap:48px!important;padding-bottom:44px!important;align-items:start}
.site-footer .footer-brand img{width:auto!important;height:104px!important;object-position:center!important;filter:drop-shadow(0 2px 10px rgba(0,20,35,0.36))}
.site-footer .footer-brand p{font-size:20px!important;font-weight:700!important;color:#fff!important;line-height:1.6;margin-top:16px;max-width:320px}
.site-footer h4{font-size:21px!important;font-weight:800!important;letter-spacing:.6px!important;color:#fff!important;margin:0 0 20px!important;position:relative;padding-bottom:12px}
.site-footer h4::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:42px;height:3px;border-radius:2px;background:#F9C721}
.site-footer .footer-grid a:not(.socials a){font-size:17.5px!important;font-weight:600!important;color:rgba(255,255,255,.88)!important;margin:12px 0!important;line-height:1.4;transition:color .2s}
.site-footer .footer-grid a:not(.socials a):hover{color:#F9C721!important}
.site-footer .socials{gap:12px!important}
.site-footer .socials a{width:48px!important;height:48px!important;border:1.5px solid rgba(255,255,255,.55)!important;background:rgba(0,40,65,.35);transition:background .2s,border-color .2s}
.site-footer .socials a:hover{background:#F9C721;border-color:#F9C721!important;color:#00324a}
.site-footer .socials svg{width:24px!important;height:24px!important}
.site-footer .footer-bottom{font-size:15.5px!important;font-weight:600;color:rgba(255,255,255,.75)!important;padding:20px 0 26px!important;border-top-color:rgba(255,255,255,.18)!important}
html[dir="rtl"] .site-footer h4{font-size:28px!important}
html[dir="rtl"] .site-footer .footer-grid a:not(.socials a){font-size:22px!important}
html[dir="rtl"] .site-footer .footer-brand p{font-size:24px!important}
@media (max-width:980px){.site-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:34px!important}}
@media (max-width:600px){.site-footer .footer-grid{grid-template-columns:1fr!important}.site-footer .footer-brand img{height:84px!important}}
html[dir="rtl"] .site-footer .footer-brand p{font-weight:700!important}html[dir="rtl"] .site-footer .footer-grid a:not(.socials a){font-weight:700!important}
html[dir="rtl"] .site-footer .footer-bottom{font-size:17px!important}
html[dir="rtl"] .site-footer .footer-bottom>span{direction:ltr;unicode-bidi:isolate}

/* v76b — footer bottom: quiet, centred, no pills or circles */
.site-footer .footer-bottom{position:relative;display:flex!important;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;
  margin-top:14px;padding:22px 0 26px!important;border:0!important;border-top:1px solid rgba(255,255,255,.14)!important;background:none}
.site-footer .footer-bottom::before{content:"";position:absolute;top:-1px;left:50%;transform:translateX(-50%);width:120px;height:3px;border-radius:2px;background:#F9C721}
.site-footer .fb-brand{display:flex;align-items:center;gap:14px}
.site-footer .fb-brand img{display:none}
.site-footer .fb-brand>span:first-of-type{color:rgba(255,255,255,.82);font-weight:600;font-size:15.5px}
.site-footer .fb-brand>span:last-child{color:#F9C721!important;font-weight:800;font-size:15.5px!important;letter-spacing:.06em;padding-inline-start:14px;border-inline-start:1px solid rgba(255,255,255,.25)}
.site-footer .to-top{display:inline-flex;align-items:center;gap:8px;margin:0!important;padding-inline-start:18px;border-inline-start:1px solid rgba(255,255,255,.25);
  color:rgba(255,255,255,.82)!important;font-size:15px;font-weight:700;text-decoration:none;background:none;width:auto;height:auto;box-shadow:none}
.site-footer .to-top::before{content:"Back to top";}
html[dir="rtl"] .site-footer .to-top::before{content:"للأعلى"}
.site-footer .to-top::after{content:"";width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9C721' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V6M6 12l6-6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .2s}
.site-footer .to-top:hover{color:#F9C721!important}
.site-footer .to-top:hover::after{transform:translateY(-3px)}
html[dir="rtl"] .site-footer .fb-brand>span{direction:ltr;unicode-bidi:isolate}
@media (max-width:600px){.site-footer .footer-bottom{flex-direction:column;gap:12px}.site-footer .to-top{border:0;padding:0}}
html[dir="rtl"] .site-footer .fb-brand>span:last-child{border-inline-start:0;padding-inline-start:0;border-left:0;border-right:0;padding:0 0 0 14px;border-left:1px solid rgba(255,255,255,.25)}
html[dir="rtl"] .site-footer .fb-brand>span:last-child{order:-1}
/* v76c — footer bottom: its own full-width darker band */
.site-footer .footer-bottom{margin-top:24px;padding:22px 0 24px!important;border-top:0!important;
  background:#03182b;box-shadow:0 0 0 100vmax #03182b;clip-path:inset(0 -100vmax -100vmax)}
.site-footer .footer-bottom::before{top:0;left:50%;width:100vw;transform:translateX(-50%);height:2px;border-radius:0;
  background:linear-gradient(90deg,transparent,rgba(249,199,33,.9) 30%,#F9C721 50%,rgba(249,199,33,.9) 70%,transparent)}
.site-footer .fb-brand>span:first-of-type,.site-footer .to-top{color:rgba(255,255,255,.88)!important}
.site-footer{padding-bottom:0!important}
@media (max-width:600px){.site-footer .fb-brand{flex-direction:column;gap:6px}.site-footer .fb-brand>span:last-child,html[dir="rtl"] .site-footer .fb-brand>span:last-child{border:0!important;padding:0!important}.site-footer .fb-brand>span{text-align:center}}
