@import url(../_shared/fonts.css);
:root {
  --basalt: #14231E; --basalt-2: #1E332C; --copper: #B5653A; --copper-2: #D07C4C; --sand: #D8C3A0; --paper: #F4EFE6; --stone: #8C8577; --line: #E2DACB; --white: #FBF9F4;
  --f-display: 'Noto Kufi Arabic', sans-serif; --f-body: 'IBM Plex Sans Arabic', sans-serif; --max: 1320px;
}
html[lang=fr] { --f-display: 'Space Grotesk', sans-serif; --f-body: 'Inter', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--basalt); font: 400 16.5px/1.75 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.ic { display: inline-flex; flex: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; line-height: 1.25; letter-spacing: -.005em; }
html[lang=fr] h1, html[lang=fr] h2 { letter-spacing: -.03em; }
.num { font-family: 'Space Grotesk', 'Inter', sans-serif; direction: ltr; unicode-bidi: isolate; font-feature-settings: 'tnum'; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--f-body); letter-spacing: .06em; color: var(--copper); text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; }
.mk { display: block; flex: none; } .mk svg { width: 100%; height: 100%; display: block; }

/* header */
header.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: var(--white); }
header.nav.solid { background: rgba(244,239,230,.92); backdrop-filter: blur(14px) saturate(1.3); color: var(--basalt); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; height: 84px; gap: 36px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mk { width: 40px; height: 40px; color: currentColor; }
.logo b { font: 800 26px/1 'Noto Kufi Arabic', sans-serif; }
.logo small { display: block; font: 600 9.5px/1 'Space Grotesk', sans-serif; letter-spacing: .3em; opacity: .7; margin-top: 5px; direction: ltr; text-transform: uppercase; }
.links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.links a { opacity: .85; position: relative; padding: 6px 0; }
.links a::after { content: ''; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--copper); transform: scaleX(0); transition: transform .25s; }
.links a:hover { opacity: 1; } .links a:hover::after { transform: scaleX(1); }
.nav-r { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }
.lang { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font: 700 14px 'Space Grotesk', 'Noto Kufi Arabic', sans-serif; opacity: .85; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 4px; font-weight: 600; font-size: 15.5px; transition: .2s; white-space: nowrap; }
.btn-c { background: var(--copper); color: var(--white); } .btn-c:hover { background: #9e5530; }
.btn-l { border: 1px solid currentColor; } .btn-l:hover { background: rgba(255,255,255,.08); }
.btn-d { background: var(--basalt); color: var(--white); } .btn-d:hover { background: #0c1612; }
.btn .ic { transition: transform .2s; } .btn:hover .ic { transform: translateX(-3px); }
html[lang=fr] .btn:hover .ic { transform: translateX(3px); }
.burger { display: none; }

/* hero */
.hero { position: relative; min-height: 100vh; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero .bg { position: absolute; inset: 0; background: url(../_shared/photos/glass-building.webp) center 30% / cover; z-index: -2; transform: scale(1.06); animation: kb 18s ease-out forwards; }
@keyframes kb { to { transform: scale(1); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,35,30,.55) 0%, rgba(20,35,30,.25) 30%, rgba(20,35,30,.92) 82%); }
.hero-in { padding: 200px 0 0; }
.hero h1 { font-size: clamp(46px, 7.4vw, 112px); font-weight: 800; line-height: 1.08; max-width: 1050px; }
html[lang=fr] .hero h1 { font-weight: 600; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--sand); }
.hero .lead { font-size: 19px; line-height: 1.85; max-width: 620px; opacity: .85; margin: 28px 0 38px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid rgba(251,249,244,.18); }
.stats div { padding: 30px 0 38px; border-inline-start: 1px solid rgba(251,249,244,.18); padding-inline-start: 26px; }
.stats div:first-child { border: 0; padding-inline-start: 0; }
.stats b { font: 600 52px/1 'Space Grotesk', sans-serif; display: block; direction: ltr; text-align: start; }
html[dir=rtl] .stats b { text-align: right; }
.stats span { opacity: .7; font-size: 14.5px; }

.marquee { background: var(--basalt); color: var(--sand); overflow: hidden; padding: 22px 0; border-top: 1px solid rgba(216,195,160,.15); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: mq 40s linear infinite; font: 600 19px var(--f-display); white-space: nowrap; }
html[dir=rtl] .marquee .track { animation-name: mq-r; }
.marquee span { display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ''; width: 9px; height: 9px; background: var(--copper); transform: rotate(45deg); }
@keyframes mq { to { transform: translateX(-50%); } } @keyframes mq-r { to { transform: translateX(50%); } }

section { padding: 130px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 62px); font-weight: 800; }
html[lang=fr] .sec-head h2 { font-weight: 600; }
.sec-head p { font-size: 18px; color: #4a5752; margin: 0; max-width: 560px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.svc { padding: 42px 38px 46px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); position: relative; transition: background .3s, color .3s; overflow: hidden; }
.svc .n { position: absolute; top: 34px; inset-inline-end: 34px; font: 600 14px 'Space Grotesk', sans-serif; color: var(--stone); }
.svc .ico { width: 58px; height: 58px; border-radius: 4px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--copper); margin-bottom: 30px; transition: .3s; }
.svc h3 { font-size: 23px; margin-bottom: 12px; }
.svc p { margin: 0; color: #55605b; font-size: 15.5px; transition: color .3s; }
.svc:hover { background: var(--basalt); color: var(--white); }
.svc:hover p { color: rgba(251,249,244,.72); }
.svc:hover .ico { background: var(--copper); border-color: var(--copper); color: var(--white); }

.projects-sec { background: var(--basalt); color: var(--white); }
.projects-sec .sec-head p { color: rgba(251,249,244,.7); }
.filters { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.filters button { height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(251,249,244,.22); font-size: 14.5px; transition: .2s; }
.filters button.on { background: var(--sand); color: var(--basalt); border-color: var(--sand); }
.pgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.pcard { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3.2; cursor: pointer; grid-column: span 2; isolation: isolate; text-align: start; color: var(--white); }
.pcard.big { grid-column: span 3; aspect-ratio: 16 / 10.5; }
.pcard.wide { grid-column: span 6; aspect-ratio: 21 / 7.5; }
.pcard .ph { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.pcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(12,22,18,.9)); transition: .4s; }
.pcard:hover .ph { transform: scale(1.07); }
.pcard .meta { position: absolute; inset: auto 28px 26px 28px; }
.pcard .cat { font: 600 12px var(--f-body); letter-spacing: .08em; color: var(--sand); text-transform: uppercase; }
.pcard h3 { font-size: 25px; margin: 6px 0 4px; }
.pcard .loc { font-size: 14px; opacity: .75; display: flex; gap: 6px; align-items: center; }
.pcard .go { position: absolute; top: 22px; inset-inline-end: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--copper); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: .3s; }
.pcard:hover .go { transform: none; opacity: 1; }

.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(8,14,12,.7); backdrop-filter: blur(6px); animation: fade .25s; overflow: auto; padding: 40px 20px; }
@keyframes fade { from { opacity: 0; } }
.modal { max-width: 1120px; margin: 0 auto; background: var(--paper); color: var(--basalt); border-radius: 8px; overflow: hidden; animation: rise .4s cubic-bezier(.2,.8,.2,1); }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.modal .cover { height: 480px; background-size: cover; background-position: center; position: relative; }
.modal .close { position: absolute; top: 20px; inset-inline-end: 20px; width: 48px; height: 48px; border-radius: 50%; background: rgba(251,249,244,.92); display: grid; place-items: center; }
.modal-in { padding: 46px 54px 54px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }
.modal h2 { font-size: 42px; font-weight: 800; }
.specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 28px; }
.specs div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs span { display: block; font-size: 13px; color: var(--stone); }
.specs b { font-size: 16.5px; }
.cs h4 { font: 700 13px var(--f-body); letter-spacing: .08em; color: var(--copper); text-transform: uppercase; margin: 0 0 8px; }
.cs p { margin: 0 0 26px; font-size: 16.5px; color: #3c4844; }
.thumbs3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.thumbs3 div { aspect-ratio: 4/3; border-radius: 4px; background-size: cover; background-position: center; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process::before { content: ''; position: absolute; top: 31px; inset-inline: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--sand) 0 8px, transparent 8px 14px); }
.pstep { position: relative; padding-inline-end: 28px; }
.pstep .dot { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); border: 2px solid var(--copper); display: grid; place-items: center; font: 600 20px 'Space Grotesk', sans-serif; color: var(--copper); position: relative; margin-bottom: 28px; transition: .3s; }
.pstep:hover .dot { background: var(--copper); color: var(--white); }
.pstep h3 { font-size: 24px; margin-bottom: 8px; }
.pstep p { margin: 0; color: #55605b; font-size: 15.5px; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about .img { position: relative; aspect-ratio: 4/4.6; border-radius: 6px; background: url(../_shared/photos/architect-plans.webp) center/cover; }
.about .img::after { content: ''; position: absolute; inset: auto -24px -24px auto; width: 46%; height: 40%; border: 2px solid var(--copper); border-radius: 6px; z-index: -1; }
html[dir=rtl] .about .img::after { inset: auto auto -24px -24px; }
.about h2 { font-size: clamp(34px, 3.8vw, 54px); font-weight: 800; margin-bottom: 22px; }
.about p { font-size: 18px; color: #3c4844; }
.commit { display: grid; gap: 14px; margin-top: 34px; }
.commit div { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.commit .ic { color: var(--copper); margin-top: 3px; }
.commit b { display: block; font-size: 17px; }
.commit span { font-size: 14.5px; color: #55605b; }

.quote-sec { background: linear-gradient(180deg, var(--paper) 0 30%, var(--basalt) 30%); padding-top: 0; }
.quote { display: grid; grid-template-columns: 1fr 1.35fr; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(20,35,30,.45); }
.quote .side { background: url(../_shared/photos/construction-team.webp) center/cover; position: relative; color: var(--white); padding: 50px 46px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; min-height: 620px; }
.quote .side::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,35,30,.2), rgba(20,35,30,.94) 70%); z-index: -1; }
.quote .side h2 { font-size: 40px; font-weight: 800; }
.quote .side p { opacity: .8; }
.qform { padding: 46px 50px; }
.stepper { display: flex; gap: 10px; margin-bottom: 34px; }
.stepper div { flex: 1; }
.stepper i { display: block; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 10px; overflow: hidden; }
.stepper i::after { content: ''; display: block; height: 100%; width: 0; background: var(--copper); transition: width .4s; }
.stepper .on i::after { width: 100%; }
.stepper span { font-size: 13px; color: var(--stone); font-weight: 600; }
.stepper .on span { color: var(--basalt); }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.types button { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px solid var(--line); border-radius: 6px; text-align: start; font-weight: 600; transition: .15s; background: var(--paper); }
.types button .ic { width: 44px; height: 44px; border-radius: 4px; background: var(--white); display: grid; place-items: center; color: var(--copper); }
.types button.on { border-color: var(--copper); background: #FBF1EA; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { height: 52px; border: 1.5px solid var(--line); border-radius: 4px; padding: 0 16px; background: var(--paper); transition: .15s; }
.field textarea { height: 110px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--basalt); background: #fff; }
.field.err input, .field.err select { border-color: #C0392B; }
.field .msg { color: #C0392B; font-size: 13px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button { height: 44px; padding: 0 16px; border-radius: 4px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14px; }
.seg button.on { border-color: var(--basalt); background: var(--basalt); color: var(--white); }
.qnav { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.qdone { text-align: center; padding: 50px 10px; }
.qdone .seal { width: 86px; height: 86px; border-radius: 50%; background: var(--basalt); color: var(--sand); display: grid; place-items: center; margin: 0 auto 22px; }
.qdone h3 { font-size: 32px; }
.ref { display: inline-block; margin: 14px 0; padding: 10px 18px; background: var(--paper); border-radius: 4px; font: 600 18px 'Space Grotesk', sans-serif; direction: ltr; }

.contact-sec { background: var(--basalt); color: var(--white); padding-top: 100px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact h2 { font-size: 48px; font-weight: 800; margin-bottom: 30px; }
.cinfo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.cinfo .ic { color: var(--copper); margin-bottom: 10px; }
.cinfo span { display: block; font-size: 13px; opacity: .6; }
.cinfo b { font-weight: 500; font-size: 17px; }
.mapcard { border-radius: 8px; overflow: hidden; position: relative; min-height: 360px; background: #1a2c26; }
.mapcard svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.careers { margin-top: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 46px; border: 1px solid rgba(251,249,244,.15); border-radius: 8px; flex-wrap: wrap; }
.careers h3 { font-size: 32px; }
footer { background: #0D1814; color: rgba(251,249,244,.6); padding: 40px 0; font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .logo { color: var(--white); }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero .bg, .marquee .track { animation: none; } }

@media (max-width: 1000px) {
  .links { display: none; }
  .links.open { display: flex; position: fixed; inset: 84px 0 auto 0; background: var(--paper); color: var(--basalt); flex-direction: column; padding: 20px 32px 30px; gap: 8px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  .burger { display: grid; width: 44px; height: 44px; place-items: center; }
  .nav-r .btn { display: none; }
  .sec-head, .about, .contact, .modal-in, .quote { grid-template-columns: 1fr; gap: 26px; }
  .services { grid-template-columns: 1fr 1fr; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .pcard, .pcard.big, .pcard.wide { grid-column: span 1; aspect-ratio: 4/3.4; }
  .process { grid-template-columns: 1fr; gap: 30px; }
  .process::before { display: none; }
  .quote .side { min-height: 260px; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 50px; }
  .stats div:nth-child(3) { border: 0; padding-inline-start: 0; }
  section { padding: 90px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .services, .pgrid, .types, .grid2, .cinfo { grid-template-columns: 1fr; }
  .stats b { font-size: 38px; }
  .qform { padding: 30px 22px; }
  .modal-in { padding: 30px 24px; }
  .modal .cover { height: 260px; }
  .hero-in { padding-top: 150px; }
}
.capture .rv { opacity: 1; transform: none; transition: none; } .capture .hero .bg { animation: none; transform: none; }
