/* =========================================================
   Base
   ========================================================= */
/* Brand colors taken from the EDC International logo */
:root {
  --primary: #0061ab;       /* logo blue */
  --primary-600: #004884;   /* logo dark blue */
  --primary-800: #003c78;
  --primary-light: #0c8ccb; /* logo light blue */
  --accent: #fcc00c;        /* logo gold swoosh */
  --accent-600: #e6aa00;
  --dark: #03203d;          /* deep navy for top bar & footer */
  --text: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f1f5f9;
  --white: #ffffff;
  --header-h: 78px;
  --font-en: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); }
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 300;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(0, 97, 171, .25); }
.btn--primary:hover { background: var(--primary-600); box-shadow: 0 10px 24px rgba(0, 97, 171, .35); }
.btn--gold { background: var(--accent); color: var(--dark); box-shadow: 0 8px 20px rgba(252, 192, 12, .3); }
.btn--gold:hover { background: var(--accent-600); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--soft); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--ghost i { font-size: 1.15rem; }

/* =========================================================
   Top bar
   ========================================================= */
.topbar { background: var(--dark); color: #cbd5e1; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 26px; }
.topbar__info li { display: flex; align-items: center; gap: 8px; }
.topbar__info i { color: var(--accent); }
.topbar a { transition: color .2s; }
.topbar a:hover { color: #fff; }

/* =========================================================
   Social icons
   ========================================================= */
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #e2e8f0;
  transition: background .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--accent); color: var(--dark); transform: translateY(-2px); }
.social--sm { gap: 4px; }
.social--sm a { width: 30px; height: 30px; font-size: .8rem; background: transparent; color: #cbd5e1; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(3, 32, 61, .08); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 58px; width: auto; }
.logo--footer img { height: 72px; }

/* Navigation */
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; border-radius: 8px; background: none;
  font-weight: 600; font-size: .95rem; color: var(--text);
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--primary); }
.nav__link.is-active::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 2px;
  height: 3px; border-radius: 3px; background: var(--accent);
}
.nav__toggle i { font-size: .7rem; transition: transform .2s; }

/* Mega menu (Solutions) */
.nav__item--mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%;
  width: min(720px, 92vw); padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(3, 32, 61, .16);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { /* hover bridge between button and panel */
  content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px;
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__item--mega.is-open .nav__toggle { color: var(--primary); }
.nav__item--mega.is-open .nav__toggle i { transform: rotate(180deg); }

.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px; border-radius: 12px; transition: background .2s;
}
.mega__item:hover { background: var(--soft); }
.mega__icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; font-size: 1.1rem;
  color: var(--primary);
  background: rgba(0, 97, 171, .09);
  transition: background .2s, color .2s;
}
.mega__item:hover .mega__icon { background: var(--primary); color: #fff; }
.mega__item:hover strong { color: var(--primary); }
.mega__item strong { display: block; font-size: .95rem; color: var(--dark); }
.mega__item small { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.mega__footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 10px; padding: 14px 14px 4px; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.mega__footer a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); }
.mega__footer a:hover { color: var(--primary-600); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-inline-start: auto; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-weight: 700; color: var(--dark); transition: border-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--primary); color: var(--primary); }
.lang-switch i { color: var(--primary); }
.lang-switch span { font-family: var(--font-ar); }
html[lang="ar"] .lang-switch span { font-family: var(--font-en); }

.burger {
  display: none; position: relative; z-index: 120;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--dark); transition: transform .3s, opacity .3s; }
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-extra { display: none; }
.overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(3, 32, 61, .5);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.overlay.is-visible { opacity: 1; visibility: visible; }

/* Desktop hover for mega menu */
@media (hover: hover) and (min-width: 1101px) {
  .nav__item--mega:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav__item--mega:hover .nav__toggle { color: var(--primary); }
  .nav__item--mega:hover .nav__toggle i { transform: rotate(180deg); }
}

/* Mobile / tablet drawer */
@media (max-width: 1100px) {
  .topbar { display: none; }
  .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header__cta { display: none; }
  .burger { display: flex; }

  .nav {
    position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 110;
    width: min(360px, 86vw); padding: 96px 20px 24px;
    flex-direction: column; justify-content: flex-start; overflow-y: auto;
    background: #fff; box-shadow: 0 0 40px rgba(3, 32, 61, .2);
    transform: translateX(100%); transition: transform .35s ease, visibility .35s;
    visibility: hidden;
  }
  [dir="rtl"] .nav { transform: translateX(-100%); }
  .nav.is-open { transform: none; visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.02rem; }
  .nav__link.is-active { background: var(--soft); }
  .nav__link.is-active::after { display: none; }

  .mega {
    position: static; width: auto; padding: 0; border: 0; border-radius: 0; box-shadow: none;
    transform: none; opacity: 1; max-height: 0; overflow: hidden;
    transition: max-height .35s ease, visibility .35s;
  }
  .mega::before, .mega__footer { display: none; }
  .nav__item--mega.is-open .mega { transform: none; max-height: 800px; }
  .mega__grid { grid-template-columns: 1fr; padding-block: 4px 8px; }
  .mega__item { align-items: center; padding: 10px 12px; }
  .mega__item small { display: none; }
  .mega__icon { width: 38px; height: 38px; font-size: .95rem; }

  .nav__mobile-extra {
    display: flex; flex-direction: column; gap: 18px;
    margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line);
  }
  .nav__mobile-contact li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; }
  .nav__mobile-contact li + li { margin-top: 10px; }
  .nav__mobile-contact i { color: var(--primary); width: 16px; }
}

@media (max-width: 480px) {
  :root { --header-h: 68px; }
  .container { padding-inline: 16px; }
  .header__inner { gap: 10px; }
  .logo img { height: 48px; }
  .lang-switch { padding: 9px 11px; }
}

/* =========================================================
   Hero slider
   ========================================================= */
.btn--lg { padding: 15px 28px; font-size: 1rem; }

.hero {
  --hero-duration: 7s;
  position: relative; overflow: hidden; color: #fff;
  background: var(--dark); touch-action: pan-y;
}
.hero__slides { display: grid; min-height: clamp(580px, calc(100vh - 120px), 780px); }
.hero__slide {
  grid-area: 1 / 1; position: relative; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

/* Image (mirrored in Arabic so the photo's subject stays opposite the text) */
.hero__media { position: absolute; inset: 0; overflow: hidden; }
[dir="rtl"] .hero__media { transform: scaleX(-1); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; transform: scale(1.08); }
.hero__slide.is-active .hero__img { animation: hero-zoom 9s ease-out forwards; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 32, 61, .94) 0%, rgba(3, 32, 61, .78) 34%, rgba(3, 32, 61, .2) 68%, rgba(3, 32, 61, .05) 100%),
    linear-gradient(0deg, rgba(3, 32, 61, .75) 0%, transparent 32%);
}
[dir="rtl"] .hero__overlay {
  background:
    linear-gradient(270deg, rgba(3, 32, 61, .94) 0%, rgba(3, 32, 61, .78) 34%, rgba(3, 32, 61, .2) 68%, rgba(3, 32, 61, .05) 100%),
    linear-gradient(0deg, rgba(3, 32, 61, .75) 0%, transparent 32%);
}

/* Text */
.hero__content { position: relative; z-index: 1; padding-block: 90px 150px; }
.hero__content > * { max-width: 720px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(252, 192, 12, .12); border: 1px solid rgba(252, 192, 12, .4);
  color: var(--accent); font-size: .85rem; font-weight: 700; letter-spacing: .02em;
}
.hero__title {
  margin: 22px 0 18px; font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 800;
  line-height: 1.12; letter-spacing: -.01em;
}
html[lang="ar"] .hero__title { line-height: 1.35; letter-spacing: 0; }
.hero__title span { color: var(--accent); }
.hero__text { margin: 0; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; color: rgba(255, 255, 255, .85); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__slide.is-active .hero__content > * { animation: hero-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .24s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .36s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Controls: progress tabs + arrows */
.hero__controls { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding-bottom: 36px; }
.hero__controls-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero__tabs { display: flex; gap: 24px; }
.hero__tab {
  width: 190px; padding: 0; border: 0; background: none; text-align: start;
  color: rgba(255, 255, 255, .55); transition: color .2s;
}
.hero__tab:hover, .hero__tab.is-active { color: #fff; }
.hero__tab-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hero__tab-fill { display: block; width: 0; height: 100%; background: var(--accent); }
.hero__tab.is-active .hero__tab-fill { animation: hero-progress var(--hero-duration) linear forwards; }
.hero.is-paused .hero__tab.is-active .hero__tab-fill { animation-play-state: paused; }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
.hero__tab-num { display: inline-block; margin-top: 12px; margin-inline-end: 8px; font-weight: 800; font-size: .9rem; color: var(--accent); }
.hero__tab-label { font-size: .9rem; font-weight: 600; }

.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, color .2s, border-color .2s;
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }

@media (max-width: 900px) {
  .hero__tab { width: 120px; }
  .hero__tab-label { display: none; }
}
@media (max-width: 768px) {
  .hero__slides { min-height: 640px; }
  .hero__slide { align-items: flex-end; }
  .hero__img { object-position: 80% center; }
  .hero__overlay, [dir="rtl"] .hero__overlay {
    background: linear-gradient(0deg, rgba(3, 32, 61, .97) 0%, rgba(3, 32, 61, .88) 45%, rgba(3, 32, 61, .2) 100%);
  }
  .hero__content { padding-block: 120px 120px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__controls { padding-bottom: 28px; }
  .hero__controls-inner { align-items: center; }
  .hero__tabs { gap: 10px; }
  .hero__tab { width: 44px; }
  .hero__tab-num { display: none; }
  .hero__arrow { width: 44px; height: 44px; }
}

/* =========================================================
   Shared section styles
   ========================================================= */
.section { padding-block: 110px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--primary); font-size: .88rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--accent); }
.section-title {
  margin: 14px 0 18px; color: var(--dark);
  font-size: clamp(1.8rem, 3.2vw, 2.65rem); font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
}
html[lang="ar"] .section-title { line-height: 1.5; letter-spacing: 0; }
.section-title span {
  color: var(--primary);
  background: linear-gradient(transparent 68%, rgba(252, 192, 12, .38) 68%, rgba(252, 192, 12, .38) 92%, transparent 92%);
}
.section-lead { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.85; }
.section-head {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end;
  margin-bottom: 56px;
}
.section-head .section-title { margin-bottom: 0; }

/* Reveal on scroll (only when JS is running) */
html.js [data-reveal] {
  opacity: 0; translate: 0 32px;
  transition: opacity .8s ease, translate .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].is-visible { opacity: 1; translate: none; }

/* =========================================================
   About
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }

.about__media { position: relative; isolation: isolate; padding-inline-end: 72px; padding-bottom: 72px; }
.about__dots {
  position: absolute; z-index: -1; top: -28px; inset-inline-start: -28px; width: 150px; height: 150px;
  background-image: radial-gradient(var(--primary) 2px, transparent 2.5px); background-size: 18px 18px; opacity: .22;
}
.about__media::after { /* soft brand-blue block behind the photos */
  content: ""; position: absolute; z-index: -1; inset-inline-end: 24px; top: 70px; bottom: 30px; width: 55%;
  border-radius: 28px; background: linear-gradient(160deg, rgba(0, 97, 171, .12), rgba(12, 140, 203, .04));
}
.about__img { overflow: hidden; background: var(--soft); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.about__img:hover img { transform: scale(1.05); }
.about__img--main { aspect-ratio: 4 / 5; border-radius: 26px; box-shadow: 0 30px 60px rgba(3, 32, 61, .18); }
.about__img--small {
  position: absolute; inset-inline-end: 0; bottom: 0; width: 54%; aspect-ratio: 4 / 3;
  border-radius: 22px; border: 8px solid #fff; box-shadow: 0 24px 50px rgba(3, 32, 61, .22);
}
.about__badge {
  position: absolute; top: 44px; inset-inline-end: 14px;
  display: flex; align-items: center; gap: 12px; max-width: 230px;
  padding: 16px 20px; border-radius: 18px;
  background: var(--accent); color: var(--dark); box-shadow: 0 18px 40px rgba(252, 192, 12, .35);
  animation: float 5s ease-in-out infinite;
}
.about__badge strong { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.about__badge span { font-size: .9rem; font-weight: 700; line-height: 1.35; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 28px 0 32px; }
.about__list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--text); line-height: 1.5; }
.about__list i { margin-top: 3px; color: var(--primary); font-size: 1.05rem; }

.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-block: 24px; margin-bottom: 34px;
  border-block: 1px solid var(--line);
}
.stat + .stat { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.stat strong { display: block; color: var(--primary); font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.1; }
.stat > span { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; font-weight: 600; }

.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.about__call { display: flex; align-items: center; gap: 14px; }
.about__call-icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(0, 97, 171, .09); color: var(--primary); font-size: 1.15rem;
  transition: background .2s, color .2s;
}
.about__call:hover .about__call-icon { background: var(--primary); color: #fff; }
.about__call small { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.about__call strong { display: block; color: var(--dark); font-size: 1.08rem; }

/* =========================================================
   Industries
   ========================================================= */
.industries { position: relative; background: var(--soft); overflow: hidden; }
.industries::before { /* faint gold swoosh, echoing the logo */
  content: ""; position: absolute; width: 1400px; height: 420px; left: 50%; top: -300px;
  translate: -50% 0; border-radius: 50%; border: 2px solid transparent; border-bottom-color: rgba(252, 192, 12, .45);
  pointer-events: none;
}
.industries > .container { position: relative; }
.industries__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.ind-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: 560px;
  border-radius: 26px; color: #fff;
  box-shadow: 0 20px 50px rgba(3, 32, 61, .14);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s;
}
.ind-card:hover, .ind-card:focus-within { transform: translateY(-8px); box-shadow: 0 32px 64px rgba(3, 32, 61, .26); }
.ind-card__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; transition: transform .9s ease;
}
.ind-card:hover .ind-card__img { transform: scale(1.07); }
.ind-card__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(3, 32, 61, 0) 25%, rgba(3, 32, 61, .6) 52%, rgba(3, 32, 61, .96) 100%);
  transition: opacity .45s;
}
.ind-card::after { /* brand-blue wash on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(180deg, rgba(0, 72, 132, .35) 0%, rgba(3, 32, 61, .55) 45%, rgba(3, 32, 61, .2) 100%);
  transition: opacity .45s;
}
.ind-card:hover::after { opacity: 1; }

.ind-card__icon {
  position: absolute; top: 24px; inset-inline-start: 24px;
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, color .3s, border-color .3s;
}
.ind-card:hover .ind-card__icon { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.ind-card__num {
  position: absolute; top: 22px; inset-inline-end: 28px;
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .65);
}
.ind-card__body { padding: 32px 28px 30px; }
.ind-card h3 { margin: 0 0 10px; font-size: 1.45rem; font-weight: 800; line-height: 1.3; }
.ind-card p { margin: 0 0 18px; min-height: 5.1em; color: rgba(255, 255, 255, .84); font-size: .96rem; line-height: 1.7; } /* 3 lines */
.ind-card__tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; margin-bottom: 22px; min-height: 72px; } /* 2 rows, keeps titles aligned */
.ind-card__tags li {
  padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
}
.ind-card__link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; }
.ind-card__link::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.ind-card__link i { transition: transform .3s; }
.ind-card:hover .ind-card__link i { transform: translateX(5px); }
[dir="rtl"] .ind-card:hover .ind-card__link i { transform: scaleX(-1) translateX(5px); }

@media (max-width: 1100px) {
  .about__grid { grid-template-columns: 1fr; gap: 64px; }
  .about__media { max-width: 620px; margin-inline: auto; width: 100%; }
  .industries__grid { grid-template-columns: 1fr 1fr; }
  .ind-card:last-child { grid-column: 1 / -1; min-height: 440px; }
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
}
@media (max-width: 640px) {
  .section { padding-block: 72px; }
  .about__media { padding-inline-end: 40px; padding-bottom: 48px; }
  .about__badge { top: 20px; inset-inline-end: 0; padding: 12px 14px; }
  .about__badge strong { font-size: 2rem; }
  .about__badge span { font-size: .8rem; }
  .about__list { grid-template-columns: 1fr; }
  .stat + .stat { padding-inline-start: 14px; }
  .industries__grid { grid-template-columns: 1fr; }
  .ind-card, .ind-card:last-child { min-height: 480px; grid-column: auto; }
  .ind-card__tags, .ind-card p { min-height: 0; }
}

/* =========================================================
   Shared inner-page building blocks
   ========================================================= */
.section--soft { background: var(--soft); }
.section--dark { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(12, 140, 203, .28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(252, 192, 12, .08), transparent 40%);
}
.section--dark > .container { position: relative; }
.section--dark .eyebrow { color: #7cc8f2; }
.section--dark .section-title { color: #fff; }
.section--dark .section-title span { color: var(--accent); background: none; }
.section--dark .section-lead { color: rgba(255, 255, 255, .72); }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }

.mega__item.is-current { background: var(--soft); }
.mega__item.is-current strong { color: var(--primary); }

/* Page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--dark); }
.page-hero__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
}
[dir="rtl"] .page-hero__img { transform: scaleX(-1); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 32, 61, .96) 0%, rgba(3, 32, 61, .86) 38%, rgba(3, 32, 61, .35) 75%, rgba(3, 32, 61, .2) 100%),
    linear-gradient(0deg, rgba(3, 32, 61, .75) 0%, transparent 40%);
}
[dir="rtl"] .page-hero::before {
  background:
    linear-gradient(270deg, rgba(3, 32, 61, .96) 0%, rgba(3, 32, 61, .86) 38%, rgba(3, 32, 61, .35) 75%, rgba(3, 32, 61, .2) 100%),
    linear-gradient(0deg, rgba(3, 32, 61, .75) 0%, transparent 40%);
}
.page-hero__inner { display: flex; flex-direction: column; justify-content: center; min-height: 600px; padding-block: 64px 72px; }
.page-hero__content > * { max-width: 720px; }
.page-hero .hero__title { margin-top: 20px; }
.page-hero__content > * { animation: hero-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero__content > :nth-child(2) { animation-delay: .1s; }
.page-hero__content > :nth-child(3) { animation-delay: .2s; }
.page-hero__content > :nth-child(4) { animation-delay: .3s; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px;
  color: rgba(255, 255, 255, .7); font-size: .9rem; font-weight: 600;
}
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: .6rem; opacity: .6; }
.breadcrumb [aria-current] { color: var(--accent); }

.page-hero__chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; }
.glass-chip {
  display: flex; align-items: center; gap: 12px;
  padding-block: 10px; padding-inline: 10px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: hero-rise .8s .45s cubic-bezier(.2, .7, .2, 1) both;
}
.glass-chip:nth-child(2) { animation-delay: .55s; }
.glass-chip:nth-child(3) { animation-delay: .65s; }
.glass-chip__icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent); color: var(--dark); font-size: 1.05rem;
}
.glass-chip strong { display: block; font-size: .95rem; line-height: 1.3; }
.glass-chip small { display: block; color: rgba(255, 255, 255, .7); font-size: .8rem; }

/* Image with floating cards */
.media-stack { position: relative; isolation: isolate; padding-inline-start: 34px; padding-bottom: 34px; }
.media-stack .about__dots { top: -24px; inset-inline-start: 0; }
.media-stack__main { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 26px; box-shadow: 0 30px 60px rgba(3, 32, 61, .18); }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.media-stack__main:hover img { transform: scale(1.04); }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 14px; padding-inline: 14px 20px;
  background: #fff; color: var(--dark); border-radius: 16px; font-weight: 800; font-size: .95rem;
  box-shadow: 0 22px 45px rgba(3, 32, 61, .18);
  animation: float 5s ease-in-out infinite;
}
.float-card small { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.float-card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(0, 97, 171, .1); color: var(--primary); font-size: 1.05rem;
}
.float-card__icon--gold { background: rgba(252, 192, 12, .2); color: #b07f00; }
.float-card--a { bottom: 90px; inset-inline-end: -28px; }
.float-card--b { top: 48px; inset-inline-start: 0; animation-delay: -2.5s; }

.feature-list { display: grid; gap: 22px; margin: 30px 0 36px; }
.feature { display: flex; gap: 16px; }
.feature__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(0, 97, 171, .09); color: var(--primary); font-size: 1.2rem;
  transition: background .25s, color .25s;
}
.feature:hover .feature__icon { background: var(--primary); color: #fff; }
.feature h3 { margin: 0 0 4px; color: var(--dark); font-size: 1.08rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative; overflow: hidden; padding: 34px 30px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .45s ease;
}
[dir="rtl"] .svc-card::before { background: linear-gradient(270deg, var(--primary), var(--accent)); }
.svc-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 26px 50px rgba(3, 32, 61, .12); }
.svc-card:hover::before { width: 100%; }
.svc-card__num {
  position: absolute; top: 24px; inset-inline-end: 28px;
  color: rgba(0, 97, 171, .1); font-size: 2.6rem; font-weight: 800; line-height: 1;
}
.svc-card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 24px;
  background: rgba(0, 97, 171, .08); color: var(--primary); font-size: 1.5rem;
  transition: background .3s, color .3s, box-shadow .3s;
}
.svc-card:hover .svc-card__icon { background: var(--primary); color: #fff; box-shadow: 0 12px 26px rgba(0, 97, 171, .32); }
.svc-card h3 { margin: 0 0 10px; color: var(--dark); font-size: 1.2rem; }
.svc-card p { margin: 0 0 20px; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.svc-card ul { display: grid; gap: 9px; padding-top: 18px; border-top: 1px dashed var(--line); }
.svc-card li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .9rem; font-weight: 600; }
.svc-card li i {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(252, 192, 12, .22); color: #9a6f00; font-size: .62rem;
}

/* Process timeline */
.process { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.process__aside { position: sticky; top: 120px; }
.process__img {
  overflow: hidden; margin-top: 34px; aspect-ratio: 4 / 3; border-radius: 24px;
  box-shadow: 0 26px 55px rgba(3, 32, 61, .16);
}
.process__img img { width: 100%; height: 100%; object-fit: cover; }
.timeline { position: relative; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; top: 30px; bottom: 30px; inset-inline-start: 27px; width: 2px;
  background: linear-gradient(var(--primary), var(--accent));
}
.step { position: relative; display: flex; align-items: flex-start; gap: 24px; }
.step__num {
  position: relative; z-index: 1; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 10px;
  background: var(--primary); color: #fff; font-weight: 800;
  box-shadow: 0 0 0 7px #fff, 0 12px 26px rgba(0, 97, 171, .3);
  transition: background .3s, color .3s;
}
.step:hover .step__num { background: var(--accent); color: var(--dark); }
.step__body {
  flex: 1; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.step:hover .step__body { border-color: rgba(0, 97, 171, .3); box-shadow: 0 18px 40px rgba(3, 32, 61, .09); transform: translateX(4px); }
[dir="rtl"] .step:hover .step__body { transform: translateX(-4px); }
.step h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 6px; color: var(--dark); font-size: 1.15rem; }
.step__tag {
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(0, 97, 171, .08); color: var(--primary); font-size: .75rem; font-weight: 800;
}
.step p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* Tech stack */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tech-group {
  padding: 26px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  transition: box-shadow .3s, transform .3s;
}
.tech-group:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(3, 32, 61, .1); }
.tech-group h3 {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line); color: var(--dark); font-size: 1rem;
}
.tech-group h3 i { color: var(--accent-600); }
.tech-list { display: grid; gap: 10px; }
.tech-list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  background: var(--soft); color: var(--text); font-size: .92rem; font-weight: 700;
  transition: background .2s, color .2s;
}
.tech-list li i { width: 22px; text-align: center; color: var(--primary); font-size: 1.15rem; }
.tech-list li:hover { background: rgba(0, 97, 171, .1); color: var(--primary); }

/* Why us (dark) */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.why__items { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.why-item {
  padding: 24px; border-radius: 18px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .3s, border-color .3s, transform .3s;
}
.why-item:hover { background: rgba(255, 255, 255, .08); border-color: rgba(252, 192, 12, .45); transform: translateY(-4px); }
.why-item__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(252, 192, 12, .14); color: var(--accent); font-size: 1.15rem;
}
.why-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.why-item p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .92rem; line-height: 1.7; }
.why__media { position: relative; }
.why__media::before {
  content: ""; position: absolute; inset: 8%; z-index: 0; filter: blur(50px);
  background: radial-gradient(circle, rgba(12, 140, 203, .55), transparent 70%);
}
.why__frame {
  position: relative; z-index: 1; overflow: hidden; aspect-ratio: 1; border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px rgba(0, 0, 0, .4);
}
.why__frame img { width: 100%; height: 100%; object-fit: cover; }
.float-card--why { bottom: 36px; inset-inline-start: -32px; }
.why--full { grid-template-columns: 1fr; }
.why--full .section-lead { max-width: 720px; }
.why--full .why__items { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .why--full .why__items { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .why--full .why__items { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .9fr 1.3fr; gap: 72px; align-items: start; }
.faq__list { display: grid; gap: 14px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(0, 97, 171, .35); box-shadow: 0 18px 40px rgba(3, 32, 61, .08); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; list-style: none; cursor: pointer;
  color: var(--dark); font-size: 1.03rem; font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item__icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--soft); color: var(--primary); font-size: .85rem;
  transition: transform .3s, background .3s, color .3s;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); line-height: 1.85; }
.help-card {
  position: relative; overflow: hidden; margin-top: 32px; padding: 30px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, var(--primary-800), var(--primary) 60%, var(--primary-light));
}
.help-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; inset-inline-end: -70px; top: -90px;
  border-radius: 50%; border: 2px solid rgba(252, 192, 12, .45);
}
.help-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(255, 255, 255, .14); color: var(--accent); font-size: 1.3rem;
}
.help-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.help-card p { margin: 0 0 22px; color: rgba(255, 255, 255, .82); line-height: 1.7; }

@media (max-width: 1200px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .split, .process, .why, .faq { grid-template-columns: 1fr; gap: 56px; }
  .media-stack { max-width: 560px; margin-inline: auto; width: 100%; }
  .process__aside { position: static; }
  .process__img { max-width: 640px; }
  .why__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .page-hero__inner { min-height: 0; padding-block: 48px 56px; }
  .page-hero::before, [dir="rtl"] .page-hero::before {
    background: linear-gradient(0deg, rgba(3, 32, 61, .97) 0%, rgba(3, 32, 61, .88) 55%, rgba(3, 32, 61, .55) 100%);
  }
  .tech-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-grid, .why__items { grid-template-columns: 1fr; }
  .page-hero__chips { flex-direction: column; align-items: stretch; }
  .media-stack { padding-inline-start: 0; }
  .float-card { padding: 10px 14px 10px 10px; padding-inline: 10px 14px; font-size: .85rem; }
  .float-card__icon { width: 36px; height: 36px; }
  .float-card--a { inset-inline-end: 8px; bottom: 60px; }
  .float-card--b { inset-inline-start: 8px; top: 24px; }
  .float-card--why { inset-inline-start: 8px; bottom: 16px; }
  .step { gap: 14px; }
  .step__num { width: 46px; height: 46px; font-size: .9rem; }
  .timeline::before { inset-inline-start: 22px; }
  .step h3 { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .tech-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   More inner-page components
   ========================================================= */
/* Check list (gold ticks) */
.check-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-weight: 600; line-height: 1.6; }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .65rem;
  width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(252, 192, 12, .25); color: #8a6300;
}
.section--dark .check-list li { color: rgba(255, 255, 255, .88); }
.section--dark .check-list li::before { background: rgba(252, 192, 12, .18); color: var(--accent); }

/* Short labels like ".NET" keep their own direction inside Arabic pages */
.tech-list li, .project-card__tech li, .chip-list li span, .ind-card__tags li, .step__tag { unicode-bidi: plaintext; }

/* Link at the bottom of a service card (whole card clickable) */
.svc-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--primary); font-weight: 800; }
.svc-card__link::after { content: ""; position: absolute; inset: 0; }
.svc-card__link i { transition: transform .3s; }
.svc-card:hover .svc-card__link i { transform: translateX(5px); }
[dir="rtl"] .svc-card:hover .svc-card__link i { transform: scaleX(-1) translateX(5px); }

/* Compact hero that leaves room for overlapping cards (contact page) */
.page-hero--compact.page-hero--overlap .page-hero__inner { padding-bottom: 130px; }

/* Highlight line at the bottom of a service card */
.svc-card__note {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; padding-top: 16px;
  border-top: 1px dashed var(--line); color: var(--dark) !important; font-size: .9rem !important; font-weight: 700;
}
.svc-card__note i { margin-top: 4px; color: var(--accent-600); }

/* Chip list (industries, integrations) */
.chip-list { display: flex; flex-wrap: wrap; gap: 12px; }
.chip-list li {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--dark); font-weight: 700; font-size: .92rem;
  transition: border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.chip-list li i { color: var(--primary); }
.chip-list li:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(3, 32, 61, .08); }
.chip-list--center { justify-content: center; }

/* Image frame used beside text */
.img-frame { position: relative; overflow: hidden; border-radius: 26px; box-shadow: 0 30px 60px rgba(3, 32, 61, .18); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .8s ease; }
.img-frame:hover img { transform: scale(1.04); }
.img-frame__badge {
  position: absolute; inset-inline-start: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 12px; background: rgba(3, 32, 61, .78); color: #fff; font-weight: 700; font-size: .9rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.img-frame__badge i { color: var(--accent); }
.split--reverse > :first-child { order: 2; }

/* Highlight quote / statement */
.statement {
  position: relative; margin-top: 28px; padding: 22px 26px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 97, 171, .08), rgba(252, 192, 12, .1));
  border-inline-start: 4px solid var(--accent); color: var(--dark); font-weight: 700; font-size: 1.05rem; line-height: 1.7;
}
.section--dark .statement { background: rgba(255, 255, 255, .06); color: #fff; }

/* Trip journey (3 stages) */
.journey { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: stage; }
.journey::before {
  content: ""; position: absolute; top: 44px; inset-inline: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 10px, transparent 10px 18px);
}
.journey__stage { position: relative; text-align: center; }
.journey__icon {
  position: relative; z-index: 1; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem; color: #fff;
  background: linear-gradient(135deg, var(--primary-800), var(--primary-light));
  box-shadow: 0 0 0 8px var(--soft), 0 16px 34px rgba(0, 97, 171, .3);
}
.journey__stage:nth-child(2) .journey__icon { background: linear-gradient(135deg, #b88a00, var(--accent)); color: var(--dark); }
.journey__card {
  padding: 26px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); height: calc(100% - 110px);
  transition: transform .3s, box-shadow .3s;
}
.journey__card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(3, 32, 61, .1); }
.journey__step { display: inline-block; margin-bottom: 8px; color: var(--primary); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html[lang="ar"] .journey__step { letter-spacing: 0; }
.journey__card h3 { margin: 0 0 8px; color: var(--dark); font-size: 1.15rem; }
.journey__card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: .95rem; }

/* Comparison table */
.compare {
  overflow: hidden; max-width: 920px; margin-inline: auto; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(3, 32, 61, .08);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 24px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: start; }
.compare thead th { background: var(--soft); color: var(--dark); font-size: 1rem; vertical-align: bottom; }
.compare thead th small { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.compare thead th.is-featured { background: var(--dark); color: #fff; position: relative; }
.compare thead th.is-featured small { color: var(--accent); }
.compare td { color: var(--text); font-weight: 600; }
.compare td.is-featured { background: rgba(0, 97, 171, .04); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: #0a8f5a; font-size: 1.15rem; }
.compare .no { color: #a0aec0; font-size: 1.15rem; }
.compare__price { color: var(--primary); font-weight: 800; }

/* Values (mission / vision / values) */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  position: relative; overflow: hidden; padding: 36px 30px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(3, 32, 61, .12); }
.value-card--featured { background: linear-gradient(150deg, var(--primary-800), var(--primary) 70%); color: #fff; border-color: transparent; }
.value-card__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(0, 97, 171, .09); color: var(--primary); font-size: 1.4rem;
}
.value-card--featured .value-card__icon { background: rgba(255, 255, 255, .14); color: var(--accent); }
.value-card h3 { margin: 0 0 10px; font-size: 1.3rem; color: var(--dark); }
.value-card--featured h3 { color: #fff; }
.value-card p { margin: 0; color: var(--muted); line-height: 1.8; }
.value-card--featured p { color: rgba(255, 255, 255, .85); }
.value-card .check-list { margin: 0; gap: 10px; }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-band .stat { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-align: center; }
.stats-band .stat + .stat { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.stats-band .stat i { display: block; margin-bottom: 12px; color: var(--accent-600); font-size: 1.4rem; }

/* Solutions hub cards (reuse .ind-card look) */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hub-grid .ind-card { min-height: 460px; }
.hub-grid .ind-card p { min-height: 0; }

/* Filter tabs + project cards */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-tab {
  padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--dark); font-weight: 700; font-size: .92rem; transition: background .2s, color .2s, border-color .2s;
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 10px 22px rgba(0, 97, 171, .25); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid var(--line);
  transition: transform .35s, box-shadow .35s, opacity .3s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(3, 32, 61, .12); }
.project-card[hidden] { display: none; }
.project-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-card:hover .project-card__media img { transform: scale(1.06); }
.project-card__tag {
  position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; background: rgba(3, 32, 61, .8); color: #fff; font-size: .8rem; font-weight: 700;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.project-card__tag i { color: var(--accent); }
.project-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.project-card__client { color: var(--primary); font-size: .85rem; font-weight: 700; }
.project-card h3 { margin: 6px 0 10px; color: var(--dark); font-size: 1.2rem; line-height: 1.4; }
.project-card p { margin: 0 0 18px; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.project-card__result {
  display: flex; align-items: flex-start; gap: 10px; margin-top: auto; margin-bottom: 18px; padding: 12px 14px; border-radius: 12px;
  background: rgba(252, 192, 12, .12); color: var(--dark); font-size: .9rem; font-weight: 700; line-height: 1.5;
}
.project-card__result i { margin-top: 3px; color: #a37500; }
.project-card__tech { display: flex; flex-wrap: wrap; gap: 6px; }
.project-card__tech li { padding: 5px 10px; border-radius: 8px; background: var(--soft); color: var(--muted); font-size: .78rem; font-weight: 700; }
.project-card__real {
  position: absolute; top: 16px; inset-inline-end: 16px; padding: 6px 12px; border-radius: 999px;
  background: var(--accent); color: var(--dark); font-size: .75rem; font-weight: 800;
}

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: -70px; position: relative; z-index: 2; }
.contact-card {
  display: block; padding: 28px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(3, 32, 61, .1); transition: transform .3s, box-shadow .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(3, 32, 61, .16); }
.contact-card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(0, 97, 171, .09); color: var(--primary); font-size: 1.3rem; transition: background .3s, color .3s;
}
.contact-card:hover .contact-card__icon { background: var(--primary); color: #fff; }
.contact-card--wa .contact-card__icon { background: rgba(37, 211, 102, .12); color: #128c4a; }
.contact-card--wa:hover .contact-card__icon { background: #25d366; color: #fff; }
.contact-card h3 { margin: 0 0 6px; color: var(--dark); font-size: 1.05rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.contact-card strong { display: block; margin-top: 10px; color: var(--primary); font-size: .98rem; }

.contact-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.form-card { padding: 40px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(3, 32, 61, .08); }
.form-card h2 { margin: 12px 0 8px; color: var(--dark); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.form-card > p { margin: 0 0 28px; color: var(--muted); line-height: 1.7; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form label { color: var(--dark); font-size: .9rem; font-weight: 700; }
.form label .req { color: #d23c3c; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #d7dee8; border-radius: 12px; background: #fbfcfe;
  color: var(--text); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(0, 97, 171, .12);
}
.form [aria-invalid="true"] { border-color: #d23c3c; box-shadow: 0 0 0 4px rgba(210, 60, 60, .1); }
.form__error { display: none; color: #c0392b; font-size: .82rem; font-weight: 600; }
.form [aria-invalid="true"] + .form__error { display: block; }
/* Spam trap: hidden without off-screen offsets (offsets cause sideways scrolling in RTL) */
.form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form__note { margin: 0; color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: 8px; }
.form__note i { color: var(--primary); }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.form-alert {
  grid-column: 1 / -1; display: none; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px; font-weight: 600; line-height: 1.6;
}
.form-alert.is-visible { display: flex; }
.form-alert--success { background: rgba(10, 143, 90, .1); color: #0a6b45; }
.form-alert--error { background: rgba(210, 60, 60, .1); color: #a32a2a; }

.contact-side { display: grid; gap: 22px; }
.info-card { padding: 30px; border-radius: 22px; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.info-card::after {
  content: ""; position: absolute; width: 240px; height: 240px; inset-inline-end: -90px; bottom: -120px;
  border-radius: 50%; border: 2px solid rgba(252, 192, 12, .35);
}
.info-card h3 { margin: 0 0 18px; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.info-card h3 i { color: var(--accent); }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .82); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list strong { color: #fff; }
.map-embed { overflow: hidden; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(3, 32, 61, .08); }
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-embed__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 340px; padding: 32px 20px; text-align: center; color: var(--muted);
  background:
    linear-gradient(rgba(241, 245, 249, .86), rgba(241, 245, 249, .86)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(0, 97, 171, .12) 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(0, 97, 171, .12) 38px 40px),
    linear-gradient(135deg, #e6eef7, #f7fafc);
}
.map-embed__pin {
  width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-size: 1.5rem; box-shadow: 0 0 0 10px rgba(0, 97, 171, .12);
}
.map-embed__placeholder strong { color: var(--dark); font-size: 1.15rem; }
.map-embed__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.map-embed__actions .btn--light { border-color: var(--line); }

/* Office cards (contact page) */
.offices { scroll-margin-top: 110px; }
.offices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.office-card {
  overflow: hidden; border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(3, 32, 61, .08); transition: transform .35s, box-shadow .35s;
}
.office-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(3, 32, 61, .14); }
.office-card__media {
  position: relative; isolation: isolate; aspect-ratio: 16 / 9;
  border: 0; border-radius: 0; box-shadow: none; background: var(--dark);
}
.office-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.office-card:hover .office-card__media img { transform: scale(1.05); }
.office-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 32, 61, 0) 35%, rgba(3, 32, 61, .88) 100%);
}
.office-card__media iframe { width: 100%; height: 100%; }
.office-card__media:has(iframe)::after { display: none; }
.office-card__label { position: absolute; z-index: 1; inset-inline: 24px; bottom: 20px; color: #fff; }
.office-card__tag {
  display: inline-block; margin-bottom: 6px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent); color: var(--dark); font-size: .75rem; font-weight: 800;
}
.office-card__label h3 { margin: 0; font-size: 1.5rem; font-weight: 800; color: #fff; }
.office-card__body { padding: 22px 24px 24px; }
.office-card__addr { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; color: var(--text); font-weight: 600; }
.office-card__addr i { margin-top: 4px; color: var(--primary); }
.office-card .map-embed__actions { justify-content: flex-start; margin-top: 0; }
@media (max-width: 900px) { .offices__grid { grid-template-columns: 1fr; } }

/* Careers */
.jobs { display: grid; gap: 16px; }
.job-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 24px 28px;
  border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .3s;
}
.job-card:hover { border-color: rgba(0, 97, 171, .35); box-shadow: 0 20px 44px rgba(3, 32, 61, .1); transform: translateY(-3px); }
.job-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(0, 97, 171, .09); color: var(--primary); font-size: 1.3rem; }
.job-card h3 { margin: 0 0 8px; color: var(--dark); font-size: 1.15rem; }
.job-card p { margin: 0 0 12px; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-card__tags li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--text); font-size: .8rem; font-weight: 700; }
.job-card__tags i { color: var(--primary); }

/* Legal pages */
.page-hero--compact .page-hero__inner { min-height: 0; padding-block: 56px 64px; }
.page-hero--compact { background: linear-gradient(120deg, var(--dark) 0%, var(--primary-800) 60%, var(--primary) 100%); }
.page-hero--compact::before { background: radial-gradient(circle at 85% 20%, rgba(252, 192, 12, .18), transparent 40%); }
[dir="rtl"] .page-hero--compact::before { background: radial-gradient(circle at 15% 20%, rgba(252, 192, 12, .18), transparent 40%); }
.legal { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 110px; padding: 24px; border-radius: 20px; background: var(--soft); }
.toc h2 { margin: 0 0 14px; color: var(--dark); font-size: 1rem; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-size: .92rem; font-weight: 600; transition: background .2s, color .2s; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--primary); font-weight: 800; }
.toc a:hover { background: #fff; color: var(--primary); }
.prose { color: var(--text); line-height: 1.9; }
.prose__updated { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 8px 14px; border-radius: 999px; background: rgba(0, 97, 171, .08); color: var(--primary); font-size: .88rem; font-weight: 700; }
.prose section { scroll-margin-top: 110px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.prose section:last-child { border-bottom: 0; }
.prose h2 { margin: 0 0 12px; color: var(--dark); font-size: 1.35rem; }
.prose p { margin: 0 0 12px; color: #475569; }
.prose ul { display: grid; gap: 8px; margin: 0 0 12px; }
.prose ul li { position: relative; padding-inline-start: 22px; color: #475569; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

@media (max-width: 1100px) {
  .values-grid, .hub-grid, .projects-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards, .stats-band { grid-template-columns: 1fr 1fr; }
  .contact-layout, .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
  .split--reverse > :first-child { order: 0; }
}
@media (max-width: 768px) {
  .journey { grid-template-columns: 1fr; gap: 20px; }
  .journey::before { top: 44px; bottom: 44px; inset-inline: auto; inset-inline-start: 43px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--primary) 0 10px, transparent 10px 18px); }
  .journey__stage { display: flex; gap: 18px; text-align: start; }
  .journey__icon { flex-shrink: 0; margin: 0; }
  .journey__card { height: auto; flex: 1; }
  .compare { overflow-x: auto; }
  .compare th, .compare td { padding: 14px 14px; font-size: .9rem; }
  .form-card { padding: 26px 22px; }
  .form { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: auto 1fr; }
  .job-card .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .values-grid, .hub-grid, .projects-grid, .contact-cards, .stats-band { grid-template-columns: 1fr; }
  .contact-cards { margin-top: -50px; }
  .stats-band .stat + .stat { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
  .journey__icon { width: 72px; height: 72px; font-size: 1.4rem; }
  .journey::before { inset-inline-start: 35px; }
  .job-card { padding: 20px; gap: 16px; }
  .job-card__icon { width: 48px; height: 48px; }
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--primary-800) 0%, var(--primary) 55%, var(--primary-light) 100%);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
/* gold swoosh, echoing the logo */
.cta-band::before {
  width: 140%; height: 260px; left: -20%; bottom: -215px;
  border: 3px solid transparent; border-top-color: rgba(252, 192, 12, .85);
  transform: rotate(-3deg);
}
[dir="rtl"] .cta-band::before { transform: rotate(3deg); }
.cta-band::after {
  width: 420px; height: 420px; inset-inline-end: -120px; top: -220px;
  border: 1px solid rgba(255, 255, 255, .14);
}
.cta-band__inner {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding-block: 52px;
}
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.95rem); font-weight: 800; line-height: 1.3; }
.cta-band p { margin: 0; max-width: 580px; opacity: .9; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--dark); color: #94a3b8; font-size: .94rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px;
  padding-block: 64px 48px;
}
.footer__brand p { max-width: 360px; margin: 20px 0 24px; line-height: 1.8; }
.footer h3 {
  position: relative; margin: 0 0 22px; padding-bottom: 12px;
  font-size: 1.05rem; font-weight: 700; color: #fff;
}
.footer h3::after {
  content: ""; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 32px; height: 3px; border-radius: 3px; background: var(--accent);
}
.footer__links li + li { margin-top: 12px; }
.footer__links a { display: inline-block; transition: color .2s, padding .2s; }
.footer__links a:hover { color: #fff; padding-inline-start: 6px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer__contact li + li { margin-top: 16px; }
.footer__contact i { width: 16px; margin-top: 5px; color: var(--accent); }
.footer__contact a:hover { color: #fff; }
.footer__office { display: block; color: #fff; font-weight: 700; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-block: 22px; font-size: .88rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a:hover { color: #fff; }

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-block: 48px 36px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding-block: 40px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* =========================================================
   Back to top
   ========================================================= */
.to-top {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 80;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(0, 97, 171, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-600); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .hero__slide.is-active .hero__img,
  .hero__slide.is-active .hero__content > * { animation: none; transform: none; }
  .hero__tab.is-active .hero__tab-fill { animation: none; width: 100%; } /* no auto-advance */
  html.js [data-reveal] { opacity: 1; translate: none; }
  .about__badge, .float-card, .glass-chip, .page-hero__content > * { animation: none; }
}
