/* ==========================================================================
   MAPSA Group — corporate design system v2
   Visual language of global TIC leaders (inspection, testing, certification):
   white corporate chrome, deep navy, one amber accent, square geometry,
   generous whitespace, large photography. RTL-first with logical properties.
   ========================================================================== */

:root {
	--navy-950: #06111c;
	--navy-900: #0a1826;
	--navy-800: #0e2236;
	--navy-700: #15304a;
	--navy-600: #1f4263;
	--amber: #ffaa06;
	--amber-600: #f09a00;
	--amber-700: #a86400;
	--amber-50: #fff6e3;
	--grey-25: #fafbfc;
	--grey-50: #f4f6f8;
	--grey-100: #eaedf1;
	--line: #dde2e8;
	--line-strong: #c7cfd8;
	--text: #122030;
	--muted: #586677;
	--ok: #16a34a;
	--bad: #dc2626;
	--c-accent: var(--amber);

	--f-sans: "Vazirmatn", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--f-latin: "Inter", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1360px;
	--gutter: clamp(18px, 4vw, 48px);
	--sec: clamp(80px, 9vw, 144px);
	--r: 2px;
	--util-h: 36px;
	--bar-h: 78px;
	--header-h: calc(var(--util-h) + var(--bar-h));
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--shadow: 0 18px 40px -22px rgba(10, 24, 38, .35);
	--shadow-lg: 0 40px 80px -30px rgba(10, 24, 38, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--f-sans); font-size: 16px; line-height: 1.85; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body:not(.rtl) { font-family: var(--f-latin); line-height: 1.65; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--amber-700); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; color: var(--navy-900); font-weight: 700; line-height: 1.35; }
body:not(.rtl) h1, body:not(.rtl) h2, body:not(.rtl) h3 { line-height: 1.12; letter-spacing: -.022em; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--navy-900); }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 999; background: var(--amber); color: var(--navy-900); padding: 8px 16px; }
.ltr-inline { direction: ltr; unicode-bidi: isolate; display: inline-block; font-family: var(--f-latin); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .icon-arrow, [dir="rtl"] .icon-chev { transform: scaleX(-1); }
[dir="rtl"] .icon-arrow.flip { transform: none; }
body:not(.rtl) .icon-arrow.flip { transform: scaleX(-1); }

.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding-block: var(--sec); position: relative; }
.section-sm { padding-block: calc(var(--sec) * .55); }
.bg-grey { background: var(--grey-50); }
.bg-navy { background: var(--navy-900); color: #b9c5d2; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-deep { background: var(--navy-950); color: #9fb0c1; }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-contours { isolation: isolate; }
.bg-contours::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/contours.svg) center / cover no-repeat; opacity: .08; pointer-events: none; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-700); }
.rtl .eyebrow { letter-spacing: 0; font-size: .86rem; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--amber); }
.bg-navy .eyebrow, .bg-deep .eyebrow, .on-dark .eyebrow { color: var(--amber); }
.h-1 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.h-2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--muted); }
.bg-navy .lead, .bg-deep .lead, .on-dark .lead { color: #a8b7c6; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .h-1 { margin: 0; }
.sec-head-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sec-head-aside p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.bg-navy .sec-head-aside p, .bg-deep .sec-head-aside p { color: #a8b7c6; }
.sec-head.is-stacked { grid-template-columns: 1fr; max-width: 820px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border: 1.5px solid transparent; border-radius: var(--r); font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(5px); }
[dir="rtl"] .btn:hover .icon-arrow { transform: scaleX(-1) translateX(5px); }
.btn-primary { background: var(--amber); color: var(--navy-900); }
.btn-primary:hover { background: var(--navy-900); color: #fff; }
.bg-navy .btn-primary:hover, .bg-deep .btn-primary:hover, .on-dark .btn-primary:hover { background: #fff; color: var(--navy-900); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--amber); color: var(--navy-900); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn-lg { min-height: 58px; padding: 0 34px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-900); }
.link-arrow .icon { width: 30px; height: 30px; padding: 7px; border: 1.5px solid currentColor; border-radius: 50%; transition: all .3s var(--ease); }
.link-arrow:hover { color: var(--navy-900); }
.link-arrow:hover .icon { background: var(--amber); border-color: var(--amber); color: var(--navy-900); }
.bg-navy .link-arrow, .bg-deep .link-arrow, .on-dark .link-arrow { color: #fff; }
.link-muted { color: var(--muted); font-size: .9rem; font-weight: 600; }
.link-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
.link-back .icon-arrow { transform: scaleX(-1); }
[dir="rtl"] .link-back .icon-arrow { transform: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: #fff; transition: box-shadow .35s var(--ease); }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(10, 24, 38, .45); }
.site-header.is-scrolled .utility { margin-top: calc(var(--util-h) * -1); }
.site-main { padding-top: var(--header-h); }
.utility { height: var(--util-h); background: var(--navy-900); color: #9fb0c1; font-size: .78rem; transition: margin .35s var(--ease); }
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-links { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.utility-links a { display: inline-flex; align-items: center; gap: 6px; color: #c7d2dd; font-weight: 500; }
.utility-links a:hover { color: var(--amber); }
.utility-links .icon { width: 14px; height: 14px; }
.lang-switch { display: flex; gap: 2px; padding-inline-start: 16px; border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.lang-switch a { padding: 1px 8px; font-family: var(--f-latin); font-weight: 700; font-size: .72rem; letter-spacing: .06em; color: #c7d2dd; }
.lang-switch a.is-current { background: var(--amber); color: var(--navy-900) !important; }
.oil-ticker { display: flex; align-items: center; gap: 20px; overflow: hidden; white-space: nowrap; min-width: 0; }
.oil-ticker .tick { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-latin); }
.oil-ticker .tick b { color: #fff; font-weight: 600; font-family: var(--f-sans); }
.oil-ticker em { display: inline-flex; align-items: center; font-style: normal; font-size: .72rem; }
.oil-ticker em .icon { width: 12px; height: 12px; }
.tick-up em, .tick-up .market-change { color: #4ade80; }
.tick-down em, .tick-down .market-change { color: #f87171; }

.mainbar { height: var(--bar-h); border-bottom: 1px solid var(--line); background: #fff; position: relative; }
.mainbar-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; }
.brand img { height: 48px; width: auto; }
.brand .brand-light { display: none; }
.primary-nav { flex: 1; height: 100%; display: flex; justify-content: center; }
.primary-nav > .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; height: 100%; }
.primary-nav > .menu > li { display: flex; align-items: center; }
.primary-nav > .menu > li.menu-item-has-children:not(.has-mega) { position: relative; }
.primary-nav > .menu > li > a { position: relative; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 15px; font-weight: 600; font-size: .95rem; color: var(--navy-900); }
.primary-nav > .menu > li > a::after { content: ""; position: absolute; inset-inline: 15px; bottom: -1px; height: 3px; background: var(--amber); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.primary-nav > .menu > li:hover > a::after, .primary-nav > .menu > li.is-open > a::after, .primary-nav > .menu > li.current-menu-item > a::after, .primary-nav > .menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav > .menu > li.menu-item-has-children > a::before { content: ""; order: 2; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .55; }
.submenu-toggle { display: none; }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 12px 0; position: absolute; top: 100%; inset-inline-start: 0; min-width: 260px; background: #fff; border-top: 3px solid var(--amber); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .25s var(--ease); z-index: 5; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 9px 24px; font-size: .92rem; font-weight: 500; color: var(--text); }
.primary-nav .sub-menu a:hover { background: var(--grey-50); color: var(--navy-900); }

.mega { position: absolute; top: 100%; inset-inline: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(10, 24, 38, .5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility .25s; z-index: 4; }
.primary-nav li.has-mega:hover > .mega, .primary-nav li.has-mega:focus-within > .mega, .primary-nav li.has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.primary-nav li.has-mega > .sub-menu { display: none; }
.mega-inner { display: grid; grid-template-columns: 270px minmax(0, 1fr) 300px; gap: 48px; padding-block: 44px 48px; }
.mega-intro h3 { font-size: 1.6rem; margin-bottom: 10px; }
.mega-intro p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 36px; }
.mega-col-title { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .95rem; color: var(--navy-900); }
.mega-col-title .icon { width: 22px; height: 22px; color: var(--amber-700); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mega-col ul a { display: block; padding: 5px 0; font-size: .9rem; color: var(--muted); transition: padding .2s, color .2s; }
.mega-col ul a:hover { color: var(--navy-900); padding-inline-start: 6px; }
.mega-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; padding: 28px; color: #fff; background: var(--navy-800); overflow: hidden; isolation: isolate; }
.mega-feature .media { position: absolute !important; inset: 0; z-index: -2; }
.mega-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 38, .1), rgba(10, 24, 38, .92)); }
.mega-feature h4 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.mega-feature p { color: #c6d1dc; font-size: .9rem; margin-bottom: 16px; }
.mega-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.mega-unit { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.mega-unit:hover { border-color: var(--amber); background: var(--grey-25); color: inherit; }
.mega-unit-logo { height: 44px; display: flex; align-items: center; margin-bottom: 8px; }
.mega-unit-logo img { max-height: 44px; width: auto; }
.mega-unit-logo span { font-family: var(--f-latin); font-weight: 800; letter-spacing: .08em; font-size: .8rem; color: var(--amber-700); }
.mega-unit strong { color: var(--navy-900); }
.mega-unit small { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.mega-industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mega-industry { display: flex; gap: 14px; align-items: flex-start; padding: 16px; transition: background .2s; }
.mega-industry:hover { background: var(--grey-50); color: inherit; }
.mega-industry .icon { width: 38px; height: 38px; padding: 9px; background: var(--amber-50); color: var(--amber-700); }
.mega-industry strong { display: block; color: var(--navy-900); font-size: .95rem; }
.mega-industry small { color: var(--muted); font-size: .8rem; line-height: 1.6; display: block; }

.bar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 0; background: transparent; color: var(--navy-900); border-radius: var(--r); }
.icon-btn:hover { background: var(--grey-50); }
.icon-btn .icon { width: 22px; height: 22px; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.mobile-extra { display: none; }
.search-panel { position: absolute; top: 100%; inset-inline: 0; background: var(--navy-900); padding-block: 36px; box-shadow: var(--shadow-lg); }
.search-panel[hidden] { display: none; }
.search-panel form { display: flex; gap: 12px; max-width: 880px; margin-inline: auto; }
.search-panel input { flex: 1; height: 60px; padding: 0 22px; border: 0; border-radius: var(--r); font-size: 1.1rem; background: #fff; }
.search-panel .btn { min-height: 60px; }

/* ---------- Home hero ---------- */
.hero { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 640px; max-height: 920px; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.hero-slide.is-active .hero-media img, .hero-slide.is-active .hero-media video { transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 17, 28, .92) 0%, rgba(6, 17, 28, .62) 45%, rgba(6, 17, 28, .15) 100%), linear-gradient(0deg, rgba(6, 17, 28, .75), rgba(6, 17, 28, 0) 40%); }
[dir="rtl"] .hero-media::after { background: linear-gradient(270deg, rgba(6, 17, 28, .92) 0%, rgba(6, 17, 28, .62) 45%, rgba(6, 17, 28, .15) 100%), linear-gradient(0deg, rgba(6, 17, 28, .75), rgba(6, 17, 28, 0) 40%); }
.hero-media.is-empty { background: radial-gradient(110% 90% at 85% 15%, var(--navy-600) 0%, var(--navy-900) 62%); }
[dir="rtl"] .hero-media.is-empty { background: radial-gradient(110% 90% at 15% 15%, var(--navy-600) 0%, var(--navy-900) 62%); }
.hero-media.is-empty::before { content: ""; position: absolute; inset: 0; background: url(../img/contours.svg) center / cover; opacity: .14; }
.hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 160px; }
.hero-content > * { max-width: 780px; }
.hero-slide .eyebrow { color: var(--amber); }
.hero-title { color: #fff; font-size: clamp(2.3rem, 4.8vw, 4.3rem); font-weight: 700; line-height: 1.24; margin-bottom: 22px; }
body:not(.rtl) .hero-title { line-height: 1.06; }
.hero-text { color: rgba(255, 255, 255, .8); font-size: clamp(1.02rem, 1.35vw, 1.2rem); max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slide .hero-content > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: .36s; }
.hero-controls { position: absolute; z-index: 3; bottom: 136px; inset-inline: 0; }
.hero-controls .container { display: flex; align-items: center; gap: 24px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { position: relative; width: 64px; height: 26px; padding: 0; border: 0; background: none; }
.hero-dots button::before, .hero-dots button i { content: ""; position: absolute; inset-inline: 0; top: 12px; height: 2px; background: rgba(255, 255, 255, .28); }
.hero-dots button i { background: var(--amber); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .hero-dots button i { transform-origin: right; }
.hero-dots button.is-active i { animation: heroProgress var(--hero-delay, 7s) linear forwards; }
.hero.is-paused .hero-dots button.is-active i { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero-count { font-family: var(--f-latin); font-size: .85rem; color: rgba(255, 255, 255, .7); letter-spacing: .08em; }
.hero-count b { color: #fff; }
.hero-arrows { display: flex; gap: 8px; margin-inline-start: auto; }
.hero-arrows button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; transition: all .2s; }
.hero-arrows button:hover { background: #fff; color: var(--navy-900); }
.hero-arrows .icon { width: 20px; height: 20px; }
.finder { position: absolute; z-index: 4; inset-inline: 0; bottom: 0; }
.finder-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; background: #fff; box-shadow: var(--shadow-lg); }
.finder-form { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; align-items: stretch; }
.finder-label { display: flex; flex-direction: column; justify-content: center; padding: 0 30px; background: var(--navy-800); color: #fff; min-width: 200px; }
.finder-label strong { font-size: 1.05rem; }
.finder-label small { color: #9fb0c1; font-size: .8rem; }
.finder-field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 18px 28px; border-inline-end: 1px solid var(--line); }
.finder-field span { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.rtl .finder-field span { letter-spacing: 0; font-size: .8rem; }
.finder-field select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 4px 0 0; padding-inline-end: 24px; font-weight: 700; font-size: 1rem; color: var(--navy-900); cursor: pointer; width: 100%; }
.finder-field::after { content: ""; position: absolute; inset-inline-end: 28px; bottom: 32px; width: 8px; height: 8px; border-right: 2px solid var(--navy-900); border-bottom: 2px solid var(--navy-900); transform: rotate(45deg); pointer-events: none; }
.finder-form .btn { height: 100%; min-height: 96px; padding: 0 36px; }
.finder-quick { display: flex; }
.finder-quick a { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 26px; min-width: 180px; border-inline-start: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--navy-900); }
.finder-quick a .icon { width: 24px; height: 24px; color: var(--amber-700); }
.finder-quick a:hover { background: var(--grey-50); }

/* ---------- Intro & figures ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.intro-grid .h-1 { margin: 0; }
.intro-grid .lead { margin-bottom: 28px; }
.figures { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.figure { padding: 32px 28px 0; border-inline-start: 1px solid var(--line); }
.figure:first-child { border-inline-start: 0; padding-inline-start: 0; }
.figure-num { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-latin); font-size: clamp(2.4rem, 3.8vw, 3.6rem); font-weight: 300; line-height: 1; color: var(--navy-900); letter-spacing: -.04em; direction: ltr; }
.lang-fa .figure-num { font-family: var(--f-sans); font-weight: 400; letter-spacing: 0; }
[dir="rtl"] .figure-num { justify-content: flex-end; }
.figure-num small { font-size: .42em; font-weight: 700; color: var(--amber-700); letter-spacing: 0; }
.figure-label { display: block; margin-top: 14px; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.stat-num { display: inline-flex; align-items: baseline; gap: 3px; font-family: var(--f-latin); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--navy-900); direction: ltr; }
.lang-fa .stat-num { font-family: var(--f-sans); font-weight: 400; }
.stat-num small { color: var(--amber-700); font-weight: 700; font-size: .45em; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(0, 0, 0, .1); }
.stat-label { display: block; margin-top: 10px; color: var(--muted); font-size: .9rem; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: #fff; }
.pillar { position: relative; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; color: #fff; background: var(--navy-800); overflow: hidden; isolation: isolate; }
.pillar:hover { color: #fff; }
.pillar-media { position: absolute !important; inset: 0; z-index: -2; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 17, 28, .12) 0%, rgba(6, 17, 28, .88) 75%); transition: background .5s var(--ease); }
.pillar:hover::after { background: linear-gradient(180deg, rgba(10, 24, 38, .6) 0%, rgba(10, 24, 38, .97) 58%); }
.pillar:hover .pillar-media img { transform: scale(1.06); }
.pillar-num { position: absolute; top: 30px; inset-inline-end: 36px; font-family: var(--f-latin); font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.pillar-icon { width: 50px; height: 50px; padding: 12px; margin-bottom: 20px; background: var(--amber); color: var(--navy-900); }
.pillar h3 { color: #fff; font-size: 1.45rem; margin-bottom: 8px; }
.pillar p { color: #c3cfda; font-size: .95rem; margin: 0; }
.pillar-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease-out), opacity .4s var(--ease), margin .4s; }
.pillar:hover .pillar-list, .pillar:focus-visible .pillar-list { max-height: 240px; opacity: 1; margin-top: 18px; }
.pillar-list li { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: #e1e8ef; }
.pillar-list li::before { content: ""; width: 6px; height: 6px; background: var(--amber); flex: none; }
.pillar-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 700; font-size: .9rem; color: var(--amber); }

/* ---------- Industries ---------- */
.industries-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.industries-track::-webkit-scrollbar { display: none; }
.industry-tile { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4.2; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-800); }
.industry-tile:hover { color: #fff; }
.industry-tile .media { position: absolute !important; inset: 0; z-index: -2; }
.industry-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.industry-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 17, 28, 0) 25%, rgba(6, 17, 28, .92)); }
.industry-tile:hover img { transform: scale(1.06); }
.industry-tile > .icon { position: absolute; top: 26px; inset-inline-start: 28px; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.industry-tile-num { position: absolute; top: 34px; inset-inline-end: 28px; font-family: var(--f-latin); font-size: .78rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.industry-tile h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.industry-tile p { font-size: .88rem; color: #c3cfda; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: all .5s var(--ease-out); }
.industry-tile:hover p { max-height: 140px; opacity: 1; margin-top: 4px; }
.track-nav { display: flex; gap: 8px; }
.track-nav button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: #fff; color: var(--navy-900); transition: all .2s; }
.track-nav button:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---------- Case slider ---------- */
.case-slide { display: none; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: 560px; background: var(--navy-900); }
.case-slide.is-active { display: grid; animation: caseIn .7s var(--ease-out); }
@keyframes caseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.case-slide-media { position: relative; overflow: hidden; min-height: 320px; }
.case-slide-media .media { position: absolute !important; inset: 0; }
.case-slide-body { padding: clamp(32px, 4vw, 60px); display: flex; flex-direction: column; color: #b9c5d2; }
.case-slide-body .tag { align-self: flex-start; margin-bottom: 20px; }
.case-slide-body h3 { color: #fff; font-size: clamp(1.5rem, 2.3vw, 2.1rem); margin-bottom: 16px; line-height: 1.4; }
.case-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 8px 0 28px; padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .12); }
.case-meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.rtl .case-meta dt { letter-spacing: 0; font-size: .8rem; }
.case-meta dd { margin: 4px 0 0; color: #fff; font-weight: 600; font-size: .95rem; }
.case-slide-body .link-arrow { margin-top: auto; }
.case-controls { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.case-count { font-family: var(--f-latin); font-weight: 700; color: var(--navy-900); min-width: 64px; }
.case-count span { color: var(--muted); font-weight: 500; }
.case-tabs { display: flex; gap: 6px; flex: 1; }
.case-tabs button { flex: 1; max-width: 90px; height: 3px; padding: 0; border: 0; background: var(--line-strong); }
.case-tabs button.is-active { background: var(--amber); }

/* ---------- Technology ---------- */
.tech-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.tech-tablist { display: grid; gap: 2px; margin-top: 32px; }
.tech-tablist button { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 0; background: rgba(255, 255, 255, .05); color: #b9c5d2; text-align: start; transition: all .25s var(--ease); }
.tech-tablist button span { font-family: var(--f-latin); font-weight: 700; font-size: 1.08rem; color: #fff; }
.tech-tablist button small { font-size: .82rem; color: #8ea1b4; }
.tech-tablist button:hover { background: rgba(255, 255, 255, .09); }
.tech-tablist button[aria-selected="true"] { background: var(--amber); }
.tech-tablist button[aria-selected="true"] span, .tech-tablist button[aria-selected="true"] small { color: var(--navy-900); }
.tech-panel { animation: caseIn .5s var(--ease-out); }
.tech-panel[hidden] { display: none; }
.tech-screen { background: #fff; box-shadow: var(--shadow-lg); }
.tech-screen-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--grey-100); direction: ltr; font-family: var(--f-latin); font-size: .78rem; color: var(--muted); }
.tech-screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.tech-screen-bar i:first-child { background: var(--amber); }
.tech-screen-bar span { margin-left: 8px; }
.tech-screen .media { aspect-ratio: 16 / 10; }
.tech-screen .media img { object-fit: cover; object-position: top; }
.tech-panel-text { margin-top: 28px; }
.tech-panel-text p { color: #a8b7c6; }

/* ---------- Credentials ---------- */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cred { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; background: #fff; min-height: 180px; transition: background .2s; }
a.cred:hover { background: var(--grey-25); color: inherit; }
.cred-seal { width: 44px; height: 44px; margin-bottom: 12px; display: grid; place-items: center; color: var(--amber-700); border: 1px solid var(--amber); }
.cred-seal img { width: 100%; height: 100%; object-fit: contain; }
.cred-seal .icon { width: 22px; height: 22px; }
.cred-code { font-family: var(--f-latin); font-weight: 800; font-size: 1.1rem; color: var(--navy-900); letter-spacing: -.01em; }
.cred-title { font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.6; }
.cred-issuer { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.memberships { margin-top: 48px; }
.memberships h3 { font-size: 1rem; margin-bottom: 16px; }
.member-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.member-list li { padding: 8px 16px; border: 1px solid var(--line); background: #fff; font-size: .86rem; }

/* ---------- Clients & companies ---------- */
.client-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.client { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 136px; padding: 26px 28px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); transition: background .25s; }
.client:hover { background: var(--grey-50); }
.client strong { font-size: 1.04rem; color: var(--navy-900); line-height: 1.55; }
.client small { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-700); }
.rtl .client small { letter-spacing: 0; font-size: .8rem; }
.companies { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.company { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 32px 20px; background: #fff; min-height: 200px; transition: background .25s; }
.company:hover { background: var(--grey-25); color: inherit; }
.company-logo { height: 64px; display: grid; place-items: center; }
.company-logo img { max-height: 64px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .8; transition: all .3s; }
.company:hover .company-logo img { filter: none; opacity: 1; }
.company-logo span { font-family: var(--f-latin); font-weight: 800; letter-spacing: .1em; color: var(--navy-900); font-size: .95rem; }
.company strong { color: var(--navy-900); font-size: .98rem; }
.company small { color: var(--muted); font-size: .82rem; line-height: 1.6; }

/* ---------- Insights ---------- */
.news-layout { display: grid; gap: 40px; }
.news-layout.has-market { grid-template-columns: minmax(0, 2.2fr) minmax(290px, 1fr); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.news-layout.has-market .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-layout.has-market .post-grid > :nth-child(3) { display: none; }
.post-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.post-card-media .media { aspect-ratio: 16 / 10; }
.post-card-media img { transition: transform .9s var(--ease-out); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding-top: 20px; }
.post-card time { font-size: .8rem; color: var(--muted); font-weight: 600; }
.post-card h3 { font-size: 1.15rem; line-height: 1.55; margin-top: 8px; }
.post-card:hover h3 a { color: var(--amber-700); }
.market { background: var(--navy-900); color: #b9c5d2; padding: 28px; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.market-title { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.market-title .icon { color: var(--amber); }
.market-cards { display: grid; gap: 1px; background: rgba(255, 255, 255, .08); }
.market-card { background: var(--navy-900); padding: 16px 2px; }
.market-top { display: flex; justify-content: space-between; font-size: .84rem; }
.market-name { color: #fff; font-weight: 700; }
.market-unit { color: #6f8398; font-family: var(--f-latin); font-size: .74rem; }
.market-price { font-family: var(--f-latin); font-size: 1.9rem; font-weight: 300; color: #fff; line-height: 1.3; letter-spacing: -.02em; }
.market-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.market-change { display: inline-flex; align-items: center; gap: 2px; font-family: var(--f-latin); font-weight: 700; font-size: .84rem; color: #9fb0c1; }
.market-change .icon { width: 14px; height: 14px; }
.spark { width: 110px; height: 30px; color: var(--amber); }
.tick-down .spark { color: #f87171; }
.market-note { font-size: .74rem; color: #6f8398; margin: 14px 0 0; }

/* ---------- Split panels ---------- */
.split-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.split-panel { position: relative; min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(32px, 5vw, 72px); color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-800); }
.split-panel .media { position: absolute !important; inset: 0; z-index: -2; }
.split-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.split-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 17, 28, .15), rgba(6, 17, 28, .9)); }
.split-panel:hover img { transform: scale(1.04); }
.split-panel h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.5rem); max-width: 540px; }
.split-panel p { color: #c3cfda; max-width: 480px; }
.split-panel .eyebrow { color: var(--amber); }
.split-panel .check-list { margin: 8px 0 8px; }
.split-panel .link-arrow { color: #fff; margin-top: 8px; }

/* ---------- Media placeholder ---------- */
.media { position: relative; overflow: hidden; background: var(--grey-100); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-ph { background: linear-gradient(145deg, var(--navy-600) 0%, var(--navy-900) 80%); display: grid; place-items: center; }
.media-ph .ph-grid { position: absolute; inset: 0; background: url(../img/contours.svg) center / cover; opacity: .16; }
.media-ph .ph-strata { display: none; }
.media-ph .ph-icon { position: relative; width: 52px; height: 52px; color: var(--amber); opacity: .9; stroke-width: 1.1; }
.pillar .media-ph .ph-icon, .industry-tile .media-ph .ph-icon, .split-panel .media-ph .ph-icon, .mega-feature .media-ph .ph-icon, .project-card .media-ph .ph-icon, .case-slide .media-ph .ph-icon { display: none; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; padding-block: clamp(80px, 9vw, 130px) clamp(48px, 5vw, 72px); background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero.is-compact { min-height: 360px; }
.page-hero.is-tall { min-height: min(76vh, 700px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img, .page-hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-media .page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 17, 28, .93), rgba(6, 17, 28, .6) 60%, rgba(6, 17, 28, .3)); }
[dir="rtl"] .page-hero.has-media .page-hero-bg::after { background: linear-gradient(270deg, rgba(6, 17, 28, .93), rgba(6, 17, 28, .6) 60%, rgba(6, 17, 28, .3)); }
.page-hero:not(.has-media) .page-hero-bg { background: radial-gradient(90% 120% at 85% 0%, var(--navy-600), var(--navy-900) 65%); }
[dir="rtl"] .page-hero:not(.has-media) .page-hero-bg { background: radial-gradient(90% 120% at 15% 0%, var(--navy-600), var(--navy-900) 65%); }
.page-hero:not(.has-media) .page-hero-bg::before { content: ""; position: absolute; inset: 0; background: url(../img/contours.svg) center / cover; opacity: .13; }
.page-hero-inner { position: relative; width: 100%; }
.page-title { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.9rem); max-width: 960px; margin-bottom: 18px; }
.page-lead { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 740px; margin: 0; }
.page-hero .hero-actions { margin-top: 34px; }
.page-hero .eyebrow { color: var(--amber); }
.hero-meta { display: flex; flex-wrap: wrap; margin: 44px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero-meta div { padding: 20px 36px 0 0; min-width: 170px; }
[dir="rtl"] .hero-meta div { padding: 20px 0 0 36px; }
.hero-meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.rtl .hero-meta dt { letter-spacing: 0; font-size: .8rem; }
.hero-meta dd { margin: 4px 0 0; font-weight: 600; }
.unit-badge { display: inline-flex; align-items: center; justify-content: center; background: #fff; padding: 10px 16px; margin-bottom: 24px; }
.unit-badge img { max-height: 56px; width: auto; }
.crumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.crumbs a:hover { color: var(--amber); }
.product-hero .crumbs ol { color: var(--muted); }

/* ---------- Content layouts ---------- */
.layout-side { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.side-nav { position: sticky; top: calc(var(--bar-h) + 28px); }
.side-nav-title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.rtl .side-nav-title { letter-spacing: 0; font-size: .84rem; }
.side-nav nav { display: grid; border-inline-start: 1px solid var(--line); }
.side-nav nav a { display: flex; gap: 12px; align-items: center; padding: 10px 18px; margin-inline-start: -1px; border-inline-start: 2px solid transparent; color: var(--muted); font-weight: 600; font-size: .94rem; }
.side-nav nav a i { font-style: normal; font-family: var(--f-latin); font-size: .74rem; color: var(--amber-700); }
.side-nav nav a:hover, .side-nav nav a.is-active { color: var(--navy-900); border-inline-start-color: var(--amber); }
.side-cta { margin-top: 32px; padding: 26px; background: var(--navy-900); color: #b9c5d2; }
.side-cta h4 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.side-cta p { font-size: .88rem; }
.content-blocks { display: grid; gap: clamp(48px, 6vw, 80px); }
.block-title { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-side { display: grid; gap: 16px; position: sticky; top: calc(var(--bar-h) + 24px); }
.side-card { border: 1px solid var(--line); padding: 28px; background: #fff; }
.side-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.02rem; margin-bottom: 16px; }
.side-card h3 .icon { color: var(--amber-700); }
.side-card-soft { background: var(--grey-50); border-color: transparent; }
.side-card-navy { background: var(--navy-900); color: #b9c5d2; border: 0; }
.side-card-navy h3 { color: #fff; }
.side-card-navy h3 .icon { color: var(--amber); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; margin-top: .3em; color: var(--amber-700); flex: none; stroke-width: 2.2; }
.check-list.is-compact { gap: 8px; font-size: .93rem; }
.check-list.is-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.check-list.is-cols li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.bg-navy .check-list li, .on-dark .check-list li, .side-card-navy .check-list li, .split-panel .check-list li { color: #d7e0e8; }
.bg-navy .check-list .icon, .on-dark .check-list .icon, .side-card-navy .check-list .icon, .split-panel .check-list .icon { color: var(--amber); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.gallery-item { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.05); }
.entry-content { font-size: 1.06rem; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.7rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.entry-content a { color: var(--amber-700); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.3em; }
.entry-content blockquote { margin: 1.5em 0; padding: 8px 24px; border-inline-start: 3px solid var(--amber); font-size: 1.15rem; color: var(--navy-900); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.lead-block { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.8; color: var(--navy-900); font-weight: 500; }
body:not(.rtl) .lead-block { line-height: 1.5; }
.empty-state { text-align: center; padding: 64px 24px; color: var(--muted); border: 1px dashed var(--line-strong); }
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--amber-700); }
.feature-media { position: relative; }
.feature-media .media { aspect-ratio: 4 / 5; }
.feature-media-badge { position: absolute; bottom: -1px; inset-inline-start: -1px; padding: 26px 30px; background: var(--amber); color: var(--navy-900); }
.feature-media-badge b { display: block; font-family: var(--f-latin); font-size: 2.6rem; font-weight: 300; line-height: 1; }
.lang-fa .feature-media-badge b { font-family: var(--f-sans); }
.feature-media-badge span { font-weight: 700; font-size: .9rem; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { padding: 28px; background: #fff; display: flex; gap: 16px; }
.value i { font-style: normal; font-family: var(--f-latin); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--amber-700); flex: none; width: 36px; }
.value p { margin: 0; font-size: .96rem; }
.org-chart { display: grid; gap: 16px; justify-items: center; }
.org-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.org-node { padding: 14px 22px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--navy-900); font-size: .92rem; text-align: center; min-width: 170px; }
.org-node.is-top { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.org-node.is-mid { background: var(--amber); border-color: var(--amber); }
.org-line { width: 1px; height: 22px; background: var(--line-strong); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.service-card:hover { border-color: var(--navy-900); box-shadow: var(--shadow); color: inherit; }
.service-card .media { aspect-ratio: 16 / 10; }
.service-card .media img { transition: transform .9s var(--ease-out); }
.service-card:hover .media img { transform: scale(1.05); }
.service-card-body { padding: 26px 26px 76px; flex: 1; }
.service-card-area { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-700); margin-bottom: 8px; }
.rtl .service-card-area { letter-spacing: 0; font-size: .8rem; }
.service-title { font-size: 1.16rem; margin-bottom: 8px; line-height: 1.5; }
.service-text { color: var(--muted); font-size: .93rem; margin: 0; }
.service-more { position: absolute; bottom: 24px; inset-inline-start: 26px; width: 38px; height: 38px; display: grid; place-items: center; border: 1.5px solid var(--navy-900); border-radius: 50%; color: var(--navy-900); transition: all .3s; }
.service-more .icon { width: 18px; height: 18px; }
.service-card:hover .service-more { background: var(--amber); border-color: var(--amber); }
.area-block { padding-block: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); }
.area-block:first-child { border-top: 0; padding-top: 0; }
.area-block-head > .icon { width: 50px; height: 50px; padding: 12px; background: var(--navy-900); color: var(--amber); margin-bottom: 20px; }
.area-block-head h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.area-block-head p { color: var(--muted); }
.area-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); align-content: start; }
.area-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy-900); transition: all .2s; }
.area-list a .icon { width: 20px; height: 20px; color: var(--amber-700); }
.area-list a:hover { padding-inline-start: 12px; color: var(--amber-700); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.product-card:hover { border-color: var(--navy-900); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 4 / 3; background: var(--grey-50); }
.product-media img { transition: transform .9s var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 1.15rem; margin-bottom: 6px; }
.product-sub { color: var(--muted); font-size: .92rem; }
.product-actions { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.product-actions .link-arrow { font-size: .9rem; }
.product-actions .link-arrow .icon { width: 26px; height: 26px; padding: 6px; }
.tag { display: inline-block; padding: 3px 10px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; background: var(--amber); color: var(--navy-900); }
.tag-soft { background: var(--amber-50); color: var(--amber-700); }
.tag-live { background: rgba(255, 255, 255, .14); color: #fff; }
.tag-live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; margin-inline-end: 6px; vertical-align: middle; }
.product-body .tag { align-self: flex-start; margin-bottom: 14px; }
.project-card { position: relative; display: block; overflow: hidden; color: #fff; aspect-ratio: 4 / 4.3; isolation: isolate; background: var(--navy-800); }
.project-card:hover { color: #fff; }
.project-media { position: absolute !important; inset: 0; z-index: -2; }
.project-media img { transition: transform 1.2s var(--ease-out); }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 17, 28, .05) 25%, rgba(6, 17, 28, .92)); }
.project-body { position: absolute; inset: auto 0 0; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.project-title { font-size: 1.2rem; font-weight: 700; line-height: 1.45; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: rgba(255, 255, 255, .75); }
.project-meta span { display: inline-flex; align-items: center; gap: 5px; }
.project-meta .icon { width: 15px; height: 15px; color: var(--amber); }
.project-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--amber); }
.project-excerpt { display: none; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.filter-item[hidden] { display: none; }
.unit-list { display: grid; gap: 2px; background: var(--line); }
.unit-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; }
.unit-row:nth-child(even) .unit-row-media { order: 2; }
.unit-row-media .media { height: 100%; min-height: 440px; }
.unit-row-body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.unit-row-logo { height: 56px; display: flex; align-items: center; margin-bottom: 22px; }
.unit-row-logo img { max-height: 56px; width: auto; }
.unit-row-logo span { font-family: var(--f-latin); font-weight: 800; letter-spacing: .12em; color: var(--amber-700); }
.unit-row h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.unit-row-tag { color: var(--amber-700); font-weight: 700; }
.unit-row .check-list { margin: 18px 0 28px; }
.unit-row .btn-row { margin-top: 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.chip-btn { padding: 14px 20px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; font-weight: 700; font-size: .92rem; color: var(--muted); }
.chip-btn:hover { color: var(--navy-900); }
.chip-btn.is-active { color: var(--navy-900); border-bottom-color: var(--amber); }

/* Case study page */
.case-challenge, .case-solution, .case-result { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: clamp(28px, 4vw, 44px); background: var(--grey-50); }
.case-solution { background: var(--navy-900); color: #b9c5d2; }
.case-solution .block-title { color: #fff; }
.case-result { background: var(--amber-50); }
.case-icon { display: grid; place-items: center; width: 56px; height: 56px; background: #fff; color: var(--amber-700); }
.case-solution .case-icon { background: rgba(255, 170, 6, .14); color: var(--amber); }
.case-icon .icon { width: 26px; height: 26px; }
.case-block p { font-size: 1.05rem; margin: 0; }
.case-block .block-title { margin-bottom: 12px; }
.case-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.case-links h3 { font-size: 1rem; }
.tag-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-links a { padding: 8px 14px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.tag-links a:hover { border-color: var(--amber); color: var(--navy-900); background: var(--amber-50); }
.case-quote { margin: 0; padding: clamp(32px, 5vw, 56px); background: var(--navy-900); color: #fff; }
.case-quote > .icon { width: 44px; height: 44px; color: var(--amber); margin-bottom: 16px; }
.case-quote blockquote { margin: 0 0 24px; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.8; font-weight: 500; }
.case-quote figcaption { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.project-pager { border-top: 1px solid var(--line); }
.project-pager-inner { display: grid; grid-template-columns: 1fr 1fr; }
.project-pager a { padding: 40px 0; display: flex; flex-direction: column; gap: 4px; }
.project-pager a small { color: var(--muted); font-weight: 600; }
.project-pager a span { font-size: 1.2rem; font-weight: 700; color: var(--navy-900); }
.pager-next { text-align: end; grid-column: 2; }

/* Product single */
.product-hero { padding-block: 40px clamp(56px, 6vw, 96px); background: var(--grey-50); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.product-gallery-main { background: #fff; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-main .media { width: 100%; height: 100%; }
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.product-thumbs button { width: 78px; height: 62px; padding: 0; border: 2px solid transparent; background: #fff; }
.product-thumbs button.is-active { border-color: var(--amber); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-name { font-size: clamp(2rem, 3.4vw, 3rem); }
.product-subtitle { font-size: 1.1rem; color: var(--amber-700); font-weight: 700; }
.product-info .check-list { margin-top: 22px; }
.product-maker { margin-top: 24px; color: var(--muted); font-size: .92rem; }
.product-maker a { color: var(--navy-900); font-weight: 700; border-bottom: 1px solid var(--amber); }
.sub-nav { position: sticky; top: var(--bar-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .sub-nav { top: calc(var(--bar-h) + 32px); }
.sub-nav .container { display: flex; gap: 4px; overflow-x: auto; }
.sub-nav a { padding: 18px 16px; font-weight: 700; font-size: .9rem; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.sub-nav a:hover { color: var(--navy-900); border-color: var(--amber); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--navy-900); }
.spec-table th, .spec-table td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; font-weight: 600; color: var(--muted); }
.industry-list { display: flex; flex-wrap: wrap; gap: 8px; }
.industry { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); font-weight: 600; }
.industry .icon { color: var(--amber-700); }
.video-frame { margin-top: 32px; background: #000; }
.video-frame video { width: 100%; }

/* ---------- Forms ---------- */
.form-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--amber); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card-title { font-size: 1.3rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field-label { font-size: .86rem; font-weight: 700; color: var(--navy-900); }
.field-label em { color: var(--amber-700); font-style: normal; }
.mapsa-form input[type="text"], .mapsa-form input[type="email"], .mapsa-form input[type="tel"], .mapsa-form input[type="password"], .mapsa-form input[type="url"], .mapsa-form select, .mapsa-form textarea, #mapsa-login input[type="text"], #mapsa-login input[type="password"] { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; font-size: .98rem; }
.mapsa-form textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.mapsa-form input:focus, .mapsa-form select:focus, .mapsa-form textarea:focus, #mapsa-login input:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(255, 170, 6, .35); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; background: #fff; }
.chip input:checked + span { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.file-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px; border: 1.5px dashed var(--line-strong); background: var(--grey-25); text-align: center; cursor: pointer; transition: all .2s; }
.file-drop:hover, .file-drop.is-drag { border-color: var(--amber); background: var(--amber-50); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .icon { width: 28px; height: 28px; color: var(--amber-700); }
.file-drop-text { font-weight: 600; font-size: .92rem; }
.file-drop small { color: var(--muted); font-size: .8rem; }
.field.check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--muted); }
.field.check input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--navy-900); flex: none; }
.field.check a { color: var(--navy-900); text-decoration: underline; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form-errors { padding: 14px 18px; background: #fef2f2; color: #991b1b; border-inline-start: 3px solid var(--bad); margin-bottom: 20px; font-size: .93rem; }
.form-errors ul { margin: 0; padding-inline-start: 1.2em; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success-icon .icon { width: 32px; height: 32px; stroke-width: 2.4; }
.form-success strong { font-size: 1.2rem; color: var(--navy-900); }
.form-success.is-inline { text-align: start; padding: 14px 18px; background: #f0fdf4; border-inline-start: 3px solid var(--ok); color: #166534; margin-bottom: 20px; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 20px auto 0; }
.search-form input { flex: 1; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-strong); }
.search-form button { width: 52px; border: 0; background: var(--navy-900); color: #fff; display: grid; place-items: center; flex: none; }
.process { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: s; display: grid; }
.process li { counter-increment: s; position: relative; padding: 18px 0; padding-inline-start: 60px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.process li::before { content: counter(s, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 18px; font-family: var(--f-latin); font-weight: 300; font-size: 1.8rem; line-height: 1; color: var(--amber-700); }
.process b { color: var(--navy-900); }
.process span { color: var(--muted); font-size: .93rem; }
.contact-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contact-list .icon { width: 42px; height: 42px; padding: 11px; background: var(--grey-50); color: var(--amber-700); }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: clamp(56px, 7vw, 96px); }
.contact-card { padding: 32px; background: #fff; }
.contact-card > .icon { width: 44px; height: 44px; padding: 11px; background: var(--amber-50); color: var(--amber-700); margin-bottom: 18px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-size: .93rem; }
.unit-contacts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; }
.unit-contacts li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.unit-contacts li strong { flex-basis: 100%; color: var(--navy-900); }
.map-embed iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.6); }
.job-list { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.job-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: all .2s; }
.job-item:hover { padding-inline-start: 12px; color: inherit; }
.job-item strong { display: block; color: var(--navy-900); }
.job-item span { font-size: .85rem; color: var(--muted); }
.job-item .icon { color: var(--amber-700); }

/* Verify certificate */
.verify-box { background: var(--navy-900); color: #b9c5d2; padding: clamp(28px, 4vw, 52px); }
.verify-box h2 { color: #fff; }
.verify-box form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; margin-top: 24px; }
.verify-box input { min-height: 56px; padding: 0 18px; border: 0; background: #fff; color: var(--text); font-size: 1rem; }
.verify-result { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ok); }
.verify-result.is-bad { border-top-color: var(--bad); }
.verify-result-head { display: flex; align-items: center; gap: 14px; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.verify-result-head .icon { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: #dcfce7; color: var(--ok); }
.verify-result.is-bad .verify-result-head .icon { background: #fee2e2; color: var(--bad); }
.verify-result-head strong { font-size: 1.15rem; color: var(--navy-900); }
.verify-result dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.verify-result dl div { padding: 18px 28px; border-bottom: 1px solid var(--line); }
.verify-result dt { font-size: .78rem; font-weight: 700; color: var(--muted); }
.verify-result dd { margin: 4px 0 0; font-weight: 600; color: var(--navy-900); }

/* ---------- Badges & portal ---------- */
.mapsa-badge { display: inline-block; padding: 3px 12px; font-size: .78rem; font-weight: 700; line-height: 1.7; white-space: nowrap; background: #eee; color: #333; }
.mapsa-badge.s-new { background: #fff3d6; color: #8a5a00; }
.mapsa-badge.s-referred { background: #e5efff; color: #1d4ed8; }
.mapsa-badge.s-review { background: #efe6ff; color: #6d28d9; }
.mapsa-badge.s-approved { background: #dcfce7; color: #15803d; }
.mapsa-badge.s-rejected { background: #fee2e2; color: #b91c1c; }
.mapsa-badge.s-done { background: #e5e7eb; color: #374151; }
.portal-wrap { padding-block: clamp(40px, 6vw, 88px); background: var(--grey-50); min-height: 70vh; }
.portal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.portal-side { background: var(--navy-900); color: #b9c5d2; padding: 24px; position: sticky; top: calc(var(--bar-h) + 24px); }
.portal-user { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.portal-user strong { display: block; color: #fff; }
.avatar { width: 46px; height: 46px; background: var(--amber); color: var(--navy-900); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: none; }
.level-badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 8px; background: rgba(255, 255, 255, .1); }
.level-representative { background: var(--amber); color: var(--navy-900); }
.portal-nav { display: grid; gap: 2px; }
.portal-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; color: #c7d2dd; font-weight: 600; font-size: .93rem; }
.portal-nav a .icon { width: 18px; height: 18px; }
.portal-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.portal-nav a.is-active { background: var(--amber); color: var(--navy-900); }
.portal-main { background: #fff; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); min-width: 0; }
.portal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.portal-title { font-size: 1.5rem; margin-bottom: 24px; }
.portal-head .portal-title { margin: 0; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.data-table th, .data-table td { padding: 14px 12px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th { font-size: .78rem; color: var(--muted); font-weight: 700; }
.data-table tr:hover td { background: var(--grey-25); }
.data-table .link-arrow { font-size: .88rem; }
.data-table .link-arrow .icon { width: 24px; height: 24px; padding: 5px; }
.portal-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1100px; margin-inline: auto; }
.portal-auth-intro h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.portal-auth-intro .check-list { margin-top: 28px; }
.notice-inline { display: flex; align-items: center; gap: 8px; margin-top: 24px; padding: 12px 16px; background: var(--amber-50); color: #7a5200; font-weight: 600; font-size: .92rem; }
.portal-auth-card { background: #fff; padding: 36px; box-shadow: var(--shadow); border-top: 3px solid var(--amber); }
.portal-auth-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0 14px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tabs a { text-align: center; padding: 12px; font-weight: 700; font-size: .92rem; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.auth-tabs a.is-active { color: var(--navy-900); border-color: var(--amber); }
#mapsa-login p { margin: 0 0 16px; }
#mapsa-login label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 8px; color: var(--navy-900); }
#mapsa-login .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
#mapsa-login .button-primary { width: 100%; min-height: 52px; border: 0; border-radius: var(--r); background: var(--amber); color: var(--navy-900); font-weight: 700; }
#mapsa-login .button-primary:hover { background: var(--navy-900); color: #fff; }
.doc-list { display: grid; border-top: 1px solid var(--line); }
.doc-item { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.doc-item > .icon { width: 38px; height: 38px; padding: 9px; background: var(--amber-50); color: var(--amber-700); }
.doc-item > div { flex: 1; min-width: 0; }
.doc-item strong { display: block; }
.doc-item small { color: var(--muted); }
.doc-item.is-locked { opacity: .6; }
.doc-item .btn .icon { width: 16px; height: 16px; }
.req-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.req-card-head h2 { font-size: 1.5rem; margin: 0; }
.req-card-head .eyebrow { margin-bottom: 8px; }
.req-steps { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.req-steps li { position: relative; padding-top: 34px; font-size: .85rem; font-weight: 600; color: var(--muted); text-align: center; }
.req-steps li span { position: absolute; top: 0; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); z-index: 1; }
.req-steps li::before { content: ""; position: absolute; top: 10px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.req-steps li:first-child::before { display: none; }
[dir="rtl"] .req-steps li::before { left: 50%; right: -50%; }
.req-steps li.is-done { color: var(--navy-900); }
.req-steps li.is-done span { background: var(--amber); border-color: var(--amber); }
.req-steps li.is-done::before { background: var(--amber); }
.req-steps li.is-current span { box-shadow: 0 0 0 5px rgba(255, 170, 6, .25); }
.req-message { padding: 20px; background: var(--grey-50); margin-bottom: 20px; }
.req-files { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.req-files a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.req-files .icon { width: 16px; height: 16px; color: var(--amber-700); }
.req-timeline-title { font-size: 1.05rem; }
.req-timeline { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.req-timeline li { position: relative; padding: 0 0 20px; padding-inline-start: 24px; }
.req-timeline li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); border: 2px solid #fff; }
.req-timeline time { font-size: .8rem; color: var(--muted); font-weight: 600; }
.req-timeline p { margin: 2px 0 0; white-space: pre-line; }
.track-form { margin-bottom: 32px; }
.track-form ~ .req-card { background: #fff; border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #8ea1b4; font-size: .93rem; }
.footer-cta { background: var(--amber); color: var(--navy-900); }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.footer-cta h2 { color: var(--navy-900); font-size: clamp(1.6rem, 3vw, 2.5rem); margin: 0; max-width: 720px; }
.footer-cta p { margin: 8px 0 0; color: rgba(10, 24, 38, .75); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.footer-main { padding-block: clamp(56px, 6vw, 88px) 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr; gap: 40px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 330px; line-height: 1.9; }
.footer-col h3 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.rtl .footer-col h3 { letter-spacing: 0; font-size: .96rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--amber); margin-top: .3em; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; color: #c7d2dd; }
.socials a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-900); }
.socials .icon { width: 18px; height: 18px; }
.form-split-info .socials a { color: var(--navy-900); border-color: var(--line); }
.footer-accred { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-accred span { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .14); font-family: var(--f-latin); font-size: .74rem; font-weight: 700; color: #c7d2dd; letter-spacing: .04em; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
.footer-bottom p { margin: 0; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.credit a { color: #e2e8ee; font-weight: 700; }
.credit a:hover { color: var(--amber); }
.to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 48px; height: 48px; background: var(--navy-900); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .3s var(--ease); z-index: 50; }
.to-top:hover { background: var(--amber); color: var(--navy-900); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 56px; }
.pagination .page-numbers { min-width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; }
.pagination .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }
.post-nav a { display: inline-flex; align-items: center; gap: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 17, 28, .94); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: caseIn .25s var(--ease); }
.lightbox img { max-height: 90vh; width: auto; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.mega-inner { grid-template-columns: 230px minmax(0, 1fr); }
	.mega-feature { display: none; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
	.footer-grid .footer-col-services { display: none; }
	.finder-quick a { min-width: 140px; padding: 0 18px; }
	.primary-nav > .menu > li > a { padding: 0 11px; font-size: .92rem; }
	.industries-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 1120px) {
	:root { --bar-h: 70px; }
	.hide-md { display: none !important; }
	.nav-toggle { display: grid; }
	.primary-nav { position: fixed; top: var(--header-h); inset-inline: 0; bottom: 0; height: auto; background: var(--navy-900); padding: 12px var(--gutter) 40px; flex-direction: column; justify-content: flex-start; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease-out), visibility .45s; }
	[dir="rtl"] .primary-nav { transform: translateX(-100%); }
	.admin-bar .primary-nav { top: calc(var(--header-h) + 32px); }
	.site-header.is-scrolled .primary-nav { top: var(--bar-h); }
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle .i-open { display: none; }
	.nav-open .nav-toggle .i-close { display: block; }
	.nav-open { overflow: hidden; }
	.primary-nav > .menu { flex-direction: column; height: auto; }
	.primary-nav > .menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.primary-nav > .menu > li > a { flex: 1; height: auto; padding: 18px 0; color: #fff; font-size: 1.1rem; }
	.primary-nav > .menu > li > a::after, .primary-nav > .menu > li.menu-item-has-children > a::before { display: none; }
	.submenu-toggle { display: grid; place-items: center; width: 46px; height: 46px; background: none; border: 0; color: #fff; }
	.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.primary-nav .sub-menu, .mega { position: static; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 16px; min-width: 0; }
	.primary-nav li.is-open > .sub-menu, .primary-nav li.has-mega.is-open > .mega { display: block; }
	.primary-nav li.has-mega > .sub-menu { display: none !important; }
	.primary-nav .sub-menu a { color: #b9c5d2; padding: 8px 0; }
	.primary-nav .sub-menu a:hover { background: none; color: #fff; }
	.mega-inner { display: block; padding: 0; }
	.mega-intro, .mega-feature { display: none; }
	.mega-cols, .mega-units, .mega-industries { grid-template-columns: 1fr; gap: 12px; }
	.mega-col-title { color: #fff; border-color: rgba(255, 255, 255, .1); }
	.mega-col ul a { color: #b9c5d2; }
	.mega-unit, .mega-industry { border: 0; padding: 8px 0; background: none !important; }
	.mega-unit-logo, .mega-industry .icon, .mega-unit small, .mega-industry small { display: none; }
	.mega-unit strong, .mega-industry strong { color: #fff; font-weight: 500; }
	.mobile-extra { display: grid; gap: 10px; margin-top: 28px; }
	.lang-switch-lg { border: 0; padding: 0; justify-content: center; margin-top: 8px; }
	.lang-switch-lg a { color: #fff; padding: 6px 14px; font-size: .9rem; }
	.finder-inner { grid-template-columns: 1fr; }
	.finder-quick { display: none; }
	.intro-grid, .tech-layout, .split, .form-split, .layout-side, .news-layout.has-market, .product-hero-grid, .area-block, .sec-head { grid-template-columns: 1fr; }
	.side-nav, .split-side, .market, .portal-side { position: static; }
	.side-nav nav { display: flex; overflow-x: auto; border: 0; border-bottom: 1px solid var(--line); }
	.side-nav nav a { border: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
	.side-nav nav a.is-active { border-bottom-color: var(--amber); }
	.side-cta { display: none; }
	.pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.figure:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
	.card-grid, .card-grid.cols-4, .project-grid, .post-grid-3, .companies { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.client-wall, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.portal, .portal-auth { grid-template-columns: 1fr; }
	.portal-nav { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
	.case-slide { grid-template-columns: 1fr; }
	.unit-row { grid-template-columns: 1fr; }
	.unit-row:nth-child(even) .unit-row-media { order: 0; }
	.unit-row-media .media { min-height: 300px; }
	.industries-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 860px) {
	.finder-form { grid-template-columns: 1fr 1fr; }
	.finder-label { display: none; }
	.finder-form .btn { grid-column: 1 / -1; min-height: 56px; }
	.finder-field { padding: 14px 18px; }
	.finder-field::after { bottom: 24px; inset-inline-end: 18px; }
	.hero-content { padding-bottom: 210px; }
	.hero-controls { bottom: 196px; }
	.split-panels { grid-template-columns: 1fr; }
	.split-panel { min-height: 440px; }
	.footer-cta-inner { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.two-col, .case-links, .check-list.is-cols, .area-list, .verify-result dl, .values { grid-template-columns: 1fr; }
	.verify-box form { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.hide-sm { display: none !important; }
	.utility-links a span { display: none; }
	.oil-ticker .tick:nth-child(n+3), .oil-ticker em { display: none; }
	.brand img { height: 40px; }
	.bar-actions > .btn { display: none; }
	.hero { min-height: 680px; }
	.hero-arrows { display: none; }
	.pillars, .card-grid, .card-grid.cols-4, .card-grid.cols-2, .project-grid, .post-grid, .post-grid-3, .contact-cards, .client-wall, .companies, .news-layout.has-market .post-grid { grid-template-columns: 1fr !important; }
	.figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.figure { border-inline-start: 0 !important; padding-inline: 0 !important; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
	.form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.hero-meta div { min-width: 50%; }
	.req-steps li { font-size: .72rem; }
	.project-pager-inner { grid-template-columns: 1fr; }
	.pager-next { grid-column: 1; text-align: start; }
	.pillar { min-height: 340px; }
	.pillar-list { display: none; }
	.industries-track { grid-auto-columns: 80%; }
	.case-challenge, .case-solution, .case-result { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media print {
	.site-header, .site-footer, .to-top { display: none !important; }
	.site-main { padding-top: 0; }
	.page-hero { min-height: 0; padding: 24px 0; background: none; color: #000; }
	.page-title { color: #000; }
}
@media (max-width: 640px) {
	.cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cred { padding: 20px 16px; min-height: 0; }
	.cred-code { font-size: .95rem; }
}
