/* =========================================================
   Apex Vision — bilingual site styles
   Brand: Apex Navy #0A2463 · Royal Blue #0050A0 · Vision Green #4A9A1A
   Uses logical properties so the same CSS works for LTR and RTL.
   ========================================================= */

:root {
  --navy: #0a2463;
  --navy-deep: #071a4a;
  --blue: #0050a0;
  --green: #4a9a1a;
  --lime: #76b82a;
  --forest: #207010;
  --grey: #f2f4f7;
  --ink: #141a2b;
  --muted: #5a6275;
  --line: #d9dee8;
  --line-dark: rgba(255, 255, 255, 0.16);
  --white: #fff;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --display-case: uppercase;
  --display-lh: 0.95;
  --display-weight: 400;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 4px;
  --header-h: 102px;
}

html[lang='ar'] {
  --font-display: 'Cairo', system-ui, sans-serif;
  --font-body: 'Cairo', system-ui, sans-serif;
  --display-case: none;
  --display-lh: 1.2;
  --display-weight: 800;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang='ar'] body { font-size: 17px; line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }
.center { display: flex; justify-content: center; margin-top: 48px; }

.icon { width: 22px; height: 22px; flex: none; }
[dir='rtl'] .icon--dir { transform: scaleX(-1); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
html[lang='ar'] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--lime); }

.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: var(--display-case);
  line-height: var(--display-lh);
  letter-spacing: 0.005em;
  color: var(--navy);
  font-size: clamp(48px, 7.4vw, 104px);
}
.display span { display: block; }
.display--xl { font-size: clamp(52px, 8.6vw, 128px); }
.display--sm { font-size: clamp(40px, 5vw, 72px); color: var(--white); }
html[lang='ar'] .display { font-size: clamp(40px, 6vw, 84px); }
html[lang='ar'] .display--xl { font-size: clamp(44px, 6.8vw, 96px); }
html[lang='ar'] .display--sm { font-size: clamp(34px, 4.2vw, 60px); }

.h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: var(--display-case);
  line-height: 1.02;
  font-size: clamp(34px, 4.4vw, 60px);
  color: var(--navy);
}
html[lang='ar'] .h2 { line-height: 1.3; font-size: clamp(30px, 3.6vw, 48px); }
.h2--light { color: var(--white); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.25; color: var(--navy); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover .icon--dir { transform: translateX(4px); }
[dir='rtl'] .btn:hover .icon--dir { transform: scaleX(-1) translateX(4px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--blue); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--green { background: var(--lime); color: var(--navy-deep); }
.btn--green:hover { background: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; color: var(--navy); border-bottom: 2px solid var(--lime); padding-bottom: 4px; }
.link-arrow .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s, border-color 0.2s;
}
/* Frosted background lives on a pseudo-element: a backdrop-filter on .header itself would
   trap the fixed-position mobile menu inside the header bar. */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: opacity 0.25s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 36, 99, 0.08); }
.header__bar { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 82px; width: auto; transition: filter 0.25s; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__link { position: relative; padding: 10px 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav__link::after { content: ''; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform 0.2s; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy); font-weight: 600; }
.nav__link--mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 14px; }

/* Language switch: two flag pills, current language highlighted */
.lang { display: inline-flex; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); transition: background 0.25s, border-color 0.25s; }
.lang__opt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 5px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
[dir='rtl'] .lang__opt { padding: 5px 5px 5px 12px; }
.lang__opt:hover { background: var(--grey); color: var(--navy); }
.lang__opt.is-active, .lang__opt.is-active:hover { background: var(--navy); color: var(--white); }
.lang__opt[lang='en'] span { font-family: 'Poppins', sans-serif; letter-spacing: 0.04em; }
.lang__opt[lang='ar'] span { font-family: 'Cairo', sans-serif; font-size: 14px; }
.flag { width: 24px; height: 24px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.5px var(--white), 0 1px 3px rgba(7, 26, 74, 0.25); }

.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer; place-items: center; color: var(--navy); }
.burger__close { display: none; }

@media (max-width: 1080px) {
  /* Mobile / tablet header: language (left) · logo (centre) · menu (right) */
  :root { --header-h: 84px; }
  .header__bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; }
  .header__actions { display: contents; }
  .lang { grid-column: 1; grid-row: 1; justify-self: start; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; }
  .brand img { height: 66px; }
  .burger { grid-column: 3; grid-row: 1; justify-self: end; }
  [dir='rtl'] .lang { justify-self: start; }
  .header__cta { display: none; }
  .burger { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 16px var(--gutter) 40px;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link--mobile { display: block; color: var(--green); font-weight: 600; }
  .burger[aria-expanded='true'] .burger__open { display: none; }
  .burger[aria-expanded='true'] .burger__close { display: block; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) {
  :root { --header-h: 80px; }
  .brand img { height: 62px; }
  .lang__opt, [dir='rtl'] .lang__opt { padding: 5px; }
  .lang__opt span { display: none; } /* flags only on small phones */
  .flag { width: 26px; height: 26px; }
}

/* ---------- Hero slider (home) ---------- */
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-slider {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 92svh, 860px);
  margin-top: calc(var(--header-h) * -1); /* slides under the transparent header */
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero-slider__slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding-block: calc(var(--header-h) + 24px) 140px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.slide__bg { position: absolute; inset: 0; z-index: -1; }
.slide__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s ease-out; }
.slide.is-active .slide__bg img { transform: scale(1); }
.slide__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 74, 0.88) 0%, rgba(7, 26, 74, 0.66) 40%, rgba(7, 26, 74, 0.2) 75%, rgba(7, 26, 74, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 26, 74, 0.5) 0%, transparent 28%, transparent 62%, rgba(7, 26, 74, 0.75) 100%);
}
[dir='rtl'] .slide__bg::after {
  background:
    linear-gradient(-90deg, rgba(7, 26, 74, 0.88) 0%, rgba(7, 26, 74, 0.66) 40%, rgba(7, 26, 74, 0.2) 75%, rgba(7, 26, 74, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 26, 74, 0.5) 0%, transparent 28%, transparent 62%, rgba(7, 26, 74, 0.75) 100%);
}
.slide__content { min-width: 0; }
.slide__content > * { max-width: 680px; opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(1) { transition-delay: 0.15s; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: 0.25s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: 0.35s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: 0.45s; }
.slide__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.slide__eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
html[lang='ar'] .slide__eyebrow { letter-spacing: 0; font-size: 15px; }
.slide__title { display: flex; flex-direction: column; font-family: var(--font-body); line-height: 1.04; letter-spacing: -0.035em; text-shadow: 0 2px 24px rgba(7, 26, 74, 0.35); }
.slide__light { font-weight: 300; font-size: clamp(36px, 4.8vw, 70px); }
.slide__bold { font-weight: 700; font-size: clamp(42px, 5.8vw, 86px); letter-spacing: -0.045em; }
html[lang='ar'] .slide__title { letter-spacing: 0; line-height: 1.3; }
html[lang='ar'] .slide__light { font-weight: 400; font-size: clamp(32px, 4.2vw, 60px); }
html[lang='ar'] .slide__bold { font-weight: 800; font-size: clamp(38px, 5vw, 72px); letter-spacing: 0; }
.slide__sub { margin: 20px 0 0; max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, 0.88); }
.slide__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Stage = slides + tabs. The quick quote card sits beside it (desktop) or below it (tablet/phone). */
.hero-slider { min-height: 0; }
.hero-slider__stage { position: relative; min-height: clamp(600px, 92svh, 860px); }

/* Quick quote card — frosted glass */
.qq {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 14px;
  width: 390px;
  max-width: 100%;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 55%, rgba(118, 184, 42, 0.08) 100%),
    rgba(10, 36, 99, 0.42); /* navy tint keeps white text readable over bright photos */
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(3, 12, 40, 0.45);
  pointer-events: auto;
}
/* soft light glows inside the glass */
.qq::before, .qq::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.qq::before { top: -70px; inset-inline-end: -60px; width: 200px; height: 200px; background: rgba(118, 184, 42, 0.35); }
.qq::after { bottom: -90px; inset-inline-start: -70px; width: 220px; height: 220px; background: rgba(0, 80, 160, 0.45); }

.qq__head { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.qq__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, var(--lime), var(--green)); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(118, 184, 42, 0.35); }
.qq__icon .icon { width: 22px; height: 22px; }
.qq__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--white); }
.qq__badge { padding: 3px 10px; border: 1px solid rgba(118, 184, 42, 0.6); border-radius: 100px; background: rgba(118, 184, 42, 0.18); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lime); }
html[lang='ar'] .qq__badge { letter-spacing: 0; font-size: 12px; }
.qq__sub { margin: 4px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.72); }

.qq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qq__field { display: grid; gap: 6px; min-width: 0; }
.qq__field > span { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
html[lang='ar'] .qq__field > span { letter-spacing: 0; font-size: 13px; }
.qq select, .qq input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.qq input::placeholder { color: rgba(255, 255, 255, 0.4); }
.qq select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 12px center;
  cursor: pointer;
}
[dir='rtl'] .qq select { background-position: left 12px center; }
.qq select option { background: var(--white); color: var(--navy); } /* native dropdown list stays readable */
.qq select:hover, .qq input:hover { background-color: rgba(255, 255, 255, 0.12); }
.qq select:focus, .qq input:focus { outline: none; border-color: var(--lime); background-color: rgba(255, 255, 255, 0.14); box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.28); }
.qq__phone { display: flex; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; background: rgba(255, 255, 255, 0.08); transition: border-color 0.2s, box-shadow 0.2s; }
.qq__phone:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.28); }
.qq__phone > span { display: flex; align-items: center; padding: 0 12px; border-inline-end: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); font-weight: 600; font-size: 14px; color: var(--white); }
.qq .qq__phone input { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
[dir='rtl'] .qq .qq__phone input { text-align: left; }
.qq__field.is-invalid select, .qq__field.is-invalid input, .qq__field.is-invalid .qq__phone { border-color: #ff8a8a; }
.qq__error { font-size: 12px; font-weight: 500; color: #ffb3b3; }
.qq__error:empty { display: none; }

.qq__submit {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 15px 18px;
  border: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, #2ee677, #1fb457);
  color: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.qq__submit::after { /* light sweep on hover */
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}
.qq__submit:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.qq__submit:hover::after { left: 120%; }
.qq__submit .icon { width: 20px; height: 20px; }
.qq__status { margin: 0; font-size: 13px; font-weight: 600; color: var(--lime); }
.qq__status:empty { display: none; }
.qq__status a { color: var(--white); text-decoration: underline; }
.qq__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.qq__foot span { display: inline-flex; align-items: center; gap: 6px; }
.qq__foot .icon { width: 15px; height: 15px; color: var(--lime); }
.qq__foot a { font-weight: 700; color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1081px) {
  .hero-slider__widget {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    /* auto margins centre the card when there is room, but never push it up under the header */
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 32px;
    pointer-events: none;
  }
  .hero-slider__widget-inner { display: flex; justify-content: flex-end; margin-block: auto; }
  /* the hero is always tall enough for the header + card */
  .hero-slider--widget .hero-slider__stage { min-height: max(clamp(600px, 92svh, 860px), calc(var(--header-h) + 620px)); }
  /* make room for the card so slide text never runs underneath it */
  .hero-slider--widget .slide__content > * { max-width: min(640px, calc(100% - 440px)); }
  .hero-slider--widget .slide__bold { font-size: clamp(42px, 5vw, 80px); }
}
@media (max-width: 1080px) {
  /* below the slider: navy with soft colour glows so the glass still reads */
  .hero-slider__widget {
    position: relative;
    z-index: 3;
    padding: 28px 0 40px;
    background:
      radial-gradient(60% 50% at 15% 20%, rgba(0, 80, 160, 0.55), transparent 70%),
      radial-gradient(50% 45% at 90% 85%, rgba(118, 184, 42, 0.25), transparent 70%),
      var(--navy-deep);
  }
  .hero-slider__widget-inner { display: flex; justify-content: center; }
  .qq { width: 100%; max-width: 560px; }
}
@media (max-width: 420px) {
  .qq { padding: 22px 18px; }
  .qq__row { grid-template-columns: 1fr; }
}

/* Small prev/next arrows on the left and right edges (no slide names/tabs) */
.hero-slider__arrow {
  position: absolute;
  top: calc(50% + var(--header-h) / 2); /* centre of the visible area below the header */
  z-index: 4;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hero-slider__arrow--prev { inset-inline-start: 14px; }
.hero-slider__arrow--next { inset-inline-end: 14px; }
.hero-slider__arrow:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.hero-slider__arrow .icon { width: 16px; height: 16px; }
/* Keep slide text and the quote card clear of the edge arrows */
.hero-slider .container { padding-inline: max(var(--gutter), 64px); }
.slide { padding-bottom: 56px; }
@media (max-width: 760px) {
  .hero-slider__stage { min-height: 660px; }
  .slide { align-items: end; padding-top: calc(var(--header-h) + 72px); padding-bottom: 48px; } /* top strip holds the arrows */
  .slide__bg::after, [dir='rtl'] .slide__bg::after { background: linear-gradient(180deg, rgba(7, 26, 74, 0.55) 0%, rgba(7, 26, 74, 0.35) 35%, rgba(7, 26, 74, 0.88) 75%, rgba(7, 26, 74, 0.95) 100%); }
  .slide__actions { flex-direction: column; }
  .slide__actions .pill { justify-content: center; }
  /* phones: arrows sit near the top corners, above the bottom-aligned text */
  .hero-slider .container { padding-inline: var(--gutter); }
  .hero-slider__arrow { top: calc(var(--header-h) + 34px); width: 32px; height: 32px; }
  .hero-slider__arrow--prev { inset-inline-start: 10px; }
  .hero-slider__arrow--next { inset-inline-end: 10px; }
  .hero-slider__arrow .icon { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide__content > * { opacity: 1; transform: none; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pill:hover { transform: translateY(-2px); }
.pill .icon { width: 18px; height: 18px; }
.pill--solid { background: var(--white); color: var(--navy); box-shadow: 0 10px 30px rgba(7, 26, 74, 0.25); }
.pill--solid:hover { background: var(--lime); color: var(--navy-deep); }
.pill--glass { border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(12px); color: var(--white); }
.pill--glass:hover { background: rgba(255, 255, 255, 0.24); }

/* Transparent header over the hero (home only) */
/* While transparent over the photo: white logo (no box), white links, glass language switch */
.header--overlay:not(.is-scrolled) { border-bottom-color: rgba(255, 255, 255, 0.18); }
.header--overlay:not(.is-scrolled)::before { opacity: 0; }
.header--overlay:not(.is-scrolled) .brand img { filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(7, 26, 74, 0.35)); }
@media (min-width: 1081px) {
  .header--overlay:not(.is-scrolled) .nav__link { color: rgba(255, 255, 255, 0.88); }
  .header--overlay:not(.is-scrolled) .nav__link.is-active { color: var(--white); }
  .header--overlay:not(.is-scrolled) .header__cta { background: var(--white); color: var(--navy); border-radius: 100px; }
}
.header--overlay:not(.is-scrolled) .lang { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); }
.header--overlay:not(.is-scrolled) .lang__opt { color: rgba(255, 255, 255, 0.85); }
.header--overlay:not(.is-scrolled) .lang__opt:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.header--overlay:not(.is-scrolled) .lang__opt.is-active { background: var(--white); color: var(--navy); }
.header--overlay:not(.is-scrolled) .burger { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
/* Mobile menu open on the home page: switch back to the solid header */
body.menu-open .header--overlay::before { opacity: 1; }
body.menu-open .header--overlay .brand img { filter: none; }
body.menu-open .header--overlay .burger { color: var(--navy); border-color: var(--line); }
body.menu-open .header--overlay .lang { background: var(--white); border-color: var(--line); backdrop-filter: none; }
body.menu-open .header--overlay .lang__opt { color: var(--muted); }
body.menu-open .header--overlay .lang__opt.is-active { background: var(--navy); color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { border-bottom: 1px solid var(--line); background: linear-gradient(var(--white), var(--grey)); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); }
.page-hero__aside { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
.page-hero__aside .ticks { margin-top: 24px; }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero__aside { padding-inline-start: 0; border: 0; }
}

/* Photo banner for inner pages (image slides under the transparent header) */
.page-hero--photo {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 72vh, 700px);
  margin-top: calc(var(--header-h) * -1);
  padding-block: calc(var(--header-h) + 56px) 72px;
  background: var(--navy);
  border-bottom: 0;
  color: var(--white);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: hero-zoom 18s ease-out both; }
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 74, 0.9) 0%, rgba(7, 26, 74, 0.72) 38%, rgba(7, 26, 74, 0.25) 70%, rgba(7, 26, 74, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 26, 74, 0.55) 0%, transparent 30%, transparent 70%, rgba(7, 26, 74, 0.5) 100%);
}
[dir='rtl'] .page-hero__bg::after {
  background:
    linear-gradient(-90deg, rgba(7, 26, 74, 0.9) 0%, rgba(7, 26, 74, 0.72) 38%, rgba(7, 26, 74, 0.25) 70%, rgba(7, 26, 74, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 26, 74, 0.55) 0%, transparent 30%, transparent 70%, rgba(7, 26, 74, 0.5) 100%);
}
.page-hero__content { position: relative; }
.page-hero__content > * { max-width: 640px; }
.page-hero--photo .display { color: var(--white); text-shadow: 0 2px 24px rgba(7, 26, 74, 0.35); }
.page-hero--photo .lead { margin-top: 24px; color: rgba(255, 255, 255, 0.88); }
.page-hero--photo .ticks { margin-top: 24px; color: var(--white); }
.page-hero--photo .ticks .icon { color: var(--lime); }
.page-hero--photo .btn-row { margin-top: 32px; }
.crumb { color: inherit; text-decoration: none; opacity: 0.85; }
.crumb:hover { opacity: 1; text-decoration: underline; }
.crumb__sep { margin-inline: 8px; opacity: 0.6; }
@media (max-width: 760px) {
  .page-hero--photo { min-height: 560px; padding-bottom: 56px; }
  .page-hero__bg::after, [dir='rtl'] .page-hero__bg::after { background: linear-gradient(180deg, rgba(7, 26, 74, 0.75) 0%, rgba(7, 26, 74, 0.6) 50%, rgba(7, 26, 74, 0.85) 100%); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--soft { background: var(--grey); }
.section--navy { background: var(--navy); color: var(--white); }
.section--tight { padding-block: 40px 0; }
.section--tight-top { padding-top: 56px; }
.section--flush { padding-top: 24px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head__sub { color: var(--muted); max-width: 42ch; padding-inline-start: 24px; border-inline-start: 2px solid var(--lime); }
.section-head--light .h2 { color: var(--white); }
.section-head--light .eyebrow { color: var(--lime); }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* Intro strip */
.intro { background: var(--navy); color: rgba(255, 255, 255, 0.82); padding-block: clamp(56px, 7vw, 88px); }
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro p { font-size: 18px; }
@media (max-width: 760px) { .intro__grid { grid-template-columns: 1fr; } }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-bottom: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  transition: background 0.25s, color 0.25s;
}
.service-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.service-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grey); color: var(--navy); transition: background 0.25s, color 0.25s; }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__num { font-family: var(--font-display); font-size: 28px; color: var(--line); transition: color 0.25s; }
.service-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--navy); transition: color 0.25s; }
.service-card__text { color: var(--muted); font-size: 15px; transition: color 0.25s; }
.service-card__more { margin-top: auto; color: var(--green); }
.service-card:hover { background: var(--navy); }
.service-card:hover .service-card__title { color: var(--white); }
.service-card:hover .service-card__text { color: rgba(255, 255, 255, 0.75); }
.service-card:hover .service-card__icon { background: var(--lime); color: var(--navy-deep); }
.service-card:hover .service-card__num { color: rgba(255, 255, 255, 0.25); }
.service-card:hover .service-card__more { color: var(--lime); }
.service-card__body { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service-card.service-card--media { padding: 0; gap: 0; }
.service-card--media .service-card__body { padding: 0 28px 28px; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media .service-card__num,
.service-card:hover .service-card__media .service-card__num { position: absolute; top: 0; inset-inline-end: 0; padding: 8px 14px; background: var(--navy); color: var(--white); font-size: 22px; line-height: 1; }
.service-card--media .service-card__top { position: relative; z-index: 1; margin: -28px 0 6px; }
.service-card--media .service-card__icon { background: var(--navy); color: var(--lime); box-shadow: 0 0 0 5px var(--white); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.service-card--media:hover .service-card__icon { box-shadow: 0 0 0 5px var(--navy); }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 26px 22px; } }

/* Stats */
.stats { background: var(--lime); color: var(--navy-deep); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; gap: 16px; padding: 34px 24px; border-inline-start: 1px solid rgba(7, 26, 74, 0.18); }
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat__n { font-family: 'Anton', sans-serif; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.stat__l { font-weight: 600; font-size: 15px; line-height: 1.35; max-width: 16ch; }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 16px; }
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(7, 26, 74, 0.18); }
}

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.why { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--line-dark); }
[dir='rtl'] .why { padding: 36px 0 36px 32px; }
.why__num { display: block; font-family: 'Anton', sans-serif; font-size: 22px; color: var(--lime); margin-bottom: 18px; }
.why h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.why p { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.why-grid--2 { grid-template-columns: repeat(2, 1fr); }
.why--link { display: block; color: inherit; text-decoration: none; transition: background 0.2s; }
.why--link h3 { transition: color 0.2s; }
.why--link:hover h3 { color: var(--lime); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Specialist sub-service links (parent service pages) */
.sub-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sub-link { position: relative; display: grid; gap: 6px; padding: 24px 56px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); text-decoration: none; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
[dir='rtl'] .sub-link { padding: 24px 24px 24px 56px; }
.sub-link:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 36, 99, 0.08); }
.sub-link__t { font-weight: 700; font-size: 18px; }
.sub-link__d { color: var(--muted); font-size: 15px; }
.sub-link .icon { position: absolute; top: 24px; inset-inline-end: 20px; width: 22px; height: 22px; color: var(--green); }

/* Client logos */
/* Navy band; every logo is shown in white so mixed brand colours look consistent */
.clients { background: var(--navy-deep); padding-block: clamp(28px, 3.5vw, 40px); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.clients__label { margin: 0 0 18px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime); }
html[lang='ar'] .clients__label { letter-spacing: 0; font-size: 15px; }
.clients__rows { display: grid; gap: 12px; }
/* Moving rows: the track holds identical halves and slides -50% for a seamless loop */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; padding: 0; margin: 0; list-style: none; animation: marquee var(--dur, 60s) linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.clients__item { display: grid; place-items: center; flex: 0 0 210px; height: 84px; padding: 16px 24px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); transition: background 0.3s, border-color 0.3s; }
.clients__item img { max-width: 100%; max-height: 42px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.8; transition: opacity 0.3s; }
.clients__word { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.25; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; color: rgba(255, 255, 255, 0.85); transition: color 0.3s; }
.clients__item:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(118, 184, 42, 0.5); }
.clients__item:hover img { opacity: 1; }
.clients__item:hover .clients__word { color: var(--white); }
@media (max-width: 520px) { .clients__item { flex-basis: 160px; height: 72px; padding: 12px 16px; } .clients__word { font-size: 12px; } .clients__item img { max-height: 34px; } }
/* No motion: show each client once, wrapped and centred */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; animation: none; }
  .clients__item.is-dup { display: none; }
}

/* In-text links (content) */
.inline-link { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 80, 160, 0.3); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.inline-link:hover { color: var(--navy); text-decoration-color: currentColor; }
.section--navy .inline-link, .amc .inline-link { color: var(--lime); text-decoration-color: rgba(118, 184, 42, 0.45); }
.section--navy .inline-link:hover { color: var(--white); }

/* Specialist chips (home, services hub, gallery) */
.sub-chips { align-items: center; margin-top: 28px; }
.sub-chips__label { margin-inline-end: 4px; font-size: 14px; font-weight: 700; color: var(--navy); }
.service-detail .sub-chips { margin: 20px 0 0; }
.sub-links--areas .sub-link__t { display: flex; align-items: center; gap: 8px; }
.sub-links--areas .sub-link__t .icon { position: static; width: 18px; height: 18px; }

/* HTML sitemap */
.sitemap-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.sitemap-grid .h3 { margin-bottom: 18px; }
.sitemap-list { display: grid; gap: 10px; }
.sitemap-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.sitemap-list a:hover { color: var(--blue); text-decoration: underline; }
.sitemap-list ul { display: grid; gap: 6px; margin: 8px 0 4px; padding-inline-start: 18px; border-inline-start: 2px solid var(--line); }
.sitemap-list ul a { font-weight: 500; color: var(--muted); }
@media (max-width: 860px) { .sitemap-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer__links { display: flex; gap: 24px; margin: 0; }

/* Location pages */
.district-list { display: flex; flex-wrap: wrap; gap: 10px; }
.district-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; font-weight: 500; color: var(--navy); }
.district-list .icon { width: 16px; height: 16px; color: var(--green); }
.others { padding-block: 48px; }
.others__title { margin-bottom: 18px; }
.footer__sub { margin-top: 32px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 32px 24px 0 0; border-top: 2px solid var(--line); }
[dir='rtl'] .step { padding: 32px 0 0 24px; }
.step::before { content: ''; position: absolute; top: -7px; inset-inline-start: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.step__num { display: block; font-family: 'Anton', sans-serif; font-size: 40px; line-height: 1; color: var(--navy); margin-bottom: 14px; }
.step h3 { font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 32px 32px; border-top: 0; border-inline-start: 2px solid var(--line); }
  [dir='rtl'] .step { padding: 0 32px 32px 0; }
  .step::before { top: 4px; inset-inline-start: -7px; }
}

/* AMC banner */
.amc { background: var(--green); color: var(--white); padding-block: clamp(56px, 7vw, 96px); background-image: linear-gradient(120deg, var(--forest), var(--green) 55%, var(--lime)); }
.amc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.amc__text { font-size: 18px; margin-bottom: 28px; }
.amc .ticks { margin-bottom: 28px; }
@media (max-width: 760px) { .amc__grid { grid-template-columns: 1fr; } }

/* Ticks list */
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 20px; height: 20px; color: var(--green); margin-top: 3px; }
.ticks--light .icon { color: var(--white); }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); transition: transform 0.25s, box-shadow 0.25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 36, 99, 0.12); }
.project-card[hidden] { display: none; }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 16px; inset-inline-start: 16px; padding: 6px 12px; background: var(--lime); color: var(--navy-deep); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
html[lang='ar'] .tag { letter-spacing: 0; font-size: 13px; }
.project-card__body { padding: 24px; display: grid; gap: 8px; }
.project-card__body h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.project-card__loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin: 0; }
.project-card__loc .icon { width: 16px; height: 16px; }
.project-card__services { font-size: 13px; font-weight: 600; color: var(--green); margin: 0; }
.project-card__scope { font-size: 15px; color: var(--muted); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.1); background: linear-gradient(160deg, var(--blue), var(--navy) 70%); }
.ph .skyline { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; }
.ph span { position: relative; color: rgba(255, 255, 255, 0.6); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 960px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 100px; background: none; font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer; transition: all 0.2s; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* On-site gallery (real job photos) */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(260px, 30vw, 420px); gap: 16px; }
.work {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--navy);
  cursor: zoom-in;
  text-align: start;
  color: var(--white);
}
.work--wide { grid-column: span 2; }
.work--tall { grid-row: span 2; } /* portrait photos */
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work:hover img, .work:focus-visible img { transform: scale(1.05); }
.work::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7, 26, 74, 0.88)); pointer-events: none; }
.work__status { position: absolute; z-index: 1; top: 16px; inset-inline-start: 16px; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
html[lang='ar'] .work__status { letter-spacing: 0; font-size: 13px; }
.work__status--progress { background: rgba(255, 255, 255, 0.92); color: var(--navy); }
.work__status--done { background: var(--lime); color: var(--navy-deep); }
.work__caption { position: absolute; z-index: 1; inset-inline: 20px; bottom: 18px; display: grid; gap: 2px; }
.work__caption strong { font-size: 18px; line-height: 1.3; }
.work__caption span { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; } }
@media (max-width: 520px) { .work-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; } .work--wide { grid-column: auto; } }

.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 26, 74, 0.92); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox__caption { margin: 14px 0 0; text-align: center; color: var(--white); font-weight: 500; }
.lightbox__close { position: absolute; top: -52px; inset-inline-end: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background: none; color: var(--white); cursor: pointer; }

/* Before / after slider */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 28px; }
.ba-item { margin: 0; }
.ba-item figcaption { display: grid; margin-top: 14px; color: var(--muted); font-size: 15px; }
.ba-item figcaption strong { color: var(--navy); font-size: 18px; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.ba__handle { position: absolute; top: 50%; left: var(--pos); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--navy); transform: translate(-50%, -50%); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); pointer-events: none; }
.ba__handle .icon { width: 20px; height: 20px; }
.ba__label { position: absolute; z-index: 1; top: 16px; padding: 6px 12px; border-radius: 100px; background: rgba(7, 26, 74, 0.75); color: var(--white); font-size: 12px; font-weight: 700; }
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; background: var(--lime); color: var(--navy-deep); }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.quote { margin: 0; padding: 32px; background: var(--white); border-top: 3px solid var(--lime); }
.quote blockquote { margin: 0 0 20px; font-size: 18px; color: var(--navy); }
.quote figcaption { display: grid; font-size: 14px; color: var(--muted); }
.quote strong { color: var(--ink); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid .section-head { grid-template-columns: 1fr; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-size: 18px; font-weight: 600; color: var(--navy); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grey); flex: none; transition: transform 0.2s, background 0.2s; }
.faq__icon .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--lime); }
.faq__item p { padding-bottom: 24px; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--navy); color: rgba(255, 255, 255, 0.8); padding-block: clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset-block: 0; inset-inline-end: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(0, 80, 160, 0.35)); pointer-events: none; }
[dir='rtl'] .cta-band::after { background: linear-gradient(-90deg, transparent, rgba(0, 80, 160, 0.35)); }
.cta-band__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cta-band p { font-size: 18px; }
@media (max-width: 860px) { .cta-band__grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); }
.prose p { font-size: 19px; color: var(--muted); }
.prose p:first-child { color: var(--navy); font-size: clamp(21px, 2vw, 26px); font-weight: 500; line-height: 1.5; }
.mv { background: var(--navy); color: var(--white); }
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; }
.mv__item { padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 80px) 0; }
.mv__item + .mv__item { padding-inline: clamp(24px, 4vw, 64px) 0; border-inline-start: 1px solid var(--line-dark); }
.mv__text { font-size: clamp(20px, 2vw, 26px); line-height: 1.5; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.value { padding: 32px 24px 0 0; }
[dir='rtl'] .value { padding: 32px 0 0 24px; }
.value__num { display: block; font-family: 'Anton', sans-serif; font-size: 22px; color: var(--green); margin-bottom: 12px; }
.value h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15px; }
.logo-meaning { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.logo-meaning img { width: min(100%, 420px); margin-inline: auto; }
.meaning { margin-top: 32px; border-top: 1px solid var(--line); }
.meaning li { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.meaning strong { color: var(--navy); }
.meaning span { color: var(--muted); }
@media (max-width: 960px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .split, .mv__grid, .logo-meaning { grid-template-columns: 1fr; }
  .mv__item, .mv__item + .mv__item { padding-inline: 0; border: 0; }
  .mv__item + .mv__item { border-top: 1px solid var(--line-dark); }
  .meaning li { grid-template-columns: 1fr; gap: 4px; }
  .values { grid-template-columns: 1fr; }
}

/* ---------- Services page ---------- */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-nav a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--navy); transition: all 0.2s; }
.chip-nav a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.service-detail { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.service-detail:first-child { border-top: 1px solid var(--line); }
.service-detail--media { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.service-detail--media.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.service-detail--media.is-flipped .service-detail__media { order: 2; }
.service-detail__media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.service-detail:hover .service-detail__media img { transform: scale(1.04); }
.service-detail__media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--green), var(--lime)); }
.service-detail__media .service-detail__num {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 34px;
}
.service-detail__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.service-detail__num { font-family: 'Anton', sans-serif; font-size: 56px; line-height: 1; color: var(--line); }
.service-detail__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--lime); }
.service-detail__icon .icon { width: 28px; height: 28px; }
.service-detail__intro { margin: 14px 0 24px; font-size: 18px; color: var(--muted); }
.service-detail__body h2 a { color: inherit; text-decoration: none; }
.service-detail__body h2 a:hover { color: var(--blue); }
.service-detail__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
@media (max-width: 860px) {
  .service-detail--media, .service-detail--media.is-flipped { grid-template-columns: 1fr; gap: 24px; }
  .service-detail--media.is-flipped .service-detail__media { order: 0; }
}

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-title { margin-bottom: 24px; }
.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); background: var(--grey); border-top: 3px solid var(--navy); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
[dir='rtl'] .field input[dir='ltr'] { text-align: right; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.35); }
.field.is-invalid input { border-color: #c62828; }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-weight: 600; min-height: 1.6em; }
.form__status.is-success { color: var(--forest); }
.form__status.is-error { color: #c62828; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; justify-content: center; } }

/* ---------- Quote wizard ---------- */
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.wizard__main { background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(10, 36, 99, 0.08); }
.wizard__progress { padding: 24px clamp(20px, 4vw, 44px) 0; }
.wizard__steps { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.wizard__steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.wizard__steps li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); font-size: 13px; transition: all 0.25s; }
.wizard__steps li.is-current { color: var(--navy); }
.wizard__steps li.is-current span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.wizard__steps li.is-done { color: var(--green); cursor: pointer; }
.wizard__steps li.is-done span { background: var(--lime); border-color: var(--lime); color: var(--navy-deep); }
.wizard__bar { height: 4px; background: var(--grey); border-radius: 4px; overflow: hidden; }
.wizard__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); border-radius: 4px; transition: width 0.4s ease; }
[dir='rtl'] .wizard__bar span { background: linear-gradient(-90deg, var(--green), var(--lime)); margin-inline-start: 0; }
@media (max-width: 640px) { .wizard__steps li { font-size: 0; gap: 0; } }

.wizard__form { padding: 28px clamp(20px, 4vw, 44px) 32px; }
.wstep { margin: 0; padding: 0; border: 0; min-width: 0; animation: step-in 0.35s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wstep__count { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
html[lang='ar'] .wstep__count { letter-spacing: 0; }
.wstep__title { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; color: var(--navy); outline: none; }
.wstep__hint { margin: 8px 0 0; color: var(--muted); }
.wgroup { margin-top: 26px; }
.wgroup:first-of-type { margin-top: 24px; }
.wgroup__label, .wfield > span:first-child { display: block; margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--navy); }
.req { color: var(--green); }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; }

.choice-grid { display: grid; gap: 12px; }
.choice-grid--services { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 24px; }
.choice-grid--tiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.choice-grid--urgency { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.choice-grid--pills { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 18px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.choice:hover .choice__box { border-color: var(--navy); transform: translateY(-2px); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--lime); outline-offset: 2px; }
.choice input:checked + .choice__box { border-color: var(--navy); background: #f3f6fc; box-shadow: 0 0 0 1px var(--navy) inset; }
.choice__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grey); color: var(--navy); transition: background 0.2s, color 0.2s; }
.choice__icon .icon { width: 22px; height: 22px; }
.choice input:checked + .choice__box .choice__icon { background: var(--navy); color: var(--lime); }
.choice__t { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.choice__t small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--muted); }
.choice__tick { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; transition: all 0.2s; }
.choice__tick .icon { width: 14px; height: 14px; stroke-width: 2.4; }
.choice input:checked + .choice__box .choice__tick { background: var(--lime); border-color: var(--lime); color: var(--navy-deep); }
.choice--accent .choice__box { border-style: dashed; }
.choice--urgent .choice__icon { background: #fff1ec; color: #d9480f; }
.choice--urgent input:checked + .choice__box { border-color: #d9480f; box-shadow: 0 0 0 1px #d9480f inset; background: #fff8f5; }
.choice--urgent input:checked + .choice__box .choice__icon { background: #d9480f; color: var(--white); }
.choice--pill .choice__box { flex-direction: row; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; }
.choice--pill .choice__tick { display: none; }
.choice--pill input:checked + .choice__box { background: var(--navy); }
.choice--pill input:checked + .choice__box .choice__t { color: var(--white); }
.choice--icon-pill .choice__icon { width: 28px; height: 28px; background: transparent; }
.choice--icon-pill .choice__icon .icon { width: 18px; height: 18px; }
.choice--icon-pill input:checked + .choice__box .choice__icon { background: transparent; color: var(--lime); }
.is-invalid .choice__box { border-color: #e03131; }

.wfield { display: block; margin-top: 24px; }
.wfield input, .wfield textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wfield textarea { resize: vertical; min-height: 110px; }
.wfield input:focus, .wfield textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.35); }
.wfield.is-invalid input { border-color: #e03131; }
.wfield__hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.wfield-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .wfield-row { grid-template-columns: 1fr; gap: 0; } }
.phone { display: flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.phone:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(118, 184, 42, 0.35); }
.is-invalid .phone { border-color: #e03131; }
.phone__prefix { display: flex; align-items: center; padding: 0 14px; background: var(--grey); font-weight: 600; color: var(--navy); white-space: nowrap; }
.wfield .phone input { border: 0; border-radius: 0; box-shadow: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; font-size: 15px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.werror { margin: 8px 0 0; min-height: 0; font-size: 14px; font-weight: 500; color: #c92a2a; }
.werror:empty { display: none; }
.werror--server { padding: 14px 16px; margin-top: 20px; background: #fff5f5; border-radius: 10px; }

.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.wbtn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 1.5px solid transparent; border-radius: 100px; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.2s; }
.wbtn .icon { width: 18px; height: 18px; }
.wbtn--back { background: none; border-color: var(--line); color: var(--navy); }
.wbtn--back:hover { border-color: var(--navy); }
.icon--back { transform: scaleX(-1); }
[dir='rtl'] .icon--back { transform: none; }
.wbtn--next, .wbtn--submit { margin-inline-start: auto; background: var(--navy); color: var(--white); }
.wbtn--next:hover, .wbtn--submit:hover { background: var(--blue); }
.wbtn--submit { background: #25d366; color: var(--white); }
.wbtn--submit:hover { background: #1fb457; }
.wbtn--submit .icon { width: 20px; height: 20px; }
.wizard__hint { margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: end; }
.btn--wa { background: #25d366; }
.btn--wa:hover { background: #1fb457; }
.wizard__success-icon.wizard__success-icon--wa { background: #25d366; color: var(--white); }
.wbtn:disabled { opacity: 0.6; cursor: wait; }

.wizard__success { padding: clamp(32px, 5vw, 56px); text-align: center; outline: none; animation: step-in 0.4s ease both; }
.wizard__success-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--lime); color: var(--navy-deep); }
.wizard__success-icon .icon { width: 38px; height: 38px; stroke-width: 2.2; }
.wizard__success h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); margin-bottom: 10px; }
.wizard__success > p { max-width: 46ch; margin-inline: auto; color: var(--muted); font-size: 17px; }
.ref { display: inline-grid; gap: 4px; margin: 20px 0 32px; padding: 14px 28px; border: 1.5px dashed var(--navy); border-radius: 12px; }
.ref span { font-size: 13px; color: var(--muted); }
.ref strong { font-size: 22px; letter-spacing: 0.06em; color: var(--navy); direction: ltr; }
.wizard__success h3 { font-size: 16px; color: var(--navy); margin-bottom: 14px; }
.next-steps { display: grid; gap: 10px; max-width: 360px; margin: 0 auto; text-align: start; }
.next-steps li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.next-steps li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grey); font-weight: 700; font-size: 13px; color: var(--navy); flex: none; }
.wizard__success .btn-row { justify-content: center; }

.wizard__summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; background: var(--navy); color: var(--white); }
.wizard__summary h2 { font-size: 20px; margin-bottom: 16px; }
.summary__empty { color: rgba(255, 255, 255, 0.6); font-size: 15px; }
.summary { margin: 0; display: grid; gap: 14px; }
.summary div { padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); animation: step-in 0.3s ease both; }
.summary dt { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
html[lang='ar'] .summary dt { letter-spacing: 0; font-size: 13px; }
.summary dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.summary__trust { display: grid; gap: 10px; margin-top: 24px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.summary__trust li { display: flex; gap: 10px; align-items: center; }
.summary__trust .icon { width: 18px; height: 18px; color: var(--lime); }
.summary__wa { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 100px; font-weight: 600; font-size: 14px; }
.summary__wa:hover { background: #25d366; border-color: #25d366; }
@media (max-width: 960px) {
  .wizard { grid-template-columns: 1fr; }
  .wizard__summary { position: static; order: 2; }
}

.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; color: var(--green); margin-top: 4px; }
.contact-list span { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
html[lang='ar'] .contact-list span { letter-spacing: 0; font-size: 14px; }
.contact-list a, .contact-list p { font-weight: 500; color: var(--navy); margin: 0; }
.contact-list a:hover { color: var(--green); }
.contact-list__nums { display: grid; justify-items: start; gap: 2px; }
.contact-list__nums span { margin-bottom: 2px; }
.form-side { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.map-card { position: relative; display: flex; align-items: flex-end; margin-top: 28px; min-height: 180px; padding: 20px; overflow: hidden; background: linear-gradient(160deg, var(--blue), var(--navy)); color: var(--white); font-weight: 600; }
.map-card .skyline { position: absolute; inset: auto 0 0 0; width: 100%; height: 75%; color: rgba(255, 255, 255, 0.08); }
.map-card span { position: relative; display: flex; gap: 8px; align-items: center; }

/* ---------- Careers ---------- */
.careers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.card .h3 { margin-bottom: 24px; }
.roles { display: flex; flex-wrap: wrap; gap: 10px; }
.roles li { padding: 10px 18px; background: var(--grey); border-radius: 100px; font-weight: 600; font-size: 15px; color: var(--navy); }
@media (max-width: 760px) { .careers { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding-top: clamp(56px, 7vw, 88px); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 120px; padding: 12px; background: var(--white); border-radius: var(--radius); margin-bottom: 20px; }
.footer__tagline { color: var(--lime); font-weight: 600; }
.footer h3 { margin-bottom: 20px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
html[lang='ar'] .footer h3 { letter-spacing: 0; font-size: 16px; }
.footer ul:not(.contact-list) { display: grid; gap: 10px; }
.footer a:hover { color: var(--lime); }
.footer .contact-list { gap: 16px; }
.footer .contact-list span { color: rgba(255, 255, 255, 0.5); }
.footer .contact-list a, .footer .contact-list p { color: var(--white); font-size: 14px; }
.footer .contact-list .icon { color: var(--lime); }
.social { display: flex; gap: 16px; margin-top: 24px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__legal { display: grid; gap: 4px; }
.footer__licence { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 640px) { .footer__bottom { flex-direction: column; } }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }

/* ---------- 404 ---------- */
.not-found { position: relative; overflow: hidden; padding-block: clamp(80px, 12vw, 160px); background: linear-gradient(var(--white), var(--grey)); }
.not-found__inner { position: relative; }
.not-found__code {
  position: absolute;
  top: 50%;
  inset-inline-end: var(--gutter);
  transform: translateY(-50%);
  font-family: 'Anton', sans-serif;
  font-size: clamp(160px, 26vw, 360px);
  line-height: 1;
  color: var(--navy);
  opacity: 0.06;
  pointer-events: none;
}
.not-found .lead { margin-top: 24px; }
.not-found .btn--wa { color: var(--white); }

.pill--glass .icon { width: 18px; height: 18px; }

/* ---------- Emergency strip ---------- */
.emergency { background: linear-gradient(110deg, #b83a0c, #d9480f 45%, #f76707); color: var(--white); padding-block: clamp(36px, 5vw, 52px); }
.emergency__grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 36px); align-items: center; }
.emergency__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); animation: pulse 2s ease-in-out infinite; }
.emergency__icon .icon { width: 30px; height: 30px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); } 50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
.emergency__eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
html[lang='ar'] .emergency__eyebrow { letter-spacing: 0; font-size: 15px; }
.emergency__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.25; }
.emergency__text { margin: 8px 0 0; color: rgba(255, 255, 255, 0.9); max-width: 60ch; }
.emergency__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.emergency__alt { flex-basis: 100%; margin: 2px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.emergency__alt a { font-weight: 700; color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.emergency .btn--light { color: #b83a0c; }
.emergency .btn .icon { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .emergency__grid { grid-template-columns: 1fr; }
  .emergency__icon { width: 52px; height: 52px; }
}

/* ---------- Emirates strip ---------- */
.areas { padding-block: var(--section); border-top: 1px solid var(--line); }
.areas__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.areas__text { margin: 16px 0 0; color: var(--muted); max-width: 46ch; }
.areas__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.area .icon { width: 20px; height: 20px; color: var(--green); }
.area:hover { border-color: var(--navy); background: var(--grey); transform: translateY(-2px); }
.area:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .areas__grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile contact bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -6px 24px rgba(7, 26, 74, 0.12);
  }
  .mobile-bar--two { grid-template-columns: repeat(2, 1fr); }
  .mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 12px 4px; border-radius: 12px; background: var(--grey); color: var(--navy); font-weight: 700; font-size: 13px; white-space: nowrap; }
  .mobile-bar__btn .icon { width: 17px; height: 17px; flex: none; }
  .mobile-bar__btn--wa { background: #25d366; color: var(--white); }
  .mobile-bar__btn--quote { background: var(--navy); color: var(--white); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wa-float { display: none; } /* the bar already has WhatsApp */
  body.menu-open .mobile-bar { display: none; }
}

/* ---------- Loading screen ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* failsafe: fades out on its own even if JavaScript never runs */
  animation: preloader-out 0.5s ease 5s forwards;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.no-preload .preloader { display: none; }
@keyframes preloader-out { to { opacity: 0; visibility: hidden; } }
.preloader__inner { display: grid; justify-items: center; gap: 28px; }
.preloader__logo { width: 150px; height: auto; animation: preloader-logo 0.8s ease both; }
@keyframes preloader-logo { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.preloader__bar { position: relative; width: 160px; height: 3px; overflow: hidden; border-radius: 3px; background: var(--grey); }
.preloader__bar span {
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--green), var(--lime));
  animation: preloader-bar 1.1s ease-in-out infinite;
}
[dir='rtl'] .preloader__bar span { animation-name: preloader-bar-rtl; }
@keyframes preloader-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes preloader-bar-rtl { from { transform: translateX(250%); } to { transform: translateX(-100%); } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .preloader { display: none; }
}
