:root {
  --ink: #071a17;
  --ink-soft: #122c27;
  --green: #0f9f69;
  --green-dark: #08704d;
  --lime: #80d9a7;
  --orange: #f3b240;
  --blue: #345c97;
  --paper: #f6f8f4;
  --white: #ffffff;
  --muted: #64736e;
  --line: rgba(7, 26, 23, 0.12);
  --shadow: 0 28px 80px rgba(2, 28, 21, 0.14);
  --radius: 26px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 9999; inset-inline-start: 16px; top: -80px;
  padding: 10px 16px; background: var(--orange); color: var(--ink); border-radius: 0 0 10px 10px;
}
.skip-link:focus { top: 0; }

.site-header {
  position: fixed; z-index: 1000; inset: 0 0 auto;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 26, 23, 0.9);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; }
.brand img { width: 88px; height: 78px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.16)); }
.primary-nav { display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.88); font-size: 15px; font-weight: 600; }
.primary-nav > a { position: relative; }
.primary-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; height: 2px; inset: auto 0 -8px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .25s ease;
}
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-cta { padding: 11px 20px; background: var(--orange); color: var(--ink); border-radius: 999px; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; background: #fff; margin: 5px 0; transition: .25s ease; }

.hero {
  position: relative; min-height: 100svh; overflow: hidden; color: #fff;
  background: linear-gradient(130deg, #041814 0%, #08251f 55%, #0b3228 100%);
  display: flex; align-items: center; padding: 138px 0 80px;
}
.hero::after {
  content: ""; position: absolute; inset: auto -15vw -36vw auto; width: 70vw; aspect-ratio: 1;
  border: 1px solid rgba(128,217,167,.16); border-radius: 50%; box-shadow: 0 0 0 90px rgba(128,217,167,.035), 0 0 0 180px rgba(128,217,167,.025);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(90px); opacity: .25; }
.hero-glow-one { width: 300px; height: 300px; background: var(--green); top: 8%; right: 10%; }
.hero-glow-two { width: 240px; height: 240px; background: var(--orange); bottom: 8%; left: 4%; opacity: .11; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--green); font: 700 14px/1.4 "Alexandria", sans-serif; letter-spacing: .08em; }
.hero .eyebrow { color: var(--lime); }
.eyebrow span { display: inline-block; width: 34px; height: 2px; margin-inline-end: 10px; background: var(--orange); vertical-align: middle; }
.hero h1, .section h2, .statement h2, .simple-page h1 {
  margin: 0; font-family: "Alexandria", sans-serif; font-weight: 700; line-height: 1.16; letter-spacing: -.045em;
}
.hero h1 { max-width: 680px; font-size: clamp(48px, 6.2vw, 88px); }
.hero h1 em, .statement h2 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 610px; margin: 26px 0 0; color: rgba(255,255,255,.72); font-size: clamp(18px, 1.8vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px;
  font-family: "Alexandria", sans-serif; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--ink); }
.button-primary:hover { background: #ffc864; }
.button-ghost { border-color: rgba(255,255,255,.24); color: #fff; background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.hero-stats { display: flex; gap: 34px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); }
.hero-stats div { display: grid; gap: 1px; }
.hero-stats strong { color: #fff; font: 700 24px/1.2 "Alexandria", sans-serif; }
.hero-stats span { color: rgba(255,255,255,.54); font-size: 13px; }
.hero-visual { position: relative; min-height: 590px; }
.visual-frame { height: 590px; overflow: hidden; border-radius: 240px 240px 28px 28px; border: 1px solid rgba(255,255,255,.17); box-shadow: 0 45px 80px rgba(0,0,0,.3); }
.crop-left { position: relative; }
.crop-left img {
  position: absolute; inset-block: 0; left: 0; right: auto;
  width: 205%; max-width: none; height: 100%; object-fit: cover; object-position: left center;
}
.visual-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3,20,16,.55)); pointer-events: none; }
.hero-badge {
  position: absolute; z-index: 2; left: -28px; bottom: 44px; width: 166px; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: var(--ink); background: var(--orange); border-radius: 50%; box-shadow: 0 20px 45px rgba(0,0,0,.25); transform: rotate(-7deg);
}
.hero-badge span { font-size: 13px; }
.hero-badge strong { font: 800 18px/1.4 "Alexandria", sans-serif; }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; right: 50%; transform: translateX(50%); color: rgba(255,255,255,.55); font-size: 12px; }
.scroll-cue span { display: inline-block; width: 7px; height: 7px; margin-inline-end: 8px; border-radius: 50%; background: var(--orange); }

.trust-strip { overflow: hidden; color: #fff; background: var(--green); }
.trust-track { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; white-space: nowrap; font: 600 14px/1.4 "Alexandria", sans-serif; }
.trust-track i { width: 6px; height: 6px; flex: 0 0 auto; background: var(--orange); border-radius: 50%; }

.section { padding: clamp(86px, 10vw, 140px) 0; }
.section h2 { font-size: clamp(40px, 5vw, 68px); }
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(55px, 9vw, 120px); align-items: center; }
.about-visual { position: relative; }
.media-card { height: 620px; overflow: hidden; border-radius: 28px 190px 28px 28px; box-shadow: var(--shadow); }
.media-note { position: absolute; left: -24px; bottom: 38px; padding: 18px 22px; color: #fff; background: var(--ink); border-radius: 18px; font-size: 14px; }
.media-note strong { display: block; color: var(--orange); font: 700 18px/1.5 "Alexandria", sans-serif; }
.about-copy .large-copy { margin: 28px 0 14px; color: var(--ink); font-size: clamp(20px, 2vw, 25px); font-weight: 600; line-height: 1.8; }
.about-copy > p:not(.section-kicker):not(.large-copy) { color: var(--muted); }
.vision-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.vision-cards article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.vision-cards span { color: var(--green); font-size: 12px; font-weight: 700; }
.vision-cards h3 { margin: 8px 0 2px; font: 700 19px/1.4 "Alexandria", sans-serif; }
.vision-cards p { margin: 0; color: var(--muted); font-size: 14px; }

.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.section-heading > p { max-width: 420px; margin: 0 0 8px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .28s ease, box-shadow .28s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 55px rgba(5,48,36,.12); }
.service-image { height: 224px; overflow: hidden; background: #dfe7e3; }
.service-image img { transition: transform .6s ease; }
.service-card:hover .service-image img { transform: scale(1.04); }
.service-body { position: relative; padding: 26px; }
.service-body > span { position: absolute; left: 22px; top: 21px; color: rgba(15,159,105,.36); font: 700 14px/1 "Alexandria", sans-serif; }
.service-body h3 { max-width: 80%; margin: 0 0 10px; font: 700 21px/1.5 "Alexandria", sans-serif; }
.service-body p { margin: 0; color: var(--muted); font-size: 15px; }

.statement { position: relative; overflow: hidden; padding: clamp(95px, 12vw, 170px) 0; color: #fff; background: var(--ink); }
.statement::before { content: "غدق"; position: absolute; inset: -70px auto auto 5%; color: rgba(255,255,255,.025); font: 800 320px/1 "Alexandria", sans-serif; }
.statement-inner { position: relative; text-align: center; }
.statement p { margin: 0 0 12px; color: var(--lime); font-weight: 600; }
.statement h2 { font-size: clamp(50px, 7vw, 92px); }
.statement a { display: inline-flex; gap: 12px; margin-top: 32px; padding-bottom: 5px; border-bottom: 1px solid var(--orange); color: var(--orange); font-weight: 700; }

.projects { background: #fff; }
.projects-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 360px 300px; gap: 18px; }
.project-card { position: relative; overflow: hidden; min-height: 300px; color: #fff; background: var(--ink); border-radius: var(--radius); }
.project-featured { grid-row: 1 / 3; }
.project-wide { grid-column: 2; }
.project-image { position: absolute; inset: 0; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-image.crop-left img { width: 205%; max-width: none; object-position: left center; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04) 25%, rgba(3,20,16,.9) 100%); }
.project-card:hover .project-image img { transform: scale(1.04); }
.project-overlay { position: absolute; z-index: 2; inset: auto 28px 26px; }
.project-overlay span { color: var(--orange); font-size: 13px; font-weight: 700; }
.project-overlay h3 { margin: 4px 0 6px; font: 700 clamp(25px, 3vw, 42px)/1.35 "Alexandria", sans-serif; }
.project-overlay p { max-width: 550px; margin: 0; color: rgba(255,255,255,.73); font-size: 14px; }
.project-card:not(.project-featured) .project-overlay h3 { font-size: clamp(21px, 2vw, 29px); }

.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-grid li { min-height: 250px; padding: 30px; background: #fff; }
.process-grid span { color: var(--green); font: 700 13px/1 "Alexandria", sans-serif; }
.process-grid h3 { margin: 64px 0 8px; font: 700 20px/1.5 "Alexandria", sans-serif; }
.process-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.clients { color: #fff; background: var(--ink-soft); }
.clients .section-kicker { color: var(--lime); }
.clients .section-heading > p { color: rgba(255,255,255,.58); }
.clients-board { overflow: hidden; padding: 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.clients-board img { width: 100%; border-radius: 18px; }

.contact { background: var(--orange); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.contact .section-kicker { color: var(--green-dark); }
.contact-copy > p:not(.section-kicker) { max-width: 500px; font-size: 19px; }
.contact-methods { display: grid; gap: 12px; margin-top: 34px; }
.contact-methods a, .contact-methods > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(7,26,23,.2); }
.contact-methods span { font-size: 13px; }
.contact-methods strong { font-family: "Alexandria", sans-serif; font-size: 16px; }
.contact-form-wrap { padding: clamp(24px, 4vw, 46px); background: #fff; border-radius: var(--radius); box-shadow: 0 28px 70px rgba(81,51,2,.16); }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 13px; padding: 13px 14px; color: var(--ink); background: var(--paper); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15,159,105,.12); }
.contact-form textarea { resize: vertical; }
.contact-form .button { width: 100%; margin-top: 4px; background: var(--ink); color: #fff; }
.form-help { margin: 0; text-align: center; color: var(--muted); font-size: 13px; }
.form-help a { color: var(--green-dark); text-decoration: underline; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.form-notice { margin-bottom: 18px; padding: 13px 15px; border-radius: 12px; font-size: 14px; }
.form-notice.success { color: #075b3e; background: #e4f7ed; }
.form-notice.error { color: #7a2c25; background: #fff0ed; }

.site-footer { padding: 74px 0 28px; color: rgba(255,255,255,.67); background: #03100d; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .9fr 1fr; gap: 45px; }
.footer-brand img { width: 135px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 330px; }
.site-footer h2 { margin: 0 0 15px; color: #fff; font: 700 15px/1.5 "Alexandria", sans-serif; }
.site-footer a { display: block; margin: 5px 0; }
.site-footer a:hover { color: var(--orange); }
.site-footer p { margin: 0; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.whatsapp-fab {
  position: fixed; z-index: 900; left: 22px; bottom: 22px; display: grid; place-items: center;
  min-width: 72px; height: 52px; padding: 0 16px; color: #fff; background: #20b66a; border: 3px solid rgba(255,255,255,.85); border-radius: 999px;
  box-shadow: 0 14px 32px rgba(0,0,0,.22); font-size: 13px; font-weight: 700;
}

.simple-page { min-height: 70vh; padding: 170px 0 100px; background: #fff; }
.simple-page h1 { max-width: 900px; font-size: clamp(42px, 6vw, 72px); }
.prose { max-width: 860px; }
.prose p, .prose li { color: var(--muted); }
.error-page { text-align: center; }
.error-page .container { display: grid; justify-items: center; gap: 18px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media (max-width: 1040px) {
  .primary-nav { gap: 18px; }
  .hero-grid { gap: 44px; }
  .hero-visual, .visual-frame { min-height: 520px; height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .header-inner { min-height: 78px; }
  .brand img { width: 72px; height: 64px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .primary-nav {
    position: fixed; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 6px;
    padding: 90px 30px 40px; color: #fff; background: rgba(3,16,13,.98); transform: translateX(-100%); visibility: hidden; transition: .28s ease;
  }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; }
  .primary-nav > a { padding: 10px 4px; font: 700 23px/1.5 "Alexandria", sans-serif; }
  .primary-nav .nav-cta { margin-top: 14px; padding: 13px 22px; text-align: center; font-size: 16px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; min-height: 500px; }
  .visual-frame { height: 500px; }
  .hero h1 { font-size: clamp(46px, 13vw, 70px); }
  .hero-badge { left: 8px; bottom: 24px; width: 138px; }
  .scroll-cue { display: none; }
  .trust-track { justify-content: flex-start; overflow: hidden; }
  .about-visual { order: 2; }
  .media-card { height: 520px; }
  .media-note { left: 10px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { max-width: 620px; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 400px); }
  .project-featured, .project-wide { grid-row: auto; grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 105px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-stats { gap: 18px; justify-content: space-between; }
  .hero-stats strong { font-size: 20px; }
  .hero-stats span { max-width: 82px; font-size: 11px; }
  .hero-visual, .visual-frame { min-height: 420px; height: 420px; }
  .visual-frame { border-radius: 170px 170px 24px 24px; }
  .vision-cards, .services-grid, .process-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .media-card { height: 430px; border-radius: 24px 120px 24px 24px; }
  .service-image { height: 205px; }
  .process-grid li { min-height: auto; }
  .process-grid h3 { margin-top: 38px; }
  .projects-grid { grid-template-rows: repeat(3, 360px); }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
  .whatsapp-fab { left: 14px; bottom: 14px; height: 46px; min-width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
