:root{
  --ink:#1c1b19; --charcoal:#2b2a28; --slate:#57544f; --muted:#7a7670;
  --silver:#b4b0a9; --line:#e6e2db; --stone:#efece5; --alabaster:#f7f3ec; --white:#fff;
  --sand:#c8a97e; --sand-dark:#a9855b; --sand-soft:#f0e6d7; --sage:#8a9a86; --clay:#b07a5f;
  --ease:cubic-bezier(.22,.61,.36,1); --maxw:1200px; --head-h:72px;
  --sh-1:0 1px 2px rgba(28,27,25,.04),0 6px 16px rgba(28,27,25,.05);
  --sh-2:0 10px 30px rgba(28,27,25,.09);
  --sh-3:0 20px 50px rgba(28,27,25,.16);
}
*{box-sizing:border-box}
body{margin:0; background:var(--alabaster); color:var(--slate); font-family:"Tajawal",sans-serif; font-size:15px; line-height:1.75; -webkit-font-smoothing:antialiased; overflow-x:hidden}
h1,h2,h3,h4{font-family:"Reem Kufi",sans-serif; color:var(--ink); font-weight:600; line-height:1.3; margin:0}
a{text-decoration:none; color:var(--sand-dark)}
img{max-width:100%; display:block}
.container{max-width:var(--maxw); margin:0 auto; padding:0 24px}
.section{padding:78px 0}
.eyebrow{font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.2em; color:var(--sand-dark); text-transform:uppercase}
.mono{font-family:"IBM Plex Mono",monospace}
.ico{width:1em;height:1em;display:inline-block;vertical-align:-.12em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.grid-tex{position:relative; overflow:hidden}
.grid-tex::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:52px 52px;pointer-events:none}

.sechead{max-width:640px; margin:0 auto 48px; text-align:center}
.sechead .eyebrow{display:block; margin-bottom:12px}
.sechead h2{font-size:31px; margin-bottom:14px}
.sechead h2 .u{color:var(--sand-dark)}
.sechead h2::after{content:""; display:block; width:54px; height:3px; background:var(--sand); border-radius:9px; margin:16px auto 0}
.sechead p{margin:0; color:var(--muted)}
.sechead--start{text-align:right; margin-inline:0; max-width:none; display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap}
.sechead--start .htxt{max-width:560px}
.sechead--start h2::after{margin-inline:0}

.btn{font-family:"Tajawal",sans-serif; font-weight:700; font-size:14px; padding:12px 22px; border-radius:9px; border:1.5px solid transparent; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px; transition:.22s var(--ease)}
.btn:hover{transform:translateY(-2px)}
.btn--dark{background:var(--charcoal); color:#fff; box-shadow:var(--sh-1)} .btn--dark:hover{background:var(--ink); box-shadow:var(--sh-2)}
.btn--sand{background:var(--sand); color:#3a2e1e; box-shadow:0 6px 16px rgba(200,169,126,.35)} .btn--sand:hover{background:var(--sand-dark); color:#fff}
.btn--ghost{background:transparent; border-color:var(--line); color:var(--charcoal)} .btn--ghost:hover{border-color:var(--sand); color:var(--sand-dark)}
.btn--light{background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.35); color:#fff} .btn--light:hover{background:#fff; color:var(--ink)}
.btn--wa{background:#25d366; color:#fff} .btn--wa:hover{background:#1da851}
.btn--sm{padding:9px 16px; font-size:13px}
.btn--block{width:100%}

/* topbar */
.topbar{background:var(--ink); color:rgba(255,255,255,.7)}
.topbar__in{display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:40px; font-family:"IBM Plex Mono",monospace; font-size:12px}
.topbar__l{display:flex; gap:22px; flex-wrap:wrap}
.topbar__l span{display:inline-flex; align-items:center; gap:7px}
.topbar__l .ico{color:var(--sand)}
.topbar__r{display:flex; gap:14px}
.topbar__r a{color:rgba(255,255,255,.6)} .topbar__r a:hover{color:var(--sand);font-size:.9rem;}
@media(max-width:720px){.topbar{display:none}}

/* header */
.header{position:sticky; top:0; z-index:100; background:rgba(247,243,236,.9); backdrop-filter:blur(12px); border-bottom:1px solid var(--line)}
.header-icon{    color: var(--silver);}
.header__in{display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:var(--head-h)}
.logo img{height:60px}
.nav{display:flex; align-items:center; gap:4px}
.nav a{position:relative; padding:8px 15px; color:var(--charcoal); font-family:"Reem Kufi",sans-serif; font-weight:500; font-size:15px; border-radius:7px}
.nav a::after{content:""; position:absolute; inset-inline:15px; bottom:4px; height:2px; background:var(--sand); transform:scaleX(0); transform-origin:right; transition:.25s var(--ease)}
.nav a:hover{color:var(--sand-dark)} .nav a:hover::after,.nav a.active::after{transform:scaleX(1); transform-origin:left}
.nav a.active{color:var(--sand-dark)}
.nav__cta{display:none}
.header__cta{display:inline-flex}
.burger{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:9px;background:#fff;flex-direction:column;justify-content:center;gap:5px;cursor:pointer;align-items:center}
.burger span{width:20px;height:2px;background:var(--charcoal);transition:.25s var(--ease)}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(-45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(45deg)}

/* hero */
.hero{position:relative; padding:60px 0 78px; background:
  radial-gradient(1100px 500px at 88% -8%, rgba(200,169,126,.16), transparent 60%),
  radial-gradient(900px 600px at 0% 110%, rgba(138,154,134,.10), transparent 55%),
  var(--alabaster); overflow:hidden}
.hero::after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(28,27,25,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(28,27,25,.025) 1px,transparent 1px);background-size:56px 56px;pointer-events:none;-webkit-mask-image:linear-gradient(to left,transparent,#000 40%);mask-image:linear-gradient(to left,transparent,#000 40%)}
.hero__grid{position:relative; z-index:2; display:grid; grid-template-columns:1.02fr 1fr; gap:54px; align-items:center}
.hero__eyebrow{display:inline-flex; align-items:center; gap:8px; padding:7px 15px; background:#fff; border:1px solid var(--line); border-radius:999px; color:#6b5a3f; font-family:"IBM Plex Mono",monospace; font-size:11.5px; letter-spacing:.06em; margin-bottom:22px; box-shadow:var(--sh-1)}
.hero__eyebrow .dot{width:7px;height:7px;border-radius:50%;background:var(--sage)}
.hero h1{font-size:47px; font-weight:700; line-height:1.15; margin-bottom:20px}
.hero h1 span{color:var(--sand-dark)}
.hero__lead{font-size:17px; color:var(--slate); max-width:52ch; margin:0 0 30px}
.hero__actions{display:flex; flex-wrap:wrap; gap:12px}
.hero__stats{display:flex; gap:34px; margin-top:40px; padding-top:28px; border-top:1px solid var(--line)}
.hero__stat .n{font-family:"IBM Plex Mono",monospace; font-size:27px; font-weight:600; color:var(--sand-dark); display:block; line-height:1}
.hero__stat .l{font-size:12.5px; color:var(--muted)}
.hstack{position:relative; height:480px}
.hstack .p1{position:absolute; inset-inline-start:0; top:0; width:70%; height:100%; border-radius:18px; overflow:hidden; box-shadow:var(--sh-3); z-index:2}
.hstack .p2{position:absolute; inset-inline-end:0; bottom:26px; width:46%; height:52%; border-radius:16px; overflow:hidden; box-shadow:var(--sh-3); border:5px solid var(--alabaster); z-index:3}
.hstack img{width:100%;height:100%;object-fit:cover}
.hstack .frame{position:absolute; inset-inline-end:8%; top:-16px; width:44%; height:60%; border:2px solid var(--sand); border-radius:16px; z-index:1}
.hstack .chip{position:absolute; inset-inline-start:-18px; bottom:40px; z-index:4; background:#fff; border:1px solid var(--line); border-radius:13px; padding:13px 16px; box-shadow:var(--sh-2); display:flex; align-items:center; gap:11px}
.hstack .chip .ic{width:38px;height:38px;border-radius:10px;background:var(--sand-soft);color:var(--sand-dark);display:flex;align-items:center;justify-content:center;font-size:19px}
.hstack .chip .t{font-family:"Reem Kufi",sans-serif;color:var(--ink);font-weight:600;font-size:13.5px}
.hstack .chip .s{font-size:11.5px;color:var(--muted)}

/* about */
.about{background:var(--white)}
.about__grid{display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center}
.about__media{position:relative}
.about__media .m1{border-radius:18px; overflow:hidden; box-shadow:var(--sh-2); aspect-ratio:4/3}
.about__media .m1 img{width:100%;height:100%;object-fit:cover}
.about__media .badge{position:absolute; inset-inline-end:-16px; bottom:-16px; background:var(--charcoal); color:#fff; border-radius:16px; padding:18px 22px; box-shadow:var(--sh-2); text-align:center}
.about__media .badge .n{font-family:"IBM Plex Mono",monospace; font-size:26px; color:var(--sand); font-weight:600; display:block}
.about__media .badge .l{font-size:12px; color:rgba(255,255,255,.75)}
.about__grid h2{font-size:30px; margin-bottom:8px}
.about__grid h2 .u{color:var(--sand-dark)}
.about__grid .lead{margin:0 0 16px; color:var(--slate)}
.about__list{list-style:none; margin:20px 0 0; padding:0; display:grid; gap:12px}
.about__list li{display:flex; gap:11px; align-items:flex-start; font-size:14px; color:var(--slate)}
.about__list .ic{color:var(--sage); flex-shrink:0; margin-top:4px}
/* values */
.values{background:var(--stone)}
.vgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}
.value{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:26px 22px; transition:.28s var(--ease); box-shadow:var(--sh-1)}
.value:hover{transform:translateY(-6px); box-shadow:var(--sh-2); border-color:#dcd2c2}
.value .vic{width:52px;height:52px;border-radius:13px;background:var(--sand-soft);color:var(--sand-dark);display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:16px;transition:.28s var(--ease)}
.value:hover .vic{background:var(--sand);color:#fff}
.value h3{font-size:17px; margin-bottom:7px}
.value p{margin:0; font-size:13.5px; color:var(--muted)}

/* feature cards */
.grid4{display:grid; grid-template-columns:repeat(4,1fr); gap:22px}
.feature{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:28px 22px; transition:.28s var(--ease); box-shadow:var(--sh-1)}
.feature:hover{transform:translateY(-6px); box-shadow:var(--sh-2); border-color:#dcd2c2}
.feature .fic{width:56px;height:56px;border-radius:14px;background:var(--sand-soft);color:var(--sand-dark);display:flex;align-items:center;justify-content:center;font-size:26px;margin-bottom:18px;transition:.28s var(--ease)}
.feature:hover .fic{background:var(--sand); color:#fff; transform:rotate(-6deg)}
.feature h3{font-size:18px; margin-bottom:8px}
.feature p{margin:0; font-size:13.5px; color:var(--muted)}

/* how we work — dark */
.work{background:linear-gradient(160deg,#232220,var(--ink)); color:rgba(255,255,255,.72)}
.work .sechead h2{color:#fff}
.work .sechead p{color:rgba(255,255,255,.6)}
.work__grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px; position:relative; z-index:2}
.wstep{background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09); border-radius:16px; padding:26px 22px; transition:.28s var(--ease)}
.wstep:hover{background:rgba(255,255,255,.07); transform:translateY(-6px); border-color:rgba(200,169,126,.4)}
.wstep .num{font-family:"IBM Plex Mono",monospace; font-size:13px; color:var(--sand); font-weight:600; display:flex; align-items:center; gap:10px; margin-bottom:16px}
.wstep .num::after{content:"";height:1px;flex:1;background:rgba(255,255,255,.14)}
.wstep .wic{color:var(--sand); font-size:24px; margin-bottom:12px}
.wstep h3{color:#fff; font-size:17px; margin-bottom:7px}
.wstep p{margin:0; font-size:13px; color:rgba(255,255,255,.6)}

/* catalog (shared by items + projects) */
.catalog{display:grid; grid-template-columns:300px 1fr; gap:30px; align-items:start}
.filters{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:22px; position:sticky; top:calc(var(--head-h) + 16px); box-shadow:var(--sh-1)}
.filters h3{font-size:17px; display:flex; align-items:center; gap:8px; padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid var(--line)}
.fgroup{margin-bottom:20px}
.flabel{font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:9px}
.input,.select{width:100%; padding:11px 13px; font-family:inherit; font-size:14px; color:var(--charcoal); background:var(--white); border:1.5px solid var(--line); border-radius:8px; transition:.2s}
.input:focus,.select:focus{outline:none; border-color:var(--sand); box-shadow:0 0 0 3px var(--sand-soft)}
.search{position:relative}
.search .ico{position:absolute; inset-inline-start:12px; top:50%; transform:translateY(-50%); color:var(--silver)}
.search .input{padding-inline-start:38px}
.range{display:grid; grid-template-columns:1fr auto 1fr; gap:8px; align-items:center}
.range span{color:var(--silver)}
.choice{display:flex; align-items:center; gap:10px; padding:7px 6px; border-radius:7px; cursor:pointer; font-size:14px; transition:.2s}
.choice:hover{background:var(--stone)}
.choice input{accent-color:var(--sand-dark); width:17px; height:17px}
.choice .c{margin-inline-start:auto; font-family:"IBM Plex Mono",monospace; font-size:11px; color:var(--silver)}
.factions{display:grid; gap:9px; padding-top:16px; border-top:1px solid var(--line)}

.rbar{display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:18px; flex-wrap:wrap}
.rbar .count{margin:0; font-size:14px; color:var(--muted)} .rbar .count b{color:var(--charcoal); font-family:"IBM Plex Mono",monospace}
.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:22px}

/* ITEM CARD — framed */
.icard{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:10px; box-shadow:var(--sh-1); transition:.28s var(--ease); display:flex; flex-direction:column}
.icard:hover{transform:translateY(-6px); box-shadow:var(--sh-3)}
.icard__img{position:relative; aspect-ratio:4/3; border-radius:10px; overflow:hidden; background:var(--stone)}
.icard__img img{width:100%;height:100%;object-fit:cover;transition:.6s var(--ease)}
.icard:hover .icard__img img{transform:scale(1.06)}
.icard__badge{position:absolute; top:10px; inset-inline-start:10px; background:var(--clay); color:#fff; font-family:"IBM Plex Mono",monospace; font-size:11px; font-weight:600; padding:5px 11px; border-radius:999px}
.icard__b{padding:16px 10px 8px}
.icard__top{display:flex; align-items:center; gap:8px; margin-bottom:8px}
.icard__tag{font-family:"IBM Plex Mono",monospace; font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--sand-dark); background:var(--sand-soft); padding:3px 9px; border-radius:999px}
.icard__dot{width:6px;height:6px;border-radius:50%;background:var(--sage)}
.icard__not{width:6px;height:6px;border-radius:50%;background:var(--clay)}
.icard__st{font-size:12px;color:var(--muted)}
.icard__b h3{font-size:18px; margin-bottom:5px}
.icard__b p{margin:0 0 4px; font-size:13.5px; color:var(--muted); display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.icard__foot{margin-top:auto; padding:14px 10px 6px; display:grid; grid-template-columns:1fr auto; gap:12px; align-items:end; border-top:1px dashed var(--line)}
.icard__price .was{font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--silver); text-decoration:line-through; display:block; line-height:1; margin-bottom:3px}
.icard__price .now{font-family:"IBM Plex Mono",monospace; font-size:20px; font-weight:600; color:var(--ink)}
.icard__price .cur{font-family:"IBM Plex Mono",monospace; font-size:11px; color:var(--muted)}

/* PROJECT CARD — editorial */
.pcards{display:grid; grid-template-columns:repeat(2,1fr); gap:30px}
.pcard{position:relative; transition:.28s var(--ease)}
  .pcards-home{grid-template-columns:repeat(3,1fr)}
.pcard__img{position:relative; aspect-ratio:5/4; border-radius:16px; overflow:hidden; box-shadow:var(--sh-2)}
.pcard__img img{width:100%;height:100%;object-fit:cover; transition:.6s var(--ease)}
.pcard:hover .pcard__img img{transform:scale(1.05)}
.pcard__img::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(28,27,25,.55),transparent 45%)}
.pcard__no{position:absolute; top:14px; inset-inline-end:16px; z-index:2; font-family:"IBM Plex Mono",monospace; font-size:12px; color:#fff; opacity:.9; letter-spacing:.1em}
.pcard__panel{position:relative; z-index:3; margin:-46px 16px 0; background:var(--white); border:1px solid var(--line); border-radius:14px; padding:18px; box-shadow:var(--sh-2); transition:.28s var(--ease)}
.pcard:hover .pcard__panel{transform:translateY(-6px)}
.pcard__cat{font-family:"IBM Plex Mono",monospace; font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--sand-dark); margin-bottom:6px}
.pcard__panel h3{font-size:18px; margin-bottom:12px}
.pcard__row{display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:12px; border-top:1px solid var(--line)}
.pcard__meta{font-size:12.5px; color:var(--muted)}
.pcard__link{font-family:"Tajawal",sans-serif; font-weight:700; font-size:13.5px; color:var(--charcoal); display:inline-flex; align-items:center; gap:6px; transition:.2s;background:none; border:none;}
.pcard:hover .pcard__link{color:var(--sand-dark); gap:10px}

/* empty state */
.empty{grid-column:1/-1; text-align:center; padding:60px 24px; background:var(--white); border:1px dashed var(--line); border-radius:16px}
.empty .eic{width:76px;height:76px;border-radius:50%;background:var(--stone);color:var(--silver);display:flex;align-items:center;justify-content:center;font-size:32px;margin:0 auto 16px}
.empty h3{font-size:19px;margin-bottom:8px}
.empty p{margin:0 auto 18px;color:var(--muted);max-width:42ch}
.hidden{display:none!important}

/* contact */
.contact{display:grid; grid-template-columns:1.15fr .85fr; gap:26px; align-items:start}
.panel{background:var(--white); border:1px solid var(--line); border-radius:18px; padding:30px; box-shadow:var(--sh-1)}
.panel--dark{background:linear-gradient(150deg,var(--charcoal),var(--ink)); color:rgba(255,255,255,.82); border:0}
.panel--dark h3{color:#fff}
.field{margin-bottom:16px}
.field label{font-family:"IBM Plex Mono",monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); display:block; margin-bottom:8px}
.req{color:var(--clay)}
.textarea{width:100%; padding:11px 13px; font-family:inherit; font-size:14px; border:1.5px solid var(--line); border-radius:8px; min-height:120px; resize:vertical}
.textarea:focus{outline:none;border-color:var(--sand);box-shadow:0 0 0 3px var(--sand-soft)}
.alert{display:flex; gap:10px; padding:13px 16px; border-radius:10px; font-size:13.5px; margin-bottom:18px; background:rgba(138,154,134,.14); border:1px solid rgba(138,154,134,.4); color:#4b5a48}
.info{display:flex; gap:14px; padding:15px 0; border-bottom:1px solid rgba(255,255,255,.1)}
.info:last-child{border:0}
.info .ic{width:42px;height:42px;border-radius:11px;background:rgba(200,169,126,.2);color:var(--sand);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
.info .l{font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--silver);display:block}
.info .v{color:#fff;font-weight:500}
.social{display:flex; gap:10px; margin-top:22px}
.social a{width:42px;height:42px;border-radius:11px;background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px;transition:.2s}
.social a:hover{background:var(--sand); transform:translateY(-3px)}

/* cta */
.cta{background:linear-gradient(150deg,#232220,var(--ink)); color:rgba(255,255,255,.82); text-align:center}
.cta h2{color:#fff; font-size:31px; margin-bottom:12px; position:relative; z-index:2}
.cta p{max-width:60ch; margin:0 auto 26px; position:relative; z-index:2}
.cta__actions{display:flex; gap:12px; justify-content:center; flex-wrap:wrap; position:relative; z-index:2}

/* footer */
.footer{background:var(--ink); color:rgba(255,255,255,.66); padding:60px 0 0}
.footer__grid{display:grid; grid-template-columns:1.5fr 1fr 1fr 1.3fr; gap:34px; padding-bottom:44px}
.footer .flogo{height:46px; margin-bottom:16px}
.footer h4{color:#fff; font-size:16px; margin-bottom:16px}
.footer ul{list-style:none; margin:0; padding:0}
.footer li{margin-bottom:11px; font-size:14px}
.footer li a{color:rgba(255,255,255,.66)} .footer li a:hover{color:var(--sand)}
.footer__meta{display:flex; align-items:center; gap:10px; font-size:13.5px; margin-bottom:11px}
.footer__meta .ico{color:var(--sand)}
.footer__bottom{display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:20px 0; border-top:1px solid rgba(255,255,255,.1); font-family:"IBM Plex Mono",monospace; font-size:12px}
.wafloat{position:fixed; inset-inline-end:22px; bottom:22px; z-index:90; width:56px; height:56px; border-radius:50%; background:#25d366; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(37,211,102,.4); transition:.25s}
.wafloat:hover{transform:scale(1.08)}
.whatsapp-icon{font-size:1.5rem;}

@media(max-width:1100px){ .grid4,.work__grid{grid-template-columns:repeat(2,1fr)} .cards{grid-template-columns:repeat(2,1fr)} .vgrid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:900px){
  .header__cta{display:none}
  .burger{display:flex}
  .nav{position:absolute; top:100%; inset-inline:0; flex-direction:column; align-items:stretch; gap:0; background:var(--white); border-bottom:1px solid var(--line); box-shadow:var(--sh-3); padding:10px 18px 20px; transform:translateY(-12px); opacity:0; visibility:hidden; transition:.25s var(--ease)}
  .nav.open{transform:none; opacity:1; visibility:visible}
  .nav a{padding:14px 6px; border-bottom:1px solid var(--stone); font-size:16px}
  .nav a::after{display:none}
  .nav__cta{display:flex; margin-top:14px}
  .hero__grid{grid-template-columns:1fr; gap:36px} .hstack{height:380px}
  .about__grid{grid-template-columns:1fr; gap:40px}
  .catalog{grid-template-columns:1fr} .filters{position:static}
  .pcards{grid-template-columns:repeat(2,1fr)}

  .contact{grid-template-columns:1fr} .footer__grid{grid-template-columns:repeat(2,1fr)}
  .sechead--start{flex-direction:column; align-items:flex-start}
}
@media(max-width:600px) {
    .section {
        padding: 52px 0
    }

    .hero h1 {
        font-size: 29px
    }

    .grid4, .work__grid, .cards, .pcards, .vgrid {
        grid-template-columns: 1fr
    }

    .footer__grid {
        grid-template-columns: 1fr
    }

    .hero__stats { justify-content: center;
    }

    .about__media .badge {
        inset-inline-end: 12px
    }

    .btn {
        padding: 8px 19px;
    }


    .sechead h2 {
        font-size: 25px;
    }

    .feature .fic {
        width: 45px;
        height: 45px;
    }

    .hstack .p1 {
        width: 100%
    }

    .feature {
        padding: 15px 15px;
    }

    .wstep .wic,
    .icard__b h3 {

        font-size:16px;
    }
    .feature h3, .pcard__panel h3, .hero__lead {
        font-size: 14px;
    }
    .pcard__panel {
        padding: 12px 5px;
    }
    .pcard__img {
        aspect-ratio: 1 / 1;
    }
    .wstep {
        padding: 9px 20px;
    }
    .wstep,
    .wstep .wic {
        margin-bottom: 3px;
    }
    }

/* =====================================================================
   ADDITIONS — animations, page header, image CTA, detail pages
   ===================================================================== */

/* ---------- scroll reveal (subtle) ---------- */
[data-rv]{opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease)}
[data-rv].in{opacity:1; transform:none}
[data-rv][data-d="1"]{transition-delay:.08s}
[data-rv][data-d="2"]{transition-delay:.16s}
[data-rv][data-d="3"]{transition-delay:.24s}
[data-rv][data-d="4"]{transition-delay:.32s}

/* hero entrance on load */
.hero__grid > div > *{animation:rise .8s var(--ease) both}
.hero__grid > div > *:nth-child(1){animation-delay:.05s}
.hero__grid > div > *:nth-child(2){animation-delay:.14s}
.hero__grid > div > *:nth-child(3){animation-delay:.23s}
.hero__grid > div > *:nth-child(4){animation-delay:.32s}
.hero__grid > div > *:nth-child(5){animation-delay:.41s}
.hstack{animation:fadein 1s var(--ease) .2s both}
@keyframes rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@keyframes fadein{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}

/* header shrink */
.header{transition:min-height .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease)}
.header.small{box-shadow:0 6px 20px rgba(28,27,25,.07)}
.header.small .header__in{min-height:60px}
.header.small .logo img{height:50px}
.logo img{transition:height .3s var(--ease)}

/* card stagger inside grids */
.cards .icard,.pcards .pcard{animation:rise .55s var(--ease) both}

/* ---------- page header (interior pages) ---------- */
.phead{position:relative; padding:64px 0 58px; background:var(--charcoal); overflow:hidden}
.phead__bg{position:absolute; inset:0; z-index:0}
.phead__bg img{width:100%; height:100%; object-fit:cover; transform:scale(1.04); animation:slowzoom 18s var(--ease) infinite alternate}
.phead::after{content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(to left, rgba(28,27,25,.72), rgba(28,27,25,.9))}
.phead__in{position:relative; z-index:2}
.phead .eyebrow{color:var(--sand); display:block; margin-bottom:12px}
.phead h1{color:#fff; font-size:38px; font-family:"Reem Kufi",sans-serif; font-weight:700; margin:0 0 12px}
.phead h1 .u{color:var(--sand)}
.phead p{color:rgba(255,255,255,.72); max-width:60ch; margin:0}
.crumb{display:flex; align-items:center; gap:8px; font-family:"IBM Plex Mono",monospace; font-size:12px;
  color:rgba(255,255,255,.55); margin-bottom:16px}
.crumb a{color:rgba(255,255,255,.75)} .crumb a:hover{color:var(--sand)}
.crumb .sep{color:var(--sand)}
@keyframes slowzoom{from{transform:scale(1.04)}to{transform:scale(1.12)}}
@media(max-width:600px){.phead h1{font-size:28px} .phead{padding:44px 0 40px}}
.ctaimg__bg{ overflow:hidden; }
.ctaimg__bg img{  width:100%; height:100%; object-fit:cover;  transform-origin:center;  animation:ctaZoom 18s ease-in-out infinite alternate;}
@keyframes ctaZoom {from {transform: scale(1);}to {transform: scale(1.12);}}

/* ---------- CTA with project image ---------- */
.ctaimg{position:relative; overflow:hidden; padding:82px 0; text-align:center; color:#fff}
.ctaimg__bg{position:absolute; inset:0; z-index:0}
.ctaimg__bg img{width:100%; height:100%; object-fit:cover}
.ctaimg::after{content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(160deg, rgba(28,27,25,.86), rgba(28,27,25,.72))}
.ctaimg__in{position:relative; z-index:2}
.ctaimg .eyebrow{color:var(--sand); display:block; margin-bottom:14px}
.ctaimg h2{color:#fff; font-size:33px; margin-bottom:12px}
.ctaimg h2 .u{color:var(--sand)}
.ctaimg p{max-width:56ch; margin:0 auto 26px; color:rgba(255,255,255,.78)}
.ctaimg__actions{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
@media(max-width:600px){.ctaimg{padding:56px 0} .ctaimg h2{font-size:25px}}

/* ---------- detail pages ---------- */
.detail{display:grid; grid-template-columns:1.05fr .95fr; gap:40px; align-items:start}
@media(max-width:900px){.detail{grid-template-columns:1fr; gap:28px}}

.gal__main{position:relative; aspect-ratio:4/3; border-radius:16px; overflow:hidden;
  box-shadow:var(--sh-2); background:var(--stone); cursor:zoom-in}
.gal__main img{width:100%; height:100%; object-fit:cover; transition:opacity .35s var(--ease)}
.gal__main.fade img{opacity:0}
.gal__thumbs{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}
.gal__thumbs button{width:88px; height:66px; border-radius:9px; overflow:hidden; padding:0;
  border:2px solid transparent; background:none; cursor:pointer; transition:.22s var(--ease)}
.gal__thumbs button img{width:100%; height:100%; object-fit:cover}
.gal__thumbs button:hover{transform:translateY(-3px)}
.gal__thumbs button.on{border-color:var(--sand)}

.dinfo .dtag{display:inline-block; font-family:"IBM Plex Mono",monospace; font-size:10.5px;
  letter-spacing:.12em; text-transform:uppercase; color:var(--sand-dark);
  background:var(--sand-soft); padding:4px 11px; border-radius:999px; margin-bottom:14px}
.dinfo h1{font-size:31px; margin-bottom:8px}
.dinfo .dsub{color:var(--muted); margin:0 0 20px}
.dprice{display:flex; align-items:baseline; gap:12px; flex-wrap:wrap;
  padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-bottom:20px}
.dprice .now{font-family:"IBM Plex Mono",monospace; font-size:30px; font-weight:600; color:var(--ink)}
.dprice .cur{font-family:"IBM Plex Mono",monospace; font-size:13px; color:var(--muted)}
.dprice .was{font-family:"IBM Plex Mono",monospace; font-size:16px; color:var(--silver); text-decoration:line-through}
.dprice .off{background:var(--clay); color:#fff; font-family:"IBM Plex Mono",monospace;
  font-size:12px; font-weight:600; padding:4px 11px; border-radius:999px}
.dinfo .dbody{color:var(--slate); margin:0 0 8px}
.dspecs{list-style:none; margin:20px 0 0; padding:18px 0 0; display:grid; gap:11px}
.dspecs li{display:flex; gap:12px; font-size:14px}
.dspecs .k{color:var(--muted); min-width:96px}
.dspecs .v{color:var(--charcoal); font-weight:500}
.dactions{display:flex; gap:12px; flex-wrap:wrap; margin-top:24px}
.border-top{ border-top:1px dashed var(--line);}

.related{border-top:1px solid var(--line); margin-top:8px}

/* lightbox */
.lb{position:fixed; inset:0; z-index:200; background:rgba(20,19,17,.93); display:none;
  align-items:center; justify-content:center; padding:4vw; opacity:0; transition:opacity .3s}
.lb.open{display:flex; opacity:1}
.lb img{max-width:100%; max-height:88vh; object-fit:contain; border-radius:10px}
.lb__x{position:absolute; top:18px; inset-inline-end:20px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.1); color:#fff; border:0; font-size:24px; cursor:pointer; transition:.2s}
.lb__x:hover{background:var(--sand); color:var(--ink)}
.lb__nav{position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%;
  background:rgba(255,255,255,.1); color:#fff; border:0; font-size:26px; cursor:pointer; transition:.2s}
.lb__nav:hover{background:var(--sand); color:var(--ink)}
.lb__prev{inset-inline-end:16px} .lb__next{inset-inline-start:16px}

/* reduced motion */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important; transition:none!important}
  [data-rv]{opacity:1; transform:none}
}

/* ---------- رسائل التحقق في النموذج ---------- */
.err{display:none; color:var(--clay); font-size:12.5px; margin-top:6px}
.field.bad .err{display:block}
.field.bad .input,.field.bad .textarea{border-color:var(--clay); background:#fdf6f3}
.alert.bad{background:rgba(176,122,95,.13); border-color:rgba(176,122,95,.45); color:#8c5540}





/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion:reduce){
  .ctaimg__bg img{ animation:none; }
}
