/* ==========================================================================
   AMACI — Assess · Mark · Analyse · Compliance · Improve
   Brand palette taken from the logo: red, green, ink.
   ========================================================================== */

:root {
  /* Brand */
  --red: #d7000f;
  --red-600: #b8000d;
  --red-700: #8f000a;
  --red-50: #fdeced;
  --green: #046b33;
  --green-500: #0a8a45;
  --green-700: #034d25;
  --green-800: #023a1c;
  --green-900: #012814;
  --green-50: #e8f3ec;
  --green-100: #d3eadb;
  --ink: #121614;

  /* Neutrals (warm, sand-leaning) */
  --paper: #ffffff;
  --sand: #f8f5ef;
  --sand-2: #f1ece2;
  --line: #e6e0d4;
  --line-soft: #efeae0;
  --text: #121614;
  --text-2: #3d4541;
  --muted: #69716c;

  /* Type */
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Noto Kufi Arabic", "Plus Jakarta Sans", sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.08rem, 0.4vw + 1rem, 1.22rem);
  --fs-h4: clamp(1.1rem, 0.4vw + 1rem, 1.25rem);
  --fs-h3: clamp(1.3rem, 0.8vw + 1.05rem, 1.65rem);
  --fs-h2: clamp(1.9rem, 2.2vw + 1.1rem, 3.1rem);
  --fs-h1: clamp(2.4rem, 3.6vw + 1.1rem, 4.25rem);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 136px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(18, 22, 20, 0.05), 0 2px 8px rgba(18, 22, 20, 0.04);
  --shadow: 0 2px 6px rgba(18, 22, 20, 0.04), 0 14px 40px -12px rgba(18, 22, 20, 0.14);
  --shadow-lg: 0 4px 12px rgba(18, 22, 20, 0.05), 0 40px 80px -24px rgba(2, 40, 20, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Common type pieces ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--green) 50% 100%);
}
.eyebrow--light { color: #9fd8b5; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 16px; }
.section-head p { font-size: var(--fs-lg); color: var(--muted); margin-top: 18px; line-height: 1.7; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px 64px;
  align-items: end;
}
.section-head--split p { margin-top: 0; }

.hl-red { color: var(--red); }
.hl-green { color: var(--green); }
.serif-accent {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--green-700) 0%, var(--green-500) 55%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--hover, var(--green-700));
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn .arrow { transition: transform 0.45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--red { --bg: var(--red); --hover: var(--red-700); box-shadow: 0 10px 24px -10px rgba(215, 0, 15, 0.55); }
.btn--green { --bg: var(--green); --hover: var(--green-800); box-shadow: 0 10px 24px -10px rgba(4, 107, 51, 0.55); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --hover: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --fg: #fff; color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--white { --bg: #fff; --fg: var(--green-900); --hover: var(--sand-2); }
.btn--outline-light { --bg: transparent; --fg: #fff; --hover: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--green);
  font-size: 0.95rem;
}
.link-arrow svg { transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icons ---------- */
.ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Geometric pattern (8-point star lattice) ---------- */
.pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23046b33' stroke-width='1'%3E%3Cpath d='M40 14l7.6 18.4L66 40l-18.4 7.6L40 66l-7.6-18.4L14 40l18.4-7.6z'/%3E%3Crect x='25' y='25' width='30' height='30' transform='rotate(45 40 40)'/%3E%3Crect x='25' y='25' width='30' height='30'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.07;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.pattern--light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M40 14l7.6 18.4L66 40l-18.4 7.6L40 66l-7.6-18.4L14 40l18.4-7.6z'/%3E%3Crect x='25' y='25' width='30' height='30' transform='rotate(45 40 40)'/%3E%3Crect x='25' y='25' width='30' height='30'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.05;
}

/* ==========================================================================
   Preloader + page transition
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader img { width: 92px; animation: pl-breathe 1.6s var(--ease-in-out) infinite; }
.preloader .bar { width: 120px; height: 3px; border-radius: 3px; background: var(--line-soft); margin: 22px auto 0; overflow: hidden; }
.preloader .bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--red), var(--green)); animation: pl-bar 1.1s var(--ease-in-out) infinite; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes pl-breathe { 50% { transform: scale(0.94); opacity: 0.85; } }
@keyframes pl-bar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--green-900);
  transform: translateY(100%);
  pointer-events: none;
}
.page-curtain.out { transition: transform 0.6s var(--ease-in-out); transform: translateY(0); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 18px;
  transition: transform 0.5s var(--ease), padding 0.4s var(--ease);
}
.site-header .nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, height 0.4s var(--ease);
}
.site-header.scrolled { padding-block: 10px; }
.site-header.scrolled .nav-shell {
  height: 66px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-color: rgba(230, 224, 212, 0.8);
  box-shadow: 0 10px 30px -14px rgba(18, 22, 20, 0.18);
}
.site-header.hidden { transform: translateY(-120%); }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo { height: 47px; width: auto; transition: transform 0.6s var(--ease); }
.brand:hover .logo { transform: scale(1.03); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover { color: var(--ink); background: var(--sand); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--red);
}
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-login { font-size: 0.92rem; font-weight: 600; padding: 8px 14px; color: var(--ink); border-radius: 999px; transition: background 0.3s; }
.nav-login:hover { background: var(--sand); }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.45s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--paper);
  padding: 110px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path 0.8s var(--ease-in-out);
  overflow-y: auto;
}
.mobile-menu .pattern { opacity: 0.06; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 46px); }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s, transform 0.6s var(--ease), color 0.3s;
}
.mobile-menu nav a small { font-family: var(--font-body); font-size: 0.8rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.mobile-menu nav a:hover { color: var(--green); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: 0.25s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.3s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.35s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.4s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.45s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: 0.5s; }
.menu-open .mobile-menu nav a:nth-child(7) { transition-delay: 0.55s; }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; position: relative; }
.mobile-menu .mm-foot .btn { width: 100%; }
.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(130px, 14vw, 170px);
  padding-bottom: clamp(64px, 8vw, 110px);
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero .pattern { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 25%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 85% 25%, #000 0%, transparent 75%); opacity: 0.09; }
.hero .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}
.hero .glow--g { width: 520px; height: 520px; right: -120px; top: 40px; background: rgba(10, 138, 69, 0.18); }
.hero .glow--r { width: 360px; height: 360px; left: 30%; bottom: -160px; background: rgba(215, 0, 15, 0.09); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
}
.hero-badge .chip { padding: 4px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: 0.72rem; letter-spacing: 0.06em; }
.hero h1 { font-size: var(--fs-h1); margin-top: 26px; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .line > span { display: inline-block; }
.hero .lede { margin-top: 24px; font-size: var(--fs-lg); color: var(--text-2); max-width: 540px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text-2); }
.hero-ticks svg { width: 18px; height: 18px; color: var(--green); }

/* Hero visual — dashboard */
.hero-visual { position: relative; perspective: 1400px; }
.dash {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 16px; border-bottom: 1px solid var(--line-soft); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash-dots i:nth-child(1) { background: #ff5f57; }
.dash-dots i:nth-child(2) { background: #febc2e; }
.dash-dots i:nth-child(3) { background: #28c840; }
.dash-title { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.dash-pill { font-size: 0.7rem; font-weight: 700; color: var(--green); background: var(--green-50); padding: 4px 10px; border-radius: 999px; }
.dash-body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding-top: 16px; }
.kpi { background: var(--sand); border-radius: 14px; padding: 14px; }
.kpi small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.kpi strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; margin-top: 2px; }
.kpi .delta { font-size: 0.7rem; font-weight: 700; color: var(--green); }
.kpi--accent { background: var(--green-800); color: #fff; }
.kpi--accent small { color: #9fd8b5; }
.dash-chart { grid-column: span 2; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; }
.dash-chart header { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }
.dash-chart header span { font-size: 0.7rem; color: var(--muted); font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 128px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bars .b i {
  display: block;
  width: 100%;
  max-width: 34px;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--green-500), var(--green));
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 1.2s var(--ease);
}
.bars .b:nth-child(2) i { background: linear-gradient(180deg, #f2353f, var(--red)); }
.bars .b:nth-child(4) i { background: linear-gradient(180deg, #2c3330, var(--ink)); }
.bars .b small { font-size: 0.68rem; color: var(--muted); font-weight: 600; }
.bars .b em { font-style: normal; font-size: 0.68rem; font-weight: 700; color: var(--ink); }
.is-ready .bars .b i { transform: scaleY(1); }
.bars .b:nth-child(2) i { transition-delay: 0.1s; }
.bars .b:nth-child(3) i { transition-delay: 0.2s; }
.bars .b:nth-child(4) i { transition-delay: 0.3s; }
.bars .b:nth-child(5) i { transition-delay: 0.4s; }

.donut-card { border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.donut { position: relative; width: 104px; height: 104px; }
.donut svg { transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 10; }
.donut .track { stroke: var(--line-soft); }
.donut .val { stroke: url(#donutGrad); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; transition: stroke-dashoffset 1.6s var(--ease) 0.3s; }
.is-ready .donut .val { stroke-dashoffset: 16; }
.donut b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.03em; }
.donut-card small { font-size: 0.72rem; font-weight: 600; color: var(--muted); }

.dash-list { grid-column: 1 / -1; display: grid; gap: 8px; }
.dash-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--sand); font-size: 0.8rem; }
.dash-row .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.dash-row .dot svg { width: 16px; height: 16px; }
.dash-row b { font-weight: 600; }
.dash-row span { color: var(--muted); }
.dash-row .tag { margin-left: auto; font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag--g { color: var(--green); background: var(--green-100); }
.tag--r { color: var(--red); background: var(--red-50); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  line-height: 1.35;
  animation: floaty 6s var(--ease-in-out) infinite;
  z-index: 2;
}
.float-card .fi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card .fi svg { width: 20px; height: 20px; }
.float-card b { display: block; font-size: 0.86rem; }
.float-card span { color: var(--muted); }
.float-card--1 { left: -44px; top: 58%; }
.float-card--2 { right: -26px; bottom: -26px; animation-delay: -3s; }
.float-card--3 { right: -30px; top: -34px; animation-delay: -1.5s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ==========================================================================
   Stats + Marquee
   ========================================================================== */
.stats { position: relative; padding-block: 0 clamp(56px, 7vw, 90px); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat { padding: clamp(22px, 2.6vw, 34px) clamp(18px, 2vw, 28px); border-left: 1px solid var(--line-soft); position: relative; }
.stat:first-child { border-left: 0; }
.stat strong { display: flex; align-items: baseline; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 2.6vw + 1rem, 3rem); letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat strong sup { font-size: 0.5em; color: var(--red); margin-left: 2px; top: -0.6em; }
.stat p { margin-top: 10px; font-size: 0.88rem; color: var(--muted); line-height: 1.45; }
.stat::before { content: ""; position: absolute; left: clamp(18px, 2vw, 28px); top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--green); }
.stat:nth-child(even)::before { background: var(--red); }

.marquee { margin-top: clamp(40px, 5vw, 64px); display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex-shrink: 0; gap: 14px; padding-right: 14px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--sand); font-size: 0.9rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.marquee-item i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.marquee-item:nth-child(3n+2) i { background: var(--red); }
.marquee-item:nth-child(3n) i { background: var(--ink); }
.marquee-label { text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; margin-top: clamp(40px, 5vw, 60px); }
.marquee-label + .marquee { margin-top: 18px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about { background: var(--sand); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-visual { position: relative; }
.about-card-main {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-xl);
  background: radial-gradient(120% 90% at 20% 10%, #0b7a3d 0%, var(--green-800) 55%, var(--green-900) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-card-main .pattern { opacity: 0.08; -webkit-mask-image: none; mask-image: none; }
.about-logo-tile {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 46%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 28%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.about-logo-tile img { width: 72%; }
.about-ring { position: absolute; left: 50%; top: 44%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.18); transform: translate(-50%, -50%); }
.about-ring--1 { width: 72%; aspect-ratio: 1; animation: spin 40s linear infinite; }
.about-ring--2 { width: 96%; aspect-ratio: 1; border-style: solid; border-color: rgba(255, 255, 255, 0.08); }
.about-ring--1::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(215, 0, 15, 0.2); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.about-caption { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; color: #fff; }
.about-caption .ar { font-family: var(--font-ar); font-size: 0.95rem; opacity: 0.8; direction: rtl; }
.about-caption small { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #9fd8b5; font-weight: 700; }
.about-caption strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.about-since {
  position: absolute;
  right: -22px;
  top: 40px;
  padding: 18px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
  animation: floaty 7s var(--ease-in-out) infinite;
}
.about-since strong { display: block; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -0.04em; line-height: 1; color: var(--red); }
.about-since span { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-top: 6px; max-width: 120px; line-height: 1.35; }

.about-copy h2 { font-size: var(--fs-h2); margin-top: 16px; }
.about-copy > p { margin-top: 20px; color: var(--text-2); font-size: var(--fs-md); line-height: 1.75; }
.about-copy > p + p { margin-top: 14px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.mv { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mv .mv-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.mv:nth-child(1) .mv-ico { background: var(--green-50); color: var(--green); }
.mv:nth-child(2) .mv-ico { background: var(--red-50); color: var(--red); }
.mv h4 { font-size: 1.05rem; }
.mv p { margin-top: 6px; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }


/* ==========================================================================
   Features (bento)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--sand);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), background 0.4s;
  isolation: isolate;
}
.feat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(10, 138, 69, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.feat:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.feat:hover::before { opacity: 1; }
.feat-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #fff; color: var(--green); border: 1px solid var(--line); transition: transform 0.6s var(--ease), background 0.4s, color 0.4s; }
.feat:hover .feat-ico { transform: rotate(-8deg) scale(1.06); background: var(--green); color: #fff; border-color: var(--green); }
.feat:nth-child(3n+2):hover .feat-ico { background: var(--red); border-color: var(--red); }
.feat h3 { font-size: var(--fs-h4); margin-top: 22px; }
.feat p { margin-top: 10px; font-size: 0.93rem; color: var(--muted); line-height: 1.65; }
.feat .num { position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--muted); opacity: 0.6; }
.feat--wide { grid-column: span 2; }
.feat--full { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 56px; align-items: center; }
.feat--full p { max-width: 440px; }
.feat--full .mini-cal { margin-top: 0; }
.feat--dark { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.feat--dark:hover { background: var(--green-800); }
.feat--dark h3 { color: #fff; }
.feat--dark p { color: rgba(255, 255, 255, 0.7); }
.feat--dark .feat-ico { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); color: #fff; }
.feat--dark .num { color: #9fd8b5; }
.feat--dark::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.08), transparent 60%); }

.ai-demo { margin-top: 22px; display: grid; gap: 8px; }
.ai-line { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.82rem; }
.ai-line .q { font-weight: 700; color: #9fd8b5; min-width: 28px; }
.ai-line .t { flex: 1; color: rgba(255, 255, 255, 0.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-line .s { font-weight: 700; font-size: 0.74rem; padding: 3px 9px; border-radius: 999px; }
.ai-line .s.ok { background: rgba(10, 138, 69, 0.3); color: #b6f0cc; }
.ai-line .s.flag { background: rgba(215, 0, 15, 0.28); color: #ffc2c5; }
.ai-meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 6px; }
.ai-meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green-500), #7ee0a6); transition: width 2s var(--ease); }
.in .ai-meter span { width: 92%; }

.mini-cal { margin-top: 20px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mini-cal i { aspect-ratio: 1; border-radius: 7px; background: #fff; border: 1px solid var(--line-soft); font-style: normal; font-size: 0.66rem; font-weight: 600; color: var(--muted); display: grid; place-items: center; }
.mini-cal i.e { background: var(--green); color: #fff; border-color: var(--green); }
.mini-cal i.x { background: var(--red); color: #fff; border-color: var(--red); }

/* ==========================================================================
   Services / Portals (tabs)
   ========================================================================== */
.services { background: var(--paper); }
.tabs-wrap { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.tab-list { display: grid; gap: 8px; position: sticky; top: 110px; }
.tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius);
  text-align: left;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.tab-btn .ti { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--sand); color: var(--text-2); flex-shrink: 0; transition: background 0.4s, color 0.4s; }
.tab-btn b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.015em; }
.tab-btn span { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.tab-btn:hover { background: var(--sand); }
.tab-btn[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.tab-btn[aria-selected="true"] .ti { background: var(--green); color: #fff; }
.tab-btn .prog { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--line-soft); overflow: hidden; opacity: 0; }
.tab-btn[aria-selected="true"] .prog { opacity: 1; }
.tab-btn .prog i { display: block; height: 100%; width: 0; background: var(--red); }
.tab-btn[aria-selected="true"] .prog i { animation: tabprog var(--tab-dur, 7s) linear forwards; }
.tab-paused .tab-btn .prog i { animation-play-state: paused; }
@keyframes tabprog { to { width: 100%; } }

.tab-panels { position: relative; }
.tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  background: var(--sand);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  min-height: 460px;
}
.tab-panel.active { display: grid; animation: panelIn 0.8s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tp-copy { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; }
.tp-copy .role { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.tp-copy h3 { font-size: var(--fs-h3); margin-top: 12px; }
.tp-copy > p { margin-top: 14px; color: var(--text-2); font-size: 0.97rem; line-height: 1.7; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; font-weight: 500; color: var(--text-2); }
.checks li svg { width: 22px; height: 22px; flex-shrink: 0; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 2.6; }
.tp-copy .link-arrow { margin-top: auto; padding-top: 28px; }

.tp-visual { position: relative; background: linear-gradient(160deg, var(--green-800), var(--green-900)); padding: clamp(24px, 3vw, 40px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tp-visual .pattern { opacity: 0.07; -webkit-mask-image: none; mask-image: none; }
.ui-card { position: relative; width: 100%; max-width: 340px; background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); font-size: 0.8rem; }
.ui-card header { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.ui-card header .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--green); font-size: 0.78rem; }
.ui-card header b { display: block; font-size: 0.86rem; }
.ui-card header span { color: var(--muted); font-size: 0.72rem; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); }
.ui-row:last-child { border-bottom: 0; }
.ui-row span { color: var(--text-2); font-weight: 500; }
.ui-row .bar { flex: 1; max-width: 110px; height: 6px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.ui-row .bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); width: var(--w); }
.ui-row .bar i.r { background: var(--red); }
.ui-row b { font-size: 0.78rem; min-width: 36px; text-align: right; }
.ui-float { position: absolute; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-size: 0.74rem; font-weight: 600; display: flex; align-items: center; gap: 8px; animation: floaty 5s var(--ease-in-out) infinite; }
.ui-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.ui-float--a { top: 22px; right: 22px; }
.ui-float--b { bottom: 26px; left: 22px; animation-delay: -2.5s; }
.ui-float--b i { background: var(--green-500); }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--sand); overflow: hidden; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps-line { position: absolute; left: 0; right: 0; top: 31px; height: 2px; background: var(--line); border-radius: 2px; }
.steps-line i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--red), var(--green)); border-radius: 2px; }
.step { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--muted);
  transition: all 0.6s var(--ease);
}
.step.lit .step-num { border-color: var(--green); background: var(--green); color: #fff; box-shadow: 0 0 0 8px rgba(4, 107, 51, 0.12); }
.step:nth-child(odd).lit .step-num { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 8px rgba(215, 0, 15, 0.1); }
.step-card { margin-top: 24px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); min-height: 196px; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.step:hover .step-card { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-card .si { color: var(--green); }
.step-card h4 { margin-top: 14px; font-size: 1.15rem; }
.step-card p { margin-top: 8px; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Compliance (dark)
   ========================================================================== */
.compliance { background: var(--green-900); color: #fff; overflow: hidden; }
.compliance .glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(110px); background: rgba(10, 138, 69, 0.28); right: -200px; top: -120px; pointer-events: none; }
.compliance .glow--r { background: rgba(215, 0, 15, 0.14); left: -220px; right: auto; top: auto; bottom: -260px; }
.comp-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.comp-copy h2 { color: #fff; font-size: var(--fs-h2); margin-top: 16px; }
.comp-copy > p { margin-top: 20px; color: rgba(255, 255, 255, 0.72); font-size: var(--fs-md); line-height: 1.75; }
.frameworks { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.frameworks span { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; background: rgba(255, 255, 255, 0.04); }
.comp-checks { display: grid; gap: 14px; margin-top: 30px; }
.comp-checks li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, 0.88); font-size: 0.97rem; }
.comp-checks li svg { width: 24px; height: 24px; flex-shrink: 0; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #7ee0a6; stroke-width: 2.6; }
.comp-copy .btn { margin-top: 36px; }

.report {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.report-head b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.report-head span { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.report-head .stamp { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; color: var(--green); background: var(--green-50); padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.report table { width: 100%; border-collapse: separate; border-spacing: 0 6px; margin-top: 10px; font-size: 0.86rem; }
.report th { text-align: left; font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; }
.report td { padding: 12px; background: var(--sand); font-weight: 500; }
.report td:first-child { border-radius: 10px 0 0 10px; font-weight: 700; white-space: nowrap; }
.report td:last-child { border-radius: 0 10px 10px 0; }
.report td .pct { display: flex; align-items: center; gap: 8px; }
.report td .pct i { flex: 1; max-width: 64px; height: 6px; border-radius: 6px; background: var(--line); position: relative; overflow: hidden; }
.report td .pct i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--green); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.in .report td .pct i::after { transform: scaleX(1); }
.judg { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.judg--o { background: var(--green); color: #fff; }
.judg--vg { background: var(--green-100); color: var(--green-700); }
.judg--g { background: #eef3d9; color: #556110; }
.judg--a { background: var(--red-50); color: var(--red-600); }
.report-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 0.76rem; color: var(--muted); flex-wrap: wrap; }
.report-foot .actions { display: flex; gap: 6px; }
.report-foot .actions span { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; color: var(--text-2); }
.report-foot .actions span:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.report-badge { position: absolute; left: 24px; top: -22px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--red); color: #fff; border-radius: 14px; font-size: 0.82rem; font-weight: 600; box-shadow: 0 20px 40px -14px rgba(215, 0, 15, 0.6); animation: floaty 6s var(--ease-in-out) infinite; }
.report-badge svg { width: 20px; height: 20px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside h2 { font-size: var(--fs-h2); margin-top: 16px; }
.faq-aside p { margin-top: 18px; color: var(--muted); font-size: var(--fs-md); }
.faq-aside .help { margin-top: 30px; padding: 22px; border-radius: var(--radius); background: var(--sand); border: 1px solid var(--line-soft); display: flex; gap: 16px; align-items: center; }
.faq-aside .help .hi { width: 48px; height: 48px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.faq-aside .help b { display: block; font-size: 0.98rem; }
.faq-aside .help a { font-size: 0.9rem; color: var(--green); font-weight: 600; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; padding: 26px 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, 0.4vw + 0.95rem, 1.18rem); letter-spacing: -0.015em; transition: color 0.3s; }
.faq-q:hover { color: var(--green); }
.faq-q .pm { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); flex-shrink: 0; transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-item.open .faq-q .pm { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(180deg); }
.faq-item.open .faq-q .pm::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 56px 26px 0; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { padding-block: 0 var(--section-y); }
.cta-box {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(120deg, var(--green-800) 0%, var(--green) 60%, #0b7a3d 100%);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
}
.cta-box .pattern { opacity: 0.08; -webkit-mask-image: radial-gradient(ellipse at 100% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 100% 50%, #000, transparent 70%); }
.cta-box::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -100px; bottom: -200px; background: var(--red); filter: blur(100px); opacity: 0.35; pointer-events: none; }
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 2.4vw + 1rem, 3rem); position: relative; }
.cta-box p { margin-top: 16px; color: rgba(255, 255, 255, 0.78); font-size: var(--fs-lg); max-width: 560px; position: relative; }
.cta-box .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, 0.7); padding-top: clamp(64px, 8vw, 100px); position: relative; overflow: hidden; }
.site-footer .pattern { opacity: 0.04; -webkit-mask-image: linear-gradient(180deg, transparent, #000); mask-image: linear-gradient(180deg, transparent, #000); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-brand .logo-tile { display: inline-flex; padding: 14px 18px; border-radius: 18px; background: #fff; }
.footer-brand .logo-tile img { height: 58px; width: auto; }
.footer-brand p { margin-top: 22px; font-size: 0.93rem; line-height: 1.7; max-width: 340px; }
.footer-brand .ar { margin-top: 14px; font-family: var(--font-ar); font-size: 0.88rem; color: #9fd8b5; direction: rtl; text-align: left; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer-col h5 { margin: 0 0 18px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: #fff; letter-spacing: -0.01em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.92rem; transition: color 0.3s, padding 0.4s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.84rem; }
.footer-bottom .legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-tri { height: 4px; display: flex; }
.footer-tri i { flex: 1; }
.footer-tri i:nth-child(1) { background: var(--red); }
.footer-tri i:nth-child(2) { background: var(--green-500); }
.footer-tri i:nth-child(3) { background: var(--ink); }

/* Back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 145; stroke-dashoffset: var(--off, 145); }
.to-top .ico { width: 18px; height: 18px; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--red), var(--green)); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.page-hero { position: relative; padding-top: clamp(140px, 15vw, 190px); padding-bottom: clamp(56px, 7vw, 90px); background: linear-gradient(180deg, var(--sand), var(--paper)); overflow: hidden; }
.page-hero .glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.page-hero .glow--g { width: 480px; height: 480px; right: -100px; top: -60px; background: rgba(10, 138, 69, 0.16); }
.page-hero .glow--r { width: 320px; height: 320px; left: -80px; bottom: -160px; background: rgba(215, 0, 15, 0.08); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.crumbs a:hover { color: var(--green); }
.crumbs svg { width: 14px; height: 14px; }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 22px; max-width: 900px; letter-spacing: -0.035em; line-height: 1.04; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.page-hero h1 .line > span { display: inline-block; }
.page-hero .lede { margin-top: 22px; font-size: var(--fs-lg); color: var(--text-2); max-width: 620px; line-height: 1.7; }

.contact-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 60px); position: relative; }
.cq {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}
.cq:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cq .ci { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; background: var(--green-50); color: var(--green); transition: background 0.4s, color 0.4s; }
.cq:nth-child(2) .ci { background: var(--red-50); color: var(--red); }
.cq:hover .ci { background: var(--green); color: #fff; }
.cq:nth-child(2):hover .ci { background: var(--red); }
.cq small { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.cq b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-top: 3px; word-break: break-word; }

.contact-main { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(26px, 4vw, 48px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card h2 { font-size: var(--fs-h3); }
.form-card > p { margin-top: 10px; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 0.9rem; font-weight: 600; color: var(--text-2); transition: all 0.35s var(--ease); }
.seg label:hover span { border-color: var(--green); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--green-500); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--sand);
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2369716c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.field textarea { height: 140px; padding: 16px 18px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #9aa19c; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d6cfc0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(4, 107, 51, 0.1); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(215, 0, 15, 0.08); }
.field .err { display: none; font-size: 0.78rem; color: var(--red); margin-top: 6px; font-weight: 500; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: 0.86rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); flex-shrink: 0; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.form-actions small { color: var(--muted); font-size: 0.82rem; display: inline-flex; gap: 8px; align-items: center; }
.form-actions small svg { width: 16px; height: 16px; color: var(--green); }
.btn.loading { pointer-events: none; }
.btn.loading .lbl { opacity: 0.5; }
.form-success {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.form-success.show { opacity: 1; visibility: visible; }
.form-success .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 12px var(--green-50); transform: scale(0.4); transition: transform 0.8s var(--ease) 0.15s; }
.form-success.show .tick { transform: scale(1); }
.form-success .tick svg { width: 38px; height: 38px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset 0.6s var(--ease) 0.5s; }
.form-success.show .tick svg { stroke-dashoffset: 0; }
.form-success h3 { margin-top: 28px; font-size: var(--fs-h3); }
.form-success p { margin-top: 10px; color: var(--muted); max-width: 380px; }
.form-success .btn { margin-top: 26px; }

.contact-side { display: grid; gap: 16px; position: sticky; top: 110px; }
.side-card { padding: 28px; border-radius: var(--radius-lg); background: var(--sand); border: 1px solid var(--line-soft); }
.side-card h3 { font-size: 1.15rem; }
.side-card > p { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }
.next-steps { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: ns; }
.next-steps li { position: relative; padding: 0 0 20px 46px; counter-increment: ns; }
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1.5px solid var(--green); color: var(--green); font-weight: 700; font-size: 0.82rem; display: grid; place-items: center; }
.next-steps li::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1.5px; background: var(--line); }
.next-steps li:last-child::after { display: none; }
.next-steps b { display: block; font-size: 0.95rem; }
.next-steps span { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 2px; line-height: 1.55; }

.side-card--dark { background: var(--green-900); border-color: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.side-card--dark .pattern { opacity: 0.06; -webkit-mask-image: none; mask-image: none; }
.side-card--dark h3 { color: #fff; position: relative; }
.side-card--dark > p { color: rgba(255, 255, 255, 0.7); position: relative; }
.emirates { position: relative; display: grid; gap: 10px; margin-top: 20px; }
.emirate { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); transition: background 0.3s; }
.emirate:hover { background: rgba(255, 255, 255, 0.1); }
.emirate b { font-size: 0.95rem; display: block; }
.emirate span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.emirate .code { font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; padding: 5px 10px; border-radius: 8px; background: var(--red); color: #fff; }
.emirate:nth-child(2) .code { background: var(--green-500); }
.emirate:nth-child(3) .code { background: #fff; color: var(--green-900); }

.portal-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.portal-link {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.3s;
}
.portal-link:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.portal-link .pi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--green); transition: background 0.4s, color 0.4s; }
.portal-link:hover .pi { background: var(--green); color: #fff; }
.portal-link b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.portal-link span { font-size: 0.86rem; color: var(--muted); display: block; margin-top: 4px; }
.portal-link .go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 600; font-size: 0.88rem; color: var(--green); }
.portal-link .go svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.portal-link:hover .go svg { transform: translateX(4px); }

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].in { opacity: 1; transform: none; }

.js .hero h1 .line > span,
.js .page-hero h1 .line > span { transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .hero h1 .line > span,
.is-loaded .page-hero h1 .line > span { transform: none; }
.js .hero-fade { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-loaded .hero-fade { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 9px; font-size: 0.88rem; }
  .float-card--1 { left: -12px; }
  .float-card--2 { right: -8px; }
}

@media (max-width: 1080px) {
  .nav-links, .nav-cta .nav-login, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .site-header .nav-shell { padding: 0 8px 0 18px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; margin-top: 20px; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line-soft); }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 520px; width: 100%; margin-inline: auto; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .feat--full { grid-template-columns: 1fr; }

  .tabs-wrap { grid-template-columns: 1fr; }
  .tab-list { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; width: auto; padding: 10px 16px 12px 10px; scroll-snap-align: start; }
  .tab-btn .ti { width: 38px; height: 38px; border-radius: 11px; }
  .tab-btn span { display: none; }

  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .steps-line { left: 31px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-line i { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-bottom: 18px; }
  .step-card { margin-top: 0; min-height: 0; }

  .comp-grid { grid-template-columns: 1fr; }
  .report-wrap { margin-top: 24px; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .contact-main { grid-template-columns: 1fr; }
  .contact-side { position: static; grid-template-columns: 1fr 1fr; }
  .portal-strip { grid-template-columns: repeat(2, 1fr); }
  .section-head--split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --radius-xl: 24px; --radius-lg: 20px; }
  .hero h1 br, .page-hero h1 br { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .dash { padding: 14px; }
  .dash-title .dash-pill, .dash-top > span:last-child { display: none; }
  .dash-title { white-space: nowrap; }
  .dash-body { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-body .kpi:nth-child(3) { display: none; }
  .dash-chart { grid-column: 1 / -1; }
  .donut-card { display: none; }
  .float-card--1 { left: -6px; top: auto; bottom: 40%; }
  .float-card--3 { display: none; }
  .float-card--2 { right: -4px; bottom: -22px; }
  .float-card { padding: 10px 12px 10px 10px; }
  .float-card .fi { width: 32px; height: 32px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line-soft); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-soft) !important; }
  .stat:last-child { grid-column: 1 / -1; }

  .about-since { right: 10px; top: 14px; padding: 14px 16px; }
  .about-since strong { font-size: 1.7rem; }
  .mv-grid { grid-template-columns: 1fr; }

  .bento { grid-template-columns: 1fr; }
  .feat--wide { grid-column: auto; }
  .feat--full { grid-template-columns: 1fr; }

  .tab-panel { grid-template-columns: 1fr; min-height: 0; }
  .tp-visual { min-height: 320px; }

  .report-head { flex-direction: column; align-items: flex-start; }
  .report table { font-size: 0.78rem; }
  .report th, .report td { padding: 9px 8px; }
  .report td .pct i { display: none; }
  .report-foot { flex-direction: column; align-items: flex-start; }

  .faq-a p { padding-right: 0; }

  .cta-box { grid-template-columns: 1fr; }
  .cta-box .actions .btn { flex: 1 1 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-bottom { flex-direction: column; }

  .contact-quick { grid-template-columns: 1fr; }
  .cq { padding: 18px; gap: 14px; }
  .cq b { font-size: 0.9rem; word-break: normal; overflow-wrap: anywhere; }
  .cq .ci { width: 46px; height: 46px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .portal-strip { grid-template-columns: 1fr 1fr; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

@media (max-width: 420px) {
  .brand .logo { height: 37px; }
  .portal-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}
