:root{--bg:#08122a;--bg2:#0d1b3a;--card:#102244;--line:#22396a;--tx:#e8effc;--mu:#98abcb;--cy:#22d3ee;--am:#fbbf24;color-scheme:dark;box-sizing:border-box}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--tx);font:16px/1.6 "Instrument Sans",system-ui,sans-serif;padding-bottom:env(safe-area-inset-bottom)}
h1,h2,h3,.brand{font-family:"Bricolage Grotesque","Instrument Sans",sans-serif;letter-spacing:-.02em;line-height:1.1}
a{color:var(--cy)}.mu{color:var(--mu)}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:calc(14px + env(safe-area-inset-top)) 20px 14px;max-width:1040px;margin:0 auto;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.3rem;color:var(--tx);text-decoration:none}.brand img{border-radius:9px}
nav{display:flex;gap:4px 18px;flex-wrap:wrap}nav a{color:var(--mu);text-decoration:none;font-weight:500}nav a:hover{color:var(--tx)}
.hero{padding:56px 0 40px}
.hero h1{font-size:clamp(2.5rem,8vw,5rem);max-width:13ch;margin:36px 0 18px;font-weight:700}
.hero p{max-width:56ch;font-size:1.12rem;color:var(--mu);margin:0 0 26px}
.pipe{position:relative;display:flex;justify-content:space-between;max-width:520px;padding-top:22px;font-size:.92rem;color:var(--mu)}
.pipe::before{content:"";position:absolute;top:6px;left:0;right:0;height:2px;background:var(--line)}
.pipe i{position:absolute;top:0;inset-inline-start:0;width:14px;height:14px;border-radius:50%;background:var(--am);box-shadow:0 0 0 5px rgba(251,191,36,.18);animation:run 3.6s cubic-bezier(.6,0,.3,1) forwards}
.pipe span{animation:lit .3s forwards}.pipe span:nth-of-type(1){animation-delay:.1s}.pipe span:nth-of-type(2){animation-delay:1.2s}.pipe span:nth-of-type(3){animation-delay:2.4s}.pipe span:nth-of-type(4){animation-delay:3.4s}
@keyframes run{to{inset-inline-start:calc(100% - 14px)}}@keyframes lit{to{color:var(--cy)}}
@media(prefers-reduced-motion:reduce){.pipe i,.pipe span{animation:none}.pipe i{inset-inline-start:calc(100% - 14px)}.pipe span{color:var(--cy)}}
.cta{display:flex;gap:10px;flex-wrap:wrap}
.btn{font:inherit;font-weight:600;cursor:pointer;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--tx);padding:10px 18px;text-decoration:none;display:inline-block}
.btn.pri{background:var(--cy);border-color:var(--cy);color:#04213a}.btn.ghost{background:none}.btn:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid var(--am);outline-offset:2px}
section{padding:36px 0}h2{font-size:clamp(1.6rem,4vw,2.2rem);margin:0 0 6px}
.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-top:20px}
.blk,.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:20px}
.blk{display:flex;flex-direction:column;gap:6px}.blk p{margin:0 0 10px;color:var(--mu);flex:1}.blk h3{margin:4px 0;font-size:1.3rem}
.blk:first-child{border-color:var(--cy)}
.ic{font-size:1.9rem;line-height:1}.blk .more{align-self:flex-start;font-weight:600;text-decoration:none;border-bottom:2px solid var(--am);color:var(--tx)}
.card h3{margin:6px 0;font-size:1.15rem}.card p{margin:0 0 8px}
ul{margin:8px 0;padding-inline-start:20px}li{margin:4px 0}
.item{margin:18px 0}.item .d{color:var(--mu);font-size:.92rem}.item .t{font-weight:600}
.page h1{font-size:clamp(2rem,6vw,3.4rem);margin:10px 0}
.contact{background:var(--bg2);border-block:1px solid var(--line)}
.foot{padding:30px 20px calc(30px + env(safe-area-inset-bottom));max-width:1040px;margin:0 auto;display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center;color:var(--mu);font-size:.92rem}
.socs{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.soc{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--card);display:grid;place-items:center}.soc:hover{border-color:var(--cy)}
.soc i{width:20px;height:20px;background:var(--mu);-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}.soc:hover i{background:var(--cy)}
.fab{position:fixed;inset-inline-end:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:56px;height:56px;border-radius:50%;background:#25d366;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.4);z-index:5}
.fab i{width:28px;height:28px;background:#fff;-webkit-mask:url(/icons/whatsapp.svg) center/contain no-repeat;mask:url(/icons/whatsapp.svg) center/contain no-repeat}
body.adm .fab{bottom:calc(84px + env(safe-area-inset-bottom))}
.bar{position:fixed;left:0;right:0;bottom:0;z-index:6;display:flex;gap:8px;align-items:center;justify-content:center;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--bg2);border-top:1px solid var(--line)}
.sm{font:inherit;font-size:.85rem;padding:3px 10px;margin:4px 6px 0 0;border-radius:8px;border:1px solid var(--line);background:var(--card);color:var(--tx);cursor:pointer}.x{color:#fca5a5;cursor:pointer;background:none;border:0;font:inherit}
.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:var(--tx);color:var(--bg);padding:8px 14px;border-radius:10px;z-index:9}
dialog{background:var(--card);color:var(--tx);border:1px solid var(--line);border-radius:16px;padding:18px;width:min(92vw,400px)}dialog::backdrop{background:rgba(0,0,0,.6)}
.dh{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
dialog input{width:100%;font:inherit;padding:10px;margin-bottom:10px;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--tx)}.row{display:flex;gap:8px;flex-wrap:wrap}
body:not(.edit) [data-p]:empty{display:none}
body.edit [data-p]{outline:1px dashed var(--cy);border-radius:4px;min-height:1.2em;min-width:3ch;display:inline-block}
body.edit div[data-p],body.edit p[data-p],body.edit h1[data-p],body.edit h2[data-p],body.edit h3[data-p],body.edit li[data-p]{display:block}
body.edit [data-p]:empty::before{content:"(empty)";color:var(--mu)}
html[lang=ar] body,html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3,html[lang=ar] .brand{font-family:"IBM Plex Sans Arabic","Instrument Sans",sans-serif;letter-spacing:0}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{line-height:1.3}
.cmf{margin:20px 0}.cmf input,.cmf textarea{width:100%;font:inherit;padding:10px;margin:10px 0;border-radius:10px;border:1px solid var(--line);background:var(--bg);color:var(--tx)}
.hp{position:absolute;left:-9999px;height:0;opacity:0}
.cml{display:grid;gap:12px;margin-bottom:24px}.cm p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.rp{border-inline-start:3px solid var(--am);padding-inline-start:12px;margin-top:8px}.rp p{margin:2px 0}
.gal{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;margin:10px 0;padding-bottom:4px}.gal img{height:140px;width:auto;border-radius:12px;flex:none;scroll-snap-align:start;border:1px solid var(--line)}
