/* ===== PH7: premium glass header + sliding theme switch ===== */
html[data-theme="dark"]{--d0:#142720;--d1:#1B3028;--d2:#22372F;--dt:#F2EBDD;--dm:#B9B5AA;--hx-text:#F2EBDD}
html[data-theme="dark"] .sec.dark.cta,html[data-theme="dark"] .foot{background:#101F19!important}
html[data-theme="dark"] .sp3-img{box-shadow:0 30px 60px -30px rgba(0,0,0,.38)}
html[data-theme="dark"] .xcta,html[data-theme="dark"] .sp2-btn:hover,html[data-theme="dark"] .sp2-mcard .sp2-btn:hover{--x:0}
html[data-theme="dark"] .xcta{color:#F2EBDD}
.fab{display:none!important}
/* header shell */
.hdr{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:24px 5vw!important;background:transparent!important;border-bottom:1px solid transparent!important;box-shadow:none!important;backdrop-filter:blur(0px) saturate(1);-webkit-backdrop-filter:blur(0px) saturate(1);transition:padding .45s cubic-bezier(.3,.7,.2,1),background-color .5s ease,border-color .5s ease,box-shadow .5s ease,backdrop-filter .5s ease,-webkit-backdrop-filter .5s ease;will-change:padding}
.hdr::before{content:"";position:absolute;inset:0 0 -26px 0;background:linear-gradient(180deg,rgba(12,26,21,.5),rgba(12,26,21,0));opacity:1;transition:opacity .5s ease;pointer-events:none;z-index:-1}
.hdr.sc,.hdr.mo{padding:12px 5vw!important;backdrop-filter:blur(16px) saturate(1.25);-webkit-backdrop-filter:blur(16px) saturate(1.25)}
.hdr.sc::before,.hdr.mo::before{opacity:0}
html[data-theme="dark"] .hdr.sc,html[data-theme="dark"] .hdr.mo{background:rgba(20,39,32,.74)!important;border-bottom-color:rgba(180,154,112,.2)!important;box-shadow:0 10px 30px -12px rgba(0,0,0,.35)!important}
html:not([data-theme="dark"]) .hdr.sc,html:not([data-theme="dark"]) .hdr.mo{background:rgba(250,246,238,.8)!important;border-bottom-color:rgba(23,52,46,.12)!important;box-shadow:0 10px 30px -14px rgba(23,52,46,.25)!important}
.hdr .logo{grid-column:1;justify-self:start;margin:0!important;font-size:29px!important;transition:font-size .45s cubic-bezier(.3,.7,.2,1),color .4s}
.hdr.sc .logo{font-size:25px!important}
.hdr .nv{grid-column:2;justify-self:center;position:relative;gap:26px!important}
.hdr .nv a{letter-spacing:.13em!important;white-space:nowrap}
.hdr .nv a::after{display:none!important}
.hdr .nv a:hover{opacity:1;color:#B49A70}
.hdr .nv a.cur{color:#fff}
.nv .ind{position:absolute;bottom:-1px;left:0;height:1.5px;width:0;background:#B49A70;border-radius:2px;transform:translateX(0);transition:transform .5s cubic-bezier(.4,.1,.2,1),width .5s cubic-bezier(.4,.1,.2,1),opacity .3s;pointer-events:none}
.nv .ind.nt{transition:none}
.hx{grid-column:3;justify-self:end;display:flex;align-items:center;gap:10px}
/* sliding switch */
.hdr .thm{position:relative;direction:ltr;width:60px;height:32px;min-height:32px;padding:0;margin:0!important;border-radius:99px;border:1px solid rgba(180,154,112,.5);background:rgba(20,39,32,.35);color:#F2EBDD;cursor:pointer;flex:0 0 auto;display:block;transition:border-color .3s,background-color .4s;-webkit-tap-highlight-color:transparent}
.hdr .thm:hover{border-color:#B49A70}
.hdr .thm:focus-visible,.hic:focus-visible,.mb:focus-visible,.hdr .langs button:focus-visible,.hdr .nv a:focus-visible{outline:2px solid #B49A70;outline-offset:3px}
.thm .tk{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#B49A70;box-shadow:0 2px 6px rgba(0,0,0,.25);transform:translateX(0);transition:transform .7s cubic-bezier(.45,.05,.2,1.1)}
html[data-theme="dark"] .thm .tk{transform:translateX(28px)}
.hdr .thm svg{position:absolute;top:50%;width:14px;height:14px;margin-top:-7px;display:block!important;transition:color .35s,opacity .35s,transform .55s cubic-bezier(.34,1.3,.5,1);z-index:1}
.thm .i-sun{left:8px}
.thm .i-moon{right:8px}
.thm .i-sun{color:#17342E;opacity:1}
.thm .i-moon{color:rgba(242,235,221,.6);opacity:.8}
html[data-theme="dark"] .thm .i-sun{color:rgba(242,235,221,.6);opacity:.8}
html[data-theme="dark"] .thm .i-moon{color:#17342E;opacity:1}
.thm .i-sun{transform:rotate(0)}
html[data-theme="dark"] .thm .i-sun{transform:rotate(-40deg)}
html:not([data-theme="dark"]) .thm .i-moon{transform:rotate(40deg)}
html.tt body,html.tt body *:not(.tk):not(.ind):not(svg):not(.mp),html.tt .hdr{transition:background-color .45s ease,color .45s ease,border-color .45s ease!important}
/* contact icons */
.hic{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:1px solid rgba(180,154,112,.4);color:#F2EBDD;background:transparent;text-decoration:none;flex:0 0 auto;transition:transform .3s ease,background-color .3s,border-color .3s,color .3s;-webkit-tap-highlight-color:transparent}
.hic svg{width:18px;height:18px;display:block}
.hic:hover{background:rgba(180,154,112,.16);border-color:#B49A70;transform:translateY(-1px);color:#fff}
.hic:active{transform:translateY(0) scale(.96)}
/* langs */
.hdr .langs{direction:ltr;gap:2px!important;margin-inline-start:4px}
.hdr .langs button{border:0!important;background:transparent!important;border-radius:99px!important;padding:6px 10px!important;min-height:34px;font-size:12px!important;letter-spacing:.08em!important;color:rgba(242,235,221,.7)!important;transition:color .3s,background-color .3s}
.hdr .langs button:hover{color:#fff!important}
.hdr .langs button.on{background:rgba(180,154,112,.2)!important;color:#B49A70!important}
/* burger */
.mb{display:none;width:40px;height:40px;border-radius:50%;border:1px solid rgba(180,154,112,.4);background:transparent;color:#F2EBDD;cursor:pointer;padding:0;position:relative;flex:0 0 auto;-webkit-tap-highlight-color:transparent;transition:background-color .3s,border-color .3s}
.mb:hover{border-color:#B49A70;background:rgba(180,154,112,.14)}
.mb i{position:absolute;left:11px;right:11px;height:1.5px;background:currentColor;border-radius:2px;transition:transform .4s cubic-bezier(.4,.1,.2,1),opacity .25s,top .4s}
.mb i:nth-child(1){top:14px}.mb i:nth-child(2){top:19.25px}.mb i:nth-child(3){top:24.5px}
.hdr.mo .mb i:nth-child(1){top:19.25px;transform:rotate(45deg)}
.hdr.mo .mb i:nth-child(2){opacity:0}
.hdr.mo .mb i:nth-child(3){top:19.25px;transform:rotate(-45deg)}
.mp{position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px);overflow:auto;padding:6px 5vw 22px;opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .3s ease,transform .4s cubic-bezier(.3,.7,.2,1),visibility 0s linear .4s;border-bottom:1px solid rgba(180,154,112,.2)}
.hdr.mo .mp{opacity:1;visibility:visible;transform:none;transition-delay:0s}
html[data-theme="dark"] .mp{background:#142720}
html:not([data-theme="dark"]) .mp{background:#FAF6EE}
.mp .bnv{display:none}
.mp .bnv.on{display:block}
.mp .bnv a{display:block;padding:15px 2px;border-bottom:1px solid rgba(180,154,112,.18);font-size:15px!important;letter-spacing:.12em;text-transform:uppercase;color:#F2EBDD;text-decoration:none;transition:color .25s,padding .25s}
.mp .bnv a:active,.mp .bnv a:hover{color:#B49A70}
.mp .bnv a:last-child{border-bottom:0}
.mp .langs{justify-content:flex-start;padding:12px 0 6px;margin:0!important}
.mp .langs button{border:1px solid rgba(180,154,112,.35)!important;min-height:40px;padding:6px 16px!important}
.mp .langs button.on{border-color:#B49A70!important}
#ar .hdr .nv a,.hdr[dir=rtl] .nv a,.hdr[dir=rtl] .mp a{font-family:Almarai,sans-serif!important;letter-spacing:0!important;text-transform:none!important;font-size:15px}
/* light theme text on glass */
html:not([data-theme="dark"]) .hdr.sc .logo,html:not([data-theme="dark"]) .hdr.mo .logo{color:#17342E!important}
html:not([data-theme="dark"]) .hdr.sc .nv a,html:not([data-theme="dark"]) .hdr.mo .nv a{color:rgba(23,52,46,.78)!important}
html:not([data-theme="dark"]) .hdr.sc .nv a.cur,html:not([data-theme="dark"]) .hdr.sc .nv a:hover{color:#17342E!important}
html:not([data-theme="dark"]) .hdr.sc .hic,html:not([data-theme="dark"]) .hdr.mo .hic,html:not([data-theme="dark"]) .hdr.sc .mb,html:not([data-theme="dark"]) .hdr.mo .mb{color:#17342E;border-color:rgba(23,52,46,.3)}
html:not([data-theme="dark"]) .hdr.sc .hic:hover{background:rgba(180,154,112,.2);border-color:#B49A70}
html:not([data-theme="dark"]) .hdr.sc .thm,html:not([data-theme="dark"]) .hdr.mo .thm{border-color:rgba(23,52,46,.3);background:rgba(23,52,46,.06)}
html:not([data-theme="dark"]) .hdr.sc .thm .i-moon,html:not([data-theme="dark"]) .hdr.mo .thm .i-moon{color:rgba(23,52,46,.55)}
html:not([data-theme="dark"]) .hdr.sc .langs button,html:not([data-theme="dark"]) .hdr.mo .langs button{color:rgba(23,52,46,.7)!important}
html:not([data-theme="dark"]) .hdr.sc .langs button.on,html:not([data-theme="dark"]) .hdr.mo .langs button.on{color:#17342E!important;background:rgba(180,154,112,.3)!important}
html:not([data-theme="dark"]) .mp .bnv a{color:#17342E;border-bottom-color:rgba(23,52,46,.12)}
html:not([data-theme="dark"]) .mp .langs button{border-color:rgba(23,52,46,.25)!important}
html:not([data-theme="dark"]) .hdr.mo .mp .bnv a:hover{color:#8a6f3f}
/* mobile / tablet arrangement */
@media(max-width:1339px){
 .hdr{display:flex!important;gap:8px;padding:16px 4vw!important}
 .hdr.sc,.hdr.mo{padding:9px 4vw!important}
 .hdr .nv{display:none!important}
 .hdr .logo{font-size:24px!important;margin-inline-end:auto!important}
 .hdr.sc .logo{font-size:22px!important}
 .hx{gap:7px;margin-inline-start:auto}
 .mb{display:block}
 .hdr .thm{width:54px;height:30px;min-height:30px}
 .hdr .thm .tk{width:22px;height:22px}
 html[data-theme="dark"] .thm .tk{transform:translateX(24px)}
 .thm svg{width:13px!important;height:13px!important;margin-top:-6.5px!important}
 .thm .i-sun{left:7px}.thm .i-moon{right:7px}
 .hic{width:36px;height:36px}
}
@media(max-width:380px){
 .hdr .logo{font-size:20px!important}.hdr.sc .logo{font-size:19px!important}
 .hx{gap:5px}.hic{width:34px;height:34px}.mb{width:36px;height:36px}.mb i{left:10px;right:10px}.mb i:nth-child(1){top:12px}.mb i:nth-child(2){top:17.25px}.mb i:nth-child(3){top:22.5px}
 .hdr.mo .mb i:nth-child(1),.hdr.mo .mb i:nth-child(3){top:17.25px}
 .hdr .thm{width:50px}html[data-theme="dark"] .thm .tk{transform:translateX(20px)}
}
@media(prefers-reduced-motion:reduce){
 .hdr,.hdr *,.mp,.thm .tk,.nv .ind,.hic{transition-duration:.01ms!important;transition-delay:0s!important}
}
.hdr .thm::before{content:"";position:absolute;inset:-8px -4px}
