/* ================= Tokens (from the SGABR logo) ================= */
:root {
  --teal: #2BA9B9;
  --teal-l: #6CCFD9;
  --blue: #3B5BA9;
  --light: #8FB3E8;
  --petrol: #1D4B6E;      /* hero wall / primary dark */
  --petrol-d: #143753;
  --navy: #1F3C73;
  --ink: #14263D;
  --text: #4A5568;
  --muted: #7B8794;
  --grey: #F2F4F6;
  --grey-2: #E8ECF0;
  --line: #DDE3E9;
  --white: #fff;
  --grad: linear-gradient(160deg, var(--teal), var(--blue));
  --shadow: 0 18px 40px -22px rgba(20, 38, 61, .35);
  --shadow-l: 0 30px 60px -30px rgba(20, 38, 61, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "IBM Plex Sans Arabic", "Outfit", system-ui, sans-serif;
  --wrap: 1200px;
}
html[lang="en"] { --font: "Outfit", "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--white);
  font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased;
  opacity: 0; transition: opacity .5s ease;
}
body.is-ready { opacity: 1; }
body.is-leaving { opacity: 0; transition: opacity .35s ease; }
body.is-switching main, body.is-switching .header__inner, body.is-switching .footer { opacity: 0; }
main, .header__inner, .footer { transition: opacity .3s ease; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--petrol); line-height: 1.25; font-weight: 300; }
p { margin: 0 0 1em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.h-xl { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.01em; }
.h-l { font-size: clamp(30px, 3.6vw, 46px); }
.h-m { font-size: clamp(24px, 2.4vw, 32px); }
html[lang="en"] .h-xl, html[lang="en"] .h-l { letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--teal); margin-bottom: 14px; text-transform: uppercase; }

/* ================= Buttons & links ================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; border-radius: 6px;
  font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; border: 0;
  background: var(--petrol); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--teal); z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
[dir="rtl"] .btn::before { transform-origin: left; }
[dir="rtl"] .btn:hover::before { transform-origin: right; }
.btn:hover { box-shadow: var(--shadow); }
.btn--light { background: #fff; color: var(--petrol); }
.btn--light:hover { color: #fff; }
.btn--outline { background: transparent; color: var(--petrol); box-shadow: inset 0 0 0 1.5px var(--petrol); }
.btn--outline:hover { color: #fff; }

.arr { display: inline-block; width: 18px; height: 10px; position: relative; flex: none; transition: transform .4s var(--ease); }
.arr::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.6px; margin-top: -.8px; background: currentColor; }
.arr::after { content: ""; position: absolute; right: 1px; top: 50%; width: 8px; height: 8px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: translateY(-50%) rotate(45deg); }
[dir="rtl"] .arr { transform: scaleX(-1); }
.btn:hover .arr, .link-arrow:hover .arr, .card:hover .arr, .slide:hover .arr { transform: translateX(5px); }
[dir="rtl"] .btn:hover .arr, [dir="rtl"] .link-arrow:hover .arr, [dir="rtl"] .card:hover .arr, [dir="rtl"] .slide:hover .arr { transform: scaleX(-1) translateX(5px); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--petrol); position: relative; }
.link-arrow::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -3px; width: 100%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: var(--o, left); transition: transform .4s var(--ease); }
[dir="rtl"] .link-arrow { --o: right; }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow--light { color: var(--teal-l); }

/* ================= Utility bar & header ================= */
.utility { background: #fff; font-size: 13.5px; color: var(--text); border-bottom: 1px solid var(--grey-2); }
.utility__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.utility__loc { display: inline-flex; align-items: center; gap: 7px; }
.utility svg { width: 16px; height: 16px; flex: none; }
.utility__links { display: flex; align-items: center; gap: 24px; }
.utility__links a:hover { color: var(--teal); }
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; color: var(--petrol); font-weight: 600; cursor: pointer; padding: 4px 0; }
.lang-toggle:hover { color: var(--teal); }
.lang-toggle--menu { display: none; }

.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(20, 38, 61, .35); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .4s var(--ease), opacity .3s; }
.header.is-scrolled .header__inner { height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand .mark { width: 50px; height: 50px; transition: transform .7s var(--ease); }
.brand:hover .mark { transform: rotate(-14deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: "Outfit", sans-serif; direction: ltr; }
.brand__text b { font-size: 23px; letter-spacing: .14em; color: var(--blue); font-weight: 700; }
.brand__text small { font-size: 10.5px; letter-spacing: .34em; color: var(--teal); font-weight: 600; margin-top: 5px; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 16.5px; color: var(--ink); position: relative; transition: color .3s; }
.menu__link::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .4s var(--ease); }
.menu__link:hover, .menu__link.is-active { color: var(--petrol); }
.menu__link:hover::after, .menu__link.is-active::after { transform: scaleX(1); }
.chev { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.menu__group:hover .menu__link .chev, .menu__group.is-hover .menu__link .chev { transform: rotate(180deg); }
.menu__sub-toggle { display: none; }

/* Mega menu */
.mega {
  position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 1px solid var(--grey-2);
  box-shadow: 0 30px 50px -30px rgba(20, 38, 61, .35); visibility: hidden; opacity: 0; transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.menu__group:hover .mega, .menu__group.is-hover .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 280px 1fr; gap: 50px; padding: 40px 0 46px; }
.mega__intro h3 { font-size: 28px; margin-bottom: 10px; }
.mega__intro p { color: var(--muted); font-size: 15.5px; }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 26px; }
.mega__grid--slim { grid-template-columns: repeat(2, 1fr); }
.mega__item { display: flex; gap: 14px; padding: 14px; border-radius: 10px; transition: background .3s; }
.mega__item:hover { background: var(--grey); }
.mega__item b { display: block; color: var(--petrol); font-weight: 600; font-size: 16px; }
.mega__item small { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; margin-top: 2px; }
.mega__item--slim { align-items: center; }
.mega__num { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 13px; color: var(--teal); padding-top: 3px; }
.mega__item .mega__num { transition: transform .4s var(--ease); }
.mega__item:hover .mega__num { transform: translateY(-2px); }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 8px; background: var(--grey); cursor: pointer; padding: 14px 12px; flex-direction: column; justify-content: space-between; }
.burger span { height: 2px; background: var(--petrol); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= 3D hero ================= */
.hero3d { position: relative; background: var(--petrol); color: #fff; overflow: hidden; min-height: min(78vh, 760px); display: flex; align-items: center; }
.hero3d--page { min-height: 420px; }
.hero3d__canvas { position: absolute; inset: 0; }
.hero3d__canvas canvas { width: 100%; height: 100%; display: block; }
.hero3d__inner { position: relative; z-index: 2; padding: 90px 0; width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hero3d__content { max-width: 620px; }
.hero3d--page .hero3d__content { max-width: 620px; }
.hero3d h1 { color: #fff; margin-bottom: 36px; }
.hero3d--page h1 { margin-bottom: 18px; }
.hero3d p { color: rgba(255, 255, 255, .85); font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs span:last-child { color: var(--teal-l); }

/* Word reveal */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .2em; margin-bottom: -.2em; }
.sw > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .sw > span { transform: none; }
.hero3d .btn { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease) 1.1s, transform .9s var(--ease) 1.1s, box-shadow .4s; }
.is-ready .hero3d .btn { opacity: 1; transform: none; }
.hero3d--page p { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease) .6s, transform .9s var(--ease) .6s; }
.is-ready .hero3d--page p, .is-ready .hero3d--page .crumbs { opacity: 1; transform: none; }
.hero3d--page .crumbs { opacity: 0; transition: opacity .8s .2s; }

/* CSS fallback when WebGL is unavailable */
.no-webgl { background:
  radial-gradient(circle at 72% 62%, var(--teal) 0 13%, transparent 13.2%),
  linear-gradient(var(--blue), var(--blue)) 64% 22% / 18% 32% no-repeat,
  linear-gradient(var(--light), var(--light)) 96% 80% / 16% 60% no-repeat; }
[dir="rtl"] .no-webgl { transform: scaleX(-1); }

.scroll-hint { position: absolute; z-index: 2; bottom: 26px; left: 50%; translate: -50% 0; width: 24px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ================= Sections ================= */
.sec { padding: 120px 0; position: relative; overflow-x: clip; }
.sec--tight { padding: 80px 0; }
.sec--grey { background: var(--grey); }

/* Intro card with peeking circle (Lumera "new era" block) */
.intro-card { position: relative; }
.intro-card__circle { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--grad); inset-inline-end: -90px; top: 60px; z-index: 0; }
.intro-card__box {
  position: relative; z-index: 1; background: var(--grey); border-radius: 8px; padding: 70px 60px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; width: calc(100% - 60px);
}
.intro-card__box p:last-child { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--top { align-items: start; }
.text-block h2 { margin-bottom: 24px; }
.text-block .btn, .text-block .link-arrow { margin-top: 14px; }

/* Feature card with small 3D cluster (Lumera news block) */
.feature-card { background: var(--grey); border-radius: 8px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 30px; padding: 40px 60px 40px 40px; }
[dir="rtl"] .feature-card { padding: 40px 40px 40px 60px; }
.feature-card__art { position: relative; aspect-ratio: 1.1; }
.feature-card__art canvas { width: 100%; height: 100%; display: block; }
.feature-card__art.no-webgl { background:
  radial-gradient(circle at 55% 55%, var(--teal) 0 24%, transparent 24.4%),
  radial-gradient(circle at 85% 40%, var(--light) 0 6%, transparent 6.4%),
  linear-gradient(var(--blue), var(--blue)) 22% 72% / 20% 20% no-repeat,
  linear-gradient(var(--navy), var(--navy)) 52% 14% / 18% 18% no-repeat; }
.feature-card h2 { margin-bottom: 18px; }

/* Pill outline section (Lumera "Solutions" / "How it helps") */
.pill-sec { position: relative; }
.pill-sec__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.pill-frame { position: relative; aspect-ratio: .52; max-height: 760px; width: 100%; max-width: 400px; justify-self: center; }
.pill-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pill-frame rect { fill: none; stroke: var(--light); stroke-width: 2; transition: stroke-dashoffset .1s linear; }
.pill-frame__fill { position: absolute; inset: 22px; border-radius: 999px; overflow: hidden; background: linear-gradient(180deg, var(--grey) 0%, #e3edf6 100%); }
.pill-frame__fill .orb { position: absolute; border-radius: 50%; }
.pill-frame__fill .orb--1 { width: 64%; aspect-ratio: 1; background: var(--grad); left: 18%; bottom: 14%; }
.pill-frame__fill .orb--2 { width: 34%; aspect-ratio: 1; background: var(--petrol); left: 8%; top: 18%; border-radius: 18%; rotate: 18deg; }
.pill-frame__fill .orb--3 { width: 16%; aspect-ratio: 1; background: var(--light); right: 18%; top: 34%; }
.pill-frame__fill .orb--4 { width: 46%; aspect-ratio: 2; background: var(--teal); border-radius: 999px 999px 0 0; right: -6%; bottom: 0; }
.pill-sec__text { padding-bottom: 60px; margin-inline-start: -60px; position: relative; z-index: 1; background: rgba(255, 255, 255, .92); padding: 40px; border-radius: 8px; }
.pill-sec--rev .pill-sec__grid { direction: ltr; }
[dir="rtl"] .pill-sec--rev .pill-sec__grid { direction: rtl; }
.pill-sec--rev .pill-frame { order: 2; }
.pill-sec--rev .pill-sec__text { margin-inline-start: 0; margin-inline-end: -60px; }

.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.checks i { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.6px solid var(--teal); position: relative; margin-top: 3px; }
.checks i::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 5px; height: 10px; border: solid var(--teal); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }

/* "I need help with" icon cards */
.help h2 { text-align: center; margin-bottom: 60px; }
.cards6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 40px 30px 34px; text-align: center;
  display: flex; flex-direction: column; align-items: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-l); }
.card__icon { width: 96px; height: 96px; margin-bottom: 24px; color: var(--c, var(--teal)); }
.card__icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.card__icon svg * { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease); }
.card.in .card__icon svg *, .is-drawn .card__icon svg * { stroke-dashoffset: 0; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--text); flex: 1; }
.card .link-arrow { margin-top: 10px; }
.c-teal { --c: var(--teal); } .c-blue { --c: var(--blue); } .c-petrol { --c: var(--petrol); } .c-light { --c: #5d86cf; }

/* Carousel */
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.carousel__head p { margin: 10px 0 0; max-width: 560px; }
.carousel__nav { display: flex; gap: 10px; flex: none; }
.carousel__btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--petrol); background: #fff; color: var(--petrol); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.carousel__btn:hover:not(:disabled) { background: var(--petrol); color: #fff; }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel__btn[data-dir="-1"] .arr { transform: scaleX(-1); }
[dir="rtl"] .carousel__btn[data-dir="-1"] .arr { transform: none; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((min(var(--wrap), 100vw - 32px) - 72px) / 4);
  column-gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 14px max(16px, (100vw - var(--wrap)) / 2) 40px; scroll-padding-inline: max(16px, (100vw - var(--wrap)) / 2);
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-dragging * { pointer-events: none; }
.carousel__bar { height: 2px; background: var(--grey-2); }
.carousel__bar span { display: block; height: 100%; background: var(--teal); transition: width .3s; }
.slide {
  scroll-snap-align: start; background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 30px 28px; min-height: 320px;
  display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  user-select: none;
}
.slide:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.slide__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.slide__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; color: var(--petrol); transition: background .4s, color .4s; }
.slide:hover .slide__icon { background: var(--teal); color: #fff; }
.slide__icon svg { width: 26px; height: 26px; }
.slide__num { font-family: "Outfit", sans-serif; color: var(--muted); font-size: 14px; }
.slide h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.slide p { font-size: 15px; flex: 1; }
.slide .link-arrow { font-size: 15px; }
.slide__deco { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--grad); opacity: .08; inset-inline-end: -40px; top: -40px; transition: transform .8s var(--ease), opacity .5s; }
.slide:hover .slide__deco { transform: scale(1.6); opacity: .14; }

/* About block with shapes */
.about-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.shapes { position: relative; aspect-ratio: 1.15; }
.shapes span { position: absolute; display: block; }
.shp-circle { width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); top: 6%; inset-inline-start: 8%; }
.shp-tri { width: 0; height: 0; border-inline-start: 90px solid transparent; border-inline-end: 90px solid transparent; border-bottom: 150px solid var(--light); bottom: 6%; inset-inline-start: 46%; }
.shp-square { width: 26%; aspect-ratio: 1; background: var(--petrol); border-radius: 10px; top: 0; inset-inline-end: 4%; rotate: 14deg; }
.shp-half { width: 34%; aspect-ratio: 2; background: var(--teal); border-radius: 999px 999px 0 0; bottom: 6%; inset-inline-start: 0; }
.shp-ring { width: 18%; aspect-ratio: 1; border-radius: 50%; border: 10px solid var(--blue); bottom: 30%; inset-inline-end: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { border-top: 2px solid var(--teal); padding-top: 22px; }
.stat b { display: block; font-family: "Outfit", sans-serif; font-weight: 300; font-size: clamp(46px, 5vw, 72px); line-height: 1; color: var(--petrol); }
.stat span { display: block; margin-top: 10px; color: var(--ink); }

/* Standards cards */
.std-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.std { background: #fff; border-radius: 8px; padding: 34px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; isolation: isolate; }
.std b { display: block; font-family: "Outfit", sans-serif; font-size: 30px; font-weight: 500; color: var(--blue); }
.std small { display: inline-block; font-family: "Outfit", sans-serif; font-weight: 600; color: var(--teal); margin: 4px 0 14px; }
.std p { margin: 0; color: var(--ink); }
.std::after { z-index: -1; content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; border: 18px solid var(--grey); inset-inline-end: -36px; bottom: -36px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 30px 0; border-top: 1px solid var(--line); }
.value__n { font-family: "Outfit", sans-serif; color: var(--teal); font-size: 14px; font-weight: 600; }
.value h3 { font-size: 24px; margin: 10px 0; }
.value p { margin: 0; font-size: 15.5px; }

/* Services page */
.jump { position: sticky; top: 74px; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--grey-2); transition: top .5s var(--ease); }
.header.is-hidden ~ main .jump { top: 0; }
.jump__inner { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.jump__inner::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--grey); font-size: 14.5px; color: var(--petrol); transition: background .3s, color .3s; white-space: nowrap; }
.jump a:hover, .jump a.is-current { background: var(--petrol); color: #fff; }
.svc { padding: 110px 0; border-bottom: 1px solid var(--grey-2); }
.svc:nth-child(even) { background: var(--grey); }
.svc__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.svc:nth-child(even) .svc__art { order: -1; }
.svc__num { font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 600; color: var(--teal); display: block; margin-bottom: 14px; }
.svc h2 { margin-bottom: 22px; }
.svc ul { list-style: none; padding: 0; margin: 24px 0 34px; display: grid; gap: 12px; }
.svc li { display: flex; gap: 14px; color: var(--ink); }
.svc li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .7em; border-radius: 50%; background: var(--teal); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tags span { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 13px; padding: 5px 14px; border-radius: 999px; background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1px var(--line); }
.svc__art { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.svc__art .a { position: absolute; transition: transform 1.4s var(--ease); }
.svc__art.in .a { transform: none !important; }
.art-bg { inset: 8%; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.svc:nth-child(odd) .art-bg { background: var(--grey); box-shadow: none; }
.art-icon { inset: 0; display: grid; place-items: center; color: var(--c, var(--teal)); }
.art-icon svg { width: 34%; height: 34%; stroke-width: 1.2; }
.art-1 { width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); top: 4%; inset-inline-end: 6%; transform: translate(30px, -30px) scale(.6) !important; }
.art-2 { width: 22%; aspect-ratio: 1; border-radius: 10px; background: var(--petrol); bottom: 8%; inset-inline-start: 4%; rotate: 16deg; transform: translate(-30px, 30px) scale(.6) !important; }
.art-3 { width: 30%; aspect-ratio: 2; border-radius: 999px 999px 0 0; background: var(--light); bottom: 8%; inset-inline-end: 10%; transform: translateY(40px) !important; }

/* Clients page */
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sector {
  background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 40px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 26px; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.sector--wide { grid-column: 1 / -1; background: var(--petrol); }
.sector--wide h3, .sector--wide p { color: #fff; }
.sector--wide .sector__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.sector--wide .tags span { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.sector__icon { width: 70px; height: 70px; border-radius: 50%; background: var(--grey); color: var(--petrol); display: grid; place-items: center; }
.sector__icon svg { width: 32px; height: 32px; }
.sector__num { font-family: "Outfit", sans-serif; font-size: 13px; color: var(--teal); font-weight: 600; }
.sector h3 { font-size: 24px; margin: 4px 0 10px; font-weight: 400; }
.sector p { margin-bottom: 18px; }
.sector small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.sector .tags { margin: 0; }
.sector__deco { position: absolute; width: 200px; height: 100px; border-radius: 999px 999px 0 0; background: var(--teal); opacity: .07; inset-inline-end: -30px; bottom: 0; transition: transform .8s var(--ease); }
.sector:hover .sector__deco { transform: scale(1.3); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.building { border-radius: 8px; overflow: hidden; position: relative; background: var(--grad); min-height: 420px; box-shadow: var(--shadow); }
.building img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 1.2s var(--ease); }
.building:hover img { transform: scale(1.04); }
.building__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); }
.building__ph svg { width: 90px; height: 90px; stroke-width: 1.1; }
.building__cap { position: absolute; z-index: 2; inset-inline-start: 20px; bottom: 20px; background: #fff; color: var(--petrol); font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 6px; }
.info-list { display: grid; gap: 0; margin: 30px 0 34px; }
.info { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.info:last-child { border-bottom: 1px solid var(--line); }
.info__ic { width: 56px; height: 56px; border-radius: 50%; background: var(--grey); color: var(--teal); display: grid; place-items: center; }
.info__ic svg { width: 24px; height: 24px; }
.info h4 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.info p { margin: 0; color: var(--ink); font-size: 18px; }
.map { border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: var(--grey-2); height: 480px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* CTA band */
.cta-band { background: var(--grey); border-radius: 8px; padding: 70px 60px; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__shape { position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(43, 169, 185, .14); inset-inline-end: -60px; top: -90px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================= Footer ================= */
.footer { background: var(--petrol-d); color: rgba(255, 255, 255, .72); padding: 80px 0 30px; font-size: 15.5px; }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 60px; margin-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr; gap: 40px; }
.footer .brand__text b { color: #fff; }
.footer .brand__text small { color: var(--teal-l); }
.footer__brand p { margin-top: 20px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.footer__grid > div > a:not(.brand):not(.link-arrow) { display: block; margin-bottom: 10px; transition: color .3s, transform .3s var(--ease); }
.footer__grid > div > a:not(.brand):not(.link-arrow):hover { color: #fff; transform: translateX(4px); }
[dir="rtl"] .footer__grid > div > a:not(.brand):not(.link-arrow):hover { transform: translateX(-4px); }
.footer p { margin: 0 0 8px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.to-top { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.to-top:hover { background: var(--teal); transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ================= Scroll reveal ================= */
.rv { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv--left { transform: translateX(-60px); }
[dir="rtl"] .rv--left { transform: translateX(60px); }
.rv--scale { transform: scale(.85); }
.rv--left.in, .rv--scale.in { transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; }
.card.rv.in, .slide.rv.in, .sector.rv.in { transition: opacity 1.1s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .menu__link { padding: 10px 10px; font-size: 15.5px; }
  .carousel__track { grid-auto-columns: calc((min(var(--wrap), 100vw - 32px) - 48px) / 3); }
}
@media (max-width: 980px) {
  .utility__links a { display: none; }
  .burger { display: flex; }
  .header { backdrop-filter: none; background: #fff; }
  .menu {
    position: fixed; inset: 0; top: var(--menu-top, 88px); background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px 16px 40px; overflow-y: auto; gap: 0;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s .55s;
  }
  .menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
  .menu-open { overflow: hidden; }
  .menu__link { display: flex; font-size: 22px; padding: 16px 4px; border-bottom: 1px solid var(--grey-2); font-weight: 300; color: var(--petrol); }
  .menu__link::after, .menu__link .chev { display: none; }
  .menu__group { position: relative; }
  .menu__sub-toggle { display: grid; place-items: center; position: absolute; inset-inline-end: 0; top: 10px; width: 46px; height: 46px; border: 0; background: var(--grey); border-radius: 50%; color: var(--petrol); cursor: pointer; }
  .menu__sub-toggle .chev { width: 20px; height: 20px; }
  .menu__group.is-open .menu__sub-toggle .chev { transform: rotate(180deg); }
  .mega { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
  .menu__group:hover .mega { transform: none; }
  .menu__group.is-open .mega { grid-template-rows: 1fr; }
  .mega__inner { overflow: hidden; display: block; padding: 0; width: 100%; }
  .mega__intro { display: none; }
  .mega__grid, .mega__grid--slim { grid-template-columns: 1fr; padding: 8px 0; }
  .mega__item small { display: none; }
  .lang-toggle--menu { display: inline-flex; margin-top: 24px; align-self: flex-start; background: var(--petrol); color: #fff; padding: 12px 22px; border-radius: 6px; }

  .hero3d { min-height: 640px; align-items: flex-start; }
  .scroll-hint { display: none; }
  .hero3d__inner { padding: 60px 0 260px; }
  .hero3d--page { min-height: 0; }
  .hero3d--page .hero3d__inner { padding: 60px 0 200px; }
  .intro-card__box { grid-template-columns: 1fr; gap: 20px; padding: 50px 30px; width: 100%; }
  .intro-card__circle { width: 160px; height: 160px; inset-inline-end: -50px; top: -60px; }
  .split, .about-block, .svc__grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .svc:nth-child(even) .svc__art { order: 0; }
  .svc__art { max-width: 340px; }
  .feature-card, [dir="rtl"] .feature-card { grid-template-columns: 1fr; padding: 30px; }
  .feature-card__art { max-width: 420px; width: 100%; margin-inline: auto; }
  .pill-sec__grid { grid-template-columns: 1fr; }
  .pill-frame { max-width: 230px; }
  .pill-sec__text, .pill-sec--rev .pill-sec__text { margin: 36px 0 0; padding: 0; background: none; }
  .pill-sec--rev .pill-frame { order: 0; }
  .cards6 { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { grid-auto-columns: calc((100vw - 32px - 24px) / 2); }
  .std-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 50px 30px; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .shapes { max-width: 420px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .h-xl { font-size: clamp(28px, 8vw, 34px); }
  .h-l { font-size: clamp(26px, 7.4vw, 30px); }
  .hero3d__inner { padding-bottom: 230px; }
  .sec { padding: 80px 0; }
  .svc { padding: 80px 0; }
  .utility__loc span { font-size: 12.5px; }
  .brand .mark { width: 44px; height: 44px; }
  .brand__text b { font-size: 20px; }
  .header__inner { height: 74px; }
  .cards6, .stats, .values { grid-template-columns: 1fr; }
  .carousel__track { grid-auto-columns: 82vw; }
  .carousel__head { flex-direction: column; align-items: flex-start; }
  .sector { grid-template-columns: 1fr; padding: 30px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column-reverse; gap: 18px; align-items: flex-start; }
  .shp-tri { border-inline-start-width: 55px; border-inline-end-width: 55px; border-bottom-width: 90px; }
  .map { height: 360px; }
  .building { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .rv, .sw > span { opacity: 1 !important; transform: none !important; }
}

/* Tag links */
.tags a span { transition: background .3s, color .3s; }
.tags a:hover span { background: var(--petrol); color: #fff; }
.sector--wide .btn--light { margin-top: 4px; }
