/* =============================================================
   EGY TREND TECHNICAL SERVICES — website styles
   Brand: navy → azure gradient from the logo · Poppins / Inter / Cairo
   ============================================================= */
:root {
  --navy-950:#071A30; --navy-900:#0B2440; --navy-800:#0F2F52; --navy-700:#123F73;
  --blue-600:#1A7FB4; --sky-500:#27B0E0; --sky-300:#86D3F0; --sky-100:#E2F2FA; --sky-50:#F1F8FC;
  --ink:#14263B; --body:#41546A; --muted:#6E8094; --line:#DCE5EE; --mist:#F4F8FB;
  --grad: linear-gradient(120deg, #123F73 0%, #1A7FB4 55%, #27B0E0 100%);
  --grad-navy: linear-gradient(135deg, #0B2440 0%, #123F73 60%, #1A6FA3 100%);
  --radius: 12px;
  --shadow: 0 18px 40px rgba(11, 36, 64, .12);
  --container: 1200px;
  --header-h: 84px;
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 16px/1.7 var(--font-body); color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-800); margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: calc(var(--container) + 48px); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 480px) { .container { padding-inline: 18px; } }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.tint { background: var(--mist); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: #fff; color: var(--navy-800); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ar { font-family: var(--font-ar); direction: rtl; unicode-bidi: isolate; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1.2 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ""; width: 36px; height: 3px; border-radius: 3px; background: var(--grad); flex: none; }
.eyebrow.light { color: var(--sky-300); }
.eyebrow.light::before { background: linear-gradient(90deg, #27B0E0, #86D3F0); }
.h1 { font: 800 clamp(38px, 6.4vw, 76px)/1 var(--font-head); text-transform: uppercase; letter-spacing: -.015em; color: #fff; }
.h2 { font: 700 clamp(28px, 3.8vw, 46px)/1.08 var(--font-head); text-transform: uppercase; letter-spacing: -.01em; margin-top: 16px; }
.h1 span, .h2 span { color: var(--sky-500); }
.ar-sub { display: block; font: 600 clamp(16px, 1.8vw, 21px)/1.6 var(--font-ar); color: var(--blue-600); margin-top: 10px; direction: rtl; text-align: left; }
.light-text .ar-sub, .ar-sub.light { color: rgba(255, 255, 255, .88); }
.lead { font: 400 clamp(17px, 1.6vw, 20px)/1.65 var(--font-head); color: var(--navy-800); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .ar-sub { text-align: center; }
.section-head p { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 8px; border: 1.5px solid transparent;
       font: 600 14px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(26, 127, 180, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(26, 127, 180, .45); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s; }
.site-header.scrolled { --header-h: 72px; background: rgba(7, 26, 48, .96); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 46px; height: auto; }
.brand b { display: block; font: 700 18px/1 var(--font-head); letter-spacing: .07em; }
.brand small { display: block; font: 500 8.5px/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-top: 6px; }
.nav { display: none; }
.nav a { font: 500 14px/1 var(--font-head); color: rgba(255, 255, 255, .86); position: relative; padding-block: 10px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--sky-500); }
.nav a.lang { font-family: var(--font-ar); font-weight: 600; font-size: 15px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 8px 16px; }
.nav a.lang:hover { border-color: #fff; }
.header-cta { display: none; }
.burger { width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: 28px; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
}

.mobile-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 20px 24px 28px; color: #fff;
               background: linear-gradient(160deg, #123F73 0%, #0B2440 55%, #071A30 100%); transform: translateY(-100%); visibility: hidden; transition: transform .35s ease, visibility .35s; overflow-y: auto; }
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 36px; }
.mobile-menu nav a { font: 700 26px/1.3 var(--font-head); text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-menu nav a[aria-current="page"] { color: var(--sky-300); }
.mobile-menu nav a.lang { font-family: var(--font-ar); text-transform: none; }
.mobile-menu .mm-contact { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; color: rgba(255, 255, 255, .8); }
.mobile-menu .mm-contact a { display: flex; gap: 12px; align-items: center; }
.mobile-menu .mm-contact .ic { color: var(--sky-300); width: 20px; height: 20px; }
body.menu-open { overflow: hidden; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--navy-950); overflow: hidden; }
.hero .bg, .page-hero .bg, .cta .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,26,48,.78) 0%, rgba(7,26,48,.22) 26%, rgba(7,26,48,.5) 55%, rgba(7,26,48,.96) 100%),
              linear-gradient(90deg, rgba(7,26,48,.55) 0%, rgba(7,26,48,0) 70%); }
.hero > .container { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 60px); padding-bottom: 44px; }
.hero-content { position: relative; max-width: 980px; padding-inline-start: 28px; }
.hero-content::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #27B0E0, #123F73); }
.hero .h1 { margin-top: 22px; }
.hero .ar-sub { color: rgba(255, 255, 255, .9); }
.hero .lead { color: rgba(255, 255, 255, .84); font-weight: 300; margin-top: 22px; max-width: 660px; }
.hero-strip { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 20px; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 26px; }
@media (min-width: 820px) { .hero-strip { grid-template-columns: repeat(4, 1fr); } }
.hero-strip span { display: block; font: 500 11px/1.3 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--sky-300); }
.hero-strip b { display: block; font: 600 17px/1.25 var(--font-head); color: #fff; margin-top: 8px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: clamp(400px, 60vh, 580px); display: flex; align-items: flex-end; color: #fff; background: var(--navy-950); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,48,.72) 0%, rgba(7,26,48,.42) 45%, rgba(7,26,48,.94) 100%); }
.page-hero > .container { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; }
.page-hero .h1 { font-size: clamp(34px, 5.4vw, 64px); margin-top: 18px; }
.page-hero .ar-sub { color: rgba(255, 255, 255, .88); }
.page-hero .lead { color: rgba(255, 255, 255, .82); font-weight: 300; margin-top: 18px; max-width: 680px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font: 500 13px/1 var(--font-head); color: var(--sky-300); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }

/* ---------- split / about teaser ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr .95fr; gap: 72px; } }
.split p + p { margin-top: 16px; }
.split .lead { margin-top: 22px; }
.photo-stack { position: relative; padding-bottom: 64px; }
.photo-stack .a { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; }
.photo-stack .a img, .photo-stack .b img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .b { position: absolute; inset-inline-start: 18px; bottom: 0; width: 50%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.photo-stack .badge { position: absolute; inset-inline-end: 18px; bottom: 14px; padding: 18px 22px; border-radius: var(--radius); background: var(--grad); color: #fff; box-shadow: var(--shadow); text-align: center; }
.photo-stack .badge b { display: block; font: 800 34px/1 var(--font-head); }
.photo-stack .badge span { display: block; margin-top: 6px; font: 600 10.5px/1.35 var(--font-head); letter-spacing: .16em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--line); }
.stats div { padding: 22px 12px 0 0; }
.stats b { display: block; font: 700 clamp(24px, 3vw, 32px)/1 var(--font-head); color: var(--navy-800); }
.stats span { display: block; margin-top: 8px; font: 500 11.5px/1.4 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- service cards (home) ---------- */
.svc-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .media img { transform: scale(1.06); }
.svc-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,48,0) 45%, rgba(7,26,48,.75) 100%); }
.svc-card .num { position: absolute; inset-inline-end: 16px; bottom: 12px; z-index: 1; font: 800 40px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9); }
.svc-card .body { display: flex; flex-direction: column; flex: 1; padding: 0 22px 24px; }
.svc-card .icon { position: relative; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 4px solid #fff; background: var(--grad); color: #fff; display: grid; place-items: center; }
.svc-card .icon .ic { width: 22px; height: 22px; }
.svc-card h3 { margin-top: 14px; font: 600 18px/1.3 var(--font-head); }
.svc-card .ar { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--muted); text-align: left; }
.svc-card p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font: 600 12.5px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.more .ic { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .more .ic { transform: translateX(4px); }
.svc-card > a.cover-link { position: absolute; inset: 0; z-index: 3; }

/* ---------- why / process / values ---------- */
.why-grid, .steps, .values { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid, .steps, .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid, .steps, .values { grid-template-columns: repeat(3, 1fr); } }
.why-item, .step { padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-item .wi { width: 52px; height: 52px; border-radius: 12px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; }
.why-item h3, .step h3, .value h3 { margin-top: 18px; font: 600 18px/1.3 var(--font-head); }
.why-item p, .step p, .value p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.step .n { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 600 15px/1 var(--font-head); }
.step h3 { display: flex; align-items: center; gap: 10px; }
.step h3 .ic { width: 20px; height: 20px; color: var(--sky-500); }
.value { padding-top: 22px; border-top: 3px solid var(--sky-100); }
.value .vi { width: 46px; height: 46px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.value .vi .ic { width: 22px; height: 22px; }

/* ---------- navy band / clients ---------- */
.band-navy { background: var(--grad-navy); color: #fff; }
.band-navy .h2 { color: #fff; }
.band-navy .lead, .band-navy .section-head p { color: rgba(255, 255, 255, .8); }
.client-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
.client { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.client .ic { width: 30px; height: 30px; color: var(--sky-300); }
.client b { display: block; margin-top: 16px; font: 600 18px/1.3 var(--font-head); color: #fff; }
.client span { display: block; margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .72); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--navy-950); }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,48,.82), rgba(7,26,48,.9)); }
.cta > .container { position: relative; z-index: 1; padding-block: clamp(72px, 10vw, 120px); text-align: center; }
.cta .h2 { color: #fff; }
.cta .ar-sub { text-align: center; color: rgba(255, 255, 255, .88); }
.cta p.lead { color: rgba(255, 255, 255, .82); font-weight: 300; margin: 18px auto 0; max-width: 640px; }
.cta .actions { justify-content: center; }

/* ---------- services page ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 500 13.5px/1 var(--font-head); color: var(--navy-800); transition: border-color .2s, color .2s; }
.svc-nav a:hover { border-color: var(--sky-500); color: var(--blue-600); }
.svc-nav a i { font-style: normal; font-weight: 600; color: var(--sky-500); }
.svc-row { display: grid; gap: 40px; align-items: center; scroll-margin-top: 96px; }
.svc-row + .svc-row { margin-top: clamp(72px, 10vw, 120px); }
@media (min-width: 960px) { .svc-row { grid-template-columns: 1fr 1fr; gap: 72px; } .svc-row.reverse .svc-media { order: 2; } }
.svc-media { position: relative; padding-bottom: 56px; }
.svc-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--navy-900); }
.svc-media .main img, .svc-media .detail img { width: 100%; height: 100%; object-fit: cover; }
.svc-media .detail { position: absolute; inset-inline-end: 22px; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.svc-media .num { position: absolute; inset-inline-start: 24px; top: 18px; z-index: 1; font: 800 64px/1 var(--font-head); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .92); }
.svc-content .tagline { font: 500 clamp(18px, 1.8vw, 21px)/1.45 var(--font-head); color: var(--navy-800); margin-top: 22px; }
.svc-content .tagline::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 16px; }
.svc-content .desc { margin-top: 14px; }
.deliver { margin-top: 26px; padding: 24px 26px 14px; border-radius: var(--radius); background: var(--mist); }
.deliver h4 { margin-bottom: 16px; font: 600 12px/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-600); }
.checks li { position: relative; padding-inline-start: 30px; margin-bottom: 10px; font-size: 15px; line-height: 1.5; color: var(--ink); break-inside: avoid; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; inset-inline-start: 6px; top: 6.5px; width: 8px; height: 4.5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
@media (min-width: 640px) { .deliver .checks { columns: 2; column-gap: 24px; } }
.lic { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font: 500 12.5px/1.35 var(--font-head); color: var(--muted); }
.lic b { color: var(--navy-800); font-weight: 600; }
.lic .ic { width: 18px; height: 18px; color: var(--sky-500); }

/* ---------- about page ---------- */
.leader { display: flex; gap: 20px; margin-top: 32px; padding: 26px 28px; border-radius: var(--radius); background: var(--mist); border-inline-start: 5px solid var(--sky-500); }
.leader .li { width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.leader small { font: 600 11px/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--blue-600); }
.leader h3 { margin-top: 6px; font: 600 20px/1.25 var(--font-head); }
.leader h3 span { font: 400 14px/1 var(--font-head); color: var(--muted); margin-inline-start: 8px; }
.leader p { margin-top: 8px; font-size: 15px; }
.vm-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm-card { position: relative; overflow: hidden; padding: 34px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.vm-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; background: var(--grad); }
.vm-card .head { display: flex; align-items: center; gap: 14px; }
.vm-card .vi { width: 52px; height: 52px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.vm-card h3 { font: 700 20px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.vm-card .ar { font-size: 15px; font-weight: 600; color: var(--blue-600); text-align: left; }
.vm-card p { margin-top: 16px; }
.legal { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.legal th, .legal td { text-align: start; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal tr:last-child th, .legal tr:last-child td { border-bottom: 0; }
.legal tr:nth-child(odd) { background: var(--mist); }
.legal th { width: 38%; font: 600 12px/1.6 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal td { font: 500 15px/1.5 var(--font-head); color: var(--navy-800); }
.legal td.ar { font-family: var(--font-ar); font-weight: 700; text-align: left; }
.pill { display: inline-block; margin-inline-start: 8px; padding: 3px 10px; border-radius: 999px; background: var(--sky-100); color: var(--blue-600); font: 600 11px/1.4 var(--font-head); letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
@media (max-width: 640px) { .legal th, .legal td { display: block; width: auto; } .legal th { padding-bottom: 2px; border-bottom: 0; } .legal td { padding-top: 2px; } }
.acts { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 768px) { .acts { grid-template-columns: 1fr 1fr; } }
.act { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.act i { width: 36px; height: 36px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; font: 600 13px/1 var(--font-head); font-style: normal; flex: none; }
.act b { display: block; font: 500 15px/1.35 var(--font-head); color: var(--navy-800); }
.act .ar { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-align: left; }
.note { margin-top: 24px; padding-inline-start: 16px; border-inline-start: 3px solid var(--sky-500); font-size: 14px; color: var(--muted); }

/* ---------- quality page ---------- */
.pillars { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { display: flex; gap: 18px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.pillar .pi { width: 52px; height: 52px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.pillar h3 { font: 600 18px/1.3 var(--font-head); }
.pillar p { margin-top: 8px; font-size: 15px; }
.promise { margin-top: 28px; padding: 28px 30px; border-radius: var(--radius); background: var(--grad-navy); color: #fff; display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .promise { grid-template-columns: auto 1fr; gap: 40px; } }
.promise h3 { color: var(--sky-300); font: 600 13px/1.3 var(--font-head); letter-spacing: .2em; text-transform: uppercase; }
.promise ul { display: flex; flex-wrap: wrap; gap: 14px 34px; }
.promise li { position: relative; padding-inline-start: 30px; font: 500 17px/1.4 var(--font-head); }
.promise li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.promise li::after { content: ""; position: absolute; inset-inline-start: 6px; top: 6.5px; width: 8px; height: 4.5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.team-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 26px 28px; border-radius: var(--radius); background: var(--mist); border-inline-start: 5px solid var(--sky-500); }
.team-note .pi { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.team-note h3 { font: 600 18px/1.3 var(--font-head); }
.team-note p { margin-top: 6px; font-size: 15px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; } }
.c-cards { display: grid; gap: 14px; }
.c-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.c-card:hover { border-color: var(--sky-500); box-shadow: var(--shadow); }
.c-card .cic { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.c-card .cic .ic { width: 21px; height: 21px; }
.c-card .cic.wa { background: #25D366; }
.c-card span { display: block; font: 600 11px/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.c-card b { display: block; margin-top: 7px; font: 500 16px/1.4 var(--font-head); color: var(--navy-800); overflow-wrap: anywhere; }
.map { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 13px/1 var(--font-head); color: var(--blue-600); }
.map-link .ic { width: 16px; height: 16px; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--font-head); text-transform: uppercase; }
.form-card > p { margin-top: 10px; }
.form-grid { display: grid; gap: 16px; margin-top: 26px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font: 600 12px/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--navy-800); }
.field label em { font-style: normal; color: var(--sky-500); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--mist); color: var(--ink); font: 400 15px/1.5 var(--font-body); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(39, 176, 224, .15); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.form-status.ok { background: #E7F7EE; color: #11643A; }
.form-status.err { background: #FDECEC; color: #9B1C1C; }
button[disabled] { opacity: .65; cursor: wait; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.4fr .9fr 1.2fr 1.4fr; } }
.site-footer h4 { margin-bottom: 20px; color: #fff; font: 600 12.5px/1 var(--font-head); letter-spacing: .2em; text-transform: uppercase; }
.site-footer li { margin-bottom: 11px; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 340px; }
.footer-brand .ar { display: block; margin-top: 10px; color: rgba(255, 255, 255, .85); text-align: left; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact .ic { width: 20px; height: 20px; margin-top: 3px; color: var(--sky-300); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--blue-600); border-color: var(--blue-600); }
.socials .ic { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- WhatsApp floating button (shown once a number is set in js/config.js) ---------- */
.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 28px; height: 28px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--grad-navy); color: #fff; padding: 120px 24px 80px; }
.notfound b { display: block; font: 800 clamp(90px, 16vw, 160px)/1 var(--font-head); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85); }
.notfound h1 { color: #fff; font: 700 clamp(24px, 3vw, 34px)/1.2 var(--font-head); text-transform: uppercase; margin-top: 18px; }
.notfound p { margin-top: 12px; color: rgba(255, 255, 255, .8); }

/* ---------- reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .svc-card, .svc-card .media img, .btn { transition: none; }
}

/* ---------- Arabic page (right-to-left) ---------- */
html[dir="rtl"] body { font-family: var(--font-ar); line-height: 1.85; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .h1, html[dir="rtl"] .h2, html[dir="rtl"] .lead, html[dir="rtl"] .btn, html[dir="rtl"] .eyebrow,
html[dir="rtl"] .nav a, html[dir="rtl"] .mobile-menu nav a, html[dir="rtl"] .field label, html[dir="rtl"] .hero-strip span,
html[dir="rtl"] .hero-strip b, html[dir="rtl"] .site-footer h4, html[dir="rtl"] .more, html[dir="rtl"] .c-card span,
html[dir="rtl"] .c-card b, html[dir="rtl"] .svc-card h3, html[dir="rtl"] .crumbs, html[dir="rtl"] .stats span, html[dir="rtl"] .lic,
html[dir="rtl"] .client b, html[dir="rtl"] .form-card h2, html[dir="rtl"] .why-item h3, html[dir="rtl"] .form-foot small {
  font-family: var(--font-ar); letter-spacing: 0; text-transform: none;
}
html[dir="rtl"] .h1 { font-weight: 700; line-height: 1.3; }
html[dir="rtl"] .h2 { font-weight: 700; line-height: 1.35; }
html[dir="rtl"] .nav a.en, html[dir="rtl"] .mobile-menu nav a.en { font-family: var(--font-head); }
html[dir="rtl"] .more .ic, html[dir="rtl"] .btn .ic.arrow { transform: scaleX(-1); }
html[dir="rtl"] .svc-card:hover .more .ic { transform: scaleX(-1) translateX(4px); }
html[dir="rtl"] .stats div { padding: 22px 0 0 12px; }
html[dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
