/* ==========================================================================
   MAPSA Group — v3 “Energy” layer (English-first)
   White corporate chrome, centred logo, uppercase headings, pill buttons,
   holographic 3D scenes and cinematic scroll motion.
   Loaded after main.css and overrides its tokens.
   ========================================================================== */

:root {
	--navy-950: #0b0c0e;
	--navy-900: #16181b;
	--navy-800: #1f2226;
	--navy-700: #2b2f35;
	--navy-600: #3b4048;
	--holo-900: #01050c;
	--holo-800: #041224;
	--holo-600: #0b2d52;
	--text: #22252a;
	--muted: #72777f;
	--grey-25: #fbfbfc;
	--grey-50: #f6f6f7;
	--grey-100: #ededef;
	--line: #e7e7ea;
	--line-strong: #d3d4d8;
	--amber-700: #b87100;
	--r: 6px;
	--r-lg: 12px;
	--f-latin: "Maven Pro", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
	--util-h: 34px;
	--bar-h: 96px;
	--shadow-soft: 0 4px 28px rgba(142, 147, 166, .12);
	--shadow: 0 20px 44px -24px rgba(16, 18, 22, .35);
}

body:not(.rtl) { font-family: var(--f-latin); line-height: 1.7; letter-spacing: .005em; }
body:not(.rtl) h1, body:not(.rtl) h2, body:not(.rtl) h3 { letter-spacing: -.005em; line-height: 1.2; }
h1, h2, h3, h4, h5 { color: #111316; }
a:hover { color: var(--amber-700); }
.lang-en .page-title, .lang-en .h-1, .lang-en .c-title, .lang-en .h2-title, .lang-en .block-title, .lang-en .footer-cta h2 { text-transform: uppercase; }
.eyebrow { letter-spacing: .16em; }

/* Buttons ------------------------------------------------------------------ */
.btn { border-radius: 30px; font-weight: 600; letter-spacing: .02em; }
.btn-sm { border-radius: 24px; }
.btn-pill { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border: 1.5px solid var(--amber); border-radius: 30px; background: var(--amber); color: #121417; font-weight: 700; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color .35s var(--ease); white-space: nowrap; }
.btn-pill::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #121417; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.btn-pill:hover { color: #fff; }
.btn-pill:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-pill .icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn-pill:hover .icon-arrow { transform: translateX(4px); }
.btn-pill-line { background: transparent; color: #121417; border-color: #121417; }
.btn-pill-line::before { background: #121417; }
.btn-pill-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn-pill-light::before { background: var(--amber); }
.btn-pill-light:hover { color: #121417; border-color: var(--amber); }
.c-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }

/* Section headings ------------------------------------------------------- */
.c-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.c-title { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: .01em; margin: 0 0 14px; color: #111316; }
.c-text { color: var(--muted); font-size: 1.06rem; margin: 0 auto; max-width: 700px; }
.bg-soft { background: var(--grey-50); }

/* Header ------------------------------------------------------------------ */
.utility { background: #0b0c0e; }
.mainbar { border-bottom: 0; box-shadow: 0 1px 0 var(--line); transition: height .35s var(--ease); }
.mainbar-inner { position: relative; gap: 0; }
.brand-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.brand-center img { height: 72px; width: auto; transition: height .35s var(--ease); }
.brand-compact { display: none; }
.primary-nav { justify-content: flex-start; }
.primary-nav > .menu { width: 100%; }
.primary-nav > .menu > li.menu-split { margin-inline-start: auto; }
.primary-nav > .menu > li > a { padding: 0 13px; font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #2a2d31; }
.rtl .primary-nav > .menu > li > a { font-size: .95rem; letter-spacing: 0; }
.primary-nav > .menu > li > a::after { inset-inline: 13px; bottom: 26px; height: 2px; }
.primary-nav .sub-menu { border-top: 0; border-radius: 0 0 var(--r) var(--r); }
.mega { border-top: 1px solid var(--line); }
.bar-actions { margin-inline-start: 10px; }
.search-toggle { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 170, 6, .1); color: var(--amber-700); }
.search-toggle:hover { background: var(--amber); color: #121417; }
.site-header.is-scrolled .mainbar { height: 76px; }
.site-header.is-scrolled .brand-center img { height: 54px; }
.site-header.is-scrolled .primary-nav > .menu > li > a::after { bottom: 16px; }
.search-panel { background: #0b0c0e; }
.search-panel input { border-radius: 30px; }
.oil-ticker .tick b { color: #fff; }

/* Intro screen ------------------------------------------------------------ */
.intro-screen { display: none; }
.is-intro body { overflow: hidden; }
.is-intro .intro-screen { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.intro-panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: #0b0c0e; transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.intro-panel:first-of-type { left: 0; }
.intro-panel:last-of-type { right: 0; }
.intro-out .intro-panel:first-of-type { transform: translateX(-101%); }
.intro-out .intro-panel:last-of-type { transform: translateX(101%); }
.intro-mark { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; transition: opacity .5s var(--ease), transform .8s var(--ease-out); }
.intro-out .intro-mark { opacity: 0; transform: scale(.92); }
.intro-svg { width: 150px; height: auto; overflow: visible; }
.mark-svg path { vector-effect: non-scaling-stroke; }
.intro-svg path { fill: transparent; stroke: #fff; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: markDraw 1.2s var(--ease-out) forwards, markFill .7s ease forwards; }
.intro-svg .m-cap { animation-delay: 0s, 1.15s; --fill: #e9e5e2; }
.intro-svg .m-bar { stroke: var(--amber); --fill: var(--amber); }
.intro-svg .m-bar:nth-child(3) { animation-delay: .15s, 1.2s; }
.intro-svg .m-bar:nth-child(4) { animation-delay: .3s, 1.28s; }
.intro-svg .m-bar:nth-child(5) { animation-delay: .45s, 1.36s; }
@keyframes markDraw { to { stroke-dashoffset: 0; } }
@keyframes markFill { to { fill: var(--fill); } }
.intro-word { display: flex; gap: 14px; overflow: hidden; font-family: var(--f-latin); font-size: 1.9rem; font-weight: 500; letter-spacing: .28em; color: #fff; }
.intro-word span { display: block; transform: translateY(110%); animation: riseIn .8s var(--ease-out) forwards; animation-delay: 1.35s; }
.intro-word span + span { animation-delay: 1.5s; color: var(--amber); }
.intro-since { font-family: var(--f-latin); font-size: .78rem; letter-spacing: .5em; text-transform: uppercase; color: rgba(255, 255, 255, .55); opacity: 0; animation: fadeIn .8s ease forwards 1.75s; }
@keyframes riseIn { to { transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Hero -------------------------------------------------------------------- */
.hero2 { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 600px; max-height: 940px; background: var(--holo-900); color: #fff; overflow: hidden; isolation: isolate; }
.h2-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.h2-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.h2-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.h2-scene .h2-media { background: radial-gradient(110% 85% at 42% 38%, #0c3563 0%, #051a33 42%, var(--holo-900) 100%); }
.h2-scene .h2-media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(120, 200, 255, .035) 0 1px, transparent 1px 4px); pointer-events: none; }
.holo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.h2-video, .h2-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h2-img { transform: scale(1.14); transition: transform 10s linear; }
.h2-slide.is-active .h2-img { transform: scale(1); }
.h2-mark { position: absolute; right: 7vw; top: 50%; height: 74%; width: auto; transform: translateY(-50%); overflow: visible; }
.h2-mark path { fill: transparent; stroke: rgba(255, 255, 255, .9); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.h2-mark .m-bar { stroke: var(--amber); }
.h2-slide.is-active .h2-mark path { animation: markDraw 2.6s var(--ease-out) forwards .3s; }
.h2-slide.is-active .h2-mark .m-bar:nth-child(4) { animation-delay: .6s; }
.h2-slide.is-active .h2-mark .m-bar:nth-child(5) { animation-delay: .9s; }
.h2-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1, 5, 12, .85) 0%, rgba(1, 5, 12, 0) 45%), linear-gradient(90deg, rgba(1, 5, 12, .55) 0%, rgba(1, 5, 12, 0) 55%); pointer-events: none; }
.h2-image .h2-shade { background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 55%), linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .1) 60%); }
.h2-content { position: relative; height: 100%; display: flex; align-items: flex-end; padding-bottom: 104px; }
.h2-holder { max-width: 540px; }
.h2-holder > * { opacity: 0; transform: translateX(40px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.h2-slide.is-active .h2-holder > * { opacity: 1; transform: none; }
.h2-slide.is-active .h2-holder > :nth-child(2) { transition-delay: .15s; }
.h2-slide.is-active .h2-holder > :nth-child(3) { transition-delay: .3s; }
.hero2:not(.is-live) .h2-holder > * { transition-delay: 0s !important; }
.h2-title { color: #fff; font-size: clamp(1.8rem, 3.1vw, 2.8rem); font-weight: 700; line-height: 1.22; margin-bottom: 16px; }
.h2-text { color: rgba(255, 255, 255, .8); font-size: 1.02rem; line-height: 1.8; margin-bottom: 28px; }
.h2-badge { position: absolute; right: 7vw; top: 44%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; align-items: flex-start; font-family: var(--f-latin); text-transform: uppercase; color: #fff; pointer-events: none; }
.h2-badge-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.h2-badge small { font-size: .95rem; letter-spacing: .14em; font-weight: 600; }
.mark-mini { width: 30px; height: auto; }
.mark-mini path { fill: transparent; stroke: #fff; stroke-width: 1.2; }
.mark-mini .m-bar { fill: var(--amber); stroke: var(--amber); }
.h2-badge b { display: block; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; font-weight: 500; letter-spacing: .02em; overflow: hidden; }
.h2-badge b + b { font-size: clamp(1.7rem, 3.4vw, 3.1rem); margin-top: 6px; }
.h2-badge em { font-style: normal; text-transform: none; font-size: clamp(1rem, 1.6vw, 1.45rem); margin-top: 12px; color: rgba(255, 255, 255, .88); letter-spacing: .02em; }
.h2-badge > * { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); }
.hero2.is-live .h2-slide.is-active .h2-badge > * { opacity: 1; transform: none; filter: none; }
.hero2.is-live .h2-slide.is-active .h2-badge > :nth-child(2) { transition-delay: .5s; }
.hero2.is-live .h2-slide.is-active .h2-badge > :nth-child(3) { transition-delay: .75s; }
.hero2.is-live .h2-slide.is-active .h2-badge > :nth-child(4) { transition-delay: 1s; }
.hero2.is-live .h2-slide.is-active .h2-badge > :nth-child(1) { transition-delay: .3s; }
.h2-badge b { background: linear-gradient(100deg, #fff 40%, #bfe6ff 50%, #fff 60%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 5s linear infinite 2s; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.h2-nav { position: absolute; z-index: 5; bottom: 38px; right: 5vw; }
.h2-nav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: flex-end; }
.h2-nav button { display: inline-flex; align-items: flex-end; gap: 10px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; font-family: var(--f-latin); }
.h2-nav span { font-size: 1.2rem; font-weight: 700; line-height: 1; opacity: .6; transition: opacity .3s; }
.h2-nav i { position: relative; display: inline-block; max-width: 0; overflow: hidden; padding-bottom: 12px; font-style: normal; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; transition: max-width 1.2s var(--ease-out); }
.h2-nav em { display: block; font-style: normal; padding-inline-end: 22px; }
.h2-nav i::before, .h2-nav i::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; }
.h2-nav i::after { width: 100%; background: rgba(255, 255, 255, .3); }
.h2-nav i::before { width: 0; background: var(--amber); z-index: 1; }
.h2-nav li.is-active span { opacity: 1; }
.h2-nav li.is-active i { max-width: 260px; }
.hero2.is-live .h2-nav li.is-active i::before { animation: navFill var(--dur, 8s) linear forwards; }
.h2-nav li:hover span { opacity: 1; }
@keyframes navFill { to { width: 100%; } }
.h2-scroll { position: absolute; z-index: 5; left: 50%; bottom: 28px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.h2-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Scroll animations ------------------------------------------------------- */
.js [data-aos] { opacity: 0; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); will-change: transform, opacity; }
.js [data-aos="fade-up"] { transform: translateY(44px); }
.js [data-aos="fade-left"] { transform: translateX(44px); }
.js [data-aos="fade-right"] { transform: translateX(-44px); }
.js [data-aos="zoom-out"] { transform: scale(1.14); }
.js [data-aos="flip-left"] { transform: perspective(1400px) rotateY(-60deg); transform-origin: left center; }
.js [data-aos="flip-up"] { transform: perspective(1400px) rotateX(-70deg); transform-origin: center bottom; }
.js [data-aos].aos-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-aos] { opacity: 1; transform: none; } .intro-screen { display: none !important; } }

/* Our business ------------------------------------------------------------ */
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.biz-card { position: relative; display: flex; flex-direction: column; padding: 44px 34px 34px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-soft); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease-out), box-shadow .45s; }
.biz-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/contours.svg) 0 0 / 700px auto repeat; opacity: 0; transition: opacity .6s; animation: drift 120s linear infinite; -webkit-mask-image: linear-gradient(115deg, transparent 25%, #000); mask-image: linear-gradient(115deg, transparent 25%, #000); }
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(16, 18, 22, .3); }
.biz-card:hover::before { opacity: .22; }
@keyframes drift { to { background-position: -1400px 0; } }
.biz-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 50%; background: rgba(255, 170, 6, .12); color: var(--amber-700); transition: background .35s, color .35s; }
.biz-icon .icon { width: 28px; height: 28px; }
.biz-card:hover .biz-icon { background: var(--amber); color: #121417; }
.biz-sub { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #b3b6bb; margin-bottom: 6px; }
.biz-card h3 { position: relative; font-size: 1.18rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 12px; }
.biz-card h3::before { content: ""; position: absolute; left: -34px; top: .25em; width: 3px; height: 18px; border-radius: 0 6px 6px 0; background: var(--amber); transition: height .3s; }
.biz-card h3 a::after { content: ""; position: absolute; inset: -400px -60px -400px; z-index: 1; }
.biz-card:hover h3 a { color: var(--amber-700); }
.biz-card p { color: var(--muted); font-size: .94rem; margin-bottom: 22px; }
.biz-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: #121417; text-transform: uppercase; letter-spacing: .06em; }
.biz-more .icon { width: 18px; height: 18px; color: var(--amber-700); transition: transform .3s; }
.biz-card:hover .biz-more .icon { transform: translateX(5px); }

/* Group companies --------------------------------------------------------- */
.group-sec { padding-top: 0; }
.companies { gap: 18px; background: none; border: 0; }
.company { border-radius: var(--r); box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-out), box-shadow .4s; }
.company:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: #fff; }

/* Commitment -------------------------------------------------------------- */
.pledge-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; perspective: 1600px; }
.pledge-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.pledge-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pledge-img img, .pledge-img .media { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pledge-card:hover .pledge-img img { transform: scale(1.07); }
.pledge-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.pledge-title { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin: -58px 0 16px; }
.pledge-title i { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #16181b; color: var(--amber); border: 4px solid #fff; }
.pledge-title i .icon { width: 28px; height: 28px; }
.pledge-title h3 { margin: 26px 0 0; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.pledge-body p { color: var(--muted); font-size: .95rem; }
.pledge-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; color: var(--amber-700); text-transform: uppercase; letter-spacing: .06em; }
.pledge-more .icon { width: 18px; height: 18px; }

/* Case studies (restyle) -------------------------------------------------- */
.case-slide { border-radius: var(--r-lg); overflow: hidden; background: #121417; }
.case-slide-body { color: #b6bac0; }
.case-meta dt { color: var(--amber); }
.case-tabs button { border-radius: 2px; }

/* Who we are -------------------------------------------------------------- */
.who { position: relative; color: #fff; padding: clamp(80px, 9vw, 130px) 0; background: #0b0c0e var(--who-bg, none) center / cover no-repeat; overflow: hidden; isolation: isolate; }
.who::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 220px rgba(0, 0, 0, .7); }
.who-bg { position: absolute; inset: 0; z-index: -2; }
.who-alt { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.6s var(--ease-out); }
.who-alt.is-on { opacity: 1; transform: none; }
.who-wrap { max-width: 600px; }
.who-head { position: relative; display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.who-mark { width: 74px; height: auto; flex: none; }
.who-mark path { fill: transparent; stroke: rgba(255, 255, 255, .8); stroke-width: 1.2; }
.who-mark .m-bar { stroke: var(--amber); fill: rgba(255, 170, 6, .2); }
.who h2 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; letter-spacing: .02em; }
.who-wrap > p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.who-cards { display: grid; gap: 16px; margin-top: 26px; }
.who-card { position: relative; display: flex; align-items: center; gap: 22px; padding: 18px 26px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); transition: background .4s, transform .4s var(--ease-out); }
.who-card:hover { background: rgba(255, 255, 255, .3); transform: translateX(8px); }
.who-card > i { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #2b2d31; color: var(--amber); }
.who-card > i .icon { width: 28px; height: 28px; }
.who-card h3 { color: #fff; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.who-card p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.who-arrow { margin-inline-start: auto; width: 22px; height: 22px; color: var(--amber); }
.who-card > a { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }

/* Technology (restyle) ---------------------------------------------------- */
.tech-sec { background: radial-gradient(90% 90% at 80% 0%, #0b2d52 0%, #031022 45%, var(--holo-900) 100%); color: #aab8c8; overflow: hidden; isolation: isolate; }
.tech-sec .tech-bg { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.tech-sec h2, .tech-sec h3 { color: #fff; }
.tech-sec .eyebrow { color: var(--amber); }
.tech-sec .lead { color: #a8b7c6; }
.tech-tablist button { border-radius: var(--r); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.tech-screen { border-radius: var(--r-lg); overflow: hidden; }
.tech-sec .link-arrow { color: #fff; }

/* Key figures ------------------------------------------------------------- */
.figs { position: relative; min-height: min(92vh, 780px); display: flex; align-items: center; padding: clamp(80px, 9vw, 120px) 0; background: linear-gradient(90deg, #000 10%, #1d1f23 100%); color: #fff; overflow: hidden; isolation: isolate; }
.figs-globe { position: absolute; inset: 0; z-index: -1; }
.figs-inner { max-width: 760px; }
.figs h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 12px; }
.figs-inner > p { color: #c3c7cc; max-width: 520px; }
.figs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; margin-top: 56px; }
.fig-val { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px; font-family: var(--f-latin); direction: ltr; }
.fig-val b { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; font-weight: 400; color: #fff; }
.fig-val span, .fig-val i { font-style: normal; font-size: 1.2rem; font-weight: 700; color: var(--amber); line-height: 1.4; }
.fig strong { display: block; margin-top: 12px; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.fig { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* News -------------------------------------------------------------------- */
.newsx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.newsx-head .c-title { text-align: start; }
.newsx-head .c-text { margin: 0; }
.newsx-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.newsx-big { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.big-post { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; background: #121417; }
.big-post.is-first { grid-column: 1 / -1; }
.big-post img, .big-post .media { width: 100%; aspect-ratio: 5 / 3.2; object-fit: cover; transition: transform 1s var(--ease-out); }
.big-post.is-first img, .big-post.is-first .media { aspect-ratio: 16 / 8; }
.big-post:hover img { transform: scale(1.05); }
.big-post::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .85)); pointer-events: none; }
.big-post > a { position: absolute; inset: 0; z-index: 3; }
.big-post-title { position: absolute; inset: auto 0 0; z-index: 2; padding: 0 7% 6%; pointer-events: none; }
.big-post-title time { display: block; font-size: .76rem; letter-spacing: .08em; color: rgba(255, 255, 255, .7); margin-bottom: 4px; }
.big-post-title h3 { color: #fff; font-size: 1rem; font-weight: 500; margin: 0; line-height: 1.45; }
.big-post-title h3::before { content: ""; display: inline-block; width: 16px; height: 2px; margin-inline-end: 10px; vertical-align: middle; background: #fff; transition: background .3s, width .3s; }
.big-post:hover .big-post-title h3::before { background: var(--amber); width: 26px; }
.big-post.is-first .big-post-title h3 { font-size: 1.3rem; }
.newsx-small { display: grid; }
.small-post { padding: 22px 0; border-bottom: 1px solid var(--line); }
.small-post:first-child { padding-top: 0; }
.small-post time { font-size: .78rem; color: var(--amber-700); font-weight: 700; letter-spacing: .06em; }
.small-post h3 { font-size: 1.08rem; margin: 6px 0 8px; line-height: 1.45; }
.small-post h3 a:hover { color: var(--amber-700); }
.small-post p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Clients marquee --------------------------------------------------------- */
.clientsx { background: var(--grey-50); overflow: hidden; }
.clientsx .c-head { margin-bottom: 36px; }
.marquee-wrap { display: grid; gap: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 55s linear infinite; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 65s; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
.client-chip { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px 14px 16px; background: #fff; border-radius: 60px; box-shadow: var(--shadow-soft); white-space: nowrap; }
.client-chip strong { display: block; font-size: .98rem; color: #121417; }
.client-chip small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chip-mark { width: 34px; height: auto; flex: none; }
.chip-mark path { fill: #ecebe9; stroke: #6b6664; stroke-width: 1; }
.chip-mark .m-bar { fill: var(--amber); }
.client-chip.is-logo { padding: 12px 28px; }
.client-chip.is-logo img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .75; }

/* Banners ----------------------------------------------------------------- */
.banner-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.banner { position: relative; min-height: 300px; display: flex; align-items: flex-end; padding: 34px; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; background: #16181b; }
.banner:hover { color: #fff; }
.banner > img, .banner > .media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.banner:hover > img { transform: scale(1.05); }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .15)); }
.banner-dark { background: radial-gradient(100% 120% at 80% 0%, #0b2d52, var(--holo-900) 70%); }
.banner-dark .holo { z-index: -2; }
.banner-dark::after { background: linear-gradient(90deg, rgba(1, 5, 12, .9), rgba(1, 5, 12, .2)); }
.banner-body { display: flex; flex-direction: column; gap: 6px; max-width: 460px; }
.banner-body small { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); font-weight: 700; }
.banner-body strong { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.25; text-transform: uppercase; }
.banner-body em { font-style: normal; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.banner-go { position: absolute; top: 28px; right: 28px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: #121417; transition: transform .4s var(--ease-out); }
.banner:hover .banner-go { transform: rotate(-45deg); }
.banner-go .icon { width: 22px; height: 22px; }

/* Inner pages refresh ----------------------------------------------------- */
.page-hero { background: var(--holo-900); }
.page-hero:not(.has-media) .page-hero-bg { background: radial-gradient(90% 120% at 85% 0%, var(--holo-600), var(--holo-900) 65%); }
.page-hero.has-media .page-hero-bg::after { background: linear-gradient(90deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .2)); }
.page-title { font-weight: 700; letter-spacing: .01em; }
.service-card, .product-card, .form-card, .side-card, .portal-main, .portal-auth-card, .verify-result, .contact-cards, .cred-grid, .values, .client-wall { border-radius: var(--r-lg); overflow: hidden; }
.service-card, .product-card { border-color: transparent; box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-out), box-shadow .4s; }
.service-card:hover, .product-card:hover { border-color: transparent; transform: translateY(-5px); box-shadow: var(--shadow); }
.project-card, .pillar, .industry-tile, .split-panel, .mega-feature, .unit-row, .verify-box, .side-cta, .portal-side, .market, .case-quote, .case-challenge, .case-solution, .case-result, .gallery-item, .tech-screen, .feature-media .media, .unit-row-media .media { border-radius: var(--r-lg); overflow: hidden; }
.unit-list { background: none; gap: 20px; }
.form-card { border-top: 0; box-shadow: var(--shadow-soft); }
.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 { border-radius: 8px; }
.chip span, .tag-links a, .industry, .member-list li { border-radius: 30px; }
.tag { border-radius: 30px; padding: 3px 12px; }
.pagination .page-numbers { border-radius: 50%; }
.icon-btn { border-radius: 50%; }
.to-top { border-radius: 50%; }
.link-arrow .icon { background: transparent; }
.side-nav nav a:hover, .side-nav nav a.is-active { border-inline-start-color: var(--amber); }
.case-solution { background: #121417; }
.bg-navy, .side-card-navy, .portal-side, .verify-box, .side-cta, .market { background: #121417; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: #0b0c0e; color: #9a9ea5; }
.footer-cta { position: relative; background: var(--amber); overflow: hidden; }
.footer-cta::before { content: ""; position: absolute; inset: 0; background: url(../img/contours.svg) center / 1400px auto; opacity: .12; animation: drift 160s linear infinite; }
.footer-cta-inner { position: relative; }
.footer-cta .btn-navy { background: #121417; }
.footer-accred span { border-radius: 30px; }
.socials a { border-radius: 50%; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1280px) {
	.primary-nav > .menu > li > a { padding: 0 9px; font-size: .74rem; letter-spacing: .04em; }
}
@media (max-width: 1120px) {
	:root { --bar-h: 70px; }
	.brand-center { display: none; }
	.brand-compact { display: block; }
	.brand-compact img { height: 44px; width: auto; }
	.bar-actions { margin-inline-start: auto; }
	.primary-nav > .menu { width: auto; }
	.primary-nav > .menu > li.menu-split { margin-inline-start: 0; }
	.primary-nav > .menu > li > a { font-size: 1.05rem; letter-spacing: .04em; color: #fff; padding: 18px 0; }
	.site-header.is-scrolled .mainbar { height: var(--bar-h); }
	.biz-grid, .pledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsx-grid { grid-template-columns: 1fr; }
	.figs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.h2-badge { right: 5vw; top: 30%; }
	.h2-mark { right: -4vw; height: 60%; opacity: .7; }
}
@media (max-width: 860px) {
	.banner-grid { grid-template-columns: 1fr; }
	.newsx-head { flex-direction: column; align-items: flex-start; }
	.h2-badge { top: 20%; left: var(--gutter); right: auto; transform: none; }
	.h2-badge b { font-size: 2.3rem; }
	.h2-badge b + b { font-size: 1.7rem; }
	.h2-content { padding-bottom: 96px; }
	.h2-nav { right: auto; left: var(--gutter); bottom: 30px; }
	.h2-nav i { display: none; }
	.h2-nav ol { gap: 8px; }
	.h2-nav span { width: 30px; height: 4px; overflow: hidden; text-indent: -99em; border-radius: 4px; background: rgba(255, 255, 255, .45); opacity: 1; }
	.h2-nav li.is-active span { background: var(--amber); width: 44px; }
	.h2-scroll { display: none; }
}
@media (max-width: 640px) {
	.biz-grid, .pledge-grid { grid-template-columns: 1fr; }
	.scroll-x { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
	.scroll-x > * { scroll-snap-align: start; }
	.newsx-big { grid-template-columns: 1fr; }
	.figs-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
	.who-card { padding: 16px; gap: 14px; }
	.who-card > i { width: 50px; height: 50px; }
	.pledge-title i { width: 56px; height: 56px; }
	.hero2 { min-height: 620px; }
	.h2-title { font-size: 1.65rem; }
	.intro-svg { width: 110px; }
	.h2-scene .holo { opacity: .5; }
	.h2-shade { background: linear-gradient(0deg, rgba(1, 5, 12, .92) 0%, rgba(1, 5, 12, .35) 60%, rgba(1, 5, 12, .2) 100%); }
	.companies { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
	.company { min-height: 0; padding: 22px 14px; }
	.company small { display: none; }
	.c-title { font-size: 1.9rem; }
	.intro-word { font-size: 1.4rem; }
}

/* RTL (Persian) --------------------------------------------------------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.rtl .h2-holder > * { transform: translateX(-40px); }
.rtl .h2-slide.is-active .h2-holder > * { transform: none; }
.rtl .h2-badge { right: auto; left: 7vw; align-items: flex-start; font-family: var(--f-sans); text-transform: none; }
.rtl .h2-badge b { line-height: 1.35; overflow: visible; padding-bottom: .05em; letter-spacing: 0; font-weight: 700; }
.rtl .h2-badge small { letter-spacing: 0; font-size: 1.05rem; }
.rtl .h2-mark { right: auto; left: 7vw; transform: translateY(-50%) scaleX(-1); }
.rtl .h2-shade { background: linear-gradient(0deg, rgba(1, 5, 12, .85) 0%, rgba(1, 5, 12, 0) 45%), linear-gradient(270deg, rgba(1, 5, 12, .55) 0%, rgba(1, 5, 12, 0) 55%); }
.rtl .h2-image .h2-shade { background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 55%), linear-gradient(270deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .1) 60%); }
.rtl .h2-title { line-height: 1.5; }
.rtl .h2-nav { right: auto; left: 5vw; }
.rtl .h2-nav i { font-family: var(--f-sans); letter-spacing: 0; font-size: .9rem; }
.rtl .h2-nav em { padding-inline-end: 0; padding-inline-start: 22px; }
.rtl .h2-nav i::before, .rtl .h2-nav i::after { left: auto; right: 0; }
.rtl .biz-card h3::before { left: auto; right: -34px; border-radius: 6px 0 0 6px; }
.rtl .biz-sub, .rtl .banner-body small, .rtl .fig strong, .rtl .who-card h3, .rtl .pledge-title h3, .rtl .biz-more, .rtl .pledge-more, .rtl .btn-pill, .rtl .client-chip small { letter-spacing: 0; text-transform: none; }
.rtl .biz-card:hover .biz-more .icon { transform: translateX(-5px); }
.rtl .who-card:hover { transform: translateX(-8px); }
.rtl .who-arrow { transform: scaleX(-1); }
.rtl .banner-go { right: auto; left: 28px; }
.rtl .banner:hover .banner-go { transform: rotate(45deg); }
.rtl .big-post-title h3::before { margin-inline-end: 10px; }
.rtl .newsx-head .c-title { text-align: right; }
.rtl .c-title, .rtl .figs h2, .rtl .who h2 { letter-spacing: 0; line-height: 1.45; }
.rtl .fig-val { direction: ltr; justify-content: flex-end; }
.rtl .h2-title, .rtl .c-title, .rtl .who h2, .rtl .figs h2, .rtl .page-title, .rtl .h-1, .rtl .block-title { text-transform: none; font-family: var(--f-sans); }
.rtl .primary-nav > .menu > li > a { text-transform: none; }
.rtl .intro-word { direction: ltr; }
@media (max-width: 860px) {
	.rtl .h2-badge { left: auto; right: var(--gutter); align-items: flex-start; }
	.rtl .h2-nav { left: auto; right: var(--gutter); }
}

/* Missing layout helpers ------------------------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-media-link { display: block; }
.product-card .product-media { aspect-ratio: 4 / 3; }
.product-card .product-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.section-paper { background: var(--grey-50); }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.lang-en .section-title { text-transform: uppercase; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.stats-inline { border-top: 0; padding-top: 0; }
@media (max-width: 1120px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }
