/* DMR Arabia — site styles (v2 "Global Corporate")
   Brand: navy #0C1725 · gold #C6A56D · font Neue Haas Grotesk Display Pro (fallback Hanken Grotesk) · Arabic: IBM Plex Sans Arabic */

:root {
  --navy: #0C1725;
  --navy-2: #13223A;
  --gold: #C6A56D;
  --gold-text: #9A7A3E;
  --ink: #0C1725;
  --mute: #5C6470;
  --bg: #FFFFFF;
  --s1: #F4F2ED;
  --line: rgba(12, 23, 37, 0.10);
  --line-strong: rgba(12, 23, 37, 0.22);
  --radius: 8px;
  --wrap: 1280px;
  --gutter: 24px;
  --font: 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Text Pro', 'Helvetica Neue', 'Hanken Grotesk', Helvetica, Arial, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html[lang="ar"] body { font-family: var(--font-ar); }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease; }
a:hover { color: var(--gold-text); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.025em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; font-weight: 700; }
button { font: inherit; }

.wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); }
.eyebrow.on-dark { color: var(--gold); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 13px; }
.h1 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1.04; text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.1; }
html[lang="ar"] .h1 { line-height: 1.25; font-size: clamp(34px, 4.6vw, 64px); }
html[lang="ar"] .h2 { line-height: 1.3; font-size: clamp(28px, 3.2vw, 46px); }
html[lang="ar"] .h3 { line-height: 1.35; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--mute); font-weight: 500; }
html[lang="ar"] .lead { line-height: 1.8; font-weight: 400; }
.muted { color: var(--mute); }
.num { direction: ltr; unicode-bidi: isolate; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.num .plus { color: var(--gold); }
html[dir="rtl"] .num { text-align: right; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 6px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; transition: transform .2s ease, filter .2s ease, border-color .2s ease, color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { color: var(--navy); filter: brightness(1.05); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-w { border-color: rgba(255,255,255,.5); color: #FFFFFF; background: transparent; }
.btn-outline-w:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn-sm { height: 46px; padding: 0 22px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
html[dir="rtl"] .btn svg.arrow, html[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* Header (transparent over navy hero, solid on scroll) */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease; background: linear-gradient(180deg, rgba(12,23,37,.55), rgba(12,23,37,0)); }
.site-header.scrolled, .site-header.nav-open { background: rgba(12,23,37,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 60px; width: auto; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.82); padding: 6px 0; border-bottom: 1.5px solid transparent; }
html[lang="ar"] .nav-links a { font-size: 15px; }
.nav-links a:hover { color: #FFFFFF; }
.nav-links a[aria-current="page"] { color: #FFFFFF; border-bottom-color: var(--gold); }
.nav-actions { display: flex; gap: 22px; align-items: center; }
.emp-login { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 8px; }
.emp-login::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.emp-login:hover { color: #FFFFFF; }
.lang-switch { font-size: 14px; font-weight: 700; color: #FFFFFF; }
.lang-switch.ar { font-family: var(--font-ar); }
.lang-switch.en { font-family: var(--font); letter-spacing: .06em; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: #FFFFFF; cursor: pointer; }

/* Sections */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.band { background: var(--s1); }
.dark { background: var(--navy); color: #FFFFFF; }
.dark a { color: #FFFFFF; } .dark a:hover { color: var(--gold); }
.dark .muted { color: rgba(255,255,255,.7); }
.rule { height: 1px; background: var(--line); }
.reveal .rule { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .15s; }
html[dir="rtl"] .reveal .rule { transform-origin: 100% 50%; }
.reveal.in .rule { transform: scaleX(1); }
.reveal .logo-marquee { opacity: 0; transition: opacity 1s ease .2s; }
.reveal.in .logo-marquee { opacity: 1; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--s1); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hero (home) */
.hero { position: relative; min-height: 820px; display: flex; flex-direction: column; justify-content: center; background: var(--navy); color: #FFFFFF; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 130px; }
.hero > img, .hero .hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; transition: opacity 1.8s ease; }
.hero .hero-frame.on { opacity: 1; }
.hero .hero-frame.drift-a { animation: drift-a 10s ease-out both; }
.hero .hero-frame.drift-b { animation: drift-b 10s ease-out both; }
@keyframes drift-a { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.4%, -1%); } }
@keyframes drift-b { from { transform: scale(1.1) translate(1.4%, .8%); } to { transform: scale(1); } }
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(12,23,37,.92) 0%, rgba(12,23,37,.72) 45%, rgba(12,23,37,.25) 100%); }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(12,23,37,.92) 0%, rgba(12,23,37,.72) 45%, rgba(12,23,37,.25) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(12,23,37,.35) 0%, rgba(12,23,37,0) 30%, rgba(12,23,37,.55) 100%), linear-gradient(rgba(12,23,37,.22), rgba(12,23,37,.22)); }
.hero .wrap { position: relative; z-index: 4; }
.hero-copy { will-change: transform, opacity; }
.h1.split { opacity: 1; transform: none; animation: none; }
.h1 .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.45em); animation: word-in 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
.hero-copy { max-width: 760px; display: flex; flex-direction: column; gap: 26px; }
.hero-copy .lead { color: rgba(255,255,255,.82); max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }

/* Stats bar */
.stats-bar { position: relative; z-index: 2; margin-top: -72px; }
.stats-bar .inner { background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(12,23,37,.10); border-radius: var(--radius); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; }
.stats-bar .stat { padding: 32px 30px; display: flex; flex-direction: column; gap: 6px; border-inline-end: 1px solid var(--line); }
.stats-bar .stat:last-child { border-inline-end: 0; }
.stat .num { font-size: clamp(34px, 3vw, 44px); line-height: 1; }
.stat p { font-size: 14px; color: var(--mute); font-weight: 500; }
.stats-inline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Trust */
.trust { padding: 72px 0 20px; display: flex; flex-direction: column; gap: 20px; }
.trust + .section { padding-top: clamp(32px, 4vw, 52px); }   /* the logos sit close to "What we do" */
.close-below { padding-bottom: clamp(32px, 4vw, 52px); }   /* the services list runs straight into "Sectors we serve" */
.close-above { padding-top: clamp(32px, 4vw, 52px); }
.trust-head { display: flex; align-items: center; gap: 20px; }
.trust-head .eyebrow { color: var(--mute); }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logo-cell { height: 84px; display: flex; align-items: center; justify-content: center; padding: 14px 22px; }
.logo-cell img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.logo-cell:hover img { filter: none; opacity: 1; }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.client-grid .logo-cell { height: 124px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; padding: 18px 26px; }
.client-grid .logo-cell img { max-height: 64px; filter: none; opacity: 1; }
.client-group { display: flex; flex-direction: column; gap: 18px; }
.client-group + .client-group { margin-top: 40px; }
/* home: the logos glide past slowly; hovering pauses them */
.logo-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); }
.logo-track { display: flex; align-items: center; width: max-content; animation: logo-scroll 75s linear infinite; }
.logo-track .logo-cell { flex: none; width: 230px; height: 110px; margin-inline-end: 14px; padding: 12px 18px; }
.logo-track .logo-cell img { max-height: 68px; opacity: .85; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { to { transform: translateX(-50%); } }
html[dir="rtl"] .logo-track { animation-name: logo-scroll-rtl; }
@keyframes logo-scroll-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } .logo-track .logo-cell.dup { display: none; } .logo-marquee { -webkit-mask-image: none; mask-image: none; } }

/* Section head */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; }
.sec-head .stack { grid-column: span 7; gap: 16px; }
.sec-head .aside { grid-column: 9 / span 4; font-size: 17px; line-height: 1.6; color: var(--mute); }
.sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.sec-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.svc { border-top: 2px solid var(--navy); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s ease; }
.svc:hover { border-top-color: var(--gold); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-top img { height: 56px; width: auto; }
.svc-top .idx { font-size: 13px; font-weight: 700; color: var(--gold); }
.svc h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.svc p { font-size: 15px; line-height: 1.6; color: var(--mute); }
html[lang="ar"] .svc p { line-height: 1.8; }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.sector { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.sector img { height: 96px; width: auto; }
.sector strong { font-size: 14px; font-weight: 700; }
.sector p { font-size: 13px; color: var(--mute); line-height: 1.45; }

/* Event tech (home) */
.tech-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.tech-intro { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 120px; align-self: start; }
.tech-intro .media { height: 320px; margin-top: 8px; }
.tech-list { grid-column: 7 / span 6; display: flex; flex-direction: column; }
.tech-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.tech-item:last-child { border-bottom: 1px solid var(--line); }
.tech-item img { height: 40px; width: 40px; object-fit: contain; flex-shrink: 0; }
.tech-item h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.tech-item p { font-size: 14.5px; line-height: 1.55; color: var(--mute); margin-top: 4px; }
html[lang="ar"] .tech-item p { line-height: 1.8; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.work-item { display: flex; flex-direction: column; gap: 14px; }
.work-item .media { height: 440px; }
.work-a { grid-column: span 8; } .work-b { grid-column: span 4; } .work-t { grid-column: span 4; }
.work-t .media { height: 280px; }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.work-meta strong { font-size: 18px; font-weight: 700; min-width: 0; }
.work-meta span { font-size: 14px; color: var(--mute); min-width: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; grid-auto-flow: dense; min-width: 0; }
.gallery .work-item .media { height: auto; aspect-ratio: 4 / 3; }
.gallery .work-item:nth-child(1), .gallery .work-item:nth-child(4), .gallery .work-item:nth-child(6) { grid-column: span 2; }
.gallery .work-item:nth-child(1) .media, .gallery .work-item:nth-child(4) .media, .gallery .work-item:nth-child(6) .media { aspect-ratio: 16 / 9; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 600; color: var(--mute); border: 1.5px solid var(--line); border-radius: 6px; padding: 9px 14px; background: none; cursor: pointer; }
.chip.on, .chip:hover { color: var(--navy); border-color: var(--navy); }

/* CTA */
.cta { padding: clamp(72px, 8vw, 110px) 0; }
.cta .grid-12 { align-items: center; }
.cta .stack { grid-column: span 8; gap: 18px; }
.cta .actions { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 12px; }

/* Page band (inner pages) */
.page-band { position: relative; background: var(--navy); color: #FFFFFF; overflow: hidden; padding: calc(var(--header-h) + 56px) 0 72px; min-height: 420px; display: flex; align-items: flex-end; }
.page-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,23,37,.95) 0%, rgba(12,23,37,.75) 55%, rgba(12,23,37,.45) 100%); }
html[dir="rtl"] .page-band::before { background: linear-gradient(270deg, rgba(12,23,37,.95) 0%, rgba(12,23,37,.75) 55%, rgba(12,23,37,.45) 100%); }
.page-band .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.page-band .lead { color: rgba(255,255,255,.8); max-width: 680px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.6); }
.crumb a { color: rgba(255,255,255,.75); }
.crumb a:hover { color: #FFFFFF; }

/* Alternating rows */
.row-alt { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); align-items: center; }
.row-alt:last-of-type { border-bottom: 1px solid var(--line); }
.row-alt .copy { grid-column: span 6; display: flex; flex-direction: column; gap: 20px; }
.row-alt .media { grid-column: 8 / span 5; height: 380px; }
.row-alt.flip .media { grid-column: span 5; order: -1; }
.row-alt.flip .copy { grid-column: 7 / span 6; }
.row-alt .icon { height: 60px; width: auto; align-self: flex-start; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 600; color: var(--mute); border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; }
.link-arrow { font-size: 14px; font-weight: 700; color: var(--gold-text); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow svg { width: 16px; height: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: center; }
.about-grid .copy { grid-column: span 6; display: flex; flex-direction: column; gap: 20px; }
.about-grid .media { grid-column: 8 / span 5; height: 440px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar { padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--navy); background: #FFFFFF; }
.pillar img { height: 56px; width: auto; align-self: flex-start; }
.pillar h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.pillar p { font-size: 15px; line-height: 1.65; color: var(--mute); }
html[lang="ar"] .pillar p { line-height: 1.85; }

/* Solutions cards */
.sol-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sol-card { padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--navy); background: #FFFFFF; border-radius: 0 0 var(--radius) var(--radius); border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sol-card img { height: 56px; width: auto; align-self: flex-start; }
.sol-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.sol-card p { font-size: 15px; line-height: 1.6; color: var(--mute); }
.sol-card ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sol-card li { font-size: 14px; color: var(--mute); display: flex; gap: 10px; align-items: baseline; }
.sol-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; transform: translateY(-2px); }

/* Forms */
.form-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.form-side { grid-column: span 4; display: flex; flex-direction: column; gap: 28px; }
.form-main { grid-column: 6 / span 7; }
.form-layout.form-center { align-items: center; }   /* contact page: the details sit level with the middle of the form */
.info-list { display: flex; flex-direction: column; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.info-item strong { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
html[lang="ar"] .info-item strong { letter-spacing: 0; }
.info-item a, .info-item span { font-size: 16px; color: var(--ink); font-weight: 600; }
.why { display: flex; gap: 16px; align-items: flex-start; }
.why img { height: 48px; width: 48px; object-fit: contain; flex-shrink: 0; }
.why h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.why p { font-size: 15px; color: var(--mute); line-height: 1.6; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--s1); border-radius: var(--radius); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--mute); }
.field label .req { color: var(--gold-text); }
.field input, .field select, .field textarea { width: 100%; background: #FFFFFF; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 14px; height: 50px; font: inherit; font-size: 15px; outline: none; transition: border-color .2s ease; }
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C6470' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 40px; }
html[dir="rtl"] .field select { background-position: left 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: rgba(92,100,112,.6); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { font-size: 13px; color: var(--mute); max-width: 420px; }
.form-msg { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 6px; font-size: 14px; }
.form-msg.ok { display: block; background: rgba(198,165,109,.16); border: 1px solid rgba(198,165,109,.5); }
.form-msg.err { display: block; background: rgba(200,106,74,.12); border: 1px solid rgba(200,106,74,.5); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.map-ph { height: 340px; }
.map-ph iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9); }

/* Footer */
.site-footer { background: var(--navy); color: #FFFFFF; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding: 72px 0 44px; }
.foot-brand { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.foot-brand img { height: 72px; width: auto; align-self: flex-start; }
.foot-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.7); max-width: 380px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col:nth-of-type(2) { grid-column: 7 / span 2; }
.foot-col:nth-of-type(3) { grid-column: 9 / span 2; }
.foot-col:nth-of-type(4) { grid-column: 11 / span 2; }
.foot-col .eyebrow { color: #FFFFFF; font-size: 11px; }
.foot-col a, .foot-col p { color: rgba(255,255,255,.72); font-size: 14px; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 34px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.6); flex-wrap: wrap; }
.social { display: flex; gap: 12px; }
.social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; }
.social img { width: 30px; height: 30px; object-fit: contain; }

/* Office map (Leaflet) */
.map-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #FFFFFF; }
.office-map { height: 440px; position: relative; isolation: isolate; z-index: 0; background: var(--s1); font-family: inherit; }
.office-map noscript { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.office-map .leaflet-tile-pane { filter: grayscale(.2) saturate(.85); }
.office-map .leaflet-container { font-family: inherit; }
.office-map .leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: 0 14px 34px rgba(12,23,37,.18); }
.office-map .leaflet-popup-content { margin: 14px 18px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.office-map .leaflet-popup-content strong { display: block; font-size: 15px; color: var(--navy); }
html[dir="rtl"] .office-map .leaflet-popup-content-wrapper { text-align: right; direction: rtl; }
.office-map .leaflet-popup-content a { font-weight: 700; color: var(--gold-text); }
.office-map .leaflet-control-zoom a { color: var(--navy); }
.office-map .leaflet-control-attribution { font-size: 10px; }
.dmr-pin-wrap { background: none; border: 0; }
.dmr-pin { position: absolute; left: 50%; top: 0; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; background: var(--navy); border: 3px solid var(--gold); box-shadow: 0 12px 26px rgba(12,23,37,.35); display: flex; align-items: center; justify-content: center; z-index: 2; }
.dmr-pin img { width: 36px; height: auto; display: block; }
.dmr-pin-tip { position: absolute; left: 50%; top: 50px; width: 18px; height: 18px; margin-left: -9px; background: var(--gold); transform: rotate(45deg); border-radius: 3px; z-index: 1; }
.dmr-pin-pulse { position: absolute; left: 50%; top: 66px; width: 28px; height: 12px; margin-left: -14px; border-radius: 50%; background: rgba(198,165,109,.5); animation: pin-pulse 2.4s ease-out infinite; z-index: 0; }
@keyframes pin-pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-top: 1px solid var(--line); }
.map-addr { display: flex; flex-direction: column; gap: 2px; }
.map-addr strong { font-size: 15px; color: var(--navy); }
.map-addr span { font-size: 14px; color: var(--mute); }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.map-link { font-size: 13px; font-weight: 700; color: var(--gold-text); }
@media (max-width: 640px) { .office-map { height: 320px; } .map-actions, .map-actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .dmr-pin-pulse { animation: none; opacity: .5; } }

/* Pop-up confirmation (forms) */
.pop { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8,14,24,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
.pop.on { opacity: 1; }
.pop-card { background: #FFFFFF; color: var(--ink); border-radius: 14px; max-width: 460px; width: 100%; padding: 36px 32px 28px; text-align: center; box-shadow: 0 30px 80px rgba(12,23,37,.35); transform: translateY(16px) scale(.98); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.pop.on .pop-card { transform: none; }
.pop-ico { width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; animation: pop-in .55s cubic-bezier(.2,.7,.2,1) both .12s; }
.pop-ico svg { width: 32px; height: 32px; }
.pop h3 { font-size: 22px; line-height: 1.25; margin: 0 0 10px; color: var(--navy); }
.pop p { color: var(--mute); font-size: 15px; line-height: 1.65; margin: 0 0 24px; }
.pop .btn { min-width: 160px; }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pop, .pop-card, .pop-ico { transition: none; animation: none; } }

/* Company papers (supplier form) */
.papers { display: block; border: 1px solid var(--line-strong); border-radius: 8px; padding: 16px 18px 4px; margin: 0; min-width: 0; }
.papers legend { padding: 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.papers-hint { font-size: 13px; color: var(--mute); margin: 0 0 14px; line-height: 1.5; }
.papers-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.papers-grid .field { min-width: 0; display: grid; grid-template-columns: minmax(180px, 250px) 1fr; align-items: center; gap: 14px; }
.field input[type="file"] { height: auto; padding: 8px 10px; font-size: 13px; color: var(--mute); cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-size: 12px; font-weight: 700; color: #FFFFFF; background: var(--navy); border: 0; border-radius: 4px; padding: 8px 12px; margin-inline-end: 10px; cursor: pointer; }
.field input[type="file"]:hover::file-selector-button { background: var(--navy-2); }
@media (max-width: 640px) { .papers-grid .field { grid-template-columns: 1fr; gap: 6px; } }

/* Reveal */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.rise.d1 { animation-delay: .12s; } .rise.d2 { animation-delay: .24s; } .rise.d3 { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise, .reveal { opacity: 1; transform: none; animation: none; transition: none; } html { scroll-behavior: auto; } .h1 .w, .reveal .rule, .reveal .logo-marquee { opacity: 1; filter: none; transform: none; animation: none; transition: none; } .hero .hero-frame { animation: none; transition: none; } .hero-dust { display: none; } }

/* ---------- Responsive ---------- */
/* Photo strips and the lightbox */
.strip-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.strip-4 .work-item .media { height: auto; aspect-ratio: 4 / 3; }
.strip-4 .work-meta strong { font-size: 16px; }
.gallery .media[data-full], .strip-4 .media[data-full], .work-grid .media[data-full] { cursor: zoom-in; }
.gallery .media[data-full] img, .strip-4 .media[data-full] img, .work-grid .media[data-full] img { transition: transform .4s ease; }
.gallery .media[data-full]:hover img, .strip-4 .media[data-full]:hover img, .work-grid .media[data-full]:hover img { transform: scale(1.03); }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 14, 24, .97); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.on { display: flex; }
.lb img { max-width: min(1400px, 92vw); max-height: 82vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #fff; font-size: 15px; padding: 0 80px; }
.lb-cap small { display: block; color: rgba(255,255,255,.6); font-size: 12px; margin-top: 4px; }
.lb button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: var(--gold); color: #0b1020; }
.lb-x { top: 22px; right: 22px; } .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); } .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
html[dir="rtl"] .lb-prev { left: auto; right: 22px; } html[dir="rtl"] .lb-next { right: auto; left: 22px; } html[dir="rtl"] .lb-x { right: auto; left: 22px; }

/* Video: click-to-play YouTube embeds (the thumbnail loads first, the player only on click) */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; min-width: 0; }
.video-item { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.video-item .media { aspect-ratio: 16 / 9; height: auto; cursor: pointer; outline: none; }
.video-item .media:focus-visible { box-shadow: 0 0 0 3px var(--gold); }
.video-item .media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0) 55%); transition: background .2s; }
.video-play span { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #0b1020; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.35); transition: transform .2s; }
.video-item .media:hover .video-play span { transform: scale(1.07); }
.video-item .media.is-playing .video-play, .video-item .media.is-playing img { display: none; }
.video-item .work-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
.video-item .work-meta span { font-size: 13px; }

@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-bar .inner, .stats-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-bar .stat:nth-child(3n) { border-inline-end: 0; }
  .stats-bar .stat { border-bottom: 1px solid var(--line); }
  .stats-bar .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .logo-grid, .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sectors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .grid-12, .sec-head, .tech-layout, .work-grid, .row-alt, .about-grid, .form-layout { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col:nth-of-type(2), .foot-col:nth-of-type(3), .foot-col:nth-of-type(4) { grid-column: auto; }
  .gallery, .video-grid, .strip-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .work-item:nth-child(1), .gallery .work-item:nth-child(4), .gallery .work-item:nth-child(6) { grid-column: 1 / -1; }
  .nav-links { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); padding: 8px 0 16px; }
  .nav-links a { width: 100%; padding: 14px var(--gutter); font-size: 16px; border-bottom: 0; }
  .nav-links a[aria-current="page"] { border-inline-start: 2px solid var(--gold); }
  .nav-open .nav-links { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .emp-login { font-size: 12px; }
  .emp-login::before { display: none; }
  .brand img { height: 46px; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 40px) 0 110px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats-bar { margin-top: -56px; }
  .sec-head .stack, .sec-head .aside { grid-column: 1 / -1; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .tech-intro, .tech-list { grid-column: 1 / -1; position: static; }
  .work-a, .work-b, .work-t { grid-column: 1 / -1; }
  .work-item .media { height: 300px; }
  .cta .stack, .cta .actions { grid-column: 1 / -1; }
  .page-band { min-height: 0; padding: calc(var(--header-h) + 40px) 0 48px; }
  .row-alt .copy, .row-alt .media, .row-alt.flip .copy, .row-alt.flip .media { grid-column: 1 / -1; }
  .row-alt.flip .media { order: 0; }
  .row-alt .media { height: 260px; }
  .about-grid .copy, .about-grid .media { grid-column: 1 / -1; }
  .about-grid .media { height: 280px; }
  .pillars { grid-template-columns: 1fr; }
  .form-side, .form-main { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .svc-grid, .sol-cards, .gallery, .video-grid { grid-template-columns: minmax(0, 1fr); }
  .lb-cap { padding: 0 16px; } .lb-prev, .lb-next { top: auto; bottom: 70px; transform: none; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .logo-cell { height: 64px; padding: 10px 14px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid .logo-cell { height: 104px; padding: 14px 18px; }
  .logo-track .logo-cell { width: 170px; height: 90px; }
  .logo-track .logo-cell img { max-height: 54px; }
  .stats-bar .inner, .stats-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-bar .stat:nth-child(3n) { border-inline-end: 1px solid var(--line); }
  .stats-bar .stat:nth-child(2n) { border-inline-end: 0; }
  .stats-bar .stat:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats-bar .stat:last-child { border-bottom: 0; }
  .stats-bar .stat:nth-child(5):last-child { grid-column: 1 / -1; border-inline-end: 0; }
  .stats-bar .stat { padding: 22px 20px; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta .actions .btn { width: 100%; }
}

/* ---- Home page enquiry form (Google Ads landing), Sep 2026 ---- */
.enquire { scroll-margin-top: 72px; }
.enquire-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.enquire-copy { display: flex; flex-direction: column; gap: 34px; }
.enquire-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.enquire-points li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; color: rgba(255,255,255,.88); }
.enquire-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; transform: translateY(-2px); }
.enquire-direct { display: flex; flex-wrap: wrap; gap: 10px; }
.enquire-direct a { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 6px; font-size: 14px; font-weight: 600; }
.enquire-direct a svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.dark .enquire-direct a.wa { border-color: var(--gold); }
.enquire-direct .break { flex-basis: 100%; height: 0; }
.enquire-contact { display: flex; flex-direction: column; gap: 14px; }
.enquire-label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .enquire-label { letter-spacing: 0; font-size: 15px; }
.enquire-direct a:hover { border-color: var(--gold); }
.enquire-supplier { font-size: 14px; color: rgba(255,255,255,.62); }
.dark .enquire-supplier a { color: var(--gold); border-bottom: 1px solid rgba(198,165,109,.5); }
.enquire-card { background: #FFFFFF; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.2vw, 44px); box-shadow: 0 34px 80px rgba(0,0,0,.38); border-top: 3px solid var(--gold); }
.enquire-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.enquire-card .form { padding: 0; background: none; border-radius: 0; }
.enquire-card a { color: var(--ink); }
@media (max-width: 900px) { .enquire-grid { grid-template-columns: 1fr; } .enquire-copy { position: static; gap: 24px; } }

/* ---- Thank-you page (after an enquiry; Google Ads conversion page) ---- */
.ty-check { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 0 0 10px rgba(198,165,109,.18); }
.ty-check svg { width: 32px; height: 32px; }
.ty-next { display: flex; flex-direction: column; gap: 40px; }
.ty-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ty-step { display: flex; gap: 18px; align-items: flex-start; padding: 28px 26px; background: #FFFFFF; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.ty-num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ty-step strong { display: block; font-size: 17px; margin-bottom: 6px; }
.ty-step p { color: var(--mute); font-size: 15px; }
.ty-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.ty-urgent { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ty-links { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .ty-steps { grid-template-columns: 1fr; } }
.enquire-copy .info-list { gap: 22px; }
.enquire-copy .info-item strong { color: rgba(255,255,255,.6); }
.dark .enquire-copy .info-item a, .enquire-copy .info-item span { color: #FFFFFF; }
.dark .enquire-copy .info-item a:hover { color: var(--gold); }
.dark .enquire-copy .info-item a.map-link { color: var(--gold); font-size: 14px; }
