/* ===== 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: #050f2b;
    --navy-900: #081840;
    --navy-800: #0d2460;
    --navy-700: #1a3a8a;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-100: #dbeafe;
    --mint-500: #10b981;
    --mint-400: #34d399;
    --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(37,99,235,.3); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,99,235,.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(8,24,64,.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(37,99,235,.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(59,130,246,.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(37,99,235,.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(96,165,250,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,.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: #1d4ed8; top: -120px; right: -80px; }
  .orb.o2 { width: 380px; height: 380px; background: #0f766e; 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(59,130,246,.12); border: 1px solid rgba(59,130,246,.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(59,130,246,.22); border-color: var(--blue-500); color: #fff; transform: translateY(-2px); }

  .hero-card {
    background: linear-gradient(160deg, rgba(13,36,96,.9), rgba(8,24,64,.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(96,165,250,.6), transparent 40%, transparent 60%, rgba(52,211,153,.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(96,165,250,.5); background: rgba(59,130,246,.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(37,99,235,.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(59,130,246,.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(59,130,246,.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(13,36,96,.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(37,99,235,.3); }
  section.dark .card-icon, section.dark-alt .card-icon { background: rgba(59,130,246,.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(59,130,246,.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(59,130,246,.2); color: var(--blue-100); }
  .flow-step-num { font-size: 2.8rem; font-weight: 800; color: rgba(8,24,64,.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(37,99,235,.2); }

  /* Supply */
  .supply-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2rem; }
  .stage-card { background: rgba(13,36,96,.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(16,185,129,.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(37,99,235,.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(59,130,246,.55), transparent 55%), linear-gradient(135deg, #0d2460, #050f2b); }
  .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(8,24,64,.05) 0%, rgba(8,24,64,.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(59,130,246,.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(59,130,246,.1); border-color: rgba(96,165,250,.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(59,130,246,.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(8,24,64,.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(59,130,246,.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, #1e3a8a 0%, #0d2460 100%); overflow: hidden; }
  .gate-option.dubai .gate-skyline { background: linear-gradient(180deg, #4c1d95 0%, #0d2460 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(59,130,246,.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%, #050f2b 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%, #050f2b 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(37,99,235,.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(59,130,246,.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(8,24,64,.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(37,99,235,.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(52,211,153,.45); color: #fff; font-weight: 600; background: rgba(16,185,129,.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(59,130,246,.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: #2563eb; --blue-500: #3b82f6; --blue-400: #60a5fa; background: #0d2460; }
.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(8,24,64,.05);
  --shadow-md: 0 10px 24px rgba(8,24,64,.08);
  --shadow-lg: 0 18px 40px rgba(8,24,64,.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(37,99,235,.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(37,99,235,.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(8,24,64,.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; }

/* ===== Shorter page: tabs, header contact button, slim other-practice strip, mobile contact bar ===== */
.tabs { margin-top: 8px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 28px; padding: 6px; border-radius: 14px;
  background: rgba(148,163,184,.10); border: 1px solid rgba(148,163,184,.18); width: fit-content; max-width: 100%; }
.tab { font: inherit; font-size: .92rem; font-weight: 600; padding: 10px 16px; border-radius: 10px; border: 0; cursor: pointer;
  background: transparent; color: inherit; opacity: .75; transition: background .2s, opacity .2s, color .2s; }
.tab:hover { opacity: 1; background: rgba(148,163,184,.14); }
.tab.active { opacity: 1; background: var(--blue-600); color: #fff; }
.tab:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.tab-panel[hidden] { display: none !important; }
.tab-panel.active { animation: tabIn .35s ease; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-intro { text-align: center; max-width: 760px; margin: 0 auto 24px; }
.tab-intro h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 8px; }
.tab-anchor { display: none; }
.tab-panel .reveal { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .tab-list { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; flex: 0 0 auto; padding: 9px 13px; font-size: .86rem; }
}

.nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: .9rem;
  background: var(--blue-600); color: #fff !important; text-decoration: none; white-space: nowrap; transition: filter .2s, transform .2s; }
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.nav-cta svg { width: 17px; height: 17px; }
@media (max-width: 560px) { .nav-cta { padding: 8px 10px; } .nav-cta span { display: none; } }

.other-slim { padding: 44px 0 !important; }
.other-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.other-strip .other-title { font-size: clamp(1.25rem, 2.4vw, 1.75rem); margin: 6px 0 0; }

/* ===== Learn-about buttons on service and product cards ===== */
.feature-card { display: flex; flex-direction: column; }
.learn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: auto; align-self: flex-start;
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--blue-600); background: transparent; white-space: nowrap;
  color: var(--blue-600) !important; font: inherit; font-size: .86rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s; }
.feature-card > div:first-child { margin-bottom: 16px; }
.learn-btn:hover, .learn-btn.is-open { background: var(--blue-600); color: #fff !important; }
.learn-btn svg { width: 15px; height: 15px; }
section.dark .learn-btn { border-color: var(--blue-400); color: var(--blue-400) !important; }
section.dark .learn-btn:hover, section.dark .learn-btn.is-open { background: var(--blue-600); border-color: var(--blue-600); color: #fff !important; }
.ask-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 600; font-size: .88rem; color: var(--blue-600); text-decoration: none; }
section.dark .ask-link { color: var(--blue-400); }
.ask-link:hover { text-decoration: underline; }
.ask-link svg { width: 15px; height: 15px; }
html[dir="rtl"] a.learn-btn svg, html[dir="rtl"] .ask-link svg { transform: scaleX(-1); }

/* Readability: "How We Engage" cards inside dark sections */
section.dark .engage-step, section.dark-alt .engage-step { background: rgba(13,36,96,.75); border-color: var(--border-dark); color: var(--text-light); }
section.dark .engage-step::before, section.dark-alt .engage-step::before { color: rgba(255,255,255,.08); }

/* =====================================================================
   v3: phones without sideways scrolling + creative touches
   ===================================================================== */

/* Editorial section numbers: "01 / WHAT ITOLOGY DELIVERS" */
body { counter-reset: sec; }
main > section .section-head .eyebrow, body > section .section-head .eyebrow { counter-increment: sec; }
.section-head .eyebrow::before { content: counter(sec, decimal-leading-zero); display: inline-block !important; width: auto; height: auto; background: none; border-radius: 0; line-height: 1; margin-inline-end: .6em; padding-inline-end: .6em;
  border-inline-end: 1px solid currentColor; opacity: .55; font-variant-numeric: tabular-nums; }

/* Cursor spotlight on cards (desktop) */
@media (hover: hover) {
  .feature-card, .flow-step, .engage-step, .team-card { background-image: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(59,130,246,.09), transparent 45%); }
  section.dark .feature-card, section.dark-alt .feature-card, section.dark .engage-step, section.dark .flow-step {
    background-image: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(96,165,250,.16), transparent 45%); }
}

/* Language switch transition (same family as the office switch) */
.lang-overlay { position: fixed; inset: 0; z-index: 3001; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.3rem;
  color: #fff; text-align: center; padding: 2rem; background: radial-gradient(circle at 50% 40%, #12307a 0%, #050f2b 70%);
  clip-path: circle(0% at var(--cx,50%) var(--cy,50%)); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
body[data-page-office="db"] .lang-overlay { background: radial-gradient(circle at 50% 40%, #3b1a7a 0%, #0b0a2b 70%); }
.lang-overlay.active, .lang-overlay.arrive { clip-path: circle(150% at var(--cx,50%) var(--cy,50%)); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.lang-overlay.arrive { transition: none; }
.lang-overlay.leaving { clip-path: circle(0% at 50% 50%); visibility: visible; transition: clip-path .7s var(--ease); }
.lang-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 40px); height: 150px; direction: ltr; }
.lang-glyph { font-family: 'Inter Display','Inter','DejaVu Sans',system-ui,sans-serif; font-weight: 800; font-size: clamp(4rem, 14vw, 7.5rem); line-height: 1;
  width: 1.6em; text-align: center; }
.lang-glyph.from { color: rgba(255,255,255,.9); }
.lang-glyph.to { background: linear-gradient(135deg, var(--blue-400), var(--mint-400)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateX(30px) scale(.9); filter: blur(6px); }
.lang-orbit { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); position: relative; flex: 0 0 auto; }
.lang-orbit::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--mint-400); border-right-color: var(--blue-400); }
.lang-orbit svg { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; color: var(--blue-400); }
.lang-overlay.active .lang-orbit::before { animation: spin 1.1s linear infinite; }
.lang-overlay.active .lang-glyph.from { animation: glyphOut .6s var(--ease) .55s forwards; }
.lang-overlay.active .lang-glyph.to { animation: glyphIn .7s var(--ease) .75s forwards; }
.lang-overlay.arrive .lang-glyph.from { opacity: .25; }
.lang-overlay.arrive .lang-glyph.to { opacity: 1; transform: none; filter: none; }
@keyframes glyphOut { to { opacity: .25; transform: translateX(-20px) scale(.85); filter: blur(2px); } }
@keyframes glyphIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.lang-overlay .switch-title, .lang-overlay .switch-sub { opacity: 0; transform: translateY(14px); }
.lang-overlay.active .switch-title { animation: rise .7s var(--ease) .5s forwards; }
.lang-overlay.active .switch-sub { animation: rise .7s var(--ease) .7s forwards; }
.lang-overlay.arrive .switch-title, .lang-overlay.arrive .switch-sub { opacity: 1; transform: none; }
.lang-overlay .switch-bar i { width: 0; }
.lang-overlay.active .switch-bar i { animation: fill 1.6s linear .15s forwards; }
.lang-overlay .lg-ar { font-family: 'DejaVu Sans', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  section { padding-top: 60px; padding-bottom: 60px; }

  /* Tabs: a tidy grid of buttons, everything visible, nothing to scroll */
  .tab-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; overflow: visible; padding: 6px; }
  .tab-list .tab { white-space: normal; line-height: 1.25; padding: 10px 8px; font-size: .82rem; text-align: center; min-height: 44px; }
  .tab-list .tab:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* Filters wrap instead of scrolling */
  .filter-chips { flex-wrap: wrap !important; overflow: visible !important; justify-content: center !important; margin-inline: 0 !important; padding-inline: 0 !important; gap: 6px; margin-bottom: 1.4rem; }
  .filter-chip { padding: 7px 12px; font-size: .8rem; }

  /* Numbers: 2 x 2 */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 16px 14px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .stat-card .stat-icon { width: 34px; height: 34px; }
  .stat-card .stat-icon svg { width: 18px; height: 18px; }

  /* Service lists: a numbered, tap-to-open index */
  .m-acc { display: flex !important; flex-direction: column; gap: 10px; counter-reset: acc; }
  .m-acc > .feature-card { padding: 14px 16px; border-radius: 14px; counter-increment: acc; transform: none !important; }
  .m-acc > .feature-card > div:first-child { display: grid; grid-template-columns: 42px 1fr 34px; column-gap: 12px; row-gap: 4px; align-items: center; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .m-acc > .feature-card .card-icon { grid-column: 1; grid-row: 1 / span 2; width: 42px; height: 42px; margin: 0; border-radius: 12px; }
  .m-acc > .feature-card .card-icon svg { width: 22px; height: 22px; }
  .m-acc > .feature-card .flow-badge { grid-column: 2; grid-row: 1; justify-self: start; margin: 0; font-size: .62rem; padding: 2px 8px; }
  .m-acc > .feature-card .card-title { grid-column: 2; margin: 0; font-size: 1rem; line-height: 1.3; align-self: center; }
  .m-acc > .feature-card > div:first-child:not(:has(.flow-badge)) .card-title { grid-row: 1 / span 2; }
  .m-acc > .feature-card .card-subtitle { grid-column: 2; }
  .m-acc-ic { grid-column: 3; grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; justify-self: end;
    border: 1px solid var(--border); color: var(--blue-600); position: relative; transition: transform .3s var(--ease), background .3s, color .3s; }
  .m-acc-ic::before, .m-acc-ic::after { content: ''; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: currentColor; }
  .m-acc-ic::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
  .m-acc-ic span { position: absolute; top: -9px; inset-inline-end: -4px; font-size: .6rem; font-weight: 700; color: var(--text-muted); opacity: .7; }
  section.dark .m-acc-ic, section.dark-alt .m-acc-ic { border-color: var(--border-dark); color: var(--blue-400); }
  .m-acc > .feature-card.m-open .m-acc-ic { background: var(--blue-600); color: #fff; border-color: var(--blue-600); transform: rotate(180deg); }
  .m-acc > .feature-card.m-open .m-acc-ic::after { transform: rotate(0deg); }
  .m-acc > .feature-card > div:first-child > .card-desc { grid-column: 1 / -1; margin-top: 8px; }
  .m-acc > .feature-card:not(.m-open) > div:first-child > .card-desc,
  .m-acc > .feature-card:not(.m-open) > div:first-child > .card-subtitle,
  .m-acc > .feature-card:not(.m-open) > :not(:first-child) { display: none !important; }
  .m-acc > .feature-card.m-open { border-color: var(--blue-500); box-shadow: 0 10px 24px rgba(37,99,235,.12); }
  .m-acc > .feature-card.m-open > * { animation: accIn .35s var(--ease); }
  .m-acc > .feature-card .learn-btn { margin-top: 12px; }
  @keyframes accIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

  /* Products: compact two-column tiles */
  .m-tiles { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
  .m-tiles > .feature-card { padding: 14px 12px; border-radius: 14px; }
  .m-tiles > .feature-card > div:first-child { margin-bottom: 10px; }
  .m-tiles .card-icon { width: 36px; height: 36px; margin-bottom: 8px; border-radius: 10px; }
  .m-tiles .card-icon svg { width: 19px; height: 19px; }
  .m-tiles .flow-badge { font-size: .6rem; padding: 2px 7px; margin-bottom: 6px; }
  .m-tiles .card-title { font-size: .95rem; margin-bottom: 4px; }
  .m-tiles .card-desc { font-size: .8rem; line-height: 1.45; }
  .m-tiles .learn-btn { white-space: normal; width: 100%; padding: 7px 8px; font-size: .74rem; line-height: 1.2; text-align: center; }

  /* Steps: a vertical timeline */
  .flow-grid, .engage-grid { display: flex !important; flex-direction: column; gap: 12px; position: relative; padding-inline-start: 26px; }
  .flow-grid::before, .engage-grid::before { content: ''; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 8px; width: 2px; border-radius: 2px;
    background: linear-gradient(var(--blue-500), var(--mint-400)); opacity: .5; }
  .flow-step, .engage-step { padding: 16px 16px 14px; border-radius: 14px; }
  .flow-step::after, .flow-step:not(:last-child)::after, html[dir="rtl"] .flow-step:not(:last-child)::after, .engage-step::after { content: ''; position: absolute; top: 20px !important; bottom: auto !important; left: auto !important; right: auto; inset-inline-start: -24px !important; inset-inline-end: auto !important; width: 14px; height: 14px; border: 0 !important; border-radius: 50%; transform: none !important;
    background: var(--blue-600); box-shadow: 0 0 0 4px var(--bg-light); }
  section.dark .flow-step::after, section.dark .engage-step::after { box-shadow: 0 0 0 4px var(--navy-900); }
  .flow-step .card-icon, .engage-step .card-icon { display: none; }
  .flow-step-num { font-size: 1.8rem; top: 12px; }
  .flow-step .flow-badge { margin-bottom: 6px; }
  .flow-step .card-title, .engage-step .card-title { font-size: 1.02rem; margin-bottom: 4px; }
  .flow-step .card-desc, .engage-step .card-desc { font-size: .88rem; }
  .flow-step .expand-trigger { margin-top: .6rem; }

  /* Sectors: shorter picture tiles */
  .sector-card { height: 190px !important; }

  /* Vision / Mission / Values: wide picture on top, short */
  .about-card .card-art { height: 104px; }
  .about-card > div:last-child { padding: 1.2rem 1.2rem 1.4rem; }
  .about-card .card-icon { margin-top: -2.4rem; width: 46px; height: 46px; }

  /* Partners and standards: two per row */
  .partner-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .partner-grid .partner-card { min-height: 92px; padding: 12px 8px; font-size: .8rem; }
  .partner-grid .partner-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .section-head { margin-bottom: 1.8rem; }
  .tab-intro { margin-bottom: 16px; }
  .tab-intro h3 { font-size: 1.15rem; }
  .tab-intro .lede { font-size: .92rem; }
}

/* ===== v4: everything open (no tab buttons), sub-sections stacked ===== */
.sub-block { scroll-margin-top: 90px; }
.sub-block + .sub-block { margin-top: clamp(56px, 7vw, 88px); }
.sub-anchor { display: block; height: 0; scroll-margin-top: 90px; }
.sub-head { display: grid; gap: 10px; justify-items: center; text-align: center; max-width: 780px; margin: 0 auto 28px; }
.sub-head.first { margin-bottom: 22px; }
.sub-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
html[dir="rtl"] .sub-kicker { letter-spacing: 0; font-size: .92rem; }
.sub-kicker::before, .sub-kicker::after { content: ''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-500), var(--mint-400)); }
section.dark .sub-kicker, section.dark-alt .sub-kicker { color: var(--blue-400); }
.sub-head h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; margin: 0; }
.sub-head .lede { margin: 0; }
section.dark .sub-block + .sub-block, section.dark-alt .sub-block + .sub-block { padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--border-dark); }
section:not(.dark):not(.dark-alt) .sub-block + .sub-block { padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--border); }

/* ===== v4: other practice, a proper feature card on a light band ===== */
.other-sec { background: var(--bg-alt); padding: clamp(64px, 8vw, 100px) 0; }
.other-head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.other-head .eyebrow { justify-content: center; }
.other-sec .other-title { color: var(--text-dark); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .4rem 0 .8rem; }
.other-sec .other-lede { color: var(--text-muted); }
.other-sec .accent-mint { color: var(--blue-600); }
.other-card { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #0d2460 0%, #050f2b 100%); box-shadow: 0 30px 60px rgba(8,24,64,.25); isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s; }
.other-card.to-db { background: linear-gradient(135deg, #4c1d95 0%, #1d1856 55%, #0b0a2b 100%); box-shadow: 0 30px 60px rgba(76,29,149,.28);
  --blue-600: #7c3aed; --blue-500: #8b5cf6; --blue-400: #a78bfa; }
.other-card.to-ad { background: linear-gradient(135deg, #1e40af 0%, #0d2460 55%, #050f2b 100%);
  --blue-600: #2563eb; --blue-500: #3b82f6; --blue-400: #60a5fa; }
.other-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px rgba(8,24,64,.32); }
.other-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.other-sky { position: relative; min-height: 280px; }
.other-sky svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 78%; stroke: var(--blue-400); opacity: .9; }
.other-sky svg * { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.other-card.visible .other-sky svg * , .other-card:not(.reveal) .other-sky svg * { animation: draw 2.4s var(--ease) .2s forwards; }
.other-route { position: absolute; top: 26px; inset-inline-start: 28px; display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; direction: inherit; }
.other-route .pin { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.other-route .pin.there { background: var(--blue-600); border-color: var(--blue-500); }
.other-route .line { position: relative; width: 70px; height: 2px; background: rgba(255,255,255,.25); border-radius: 2px; overflow: hidden; }
.other-route .line i { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--mint-400), transparent); animation: routeRun 1.8s linear infinite; }
html[dir="rtl"] .other-route .line i { animation-direction: reverse; }
@keyframes routeRun { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.other-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.18)); }
html[dir="rtl"] .other-body { background: linear-gradient(270deg, transparent, rgba(0,0,0,.18)); }
.other-body .gate-tag { margin: 0; background: rgba(255,255,255,.12); color: #fff; }
.other-body h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; margin: 0; line-height: 1.2; }
.other-body p { color: rgba(255,255,255,.8); line-height: 1.65; margin: 0 0 8px; }
.other-body .btn { pointer-events: none; }
@media (max-width: 860px) {
  .other-card { grid-template-columns: 1fr; }
  .other-sky { min-height: 170px; }
  .other-body { background: none; }
}

/* =====================================================================
   v5: multi-page site
   Colours: blue = Abu Dhabi, purple = Dubai, black & white for both. No green.
   ===================================================================== */
:root { --mint-500: #1d4ed8; --mint-400: #93c5fd; --bg-light: #ffffff; --bg-alt: #eef0f4; --ink: #0b0d12; }
body[data-page-office="db"] { --mint-500: #6d28d9; --mint-400: #c4b5fd; }
body { background: #fff; }
section { background: #fff; }
section.light-alt { background: var(--bg-alt); }
.mode-tag.good { background: rgba(96,165,250,.18); color: #bfdbfe; }
body[data-page-office="db"] .mode-tag.good { background: rgba(167,139,250,.2); color: #ddd6fe; }
.joint-outcome { border-color: rgba(255,255,255,.25) !important; }
.wa-float { background: var(--blue-600); box-shadow: 0 10px 24px rgba(8,24,64,.35); }
footer.site-footer { background: var(--ink); border-top: 0; }

/* Buttons on light backgrounds */
section:not(.dark):not(.dark-alt):not(.page-hero):not(#home) .btn-secondary { background: #fff; color: var(--text-dark); border: 1px solid rgba(8,24,64,.16); }
section:not(.dark):not(.dark-alt):not(.page-hero):not(#home) .btn-secondary:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: .85rem 1.3rem; border-radius: 12px; font-weight: 600; color: var(--blue-600); border: 1px solid transparent; transition: background .2s, border-color .2s; }
.btn-ghost:hover { background: rgba(37,99,235,.06); border-color: rgba(37,99,235,.2); }
.btn-ghost svg { width: 18px; height: 18px; }
html[dir="rtl"] .btn-ghost svg, html[dir="rtl"] .btn-primary svg, html[dir="rtl"] .svc-go svg, html[dir="rtl"] .next-card > svg { transform: scaleX(-1); }
section.dark .btn-ghost { color: var(--blue-400); }
.center-cta { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* Simple top navigation */
.nav-menu .nav-item > a.nav-link { position: relative; padding: .55rem .95rem; border-radius: 10px; font-weight: 600; font-size: .92rem; color: rgba(255,255,255,.82); transition: color .2s, background .2s; }
.nav-menu .nav-item > a.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-menu .nav-item > a.nav-link.current { color: #fff; }
.nav-menu .nav-item > a.nav-link.current::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 22px; height: 2px; margin-left: -11px; border-radius: 2px; background: var(--blue-400); }
@media (max-width: 1100px) {
  .nav-menu .nav-item > a.nav-link { display: block; font-size: 1.05rem; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-menu .nav-item > a.nav-link.current { color: var(--blue-400); }
  .nav-menu .nav-item > a.nav-link.current::after { display: none; }
}

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 520px at 85% -10%, rgba(37,99,235,.32), transparent 62%), var(--navy-950);
  padding: calc(var(--header-h, 72px) + 64px) 0 72px; }
body[data-page-office="db"] .page-hero { background: radial-gradient(900px 520px at 85% -10%, rgba(124,58,237,.34), transparent 62%), var(--navy-950); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 10px 0 14px; max-width: 900px; }
.page-hero .hero-desc { max-width: 760px; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs svg { width: 16px; height: 16px; transform: rotate(-90deg); opacity: .6; }
html[dir="rtl"] .crumbs svg { transform: rotate(90deg); }

/* Home: compact service list linking to the Services page */
.svc-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-mini { display: grid; grid-template-columns: 48px 1fr 28px; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid rgba(8,24,64,.1);
  transition: border-color .25s, box-shadow .25s, transform .25s; }
.svc-mini:hover { border-color: var(--blue-500); box-shadow: 0 14px 30px rgba(8,24,64,.08); transform: translateY(-2px); }
.svc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); }
.svc-ic svg { width: 24px; height: 24px; }
.svc-mini:hover .svc-ic { background: var(--blue-600); color: #fff; }
.svc-txt { display: grid; gap: 3px; min-width: 0; }
.svc-txt .flow-badge { justify-self: start; font-size: .62rem; padding: 2px 8px; margin: 0; }
.svc-title { font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--text-dark); }
.svc-desc { font-size: .84rem; color: var(--text-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc-go { color: var(--blue-600); opacity: .5; transition: opacity .2s, transform .2s; }
.svc-mini:hover .svc-go { opacity: 1; transform: translateX(3px); }
html[dir="rtl"] .svc-mini:hover .svc-go { transform: translateX(-3px); }
@media (max-width: 1000px) { .svc-mini-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-mini-grid { grid-template-columns: 1fr; gap: 10px; } .svc-mini { padding: 14px; grid-template-columns: 42px 1fr 22px; } .svc-ic { width: 42px; height: 42px; } }

/* Big blue / purple feature cards (same family as the practice cards) */
.band-card { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 24px; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(135deg, #1e40af 0%, #0d2460 55%, #050f2b 100%); box-shadow: 0 30px 60px rgba(8,24,64,.25); transition: transform .4s var(--ease), box-shadow .4s; }
.band-card.to-db { background: linear-gradient(135deg, #5b21b6 0%, #1d1856 55%, #0b0a2b 100%); box-shadow: 0 30px 60px rgba(76,29,149,.28);
  --blue-600: #7c3aed; --blue-500: #8b5cf6; --blue-400: #a78bfa; }
.band-card:hover { transform: translateY(-4px); box-shadow: 0 40px 70px rgba(8,24,64,.32); }
.band-art { position: relative; min-height: 300px; color: var(--blue-400); }
.band-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.band-curve { stroke-dasharray: 900; stroke-dashoffset: 900; }
.band-card.visible .band-curve { animation: draw 2.2s var(--ease) .2s forwards; }
.band-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.band-body .gate-tag { margin: 0; background: rgba(255,255,255,.12); color: #fff; }
.band-body h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.2; color: #fff; margin: 0; }
.band-body p { color: rgba(255,255,255,.8); line-height: 1.65; margin: 0; }
.band-body .btn { pointer-events: none; margin-top: 6px; }
.band-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.band-chip { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.band-sec .accent-mint { color: var(--mint-400) !important; }
@media (max-width: 860px) { .band-card { grid-template-columns: 1fr; } .band-art { min-height: 160px; } }

/* Leadership on the home page */
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.lead-card { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid rgba(8,24,64,.1); transition: box-shadow .3s, border-color .3s; }
section.light-alt .lead-card { background: #fff; }
.lead-card:hover { border-color: var(--blue-500); box-shadow: 0 20px 40px rgba(8,24,64,.08); }
.lead-photo { width: 150px; height: 150px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(8,24,64,.08); }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.lead-card:hover .lead-photo img { transform: scale(1.04); }
.lead-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.lead-body .team-name { margin: 0; font-size: 1.25rem; }
.lead-body .team-role { margin: 0; }
.lead-sum { font-size: .92rem; color: var(--text-muted); line-height: 1.6; margin: 6px 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lead-body .team-creds { margin: 4px 0 8px; }
.lead-btn { margin-top: auto; }
@media (max-width: 980px) { .lead-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lead-card { grid-template-columns: 1fr; padding: 20px; } .lead-photo { width: 110px; height: 110px; } }

/* Person page: one big card, then small cards */
.person-hero { padding-bottom: 80px; }
.person-card { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 26px;
  background: linear-gradient(135deg, #1e40af 0%, #0d2460 60%, #081840 100%); box-shadow: 0 40px 80px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); }
body[data-page-office="db"] .person-card { background: linear-gradient(135deg, #5b21b6 0%, #1d1856 60%, #120f3d 100%); }
.person-photo { width: 260px; height: 260px; border-radius: 22px; overflow: hidden; background: #fff; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.person-info .gate-tag { margin: 0; background: rgba(255,255,255,.14); color: #fff; }
.person-info h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0; color: #fff; }
.person-role { font-weight: 600; color: var(--blue-400); }
body[data-page-office="db"] .person-role { color: #c4b5fd; }
.person-info p { color: rgba(255,255,255,.82); line-height: 1.7; margin: 0; }
.person-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.person-cred { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.person-cred svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .person-card { grid-template-columns: 1fr; gap: 22px; } .person-photo { width: 160px; height: 160px; } }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.p-card { position: relative; padding: 26px 24px 24px; border-radius: 18px; background: #fff; border: 1px solid rgba(8,24,64,.1); transition: border-color .3s, box-shadow .3s; }
.p-card:hover { border-color: var(--blue-500); box-shadow: 0 16px 34px rgba(8,24,64,.07); }
.p-card p { margin: 0; color: var(--text-muted); line-height: 1.7; font-size: .94rem; }
.p-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; font-weight: 800; font-size: .85rem; background: var(--blue-100); color: var(--blue-600); }
.p-edu { background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: #fff; border: 0; }
.p-card-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.p-edu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.p-edu li { padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.12); font-weight: 600; font-size: .92rem; }
.next-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.next-card { display: grid; grid-template-columns: 72px 1fr 24px; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(8,24,64,.1); transition: border-color .25s, transform .25s; }
.next-card:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.next-card img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.next-card .svc-ic { width: 72px; height: 72px; border-radius: 14px; }
.next-card > span { display: grid; gap: 2px; }
.next-lbl { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); }
html[dir="rtl"] .next-lbl { letter-spacing: 0; }
.next-name { font-weight: 700; font-size: 1.05rem; color: var(--text-dark); }
.next-role { font-size: .84rem; color: var(--text-muted); }
.next-card > svg { color: var(--blue-600); }
.next-cta { background: var(--navy-900); border-color: transparent; }
.next-cta .next-name { color: #fff; } .next-cta .next-lbl { color: var(--blue-400); } .next-cta > svg { color: #fff; }
@media (max-width: 760px) { .next-row { grid-template-columns: 1fr; } }

/* Other practice band on white */
.other-sec { background: #fff; }

/* Practice chooser: the big cards */
.chooser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.chooser-grid .gate-option { border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(0,0,0,.35);
  background: linear-gradient(160deg, #1e40af 0%, #0d2460 60%, #050f2b 100%); transition: transform .4s var(--ease), box-shadow .4s; }
.chooser-grid .gate-option.dubai { background: linear-gradient(160deg, #5b21b6 0%, #1d1856 60%, #0b0a2b 100%); }
.chooser-grid .gate-option:hover { transform: translateY(-6px); box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.chooser-grid .gate-skyline { height: 180px; background: none; }
.chooser-grid .gate-body { padding: 8px 32px 32px; }
.chooser-grid .gate-tag { background: rgba(255,255,255,.12); color: #fff; }
.chooser-grid .gate-skyline svg * { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) .3s forwards; }
@media (max-width: 860px) { .chooser-grid { grid-template-columns: 1fr; } .chooser-grid .gate-skyline { height: 130px; } .chooser-grid .gate-body { padding: 4px 22px 24px; } }
section#impact:not(.light-alt):not(.dark) { background: #fff; }
section:not(.dark):not(.dark-alt) .partner-banner { background: var(--bg-alt); border-color: rgba(8,24,64,.1); margin: 0 0 2.2rem; }
section:not(.dark):not(.dark-alt) .partner-banner p { color: var(--text-dark); }
/* Phones: keep the first screen light — the glance card shows from tablet up */
@media (max-width: 760px) { body:not([data-gate]) #home .hero-card { display: none; } #home .hero-grid { gap: 0; } }
.feature-card.flash { animation: flashRing 1.6s var(--ease); }
@keyframes flashRing { 0%, 60% { box-shadow: 0 0 0 4px rgba(59,130,246,.35); border-color: var(--blue-500); } 100% { box-shadow: none; } }
.feature-card[id^="svc-"] { scroll-margin-top: 100px; }

/* ===== v6 ===== */
/* No sliding while scrolling: content simply fades in where it is */
.reveal, .reveal.visible { transform: none !important; }
.reveal { transition: opacity .45s ease !important; transition-delay: 0s !important; }
html { scroll-behavior: auto; }

/* WhatsApp back in its own green */
.wa-float { background: #25d366 !important; box-shadow: 0 10px 24px rgba(37,211,102,.4) !important; }

/* Inner pages start simply: path, title, one line */
.page-top { padding: calc(var(--header-h) + 44px) 0 44px; background: #fff; border-bottom: 1px solid rgba(8,24,64,.08); }
.page-top .crumbs { color: var(--text-muted); margin-bottom: 18px; }
.page-top .crumbs a { color: var(--text-dark); font-weight: 600; }
.page-top .crumbs a:hover { color: var(--blue-600); text-decoration: none; }
.page-top .crumbs svg { opacity: .45; }
.page-top-text { max-width: 820px; padding-inline-start: 20px; border-inline-start: 4px solid var(--blue-600); }
.page-top-text .eyebrow { color: var(--blue-600); }
.page-top-text h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 6px 0 10px; color: var(--text-dark); }
.page-top-text .lede { margin: 0; color: var(--text-muted); font-size: 1.05rem; }
.page-top.person-top { background: var(--bg-alt); border-bottom: 0; padding-bottom: 64px; }
@media (max-width: 760px) { .page-top { padding: calc(var(--header-h) + 26px) 0 30px; } .page-top-text { padding-inline-start: 14px; } }

/* Contact strip at the end of inner pages */
#talk { padding: 56px 0; }
.talk-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 30px; border-radius: 18px; background: #fff; border: 1px solid rgba(8,24,64,.1); }
.talk-text { display: flex; align-items: center; gap: 16px; }
.talk-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); flex: 0 0 auto; }
.talk-ic svg { width: 24px; height: 24px; }
.talk-text h2 { font-size: 1.3rem; margin: 0 0 2px; }
.talk-text p { margin: 0; color: var(--text-muted); }
.talk-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.talk-btn { display: inline-flex; align-items: center; gap: 8px; padding: .8rem 1.1rem; border-radius: 12px; font-weight: 600; border: 1px solid rgba(8,24,64,.16); color: var(--text-dark); background: #fff; transition: border-color .2s, color .2s; }
.talk-btn:hover { border-color: var(--blue-600); color: var(--blue-600); }
.talk-btn.wa svg { color: #25d366; }
.talk-btn svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .talk-strip { padding: 20px; } .talk-actions { width: 100%; } .talk-actions .btn { flex: 1 1 100%; justify-content: center; } .talk-btn { flex: 1; justify-content: center; } }

/* Home: founder quote as its own short section */
#founder { padding: 72px 0; }
#founder .quote-block { max-width: 980px; margin: 0 auto; }
.other-sec.light-alt { background: var(--bg-alt); }
section#home.page-top { min-height: auto; display: block; background: #fff; color: var(--text-dark); padding: calc(var(--header-h) + 44px) 0 44px; }
body[data-page-office="db"] section#home.page-top { background: #fff; }
section#home.page-top.person-top, body[data-page-office="db"] section#home.page-top.person-top { background: var(--bg-alt); padding-bottom: 64px; }
@media (max-width: 760px) { section#home.page-top { padding: calc(var(--header-h) + 26px) 0 30px; } }
.page-top .person-card .person-info p, .page-top .person-card h1 { color: #fff; }

/* Legal details in the footer */
.footer-legal { padding-top: 1.6rem; border-top: 1px solid var(--border-dark); margin-bottom: .6rem; }
.fl-name { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; font-weight: 700; font-size: .86rem; color: rgba(255,255,255,.85); letter-spacing: .02em; }
.fl-ar { font-family: 'Tajawal', 'DejaVu Sans', sans-serif; letter-spacing: 0; }
.fl-sep { opacity: .4; }
.footer-ids { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 1.4rem; }
.footer-ids span { white-space: normal; }
.footer-legal + .footer-ids + .footer-bottom { border-top: 0; padding-top: 0; }
