/* iHUB STORES V5 — header / hero approved direction. Other sections stay intact. */
.site-header{position:sticky;z-index:100;top:0;padding:14px 0 0;border:0;background:rgba(246,251,255,.76);backdrop-filter:blur(16px)}
.nav-shell{direction:ltr;width:min(1510px,calc(100% - 42px));min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,1.7vw,25px);padding:13px 24px;background:rgba(255,255,255,.84);border:1px solid rgba(255,255,255,.95);box-shadow:0 18px 50px rgba(21,92,183,.12);border-radius:28px}
.nav-shell .brand{width:clamp(200px,17vw,275px);flex:0 0 auto;display:flex;align-items:center}
.nav-shell .brand img{display:block;width:100%;height:auto;max-height:53px;object-fit:contain;object-position:left}
.brochure-cta{display:flex;align-items:center;justify-content:center;gap:9px;min-height:43px;white-space:nowrap;padding:8px 16px;color:#0751c5;background:linear-gradient(180deg,#fff,#f4faff);border:1px solid #cfdef7;box-shadow:0 7px 20px rgba(21,83,168,.06);border-radius:17px;font-size:13px;font-weight:850;transition:background .2s,transform .2s}
.brochure-cta:hover{background:#eaf5ff;transform:translateY(-2px)}
.brochure-cta svg{width:19px;height:19px;flex:0 0 auto}
.desktop-nav{direction:rtl;display:flex;flex:1 1 auto;align-items:center;justify-content:center;gap:clamp(13px,1.7vw,27px);margin:0;min-width:0}
.desktop-nav a{padding:13px 0;white-space:nowrap;color:#15274c;font-size:clamp(11px,.87vw,14px);font-weight:800}
.desktop-nav .nav-home{color:#075be8;position:relative}
.desktop-nav .nav-home::after{content:"";position:absolute;bottom:4px;left:0;right:0;height:3px;background:#086ff9;border-radius:100px;transform:none}
.header-actions{direction:ltr;display:flex;align-items:center;flex:0 0 auto;gap:10px;min-width:0}
.capital-brand{width:clamp(138px,12vw,176px);display:flex;align-items:center;flex:0 0 auto;border-left:1px solid #cfdded;padding-left:14px;min-height:40px}
.capital-brand img{display:block;width:100%;height:auto;max-height:43px;object-fit:contain;object-position:right}
.lang-switch{padding:8px 10px;background:#f2f8ff;border-radius:10px;font-size:11px}
.nav-shell .header-cta{display:none!important}
.mobile-nav{direction:rtl}
.mobile-brochure{background:#e9f4ff!important;color:#0754d1!important}

/* Full-bleed facility background, independently animated robot; no picture card */
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:730px;padding:16px 0 56px;background:linear-gradient(180deg,#d8efff 0%,#f8fcff 74%,#eef7ff 100%)}
.hero::before{content:"";position:absolute;z-index:-2;inset:0;background:url('assets/hero-facility-scene.webp') center 54%/cover no-repeat;filter:saturate(1.12) contrast(1.02);opacity:.93}
.hero::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(245,250,255,.03) 0%,rgba(245,250,255,.04) 38%,rgba(247,251,255,.61) 62%,rgba(248,252,255,.92) 100%),linear-gradient(180deg,rgba(255,255,255,.05) 0,transparent 60%,rgba(223,241,255,.46) 100%);pointer-events:none}
.hero .hero-ambient,.hero .hero-mesh,.hero .hero-scene,.hero .hero-orbit,.hero .hero-float,.hero .hero-status,.hero .hero-route-strip{display:none!important}
.hero-layout{position:relative;direction:ltr!important;z-index:1;grid-template-columns:.92fr 1.08fr;gap:24px;min-height:568px;align-items:center}
.hero-visual{order:0;position:relative;align-self:stretch;min-height:560px;overflow:visible}
.hero-copy{order:1;direction:rtl!important;text-align:right;justify-self:end;max-width:690px;padding:15px 0 45px}
.hero h1{font-size:clamp(48px,4.5vw,76px);line-height:1.14;letter-spacing:-.03em;margin:14px 0 28px;max-width:750px;text-wrap:balance}
[dir=rtl] .hero h1{line-height:1.28;font-weight:880;letter-spacing:0}
.hero-sub{max-width:530px;margin-left:auto;color:#1e365a;font-size:clamp(15px,1.25vw,19px);line-height:1.8;font-weight:600}
.hero-benefits{justify-content:flex-start;direction:rtl;margin-top:30px;color:#102c5d;font-weight:850;font-size:clamp(11px,1vw,14px);gap:14px 24px}
.hero .hero-buttons,.hero-copy .eyebrow{display:none!important}
.hero-bot-large{position:absolute!important;left:0!important;right:auto!important;bottom:-55px!important;width:clamp(260px,35vw,510px)!important;max-width:85%;height:auto;z-index:4;filter:drop-shadow(0 24px 25px rgba(10,57,122,.28));animation:heroBob 5.2s ease-in-out infinite}
.hero-hud{position:absolute;left:44%;top:19%;width:200px;height:142px;border:2px solid rgba(80,205,255,.7);border-radius:18px;background:linear-gradient(145deg,rgba(24,158,246,.25),rgba(255,255,255,.08));transform:rotate(-8deg) skewX(-2deg);box-shadow:0 0 19px rgba(25,170,251,.25),inset 0 0 20px rgba(38,164,251,.17);z-index:2;animation:hudDrift 5s ease-in-out infinite}
.hero-hud .hud-snow{position:absolute;right:18px;top:9px;color:#fff;text-shadow:0 0 15px #049fff;font-size:39px}
.hero-hud .hud-bar{position:absolute;bottom:42px;left:24px;width:14px;height:40px;background:linear-gradient(180deg,#ccf6ff,#1db6ff);border-radius:4px;opacity:.87}
.hero-hud .bar-2{left:45px;height:58px}.hero-hud .bar-3{left:66px;height:31px}
.hero-hud .hud-route{position:absolute;bottom:14px;left:20px;color:#fff;font-size:13px;text-shadow:0 0 5px #008ff0}
.hero-ground-ring{position:absolute;left:-4%;bottom:-60px;width:520px;max-width:95%;height:116px;border:3px solid rgba(35,193,252,.55);border-radius:50%;box-shadow:0 0 23px #4ecbff,inset 0 0 25px rgba(19,166,241,.18);z-index:1;animation:groundPulse 4s ease-in-out infinite}
.hero-stage-footer{z-index:5;position:relative;width:min(1140px,calc(100% - 70px));margin:0 auto}
.hero-stage-footer .hero-phase-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:unset;margin:0}
.hero-stage-footer .hero-phase-card{direction:ltr;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:12px;text-align:center;min-height:74px;padding:14px 22px;border-radius:999px;border:2px solid #44c5ff;background:linear-gradient(115deg,#074ad7,#083585);box-shadow:0 0 20px rgba(28,178,255,.4),0 10px 24px rgba(6,89,184,.2);color:white}
.hero-stage-footer .hero-phase-card:nth-child(2){background:linear-gradient(145deg,#fff,#e7f7ff);color:#0a2f72;border-color:#37b7ff}
.hero-stage-footer .hero-phase-card span{flex:0 0 auto;background:rgba(255,255,255,.15);border-radius:50%;box-shadow:none;width:36px;height:36px}
.hero-stage-footer .hero-phase-card:nth-child(2) span{background:#116de8;color:white}
.hero-stage-footer .hero-phase-card strong{color:inherit;font-size:clamp(15px,1.55vw,23px);font-weight:900;white-space:nowrap}
.hero-stage-footer .hero-phase-card small{display:none}
.hero-bottom-line{background:linear-gradient(90deg,transparent,#b1dfff,transparent)}
@keyframes hudDrift{50%{transform:rotate(-8deg) skewX(-2deg) translateY(-10px)}}
@keyframes groundPulse{50%{opacity:.52;filter:blur(2px)}}

@media(max-width:1240px){
 .nav-shell{gap:14px;padding-inline:15px}.nav-shell .brand{width:222px}.capital-brand{width:140px}.desktop-nav{gap:14px}.desktop-nav a{font-size:11px}.brochure-cta{font-size:11px;padding:8px 11px}
 .hero-layout{grid-template-columns:.87fr 1.13fr}.hero h1{font-size:clamp(43px,4.4vw,64px)}
}
@media(max-width:1030px){
 .desktop-nav{display:none}.nav-shell{min-height:70px}.nav-shell .brand{width:clamp(170px,27vw,255px)}
 .header-actions{margin-left:auto}.menu-btn{display:block}
 .hero-layout{grid-template-columns:.9fr 1.1fr;min-height:510px}.hero-visual{min-height:500px}.hero-bot-large{width:clamp(235px,38vw,430px)!important}.hero h1{font-size:clamp(40px,5.5vw,57px)}.hero-hud{left:46%;top:16%;transform:scale(.82) rotate(-8deg)}
}
@media(max-width:740px){
 .site-header{padding:8px 0 0}.nav-shell{width:calc(100% - 20px);padding:9px 12px;gap:8px;min-height:66px;border-radius:19px}
 .nav-shell .brand{width:clamp(142px,36vw,208px)}.nav-shell .brand img{max-height:43px}
 .brochure-cta-desktop{display:none}.capital-brand{width:clamp(85px,20vw,115px);min-height:33px;padding-left:8px}.capital-brand img{max-height:34px}
 .lang-switch{font-size:9px;padding:7px}.menu-btn{width:33px;height:33px;padding:7px 6px;border-radius:8px}.menu-btn span{margin:4px 0}
 .hero{padding:28px 0 38px;min-height:auto}.hero::before{background-position:52% 51%;opacity:.73}.hero::after{background:linear-gradient(180deg,rgba(247,252,255,.8) 0%,rgba(246,251,255,.94) 34%,rgba(246,251,255,.1) 62%,rgba(229,244,255,.36) 100%)}
 .hero-layout{display:flex;flex-direction:column-reverse;gap:0;min-height:0}
 .hero-copy{order:0;padding:0;max-width:100%;width:100%}
 .hero h1{font-size:clamp(33px,9vw,50px);line-height:1.15!important;margin:0 0 16px}
 .hero-sub{font-size:14px;line-height:1.65;max-width:100%}.hero-benefits{margin-top:16px;gap:8px 13px}
 .hero-visual{order:0;width:100%;height:365px;min-height:365px;align-self:stretch}
 .hero-bot-large{max-width:none;width:clamp(205px,50vw,285px)!important;bottom:0!important;left:3%!important}
 .hero-hud{width:126px;height:98px;left:43%;top:20%;transform:scale(.8) rotate(-8deg)}.hero-hud .hud-snow{font-size:26px}.hero-hud .hud-bar{height:26px}.hero-hud .bar-2{height:37px}.hero-hud .bar-3{height:20px}
 .hero-ground-ring{width:280px;height:70px;bottom:0}
 .hero-stage-footer{width:calc(100% - 30px)}.hero-stage-footer .hero-phase-strip{gap:8px}
 .hero-stage-footer .hero-phase-card{min-height:62px;padding:8px 6px;border-radius:16px;flex-direction:column;gap:4px}
 .hero-stage-footer .hero-phase-card span{width:22px;height:22px;font-size:9px}.hero-stage-footer .hero-phase-card strong{font-size:clamp(10px,2.8vw,14px);white-space:normal;line-height:1.2}
}
@media(max-width:380px){.nav-shell .brand{width:129px}.capital-brand{width:81px}.lang-switch{font-size:9px;padding:6px}.hero-stage-footer .hero-phase-card{min-height:70px}}
@media(prefers-reduced-motion:reduce){.hero-bot-large,.hero-hud,.hero-ground-ring{animation:none!important}}
/* final visual balance */
.hero::before{background-position:center 96%}
.hero-bot-large{width:clamp(255px,29vw,425px)!important;bottom:-8px!important}
@media(max-width:740px){.hero::before{background-position:47% 84%}.hero-bot-large{width:clamp(205px,50vw,285px)!important;bottom:0!important}}
/* QA corrections: stable Arabic typography and left-to-right operational stages */
.hero-copy,.hero-visual{min-width:0}
.hero h1{color:#071b4b;font-size:clamp(43px,4vw,67px);max-width:100%;overflow-wrap:break-word}
.hero-bot-large{width:clamp(255px,27vw,390px)!important}
.hero-stage-footer .hero-phase-strip{direction:ltr!important}
@media(max-width:740px){
 .hero h1{font-size:clamp(32px,8.7vw,47px)}
 .hero-bot-large{width:clamp(205px,50vw,285px)!important}
}
/* Use an explicit hero content width across browsers; avoid text touching viewport edge. */
@media(min-width:741px){.hero-layout{width:min(1440px,calc(100% - 80px));margin-inline:auto}.hero-copy{max-width:665px;padding-inline:20px}}
@media(max-width:740px){.hero-layout{width:calc(100% - 34px);margin-inline:auto}.hero-copy{padding-inline:0}}
