/* ORAS Oilfield Services & Supplies — site styles (EN / AR) */
:root {
  --navy: #0f1b2d;
  --navy-2: #16263d;
  --deep: #0a1220;
  --orange: #e07a2e;
  --orange-2: #f5953f;
  --gold: #f2b544;
  --teal: #1f8aa0;
  --ink: #1b2433;
  --muted: #5b6676;
  --bg: #ffffff;
  --bg-soft: #f7f4f0;
  --radius: 18px;
  --shadow: 0 24px 50px rgba(15, 27, 45, .16);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --head: "Cinzel", Georgia, serif;
  --body: "Oswald", "Segoe UI", Arial, sans-serif;
  --dirx: 1; /* flips horizontal motion in RTL */
}
html[dir="rtl"] {
  --head: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --body: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --dirx: -1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-weight: 300; color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 17px; overflow-x: hidden; }
html[dir="rtl"] body { font-weight: 400; font-size: 17px; line-height: 1.9; }
img { max-width: 100%; display: block; }
main, .site-footer { overflow-x: clip; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--orange); color: #fff; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }

h1, h2 { font-family: var(--head); font-weight: 800; line-height: 1.12; color: var(--navy); text-transform: uppercase; letter-spacing: .5px; }
h2 { font-size: clamp(30px, 4.2vw, 50px); }
h2 em, h1 em { font-style: normal; color: var(--orange); }
html[dir="rtl"] h1, html[dir="rtl"] h2 { text-transform: none; letter-spacing: 0; line-height: 1.35; font-weight: 800; }
h3, h4 { font-weight: 500; }
p + p { margin-top: 14px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
html[dir="rtl"] .kicker { letter-spacing: 0; font-weight: 700; font-size: 15px; }
.section-head.center { text-align: center; }
.section-head.center .kicker::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head.center .rule { margin-inline: auto; }

.rule { display: block; width: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--gold)); border-radius: 2px; margin-block: 22px 26px; transition: width 1s var(--ease) .2s; }
.rule.in, .no-anim .rule { width: 90px; }
.rule-light { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .5)); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 999px; background: linear-gradient(135deg, var(--orange), var(--orange-2)); color: #fff; font-family: var(--body); font-weight: 500; font-size: 16px; letter-spacing: .8px; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; }
html[dir="rtl"] .btn { letter-spacing: 0; font-weight: 700; text-transform: none; }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(224, 122, 46, .4); }
.btn:hover::before { transform: translateX(120%); }
.btn .arrow { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(calc(5px * var(--dirx))); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(5px); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .75); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: none; }
.btn-sm { padding: 9px 22px; font-size: 14px; }
.btn-lg { padding: 17px 36px; font-size: 18px; text-transform: none; letter-spacing: .3px; }
.btn svg { width: 22px; height: 22px; }
.pulse::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; box-shadow: 0 0 0 0 rgba(224, 122, 46, .6); animation: pulse 2.4s infinite; z-index: -2; }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(224, 122, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 122, 46, 0); } }

/* ===== Preloader & progress ===== */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--deep); display: grid; place-items: center; align-content: center; gap: 22px; transition: opacity .6s ease, visibility .6s; }
.loaded .loader { opacity: 0; visibility: hidden; }
.loader-drop { width: 74px; animation: drop 1.4s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-18px) scale(.9); opacity: .4; } 50% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(-18px) scale(.9); opacity: .4; } }
.loader-bar { width: 140px; height: 3px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--orange), var(--gold)); animation: load 1.1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.progress-bar { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--orange), var(--gold)); transform-origin: left; transform: scaleX(0); }
html[dir="rtl"] .progress-bar { transform-origin: right; }

/* ===== Header ===== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.site-header.scrolled, .site-header.nav-open { background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 30px rgba(15, 27, 45, .1); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; transition: height .4s; }
.scrolled .nav-wrap { height: 72px; }
.brand { position: relative; display: block; }
.brand img { height: 54px; width: auto; transition: opacity .4s, height .4s; }
.brand .logo-dark { position: absolute; inset-inline-start: 0; top: 0; opacity: 0; }
.scrolled .brand .logo-dark, .nav-open .brand .logo-dark { opacity: 1; }
.scrolled .brand .logo-light, .nav-open .brand .logo-light { opacity: 0; }
.scrolled .brand img { height: 48px; }
.nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 400; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: #fff; position: relative; transition: color .3s; }
html[dir="rtl"] .nav a { letter-spacing: 0; font-weight: 600; font-size: 16px; }
.scrolled .nav a:not(.btn) { color: var(--navy); }
.nav a:not(.btn)::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -5px; width: 0; height: 2px; background: var(--orange); transition: width .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--orange) !important; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-toggle { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; font: 600 15px "Cairo", var(--body); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.lang-toggle svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.lang-toggle:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.lang-toggle:hover svg { transform: rotate(180deg); }
.scrolled .lang-toggle, .nav-open .lang-toggle { color: var(--navy); border-color: rgba(15, 27, 45, .25); }
.scrolled .lang-toggle:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .3s, opacity .3s, background .3s; }
.scrolled .nav-toggle span, .nav-open .nav-toggle span { background: var(--navy); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--deep); }
.hero-bg { position: absolute; inset: -4%; background-size: cover; background-position: center 30%; transform: scale(1.12); transition: transform 2.4s var(--ease); will-change: transform; }
.loaded .hero-bg { transform: scale(1); animation: kenburns 26s ease-in-out 2.4s infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(224, 122, 46, .9) 0%, rgba(224, 122, 46, .55) 32%, rgba(15, 27, 45, .25) 65%, rgba(15, 27, 45, .15) 100%), linear-gradient(0deg, rgba(10, 18, 32, .6), transparent 40%); }
html[dir="rtl"] .hero-overlay { background: linear-gradient(-100deg, rgba(224, 122, 46, .9) 0%, rgba(224, 122, 46, .55) 32%, rgba(15, 27, 45, .25) 65%, rgba(15, 27, 45, .15) 100%), linear-gradient(0deg, rgba(10, 18, 32, .6), transparent 40%); }
.hero-arc { position: absolute; width: 1300px; height: 1300px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); inset-inline-start: -520px; top: -700px; pointer-events: none; animation: spinArc 60s linear infinite; }
.hero-arc.arc-2 { width: 1500px; height: 1500px; inset-inline-start: -620px; top: -820px; border-color: rgba(255, 255, 255, .1); animation-duration: 90s; animation-direction: reverse; border-style: dashed; }
@keyframes spinArc { to { transform: rotate(360deg); } }
.embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ember { position: absolute; bottom: -10px; border-radius: 50%; background: radial-gradient(circle, #ffd49a, var(--orange) 60%, transparent 70%); filter: blur(.4px); opacity: 0; animation: rise linear infinite; }
@keyframes rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: .9; }
  80% { opacity: .6; }
  100% { transform: translate(var(--drift, 30px), -95vh) scale(.3); opacity: 0; }
}
.hero-content { position: relative; padding-top: 100px; }
.hero h1 { color: #fff; font-size: clamp(40px, 7vw, 86px); text-shadow: 0 6px 34px rgba(0, 0, 0, .3); max-width: 900px; }
html[dir="rtl"] .hero h1 { font-size: clamp(38px, 6.4vw, 78px); font-weight: 900; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .accent { color: #ffe1c2; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: 3px; text-transform: uppercase; font-weight: 400; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-weight: 600; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242, 181, 68, .7); animation: blink 2s infinite; }
@keyframes blink { 70% { box-shadow: 0 0 0 10px rgba(242, 181, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 181, 68, 0); } }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 580px; font-weight: 300; }
html[dir="rtl"] .hero .lead { font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
/* hero entrance */
.js .hero-anim { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(.35s + var(--i) * .15s); }
.js .hero h1 .hero-anim { transform: translateY(105%); opacity: 1; }
.loaded .hero-anim { opacity: 1 !important; transform: none !important; }
.hero-rule { transition-delay: 1s; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ===== Marquee ===== */
.marquee { background: linear-gradient(90deg, var(--orange), #d0662a); color: #fff; overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 34px; direction: ltr; animation: marquee 36s linear infinite; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--head); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
html[dir="rtl"] .marquee span { letter-spacing: 0; text-transform: none; font-size: 21px; }
.marquee i { font-style: normal; color: rgba(255, 255, 255, .55); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== About ===== */
.about::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 122, 46, .12), transparent 70%); inset-inline-end: -160px; top: 40px; pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-text p:not(.kicker) { color: var(--muted); font-size: 18px; }
.about-img { position: relative; }
.about-img img { position: relative; width: 100%; filter: drop-shadow(0 30px 34px rgba(15, 27, 45, .25)); }
.glow-ring { position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(circle, rgba(245, 149, 63, .35), transparent 65%); filter: blur(30px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 70px; }
.pillar { position: relative; overflow: hidden; background: linear-gradient(160deg, #1f2a3a, #0e141d); color: #c9cfd8; border: 1px solid rgba(224, 122, 46, .4); border-radius: var(--radius); padding: 32px 26px; transition: translate .4s var(--ease), box-shadow .4s, border-color .4s; }
.pillar::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--orange), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
html[dir="rtl"] .pillar::after { transform-origin: right; }
.pillar:hover { translate: 0 -10px; box-shadow: 0 26px 50px rgba(15, 27, 45, .3); border-color: var(--orange); }
.pillar:hover::after { transform: scaleX(1); }
.pillar-icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: rgba(224, 122, 46, .12); border: 1px solid rgba(224, 122, 46, .35); margin-bottom: 20px; transition: transform .5s var(--ease), background .4s; }
.pillar-icon svg { width: 32px; height: 32px; color: var(--orange-2); }
.pillar:hover .pillar-icon { transform: rotate(-8deg) scale(1.08); background: var(--orange); }
.pillar:hover .pillar-icon svg { color: #fff; }
.pillar h3 { font-family: var(--head); font-weight: 700; color: var(--orange-2); font-size: 17px; text-transform: uppercase; line-height: 1.3; margin-bottom: 10px; }
html[dir="rtl"] .pillar h3 { font-size: 19px; text-transform: none; }
.pillar p { font-size: 15px; }

/* ===== Vision ===== */
.vision { background: var(--bg-soft); overflow: hidden; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.vision-panel { background: linear-gradient(150deg, rgba(224, 122, 46, .97), rgba(205, 98, 36, .95)); color: #fff; padding: 52px 48px; border-radius: 26px; position: relative; z-index: 2; margin-inline-end: -90px; box-shadow: 0 30px 60px rgba(224, 122, 46, .3); }
.vm { display: grid; grid-template-columns: auto 1fr; gap: 22px; }
.vm + .vm { margin-top: 36px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .3); }
.vm-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); }
.vm-icon svg { width: 28px; height: 28px; color: #fff; }
.vm:hover .vm-icon { animation: wobble .8s var(--ease); }
@keyframes wobble { 30% { transform: rotate(-12deg) scale(1.1); } 60% { transform: rotate(8deg); } }
.vision-panel h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.vision-panel h2 em { color: var(--navy); }
.vision-panel p { font-size: 18px; font-weight: 400; color: rgba(255, 255, 255, .95); }
.vision-img img { width: 100%; transform: scale(1.18); transform-origin: left center; }
html[dir="rtl"] .vision-img img { transform-origin: right center; }

/* ===== Core services ===== */
.core { color: #fff; overflow: hidden; }
.core-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.core-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 32, .92), rgba(15, 27, 45, .78)); }
.core-inner { position: relative; }
.core h2 { color: #fff; }
.core .kicker { color: var(--orange-2); }
.core-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 30px; }
.core-card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 44px 18px 38px; border-radius: var(--radius); background: rgba(30, 32, 38, .6); border: 1px solid rgba(224, 122, 46, .45); text-decoration: none; text-transform: uppercase; font-weight: 400; font-size: 16px; line-height: 1.4; backdrop-filter: blur(6px); overflow: hidden; transition: translate .4s var(--ease), border-color .4s, box-shadow .4s; }
html[dir="rtl"] .core-card { text-transform: none; font-weight: 600; font-size: 17px; }
.core-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(245, 149, 63, .28), transparent 60%); opacity: 0; transition: opacity .4s; }
.core-card:hover { translate: 0 -10px; border-color: var(--orange-2); box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.core-card:hover::before { opacity: 1; }
.core-card svg { position: relative; width: 60px; height: 60px; color: var(--orange-2); transition: transform .6s var(--ease); }
.core-card:hover svg { transform: translateY(-6px) scale(1.12); }
.core-name { position: relative; }
.core-num { position: absolute; top: 12px; inset-inline-end: 16px; font-family: var(--head); font-size: 15px; color: rgba(255, 255, 255, .3); }

/* ===== Service details ===== */
.services { overflow: hidden; }
.services .service { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.services .service + .service { margin-top: 120px; }
.service.reverse .service-text { order: 2; }
.service-text { position: relative; }
.ghost-num { position: absolute; top: -70px; inset-inline-start: -10px; font-family: "Cinzel", serif; font-weight: 800; font-size: 170px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(224, 122, 46, .16); pointer-events: none; z-index: -1; }
.service h2 { font-size: clamp(28px, 3.4vw, 42px); }
.service h4 { font-size: 19px; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
html[dir="rtl"] .service h4 { font-weight: 700; }
.service p { color: var(--muted); }
.service ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.service li { position: relative; padding: 10px 16px; padding-inline-start: 46px; background: var(--bg-soft); border-radius: 12px; font-weight: 400; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.service li::before { content: ""; position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.service li:hover { transform: translateX(calc(6px * var(--dirx))); background: #fff; box-shadow: 0 8px 22px rgba(15, 27, 45, .08); }
.service-img { position: relative; }
.service-img::before { content: ""; position: absolute; inset: 12% 8% 0; border-radius: 50%; background: radial-gradient(circle, rgba(224, 122, 46, .22), transparent 70%); filter: blur(30px); }
.service-img img { position: relative; width: 100%; border-radius: var(--radius); filter: drop-shadow(0 28px 34px rgba(15, 27, 45, .2)); transition: transform .8s var(--ease); }

/* ===== Why ===== */
.why { background: var(--bg-soft); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.why-list { list-style: none; display: grid; gap: 12px; counter-reset: w; }
.why-list li { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 14px; padding: 16px 22px; font-size: 19px; color: var(--navy); box-shadow: 0 6px 18px rgba(15, 27, 45, .06); border-inline-start: 4px solid var(--orange); transition: translate .35s var(--ease), box-shadow .35s; }
.why-list li b { font-weight: 400; flex: 1; }
html[dir="rtl"] .why-list li b { font-weight: 600; }
.why-list li svg { width: 22px; height: 22px; color: var(--orange); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.why-list li:hover { translate: calc(8px * var(--dirx)) 0; box-shadow: 0 14px 30px rgba(15, 27, 45, .12); }
.why-list li:hover svg, .why-list li.in svg { opacity: 1; transform: none; transition-delay: .5s; }
.why-list span { font-family: "Cinzel", serif; font-weight: 800; color: var(--orange); font-size: 22px; }
.why-img img { width: 100%; }

/* ===== Approach ===== */
.approach { background: radial-gradient(ellipse at top, #1a2c47, var(--navy) 50%, var(--deep)); color: #fff; overflow: hidden; }
.approach h2 { color: #fff; }
.approach .kicker { color: var(--orange-2); }
.sub { font-size: 22px; text-transform: uppercase; letter-spacing: 1.5px; margin: 20px 0 26px; display: flex; align-items: center; gap: 14px; }
.sub::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .3), transparent); }
html[dir="rtl"] .sub { letter-spacing: 0; font-weight: 700; }
html[dir="rtl"] .sub::after { background: linear-gradient(-90deg, rgba(255, 255, 255, .3), transparent); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 70px; }
.steps-line { position: absolute; top: 50%; inset-inline: 2%; height: 2px; background: linear-gradient(90deg, var(--orange), var(--gold), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
html[dir="rtl"] .steps-line { transform-origin: right; }
.steps-line.in { transform: scaleX(1); }
.step { position: relative; background: linear-gradient(160deg, #3b2a1c, #17110d); border: 1.5px solid var(--orange); border-radius: 16px; padding: 26px 18px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; transition: translate .4s var(--ease), box-shadow .4s; }
.step:hover { translate: 0 -8px; box-shadow: 0 20px 40px rgba(224, 122, 46, .25); }
.step-icon { grid-column: 1 / -1; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgba(224, 122, 46, .15); }
.step-icon svg { width: 30px; height: 30px; color: #fff; }
.step:hover .step-icon { animation: wobble .8s var(--ease); }
.step b { font-family: "Cinzel", serif; color: var(--orange-2); font-size: 30px; }
.step span { font-size: 15px; line-height: 1.3; }
html[dir="rtl"] .step span { font-size: 16px; font-weight: 600; }
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.industry { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(224, 122, 46, .4); }
.industry img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1s var(--ease); }
.industry:hover img { transform: scale(1.1); }
.industry figcaption { position: absolute; inset: auto 0 0; padding: 50px 20px 20px; background: linear-gradient(transparent, rgba(10, 18, 32, .95)); font-size: 19px; font-weight: 500; line-height: 1.3; }
.industry figcaption::before { content: ""; display: block; width: 30px; height: 3px; background: var(--orange); margin-bottom: 10px; transition: width .5s var(--ease); }
.industry:hover figcaption::before { width: 70px; }
html[dir="rtl"] .industry figcaption { font-weight: 700; }

/* ===== Contact ===== */
.contact { position: relative; padding: 120px 0; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; background-size: cover; background-position: left center; animation: kenburns 30s ease-in-out infinite alternate; }
.contact-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .12) 35%, rgba(224, 122, 46, .85) 75%, rgba(224, 122, 46, .95) 100%); }
html[dir="rtl"] .contact-overlay { background: linear-gradient(-90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .12) 35%, rgba(224, 122, 46, .85) 75%, rgba(224, 122, 46, .95) 100%); }
html[dir="rtl"] .contact-bg { transform: scaleX(-1); animation: none; }
.contact-inner { position: relative; display: flex; justify-content: flex-end; }
.contact-card { max-width: 580px; background: rgba(255, 255, 255, .95); border-radius: 26px; padding: 46px 46px 50px; box-shadow: 0 30px 70px rgba(10, 18, 32, .35); }
.contact-logo { width: 240px; height: auto; margin-bottom: 20px; }
.contact-lead { font-size: 22px; font-weight: 500; color: var(--navy); }
html[dir="rtl"] .contact-lead { font-weight: 700; }
.contact-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 30px; }
.contact-tags li { font-size: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(224, 122, 46, .1); color: #b5571c; border: 1px solid rgba(224, 122, 46, .25); }
.contact .btn { word-break: break-all; }

/* ===== Footer ===== */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .7); padding: 44px 0; border-top: 3px solid var(--orange); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner img { height: 58px; width: auto; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner nav a { text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; transition: color .3s; }
html[dir="rtl"] .footer-inner nav a { letter-spacing: 0; font-size: 15px; }
.footer-inner nav a:hover { color: var(--orange-2); }
.footer-inner p { font-size: 14px; }

.to-top { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(224, 122, 46, .4); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; stroke-width: 2.2; }
.to-top:hover { background: var(--navy); }

/* ===== Scroll reveal ===== */
.js .reveal, .js .reveal-start, .js .reveal-end, .js .reveal-zoom { opacity: 0; transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), translate .4s var(--ease), box-shadow .4s, border-color .4s, background .3s; }
.js .reveal { transform: translateY(40px); }
.js .reveal-start { transform: translateX(calc(-60px * var(--dirx))); }
.js .reveal-end { transform: translateX(calc(60px * var(--dirx))); }
.js .reveal-zoom { transform: scale(.9); }
.js .in { opacity: 1 !important; transform: none !important; }
/* Language switch fade */
.lang-swap [data-i18n] { animation: langFade .5s var(--ease); }
@keyframes langFade { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .core-cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps-line { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 22px; }
}
@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 72px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 10px 20px 24px; box-shadow: 0 20px 30px rgba(15, 27, 45, .15); transform: translateY(-14px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .35s, visibility .35s; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a, .scrolled .nav a:not(.btn) { color: var(--navy); padding: 14px 4px; border-bottom: 1px solid #eee; }
  .nav a.btn { color: #fff; margin-top: 14px; justify-content: center; border-bottom: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav-wrap { height: 72px; }
  .about-grid, .vision-grid, .why-grid, .services .service { grid-template-columns: 1fr; gap: 36px; }
  .service.reverse .service-text { order: 0; }
  .services .service + .service { margin-top: 80px; }
  .vision-panel { margin-inline-end: 0; padding: 38px 28px; }
  .vision-img img { transform: none; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { justify-content: center; }
  .contact-overlay, html[dir="rtl"] .contact-overlay { background: linear-gradient(180deg, rgba(15, 27, 45, .3), rgba(224, 122, 46, .85)); }
  .hero-overlay, html[dir="rtl"] .hero-overlay { background: linear-gradient(180deg, rgba(224, 122, 46, .55), rgba(15, 27, 45, .8)); }
  .ghost-num { font-size: 130px; top: -50px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { height: 44px; }
  .scrolled .brand img { height: 42px; }
  .lang-toggle { padding: 0 11px; height: 38px; }
  .lang-toggle svg { display: none; }
  .hero-arc { width: 800px; height: 800px; inset-inline-start: -420px; top: -420px; }
  .hero-arc.arc-2 { width: 950px; height: 950px; inset-inline-start: -500px; top: -500px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .scroll-cue { display: none; }
  .marquee span { font-size: 17px; }
  .core-cards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .core-card { padding: 30px 12px 24px; font-size: 14px; gap: 14px; }
  .core-card svg { width: 46px; height: 46px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pillars { grid-template-columns: 1fr; }
  .vm { grid-template-columns: 1fr; gap: 12px; }
  .industry figcaption { font-size: 16px; padding: 34px 14px 14px; }
  .contact { padding: 80px 0; }
  .contact-card { padding: 34px 22px; }
  .btn-lg { font-size: 16px; padding: 15px 22px; width: 100%; justify-content: center; }
  .why-list li { font-size: 17px; padding: 14px 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .ghost-num { font-size: 100px; top: -36px; }
}
@media (max-width: 360px) {
  .industries, .core-cards, .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-start, .js .reveal-end, .js .reveal-zoom, .js .hero-anim { opacity: 1; transform: none; }
  .rule { width: 90px; }
  .steps-line { transform: scaleX(1); }
  .embers { display: none; }
}
