/* Khalood Trading Co. — dark premium theme (navy + brass) */
/* Self-hosted fonts */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 400; src: url("assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 500; src: url("assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 600; src: url("assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-display: swap; font-weight: 700; src: url("assets/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --bg: #06121f;
  --bg-2: #0a1b2d;
  --panel: #0d2238;
  --panel-2: #123049;
  --line: rgba(166, 196, 224, 0.12);
  --line-2: rgba(166, 196, 224, 0.2);
  --brass: #c9a04e;
  --brass-hi: #e8cd8a;
  --brass-lo: #8a6a2c;
  --text: #eef2f6;
  --muted: #a3b4c6;
  --dim: #71869c;
  --ok: #5fc39a;
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 9px;
  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { --font: "IBM Plex Sans Arabic", "Archivo", Arial, sans-serif; font-size: 17px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.08; letter-spacing: -0.02em; font-stretch: 112%; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brass); color: var(--bg); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }
.skip-link { position: fixed; top: 12px; inset-inline-start: 12px; z-index: 100; padding: 10px 16px; background: var(--brass); color: var(--bg); border-radius: 8px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

.shell { width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: .005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-brass {
  color: #1a1204;
  background: linear-gradient(180deg, var(--brass-hi), var(--brass) 70%);
  box-shadow: 0 0 0 1px rgba(255, 233, 180, .35) inset, 0 10px 30px -10px rgba(201, 160, 78, .6);
}
.btn-brass:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 233, 180, .5) inset, 0 16px 36px -12px rgba(201, 160, 78, .75); }
.btn-glass { color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .1); border-color: rgba(232, 205, 138, .5); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--brass-hi); font-weight: 600; font-size: 14.5px; border-bottom: 1px solid rgba(232, 205, 138, .35); padding-bottom: 2px; transition: border-color .2s; }
.link-btn:hover { border-color: var(--brass-hi); }
.chip-btn { font-size: 13px; font-weight: 600; color: var(--brass-hi); border: 1px solid var(--line-brass, rgba(201,160,78,.35)); padding: 6px 14px; border-radius: 999px; transition: background .2s; }
.chip-btn:hover { background: rgba(201, 160, 78, .12); }

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
}

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(6, 18, 31, .72); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 42px; width: auto; }
.site-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.site-nav a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.site-nav a:hover, .site-nav a.is-active { color: var(--text); background: rgba(255, 255, 255, .06); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-family: "IBM Plex Sans Arabic", var(--font); }
.lang-toggle:hover { border-color: var(--brass); }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .25s; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Typography helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; letter-spacing: .01em; font-weight: 600; color: var(--brass-hi); margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.kicker-live::before { width: 8px; height: 8px; border-radius: 50%; background: var(--brass-hi); opacity: 1; box-shadow: 0 0 0 0 rgba(232, 205, 138, .6); animation: livePulse 2.4s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(232, 205, 138, .55); } 70% { box-shadow: 0 0 0 10px rgba(232, 205, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 205, 138, 0); } }
.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head.wide { max-width: 900px; }
.section-head h2, .about-intro h2, .quality-copy h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.12; }
.section-head > p:not(.kicker) { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 64ch; }
.sub-title { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 28px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text); line-height: 1.55; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: 140px; padding-bottom: 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-glow { position: absolute; inset: 0; background:
  radial-gradient(60% 55% at 62% 48%, rgba(30, 80, 128, .55), transparent 70%),
  radial-gradient(40% 40% at 64% 52%, rgba(201, 160, 78, .14), transparent 70%),
  linear-gradient(180deg, #071728 0%, var(--bg) 100%); }
.hero-map { position: absolute; top: 9%; bottom: 14%; inset-inline-start: 24%; inset-inline-end: -3%; width: auto; height: auto; opacity: .95; }
.hero-grain { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E"); mix-blend-mode: overlay; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 18, 31, .92) 0%, rgba(6, 18, 31, .55) 42%, rgba(6, 18, 31, 0) 70%), linear-gradient(0deg, var(--bg) 0%, transparent 22%); pointer-events: none; }
html[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(6, 18, 31, .92) 0%, rgba(6, 18, 31, .55) 42%, rgba(6, 18, 31, 0) 70%), linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: end; gap: 40px; }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 680; letter-spacing: -0.035em; line-height: 1.0; font-stretch: 118%; }
html[lang="ar"] .hero h1 { line-height: 1.25; font-size: clamp(38px, 5.6vw, 74px); }
.hero-lede { margin-top: 28px; max-width: 60ch; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-card { border-radius: var(--radius-lg); padding: 22px 22px 18px; }
.hero-card-title { font-size: 13px; color: var(--dim); margin-bottom: 12px; font-weight: 600; }
.hero-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hero-card-list li { display: grid; grid-template-columns: 14px 1fr; align-items: center; column-gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.hero-card-list li:first-child { border-top: 0; }
.hero-card-list em { grid-column: 2; font-style: normal; font-size: 12.5px; color: var(--dim); }
.node-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brass-hi); box-shadow: 0 0 12px rgba(232, 205, 138, .7); }
.node-dot.hub { width: 12px; height: 12px; background: #fff; box-shadow: 0 0 0 3px rgba(232, 205, 138, .35), 0 0 18px rgba(232, 205, 138, .9); }

.hero-stats { margin: clamp(48px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.hero-stats > div { padding: 24px 24px 8px 0; border-inline-end: 1px solid var(--line); }
.hero-stats > div + div { padding-inline-start: 24px; }
.hero-stats > div:last-child { border-inline-end: 0; }
.hero-stats dt { font-size: clamp(28px, 3vw, 40px); font-weight: 650; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1; color: var(--text); display: flex; align-items: baseline; gap: 6px; }
.hero-stats dt small { font-size: 15px; font-weight: 500; color: var(--brass-hi); font-stretch: 100%; letter-spacing: 0; }
.hero-stats dd { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 26ch; }

/* ---------- Network map (shared) ---------- */
.net-map .dots { fill: none; stroke: rgba(150, 185, 220, .34); stroke-width: 2.8; stroke-linecap: round; }
.net-map .arc { fill: none; stroke: url(#arc-grad); stroke-width: 1.4; stroke-linecap: round; }
.net-map .arc-flow { fill: none; stroke: var(--brass-hi); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 240; filter: drop-shadow(0 0 4px rgba(232, 205, 138, .9)); }
.net-map .node circle.core { fill: var(--brass-hi); }
.net-map .node circle.halo { fill: rgba(232, 205, 138, .18); transform-box: fill-box; transform-origin: center; animation: halo 3s ease-out infinite; }
.net-map .node.hub circle.core { fill: #fff; }
.net-map .node.hub circle.halo { fill: rgba(232, 205, 138, .3); }
.net-map .node text { fill: var(--text); font-size: 13px; font-weight: 600; font-family: var(--font); paint-order: stroke; stroke: rgba(6, 18, 31, .85); stroke-width: 4px; dominant-baseline: middle; }
@keyframes halo { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.hero-map .arc { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.8s var(--ease) forwards; animation-delay: var(--d); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-map .node { opacity: 0; animation: fadeIn .6s ease forwards; animation-delay: var(--d); }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Trust strip ---------- */
.trust { padding: 36px 0 44px; border-block: 1px solid var(--line); background: var(--bg-2); }
.trust h2 { font-size: 14.5px; font-weight: 500; color: var(--dim); letter-spacing: 0; font-stretch: 100%; margin-bottom: 22px; text-align: center; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 64px; width: 170px; object-fit: contain; padding: 12px 20px; background: #f3f5f7; border-radius: 12px; transition: transform .3s var(--ease); }
.marquee-track img:hover { transform: translateY(-2px); }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
html[dir="rtl"] .marquee-track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(calc(50% + 9px)); } }

/* ---------- About ---------- */
.about { background: radial-gradient(70% 50% at 100% 0%, rgba(18, 48, 73, .7), transparent 70%), var(--bg); }
.about-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-intro h2 { margin-bottom: 28px; }
.about-intro p + p { margin-top: 18px; color: var(--muted); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line-2); }
.about-facts div { padding: 22px 16px 0 0; }
.about-facts strong { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 650; font-stretch: 115%; line-height: 1; color: var(--brass-hi); }
.about-facts span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.4; }

.region-card { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: #081a2c; position: relative; }
.region-head { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.region-title { font-weight: 650; font-size: 18px; font-stretch: 110%; }
.region-sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; max-width: 38ch; }
.region-map { width: 100%; height: auto; aspect-ratio: 800 / 612; }
.region-map .sea-grid path { fill: none; stroke: rgba(150, 185, 220, .08); stroke-width: 1; }
.region-map .land.ksa { fill: #13314c; stroke: rgba(232, 205, 138, .55); stroke-width: 1.1; }
.region-map .land.hatch { stroke: none; }
.region-map .land.other { fill: #0f263c; stroke: rgba(166, 196, 224, .25); stroke-width: .8; }
.region-map text { font-family: var(--font); font-size: 15px; fill: var(--muted); dominant-baseline: middle; font-weight: 500; }
.region-map .place circle { fill: var(--muted); }
.region-map .place.hq circle { fill: var(--brass-hi); stroke: #fff; stroke-width: 2; }
.region-map .place.hq circle.pulse { fill: none; stroke: var(--brass-hi); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out infinite; }
.region-map .place.hq text, .region-map .place.wh text { fill: var(--text); font-weight: 650; font-size: 17px; paint-order: stroke; stroke: #0b2034; stroke-width: 5px; }
.region-map .place.wh rect { fill: #fff; stroke: var(--brass); stroke-width: 2.5; }
.region-map .area-label { fill: var(--dim); font-size: 14px; text-anchor: middle; }
.region-map .sea-label { fill: rgba(166, 196, 224, .45); font-size: 16px; font-style: italic; text-anchor: middle; letter-spacing: .06em; }
.region-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 16px 24px 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.region-legend > span { display: inline-flex; align-items: center; gap: 10px; }
.lg { width: 12px; height: 12px; flex: none; }
.lg.hq { border-radius: 50%; background: var(--brass-hi); box-shadow: 0 0 0 2px #fff inset; }
.lg.wh { border-radius: 3px; background: #fff; box-shadow: 0 0 0 2px var(--brass) inset; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(56px, 8vw, 96px); }
.mv-card { position: relative; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--panel-2), var(--panel) 60%); border: 1px solid var(--line); overflow: hidden; }
.mv-card::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 160, 78, .22), transparent 70%); }
.mv-label { color: var(--brass-hi); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.mv-text { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; font-weight: 400; }

.timeline-wrap { margin-top: clamp(64px, 9vw, 110px); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; inset-inline: 0; height: 1px; background: linear-gradient(90deg, var(--brass), rgba(201, 160, 78, .2)); }
html[dir="rtl"] .timeline::before { background: linear-gradient(270deg, var(--brass), rgba(201, 160, 78, .2)); }
.timeline li { position: relative; padding: 38px 22px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 3px; inset-inline-start: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brass); }
.timeline li.is-now::before { background: var(--brass-hi); box-shadow: 0 0 0 5px rgba(232, 205, 138, .18); }
.tl-year { display: block; font-size: 22px; font-weight: 650; font-stretch: 115%; color: var(--brass-hi); line-height: 1; margin-bottom: 12px; }
.timeline strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.timeline p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.why { margin-top: clamp(64px, 9vw, 110px); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.why-grid article { background: var(--bg); padding: 30px 26px 32px; transition: background .3s; }
.why-grid article:hover { background: var(--bg-2); }
.why-grid .ico { width: 30px; height: 30px; color: var(--brass-hi); margin-bottom: 22px; }
.why-grid h4 { font-size: 18px; margin-bottom: 10px; font-stretch: 108%; }
.why-grid p { font-size: 14.5px; color: var(--muted); }

.v2030 { margin-top: 28px; padding: 22px 28px; border-radius: var(--radius); border: 1px solid rgba(95, 195, 154, .25); background: linear-gradient(90deg, rgba(95, 195, 154, .1), rgba(95, 195, 154, 0) 70%); font-size: 15.5px; color: var(--muted); }
.v2030 strong { color: var(--text); font-weight: 600; }

/* ---------- Capabilities bento ---------- */
.capabilities { background: var(--bg-2); border-block: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.cap-1 { grid-column: span 2; grid-row: span 2; }
.cap-card { position: relative; border-radius: var(--radius-lg); background: linear-gradient(165deg, var(--panel-2), var(--panel) 70%); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .3s, transform .3s var(--ease); }
.cap-card:hover, .cap-card.is-open { border-color: rgba(232, 205, 138, .45); }
.cap-card.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 27, 45, .15) 0%, rgba(10, 27, 45, .85) 60%, rgba(10, 27, 45, .98) 100%), var(--photo) center / cover no-repeat; transition: transform .8s var(--ease); }
.cap-card.has-photo:hover::before { transform: scale(1.04); }
.cap-face { display: flex; flex-direction: column; align-items: flex-start; text-align: start; width: 100%; height: 100%; padding: 26px; gap: 10px; }
.cap-face .ico, .cap-cta .ico { width: 34px; height: 34px; color: var(--brass-hi); margin-bottom: auto; padding: 6px; border-radius: 10px; background: rgba(232, 205, 138, .08); border: 1px solid rgba(232, 205, 138, .2); box-sizing: content-box; }
.cap-title { font-size: 21px; font-weight: 650; font-stretch: 110%; line-height: 1.15; letter-spacing: -0.01em; margin-top: 28px; }
.cap-1 .cap-title { font-size: clamp(26px, 2.6vw, 34px); }
.cap-desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.cap-more { font-size: 13.5px; font-weight: 600; color: var(--brass-hi); margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; }
.cap-more::after { content: ""; width: 16px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.cap-card:hover .cap-more::after { width: 28px; }
.cap-range { position: absolute; inset: 0; padding: 24px 26px; background: linear-gradient(170deg, rgba(18, 48, 73, .97), rgba(10, 27, 45, .99)); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .35s var(--ease), visibility .3s; overflow-y: auto; scrollbar-width: thin; pointer-events: none; }
.cap-range .range-title { font-size: 15px; font-weight: 650; color: var(--brass-hi); margin-bottom: 12px; font-stretch: 108%; }
.cap-range ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cap-1 .cap-range ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.cap-range li { font-size: 14px; padding: 7px 0 7px 18px; border-bottom: 1px solid var(--line); position: relative; color: var(--text); line-height: 1.35; }
html[dir="rtl"] .cap-range li { padding: 7px 18px 7px 0; }
.cap-range li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 14px; width: 6px; height: 6px; border-radius: 2px; background: var(--brass); transform: rotate(45deg); }
.cap-card.is-open .cap-range { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .cap-card:hover .cap-range { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
}
.cap-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; background: linear-gradient(150deg, rgba(201, 160, 78, .22), rgba(201, 160, 78, .05)); border-color: rgba(232, 205, 138, .35); }
.cap-cta:hover { transform: translateY(-2px); }

/* ---------- Record ---------- */
.record { background: radial-gradient(50% 45% at 0% 45%, rgba(18, 48, 73, .55), transparent 70%), var(--bg); }
.record-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.record-side { display: grid; gap: 20px; }
.record-card { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); }
.record-card.primary { background: linear-gradient(155deg, #173a59, var(--panel) 65%); border-color: rgba(232, 205, 138, .3); }
.record-tag { font-size: 14px; font-weight: 600; color: var(--brass-hi); margin-bottom: 20px; }
.record-nums { display: flex; flex-wrap: wrap; gap: 18px 36px; margin-bottom: 20px; }
.record-nums strong { display: block; font-size: clamp(36px, 4vw, 54px); font-weight: 650; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.record-nums span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.record-card > p:last-child { color: var(--muted); font-size: 15px; }
.chart-card { margin: 0; padding: 28px 28px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); position: relative; }
.chart-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.chart-title { font-weight: 600; font-size: 16px; }
.bar-chart { display: grid; gap: 7px; }
.bar-row { display: grid; grid-template-columns: minmax(130px, 38%) 1fr 48px; align-items: center; gap: 14px; font-size: 13.5px; padding: 3px 0; border-radius: 6px; cursor: default; }
.bar-row:hover, .bar-row:focus-visible { background: rgba(255, 255, 255, .04); }
.bar-label { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 12px; position: relative; }
.bar-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, var(--brass-lo), var(--brass-hi)); transition: width 1s var(--ease); }
html[dir="rtl"] .bar-fill { border-radius: 4px 0 0 4px; background: linear-gradient(270deg, var(--brass-lo), var(--brass-hi)); }
.bar-row.is-other .bar-fill { background: rgba(166, 196, 224, .35); }
.bar-value { text-align: end; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; padding: 10px 12px; border-radius: 10px; background: #0b2136; border: 1px solid var(--line-2); font-size: 13px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); min-width: 170px; }
.chart-tip strong { display: block; font-weight: 600; margin-bottom: 4px; }
.chart-tip span { color: var(--muted); display: block; }

/* ---------- Network ---------- */
.network { background: linear-gradient(180deg, var(--bg) 0%, #071a2c 50%, var(--bg) 100%); overflow: hidden; }
.network-stage { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(60% 70% at 55% 50%, rgba(30, 80, 128, .35), transparent 70%), #061626; overflow: hidden; }
.network-map-wrap { padding: 28px 20px 8px; }
.network-map { width: 100%; height: auto; }
.network-map .node { cursor: pointer; }
.network-map .node:focus-visible { outline: none; }
.network-map .node:focus-visible circle.core { stroke: #fff; stroke-width: 3; }
.network-map .arc { opacity: .35; transition: opacity .4s; }
.network-map .arc.is-active { opacity: 1; stroke-width: 2.2; }
.network-map .arc-flow { opacity: 0; transition: opacity .4s; }
.network-map .arc-flow.is-active { opacity: 1; animation: flow 2.4s linear infinite; }
@keyframes flow { from { stroke-dashoffset: 246; } to { stroke-dashoffset: 0; } }
.network-map .node:not(.hub) circle.core { transition: r .3s; }
.network-map .node.is-active circle.core { fill: #fff; }
.network-map .node .hit { fill: transparent; }
.network-panel { margin: 0 20px 20px; border-radius: var(--radius-lg); padding: 22px; display: grid; grid-template-columns: 210px minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
.market-tabs { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.market-tabs button { text-align: start; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.market-tabs button[aria-selected="true"] { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #1a1204; }
.market-tabs button:not([aria-selected="true"]):hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.market-name { font-size: 26px; font-weight: 650; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1.1; }
.market-role { color: var(--brass-hi); font-weight: 600; font-size: 14px; margin-top: 6px; }
.market-body { color: var(--muted); font-size: 15px; margin-top: 12px; }
.market-points { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.market-points li { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.market-detail { animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hub-note { display: flex; gap: 12px; align-items: flex-start; padding-inline-start: 24px; border-inline-start: 1px solid var(--line); align-self: stretch; font-size: 13.5px; color: var(--muted); }
.hub-note .node-dot { margin-top: 5px; flex: none; }
.hub-note strong { color: var(--text); }
.net-pillars { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.net-pillars li { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.net-pillars strong { display: block; font-weight: 600; margin-bottom: 6px; }
.net-pillars span { font-size: 14.5px; color: var(--muted); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.process-track { --progress: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.process-track::before, .process-track::after { content: ""; position: absolute; top: 27px; inset-inline-start: 28px; inset-inline-end: 28px; height: 2px; border-radius: 2px; background: var(--line-2); }
.process-track::after { background: linear-gradient(90deg, var(--brass), var(--brass-hi)); transform: scaleX(var(--progress)); transform-origin: left; transition: transform .2s linear; }
html[dir="rtl"] .process-track::after { transform-origin: right; }
.process-track li { position: relative; padding-top: 80px; }
.step-n { position: absolute; top: 0; inset-inline-start: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-stretch: 115%; font-size: 16px; color: var(--muted); background: var(--bg); border: 1px solid var(--line-2); z-index: 1; transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.process-track li.is-reached .step-n { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #1a1204; border-color: transparent; box-shadow: 0 0 0 6px rgba(201, 160, 78, .15); }
.process-track h3 { font-size: 24px; margin-bottom: 10px; }
.process-track p { color: var(--muted); font-size: 15px; max-width: 30ch; }

/* ---------- Quality ---------- */
.quality-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.quality-copy h2 { margin-bottom: 24px; }
.quality-copy > p:not(.kicker) { color: var(--muted); }
.check-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.check-list .ico { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
.cert-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cert-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.cert-thumb { display: block; height: 220px; overflow: hidden; background: #f4f4f2; position: relative; }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.cert-thumb:hover img { transform: scale(1.04); }
.cert-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cert-label { font-size: 13px; font-weight: 600; color: var(--brass-hi); }
.cert-body h3 { font-size: 22px; }
.cert-meta { margin: 8px 0 14px; display: grid; gap: 6px; }
.cert-meta div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.cert-meta dt { color: var(--dim); }
.cert-meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.status-ok { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.status-ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.cert-body .link-btn { margin-top: auto; align-self: flex-start; }

/* ---------- Brands ---------- */
.brands { padding-top: 0; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-grid span { display: grid; place-items: center; height: 92px; padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .94); transition: transform .3s var(--ease), box-shadow .3s; }
.logo-grid img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.logo-grid span:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(201, 160, 78, .5); }
.brand-more { margin-top: 24px; color: var(--muted); font-size: 15px; }
.brand-more span { color: var(--text); font-weight: 600; margin-inline-end: 6px; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(60% 50% at 80% 0%, rgba(30, 80, 128, .35), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 16px; }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: #0b1a29; }
.leaflet-host { height: 380px; width: 100%; background: #0b1a29; }
.map-switch { position: absolute; z-index: 500; bottom: 14px; inset-inline-start: 14px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(6, 18, 31, .8); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.map-switch button { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.map-switch button.is-active { background: var(--brass); color: #1a1204; }
.loc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.loc-card { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.loc-card .ico { color: var(--brass-hi); margin-top: 2px; }
.loc-card h3 { font-size: 17px; margin-bottom: 6px; font-stretch: 105%; }
.loc-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.direct-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.direct-lines a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-weight: 500; font-size: 15px; transition: border-color .2s, background .2s; min-width: 0; }
.direct-lines a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.direct-lines a:hover { border-color: rgba(232, 205, 138, .45); background: var(--panel); }
.direct-lines .ico { color: var(--brass-hi); width: 20px; height: 20px; }
.direct-lines a.wa .ico { color: var(--ok); }

/* Leaflet dark polish */
.leaflet-container { font-family: var(--font); background: #0b1a29; direction: ltr; }
html[dir="rtl"] .leaflet-popup-content { direction: rtl; text-align: right; }
.leaflet-control-attribution { background: rgba(6, 18, 31, .75) !important; color: var(--dim) !important; font-size: 10.5px; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.leaflet-bar a { background: rgba(6, 18, 31, .85); color: var(--text); border-color: var(--line-2); }
.leaflet-bar a:hover { background: var(--panel); color: var(--text); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: #0d2238; color: var(--text); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
.leaflet-popup-content { margin: 14px 16px; font-size: 13.5px; line-height: 1.5; }
.leaflet-popup-content strong { display: block; font-size: 15px; margin-bottom: 2px; }
.leaflet-popup-content a { color: var(--brass-hi); font-weight: 600; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.k-pin { width: 34px; height: 34px; position: relative; }
.k-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(232, 205, 138, .25); animation: halo 2.4s ease-out infinite; }
.k-pin span { position: absolute; inset: 8px; border-radius: 50%; background: var(--brass-hi); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.k-pin.wh span { border-radius: 4px; background: #fff; border-color: var(--brass); }

/* Form */
.rfq { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); position: sticky; top: 100px; }
.rfq-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.rfq-head h3 { font-size: 24px; }
.rfq-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.rfq-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
.rfq-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1px solid var(--line-2); }
.rfq-steps em { font-style: normal; }
.rfq-steps li.is-current, .rfq-steps li.is-done { color: var(--text); }
.rfq-steps li.is-current span, .rfq-steps li.is-done span { background: var(--brass); border-color: var(--brass); color: #1a1204; }
.rfq-step { border: 0; margin: 0; padding: 0; display: none; gap: 16px; min-width: 0; }
.rfq-step.is-active { display: grid; animation: fadeUp .35s var(--ease); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(3, 12, 22, .55); color: var(--text); font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e8cd8a' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px; }
html[dir="rtl"] .field select { background-position: left 14px center; }
.field select option { background: #0d2238; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px rgba(201, 160, 78, .16); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e2795f; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note a { color: var(--brass-hi); border-bottom: 1px solid rgba(232, 205, 138, .4); }
.form-error { font-size: 13.5px; color: #f0a08c; }
.step-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.rfq-assure { display: flex; gap: 10px; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.rfq-assure .ico { width: 18px; height: 18px; color: var(--ok); }

/* ---------- Footer ---------- */
.site-footer { background: #040d17; border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 32ch; }
.footer-grid > nav, .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--muted); }
.footer-grid strong { color: var(--text); font-weight: 600; margin-bottom: 4px; }
.footer-grid a:hover { color: var(--brass-hi); }
html[dir="rtl"] .footer-grid a[dir="ltr"] { text-align: end; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

.mobile-rfq { display: none; }

/* ---------- Dialogs ---------- */
.document-dialog { padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: #0d2238; color: var(--text); max-width: min(760px, 94vw); max-height: 92vh; }
.document-dialog::backdrop { background: rgba(2, 8, 15, .78); backdrop-filter: blur(6px); }
.dialog-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #0d2238; }
.dialog-bar h2 { font-size: 17px; font-stretch: 105%; }
.dialog-bar button { font-size: 26px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; }
.dialog-bar button:hover { background: rgba(255, 255, 255, .08); }
.document-dialog img { width: 100%; height: auto; }

/* Content stays visible until JavaScript enables scroll reveals. */
.reveal { opacity: 1; translate: none; }
.scroll-reveal-ready .reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .7s var(--ease), translate .7s var(--ease), transform .3s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.scroll-reveal-ready .reveal.is-visible,
.scroll-reveal-ready .reveal:focus-within { opacity: 1; translate: none; }
.scroll-reveal-ready .reveal:focus-within { transition-delay: 0ms; }
.hero-copy > *, .hero-card, .hero-stats { animation: heroIn 1s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-card { animation-delay: .5s; }
.hero-stats { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Status pages ---------- */
.status-page main { min-height: 100svh; display: grid; place-items: center; padding: 100px 24px; position: relative; background: radial-gradient(60% 60% at 60% 40%, rgba(30, 80, 128, .45), transparent 70%), var(--bg); }
.status-brand { position: absolute; top: 24px; inset-inline-start: 24px; }
.status-brand img { height: 42px; width: auto; }
.status-lang { position: absolute; top: 28px; inset-inline-end: 24px; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: "IBM Plex Sans Arabic", var(--font); }
.status-content { max-width: 640px; text-align: center; display: grid; gap: 20px; justify-items: center; }
.status-content h1 { font-size: clamp(32px, 4.6vw, 52px); }
.status-content > p { color: var(--muted); }
.status-content .eyebrow { color: var(--brass-hi); font-weight: 600; font-size: 14px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.status-phone a { color: var(--brass-hi); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; }
.button.primary { color: #1a1204; background: linear-gradient(180deg, var(--brass-hi), var(--brass) 70%); }
.button.ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 10px; }
    .hero-card { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cap-1 { grid-column: span 2; grid-row: span 1; min-height: 340px; }
  .network-panel { grid-template-columns: 180px minmax(0, 1fr); }
  .hub-note { grid-column: 1 / -1; border-inline-start: 0; padding-inline-start: 0; padding-top: 16px; border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav { position: fixed; top: 76px; inset-inline: 0; flex-direction: column; padding: 16px var(--gutter) 24px; background: rgba(6, 18, 31, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { padding: 14px 4px; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .header-actions { margin-inline-start: auto; }
  .about-top, .record-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; }
  .rfq { position: static; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div { padding: 20px 16px 16px 0 !important; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .hero-stats > div:nth-child(odd) { border-inline-end: 1px solid var(--line); }
  .hero-stats > div:nth-child(even) { padding-inline-start: 16px !important; }
  .mobile-rfq { display: flex; position: fixed; z-index: 40; bottom: 16px; inset-inline: 16px; justify-content: center; align-items: center; min-height: 52px; border-radius: 999px; font-weight: 600; color: #1a1204; background: linear-gradient(180deg, var(--brass-hi), var(--brass)); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .7); transform: translateY(140%); transition: transform .35s var(--ease); }
  .mobile-rfq.is-visible { transform: none; }
  .process-track { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-track::before, .process-track::after { display: none; }
  .net-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .lang-toggle { padding: 7px 11px; font-size: 13px; }
  .hero { padding-top: 116px; min-height: auto; }
  .hero-map { top: 70px; bottom: auto; inset-inline: -45%; height: 330px; opacity: .55; }
  .hero::after { background: linear-gradient(180deg, rgba(6, 18, 31, .3) 0%, rgba(6, 18, 31, .85) 60%, var(--bg) 100%); }
  html[dir="rtl"] .hero::after { background: linear-gradient(180deg, rgba(6, 18, 31, .3) 0%, rgba(6, 18, 31, .85) 60%, var(--bg) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats dd { font-size: 13px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(230px, auto); }
  .cap-1 { grid-column: auto; }
  .cap-1 .cap-range ul { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: repeat(3, 1fr); }
  .about-facts strong { font-size: 28px; }
  .mv-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { top: 0; bottom: 0; inset-inline-start: 6px; inset-inline-end: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--brass), rgba(201, 160, 78, .2)); }
  .timeline li { padding: 0 0 0 36px; }
  html[dir="rtl"] .timeline li { padding: 0 36px 0 0; }
  .why-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: minmax(110px, 42%) 1fr 40px; gap: 10px; font-size: 12.5px; }
  .chart-card { padding: 22px 18px; }
  .chart-card figcaption { flex-direction: column; align-items: flex-start; }
  .network-map-wrap { padding: 16px 0 0; }
  .network-panel { grid-template-columns: 1fr; margin: 0 12px 12px; padding: 18px; gap: 18px; }
  .market-tabs { grid-template-columns: 1fr 1fr; }
  .market-tabs button { text-align: center; }
  .network-map .node text { font-size: 17px; }
  .process-track { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .cert-cards { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid span { height: 72px; padding: 12px; }
  .loc-cards, .direct-lines, .field-row { grid-template-columns: 1fr; }
  .leaflet-host { height: 320px; }
  .region-map text { font-size: 19px; }
  .region-map .place.hq text, .region-map .place.wh text { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .scroll-reveal-ready .reveal { opacity: 1; translate: none; transition: none; }
}
@media (forced-colors: active) {
  .bar-fill { background: CanvasText; }
}


/* ===== Revision 2: simplified layout ===== */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 18, 31, .96) 0%, rgba(6, 18, 31, .82) 40%, rgba(6, 18, 31, .35) 75%, rgba(6, 18, 31, .25) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 18, 31, 0) 30%); }
html[dir="rtl"] .hero-shade { background: linear-gradient(270deg, rgba(6, 18, 31, .96) 0%, rgba(6, 18, 31, .82) 40%, rgba(6, 18, 31, .35) 75%, rgba(6, 18, 31, .25) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 18, 31, 0) 30%); }
html[dir="rtl"] .hero-photo { transform: scaleX(-1); }

.about-top { align-items: center; }
.about-intro .lead { color: var(--muted); }
.about-intro .mv-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
.about-intro .mv-card { padding: 20px 22px; border-radius: var(--radius); }
.about-intro .mv-card::after { display: none; }
.about-intro .mv-label { margin-bottom: 6px; font-size: 14px; }
.about-intro .mv-text { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.why { margin-top: clamp(56px, 7vw, 88px); }

.cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cap-item { background: var(--bg-2); padding: 28px 24px 30px; display: grid; align-content: start; gap: 10px; transition: background .25s; }
.cap-item:hover { background: var(--panel); }
.cap-item .ico { width: 28px; height: 28px; color: var(--brass-hi); margin-bottom: 8px; }
.cap-item h3 { font-size: 18px; font-stretch: 106%; line-height: 1.25; }
.cap-item p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.cap-note { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); font-size: 15.5px; }

.process-photo { margin: 0 0 48px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: clamp(200px, 26vw, 340px); position: relative; }
.process-photo img { width: 100%; height: 100%; object-fit: cover; }
.process-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 27, 45, .55), rgba(10, 27, 45, 0) 60%); }

.partners { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.partners .section-head { margin-bottom: 28px; }
.marquee-label { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 16px; }
.partners .marquee + .shell .marquee-label { margin-top: 40px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { gap: 16px; animation: marqueeLtr 45s linear infinite; }
.marquee-slow .marquee-track { animation-duration: 95s; }
html[dir="rtl"] .marquee-track { animation-name: marqueeLtr; }
@keyframes marqueeLtr { from { transform: translateX(calc(-50% - 8px)); } to { transform: translateX(0); } }
.logo-tile { flex: none; display: grid; place-items: center; width: 190px; height: 92px; padding: 16px 24px; border-radius: 14px; background: #f3f5f7; }
.logo-tile img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.brand-more { margin-top: 28px; }

.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.rfq { position: static; }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 26px; border: 1px solid var(--line-2); background: linear-gradient(90deg, rgba(8, 26, 44, .97) 30%, rgba(8, 26, 44, .78)), var(--photo) center / cover no-repeat; }
html[dir="rtl"] .contact-card { background: linear-gradient(270deg, rgba(8, 26, 44, .97) 30%, rgba(8, 26, 44, .78)), var(--photo) center / cover no-repeat; }
.contact-card-title { font-size: 18px; font-weight: 650; font-stretch: 108%; margin-bottom: 16px; }
.contact-card .direct-lines a { background: rgba(4, 13, 23, .6); backdrop-filter: blur(6px); }
.leaflet-host { height: 300px; }
.loc-rows { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.loc-row { display: flex; gap: 12px; padding: 18px 20px; font-size: 14px; color: var(--muted); }
.loc-row + .loc-row { border-inline-start: 1px solid var(--line); }
.loc-row .ico { color: var(--brass-hi); width: 20px; height: 20px; margin-top: 2px; }
.loc-row strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.loc-row span { display: block; line-height: 1.5; margin-bottom: 10px; }
.map-switch { bottom: auto; top: 14px; inset-inline-start: auto; inset-inline-end: 14px; }
.leaflet-tile.k-tiles, .k-tiles { filter: invert(1) hue-rotate(185deg) brightness(.82) contrast(.92) saturate(.55); }

@media (max-width: 1100px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero-shade { background: linear-gradient(180deg, rgba(6, 18, 31, .7) 0%, rgba(6, 18, 31, .88) 55%, var(--bg) 100%); }
  html[dir="rtl"] .hero-shade { background: linear-gradient(180deg, rgba(6, 18, 31, .7) 0%, rgba(6, 18, 31, .88) 55%, var(--bg) 100%); }
}
@media (max-width: 640px) {
  .cap-grid { grid-template-columns: 1fr; }
  .logo-tile { width: 150px; height: 76px; padding: 12px 16px; }
  .loc-rows { grid-template-columns: 1fr; }
  .loc-row + .loc-row { border-inline-start: 0; border-top: 1px solid var(--line); }
  .leaflet-host { height: 260px; }
  .process-photo { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
@media (max-width: 640px) {
  .map-switch { position: static; margin: 12px 12px 0; width: max-content; max-width: calc(100% - 24px); }
}


/* ===== Revision 3 ===== */
.hero { min-height: 92svh; }
.hero-copy { max-width: 700px; }

/* Capabilities hover/tap */
.cap-item { position: relative; overflow: hidden; cursor: pointer; outline-offset: -3px; }
.cap-hint { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--brass-hi); display: inline-flex; align-items: center; gap: 8px; }
.cap-hint::after { content: ""; width: 16px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.cap-item:hover .cap-hint::after { width: 28px; }
.cap-item .cap-range { position: absolute; inset: 0; padding: 22px 22px; background: linear-gradient(170deg, #143553, #0b1f33); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; overflow-y: auto; scrollbar-width: thin; }
.cap-item.is-open .cap-range { opacity: 1; visibility: visible; transform: none; }
.cap-item .range-title { font-size: 15px; font-weight: 650; color: var(--brass-hi); margin-bottom: 8px; }
.cap-item .cap-range ul { list-style: none; margin: 0; padding: 0; }
.cap-item .cap-range li { font-size: 13.5px; line-height: 1.35; padding: 6px 0 6px 16px; border-bottom: 1px solid var(--line); position: relative; }
html[dir="rtl"] .cap-item .cap-range li { padding: 6px 16px 6px 0; }
.cap-item .cap-range li::before { content: ""; position: absolute; inset-inline-start: 1px; top: 12px; width: 5px; height: 5px; border-radius: 1px; background: var(--brass); transform: rotate(45deg); }
.cap-grid { grid-auto-rows: minmax(250px, auto); }

/* Process: static, all steps shown at once */
.process-track.is-static::after { transform: scaleX(1); transition: none; }
.process-track.is-static .step-n { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #1a1204; border-color: transparent; box-shadow: 0 0 0 6px rgba(201, 160, 78, .12); }

/* Contact (reference layout) */
.contact .contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.12; }
.contact-lede { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.info-list { margin: 32px 0 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--dim); font-size: 14px; font-weight: 600; padding-top: 2px; }
.info-list dd { margin: 0; display: grid; gap: 4px; font-size: 16px; line-height: 1.5; }
.info-list dd a { font-weight: 600; width: fit-content; }
.info-list dd a:hover { color: var(--brass-hi); }
html[dir="rtl"] .info-list dd a[dir="ltr"] { text-align: right; }
.wa-btn .ico { color: var(--ok); width: 20px; height: 20px; }
.rfq { position: static; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: linear-gradient(165deg, #12304b, #0c2338); border: 1px solid rgba(232, 205, 138, .22); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); display: grid; gap: 16px; }
.rfq-title { font-size: 24px; margin-bottom: 4px; }
.rfq .form-note { text-align: center; }
.map-wrap { margin-top: clamp(48px, 6vw, 72px); position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); background: #0b1a29; }
.map-frame { display: block; width: 100%; height: 380px; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95) contrast(.95); }
.map-tabs { position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(6, 18, 31, .88); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.map-tabs button { padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.map-tabs button[aria-selected="true"] { background: var(--brass); color: #1a1204; }
.map-open { position: absolute; z-index: 2; bottom: 16px; inset-inline-end: 16px; background: rgba(6, 18, 31, .9); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); }

@media (max-width: 920px) {
  .contact .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .info-list > div { grid-template-columns: 1fr; gap: 4px; }
  .map-frame { height: 320px; }
  .cap-grid { grid-auto-rows: auto; }
  .cap-item { min-height: 210px; }
}


/* Capabilities: range dialog */
.cap-item { cursor: pointer; }
.cap-hint { background: none; border: 0; padding: 0; text-align: start; justify-self: start; cursor: pointer; }
.range-dialog { padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: #0d2238; color: var(--text); width: min(640px, calc(100vw - 32px)); max-height: min(80vh, 720px); }
.range-dialog::backdrop { background: rgba(2, 8, 15, .78); backdrop-filter: blur(6px); }
.range-dialog .dialog-bar h2 { font-size: 19px; color: var(--brass-hi); }
.range-body { padding: 8px 22px 22px; display: grid; gap: 20px; }
.range-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.range-list li { font-size: 15px; line-height: 1.4; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line); position: relative; }
html[dir="rtl"] .range-list li { padding: 10px 18px 10px 0; }
.range-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 17px; width: 6px; height: 6px; border-radius: 1px; background: var(--brass); transform: rotate(45deg); }
@media (max-width: 640px) { .range-list { grid-template-columns: 1fr; } .range-dialog { max-height: 85vh; } }

.footer-v2030 { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding: 24px 0 4px; border-top: 1px solid var(--line); }
.footer-v2030 img { width: 120px; height: auto; flex: none; }
.footer-v2030 p { color: var(--muted); font-size: 14.5px; max-width: 52ch; }
@media (max-width: 640px) { .footer-v2030 { flex-direction: column; align-items: flex-start; gap: 14px; } .footer-v2030 img { width: 104px; } }
.range-dialog { overflow: hidden; display: none; flex-direction: column; }
.range-dialog[open] { display: flex; }
.range-dialog .dialog-bar { flex: none; }
.range-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; min-height: 0; flex: 1 1 auto; }
.range-dialog { box-sizing: border-box; }
.range-body { width: 100%; box-sizing: border-box; }
.range-list { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.range-list li { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 640px) { .range-list { grid-template-columns: minmax(0, 1fr); } }
.range-dialog { width: min(640px, calc(100vw - 32px)); max-width: none; }
.range-body .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 12px; }
.footer-grid > div.footer-v2030 { flex-direction: row; align-items: center; gap: 24px; color: var(--muted); }
.dialog-bar { gap: 12px; }
.dialog-bar h2 { min-width: 0; }
.dialog-bar button { flex: none; }
@media (max-width: 640px) { .footer-grid > div.footer-v2030 { flex-direction: column; align-items: flex-start; gap: 14px; } }
.footer-grid > div.footer-v2030 { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.footer-grid > div.footer-v2030 p { margin-inline: auto; }
@media (max-width: 640px) { .footer-grid > div.footer-v2030 { align-items: center; } }

/* Hero: labelled sourcing map (replaces the network box) */
.hero-inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 24px; }
.hero-visual { position: relative; margin-inline-end: calc(var(--gutter) * -1); }
.hero-visual .hero-map { position: static; inset: auto; width: 100%; height: auto; opacity: 1; display: block; overflow: visible; }
.net-map .node text.lbl { font-size: 13px; font-weight: 600; fill: var(--brass-hi); stroke-width: 5px; }
.net-map .node text.hub-lbl { fill: #fff; font-weight: 700; font-size: 14px; }
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin: 8px calc(var(--gutter) * -0.5) 0; max-width: 720px; }
}
@media (max-width: 640px) {
  .hero-visual .hero-map { position: static; inset: auto; width: 100%; height: auto; opacity: 1; }
  .net-map .node text.lbl { font-size: 17px; }
  .net-map .node text.hub-lbl { font-size: 18px; }
}
@media (min-width: 1101px) { .hero h1 { font-size: clamp(36px, 3.9vw, 58px); } }
.net-map .node text.lbl { font-size: 14.5px; }
.net-map .node text.hub-lbl { font-size: 15.5px; }

/* ===== Revision 4: Khalood-specific imagery and procurement trust layout ===== */
.site-nav a {
  padding-inline: 11px;
}

.hero {
  min-height: 100svh;
  padding-top: clamp(112px, 12vh, 148px);
  justify-content: flex-start;
  background: #06121f;
}

.hero-photo {
  object-position: center right;
  filter: saturate(0.95) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 31, 0.98) 0%, rgba(6, 18, 31, 0.93) 31%, rgba(6, 18, 31, 0.52) 58%, rgba(6, 18, 31, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 18, 31, 0.08) 30%, rgba(6, 18, 31, 0) 100%);
}

html[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(6, 18, 31, 0.98) 0%, rgba(6, 18, 31, 0.93) 31%, rgba(6, 18, 31, 0.52) 58%, rgba(6, 18, 31, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(6, 18, 31, 0.08) 30%, rgba(6, 18, 31, 0) 100%);
}

.hero-glow {
  background:
    radial-gradient(44% 42% at 75% 42%, rgba(201, 160, 78, 0.18), transparent 72%),
    radial-gradient(40% 46% at 48% 50%, rgba(30, 80, 128, 0.28), transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.75;
}

.hero-inner {
  grid-template-columns: minmax(0, 760px) minmax(120px, 1fr);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(40px, 4.7vw, 72px);
}

.hero-lede {
  max-width: 690px;
  color: #c9d5df;
}

.hero-stats {
  margin-top: clamp(30px, 4.4vw, 54px);
  padding: 18px 22px;
  border: 1px solid rgba(232, 205, 138, 0.22);
  border-radius: 22px;
  background: rgba(6, 18, 31, 0.68);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.hero-stats > div {
  min-width: 0;
}

.hero-stats dt {
  flex-wrap: wrap;
  letter-spacing: 0;
}

.hero-stats dt.stat-standard {
  font-size: 26px;
  font-stretch: 100%;
  white-space: nowrap;
}

html[dir="rtl"] .hero-stats dt.stat-standard {
  justify-content: flex-end;
}

.capabilities {
  background:
    radial-gradient(52% 45% at 84% 10%, rgba(30, 80, 128, 0.32), transparent 70%),
    linear-gradient(180deg, #08192a 0%, var(--bg-2) 100%);
}

.capabilities .section-head {
  max-width: 860px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  grid-auto-rows: 1fr;
}

.cap-item {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(18, 48, 73, 0.92), rgba(8, 25, 42, 0.98));
  box-shadow: 0 26px 80px -54px rgba(0, 0, 0, 0.95);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.cap-item:hover,
.cap-item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(232, 205, 138, 0.48);
  box-shadow: 0 32px 88px -52px rgba(0, 0, 0, 1);
}

.cap-photo {
  position: relative;
  height: clamp(178px, 15vw, 220px);
  margin: 0;
  overflow: hidden;
  background: #081a2c;
}

.cap-photo::after {
  content: "";
  position: absolute;
  inset: 46% 0 0;
  background: linear-gradient(0deg, rgba(6, 18, 31, 0.9), rgba(6, 18, 31, 0));
}

.cap-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cap-item:hover .cap-photo img {
  transform: scale(1.035);
}

.cap-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 10px;
  padding: 22px 22px 24px;
}

.cap-body .ico {
  width: 30px;
  height: 30px;
  margin: -42px 0 8px;
  padding: 8px;
  border: 1px solid rgba(232, 205, 138, 0.28);
  border-radius: 12px;
  background: rgba(6, 18, 31, 0.72);
  color: var(--brass-hi);
  box-sizing: content-box;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cap-item h3 {
  font-size: 19px;
  line-height: 1.18;
  font-stretch: 108%;
}

.cap-item p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.cap-hint {
  align-self: end;
  margin-top: 8px;
}

.network .section-head {
  margin-bottom: 32px;
}

.partners .marquee {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  overflow: visible;
  mask-image: none;
  -webkit-mask-image: none;
}

.partners .marquee-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  animation: none;
  transform: none;
}

.partners .logo-tile {
  width: auto;
  min-width: 0;
  height: 92px;
}

html[dir="rtl"] .partners .marquee-track {
  animation: none;
  transform: none;
}

.network-stage {
  box-shadow: 0 28px 90px -64px rgba(0, 0, 0, 0.95);
}

.network-map-wrap {
  padding-top: clamp(18px, 3vw, 32px);
}

.network-map {
  min-height: 320px;
}

.network-map .dots {
  stroke: rgba(150, 185, 220, 0.42);
}

.network-panel {
  background: linear-gradient(150deg, rgba(13, 34, 56, 0.88), rgba(8, 24, 40, 0.94));
}

.process-photo {
  box-shadow: 0 28px 90px -62px rgba(0, 0, 0, 0.9);
}

.process-photo img {
  object-position: center;
}

@media (max-width: 1120px) {
  .site-nav a {
    padding-inline: 8px;
    font-size: 13.5px;
  }

  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners .marquee-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    padding: 6px 18px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 112px;
  }

  .hero-photo {
    object-position: 68% center;
  }

  .hero-shade,
  html[dir="rtl"] .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 18, 31, 0.48) 0%, rgba(6, 18, 31, 0.88) 48%, var(--bg) 100%),
      linear-gradient(90deg, rgba(6, 18, 31, 0.84), rgba(6, 18, 31, 0.36));
  }

  .hero h1,
  html[lang="ar"] .hero h1 {
    font-size: 38px;
    font-stretch: 100%;
    letter-spacing: 0;
  }

  .hero-stats {
    border-radius: 18px;
  }

  .hero-stats dt.stat-standard {
    font-size: 18px;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .cap-photo {
    height: 220px;
  }

  .partners .marquee-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners .logo-tile {
    height: 80px;
    padding: 12px 14px;
  }

  .network-map {
    min-height: 250px;
  }
}

@media (max-width: 360px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats > div:nth-child(odd) {
    border-inline-end: 0;
  }

  .hero-stats > div:nth-child(even) {
    padding-inline-start: 0 !important;
  }

  .hero-stats > div:last-child {
    border-bottom: 0;
  }
}

/* ===== Revision 5: reliable partner logo marquee in both languages ===== */
.partners .marquee {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  overflow: hidden;
  direction: ltr;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partners .marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  grid-template-columns: none;
  animation: partnersMarqueeLtr 45s linear infinite;
  transform: translateX(calc(-50% - 8px));
}

.partners .marquee-slow .marquee-track {
  animation-duration: 95s;
}

.partners .marquee:hover .marquee-track {
  animation-play-state: paused;
}

.partners .logo-tile {
  flex: 0 0 auto;
  width: 190px;
  min-width: 190px;
  height: 92px;
}

html[dir="rtl"] .partners .marquee-track {
  animation: partnersMarqueeRtl 45s linear infinite;
  transform: translateX(0);
}

html[dir="rtl"] .partners .marquee-slow .marquee-track {
  animation-duration: 95s;
}

@keyframes partnersMarqueeLtr {
  from { transform: translateX(calc(-50% - 8px)); }
  to { transform: translateX(0); }
}

@keyframes partnersMarqueeRtl {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

@media (max-width: 640px) {
  .partners .marquee {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0;
    overflow: hidden;
    direction: ltr;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  .partners .marquee-track,
  html[dir="rtl"] .partners .marquee-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    grid-template-columns: none;
    animation: partnersMarqueeLtr 38s linear infinite;
    transform: translateX(calc(-50% - 7px));
  }

  html[dir="rtl"] .partners .marquee-track {
    animation-name: partnersMarqueeRtl;
    transform: translateX(0);
  }

  .partners .logo-tile {
    display: grid;
    width: 156px;
    min-width: 156px;
    height: 76px;
    padding: 12px 16px;
  }

  .partners .logo-tile[aria-hidden="true"] {
    display: grid;
  }

  .partners .marquee-slow .marquee-track {
    animation-duration: 76s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners .marquee {
    width: 100%;
    max-width: calc(var(--shell) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .partners .marquee-track,
  html[dir="rtl"] .partners .marquee-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    animation: none;
    transform: none;
  }

  .partners .logo-tile {
    width: auto;
    min-width: 0;
  }

  .partners .logo-tile[aria-hidden="true"] {
    display: none;
  }
}
