:root {
  --navy: #061f49;
  --navy-2: #0b3d61;
  --navy-3: #102f56;
  --orange: #ff8500;
  --orange-2: #ff9d23;
  --ink: #0b2a4b;
  --muted: #607995;
  --paper: #f5f8fc;
  --sand: #fff5e8;
  --line: rgba(11, 42, 75, .13);
  --white: #fff;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow: 0 24px 80px rgba(4, 28, 64, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, system-ui, sans-serif; line-height: 1.55; }
body.is-ar { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-shell { overflow: hidden; }
.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px clamp(20px, 5vw, 72px); color: #fff; }
.brand img { width: 205px; max-width: 44vw; display: block; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); margin-left: auto; }
.main-nav a { color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; transition: color .2s ease; }
.main-nav a:hover { color: var(--orange-2); }
.language-switch { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; background: rgba(255,255,255,.09); padding: 9px 15px; cursor: pointer; font-size: 12px; font-weight: 700; }
.menu-toggle { display: none; border: 0; background: none; color: #fff; font-size: 25px; cursor: pointer; }
.section-dark, .section-navy { color: #fff; background: var(--navy); }
.section-light { background: var(--paper); }
.section-sand { background: var(--sand); }
.hero { min-height: 780px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(450px, 1.05fr); align-items: center; gap: 36px; padding: 152px clamp(22px, 7vw, 110px) 86px; position: relative; isolation: isolate; }
.hero-backdrop { position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 72% 40%, rgba(41, 102, 134, .55), transparent 32%), linear-gradient(110deg, rgba(6,31,73,.99) 15%, rgba(6,31,73,.9) 54%, rgba(6,31,73,.65)), url("assets/mosquee-hassan-ii.png") center/cover; opacity: .92; }
.hero:after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 100px; background: linear-gradient(transparent, rgba(6,31,73,.8)); }
.hero-copy { max-width: 680px; position: relative; z-index: 2; }
.eyebrow { color: var(--orange-2); letter-spacing: .16em; font-size: 11px; font-weight: 800; margin: 0 0 16px; }
.eyebrow-dark { color: #e77700; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(46px, 6vw, 88px); line-height: .98; letter-spacing: -.065em; margin-bottom: 28px; max-width: 710px; }
h2 { font-size: clamp(32px, 4.1vw, 58px); line-height: 1.03; letter-spacing: -.055em; margin-bottom: 18px; }
h3 { font-size: 23px; line-height: 1.12; letter-spacing: -.03em; }
.hero-lede { color: rgba(255,255,255,.78); font-size: clamp(16px, 1.5vw, 20px); max-width: 590px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 999px; padding: 15px 22px; font-size: 13px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-orange { background: var(--orange); color: #fff; box-shadow: 0 12px 30px rgba(255,133,0,.25); }
.button-orange:hover { background: #ff9b1b; }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.hero-proof { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 44px; color: rgba(255,255,255,.7); font-size: 11px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof i { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: rgba(255,133,0,.2); color: var(--orange-2); font-style: normal; }
.hero-proof b { font-weight: 600; }
.hero-visual { min-height: 550px; position: relative; display: flex; justify-content: center; align-items: center; }
.hero-mosque-glow { width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(47,148,184,.42), rgba(47,148,184,0) 68%); position: absolute; right: 10%; top: 12%; }
.hero-client-phone, .hero-artisan-phone { width: min(310px, 35vw); position: absolute; border-radius: 33px; box-shadow: 0 30px 70px rgba(0,0,0,.42); border: 6px solid #f7faff; transition: transform .35s ease; }
.hero-client-phone { right: 20%; top: 3%; transform: rotate(6deg); z-index: 2; }
.hero-artisan-phone { left: 14%; bottom: 0; transform: rotate(-6deg); z-index: 1; }
.hero-client-phone:hover { transform: rotate(2deg) translateY(-8px); }
.hero-artisan-phone:hover { transform: rotate(-2deg) translateY(-8px); }
.hero-badge { position: absolute; z-index: 4; right: 6%; bottom: 4%; display: flex; align-items: center; gap: 10px; color: var(--ink); background: #fff; border-radius: 999px; padding: 13px 17px; box-shadow: var(--shadow); font-size: 11px; font-weight: 800; max-width: 250px; }
.badge-dot { width: 9px; height: 9px; background: var(--orange); border-radius: 50%; flex: 0 0 auto; }
.intro, .how, .faq, .legal { padding: 124px clamp(22px, 7vw, 110px); }
.section-heading { max-width: 720px; }
.section-heading.centered { margin: 0 auto 54px; text-align: center; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 16px; max-width: 660px; }
.centered p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1140px; margin: 0 auto; }
.role-card { min-height: 330px; padding: 32px; border-radius: var(--radius-xl); position: relative; overflow: hidden; color: #fff; box-shadow: var(--shadow); }
.role-card:after { content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%; right: -80px; bottom: -100px; background: rgba(255,255,255,.11); }
.role-client { background: linear-gradient(145deg, #0b3158, #0a5570); }
.role-artisan { background: linear-gradient(145deg, #061f49, #0d3c63); }
.role-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 65px; }
.role-number { font-size: 13px; font-weight: 800; color: var(--orange-2); }
.role-pill { color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.role-card p { color: rgba(255,255,255,.76); max-width: 460px; }
.text-link { display: inline-flex; gap: 10px; color: var(--orange-2); font-size: 13px; font-weight: 800; margin-top: 18px; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.experiences { padding: 114px clamp(22px, 7vw, 110px); background: linear-gradient(135deg, #061f49, #0b4564); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; max-width: 1180px; margin: 0 auto 42px; }
.split-heading > p { max-width: 385px; color: rgba(255,255,255,.68); margin-bottom: 8px; }
.experience-tabs { display: flex; gap: 8px; padding: 5px; width: fit-content; margin: 0 auto 48px; background: rgba(255,255,255,.09); border-radius: 999px; }
.experience-tab { border: 0; color: rgba(255,255,255,.7); background: transparent; padding: 12px 19px; border-radius: 999px; font-weight: 800; font-size: 12px; cursor: pointer; }
.experience-tab.is-active { background: var(--orange); color: #fff; }
.experience-panel { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.experience-panel[hidden] { display: none; }
.panel-copy h3 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 20px; }
.panel-copy p { color: rgba(255,255,255,.7); max-width: 490px; }
.panel-kicker { display: inline-block; color: var(--orange-2); font-size: 11px; letter-spacing: .17em; font-weight: 800; margin-bottom: 18px; }
.feature-list { margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.9); font-size: 13px; }
.feature-list li { padding: 11px 0 11px 28px; position: relative; border-top: 1px solid rgba(255,255,255,.13); }
.feature-list li:before { content: "✓"; position: absolute; left: 0; color: var(--orange-2); font-weight: 800; }
.device-stage { min-height: 680px; display: grid; place-items: center; position: relative; }
.device-stage:before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(67,177,204,.32), transparent 67%); }
.device-stage img { position: relative; z-index: 1; width: min(365px, 80%); max-height: 700px; object-fit: contain; border-radius: 37px; border: 7px solid #fff; box-shadow: 0 28px 80px rgba(0,0,0,.38); }
.device-shadow { position: absolute; bottom: 8%; width: 280px; height: 30px; background: rgba(0,0,0,.25); border-radius: 50%; filter: blur(15px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1150px; margin: 0 auto; border-top: 1px solid var(--line); }
.step { padding: 30px 32px 20px 0; border-right: 1px solid var(--line); margin-right: 32px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step > span { color: var(--orange); font-size: 13px; font-weight: 800; }
.step h3 { margin-top: 55px; font-size: 21px; }
.step p { color: var(--muted); font-size: 14px; max-width: 280px; }
.services { padding: 110px clamp(22px, 7vw, 110px); }
.dark-text > p { color: var(--muted); }
.service-list { max-width: 1150px; margin: 45px auto 0; border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-item span { color: var(--orange); font-weight: 800; font-size: 12px; }
.service-item strong { font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; }
.service-item em { font-style: normal; color: var(--muted); font-size: 13px; }
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-list details { border-top: 1px solid var(--line); padding: 23px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; padding-right: 30px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; position: absolute; right: 0; color: var(--orange); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary:after { content: "−"; }
.faq-list details p { color: var(--muted); max-width: 650px; font-size: 14px; padding-top: 14px; margin-bottom: 0; }
.contact { padding: 36px clamp(22px, 7vw, 110px) 78px; }
.contact-card { max-width: 1180px; margin: 0 auto; padding: 56px 62px; border-radius: var(--radius-xl); background: linear-gradient(115deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.14); display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.contact-card h2 { max-width: 720px; }
.contact-card p:not(.eyebrow) { color: rgba(255,255,255,.7); margin-bottom: 0; }
.legal { padding-top: 86px; }
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1150px; margin: 40px auto 0; }
.legal-grid article { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: rgba(255,255,255,.62); }
.legal-grid h3 { font-size: 17px; }
.legal-grid p { color: var(--muted); font-size: 13px; }
.site-footer { background: #041735; color: rgba(255,255,255,.65); padding: 30px clamp(22px, 7vw, 110px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; }
.site-footer .brand img { width: 160px; }
.back-top { color: var(--orange-2); font-weight: 800; }
[hidden] { display: none !important; }
body.demo-open { overflow: hidden; }
.demo-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; }
.demo-backdrop { position: absolute; inset: 0; background: rgba(1, 12, 31, .82); backdrop-filter: blur(8px); }
.demo-dialog { position: relative; width: min(920px, 100%); max-height: min(720px, 94vh); overflow: auto; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 38px; padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: 30px; background: linear-gradient(135deg, #061f49, #0b4564); box-shadow: 0 32px 100px rgba(0,0,0,.48); }
.demo-close { position: absolute; z-index: 2; top: 14px; right: 16px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 25px; line-height: 1; cursor: pointer; }
.demo-heading { padding: 18px 6px 18px 8px; }
.demo-heading h2 { max-width: 430px; font-size: clamp(30px, 4vw, 52px); }
.demo-heading > p:last-child { max-width: 410px; color: rgba(255,255,255,.72); }
.demo-player { position: relative; width: min(100%, 360px); margin: 0 auto; overflow: hidden; border: 6px solid #f7faff; border-radius: 28px; background: #061f49; box-shadow: 0 22px 60px rgba(0,0,0,.36); }
.demo-player video, .demo-player video img { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #061f49; }
.demo-caption { position: absolute; left: 12px; right: 12px; bottom: 42px; padding: 10px 13px; border-radius: 12px; color: #fff; background: rgba(6,31,73,.88); font-size: 12px; font-weight: 800; text-align: center; }
.demo-note { grid-column: 1 / -1; color: rgba(255,255,255,.7); font-size: 12px; text-align: center; }
html[dir="rtl"] .demo-heading { text-align: right; padding-left: 8px; padding-right: 6px; }
html[dir="rtl"] .demo-close { right: auto; left: 16px; }
html[dir="rtl"] .main-nav, html[dir="rtl"] .hero-proof, html[dir="rtl"] .role-card-top, html[dir="rtl"] .split-heading, html[dir="rtl"] .contact-card, html[dir="rtl"] .site-footer { flex-direction: row-reverse; }
html[dir="rtl"] .hero-copy, html[dir="rtl"] .panel-copy, html[dir="rtl"] .legal { text-align: right; }
html[dir="rtl"] .feature-list li { padding: 11px 28px 11px 0; }
html[dir="rtl"] .feature-list li:before { left: auto; right: 0; }
html[dir="rtl"] .faq-list summary { padding-right: 0; padding-left: 30px; }
html[dir="rtl"] .faq-list summary:after { right: auto; left: 0; }
html[dir="rtl"] .text-link span { transform: rotate(180deg); }
html[dir="rtl"] .hero-client-phone { right: auto; left: 20%; }
html[dir="rtl"] .hero-artisan-phone { left: auto; right: 14%; }
html[dir="rtl"] .hero-badge { right: auto; left: 6%; }
@media (max-width: 980px) {
  .main-nav { gap: 13px; }
  .main-nav a { font-size: 11px; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero-copy { max-width: 750px; }
  .hero-visual { min-height: 600px; max-width: 680px; width: 100%; margin: 0 auto; }
  .hero-client-phone { right: 22%; }
  .hero-artisan-phone { left: 18%; }
  .experience-panel { gap: 35px; }
}
@media (max-width: 720px) {
  .site-header { height: 75px; }
  .brand img { width: 156px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 68px; left: 18px; right: 18px; padding: 16px; border-radius: 18px; background: rgba(4,23,53,.97); flex-direction: column; align-items: stretch; gap: 0; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 10px; font-size: 13px; }
  .language-switch { margin-left: auto; }
  .hero { min-height: 920px; padding-top: 118px; }
  h1 { font-size: clamp(43px, 13vw, 68px); }
  .hero-visual { min-height: 510px; margin-top: 16px; }
  .hero-client-phone, .hero-artisan-phone { width: min(245px, 52vw); }
  .hero-client-phone { right: 4%; top: 7%; }
  .hero-artisan-phone { left: 1%; bottom: 2%; }
  .hero-badge { right: 2%; bottom: -2%; font-size: 10px; }
  .role-grid, .steps-grid, .legal-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 290px; }
  .role-card-top { margin-bottom: 48px; }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 20px; }
  .experience-panel { grid-template-columns: 1fr; gap: 25px; }
  .device-stage { min-height: 580px; order: -1; }
  .device-stage img { width: min(320px, 82%); }
  .steps-grid { border-top: 0; }
  .step { border-right: 0; border-top: 1px solid var(--line); margin-right: 0; padding-right: 0; padding-top: 27px; }
  .step h3 { margin-top: 28px; }
  .service-item { grid-template-columns: 48px 1fr; }
  .service-item em { display: none; }
  .contact-card { display: block; padding: 35px 26px; }
  .contact-card .button { margin-top: 24px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  html[dir="rtl"] .site-footer { flex-direction: column; }
  .demo-dialog { display: block; padding: 42px 18px 24px; max-height: 92vh; }
  .demo-heading { padding: 0 12px 22px; text-align: center; }
  .demo-heading h2, .demo-heading > p:last-child { margin-left: auto; margin-right: auto; }
  html[dir="rtl"] .demo-heading { padding: 0 12px 22px; text-align: center; }
  .demo-note { margin-top: 18px; }
}
