/* ===== Self-hosted fonts (Inter, Inter Display) ===== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-400.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-500.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-600.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-700.woff') format('woff'); }
@font-face { font-family: 'Inter Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-display-700.woff') format('woff'); }
@font-face { font-family: 'Inter Display'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-display-800.woff') format('woff'); }

  :root {
    --navy-950: #0d0716;
    --navy-900: #140a22;
    --navy-800: #23123a;
    --navy-700: #1a3a8a;
    --blue-600: #6B2FA0;
    --blue-500: #8445bd;
    --blue-400: #C9A4E8;
    --blue-100: #f0e8f8;
    --mint-500: #9B59D0;
    --mint-400: #C9A4E8;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --border: rgba(8, 24, 64, 0.1);
    --border-dark: rgba(255, 255, 255, 0.14);
    --shadow-sm: 0 2px 8px rgba(8, 24, 64, 0.05);
    --shadow-md: 0 12px 28px rgba(8, 24, 64, 0.10);
    --shadow-lg: 0 24px 48px rgba(8, 24, 64, 0.18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 100px;
    --header-h: 78px;
    --ease: cubic-bezier(.22,.8,.28,1);
  }

  *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text-dark); background: var(--bg-light);
    overflow-x: hidden; line-height: 1.6; -webkit-font-smoothing: antialiased;
  }
  body.no-scroll { overflow: hidden; }
  html[dir="rtl"] body { font-family: 'Tajawal', 'Segoe UI', Tahoma, 'Inter', sans-serif; }
  h1, h2, h3, h4, .font-display {
    font-family: 'Inter Display', 'Inter', system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.18;
  }
  html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: 'Tajawal', 'Inter Display', 'Inter', system-ui, sans-serif; letter-spacing: 0; line-height: 1.35; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  svg.ic { flex-shrink: 0; fill: currentColor; display: inline-block; vertical-align: middle; }

  .wrap { max-width: 1320px; margin: 0 auto; padding: 0 5%; }
  section { padding: 96px 0; position: relative; scroll-margin-top: calc(var(--header-h) + 8px); }
  section.dark { background: var(--navy-900); color: var(--text-light); }
  section.dark-alt { background: var(--navy-800); color: var(--text-light); }
  section.light-alt { background: var(--bg-alt); }
  section.dark::before, section.dark-alt::before {
    content:''; position:absolute; inset:0; pointer-events:none; opacity:.5;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  }
  section > .wrap { position: relative; z-index: 1; }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 0.8rem;
  }
  html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
  .eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; display: inline-block; border-radius: 2px; }
  section.dark .eyebrow, section.dark-alt .eyebrow { color: var(--blue-400); }

  .section-head { margin-bottom: 3rem; }
  .section-head h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 0.8rem; }
  .section-head p.lede { font-size: 1.08rem; color: var(--text-muted); max-width: 720px; }
  .section-head.center { text-align: center; }
  .section-head.center p.lede { margin: 0 auto; }
  .section-head.center .eyebrow { justify-content: center; }
  section.dark .section-head p.lede, section.dark-alt .section-head p.lede { color: rgba(255,255,255,0.75); }
  .accent-mint { color: var(--mint-500); }
  .accent-blue { color: var(--blue-500); }
  section.dark .accent-blue, #home .accent-blue {
    background: linear-gradient(90deg, var(--blue-400), var(--mint-400)); -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative; overflow: hidden;
    padding: 0.85rem 1.8rem; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.92rem;
    transition: transform .25s var(--ease), box-shadow .25s, background .25s; border: none; cursor: pointer; font-family: inherit;
  }
  .btn::after {
    content:''; position:absolute; top:0; left:-120%; width:60%; height:100%;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,.35), transparent); transition: left .6s var(--ease);
  }
  .btn:hover::after { left: 130%; }
  .btn svg { transition: transform .25s var(--ease); }
  .btn:hover svg { transform: translateX(4px); }
  html[dir="rtl"] .btn svg { transform: scaleX(-1); }
  html[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
  .btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; box-shadow: 0 4px 15px rgba(107,47,160,.3); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(107,47,160,.45); }
  .btn-secondary { background: rgba(255,255,255,.08); color: var(--text-light); border: 1px solid var(--border-dark); backdrop-filter: blur(8px); }
  .btn-secondary:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
  .btn-sm { padding: 0.55rem 1.2rem; font-size: 0.82rem; }

  /* Expandable */
  .expand-trigger {
    display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); font-weight: 600; font-size: 0.88rem;
    background: none; border: none; cursor: pointer; margin-top: 1.2rem; padding: 0; font-family: inherit; align-self: flex-start;
  }
  .expand-trigger svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .expand-trigger.is-open svg { transform: rotate(180deg); }
  .expand-trigger:hover { color: var(--blue-500); }
  section.dark .expand-trigger { color: var(--blue-400); }
  .expandable-content { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s ease, margin-top .3s ease; }
  .expandable-content.open { max-height: 600px; opacity: 1; margin-top: .8rem; }
  .expandable-content .card-desc { padding-inline-start: .9rem; border-inline-start: 2px solid var(--blue-400); }

  /* ===== Header ===== */
  .scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100; background: linear-gradient(90deg, var(--blue-500), var(--mint-400)); }
  html[dir="rtl"] .scroll-progress { left: auto; right: 0; }
  header.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--navy-900);
    border-bottom: 1px solid var(--border-dark); transition: background .3s, box-shadow .3s;
  }
  header.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.3); background: rgba(20,10,34,.92); backdrop-filter: blur(14px); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); padding: 0 4%; max-width: 1440px; margin: 0 auto; }
  .brand-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: 'Inter Display', 'Inter', system-ui, sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; flex-shrink: 0; direction: ltr; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-600), var(--mint-500)); box-shadow: 0 6px 16px rgba(107,47,160,.35); transition: transform .4s var(--ease); }
  .brand-logo:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
  .brand-mark svg { width: 20px; height: 20px; }
  .brand-logo .dot { width: 8px; height: 8px; background: var(--mint-400); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.5; transform:scale(1.4);} }

  .nav-menu { display: flex; align-items: center; gap: .4rem; list-style: none; flex: 1; justify-content: center; }
  .nav-item { position: relative; }
  .nav-link {
    color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; padding: .6rem .9rem; display: flex; align-items: center; gap: 6px;
    white-space: nowrap; background: none; border: none; cursor: pointer; font-family: inherit; border-radius: var(--radius-pill); transition: color .2s, background .2s;
  }
  .nav-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .nav-link:hover, .nav-item:focus-within > .nav-link { color: #fff; background: rgba(255,255,255,.07); }
  .dropdown-menu {
    position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 1001; min-width: 270px; list-style: none;
    background: var(--navy-800); border: 1px solid var(--border-dark); border-radius: var(--radius-md); padding: .6rem;
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .dropdown-menu::before { content:''; position:absolute; top:-14px; left:0; right:0; height:14px; }
  .dropdown-menu a {
    display: flex; align-items: center; gap: 10px; padding: .65rem .9rem; border-radius: var(--radius-sm);
    color: rgba(255,255,255,.8); font-size: .86rem; white-space: nowrap; transition: background .2s, color .2s, padding .2s;
  }
  .dropdown-menu a svg { width: 16px; height: 16px; color: var(--blue-400); }
  .dropdown-menu a:hover { background: rgba(155,89,208,.15); color: #fff; padding-inline-start: 1.15rem; }
  @media (min-width: 1101px) {
    .nav-item:hover .dropdown-menu, .nav-item:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-item:hover > .nav-link svg { transform: rotate(180deg); }
  }

  .nav-actions { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
  .practice-toggle { position: relative; display: flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--border-dark); border-radius: var(--radius-pill); padding: 3px; }
  .practice-btn {
    position: relative; z-index: 1; background: none; border: none; color: rgba(255,255,255,.7); padding: .4rem .9rem; border-radius: var(--radius-pill);
    font-size: .78rem; font-weight: 600; cursor: pointer; transition: color .25s, background .25s; white-space: nowrap; font-family: inherit;
  }
  .practice-btn:hover { color: #fff; }
  .practice-btn.active { background: var(--blue-600); color: #fff; box-shadow: 0 4px 12px rgba(107,47,160,.4); }
  .lang-btn {
    display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--border-dark); color: #fff;
    padding: .45rem .9rem; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; font-family: 'Tajawal','Inter',sans-serif; white-space: nowrap;
  }
  .lang-btn svg { width: 15px; height: 15px; }
  .lang-btn:hover { background: rgba(255,255,255,.1); border-color: var(--blue-400); }
  .burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border-dark); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
  .burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
  .burger span:nth-child(1){ top: 14px; } .burger span:nth-child(2){ top: 20px; } .burger span:nth-child(3){ top: 26px; }
  body.nav-open .burger span:nth-child(1){ top: 20px; transform: rotate(45deg); }
  body.nav-open .burger span:nth-child(2){ opacity: 0; }
  body.nav-open .burger span:nth-child(3){ top: 20px; transform: rotate(-45deg); }
  .drawer-extra { display: none; }

  /* Office gating */
  body[data-office="ad"] [data-office-section="db"] { display: none !important; }
  body[data-office="db"] [data-office-section="ad"] { display: none !important; }

  /* ===== Hero ===== */
  #home { min-height: 100vh; background: var(--navy-950); color: #fff; padding: 150px 0 100px; display: flex; align-items: center; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
  .hero-bg::before {
    content:''; position:absolute; inset:0;
    background-image: linear-gradient(rgba(201,164,232,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(201,164,232,.07) 1px, transparent 1px);
    background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 40%, #000 10%, transparent 70%);
    animation: gridMove 22s linear infinite;
  }
  @keyframes gridMove { to { background-position: 56px 56px; } }
  .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 14s ease-in-out infinite; }
  .orb.o1 { width: 460px; height: 460px; background: #6B2FA0; top: -120px; right: -80px; }
  .orb.o2 { width: 380px; height: 380px; background: #381952; bottom: -140px; left: -100px; animation-delay: -5s; }
  .orb.o3 { width: 240px; height: 240px; background: #4f46e5; top: 45%; left: 45%; opacity: .3; animation-delay: -9s; }
  body[data-office="db"] .orb.o1 { background: #7c3aed; }
  body[data-office="db"] .orb.o2 { background: #0891b2; }
  @keyframes float { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(30px,-25px) scale(1.08);} }
  .hero-bg svg.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
  .hero-lines path { stroke-dasharray: 6 10; animation: dash 18s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -400; } }

  .hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; align-items: center; }
  .hero-tagline {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(155,89,208,.12); border: 1px solid rgba(155,89,208,.3);
    color: var(--blue-400); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .45rem .95rem;
    border-radius: var(--radius-pill); margin-bottom: 1.3rem;
  }
  html[dir="rtl"] .hero-tagline { letter-spacing: 0; font-size: .85rem; }
  .hero-tagline svg { width: 14px; height: 14px; }
  .hero-title { font-size: clamp(2.2rem, 4.4vw, 3.9rem); margin-bottom: 1.3rem; line-height: 1.1; font-weight: 800; }
  .hero-desc { font-size: 1.08rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 620px; line-height: 1.7; }
  .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
  .pill-tags { display: flex; gap: .6rem; flex-wrap: wrap; }
  .pill-tag {
    background: rgba(255,255,255,.06); border: 1px solid var(--border-dark); color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 500;
    padding: .38rem .9rem; border-radius: var(--radius-pill); transition: all .25s var(--ease); cursor: default;
  }
  .pill-tag:hover { background: rgba(155,89,208,.22); border-color: var(--blue-500); color: #fff; transform: translateY(-2px); }

  .hero-card {
    background: linear-gradient(160deg, rgba(56,25,82,.9), rgba(20,10,34,.85)); border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
    padding: 2rem; box-shadow: 0 30px 60px rgba(0,0,0,.35); position: relative; backdrop-filter: blur(10px); overflow: hidden;
  }
  .hero-card::before { content:''; position:absolute; inset:-1px; border-radius: inherit; padding:1px; background: linear-gradient(135deg, rgba(201,164,232,.6), transparent 40%, transparent 60%, rgba(201,164,232,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }
  .hero-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
  .hero-card-title { font-size: 1.1rem; font-weight: 700; color: #fff; }
  .hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-stat-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 1rem; transition: transform .3s var(--ease), border-color .3s, background .3s; }
  .hero-stat-item:hover { transform: translateY(-3px); border-color: rgba(201,164,232,.5); background: rgba(155,89,208,.08); }
  .hero-stat-val { font-size: 1.3rem; font-weight: 800; color: var(--blue-400); margin-bottom: .2rem; font-family: 'Inter Display','Inter',system-ui,sans-serif; overflow-wrap: anywhere; }
  .hero-stat-lbl { font-size: .78rem; color: rgba(255,255,255,.65); }
  .hero-chart { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed rgba(255,255,255,.12); }
  .hero-chart svg { width: 100%; height: 70px; display: block; }
  .hero-chart .curve { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) .6s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; z-index: 1; }
  .scroll-cue::after { content:''; position:absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left:-2px; border-radius: 2px; background: var(--blue-400); animation: cue 1.8s infinite; }
  @keyframes cue { 0%{ opacity:0; transform: translateY(0);} 40%{opacity:1;} 100%{ opacity:0; transform: translateY(14px);} }

  /* ===== Stats ===== */
  #impact { background: var(--bg-alt); padding: 76px 0; }
  .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem; }
  .stat-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.6rem; box-shadow: var(--shadow-sm);
    display: flex; gap: 1.2rem; align-items: center; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  }
  .stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(107,47,160,.35); }
  .stat-icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .4s var(--ease), background .3s, color .3s; }
  .stat-card:hover .stat-icon { background: var(--blue-600); color: #fff; transform: rotate(-8deg) scale(1.06); }
  .stat-val { font-size: 2rem; font-weight: 800; color: var(--navy-900); line-height: 1; margin-bottom: .35rem; font-family: 'Inter Display','Inter',system-ui,sans-serif; }
  .stat-lbl { font-size: .86rem; color: var(--text-muted); font-weight: 500; }

  /* ===== Cards ===== */
  .card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.8rem; }
  .card-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.5rem; }
  .feature-card {
    position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem;
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; display: flex; flex-direction: column; justify-content: space-between;
  }
  .feature-card::before {
    content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--blue-600), var(--mint-400));
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
  }
  html[dir="rtl"] .feature-card::before { transform-origin: right; }
  .feature-card::after {
    content:''; position:absolute; width: 220px; height: 220px; border-radius: 50%; right: -90px; top: -90px;
    background: radial-gradient(circle, rgba(155,89,208,.12), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none;
  }
  .feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(155,89,208,.45); }
  .feature-card:hover::before { transform: scaleX(1); }
  .feature-card:hover::after { opacity: 1; }
  section.dark .feature-card, section.dark-alt .feature-card { background: rgba(56,25,82,.75); border-color: var(--border-dark); color: var(--text-light); }
  section.dark .feature-card:hover { border-color: var(--blue-400); box-shadow: 0 24px 48px rgba(0,0,0,.35); }

  .card-icon {
    width: 50px; height: 50px; border-radius: var(--radius-md); background: var(--blue-100); color: var(--blue-600);
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; flex-shrink: 0; transition: transform .45s var(--ease), background .3s, color .3s, box-shadow .3s;
  }
  .feature-card:hover .card-icon, .flow-step:hover .card-icon { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; transform: translateY(-3px) rotate(-6deg); box-shadow: 0 10px 20px rgba(107,47,160,.3); }
  section.dark .card-icon, section.dark-alt .card-icon { background: rgba(155,89,208,.15); color: var(--blue-400); }

  .card-title { font-size: 1.22rem; margin-bottom: .6rem; font-weight: 700; }
  .card-subtitle { font-size: .88rem; color: var(--blue-600); font-weight: 600; margin-bottom: .8rem; }
  section.dark .card-subtitle { color: var(--blue-400); }
  .card-desc { font-size: .95rem; color: var(--text-muted); line-height: 1.65; }
  section.dark .card-desc, section.dark-alt .card-desc { color: rgba(255,255,255,.75); }

  /* Flow */
  .flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; position: relative; }
  .flow-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
  .flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(155,89,208,.45); }
  .flow-step:not(:last-child)::after {
    content:''; position:absolute; top: 50%; inset-inline-end: -1.25rem; width: .9rem; height: .9rem; z-index: 2;
    border-top: 2px solid var(--blue-500); border-right: 2px solid var(--blue-500); transform: translateY(-50%) rotate(45deg);
  }
  html[dir="rtl"] .flow-step:not(:last-child)::after { transform: translateY(-50%) rotate(-135deg); }
  .flow-badge { display: inline-block; padding: .3rem .8rem; border-radius: var(--radius-pill); background: var(--blue-100); color: var(--blue-600); font-size: .72rem; font-weight: 700; letter-spacing: .05em; margin-bottom: 1.1rem; }
  section.dark .flow-badge, .sector-content .flow-badge { background: rgba(155,89,208,.2); color: var(--blue-100); }
  .flow-step-num { font-size: 2.8rem; font-weight: 800; color: rgba(20,10,34,.08); position: absolute; top: 1.4rem; inset-inline-end: 1.5rem; line-height: 1; font-family: 'Inter Display','Inter',system-ui,sans-serif; transition: color .3s; }
  .flow-step:hover .flow-step-num { color: rgba(107,47,160,.2); }

  /* Supply */
  .supply-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2rem; }
  .stage-card { background: rgba(56,25,82,.8); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); padding: 2rem; color: #fff; position: relative; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; overflow: hidden; }
  .stage-card:hover { transform: translateY(-6px); border-color: var(--blue-400); box-shadow: 0 24px 48px rgba(0,0,0,.35); }
  .stage-card .stage-visual { height: 64px; margin-bottom: 1.2rem; }
  .stage-card .stage-visual svg { width: 100%; height: 100%; }
  .stage-num { font-size: .76rem; font-weight: 700; color: var(--blue-400); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
  .mode-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }
  .mode-tag { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.08); font-size: .74rem; padding: .3rem .65rem; border-radius: var(--radius-sm); color: rgba(255,255,255,.85); transition: transform .2s; }
  .mode-tag:hover { transform: translateY(-2px); }
  .mode-tag svg { width: 13px; height: 13px; }
  .mode-tag.bad { background: rgba(239,68,68,.2); color: #fca5a5; }
  .mode-tag.good { background: rgba(155,89,208,.2); color: #6ee7b7; }
  .route-moving { stroke-dasharray: 5 7; animation: dash 10s linear infinite; }

  /* Filters */
  .filter-chips { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; justify-content: center; }
  .filter-chip { background: #fff; border: 1px solid var(--border); color: var(--text-dark); padding: .55rem 1.2rem; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .25s var(--ease); font-family: inherit; }
  .filter-chip:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
  .filter-chip.active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); box-shadow: 0 6px 16px rgba(107,47,160,.3); }
  .service-card.fade-in { animation: cardIn .45s var(--ease) both; }
  @keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

  /* Sector photo cards */
  .sector-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 300px; box-shadow: var(--shadow-sm); display: flex; align-items: flex-end; transition: transform .4s var(--ease), box-shadow .4s;
    background: radial-gradient(circle at 80% 20%, rgba(155,89,208,.55), transparent 55%), linear-gradient(135deg, #23123a, #0d0716); }
  .sector-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; z-index: 0; }
  .sector-card img.img-failed { display: none; }
  .sector-card .sector-glyph { position: absolute; top: 1.4rem; inset-inline-end: 1.4rem; z-index: 2; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); color: #fff; border: 1px solid rgba(255,255,255,.2); transition: transform .4s var(--ease), background .3s; }
  .sector-card:hover .sector-glyph { transform: rotate(-10deg) scale(1.08); background: var(--blue-600); }
  .sector-card:hover img { transform: scale(1.08); filter: saturate(1.15); }
  .sector-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,10,34,.05) 0%, rgba(20,10,34,.92) 100%); }
  .sector-content { position: relative; z-index: 2; padding: 1.8rem; color: #fff; width: 100%; }
  .sector-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .4rem; }
  .sector-desc { font-size: .88rem; color: rgba(255,255,255,.82); }

  /* Team */
  .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2.5rem; }
  .team-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; display: grid; grid-template-columns: auto 1fr; gap: 0 2rem; }
  .team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
  .team-photo-wrap { width: 132px; height: 132px; border-radius: 50%; padding: 4px; margin-bottom: 1.4rem; position: relative; background: conic-gradient(from 0deg, var(--blue-600), var(--mint-400), var(--blue-400), var(--blue-600)); animation: spin 8s linear infinite; }
  .team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; animation: spin 8s linear infinite reverse; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .team-name { font-size: 1.4rem; font-weight: 700; margin-bottom: .3rem; }
  .team-role { font-size: .9rem; color: var(--blue-600); font-weight: 600; margin-bottom: 1rem; }
  .team-bio p { font-size: .94rem; color: var(--text-muted); margin-bottom: .8rem; line-height: 1.65; }
  .team-creds { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.2rem; }
  .team-cred-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-alt); font-size: .76rem; font-weight: 600; padding: .35rem .75rem; border-radius: var(--radius-sm); color: var(--text-dark); transition: background .2s, color .2s; }
  .team-cred-badge svg { width: 13px; height: 13px; color: var(--blue-600); }
  .team-cred-badge:hover { background: var(--blue-100); color: var(--blue-600); }

  /* Quote */
  .quote-block { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); border-inline-start: 4px solid var(--blue-500); border-radius: var(--radius-md); padding: 2.5rem 2.5rem 2.5rem 6rem; color: #fff; margin-bottom: 3.5rem; box-shadow: var(--shadow-lg); }
  html[dir="rtl"] .quote-block { padding: 2.5rem 6rem 2.5rem 2.5rem; }
  .quote-mark { position: absolute; top: 1.8rem; inset-inline-start: 1.8rem; width: 48px; height: 48px; color: var(--blue-400); opacity: .8; }
  .quote-text { font-size: 1.2rem; font-style: italic; line-height: 1.75; margin-bottom: 1.4rem; }
  .quote-author { font-size: .98rem; font-weight: 700; color: var(--blue-400); display: flex; flex-direction: column; gap: 2px; }
  .quote-author span { color: rgba(255,255,255,.65); font-weight: 500; font-size: .88rem; }

  /* About visual */
  .about-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
  .about-tile { position: relative; height: 170px; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); display: grid; place-items: center; transition: transform .4s var(--ease); }
  .about-tile:hover { transform: translateY(-5px) scale(1.01); }
  .about-tile svg.art { width: 100%; height: 100%; position: absolute; inset: 0; }

  /* Partners */
  .partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 1.4rem; }
  .partner-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem 1rem; text-align: center; font-weight: 700; color: var(--navy-900);
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .7rem; align-items: center; justify-content: center; min-height: 130px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  }
  .partner-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-100), #e0f2fe); color: var(--blue-600); transition: transform .45s var(--ease), background .3s, color .3s; }
  .partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(155,89,208,.45); }
  .partner-card:hover .partner-logo { transform: rotateY(180deg); background: linear-gradient(135deg, var(--blue-600), var(--mint-500)); color: #fff; }

  /* Contact */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
  #contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 1rem; }
  #contact .lede { color: rgba(255,255,255,.75); font-size: 1.05rem; }
  .contact-info-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
  .contact-info-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background .3s, border-color .3s, transform .3s var(--ease); }
  .contact-info-item:hover { background: rgba(155,89,208,.1); border-color: rgba(201,164,232,.4); transform: translateX(4px); }
  html[dir="rtl"] .contact-info-item:hover { transform: translateX(-4px); }
  .contact-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(155,89,208,.18); color: var(--blue-400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .contact-lbl { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); margin-bottom: .2rem; }
  .contact-val { font-size: .98rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
  .contact-form { background: #fff; color: var(--text-dark); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
  .contact-form h3 { font-size: 1.4rem; color: var(--navy-900); margin-bottom: 1.5rem; }
  .form-group { margin-bottom: 1.3rem; }
  .form-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; color: var(--text-dark); }
  .form-input, .form-textarea, .form-select {
    width: 100%; padding: .85rem 1rem; border: 1px solid rgba(20,10,34,.15); border-radius: var(--radius-sm); font-family: inherit; font-size: .92rem;
    transition: border-color .2s, box-shadow .2s, background .2s; background: var(--bg-light); color: var(--text-dark);
  }
  .form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(155,89,208,.15); }
  .form-textarea { resize: vertical; }

  /* Footer */
  footer.site-footer { background: var(--navy-950); color: rgba(255,255,255,.75); padding: 80px 0 40px; border-top: 1px solid var(--border-dark); }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 3rem; margin-bottom: 4rem; }
  .footer-col-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1.4rem; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
  .footer-links a { color: rgba(255,255,255,.7); font-size: .88rem; transition: color .2s, padding .2s; display: inline-block; }
  .footer-links a:hover { color: #fff; padding-inline-start: 6px; }
  .newsletter-form { display: flex; gap: .5rem; }
  .newsletter-form .form-input { padding: .65rem .8rem; font-size: .84rem; min-width: 0; }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--border-dark); font-size: .85rem; }
  .footer-bottom .links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
  .footer-bottom a { transition: color .2s; }
  .footer-bottom a:hover { color: #fff; }

  /* Office gate */
  .office-gate-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(5,15,43,.97); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; padding: 2rem; overflow-y: auto; transition: opacity .35s ease, visibility .35s ease; }
  .office-gate-modal.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
  .gate-close { position: absolute; top: 24px; inset-inline-end: 24px; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; transition: transform .3s var(--ease), background .2s; }
  .gate-close:hover { transform: rotate(90deg); background: rgba(255,255,255,.1); }
  .gate-box { max-width: 900px; width: 100%; text-align: center; color: #fff; margin: auto; }
  .gate-box h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: .5rem; }
  .gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
  .gate-option { position: relative; overflow: hidden; background: var(--navy-800); border: 1px solid var(--border-dark); border-radius: var(--radius-lg); padding: 0 0 2rem; text-align: start; cursor: pointer; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
  .gate-option:hover { transform: translateY(-8px); border-color: var(--blue-500); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
  .gate-skyline { height: 120px; position: relative; background: linear-gradient(180deg, #381952 0%, #23123a 100%); overflow: hidden; }
  .gate-option.dubai .gate-skyline { background: linear-gradient(180deg, #4c1d95 0%, #23123a 100%); }
  .gate-skyline svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
  .gate-option:hover .gate-skyline svg { transform: scale(1.05) translateY(-3px); }
  .gate-option .gate-body { padding: 1.6rem 2rem 0; }
  .gate-tag { display: inline-block; padding: .3rem .8rem; border-radius: var(--radius-pill); background: rgba(155,89,208,.15); color: var(--blue-400); font-size: .75rem; font-weight: 700; margin-bottom: 1rem; }

  /* Office switch transition */
  .switch-overlay { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1.4rem; color: #fff; text-align: center; padding: 2rem;
    background: radial-gradient(circle at 50% 40%, #12307a 0%, #0d0716 70%); clip-path: circle(0% at var(--cx,50%) var(--cy,50%)); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
  .switch-overlay.active { clip-path: circle(150% at var(--cx,50%) var(--cy,50%)); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .switch-overlay.leaving { clip-path: circle(0% at 50% 50%); }
  .switch-overlay.db { background: radial-gradient(circle at 50% 40%, #3b1a7a 0%, #0d0716 70%); }
  .switch-skyline { width: min(520px, 90vw); height: 130px; }
  .switch-skyline path, .switch-skyline line, .switch-skyline polyline { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
  .switch-overlay.active .switch-skyline path, .switch-overlay.active .switch-skyline line, .switch-overlay.active .switch-skyline polyline { animation: draw 1.9s var(--ease) .25s forwards; }
  .switch-label { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-400); font-weight: 700; }
  html[dir="rtl"] .switch-label { letter-spacing: 0; font-size: 1rem; }
  .switch-title { font-family: 'Inter Display','Inter',system-ui,sans-serif; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; opacity: 0; transform: translateY(14px); }
  .switch-overlay.active .switch-title { animation: rise .7s var(--ease) .35s forwards; }
  .switch-sub { color: rgba(255,255,255,.7); max-width: 520px; opacity: 0; }
  .switch-overlay.active .switch-sub { animation: rise .7s var(--ease) .6s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .switch-bar { width: min(320px, 70vw); height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
  .switch-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-500), var(--mint-400)); }
  .switch-overlay.active .switch-bar i { animation: fill 2.6s linear .2s forwards; }
  @keyframes fill { to { width: 100%; } }

  /* Toast, back to top */
  .toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); z-index: 2500; background: var(--navy-800); color: #fff; padding: .9rem 1.4rem; border-radius: var(--radius-md); border: 1px solid var(--border-dark); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 32px); }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }
  .toast svg { color: var(--mint-400); width: 20px; height: 20px; }
  .to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(107,47,160,.4); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .to-top.show { opacity: 1; transform: none; pointer-events: auto; }
  .to-top:hover { transform: translateY(-4px); }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.visible { opacity: 1; transform: none; }
  body.office-changing main, body.office-changing footer { filter: blur(2px); }

  /* ===== Responsive ===== */
  @media (max-width: 1100px) {
    .burger { display: block; }
    .nav-menu {
      position: fixed; top: var(--header-h); inset-inline: 0; bottom: 0; z-index: 999; flex-direction: column; align-items: stretch; justify-content: flex-start;
      gap: .3rem; padding: 1.2rem 5% 2rem; background: var(--navy-900); overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
    }
    html[dir="rtl"] .nav-menu { transform: translateX(-100%); }
    body.nav-open .nav-menu { transform: none !important; visibility: visible; }
    .nav-item { border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-link { width: 100%; justify-content: space-between; padding: 1rem .4rem; font-size: 1rem; border-radius: 0; }
    .nav-link:hover { background: none; }
    .nav-item.open > .nav-link svg { transform: rotate(180deg); }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(255,255,255,.04); min-width: 0; display: none; margin-bottom: .8rem; }
    .dropdown-menu::before { display: none; }
    .nav-item.open .dropdown-menu { display: block; animation: cardIn .35s var(--ease); }
    .dropdown-menu a { white-space: normal; }
    .drawer-extra { display: flex; justify-content: center; padding-top: 1.5rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .team-card { grid-template-columns: 1fr; }
  }
  @media (max-width: 900px) {
    .flow-grid, .supply-stages { grid-template-columns: 1fr; }
    .flow-step:not(:last-child)::after { top: auto; bottom: -1.25rem; inset-inline-end: auto; left: 50%; transform: translateX(-50%) rotate(135deg) !important; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-visual { grid-template-columns: 1fr 1fr; }
    .about-tile:last-child { grid-column: span 2; }
  }
  @media (max-width: 640px) {
    :root { --header-h: 66px; }
    section { padding: 64px 0; }
    .wrap { padding: 0 18px; }
    .header-inner { padding: 0 14px; gap: .6rem; }
    .brand-logo { font-size: 1.15rem; gap: 8px; }
    .brand-mark { width: 30px; height: 30px; }
    .brand-logo .dot { display: none; }
    .nav-actions .practice-toggle { display: none; }
    .lang-btn { padding: .45rem .7rem; }
    #home { padding: 110px 0 80px; min-height: auto; }
    .hero-desc { font-size: 1rem; }
    .hero-ctas .btn { width: 100%; }
    .hero-card { padding: 1.4rem; }
    .hero-stat-grid { gap: .7rem; }
    .hero-stat-val { font-size: 1.1rem; }
    .scroll-cue { display: none; }
    .feature-card, .flow-step, .stage-card { padding: 1.5rem; }
    .contact-form { padding: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .gate-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .gate-skyline { height: 90px; }
    .gate-option .gate-body { padding: 1.2rem 1.4rem 0; }
    .office-gate-modal { padding: 70px 16px 24px; align-items: flex-start; }
    .quote-block, html[dir="rtl"] .quote-block { padding: 4.6rem 1.5rem 1.8rem; }
    .quote-mark { top: 1.4rem; width: 38px; height: 38px; }
    .quote-text { font-size: 1.05rem; }
    .team-card { padding: 1.6rem; }
    .about-visual { grid-template-columns: 1fr; }
    .about-tile:last-child { grid-column: auto; }
    .about-tile { height: 140px; }
    .sector-card { height: 260px; }
    .filter-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
    .filter-chip { white-space: nowrap; flex-shrink: 0; }
    .to-top { bottom: 16px; inset-inline-end: 16px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
  }

/* ===================================================================
   Multi-page additions
   =================================================================== */
.page-top { padding-top: calc(var(--header-h) + 64px); }
.skip-link { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-300%); z-index: 3000; background: #fff; color: var(--navy-900); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }

/* Nav groups and current page */
.dd-label { display: block; padding: .5rem .9rem .3rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
html[dir="rtl"] .dd-label { letter-spacing: 0; font-size: .78rem; }
.dd-sep { height: 1px; background: rgba(255,255,255,.08); margin: .4rem .6rem; }
.nav-item.current > .nav-link { color: #fff; }
.nav-item.current > .nav-link::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: var(--mint-400); }
.lang-btn { text-decoration: none; }

/* Index: practice chooser hero */
.chooser-hero { min-height: 100vh; }
.chooser-head { text-align: center; max-width: 820px; margin: 0 auto 3rem; }
.chooser-head .eyebrow { justify-content: center; color: var(--blue-400); }
.chooser-head p { color: rgba(255,255,255,.78); font-size: 1.08rem; }
.chooser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.chooser-grid .gate-option { display: block; color: #fff; }
.chooser-grid .gate-skyline { height: 150px; }

/* How we engage */
.engage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; position: relative; }
.engage-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.engage-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(155,89,208,.45); }
.engage-step::before { counter-increment: step; content: '0' counter(step); position: absolute; top: 1.2rem; inset-inline-end: 1.3rem; font: 800 2rem/1 'Inter Display','Inter',sans-serif; color: rgba(20,10,34,.08); }
.engage-step:hover .card-icon { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: #fff; transform: translateY(-3px) rotate(-6deg); }

/* OSC4i */
.partner-banner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin: -1rem 0 2.5rem; padding: 1rem 1.3rem; border-radius: var(--radius-md); background: rgba(255,255,255,.05); border: 1px solid var(--border-dark); }
.partner-banner p { color: rgba(255,255,255,.8); font-size: .95rem; flex: 1; min-width: 220px; }
.osc-mark { display: inline-flex; align-items: center; gap: 8px; padding: .45rem .9rem; border-radius: 10px; background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; font: 800 1rem/1 'Inter Display','Inter',sans-serif; letter-spacing: .02em; direction: ltr; box-shadow: 0 6px 16px rgba(14,165,233,.3); }
.osc-mark img { height: 22px; width: auto; }
.joint-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; }
.joint-plus { display: grid; place-items: center; width: 56px; height: 56px; align-self: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue-600), var(--mint-500)); color: #fff; font-size: 1.6rem; font-weight: 800; box-shadow: 0 10px 24px rgba(107,47,160,.35); }
.joint-card ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-top: 1rem; }
.joint-card li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255,255,255,.8); font-size: .94rem; }
.joint-card li svg { width: 18px; height: 18px; color: var(--mint-400); margin-top: 3px; }
.joint-outcome { margin-top: 1.5rem; text-align: center; padding: 1.4rem; border-radius: var(--radius-md); border: 1px dashed rgba(201,164,232,.45); color: #fff; font-weight: 600; background: rgba(155,89,208,.07); }

/* Team: second leader avatar */
.team-avatar { width: 100%; height: 100%; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; font: 800 2.4rem/1 'Inter Display','Inter',sans-serif; animation: spin 8s linear infinite reverse; }

/* Partners: primary partners */
.partner-primary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.6rem; margin-bottom: 3rem; }
.partner-feature { display: flex; gap: 1.2rem; align-items: center; padding: 1.8rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.partner-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(155,89,208,.45); }
.partner-feature .partner-logo { width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0; font: 800 1.05rem/1 'Inter Display','Inter',sans-serif; }
.partner-feature h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.partner-feature .role { color: var(--blue-600); font-weight: 600; font-size: .85rem; margin-bottom: .4rem; }
.partner-feature p { color: var(--text-muted); font-size: .92rem; }
.standards-title { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.2rem; }
html[dir="rtl"] .standards-title { letter-spacing: 0; font-size: .95rem; }
.partner-grid .partner-card { min-height: 110px; font-size: .92rem; }

/* Contact: office cards */
.office-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.4rem; margin-top: 3rem; }
.office-card { border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid var(--border-dark); transition: transform .35s var(--ease), border-color .35s; }
.office-card:hover { transform: translateY(-5px); border-color: var(--blue-400); }
.office-card .gate-skyline { height: 90px; }
.office-card .body { padding: 1.3rem 1.5rem 1.5rem; }
.office-card h3 { font-size: 1.15rem; margin-bottom: .3rem; color: #fff; }
.office-card p { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: 1rem; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: .8rem; text-align: center; }

/* WhatsApp floating button (hidden until a number is set in site.js) */
.wa-float { position: fixed; bottom: 82px; inset-inline-end: 24px; z-index: 900; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .3s var(--ease); }
.wa-float.on { display: grid; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; }

/* Arriving from an office switch on another page */
.switch-overlay.arrive { clip-path: circle(150% at 50% 50%); visibility: visible; transition: none; }
.switch-overlay.arrive .switch-title, .switch-overlay.arrive .switch-sub { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font: 800 clamp(5rem, 16vw, 9rem)/1 'Inter Display','Inter',sans-serif; background: linear-gradient(90deg, var(--blue-400), var(--mint-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 1100px) {
  .nav-item.current > .nav-link::after { display: none; }
  .dd-label { padding-inline: .9rem; }
}
@media (max-width: 900px) {
  .engage-grid { grid-template-columns: 1fr 1fr; }
  .joint-grid { grid-template-columns: 1fr; }
  .joint-plus { margin: 0 auto; }
  .chooser-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .engage-grid { grid-template-columns: 1fr; }
  .page-top { padding-top: calc(var(--header-h) + 40px); }
  .chooser-grid .gate-skyline { height: 110px; }
  .partner-feature { flex-direction: column; align-items: flex-start; }
  .wa-float { bottom: 72px; inset-inline-end: 16px; }
  /* Performance on phones: drop the most expensive effects */
  .orb, .hero-lines, .scroll-cue { display: none; }
  .hero-bg::before { animation: none; }
  header.site-header.scrolled, .hero-card, .btn-secondary, .office-gate-modal, .sector-card .sector-glyph { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .team-photo-wrap, .team-photo-wrap img, .team-avatar { animation: none; }
}
a.practice-btn { display: inline-block; text-decoration: none; }
.section-head h1 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); margin-bottom: 0.8rem; }
#contact h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.contact-val span[dir="ltr"] { direction: ltr; unicode-bidi: isolate; display: inline-block; }
/* Optional photos/logos: shown only when the file exists in assets/img/ */
.team-photo-wrap { position: relative; }
.team-photo-opt { position: absolute; inset: 4px; width: calc(100% - 8px) !important; height: calc(100% - 8px) !important; object-fit: cover; border-radius: 50%; border: 4px solid #fff; animation: spin 8s linear infinite reverse; }
.logo-slot img { display: none; max-width: 80%; max-height: 70%; object-fit: contain; }
.logo-slot.has-logo img { display: block; }
.logo-slot.has-logo .logo-text { display: none; }
.osc-mark.has-logo { background: #fff; padding: .35rem .7rem; }
.osc-mark img { height: 24px; max-height: none; max-width: 120px; }
.partner-feature .logo-slot.has-logo { background: #fff; border: 1px solid var(--border); }
img[data-optional].img-missing { display: none !important; }
@media (max-width: 640px) { .team-photo-opt { animation: none; } }

/* ===== Dubai practice identity: same layout, its own accent colours ===== */
body[data-page-office="db"] {
  --blue-600: #7c3aed; --blue-500: #8b5cf6; --blue-400: #a78bfa; --blue-100: #ede9fe;
  --mint-500: #06b6d4; --mint-400: #22d3ee;
  --navy-950: #0b0a2b; --navy-900: #120f3d; --navy-800: #1d1856;
}
body[data-page-office="db"] .btn-primary { box-shadow: 0 4px 15px rgba(124,58,237,.35); }
body[data-page-office="db"] .hero-tagline { background: rgba(139,92,246,.14); border-color: rgba(139,92,246,.35); }
body[data-page-office="db"] .practice-btn.active { box-shadow: 0 4px 12px rgba(124,58,237,.45); }

/* ===== Our other practice ===== */
.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.other-title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 1rem; }
.other-lede { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.other-grid .gate-option { display: block; color: #fff; }
.other-grid .gate-option.dubai { --blue-600: #7c3aed; --blue-500: #8b5cf6; --blue-400: #a78bfa; }
.other-grid .gate-option:not(.dubai) { --blue-600: #6B2FA0; --blue-500: #8445bd; --blue-400: #C9A4E8; background: #23123a; }
.map-link { display: inline-flex; margin-top: .3rem; font-size: .85rem; color: var(--blue-400); text-decoration: underline; text-underline-offset: 3px; }
.map-link:hover { color: #fff; }

/* Chooser page has no menu */
body[data-gate] .nav-actions { margin-inline-start: auto; }
@media (max-width: 900px) { .other-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 640px) { body[data-gate] .nav-actions .practice-toggle { display: flex; } body[data-gate] .practice-btn { padding: .4rem .7rem; } }

/* ===================================================================
   Polish: calmer, more editorial. Same layout and colours, fewer effects.
   =================================================================== */
:root {
  --shadow-sm: 0 1px 2px rgba(20,10,34,.05);
  --shadow-md: 0 10px 24px rgba(20,10,34,.08);
  --shadow-lg: 0 18px 40px rgba(20,10,34,.16);
  --radius-md: 10px;
  --radius-lg: 14px;
}

/* Hero: no floating blobs, no moving grid, one quiet light source */
.orb, .hero-lines, .scroll-cue { display: none; }
.hero-bg::before { animation: none; opacity: .55; }
#home { background: radial-gradient(900px 520px at 88% -8%, rgba(107,47,160,.30), transparent 62%), var(--navy-950); }
body[data-page-office="db"] #home { background: radial-gradient(900px 520px at 88% -8%, rgba(124,58,237,.32), transparent 62%), var(--navy-950); }
.hero-title { font-weight: 700; letter-spacing: -0.03em; }
html[dir="rtl"] .hero-title { letter-spacing: 0; }

/* Solid accent colour instead of gradient text */
section.dark .accent-blue, #home .accent-blue { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue-400); }
.accent-mint { color: var(--mint-400); }
section:not(.dark):not(.dark-alt) .accent-mint { color: var(--mint-500); }

/* Eyebrows and tags: plain labels, not glowing pills */
.eyebrow::before { display: none; }
.eyebrow { letter-spacing: .14em; font-size: .74rem; }
.hero-tagline { background: none !important; border: none; padding: 0; border-radius: 0; color: var(--blue-400); }
.hero-card-header .hero-tagline { border: 1px solid var(--border-dark); padding: .3rem .7rem; border-radius: 6px; }
.brand-logo .dot { animation: none; }
.pill-tag { border-radius: 6px; }
.pill-tag:hover, .mode-tag:hover, .filter-chip:hover { transform: none; }

/* Buttons: no shine sweep, slightly squarer */
.btn::after { display: none; }
.btn { border-radius: 10px; }
.btn-primary { box-shadow: none; }
.btn-primary:hover { transform: none; box-shadow: 0 6px 16px rgba(107,47,160,.28); }
body[data-page-office="db"] .btn-primary, body[data-page-office="db"] .btn-primary:hover { box-shadow: none; }
.btn-secondary:hover { transform: none; }
.filter-chip { border-radius: 8px; }
.practice-toggle, .practice-btn, .lang-btn { border-radius: 10px; }
.practice-btn.active { box-shadow: none !important; }

/* Cards: hairline borders, small lift, no glow bars or spinning icons */
.feature-card::before, .feature-card::after { display: none; }
.feature-card:hover, .flow-step:hover, .stage-card:hover, .engage-step:hover, .team-card:hover,
.partner-feature:hover, .partner-card:hover, .stat-card:hover, .office-card:hover, .sector-card:hover { transform: translateY(-3px); }
.feature-card:hover .card-icon, .flow-step:hover .card-icon, .engage-step:hover .card-icon { transform: none; box-shadow: none; background: var(--blue-600); }
.stat-card:hover .stat-icon, .sector-card:hover .sector-glyph, .brand-logo:hover .brand-mark { transform: none; }
.partner-card:hover .partner-logo { transform: none; background: var(--blue-600); color: #fff; }
.sector-card:hover img { transform: scale(1.03); filter: none; }
.gate-option:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.35); }
.contact-info-item:hover, html[dir="rtl"] .contact-info-item:hover { transform: none; }
.flow-step-num, .engage-step::before { color: rgba(20,10,34,.07); }
.card-icon, .stat-icon, .partner-logo { border-radius: 10px; }
.wa-float:hover { transform: scale(1.05); }

/* Team: static photo frame instead of a spinning ring */
.team-photo-wrap, .team-photo-wrap img, .team-avatar, .team-photo-opt { animation: none; }
.team-photo-wrap { background: var(--blue-100); padding: 3px; }
.team-avatar { background: var(--navy-800); font-size: 2.2rem; }
.team-card { align-items: start; }
.team-bio p { margin-bottom: .7rem; }
.expandable-content.bio-more.open { max-height: 4000px; }
.expandable-content.bio-more .team-bio p { padding: 0; border: 0; }
.team-card .expand-trigger { margin-top: 0; margin-bottom: .4rem; }
.team-edu { margin-top: .4rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.team-edu-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .6rem; }
html[dir="rtl"] .team-edu-title { letter-spacing: 0; font-size: .9rem; }
.team-edu ul { list-style: none; display: grid; gap: .45rem; }
.team-edu li { display: flex; gap: .55rem; align-items: center; font-size: .92rem; color: var(--text-dark); }
.team-edu li svg { width: 18px; height: 18px; color: var(--blue-600); }

/* Quote block: flatter */
.quote-block { box-shadow: none; }

/* Gentler reveal */
.reveal { transform: translateY(14px); transition-duration: .6s; }

/* Contact: city map and spam trap */
.hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; opacity: 0; }
.map-embed { margin-top: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-dark); background: var(--navy-800); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }
.btn[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 640px) { .map-embed { height: 260px; } }

/* Real photo and logos in place */
.team-photo-wrap.has-photo .team-avatar { visibility: hidden; }
.team-photo-wrap.has-photo .team-photo-opt { background: linear-gradient(180deg, #e8eefc, #dbe4f7); }
.partner-feature .logo-slot.has-logo { width: 168px; height: 84px; padding: 10px 14px; }
.partner-feature .logo-slot.has-logo img { max-width: 100%; max-height: 100%; }
@media (max-width: 640px) { .partner-feature .logo-slot.has-logo { width: 150px; height: 72px; } }

/* ===== Real ITology logo ===== */
.brand-logo { gap: 0; }
.brand-img { display: block; height: 26px; width: auto; }
.footer-brand { display: inline-block; margin-bottom: 1.3rem; }
.footer-brand .brand-img { height: 32px; }
.switch-logo { height: 30px; width: auto; opacity: .9; margin-bottom: .4rem; }
.chooser-logo { display: block; height: 40px; width: auto; margin: 0 auto 1.6rem; }
.section-logo { display: block; height: 28px; width: auto; margin-bottom: 1rem; opacity: .9; }
@media (max-width: 640px) { .brand-img { height: 20px; } .chooser-logo { height: 30px; } }

/* ===== About: graphics live inside the Vision / Mission / Values cards ===== */
.about-card { padding: 0; overflow: hidden; }
.about-card .card-art { position: relative; height: 150px; background: var(--navy-800); overflow: hidden; }
.about-card .card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.about-card:hover .card-art svg { transform: scale(1.04); }
.about-card > div:last-child { padding: 1.6rem 1.8rem 1.9rem; position: relative; }
.about-card .card-icon { margin-top: -2.9rem; position: relative; z-index: 1; border: 3px solid #fff; background: var(--blue-100); }
.about-card:hover .card-icon { background: var(--blue-600); }

/* ===== Leadership photo on white ===== */
.team-photo-wrap { background: #fff; border: 1px solid var(--border); padding: 4px; }
.team-photo-wrap img { border-color: #fff; background: #fff; }

/* ===== Contact form and newsletter polish ===== */
.contact-form h3 { margin-bottom: 1.4rem; }
.form-input::placeholder, .form-textarea::placeholder { color: #94a3b8; }
.form-select { appearance: none; -webkit-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 1l5 5 5-5' stroke='%2364748b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
html[dir="rtl"] .form-select { background-position: left 1rem center; padding-right: 1rem; padding-left: 2.5rem; }
.newsletter-form { display: flex; gap: .5rem; align-items: stretch; }
.newsletter-form .form-input { flex: 1; min-width: 0; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.newsletter-form .form-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form .form-input:focus { background: rgba(255,255,255,.1); }
.newsletter-form .btn { flex-shrink: 0; }

/* ===================================================================
   ATNAAB theme on the ITology framework
   =================================================================== */
:root {
  --navy-950: #0d0716; --navy-900: #140a22; --navy-800: #23123a; --navy-700: #381952;
  --blue-600: #6B2FA0; --blue-500: #8445bd; --blue-400: #C9A4E8; --blue-100: #f0e8f8;
  --mint-500: #9B59D0; --mint-400: #C9A4E8;
  --bg-light: #fbf9fd; --bg-alt: #f5f0fa;
  --text-dark: #1A0D26; --text-muted: #5b4a6b;
  --border: rgba(56,25,82,.12);
  --shadow-sm: 0 1px 2px rgba(56,25,82,.06);
  --shadow-md: 0 12px 28px rgba(56,25,82,.10);
  --shadow-lg: 0 20px 44px rgba(26,13,38,.18);
}
html[lang="zh"] body { font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] h4 { font-family: 'Inter Display', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; letter-spacing: 0; }
html[lang="zh"] .eyebrow, html[lang="zh"] .hero-tagline { letter-spacing: .06em; }

/* Hero */
#home { background: radial-gradient(900px 520px at 88% -8%, rgba(155,89,208,.32), transparent 62%), radial-gradient(700px 520px at -10% 110%, rgba(56,25,82,.6), transparent 60%), var(--navy-950) !important; min-height: 92vh; }
#home .hero-bg::before { opacity: .45; }
.atn-orbit { position: absolute; width: min(900px, 82vw); height: auto; right: -14%; top: 52%; transform: translateY(-50%); }
html[dir="rtl"] .atn-orbit { right: auto; left: -14%; transform: translateY(-50%) scaleX(-1); }
.atn-sat { transform-origin: 400px 400px; animation: atnOrbit 38s linear infinite; }
@keyframes atnOrbit { from { transform: rotate(-18deg) rotate(0deg); } to { transform: rotate(-18deg) rotate(360deg); } }
.hero-title { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.hero-stat-val { font-size: 1.05rem; line-height: 1.3; }
.hero-tags { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed rgba(255,255,255,.14); gap: .45rem; }
.hero-tags .pill-tag { font-size: .72rem; padding: .3rem .65rem; }
.hero-card-header .hero-tagline { margin: 0; }

/* Key facts */
#impact { padding: 64px 0; }
.stat-val.stat-text { font-size: 1.15rem; line-height: 1.3; }

/* Two-column split (About, Philosophy) */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--navy-800); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.split-media:hover img { transform: scale(1.03); }
.split-badge { position: absolute; bottom: 18px; inset-inline-end: 18px; background: var(--navy-900); color: #fff; padding: .8rem 1.1rem; border-radius: 10px; display: flex; flex-direction: column; line-height: 1.2; box-shadow: var(--shadow-lg); }
.split-badge strong { font-size: 1.15rem; }
.split-badge span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-400); }
html[dir="rtl"] .split-badge span { letter-spacing: 0; }
.body-p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1rem; }
section.dark .body-p, section.dark-alt .body-p { color: rgba(255,255,255,.75); }

/* Network */
.sub-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.sub-head h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.sub-head p { color: var(--text-muted); font-size: .95rem; }
.net-card { padding: 1.6rem 1.7rem; }
.net-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1rem; }
.net-top .flow-badge { margin: 0; text-align: end; }
.net-code { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 800 .9rem/1 'Inter Display', 'Inter', sans-serif; letter-spacing: .04em; background: var(--blue-100); color: var(--blue-600); transition: background .3s, color .3s; direction: ltr; }
.net-card:hover .net-code, .net-hq .net-code { background: var(--blue-600); color: #fff; }
.net-hq { border-color: rgba(107,47,160,.35); }

/* How it operates: four steps */
.flow-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.flow-grid-4 .flow-step:not(:last-child)::after { inset-inline-end: -.95rem; width: .7rem; height: .7rem; }
.quote-block { padding-bottom: 2.2rem; }
.quote-text strong { color: var(--blue-400); font-weight: 600; }
.quote-logo { height: 34px; width: auto; opacity: .85; }

/* Vision / Mission / Values cards: photo header */
.about-card .card-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.about-card .card-art { background: radial-gradient(240px 120px at 80% 20%, rgba(155,89,208,.55), transparent 70%), linear-gradient(135deg, #381952, #140a22); }
.about-card .card-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,10,34,.45)); }
.about-card:hover .card-art img { transform: scale(1.05); }
.about-card .card-subtitle { letter-spacing: .14em; font-size: .74rem; text-transform: uppercase; margin-bottom: .4rem; }
html[dir="rtl"] .about-card .card-subtitle { letter-spacing: 0; font-size: .85rem; }

/* Solutions: photo cards on dark */
.sol-card { padding: 0; overflow: hidden; }
.sol-photo { height: 170px; overflow: hidden; background: var(--navy-800); }
.sol-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.sol-card:hover .sol-photo img { transform: scale(1.05); }
.sol-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.sol-body .flow-badge { align-self: flex-start; }
.sol-body .card-icon { margin-bottom: 1rem; }
.text-link { margin-top: auto; padding-top: 1rem; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-400); transition: color .2s, letter-spacing .25s; }
html[dir="rtl"] .text-link { letter-spacing: 0; }
.text-link:hover { color: #fff; letter-spacing: .11em; }
section.dark .sol-card .card-desc { margin-bottom: .4rem; }

/* Industries */
.sector-card { color: #fff; }
.sector-card .flow-badge { background: rgba(155,89,208,.3); color: #fff; }
.sector-card { background: radial-gradient(300px 160px at 75% 20%, rgba(155,89,208,.45), transparent 70%), linear-gradient(135deg, #2D1348, #140a22); }

/* Philosophy */
.phil-side { display: flex; flex-direction: column; gap: 1rem; }
.phil-photo { height: 200px; border-radius: var(--radius-md); overflow: hidden; background: var(--navy-800); }
.phil-photo img { width: 100%; height: 100%; object-fit: cover; }
.phil-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--radius-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s; }
.phil-card:hover { background: rgba(255,255,255,.08); border-color: rgba(201,164,232,.35); }
.phil-card .card-icon { margin: 0; width: 42px; height: 42px; background: rgba(155,89,208,.2); color: var(--blue-400); }
.phil-card h3 { font-size: 1.02rem; color: #fff; margin-bottom: .25rem; }
.phil-card p { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.6; }

/* Contact form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.contact-form { padding: 2.2rem; }

/* CTA + footer */
.cta-logo { height: 52px; width: auto; margin: 0 auto 1.6rem; display: block; }
.brand-img { height: 40px !important; }
.footer-brand .brand-img { height: 50px !important; }
.footer-tag { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .8rem; }
html[dir="rtl"] .footer-tag { letter-spacing: 0; font-size: .85rem; }
.footer-desc { font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.7); margin-bottom: 1.1rem; }
.footer-contact { list-style: none; display: grid; gap: .55rem; font-size: .86rem; color: rgba(255,255,255,.72); }
.footer-contact li { display: flex; align-items: center; gap: .55rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--blue-400); }
.footer-contact a:hover { color: #fff; }
.footer-col-title { margin-bottom: 1rem !important; }

/* Language switch */
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border-dark); border-radius: 10px; background: rgba(255,255,255,.04); }
.lang-switch a { padding: .38rem .7rem; border-radius: 8px; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.75); white-space: nowrap; transition: background .2s, color .2s; }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-switch a.active { background: var(--blue-600); color: #fff; }
.nav-cta { white-space: nowrap; }
.drawer-extra .lang-switch { margin: 0 auto; }

/* Floating WhatsApp sits above back-to-top */
.wa-float.on { display: grid; }

/* Responsive */
@media (max-width: 1250px) { .nav-cta { display: none; } }
@media (max-width: 1100px) {
  .nav-actions .lang-switch { display: none; }
  .flow-grid-4 { grid-template-columns: 1fr 1fr; }
  .flow-grid-4 .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  #philosophy .split-grid > div:first-child { order: 0; }
  .atn-orbit { width: 140vw; right: -45%; opacity: .5; }
  html[dir="rtl"] .atn-orbit { left: -45%; }
}
@media (max-width: 640px) {
  #home { min-height: auto; }
  .flow-grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .sol-photo { height: 160px; }
  .brand-img { height: 32px !important; }
  .split-media { aspect-ratio: 16/11; }
  .hero-stat-val { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .atn-sat { animation: none; } }
