:root {
  --navy: #1a2b56;
  --navy-deep: #101b3a;
  --slate: #3d5a80;
  --silver: #a9bcc6;
  --bg: #f5f8fb;
  --bg-2: #e8eef4;
  --panel: #ffffff;
  --panel-2: #f0f4f8;
  --line: rgba(26, 43, 86, 0.12);
  --text: #1a2b56;
  --muted: #5a6f88;
  --accent: #3d5a80;
  --accent-2: #1a2b56;
  --silver-soft: #c5d4dc;
  --ink-btn: #ffffff;
  --font-ar: "Beiruti", sans-serif;
  --font-en: "Noto Sans", sans-serif;
  --font-en-display: "Edu VIC WA NT Hand", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-stack: 4.25rem;
  --section-h: 88svh;
  --title-size: clamp(1.55rem, 4vw, 2.4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  overflow-x: hidden;
  overflow-y: auto;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] .hero h1,
html[lang="en"] .about-title,
html[lang="en"] .about-title-line,
html[lang="en"] .about-title-sub,
html[lang="en"] .sec-title-line,
html[lang="en"] .sec-title-sub,
html[lang="en"] .services-head h2,
html[lang="en"] .impact h2,
html[lang="en"] .contact h2,
html[lang="en"] .quote-head h3,
html[lang="en"] .card h3,
html[lang="en"] .side-menu a {
  font-family: var(--font-en-display);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* custom cursor */
.cursor,
.cursor-glow {
  pointer-events: none;
  position: fixed;
  z-index: 100;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 10px;
  height: 10px;
  background: var(--text);
}

.cursor-glow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 32, 51, 0.35);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s;
}

body.hovering .cursor-glow {
  width: 70px;
  height: 70px;
  opacity: 0.7;
}

@media (pointer: coarse) {
  .cursor,
  .cursor-glow {
    display: none;
  }
}

/* topbar — white sticky */
.topbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: 4.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26, 43, 86, 0.1);
  box-shadow: 0 8px 24px rgba(26, 43, 86, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 5.6rem;
  height: auto;
}

.nav-links {
  display: none;
  justify-content: center;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 1.75rem);
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.78;
  position: relative;
  transition: opacity 0.25s, color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chip {
  min-width: 2.6rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-radius: 999px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}

.chip:hover {
  transform: translateY(-2px);
  background: rgba(26, 43, 86, 0.08);
  border-color: rgba(26, 43, 86, 0.28);
}

.chip.cta {
  background: linear-gradient(120deg, var(--navy), var(--slate));
  color: #fff;
  border-color: transparent;
  display: none;
}

.chip.cta:hover {
  filter: brightness(1.08);
  color: #fff;
}

.chip.ghost {
  font-size: 1rem;
}

@media (min-width: 860px) {
  .topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    display: flex;
  }

  .chip.cta {
    display: inline-flex;
  }

  .chip.ghost {
    display: none;
  }

  .brand img {
    width: 6.2rem;
  }
}

.hero-bottom {
  position: absolute;
  inset-inline: 0;
  bottom: 0.85rem;
  z-index: 6;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}

/* market ticker — raised inside hero, no background */
.market-ticker {
  position: relative;
  z-index: 5;
  width: 100%;
  overflow: hidden;
  padding: 0.35rem 0 0.15rem;
  margin-top: -0.5rem;
  background: transparent;
  border: 0;
  direction: ltr;
  transform: translateY(-1.1rem);
}

.market-track {
  display: flex;
  gap: 2.25rem;
  width: max-content;
  animation: marketScroll 32s linear infinite;
  will-change: transform;
  direction: ltr;
}

.market-track:hover {
  animation-play-state: paused;
}

.m-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-en);
  font-size: 0.86rem;
  color: var(--navy);
  white-space: nowrap;
}

.m-item b {
  font-weight: 800;
  letter-spacing: 0.03em;
}

.m-item .price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--slate);
}

.m-item .chg {
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.m-item.up .chg {
  color: #0f766e;
}

.m-item.down .chg {
  color: #b91c1c;
}

@keyframes marketScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(245, 248, 251, 0.96);
  backdrop-filter: blur(20px);
  display: grid;
  place-content: center;
  gap: 1.25rem;
  text-align: center;
}

.side-menu[hidden] {
  display: none;
}

.side-menu a {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.side-menu a:hover {
  color: var(--accent);
  transform: scale(1.04);
}

.side-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.25rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

/* progress + dots */
.progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 45;
  height: 2px;
  background: transparent;
}

.progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--silver), var(--slate));
  transition: width 0.45s var(--ease);
}

.dots {
  position: fixed;
  inset-inline-end: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: grid;
  gap: 0.65rem;
}

.dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(18, 32, 51, 0.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.dots button.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.35);
}

/* deck / slides */
.deck {
  width: 100%;
}

.slide {
  position: relative;
  min-height: var(--section-h);
  overflow: hidden;
  padding: calc(var(--header-stack) + 0.75rem) 1.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide.hero {
  min-height: 100svh;
  display: grid;
}

.slide.active .reveal,
.slide.active .hero-center > *,
.slide.active .paper-card,
.slide.active .stat-box,
.slide.active .cbox,
.slide.active .about-copy > * {
  animation-play-state: running;
}

/* ===== HERO ===== */
.hero {
  display: grid;
  place-items: center;
  padding-bottom: 5.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(169, 188, 198, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(61, 90, 128, 0.12), transparent 55%),
    var(--bg);
}

.float-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.acc-box {
  position: absolute;
  display: grid;
  gap: 0.2rem;
  align-content: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(26, 43, 86, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 238, 244, 0.88));
  box-shadow: 0 18px 40px rgba(26, 43, 86, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1.1rem;
  animation: floatBox 7s ease-in-out infinite alternate;
  color: var(--navy);
}

.acc-label {
  font-family: var(--font-ar);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--slate);
}

html[lang="en"] .acc-label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acc-box strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--font-en);
  line-height: 1.1;
}

.acc-up {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f766e;
}

.acc-eq {
  font-size: 1rem !important;
  letter-spacing: 0.04em !important;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 2.4rem;
  margin-top: 0.2rem;
}

.bars i {
  display: block;
  width: 7px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, var(--slate), var(--navy));
  transform-origin: bottom;
  animation: barPulse 2.4s ease-in-out infinite alternate;
}

.bars i:nth-child(1) { height: 35%; animation-delay: 0s; }
.bars i:nth-child(2) { height: 60%; animation-delay: 0.15s; }
.bars i:nth-child(3) { height: 45%; animation-delay: 0.3s; }
.bars i:nth-child(4) { height: 85%; animation-delay: 0.45s; }
.bars i:nth-child(5) { height: 55%; animation-delay: 0.6s; }

.ledger-lines {
  display: grid;
  gap: 5px;
  margin-top: 0.35rem;
}

.ledger-lines span {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(26, 43, 86, 0.15);
}

.ledger-lines span:nth-child(1) { width: 100%; }
.ledger-lines span:nth-child(2) { width: 78%; background: rgba(61, 90, 128, 0.35); }
.ledger-lines span:nth-child(3) { width: 56%; }

.b1 { width: 8.2rem; top: 16%; inset-inline-start: 5%; animation-duration: 6s; }
.b2 { width: 7rem; top: 24%; inset-inline-end: 7%; animation-duration: 8s; }
.b3 { width: 8.5rem; bottom: 18%; inset-inline-start: 8%; animation-duration: 9s; }
.b4 { width: 5.8rem; top: 52%; inset-inline-end: 10%; animation-duration: 5.5s; background: linear-gradient(145deg, rgba(26, 43, 86, 0.95), rgba(61, 90, 128, 0.9)); color: #fff; border-color: transparent; }
.b4 .acc-label { color: var(--silver); }
.b5 { width: 8rem; bottom: 14%; inset-inline-end: 6%; animation-duration: 7.5s; }
.b6 { width: 5.5rem; top: 18%; inset-inline-start: 42%; animation-duration: 4.5s; }
.b7 { width: 8rem; top: 68%; inset-inline-start: 38%; animation-duration: 10s; }
.b8 { width: 5.8rem; top: 40%; inset-inline-start: 4%; animation-duration: 8.5s; }

@media (max-width: 720px) {
  .b6, .b7, .b8 { display: none; }
  .b1 { inset-inline-start: 3%; top: 14%; transform: scale(0.9); }
  .b2 { inset-inline-end: 3%; top: 20%; transform: scale(0.9); }
  .b3 { inset-inline-start: 4%; bottom: 14%; transform: scale(0.9); }
  .b4 { inset-inline-end: 4%; top: 58%; transform: scale(0.9); }
  .b5 { inset-inline-end: 8%; bottom: 10%; transform: scale(0.85); opacity: 0.9; }
}

.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 48rem;
}

.hero-logo {
  width: min(52vw, 14rem);
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 20px 40px rgba(18, 32, 51, 0.12));
  animation: logoIn 1.1s var(--ease) both;
}

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  background: linear-gradient(120deg, var(--navy) 15%, var(--slate) 55%, #6f8fad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 0.9s 0.1s var(--ease) both;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  margin-bottom: 1.75rem;
  animation: rise 0.9s 0.18s var(--ease) both;
}

.pulse-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--ink-btn);
  background: linear-gradient(120deg, var(--navy), var(--slate));
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  position: relative;
  animation: rise 0.9s 0.26s var(--ease) both, pulse 2.4s ease-in-out infinite;
}

.scroll-hint {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(26, 43, 86, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
  cursor: pointer;
  animation: bounceHint 2s ease-in-out infinite;
}

.scroll-hint svg {
  width: 1.15rem;
  height: 1.15rem;
}

.scroll-hint:hover {
  background: #fff;
  border-color: var(--navy);
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(7px); opacity: 1; }
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  min-height: auto;
  justify-content: center;
  padding-top: calc(var(--header-stack) + 1.5rem);
  padding-bottom: 2.75rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(169, 188, 198, 0.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(61, 90, 128, 0.35), transparent 45%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #f4f7fb;
  overflow: hidden;
}

.about-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ledger-grid {
  position: absolute;
  inset: -10%;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(169, 188, 198, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 188, 198, 0.18) 1px, transparent 1px),
    repeating-linear-gradient(
      0deg,
      transparent 0 27px,
      rgba(169, 188, 198, 0.08) 27px 28px
    );
  background-size: 48px 48px, 48px 48px, 100% 28px;
  transform: rotate(-6deg) scale(1.15);
  animation: ledgerDrift 28s linear infinite;
}

.ledger-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 46px,
      rgba(251, 191, 36, 0.12) 46px 48px
    );
  mix-blend-mode: soft-light;
}

.pattern-words {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: space-around;
  gap: 1.5rem 1rem;
  padding: 4rem 2rem;
  opacity: 0.035;
  transform: rotate(-8deg) scale(1.2);
}

.pattern-words span {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--silver);
  white-space: nowrap;
  animation: wordPulse 6s ease-in-out infinite;
}

.pattern-words span:nth-child(odd) {
  animation-delay: -2s;
  opacity: 0.55;
}

.pattern-words span:nth-child(3n) {
  animation-delay: -4s;
}

.pattern-icons {
  position: absolute;
  inset: 0;
}

.pi {
  position: absolute;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(169, 188, 198, 0.18);
  border-radius: 0.75rem;
  opacity: 0.06;
  animation: floatBox 8s ease-in-out infinite alternate;
}

.pi::before,
.pi::after {
  content: "";
  position: absolute;
  inset: 20%;
}

.pi-calc {
  top: 18%;
  inset-inline-end: 12%;
  background:
    linear-gradient(rgba(169, 188, 198, 0.55), rgba(169, 188, 198, 0.55)) 22% 28% / 56% 10% no-repeat,
    radial-gradient(circle at 28% 58%, rgba(169, 188, 198, 0.7) 0 8%, transparent 9%),
    radial-gradient(circle at 50% 58%, rgba(169, 188, 198, 0.7) 0 8%, transparent 9%),
    radial-gradient(circle at 72% 58%, rgba(169, 188, 198, 0.7) 0 8%, transparent 9%),
    radial-gradient(circle at 28% 78%, rgba(169, 188, 198, 0.7) 0 8%, transparent 9%),
    radial-gradient(circle at 50% 78%, rgba(169, 188, 198, 0.7) 0 8%, transparent 9%),
    radial-gradient(circle at 72% 78%, rgba(169, 188, 198, 0.7) 0 8%, transparent 9%);
  animation-duration: 7s;
}

.pi-pie {
  top: 62%;
  inset-inline-start: 10%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 20deg,
      rgba(169, 188, 198, 0.75) 0 38%,
      rgba(61, 90, 128, 0.7) 38% 68%,
      rgba(169, 188, 198, 0.35) 68% 100%
    );
  animation-duration: 9s;
}

.pi-bars {
  top: 28%;
  inset-inline-start: 8%;
  background:
    linear-gradient(rgba(169, 188, 198, 0.65), rgba(169, 188, 198, 0.65)) 22% 70% / 12% 40% no-repeat,
    linear-gradient(rgba(169, 188, 198, 0.65), rgba(169, 188, 198, 0.65)) 44% 45% / 12% 65% no-repeat,
    linear-gradient(rgba(169, 188, 198, 0.65), rgba(169, 188, 198, 0.65)) 66% 55% / 12% 55% no-repeat;
  animation-duration: 6.5s;
}

.pi-scale {
  bottom: 18%;
  inset-inline-end: 18%;
  background:
    linear-gradient(rgba(169, 188, 198, 0.7), rgba(169, 188, 198, 0.7)) 50% 20% / 55% 8% no-repeat,
    linear-gradient(rgba(169, 188, 198, 0.7), rgba(169, 188, 198, 0.7)) 50% 20% / 8% 55% no-repeat,
    linear-gradient(rgba(169, 188, 198, 0.55), rgba(169, 188, 198, 0.55)) 28% 68% / 28% 8% no-repeat,
    linear-gradient(rgba(169, 188, 198, 0.55), rgba(169, 188, 198, 0.55)) 72% 68% / 28% 8% no-repeat;
  animation-duration: 8.5s;
}

.pi-doc {
  top: 48%;
  inset-inline-end: 8%;
  background:
    linear-gradient(rgba(169, 188, 198, 0.55), rgba(169, 188, 198, 0.55)) 28% 30% / 50% 6% no-repeat,
    linear-gradient(rgba(169, 188, 198, 0.45), rgba(169, 188, 198, 0.45)) 28% 48% / 44% 6% no-repeat,
    linear-gradient(rgba(169, 188, 198, 0.35), rgba(169, 188, 198, 0.35)) 28% 66% / 38% 6% no-repeat;
  animation-duration: 7.8s;
}

.pi:nth-child(6) { top: 12%; inset-inline-start: 40%; opacity: 0.04; }
.pi:nth-child(7) { bottom: 12%; inset-inline-start: 35%; opacity: 0.045; }
.pi:nth-child(8) { top: 40%; inset-inline-start: 55%; opacity: 0.035; }

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  max-width: 84rem;
  margin: 0 auto;
  width: 100%;
  align-items: center;
}

.about-copy {
  display: grid;
  gap: 0.35rem;
  max-width: 40rem;
}

.tag {
  display: inline-block;
  color: var(--slate);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.tag.light {
  color: var(--silver);
}

/* Unified section titles (About-style) */
.sec-head {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
}

.sec-head--center {
  justify-items: center;
  text-align: center;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--slate);
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
}

.sec-tag::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  flex-shrink: 0;
}

.sec-tag span {
  padding: 0.22rem 0.7rem;
  border: 1px solid rgba(26, 43, 86, 0.16);
  border-radius: 999px;
  background: rgba(26, 43, 86, 0.04);
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
}

.sec-tag--dark {
  color: #d7e3ea;
}

.sec-tag--dark::before {
  background: #a9bcc6;
}

.sec-tag--dark span {
  border-color: rgba(169, 188, 198, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #e8f0f5;
}

.sec-head--center .sec-tag {
  justify-content: center;
}

.sec-title {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  justify-items: start;
}

.sec-head--center .sec-title {
  justify-items: center;
}

.sec-title-line {
  display: block;
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.sec-tag--dark ~ .sec-title .sec-title-line,
.sec-head:has(.sec-tag--dark) .sec-title-line,
.about .sec-title-line,
.impact .sec-title-line {
  color: #ffffff;
}

.sec-title-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(26, 43, 86, 0.06);
  border: 1px solid rgba(26, 43, 86, 0.14);
  border-radius: 0.55rem;
  padding: 0.3rem 0.75rem;
}

.sec-title-sub::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--slate);
  box-shadow: 0 0 0 4px rgba(61, 90, 128, 0.12);
  flex-shrink: 0;
}

.about .sec-title-sub,
.impact .sec-title-sub {
  color: #e8f0f5;
  background: rgba(169, 188, 198, 0.16);
  border-color: rgba(169, 188, 198, 0.4);
}

.about .sec-title-sub::before,
.impact .sec-title-sub::before {
  background: #a9bcc6;
  box-shadow: 0 0 0 4px rgba(169, 188, 198, 0.15);
}

html[lang="ar"] .sec-tag span {
  letter-spacing: 0.04em;
  text-transform: none;
}

/* legacy aliases kept for safety */
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #d7e3ea;
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
}

.about-title {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.about-copy .body {
  color: rgba(230, 238, 244, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  max-width: 52ch;
  line-height: 1.8;
}

.about-quote {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  max-width: 48ch;
  border-inline-start: 3px solid rgba(169, 188, 198, 0.65);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0.75rem 0.75rem 0;
  color: rgba(232, 240, 245, 0.92);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: normal;
}

html[dir="ltr"] .about-quote {
  border-radius: 0.75rem 0 0 0.75rem;
}

.about-specs-title {
  margin: 1.1rem 0 0.55rem;
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[lang="ar"] .about-specs-title {
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 0.9rem;
}

.about-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  max-width: 40rem;
}

.about-specs li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(169, 188, 198, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 240, 245, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-motto {
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  opacity: 0.9;
}

html[lang="ar"] .hero-motto {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.95rem;
}

.orbit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  perspective: 1200px;
  width: 100%;
}

.paper-card {
  position: relative;
  min-height: 9.8rem;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1200px;
  transform-style: preserve-3d;
  animation: boxIn 0.7s var(--ease) both;
  -webkit-tap-highlight-color: transparent;
}

.paper-card:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 4px;
  border-radius: 0.4rem;
}

.paper-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 9.8rem;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-origin: center center;
}

.paper-card.is-flipped .paper-inner {
  transform: rotateY(180deg);
}

.paper-face {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.4rem;
  padding: 1.25rem 1.15rem 1.15rem 1.65rem;
  border-radius: 1rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  color: #f4f7fb;
  border: 1px solid rgba(169, 188, 198, 0.28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  background:
    linear-gradient(90deg, transparent 0 14px, rgba(169, 188, 198, 0.55) 14px 15px, transparent 15px),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.07) 0 26px,
      rgba(169, 188, 198, 0.12) 26px 27px
    ),
    linear-gradient(145deg, #243864, #152448);
  overflow: hidden;
}

.paper-face::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 0.9rem;
  background: linear-gradient(90deg, rgba(169, 188, 198, 0.12), transparent);
}

.paper-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(169, 188, 198, 0.12), transparent 45%);
  pointer-events: none;
}

.paper-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(90deg, transparent 0 14px, rgba(169, 188, 198, 0.55) 14px 15px, transparent 15px),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0 26px,
      rgba(169, 188, 198, 0.14) 26px 27px
    ),
    linear-gradient(145deg, #2f4a72, #1a2b56);
}

.paper-hole {
  position: absolute;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(169, 188, 198, 0.35);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.paper-hole:first-child {
  inset-inline-end: 0.85rem;
}

.paper-hole:nth-child(2) {
  inset-inline-end: 1.55rem;
}

.paper-index {
  position: absolute;
  top: 0.65rem;
  inset-inline-start: 1.5rem;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(169, 188, 198, 0.7);
  z-index: 2;
}

.paper-face strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.55rem, 3.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  font-family: var(--font-ar);
}

/* Latin/numeric values stay in the English face */
.paper-face strong:not([data-i18n]) {
  font-family: var(--font-en);
}

.paper-face em {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(213, 224, 230, 0.75);
  font-family: var(--font-ar);
}

.paper-back strong {
  font-family: var(--font-ar);
}

.paper-back p {
  position: relative;
  z-index: 1;
  font-family: var(--font-ar);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--silver);
}

html[lang="en"] .paper-face em,
html[lang="en"] .paper-face strong,
html[lang="en"] .paper-back strong,
html[lang="en"] .paper-back p,
html[lang="en"] .about-copy .body {
  font-family: var(--font-en);
}

.paper-card:hover:not(.is-flipped) .paper-inner {
  transform: rotateY(-10deg);
}

.paper-card.is-flipped:hover .paper-inner {
  transform: rotateY(180deg);
}

.o1 { animation-delay: 0.05s; }
.o2 { animation-delay: 0.12s; }
.o3 { animation-delay: 0.2s; }
.o4 { animation-delay: 0.28s; }

/* ===== SERVICES (light) ===== */
.services {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(169, 188, 198, 0.25), transparent 45%),
    var(--bg);
  gap: 1rem;
  color: var(--text);
}

.services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: 84rem;
  margin: 0 auto;
  width: 100%;
}

.services-head .sec-title {
  margin-bottom: 0;
}

.slider-nav {
  display: flex;
  gap: 0.5rem;
}

.slider-nav button {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.slider-nav button:hover {
  background: rgba(26, 43, 86, 0.08);
  border-color: var(--navy);
  transform: scale(1.06);
}

.carousel-wrap {
  overflow: hidden;
  margin-inline: -1.25rem;
  padding-inline: 1.25rem;
}

.carousel {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.35rem 0 1.15rem;
  cursor: grab;
  align-items: flex-start;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.card {
  position: relative;
  flex: 0 0 min(78vw, 16.5rem);
  scroll-snap-align: start;
  min-height: 12.5rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.35rem;
  background: linear-gradient(160deg, #ffffff, #f3f7fb);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(18, 32, 51, 0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s ease, border-color 0.3s;
}

.card--rich {
  flex: 0 0 min(88vw, 22rem);
  width: min(88vw, 22rem);
  min-height: 0;
  height: auto;
  justify-content: flex-start;
  padding: 2.55rem 1.4rem 1.35rem;
  gap: 0.7rem;
  border-radius: 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(26, 43, 86, 0.1);
  box-shadow: 0 12px 30px rgba(26, 43, 86, 0.06);
  animation: none !important;
}

.card--rich::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 1.25rem;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--navy), var(--silver));
  opacity: 0.4;
}

.card--rich h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--navy);
}

.card--rich > p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 0 0.75rem;
  border-bottom: 1px solid rgba(26, 43, 86, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 500;
}

.card-points {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0.1rem 0 0;
  display: grid;
  gap: 0.48rem;
  flex: 0 0 auto;
  align-content: start;
}

.card-points li {
  position: relative;
  padding-inline-start: 1rem;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0.92;
}

html[lang="ar"] .card--rich {
  flex-basis: min(90vw, 23rem);
  width: min(90vw, 23rem);
  gap: 0.75rem;
  min-height: 0;
}

html[lang="ar"] .card--rich h3 {
  font-size: 1.32rem;
  line-height: 1.4;
}

html[lang="ar"] .card--rich > p {
  font-size: 0.98rem;
  line-height: 1.55;
  padding-bottom: 0.8rem;
}

html[lang="ar"] .card-points {
  gap: 0.5rem;
}

html[lang="ar"] .card-points li {
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 600;
}

.card-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--slate);
  opacity: 0.75;
}

.card-icon {
  position: absolute;
  width: 6.5rem;
  height: 6.5rem;
  top: 0.85rem;
  inset-inline-end: -0.35rem;
  color: var(--navy);
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-8deg);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.card--rich:hover .card-icon,
.card:hover .card-icon {
  opacity: 0.055;
  transform: rotate(-4deg) scale(1.04);
}

.card--rich:nth-child(odd),
.card--rich:nth-child(even) {
  animation: none !important;
}

.card-num {
  position: absolute;
  top: 1.05rem;
  inset-inline-start: 1.35rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: rgba(61, 90, 128, 0.55);
  z-index: 1;
  font-weight: 700;
}

.card h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}

.card p {
  color: var(--muted);
  font-size: 0.86rem;
}

.card-glow {
  position: absolute;
  inset: auto -30% -40% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 90, 128, 0.22), transparent 70%);
  animation: blob 5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.card--rich .card-glow {
  opacity: 0.45;
}

.card:nth-child(3n) .card-glow {
  background: radial-gradient(circle, rgba(169, 188, 198, 0.35), transparent 70%);
}

.card:nth-child(3n + 1) .card-glow {
  background: radial-gradient(circle, rgba(26, 43, 86, 0.16), transparent 70%);
}

.carousel-progress {
  height: 3px;
  max-width: 70rem;
  margin: 0 auto;
  width: 100%;
  background: rgba(26, 43, 86, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.carousel-progress i {
  display: block;
  height: 100%;
  width: 12%;
  background: linear-gradient(90deg, var(--silver), var(--navy));
  border-radius: inherit;
  transition: width 0.25s linear;
}

/* ===== IMPACT (dark navy) ===== */
.impact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(169, 188, 198, 0.12), transparent 55%),
    linear-gradient(165deg, var(--navy), var(--navy-deep));
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  color: #f4f7fb;
}

.impact-market {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.impact-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(210, 220, 228, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 220, 228, 0.35) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 85%);
}

.impact-chart {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 18%;
  height: min(32vh, 14rem);
  opacity: 0.16;
}

.impact-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.impact-line {
  stroke: rgba(220, 228, 234, 0.95);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: impactDraw 8s ease-in-out infinite alternate;
}

.impact-fill {
  fill: rgba(210, 220, 228, 0.12);
}

.impact-candles {
  position: absolute;
  inset-inline-start: 8%;
  bottom: 22%;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  height: 5.5rem;
  opacity: 0.13;
}

.impact-candles i {
  width: 0.38rem;
  border-radius: 1px;
  background: rgba(220, 228, 234, 0.9);
  box-shadow: 0 -1.1rem 0 -0.14rem rgba(220, 228, 234, 0.7), 0 0.9rem 0 -0.14rem rgba(220, 228, 234, 0.7);
  animation: impactCandle 3.8s ease-in-out infinite alternate;
}

.impact-candles i:nth-child(1) { height: 42%; animation-delay: 0s; }
.impact-candles i:nth-child(2) { height: 68%; animation-delay: -0.3s; }
.impact-candles i:nth-child(3) { height: 35%; animation-delay: -0.6s; }
.impact-candles i:nth-child(4) { height: 78%; animation-delay: -0.9s; }
.impact-candles i:nth-child(5) { height: 52%; animation-delay: -1.2s; }
.impact-candles i:nth-child(6) { height: 88%; animation-delay: -1.5s; }
.impact-candles i:nth-child(7) { height: 46%; animation-delay: -1.8s; }
.impact-candles i:nth-child(8) { height: 72%; animation-delay: -2.1s; }
.impact-candles i:nth-child(9) { height: 58%; animation-delay: -2.4s; }
.impact-candles i:nth-child(10) { height: 84%; animation-delay: -2.7s; }
.impact-candles i:nth-child(11) { height: 40%; animation-delay: -3s; }
.impact-candles i:nth-child(12) { height: 63%; animation-delay: -3.3s; }

.impact-tickers {
  position: absolute;
  top: calc(var(--header-stack) + 0.15rem);
  left: 0;
  display: flex;
  gap: 2rem;
  width: max-content;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(220, 228, 234, 0.55);
  opacity: 0.5;
  animation: impactTicker 42s linear infinite;
  white-space: nowrap;
  z-index: 0;
}

.impact .sec-head,
.impact .stat-stage {
  position: relative;
  z-index: 1;
}

.impact .tag {
  color: var(--silver);
  margin-bottom: 0.35rem;
}

.impact .sec-head {
  margin-bottom: 0.35rem;
  width: 100%;
}

.impact-lead {
  position: relative;
  z-index: 1;
  max-width: 48ch;
  margin: 0 auto 1rem;
  color: rgba(213, 224, 230, 0.82);
  font-size: 0.95rem;
  line-height: 1.65;
}

.stat-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: min(100%, 64rem);
}

@keyframes impactDraw {
  from { stroke-dashoffset: 900; opacity: 0.55; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes impactCandle {
  from { transform: scaleY(0.86); opacity: 0.7; }
  to { transform: scaleY(1.08); opacity: 1; }
}

@keyframes impactTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stat-box {
  position: relative;
  min-height: 8.5rem;
  padding: 1.35rem 0.85rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(169, 188, 198, 0.22);
  display: grid;
  place-content: center;
  gap: 0.35rem;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

.stat-box strong {
  font-size: clamp(2.1rem, 5.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #ffffff, var(--silver));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-box > span {
  color: var(--silver);
  font-size: 1.05rem;
  font-weight: 600;
}

.stat-ring {
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(169, 188, 198, 0.35);
  border-radius: 50%;
  animation: spin 14s linear infinite;
  pointer-events: none;
}

.stat-box:nth-child(2) .stat-ring {
  animation-direction: reverse;
  border-color: rgba(61, 90, 128, 0.55);
}

/* ===== CONTACT ===== */
.contact {
  position: relative;
  justify-content: space-between;
  padding-bottom: 0 !important;
  overflow: hidden;
  background:
    linear-gradient(165deg, #eef3f7 0%, #f7fafc 42%, #e8eef4 100%);
  color: var(--text);
}

.contact-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  animation: contactOrb 12s ease-in-out infinite alternate;
}

.contact-orb-a {
  width: min(42vw, 22rem);
  height: min(42vw, 22rem);
  top: 8%;
  inset-inline-end: -6%;
  background: radial-gradient(circle, rgba(61, 90, 128, 0.22), transparent 68%);
}

.contact-orb-b {
  width: min(48vw, 26rem);
  height: min(48vw, 26rem);
  bottom: 18%;
  inset-inline-start: -10%;
  background: radial-gradient(circle, rgba(169, 188, 198, 0.45), transparent 70%);
  animation-delay: -4s;
}

.contact-stage {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto 2.75rem;
  width: 100%;
  align-items: start;
}

.contact-left {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding-top: 0.35rem;
}

.contact-left .sec-title {
  margin-bottom: 0.35rem;
}

.contact-left .sec-title-line {
  max-width: 16ch;
}

.contact-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 36ch;
  line-height: 1.65;
  margin: 0.15rem 0 0.5rem;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  max-width: 28rem;
  position: relative;
}

.contact-list::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.15rem;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(26, 43, 86, 0.18), transparent);
}

.cinfo {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr);
  column-gap: 0.95rem;
  align-items: start;
  padding: 0.7rem 0.85rem 0.7rem 0.15rem;
  border: 0;
  border-radius: 1rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.cinfo:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateX(calc(var(--dir, -1) * 4px));
}

html[dir="ltr"] .cinfo {
  --dir: 1;
  padding: 0.7rem 0.15rem 0.7rem 0.85rem;
}

.cinfo-icon {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(26, 43, 86, 0.1);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(26, 43, 86, 0.06);
  position: relative;
  z-index: 1;
}

.cinfo-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.cinfo-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding-top: 0.15rem;
}

.cinfo-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

html[lang="en"] .cinfo-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.cinfo-value,
.cinfo-value a {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy);
  text-align: start;
}

.cinfo-value a {
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s;
  font-family: var(--font-en);
}

.cinfo-value a:hover {
  color: var(--slate);
}

.cinfo-phones {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
}

.cinfo-phones a {
  font-variant-numeric: tabular-nums;
}

/* Quote form — dark editorial panel */
.quote-form {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: fit-content;
  align-self: start;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.06), transparent 40%),
    linear-gradient(165deg, #152448 0%, #1a2b56 55%, #101b3a 100%);
  border: 1px solid rgba(169, 188, 198, 0.22);
  border-radius: 1.6rem;
  padding: 1.25rem 1.25rem 1.3rem;
  box-shadow:
    0 28px 60px rgba(16, 27, 58, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: start;
  gap: 0.9rem;
  color: #eef3f7;
  animation: quoteIn 0.8s var(--ease) both;
}

.quote-glow {
  position: absolute;
  width: 14rem;
  height: 14rem;
  top: -5rem;
  inset-inline-end: -4rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 188, 198, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: contactOrb 9s ease-in-out infinite alternate;
}

.quote-form > *:not(.quote-glow) {
  position: relative;
  z-index: 1;
}

html[lang="en"] .quote-form,
html[lang="en"] .quote-form input,
html[lang="en"] .quote-form select,
html[lang="en"] .quote-form textarea,
html[lang="en"] .quote-form button,
html[lang="en"] .quote-form label,
html[lang="en"] .quote-form .quote-note {
  font-family: var(--font-en);
}

html[lang="en"] .quote-form .quote-head h3 {
  font-family: var(--font-en-display);
}

.quote-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quote-kicker::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--silver);
}

.quote-head h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.quote-head p {
  color: rgba(213, 224, 230, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 34ch;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 0.85rem;
}

.quote-grid .field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(169, 188, 198, 0.92);
  letter-spacing: 0.06em;
}

.quote-grid .field.full {
  grid-column: 1 / -1;
}

.quote-grid input,
.quote-grid select,
.quote-grid textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(169, 188, 198, 0.28);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.7rem 0.1rem 0.65rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s, padding 0.25s;
}

.quote-grid select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A9BCC6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.15rem center;
  padding-inline-end: 0.1rem;
  padding-inline-start: 1.2rem;
}

html[dir="ltr"] .quote-grid select {
  background-position: right 0.15rem center;
  padding-inline-start: 0.1rem;
  padding-inline-end: 1.2rem;
}

.quote-grid select option {
  color: var(--navy);
  background: #fff;
}

.quote-grid textarea {
  resize: vertical;
  min-height: 3.8rem;
  border: 1px solid rgba(169, 188, 198, 0.22);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.7rem 0.85rem;
}

.quote-grid input::placeholder,
.quote-grid textarea::placeholder {
  color: rgba(169, 188, 198, 0.45);
}

.quote-grid input:focus,
.quote-grid select:focus,
.quote-grid textarea:focus {
  border-color: rgba(169, 188, 198, 0.75);
  background: rgba(255, 255, 255, 0.05);
}

.quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 999px;
  min-height: 3.05rem;
  padding: 0 1.35rem;
  background: linear-gradient(120deg, #f4f7fb, #a9bcc6);
  color: var(--navy-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, filter 0.3s;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.quote-submit svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.3s var(--ease);
}

html[dir="rtl"] .quote-submit svg {
  transform: scaleX(-1);
}

.quote-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.quote-submit:hover svg {
  transform: translateX(3px);
}

html[dir="rtl"] .quote-submit:hover svg {
  transform: scaleX(-1) translateX(3px);
}

.quote-note {
  font-size: 0.85rem;
  color: #9fdfc9;
  font-weight: 600;
}

.quote-note[hidden] {
  display: none;
}

@keyframes contactOrb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(12px, -16px) scale(1.08); }
}

@keyframes quoteIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }

}

/* animated footer */
.site-foot {
  position: relative;
  margin-top: auto;
  margin-inline: -1.25rem;
  width: calc(100% + 2.5rem);
  margin-bottom: 0;
  color: var(--navy);
  overflow: hidden;
  padding: 0 0 2.25rem;
  border: 0;
  border-top: 0;
  background-color: #ffffff;
  background-image:
    linear-gradient(rgba(26, 43, 86, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 43, 86, 0.012) 1px, transparent 1px);
  background-size: 10px 10px;
  background-position: center top;
}

.site-foot::before,
.site-foot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: footOrb 10s ease-in-out infinite alternate;
}

.site-foot::before {
  width: 16rem;
  height: 16rem;
  top: -7rem;
  inset-inline-start: -4rem;
  background: radial-gradient(circle, rgba(169, 188, 198, 0.22), transparent 70%);
}

.site-foot::after {
  width: 13rem;
  height: 13rem;
  bottom: -6rem;
  inset-inline-end: -3rem;
  background: radial-gradient(circle, rgba(26, 43, 86, 0.06), transparent 70%);
  animation-delay: -3s;
}

.foot-marquee {
  overflow: hidden;
  border-bottom: 1px solid rgba(26, 43, 86, 0.06);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 1.05rem 0;
}

.foot-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 18s linear infinite;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.22em;
  color: var(--slate);
  opacity: 0.85;
}

.foot-track span {
  position: relative;
}

.foot-track span::after {
  content: "•";
  margin-inline-start: 2.2rem;
  opacity: 0.45;
}

.foot-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.4rem;
  padding: 1.85rem clamp(1.25rem, 4vw, 2.5rem) 1.35rem;
  max-width: 70rem;
  margin: 0 auto;
}

.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem 1.2rem;
}

.foot-logo {
  width: 6.4rem;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.foot-brand p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 30ch;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem 1.5rem;
}

.foot-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.8;
  transition: opacity 0.25s, transform 0.25s;
}

.foot-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.foot-mail {
  display: inline-flex;
  width: fit-content;
  color: var(--slate);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid rgba(26, 43, 86, 0.25);
  padding-bottom: 0.2rem;
  transition: color 0.25s, border-color 0.25s;
}

.foot-mail:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.foot-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.15rem clamp(1.25rem, 4vw, 2.5rem) 0.35rem;
  margin: 0 auto;
  max-width: 70rem;
  border: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.foot-pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 0 rgba(26, 43, 86, 0.35);
  animation: footDot 1.8s ease-out infinite;
}

/* animations */
@keyframes floatBox {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(18px, -22px) rotate(4deg); }
}

@keyframes barPulse {
  from { transform: scaleY(0.75); opacity: 0.75; }
  to { transform: scaleY(1.08); opacity: 1; }
}

@keyframes ledgerDrift {
  from { transform: rotate(-6deg) scale(1.15) translateY(0); }
  to { transform: rotate(-6deg) scale(1.15) translateY(-48px); }
}

@keyframes wordPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.65; }
}

@keyframes footOrb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(18px, -12px) scale(1.12); }
}

@keyframes footDot {
  0% { box-shadow: 0 0 0 0 rgba(26, 43, 86, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(26, 43, 86, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 43, 86, 0); }
}

@keyframes cardFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(0.86) translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes boxIn {
  from { opacity: 0; transform: translateY(40px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

html[dir="rtl"] .marquee-track {
  animation-name: marqueeRtl;
}

@keyframes marqueeRtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 43, 86, 0.3); }
  50% { box-shadow: 0 0 0 14px rgba(26, 43, 86, 0); }
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

@keyframes blob {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-20px, -15px) scale(1.2); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 900px) {
  .slide {
    padding: calc(var(--header-stack) + 1rem) 3rem 3rem;
  }

  .about {
    min-height: auto;
    padding-top: calc(var(--header-stack) + 2rem);
    padding-bottom: 3.25rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 3rem 4rem;
    max-width: 88rem;
  }

  .about-copy {
    max-width: none;
  }

  .orbit {
    gap: 1.25rem;
  }

  .paper-card,
  .paper-inner {
    min-height: 10.5rem;
  }

  .contact-stage {
    grid-template-columns: 0.95fr 1.15fr;
    gap: 2.75rem;
    align-items: start;
    margin-bottom: 3.5rem;
  }

  .quote-form {
    padding: 1.35rem 1.45rem 1.4rem;
  }

  .contact {
    padding-bottom: 0 !important;
  }

  .site-foot {
    margin-inline: -3rem;
    width: calc(100% + 6rem);
    padding-bottom: 2.75rem;
  }

  .foot-main {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
  }

  .card {
    flex-basis: 15.5rem;
  }

  .stat-stage {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    width: min(100%, 72rem);
  }

  .stat-box {
    min-height: 9rem;
    padding: 1.4rem 1rem;
  }

  .card--rich {
    flex-basis: 22.5rem;
    width: 22.5rem;
    min-height: 0;
  }

  html[lang="ar"] .card--rich {
    flex-basis: 23.5rem;
    width: 23.5rem;
    min-height: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html, body {
    overflow: auto;
  }
}
