:root{
  --navy:#0B2A44;
  --navy-deep:#081D30;
  --ink:#171512;
  --gold:#B8912F;
  --gold-light:#D8BC74;
  --gold-deep:#8A6F27;
  --khaki:#EFE9DA;
  --khaki-deep:#A79A78;
  --paper:#FBFAF6;
  --white:#FFFFFF;
  --line:rgba(11,42,68,0.12);
  --ok:#3F7A57;
  --err:#B14545;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Cairo',sans-serif;
  background:var(--white);
  color:var(--ink);
  line-height:1.75;
  font-weight:400;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Almarai',sans-serif;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
img{display:block;max-width:100%;}
button{font-family:inherit;}
.wrap{max-width:1180px;margin:0 auto;padding:0 28px;}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}

/* ---------- Reveal on scroll ---------- */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,0.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease;
}
header.scrolled{box-shadow:0 8px 24px rgba(11,42,68,0.08);}
.nav{display:flex; align-items:center; justify-content:space-between; height:84px; transition:height .25s ease;}
header.scrolled .nav{height:68px;}
.logo-block img{height:50px; width:auto; transition:height .25s ease;}
header.scrolled .logo-block img{height:40px;}
nav.links{display:flex; align-items:center; gap:30px;}
nav.links a{font-size:14.5px; color:var(--navy); font-weight:500; position:relative; padding:6px 0;}
nav.links a::after{content:''; position:absolute; right:0; bottom:0; height:2px; width:0; background:var(--gold); transition:width .25s ease;}
nav.links a:hover::after{width:100%;}
nav.links a.active{color:var(--gold-deep); font-weight:700;}
nav.links a.active::after{width:100%;}
.cta-phone{
  display:flex; align-items:center; gap:10px;
  background:var(--navy); color:var(--white);
  padding:11px 20px; border-radius:999px;
  font-size:14px; font-weight:600; white-space:nowrap;
  transition:background .2s ease;
}
.cta-phone:hover{background:var(--gold-deep);}
.cta-phone svg{width:15px; height:15px; fill:var(--gold-light);}
.burger{display:none; width:26px; height:20px; position:relative; cursor:pointer; background:none; border:none;}
.burger span{position:absolute; right:0; width:100%; height:2px; background:var(--navy); border-radius:2px; transition:transform .25s ease, opacity .25s ease;}
.burger span:nth-child(1){top:0;} .burger span:nth-child(2){top:9px;} .burger span:nth-child(3){top:18px;}
.burger.open span:nth-child(1){transform:translateY(9px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg);}

/* ---------- Page banner (subpages) ---------- */
.page-banner{
  position:relative; background:linear-gradient(160deg,var(--navy) 0%, var(--navy-deep) 100%);
  color:var(--white); padding:72px 0 54px; overflow:hidden;
}
.page-banner::after{
  content:''; position:absolute; inset:0;
  background-image:repeating-linear-gradient(135deg, transparent 0 22px, rgba(184,145,47,0.08) 22px 24px);
  pointer-events:none;
}
.page-banner .wrap{position:relative; z-index:1;}
.page-banner .crumbs{font-size:13px; color:var(--gold-light); margin-bottom:14px; display:flex; align-items:center; gap:8px;}
.page-banner .crumbs a{color:var(--gold-light); opacity:.85;}
.page-banner .crumbs a:hover{opacity:1; text-decoration:underline;}
.page-banner h1{font-size:clamp(30px,4vw,44px); font-weight:800; margin-bottom:14px;}
.page-banner p{color:#c4d3de; font-size:16px; max-width:560px;}

/* ---------- Hero ---------- */
.hero{position:relative; background:linear-gradient(180deg,var(--white) 0%, var(--khaki) 100%); overflow:hidden; padding:96px 0 60px;}
.hero .wrap{display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;}
.hero-eyebrow-free{font-size:15px; color:var(--gold-deep); font-weight:600; margin-bottom:18px; display:flex; align-items:center; gap:10px;}
.hero-eyebrow-free::before{content:''; width:34px; height:2px; background:var(--gold); display:inline-block;}
.hero h1{font-size:clamp(36px,5vw,54px); color:var(--navy); font-weight:800; line-height:1.32; margin-bottom:22px;}
.hero p.lead{font-size:17.5px; color:#4a4437; max-width:530px; margin-bottom:34px;}
.hero-actions{display:flex; gap:16px; flex-wrap:wrap;}
.btn-primary{
  background:var(--gold-deep); color:var(--white); padding:16px 32px;
  border-radius:10px; font-weight:600; font-size:15px; border:none; cursor:pointer;
  box-shadow:0 10px 24px rgba(138,111,39,0.28);
  transition:transform .2s ease, box-shadow .2s ease;
  display:inline-flex; align-items:center; gap:8px;
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 30px rgba(138,111,39,0.36);}
.btn-primary:disabled{opacity:.65; cursor:progress; transform:none;}
.btn-ghost{border:1.5px solid var(--navy); color:var(--navy); padding:15px 30px; border-radius:10px; font-weight:600; font-size:15px; background:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px;}
.btn-ghost:hover{background:var(--navy); color:var(--white);}
.btn-ghost.on-dark{border-color:var(--gold-light); color:var(--gold-light);}
.btn-ghost.on-dark:hover{background:var(--gold-light); color:var(--navy);}
.hero-stats{display:flex; gap:34px; margin-top:52px; padding-top:28px; border-top:1px solid var(--line); flex-wrap:wrap;}
.hero-stats div strong{display:block; font-family:'Almarai',sans-serif; font-size:25px; color:var(--navy);}
.hero-stats div span{font-size:13px; color:#6b644f;}

.facet-stage{position:relative; height:460px;}
.facet-stage svg{width:100%; height:100%;}
.facet-float{position:absolute; inset:0; display:flex; align-items:center; justify-content:center;}

/* ---------- Section shell ---------- */
section{padding:92px 0;}
.section-head{max-width:660px; margin-bottom:52px;}
.section-head .tag{color:var(--gold-deep); font-weight:600; font-size:14px; margin-bottom:12px; display:block;}
.section-head p.on-dark{color:#c4d3de;}
.section-head h2{font-size:clamp(27px,3.4vw,38px); color:var(--navy); font-weight:800; line-height:1.38;}
.section-head p{color:#5c6b76; font-size:15.5px; margin-top:14px; max-width:580px;}
.section-foot{margin-top:44px; text-align:center;}

/* ---------- About ---------- */
.about{background:var(--navy); color:var(--white); position:relative; overflow:hidden;}
.about::after{
  content:''; position:absolute; left:0; top:0; bottom:0; width:64px;
  background-image:repeating-linear-gradient(45deg, transparent 0 10px, rgba(184,145,47,0.18) 10px 12px);
  opacity:.6;
}
.about .wrap{position:relative; z-index:1;}
.about h2{font-size:clamp(26px,3vw,32px); font-weight:800; color:var(--gold-light); margin-bottom:26px; max-width:520px;}
.about-body{display:grid; grid-template-columns:1fr 1fr; gap:40px;}
.about-body p{color:#cdd9e2; font-size:15.5px; margin-bottom:16px;}
.about-figures{display:grid; grid-template-columns:1fr 1fr; gap:24px 20px; align-content:start;}
.fig{border-right:2px solid var(--gold); padding-right:16px;}
.fig strong{display:block; font-family:'Almarai',sans-serif; font-size:30px; color:var(--gold-light);}
.fig span{font-size:13px; color:#9fb3c2;}

/* ---------- Vision & Mission ---------- */
.vm .wrap{display:grid; grid-template-columns:1fr 1fr; gap:26px;}
.vm-card{border:1px solid var(--line); border-radius:16px; padding:36px 32px; background:var(--paper);}
.vm-card .tag{color:var(--gold-deep); font-weight:600; font-size:13.5px; margin-bottom:14px; display:block;}
.vm-card h3{font-size:22px; color:var(--navy); margin-bottom:14px;}
.vm-card p{font-size:15px; color:#514b3d;}

/* ---------- Founder ---------- */
.founder{background:var(--khaki);}
.founder .wrap{max-width:820px; text-align:center;}
.founder .quote-mark{font-family:'Almarai',sans-serif; font-size:64px; color:var(--gold); line-height:1; margin-bottom:6px;}
.founder p.quote{font-size:19px; color:var(--navy); font-weight:600; line-height:1.8; margin-bottom:22px;}
.founder .who{font-size:14px; color:#6b644f; font-weight:600;}

/* ---------- Values (flip cards) ---------- */
.values .grid5{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.flip-card{perspective:1200px; height:220px;}
.flip-card-inner{position:relative; width:100%; height:100%; transition:transform .55s cubic-bezier(.4,.2,.2,1); transform-style:preserve-3d;}
.flip-card.flipped .flip-card-inner{transform:rotateY(180deg);}
.flip-face{
  position:absolute; inset:0; -webkit-backface-visibility:hidden; backface-visibility:hidden;
  border-radius:16px; padding:26px 24px; border:1px solid var(--line);
  display:flex; flex-direction:column; justify-content:center;
}
.flip-front{background:var(--white);}
.flip-front .mark{width:44px; height:44px; border-radius:12px; background:var(--khaki); display:flex; align-items:center; justify-content:center; margin-bottom:16px;}
.flip-front .mark svg{width:22px; height:22px; stroke:var(--gold-deep); fill:none; stroke-width:1.6;}
.flip-front h3{font-size:17px; color:var(--navy); margin-bottom:8px;}
.flip-front .hint{font-size:12px; color:var(--gold-deep); font-weight:600; margin-top:auto;}
.flip-back{background:var(--navy); color:var(--white); transform:rotateY(180deg); justify-content:center;}
.flip-back p{font-size:14px; color:#cdd9e2;}
.value-card{border:1px solid var(--line); border-radius:16px; padding:30px 26px; background:var(--white);}
.value-card .mark{width:48px; height:48px; border-radius:12px; background:var(--khaki); display:flex; align-items:center; justify-content:center; margin-bottom:20px;}
.value-card .mark svg{width:24px; height:24px; stroke:var(--gold-deep); fill:none; stroke-width:1.6;}
.value-card h3{font-size:18px; color:var(--navy); margin-bottom:10px;}
.value-card p{font-size:14px; color:#5c6b76;}

/* ---------- Partner features ---------- */
.partner{background:var(--navy); color:var(--white);}
.partner .wrap{display:grid; grid-template-columns:1fr 1fr; gap:36px 56px;}
.feature-item{display:flex; gap:18px;}
.feature-item .num{
  font-family:'Almarai',sans-serif; font-size:13.5px; color:var(--gold-light);
  border:1px solid var(--gold); border-radius:50%; width:32px; height:32px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.feature-item h4{font-size:17.5px; color:var(--white); margin-bottom:8px;}
.feature-item p{font-size:14px; color:#c4d3de;}

/* ---------- Services accordion ---------- */
.services .acc-list{border-top:1px solid var(--line);}
.acc-item{border-bottom:1px solid var(--line);}
.acc-trigger{
  width:100%; display:flex; align-items:center; gap:18px; text-align:right;
  background:none; border:none; cursor:pointer; padding:22px 4px;
}
.acc-trigger .idx{font-family:'Almarai',sans-serif; color:var(--gold-deep); font-size:15px; width:30px; flex-shrink:0;}
.acc-trigger h4{font-size:17px; color:var(--navy); flex:1;}
.acc-trigger .chev{width:20px; height:20px; flex-shrink:0; transition:transform .3s ease; stroke:var(--gold-deep); fill:none; stroke-width:2;}
.acc-item.open .acc-trigger .chev{transform:rotate(180deg);}
.acc-panel{max-height:0; overflow:hidden; transition:max-height .35s ease;}
.acc-panel-inner{padding:0 4px 26px 58px; font-size:14.5px; color:#5c6b76; max-width:640px;}

/* ---------- Projects ---------- */
.projects{background:var(--khaki);}
.filter-bar{display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:34px;}
.filter-tabs{display:flex; flex-wrap:wrap; gap:10px;}
.filter-tab{
  border:1px solid var(--line); background:var(--white); color:var(--navy);
  padding:10px 18px; border-radius:999px; font-size:13.5px; font-weight:600; cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-tab:hover{border-color:var(--gold);}
.filter-tab.active{background:var(--navy); color:var(--white); border-color:var(--navy);}
.search-box{position:relative; margin-inline-start:auto; min-width:220px;}
.search-box input{
  width:100%; border:1px solid var(--line); border-radius:999px; padding:10px 40px 10px 16px;
  font-family:'Cairo',sans-serif; font-size:13.5px; background:var(--white); color:var(--ink);
}
.search-box svg{position:absolute; right:14px; top:50%; transform:translateY(-50%); width:16px; height:16px; stroke:var(--khaki-deep); fill:none; stroke-width:2;}
.result-count{font-size:13px; color:#6b644f; margin-bottom:18px;}
.proj-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:22px;}
.proj-card{
  border-radius:16px; padding:26px; background:var(--white); border:1px solid var(--line);
  display:flex; flex-direction:column; gap:10px; position:relative; cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}
.proj-card:hover{transform:translateY(-4px); box-shadow:0 16px 30px rgba(11,42,68,0.1);}
.proj-card .plate{
  position:absolute; top:0; left:0; background:var(--navy); color:var(--gold-light);
  font-size:11.5px; padding:6px 14px; border-radius:0 12px 0 12px; font-weight:600;
}
.proj-card h4{font-size:18px; color:var(--navy); margin-top:22px;}
.proj-card .planno{font-size:12.5px; color:var(--gold-deep); font-weight:600;}
.proj-card p{font-size:13.5px; color:#5c6b76;}
.proj-card .tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:auto; padding-top:8px;}
.proj-card .tags span{font-size:11px; background:var(--khaki); color:var(--gold-deep); padding:4px 10px; border-radius:999px; font-weight:600;}
.proj-card .view-more{font-size:12.5px; color:var(--navy); font-weight:700; margin-top:6px; display:flex; align-items:center; gap:6px;}
.proj-card .view-more svg{width:13px; height:13px; stroke:var(--navy); fill:none; stroke-width:2;}
.empty-state{text-align:center; padding:60px 20px; color:#6b644f; font-size:14.5px; display:none;}
.empty-state.show{display:block;}

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(8,29,48,0.6); backdrop-filter:blur(3px);
  display:flex; align-items:center; justify-content:center; padding:24px; z-index:200;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.modal-overlay.show{opacity:1; pointer-events:auto;}
.modal-box{
  background:var(--white); border-radius:20px; max-width:560px; width:100%; padding:38px;
  position:relative; transform:translateY(16px) scale(.98); transition:transform .3s ease;
  max-height:86vh; overflow-y:auto;
}
.modal-overlay.show .modal-box{transform:translateY(0) scale(1);}
.modal-close{
  position:absolute; top:18px; left:18px; width:34px; height:34px; border-radius:50%;
  border:1px solid var(--line); background:var(--white); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.modal-close svg{width:16px; height:16px; stroke:var(--navy); fill:none; stroke-width:2;}
.modal-box .plate{display:inline-block; background:var(--navy); color:var(--gold-light); font-size:11.5px; padding:6px 14px; border-radius:999px; font-weight:600; margin-bottom:16px;}
.modal-box h3{font-size:24px; color:var(--navy); margin-bottom:6px;}
.modal-box .planno{font-size:13px; color:var(--gold-deep); font-weight:600; display:block; margin-bottom:18px;}
.modal-box p.desc{font-size:15px; color:#514b3d; margin-bottom:22px;}
.modal-box .tags{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:26px;}
.modal-box .tags span{font-size:12px; background:var(--khaki); color:var(--gold-deep); padding:5px 12px; border-radius:999px; font-weight:600;}
.modal-box .modal-actions{display:flex; gap:14px; flex-wrap:wrap;}

/* ---------- Interest form ---------- */
.interest{background:linear-gradient(160deg,var(--navy) 0%, var(--navy-deep) 100%); color:var(--white); position:relative; overflow:hidden;}
.interest .wrap{display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:flex-start;}
.interest h2{color:var(--gold-light); font-size:clamp(26px,3vw,34px); font-weight:800; margin-bottom:18px;}
.interest p{color:#c4d3de; font-size:15.5px; max-width:400px;}
.interest-note{margin-top:32px; display:flex; align-items:center; gap:12px; font-size:13.5px; color:#a9c3d2;}
form.card{background:var(--white); border-radius:18px; padding:36px; display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.field{display:flex; flex-direction:column; gap:8px; position:relative;}
.field.full{grid-column:1 / -1;}
.field label{font-size:13.5px; color:var(--navy); font-weight:600;}
.field label .req{color:var(--err);}
.field input, .field select, .field textarea{
  border:1px solid var(--line); border-radius:9px; padding:13px 14px; font-family:'Cairo',sans-serif;
  font-size:14.5px; color:var(--ink); background:var(--paper); transition:border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{background:var(--white);}
.field.invalid input, .field.invalid select, .field.invalid textarea{border-color:var(--err);}
.field.valid input, .field.valid select, .field.valid textarea{border-color:var(--ok);}
.field-error{font-size:12px; color:var(--err); min-height:14px; display:none;}
.field.invalid .field-error{display:block;}
form.card .btn-primary{grid-column:1 / -1; width:100%; justify-content:center;}
.form-status{grid-column:1 / -1; font-size:13.5px; padding:12px 16px; border-radius:9px; display:none;}
.form-status.show{display:block;}
.form-status.ok{background:rgba(63,122,87,0.1); color:var(--ok);}
.form-status.err{background:rgba(176,58,46,0.1); color:#b03a2e;}

/* ---------- Toast ---------- */
.toast{
  position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--navy); color:var(--white); padding:15px 26px; border-radius:12px;
  font-size:14px; box-shadow:0 14px 30px rgba(0,0,0,0.2); z-index:300;
  opacity:0; pointer-events:none; transition:opacity .3s ease, transform .3s ease;
  display:flex; align-items:center; gap:10px;
}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0);}
.toast svg{width:18px; height:18px; stroke:var(--gold-light); fill:none; stroke-width:2; flex-shrink:0;}

/* ---------- Calculator ---------- */
.calc{background:var(--paper); border:1px solid var(--line); border-radius:20px; padding:38px;}
.calc-grid{display:grid; grid-template-columns:1fr 1fr; gap:34px;}
.calc-inputs .field{margin-bottom:20px;}
.calc-inputs input[type="range"]{width:100%; accent-color:var(--gold-deep);}
.calc-inputs .range-value{display:flex; justify-content:space-between; font-size:13px; color:var(--navy); font-weight:700; margin-top:6px;}
.calc-result{background:var(--navy); border-radius:16px; padding:30px; color:var(--white); display:flex; flex-direction:column; justify-content:center;}
.calc-result .label{font-size:13px; color:#a9c3d2; margin-bottom:8px;}
.calc-result .amount{font-family:'Almarai',sans-serif; font-size:34px; color:var(--gold-light); font-weight:800; margin-bottom:18px;}
.calc-result .row{display:flex; justify-content:space-between; font-size:13.5px; color:#c4d3de; padding:8px 0; border-top:1px solid rgba(255,255,255,0.1);}
.calc-note{font-size:12px; color:#8a97a1; margin-top:18px; line-height:1.7;}

/* ---------- FAQ ---------- */
.faq-list{max-width:760px;}

/* ---------- Contact cards ---------- */
.contact-cards{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:64px;}
.contact-card{border:1px solid var(--line); border-radius:16px; padding:28px 24px; background:var(--paper); text-align:center;}
.contact-card .mark{width:48px; height:48px; border-radius:12px; background:var(--khaki); display:flex; align-items:center; justify-content:center; margin:0 auto 16px;}
.contact-card .mark svg{width:22px; height:22px; stroke:var(--gold-deep); fill:none; stroke-width:1.6;}
.contact-card h4{font-size:15.5px; color:var(--navy); margin-bottom:6px;}
.contact-card p, .contact-card a{font-size:14px; color:#5c6b76;}

/* ---------- Closing strap ---------- */
.strap{background:var(--gold-deep); text-align:center; padding:46px 0;}
.strap p{color:var(--white); font-family:'Almarai',sans-serif; font-size:clamp(20px,2.6vw,28px); font-weight:800;}

/* ---------- Footer ---------- */
footer{background:var(--ink); color:#c9d2d8; padding:60px 0 28px;}
.foot-top{display:grid; grid-template-columns:1.3fr 0.7fr 0.7fr 0.9fr; gap:36px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.08);}
.foot-brand img{height:42px; margin-bottom:16px; filter:brightness(0) invert(1);}
.foot-brand p{font-size:13.5px; color:#8a97a1; max-width:280px;}
footer h5{color:var(--white); font-size:14px; margin-bottom:18px; font-family:'Almarai',sans-serif;}
footer ul li{margin-bottom:11px; font-size:13.5px;}
footer ul li a:hover{color:var(--gold-light);}
.foot-social{display:flex; gap:12px; margin-top:16px;}
.foot-social a{width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.16); display:flex; align-items:center; justify-content:center; transition:background .2s ease;}
.foot-social a:hover{background:rgba(184,145,47,0.25);}
.foot-social svg{width:14px; height:14px; fill:#c9d2d8;}
.foot-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:12.5px; color:#6f7c86; flex-wrap:wrap; gap:10px;}

/* ---------- Back to top ---------- */
.to-top{
  position:fixed; bottom:26px; right:26px; width:48px; height:48px; border-radius:50%;
  background:var(--navy); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(11,42,68,0.3); z-index:80;
  opacity:0; transform:translateY(10px); pointer-events:none; transition:opacity .25s ease, transform .25s ease, background .2s ease;
}
.to-top.show{opacity:1; transform:translateY(0); pointer-events:auto;}
.to-top:hover{background:var(--gold-deep);}
.to-top svg{width:18px; height:18px; stroke:var(--white); fill:none; stroke-width:2.2;}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  nav.links{
    display:flex; position:fixed; top:0; bottom:0; right:0; width:min(78vw,320px); height:100vh;
    background:#fff; flex-direction:column; align-items:flex-start; justify-content:flex-start;
    padding:100px 30px 40px; gap:20px; box-shadow:-14px 0 40px rgba(11,42,68,.2);
    transform:translateX(100%); transition:transform .4s cubic-bezier(.2,.8,.2,1); z-index:120; overflow-y:auto;
  }
  nav.links.open{transform:translateX(0);}
  nav.links a{font-size:16px; opacity:0; transform:translateY(10px); transition:opacity .35s ease, transform .35s ease;}
  nav.links.open a{opacity:1; transform:translateY(0);}
  nav.links.open a:nth-child(1){transition-delay:.06s;}
  nav.links.open a:nth-child(2){transition-delay:.11s;}
  nav.links.open a:nth-child(3){transition-delay:.16s;}
  nav.links.open a:nth-child(4){transition-delay:.21s;}
  nav.links.open a:nth-child(5){transition-delay:.26s;}
  .burger{display:block; z-index:130; flex-shrink:0;}
  /* backdrop-filter على الهيدر يجعله مرجعًا للعناصر الثابتة بداخله فتنكسر القائمة — نلغيه على الجوال */
  header{-webkit-backdrop-filter:none; backdrop-filter:none; background:rgba(255,255,255,0.98);}
}
.nav-backdrop{
  position:fixed; inset:0; background:rgba(6,20,32,.5);
  z-index:55; opacity:0; pointer-events:none; transition:opacity .35s ease; /* أقل من الهيدر (60) كي تظهر القائمة فوق التعتيم */
}
.nav-backdrop.show{opacity:1; pointer-events:auto;}
body.nav-open{overflow:hidden;}
@media (min-width:961px){.nav-backdrop{display:none;}}
@media (max-width:960px){
  .hero .wrap{grid-template-columns:1fr;}
  .facet-stage{height:300px; order:-1;}
  .about-body{grid-template-columns:1fr;}
  .vm .wrap{grid-template-columns:1fr;}
  .values .grid5{grid-template-columns:1fr 1fr;}
  .partner .wrap{grid-template-columns:1fr;}
  .proj-grid{grid-template-columns:1fr;}
  .interest .wrap{grid-template-columns:1fr;}
  form.card{grid-template-columns:1fr;}
  .foot-top{grid-template-columns:1fr 1fr; row-gap:32px;}
  .calc-grid{grid-template-columns:1fr;}
  .contact-cards{grid-template-columns:1fr;}
  .search-box{margin-inline-start:0; width:100%;}
}
@media (max-width:600px){
  .values .grid5{grid-template-columns:1fr;}
  .hero-stats{flex-wrap:wrap; gap:22px;}
  .foot-top{grid-template-columns:1fr;}
  .cta-phone span{display:none;}
  .modal-box{padding:28px 22px;}
}

/* ---------- Project gallery upgrade ---------- */
.proj-grid{grid-template-columns:repeat(3,1fr);gap:24px;}
.proj-card{padding:0;overflow:hidden;display:block;border:1px solid rgba(183,149,67,.18);background:#fff;}
.proj-card:hover{transform:translateY(-8px);box-shadow:0 22px 42px rgba(11,42,68,.16);}
.proj-image{height:220px;position:relative;overflow:hidden;background:var(--navy);}
.proj-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.8,.2,1),filter .4s ease;filter:saturate(.9);}
.proj-card:hover .proj-image img{transform:scale(1.08);filter:saturate(1.08);}
.proj-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,29,48,.06) 30%,rgba(8,29,48,.76) 100%);pointer-events:none;}
.image-shine{position:absolute;inset:-50% -20%;z-index:1;background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.2) 50%,transparent 62%);transform:translateX(-80%) rotate(8deg);transition:transform .8s ease;pointer-events:none;}
.proj-card:hover .image-shine{transform:translateX(80%) rotate(8deg);}
.proj-card .plate{z-index:2;top:14px;left:14px;border-radius:999px;padding:6px 12px;background:rgba(8,29,48,.88);backdrop-filter:blur(6px);}
.proj-image .metric{position:absolute;z-index:2;right:18px;bottom:16px;color:var(--gold-light);font-size:12px;font-weight:700;letter-spacing:.2px;}
.proj-content{padding:20px 21px 22px;min-height:205px;display:flex;flex-direction:column;gap:8px;}
.proj-card h4{margin:0;font-size:18px;}.proj-card p{margin:2px 0 0;line-height:1.8;}.proj-card .tags{padding-top:4px;}.proj-card .view-more{margin-top:auto;}
.project-modal{max-width:860px;padding:0;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;gap:0;}
.modal-project-media{min-height:470px;position:relative;background:var(--navy);overflow:hidden;}.modal-project-media img{width:100%;height:100%;object-fit:cover;display:block;}.modal-project-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(8,29,48,.72));}.modal-project-media span{position:absolute;z-index:1;bottom:24px;right:26px;color:var(--gold-light);font-weight:700;font-size:13px;}
.modal-project-copy{padding:48px 38px 34px;display:flex;flex-direction:column;justify-content:center;}.modal-project-copy .plate{align-self:flex-start;}.modal-project-copy h3{margin-top:4px;}.modal-project-copy .desc{line-height:1.9;}.modal-project-copy .modal-actions{margin-top:4px;}.project-modal .modal-close{z-index:3;background:rgba(255,255,255,.92);}
@media (max-width:980px){.proj-grid{grid-template-columns:repeat(2,1fr);}.project-modal{max-width:720px;grid-template-columns:1fr;}.modal-project-media{min-height:280px;max-height:340px;}.modal-project-copy{padding:30px 28px;}}
@media (max-width:620px){.proj-grid{grid-template-columns:1fr;}.proj-image{height:240px;}.filter-bar{align-items:stretch;}.search-box{width:100%;}.project-modal{max-height:90vh;overflow:auto;}.modal-project-media{min-height:220px;max-height:260px;}.modal-project-copy{padding:28px 22px 24px;}.modal-project-copy h3{font-size:22px;}}

/* ---------- Interactive home hero project visual ---------- */
.hero-project-stage{height:500px;display:flex;align-items:center;justify-content:center;perspective:1000px;}
.hero-project-card{width:min(390px,92%);height:435px;position:relative;overflow:hidden;border-radius:22px;background:var(--navy);box-shadow:24px 28px 60px rgba(11,42,68,.22);transform:rotate(2deg);transition:transform .55s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease;isolation:isolate;}
.hero-project-card:hover{transform:rotate(0deg) translateY(-10px) scale(1.02);box-shadow:28px 38px 74px rgba(11,42,68,.3);}
.hero-project-card img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.8,.2,1),filter .6s ease;filter:saturate(.95) contrast(1.02);}
.hero-project-card:hover img{transform:scale(1.1);filter:saturate(1.12) contrast(1.04);}
.hero-project-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,29,48,.08) 24%,rgba(8,29,48,.84) 100%);z-index:1;}
.hero-project-label{position:absolute;z-index:2;right:26px;bottom:72px;color:#fff;display:flex;flex-direction:column;gap:3px;text-align:right;}
.hero-project-label span{color:var(--gold-light);font-size:12px;font-weight:600;}.hero-project-label strong{font-family:'Almarai',sans-serif;font-size:25px;}.hero-project-label small{font-size:13px;color:#dce6eb;}
.hero-project-link{position:absolute;z-index:2;right:26px;bottom:25px;color:var(--gold-light);font-size:13px;font-weight:700;display:flex;align-items:center;gap:7px;}.hero-project-link svg{width:16px;height:16px;stroke:var(--gold-light);fill:none;stroke-width:2;transition:transform .25s ease;}.hero-project-link:hover svg{transform:translateX(-4px);}
.hero-orbit{position:absolute;border:1px solid rgba(184,145,47,.35);border-radius:50%;pointer-events:none;animation:heroOrbit 9s linear infinite;}.orbit-one{width:440px;height:440px;}.orbit-two{width:520px;height:520px;border-color:rgba(11,42,68,.12);animation-duration:14s;animation-direction:reverse;}@keyframes heroOrbit{to{transform:rotate(360deg);}}
@media (max-width:960px){.hero-project-stage{height:420px;}.hero-project-card{height:360px;width:300px;}.hero-project-label{bottom:62px;}.hero-project-label strong{font-size:21px;}.orbit-one{width:360px;height:360px;}.orbit-two{width:420px;height:420px;}}
@media (max-width:620px){.hero{padding-top:64px;}.hero-project-stage{height:370px;margin-top:14px;}.hero-project-card{height:330px;width:270px;}.hero-project-label{right:20px;bottom:60px;}.hero-project-link{right:20px;bottom:20px;}.orbit-one{width:320px;height:320px;}.orbit-two{width:370px;height:370px;}}

/* ---------- Wide interactive hero project slider ---------- */
.hero-project-stage{height:520px;}
.hero-slider{width:min(560px,96%);height:450px;position:relative;overflow:hidden;border-radius:24px;background:var(--navy);box-shadow:22px 28px 62px rgba(11,42,68,.24);transform:rotate(1.2deg);transition:transform .5s ease,box-shadow .4s ease;z-index:1;isolation:isolate;}
.hero-slider:hover{transform:rotate(0) translateY(-8px);box-shadow:26px 36px 76px rgba(11,42,68,.3);}
.hero-slide{position:absolute;inset:0;opacity:0;transform:scale(1.06);transition:opacity .8s ease,transform 5.4s ease;pointer-events:none;}.hero-slide.active{opacity:1;transform:scale(1);pointer-events:auto;}
.hero-slide img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.92) contrast(1.04);}
.hero-slider-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(8,29,48,.05) 18%,rgba(8,29,48,.84) 100%);pointer-events:none;}
.hero-project-label{right:32px;bottom:88px;}.hero-project-label strong{font-size:30px;}.hero-project-link{right:32px;bottom:35px;}
.hero-slider-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:rgba(8,29,48,.58);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,transform .2s ease;}.hero-slider-arrow:hover{background:var(--gold-deep);}.hero-slider-arrow svg{width:19px;height:19px;fill:none;stroke:#fff;stroke-width:2;}.hero-slider-arrow.prev{right:20px;}.hero-slider-arrow.next{left:20px;}
.hero-slider-dots{position:absolute;z-index:3;left:50%;bottom:32px;transform:translateX(-50%);display:flex;gap:7px;}.hero-slider-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;transition:width .25s ease,background .25s ease;}.hero-slider-dots button.active{width:25px;border-radius:10px;background:var(--gold-light);}
.slide-copy-in{animation:heroCopyIn .55s ease both;}@keyframes heroCopyIn{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:960px){.hero-project-stage{height:430px;}.hero-slider{height:370px;width:430px;}.hero-project-label{bottom:72px;}.hero-project-label strong{font-size:24px;}.hero-project-link{bottom:28px;}}
@media (max-width:620px){.hero-project-stage{height:375px;margin-top:10px;}.hero-slider{height:335px;width:100%;border-radius:19px;}.hero-project-label{right:22px;bottom:65px;}.hero-project-label strong{font-size:22px;}.hero-project-link{right:22px;bottom:23px;font-size:12px;}.hero-slider-arrow{width:36px;height:36px;}.hero-slider-arrow.prev{right:14px;}.hero-slider-arrow.next{left:14px;}.hero-slider-dots{bottom:22px;}}

/* ---------- Values interaction affordance ---------- */
.flip-card{cursor:pointer;outline:none;}
.flip-card:hover .flip-front{border-color:rgba(184,145,47,.5);box-shadow:0 14px 28px rgba(11,42,68,.1);}
.flip-card:focus-visible{outline:2px solid var(--gold);outline-offset:5px;border-radius:18px;}
.flip-card .hint::after{content:' ↻';font-size:15px;}
.flip-card.flipped .hint{opacity:0;}

/* ---------- Homepage visual motion layer ---------- */
.scroll-progress{position:fixed;z-index:100;top:0;left:0;right:0;height:3px;background:rgba(11,42,68,.08);pointer-events:none;}.scroll-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--gold-deep),var(--gold-light));box-shadow:0 0 12px rgba(184,145,47,.7);transition:width .08s linear;}
.hero-project-stage{will-change:transform;transition:transform .1s linear;}
.hero-slider{will-change:transform;}
.hero-actions a,.section-foot a,.interest a{will-change:transform;transition:transform .2s ease,box-shadow .2s ease,background .2s ease;}
@media (prefers-reduced-motion:reduce){.scroll-progress span{transition:none;}.hero-project-stage{transform:none!important;}.hero-slider{transform:none!important;}}

/* ================================================================
   طبقة التحسينات البصرية المتقدمة — واجهة أكثر احترافية وتفاعلاً
   ================================================================ */

/* ---------- دخول ناعم للصفحة ---------- */
body{animation:pageFadeIn .55s ease both;}
@keyframes pageFadeIn{from{opacity:0;}to{opacity:1;}}

/* ---------- غبار ذهبي متحرك للأقسام الداكنة والفاتحة ---------- */
.hero, .about, .page-banner, .interest, footer{position:relative;}
footer{overflow:hidden;}
.interest .wrap{position:relative; z-index:1;}
footer .wrap{position:relative; z-index:1;}

.hero::after, .about::before, .page-banner::before, .interest::before, footer::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  animation:dustDrift 20s ease-in-out infinite alternate;
}
.hero::after{
  background-image:
    radial-gradient(2px 2px at 15% 28%, rgba(138,111,39,.3), transparent 60%),
    radial-gradient(1.6px 1.6px at 85% 18%, rgba(138,111,39,.24), transparent 60%),
    radial-gradient(1.8px 1.8px at 70% 74%, rgba(138,111,39,.22), transparent 60%),
    radial-gradient(1.4px 1.4px at 25% 82%, rgba(138,111,39,.2), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 12%, rgba(138,111,39,.18), transparent 60%);
}
.about::before, .page-banner::before, .interest::before, footer::before{
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(216,188,116,.55), transparent 60%),
    radial-gradient(2px 2px at 78% 65%, rgba(216,188,116,.4), transparent 60%),
    radial-gradient(1.6px 1.6px at 44% 82%, rgba(216,188,116,.5), transparent 60%),
    radial-gradient(1.6px 1.6px at 92% 30%, rgba(216,188,116,.35), transparent 60%),
    radial-gradient(1.4px 1.4px at 30% 48%, rgba(216,188,116,.3), transparent 60%),
    radial-gradient(1.8px 1.8px at 60% 12%, rgba(216,188,116,.4), transparent 60%);
}
@keyframes dustDrift{0%{transform:translate(0,0);}100%{transform:translate(-14px,-12px);}}

/* ---------- توهج طموح خلف عنوان الهيرو ---------- */
.hero::before{
  content:''; position:absolute; top:-18%; inset-inline-end:-8%; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(184,145,47,.18), transparent 70%);
  filter:blur(6px); pointer-events:none; z-index:0;
  animation:heroGlowFloat 13s ease-in-out infinite alternate;
}
.hero .wrap{position:relative; z-index:1;}
@keyframes heroGlowFloat{0%{transform:translate(0,0) scale(1);}100%{transform:translate(-34px,42px) scale(1.1);}}

/* ---------- خط ذهبي متحرك تحت عناوين الأقسام ---------- */
.section-head h2, .about h2, .page-banner h1{position:relative; display:inline-block;}
.section-head h2::after, .about h2::after{
  content:''; position:absolute; right:0; bottom:-12px; height:3px; width:0;
  background:linear-gradient(90deg,var(--gold-deep),var(--gold-light));
  border-radius:3px; transition:width .9s cubic-bezier(.2,.8,.2,1);
}
.section-head.in h2::after, .reveal.in h2::after, .about h2.reveal.in::after{width:64px;}

/* ---------- تلألؤ ذهبي عند مرور المؤشر فوق الأزرار ---------- */
.btn-primary, .cta-phone{position:relative; overflow:hidden;}
.btn-primary::before, .cta-phone::before{
  content:''; position:absolute; inset:0; z-index:0;
  background:linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform:translateX(-130%); transition:transform .65s ease;
}
.btn-primary:hover::before, .cta-phone:hover::before{transform:translateX(130%);}
.btn-primary > *, .cta-phone > *{position:relative; z-index:1;}

/* ---------- توهج يتبع المؤشر داخل البطاقات ---------- */
.value-card, .vm-card, .contact-card, .calc, .proj-card{position:relative; overflow:hidden;}
.flip-front{overflow:hidden;}
.value-card::after, .vm-card::after, .contact-card::after, .calc::after, .proj-card::after, .flip-front::after{
  content:''; position:absolute; inset:0; pointer-events:none; opacity:0; z-index:2;
  transition:opacity .3s ease;
  background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(184,145,47,.18), transparent 65%);
}
.value-card:hover::after, .vm-card:hover::after, .contact-card:hover::after, .calc:hover::after,
.proj-card:hover::after, .flip-card:hover .flip-front::after{opacity:1;}

/* ---------- إمالة ثلاثية الأبعاد ناعمة للبطاقات ---------- */
.value-card, .vm-card, .contact-card{
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
  will-change:transform;
}
.value-card:hover, .vm-card:hover, .contact-card:hover{
  box-shadow:0 20px 38px rgba(11,42,68,.12); border-color:rgba(184,145,47,.35);
}

@media (prefers-reduced-motion:reduce){
  .hero::before, .hero::after, .about::before, .page-banner::before, .interest::before, footer::before{animation:none;}
  body{animation:none;}
}
@media (pointer:coarse){
  .value-card::after, .vm-card::after, .contact-card::after, .calc::after, .proj-card::after, .flip-front::after{display:none;}
}

/* ================================================================
   فيديو خلفية الهيرو — يعبّر عن طبيعة أعمال الشركة (تطوير عقاري)
   الفيديو محلي: assets/hero-video.mp4
   ================================================================ */
.hero.has-video{background:linear-gradient(160deg,var(--navy) 0%, var(--navy-deep) 100%);}
.hero-video-bg{position:absolute; inset:0; z-index:0; overflow:hidden;}
.hero-video-bg video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter:saturate(1.05) contrast(1.02) brightness(.85);
}
.hero-video-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(160deg, rgba(8,29,48,.86) 0%, rgba(8,29,48,.72) 45%, rgba(8,29,48,.88) 100%);
}
.hero.has-video::before, .hero.has-video::after{z-index:2;}
.hero.has-video .wrap{position:relative; z-index:3;}

/* تحويل نص الهيرو إلى تدرّج فاتح يناسب الخلفية الداكنة */
.hero.has-video .hero-eyebrow-free{color:var(--gold-light);}
.hero.has-video h1{color:var(--white);}
.hero.has-video p.lead{color:#cdd9e2;}
.hero.has-video .hero-stats{border-top-color:rgba(255,255,255,0.16);}
.hero.has-video .hero-stats div strong{color:var(--gold-light);}
.hero.has-video .hero-stats div span{color:#a9c3d2;}

/* الفيديو يعمل على الجوال أيضًا (ملف خفيف ~1.6MB)، مع تعتيم أقوى لضمان وضوح النص */
@media (max-width:760px){
  .hero-video-scrim{background:linear-gradient(160deg, rgba(8,29,48,.88) 0%, rgba(8,29,48,.78) 50%, rgba(8,29,48,.92) 100%);}
  .hero-video-bg video{object-position:center;}
}
@media (prefers-reduced-motion:reduce){
  .hero-video-bg video{display:none;}
}

/* ---------- زر واتساب العائم ---------- */
.whatsapp-float{
  position:fixed; bottom:26px; left:26px; width:52px; height:52px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(37,211,102,.4); z-index:80; transition:transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover{transform:scale(1.08); box-shadow:0 14px 30px rgba(37,211,102,.5);}
.whatsapp-float svg{width:26px; height:26px; fill:#fff;}
.whatsapp-float::before{
  content:''; position:absolute; inset:-4px; border-radius:50%; border:2px solid rgba(37,211,102,.5);
  animation:waPulse 2.4s ease-out infinite;
}
@keyframes waPulse{0%{transform:scale(.9); opacity:.8;}100%{transform:scale(1.5); opacity:0;}}
@media (prefers-reduced-motion:reduce){.whatsapp-float::before{animation:none;}}
@media (max-width:520px){
  .whatsapp-float{width:46px; height:46px; bottom:18px; left:18px;}
  .whatsapp-float svg{width:22px; height:22px;}
  .to-top{bottom:18px; right:18px;}
}

/* ---------- قسم آراء العملاء ---------- */
.testimonials{background:var(--paper); padding:88px 0;}
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:44px;}
.testi-card{
  position:relative; overflow:hidden; background:#fff; border:1px solid var(--line);
  border-radius:16px; padding:34px 28px; transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.testi-card .quote-mark{width:34px; height:34px; fill:rgba(184,145,47,.3); margin-bottom:14px;}
.testi-card p{font-size:15px; line-height:1.9; color:#3d4750; margin-bottom:20px;}
.testi-who{display:flex; flex-direction:column; gap:2px; border-top:1px solid var(--line); padding-top:14px;}
.testi-who strong{color:var(--navy); font-size:14.5px;}
.testi-who span{color:#8a949c; font-size:12.5px;}
.testi-card::after{
  content:''; position:absolute; inset:0; pointer-events:none; opacity:0; z-index:2; transition:opacity .3s ease;
  background:radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(184,145,47,.18), transparent 65%);
}
.testi-card:hover::after{opacity:1;}
.testi-card:hover{box-shadow:0 20px 38px rgba(11,42,68,.1); border-color:rgba(184,145,47,.35);}
@media (max-width:960px){.testi-grid{grid-template-columns:1fr;}}
@media (pointer:coarse){.testi-card::after{display:none;}}

/* ---------- خريطة الموقع ---------- */
.map-embed{
  margin-top:36px; border-radius:16px; overflow:hidden; border:1px solid var(--line);
  box-shadow:0 16px 34px rgba(11,42,68,.08); position:relative;
}
.map-embed iframe{width:100%; height:360px; border:0; display:block; filter:grayscale(.15) contrast(1.05);}
@media (max-width:640px){.map-embed iframe{height:280px;}}

/* ================================================================
   طبقة حركة إضافية — انتقال بين الصفحات، تعمّق تمرير، تفاعل أزرار
   ================================================================ */

/* انتقال ناعم بين الصفحات */
.page-transition{
  position:fixed; inset:0; background:var(--navy-deep); z-index:500;
  opacity:0; pointer-events:none; transition:opacity .32s ease;
}
.page-transition.active{opacity:1; pointer-events:all;}

/* ظهور تدريجي للصور المُحمّلة بتأخير */
.hero-slide img, .proj-image img{opacity:0; transition:opacity .6s ease;}
.hero-slide img.loaded, .proj-image img.loaded{opacity:1;}

/* تموّج عند الضغط على الأزرار */
.btn-ghost{position:relative; overflow:hidden;}
.btn-ripple{
  position:absolute; border-radius:50%; transform:scale(0);
  background:rgba(255,255,255,.55); pointer-events:none; animation:rippleAnim .6s ease-out forwards;
}
.btn-ghost.on-dark .btn-ripple, .cta-phone .btn-ripple{background:rgba(216,188,116,.4);}
@keyframes rippleAnim{to{transform:scale(2.6); opacity:0;}}

/* توهج التركيز داخل حقول النموذج */
.field input:focus, .field select:focus, .field textarea:focus{
  background:var(--white); border-color:var(--gold-deep); box-shadow:0 0 0 4px rgba(184,145,47,.15);
}

@media (prefers-reduced-motion:reduce){
  .page-transition{transition:none;}
  .btn-ripple{display:none;}
  .hero-video-bg{transform:none !important;}
}
