/* ============================================================
   Idea Automation & Technologies — marketing site
   Theme: Light / Corporate Premium · accent Amber #F59E0B
   Brand navy #1B2B4B · mono JetBrains Mono for codes/numbers
   ============================================================ */

:root {
  --navy:        #1B2B4B;
  --navy-deep:   #0f1c33;
  --amber:       #F59E0B;
  --amber-dark:  #d4860a;
  --amber-ink:   #20160a;
  --amber-soft:  #b9770a;

  --bg:          #ffffff;
  --bg-warm:     #fffdf9;
  --surface:     #ffffff;
  --surface-2:   #f8fafc;

  --ink:         #1B2B4B;   /* headings */
  --ink-body:    #4a5568;
  --muted:       #64748b;
  --faint:       #94a3b8;

  --line:        #eef0f4;
  --line-2:      #e6e9ef;
  --line-warm:   #f0e2c4;

  --blue:        #3b82f6;
  --teal:        #06b6d4;
  --green:       #10b981;
  --purple:      #8b5cf6;
  --red:         #dc2626;

  --radius:      14px;
  --radius-sm:   10px;
  --radius-lg:   18px;
  --shadow:      0 1px 3px rgba(16,30,54,.05), 0 10px 30px rgba(16,30,54,.06);
  --shadow-lg:   0 18px 50px rgba(16,30,54,.13);
  --maxw:        1200px;
  --font:        'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:        'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
section { padding: 80px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 11.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--amber-soft); font-weight: 700; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--amber); display: inline-block; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.section-title { font-size: clamp(25px, 3.3vw, 38px); font-weight: 800; }
.section-lead { color: var(--ink-body); font-size: 17px; max-width: 660px; margin-top: 14px; }
.section-head { margin-bottom: 8px; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .eyebrow { justify-content: center; }
.lead-center { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 9px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(27,43,75,.20); }
.btn-dark:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--navy); border-color: #e3d3ad; }
.btn-outline:hover { border-color: var(--amber); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.30); }
.btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.brand .logo-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--navy);
  display: grid; place-items: center; color: var(--amber);
  font-family: var(--mono); font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.brand .bt { font-size: 15px; line-height: 1.05; }
.brand small { display: block; font-size: 8.5px; font-weight: 600; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; }
.brand-logo { height: 52px; width: auto; display: block; }
.site-footer .brand-logo { height: 38px; background: #fff; padding: 8px 12px; border-radius: 9px; }
@media (max-width: 720px) { .brand-logo { height: 44px; } }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--ink-body); font-size: 14px; font-weight: 500;
  padding: 9px 13px; border-radius: 8px; transition: .15s;
}
.nav-links a:hover { color: var(--navy); background: var(--surface-2); }
.nav-links a.active { color: var(--amber-soft); font-weight: 700; }
.nav-links a.flag { color: var(--amber-soft); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden; }
.lang-toggle button {
  background: transparent; color: var(--faint); border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 10px; font-weight: 700; padding: 6px 7px; transition: .15s;
}
.lang-toggle button + button { border-left: 1px solid var(--line); }
.lang-toggle button.active { background: var(--amber); color: var(--amber-ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(105deg, rgba(10,18,34,.82) 0%, rgba(12,22,41,.62) 46%, rgba(12,22,41,.30) 100%),
    url('../img/realizations/alfaisal.jpg') center center / cover no-repeat;
  position: relative; overflow: hidden;
}
.hero .eyebrow { color: var(--amber); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--amber); }
.hero p.sub { color: #c7d2e4; }
.hero .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #dbe3f0; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--amber), #f7b733 40%, transparent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 60px 0; }
.hero h1 { font-size: clamp(33px, 4.6vw, 52px); font-weight: 800; color: #ffffff; letter-spacing: -.03em; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero h1 .accent { color: var(--amber); }
.hero p.sub { font-size: 16px; color: #c7d2e4; margin-top: 18px; max-width: 460px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.compliance-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; padding: 5px 11px;
  border-radius: 999px; border: 1px solid var(--line-warm); background: var(--bg-warm); color: #7a6a4a;
}

/* ---------- MES showcase card ---------- */
.mes-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 20px; position: relative;
}
.mes-card .badge {
  position: absolute; top: -11px; right: 16px; background: var(--amber); color: var(--amber-ink);
  font-size: 10px; font-weight: 800; padding: 5px 11px; border-radius: 6px; font-family: var(--mono);
  box-shadow: 0 4px 10px rgba(245,158,11,.4);
}
.mes-card .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mes-card .head .ttl { font-size: 12px; font-weight: 700; color: var(--navy); }
.mes-card .head .run { font-size: 10px; color: var(--green); font-weight: 700; display: flex; align-items: center; gap: 5px; }
.mes-card .head .run .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mes-card .row { display: flex; gap: 16px; align-items: center; }
.mes-card .stat { background: var(--surface-2); border-radius: 8px; padding: 8px 10px; }
.mes-card .stat .k { font-size: 9px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.mes-card .stat .v { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--navy); }
.mes-card .bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.mes-card .bars i { flex: 1; background: #e2e8f0; border-radius: 2px; display: block; }
.mes-card .bars i.hi { background: var(--amber); }

/* ---------- proof strip ---------- */
.proof { background: var(--navy); }
.proof .container { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.proof .item { color: #9fb0cc; font-size: 12px; }
.proof .num { font-family: var(--mono); font-size: 20px; font-weight: 700; color: #fff; margin-right: 7px; }
.proof .num.amber { color: var(--amber); }
.proof .brands { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: #7e90b0; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.card p { color: var(--muted); font-size: 13.5px; margin-top: 7px; line-height: 1.55; }
.card .kicker { font-family: var(--mono); font-size: 11px; color: var(--amber-soft); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.card ul { list-style: none; margin-top: 12px; }
.card ul li { padding: 5px 0 5px 20px; position: relative; font-size: 13px; color: var(--muted); }
.card ul li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--amber-dark); font-weight: 700; font-size: 13px; }
.card-link:hover { gap: 9px; }
.card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; margin-bottom: 13px; }
.card-img { width: 100%; height: 158px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; background: var(--surface-2); }
.section-img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); margin: 8px 0 30px; box-shadow: var(--shadow); display: block; }
@media (max-width: 720px) { .section-img { height: 200px; } }

/* ---------- product shot (real app screenshot) ---------- */
.product-shot {
  width: 100%; border-radius: var(--radius); display: block;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.product-frame { position: relative; border-radius: calc(var(--radius) + 4px); padding: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); }
.product-frame .tagk {
  position: absolute; top: -11px; left: 18px; background: var(--amber); color: var(--amber-ink);
  font-family: var(--mono); font-size: 10px; font-weight: 800; padding: 5px 11px; border-radius: 6px;
}
.mes-glance { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; }
.mes-glance .g { display: flex; align-items: baseline; gap: 8px; }
.mes-glance .gn { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--amber); }
.mes-glance .gl { font-size: 12.5px; color: #9fb0cc; }
.shot-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shot-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); transition: .2s; overflow: hidden; }
.shot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shot-card img { width: 100%; border-radius: 8px; display: block; border: 1px solid var(--line); }
.shot-cap { font-size: 13px; color: var(--muted); margin: 11px 4px 4px; line-height: 1.5; }
.shot-cap b { color: var(--navy); }
@media (max-width: 760px) { .shot-gallery { grid-template-columns: 1fr; } }
.mini-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-thumbs a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 10px 24px rgba(0,0,0,.4); transition: .2s; position: relative; }
.mini-thumbs a:hover { transform: translateY(-3px); border-color: var(--amber); }
.mini-thumbs img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; object-position: top left; }
.mini-thumbs .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 10px 8px; background: linear-gradient(transparent, rgba(9,15,28,.9)); color: #fff; font-size: 11.5px; font-weight: 600; }
@media (max-width: 760px) { .mini-thumbs { grid-template-columns: repeat(2, 1fr); } }

/* ---------- case studies ---------- */
.case { display: block; }
.case .case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.case .case-grid h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-soft); margin-bottom: 7px; }
.case .case-grid p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.case .metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.case .metrics span { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--navy); background: var(--bg-warm); border: 1px solid var(--line-warm); border-radius: 8px; padding: 8px 13px; }
.case .ph-note { display: inline-block; margin-top: 14px; font-size: 11px; font-family: var(--mono); color: var(--faint); border: 1px dashed var(--line-2); border-radius: 6px; padding: 3px 9px; }
@media (max-width: 760px) { .case .case-grid { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- realizations gallery ---------- */
.real-banner { width: 100%; border-radius: var(--radius); display: block; box-shadow: var(--shadow); margin-bottom: 22px; }
.real-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.real { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.real img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transition: transform .45s ease; }
.real:hover img { transform: scale(1.06); }
.real .ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(9,15,28,.9)); }
.real .ov .client { color: #fff; font-weight: 800; font-size: 15px; line-height: 1.1; }
.real .ov .proj { color: #aebcd4; font-size: 11.5px; font-family: var(--mono); margin-top: 3px; }
.real .flagloc { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 10px; font-weight: 700; color: #fff; background: rgba(245,158,11,.92); padding: 3px 8px; border-radius: 5px; }
@media (max-width: 900px) { .real-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .real-grid { grid-template-columns: 1fr; } }

/* ---------- sector tiles (clickable photo zones) ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-tile {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.sector-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sector-tile .sector-img-fill, .sector-tile .sector-ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease;
}
.sector-tile:hover .sector-img-fill, .sector-tile:hover .sector-ph { transform: scale(1.06); }
.sector-ph {
  display: grid; place-items: center;
  background: linear-gradient(150deg, #22386a, #0f1c33);
  background-image: linear-gradient(150deg, #22386a, #0f1c33),
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 10px, transparent 10px 20px);
}
.sector-ph .ph-ic { font-size: 44px; opacity: .55; filter: grayscale(1) brightness(2); }
.sector-ph .ph-tag {
  position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.2); border-radius: 5px; padding: 3px 8px;
}
.sector-ov {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(9,15,28,.88)); pointer-events: none;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
}
.sector-ov .name { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
.sector-ov .go { color: var(--amber); font-weight: 800; font-size: 18px; transition: transform .25s ease; flex-shrink: 0; }
.sector-tile:hover .sector-ov .go { transform: translateX(5px); }
.sector-tile::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 0 var(--amber); transition: box-shadow .25s ease; pointer-events: none;
}
.sector-tile:hover::after { box-shadow: inset 0 0 0 3px var(--amber); }
@media (max-width: 900px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } }
.card.flag { background: linear-gradient(180deg, #fffaf0, #fff6e4); border-color: #f3e4c2; }
.card.flag h3, .card.flag .kicker { color: var(--amber-soft); }
.card.dark { background: var(--navy); border-color: var(--navy); }
.card.dark h3 { color: #fff; } .card.dark p { color: #b6c2d8; }
.card.dark .card-link { color: var(--amber); }

/* ---------- bands ---------- */
.band-warm { background: linear-gradient(180deg, var(--bg-warm), #fbf6ec); border-top: 1px solid var(--line-warm); border-bottom: 1px solid var(--line-warm); }
.band-soft { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-navy { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .section-lead { color: #b6c2d8; }

/* ---------- retrofit ladder ---------- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.rung { padding: 0 18px; position: relative; }
.rung + .rung { border-left: 1px solid var(--line); }
.rung .n { font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff; background: var(--navy); width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; }
.rung .nrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.rung .nrow .ln { height: 2px; flex: 1; background: var(--line); }
.rung h4 { font-size: 15px; font-weight: 700; color: var(--navy); }
.rung p { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.rung.turn { background: linear-gradient(180deg, #fffaf0, #fff4e0); border: 1px solid #f3e4c2; border-radius: 12px; padding: 16px 16px; margin-top: -16px; }
.rung.turn .n { background: var(--amber); color: var(--amber-ink); }
.rung.turn h4 { color: var(--amber-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.tags span { font-family: var(--mono); font-size: 9.5px; color: #7a6a4a; background: var(--bg-warm); border: 1px solid var(--line-warm); border-radius: 999px; padding: 3px 8px; }

/* ---------- MES modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.module { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 20px; }
.module h4 { font-size: 16px; color: #fff; display: flex; align-items: center; gap: 9px; }
.module h4 .dot { width: 8px; height: 8px; border-radius: 50%; }
.module p { font-size: 13px; color: #9fb0cc; margin-top: 8px; line-height: 1.5; }
.chip-dark { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #cdd8ec; }

/* ---------- partners ---------- */
.partners-group + .partners-group { margin-top: 22px; }
.partners-group .lbl { font-size: 12px; font-weight: 700; color: var(--ink-body); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.partners-group .lbl span { color: var(--faint); font-weight: 500; text-transform: none; letter-spacing: 0; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.logo {
  border: 1px solid var(--line); border-radius: 10px; height: 68px;
  background: #fff; padding: 8px 14px;
  display: grid; place-items: center; text-align: center; line-height: 1.15;
  font-weight: 800; color: var(--navy); transition: .2s;
}
.logo:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.logo small { display: block; font-weight: 500; color: var(--muted); font-size: 9.5px; }
.logo img { max-height: 52px; max-width: 100%; object-fit: contain; display: block; }
/* enlarged logo tiles (OEM wall) — logos ~2x */
.logos-lg .logo { height: 124px; padding: 12px 18px; }
.logos-lg .logo img { max-height: 100px; }

/* ---------- global presence map ---------- */
.presence { margin: 0; }
.presence-map {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff; box-shadow: var(--shadow);
}
.presence-cap { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.55; max-width: 980px; }

/* ---------- uniform stat cards ---------- */
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat-viz { height: 126px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.stat-viz svg { height: 118px; width: auto; max-width: 100%; display: block; margin: 0; }
.stat-h { font-size: 16px; margin: 0 0 4px; }
.stat-p { margin: 0; }
.wm-badge circle, .mes-badge circle { fill: var(--amber); }
.wm-badge text, .mes-badge text { font-family: var(--mono); font-weight: 800; fill: #fff; text-anchor: middle; dominant-baseline: central; }
.wm-badge text { font-size: 20px; }
.mes-badge text { font-size: 15px; }
.mes-badge { filter: drop-shadow(0 2px 4px rgba(245,158,11,.4)); }

/* ---------- anniversary ring (18 years) ---------- */
.stat-anniv { text-align: center; }
.anniv { width: 112px; height: 112px; display: block; margin: 2px auto 10px; filter: drop-shadow(0 4px 10px rgba(27,43,75,.10)); }
.anniv-track { fill: none; stroke: var(--line); stroke-width: 8; }
.anniv-disc { fill: #f6f9fc; }
.anniv-arc {
  fill: none; stroke: url(#anniv-grad); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 312 340; transform: rotate(-90deg);
  transform-box: fill-box; transform-origin: center;
}
.anniv-knob { fill: var(--amber); }
.anniv-num { font-family: var(--mono); font-weight: 800; font-size: 42px; fill: var(--navy); text-anchor: middle; dominant-baseline: central; }
.anniv-sub { font-weight: 700; font-size: 11px; letter-spacing: .18em; fill: var(--amber); text-anchor: middle; dominant-baseline: central; }
.anniv-year { font-family: var(--mono); font-weight: 600; font-size: 10px; fill: var(--muted); text-anchor: middle; dominant-baseline: central; }

/* ---------- mini world map (continents card) ---------- */
.stat-map { text-align: center; }
.worldmap { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto 10px; }
.wm-land path { fill: #c6d1e4; }
.wm-pins { filter: drop-shadow(0 2px 3px rgba(27,43,75,.22)); }

/* ---------- clients wall ---------- */
.clients-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(174px, 1fr)); gap: 14px; }
.client-tile {
  border: 1px solid var(--line); border-radius: 10px; height: 108px; background: #fff;
  display: grid; place-items: center; padding: 14px 20px; transition: .2s;
}
.client-tile:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.client-tile img { max-height: 68px; max-width: 100%; object-fit: contain; display: block; }

/* ---------- brand pillars (reactivity / innovation / listen) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; transition: .2s; }
.pillar:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.pillar-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(245,158,11,.12); color: var(--amber); margin-bottom: 15px; }
.pillar-ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 18px; margin: 0 0 6px; }
.pillar p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px){ .pillars { grid-template-columns: 1fr; } }

/* ---------- platforms we master (capabilities) ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 10px; }
.plat h3 { font-size: 14.5px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.plat .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
.plat ul { margin: 0; padding: 0; list-style: none; }
.plat li { font-size: 13px; color: var(--ink-body); padding: 7px 0; border-bottom: 1px solid var(--line); }
.plat li:last-child { border-bottom: none; }
.plat li.mono { font-family: var(--mono); font-weight: 500; }
@media (max-width: 900px){ .platforms { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .platforms { grid-template-columns: 1fr; } }

/* ---------- vendor-agnostic hub graphic ---------- */
.stat-hub { text-align: center; }
.hubgraph { width: 100%; max-width: 224px; height: auto; display: block; margin: 0 auto 10px; }
.hub-nodes { filter: drop-shadow(0 2px 3px rgba(27,43,75,.18)); }
.hub-core { filter: drop-shadow(0 3px 7px rgba(245,158,11,.38)); }

/* ---------- lifecycle services row ---------- */
.svc-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.svc { text-align: center; padding: 18px 10px; border: 1px solid var(--line); border-radius: 12px; transition: .2s; }
.svc:hover { border-color: var(--amber); transform: translateY(-3px); }
.svc .ic { font-size: 22px; margin-bottom: 8px; }
.svc .t { font-size: 12.5px; font-weight: 700; color: var(--navy); }

/* ---------- page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-warm), #fbf6ec); position: relative; }
.page-hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--amber), #f7b733 40%, transparent); }
.page-hero .container { padding-top: 56px; padding-bottom: 52px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; color: var(--navy); }
.page-hero p { color: var(--ink-body); font-size: 17px; margin-top: 14px; max-width: 640px; }
/* page hero with photo background (e.g. Contact) */
.page-hero.ph-photo {
  background:
    linear-gradient(100deg, rgba(10,18,34,.74) 0%, rgba(12,22,41,.50) 55%, rgba(12,22,41,.28) 100%),
    url('../img/contact-bg.jpg') center center / cover no-repeat;
}
.page-hero.ph-photo h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.page-hero.ph-photo p { color: #dbe3f0; }
.page-hero.ph-photo .breadcrumb,
.page-hero.ph-photo .breadcrumb a,
.page-hero.ph-photo .breadcrumb span { color: #aebcd4; }
.page-hero.ph-photo .eyebrow { color: var(--amber); }
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--amber-soft); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(25px, 3.4vw, 38px); color: #fff; font-weight: 800; }
.cta-band p { color: #b6c2d8; font-size: 17px; margin: 14px auto 28px; max-width: 560px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 9px;
  font-family: var(--font); font-size: 14.5px; background: #fff; color: var(--ink); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}
.info-line { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-line .k { font-family: var(--mono); font-size: 11px; color: var(--faint); width: 66px; flex-shrink: 0; text-transform: uppercase; padding-top: 2px; }
.info-line .v { font-size: 14.5px; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebcd4; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 13.5px; margin-bottom: 13px; }
.site-footer a { display: block; color: #aebcd4; font-size: 13.5px; padding: 5px 0; transition: .15s; }
.site-footer a:hover { color: var(--amber); }
.site-footer .brand { margin-bottom: 13px; color: #fff; }
.site-footer .brand .logo-mark { background: var(--amber); color: var(--navy-deep); }
.footer-about { font-size: 13.5px; color: #8a9ab5; max-width: 280px; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #6f7f99; }
.footer-bottom .mono { color: #8a9ab5; }

/* ---------- utility ---------- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .eyebrow::before { margin-left: 8px; margin-right: 0; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .card ul li { padding: 5px 20px 5px 0; }
[dir="rtl"] .card ul li::before { left: auto; right: 0; }
[dir="rtl"] .info-line, [dir="rtl"] .mes-glance, [dir="rtl"] .proof .container { flex-direction: row-reverse; }
[dir="rtl"] .breadcrumb { direction: rtl; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-4, .grid-5, .logos, .svc-row, .modules { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .rung + .rung { border-left: 0; }
  .rung.turn { margin-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px;
    gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .25s ease; visibility: hidden;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 13px 14px; }
  .nav-toggle { display: block; }
  .site-header .nav-actions > .btn { display: none; }
  .grid-2, .grid-3, .grid-4, .grid-5, .logos, .svc-row, .modules { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .proof .brands { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}
