/* ============================================================
   AASTD — Arab Association for Training & Development
   Master stylesheet: themes (light/dark), RTL, responsive
   Brand: Blue #003153 / Secondary #3667BD / Orange #FF6600
   ============================================================ */

/* ---------- CSS Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea { font: inherit; }

/* ---------- Theme Tokens ---------- */
:root {
  /* Brand */
  --blue: #003153;
  --blue-solid: #003153; /* always-dark navy used for solid backgrounds w/ white text (buttons, banners) */
  --blue-600: #0a4a7a;
  --blue-2: #3667BD;
  --blue-tint: #EBF1FA;
  --orange: #FF6600;
  --orange-500: #f97316;

  /* Light theme surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --border: #e7ecf3;
  --border-strong: #d6deea;
  --text: #0f1b2d;
  --text-soft: #475569;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 2px rgba(2,12,27,.06), 0 1px 3px rgba(2,12,27,.08);
  --shadow-md: 0 6px 16px -4px rgba(2,12,27,.12), 0 4px 8px -4px rgba(2,12,27,.08);
  --shadow-lg: 0 20px 40px -12px rgba(2,12,27,.22), 0 8px 16px -8px rgba(2,12,27,.12);
  --shadow-blue: 0 12px 28px -8px rgba(0,49,83,.35);

  /* Type */
  --font: 'Inter', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ar: 'Tajawal', 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 76px;
  --transition: .28s cubic-bezier(.4,0,.2,1);
}

[data-theme="dark"] {
  --bg: #0b1622;
  --bg-soft: #0f1d2c;
  --bg-alt: #13243a;
  --surface: #13243a;
  --border: #1f3550;
  --border-strong: #2a4768;
  --text: #eaf1f8;
  --text-soft: #c4d2e4;
  --text-muted: #93a8c4;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 16px -4px rgba(0,0,0,.5);
  --shadow-lg: 0 20px 40px -12px rgba(0,0,0,.6);
  --shadow-blue: 0 12px 28px -8px rgba(0,0,0,.6);
  --blue-tint: #182f4a;
  /* Brighten brand blue for dark backgrounds so text/headings stay readable */
  --blue: #5b9bd5;
  --blue-600: #7db4e6;
  --blue-2: #6fa8dc;
  /* --blue-solid stays #003153 (defined in :root) for solid backgrounds */
}

/* ---------- Body ---------- */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); }

/* Sticky footer: main grows, footer pinned */
.site-main { flex: 1 0 auto; width: 100%; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container-wide { max-width: 1360px; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-sm { padding-block: clamp(2rem, 5vw, 4rem); }
.text-center { text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-3,.grid-4{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns: 1fr;} }

@media (max-width: 768px) {
  .grid.grid-3 { grid-template-columns: 1fr !important; }
  .grid.grid-3 > .card { grid-column: auto !important; }
}

/* ---------- Strategic Goals (About page) - responsive fix ---------- */
.strategic-goals { align-items: stretch; }
.strategic-goals > .card { width: 100%; min-width: 0; }
.strategic-goals__wide { grid-column: span 2 !important; }
@media (max-width: 768px) {
  .strategic-goals { grid-template-columns: 1fr !important; }
  .strategic-goals__wide { grid-column: auto !important; }
}

/* ---------- Typography ---------- */
h1,h2,h3,h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.h-display { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.05; }
.h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); }
.h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.h4 { font-size: 1.15rem; }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }
[data-theme="dark"] .text-blue { color: #6fa8dc; }
.text-soft { color: var(--text-soft); }
.text-muted { color: var(--text-muted); }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 800; color: var(--orange); }

/* ---------- Section heading with accent bar ---------- */
.section-head { margin-bottom: clamp(1.5rem, 4vw, 3rem); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .bar { width: 56px; height: 5px; border-radius: 999px; background: var(--orange); margin-bottom: 1rem; }
.section-head.center .bar { margin-inline: auto; }
.section-head.is-blue .bar { background: var(--blue); }
.title-accent { display: inline-flex; align-items: baseline; gap: .25rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition); border: 1.5px solid transparent; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--blue-solid); color: #fff; }
.btn-primary:hover { background: var(--blue-600); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #ff7d2b; box-shadow: 0 12px 28px -8px rgba(255,102,0,.5); transform: translateY(-2px); }
.btn-outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
[data-theme="dark"] .btn-outline:hover { color: #6fa8dc; border-color: #6fa8dc; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost-light:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px -4px rgba(0,0,0,.1); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; color: var(--blue); }
[data-theme="dark"] .brand { color: var(--text); }
.brand .logo-svg { height: 44px; width: auto; }
.brand .logo-img { height: 46px; width: auto; object-fit: contain; }

/* ---------- Primary nav (modern pill style) ---------- */
.nav { display: flex; align-items: center; gap: .2rem; margin-inline: auto; }
.nav li { position: relative; }
.nav li > a {
  position: relative;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.05rem; border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: var(--text-soft);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
/* Animated gradient underline (always visible thin line, thickens on hover) */
.nav li > a::before {
  content: ""; position: absolute; left: 50%; bottom: 5px;
  width: 4px; height: 3px; border-radius: 2px;
  background: var(--orange);
  transform: translateX(-50%);
  transition: width .35s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  opacity: .4;
}
.nav li > a:hover, .nav li > a.is-active {
  color: var(--blue);
  background: var(--blue-tint);
  border-color: var(--blue-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px -3px rgba(0,49,83,.2);
}
[data-theme="dark"] .nav li > a:hover, [data-theme="dark"] .nav li > a.is-active { color: #9cc4ee; }
.nav li > a:hover::before, .nav li > a.is-active::before { width: 65%; opacity: 1; }
.nav .chev { width: 14px; height: 14px; transition: transform .3s ease; opacity: .7; }
.has-dropdown:hover .chev, .has-dropdown.open .chev { transform: rotate(180deg); opacity: 1; }

/* ---------- Dropdown panel ---------- */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); inset-inline-start: 50%;
  transform: translateX(-50%) translateY(-6px) scale(.95);
  transform-origin: top center;
  min-width: 300px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.25), 0 8px 16px -8px rgba(0,0,0,.12);
  padding: .65rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .35s cubic-bezier(.4,0,.2,1), visibility .3s;
  display: grid; gap: .2rem;
}
/* Arrow pointer on top of dropdown */
.dropdown::before {
  content: ""; position: absolute; top: -7px; inset-inline-start: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: var(--surface);
  border-inline-start: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 3px 0 0 0;
}
/* Invisible hover bridge: covers the 14px gap between button and dropdown
   so moving the mouse down doesn't trigger mouseleave / close the menu */
.dropdown::after {
  content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px;
  z-index: -1;
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown a {
  display: flex; gap: .75rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 12px;
  color: var(--text-soft); font-weight: 600; font-size: .9rem;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.dropdown a:hover { background: var(--blue-tint); color: var(--blue); transform: translateX(4px); }
html[dir="rtl"] .dropdown a:hover { transform: translateX(-4px); }
[data-theme="dark"] .dropdown a:hover { color: #9cc4ee; }
.dropdown .ico { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 1px; transition: transform .3s ease; }
.dropdown a:hover .ico { transform: scale(1.2) rotate(-6deg); }
.dropdown .d-title { font-weight: 700; color: var(--text); line-height: 1.3; }
.dropdown .d-sub { font-size: .76rem; color: var(--text-muted); font-weight: 500; line-height: 1.3; }

/* Mega dropdown for academies - centered, wide enough for 2 columns */
.dropdown.mega {
  inset-inline-start: 50%;
  inset-inline-end: auto;
  left: 50%;
  right: auto;
  width: max-content;
  min-width: 640px;
  max-width: min(760px, 92vw);
  grid-template-columns: repeat(2, 1fr); gap: .3rem;
  transform: translateX(-50%) translateY(-6px) scale(.95);
  padding: .8rem;
}
.has-dropdown:hover .dropdown.mega, .has-dropdown.open .dropdown.mega {
  transform: translateX(-50%) translateY(0) scale(1);
}
/* On narrow viewports, prevent the mega menu from overflowing the left edge */
@media (max-width: 720px) {
  .dropdown.mega { min-width: 280px; width: 90vw; grid-template-columns: 1fr; }
}
/* In RTL, the translateX(-50%) still centers correctly (percentage is relative to element width, direction-agnostic) */

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-soft); border: 1px solid var(--border); background: var(--surface);
  transition: all var(--transition);
}
.icon-btn:hover { color: var(--blue); border-color: var(--blue); transform: translateY(-1px); }
[data-theme="dark"] .icon-btn:hover { color: #9cc4ee; border-color: #6fa8dc; }
.icon-btn .ico { width: 20px; height: 20px; }
.lang-toggle { font-weight: 800; font-size: .8rem; letter-spacing: .04em; width: auto; padding-inline: .7rem; gap: .35rem; }
.lang-toggle .ico { width: 16px; height: 16px; }

/* Mobile menu toggle */
.menu-toggle { display: none; }
@media (max-width: 980px) {
  .nav { display: none; }
  .header-inner { gap: .5rem; }
  .brand .logo-svg { height: 38px; }
}

/* ---------- Mobile drawer nav ---------- */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); z-index: 200;
  background: var(--surface); border-inline-start: 1px solid var(--border);
  box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform var(--transition);
  display: flex; flex-direction: column; overflow-y: auto;
}
html[dir="rtl"] .mobile-nav { inset: 0 auto 0 0; border-inline-start: none; border-inline-end: 1px solid var(--border); transform: translateX(-100%); }
.mobile-nav.open { transform: translateX(0) !important; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.mobile-nav-body { padding: 1rem; flex: 1; }
.mobile-nav-body details { border-radius: 12px; overflow: hidden; }
.mobile-nav-body summary { list-style: none; cursor: pointer; padding: .85rem 1rem; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; align-items: center; border-radius: 12px; }
.mobile-nav-body summary::-webkit-details-marker { display: none; }
.mobile-nav-body summary:hover { background: var(--bg-soft); }
.mobile-nav-body details[open] summary { color: var(--blue); }
[data-theme="dark"] .mobile-nav-body details[open] summary { color: #9cc4ee; }
.mobile-nav-body summary .chev { transition: transform var(--transition); width: 18px; height: 18px; }
.mobile-nav-body details[open] summary .chev { transform: rotate(180deg); }
.mobile-nav-body details .sub a { display: block; padding: .6rem 1rem .6rem 2.25rem; color: var(--text-soft); font-weight: 600; font-size: .92rem; border-radius: 10px; }
html[dir="rtl"] .mobile-nav-body details .sub a { padding-inline: 2.25rem 1rem; }
.mobile-nav-body details .sub a:hover { background: var(--blue-tint); color: var(--blue); }
.mobile-nav-body > a { display: block; padding: .85rem 1rem; font-weight: 700; color: var(--text); border-radius: 12px; }
.mobile-nav-body > a:hover { background: var(--bg-soft); }
.mobile-nav-foot { padding: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .75rem; }

.backdrop { position: fixed; inset: 0; background: rgba(2,12,27,.5); z-index: 150; opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition); }
.backdrop.show { opacity: 1; visibility: visible; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-2); }
[data-theme="dark"] .card-hover:hover { border-color: var(--blue-2); }
.card-soft { background: var(--bg-soft); border-color: var(--border); }

.icon-box {
  width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-tint); color: var(--blue); flex-shrink: 0; transition: all var(--transition);
}
[data-theme="dark"] .icon-box { color: #9cc4ee; }
.icon-box .ico { width: 26px; height: 26px; }
.icon-box.orange { background: rgba(255,102,0,.12); color: var(--orange); }
.card-hover:hover .icon-box { background: var(--blue); color: #fff; transform: scale(1.08); }
.card-hover:hover .icon-box.orange { background: var(--orange); color: #fff; }

/* Feature/icon list card */
.feature-card { display: flex; flex-direction: column; gap: .85rem; }
.feature-card h4 { color: var(--text); }
.feature-card p { color: var(--text-soft); font-size: .94rem; }

/* Pill / badge */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--blue-tint); color: var(--blue); }
[data-theme="dark"] .pill { color: #9cc4ee; }
.pill.orange { background: rgba(255,102,0,.12); color: var(--orange); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0; }
.hero .blob.b1 { width: 520px; height: 520px; background: var(--blue-solid); top: -180px; inset-inline-end: -120px; opacity: .08; }
.hero .blob.b2 { width: 360px; height: 360px; background: var(--orange); bottom: -140px; inset-inline-start: -100px; opacity: .1; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; } }
.hero-visual { position: relative; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
.hero-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; text-align: center; box-shadow: var(--shadow-sm); }
.hero-stat .num { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: var(--blue); line-height: 1; }
[data-theme="dark"] .hero-stat .num { color: #6fa8dc; }
.hero-stat .lbl { font-size: .8rem; color: var(--text-muted); font-weight: 600; margin-top: .35rem; }

/* Mobile: tighten stats so all 3 cards fit within 360px without overflow */
@media (max-width: 420px) {
  .hero-stats { gap: .5rem; }
  .hero-stat { padding: .65rem .4rem; }
  .hero-stat .num { font-size: 1.35rem; }
  .hero-stat .lbl { font-size: .68rem; line-height: 1.25; }
}
/* Prevent any hero text from causing horizontal overflow on small screens */
.hero .h-display, .hero .lead { overflow-wrap: break-word; word-break: break-word; }

/* ---------- Banner (page header) ---------- */
.page-banner { position: relative; overflow: hidden; padding-block: clamp(2.5rem,6vw,4.5rem); background: linear-gradient(135deg, var(--blue-solid) 0%, #0a4a7a 60%, var(--blue-2) 100%); color: #fff; }
.page-banner .blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.page-banner .blob.b1 { width: 380px; height: 380px; background: var(--orange); top: -120px; inset-inline-end: -80px; opacity: .25; }
.page-banner .blob.b2 { width: 300px; height: 300px; background: var(--blue-2); bottom: -140px; inset-inline-start: -60px; opacity: .4; }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; }
.page-banner p { color: rgba(255,255,255,.85); }
.page-banner .bar { background: var(--orange); }
.breadcrumb-trail { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 1rem; font-weight: 600; }
.breadcrumb-trail a:hover { color: #fff; }
.breadcrumb-trail .sep { opacity: .5; }

/* ---------- Focus areas grid (about) ---------- */
.focus-card { display: flex; gap: .85rem; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; transition: all var(--transition); }
.focus-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.focus-card .ico { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.focus-card h4 { font-size: .9rem; font-weight: 800; color: var(--blue); margin-bottom: .2rem; }
[data-theme="dark"] .focus-card h4 { color: #9cc4ee; }
.focus-card p { font-size: .8rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- VMV (Vision Mission Values) ---------- */
.vmv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 900px){ .vmv-grid { grid-template-columns: 1fr; } }
.vmv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: all var(--transition); }
.vmv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-2); }
.vmv-card .ico-wrap { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.vmv-card .ico-wrap .ico { width: 28px; height: 28px; }
.vmv-card.vision .ico-wrap { background: rgba(255,102,0,.12); color: var(--orange); }
.vmv-card.mission .ico-wrap { background: var(--blue-tint); color: var(--blue); }
[data-theme="dark"] .vmv-card.mission .ico-wrap { color: #9cc4ee; }
.vmv-card.values .ico-wrap { background: rgba(22,163,74,.12); color: #16a34a; }
.vmv-card h3 { margin-bottom: .65rem; }
.vmv-card p { color: var(--text-soft); font-size: .95rem; }
.value-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
.value-chips span { font-size: .78rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-soft); }

/* ---------- 5-step framework ---------- */
.framework { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; position: relative; }
@media (max-width: 900px){ .framework { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .framework { grid-template-columns: 1fr; } }
.framework-step { background: var(--blue-solid); color: #fff; border-radius: var(--radius-lg); padding: 1.5rem; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.08); transition: all var(--transition); min-height: 210px; display: flex; flex-direction: column; }
.framework-step:hover { transform: translateY(-8px); border-color: var(--orange); box-shadow: var(--shadow-lg); }
.framework-step .step-num { position: absolute; top: .75rem; inset-inline-end: 1rem; font-size: 3.2rem; font-weight: 900; color: rgba(255,102,0,.22); line-height: 1; }
.framework-step:hover .step-num { color: rgba(255,102,0,.12); }
.framework-step .step-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: all var(--transition); }
.framework-step:hover .step-ico { background: var(--orange); border-color: var(--orange); }
.framework-step .step-ico .ico { width: 24px; height: 24px; }
.framework-step h3 { color: #fff; margin-bottom: .5rem; font-size: 1.25rem; }
.framework-step:hover h3 { color: var(--orange); }
.framework-step p { color: #cbd5e1; font-size: .88rem; line-height: 1.5; }

/* ---------- Empowerment roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; position: relative; }
@media (max-width: 900px){ .roadmap { grid-template-columns: 1fr; } }
.roadmap::before { content: ""; position: absolute; top: 32px; inset-inline: 0; height: 3px; background: repeating-linear-gradient(to right, var(--blue-2) 0 10px, transparent 10px 20px); z-index: 0; }
@media (max-width: 900px){ .roadmap::before { top: 0; bottom: 0; inset-inline-start: 32px; inset-inline-end: auto; width: 3px; height: auto; background: repeating-linear-gradient(to bottom, var(--blue-2) 0 10px, transparent 10px 20px);} }
.roadmap-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.roadmap-node .node-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-solid); color: #fff; border: 4px solid var(--bg); box-shadow: var(--shadow-md); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.4rem; flex-shrink: 0; transition: background var(--transition); }
.roadmap-node:nth-child(even) .node-circle { background: var(--blue-2); }
.roadmap-node:hover .node-circle { background: var(--orange); }
.roadmap-node .node-card { margin-top: 1rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; flex: 1; transition: all var(--transition); }
.roadmap-node:hover .node-card { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.roadmap-node h3 { color: var(--blue); margin-bottom: .5rem; font-size: 1.1rem; }
[data-theme="dark"] .roadmap-node h3 { color: #9cc4ee; }
.roadmap-node p { color: var(--text-soft); font-size: .85rem; line-height: 1.5; }

/* ---------- Academies grid ---------- */
.academy-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition); cursor: pointer; }
.academy-card:hover { border-color: var(--blue); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.academy-card .icon-box { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 1.1rem; }
.academy-card .icon-box .ico { width: 32px; height: 32px; }
.academy-card:hover .icon-box { background: var(--blue); color: #fff; }
[data-theme="dark"] .academy-card:hover .icon-box { color: #fff; }
.academy-card h3 { color: var(--blue); margin-bottom: .35rem; font-size: 1.2rem; }
[data-theme="dark"] .academy-card h3 { color: #9cc4ee; }
.academy-card .subtitle { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); }
.academy-card .intro { color: var(--text-muted); font-size: .88rem; margin-top: .85rem; line-height: 1.5; }
.academy-card .more { margin-top: 1rem; font-weight: 700; font-size: .85rem; color: var(--blue); display: inline-flex; align-items: center; gap: .35rem; }
[data-theme="dark"] .academy-card .more { color: #9cc4ee; }
.academy-card .more .ico { width: 15px; height: 15px; transition: transform var(--transition); }
.academy-card:hover .more .ico { transform: translateX(4px); }
html[dir="rtl"] .academy-card:hover .more .ico { transform: translateX(-4px); }

/* ---------- Academy detail ---------- */
.academy-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 900px){ .academy-hero { grid-template-columns: 1fr; } }
.academy-hero .big-icon { width: 130px; height: 130px; border-radius: 32px; background: var(--blue-solid); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.academy-hero .big-icon .ico { width: 64px; height: 64px; }
.philosophy-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.philosophy-chips span { padding: .45rem 1rem; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-weight: 700; font-size: .85rem; }
[data-theme="dark"] .philosophy-chips span { color: #9cc4ee; }
.track-item { display: flex; gap: 1rem; padding: 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.track-item:hover { border-color: var(--blue-2); transform: translateX(4px); box-shadow: var(--shadow-md); }
html[dir="rtl"] .track-item:hover { transform: translateX(-4px); }
.track-num { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; transition: all var(--transition); }
[data-theme="dark"] .track-num { color: #9cc4ee; }
.track-item:hover .track-num { background: var(--blue); color: #fff; }
.track-item h4 { font-size: .98rem; margin-bottom: .2rem; }
.track-item p { font-size: .85rem; color: var(--text-muted); line-height: 1.45; }

/* ---------- Regional reach (country cards, no map) ---------- */
.reach-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.reach-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.reach-legend { display: flex; flex-wrap: wrap; gap: .6rem; }
.legend-chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-soft); }
.legend-chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.legend-chip .dot.banking { background: var(--orange); }
.legend-chip .dot.regulatory { background: #16a34a; }
.legend-chip .dot.corporate { background: var(--blue-2); }
.legend-chip .dot.government { background: #8b5cf6; }

/* Country cards grid */
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px){ .country-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .country-grid { grid-template-columns: 1fr; } }

.country-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 18px;
  overflow: hidden; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.country-card:hover { border-color: var(--blue-2); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.country-card.is-open { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.country-card .cc-head {
  display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.25rem; cursor: pointer;
  background: transparent; border: none; width: 100%; text-align: start; color: inherit; font: inherit;
}
.country-card .flag {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; background: var(--blue-tint); overflow: hidden;
}
.country-card .cc-info { flex: 1; min-width: 0; }
.country-card .cc-name { font-weight: 800; font-size: 1rem; color: var(--text); line-height: 1.2; }
.country-card .cc-meta { font-size: .78rem; color: var(--text-muted); font-weight: 600; margin-top: .15rem; }
.country-card .cc-chevron { width: 20px; height: 20px; color: var(--text-muted); transition: transform .3s ease; flex-shrink: 0; }
.country-card.is-open .cc-chevron { transform: rotate(180deg); color: var(--orange); }

/* Expandable client list inside card */
.country-card .cc-body {
  max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.country-card.is-open .cc-body { max-height: 600px; }
.country-card .cc-body-inner { padding: 0 1.25rem 1.1rem; display: grid; gap: .5rem; }
.cc-client { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; font-size: .85rem; font-weight: 600; color: var(--text-soft); transition: all var(--transition); }
.cc-client:hover { background: var(--surface); border-color: var(--blue-2); transform: translateX(3px); }
html[dir="rtl"] .cc-client:hover { transform: translateX(-3px); }
.cc-client .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cc-client .dot.banking { background: var(--orange); }
.cc-client .dot.regulatory { background: #16a34a; }
.cc-client .dot.corporate { background: var(--blue-2); }
.cc-client .dot.government { background: #8b5cf6; }
.cc-client .name { flex: 1; min-width: 0; }
.cc-client .type-badge { font-size: .65rem; font-weight: 800; padding: .15rem .5rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; flex-shrink: 0; }
.cc-client .type-badge.banking { background: rgba(255,102,0,.12); color: var(--orange); }
.cc-client .type-badge.regulatory { background: rgba(22,163,74,.12); color: #16a34a; }
.cc-client .type-badge.corporate { background: var(--blue-tint); color: var(--blue); }
.cc-client .type-badge.government { background: rgba(139,92,246,.12); color: #8b5cf6; }
[data-theme="dark"] .cc-client .type-badge.corporate { color: #9cc4ee; }

.client-type { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; margin-top: .35rem; }
.client-type.banking { background: rgba(255,102,0,.12); color: var(--orange); }
.client-type.regulatory { background: rgba(22,163,74,.12); color: #16a34a; }
.client-type.corporate { background: var(--blue-tint); color: var(--blue); }
.client-type.government { background: rgba(139,92,246,.12); color: #8b5cf6; }
[data-theme="dark"] .client-type.corporate { color: #9cc4ee; }

/* ---------- Partners ---------- */
.partner-col h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; color: var(--blue); }
[data-theme="dark"] .partner-col h3 { color: #9cc4ee; }
.partner-col h3 .ico-wrap { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
[data-theme="dark"] .partner-col h3 .ico-wrap { color: #9cc4ee; }
.partner-col h3 .ico-wrap .ico { width: 22px; height: 22px; }
.partner-item { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; transition: all var(--transition); font-weight: 600; font-size: .9rem; }
.partner-item:hover { background: var(--surface); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.partner-item .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.partner-item .dot.orange { background: var(--orange); }
.partner-item .dot.blue { background: var(--blue-2); }
.partner-item .dot.green { background: #16a34a; }
.partner-item .dot.purple { background: #8b5cf6; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 980px){ .team-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 440px){ .team-grid { grid-template-columns: 1fr; } }
.ceo-card { background: var(--surface); border: 3px solid var(--blue); border-radius: var(--radius-xl); padding: 2rem; text-align: center; box-shadow: var(--shadow-lg); max-width: 340px; margin-inline: auto; }
.ceo-card .photo { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid var(--blue-tint); background: var(--bg-soft); }
[data-theme="dark"] .ceo-card .photo { border-color: #1f3550; }
.ceo-card .photo-placeholder { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 1rem; border: 4px solid var(--blue-tint); background: var(--blue-solid); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; font-weight: 800; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-2); }
.team-card .photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto .9rem; border: 3px solid var(--blue-tint); background: var(--bg-soft); }
[data-theme="dark"] .team-card .photo { border-color: #1f3550; }
.team-card .photo-placeholder { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto .9rem; border: 3px solid var(--blue-tint); background: var(--blue-2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; }
.team-card h4 { font-size: 1rem; }
.team-card .role { font-size: .82rem; color: var(--text-muted); margin-top: .25rem; line-height: 1.4; }
.ceo-card .role { color: var(--blue); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-top: .4rem; }
[data-theme="dark"] .ceo-card .role { color: #9cc4ee; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 800px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: all var(--transition); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.contact-card .ico-wrap { width: 64px; height: 64px; border-radius: 18px; background: var(--blue-tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: all var(--transition); }
[data-theme="dark"] .contact-card .ico-wrap { color: #9cc4ee; }
.contact-card:hover .ico-wrap { background: var(--orange); color: #fff; }
.contact-card .ico-wrap .ico { width: 30px; height: 30px; }
.contact-card h3 { margin-bottom: .5rem; }
.contact-card a, .contact-card .val { font-size: 1.05rem; font-weight: 700; color: var(--text); word-break: break-word; }
.contact-card a:hover { color: var(--orange); }
.contact-card .sub { font-size: .85rem; color: var(--text-muted); margin-top: .35rem; }

.social-grid { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.social-card { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); min-width: 220px; }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-2); }
.social-card .ico-wrap { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.social-card .ico-wrap .ico { width: 22px; height: 22px; color: #fff; display: inline-flex; }
.social-card .ico-wrap .ico svg { width: 100%; height: 100%; fill: currentColor; }
.social-card.fb .ico-wrap { background: #1877f2; }
.social-card.ig .ico-wrap { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-card.li .ico-wrap { background: #0a66c2; }
.social-card .label { font-weight: 700; }
.social-card .handle { font-size: .8rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-solid) 0%, #0a4a7a 100%); color: #fff; border-radius: var(--radius-xl); padding: clamp(2rem,5vw,3.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band .blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cta-band .blob.b1 { width: 280px; height: 280px; background: var(--orange); top: -100px; inset-inline-end: -60px; opacity: .3; }
.cta-band h2 { color: #fff; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.85); position: relative; z-index: 1; max-width: 600px; margin: 1rem auto 0; }
.cta-band .btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; position: relative; z-index: 1; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
@media (max-width: 700px){ .stats-band { grid-template-columns: repeat(2,1fr); } }
.stat-box { text-align: center; padding: 1.5rem; }
.stat-box .num { font-size: clamp(2rem,5vw,3rem); font-weight: 900; color: var(--orange); line-height: 1; }
.stat-box .lbl { color: var(--text-soft); font-weight: 600; margin-top: .5rem; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-solid); color: #e6eef6; margin-top: auto; }
.site-footer .footer-top { padding-block: clamp(2.5rem,5vw,4rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand .logo-svg { height: 48px; }
.site-footer .footer-about p { color: #b6c4d6; font-size: .9rem; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.site-footer .footer-links a { display: block; color: #b6c4d6; padding: .35rem 0; font-size: .92rem; transition: color var(--transition); }
.site-footer .footer-links a:hover { color: var(--orange); }
.footer-contact .item { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .9rem; color: #b6c4d6; font-size: .9rem; }
.footer-contact .item .ico { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; transition: all var(--transition); color: #fff; }
.footer-social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-social .ico { width: 18px; height: 18px; color: #fff; display: inline-flex; }
.footer-social .ico svg { width: 100%; height: 100%; fill: currentColor; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.25rem; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #9fb3c9; }
.footer-bottom-inner a { color: #cdd9e8; }
.footer-bottom-inner a:hover { color: var(--orange); }
.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mt-6{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.5rem}.gap-2{gap:1rem}.gap-3{gap:1.5rem}
.wrap{flex-wrap:wrap}
.full{width:100%}
.relative{position:relative}.hidden{display:none}
.text-sm{font-size:.88rem}.text-xs{font-size:.78rem}.text-lg{font-size:1.1rem}
.fw-700{font-weight:700}.fw-800{font-weight:800}
.bg-soft{background:var(--bg-soft)}
.rounded{border-radius:var(--radius)}
.hide-mobile{}
@media (max-width:560px){ .hide-mobile{display:none} }

/* reveal on scroll (progressive enhancement: hidden only when JS active) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* skip link for accessibility */
.skip-link { position: absolute; inset-inline-start: -999px; top: 0; z-index: 999; background: var(--blue-solid); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { inset-inline-start: 0; }

/* focus visibility for a11y */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--blue-solid); border-radius: 10px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-600); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* ---------- Floating action buttons (WhatsApp + Back-to-top) ---------- */
.fab-wrap {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  pointer-events: none; /* container doesn't block clicks; children re-enable */
}
.fab {
  pointer-events: auto;
  position: relative;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px -4px rgba(0,0,0,.3);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, background .3s ease, opacity .3s ease, visibility .3s ease;
  cursor: pointer;
  border: none;
  color: #fff;
}
.fab svg { width: 28px; height: 28px; }
/* WhatsApp - official green, always visible, subtle pulse to draw attention */
.fab-whatsapp { background: #25D366; }
.fab-whatsapp:hover { background: #1ebe5a; transform: scale(1.08); box-shadow: 0 8px 26px -4px rgba(37,211,102,.5); }
.fab-whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: .5; z-index: -1;
  animation: fab-pulse 2.5s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: .5; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
/* back-to-top - hidden by default, appears after 20% scroll, orange on hover */
.fab-top {
  background: var(--blue-solid);
  opacity: 0; visibility: hidden; transform: translateY(20px);
}
.fab-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { background: var(--orange); transform: translateY(-3px); box-shadow: 0 8px 26px -4px rgba(255,102,0,.5); }
.fab-top svg { width: 24px; height: 24px; }
/* mobile sizing */
@media (max-width: 560px) {
  .fab-wrap { inset-inline-end: 1rem; bottom: 1rem; }
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 24px; height: 24px; }
  .fab-top svg { width: 22px; height: 22px; }
}