/* بنيان — مقاولات وتشطيبات */
:root{
  --ink:#15181a; --ink-2:#2b3136; --muted:#6d6a63; --bg:#f7f5f0;
  --brand:#1f2a30; --brand-2:#2c3a41; --accent:#c07329; --accent-2:#e8e0d2;
  --line:#e2ddd3; --max:1120px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"Segoe UI",Tahoma,"Noto Kufi Arabic","Helvetica Neue",Arial,sans-serif;
  line-height:1.7;font-size:16px;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{line-height:1.4;margin:0 0 .55rem;letter-spacing:-.2px}
h1{font-size:clamp(1.75rem,6vw,2.9rem);font-weight:800}
h2{font-size:clamp(1.3rem,4vw,1.85rem);font-weight:800}
h3{font-size:1.05rem;font-weight:700}
p{margin:0 0 .9rem}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding:0 1.1rem}
.muted{color:var(--muted)}
.eyebrow{color:var(--accent);font-weight:800;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase}
section{padding:2.6rem 0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border-radius:10px;padding:.8rem 1.25rem;font-weight:700;font-size:.95rem;border:1px solid transparent;cursor:pointer}
.btn-brand{background:var(--accent);color:#fff}
.btn-brand:hover{background:#a95f1c}
.btn-ghost{border-color:rgba(255,255,255,.55);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-dark{background:var(--brand);color:#fff}
.btn-dark:hover{background:var(--brand-2)}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(247,245,240,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(6px)}
.header-in{display:flex;align-items:center;gap:.7rem;padding:.6rem 0}
.brand{display:flex;align-items:center;gap:.55rem;font-weight:800;font-size:1.12rem}
.brand-mark{width:38px;height:38px;border-radius:10px;background:var(--brand);display:grid;place-items:center;flex:0 0 auto}
.brand small{display:block;font-size:.68rem;font-weight:600;color:var(--muted);letter-spacing:0;line-height:1.2}
.nav{display:none;gap:1.3rem;font-size:.94rem;margin-inline-start:auto}
.nav a{padding:.3rem 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current="page"]{border-color:var(--accent)}
.header-cta{margin-inline-start:auto;display:inline-flex;align-items:center;background:var(--brand);color:#fff;padding:.55rem 1rem;border-radius:999px;font-size:.86rem;font-weight:700;white-space:nowrap}
.mobile-nav{display:flex;gap:.4rem;overflow-x:auto;padding:.5rem 1.1rem .6rem;border-top:1px solid var(--line);scrollbar-width:none}
.mobile-nav::-webkit-scrollbar{display:none}
.mobile-nav a{font-size:.82rem;background:#fff;border:1px solid var(--line);border-radius:999px;padding:.3rem .8rem;white-space:nowrap}
.mobile-nav a[aria-current="page"]{background:var(--brand);color:#fff;border-color:var(--brand)}
@media(min-width:880px){
  .nav{display:flex}
  .mobile-nav{display:none}
  .header-cta{margin-inline-start:1rem}
}

/* hero */
.hero{position:relative;color:#fff;isolation:isolate;padding:0}
.hero img{width:100%;height:min(78vh,600px);object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,16,18,.62),rgba(12,16,18,.34) 42%,rgba(12,16,18,.82));z-index:0}
.hero-in{position:absolute;inset:auto 0 0 0;z-index:1;padding-bottom:2.2rem;padding-top:2rem}
.hero .eyebrow{color:#f0c48a}
.hero h1{max-width:20ch;margin-bottom:.7rem}
.hero p{max-width:52ch;color:#eceae6;font-size:1rem;margin-bottom:1.2rem}
.hero-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.badge-sample{position:absolute;z-index:2;top:1rem;inset-inline-start:1.1rem;background:rgba(192,115,41,.92);color:#fff;font-size:.72rem;font-weight:700;padding:.25rem .7rem;border-radius:999px;letter-spacing:.02em}

/* stats */
.stats{background:var(--brand);color:#fff;padding:1.4rem 0}
.stats-in{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.stat b{display:block;font-size:1.5rem;color:#f0c48a;line-height:1.2}
.stat span{font-size:.82rem;color:#d7d3cb}
@media(min-width:760px){.stats-in{grid-template-columns:repeat(4,1fr)}}

/* section head */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.3rem}
.section-head p{margin:0;color:var(--muted);font-size:.95rem}
@media(max-width:639px){.section-head{flex-direction:column;align-items:stretch;gap:.55rem}}

/* services */
.svc-grid{display:grid;gap:.9rem;grid-template-columns:1fr}
@media(min-width:700px){.svc-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.svc-grid{grid-template-columns:repeat(3,1fr)}}
.svc{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.1rem 1.2rem}
.svc .num{font-size:.8rem;font-weight:800;color:var(--accent);letter-spacing:.1em}
.svc h3{margin:.35rem 0 .4rem}
.svc p{font-size:.92rem;color:var(--muted);margin:0}

/* project cards */
.grid{display:grid;gap:1.1rem;grid-template-columns:1fr}
@media(min-width:640px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:980px){.grid{grid-template-columns:repeat(3,1fr)}}
.card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.card-media{position:relative;aspect-ratio:4/3;background:#e9e5dc}
.card-media img{width:100%;height:100%;object-fit:cover}
.card-media .tag{position:absolute;top:.7rem;inset-inline-end:.7rem;background:rgba(31,42,48,.9);color:#fff;font-size:.72rem;padding:.22rem .6rem;border-radius:999px}
.card-body{padding:.9rem 1rem 1rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.card-body h3{margin:0;font-size:1.02rem}
.meta{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.78rem;color:var(--muted)}
.meta span{background:#f2efe8;border-radius:999px;padding:.16rem .55rem}
.card-link{margin-top:auto;color:var(--accent);font-weight:700;font-size:.9rem;padding-top:.5rem}

/* chips */
.chips{display:flex;gap:.45rem;overflow-x:auto;padding-bottom:.35rem;margin-bottom:1.1rem;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:.35rem .9rem;font-size:.85rem;font-family:inherit;color:var(--ink);cursor:pointer;white-space:nowrap}
.chip[aria-pressed="true"]{background:var(--brand);color:#fff;border-color:var(--brand)}

/* about */
.about{display:grid;gap:1.4rem}
@media(min-width:860px){.about{grid-template-columns:1.05fr .95fr;align-items:center}}
.about img{border-radius:14px;width:100%;aspect-ratio:4/3;object-fit:cover}
.checks{list-style:none;padding:0;margin:.6rem 0 0;display:grid;gap:.45rem}
.checks li{position:relative;padding-inline-start:1.6rem;font-size:.94rem}
.checks li::before{content:"";position:absolute;inset-inline-start:0;top:.55rem;width:.9rem;height:.9rem;border-radius:3px;background:var(--accent);opacity:.85}

/* cta */
.cta{background:var(--brand);color:#fff}
.cta-in{display:flex;flex-direction:column;gap:1rem;align-items:flex-start}
@media(min-width:760px){.cta-in{flex-direction:row;align-items:center;justify-content:space-between}}
.cta h2{margin:0 0 .3rem}
.cta p{margin:0;color:#d7d3cb;font-size:.95rem}

/* detail */
.crumbs{font-size:.82rem;color:var(--muted);margin:.9rem 0 1rem}
.detail-top{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:flex-start}
.detail-top h1{font-size:clamp(1.35rem,4.5vw,2rem);margin:0}
.loc{color:var(--muted);font-size:.9rem}
.gallery{display:grid;gap:.5rem;margin:1rem 0 1.4rem}
.gallery-main{border-radius:14px;overflow:hidden;background:#e9e5dc;aspect-ratio:4/3}
.gallery-main img{width:100%;height:100%;object-fit:cover}
.thumbs{display:flex;gap:.45rem;overflow-x:auto;scrollbar-width:none}
.thumbs::-webkit-scrollbar{display:none}
.thumbs button{padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:none;cursor:pointer;flex:0 0 auto;width:74px;height:56px}
.thumbs button img{width:100%;height:100%;object-fit:cover}
.thumbs button[aria-pressed="true"]{border-color:var(--accent)}
.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.1rem;margin-bottom:1rem}
.panel h2{font-size:1.08rem;margin-bottom:.6rem}
.specs{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem;margin-bottom:1rem}
.spec-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:.7rem;text-align:center}
.spec-box b{display:block;font-size:1rem}
.spec-box span{font-size:.75rem;color:var(--muted)}
@media(min-width:700px){.specs{grid-template-columns:repeat(4,1fr)}}
.field{display:block;margin-bottom:.75rem}
.field span{display:block;font-size:.82rem;color:var(--muted);margin-bottom:.25rem}
.field input,.field textarea,.field select{
  width:100%;padding:.65rem .75rem;border:1px solid var(--line);border-radius:9px;
  font-family:inherit;font-size:.95rem;background:#fdfcfa;color:var(--ink)
}
.field textarea{min-height:84px;resize:vertical}
.hint{font-size:.8rem;color:var(--muted);margin:.6rem 0 0}

/* footer */
.footer{background:#11161a;color:#cfcac2;padding:2.2rem 0 1.6rem;font-size:.9rem}
.footer h4{margin:0 0 .5rem;color:#fff;font-size:.95rem}
.footer a:hover{color:#f0c48a}
.footer-grid{display:grid;gap:1.4rem}
@media(min-width:760px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr}}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:.3rem}
.sample-note{border-top:1px solid #262d33;margin-top:1.6rem;padding-top:1rem;font-size:.78rem;color:#8f8a82}
.sample-note .badge-sample{position:static;display:inline-block;margin-bottom:.5rem}
